1 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3 * examples/hildon-pannable-area-buttons-scroll-example.c:
4 Make all buttons finger height
6 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
8 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
10 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
11 update the day model only if it is really required, and to avoid the
12 full-reconstruction aproach. Now it only add or remove the required days.
14 The purpose of this is avoid superfluous HildonTouchSelector::changed
17 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
18 with strange parameters)
20 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
22 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
24 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
25 the WINDOW_TYPE property.
27 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
29 2008-11-19 Alberto Garcia <agarcia@igalia.com>
32 Fix dependency to allow parallel compilation with make -jX
34 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
36 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
37 color frame and some minor tweaks to make it more consistent with
40 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
41 highlighted but not visible)
43 2008-11-14 Alejandro G. Castro <alex@igalia.com>
45 * examples/Makefile.am: Fixed typo in the Makefile.am.
47 2008-11-14 Alejandro G. Castro <alex@igalia.com>
49 Reviewed the use of MAEMO_GTK define, now we add the define in the
50 compilation line, and we also add it to the pc file.
52 * configure.ac: Added MAEMO_GTK define to the compilation command
53 and removed it from the config.h.
55 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
56 do not have to take care about this define if the library was
60 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
62 2008-11-14 Alejandro G. Castro <alex@igalia.com>
64 * examples/Makefile.am,
65 * examples/hildon-pannable-area-buttons-scroll-example.c,
66 * examples/hildon-pannable-area-gesture-signals-example.c,
67 * examples/hildon-pannable-area-scroll-jump-example.c,
68 * examples/hildon-pannable-area-tree-view-example.c:
69 Renamed the pannable area examples, now they have more meaningful
72 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
74 * src/hildon-touch-selector.c:
75 (hildon_touch_selector_set_column_selection_mode): Used of
76 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
77 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
78 to avoid re-seting the same selection mode.
80 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
81 breaks HildonPickerDialog)
83 2008-11-13 Alejandro G. Castro <alex@igalia.com>
85 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
86 conditional in the Makefile.am
88 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
90 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
91 Remove unused methods.
93 2008-11-12 Alberto Garcia <agarcia@igalia.com>
95 * src/hildon-button.c (hildon_button_init):
96 Make button images center-aligned by default
98 2008-11-12 Alejandro G. Castro <alex@igalia.com>
101 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
102 activated, we have to think about how to deal with both defines
103 MAEMO_GTK and MAEMO_CHANGES.
105 2008-11-12 Alberto Garcia <agarcia@igalia.com>
107 * examples/hildon-app-menu-example.c (create_menu): Make all
110 2008-11-11 Alejandro G. Castro <alex@igalia.com>
112 Fixed the compilation without maemo gtk adding ifdefs with
113 MAEMO_GTK define to the code, we have to check this version more
116 * examples/Makefile.am: Added control to avoid some examples that
117 just make sense with maemo gtk.
120 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
121 hildon modes with the define.
123 * examples/hildon-edit-toolbar-example.c,
124 (create_icon_view): Create the icon view without hildon-gtk
125 helpers if we are not using maemo gtk.
127 * src/hildon-touch-selector.c,
128 (_create_new_column): Create the treeview without hildon-gtk
129 helpers if we are not using maemo gtk.
131 2008-11-11 Alejandro G. Castro <alex@igalia.com>
133 * src/hildon-pnnable-area.c,
134 (hildon_pannable_area_dispose),
135 (hildon_pannable_area_button_press_cb),
136 (hildon_pannable_area_child_mapped),
137 (hildon_pannable_area_add),
138 (hildon_pannable_area_remove): Added code to control the position
139 of the event_window when adding and removing children from the
140 pannable. We have to raise the event window when the child is
143 Fixes: NB#89811 (Not able to select first image thumbnail in multi
144 selection mode using custom widget inside pannable)
146 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
148 * configure.ac: post release version bump
149 * debian/changelog: version bump
151 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
156 * configure.ac: bump version
157 * debian/changelog: updates
159 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
161 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
162 search mode, in order to avoid lose the focus on the treeview when
163 a hw key (like enter) is pressed.
165 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
166 in HildonDateSelector dialog)
168 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
170 * debian/rules: Added --enable-maintainer-mode
171 * Makefile.am: Added ACLOCAL_AMFLAGS
173 This allows to properly regenerate the Makefiles if you modify the
174 configure.ac or any Makefile.am.
176 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
178 * examples/hildon-app-menu-example.c: (main): Do not set RC style
179 properties, not needed at all.
181 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
183 * src/hildon-note-private.h: Add strings for the icon and stock_icon
185 * src/hildon-note.c: (hildon_note_set_property),
186 (hildon_note_get_property), (hildon_note_class_init),
187 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
188 (hildon_note_new_confirmation_add_buttons): Remove icons.
189 (hildon_note_new_confirmation_with_icon_name): Deprecate.
190 (hildon_note_new_information_with_icon_name): Deprecate.
191 (hildon_note_new_confirmation): Act directly, without calling
192 the deprecated constructor.
193 (hildon_note_new_information): Act directly, without calling
194 the deprecated constructor.
195 * src/hildon-note.h: Mark deprecate methods as such.
196 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
197 not run tests on the deprecated methods if built with deprecation
200 Fixes: NB#91688 (Never show icons in information notes/confirmation
203 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
205 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
206 (hildon_app_menu_key_press): Remove leftover usage of the
207 private structure in HildonAppMenu struct.
208 * src/hildon-app-menu.h: Remove leftover private structure
209 from the HildonAppMenu struct.
211 Fixes a crasher when using the HildonAppMenu.
213 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
215 * src/hildon-picker-dialog.c: Use appropriate logical id
216 for the default "Done" text.
218 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
220 * configure.ac: post release version bump
221 * debian/changelog: version bump
223 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
225 Modified the way to scroll to the current selection just when the touch
226 selector is shown on the screen, avoiding a g_idle. Added too a property
227 to configure this behaviour. See hildon_pannable_area_jump_to_child
228 documentation for more information.
230 * src/hildon-touch-selector.c
231 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
232 Added 'initial-scroll' property
233 (hildon_touch_selector_set_property): Added
234 (hildon_touch_selector_map): Removed as not required anymore
235 (_hildon_touch_selector_on_selected_items): Modified in order to manage
236 only a concrete column, instead of iterate along all the columns
238 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
243 * configure.ac: bump version
244 * debian/changelog: updates
246 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
248 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
249 compilation time warnings.
251 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
253 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
254 the default value for HildonPannableArea::mov-mode to
255 HILDON_PANNABLE_AREA_MODE_VERT.
257 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
259 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
261 Reverting following commit:
263 2008-10-13 Alberto Garcia <agarcia@igalia.com>
265 * src/hildon-app-menu-private.h
266 * src/hildon-app-menu.[ch]
267 * src/hildon-button.[ch]
268 * src/hildon-check-button.[ch]
269 * src/hildon-entry.[ch]
270 * src/hildon-pannable-area.[ch]
271 * src/hildon-text-view.[ch]:
272 Added private field to the object's structure.
274 because it causes an ABI breakage. We will need to introduce these
275 changes later at some point. See NB#91636 for an extensive
276 explanation and status.
278 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
280 Patch contributed by Daniel Borgmann (danielb@openismus.com)
282 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
283 remove special cases that are no longer necessary.
285 Fixes: NB#91016 (Change toolbar sizes, simplification)
287 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
289 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
290 is shown in the cancel note.
292 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
294 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
295 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
296 (hildon_seekbar_init): Remove steppers, remove expose event.
297 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
299 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
301 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
304 label font to "SmallSystemFont" for vertically arranged buttons.
306 Fixes: NB#90662 (HildonButton "value" and "detail" text is
309 2008-10-31 Alberto Garcia <agarcia@igalia.com>
311 * src/hildon-check-button.c
312 (hildon_check_button_set_active, hildon_check_button_clicked):
313 Don't access private parts directly, use getters instead.
315 2008-10-31 Alberto Garcia <agarcia@igalia.com>
317 * src/hildon-check-button.c (hildon_check_button_new):
318 Align the contents of the check button to the left.
320 2008-10-30 Alejandro G. Castro <alex@igalia.com>
322 * src/hildon-pannable-area.c,
323 (hildon_pannable_area_scroll_to),
324 (hildon_pannable_area_jump_to),
325 (hildon_pannable_area_scroll_to_child),
326 (hildon_pannable_area_jump_to_child): Replace the mapped
327 precondition of these functions with the realized, it is the
328 correct state of the widget in this case. Changed the
329 documentation according to this modification.
331 2008-10-30 Alejandro G. Castro <alex@igalia.com>
333 Added a new EXTRA_CFLAGS option to add the deprecated define to
334 the compilation command. This way we can avoid using the define in
335 the documentation compilation.
337 * configure.ac: Defined EXTRA_CFLAGS.
339 * examples/Makefile.am:
341 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
343 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
345 * src/hildon-picker-dialog.c:
346 Defined a utility macro with the desired touch selector height
347 Removed currently unused separator, and title_label variables from
349 (hildon_picker_dialog_init): Removed code related to the creation
350 of unused private variables title_label and separator.
351 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
352 to ensure correct visualization of the touch selector inside the dialog.
353 * src/hildon-touch-selector.c
354 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
355 ensure a concrete height of the widget.
357 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
362 Remove spurious whitespaces.
364 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
366 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
367 compilation warning after the cancel button removal.
369 2008-10-30 Alejandro G. Castro <alex@igalia.com>
371 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
373 * configure.ac: Added an AM_CONDITIONAL in order to use in the
374 Makefile.am, that way we can choose not to compile some examples
375 and tests of the deprecated widgets.
377 * examples/Makefile.am: Divided the sources in deprecated and
380 * src/Makefile.am: Added undef statement of the deprecated
381 symbol to the enums file generation process.
383 * src/hildon-color-chooser-dialog.c
384 * src/hildon-color-chooser-dialog.h
385 * src/hildon-color-button.c
386 * src/hildon-color-button.h
387 * src/hildon-color-chooser.c
388 * src/hildon-color-chooser.h
389 * src/hildon-controlbar.c
390 * src/hildon-controlbar.h
391 * src/hildon-date-editor.c
392 * src/hildon-date-editor.h
393 * src/hildon-hvolumebar.c
394 * src/hildon-hvolumebar.h
395 * src/hildon-private.c
396 * src/hildon-private.h
397 * src/hildon-range-editor.c
398 * src/hildon-range-editor.h
399 * src/hildon-seekbar.c
400 * src/hildon-seekbar.h
401 * src/hildon-time-editor.c
402 * src/hildon-time-editor.h
403 * src/hildon-time-picker.c
404 * src/hildon-time-picker.h
405 * src/hildon-volumebar.c
406 * src/hildon-volumebar.h
407 * src/hildon-vvolumebar.c
408 * src/hildon-vvolumebar.h
409 * src/hildon-bread-crumb-trail.h
410 * src/hildon-bread-crumb-trail.c
411 * src/hildon-calendar-popup.c
412 * src/hildon-calendar-popup.h
413 * src/hildon-weekday-picker.c:
414 * src/hildon-weekday-picker.h:
415 * src/hildon-bread-crumb-widget.c:
416 * src/hildon-bread-crumb-widget.h:
417 * src/hildon-bread-crumb.c:
418 * src/hildon-bread-crumb.h:
419 * src/hildon-calendar.c:
420 * src/hildon-calendar.h:
421 * src/hildon-caption.c:
422 * src/hildon-code-dialog.c:
423 * src/hildon-code-dialog.h:
424 * src/hildon-font-selection-dialog.c:
425 * src/hildon-font-selection-dialog.h:
426 * src/hildon-get-password-dialog.c:
427 * src/hildon-get-password-dialog.h:
428 * src/hildon-login-dialog.c:
429 * src/hildon-login-dialog.h:
430 * src/hildon-number-editor.c:
431 * src/hildon-number-editor.h:
432 * src/hildon-set-password-dialog.c:
433 * src/hildon-set-password-dialog.h:
434 * src/hildon-sort-dialog.c:
435 * src/hildon-sort-dialog.h: This is the list of deprecated
438 * src/hildon-touch-selector.c:
439 * src/hildon-window.c: Added undef statement to avoid compilation
442 * tests/Makefile.am: Divided the sources in deprecated and
445 * tests/check_test.c,
446 (configure_tests): Marked the deprecated code that was adding
447 suites with deprecated tests.
449 Fixes: NB#91135 (Deprecate legacy hildon widgets)
451 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
453 * src/hildon-touch-selector.c: (_default_print_func): Do not
454 duplicate a string returned by gtk_tree_model_get(), it is already
457 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
460 2008-10-28 Alejandro G. Castro <alex@igalia.com>
462 * src/hildon-pannable-area.c
463 (hildon_pannable_area_add_with_viewport): Reviewed the complete
464 method, it had problems when adding a widget with viewport the
465 second time. Now checks if it already has a viewport and uses it.
467 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
470 2008-10-28 Alejandro G. Castro <alex@igalia.com>
472 * src/hildon-pannable-area.c,
473 (hildon_pannable_area_scroll_to),
474 (hildon_pannable_area_jump_to),
475 (hildon_pannable_area_scroll_to_child),
476 (hildon_pannable_area_jump_to_child): Added a precondition to the
477 scroll and jump to functions: the widget must be mapped before we
478 can safely call these functions. We have also added documentation
479 to the functions to explain how to use them in this situation.
482 2008-10-28 Alejandro G. Castro <alex@igalia.com>
484 Reviewed the threading handling of the pannable widget, we have
485 used the gdk_threads_add_timeout function instead of the usual
486 glib handlers. This avoids some problems with the threads.
488 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
489 (hildon_pannable_area_initial_effect),
490 (hildon_pannable_area_scroll_indicator_fade),
491 (hildon_pannable_area_button_press_cb),
492 (hildon_pannable_area_timeout),
493 (hildon_pannable_area_motion_notify_cb),
494 (hildon_pannable_area_button_release_cb),
495 (hildon_pannable_area_scroll_cb),
496 (hildon_pannable_area_scroll_to): Removed the
497 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
498 gdk_threads_add_timeout.
500 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
502 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
507 * configure.ac: bump version
508 * debian/changelog: updates
510 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
512 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
513 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
514 * src/hildon-color-chooser-dialog.c:
515 (hildon_color_chooser_dialog_init):
516 * src/hildon-font-selection-dialog.c:
517 (hildon_font_selection_dialog_init):
518 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
520 Remove all cancel/close-like dialogs, as these are not going to be
523 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
525 * src/hildon-note.c: (hildon_note_rebuild),
526 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
529 Fixes: NB#90661 (Delete dialog is displayed without NO button)
531 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
533 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
534 sure all buttons are shown, even the Cancel/Close-like ones.
536 Fixes: NB#90861 (Custom Confirmation dialogs should be
537 protected from cancel button removal)
539 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
541 * debian/control: Change libhildon1-examples dependency from libhildon1
543 * debian/libhildon1-examples.install
545 * Makefile.am: Modified the final install directory for the examples on
546 package libhildon1-examples
547 * Makefile.static: Update clean target in order to remove all the binary
550 Changes suggested by Claudio after review new libhildon1-examples package
552 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
554 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
555 * src/hildon-touch-selector.c: Ditto.
557 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
559 * debian/control: Added new package libhildon1-examples, in order to pack
560 the current hildon examples as documentation
561 * debian/rules: Not to compress .c files, modify some includes on the
562 examples (as normally are compiled locally, but when installed it will
563 require to include the installed libhildon1 library), and rename
565 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
566 install all the example files on the new example package
567 * examples/Makefile.static: Added static makefile that can be used to
568 compile the examples, once installed the new example package
569 * examples: Most of the examples were modified in order to grant that
570 all use only '#include "hildon.h"', in order to be easy to prepare
571 it on the example package
573 2008-10-23 Alberto Garcia <agarcia@igalia.com>
576 * debian/libhildon1-dev.install
577 * debian/libhildon1-doc.install:
578 Move all gtk-doc files to a separate libhildon1-doc package.
580 2008-10-23 Daniel Borgmann <danielb@openismus.com>
582 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
584 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
586 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
588 * debian/rules: Fixed a error in order to avoid unnecessary calls
589 to autogen.sh on package building
591 2008-10-22 Alberto Garcia <agarcia@igalia.com>
593 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
595 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
597 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
600 2008-10-21 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-picker-button.c
603 (hildon_picker_button_finalize):
604 Free priv->done_button_text
606 * src/hildon-time-button.c
607 (hildon_time_button_set_time)
608 * src/hildon-picker-button.c
609 (hildon_picker_button_clicked)
610 (hildon_picker_button_selector_selection_changed)
611 (hildon_picker_button_set_selector)
612 * src/hildon-date-button.c
613 (hildon_date_button_set_date):
614 Free strings returned by hildon_touch_selector_get_current_text()
616 * src/hildon-button.c (hildon_button_construct_child):
617 Fix leaks in priv->image and priv->label_box
619 Fixes: NB#90535 (Memory leak in picker button)
621 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-button.c: (hildon_button_get_property): Do not access
624 private elements directly, use getters instead.
626 2008-10-20 Alberto Garcia <agarcia@igalia.com>
628 * src/hildon-app-menu-private.h
629 * src/hildon-app-menu.c
630 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
631 Store the menu's parent window.
633 * src/hildon-stackable-window.c
634 (hildon_stackable_window_toggle_menu)
635 (hildon_stackable_window_finalize):
636 Set the menu's parent window when the menu is shown, unset it when
639 * src/hildon-app-menu.c
640 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
641 (hildon_app_menu_class_init):
642 Send unhandled keyboard accelerators to the parent window.
644 2008-10-20 Alberto Garcia <agarcia@igalia.com>
646 * src/hildon-stackable-window.c
647 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
649 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
651 * configure.ac: post release version bump
653 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
656 * configure.ac: Bump version
657 * debian/changelog: Updates
658 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
661 2008-10-20 Alberto Garcia <agarcia@igalia.com>
663 Patch contributed by Daniel Borgmann (danielb@openismus.com)
666 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
667 GtkMenu with Hildon style.
669 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
671 * src/hildon-picker-button.c:
672 (hildon_picker_button_set_done_button_text): Set the dialog's
673 done button text here as well.
675 Fixes: NB#90232 (Picker button does not set the label on done button
678 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
680 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
683 2008-10-16 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-app-menu.c (hildon_app_menu_insert)
686 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
687 the HildonAppMenu to be activatable using keyboard accelerators
688 when the menu is not being shown.
690 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
692 2008-10-16 Alberto Garcia <agarcia@igalia.com>
694 * src/hildon-stackable-window.c
695 (hildon_stackable_window_show):
696 Don't hide old windows automatically when new windows are shown:
697 this is now a task for the window manager.
698 (hildon_stackable_window_class_init)
699 (hildon_stackable_window_hide):
700 Remove windows from the stack everytime they're hidden.
701 (hildon_stackable_window_realize):
702 Don't change the _NET_WM_WINDOW_TYPE property. Use
703 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
704 it as a stackable window.
706 * src/hildon-program.c
707 (hildon_program_pop_window_stack):
708 Just hide the window to remove it from the stack.
709 (hildon_program_go_to_root_window):
710 Don't call gtk_widget_show(), this is now a task for the window
713 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
715 2008-10-15 Alberto Garcia <agarcia@igalia.com>
717 * src/hildon-button.c
718 (hildon_button_construct_child):
719 Don't pack anything in the button until text or image are
720 set. This allows adding a custom child after creating the button
721 with hildon_button_new().
722 (hildon_button_finalize, hildon_button_class_init)
723 (hildon_button_init, hildon_button_set_arrangement): Destroy the
724 alignment and the label box even when they're not packed in the
727 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
729 * src/hildon-touch-selector.h:
730 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
731 currently the type definition was using GTK_TYPE_VBOX
732 * src/hildon-touch-selector.c:
733 Added some implementation notes in order to clarify that any other widget
734 added without the column related API will not be included on the
735 selection logic, and how the widget is freed, as some people ask about
737 (hildon_touch_selector_remove): Reimplemented in order to free properly
738 the column related data when you remove the private hbox.
739 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
740 to get a proper HildonTouchSelectorColumn documentation
742 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-touch-selector-entry.c:
745 (hildon_touch_selector_entry_print_func): Return NULL if there is no
746 text in the GtkEntry and there is no item selected. Fixes a
749 2008-10-13 Alberto Garcia <agarcia@igalia.com>
751 * src/hildon-app-menu-private.h
752 * src/hildon-app-menu.[ch]
753 * src/hildon-button.[ch]
754 * src/hildon-check-button.[ch]
755 * src/hildon-entry.[ch]
756 * src/hildon-pannable-area.[ch]
757 * src/hildon-text-view.[ch]:
758 Added private field to the object's structure.
760 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
762 * configure.ac: post-release version bump
764 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
768 * configure.ac: pre-release version bump
770 * debian/changelog: updates.
772 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
774 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
775 Disconnect the handler for HildonTouchSelector::changed.
777 (hildon_picker_button_selector_selection_changed): Update the button
778 value if the selection change was not triggered by the
781 (hildon_picker_button_set_selector): connect to
782 HildonTouchSelector::changed.
784 Fixes: NB#89650 (Picker button is not updated, when selection in
785 selector has changed)
787 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
789 * src/hildon-picker-dialog.c
790 (hildon_picker_dialog_realize): Removed as not required
791 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
792 * src/hildon-picker-button.c
793 (_current_selector_empty): New function, checks if the selector is empty
794 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
795 if the current selector is empty, in order to avoid to show the dialog
796 close the dialog in this case (and shows a g_warning).
798 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
800 2008-10-09 Alejandro G. Castro <alex@igalia.com>
802 * src/hildon-pannable-area.c,
803 (hildon_pannable_area_scroll): Added clause to stop movement when
804 the child of pannable is smaller than one page.
805 (hildon_pannable_area_scroll_to): Added conditions to avoid
806 starting the scrolling movement if the child is smaller than one
807 page, the complete child is in the screen, we do not have to move.
809 Fixes: NB#89632 (Picker button selection doesn't change on first click)
811 2008-10-09 Alberto Garcia <agarcia@igalia.com>
813 * src/hildon-app-menu.c: Removed the 'columns' property, as now
814 this is managed automatically by the widget when the size of the
817 2008-10-09 Alberto Garcia <agarcia@igalia.com>
819 * src/hildon-picker-button.c
820 (hildon_picker_button_set_done_button_text): Make a copy of the
821 text, and free the previous value.
823 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
825 * src/hildon-touch-selector-entry.c:
826 (hildon_touch_selector_entry_print_func): Return the selected row's
827 text if the entry is empty.
829 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
832 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-touch-selector-entry.c: Minor docs fixes.
836 2008-10-09 Alberto Garcia <agarcia@igalia.com>
839 * src/hildon-check-button.h
840 * src/hildon-check-button.c
841 * examples/hildon-check-button-example.c:
842 HildonCheckButton is now a new widget. 'toggled' signal added.
844 2008-10-08 Alberto Garcia <agarcia@igalia.com>
846 * src/hildon-program-private.h
847 * src/hildon-program.c (hildon_program_init)
848 (hildon_program_finalize): Removed unused variables group_leader
849 and name from HildonProgramPrivate.
851 2008-10-08 Alberto Garcia <agarcia@igalia.com>
853 * src/hildon-check-button.c (hildon_check_button_set_active)
854 (hildon_check_button_get_active, hildon_check_button_new): Use
855 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
857 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
859 * src/hildon-touch-selector.h
860 (hildon_touch_selector_set_column_attributes): added deprecation
861 guard HILDON_DISABLE_DEPRECATED
862 * src/hildon-time-selector.c
863 (hildon_time_selector_set_time)
864 (hildon_time_selector_get_time): Fixed a typo on documentation
865 * src/hildon-touch-selector.c: update HildonTouchSelector and
866 HildonTouchSelectorColumn documentation
867 * src/hildon-touch-selector-entry.c: update "text-column" property
869 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
870 to be added to the general documentation.
872 2008-10-08 Alejandro G. Castro <alex@igalia.com>
874 * examples/hildon-pannable-area-example-4.c,
876 * examples/hildon-pannable-area-example.c,
877 (main): Modified the code in order to use the container add, with
878 viewport treeviews could have problems if they are really big.
880 2008-10-06 Alejandro G. Castro <alex@igalia.com>
882 * src/hildon-weekday-picker.c,
883 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
884 the agreement regarding deprecation in the library.
886 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
888 * examples/hildon-picker-button-multicolumn-example.c:
889 (main): Use custom "done" button text.
891 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
892 (hildon_picker_button_set_property),
893 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
894 (hildon_picker_button_init),
895 (+hildon_picker_button_get_done_button_text),
896 (+hildon_picker_button_set_done_button_text): New methods to customize
897 the "done" button label in the launched HildonPickerDialog. Also,
900 * src/hildon-picker-button.h: add the public API.
902 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
904 * src/hildon-date-selector.h:
905 * src/hildon-picker-dialog.h:
906 * src/hildon-time-selector.h:
907 * src/hildon-touch-selector-column.h:
908 * src/hildon-touch-selector.h:
910 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
911 declarations. Fixes gtk-doc warnings.
913 2008-10-06 Alberto Garcia <agarcia@igalia.com>
915 * src/hildon-picker-dialog.h
916 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
917 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
919 Fixes: NB#89329 (selectors in picker dialog are not visible when a
920 long text is set as label for done button)
922 2008-10-06 Alberto Garcia <agarcia@igalia.com>
924 * src/hildon-dialog.c (hildon_dialog_add_button):
925 Set fixed width to all buttons in the HildonDialog.
927 2008-10-06 Alberto Garcia <agarcia@igalia.com>
929 Patch contributed by Daniel Borgmann (danielb@openismus.com)
931 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
932 Set widget name using class name plus "-finger" or "-thumb".
934 2008-10-03 Alberto Garcia <agarcia@igalia.com>
936 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
937 'clicked' when the state of the button is manually changed.
939 2008-10-02 Alberto Garcia <agarcia@igalia.com>
941 * src/hildon-app-menu.c (hildon_app_menu_realize)
942 (hildon_app_menu_unrealize, hildon_app_menu_init)
943 (hildon_app_menu_class_init, item_visibility_changed):
944 Change the menu layout when the size of the screen changes.
945 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
946 Show warning only when changing the number of colums using the
949 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
951 * debian/compat: Set to 5
952 * debian/control: Update dependencies.
953 * debian/libhildon1-dbg.install: Remove.
954 * debian/libhildon1-dev.install: Update according to cdbs paths.
955 * debian/libhildon1.install: Update according to cdbs paths.
956 * debian/rules: Switch to cdbs.
958 2008-10-01 Alberto Garcia <agarcia@igalia.com>
960 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
961 'item' variable renamed to 'filter'
963 2008-10-01 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-app-menu.c (hildon_app_menu_insert)
966 (hildon_app_menu_add_filter, remove_item_from_list)
967 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
968 Don't leak hidden items when the menu is destroyed.
970 2008-10-01 Alberto Garcia <agarcia@igalia.com>
972 * src/hildon-app-menu.c (hildon_app_menu_insert)
973 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
974 (hildon_app_menu_set_columns, item_visibility_changed)
975 (filter_visibility_changed, hildon_app_menu_repack_filters)
976 (hildon_app_menu_repack_items):
977 Repack items and filters separately.
979 Don't repack all items, change only the ones that are needed to
982 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
984 * src/Makefile.am: added hildon-touch-selector-column.h
986 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
988 * src/hildon-touch-selector.c: added the property "text-column" to the
989 class HildonTouchSelectorColumn, and related get/set functions
990 (_default_printf_func): updated to use "text-column" property
991 * src/hildon-touch-selector-entry.c: mark as deprecated the property
992 "text-column" in his documentation, as this is now included on
993 HildonTouchSelectorColumn. The get/set_property can still be used,
994 working as a wrapper to the concrete column "text-column" property
995 (_text_column_modified): callback added in order to handle the signal
996 "notify::text-column" of the concrete HildonTouchSelectorColumn
997 (hildon_touch_selector_entry_get_text_column)
998 (hildon_touch_selector_entry_set_text_column): Added documentation, and
999 modified in order to use the HildonTouchSelectorColumn "text-column"
1001 * src/hildon-time-selector.c:
1002 * src/hildon-date-selector.c:
1003 * examples/hildon-touch-selector-example.c
1004 * examples/hildon-touch-selector-multi-cells-example.c
1005 * examples/hildon-picker-button-multicolumn-example.c
1006 Set the right value to "text-column" property on the creation of a new
1007 column using hildon_touch_selector_append_column()
1009 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1011 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1013 * src/hildon-app-menu.c
1014 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1015 updating the layout of the menu, don't create all widgets again,
1016 just repack the items in their new places.
1018 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1020 * src/hildon-time-selector.c
1021 (hildon_time_selector_get_time)
1022 (hildon_time_selector_set_time)
1023 Added documentation of these public methods
1025 * src/hildon-date-button.h
1026 * src/hildon-touch-selector-column.h
1027 * src/hildon-time-button.h
1028 * src/hildon-picker-dialog.h
1029 * src/hildon-time-selector.h
1030 * src/hildon-picker-button.h
1031 * src/hildon-touch-selector.h
1032 * src/hildon-time-picker.h
1033 * src/hildon-date-selector.h
1034 * src/hildon-touch-selector-entry.h
1035 Modified in order to use hildon-widgets code style
1037 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1039 Added deprecated support to the compilation process using
1040 HILDON_DISABLE_DEPRECATED
1042 * configure.ac: Added the --disable-deprecated to the configure
1045 * src/hildon-weekday-picker.c:
1046 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1047 to use the deprecated support. We will update the other deprecated
1048 widgets status in a new patch.
1050 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1052 * configure.ac: Fixed typo with fatal warnings support, the
1053 variable name was not correct
1055 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-app-menu.c
1058 * src/hildon-program.c: Update documentation.
1060 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1062 * configure.ac: Post-release version bump.
1064 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1069 * configure.ac: Pre-release version bump.
1070 * debian/changelog: Updates.
1072 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1074 * NEWS: Update news for previous releases.
1076 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1078 * examples/hildon-touch-selector-multi-cells-example.c:
1079 (create_selector): Update the example to use
1080 hildon_touch_selector_append_column() with a NULL renderer and set
1081 the renderers later.
1082 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1083 passed a NULL renderer. This is documented behavior now.
1085 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1086 This must be used if the developer wants full control on the layout of
1087 the renderers to be added to the column.
1089 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1091 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1093 * src/hildon-touch-selector.c: Documentation fixes.
1095 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-wizard-dialog-private.h: Remove image and box.
1098 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1099 (hildon_wizard_dialog_set_property), (response): Completely remove
1100 image/icon support, and the containers required for the layout.
1102 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1104 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-app-menu.c: Updated documentation.
1108 * src/hildon-stackable-window.c
1109 (hildon_stackable_window_set_main_menu): Unref the old menu after
1110 ref'ing the new one.
1112 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1114 * src/hildon-stackable-window.c
1115 (hildon_stackable_window_set_main_menu): Unref the previous menu
1116 instead of destroying it.
1118 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1119 floating reference and set has_user_ref_count to FALSE to make
1120 HildonAppMenu act like a normal ref-counted widget and not a
1123 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1126 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1128 * src/hildon-touch-selector-column.h: new file
1129 * src/hildon-touch-selector.h
1130 * src/hildon-touch-selector.c
1131 Implemented GtkCellLayout interface, in order to allow to configure
1132 the cell layout on each individual selector column
1133 (hildon_touch_selector_set_column_attributes): marked as deprecated
1134 * examples/hildon-touch-selector-multi-cells-example.c
1135 Example of how to use the GtkCellLayout interface on the selector
1137 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1139 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1141 * src/hildon-app-menu.h
1142 * src/hildon-app-menu.c
1143 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1144 (hildon_app_menu_append, hildon_app_menu_prepend):
1145 New methods to prepend, insert and move items in the menu.
1147 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-wizard-dialog.c:
1151 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1153 (create_title): Update logical IDs and related code.
1154 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1156 * src/hildon-wizard-dialog.h: Note that
1157 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1158 point, as it is not used anymore.
1160 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1162 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/hildon-note.c:
1165 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1166 shown. Do not display an icon in confirmation notes nor information
1168 (hildon_note_set_button_text): Update logical ID for cancel button.
1170 Fixes: NB#88850 (Update HildonNote button strings + signals)
1172 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1174 * src/hildon-stackable-window.c
1175 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1177 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1179 * src/hildon-app-menu-private.h
1180 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1181 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1182 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1183 temporary property 'columns' to change the number of columns.
1185 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1187 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1189 * examples/hildon-note-example.c: (on_information_clicked),
1190 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1191 debugging information.
1192 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1194 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1195 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1196 in order to close: this will be handled by the WM from now on.
1198 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1200 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1202 * src/hildon-app-menu-private.h
1203 * src/hildon-app-menu.c
1204 (hildon_app_menu_append, hildon_app_menu_add_filter)
1205 (button_visibility_changed, hildon_app_menu_apply_style)
1206 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1207 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1208 layout everytime a button (item or filter) is shown or hidden.
1210 * src/hildon-stackable-window.c
1211 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1214 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1216 * src/hildon-touch-selector.c:
1217 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1218 that the treeview inside the touch selector is in fremantle hildon mode
1219 * examples/hildon-date-button-example.c
1220 * examples/hildon-picker-button-multicolumn-example.c
1221 * examples/hildon-touch-selector-entry-example.c
1222 * examples/hildon-touch-selector-example.c
1223 * examples/hildon-time-button-example.c
1224 * examples/hildon-picker-button-example.c:
1225 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1227 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1229 * examples/hildon-text-view-example.c: (main): Remove the
1230 gtkrc bits, now handled by the theme.
1232 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1234 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1237 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1239 * po/Makefile.am: Install properly the mo files.
1240 * po/en_GB.po: Update translation, to ease testing purposes.
1242 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1244 * examples/hildon-picker-button-example.c: (main): Select an item
1245 in the selector before setting it to the button.
1247 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1249 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1250 Update button's value if the selector has an item active.
1252 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1253 'value' with the selector)
1255 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1257 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1258 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1259 (hildon_picker_button_class_init): Plug the finalize method.
1260 (hildon_picker_button_set_selector): If there's a previously set
1261 selector, unref'it before setting a new one.
1263 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1264 HildonTouchSelector)
1266 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-touch-selector-entry.c:
1269 (hildon_touch_selector_entry_changed): Check if there is no text
1270 selected before setting the entry text.
1273 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-touch-selector.h
1276 * src/hildon-touch-selector.c
1277 (hildon_touch_selector_get_active)
1278 (hildon_touch_selector_set_active): New methods to set/get the
1279 index of the selected item.
1281 * src/hildon-picker-button.h
1282 * src/hildon-picker-button.c
1283 (hildon_picker_button_get_active)
1284 (hildon_picker_button_set_active): New methods to set/get the
1285 index of the selected item.
1287 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1289 * configure.ac: post-release version bump.
1291 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1295 * configure.ac: Pre-release version bump.
1296 * debian/changelog: Updates.
1297 * debian/control: Add myself as maintainer and depend on l10n
1300 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1302 * src/hildon-window.c
1303 (hildon_window_set_main_menu)
1304 * src/hildon-stackable-window.c
1305 (hildon_stackable_window_set_main_menu):
1306 Updated documentation.
1308 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1311 Don't free selector->priv manually.
1314 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1317 (hildon_gtk_window_set_progress_indicator):
1318 * src/hildon-gtk.h: Added the new API
1319 hildon_gtk_window_set_progress_indicator, it changes the state of
1320 the window progress hint.
1322 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1324 * src/hildon-button.c
1325 * src/hildon-stackable-window.c: Minor documentation updates.
1327 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1329 * src/hildon-stackable-window.c: Updated documentation.
1331 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-defines.h: Update margins definitions
1334 to the Fremantle sizes.
1337 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1339 * src/hildon-touch-selector.c,
1340 (_hildon_touch_selector_set_model): Cleaning the code after
1341 review, removed g_print and #if 0 from the code.
1343 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-edit-toolbar.c: Update documentation.
1347 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-check-button.h
1350 * src/hildon-check-button.c
1351 (hildon_check_button_set_label, hildon_check_button_get_label)
1352 * examples/hildon-check-button-example.c
1353 (button_clicked_cb):
1354 Removed deprecated methods.
1356 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-text-view.c:
1359 Add sample code to the documentation.
1361 * src/hildon-entry.h
1362 * src/hildon-text-view.h:
1363 Minor cosmetic changes.
1365 * src/hildon-entry.c:
1366 Add sample code to the documentation.
1367 (hildon_entry_init, hildon_entry_refresh_contents):
1368 Don't allow NULL values in the placeholder.
1370 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1372 * doc/hildon-docs.sgml
1374 * examples/Makefile.am
1375 * examples/hildon-text-view-example.c
1377 * src/hildon-text-view.c
1378 * src/hildon-text-view.h
1380 New HildonTextView widget, with example.
1382 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1384 * po/POTFILES.in: Add missing files with translatable strings.
1385 Partially fixes NB#88287.
1387 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1389 * examples/hildon-pannable-area-example-2.c: (main): No need to
1390 set the cellrenderer height inside hildon touch lists, the theme does
1393 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1395 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1396 they are integrated in the theme.
1398 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1400 * examples/hildon-entry-example.c: Update the example adding
1401 widgets to modify the text and the placeholder of the HildonEntry.
1403 * src/hildon-entry.c: Show the placeholder everytime the widget
1404 is empty and loses the focus.
1406 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1408 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1410 * src/hildon-pannable-area.c,
1411 (hildon_pannable_area_size_request): Fixed bug in height
1412 requisition, avoid increasing size and add border twice.
1414 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1416 * configure.ac: postrelease version bump.
1418 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1422 * configure.ac: Prerelease version bump.
1423 * debian/changelog: update.
1424 * debian/rules: make -dbg package contain useful debugging symbols.
1426 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1428 * src/hildon-dialog.h
1429 * src/hildon-dialog.c
1430 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1431 New methods to add buttons with finger size.
1432 (hildon_dialog_new_with_buttons):
1433 Create buttons with finger size.
1435 * examples/hildon-dialog-example.c (main): Use HildonDialog
1436 methods to add buttons.
1438 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-entry.c: Updated HildonButton documentation.
1442 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1444 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1445 button value label with (FALSE, FALSE) to prevent NB#88126 from
1448 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1450 * examples/hildon-pannable-area-example.c,
1451 (main): Removed examples panning a vbox inside a pannable
1452 area. Check bug NB#87965
1454 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1456 Patch contributed by Kris Rietveld (kris@imendio.com)
1458 * src/hildon-pannable-area.c,
1459 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1460 get_size and get_position, this saves an X server roundtrip.
1462 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1464 * doc/hildon-docs.sgml
1466 * examples/Makefile.am
1467 * examples/hildon-entry-example.c
1469 * src/hildon-entry.c
1470 * src/hildon-entry.h
1472 New HildonEntry widget, with example.
1474 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-button.c (hildon_button_construct_child): Pack the
1477 image with expand == fill == FALSE. This is a workaround for a bug
1480 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1482 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1483 labels for the text column, to make it more look more dynamic.
1485 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1487 * src/hildon-time-selector.c
1488 Define gettext auxiliar macro N_
1489 (_create_minutes_model)
1490 (_create_hours_model)
1491 (_create_ampm_model): use of strftime in order to fill the model
1492 * src/hildon-date-selector.c
1493 (hildon_date_selector_finalize):
1494 (_locales_init): remove the logic related to get the name of the months
1495 using nl_langinfo, as it is not required anymore
1497 (_create_year_model)
1498 (_create_month_model)
1499 (_update_day_model): use of strftime in order to fill the model properly
1502 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-button.h
1505 * src/hildon-button.c (hildon_button_get_image): New method to
1508 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1510 * src/hildon-touch-selector.c:
1511 (hildon_touch_selector_remove_column): Remove from the correct parent
1512 and also remove the list element and free it.
1515 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1517 * src/hildon-time-selector.c
1518 (_create_hours_model): change the range on 12h ampm format in order to use
1519 a 12-11 range instead of previous 01-12 range
1520 (hildon_time_selector_set_time): change the way to select the current time
1521 on 12h ampm format, due the change on the range
1522 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1525 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1527 * src/hildon-touch-selector.c
1528 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1529 in order to allow use this function on multiple row selection mode if
1530 the column is different that the first one
1533 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1535 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1536 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1538 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1540 * src/hildon-date-selector.h: clean some comments, now on the .c
1541 * src/hildon-date-selector.c
1542 (hildon_date_selector_select_month): first implementation
1543 (hildon_date_selector_select_day): added documentation, reimplemented
1544 using hildon_date_selector_select_current_date to avoid repeat code
1547 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1549 Reviewed interaction logic based on device experiences, refactored
1552 * src/hildon-pannable-area.c,
1553 (hildon_pannable_area_class_init): Updated default vmax speed.
1554 (hildon_pannable_area_calculate_velocity): Added this function, it
1555 avoids duplicate valocity calculation. Adjusted calculation to
1556 avoid problems with zero dist events.
1558 (hildon_pannable_area_motion_notify_cb): Now we use the
1559 calculate_velocity function.
1561 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1563 * src/hildon-date-selector.c
1564 (hildon_date_selector_select_current_date): fix the day range check
1565 as it failed using the last day of the current month
1568 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1570 * src/hildon-touch-selector.c
1571 (hildon_touch_selector_get_num_columns): added a parameter validation
1574 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1576 * examples/Makefile.am
1577 * examples/hildon-edit-toolbar-example.c: Example of the
1578 HildonEditToolbar widget.
1580 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1582 * configure.ac: postrelease version bump.
1584 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1588 * configure.ac: prerelease version bump.
1589 * debian/changelog: update.
1591 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1593 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1594 renderer to display stock icons in the touch list. Also, set the sizes
1595 to the recommended in the style guide.
1597 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1598 * src/hildon-touch-selector.h
1599 (hildon_touch_selector_set_active_iter): renamed, now is
1600 hildon_touch_selector_select_iter
1601 (hildon_touch_selector_get_active_iter): renamed, now is
1602 hildon_touch_selector_get_selected
1603 (hildon_touch_selector_unselect_iter): added
1604 * src/hildon-touch-selector.c
1605 Update after API modification (methods renamed)
1606 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1607 order to avoid problems selecting multiple elements on the column
1608 (hildon_touch_selector_unselect_iter): added the implementation
1609 * src/hildon-time-selector.c
1610 * src/hildon-date-selector.c
1611 * src/hildon-touch-selector-entry.c
1612 Update methods calls after hildon-touch-selector.h API modification (methods
1615 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1617 * src/hildon-stackable-window.c
1618 (hildon_stackable_window_finalize): Call the parent class's finalize.
1620 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1622 * examples/hildon-touch-selector-example.c: (create_selector): Use
1623 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1626 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1628 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1629 set a cell background color, to respect theming.
1631 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1633 * doc/hildon-docs.sgml
1636 * src/hildon-edit-toolbar.c
1637 * src/hildon-edit-toolbar.h
1638 * src/hildon.h: New HildonEditToolbar widget.
1640 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1642 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1645 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1646 * src/hildon-touch-selector.c
1647 (_create_new_column): use g_object_set instead of two g_object_set_property
1649 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1650 * src/hildon-touch-selector.c
1651 (_create_new_column): use of hildon_gtk_tree_view_new to create
1652 the treeview, instead of use directly g_object_new
1653 (_create_new_column): update the property name "vindicator-mode" for the
1654 new one "vscrollbar-policy"
1655 * examples/hildon-date-button-example.c
1656 * examples/hildon-picker-button-multicolumn-example.c
1657 * examples/hildon-touch-selector-entry-example.c
1658 * examples/hildon-touch-selector-example.c
1659 * examples/hildon-time-button-example.c
1660 * examples/hildon-picker-button-example.c
1661 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1662 to all the treeviews inside a pannable area.
1664 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1666 * src/hildon-button.h
1667 * src/hildon-button.c (hildon_button_init)
1668 (hildon_button_set_arrangement, hildon_button_set_alignment)
1669 (hildon_button_set_title_alignment)
1670 (hildon_button_set_value_alignment)
1671 (hildon_button_set_image_alignment)
1672 (hildon_button_construct_child): New methods to set the alignment
1673 of the individual components of the button (title, value,
1674 image). Also, new method to alter the xscale and yscale properties
1675 of the GtkAlignment inside the button, so more complex layouts can
1678 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-button.c (hildon_button_style_set)
1681 (hildon_button_class_init, hildon_button_set_arrangement)
1682 (hildon_button_construct_child): Apply style properties
1683 correctly. Use the 'image-spacing' style property too.
1685 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1687 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1688 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1691 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1693 * src/hildon-pannable-area.c,
1694 (hildon_pannable_area_size_request): Fixed problem with
1695 pannable-area size_request.
1697 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1699 Added management for the grab-focus to a child widget, like a
1700 range, we need to fade out the scrollbar when releasing.
1702 * src/hildon-pannable-area.c,
1703 (hildon_pannable_area_init): Connected the grab-focus signal to
1705 (hildon_pannable_area_grab_notify): Added this function in order
1706 to manage the situation when the grab-focus ends. We have to
1707 fade-out the scrollbar.
1709 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1711 * src/hildon-app-menu.c: Minor documentation update.
1713 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1715 * src/hildon-app-menu.c
1716 * examples/hildon-app-menu-example.c (create_menu): Update
1717 examples and documentation to explain how to connect callbacks.
1719 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1721 * examples/hildon-button-example.c
1722 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1723 hildon_stackable_window_new instead of gtk_window_new
1725 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1727 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1728 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1729 (hildon_pannable_area_set_property),
1730 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1731 (hildon_pannable_area_unrealize),
1732 (hildon_pannable_area_size_request),
1733 (hildon_pannable_area_size_allocate),
1734 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1735 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1736 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1737 (hildon_pannable_area_initial_effect),
1738 (hildon_pannable_area_redraw),
1739 (hildon_pannable_area_scroll_indicator_fade),
1740 (hildon_pannable_area_expose_event),
1741 (hildon_pannable_area_get_topmost), (synth_crossing),
1742 (hildon_pannable_area_button_press_cb),
1743 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1744 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1745 (hildon_pannable_area_motion_notify_cb),
1746 (hildon_pannable_area_button_release_cb),
1747 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1748 (hildon_pannable_area_remove),
1749 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1750 chage the code layout to a more GtkWidget like. Review the use of
1753 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1755 * examples/hildon-pannable-area-example-4.c,
1756 (main): Modified the name of the hindicator_mode to
1759 * src/hildon-pannable-area.c,
1760 (hildon_pannable_area_class_init),
1761 (hildon_pannable_area_motion_notify_cb),
1762 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1763 we have reduced the amount of signals and managed reviewed its
1764 rationale. Changed the default decelerate value.
1766 (hildon_pannable_area_add),
1767 (hildon_pannable_area_redraw): Refactored functions.
1769 (hildon_pannable_area_init),
1770 (hildon_pannable_area_get_property),
1771 (hildon_pannable_area_set_property):
1772 (hildon_pannable_draw_vscroll),
1773 (hildon_pannable_draw_hscroll),
1774 (hildon_pannable_area_initial_effect),
1775 (hildon_pannable_area_expose_event),
1776 (hildon_pannable_area_scroll),
1777 (hildon_pannable_area_button_press_cb),
1778 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1779 and vindicator_mode with hscrollbar_policy and
1780 vscrollbar_policy. Replaced hscroll and vscroll with
1781 hscroll_visible and vscroll_visible.
1783 (hildon_pannable_area_refresh): Refactor the function, remove
1784 variables and check the calls to this function, added resize
1785 conditions in case the children change their layout.
1787 (hildon_pannable_area_size_request): Added more detailed
1788 size_request calculation.
1791 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1793 * src/hildon-color-chooser.c
1794 (init_borders): use the correct gtk_border_free instead of g_free, to
1795 avoid a crash when this widget is used (ie: the three color selection
1798 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1800 * src/hildon-check-button.c,
1801 (hildon_check_button_set_active): Fixed problem when setting the
1802 active value, the widget was not redrawn.
1804 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1806 * src/hildon-pannable-area.c,
1807 (hildon_pannable_area_refresh),
1808 (hildon_pannable_area_scroll),
1809 (hildon_pannable_area_motion_notify_cb): Small code style change.
1811 (hildon_pannable_area_class_init): Default initial_hint set to
1812 FALSE, it is not in the specs.
1814 (hildon_pannable_area_initial_effect),
1815 (hildon_pannable_area_expose_event),
1816 (hildon_pannable_area_map),
1817 (hildon_pannable_area_init): Moved the launching point of the
1818 initial effect, it was in map but the sizes where not correct in
1819 that method so we do not know if we have the reproduce it. Now it
1820 is placed in the expose_event method and uses a variable to
1821 reproduce it just once.
1823 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1825 * src/hildon-pannable-area.c,
1826 (hildon_pannable_draw_vscroll),
1827 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1828 position allowed for the scrollbars.
1830 (hildon_pannable_area_size_allocate): Small style change.
1832 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1834 * src/hildon-pannable-area.c,
1835 (hildon_pannable_area_scroll_indicator_fade),
1836 (hildon_pannable_area_button_press_cb),
1837 (hildon_pannable_area_button_release_cb),
1838 (hildon_pannable_area_scroll_cb),
1839 (hildon_pannable_area_expose_event),
1840 (hildon_pannable_area_init): Added the define parameter
1841 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1842 and refactor the fade variable.
1844 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1846 * src/hildon-pannable-area.c,
1847 (hildon_pannable_area_redraw),
1848 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1849 lines, we were reimplemeting the redraw code.
1851 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1853 * src/hildon-pannable-area.c,
1854 (hildon_pannable_area_scroll_cb),
1855 (hildon_pannable_area_realize),
1856 (hildon_pannable_area_class_init): Added scroll_event management
1857 for pannable area, now we can scroll the usual desktop method.
1859 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1860 initialization of the parameters should depend on idle_id.
1862 (hildon_pannable_area_init),
1863 (hildon_pannable_area_map): Small code style modifications
1865 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1867 * src/hildon-pannable-area.c
1868 (hildon_pannable_area_button_press_cb),
1869 (hildon_pannable_area_motion_notify_cb),
1870 (hildon_pannable_area_button_release_cb),
1871 (hildon_pannable_area_size_allocate),
1872 (hildon_pannable_area_scroll_to): Improved the timeouts
1873 management, we avoid creating them each time.
1875 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1877 * src/hildon-pannable-area.c:
1878 (hildon_pannable_area_refresh),
1879 (hildon_pannable_area_motion_notify_cb),
1880 (hildon_pannable_area_class_init):
1881 * src/hildon-pannable-area.h:
1882 * src/hildon-touch-selector.c
1883 (_create_new_column):
1884 * examples/hildon-pannable-area-example-4.c:
1885 (horizontal_movement),
1886 (vertical_movement),
1888 Replaced the names of enums in the HildonPannableArea:
1889 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1890 HILDON_MOVEMENT_MODE_*
1891 - HILDON_PANNABLE_AREA_MOV_* ->
1893 - Removed HildonPannableAreaIndicatorMode, now we
1896 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1898 * examples/hildon-pannable-area-touch-grid-example.c
1899 * examples/hildon-pannable-area-touch-list-example.c: Fix
1900 compilation warnings.
1902 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1904 * src/hildon-gtk.c (hildon_gtk_button_new)
1905 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1906 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1907 images overriding the value of the "gtk-button-images" setting.
1909 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-check-button.c (hildon_check_button_new):
1912 Instead of using a custom container, display the label and the
1913 checkbox using the standard GtkButton API.
1915 * examples/hildon-check-button-example.c (main): Don't use
1916 hildon_check_button_set_label() anymore
1918 * src/hildon-check-button.h
1919 * src/hildon-check-button.c
1920 (hildon_check_button_set_label, hildon_check_button_get_label):
1921 Set as deprecated, now we're using gtk_button_{get,set}_label()
1923 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-pannable-area.c,
1926 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1927 GtkTreeview first line we detected it after the inclusion of the
1928 GtkWindowImpl in gtk+. We now check if the window is visible, not
1929 just if the pointer is over the window.
1930 (hildon_pannable_axis_scroll),
1931 (hildon_pannable_area_expose_event): Small style changes.
1933 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1935 * src/hildon-button.c: Update documentation.
1937 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1939 * examples/hildon-button-example.c: Add a switch to show images in
1942 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1944 * doc/hildon-docs.sgml: Some docs reorganization.
1946 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1948 * examples/hildon-pannable-area-touch-list-example.c
1950 * examples/hildon-pannable-area-touch-grid-example.c
1951 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1952 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1953 Fix memory leak when setting the tree model.
1955 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1959 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1961 * doc/hildon.types: Remove duplicated hildon_window_get_type
1962 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1963 documentation comment.
1965 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1967 * doc/Makefile.am: Complete list of private headers.
1969 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1971 * doc/hildon-docs.sgml
1972 * src/hildon-app-menu.c
1973 * src/hildon-bread-crumb.c
1974 * src/hildon-button.c
1976 * src/hildon-program.c
1977 * src/hildon-stackable-window.c
1978 * src/hildon-window.c: Lots of documentation updates.
1980 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1982 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1984 * configure.ac: Require Gtk+ 2.12.9 at least
1986 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1988 * src/hildon-pannable-area.c
1989 (hildon_pannable_area_scroll_indicator_fade),
1990 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1991 to protect the return of this timeout callbacks, avoiding deadlocks.
1993 2008-08-12 Christian Dywan <christian@imendio.com>
1996 * src/hildon-*.h: Ensure a consistent include order,
1997 include <gtk/gtk.h> instead of particular files and
1998 only include the topmost header in the gtk stack. See NB #39857
2000 2008-08-12 Christian Dywan <christian@imendio.com>
2002 * src/hildon-picker-dialog.c
2003 * src/hildon-touch-selector.c: Fix warnings about unused and
2004 uninitialized variables.
2006 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2008 * examples/Makefile.am
2009 * examples/hildon-check-button-example.c: Example of the hildon
2012 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-window.h
2015 * src/hildon-window.c (hildon_window_class_init)
2016 (hildon_window_unset_program): Don't make
2017 hildon_window_unset_program a virtual function anymore.
2019 * src/hildon-stackable-window.c: Update documentation
2021 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2024 * doc/hildon-docs.sgml
2025 * doc/visual_index.xml
2026 * src/hildon-defines.c
2028 * src/hildon-helper.c
2029 * src/hildon-range-editor.c: Lots of documentation fixes.
2031 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2033 * examples/hildon-picker-button-multicolumn-example.c
2034 (create_touch_selector): Fix compilation warning.
2036 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2039 (hildon_pannable_area_button_release_cb)
2040 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2042 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2044 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2047 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2049 * src/hildon-bread-crumb-trail.h
2050 * src/hildon-date-editor.c
2051 * src/hildon-date-selector.c
2052 * src/hildon-pannable-area.c
2053 * src/hildon-picker-dialog.c
2054 * src/hildon-time-selector.c
2055 * src/hildon-touch-selector-entry.c
2056 * src/hildon-touch-selector.c
2057 * src/hildon-touch-selector.h: Misc documentation fixes
2059 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2061 * examples/hildon-date-editor-example.c (main): Updated date
2064 * examples/hildon-note-example.c (on_confirmation_clicked):
2065 Updated confirmation note example.
2067 * src/hildon-date-editor.c
2068 * src/hildon-note.c: Updated sample programs in documentation.
2071 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2073 * src/hildon-date-button.h:
2074 * src/hildon-picker-button.h:
2075 * src/hildon-time-button.c:
2076 * src/hildon-time-button.h:
2078 Some declarations changes to allow gtk-doc to document the widgets
2081 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-date-button.c: Document the widget.
2084 * src/hildon-time-button.c: Document the widget.
2086 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/hildon-picker-button.c: Document the widget.
2089 * src/hildon-touch-selector-entry.c: Document the widget.
2091 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2093 * doc/hildon-docs.sgml
2096 * src/hildon-check-button.h
2097 * src/hildon-check-button.c: New functions to create the Hildon
2101 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2103 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-button.h
2106 * src/hildon-button.c
2107 (hildon_button_add_title_size_group)
2108 (hildon_button_add_value_size_group)
2109 (hildon_button_add_image_size_group)
2110 (hildon_button_add_size_groups): New functions to set size groups
2111 for the button labels and image.
2112 (hildon_button_new_full): Removed
2114 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2116 * src/hildon-time-selector.c
2117 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2118 in order to avoid a crash if gconf is not available
2120 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2122 * src/hildon-button.c (hildon_button_set_arrangement)
2123 (hildon_button_construct_child): Don't construct the button child
2124 before setting the arrangement.
2126 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2128 * src/hildon-program-private.h
2129 * src/hildon-program.c
2130 * src/hildon-program.h
2131 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2132 (hildon_program_peek_window_stack)
2133 (hildon_program_pop_window_stack)
2134 (hildon_program_go_to_root_window): HildonProgram now has a
2135 separate list for stackable windows. Functions are provided to
2136 manage that list with a stack-like API.
2138 * src/hildon-stackable-window.c: Stackable window management is
2139 now much simpler with the new HildonProgram API. Windows no
2140 longer need to be manually added to the program, they're
2141 automatically pushed to the top of the stack when shown.
2143 * examples/hildon-stackable-window-example.c: Updated example to
2144 reflect the API changes.
2146 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2148 * src/hildon-touch-selector.c: Comment out unimplemented
2149 hildon_touch_selector_insert_column() to avoid a compile warning.
2151 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2154 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2155 (hildon_touch_selector_set_column_selection_mode),
2156 (_hildon_touch_selector_set_model),
2157 (hildon_touch_selector_set_model):
2159 Complete review of HildonTouchSelector documentation.
2161 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2163 * doc/hildon-docs.sgml
2167 * src/hildon-gtk.c: Convenience functions for standard Gtk
2168 widgets, used to easily perform frequent operations.
2170 * src/hildon-button-helpers.h
2171 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2173 * src/hildon-helper.h
2174 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2175 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2177 * src/hildon-button.h
2178 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2180 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-button.c (hildon_button_init)
2183 (hildon_button_set_arrangement, hildon_button_construct_child):
2184 Pack the image and the labels inside the same GtkAlignment so
2185 gtk_button_set_alignment() can be used
2187 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2189 * src/hildon-button.h
2190 * src/hildon-button.c
2191 (hildon_button_init, hildon_button_set_image)
2192 (hildon_button_set_image_position)
2193 (hildon_button_construct_child): New functions to add an image to
2196 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2198 * src/hildon-date-button.c
2199 * src/hildon-picker-button.c
2200 * src/hildon-time-button.c
2201 * src/hildon-button.c:
2202 (hildon_button_class_init): "size-flags" renamed to "size"
2203 (hildon_button_set_title): Hide the title label if set to NULL.
2205 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2207 HildonButtonFlags split into HildonButtonArrangement (to set the
2208 button layout) and HildonSizeType (which can be used for any
2211 * src/hildon-button.h
2212 * src/hildon-button.c
2213 (hildon_button_class_init)
2214 (hildon_button_set_arrangement)
2215 (hildon_button_set_property): New "size-flags"
2216 property. "arrangement-flags" renamed to "arrangement".
2217 (hildon_button_new, hildon_button_new_with_text)
2218 (hildon_button_new_full): Constructors updated to reflect type changes.
2220 * src/hildon-helper.h
2221 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2222 to set the size of a widget.
2226 * src/hildon-button-helpers.c
2227 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2229 * src/hildon-date-button.c
2230 * src/hildon-date-button.h
2231 * src/hildon-picker-button.c
2232 * src/hildon-picker-button.h
2233 * src/hildon-time-button.c
2234 * src/hildon-time-button.h: Updated widgets to reflect
2235 HildonButton API changes.
2237 * examples/hildon-button-example.c
2238 * examples/hildon-date-button-example.c
2239 * examples/hildon-picker-button-example.c
2240 * examples/hildon-picker-button-multicolumn-example.c
2241 * examples/hildon-time-button-example.c
2242 * examples/hildon-touch-selector-entry-example.c
2243 * examples/hildon-touch-selector-example.c: Updated examples to
2244 reflect HildonButton API changes.
2246 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2248 * doc/hildon-docs.sgml:
2250 * examples/Makefile.am:
2251 * examples/hildon-touch-selector-entry-example.c:
2253 * src/hildon-touch-selector-entry.c:
2254 * src/hildon-touch-selector-entry.h:
2257 Moved HildonTouchSelectorEntry from sandbox. Added its
2258 documentation and examples.
2260 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-touch-selector.h:
2263 * examples/hildon-picker-button-multicolumn-example.c:
2264 (hildon_touch_selector_append_text_column): Add a gboolean
2265 parameter to determine if text must be centered in the column.
2267 * src/hildon-date-selector.c: (hildon_date_selector_init):
2268 * src/hildon-time-selector.c: (hildon_time_selector_init):
2269 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2270 (create_touch_selector): Update widgets and example to reflect
2273 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-touch-selector.c:
2276 (hildon_touch_selector_set_active_iter): Set also the cursor in
2279 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2281 * doc/hildon-docs.sgml
2284 * src/hildon-toggle-button.c
2285 * src/hildon-toggle-button.h
2286 * src/hildon.h: Removed HildonToggleButton widget, a derived
2287 class is not necessary for this.
2289 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2291 * src/hildon-pannable-area.c,
2292 (hildon_pannable_area_realize),
2293 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2296 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2298 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2299 "done" button the default widget for the dialog.
2301 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-touch-selector.c:
2304 (hildon_touch_selector_class_init),
2305 (hildon_touch_selector_get_property),
2306 (_hildon_touch_selector_set_model),
2307 (_hildon_touch_selector_has_multiple_selection),
2308 (hildon_touch_selector_has_multiple_selection):
2309 Add a "has-multiple-selection" property with a virtual
2310 has_multiple_selection() method to allow derived classes to
2311 override the default value for it. See the method and property
2312 documentation for details.
2314 * src/hildon-touch-selector.h: Add the new API.
2316 * src/hildon-picker-dialog.c: (requires_done_button): Call
2317 hildon_touch_selector_has_multiple_selection() instead of
2318 determining the need for a button itself.
2320 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2323 (_hildon_touch_selector_set_model),
2324 (hildon_touch_selector_set_model): Move working code to
2325 _hildon_touch_selector_set_mode(). Call the class method instead.
2327 * src/hildon-touch-selector.h: Add (*set_model) to
2328 HildonTouchSelectorClass.
2330 Make hildon_touch_selector_set_model() a virtual method, so that
2331 derived classes can extend it and do fancy stuff with the model.
2333 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: Set back the tarname in AC_INIT to hildon.
2337 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2341 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2342 instead of libesd (NB#86876). Volume handling is still an open issue.
2344 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2347 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2350 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2351 derived class to ease placement of an entry widget in
2352 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2353 end, where the selector columns are packed now.
2355 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2357 * src/hildon-picker-button.c: Removed the simple _text() API.
2358 * src/hildon-picker-button.h: Likewise.
2360 * src/hildon-touch-selector.h:
2361 * src/hildon-touch-selector.c:
2362 (hildon_touch_selector_new_text),
2363 (hildon_touch_selector_append_text),
2364 (hildon_touch_selector_prepend_text),
2365 (hildon_touch_selector_insert_text):
2367 Moved the simple _text() API from HildonPickerButton to
2368 HildonTouchPicker, to provide better escalability and not to tie
2369 that API to HildonPickerButton.
2371 * examples/hildon-picker-button-example.c: (main): Example updated.
2373 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-button.c: Updated documentation.
2377 * examples/hildon-button-example.c: Add the posibility to create
2378 the buttons using horizontal layout for title and value.
2380 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2382 * src/hildon-app-menu-private.h
2383 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2384 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2385 GtkSizeGroup for the filters, use the 'homogeneous' property of
2388 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2390 * examples/hildon-button-example.c: Updated example.
2392 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2394 * doc/hildon-docs.sgml:
2397 Update documentation.
2399 * examples/Makefile.am: Update renamed examples.
2401 * examples/hildon-picker-button-multicolumn-example.c:
2402 (create_touch_selector), (main): Update after the rename.
2404 * examples/hildon-touch-picker-example.c: Removed.
2405 * examples/hildon-touch-selector-example.c: (value_changed),
2406 (create_selector), (get_visible_content), (main): Renamed from
2407 hildon-touch-picker-example.c
2409 * src/Makefile.am: Updated renamed files.
2411 * src/hildon-date-button.c: (hildon_date_button_init),
2412 (hildon_date_button_get_date), (hildon_date_button_set_date):
2413 * src/hildon-date-selector.c: (hildon_date_selector_init),
2414 (_custom_print_func), (_update_day_model),
2415 (_manage_selector_change_cb),
2416 (hildon_date_selector_select_current_date),
2417 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2418 * src/hildon-date-selector.h:
2419 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2420 (hildon_picker_button_set_property),
2421 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2422 (hildon_picker_button_init), (hildon_picker_button_new_text),
2423 (hildon_picker_button_append_text),
2424 (hildon_picker_button_prepend_text),
2425 (hildon_picker_button_insert_text),
2426 (hildon_picker_button_set_selector),
2427 (hildon_picker_button_get_selector):
2428 * src/hildon-picker-button.h:
2429 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2430 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2431 (_update_title_on_selector_changed_cb), (requires_done_button),
2432 (_hildon_picker_dialog_set_selector),
2433 (hildon_picker_dialog_set_selector),
2434 (hildon_picker_dialog_get_selector):
2435 * src/hildon-picker-dialog.h:
2436 * src/hildon-time-button.c: (hildon_time_button_init),
2437 (hildon_time_button_get_time), (hildon_time_button_set_time):
2438 * src/hildon-time-selector.c: (hildon_time_selector_init),
2439 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2440 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2441 * src/hildon-time-selector.h:
2444 Massive code updates after the rename.
2446 * src/hildon-touch-picker.c: Removed.
2447 * src/hildon-touch-picker.h: Removed.
2449 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2450 (hildon_touch_selector_init), (hildon_touch_selector_map),
2451 (hildon_touch_selector_remove), (_default_print_func),
2452 (_selection_changed_cb), (_create_new_column),
2453 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2454 (hildon_touch_selector_append_text_column),
2455 (hildon_touch_selector_remove_column),
2456 (hildon_touch_selector_set_column_attributes),
2457 (hildon_touch_selector_insert_column),
2458 (hildon_touch_selector_get_num_columns),
2459 (hildon_touch_selector_get_column_selection_mode),
2460 (hildon_touch_selector_set_column_selection_mode),
2461 (hildon_touch_selector_set_print_func),
2462 (hildon_touch_selector_get_print_func),
2463 (hildon_touch_selector_get_active_iter),
2464 (hildon_touch_selector_set_active_iter),
2465 (hildon_touch_selector_get_selected_rows),
2466 (hildon_touch_selector_get_model),
2467 (hildon_touch_selector_set_model),
2468 (hildon_touch_selector_get_current_text),
2469 (_hildon_touch_selector_center_on_selected_items):
2470 * src/hildon-touch-selector.h: Renamed from
2471 hildon-touch-picker.[ch]
2473 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2474 references, code examples, and related documentation.
2476 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2478 * doc/hildon-docs.sgml
2481 * src/hildon-toggle-button.c
2482 * src/hildon-toggle-button.h
2483 * src/hildon.h: New HildonToggleButton widget.
2485 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-button.c: Add API documentation.
2488 (hildon_button_set_size_groups): Check input parameters
2490 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2492 * src/hildon-pannable-area.c
2493 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2494 effect after reaching the movement thredshold. This way we start
2495 using the distance after passing the thredshold.
2497 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-button.c: (hildon_button_set_property): Use the
2500 appropriate g_value_get_flags() method.
2502 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2504 * doc/hildon-docs.sgml:
2507 Add the touch pickers, picker dialogs, and picker button widgets
2508 to the documentation.
2510 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2512 * src/hildon-button.c: (hildon_button_set_property),
2513 (hildon_button_class_init): Make "arrangement-flags" a proper
2514 G_TYPE_FLAGS derived property.
2516 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2518 * examples/Makefile.am: Add below examples.
2519 * examples/hildon-date-button-example.c:
2520 * examples/hildon-picker-button-example.c:
2521 * examples/hildon-picker-button-multicolumn-example.c:
2522 * examples/hildon-time-button-example.c:
2523 * examples/hildon-touch-picker-example.c:
2525 Add examples for the recently added touch pickers,
2526 picker dialogs, and picker button widgets.
2528 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-button.c: Add some API documentation
2532 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-button.h
2535 * src/hildon-button.c
2537 (hildon_button_new_with_text): New constructor to create a button
2538 with no text at all.
2539 (hildon_button_init, hildon_button_set_arrangement)
2540 (hildon_button_set_title, hildon_button_set_value)
2541 (hildon_button_set_text)
2542 (hildon_button_construct_child): Hide the value when it's not used
2543 so the rest of the text is properly aligned.
2544 Allow creating buttons with arbitrary widgets inside (not just
2545 title/value labels).
2547 * examples/hildon-button-example.c (vertical_buttons_window)
2548 (horizontal_buttons_window): Update example to use new API.
2550 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/Makefile.am: Added HildonTimeButton.
2553 * src/hildon-time-button.c: Added missing LGPL header.
2554 * src/hildon-time-button.h: Added missing LGPL header.
2555 * src/hildon.h: Add hildon-time-button.h
2557 Copied HildonTimeButton from sandbox to trunk. Future work on this
2558 widget must take place in trunk.
2560 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/Makefile.am: Added HildonDateButton.
2563 * src/hildon-date-button.c: Update includes.
2564 * src/hildon.h: Add hildon-date-button.h
2566 Copied HildonDateButton from sandbox to trunk. Future work on this
2567 widget must take place in trunk.
2569 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/Makefile.am: Added HildonPickerButton.
2572 * src/hildon-picker-button.h: Update includes.
2573 * src/hildon.h: Add hildon-picker-button.h
2575 Copied HildonPickerButton from sandbox to trunk. Future work on
2576 this widget must take place in trunk.
2578 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2580 * src/Makefile.am: Added HildonPickerDialog.
2581 * src/hildon-picker-dialog.c: Update includes.
2582 * src/hildon.h: Add hildon-picker-dialog.h
2584 Copied HildonPickerDialog from sandbox to trunk. Future work
2585 on this widget must take place in trunk.
2587 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2589 * src/Makefile.am: Added HildonTimeSelector.
2590 * src/hildon.h: Add hildon-time-selector.h
2592 Copied HildonTimeSelector widget from sandbox to trunk. Future
2593 work on this widget must happen in trunk.
2595 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2597 * src/Makefile.am: Added HildonDateSelector.
2598 * src/hildon.h: Add hildon-date-selector.h
2600 Copied HildonDateSelector widget from sandbox to trunk. Future
2601 work on this widget must happen in trunk.
2603 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2605 * src/Makefile.am: Added HildonTouchPicker.
2606 * src/hildon-touch-picker.c: Update includes.
2607 * src/hildon.h: Add hildon-touch-picker.h
2609 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2610 on this widget must happen in trunk.
2612 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-pannable-area.c:
2615 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2617 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2619 * examples/hildon-app-menu-example.c (main): Let the window
2622 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2624 * src/hildon-pannable-area.c
2625 (hildon_pannable_area_class_init): Set the min value of the
2626 overshoot properties to zero, which points out that not
2627 overshooting allowed.
2629 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2631 Modified the procedure to get the widget at a point inside the
2632 pannable area when using the movement type signals. Now the user
2633 has to call a function to get the child, that way we just
2634 calculate the child in case the user really want to use it and not
2637 * src/hildon-marshalers.list: Modified the marshallers, now we do
2638 not have the widget as a parameter.
2640 * src/hildon-pannable-area.c
2641 (hildon_pannable_area_motion_notify_cb),
2642 (hildon_pannable_area_class_init),
2643 (hildon_pannable_get_child_widget_at): Removed the widget
2644 parameter from the signal callback. We have also refactored the
2645 emission of the signals.
2647 * src/hildon-pannable-area.h: Added a new method to the API to
2648 calculate a widget at a point inside the pannable area,
2649 hildon_pannable_get_child_widget_at.
2651 * examples/hildon-pannable-area-example-4.c
2652 (horizontal_movement): Modified the example to use the new API,
2653 added condition to control which widget is under the event. This
2654 way we can avoid scrolling laterally over other widgets.
2656 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2658 * src/hildon-pannable-area.c
2659 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2660 modes, we stop getting the pointer events due to returning the
2661 callback without properly calling the get pointer again. Fixed
2662 also an error using the hscroll and vscroll.
2664 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2666 * src/hildon-app-menu-private.h
2667 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2668 (hildon_app_menu_button_release, hildon_app_menu_init)
2669 (hildon_app_menu_class_init): Don't hide the menu on button
2670 release if the user didn't press outside first.
2672 * src/hildon-window.h
2673 * src/hildon-window.c (hildon_window_toggle_menu)
2674 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2675 hildon_window_toggle_menu a virtual function for the stackable
2676 window to override it.
2678 * src/hildon-stackable-window.h
2679 * src/hildon-stackable-window-private.h
2680 * src/hildon-stackable-window.c
2681 (hildon_stackable_window_realize)
2682 (hildon_stackable_window_finalize)
2683 (hildon_stackable_window_class_init)
2684 (hildon_stackable_window_init)
2685 (hildon_stackable_window_set_main_menu): New function to set the
2686 app menu of a HildonStackableWindow.
2688 * examples/hildon-app-menu-example.c: Remove the button to show
2689 the app menu, now it'll be shown when clicking on the title bar
2692 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2695 set the widget name if the arrangement flags do not specify
2698 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-button.c: (hildon_button_set_property),
2701 (hildon_button_class_init), (hildon_button_new_full),
2702 (hildon_button_set_arrangement): Added "arrangement-flags"
2705 Make the HildonButtonFlags a construction-only property, to allow
2706 subclasses to set them properly.
2708 2008-07-21 Tim Janik <timj@imendio.com>
2710 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2711 insertion position after backspace, so additional digits are appended,
2714 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2716 * src/hildon-pannable-area.c,
2717 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2718 TODO list, it was complete and removed the g_debug and g_print
2721 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2723 Added the movement modes to the hildon-pannable-area, with this
2724 modes the developers can control in which directions the widget
2725 can scroll. They can also connect to signals in order to do
2726 something when that happens, allowing applications scroll. There
2727 is an example uploaded showing how to use it.
2729 * examples/Makefile.am:
2730 * examples/hildon-pannable-area-example-4.c: Added this example of
2731 an application using the modes.
2733 * src/hildon-marshalers.list: Added a new marshaller for the new
2736 * src/hildon-pannable-area.h: Added new enumerations and flags in
2737 order to control the movement modes and the new signals to warn
2738 about the movements in the area.
2740 * src/hildon-pannable-area.c:
2741 (hildon_pannable_axis_scroll),
2742 (hildon_pannable_area_scroll),
2743 (hildon_pannable_area_motion_notify_cb),
2744 (hildon_pannable_area_get_property),
2745 (hildon_pannable_area_set_property),
2746 (hildon_pannable_area_map),
2747 (hildon_pannable_area_class_init),
2748 (hildon_pannable_area_init),
2749 (hildon_pannable_area_jump_to): Added the modes to control the
2750 movement in the widget. We have added properties to control it,
2751 signals to warn about the movements and refactored some code.
2753 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2755 Changes required in order to allow vfast_factor set to zero to
2758 * src/hildon-pannable-area.c:
2759 (hildon_pannable_area_button_press_cb): Changed the condition, it
2760 is required for not allowing click when vfast_factor is zero.
2761 (hildon_pannable_area_timeout): Initialized velocity variables
2762 when we stop moving, it was less than 1 but not zero and we need
2763 to check zero in some situations.
2764 (hildon_pannable_area_class_init): Changed the default value of
2765 the speed factor, now the button_press is just sent in case the
2766 speed is 2 per cent of the max speed.
2767 (hildon_pannable_area_init): Initialization with 0.
2769 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_get_topmost): replaced
2773 gdk_window_get_children with gdk_window_peek_children, this way we
2774 do not have to free the list because it is not a copy.
2776 (hildon_pannable_axis_scroll),
2777 (hildon_pannable_area_scroll),
2778 (hildon_pannable_area_timeout),
2779 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2780 two parameters that were only used inside the
2781 hildon_pannable_area_scroll function.
2783 * examples/hildon-pannable-area-example.c,
2784 (get_sawtooth_label): Fixed small memory leak.
2786 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2788 More checks for the case where the overshoot is bigger than the
2791 * src/hildon-pannable-area.c:
2792 (hildon_pannable_draw_vscroll),
2793 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2794 to draw the slider of the scrollbar under the other scrollbar.
2795 (hildon_pannable_area_expose_event): added new checks to control
2796 the drawing of the overshooting area rectangle, in case it is too
2797 big for the area of the widget.
2798 (hildon_pannable_area_size_allocate): add more checks to avoid
2799 setting a position to the child widget outside the area.
2801 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2803 * src/hildon-pannable-area.c
2804 (hildon_pannable_area_size_allocate): Added conditions to control
2805 when overshooting is bigger than the allocated space for the
2806 children, this avoids negative allocations.
2808 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2810 * doc/hildon-docs.sgml
2812 * examples/Makefile.am
2813 * examples/hildon-button-example.c
2815 * src/hildon-button.c
2816 * src/hildon-button.h
2817 * src/hildon.h: Initial version of the new HildonButton widget,
2820 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-pannable-area.c:
2823 (hildon_pannable_area_button_press_cb),
2824 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2825 (hildon_pannable_area_motion_notify_cb),
2826 (hildon_pannable_area_button_release_cb),
2827 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2828 (hildon_pannable_area_jump_to_child):
2830 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2832 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2834 * examples/Makefile.am
2835 * examples/hildon-pannable-area-touch-grid-example.c
2836 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2837 the Hildon Touch List and Hildon Touch Grid using the
2838 HildonPannableArea widget.
2840 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2842 * src/hildon-pannable-area.c,
2843 (hildon_pannable_area_button_press_cb),
2844 (hildon_pannable_area_refresh),
2845 (hildon_pannable_area_scroll),
2846 (hildon_pannable_area_motion_notify_cb),
2847 (hildon_pannable_area_button_release_cb),
2848 (hildon_pannable_area_expose_event),
2849 (hildon_pannable_area_add),
2850 (hildon_pannable_area_remove),
2851 (hildon_pannable_area_realize),
2852 (hildon_pannable_area_size_allocate),
2853 (hildon_pannable_area_class_init),
2854 (hildon_pannable_area_init),
2855 (hildon_pannable_area_scroll_to_child),
2856 (hildon_pannable_area_jump_to_child): Fixed the problem of
2857 removing the child from the GtkBin, we have rearranged the widget
2858 hierarchy, now there is no GtkAlignment which was not doing
2859 anything interesting but breaking some of the assumptions of
2860 GtkContainer. Now developers if they want to add a GtkAlignment
2861 they could, but it is not inside the area.
2863 We had to review the whole allocation/expose process, now it is
2864 improved and we save at least three signals which would be saving
2865 some time when rendering the widget. The allocation of the
2866 scrollbars is now made in the allocate method as usual.
2868 We have also added some conditions in order to control when there
2869 is no child of the pannable area. Maybe we will need more work
2872 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2874 * src/hildon-pannable-area.c,
2875 (hildon_pannable_area_dispose): Released the fade-out timeout when
2876 disposing the widget.
2878 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2880 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2881 zero, we are going to use that property in order to deactivate the
2883 (hildon_pannable_axis_scroll),
2884 (hildon_pannable_area_size_allocate): Added conditions to control
2885 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2886 call, now it is called in all situations and we can remove calls
2887 in the allocate method.
2888 (hildon_pannable_area_map): Control the situation when
2889 overshoot_max is zero, we do not need the timeout.
2890 (hildon_pannable_area_class_init): Added documentation in order to
2891 point out that setting zero to overshoot_max means deactivate
2894 NOTE: removed trailing whitespaces from my previous comments of
2897 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2899 * src/hildon-pannable-area.c
2900 (hildon_pannable_area_get_property),
2901 (hildon_pannable_area_set_property),
2902 (hildon_pannable_area_map),
2903 (hildon_pannable_area_class_init),
2904 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2905 to cause the widget give a hint about its panning abilities upon
2908 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-pannable-area.c: Several documentation improvements.
2912 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-program.c
2915 * src/hildon-stackable-window.c: Update documentation.
2917 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-stackable-window.c (get_previous_window_if_last):
2920 Renamed get_last_window()
2921 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2922 (hildon_stackable_window_unset_program):
2924 (get_previous_window_if_last):
2925 Detect if the window hasn't been added to a HildonProgram.
2927 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2929 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-pannable-area.c
2932 (hildon_pannable_area_button_press_cb),
2933 (hildon_pannable_axis_scroll),
2934 (hildon_pannable_area_scroll),
2935 (hildon_pannable_area_timeout),
2936 (hildon_pannable_calculate_vel_factor),
2937 (hildon_pannable_area_get_property),
2938 (hildon_pannable_area_set_property),
2939 (hildon_pannable_area_class_init),
2940 (hildon_pannable_area_init),
2941 (hildon_pannable_area_scroll_to),
2942 (hildon_pannable_area_jump_to),
2943 (hildon_pannable_area_scroll_to_child),
2944 (hildon_pannable_area_jump_to_child):
2945 * src/hildon-pannable-area.h: Added the new API functions:
2946 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2947 hildon_pannable_area_scroll_to_child,
2948 hildon_pannable_area_jump_to_child
2951 * examples/Makefile.am
2952 * examples/hildon-pannable-area-example-2.c
2953 * examples/hildon-pannable-area-example-3.c: Added these two new
2954 examples in order to test and show how the new APIs work.
2956 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2958 * examples/hildon-stackable-window-example.c (new_window):
2959 * src/Makefile.am (noinst_HEADERS):
2960 * src/hildon-program.c (hildon_program_go_to_root_window):
2961 * src/hildon-program.h:
2962 * src/hildon-stackable-window-private.h:
2963 * src/hildon-stackable-window.c:
2964 * src/hildon-stackable-window.h:
2965 Create hildon-stackable-window-private.h
2966 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2968 * examples/hildon-app-menu-example.c (create_menu):
2969 * examples/hildon-hvolumebar-insensitive-example.c (main):
2970 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2971 * examples/hildon-toolbar-seekbar-example.c (main):
2972 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2973 * src/hildon-banner.c (hildon_banner_set_property):
2974 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2975 Fix compilation warnings
2977 * src/hildon-window.c:
2980 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-stackable-window.c
2983 (hildon_stackable_window_unset_program):
2984 Calculate correctly whether to show the previous window if the
2985 last one is removed from the stack.
2986 (hildon_stackable_window_go_to_root_window):
2987 Send delete events starting from the topmost window.
2988 Stop if one of the windows is not destroyed.
2990 (hildon_stackable_window_delete_event)
2991 (hildon_stackable_window_class_init):
2992 Ignore the delete event if the window is not the topmost one.
2994 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2996 * src/hildon-pannable-area.c
2997 (hildon_pannable_area_expose_event): Fixed a problem when
2998 selecting the background color of the scrollbars.
3000 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3002 * examples/hildon-stackable-window-example.c
3003 * src/hildon-stackable-window.c
3004 * src/hildon-stackable-window.h
3005 hildon_stackable_window_go_home() renamed to
3006 hildon_stackable_window_go_to_root_window()
3007 Send delete events to windows rather than closing them with
3008 gtk_widget_destroy()
3010 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-pannable-area.c
3013 (hildon_pannable_area_button_release_cb): Fix overshooting in
3016 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3018 * src/hildon-pannable-area.c
3019 (hildon_pannable_area_init): Initially show the scroll indicators.
3020 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3022 Add initial effect showing the widget is pannable.
3024 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-pannable-area.c
3027 (hildon_pannable_area_class_init)
3028 (hildon_pannable_area_set_property)
3029 (hildon_pannable_area_get_property)
3030 (hildon_pannable_area_button_press_cb):
3031 New 'velocity_fast_factor' property to decide which velocity is
3034 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3036 * src/hildon-pannable-area.c
3037 (hildon_pannable_draw_hscroll)
3038 (hildon_pannable_draw_vscroll):
3039 Use float variables to calculate the size of the scrollbars to
3040 avoid error propagation and resizing during scrolling.
3042 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3044 * src/hildon-pannable-area.c
3045 (hildon_pannable_draw_vscroll)
3046 (hildon_pannable_draw_hscroll):
3047 Define a minimum size for the scroll bars
3049 * src/hildon-stackable-window.c
3050 (hildon_stackable_window_go_home): Fix compilation warning
3051 (get_last_window): Minor optimizations
3052 (hildon_stackable_window_class_init): Fix initialization of
3055 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-stackable-window.c: Fixed typos in doc
3059 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3061 * src/hildon-pannable-area.c
3062 (hildon_pannable_area_scroll):
3063 Calculate here whether we need to scroll instead of using the booleans
3064 that tell us whether to /draw/ the scrolling bars.
3066 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3068 * src/hildon-app-menu.h
3070 * src/hildon-app-menu.c
3071 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3072 multiple filter groups related code and API. Now we support only
3074 * examples/hildon-app-menu-example.c:
3076 Update to reflect API changes.
3078 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3080 * src/hildon-stackable-window.c
3081 (hildon_stackable_window_class_init):
3082 Add hildon_stackable_window_realize.
3083 (hildon_stackable_window_realize):
3084 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3085 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3086 to apply theming and behavior specific to HildonStackableWindow
3089 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-note.c (hildon_note_button_release):
3092 Close information notes also when tapping on them
3094 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3096 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3097 ELASTICITY, refactor and review, fix some issues with drawing
3100 * src/hildon-pannable-area.c:
3101 (hildon_pannable_area_button_press_cb): removed the conditions to
3102 avoid clicks when overshooting. It is not required
3104 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3105 define. Refatored and reviewed the code, now we do not need to
3106 manage velocity in motion_notify.
3108 (hildon_pannable_area_motion_notify_cb): We have moved the code
3109 that controls the area_scroll to the axis_scroll function and get
3110 rid of duplicated code.
3112 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3114 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3116 (hildon_pannable_draw_vscroll),
3117 (hildon_pannable_draw_hscroll): Fixed the problems with the
3118 scrollbar drawing, now we do not use two surfaces, it is easier
3119 and saves resources.
3121 (hildon_pannable_area_get_property): Style modification.
3123 (hildon_pannable_area_class_init): Changed some default values.
3125 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3127 * src/hildon-stackable-window.c: Fix some typos in the
3130 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-dialog.c:
3133 Change indentation style
3136 (hildon_note_button_release):
3137 Use root coordinates to check if the release event happened
3140 * src/hildon-app-menu.c
3141 (hildon_app_menu_button_release):
3142 Remove unnecessary check
3144 * examples/hildon-app-menu-example.c
3146 Add cast to fix warning
3148 * src/hildon-app-menu.c
3149 (hildon_app_menu_class_init):
3150 New inner-border style property.
3151 Set all default spacings to 16
3152 (hildon_app_menu_init):
3153 Use vertical-spacing to set the space between filter buttons and
3154 regular menu buttons.
3155 Set the default container border using the inner-border value.
3157 * examples/hildon-app-menu-example.c
3159 Don't set the menu border explicitly, now we have the inner-border
3160 style property for that.
3162 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-app-menu.c (hildon_app_menu_init):
3165 Make the window modal
3167 * src/hildon-note.c (hildon_note_map)
3168 * src/hildon-app-menu.c (hildon_app_menu_map):
3169 Destroy the grab window if we're unable to grab the pointer
3171 * src/hildon-app-menu-private.h
3172 * src/hildon-app-menu.c
3173 (hildon_app_menu_init, hildon_app_menu_finalize)
3174 (hildon_app_menu_map, hildon_app_menu_unmap)
3175 (hildon_app_menu_button_release)
3176 (grab_transfer_window_get):
3177 Bring back the grab window
3178 (hildon_app_menu_realize):
3179 Decorate the window, set WM hint for Matchbox
3181 * src/hildon-note.c (hildon_note_realize):
3182 * src/hildon-banner.c (hildon_banner_realize):
3183 Add WM hints for Matchbox
3185 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-app-menu-private.h
3188 * src/hildon-app-menu.c
3189 (hildon_app_menu_init, hildon_app_menu_finalize)
3190 (hildon_app_menu_map, hildon_app_menu_unmap)
3191 (hildon_app_menu_button_release):
3192 Remove the grab window, it's not needed anymore
3194 * src/hildon-program.c
3195 Fixed typo in documentation
3197 * src/hildon-app-menu.h
3198 * src/hildon-app-menu.c
3199 * examples/hildon-app-menu-example.c
3200 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3202 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3205 Added new transfer_window and close_if_pressed_outside private
3207 (hildon_note_rebuild):
3208 Don't add a cancel button to the information note. It will be
3209 closed when tapping outside
3210 Remove the comment about the OK button in the documentation
3211 (hildon_note_realize):
3212 Set the notification type hint
3213 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3214 Grab/ungrab pointer and keyboard if the note has to be closed when
3216 (hildon_note_button_release):
3217 Close the note when tapping outside (if applicable)
3219 * src/hildon-app-menu.c
3220 Grab/ungrab pointer and keyboard on map/unmap
3221 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3222 Close the menu on button release, not button press
3224 * src/hildon-banner.c
3225 (hildon_banner_set_property)
3226 (hildon_banner_check_position):
3227 Make the banner use the full width of the screen
3228 (hildon_banner_show_information)
3229 (hildon_banner_show_information_with_markup):
3230 Don't display an icon by default
3232 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3234 Added fading scrollbars and adapted all the overshooting code to
3235 horizontal scrolling. We have also fixed bugs with overshooting
3236 and current fading implementation.
3238 * src/hildon-pannable-area.c
3239 (hildon_pannable_area_scroll_indicator_fade): Time out function
3240 used to change the transparency of the scrollbars.
3242 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3243 control and fixed a problem with fading, we now remove the fade
3244 timeout before adding a new one.
3246 (hildon_pannable_axis_scroll):
3247 (hildon_pannable_area_scroll):
3248 (hildon_pannable_area_timeout): Added this functions so we can use
3249 the scroll code both for vertical and horizontal.
3251 (hildon_pannable_area_motion_notify_cb):
3252 (hildon_pannable_area_button_release_cb): Added the horizontal
3253 scrolling control, fixed a problem with the overshooting timeout.
3255 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3256 painting of the scrolls.
3258 (hildon_pannable_draw_vscroll):
3259 (hildon_pannable_draw_hscroll):
3260 (hildon_pannable_area_expose_event):
3261 Draw both scrollbars and rectangles in the overshooting area.
3263 (hildon_pannable_area_get_property):
3264 (hildon_pannable_area_set_property):
3265 Modified the overshoot property to overshoot_max
3267 (hildon_pannable_area_map):
3268 Replaced the comments symbols.
3270 (hildon_pannable_area_size_allocate):
3271 (hildon_pannable_area_class_init):
3272 (hildon_pannable_area_init): Added horizontal scroll, fading
3273 effect properties, fixed a problem when overshooting in the bottom
3276 * examples/hildon-pannable-area-example.c:
3277 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3278 looks better in the example.
3280 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-window.c
3283 * src/hildon-window.h
3284 (hildon_window_class_init)
3285 (hildon_window_unset_program)
3286 (hildon_window_unset_program_real):
3287 Make unset_program a virtual function
3289 * src/hildon-stackable-window.c
3290 * src/hildon-stackable-window.h
3291 Added hildon_stackable_window_go_home()
3293 * examples/Makefile.am
3294 * examples/hildon-stackable-window-example.c
3295 HildonStackableWindow example
3297 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3299 * hildon-pannable-area.c: Added the overshoot property and removed
3300 the OVERSHOOT define. Fixed an indent style error.
3301 (hildon_pannable_area_motion_notify_cb):
3302 (hildon_pannable_area_get_property):
3303 (hildon_pannable_area_set_property): Add overshoot property.
3305 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3308 (hildon_pannable_area_class_init): Installed the new property.
3310 * hildon-pannable-area-example.c: Added a sawtooth function, this
3311 way it is easier to check the movement in the pannable.
3312 (get_sawtooth_label): Added this function.
3313 (main): Now we get the labels from the new get_sawtooth_label
3316 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3318 * src/hildon-app-menu.h
3319 * src/hildon-app-menu.c
3320 Renamed API variables for consistency
3322 (hildon_app_menu_popup): Use also the default window size to
3323 decide where to place the menu
3325 (hildon_app_menu_init, hildon_app_menu_class_init): New
3326 external-border style property
3328 2008-05-26 Michael Natterer <mitch@imendio.com>
3330 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3331 widget_class->tap_and_hold_setup signal slot doesn't exist any
3332 longer, stop overriding it.
3334 (hildon_time_editor_init): g_signal_connect() to the
3335 tap-and-hold-setup signal instead.
3337 (hildon_time_editor_entry_keypress): add cast to fix warning.
3339 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3341 * doc/hildon-docs.sgml
3343 * examples/Makefile.am
3344 * examples/hildon-app-menu-example.c
3346 * src/hildon-app-menu-private.h
3347 * src/hildon-app-menu.c
3348 * src/hildon-app-menu.h
3350 New HildonAppMenu widget
3352 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3354 Rearranged the inheritance of the pannable area, now it inherits
3355 from GtkBin. This will allow us to control the event_window and
3356 the allocation process of the widget, required for some effects.
3358 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3359 GtkBin structures. * src/hildon-pannable-area.c: Added the
3360 event_window variable.
3361 (hildon_pannable_area_button_press_cb):
3362 (hildon_pannable_area_button_release_cb):
3363 (hildon_pannable_area_motion_notify_cb):
3364 Changed the signature of the method, now we override the event
3365 callback instead of connecting to the signal.
3367 (hildon_pannable_area_realize):
3368 (hildon_pannable_area_unrealize):
3369 (hildon_pannable_area_map):
3370 (hildon_pannable_area_unmap):
3371 (hildon_pannable_area_size_allocate):
3372 Added functions to control the widget construction. We add a
3373 INPUT_ONLY window and we put it over the widgets inside the
3374 container, this event_window handles the events.
3376 (hildon_pannable_area_class_init):
3377 Replaced the signal connections with overrides of the event
3380 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3382 Bouncing effect added when touching the borders, you can change
3383 the elasticity of the border changing the ELASTICITY define.
3385 * src/hildon-pannable-area.c: Added ELASTICITY define.
3386 (hildon_pannable_area_timeout): Added inverse velocity when
3387 touching the border of the child widget, that causes a bounce.
3389 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3391 Improved performance, we now do not go to the X server in order to
3392 get the list of window children. Apparently the effect is the
3393 same, we have to be careful and check if this breaks something in
3396 * src/hildon-pannable-area.c:
3397 (get_ordered_children): Removed this function.
3398 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3399 the children windows function with gdk_window_get_children.
3401 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3403 * src/hildon-pannable-area.c:
3404 (hildon_pannable_area_dispose): Fixed a crash when closing the
3405 window and kinetics is activated.
3407 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-pannable-area.h
3410 * src/hildon-pannable-area.c
3411 Changed indentation style to meet the one used in Hildon
3413 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3415 Reviewed the interaction of the AUTO mode, now we use the time
3416 attribute of the events and calculate the velocity in the motion,
3417 doing a gimp like calculation. The velocity is calculated in each
3418 motion event using the last velocity and the current one, the
3419 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3421 * src/hildon-pannable-area.c: Replaced the time based algorithm
3423 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3424 timeout for the AUTO mode when we are still moving the cursor. We
3425 added also the velocity calculation in this function.
3426 (hildon_pannable_area_button_release_cb): launch the timeout in
3427 case we are in AUTO mode. There are still some constants here that
3428 come from the old implementation that should be reviewed and
3431 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3433 * doc/hildon-docs.sgml
3436 * src/hildon-stackable-window.c
3437 * src/hildon-stackable-window.h
3439 New HildonStackableWindow widget
3441 * examples/hildon-dialog-example.c
3442 * examples/hildon-pannable-area-example.c
3445 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-dialog.c
3448 (hildon_dialog_new_with_buttons): New constructor.
3450 * examples/hildon-dialog-example.c
3451 (main): Update the example to use the new
3452 hildon_dialog_new_with_buttons().
3454 * examples/hildon-pannable-area-example.c
3455 (main): Update example.
3457 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3459 * doc/hildon-docs.sgml
3461 Added HildonPannableArea to the documentation.
3463 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3465 * doc/visual_index.xml
3466 Fix reference to HildonLoginDialog in documentation
3468 * doc/hildon-docs.sgml
3470 * examples/Makefile.am
3471 * examples/hildon-dialog-example.c
3473 * src/hildon-dialog.c
3474 * src/hildon-dialog.h
3476 New HildonDialog widget.
3478 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3480 * src/hildon-pannable-area.c
3481 Merge latest changes (r4318, r4342) from libmokoui trunk
3483 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3485 * examples/Makefile.am
3486 * examples/hildon-pannable-area-example.c
3488 * src/hildon-pannable-area.c
3489 * src/hildon-pannable-area.h
3491 New HildonPannableArea widget.
3493 2008-04-15 18:05:19 <timj@imendio.com>
3495 * src/hildon-banner.c: revert the recent change, that introduced
3496 gtk_window_present() calls. this reopens:
3497 Bug 78481 - [freetest] information banners are hidden under browser menu
3498 But resolves another variant of:
3499 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3501 2008-04-15 13:21:13 <timj@imendio.com>
3503 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3504 recreated its layout, spotted by Kris. this fixes all remaining
3505 artefacts and stability issues with the banner code. in particular:
3506 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3508 2008-04-14 16:52:59 <timj@imendio.com>
3510 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3511 operating on unrealized widgets, fixes:
3512 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3514 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3516 2008-04-09 Kristian Rietveld <kris@imendio.com>
3518 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3519 makes banner disappear.
3520 Fixes: NB#79182: info banner flickering with certain message lengts.
3522 * src/hildon-banner.c (hildon_banner_constructor),
3523 (hildon_banner_init), (hildon_banner_set_text),
3524 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3525 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3526 FALSE, reset size requests of label and banner,
3527 (force_to_wrap_truncated): when the text is too wide, always enforce
3528 the maximum possible width instead of recalculating it from the
3529 layout; enforce the maximum banner height of 3 lines,
3530 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3531 nicer wrapping and no truncated chars if space gets tight.
3533 * src/hildon-banner-private.h: add has_been_wrapped and
3534 has_been_truncated fields.
3536 2008-04-07 Sven Herzberg <sven@imendio.com>
3538 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3539 local values in hildon_date_editor_size_allocate
3541 * src/hildon-date-editor.c: moved the real allocation code into the
3544 2008-04-07 Sven Herzberg <sven@imendio.com>
3546 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3547 local values in hildon_date_editor_size_allocate
3549 * src/hildon-date-editor.c: merged the two if() branches together
3551 2008-04-07 Sven Herzberg <sven@imendio.com>
3553 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3554 local values in hildon_date_editor_size_allocate
3556 * src/hildon-date-editor.c: changed the arguments of the if()
3559 2008-04-07 Sven Herzberg <sven@imendio.com>
3561 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3562 local values in hildon_date_editor_size_allocate
3564 * src/hildon-date-editor.c: split the calculation of the allocation
3565 from the real allocation
3567 2008-03-27 Michael Natterer <mitch@imendio.com>
3569 Fixes: NB#81696: The passcode is not overwritten even after
3572 * src/hildon-code-dialog.c
3573 (hildon_code_dialog_button_clicked)
3574 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3575 because that doesn't overwrite selected text. Instead, emit the
3576 "commit" signal on the entry's im_context so the entry's normal
3577 insert logic is triggered. Set the cursor to the end of the entry
3578 after each insert operation so that we *only* insert in the middle
3579 of the text if something was selected.
3581 2008-03-27 Michael Natterer <mitch@imendio.com>
3583 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3584 selector cannot be opened
3586 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3587 when the popup color selector is created. Please connect to this
3588 signal in order to set the dialog's help ID.
3590 2008-03-25 Sven Herzberg <sven@imendio.com>
3592 Fixes: MB#1212: Hide info banners (infoprints) on click
3594 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3595 extracted the close event simulation into an extra function
3596 (hildon_banner_button_press_event): simulate a close event and destroy
3597 the widget if the event wasn't handled
3598 (hildon_banner_class_init): added the button_press_event handler
3599 (hildon_banner_init): added button-press events to the widget
3601 2008-03-25 Sven Herzberg <sven@imendio.com>
3603 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3604 Patch from: Mohammad Anwari <mdamt@maemo.org>
3606 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3607 instead of the right in RTL mode
3608 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3609 breadcrumb button list in RTL mode
3610 * src/hildon-caption.c: mirror the appearance of the caption widget in
3612 * src/hildon-date-editor.c: mirror appearance of the date editor in
3614 * src/hildon-time-editor.c: mirror appearance of the time editor in
3616 * src/hildon-window.c: fix the position of the popup in RTL mode
3618 2008-03-25 Sven Herzberg <sven@imendio.com>
3620 Amendment to the fix of NB#22072. Fix compilation.
3622 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3624 2008-03-19 Sven Herzberg <sven@imendio.com>
3626 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3629 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3630 timeout id properly when the timeout will disappear this leaves no
3631 artifacts around in the destroy(); there will only be the timeout
3632 created by hildon_banner_ensure_timeout() and adding a new timeout
3633 will also work if the timeout gets removed because the timeout_handler
3636 2008-03-19 Michael Natterer <mitch@imendio.com>
3638 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3640 * src/hildon-volumebar.c
3641 * src/hildon-vvolumebar.c
3642 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3643 the widget becomes focussable at all.
3645 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3646 set the focus to wither the mute button or the volumebar.
3648 Remove own "can-focus" property and instead listen to
3649 notify::can-focus in order to update the widget's state.
3651 Implement GtkWidget::focus() and make sure we can also *leave* the
3652 widget, not only enter it, depending on volumebar orientation and
3653 requested focus direction.
3655 Clean up set_mute() to cooperate nicely with all the above.
3657 2008-03-04 Michael Natterer <mitch@imendio.com>
3659 Fixes: NB#78481: information banners are hidden under browser menu
3661 * src/hildon-banner.c: call gtk_window_present() on the banners so
3662 they are risen if they are already visible.
3664 2008-03-03 Sven Herzberg <sven@imendio.com>
3666 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3668 * examples/hildon-window-menu-example.c: (main): extended the window
3669 menu example to serve as a testcase for automatically added
3670 accelerator groups, too
3671 * src/hildon-window.c: (hildon_window_add_accel_group),
3672 (hildon_window_set_menu): added patch by Tommi Komulainen
3674 2008-03-03 Sven Herzberg <sven@imendio.com>
3676 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3678 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3679 knowledge about the border allocators used within GTK+
3681 2008-02-26 Sven Herzberg <sven@imendio.com>
3683 Fixes: MB#2981: Build with asserts broken
3685 * src/hildon-date-editor.c,
3686 * src/hildon-number-editor.c,
3687 * src/hildon-time-editor.c,
3688 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3689 the proper GType instance check
3691 2008-02-25 Sven Herzberg <sven@imendio.com>
3693 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3695 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3696 * examples/hildon-window-menu-example.c: (main): explicitly show
3698 * src/hildon-window.c:
3699 (hildon_window_set_main_menu): moved most of the code from set_menu()
3700 to this place; skipped the call to gtk_widget_show_all(); also didn't
3701 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3702 (hildon_window_set_menu): removed most of the code, just keep the
3703 questionable gtk_widget_show_all()
3704 * src/hildon-window.h: added the new function and deprecate the old
3707 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3713 * debian/changelog: Updating.
3715 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3718 * pkgconfig/Makefile.am:
3719 * pkgconfig/hildon.pc.in:
3722 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3723 use newly created API_MAJOR_VERSION.
3725 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3731 * debian/changelog: Updating.
3733 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3735 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3737 Add outer_border style property, we use it but don't define it (!).
3741 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3743 * examples/hildon-bread-crumb-trail-example.c (main):
3747 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3749 Fix logic for the bread crumb trail node removal.
3753 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3759 * debian/changelog: Updating.
3761 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3763 Patch by Alejandro to get/set passwords dialogs accesibility.
3765 * hildon-1/src/hildon-get-password-dialog.c:
3766 * hildon-1/src/hildon-set-password-dialog.c:
3767 Set atk_set_name to the passwd entries in order to allow
3768 accessibility by name on this entries.
3770 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3775 * debian/control: Updating gtk dep.
3777 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3779 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3780 USE_MAEMO_GTK is enabled.
3782 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3784 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3785 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3787 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3793 * debian/changelog: Updating.
3795 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3797 * examples/Makefile.am:
3798 * examples/hildon-logical-color-example.c:
3799 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3800 applied + adding a test case. Fixes: NB#71660.
3802 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3804 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3805 to be visible, fixes warning on map for windows without toolbars.
3807 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3809 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3810 2.11.0, add a check for that besides the MAEMO_GTK check.
3812 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3818 * debian/changelog: Updating.
3820 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3822 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3823 visibility. Fixes: NB#70842 and MB#615.
3825 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3827 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3828 set the separator as no-show-all so it doesn't unintentionally appear when
3829 someone does a show_all.
3831 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3833 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3834 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3835 toplevel item. Fixes: NB#62031
3837 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3839 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3840 fix the name of the function in the docs.
3842 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3848 * debian/changelog: Updating.
3850 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3852 * examples/hildon-banner-long-example.c: Adding a test-case for long
3855 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3857 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3859 * src/hildon-color-chooser-dialog.c:
3860 * src/hildon-color-chooser.c:
3861 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3862 memory leaks in font selector and color selector. Fixes: NB#70499 and
3865 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3867 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3869 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3871 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3872 little bit bigger. Fixes: #NB63694.
3874 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3880 * debian/changelog: Updating.
3882 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3885 * doc/hildon-docs.sgml:
3886 * doc/images/bread-crumb-trail.png:
3887 * doc/images/calendar-popup.png:
3888 * doc/images/caption.png:
3889 * doc/images/code-dialog.png:
3890 * doc/images/color-button.png:
3891 * doc/images/color-chooser-dialog.png:
3892 * doc/images/color-chooser.png:
3893 * doc/images/controlbar.png:
3894 * doc/images/date-editor.png:
3895 * doc/images/font-selection-dialog.png:
3896 * doc/images/get-password-dialog.png:
3897 * doc/images/hvolumebar.png:
3898 * doc/images/login-dialog.png:
3899 * doc/images/note.png:
3900 * doc/images/number-editor.png:
3901 * doc/images/range-editor.png:
3902 * doc/images/seekbar.png:
3903 * doc/images/set-password-dialog.png:
3904 * doc/images/sort-dialog.png:
3905 * doc/images/time-editor.png:
3906 * doc/images/time-picker.png:
3907 * doc/images/vvolumebar.png:
3908 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3909 Adding the bread-crumb-trial and helpers to the documentation.
3911 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3913 * examples/hildon-find-toolbar-example.c:
3914 * src/hildon-find-toolbar.c:
3915 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3916 actually continue firing the other handlers if connected. Adding a new
3918 hildon_find_toolbar_get_last_index that gets the index of the most
3919 recently added (last) item. Fixes: NB#52301.
3921 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3923 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3924 behaviour. Fixes: NB#68610.
3926 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3928 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3931 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3933 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3934 when realizing the banner. Should make the infonbanner effect a bit more
3937 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3939 * src/hildon-volumebar.c:
3940 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3941 hildon_volumebar_set_range_insensitive_message and
3942 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3944 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3946 * src/hildon-window.c: Fixing the border freeing on destroy.
3948 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3950 * src/hildon-code-dialog-private.h:
3951 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3952 kw keyboard support in HildonCodeDialog.
3954 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3960 * debian/changelog: Updating.
3962 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3964 * src/hildon-date-editor.c:
3965 * src/hildon-number-editor.c:
3966 * src/hildon-private.c:
3967 * src/hildon-private.h:
3968 * src/hildon-time-editor.c:
3969 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3970 handling in subclassed composite widgets. Fixes: NB#66628.
3972 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3974 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3975 from destroy_ callback as it introduces problems in async dbus signal
3976 handlers. Fixes NB#66673.
3978 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3980 * examples/hildon-hvolumebar-example.c:
3981 * src/hildon-volumebar.c: Improving the focus handling in the
3982 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3983 set_property accessor so that "mute" property can be actually set. I'm
3984 scared that nobody noticed it's totally broken.
3986 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3988 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3991 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3993 * src/hildon-calendar.c:
3994 * src/hildon-number-editor.c:
3995 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3996 matches the spec of 6 chars per second. Fixes: NB#60489.
3998 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4000 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4001 gtk_style_lookup_color sometime returns FALSE even though color was
4002 found and values were filled properly. Weird. Removing the warning for the
4005 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4007 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4008 expand vertically. Adding some extra space to the find toolbar buttons to
4009 make them thumbable. Fixes NB#66060.
4011 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4013 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4014 popup with "Ok" and "Cancel". Fixes NB#59299.
4016 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4018 * src/hildon-calendar.c: Process all window updates before executing next
4019 timeout. Fixes: NB#54146.
4021 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4027 * debian/changelog: Updating.
4029 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4031 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4032 the client event and ignore it, since we use the delete event to close
4035 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4037 * src/hildon-helper.c: Remove the bogus warning about color not being
4038 found. Fixes NB#58352.
4040 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4042 * examples/Makefile.am:
4043 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4044 HildonSeekbar widget inside a toolbar.
4046 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4048 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4049 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4050 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4051 don't want to be closed by non-temporary windows on map.
4053 Also use G_DEFINE_TYPE instead of manually typed code.
4055 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4062 * debian/rules: Updating.
4064 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4066 * examples/Makefile.am:
4067 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4068 bug NB#61128. Strangely it works.
4070 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4072 * src/hildon-date-editor.c: When the date editor entry has been changed
4073 but the numbers of characters < max, turn off the skip validation flag.
4074 Prevents a situation when we enter first a valid year and later re-write
4075 it with an invalid one. Fixes NB#60154.
4077 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4079 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4080 code dialog. Fixes NB#64355.
4082 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4084 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4085 switching the page. Fixes NB#49374.
4087 * examples/Makefile.am:
4088 * examples/hildon-wizard-dialog-example.c: Adding an example for
4089 HildonWizardDialog that shows how to handle manual sensitivity setting on
4092 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4096 * src/hildon-version.h.in:
4097 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4099 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4101 * src/hildon-volumebar.c: Updating the docs.
4103 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4109 * debian/changelog: Updating.
4111 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4113 * src/hildon-find-toolbar.c:
4114 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4115 selected item: hildon_find_toolbar_set_active,
4116 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4117 hildon_find_toolbar_get_active_iter . They correspond to respective
4118 GtkComboBox functions.
4120 * examples/Makefile.am:
4121 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4124 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4126 * examples/Makefile.am:
4127 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4130 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4131 when font size > 32 and we pack a focusable widget inside. Actually using
4132 the default response would work too, but since we don't show default
4133 response state in any way (no theming) it would not be visible to the
4134 user. Fixes NB#63430.
4136 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4138 * src/hildon-date-editor.c: Adding the missing variable setter in the
4139 set_property handler. Fixes NB#54182.
4141 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4143 * src/hildon-window.h: Changing the long key press time from 1500ms to
4144 800ms as requested in NB#63700. I have a bad feeling about this, let's
4145 see... Fixes NB#63700.
4147 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4149 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4150 hildon_time_picker_map, hildon_time_picker_realize,
4151 hildon_time_picker_style_set): Split the contents of map to more
4152 appropriate functions; set window decorations on realize and update
4153 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4155 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4160 * debian/changelog: Updating.
4162 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4164 * src/Makefile.am: fixed installation of the header files
4166 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4172 * debian/changelog: Updating.
4174 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4176 * configure.ac: Removing some remaining of --enable-xan.
4178 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4180 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4181 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4183 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4184 2.10.12-osso6 because the move-focus signal needs to be available in
4187 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4189 * examples/Makefile.am:
4190 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4191 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4192 fine. Prolly NB#61128 is fixed now.
4194 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * src/hildon-volumebar.c:
4197 * src/hildon-volumebar.h: Adding the
4198 hildon_volumebar_set_range_insensitive_message and
4199 hildon_volumebar_set_range_insensitive_messagef functions to set
4200 insensitive message on the slider of the volumebar. Fixes NB#61129.
4202 * examples/Makefile.am:
4203 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4204 test the new insensitive messsage functionality on HildonVolumebar.
4206 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4208 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4211 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4213 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4214 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4215 button on after clearing the trail.
4217 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4219 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4221 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4223 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4224 by splitting the installed headers in generated and non-generated groups. Use
4225 only the non-generated headers to create the hildon-enum-types.h file.
4227 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4229 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4231 * src/hildon-window.c: Hide the window before performing the destroy.
4232 Should make the app closing a little tiny bit more snappy.
4234 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4236 * src/hildon-seekbar.c: add gtkrange.h header
4237 * src/hildon-caption.c: remove unused variable
4239 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4241 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4244 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4250 * debian/changelog: Updating.
4252 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4254 * src/hildon-window.c (hildon_window_window_state_event,
4255 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4256 escape timeout on focus-out-event rather than notify::is-topmost; the
4257 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4259 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4261 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4262 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4264 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4266 * src/hildon-window: actually, you need to use the macro always, there's
4267 no private pointer in the instance structure. We should have cleaned this up
4268 when we had the chance...
4270 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4272 * src/hildon-window.c: do not get the private date from HildonWindow before
4273 it passes the g_return_if_fail check. Once it's passed the test, there's no
4274 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4275 if you are only going to access the data once. Whitespace cleanups.
4277 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4279 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4280 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4282 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4288 * debian/changelog: Updating.
4290 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4292 * src/hildon-window.c: When destroying the window, remove (if exists) the
4293 escape timeout handler. Fixes #NB59276.
4295 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4297 * src/hildon-banner.c: When realizing the widget, set the window
4298 transiency. Setting the transiency in the gobject constructor is not
4299 good, as the widget is not realized at that point. Fixes: #NB56624.
4301 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4303 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4304 Add padding for future expansions.
4306 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4308 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4309 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4310 will fake an activation on the previous to the last item of the trail, so
4311 the effect can be overrided by the developer as usual.
4312 Also change the callback for the back button to do the same thing, so its
4313 effect can be overrided too. Fixes: NB#58982
4315 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4317 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4318 HildonCaption. Fixes NB#52379.
4320 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4322 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4323 the internal state of the trail after the user has had the chance of executing
4324 his handler for the signal. Specifically, it may happen that the activated button
4325 is removed and the user still lets the default handler run. This would segfault
4328 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4330 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4331 scrollbar to the preview dialog. Fixes NB#54147.
4333 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4335 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4336 max/min year properties can be altered, so the client can modify it
4337 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4339 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4341 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4342 hildonlike by default. Fixing a problem with disappearing arrows when
4343 scrolling through months and years. Fixes NB#54127.
4345 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4347 * examples/hildon-date-editor-example.c: Adding error callback to the date
4350 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4356 * configure.ac: Updating.
4358 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4360 * configure.ac: Adding a special '--enable-xan' configure option that
4361 turns off the -Werror compilation setting. Usefull for development.
4363 * src/hildon-calendar.c:
4364 * src/hildon-number-editor.c:
4365 * src/hildon-time-picker.c: Adding the 5* multiplier to
4368 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4370 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4371 instead of g_object_ref + gtk_object_sink.
4373 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4379 * debian/changelog: Updating.
4381 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4383 * src/hildon-color-chooser-dialog.c:
4384 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4385 straight from Tommi labs.
4387 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4389 * examples/hildon-finger-example.c: Correcting the header file path.
4391 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4392 the changed signal. Fixes a small memory leak.
4394 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4398 * src/hildon-banner.c: Importing several usefull fixes from the
4399 ubuntu-mobile branch.
4401 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4403 * examples/Makefile.am:
4404 * examples/hildon-finger-example.c: Adding a finger-checking code
4407 * src/hildon-font-selection-dialog.c: Do not allocate the color
4408 structure using the g_new. Fixes NB#54061.
4410 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4412 * src/hildon-helper.c: Correcting tabs in file.
4414 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4416 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4417 control the visibility of the children.
4419 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4421 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4427 * debian/changelog: Updating.
4429 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4431 * src/hildon-bread-crumb-trail.c:
4432 (hildon_bread_crumb_trail_size_allocate):
4434 Make the back button always a square.
4436 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4438 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4439 from the .c file as it's a private file.
4441 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4443 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4444 uses slightly bigger height.
4446 * src/hildon-font-selection-dialog.c: Adding some checks before
4447 freeing memory in the font selection dialog.
4449 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4451 * src/hildon-font-selection-dialog.c: Adding a small check when
4454 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4455 buttons sensitivity on page switching.
4457 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4459 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4460 internal details of adding a bread crumb to the trail.
4462 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4468 * debian/changelog: Updating.
4470 * src/hildon-bread-crumb-trail.h:
4471 * src/hildon-bread-crumb.h: Changing the API guard to
4472 HILDON_ENABLE_UNSTABLE_API.
4474 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4482 * src/hildon-helper.h: Updating.
4484 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4492 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4496 * src/hildon-helper.h: Small fix to make the package actually compile.
4498 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4500 * src/hildon-bread-crumb-trail.h:
4501 * src/hildon-bread-crumb.h:
4503 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4504 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4506 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4508 * examples/hildon-bread-crumb-trail-example.c:
4510 * src/hildon-bread-crumb-trail.c:
4511 * src/hildon-bread-crumb-trail.h:
4512 * src/hildon-bread-crumb.c:
4513 * src/hildon-bread-crumb.h:
4514 * src/hildon-marshalers.list:
4515 * src/hildon-bread-crumb-widget.c:
4516 * src/hildon-bread-crumb-widget.h:
4518 Slight change in the widget design. The bread crumb trail API is
4519 unchanged, but HildonBreadCrumb is now an interface. A *private*
4520 implementation, hildon-bread-crumb-widget, is provided and used
4521 internally by the trail for the push_text/push_icon functions.
4523 The generic push API is still available, so anyone can implement
4524 and use its own bread crumb widget.
4526 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4528 * debian/rules: Fixing the shlibs.
4530 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4532 * src/hildon-banner.c: Fixing a problem with timed banners having
4533 their parrent destroyed before they are.
4535 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4537 * src/hildon-bread-crumb.c:
4538 * src/hildon-bread-crumb.h:
4540 Make the get_natural_size function a vfunc.
4542 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4544 * src/hildon-bread-crumb.c:
4545 * src/hildon-bread-crumb-trail.c:
4549 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4556 * debian/changelog: Updating for release.
4558 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4560 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4561 don't leak the pango layout.
4563 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4566 * examples/hildon-bread-crumb-trail-example.c:
4570 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4572 * debian/changelog: Removing the bug-fixed entries that were actually
4573 resolved as WONTFIX.
4575 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4578 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4580 * src/hildon-bread-crumb-trail.c:
4581 * src/hildon-bread-crumb-trail.h:
4582 * src/hildon-bread-crumb.c:
4583 * src/hildon-bread-crumb.h:
4587 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4589 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4590 until it's passed the type check.
4592 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4594 * examples/hildon-bread-crumb-trail-example.c
4598 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4600 * examples/Makefile.am
4601 * examples/hildon-bread-crumb-trail-example.c
4603 * src/hildon-bread-crumb-trail.c
4604 * src/hildon-bread-crumb-trail.h
4605 * src/hildon-bread-crumb.c
4606 * src/hildon-bread-crumb.h
4608 New HildonBreadCrumbTrail widget.
4610 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4612 * src/hildon-range-editor.c (hildon_range_editor_init),
4613 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4614 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4615 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4616 hildon_time_editor_class_init, hildon_time_editor_init),
4617 src/hildon-get-password-dialog.c (invalid_input,
4618 hildon_get_password_set_property, hildon_get_password_get_property,
4619 create_contents, hildon_get_password_dialog_set_max_characters),
4620 src/hildon-set-password-dialog.c (create_contents),
4621 src/hildon-date-editor.c (hildon_date_editor_init),
4622 src/hildon-login-dialog.c (hildon_login_dialog_init),
4623 src/hildon-number-editor.c (hildon_number_editor_init),
4624 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4625 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4626 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4627 configure option and adding the respective checks in the code.
4628 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4629 hildon_calendar_drag_data_received): fixed some build warnings.
4631 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4633 * debian/changelog: A 1.0.0 release notes.