1 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4 * src/hildon-button.c (hildon_button_set_property)
5 (hildon_button_get_property, hildon_button_class_init)
6 (hildon_button_set_style, hildon_button_get_style):
7 New "style" property to change the visual appearance of the
10 * src/hildon-picker-button.c (hildon_picker_button_new):
11 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
13 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
14 HildonButton look like PickerButton)
16 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
18 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
19 column while building the default string.
21 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
23 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
24 scroll indicator by default.
26 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
28 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
30 * src/hildon-main.c: Fix the documentation for hildon_init()
32 2008-11-25 Alberto Garcia <agarcia@igalia.com>
34 * doc/hildon-docs.sgml
38 * src/hildon-window-stack-private.h
39 * src/hildon-window-stack.h
40 * src/hildon-window-stack.c:
41 New HildonWindowStack object, that adds support for multiple
42 stacks of windows per process.
44 * src/hildon-stackable-window-private.h
45 * src/hildon-stackable-window.h
46 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
47 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
48 (hildon_stackable_window_show, hildon_stackable_window_hide)
49 (hildon_stackable_window_class_init)
50 (hildon_stackable_window_init):
51 Use HildonWindowStack for stack management.
53 * src/hildon-program.c (hildon_program_pop_window_stack)
54 (hildon_program_peek_window_stack)
55 (hildon_program_go_to_root_window):
56 Add a fallback implementation to the deprecated functions using
59 * examples/hildon-stackable-window-example.c:
60 Use the new HildonWindowStack API.
62 2008-11-25 Alberto Garcia <agarcia@igalia.com>
64 * src/hildon-stackable-window-private.h
65 * src/hildon-stackable-window.c (hildon_stackable_window_show)
66 (hildon_stackable_window_hide, hildon_stackable_window_init):
67 Remove all window stack management.
69 * src/hildon-program-private.h
70 * src/hildon-program.h
71 * src/hildon-program.c (hildon_program_init)
72 (hildon_program_pop_window_stack)
73 (hildon_program_peek_window_stack)
74 (hildon_program_go_to_root_window):
75 Remove all window stack management and mark functions as
78 2008-11-25 Alberto Garcia <agarcia@igalia.com>
80 * src/hildon-app-menu.c (hildon_app_menu_realize):
81 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
83 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
85 * configure.ac: post release version bump
86 * debian/changelog: version bump
88 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
93 * configure.ac: bump version
94 * debian/changelog: updates
96 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
98 Based on initial code by Christian Dywan (christian@imendio.com)
100 * doc/hildon-docs.sgml: Add section for hildon-main.
101 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
102 * src/Makefile.am: Add new hildon-main.[ch]
103 * src/hildon-defines.h: Update the icon sizes.
104 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
105 new library initialization files and register icon sizes.
106 * src/hildon-main.h: New declarations.
107 * src/hildon.h: Include hildon-main.h
109 Add new initialization functions to the library. These methods
110 will register the hildon specific icon sizes and can be used in the
111 future for other hildon specific bits.
113 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
115 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
117 * src/hildon-window.c: (hildon_window_realize),
118 (hildon_window_notify), (-hildon_window_update_title): Do not set
119 the application name in the window title.
121 Fixes: NB#89754 (Applications shouldn't display their names in the
124 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
126 * src/hildon-note-private.h:
127 * src/hildon-note.c: (hildon_note_set_property),
128 (hildon_note_get_property), (hildon_note_class_init),
129 (hildon_note_init), (hildon_note_finalize),
130 (hildon_note_new_confirmation_with_icon_name),
131 (hildon_note_new_information_with_icon_name):
133 No need to mark as deprecated the actual code. Revert
134 to avoid missing symbols in widgets using deprecated API.
136 2008-11-20 Alberto Garcia <agarcia@igalia.com>
138 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
140 * src/hildon-volumebar.h
141 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
142 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
144 * src/hildon-helper.h
145 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
146 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
148 * examples/Makefile.am:
149 Deprecate hildon-insensitive-example
151 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
153 2008-11-20 Alberto Garcia <agarcia@igalia.com>
155 * examples/hildon-pannable-area-buttons-scroll-example.c:
156 Make all buttons finger height
158 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
160 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
162 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
163 update the day model only if it is really required, and to avoid the
164 full-reconstruction aproach. Now it only add or remove the required days.
166 The purpose of this is avoid superfluous HildonTouchSelector::changed
169 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
170 with strange parameters)
172 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
174 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
176 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
177 the WINDOW_TYPE property.
179 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
181 2008-11-19 Alberto Garcia <agarcia@igalia.com>
184 Fix dependency to allow parallel compilation with make -jX
186 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
188 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
189 color frame and some minor tweaks to make it more consistent with
192 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
193 highlighted but not visible)
195 2008-11-14 Alejandro G. Castro <alex@igalia.com>
197 * examples/Makefile.am: Fixed typo in the Makefile.am.
199 2008-11-14 Alejandro G. Castro <alex@igalia.com>
201 Reviewed the use of MAEMO_GTK define, now we add the define in the
202 compilation line, and we also add it to the pc file.
204 * configure.ac: Added MAEMO_GTK define to the compilation command
205 and removed it from the config.h.
207 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
208 do not have to take care about this define if the library was
212 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
214 2008-11-14 Alejandro G. Castro <alex@igalia.com>
216 * examples/Makefile.am,
217 * examples/hildon-pannable-area-buttons-scroll-example.c,
218 * examples/hildon-pannable-area-gesture-signals-example.c,
219 * examples/hildon-pannable-area-scroll-jump-example.c,
220 * examples/hildon-pannable-area-tree-view-example.c:
221 Renamed the pannable area examples, now they have more meaningful
224 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
226 * src/hildon-touch-selector.c:
227 (hildon_touch_selector_set_column_selection_mode): Used of
228 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
229 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
230 to avoid re-seting the same selection mode.
232 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
233 breaks HildonPickerDialog)
235 2008-11-13 Alejandro G. Castro <alex@igalia.com>
237 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
238 conditional in the Makefile.am
240 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
243 Remove unused methods.
245 2008-11-12 Alberto Garcia <agarcia@igalia.com>
247 * src/hildon-button.c (hildon_button_init):
248 Make button images center-aligned by default
250 2008-11-12 Alejandro G. Castro <alex@igalia.com>
253 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
254 activated, we have to think about how to deal with both defines
255 MAEMO_GTK and MAEMO_CHANGES.
257 2008-11-12 Alberto Garcia <agarcia@igalia.com>
259 * examples/hildon-app-menu-example.c (create_menu): Make all
262 2008-11-11 Alejandro G. Castro <alex@igalia.com>
264 Fixed the compilation without maemo gtk adding ifdefs with
265 MAEMO_GTK define to the code, we have to check this version more
268 * examples/Makefile.am: Added control to avoid some examples that
269 just make sense with maemo gtk.
272 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
273 hildon modes with the define.
275 * examples/hildon-edit-toolbar-example.c,
276 (create_icon_view): Create the icon view without hildon-gtk
277 helpers if we are not using maemo gtk.
279 * src/hildon-touch-selector.c,
280 (_create_new_column): Create the treeview without hildon-gtk
281 helpers if we are not using maemo gtk.
283 2008-11-11 Alejandro G. Castro <alex@igalia.com>
285 * src/hildon-pnnable-area.c,
286 (hildon_pannable_area_dispose),
287 (hildon_pannable_area_button_press_cb),
288 (hildon_pannable_area_child_mapped),
289 (hildon_pannable_area_add),
290 (hildon_pannable_area_remove): Added code to control the position
291 of the event_window when adding and removing children from the
292 pannable. We have to raise the event window when the child is
295 Fixes: NB#89811 (Not able to select first image thumbnail in multi
296 selection mode using custom widget inside pannable)
298 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
300 * configure.ac: post release version bump
301 * debian/changelog: version bump
303 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
308 * configure.ac: bump version
309 * debian/changelog: updates
311 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
313 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
314 search mode, in order to avoid lose the focus on the treeview when
315 a hw key (like enter) is pressed.
317 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
318 in HildonDateSelector dialog)
320 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
322 * debian/rules: Added --enable-maintainer-mode
323 * Makefile.am: Added ACLOCAL_AMFLAGS
325 This allows to properly regenerate the Makefiles if you modify the
326 configure.ac or any Makefile.am.
328 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
330 * examples/hildon-app-menu-example.c: (main): Do not set RC style
331 properties, not needed at all.
333 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
335 * src/hildon-note-private.h: Add strings for the icon and stock_icon
337 * src/hildon-note.c: (hildon_note_set_property),
338 (hildon_note_get_property), (hildon_note_class_init),
339 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
340 (hildon_note_new_confirmation_add_buttons): Remove icons.
341 (hildon_note_new_confirmation_with_icon_name): Deprecate.
342 (hildon_note_new_information_with_icon_name): Deprecate.
343 (hildon_note_new_confirmation): Act directly, without calling
344 the deprecated constructor.
345 (hildon_note_new_information): Act directly, without calling
346 the deprecated constructor.
347 * src/hildon-note.h: Mark deprecate methods as such.
348 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
349 not run tests on the deprecated methods if built with deprecation
352 Fixes: NB#91688 (Never show icons in information notes/confirmation
355 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
357 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
358 (hildon_app_menu_key_press): Remove leftover usage of the
359 private structure in HildonAppMenu struct.
360 * src/hildon-app-menu.h: Remove leftover private structure
361 from the HildonAppMenu struct.
363 Fixes a crasher when using the HildonAppMenu.
365 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
367 * src/hildon-picker-dialog.c: Use appropriate logical id
368 for the default "Done" text.
370 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
372 * configure.ac: post release version bump
373 * debian/changelog: version bump
375 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
377 Modified the way to scroll to the current selection just when the touch
378 selector is shown on the screen, avoiding a g_idle. Added too a property
379 to configure this behaviour. See hildon_pannable_area_jump_to_child
380 documentation for more information.
382 * src/hildon-touch-selector.c
383 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
384 Added 'initial-scroll' property
385 (hildon_touch_selector_set_property): Added
386 (hildon_touch_selector_map): Removed as not required anymore
387 (_hildon_touch_selector_on_selected_items): Modified in order to manage
388 only a concrete column, instead of iterate along all the columns
390 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
395 * configure.ac: bump version
396 * debian/changelog: updates
398 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
400 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
401 compilation time warnings.
403 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
405 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
406 the default value for HildonPannableArea::mov-mode to
407 HILDON_PANNABLE_AREA_MODE_VERT.
409 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
411 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
413 Reverting following commit:
415 2008-10-13 Alberto Garcia <agarcia@igalia.com>
417 * src/hildon-app-menu-private.h
418 * src/hildon-app-menu.[ch]
419 * src/hildon-button.[ch]
420 * src/hildon-check-button.[ch]
421 * src/hildon-entry.[ch]
422 * src/hildon-pannable-area.[ch]
423 * src/hildon-text-view.[ch]:
424 Added private field to the object's structure.
426 because it causes an ABI breakage. We will need to introduce these
427 changes later at some point. See NB#91636 for an extensive
428 explanation and status.
430 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
432 Patch contributed by Daniel Borgmann (danielb@openismus.com)
434 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
435 remove special cases that are no longer necessary.
437 Fixes: NB#91016 (Change toolbar sizes, simplification)
439 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
441 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
442 is shown in the cancel note.
444 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
447 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
448 (hildon_seekbar_init): Remove steppers, remove expose event.
449 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
451 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
453 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
455 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
456 label font to "SmallSystemFont" for vertically arranged buttons.
458 Fixes: NB#90662 (HildonButton "value" and "detail" text is
461 2008-10-31 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-check-button.c
464 (hildon_check_button_set_active, hildon_check_button_clicked):
465 Don't access private parts directly, use getters instead.
467 2008-10-31 Alberto Garcia <agarcia@igalia.com>
469 * src/hildon-check-button.c (hildon_check_button_new):
470 Align the contents of the check button to the left.
472 2008-10-30 Alejandro G. Castro <alex@igalia.com>
474 * src/hildon-pannable-area.c,
475 (hildon_pannable_area_scroll_to),
476 (hildon_pannable_area_jump_to),
477 (hildon_pannable_area_scroll_to_child),
478 (hildon_pannable_area_jump_to_child): Replace the mapped
479 precondition of these functions with the realized, it is the
480 correct state of the widget in this case. Changed the
481 documentation according to this modification.
483 2008-10-30 Alejandro G. Castro <alex@igalia.com>
485 Added a new EXTRA_CFLAGS option to add the deprecated define to
486 the compilation command. This way we can avoid using the define in
487 the documentation compilation.
489 * configure.ac: Defined EXTRA_CFLAGS.
491 * examples/Makefile.am:
493 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
495 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
497 * src/hildon-picker-dialog.c:
498 Defined a utility macro with the desired touch selector height
499 Removed currently unused separator, and title_label variables from
501 (hildon_picker_dialog_init): Removed code related to the creation
502 of unused private variables title_label and separator.
503 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
504 to ensure correct visualization of the touch selector inside the dialog.
505 * src/hildon-touch-selector.c
506 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
507 ensure a concrete height of the widget.
509 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
514 Remove spurious whitespaces.
516 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
518 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
519 compilation warning after the cancel button removal.
521 2008-10-30 Alejandro G. Castro <alex@igalia.com>
523 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
525 * configure.ac: Added an AM_CONDITIONAL in order to use in the
526 Makefile.am, that way we can choose not to compile some examples
527 and tests of the deprecated widgets.
529 * examples/Makefile.am: Divided the sources in deprecated and
532 * src/Makefile.am: Added undef statement of the deprecated
533 symbol to the enums file generation process.
535 * src/hildon-color-chooser-dialog.c
536 * src/hildon-color-chooser-dialog.h
537 * src/hildon-color-button.c
538 * src/hildon-color-button.h
539 * src/hildon-color-chooser.c
540 * src/hildon-color-chooser.h
541 * src/hildon-controlbar.c
542 * src/hildon-controlbar.h
543 * src/hildon-date-editor.c
544 * src/hildon-date-editor.h
545 * src/hildon-hvolumebar.c
546 * src/hildon-hvolumebar.h
547 * src/hildon-private.c
548 * src/hildon-private.h
549 * src/hildon-range-editor.c
550 * src/hildon-range-editor.h
551 * src/hildon-seekbar.c
552 * src/hildon-seekbar.h
553 * src/hildon-time-editor.c
554 * src/hildon-time-editor.h
555 * src/hildon-time-picker.c
556 * src/hildon-time-picker.h
557 * src/hildon-volumebar.c
558 * src/hildon-volumebar.h
559 * src/hildon-vvolumebar.c
560 * src/hildon-vvolumebar.h
561 * src/hildon-bread-crumb-trail.h
562 * src/hildon-bread-crumb-trail.c
563 * src/hildon-calendar-popup.c
564 * src/hildon-calendar-popup.h
565 * src/hildon-weekday-picker.c:
566 * src/hildon-weekday-picker.h:
567 * src/hildon-bread-crumb-widget.c:
568 * src/hildon-bread-crumb-widget.h:
569 * src/hildon-bread-crumb.c:
570 * src/hildon-bread-crumb.h:
571 * src/hildon-calendar.c:
572 * src/hildon-calendar.h:
573 * src/hildon-caption.c:
574 * src/hildon-code-dialog.c:
575 * src/hildon-code-dialog.h:
576 * src/hildon-font-selection-dialog.c:
577 * src/hildon-font-selection-dialog.h:
578 * src/hildon-get-password-dialog.c:
579 * src/hildon-get-password-dialog.h:
580 * src/hildon-login-dialog.c:
581 * src/hildon-login-dialog.h:
582 * src/hildon-number-editor.c:
583 * src/hildon-number-editor.h:
584 * src/hildon-set-password-dialog.c:
585 * src/hildon-set-password-dialog.h:
586 * src/hildon-sort-dialog.c:
587 * src/hildon-sort-dialog.h: This is the list of deprecated
590 * src/hildon-touch-selector.c:
591 * src/hildon-window.c: Added undef statement to avoid compilation
594 * tests/Makefile.am: Divided the sources in deprecated and
597 * tests/check_test.c,
598 (configure_tests): Marked the deprecated code that was adding
599 suites with deprecated tests.
601 Fixes: NB#91135 (Deprecate legacy hildon widgets)
603 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
605 * src/hildon-touch-selector.c: (_default_print_func): Do not
606 duplicate a string returned by gtk_tree_model_get(), it is already
609 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
612 2008-10-28 Alejandro G. Castro <alex@igalia.com>
614 * src/hildon-pannable-area.c
615 (hildon_pannable_area_add_with_viewport): Reviewed the complete
616 method, it had problems when adding a widget with viewport the
617 second time. Now checks if it already has a viewport and uses it.
619 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
622 2008-10-28 Alejandro G. Castro <alex@igalia.com>
624 * src/hildon-pannable-area.c,
625 (hildon_pannable_area_scroll_to),
626 (hildon_pannable_area_jump_to),
627 (hildon_pannable_area_scroll_to_child),
628 (hildon_pannable_area_jump_to_child): Added a precondition to the
629 scroll and jump to functions: the widget must be mapped before we
630 can safely call these functions. We have also added documentation
631 to the functions to explain how to use them in this situation.
634 2008-10-28 Alejandro G. Castro <alex@igalia.com>
636 Reviewed the threading handling of the pannable widget, we have
637 used the gdk_threads_add_timeout function instead of the usual
638 glib handlers. This avoids some problems with the threads.
640 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
641 (hildon_pannable_area_initial_effect),
642 (hildon_pannable_area_scroll_indicator_fade),
643 (hildon_pannable_area_button_press_cb),
644 (hildon_pannable_area_timeout),
645 (hildon_pannable_area_motion_notify_cb),
646 (hildon_pannable_area_button_release_cb),
647 (hildon_pannable_area_scroll_cb),
648 (hildon_pannable_area_scroll_to): Removed the
649 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
650 gdk_threads_add_timeout.
652 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
654 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
659 * configure.ac: bump version
660 * debian/changelog: updates
662 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
664 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
665 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
666 * src/hildon-color-chooser-dialog.c:
667 (hildon_color_chooser_dialog_init):
668 * src/hildon-font-selection-dialog.c:
669 (hildon_font_selection_dialog_init):
670 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
672 Remove all cancel/close-like dialogs, as these are not going to be
675 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
677 * src/hildon-note.c: (hildon_note_rebuild),
678 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
681 Fixes: NB#90661 (Delete dialog is displayed without NO button)
683 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
685 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
686 sure all buttons are shown, even the Cancel/Close-like ones.
688 Fixes: NB#90861 (Custom Confirmation dialogs should be
689 protected from cancel button removal)
691 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
693 * debian/control: Change libhildon1-examples dependency from libhildon1
695 * debian/libhildon1-examples.install
697 * Makefile.am: Modified the final install directory for the examples on
698 package libhildon1-examples
699 * Makefile.static: Update clean target in order to remove all the binary
702 Changes suggested by Claudio after review new libhildon1-examples package
704 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
706 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
707 * src/hildon-touch-selector.c: Ditto.
709 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
711 * debian/control: Added new package libhildon1-examples, in order to pack
712 the current hildon examples as documentation
713 * debian/rules: Not to compress .c files, modify some includes on the
714 examples (as normally are compiled locally, but when installed it will
715 require to include the installed libhildon1 library), and rename
717 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
718 install all the example files on the new example package
719 * examples/Makefile.static: Added static makefile that can be used to
720 compile the examples, once installed the new example package
721 * examples: Most of the examples were modified in order to grant that
722 all use only '#include "hildon.h"', in order to be easy to prepare
723 it on the example package
725 2008-10-23 Alberto Garcia <agarcia@igalia.com>
728 * debian/libhildon1-dev.install
729 * debian/libhildon1-doc.install:
730 Move all gtk-doc files to a separate libhildon1-doc package.
732 2008-10-23 Daniel Borgmann <danielb@openismus.com>
734 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
736 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
738 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
740 * debian/rules: Fixed a error in order to avoid unnecessary calls
741 to autogen.sh on package building
743 2008-10-22 Alberto Garcia <agarcia@igalia.com>
745 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
747 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
749 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
752 2008-10-21 Alberto Garcia <agarcia@igalia.com>
754 * src/hildon-picker-button.c
755 (hildon_picker_button_finalize):
756 Free priv->done_button_text
758 * src/hildon-time-button.c
759 (hildon_time_button_set_time)
760 * src/hildon-picker-button.c
761 (hildon_picker_button_clicked)
762 (hildon_picker_button_selector_selection_changed)
763 (hildon_picker_button_set_selector)
764 * src/hildon-date-button.c
765 (hildon_date_button_set_date):
766 Free strings returned by hildon_touch_selector_get_current_text()
768 * src/hildon-button.c (hildon_button_construct_child):
769 Fix leaks in priv->image and priv->label_box
771 Fixes: NB#90535 (Memory leak in picker button)
773 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
775 * src/hildon-button.c: (hildon_button_get_property): Do not access
776 private elements directly, use getters instead.
778 2008-10-20 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-app-menu-private.h
781 * src/hildon-app-menu.c
782 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
783 Store the menu's parent window.
785 * src/hildon-stackable-window.c
786 (hildon_stackable_window_toggle_menu)
787 (hildon_stackable_window_finalize):
788 Set the menu's parent window when the menu is shown, unset it when
791 * src/hildon-app-menu.c
792 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
793 (hildon_app_menu_class_init):
794 Send unhandled keyboard accelerators to the parent window.
796 2008-10-20 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-stackable-window.c
799 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
801 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
803 * configure.ac: post release version bump
805 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
808 * configure.ac: Bump version
809 * debian/changelog: Updates
810 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
813 2008-10-20 Alberto Garcia <agarcia@igalia.com>
815 Patch contributed by Daniel Borgmann (danielb@openismus.com)
818 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
819 GtkMenu with Hildon style.
821 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
823 * src/hildon-picker-button.c:
824 (hildon_picker_button_set_done_button_text): Set the dialog's
825 done button text here as well.
827 Fixes: NB#90232 (Picker button does not set the label on done button
830 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
832 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
835 2008-10-16 Alberto Garcia <agarcia@igalia.com>
837 * src/hildon-app-menu.c (hildon_app_menu_insert)
838 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
839 the HildonAppMenu to be activatable using keyboard accelerators
840 when the menu is not being shown.
842 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
844 2008-10-16 Alberto Garcia <agarcia@igalia.com>
846 * src/hildon-stackable-window.c
847 (hildon_stackable_window_show):
848 Don't hide old windows automatically when new windows are shown:
849 this is now a task for the window manager.
850 (hildon_stackable_window_class_init)
851 (hildon_stackable_window_hide):
852 Remove windows from the stack everytime they're hidden.
853 (hildon_stackable_window_realize):
854 Don't change the _NET_WM_WINDOW_TYPE property. Use
855 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
856 it as a stackable window.
858 * src/hildon-program.c
859 (hildon_program_pop_window_stack):
860 Just hide the window to remove it from the stack.
861 (hildon_program_go_to_root_window):
862 Don't call gtk_widget_show(), this is now a task for the window
865 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
867 2008-10-15 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-button.c
870 (hildon_button_construct_child):
871 Don't pack anything in the button until text or image are
872 set. This allows adding a custom child after creating the button
873 with hildon_button_new().
874 (hildon_button_finalize, hildon_button_class_init)
875 (hildon_button_init, hildon_button_set_arrangement): Destroy the
876 alignment and the label box even when they're not packed in the
879 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
881 * src/hildon-touch-selector.h:
882 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
883 currently the type definition was using GTK_TYPE_VBOX
884 * src/hildon-touch-selector.c:
885 Added some implementation notes in order to clarify that any other widget
886 added without the column related API will not be included on the
887 selection logic, and how the widget is freed, as some people ask about
889 (hildon_touch_selector_remove): Reimplemented in order to free properly
890 the column related data when you remove the private hbox.
891 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
892 to get a proper HildonTouchSelectorColumn documentation
894 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
896 * src/hildon-touch-selector-entry.c:
897 (hildon_touch_selector_entry_print_func): Return NULL if there is no
898 text in the GtkEntry and there is no item selected. Fixes a
901 2008-10-13 Alberto Garcia <agarcia@igalia.com>
903 * src/hildon-app-menu-private.h
904 * src/hildon-app-menu.[ch]
905 * src/hildon-button.[ch]
906 * src/hildon-check-button.[ch]
907 * src/hildon-entry.[ch]
908 * src/hildon-pannable-area.[ch]
909 * src/hildon-text-view.[ch]:
910 Added private field to the object's structure.
912 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
914 * configure.ac: post-release version bump
916 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
920 * configure.ac: pre-release version bump
922 * debian/changelog: updates.
924 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
926 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
927 Disconnect the handler for HildonTouchSelector::changed.
929 (hildon_picker_button_selector_selection_changed): Update the button
930 value if the selection change was not triggered by the
933 (hildon_picker_button_set_selector): connect to
934 HildonTouchSelector::changed.
936 Fixes: NB#89650 (Picker button is not updated, when selection in
937 selector has changed)
939 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
941 * src/hildon-picker-dialog.c
942 (hildon_picker_dialog_realize): Removed as not required
943 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
944 * src/hildon-picker-button.c
945 (_current_selector_empty): New function, checks if the selector is empty
946 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
947 if the current selector is empty, in order to avoid to show the dialog
948 close the dialog in this case (and shows a g_warning).
950 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
952 2008-10-09 Alejandro G. Castro <alex@igalia.com>
954 * src/hildon-pannable-area.c,
955 (hildon_pannable_area_scroll): Added clause to stop movement when
956 the child of pannable is smaller than one page.
957 (hildon_pannable_area_scroll_to): Added conditions to avoid
958 starting the scrolling movement if the child is smaller than one
959 page, the complete child is in the screen, we do not have to move.
961 Fixes: NB#89632 (Picker button selection doesn't change on first click)
963 2008-10-09 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-app-menu.c: Removed the 'columns' property, as now
966 this is managed automatically by the widget when the size of the
969 2008-10-09 Alberto Garcia <agarcia@igalia.com>
971 * src/hildon-picker-button.c
972 (hildon_picker_button_set_done_button_text): Make a copy of the
973 text, and free the previous value.
975 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
977 * src/hildon-touch-selector-entry.c:
978 (hildon_touch_selector_entry_print_func): Return the selected row's
979 text if the entry is empty.
981 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
984 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
986 * src/hildon-touch-selector-entry.c: Minor docs fixes.
988 2008-10-09 Alberto Garcia <agarcia@igalia.com>
991 * src/hildon-check-button.h
992 * src/hildon-check-button.c
993 * examples/hildon-check-button-example.c:
994 HildonCheckButton is now a new widget. 'toggled' signal added.
996 2008-10-08 Alberto Garcia <agarcia@igalia.com>
998 * src/hildon-program-private.h
999 * src/hildon-program.c (hildon_program_init)
1000 (hildon_program_finalize): Removed unused variables group_leader
1001 and name from HildonProgramPrivate.
1003 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-check-button.c (hildon_check_button_set_active)
1006 (hildon_check_button_get_active, hildon_check_button_new): Use
1007 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1009 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1011 * src/hildon-touch-selector.h
1012 (hildon_touch_selector_set_column_attributes): added deprecation
1013 guard HILDON_DISABLE_DEPRECATED
1014 * src/hildon-time-selector.c
1015 (hildon_time_selector_set_time)
1016 (hildon_time_selector_get_time): Fixed a typo on documentation
1017 * src/hildon-touch-selector.c: update HildonTouchSelector and
1018 HildonTouchSelectorColumn documentation
1019 * src/hildon-touch-selector-entry.c: update "text-column" property
1021 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1022 to be added to the general documentation.
1024 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1026 * examples/hildon-pannable-area-example-4.c,
1028 * examples/hildon-pannable-area-example.c,
1029 (main): Modified the code in order to use the container add, with
1030 viewport treeviews could have problems if they are really big.
1032 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1034 * src/hildon-weekday-picker.c,
1035 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1036 the agreement regarding deprecation in the library.
1038 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1040 * examples/hildon-picker-button-multicolumn-example.c:
1041 (main): Use custom "done" button text.
1043 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1044 (hildon_picker_button_set_property),
1045 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1046 (hildon_picker_button_init),
1047 (+hildon_picker_button_get_done_button_text),
1048 (+hildon_picker_button_set_done_button_text): New methods to customize
1049 the "done" button label in the launched HildonPickerDialog. Also,
1052 * src/hildon-picker-button.h: add the public API.
1054 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1056 * src/hildon-date-selector.h:
1057 * src/hildon-picker-dialog.h:
1058 * src/hildon-time-selector.h:
1059 * src/hildon-touch-selector-column.h:
1060 * src/hildon-touch-selector.h:
1062 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1063 declarations. Fixes gtk-doc warnings.
1065 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-picker-dialog.h
1068 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1069 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1071 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1072 long text is set as label for done button)
1074 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1076 * src/hildon-dialog.c (hildon_dialog_add_button):
1077 Set fixed width to all buttons in the HildonDialog.
1079 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1081 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1083 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1084 Set widget name using class name plus "-finger" or "-thumb".
1086 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1088 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1089 'clicked' when the state of the button is manually changed.
1091 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-app-menu.c (hildon_app_menu_realize)
1094 (hildon_app_menu_unrealize, hildon_app_menu_init)
1095 (hildon_app_menu_class_init, item_visibility_changed):
1096 Change the menu layout when the size of the screen changes.
1097 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1098 Show warning only when changing the number of colums using the
1101 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1103 * debian/compat: Set to 5
1104 * debian/control: Update dependencies.
1105 * debian/libhildon1-dbg.install: Remove.
1106 * debian/libhildon1-dev.install: Update according to cdbs paths.
1107 * debian/libhildon1.install: Update according to cdbs paths.
1108 * debian/rules: Switch to cdbs.
1110 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1113 'item' variable renamed to 'filter'
1115 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1117 * src/hildon-app-menu.c (hildon_app_menu_insert)
1118 (hildon_app_menu_add_filter, remove_item_from_list)
1119 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1120 Don't leak hidden items when the menu is destroyed.
1122 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1124 * src/hildon-app-menu.c (hildon_app_menu_insert)
1125 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1126 (hildon_app_menu_set_columns, item_visibility_changed)
1127 (filter_visibility_changed, hildon_app_menu_repack_filters)
1128 (hildon_app_menu_repack_items):
1129 Repack items and filters separately.
1131 Don't repack all items, change only the ones that are needed to
1134 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1136 * src/Makefile.am: added hildon-touch-selector-column.h
1138 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1140 * src/hildon-touch-selector.c: added the property "text-column" to the
1141 class HildonTouchSelectorColumn, and related get/set functions
1142 (_default_printf_func): updated to use "text-column" property
1143 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1144 "text-column" in his documentation, as this is now included on
1145 HildonTouchSelectorColumn. The get/set_property can still be used,
1146 working as a wrapper to the concrete column "text-column" property
1147 (_text_column_modified): callback added in order to handle the signal
1148 "notify::text-column" of the concrete HildonTouchSelectorColumn
1149 (hildon_touch_selector_entry_get_text_column)
1150 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1151 modified in order to use the HildonTouchSelectorColumn "text-column"
1153 * src/hildon-time-selector.c:
1154 * src/hildon-date-selector.c:
1155 * examples/hildon-touch-selector-example.c
1156 * examples/hildon-touch-selector-multi-cells-example.c
1157 * examples/hildon-picker-button-multicolumn-example.c
1158 Set the right value to "text-column" property on the creation of a new
1159 column using hildon_touch_selector_append_column()
1161 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1163 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1165 * src/hildon-app-menu.c
1166 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1167 updating the layout of the menu, don't create all widgets again,
1168 just repack the items in their new places.
1170 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1172 * src/hildon-time-selector.c
1173 (hildon_time_selector_get_time)
1174 (hildon_time_selector_set_time)
1175 Added documentation of these public methods
1177 * src/hildon-date-button.h
1178 * src/hildon-touch-selector-column.h
1179 * src/hildon-time-button.h
1180 * src/hildon-picker-dialog.h
1181 * src/hildon-time-selector.h
1182 * src/hildon-picker-button.h
1183 * src/hildon-touch-selector.h
1184 * src/hildon-time-picker.h
1185 * src/hildon-date-selector.h
1186 * src/hildon-touch-selector-entry.h
1187 Modified in order to use hildon-widgets code style
1189 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1191 Added deprecated support to the compilation process using
1192 HILDON_DISABLE_DEPRECATED
1194 * configure.ac: Added the --disable-deprecated to the configure
1197 * src/hildon-weekday-picker.c:
1198 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1199 to use the deprecated support. We will update the other deprecated
1200 widgets status in a new patch.
1202 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1204 * configure.ac: Fixed typo with fatal warnings support, the
1205 variable name was not correct
1207 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1209 * src/hildon-app-menu.c
1210 * src/hildon-program.c: Update documentation.
1212 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1214 * configure.ac: Post-release version bump.
1216 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1221 * configure.ac: Pre-release version bump.
1222 * debian/changelog: Updates.
1224 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1226 * NEWS: Update news for previous releases.
1228 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1230 * examples/hildon-touch-selector-multi-cells-example.c:
1231 (create_selector): Update the example to use
1232 hildon_touch_selector_append_column() with a NULL renderer and set
1233 the renderers later.
1234 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1235 passed a NULL renderer. This is documented behavior now.
1237 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1238 This must be used if the developer wants full control on the layout of
1239 the renderers to be added to the column.
1241 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1243 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1245 * src/hildon-touch-selector.c: Documentation fixes.
1247 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1249 * src/hildon-wizard-dialog-private.h: Remove image and box.
1250 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1251 (hildon_wizard_dialog_set_property), (response): Completely remove
1252 image/icon support, and the containers required for the layout.
1254 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1256 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1258 * src/hildon-app-menu.c: Updated documentation.
1260 * src/hildon-stackable-window.c
1261 (hildon_stackable_window_set_main_menu): Unref the old menu after
1262 ref'ing the new one.
1264 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-stackable-window.c
1267 (hildon_stackable_window_set_main_menu): Unref the previous menu
1268 instead of destroying it.
1270 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1271 floating reference and set has_user_ref_count to FALSE to make
1272 HildonAppMenu act like a normal ref-counted widget and not a
1275 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1278 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1280 * src/hildon-touch-selector-column.h: new file
1281 * src/hildon-touch-selector.h
1282 * src/hildon-touch-selector.c
1283 Implemented GtkCellLayout interface, in order to allow to configure
1284 the cell layout on each individual selector column
1285 (hildon_touch_selector_set_column_attributes): marked as deprecated
1286 * examples/hildon-touch-selector-multi-cells-example.c
1287 Example of how to use the GtkCellLayout interface on the selector
1289 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1291 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1293 * src/hildon-app-menu.h
1294 * src/hildon-app-menu.c
1295 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1296 (hildon_app_menu_append, hildon_app_menu_prepend):
1297 New methods to prepend, insert and move items in the menu.
1299 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1301 * src/hildon-wizard-dialog.c:
1303 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1305 (create_title): Update logical IDs and related code.
1306 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1308 * src/hildon-wizard-dialog.h: Note that
1309 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1310 point, as it is not used anymore.
1312 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1314 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1316 * src/hildon-note.c:
1317 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1318 shown. Do not display an icon in confirmation notes nor information
1320 (hildon_note_set_button_text): Update logical ID for cancel button.
1322 Fixes: NB#88850 (Update HildonNote button strings + signals)
1324 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-stackable-window.c
1327 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1329 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-app-menu-private.h
1332 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1333 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1334 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1335 temporary property 'columns' to change the number of columns.
1337 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1339 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1341 * examples/hildon-note-example.c: (on_information_clicked),
1342 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1343 debugging information.
1344 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1346 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1347 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1348 in order to close: this will be handled by the WM from now on.
1350 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1352 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-app-menu-private.h
1355 * src/hildon-app-menu.c
1356 (hildon_app_menu_append, hildon_app_menu_add_filter)
1357 (button_visibility_changed, hildon_app_menu_apply_style)
1358 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1359 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1360 layout everytime a button (item or filter) is shown or hidden.
1362 * src/hildon-stackable-window.c
1363 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1366 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1368 * src/hildon-touch-selector.c:
1369 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1370 that the treeview inside the touch selector is in fremantle hildon mode
1371 * examples/hildon-date-button-example.c
1372 * examples/hildon-picker-button-multicolumn-example.c
1373 * examples/hildon-touch-selector-entry-example.c
1374 * examples/hildon-touch-selector-example.c
1375 * examples/hildon-time-button-example.c
1376 * examples/hildon-picker-button-example.c:
1377 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1379 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1381 * examples/hildon-text-view-example.c: (main): Remove the
1382 gtkrc bits, now handled by the theme.
1384 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1389 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1391 * po/Makefile.am: Install properly the mo files.
1392 * po/en_GB.po: Update translation, to ease testing purposes.
1394 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1396 * examples/hildon-picker-button-example.c: (main): Select an item
1397 in the selector before setting it to the button.
1399 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1402 Update button's value if the selector has an item active.
1404 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1405 'value' with the selector)
1407 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1409 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1410 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1411 (hildon_picker_button_class_init): Plug the finalize method.
1412 (hildon_picker_button_set_selector): If there's a previously set
1413 selector, unref'it before setting a new one.
1415 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1416 HildonTouchSelector)
1418 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-touch-selector-entry.c:
1421 (hildon_touch_selector_entry_changed): Check if there is no text
1422 selected before setting the entry text.
1425 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1427 * src/hildon-touch-selector.h
1428 * src/hildon-touch-selector.c
1429 (hildon_touch_selector_get_active)
1430 (hildon_touch_selector_set_active): New methods to set/get the
1431 index of the selected item.
1433 * src/hildon-picker-button.h
1434 * src/hildon-picker-button.c
1435 (hildon_picker_button_get_active)
1436 (hildon_picker_button_set_active): New methods to set/get the
1437 index of the selected item.
1439 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1441 * configure.ac: post-release version bump.
1443 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1447 * configure.ac: Pre-release version bump.
1448 * debian/changelog: Updates.
1449 * debian/control: Add myself as maintainer and depend on l10n
1452 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-window.c
1455 (hildon_window_set_main_menu)
1456 * src/hildon-stackable-window.c
1457 (hildon_stackable_window_set_main_menu):
1458 Updated documentation.
1460 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1462 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1463 Don't free selector->priv manually.
1466 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1469 (hildon_gtk_window_set_progress_indicator):
1470 * src/hildon-gtk.h: Added the new API
1471 hildon_gtk_window_set_progress_indicator, it changes the state of
1472 the window progress hint.
1474 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-button.c
1477 * src/hildon-stackable-window.c: Minor documentation updates.
1479 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-stackable-window.c: Updated documentation.
1483 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1485 * src/hildon-defines.h: Update margins definitions
1486 to the Fremantle sizes.
1489 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1491 * src/hildon-touch-selector.c,
1492 (_hildon_touch_selector_set_model): Cleaning the code after
1493 review, removed g_print and #if 0 from the code.
1495 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1497 * src/hildon-edit-toolbar.c: Update documentation.
1499 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1501 * src/hildon-check-button.h
1502 * src/hildon-check-button.c
1503 (hildon_check_button_set_label, hildon_check_button_get_label)
1504 * examples/hildon-check-button-example.c
1505 (button_clicked_cb):
1506 Removed deprecated methods.
1508 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-text-view.c:
1511 Add sample code to the documentation.
1513 * src/hildon-entry.h
1514 * src/hildon-text-view.h:
1515 Minor cosmetic changes.
1517 * src/hildon-entry.c:
1518 Add sample code to the documentation.
1519 (hildon_entry_init, hildon_entry_refresh_contents):
1520 Don't allow NULL values in the placeholder.
1522 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1524 * doc/hildon-docs.sgml
1526 * examples/Makefile.am
1527 * examples/hildon-text-view-example.c
1529 * src/hildon-text-view.c
1530 * src/hildon-text-view.h
1532 New HildonTextView widget, with example.
1534 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1536 * po/POTFILES.in: Add missing files with translatable strings.
1537 Partially fixes NB#88287.
1539 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1541 * examples/hildon-pannable-area-example-2.c: (main): No need to
1542 set the cellrenderer height inside hildon touch lists, the theme does
1545 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1547 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1548 they are integrated in the theme.
1550 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1552 * examples/hildon-entry-example.c: Update the example adding
1553 widgets to modify the text and the placeholder of the HildonEntry.
1555 * src/hildon-entry.c: Show the placeholder everytime the widget
1556 is empty and loses the focus.
1558 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1560 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1562 * src/hildon-pannable-area.c,
1563 (hildon_pannable_area_size_request): Fixed bug in height
1564 requisition, avoid increasing size and add border twice.
1566 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1568 * configure.ac: postrelease version bump.
1570 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1574 * configure.ac: Prerelease version bump.
1575 * debian/changelog: update.
1576 * debian/rules: make -dbg package contain useful debugging symbols.
1578 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1580 * src/hildon-dialog.h
1581 * src/hildon-dialog.c
1582 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1583 New methods to add buttons with finger size.
1584 (hildon_dialog_new_with_buttons):
1585 Create buttons with finger size.
1587 * examples/hildon-dialog-example.c (main): Use HildonDialog
1588 methods to add buttons.
1590 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1592 * src/hildon-entry.c: Updated HildonButton documentation.
1594 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1596 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1597 button value label with (FALSE, FALSE) to prevent NB#88126 from
1600 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1602 * examples/hildon-pannable-area-example.c,
1603 (main): Removed examples panning a vbox inside a pannable
1604 area. Check bug NB#87965
1606 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1608 Patch contributed by Kris Rietveld (kris@imendio.com)
1610 * src/hildon-pannable-area.c,
1611 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1612 get_size and get_position, this saves an X server roundtrip.
1614 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1616 * doc/hildon-docs.sgml
1618 * examples/Makefile.am
1619 * examples/hildon-entry-example.c
1621 * src/hildon-entry.c
1622 * src/hildon-entry.h
1624 New HildonEntry widget, with example.
1626 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-button.c (hildon_button_construct_child): Pack the
1629 image with expand == fill == FALSE. This is a workaround for a bug
1632 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1634 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1635 labels for the text column, to make it more look more dynamic.
1637 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1639 * src/hildon-time-selector.c
1640 Define gettext auxiliar macro N_
1641 (_create_minutes_model)
1642 (_create_hours_model)
1643 (_create_ampm_model): use of strftime in order to fill the model
1644 * src/hildon-date-selector.c
1645 (hildon_date_selector_finalize):
1646 (_locales_init): remove the logic related to get the name of the months
1647 using nl_langinfo, as it is not required anymore
1649 (_create_year_model)
1650 (_create_month_model)
1651 (_update_day_model): use of strftime in order to fill the model properly
1654 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-button.h
1657 * src/hildon-button.c (hildon_button_get_image): New method to
1660 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1662 * src/hildon-touch-selector.c:
1663 (hildon_touch_selector_remove_column): Remove from the correct parent
1664 and also remove the list element and free it.
1667 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1669 * src/hildon-time-selector.c
1670 (_create_hours_model): change the range on 12h ampm format in order to use
1671 a 12-11 range instead of previous 01-12 range
1672 (hildon_time_selector_set_time): change the way to select the current time
1673 on 12h ampm format, due the change on the range
1674 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1677 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1679 * src/hildon-touch-selector.c
1680 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1681 in order to allow use this function on multiple row selection mode if
1682 the column is different that the first one
1685 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1687 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1688 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1690 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1692 * src/hildon-date-selector.h: clean some comments, now on the .c
1693 * src/hildon-date-selector.c
1694 (hildon_date_selector_select_month): first implementation
1695 (hildon_date_selector_select_day): added documentation, reimplemented
1696 using hildon_date_selector_select_current_date to avoid repeat code
1699 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1701 Reviewed interaction logic based on device experiences, refactored
1704 * src/hildon-pannable-area.c,
1705 (hildon_pannable_area_class_init): Updated default vmax speed.
1706 (hildon_pannable_area_calculate_velocity): Added this function, it
1707 avoids duplicate valocity calculation. Adjusted calculation to
1708 avoid problems with zero dist events.
1710 (hildon_pannable_area_motion_notify_cb): Now we use the
1711 calculate_velocity function.
1713 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1715 * src/hildon-date-selector.c
1716 (hildon_date_selector_select_current_date): fix the day range check
1717 as it failed using the last day of the current month
1720 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1722 * src/hildon-touch-selector.c
1723 (hildon_touch_selector_get_num_columns): added a parameter validation
1726 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1728 * examples/Makefile.am
1729 * examples/hildon-edit-toolbar-example.c: Example of the
1730 HildonEditToolbar widget.
1732 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1734 * configure.ac: postrelease version bump.
1736 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1740 * configure.ac: prerelease version bump.
1741 * debian/changelog: update.
1743 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1745 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1746 renderer to display stock icons in the touch list. Also, set the sizes
1747 to the recommended in the style guide.
1749 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1750 * src/hildon-touch-selector.h
1751 (hildon_touch_selector_set_active_iter): renamed, now is
1752 hildon_touch_selector_select_iter
1753 (hildon_touch_selector_get_active_iter): renamed, now is
1754 hildon_touch_selector_get_selected
1755 (hildon_touch_selector_unselect_iter): added
1756 * src/hildon-touch-selector.c
1757 Update after API modification (methods renamed)
1758 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1759 order to avoid problems selecting multiple elements on the column
1760 (hildon_touch_selector_unselect_iter): added the implementation
1761 * src/hildon-time-selector.c
1762 * src/hildon-date-selector.c
1763 * src/hildon-touch-selector-entry.c
1764 Update methods calls after hildon-touch-selector.h API modification (methods
1767 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1769 * src/hildon-stackable-window.c
1770 (hildon_stackable_window_finalize): Call the parent class's finalize.
1772 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1774 * examples/hildon-touch-selector-example.c: (create_selector): Use
1775 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1778 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1780 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1781 set a cell background color, to respect theming.
1783 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1785 * doc/hildon-docs.sgml
1788 * src/hildon-edit-toolbar.c
1789 * src/hildon-edit-toolbar.h
1790 * src/hildon.h: New HildonEditToolbar widget.
1792 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1794 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1797 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1798 * src/hildon-touch-selector.c
1799 (_create_new_column): use g_object_set instead of two g_object_set_property
1801 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1802 * src/hildon-touch-selector.c
1803 (_create_new_column): use of hildon_gtk_tree_view_new to create
1804 the treeview, instead of use directly g_object_new
1805 (_create_new_column): update the property name "vindicator-mode" for the
1806 new one "vscrollbar-policy"
1807 * examples/hildon-date-button-example.c
1808 * examples/hildon-picker-button-multicolumn-example.c
1809 * examples/hildon-touch-selector-entry-example.c
1810 * examples/hildon-touch-selector-example.c
1811 * examples/hildon-time-button-example.c
1812 * examples/hildon-picker-button-example.c
1813 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1814 to all the treeviews inside a pannable area.
1816 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1818 * src/hildon-button.h
1819 * src/hildon-button.c (hildon_button_init)
1820 (hildon_button_set_arrangement, hildon_button_set_alignment)
1821 (hildon_button_set_title_alignment)
1822 (hildon_button_set_value_alignment)
1823 (hildon_button_set_image_alignment)
1824 (hildon_button_construct_child): New methods to set the alignment
1825 of the individual components of the button (title, value,
1826 image). Also, new method to alter the xscale and yscale properties
1827 of the GtkAlignment inside the button, so more complex layouts can
1830 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-button.c (hildon_button_style_set)
1833 (hildon_button_class_init, hildon_button_set_arrangement)
1834 (hildon_button_construct_child): Apply style properties
1835 correctly. Use the 'image-spacing' style property too.
1837 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1840 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1843 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1845 * src/hildon-pannable-area.c,
1846 (hildon_pannable_area_size_request): Fixed problem with
1847 pannable-area size_request.
1849 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1851 Added management for the grab-focus to a child widget, like a
1852 range, we need to fade out the scrollbar when releasing.
1854 * src/hildon-pannable-area.c,
1855 (hildon_pannable_area_init): Connected the grab-focus signal to
1857 (hildon_pannable_area_grab_notify): Added this function in order
1858 to manage the situation when the grab-focus ends. We have to
1859 fade-out the scrollbar.
1861 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-app-menu.c: Minor documentation update.
1865 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1867 * src/hildon-app-menu.c
1868 * examples/hildon-app-menu-example.c (create_menu): Update
1869 examples and documentation to explain how to connect callbacks.
1871 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1873 * examples/hildon-button-example.c
1874 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1875 hildon_stackable_window_new instead of gtk_window_new
1877 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1879 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1880 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1881 (hildon_pannable_area_set_property),
1882 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1883 (hildon_pannable_area_unrealize),
1884 (hildon_pannable_area_size_request),
1885 (hildon_pannable_area_size_allocate),
1886 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1887 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1888 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1889 (hildon_pannable_area_initial_effect),
1890 (hildon_pannable_area_redraw),
1891 (hildon_pannable_area_scroll_indicator_fade),
1892 (hildon_pannable_area_expose_event),
1893 (hildon_pannable_area_get_topmost), (synth_crossing),
1894 (hildon_pannable_area_button_press_cb),
1895 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1896 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1897 (hildon_pannable_area_motion_notify_cb),
1898 (hildon_pannable_area_button_release_cb),
1899 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1900 (hildon_pannable_area_remove),
1901 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1902 chage the code layout to a more GtkWidget like. Review the use of
1905 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1907 * examples/hildon-pannable-area-example-4.c,
1908 (main): Modified the name of the hindicator_mode to
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_class_init),
1913 (hildon_pannable_area_motion_notify_cb),
1914 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1915 we have reduced the amount of signals and managed reviewed its
1916 rationale. Changed the default decelerate value.
1918 (hildon_pannable_area_add),
1919 (hildon_pannable_area_redraw): Refactored functions.
1921 (hildon_pannable_area_init),
1922 (hildon_pannable_area_get_property),
1923 (hildon_pannable_area_set_property):
1924 (hildon_pannable_draw_vscroll),
1925 (hildon_pannable_draw_hscroll),
1926 (hildon_pannable_area_initial_effect),
1927 (hildon_pannable_area_expose_event),
1928 (hildon_pannable_area_scroll),
1929 (hildon_pannable_area_button_press_cb),
1930 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1931 and vindicator_mode with hscrollbar_policy and
1932 vscrollbar_policy. Replaced hscroll and vscroll with
1933 hscroll_visible and vscroll_visible.
1935 (hildon_pannable_area_refresh): Refactor the function, remove
1936 variables and check the calls to this function, added resize
1937 conditions in case the children change their layout.
1939 (hildon_pannable_area_size_request): Added more detailed
1940 size_request calculation.
1943 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1945 * src/hildon-color-chooser.c
1946 (init_borders): use the correct gtk_border_free instead of g_free, to
1947 avoid a crash when this widget is used (ie: the three color selection
1950 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1952 * src/hildon-check-button.c,
1953 (hildon_check_button_set_active): Fixed problem when setting the
1954 active value, the widget was not redrawn.
1956 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1958 * src/hildon-pannable-area.c,
1959 (hildon_pannable_area_refresh),
1960 (hildon_pannable_area_scroll),
1961 (hildon_pannable_area_motion_notify_cb): Small code style change.
1963 (hildon_pannable_area_class_init): Default initial_hint set to
1964 FALSE, it is not in the specs.
1966 (hildon_pannable_area_initial_effect),
1967 (hildon_pannable_area_expose_event),
1968 (hildon_pannable_area_map),
1969 (hildon_pannable_area_init): Moved the launching point of the
1970 initial effect, it was in map but the sizes where not correct in
1971 that method so we do not know if we have the reproduce it. Now it
1972 is placed in the expose_event method and uses a variable to
1973 reproduce it just once.
1975 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1977 * src/hildon-pannable-area.c,
1978 (hildon_pannable_draw_vscroll),
1979 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1980 position allowed for the scrollbars.
1982 (hildon_pannable_area_size_allocate): Small style change.
1984 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1986 * src/hildon-pannable-area.c,
1987 (hildon_pannable_area_scroll_indicator_fade),
1988 (hildon_pannable_area_button_press_cb),
1989 (hildon_pannable_area_button_release_cb),
1990 (hildon_pannable_area_scroll_cb),
1991 (hildon_pannable_area_expose_event),
1992 (hildon_pannable_area_init): Added the define parameter
1993 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1994 and refactor the fade variable.
1996 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1998 * src/hildon-pannable-area.c,
1999 (hildon_pannable_area_redraw),
2000 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2001 lines, we were reimplemeting the redraw code.
2003 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2005 * src/hildon-pannable-area.c,
2006 (hildon_pannable_area_scroll_cb),
2007 (hildon_pannable_area_realize),
2008 (hildon_pannable_area_class_init): Added scroll_event management
2009 for pannable area, now we can scroll the usual desktop method.
2011 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2012 initialization of the parameters should depend on idle_id.
2014 (hildon_pannable_area_init),
2015 (hildon_pannable_area_map): Small code style modifications
2017 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2019 * src/hildon-pannable-area.c
2020 (hildon_pannable_area_button_press_cb),
2021 (hildon_pannable_area_motion_notify_cb),
2022 (hildon_pannable_area_button_release_cb),
2023 (hildon_pannable_area_size_allocate),
2024 (hildon_pannable_area_scroll_to): Improved the timeouts
2025 management, we avoid creating them each time.
2027 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2029 * src/hildon-pannable-area.c:
2030 (hildon_pannable_area_refresh),
2031 (hildon_pannable_area_motion_notify_cb),
2032 (hildon_pannable_area_class_init):
2033 * src/hildon-pannable-area.h:
2034 * src/hildon-touch-selector.c
2035 (_create_new_column):
2036 * examples/hildon-pannable-area-example-4.c:
2037 (horizontal_movement),
2038 (vertical_movement),
2040 Replaced the names of enums in the HildonPannableArea:
2041 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2042 HILDON_MOVEMENT_MODE_*
2043 - HILDON_PANNABLE_AREA_MOV_* ->
2045 - Removed HildonPannableAreaIndicatorMode, now we
2048 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2050 * examples/hildon-pannable-area-touch-grid-example.c
2051 * examples/hildon-pannable-area-touch-list-example.c: Fix
2052 compilation warnings.
2054 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-gtk.c (hildon_gtk_button_new)
2057 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2058 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2059 images overriding the value of the "gtk-button-images" setting.
2061 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-check-button.c (hildon_check_button_new):
2064 Instead of using a custom container, display the label and the
2065 checkbox using the standard GtkButton API.
2067 * examples/hildon-check-button-example.c (main): Don't use
2068 hildon_check_button_set_label() anymore
2070 * src/hildon-check-button.h
2071 * src/hildon-check-button.c
2072 (hildon_check_button_set_label, hildon_check_button_get_label):
2073 Set as deprecated, now we're using gtk_button_{get,set}_label()
2075 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2079 GtkTreeview first line we detected it after the inclusion of the
2080 GtkWindowImpl in gtk+. We now check if the window is visible, not
2081 just if the pointer is over the window.
2082 (hildon_pannable_axis_scroll),
2083 (hildon_pannable_area_expose_event): Small style changes.
2085 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2087 * src/hildon-button.c: Update documentation.
2089 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2091 * examples/hildon-button-example.c: Add a switch to show images in
2094 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2096 * doc/hildon-docs.sgml: Some docs reorganization.
2098 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2100 * examples/hildon-pannable-area-touch-list-example.c
2102 * examples/hildon-pannable-area-touch-grid-example.c
2103 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2104 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2105 Fix memory leak when setting the tree model.
2107 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2111 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2113 * doc/hildon.types: Remove duplicated hildon_window_get_type
2114 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2115 documentation comment.
2117 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2119 * doc/Makefile.am: Complete list of private headers.
2121 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2123 * doc/hildon-docs.sgml
2124 * src/hildon-app-menu.c
2125 * src/hildon-bread-crumb.c
2126 * src/hildon-button.c
2128 * src/hildon-program.c
2129 * src/hildon-stackable-window.c
2130 * src/hildon-window.c: Lots of documentation updates.
2132 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2134 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2136 * configure.ac: Require Gtk+ 2.12.9 at least
2138 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c
2141 (hildon_pannable_area_scroll_indicator_fade),
2142 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2143 to protect the return of this timeout callbacks, avoiding deadlocks.
2145 2008-08-12 Christian Dywan <christian@imendio.com>
2148 * src/hildon-*.h: Ensure a consistent include order,
2149 include <gtk/gtk.h> instead of particular files and
2150 only include the topmost header in the gtk stack. See NB #39857
2152 2008-08-12 Christian Dywan <christian@imendio.com>
2154 * src/hildon-picker-dialog.c
2155 * src/hildon-touch-selector.c: Fix warnings about unused and
2156 uninitialized variables.
2158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2160 * examples/Makefile.am
2161 * examples/hildon-check-button-example.c: Example of the hildon
2164 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-window.h
2167 * src/hildon-window.c (hildon_window_class_init)
2168 (hildon_window_unset_program): Don't make
2169 hildon_window_unset_program a virtual function anymore.
2171 * src/hildon-stackable-window.c: Update documentation
2173 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2176 * doc/hildon-docs.sgml
2177 * doc/visual_index.xml
2178 * src/hildon-defines.c
2180 * src/hildon-helper.c
2181 * src/hildon-range-editor.c: Lots of documentation fixes.
2183 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2185 * examples/hildon-picker-button-multicolumn-example.c
2186 (create_touch_selector): Fix compilation warning.
2188 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2190 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2191 (hildon_pannable_area_button_release_cb)
2192 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2194 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2199 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2201 * src/hildon-bread-crumb-trail.h
2202 * src/hildon-date-editor.c
2203 * src/hildon-date-selector.c
2204 * src/hildon-pannable-area.c
2205 * src/hildon-picker-dialog.c
2206 * src/hildon-time-selector.c
2207 * src/hildon-touch-selector-entry.c
2208 * src/hildon-touch-selector.c
2209 * src/hildon-touch-selector.h: Misc documentation fixes
2211 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2213 * examples/hildon-date-editor-example.c (main): Updated date
2216 * examples/hildon-note-example.c (on_confirmation_clicked):
2217 Updated confirmation note example.
2219 * src/hildon-date-editor.c
2220 * src/hildon-note.c: Updated sample programs in documentation.
2223 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2225 * src/hildon-date-button.h:
2226 * src/hildon-picker-button.h:
2227 * src/hildon-time-button.c:
2228 * src/hildon-time-button.h:
2230 Some declarations changes to allow gtk-doc to document the widgets
2233 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2235 * src/hildon-date-button.c: Document the widget.
2236 * src/hildon-time-button.c: Document the widget.
2238 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-picker-button.c: Document the widget.
2241 * src/hildon-touch-selector-entry.c: Document the widget.
2243 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2245 * doc/hildon-docs.sgml
2248 * src/hildon-check-button.h
2249 * src/hildon-check-button.c: New functions to create the Hildon
2253 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2255 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-button.h
2258 * src/hildon-button.c
2259 (hildon_button_add_title_size_group)
2260 (hildon_button_add_value_size_group)
2261 (hildon_button_add_image_size_group)
2262 (hildon_button_add_size_groups): New functions to set size groups
2263 for the button labels and image.
2264 (hildon_button_new_full): Removed
2266 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2268 * src/hildon-time-selector.c
2269 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2270 in order to avoid a crash if gconf is not available
2272 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2274 * src/hildon-button.c (hildon_button_set_arrangement)
2275 (hildon_button_construct_child): Don't construct the button child
2276 before setting the arrangement.
2278 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-program-private.h
2281 * src/hildon-program.c
2282 * src/hildon-program.h
2283 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2284 (hildon_program_peek_window_stack)
2285 (hildon_program_pop_window_stack)
2286 (hildon_program_go_to_root_window): HildonProgram now has a
2287 separate list for stackable windows. Functions are provided to
2288 manage that list with a stack-like API.
2290 * src/hildon-stackable-window.c: Stackable window management is
2291 now much simpler with the new HildonProgram API. Windows no
2292 longer need to be manually added to the program, they're
2293 automatically pushed to the top of the stack when shown.
2295 * examples/hildon-stackable-window-example.c: Updated example to
2296 reflect the API changes.
2298 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2300 * src/hildon-touch-selector.c: Comment out unimplemented
2301 hildon_touch_selector_insert_column() to avoid a compile warning.
2303 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2305 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2306 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2307 (hildon_touch_selector_set_column_selection_mode),
2308 (_hildon_touch_selector_set_model),
2309 (hildon_touch_selector_set_model):
2311 Complete review of HildonTouchSelector documentation.
2313 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2315 * doc/hildon-docs.sgml
2319 * src/hildon-gtk.c: Convenience functions for standard Gtk
2320 widgets, used to easily perform frequent operations.
2322 * src/hildon-button-helpers.h
2323 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2325 * src/hildon-helper.h
2326 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2327 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2329 * src/hildon-button.h
2330 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2332 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-button.c (hildon_button_init)
2335 (hildon_button_set_arrangement, hildon_button_construct_child):
2336 Pack the image and the labels inside the same GtkAlignment so
2337 gtk_button_set_alignment() can be used
2339 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2341 * src/hildon-button.h
2342 * src/hildon-button.c
2343 (hildon_button_init, hildon_button_set_image)
2344 (hildon_button_set_image_position)
2345 (hildon_button_construct_child): New functions to add an image to
2348 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-date-button.c
2351 * src/hildon-picker-button.c
2352 * src/hildon-time-button.c
2353 * src/hildon-button.c:
2354 (hildon_button_class_init): "size-flags" renamed to "size"
2355 (hildon_button_set_title): Hide the title label if set to NULL.
2357 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2359 HildonButtonFlags split into HildonButtonArrangement (to set the
2360 button layout) and HildonSizeType (which can be used for any
2363 * src/hildon-button.h
2364 * src/hildon-button.c
2365 (hildon_button_class_init)
2366 (hildon_button_set_arrangement)
2367 (hildon_button_set_property): New "size-flags"
2368 property. "arrangement-flags" renamed to "arrangement".
2369 (hildon_button_new, hildon_button_new_with_text)
2370 (hildon_button_new_full): Constructors updated to reflect type changes.
2372 * src/hildon-helper.h
2373 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2374 to set the size of a widget.
2378 * src/hildon-button-helpers.c
2379 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2381 * src/hildon-date-button.c
2382 * src/hildon-date-button.h
2383 * src/hildon-picker-button.c
2384 * src/hildon-picker-button.h
2385 * src/hildon-time-button.c
2386 * src/hildon-time-button.h: Updated widgets to reflect
2387 HildonButton API changes.
2389 * examples/hildon-button-example.c
2390 * examples/hildon-date-button-example.c
2391 * examples/hildon-picker-button-example.c
2392 * examples/hildon-picker-button-multicolumn-example.c
2393 * examples/hildon-time-button-example.c
2394 * examples/hildon-touch-selector-entry-example.c
2395 * examples/hildon-touch-selector-example.c: Updated examples to
2396 reflect HildonButton API changes.
2398 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2400 * doc/hildon-docs.sgml:
2402 * examples/Makefile.am:
2403 * examples/hildon-touch-selector-entry-example.c:
2405 * src/hildon-touch-selector-entry.c:
2406 * src/hildon-touch-selector-entry.h:
2409 Moved HildonTouchSelectorEntry from sandbox. Added its
2410 documentation and examples.
2412 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/hildon-touch-selector.h:
2415 * examples/hildon-picker-button-multicolumn-example.c:
2416 (hildon_touch_selector_append_text_column): Add a gboolean
2417 parameter to determine if text must be centered in the column.
2419 * src/hildon-date-selector.c: (hildon_date_selector_init):
2420 * src/hildon-time-selector.c: (hildon_time_selector_init):
2421 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2422 (create_touch_selector): Update widgets and example to reflect
2425 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2427 * src/hildon-touch-selector.c:
2428 (hildon_touch_selector_set_active_iter): Set also the cursor in
2431 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2433 * doc/hildon-docs.sgml
2436 * src/hildon-toggle-button.c
2437 * src/hildon-toggle-button.h
2438 * src/hildon.h: Removed HildonToggleButton widget, a derived
2439 class is not necessary for this.
2441 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2443 * src/hildon-pannable-area.c,
2444 (hildon_pannable_area_realize),
2445 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2448 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2451 "done" button the default widget for the dialog.
2453 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-touch-selector.c:
2456 (hildon_touch_selector_class_init),
2457 (hildon_touch_selector_get_property),
2458 (_hildon_touch_selector_set_model),
2459 (_hildon_touch_selector_has_multiple_selection),
2460 (hildon_touch_selector_has_multiple_selection):
2461 Add a "has-multiple-selection" property with a virtual
2462 has_multiple_selection() method to allow derived classes to
2463 override the default value for it. See the method and property
2464 documentation for details.
2466 * src/hildon-touch-selector.h: Add the new API.
2468 * src/hildon-picker-dialog.c: (requires_done_button): Call
2469 hildon_touch_selector_has_multiple_selection() instead of
2470 determining the need for a button itself.
2472 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2474 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2475 (_hildon_touch_selector_set_model),
2476 (hildon_touch_selector_set_model): Move working code to
2477 _hildon_touch_selector_set_mode(). Call the class method instead.
2479 * src/hildon-touch-selector.h: Add (*set_model) to
2480 HildonTouchSelectorClass.
2482 Make hildon_touch_selector_set_model() a virtual method, so that
2483 derived classes can extend it and do fancy stuff with the model.
2485 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2487 * configure.ac: Set back the tarname in AC_INIT to hildon.
2489 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2493 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2494 instead of libesd (NB#86876). Volume handling is still an open issue.
2496 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2499 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2501 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2502 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2503 derived class to ease placement of an entry widget in
2504 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2505 end, where the selector columns are packed now.
2507 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-picker-button.c: Removed the simple _text() API.
2510 * src/hildon-picker-button.h: Likewise.
2512 * src/hildon-touch-selector.h:
2513 * src/hildon-touch-selector.c:
2514 (hildon_touch_selector_new_text),
2515 (hildon_touch_selector_append_text),
2516 (hildon_touch_selector_prepend_text),
2517 (hildon_touch_selector_insert_text):
2519 Moved the simple _text() API from HildonPickerButton to
2520 HildonTouchPicker, to provide better escalability and not to tie
2521 that API to HildonPickerButton.
2523 * examples/hildon-picker-button-example.c: (main): Example updated.
2525 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-button.c: Updated documentation.
2529 * examples/hildon-button-example.c: Add the posibility to create
2530 the buttons using horizontal layout for title and value.
2532 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-app-menu-private.h
2535 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2536 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2537 GtkSizeGroup for the filters, use the 'homogeneous' property of
2540 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2542 * examples/hildon-button-example.c: Updated example.
2544 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2546 * doc/hildon-docs.sgml:
2549 Update documentation.
2551 * examples/Makefile.am: Update renamed examples.
2553 * examples/hildon-picker-button-multicolumn-example.c:
2554 (create_touch_selector), (main): Update after the rename.
2556 * examples/hildon-touch-picker-example.c: Removed.
2557 * examples/hildon-touch-selector-example.c: (value_changed),
2558 (create_selector), (get_visible_content), (main): Renamed from
2559 hildon-touch-picker-example.c
2561 * src/Makefile.am: Updated renamed files.
2563 * src/hildon-date-button.c: (hildon_date_button_init),
2564 (hildon_date_button_get_date), (hildon_date_button_set_date):
2565 * src/hildon-date-selector.c: (hildon_date_selector_init),
2566 (_custom_print_func), (_update_day_model),
2567 (_manage_selector_change_cb),
2568 (hildon_date_selector_select_current_date),
2569 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2570 * src/hildon-date-selector.h:
2571 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2572 (hildon_picker_button_set_property),
2573 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2574 (hildon_picker_button_init), (hildon_picker_button_new_text),
2575 (hildon_picker_button_append_text),
2576 (hildon_picker_button_prepend_text),
2577 (hildon_picker_button_insert_text),
2578 (hildon_picker_button_set_selector),
2579 (hildon_picker_button_get_selector):
2580 * src/hildon-picker-button.h:
2581 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2582 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2583 (_update_title_on_selector_changed_cb), (requires_done_button),
2584 (_hildon_picker_dialog_set_selector),
2585 (hildon_picker_dialog_set_selector),
2586 (hildon_picker_dialog_get_selector):
2587 * src/hildon-picker-dialog.h:
2588 * src/hildon-time-button.c: (hildon_time_button_init),
2589 (hildon_time_button_get_time), (hildon_time_button_set_time):
2590 * src/hildon-time-selector.c: (hildon_time_selector_init),
2591 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2592 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2593 * src/hildon-time-selector.h:
2596 Massive code updates after the rename.
2598 * src/hildon-touch-picker.c: Removed.
2599 * src/hildon-touch-picker.h: Removed.
2601 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2602 (hildon_touch_selector_init), (hildon_touch_selector_map),
2603 (hildon_touch_selector_remove), (_default_print_func),
2604 (_selection_changed_cb), (_create_new_column),
2605 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2606 (hildon_touch_selector_append_text_column),
2607 (hildon_touch_selector_remove_column),
2608 (hildon_touch_selector_set_column_attributes),
2609 (hildon_touch_selector_insert_column),
2610 (hildon_touch_selector_get_num_columns),
2611 (hildon_touch_selector_get_column_selection_mode),
2612 (hildon_touch_selector_set_column_selection_mode),
2613 (hildon_touch_selector_set_print_func),
2614 (hildon_touch_selector_get_print_func),
2615 (hildon_touch_selector_get_active_iter),
2616 (hildon_touch_selector_set_active_iter),
2617 (hildon_touch_selector_get_selected_rows),
2618 (hildon_touch_selector_get_model),
2619 (hildon_touch_selector_set_model),
2620 (hildon_touch_selector_get_current_text),
2621 (_hildon_touch_selector_center_on_selected_items):
2622 * src/hildon-touch-selector.h: Renamed from
2623 hildon-touch-picker.[ch]
2625 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2626 references, code examples, and related documentation.
2628 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2630 * doc/hildon-docs.sgml
2633 * src/hildon-toggle-button.c
2634 * src/hildon-toggle-button.h
2635 * src/hildon.h: New HildonToggleButton widget.
2637 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-button.c: Add API documentation.
2640 (hildon_button_set_size_groups): Check input parameters
2642 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2644 * src/hildon-pannable-area.c
2645 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2646 effect after reaching the movement thredshold. This way we start
2647 using the distance after passing the thredshold.
2649 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2651 * src/hildon-button.c: (hildon_button_set_property): Use the
2652 appropriate g_value_get_flags() method.
2654 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2656 * doc/hildon-docs.sgml:
2659 Add the touch pickers, picker dialogs, and picker button widgets
2660 to the documentation.
2662 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2664 * src/hildon-button.c: (hildon_button_set_property),
2665 (hildon_button_class_init): Make "arrangement-flags" a proper
2666 G_TYPE_FLAGS derived property.
2668 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2670 * examples/Makefile.am: Add below examples.
2671 * examples/hildon-date-button-example.c:
2672 * examples/hildon-picker-button-example.c:
2673 * examples/hildon-picker-button-multicolumn-example.c:
2674 * examples/hildon-time-button-example.c:
2675 * examples/hildon-touch-picker-example.c:
2677 Add examples for the recently added touch pickers,
2678 picker dialogs, and picker button widgets.
2680 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-button.c: Add some API documentation
2684 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-button.h
2687 * src/hildon-button.c
2689 (hildon_button_new_with_text): New constructor to create a button
2690 with no text at all.
2691 (hildon_button_init, hildon_button_set_arrangement)
2692 (hildon_button_set_title, hildon_button_set_value)
2693 (hildon_button_set_text)
2694 (hildon_button_construct_child): Hide the value when it's not used
2695 so the rest of the text is properly aligned.
2696 Allow creating buttons with arbitrary widgets inside (not just
2697 title/value labels).
2699 * examples/hildon-button-example.c (vertical_buttons_window)
2700 (horizontal_buttons_window): Update example to use new API.
2702 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/Makefile.am: Added HildonTimeButton.
2705 * src/hildon-time-button.c: Added missing LGPL header.
2706 * src/hildon-time-button.h: Added missing LGPL header.
2707 * src/hildon.h: Add hildon-time-button.h
2709 Copied HildonTimeButton from sandbox to trunk. Future work on this
2710 widget must take place in trunk.
2712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/Makefile.am: Added HildonDateButton.
2715 * src/hildon-date-button.c: Update includes.
2716 * src/hildon.h: Add hildon-date-button.h
2718 Copied HildonDateButton from sandbox to trunk. Future work on this
2719 widget must take place in trunk.
2721 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/Makefile.am: Added HildonPickerButton.
2724 * src/hildon-picker-button.h: Update includes.
2725 * src/hildon.h: Add hildon-picker-button.h
2727 Copied HildonPickerButton from sandbox to trunk. Future work on
2728 this widget must take place in trunk.
2730 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2732 * src/Makefile.am: Added HildonPickerDialog.
2733 * src/hildon-picker-dialog.c: Update includes.
2734 * src/hildon.h: Add hildon-picker-dialog.h
2736 Copied HildonPickerDialog from sandbox to trunk. Future work
2737 on this widget must take place in trunk.
2739 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/Makefile.am: Added HildonTimeSelector.
2742 * src/hildon.h: Add hildon-time-selector.h
2744 Copied HildonTimeSelector widget from sandbox to trunk. Future
2745 work on this widget must happen in trunk.
2747 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2749 * src/Makefile.am: Added HildonDateSelector.
2750 * src/hildon.h: Add hildon-date-selector.h
2752 Copied HildonDateSelector widget from sandbox to trunk. Future
2753 work on this widget must happen in trunk.
2755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/Makefile.am: Added HildonTouchPicker.
2758 * src/hildon-touch-picker.c: Update includes.
2759 * src/hildon.h: Add hildon-touch-picker.h
2761 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2762 on this widget must happen in trunk.
2764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2766 * src/hildon-pannable-area.c:
2767 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2769 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2771 * examples/hildon-app-menu-example.c (main): Let the window
2774 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2776 * src/hildon-pannable-area.c
2777 (hildon_pannable_area_class_init): Set the min value of the
2778 overshoot properties to zero, which points out that not
2779 overshooting allowed.
2781 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2783 Modified the procedure to get the widget at a point inside the
2784 pannable area when using the movement type signals. Now the user
2785 has to call a function to get the child, that way we just
2786 calculate the child in case the user really want to use it and not
2789 * src/hildon-marshalers.list: Modified the marshallers, now we do
2790 not have the widget as a parameter.
2792 * src/hildon-pannable-area.c
2793 (hildon_pannable_area_motion_notify_cb),
2794 (hildon_pannable_area_class_init),
2795 (hildon_pannable_get_child_widget_at): Removed the widget
2796 parameter from the signal callback. We have also refactored the
2797 emission of the signals.
2799 * src/hildon-pannable-area.h: Added a new method to the API to
2800 calculate a widget at a point inside the pannable area,
2801 hildon_pannable_get_child_widget_at.
2803 * examples/hildon-pannable-area-example-4.c
2804 (horizontal_movement): Modified the example to use the new API,
2805 added condition to control which widget is under the event. This
2806 way we can avoid scrolling laterally over other widgets.
2808 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c
2811 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2812 modes, we stop getting the pointer events due to returning the
2813 callback without properly calling the get pointer again. Fixed
2814 also an error using the hscroll and vscroll.
2816 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-app-menu-private.h
2819 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2820 (hildon_app_menu_button_release, hildon_app_menu_init)
2821 (hildon_app_menu_class_init): Don't hide the menu on button
2822 release if the user didn't press outside first.
2824 * src/hildon-window.h
2825 * src/hildon-window.c (hildon_window_toggle_menu)
2826 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2827 hildon_window_toggle_menu a virtual function for the stackable
2828 window to override it.
2830 * src/hildon-stackable-window.h
2831 * src/hildon-stackable-window-private.h
2832 * src/hildon-stackable-window.c
2833 (hildon_stackable_window_realize)
2834 (hildon_stackable_window_finalize)
2835 (hildon_stackable_window_class_init)
2836 (hildon_stackable_window_init)
2837 (hildon_stackable_window_set_main_menu): New function to set the
2838 app menu of a HildonStackableWindow.
2840 * examples/hildon-app-menu-example.c: Remove the button to show
2841 the app menu, now it'll be shown when clicking on the title bar
2844 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2846 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2847 set the widget name if the arrangement flags do not specify
2850 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/hildon-button.c: (hildon_button_set_property),
2853 (hildon_button_class_init), (hildon_button_new_full),
2854 (hildon_button_set_arrangement): Added "arrangement-flags"
2857 Make the HildonButtonFlags a construction-only property, to allow
2858 subclasses to set them properly.
2860 2008-07-21 Tim Janik <timj@imendio.com>
2862 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2863 insertion position after backspace, so additional digits are appended,
2866 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pannable-area.c,
2869 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2870 TODO list, it was complete and removed the g_debug and g_print
2873 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2875 Added the movement modes to the hildon-pannable-area, with this
2876 modes the developers can control in which directions the widget
2877 can scroll. They can also connect to signals in order to do
2878 something when that happens, allowing applications scroll. There
2879 is an example uploaded showing how to use it.
2881 * examples/Makefile.am:
2882 * examples/hildon-pannable-area-example-4.c: Added this example of
2883 an application using the modes.
2885 * src/hildon-marshalers.list: Added a new marshaller for the new
2888 * src/hildon-pannable-area.h: Added new enumerations and flags in
2889 order to control the movement modes and the new signals to warn
2890 about the movements in the area.
2892 * src/hildon-pannable-area.c:
2893 (hildon_pannable_axis_scroll),
2894 (hildon_pannable_area_scroll),
2895 (hildon_pannable_area_motion_notify_cb),
2896 (hildon_pannable_area_get_property),
2897 (hildon_pannable_area_set_property),
2898 (hildon_pannable_area_map),
2899 (hildon_pannable_area_class_init),
2900 (hildon_pannable_area_init),
2901 (hildon_pannable_area_jump_to): Added the modes to control the
2902 movement in the widget. We have added properties to control it,
2903 signals to warn about the movements and refactored some code.
2905 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2907 Changes required in order to allow vfast_factor set to zero to
2910 * src/hildon-pannable-area.c:
2911 (hildon_pannable_area_button_press_cb): Changed the condition, it
2912 is required for not allowing click when vfast_factor is zero.
2913 (hildon_pannable_area_timeout): Initialized velocity variables
2914 when we stop moving, it was less than 1 but not zero and we need
2915 to check zero in some situations.
2916 (hildon_pannable_area_class_init): Changed the default value of
2917 the speed factor, now the button_press is just sent in case the
2918 speed is 2 per cent of the max speed.
2919 (hildon_pannable_area_init): Initialization with 0.
2921 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2923 * src/hildon-pannable-area.c,
2924 (hildon_pannable_area_get_topmost): replaced
2925 gdk_window_get_children with gdk_window_peek_children, this way we
2926 do not have to free the list because it is not a copy.
2928 (hildon_pannable_axis_scroll),
2929 (hildon_pannable_area_scroll),
2930 (hildon_pannable_area_timeout),
2931 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2932 two parameters that were only used inside the
2933 hildon_pannable_area_scroll function.
2935 * examples/hildon-pannable-area-example.c,
2936 (get_sawtooth_label): Fixed small memory leak.
2938 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2940 More checks for the case where the overshoot is bigger than the
2943 * src/hildon-pannable-area.c:
2944 (hildon_pannable_draw_vscroll),
2945 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2946 to draw the slider of the scrollbar under the other scrollbar.
2947 (hildon_pannable_area_expose_event): added new checks to control
2948 the drawing of the overshooting area rectangle, in case it is too
2949 big for the area of the widget.
2950 (hildon_pannable_area_size_allocate): add more checks to avoid
2951 setting a position to the child widget outside the area.
2953 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2955 * src/hildon-pannable-area.c
2956 (hildon_pannable_area_size_allocate): Added conditions to control
2957 when overshooting is bigger than the allocated space for the
2958 children, this avoids negative allocations.
2960 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2962 * doc/hildon-docs.sgml
2964 * examples/Makefile.am
2965 * examples/hildon-button-example.c
2967 * src/hildon-button.c
2968 * src/hildon-button.h
2969 * src/hildon.h: Initial version of the new HildonButton widget,
2972 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-pannable-area.c:
2975 (hildon_pannable_area_button_press_cb),
2976 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2977 (hildon_pannable_area_motion_notify_cb),
2978 (hildon_pannable_area_button_release_cb),
2979 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2980 (hildon_pannable_area_jump_to_child):
2982 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2984 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2986 * examples/Makefile.am
2987 * examples/hildon-pannable-area-touch-grid-example.c
2988 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2989 the Hildon Touch List and Hildon Touch Grid using the
2990 HildonPannableArea widget.
2992 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2994 * src/hildon-pannable-area.c,
2995 (hildon_pannable_area_button_press_cb),
2996 (hildon_pannable_area_refresh),
2997 (hildon_pannable_area_scroll),
2998 (hildon_pannable_area_motion_notify_cb),
2999 (hildon_pannable_area_button_release_cb),
3000 (hildon_pannable_area_expose_event),
3001 (hildon_pannable_area_add),
3002 (hildon_pannable_area_remove),
3003 (hildon_pannable_area_realize),
3004 (hildon_pannable_area_size_allocate),
3005 (hildon_pannable_area_class_init),
3006 (hildon_pannable_area_init),
3007 (hildon_pannable_area_scroll_to_child),
3008 (hildon_pannable_area_jump_to_child): Fixed the problem of
3009 removing the child from the GtkBin, we have rearranged the widget
3010 hierarchy, now there is no GtkAlignment which was not doing
3011 anything interesting but breaking some of the assumptions of
3012 GtkContainer. Now developers if they want to add a GtkAlignment
3013 they could, but it is not inside the area.
3015 We had to review the whole allocation/expose process, now it is
3016 improved and we save at least three signals which would be saving
3017 some time when rendering the widget. The allocation of the
3018 scrollbars is now made in the allocate method as usual.
3020 We have also added some conditions in order to control when there
3021 is no child of the pannable area. Maybe we will need more work
3024 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3026 * src/hildon-pannable-area.c,
3027 (hildon_pannable_area_dispose): Released the fade-out timeout when
3028 disposing the widget.
3030 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3032 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3033 zero, we are going to use that property in order to deactivate the
3035 (hildon_pannable_axis_scroll),
3036 (hildon_pannable_area_size_allocate): Added conditions to control
3037 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3038 call, now it is called in all situations and we can remove calls
3039 in the allocate method.
3040 (hildon_pannable_area_map): Control the situation when
3041 overshoot_max is zero, we do not need the timeout.
3042 (hildon_pannable_area_class_init): Added documentation in order to
3043 point out that setting zero to overshoot_max means deactivate
3046 NOTE: removed trailing whitespaces from my previous comments of
3049 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-pannable-area.c
3052 (hildon_pannable_area_get_property),
3053 (hildon_pannable_area_set_property),
3054 (hildon_pannable_area_map),
3055 (hildon_pannable_area_class_init),
3056 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3057 to cause the widget give a hint about its panning abilities upon
3060 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-pannable-area.c: Several documentation improvements.
3064 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-program.c
3067 * src/hildon-stackable-window.c: Update documentation.
3069 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-stackable-window.c (get_previous_window_if_last):
3072 Renamed get_last_window()
3073 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3074 (hildon_stackable_window_unset_program):
3076 (get_previous_window_if_last):
3077 Detect if the window hasn't been added to a HildonProgram.
3079 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3081 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-pannable-area.c
3084 (hildon_pannable_area_button_press_cb),
3085 (hildon_pannable_axis_scroll),
3086 (hildon_pannable_area_scroll),
3087 (hildon_pannable_area_timeout),
3088 (hildon_pannable_calculate_vel_factor),
3089 (hildon_pannable_area_get_property),
3090 (hildon_pannable_area_set_property),
3091 (hildon_pannable_area_class_init),
3092 (hildon_pannable_area_init),
3093 (hildon_pannable_area_scroll_to),
3094 (hildon_pannable_area_jump_to),
3095 (hildon_pannable_area_scroll_to_child),
3096 (hildon_pannable_area_jump_to_child):
3097 * src/hildon-pannable-area.h: Added the new API functions:
3098 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3099 hildon_pannable_area_scroll_to_child,
3100 hildon_pannable_area_jump_to_child
3103 * examples/Makefile.am
3104 * examples/hildon-pannable-area-example-2.c
3105 * examples/hildon-pannable-area-example-3.c: Added these two new
3106 examples in order to test and show how the new APIs work.
3108 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3110 * examples/hildon-stackable-window-example.c (new_window):
3111 * src/Makefile.am (noinst_HEADERS):
3112 * src/hildon-program.c (hildon_program_go_to_root_window):
3113 * src/hildon-program.h:
3114 * src/hildon-stackable-window-private.h:
3115 * src/hildon-stackable-window.c:
3116 * src/hildon-stackable-window.h:
3117 Create hildon-stackable-window-private.h
3118 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3120 * examples/hildon-app-menu-example.c (create_menu):
3121 * examples/hildon-hvolumebar-insensitive-example.c (main):
3122 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3123 * examples/hildon-toolbar-seekbar-example.c (main):
3124 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3125 * src/hildon-banner.c (hildon_banner_set_property):
3126 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3127 Fix compilation warnings
3129 * src/hildon-window.c:
3132 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-stackable-window.c
3135 (hildon_stackable_window_unset_program):
3136 Calculate correctly whether to show the previous window if the
3137 last one is removed from the stack.
3138 (hildon_stackable_window_go_to_root_window):
3139 Send delete events starting from the topmost window.
3140 Stop if one of the windows is not destroyed.
3142 (hildon_stackable_window_delete_event)
3143 (hildon_stackable_window_class_init):
3144 Ignore the delete event if the window is not the topmost one.
3146 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3148 * src/hildon-pannable-area.c
3149 (hildon_pannable_area_expose_event): Fixed a problem when
3150 selecting the background color of the scrollbars.
3152 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3154 * examples/hildon-stackable-window-example.c
3155 * src/hildon-stackable-window.c
3156 * src/hildon-stackable-window.h
3157 hildon_stackable_window_go_home() renamed to
3158 hildon_stackable_window_go_to_root_window()
3159 Send delete events to windows rather than closing them with
3160 gtk_widget_destroy()
3162 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-pannable-area.c
3165 (hildon_pannable_area_button_release_cb): Fix overshooting in
3168 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-pannable-area.c
3171 (hildon_pannable_area_init): Initially show the scroll indicators.
3172 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3174 Add initial effect showing the widget is pannable.
3176 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-pannable-area.c
3179 (hildon_pannable_area_class_init)
3180 (hildon_pannable_area_set_property)
3181 (hildon_pannable_area_get_property)
3182 (hildon_pannable_area_button_press_cb):
3183 New 'velocity_fast_factor' property to decide which velocity is
3186 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-pannable-area.c
3189 (hildon_pannable_draw_hscroll)
3190 (hildon_pannable_draw_vscroll):
3191 Use float variables to calculate the size of the scrollbars to
3192 avoid error propagation and resizing during scrolling.
3194 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3196 * src/hildon-pannable-area.c
3197 (hildon_pannable_draw_vscroll)
3198 (hildon_pannable_draw_hscroll):
3199 Define a minimum size for the scroll bars
3201 * src/hildon-stackable-window.c
3202 (hildon_stackable_window_go_home): Fix compilation warning
3203 (get_last_window): Minor optimizations
3204 (hildon_stackable_window_class_init): Fix initialization of
3207 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3209 * src/hildon-stackable-window.c: Fixed typos in doc
3211 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3213 * src/hildon-pannable-area.c
3214 (hildon_pannable_area_scroll):
3215 Calculate here whether we need to scroll instead of using the booleans
3216 that tell us whether to /draw/ the scrolling bars.
3218 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-app-menu.h
3222 * src/hildon-app-menu.c
3223 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3224 multiple filter groups related code and API. Now we support only
3226 * examples/hildon-app-menu-example.c:
3228 Update to reflect API changes.
3230 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3232 * src/hildon-stackable-window.c
3233 (hildon_stackable_window_class_init):
3234 Add hildon_stackable_window_realize.
3235 (hildon_stackable_window_realize):
3236 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3237 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3238 to apply theming and behavior specific to HildonStackableWindow
3241 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3243 * src/hildon-note.c (hildon_note_button_release):
3244 Close information notes also when tapping on them
3246 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3248 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3249 ELASTICITY, refactor and review, fix some issues with drawing
3252 * src/hildon-pannable-area.c:
3253 (hildon_pannable_area_button_press_cb): removed the conditions to
3254 avoid clicks when overshooting. It is not required
3256 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3257 define. Refatored and reviewed the code, now we do not need to
3258 manage velocity in motion_notify.
3260 (hildon_pannable_area_motion_notify_cb): We have moved the code
3261 that controls the area_scroll to the axis_scroll function and get
3262 rid of duplicated code.
3264 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3266 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3268 (hildon_pannable_draw_vscroll),
3269 (hildon_pannable_draw_hscroll): Fixed the problems with the
3270 scrollbar drawing, now we do not use two surfaces, it is easier
3271 and saves resources.
3273 (hildon_pannable_area_get_property): Style modification.
3275 (hildon_pannable_area_class_init): Changed some default values.
3277 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-stackable-window.c: Fix some typos in the
3282 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3284 * src/hildon-dialog.c:
3285 Change indentation style
3288 (hildon_note_button_release):
3289 Use root coordinates to check if the release event happened
3292 * src/hildon-app-menu.c
3293 (hildon_app_menu_button_release):
3294 Remove unnecessary check
3296 * examples/hildon-app-menu-example.c
3298 Add cast to fix warning
3300 * src/hildon-app-menu.c
3301 (hildon_app_menu_class_init):
3302 New inner-border style property.
3303 Set all default spacings to 16
3304 (hildon_app_menu_init):
3305 Use vertical-spacing to set the space between filter buttons and
3306 regular menu buttons.
3307 Set the default container border using the inner-border value.
3309 * examples/hildon-app-menu-example.c
3311 Don't set the menu border explicitly, now we have the inner-border
3312 style property for that.
3314 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-app-menu.c (hildon_app_menu_init):
3317 Make the window modal
3319 * src/hildon-note.c (hildon_note_map)
3320 * src/hildon-app-menu.c (hildon_app_menu_map):
3321 Destroy the grab window if we're unable to grab the pointer
3323 * src/hildon-app-menu-private.h
3324 * src/hildon-app-menu.c
3325 (hildon_app_menu_init, hildon_app_menu_finalize)
3326 (hildon_app_menu_map, hildon_app_menu_unmap)
3327 (hildon_app_menu_button_release)
3328 (grab_transfer_window_get):
3329 Bring back the grab window
3330 (hildon_app_menu_realize):
3331 Decorate the window, set WM hint for Matchbox
3333 * src/hildon-note.c (hildon_note_realize):
3334 * src/hildon-banner.c (hildon_banner_realize):
3335 Add WM hints for Matchbox
3337 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-app-menu-private.h
3340 * src/hildon-app-menu.c
3341 (hildon_app_menu_init, hildon_app_menu_finalize)
3342 (hildon_app_menu_map, hildon_app_menu_unmap)
3343 (hildon_app_menu_button_release):
3344 Remove the grab window, it's not needed anymore
3346 * src/hildon-program.c
3347 Fixed typo in documentation
3349 * src/hildon-app-menu.h
3350 * src/hildon-app-menu.c
3351 * examples/hildon-app-menu-example.c
3352 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3354 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3357 Added new transfer_window and close_if_pressed_outside private
3359 (hildon_note_rebuild):
3360 Don't add a cancel button to the information note. It will be
3361 closed when tapping outside
3362 Remove the comment about the OK button in the documentation
3363 (hildon_note_realize):
3364 Set the notification type hint
3365 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3366 Grab/ungrab pointer and keyboard if the note has to be closed when
3368 (hildon_note_button_release):
3369 Close the note when tapping outside (if applicable)
3371 * src/hildon-app-menu.c
3372 Grab/ungrab pointer and keyboard on map/unmap
3373 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3374 Close the menu on button release, not button press
3376 * src/hildon-banner.c
3377 (hildon_banner_set_property)
3378 (hildon_banner_check_position):
3379 Make the banner use the full width of the screen
3380 (hildon_banner_show_information)
3381 (hildon_banner_show_information_with_markup):
3382 Don't display an icon by default
3384 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3386 Added fading scrollbars and adapted all the overshooting code to
3387 horizontal scrolling. We have also fixed bugs with overshooting
3388 and current fading implementation.
3390 * src/hildon-pannable-area.c
3391 (hildon_pannable_area_scroll_indicator_fade): Time out function
3392 used to change the transparency of the scrollbars.
3394 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3395 control and fixed a problem with fading, we now remove the fade
3396 timeout before adding a new one.
3398 (hildon_pannable_axis_scroll):
3399 (hildon_pannable_area_scroll):
3400 (hildon_pannable_area_timeout): Added this functions so we can use
3401 the scroll code both for vertical and horizontal.
3403 (hildon_pannable_area_motion_notify_cb):
3404 (hildon_pannable_area_button_release_cb): Added the horizontal
3405 scrolling control, fixed a problem with the overshooting timeout.
3407 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3408 painting of the scrolls.
3410 (hildon_pannable_draw_vscroll):
3411 (hildon_pannable_draw_hscroll):
3412 (hildon_pannable_area_expose_event):
3413 Draw both scrollbars and rectangles in the overshooting area.
3415 (hildon_pannable_area_get_property):
3416 (hildon_pannable_area_set_property):
3417 Modified the overshoot property to overshoot_max
3419 (hildon_pannable_area_map):
3420 Replaced the comments symbols.
3422 (hildon_pannable_area_size_allocate):
3423 (hildon_pannable_area_class_init):
3424 (hildon_pannable_area_init): Added horizontal scroll, fading
3425 effect properties, fixed a problem when overshooting in the bottom
3428 * examples/hildon-pannable-area-example.c:
3429 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3430 looks better in the example.
3432 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-window.c
3435 * src/hildon-window.h
3436 (hildon_window_class_init)
3437 (hildon_window_unset_program)
3438 (hildon_window_unset_program_real):
3439 Make unset_program a virtual function
3441 * src/hildon-stackable-window.c
3442 * src/hildon-stackable-window.h
3443 Added hildon_stackable_window_go_home()
3445 * examples/Makefile.am
3446 * examples/hildon-stackable-window-example.c
3447 HildonStackableWindow example
3449 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3451 * hildon-pannable-area.c: Added the overshoot property and removed
3452 the OVERSHOOT define. Fixed an indent style error.
3453 (hildon_pannable_area_motion_notify_cb):
3454 (hildon_pannable_area_get_property):
3455 (hildon_pannable_area_set_property): Add overshoot property.
3457 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3460 (hildon_pannable_area_class_init): Installed the new property.
3462 * hildon-pannable-area-example.c: Added a sawtooth function, this
3463 way it is easier to check the movement in the pannable.
3464 (get_sawtooth_label): Added this function.
3465 (main): Now we get the labels from the new get_sawtooth_label
3468 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-app-menu.h
3471 * src/hildon-app-menu.c
3472 Renamed API variables for consistency
3474 (hildon_app_menu_popup): Use also the default window size to
3475 decide where to place the menu
3477 (hildon_app_menu_init, hildon_app_menu_class_init): New
3478 external-border style property
3480 2008-05-26 Michael Natterer <mitch@imendio.com>
3482 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3483 widget_class->tap_and_hold_setup signal slot doesn't exist any
3484 longer, stop overriding it.
3486 (hildon_time_editor_init): g_signal_connect() to the
3487 tap-and-hold-setup signal instead.
3489 (hildon_time_editor_entry_keypress): add cast to fix warning.
3491 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3493 * doc/hildon-docs.sgml
3495 * examples/Makefile.am
3496 * examples/hildon-app-menu-example.c
3498 * src/hildon-app-menu-private.h
3499 * src/hildon-app-menu.c
3500 * src/hildon-app-menu.h
3502 New HildonAppMenu widget
3504 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3506 Rearranged the inheritance of the pannable area, now it inherits
3507 from GtkBin. This will allow us to control the event_window and
3508 the allocation process of the widget, required for some effects.
3510 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3511 GtkBin structures. * src/hildon-pannable-area.c: Added the
3512 event_window variable.
3513 (hildon_pannable_area_button_press_cb):
3514 (hildon_pannable_area_button_release_cb):
3515 (hildon_pannable_area_motion_notify_cb):
3516 Changed the signature of the method, now we override the event
3517 callback instead of connecting to the signal.
3519 (hildon_pannable_area_realize):
3520 (hildon_pannable_area_unrealize):
3521 (hildon_pannable_area_map):
3522 (hildon_pannable_area_unmap):
3523 (hildon_pannable_area_size_allocate):
3524 Added functions to control the widget construction. We add a
3525 INPUT_ONLY window and we put it over the widgets inside the
3526 container, this event_window handles the events.
3528 (hildon_pannable_area_class_init):
3529 Replaced the signal connections with overrides of the event
3532 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3534 Bouncing effect added when touching the borders, you can change
3535 the elasticity of the border changing the ELASTICITY define.
3537 * src/hildon-pannable-area.c: Added ELASTICITY define.
3538 (hildon_pannable_area_timeout): Added inverse velocity when
3539 touching the border of the child widget, that causes a bounce.
3541 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3543 Improved performance, we now do not go to the X server in order to
3544 get the list of window children. Apparently the effect is the
3545 same, we have to be careful and check if this breaks something in
3548 * src/hildon-pannable-area.c:
3549 (get_ordered_children): Removed this function.
3550 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3551 the children windows function with gdk_window_get_children.
3553 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3555 * src/hildon-pannable-area.c:
3556 (hildon_pannable_area_dispose): Fixed a crash when closing the
3557 window and kinetics is activated.
3559 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-pannable-area.h
3562 * src/hildon-pannable-area.c
3563 Changed indentation style to meet the one used in Hildon
3565 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3567 Reviewed the interaction of the AUTO mode, now we use the time
3568 attribute of the events and calculate the velocity in the motion,
3569 doing a gimp like calculation. The velocity is calculated in each
3570 motion event using the last velocity and the current one, the
3571 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3573 * src/hildon-pannable-area.c: Replaced the time based algorithm
3575 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3576 timeout for the AUTO mode when we are still moving the cursor. We
3577 added also the velocity calculation in this function.
3578 (hildon_pannable_area_button_release_cb): launch the timeout in
3579 case we are in AUTO mode. There are still some constants here that
3580 come from the old implementation that should be reviewed and
3583 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3585 * doc/hildon-docs.sgml
3588 * src/hildon-stackable-window.c
3589 * src/hildon-stackable-window.h
3591 New HildonStackableWindow widget
3593 * examples/hildon-dialog-example.c
3594 * examples/hildon-pannable-area-example.c
3597 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-dialog.c
3600 (hildon_dialog_new_with_buttons): New constructor.
3602 * examples/hildon-dialog-example.c
3603 (main): Update the example to use the new
3604 hildon_dialog_new_with_buttons().
3606 * examples/hildon-pannable-area-example.c
3607 (main): Update example.
3609 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3611 * doc/hildon-docs.sgml
3613 Added HildonPannableArea to the documentation.
3615 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3617 * doc/visual_index.xml
3618 Fix reference to HildonLoginDialog in documentation
3620 * doc/hildon-docs.sgml
3622 * examples/Makefile.am
3623 * examples/hildon-dialog-example.c
3625 * src/hildon-dialog.c
3626 * src/hildon-dialog.h
3628 New HildonDialog widget.
3630 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-pannable-area.c
3633 Merge latest changes (r4318, r4342) from libmokoui trunk
3635 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3637 * examples/Makefile.am
3638 * examples/hildon-pannable-area-example.c
3640 * src/hildon-pannable-area.c
3641 * src/hildon-pannable-area.h
3643 New HildonPannableArea widget.
3645 2008-04-15 18:05:19 <timj@imendio.com>
3647 * src/hildon-banner.c: revert the recent change, that introduced
3648 gtk_window_present() calls. this reopens:
3649 Bug 78481 - [freetest] information banners are hidden under browser menu
3650 But resolves another variant of:
3651 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3653 2008-04-15 13:21:13 <timj@imendio.com>
3655 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3656 recreated its layout, spotted by Kris. this fixes all remaining
3657 artefacts and stability issues with the banner code. in particular:
3658 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3660 2008-04-14 16:52:59 <timj@imendio.com>
3662 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3663 operating on unrealized widgets, fixes:
3664 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3666 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3668 2008-04-09 Kristian Rietveld <kris@imendio.com>
3670 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3671 makes banner disappear.
3672 Fixes: NB#79182: info banner flickering with certain message lengts.
3674 * src/hildon-banner.c (hildon_banner_constructor),
3675 (hildon_banner_init), (hildon_banner_set_text),
3676 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3677 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3678 FALSE, reset size requests of label and banner,
3679 (force_to_wrap_truncated): when the text is too wide, always enforce
3680 the maximum possible width instead of recalculating it from the
3681 layout; enforce the maximum banner height of 3 lines,
3682 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3683 nicer wrapping and no truncated chars if space gets tight.
3685 * src/hildon-banner-private.h: add has_been_wrapped and
3686 has_been_truncated fields.
3688 2008-04-07 Sven Herzberg <sven@imendio.com>
3690 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3691 local values in hildon_date_editor_size_allocate
3693 * src/hildon-date-editor.c: moved the real allocation code into the
3696 2008-04-07 Sven Herzberg <sven@imendio.com>
3698 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3699 local values in hildon_date_editor_size_allocate
3701 * src/hildon-date-editor.c: merged the two if() branches together
3703 2008-04-07 Sven Herzberg <sven@imendio.com>
3705 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3706 local values in hildon_date_editor_size_allocate
3708 * src/hildon-date-editor.c: changed the arguments of the if()
3711 2008-04-07 Sven Herzberg <sven@imendio.com>
3713 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3714 local values in hildon_date_editor_size_allocate
3716 * src/hildon-date-editor.c: split the calculation of the allocation
3717 from the real allocation
3719 2008-03-27 Michael Natterer <mitch@imendio.com>
3721 Fixes: NB#81696: The passcode is not overwritten even after
3724 * src/hildon-code-dialog.c
3725 (hildon_code_dialog_button_clicked)
3726 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3727 because that doesn't overwrite selected text. Instead, emit the
3728 "commit" signal on the entry's im_context so the entry's normal
3729 insert logic is triggered. Set the cursor to the end of the entry
3730 after each insert operation so that we *only* insert in the middle
3731 of the text if something was selected.
3733 2008-03-27 Michael Natterer <mitch@imendio.com>
3735 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3736 selector cannot be opened
3738 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3739 when the popup color selector is created. Please connect to this
3740 signal in order to set the dialog's help ID.
3742 2008-03-25 Sven Herzberg <sven@imendio.com>
3744 Fixes: MB#1212: Hide info banners (infoprints) on click
3746 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3747 extracted the close event simulation into an extra function
3748 (hildon_banner_button_press_event): simulate a close event and destroy
3749 the widget if the event wasn't handled
3750 (hildon_banner_class_init): added the button_press_event handler
3751 (hildon_banner_init): added button-press events to the widget
3753 2008-03-25 Sven Herzberg <sven@imendio.com>
3755 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3756 Patch from: Mohammad Anwari <mdamt@maemo.org>
3758 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3759 instead of the right in RTL mode
3760 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3761 breadcrumb button list in RTL mode
3762 * src/hildon-caption.c: mirror the appearance of the caption widget in
3764 * src/hildon-date-editor.c: mirror appearance of the date editor in
3766 * src/hildon-time-editor.c: mirror appearance of the time editor in
3768 * src/hildon-window.c: fix the position of the popup in RTL mode
3770 2008-03-25 Sven Herzberg <sven@imendio.com>
3772 Amendment to the fix of NB#22072. Fix compilation.
3774 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3776 2008-03-19 Sven Herzberg <sven@imendio.com>
3778 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3781 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3782 timeout id properly when the timeout will disappear this leaves no
3783 artifacts around in the destroy(); there will only be the timeout
3784 created by hildon_banner_ensure_timeout() and adding a new timeout
3785 will also work if the timeout gets removed because the timeout_handler
3788 2008-03-19 Michael Natterer <mitch@imendio.com>
3790 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3792 * src/hildon-volumebar.c
3793 * src/hildon-vvolumebar.c
3794 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3795 the widget becomes focussable at all.
3797 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3798 set the focus to wither the mute button or the volumebar.
3800 Remove own "can-focus" property and instead listen to
3801 notify::can-focus in order to update the widget's state.
3803 Implement GtkWidget::focus() and make sure we can also *leave* the
3804 widget, not only enter it, depending on volumebar orientation and
3805 requested focus direction.
3807 Clean up set_mute() to cooperate nicely with all the above.
3809 2008-03-04 Michael Natterer <mitch@imendio.com>
3811 Fixes: NB#78481: information banners are hidden under browser menu
3813 * src/hildon-banner.c: call gtk_window_present() on the banners so
3814 they are risen if they are already visible.
3816 2008-03-03 Sven Herzberg <sven@imendio.com>
3818 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3820 * examples/hildon-window-menu-example.c: (main): extended the window
3821 menu example to serve as a testcase for automatically added
3822 accelerator groups, too
3823 * src/hildon-window.c: (hildon_window_add_accel_group),
3824 (hildon_window_set_menu): added patch by Tommi Komulainen
3826 2008-03-03 Sven Herzberg <sven@imendio.com>
3828 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3830 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3831 knowledge about the border allocators used within GTK+
3833 2008-02-26 Sven Herzberg <sven@imendio.com>
3835 Fixes: MB#2981: Build with asserts broken
3837 * src/hildon-date-editor.c,
3838 * src/hildon-number-editor.c,
3839 * src/hildon-time-editor.c,
3840 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3841 the proper GType instance check
3843 2008-02-25 Sven Herzberg <sven@imendio.com>
3845 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3847 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3848 * examples/hildon-window-menu-example.c: (main): explicitly show
3850 * src/hildon-window.c:
3851 (hildon_window_set_main_menu): moved most of the code from set_menu()
3852 to this place; skipped the call to gtk_widget_show_all(); also didn't
3853 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3854 (hildon_window_set_menu): removed most of the code, just keep the
3855 questionable gtk_widget_show_all()
3856 * src/hildon-window.h: added the new function and deprecate the old
3859 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3865 * debian/changelog: Updating.
3867 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3870 * pkgconfig/Makefile.am:
3871 * pkgconfig/hildon.pc.in:
3874 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3875 use newly created API_MAJOR_VERSION.
3877 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3883 * debian/changelog: Updating.
3885 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3887 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3889 Add outer_border style property, we use it but don't define it (!).
3893 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3895 * examples/hildon-bread-crumb-trail-example.c (main):
3899 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3901 Fix logic for the bread crumb trail node removal.
3905 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3911 * debian/changelog: Updating.
3913 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3915 Patch by Alejandro to get/set passwords dialogs accesibility.
3917 * hildon-1/src/hildon-get-password-dialog.c:
3918 * hildon-1/src/hildon-set-password-dialog.c:
3919 Set atk_set_name to the passwd entries in order to allow
3920 accessibility by name on this entries.
3922 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3927 * debian/control: Updating gtk dep.
3929 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3931 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3932 USE_MAEMO_GTK is enabled.
3934 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3936 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3937 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3939 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3945 * debian/changelog: Updating.
3947 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3949 * examples/Makefile.am:
3950 * examples/hildon-logical-color-example.c:
3951 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3952 applied + adding a test case. Fixes: NB#71660.
3954 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3956 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3957 to be visible, fixes warning on map for windows without toolbars.
3959 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3961 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3962 2.11.0, add a check for that besides the MAEMO_GTK check.
3964 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3970 * debian/changelog: Updating.
3972 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3974 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3975 visibility. Fixes: NB#70842 and MB#615.
3977 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3979 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3980 set the separator as no-show-all so it doesn't unintentionally appear when
3981 someone does a show_all.
3983 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3985 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3986 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3987 toplevel item. Fixes: NB#62031
3989 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3991 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3992 fix the name of the function in the docs.
3994 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4000 * debian/changelog: Updating.
4002 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4004 * examples/hildon-banner-long-example.c: Adding a test-case for long
4007 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4009 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4011 * src/hildon-color-chooser-dialog.c:
4012 * src/hildon-color-chooser.c:
4013 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4014 memory leaks in font selector and color selector. Fixes: NB#70499 and
4017 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4019 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4021 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4023 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4024 little bit bigger. Fixes: #NB63694.
4026 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4032 * debian/changelog: Updating.
4034 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4037 * doc/hildon-docs.sgml:
4038 * doc/images/bread-crumb-trail.png:
4039 * doc/images/calendar-popup.png:
4040 * doc/images/caption.png:
4041 * doc/images/code-dialog.png:
4042 * doc/images/color-button.png:
4043 * doc/images/color-chooser-dialog.png:
4044 * doc/images/color-chooser.png:
4045 * doc/images/controlbar.png:
4046 * doc/images/date-editor.png:
4047 * doc/images/font-selection-dialog.png:
4048 * doc/images/get-password-dialog.png:
4049 * doc/images/hvolumebar.png:
4050 * doc/images/login-dialog.png:
4051 * doc/images/note.png:
4052 * doc/images/number-editor.png:
4053 * doc/images/range-editor.png:
4054 * doc/images/seekbar.png:
4055 * doc/images/set-password-dialog.png:
4056 * doc/images/sort-dialog.png:
4057 * doc/images/time-editor.png:
4058 * doc/images/time-picker.png:
4059 * doc/images/vvolumebar.png:
4060 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4061 Adding the bread-crumb-trial and helpers to the documentation.
4063 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * examples/hildon-find-toolbar-example.c:
4066 * src/hildon-find-toolbar.c:
4067 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4068 actually continue firing the other handlers if connected. Adding a new
4070 hildon_find_toolbar_get_last_index that gets the index of the most
4071 recently added (last) item. Fixes: NB#52301.
4073 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4075 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4076 behaviour. Fixes: NB#68610.
4078 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4080 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4083 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4086 when realizing the banner. Should make the infonbanner effect a bit more
4089 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4091 * src/hildon-volumebar.c:
4092 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4093 hildon_volumebar_set_range_insensitive_message and
4094 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4096 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4098 * src/hildon-window.c: Fixing the border freeing on destroy.
4100 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4102 * src/hildon-code-dialog-private.h:
4103 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4104 kw keyboard support in HildonCodeDialog.
4106 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * debian/changelog: Updating.
4114 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4116 * src/hildon-date-editor.c:
4117 * src/hildon-number-editor.c:
4118 * src/hildon-private.c:
4119 * src/hildon-private.h:
4120 * src/hildon-time-editor.c:
4121 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4122 handling in subclassed composite widgets. Fixes: NB#66628.
4124 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4126 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4127 from destroy_ callback as it introduces problems in async dbus signal
4128 handlers. Fixes NB#66673.
4130 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * examples/hildon-hvolumebar-example.c:
4133 * src/hildon-volumebar.c: Improving the focus handling in the
4134 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4135 set_property accessor so that "mute" property can be actually set. I'm
4136 scared that nobody noticed it's totally broken.
4138 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4140 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4143 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4145 * src/hildon-calendar.c:
4146 * src/hildon-number-editor.c:
4147 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4148 matches the spec of 6 chars per second. Fixes: NB#60489.
4150 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4152 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4153 gtk_style_lookup_color sometime returns FALSE even though color was
4154 found and values were filled properly. Weird. Removing the warning for the
4157 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4159 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4160 expand vertically. Adding some extra space to the find toolbar buttons to
4161 make them thumbable. Fixes NB#66060.
4163 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4165 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4166 popup with "Ok" and "Cancel". Fixes NB#59299.
4168 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4170 * src/hildon-calendar.c: Process all window updates before executing next
4171 timeout. Fixes: NB#54146.
4173 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4179 * debian/changelog: Updating.
4181 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4183 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4184 the client event and ignore it, since we use the delete event to close
4187 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4189 * src/hildon-helper.c: Remove the bogus warning about color not being
4190 found. Fixes NB#58352.
4192 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4194 * examples/Makefile.am:
4195 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4196 HildonSeekbar widget inside a toolbar.
4198 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4200 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4201 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4202 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4203 don't want to be closed by non-temporary windows on map.
4205 Also use G_DEFINE_TYPE instead of manually typed code.
4207 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4214 * debian/rules: Updating.
4216 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4218 * examples/Makefile.am:
4219 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4220 bug NB#61128. Strangely it works.
4222 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4224 * src/hildon-date-editor.c: When the date editor entry has been changed
4225 but the numbers of characters < max, turn off the skip validation flag.
4226 Prevents a situation when we enter first a valid year and later re-write
4227 it with an invalid one. Fixes NB#60154.
4229 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4231 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4232 code dialog. Fixes NB#64355.
4234 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4236 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4237 switching the page. Fixes NB#49374.
4239 * examples/Makefile.am:
4240 * examples/hildon-wizard-dialog-example.c: Adding an example for
4241 HildonWizardDialog that shows how to handle manual sensitivity setting on
4244 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4248 * src/hildon-version.h.in:
4249 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4251 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4253 * src/hildon-volumebar.c: Updating the docs.
4255 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4261 * debian/changelog: Updating.
4263 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4265 * src/hildon-find-toolbar.c:
4266 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4267 selected item: hildon_find_toolbar_set_active,
4268 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4269 hildon_find_toolbar_get_active_iter . They correspond to respective
4270 GtkComboBox functions.
4272 * examples/Makefile.am:
4273 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4276 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4278 * examples/Makefile.am:
4279 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4282 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4283 when font size > 32 and we pack a focusable widget inside. Actually using
4284 the default response would work too, but since we don't show default
4285 response state in any way (no theming) it would not be visible to the
4286 user. Fixes NB#63430.
4288 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4290 * src/hildon-date-editor.c: Adding the missing variable setter in the
4291 set_property handler. Fixes NB#54182.
4293 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4295 * src/hildon-window.h: Changing the long key press time from 1500ms to
4296 800ms as requested in NB#63700. I have a bad feeling about this, let's
4297 see... Fixes NB#63700.
4299 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4301 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4302 hildon_time_picker_map, hildon_time_picker_realize,
4303 hildon_time_picker_style_set): Split the contents of map to more
4304 appropriate functions; set window decorations on realize and update
4305 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4307 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4312 * debian/changelog: Updating.
4314 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4316 * src/Makefile.am: fixed installation of the header files
4318 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4324 * debian/changelog: Updating.
4326 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4328 * configure.ac: Removing some remaining of --enable-xan.
4330 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4332 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4333 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4335 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4336 2.10.12-osso6 because the move-focus signal needs to be available in
4339 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4341 * examples/Makefile.am:
4342 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4343 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4344 fine. Prolly NB#61128 is fixed now.
4346 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4348 * src/hildon-volumebar.c:
4349 * src/hildon-volumebar.h: Adding the
4350 hildon_volumebar_set_range_insensitive_message and
4351 hildon_volumebar_set_range_insensitive_messagef functions to set
4352 insensitive message on the slider of the volumebar. Fixes NB#61129.
4354 * examples/Makefile.am:
4355 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4356 test the new insensitive messsage functionality on HildonVolumebar.
4358 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4360 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4363 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4365 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4366 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4367 button on after clearing the trail.
4369 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4371 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4373 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4375 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4376 by splitting the installed headers in generated and non-generated groups. Use
4377 only the non-generated headers to create the hildon-enum-types.h file.
4379 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4381 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4383 * src/hildon-window.c: Hide the window before performing the destroy.
4384 Should make the app closing a little tiny bit more snappy.
4386 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4388 * src/hildon-seekbar.c: add gtkrange.h header
4389 * src/hildon-caption.c: remove unused variable
4391 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4393 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4396 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4402 * debian/changelog: Updating.
4404 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4406 * src/hildon-window.c (hildon_window_window_state_event,
4407 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4408 escape timeout on focus-out-event rather than notify::is-topmost; the
4409 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4411 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4413 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4414 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4416 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4418 * src/hildon-window: actually, you need to use the macro always, there's
4419 no private pointer in the instance structure. We should have cleaned this up
4420 when we had the chance...
4422 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4424 * src/hildon-window.c: do not get the private date from HildonWindow before
4425 it passes the g_return_if_fail check. Once it's passed the test, there's no
4426 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4427 if you are only going to access the data once. Whitespace cleanups.
4429 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4431 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4432 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4434 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4440 * debian/changelog: Updating.
4442 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4444 * src/hildon-window.c: When destroying the window, remove (if exists) the
4445 escape timeout handler. Fixes #NB59276.
4447 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4449 * src/hildon-banner.c: When realizing the widget, set the window
4450 transiency. Setting the transiency in the gobject constructor is not
4451 good, as the widget is not realized at that point. Fixes: #NB56624.
4453 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4455 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4456 Add padding for future expansions.
4458 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4460 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4461 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4462 will fake an activation on the previous to the last item of the trail, so
4463 the effect can be overrided by the developer as usual.
4464 Also change the callback for the back button to do the same thing, so its
4465 effect can be overrided too. Fixes: NB#58982
4467 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4469 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4470 HildonCaption. Fixes NB#52379.
4472 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4474 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4475 the internal state of the trail after the user has had the chance of executing
4476 his handler for the signal. Specifically, it may happen that the activated button
4477 is removed and the user still lets the default handler run. This would segfault
4480 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4482 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4483 scrollbar to the preview dialog. Fixes NB#54147.
4485 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4487 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4488 max/min year properties can be altered, so the client can modify it
4489 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4491 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4493 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4494 hildonlike by default. Fixing a problem with disappearing arrows when
4495 scrolling through months and years. Fixes NB#54127.
4497 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4499 * examples/hildon-date-editor-example.c: Adding error callback to the date
4502 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4508 * configure.ac: Updating.
4510 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4512 * configure.ac: Adding a special '--enable-xan' configure option that
4513 turns off the -Werror compilation setting. Usefull for development.
4515 * src/hildon-calendar.c:
4516 * src/hildon-number-editor.c:
4517 * src/hildon-time-picker.c: Adding the 5* multiplier to
4520 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4522 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4523 instead of g_object_ref + gtk_object_sink.
4525 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4531 * debian/changelog: Updating.
4533 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4535 * src/hildon-color-chooser-dialog.c:
4536 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4537 straight from Tommi labs.
4539 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4541 * examples/hildon-finger-example.c: Correcting the header file path.
4543 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4544 the changed signal. Fixes a small memory leak.
4546 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4550 * src/hildon-banner.c: Importing several usefull fixes from the
4551 ubuntu-mobile branch.
4553 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4555 * examples/Makefile.am:
4556 * examples/hildon-finger-example.c: Adding a finger-checking code
4559 * src/hildon-font-selection-dialog.c: Do not allocate the color
4560 structure using the g_new. Fixes NB#54061.
4562 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4564 * src/hildon-helper.c: Correcting tabs in file.
4566 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4568 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4569 control the visibility of the children.
4571 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4573 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4579 * debian/changelog: Updating.
4581 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4583 * src/hildon-bread-crumb-trail.c:
4584 (hildon_bread_crumb_trail_size_allocate):
4586 Make the back button always a square.
4588 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4590 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4591 from the .c file as it's a private file.
4593 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4595 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4596 uses slightly bigger height.
4598 * src/hildon-font-selection-dialog.c: Adding some checks before
4599 freeing memory in the font selection dialog.
4601 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4603 * src/hildon-font-selection-dialog.c: Adding a small check when
4606 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4607 buttons sensitivity on page switching.
4609 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4611 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4612 internal details of adding a bread crumb to the trail.
4614 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4620 * debian/changelog: Updating.
4622 * src/hildon-bread-crumb-trail.h:
4623 * src/hildon-bread-crumb.h: Changing the API guard to
4624 HILDON_ENABLE_UNSTABLE_API.
4626 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4634 * src/hildon-helper.h: Updating.
4636 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4644 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4648 * src/hildon-helper.h: Small fix to make the package actually compile.
4650 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4652 * src/hildon-bread-crumb-trail.h:
4653 * src/hildon-bread-crumb.h:
4655 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4656 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4658 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4660 * examples/hildon-bread-crumb-trail-example.c:
4662 * src/hildon-bread-crumb-trail.c:
4663 * src/hildon-bread-crumb-trail.h:
4664 * src/hildon-bread-crumb.c:
4665 * src/hildon-bread-crumb.h:
4666 * src/hildon-marshalers.list:
4667 * src/hildon-bread-crumb-widget.c:
4668 * src/hildon-bread-crumb-widget.h:
4670 Slight change in the widget design. The bread crumb trail API is
4671 unchanged, but HildonBreadCrumb is now an interface. A *private*
4672 implementation, hildon-bread-crumb-widget, is provided and used
4673 internally by the trail for the push_text/push_icon functions.
4675 The generic push API is still available, so anyone can implement
4676 and use its own bread crumb widget.
4678 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4680 * debian/rules: Fixing the shlibs.
4682 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4684 * src/hildon-banner.c: Fixing a problem with timed banners having
4685 their parrent destroyed before they are.
4687 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4689 * src/hildon-bread-crumb.c:
4690 * src/hildon-bread-crumb.h:
4692 Make the get_natural_size function a vfunc.
4694 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4696 * src/hildon-bread-crumb.c:
4697 * src/hildon-bread-crumb-trail.c:
4701 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4708 * debian/changelog: Updating for release.
4710 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4712 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4713 don't leak the pango layout.
4715 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4718 * examples/hildon-bread-crumb-trail-example.c:
4722 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4724 * debian/changelog: Removing the bug-fixed entries that were actually
4725 resolved as WONTFIX.
4727 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4730 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4732 * src/hildon-bread-crumb-trail.c:
4733 * src/hildon-bread-crumb-trail.h:
4734 * src/hildon-bread-crumb.c:
4735 * src/hildon-bread-crumb.h:
4739 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4741 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4742 until it's passed the type check.
4744 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4746 * examples/hildon-bread-crumb-trail-example.c
4750 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4752 * examples/Makefile.am
4753 * examples/hildon-bread-crumb-trail-example.c
4755 * src/hildon-bread-crumb-trail.c
4756 * src/hildon-bread-crumb-trail.h
4757 * src/hildon-bread-crumb.c
4758 * src/hildon-bread-crumb.h
4760 New HildonBreadCrumbTrail widget.
4762 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4764 * src/hildon-range-editor.c (hildon_range_editor_init),
4765 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4766 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4767 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4768 hildon_time_editor_class_init, hildon_time_editor_init),
4769 src/hildon-get-password-dialog.c (invalid_input,
4770 hildon_get_password_set_property, hildon_get_password_get_property,
4771 create_contents, hildon_get_password_dialog_set_max_characters),
4772 src/hildon-set-password-dialog.c (create_contents),
4773 src/hildon-date-editor.c (hildon_date_editor_init),
4774 src/hildon-login-dialog.c (hildon_login_dialog_init),
4775 src/hildon-number-editor.c (hildon_number_editor_init),
4776 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4777 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4778 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4779 configure option and adding the respective checks in the code.
4780 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4781 hildon_calendar_drag_data_received): fixed some build warnings.
4783 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4785 * debian/changelog: A 1.0.0 release notes.