1 2008-11-25 Alberto Garcia <agarcia@igalia.com>
7 * src/hildon-window-stack-private.h
8 * src/hildon-window-stack.h
9 * src/hildon-window-stack.c:
10 New HildonWindowStack object, that adds support for multiple
11 stacks of windows per process.
13 * src/hildon-stackable-window-private.h
14 * src/hildon-stackable-window.h
15 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
16 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
17 (hildon_stackable_window_show, hildon_stackable_window_hide)
18 (hildon_stackable_window_class_init)
19 (hildon_stackable_window_init):
20 Use HildonWindowStack for stack management.
22 * src/hildon-program.c (hildon_program_pop_window_stack)
23 (hildon_program_peek_window_stack)
24 (hildon_program_go_to_root_window):
25 Add a fallback implementation to the deprecated functions using
28 * examples/hildon-stackable-window-example.c:
29 Use the new HildonWindowStack API.
31 2008-11-25 Alberto Garcia <agarcia@igalia.com>
33 * src/hildon-stackable-window-private.h
34 * src/hildon-stackable-window.c (hildon_stackable_window_show)
35 (hildon_stackable_window_hide, hildon_stackable_window_init):
36 Remove all window stack management.
38 * src/hildon-program-private.h
39 * src/hildon-program.h
40 * src/hildon-program.c (hildon_program_init)
41 (hildon_program_pop_window_stack)
42 (hildon_program_peek_window_stack)
43 (hildon_program_go_to_root_window):
44 Remove all window stack management and mark functions as
47 2008-11-25 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-app-menu.c (hildon_app_menu_realize):
50 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
52 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
54 * configure.ac: post release version bump
55 * debian/changelog: version bump
57 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
62 * configure.ac: bump version
63 * debian/changelog: updates
65 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
67 Based on initial code by Christian Dywan (christian@imendio.com)
69 * doc/hildon-docs.sgml: Add section for hildon-main.
70 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
71 * src/Makefile.am: Add new hildon-main.[ch]
72 * src/hildon-defines.h: Update the icon sizes.
73 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
74 new library initialization files and register icon sizes.
75 * src/hildon-main.h: New declarations.
76 * src/hildon.h: Include hildon-main.h
78 Add new initialization functions to the library. These methods
79 will register the hildon specific icon sizes and can be used in the
80 future for other hildon specific bits.
82 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
84 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-window.c: (hildon_window_realize),
87 (hildon_window_notify), (-hildon_window_update_title): Do not set
88 the application name in the window title.
90 Fixes: NB#89754 (Applications shouldn't display their names in the
93 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
95 * src/hildon-note-private.h:
96 * src/hildon-note.c: (hildon_note_set_property),
97 (hildon_note_get_property), (hildon_note_class_init),
98 (hildon_note_init), (hildon_note_finalize),
99 (hildon_note_new_confirmation_with_icon_name),
100 (hildon_note_new_information_with_icon_name):
102 No need to mark as deprecated the actual code. Revert
103 to avoid missing symbols in widgets using deprecated API.
105 2008-11-20 Alberto Garcia <agarcia@igalia.com>
107 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
109 * src/hildon-volumebar.h
110 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
111 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
113 * src/hildon-helper.h
114 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
115 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
117 * examples/Makefile.am:
118 Deprecate hildon-insensitive-example
120 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
122 2008-11-20 Alberto Garcia <agarcia@igalia.com>
124 * examples/hildon-pannable-area-buttons-scroll-example.c:
125 Make all buttons finger height
127 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
129 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
131 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
132 update the day model only if it is really required, and to avoid the
133 full-reconstruction aproach. Now it only add or remove the required days.
135 The purpose of this is avoid superfluous HildonTouchSelector::changed
138 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
139 with strange parameters)
141 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
143 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
145 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
146 the WINDOW_TYPE property.
148 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
150 2008-11-19 Alberto Garcia <agarcia@igalia.com>
153 Fix dependency to allow parallel compilation with make -jX
155 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
157 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
158 color frame and some minor tweaks to make it more consistent with
161 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
162 highlighted but not visible)
164 2008-11-14 Alejandro G. Castro <alex@igalia.com>
166 * examples/Makefile.am: Fixed typo in the Makefile.am.
168 2008-11-14 Alejandro G. Castro <alex@igalia.com>
170 Reviewed the use of MAEMO_GTK define, now we add the define in the
171 compilation line, and we also add it to the pc file.
173 * configure.ac: Added MAEMO_GTK define to the compilation command
174 and removed it from the config.h.
176 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
177 do not have to take care about this define if the library was
181 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
183 2008-11-14 Alejandro G. Castro <alex@igalia.com>
185 * examples/Makefile.am,
186 * examples/hildon-pannable-area-buttons-scroll-example.c,
187 * examples/hildon-pannable-area-gesture-signals-example.c,
188 * examples/hildon-pannable-area-scroll-jump-example.c,
189 * examples/hildon-pannable-area-tree-view-example.c:
190 Renamed the pannable area examples, now they have more meaningful
193 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
195 * src/hildon-touch-selector.c:
196 (hildon_touch_selector_set_column_selection_mode): Used of
197 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
198 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
199 to avoid re-seting the same selection mode.
201 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
202 breaks HildonPickerDialog)
204 2008-11-13 Alejandro G. Castro <alex@igalia.com>
206 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
207 conditional in the Makefile.am
209 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
211 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
212 Remove unused methods.
214 2008-11-12 Alberto Garcia <agarcia@igalia.com>
216 * src/hildon-button.c (hildon_button_init):
217 Make button images center-aligned by default
219 2008-11-12 Alejandro G. Castro <alex@igalia.com>
222 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
223 activated, we have to think about how to deal with both defines
224 MAEMO_GTK and MAEMO_CHANGES.
226 2008-11-12 Alberto Garcia <agarcia@igalia.com>
228 * examples/hildon-app-menu-example.c (create_menu): Make all
231 2008-11-11 Alejandro G. Castro <alex@igalia.com>
233 Fixed the compilation without maemo gtk adding ifdefs with
234 MAEMO_GTK define to the code, we have to check this version more
237 * examples/Makefile.am: Added control to avoid some examples that
238 just make sense with maemo gtk.
241 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
242 hildon modes with the define.
244 * examples/hildon-edit-toolbar-example.c,
245 (create_icon_view): Create the icon view without hildon-gtk
246 helpers if we are not using maemo gtk.
248 * src/hildon-touch-selector.c,
249 (_create_new_column): Create the treeview without hildon-gtk
250 helpers if we are not using maemo gtk.
252 2008-11-11 Alejandro G. Castro <alex@igalia.com>
254 * src/hildon-pnnable-area.c,
255 (hildon_pannable_area_dispose),
256 (hildon_pannable_area_button_press_cb),
257 (hildon_pannable_area_child_mapped),
258 (hildon_pannable_area_add),
259 (hildon_pannable_area_remove): Added code to control the position
260 of the event_window when adding and removing children from the
261 pannable. We have to raise the event window when the child is
264 Fixes: NB#89811 (Not able to select first image thumbnail in multi
265 selection mode using custom widget inside pannable)
267 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
269 * configure.ac: post release version bump
270 * debian/changelog: version bump
272 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
277 * configure.ac: bump version
278 * debian/changelog: updates
280 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
282 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
283 search mode, in order to avoid lose the focus on the treeview when
284 a hw key (like enter) is pressed.
286 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
287 in HildonDateSelector dialog)
289 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
291 * debian/rules: Added --enable-maintainer-mode
292 * Makefile.am: Added ACLOCAL_AMFLAGS
294 This allows to properly regenerate the Makefiles if you modify the
295 configure.ac or any Makefile.am.
297 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
299 * examples/hildon-app-menu-example.c: (main): Do not set RC style
300 properties, not needed at all.
302 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
304 * src/hildon-note-private.h: Add strings for the icon and stock_icon
306 * src/hildon-note.c: (hildon_note_set_property),
307 (hildon_note_get_property), (hildon_note_class_init),
308 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
309 (hildon_note_new_confirmation_add_buttons): Remove icons.
310 (hildon_note_new_confirmation_with_icon_name): Deprecate.
311 (hildon_note_new_information_with_icon_name): Deprecate.
312 (hildon_note_new_confirmation): Act directly, without calling
313 the deprecated constructor.
314 (hildon_note_new_information): Act directly, without calling
315 the deprecated constructor.
316 * src/hildon-note.h: Mark deprecate methods as such.
317 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
318 not run tests on the deprecated methods if built with deprecation
321 Fixes: NB#91688 (Never show icons in information notes/confirmation
324 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
326 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
327 (hildon_app_menu_key_press): Remove leftover usage of the
328 private structure in HildonAppMenu struct.
329 * src/hildon-app-menu.h: Remove leftover private structure
330 from the HildonAppMenu struct.
332 Fixes a crasher when using the HildonAppMenu.
334 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
336 * src/hildon-picker-dialog.c: Use appropriate logical id
337 for the default "Done" text.
339 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
341 * configure.ac: post release version bump
342 * debian/changelog: version bump
344 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
346 Modified the way to scroll to the current selection just when the touch
347 selector is shown on the screen, avoiding a g_idle. Added too a property
348 to configure this behaviour. See hildon_pannable_area_jump_to_child
349 documentation for more information.
351 * src/hildon-touch-selector.c
352 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
353 Added 'initial-scroll' property
354 (hildon_touch_selector_set_property): Added
355 (hildon_touch_selector_map): Removed as not required anymore
356 (_hildon_touch_selector_on_selected_items): Modified in order to manage
357 only a concrete column, instead of iterate along all the columns
359 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
364 * configure.ac: bump version
365 * debian/changelog: updates
367 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
369 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
370 compilation time warnings.
372 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
374 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
375 the default value for HildonPannableArea::mov-mode to
376 HILDON_PANNABLE_AREA_MODE_VERT.
378 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
380 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
382 Reverting following commit:
384 2008-10-13 Alberto Garcia <agarcia@igalia.com>
386 * src/hildon-app-menu-private.h
387 * src/hildon-app-menu.[ch]
388 * src/hildon-button.[ch]
389 * src/hildon-check-button.[ch]
390 * src/hildon-entry.[ch]
391 * src/hildon-pannable-area.[ch]
392 * src/hildon-text-view.[ch]:
393 Added private field to the object's structure.
395 because it causes an ABI breakage. We will need to introduce these
396 changes later at some point. See NB#91636 for an extensive
397 explanation and status.
399 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
401 Patch contributed by Daniel Borgmann (danielb@openismus.com)
403 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
404 remove special cases that are no longer necessary.
406 Fixes: NB#91016 (Change toolbar sizes, simplification)
408 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
410 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
411 is shown in the cancel note.
413 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
415 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
416 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
417 (hildon_seekbar_init): Remove steppers, remove expose event.
418 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
420 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
422 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
424 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
425 label font to "SmallSystemFont" for vertically arranged buttons.
427 Fixes: NB#90662 (HildonButton "value" and "detail" text is
430 2008-10-31 Alberto Garcia <agarcia@igalia.com>
432 * src/hildon-check-button.c
433 (hildon_check_button_set_active, hildon_check_button_clicked):
434 Don't access private parts directly, use getters instead.
436 2008-10-31 Alberto Garcia <agarcia@igalia.com>
438 * src/hildon-check-button.c (hildon_check_button_new):
439 Align the contents of the check button to the left.
441 2008-10-30 Alejandro G. Castro <alex@igalia.com>
443 * src/hildon-pannable-area.c,
444 (hildon_pannable_area_scroll_to),
445 (hildon_pannable_area_jump_to),
446 (hildon_pannable_area_scroll_to_child),
447 (hildon_pannable_area_jump_to_child): Replace the mapped
448 precondition of these functions with the realized, it is the
449 correct state of the widget in this case. Changed the
450 documentation according to this modification.
452 2008-10-30 Alejandro G. Castro <alex@igalia.com>
454 Added a new EXTRA_CFLAGS option to add the deprecated define to
455 the compilation command. This way we can avoid using the define in
456 the documentation compilation.
458 * configure.ac: Defined EXTRA_CFLAGS.
460 * examples/Makefile.am:
462 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
464 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
466 * src/hildon-picker-dialog.c:
467 Defined a utility macro with the desired touch selector height
468 Removed currently unused separator, and title_label variables from
470 (hildon_picker_dialog_init): Removed code related to the creation
471 of unused private variables title_label and separator.
472 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
473 to ensure correct visualization of the touch selector inside the dialog.
474 * src/hildon-touch-selector.c
475 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
476 ensure a concrete height of the widget.
478 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
483 Remove spurious whitespaces.
485 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
487 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
488 compilation warning after the cancel button removal.
490 2008-10-30 Alejandro G. Castro <alex@igalia.com>
492 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
494 * configure.ac: Added an AM_CONDITIONAL in order to use in the
495 Makefile.am, that way we can choose not to compile some examples
496 and tests of the deprecated widgets.
498 * examples/Makefile.am: Divided the sources in deprecated and
501 * src/Makefile.am: Added undef statement of the deprecated
502 symbol to the enums file generation process.
504 * src/hildon-color-chooser-dialog.c
505 * src/hildon-color-chooser-dialog.h
506 * src/hildon-color-button.c
507 * src/hildon-color-button.h
508 * src/hildon-color-chooser.c
509 * src/hildon-color-chooser.h
510 * src/hildon-controlbar.c
511 * src/hildon-controlbar.h
512 * src/hildon-date-editor.c
513 * src/hildon-date-editor.h
514 * src/hildon-hvolumebar.c
515 * src/hildon-hvolumebar.h
516 * src/hildon-private.c
517 * src/hildon-private.h
518 * src/hildon-range-editor.c
519 * src/hildon-range-editor.h
520 * src/hildon-seekbar.c
521 * src/hildon-seekbar.h
522 * src/hildon-time-editor.c
523 * src/hildon-time-editor.h
524 * src/hildon-time-picker.c
525 * src/hildon-time-picker.h
526 * src/hildon-volumebar.c
527 * src/hildon-volumebar.h
528 * src/hildon-vvolumebar.c
529 * src/hildon-vvolumebar.h
530 * src/hildon-bread-crumb-trail.h
531 * src/hildon-bread-crumb-trail.c
532 * src/hildon-calendar-popup.c
533 * src/hildon-calendar-popup.h
534 * src/hildon-weekday-picker.c:
535 * src/hildon-weekday-picker.h:
536 * src/hildon-bread-crumb-widget.c:
537 * src/hildon-bread-crumb-widget.h:
538 * src/hildon-bread-crumb.c:
539 * src/hildon-bread-crumb.h:
540 * src/hildon-calendar.c:
541 * src/hildon-calendar.h:
542 * src/hildon-caption.c:
543 * src/hildon-code-dialog.c:
544 * src/hildon-code-dialog.h:
545 * src/hildon-font-selection-dialog.c:
546 * src/hildon-font-selection-dialog.h:
547 * src/hildon-get-password-dialog.c:
548 * src/hildon-get-password-dialog.h:
549 * src/hildon-login-dialog.c:
550 * src/hildon-login-dialog.h:
551 * src/hildon-number-editor.c:
552 * src/hildon-number-editor.h:
553 * src/hildon-set-password-dialog.c:
554 * src/hildon-set-password-dialog.h:
555 * src/hildon-sort-dialog.c:
556 * src/hildon-sort-dialog.h: This is the list of deprecated
559 * src/hildon-touch-selector.c:
560 * src/hildon-window.c: Added undef statement to avoid compilation
563 * tests/Makefile.am: Divided the sources in deprecated and
566 * tests/check_test.c,
567 (configure_tests): Marked the deprecated code that was adding
568 suites with deprecated tests.
570 Fixes: NB#91135 (Deprecate legacy hildon widgets)
572 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
574 * src/hildon-touch-selector.c: (_default_print_func): Do not
575 duplicate a string returned by gtk_tree_model_get(), it is already
578 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
581 2008-10-28 Alejandro G. Castro <alex@igalia.com>
583 * src/hildon-pannable-area.c
584 (hildon_pannable_area_add_with_viewport): Reviewed the complete
585 method, it had problems when adding a widget with viewport the
586 second time. Now checks if it already has a viewport and uses it.
588 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
591 2008-10-28 Alejandro G. Castro <alex@igalia.com>
593 * src/hildon-pannable-area.c,
594 (hildon_pannable_area_scroll_to),
595 (hildon_pannable_area_jump_to),
596 (hildon_pannable_area_scroll_to_child),
597 (hildon_pannable_area_jump_to_child): Added a precondition to the
598 scroll and jump to functions: the widget must be mapped before we
599 can safely call these functions. We have also added documentation
600 to the functions to explain how to use them in this situation.
603 2008-10-28 Alejandro G. Castro <alex@igalia.com>
605 Reviewed the threading handling of the pannable widget, we have
606 used the gdk_threads_add_timeout function instead of the usual
607 glib handlers. This avoids some problems with the threads.
609 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
610 (hildon_pannable_area_initial_effect),
611 (hildon_pannable_area_scroll_indicator_fade),
612 (hildon_pannable_area_button_press_cb),
613 (hildon_pannable_area_timeout),
614 (hildon_pannable_area_motion_notify_cb),
615 (hildon_pannable_area_button_release_cb),
616 (hildon_pannable_area_scroll_cb),
617 (hildon_pannable_area_scroll_to): Removed the
618 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
619 gdk_threads_add_timeout.
621 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
623 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
628 * configure.ac: bump version
629 * debian/changelog: updates
631 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
633 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
634 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
635 * src/hildon-color-chooser-dialog.c:
636 (hildon_color_chooser_dialog_init):
637 * src/hildon-font-selection-dialog.c:
638 (hildon_font_selection_dialog_init):
639 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
641 Remove all cancel/close-like dialogs, as these are not going to be
644 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-note.c: (hildon_note_rebuild),
647 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
650 Fixes: NB#90661 (Delete dialog is displayed without NO button)
652 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
654 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
655 sure all buttons are shown, even the Cancel/Close-like ones.
657 Fixes: NB#90861 (Custom Confirmation dialogs should be
658 protected from cancel button removal)
660 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
662 * debian/control: Change libhildon1-examples dependency from libhildon1
664 * debian/libhildon1-examples.install
666 * Makefile.am: Modified the final install directory for the examples on
667 package libhildon1-examples
668 * Makefile.static: Update clean target in order to remove all the binary
671 Changes suggested by Claudio after review new libhildon1-examples package
673 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
675 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
676 * src/hildon-touch-selector.c: Ditto.
678 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
680 * debian/control: Added new package libhildon1-examples, in order to pack
681 the current hildon examples as documentation
682 * debian/rules: Not to compress .c files, modify some includes on the
683 examples (as normally are compiled locally, but when installed it will
684 require to include the installed libhildon1 library), and rename
686 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
687 install all the example files on the new example package
688 * examples/Makefile.static: Added static makefile that can be used to
689 compile the examples, once installed the new example package
690 * examples: Most of the examples were modified in order to grant that
691 all use only '#include "hildon.h"', in order to be easy to prepare
692 it on the example package
694 2008-10-23 Alberto Garcia <agarcia@igalia.com>
697 * debian/libhildon1-dev.install
698 * debian/libhildon1-doc.install:
699 Move all gtk-doc files to a separate libhildon1-doc package.
701 2008-10-23 Daniel Borgmann <danielb@openismus.com>
703 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
705 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
707 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
709 * debian/rules: Fixed a error in order to avoid unnecessary calls
710 to autogen.sh on package building
712 2008-10-22 Alberto Garcia <agarcia@igalia.com>
714 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
716 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
718 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
721 2008-10-21 Alberto Garcia <agarcia@igalia.com>
723 * src/hildon-picker-button.c
724 (hildon_picker_button_finalize):
725 Free priv->done_button_text
727 * src/hildon-time-button.c
728 (hildon_time_button_set_time)
729 * src/hildon-picker-button.c
730 (hildon_picker_button_clicked)
731 (hildon_picker_button_selector_selection_changed)
732 (hildon_picker_button_set_selector)
733 * src/hildon-date-button.c
734 (hildon_date_button_set_date):
735 Free strings returned by hildon_touch_selector_get_current_text()
737 * src/hildon-button.c (hildon_button_construct_child):
738 Fix leaks in priv->image and priv->label_box
740 Fixes: NB#90535 (Memory leak in picker button)
742 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-button.c: (hildon_button_get_property): Do not access
745 private elements directly, use getters instead.
747 2008-10-20 Alberto Garcia <agarcia@igalia.com>
749 * src/hildon-app-menu-private.h
750 * src/hildon-app-menu.c
751 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
752 Store the menu's parent window.
754 * src/hildon-stackable-window.c
755 (hildon_stackable_window_toggle_menu)
756 (hildon_stackable_window_finalize):
757 Set the menu's parent window when the menu is shown, unset it when
760 * src/hildon-app-menu.c
761 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
762 (hildon_app_menu_class_init):
763 Send unhandled keyboard accelerators to the parent window.
765 2008-10-20 Alberto Garcia <agarcia@igalia.com>
767 * src/hildon-stackable-window.c
768 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
770 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
772 * configure.ac: post release version bump
774 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
777 * configure.ac: Bump version
778 * debian/changelog: Updates
779 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
782 2008-10-20 Alberto Garcia <agarcia@igalia.com>
784 Patch contributed by Daniel Borgmann (danielb@openismus.com)
787 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
788 GtkMenu with Hildon style.
790 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
792 * src/hildon-picker-button.c:
793 (hildon_picker_button_set_done_button_text): Set the dialog's
794 done button text here as well.
796 Fixes: NB#90232 (Picker button does not set the label on done button
799 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
801 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
804 2008-10-16 Alberto Garcia <agarcia@igalia.com>
806 * src/hildon-app-menu.c (hildon_app_menu_insert)
807 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
808 the HildonAppMenu to be activatable using keyboard accelerators
809 when the menu is not being shown.
811 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
813 2008-10-16 Alberto Garcia <agarcia@igalia.com>
815 * src/hildon-stackable-window.c
816 (hildon_stackable_window_show):
817 Don't hide old windows automatically when new windows are shown:
818 this is now a task for the window manager.
819 (hildon_stackable_window_class_init)
820 (hildon_stackable_window_hide):
821 Remove windows from the stack everytime they're hidden.
822 (hildon_stackable_window_realize):
823 Don't change the _NET_WM_WINDOW_TYPE property. Use
824 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
825 it as a stackable window.
827 * src/hildon-program.c
828 (hildon_program_pop_window_stack):
829 Just hide the window to remove it from the stack.
830 (hildon_program_go_to_root_window):
831 Don't call gtk_widget_show(), this is now a task for the window
834 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
836 2008-10-15 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-button.c
839 (hildon_button_construct_child):
840 Don't pack anything in the button until text or image are
841 set. This allows adding a custom child after creating the button
842 with hildon_button_new().
843 (hildon_button_finalize, hildon_button_class_init)
844 (hildon_button_init, hildon_button_set_arrangement): Destroy the
845 alignment and the label box even when they're not packed in the
848 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
850 * src/hildon-touch-selector.h:
851 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
852 currently the type definition was using GTK_TYPE_VBOX
853 * src/hildon-touch-selector.c:
854 Added some implementation notes in order to clarify that any other widget
855 added without the column related API will not be included on the
856 selection logic, and how the widget is freed, as some people ask about
858 (hildon_touch_selector_remove): Reimplemented in order to free properly
859 the column related data when you remove the private hbox.
860 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
861 to get a proper HildonTouchSelectorColumn documentation
863 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
865 * src/hildon-touch-selector-entry.c:
866 (hildon_touch_selector_entry_print_func): Return NULL if there is no
867 text in the GtkEntry and there is no item selected. Fixes a
870 2008-10-13 Alberto Garcia <agarcia@igalia.com>
872 * src/hildon-app-menu-private.h
873 * src/hildon-app-menu.[ch]
874 * src/hildon-button.[ch]
875 * src/hildon-check-button.[ch]
876 * src/hildon-entry.[ch]
877 * src/hildon-pannable-area.[ch]
878 * src/hildon-text-view.[ch]:
879 Added private field to the object's structure.
881 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
883 * configure.ac: post-release version bump
885 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
889 * configure.ac: pre-release version bump
891 * debian/changelog: updates.
893 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
895 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
896 Disconnect the handler for HildonTouchSelector::changed.
898 (hildon_picker_button_selector_selection_changed): Update the button
899 value if the selection change was not triggered by the
902 (hildon_picker_button_set_selector): connect to
903 HildonTouchSelector::changed.
905 Fixes: NB#89650 (Picker button is not updated, when selection in
906 selector has changed)
908 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
910 * src/hildon-picker-dialog.c
911 (hildon_picker_dialog_realize): Removed as not required
912 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
913 * src/hildon-picker-button.c
914 (_current_selector_empty): New function, checks if the selector is empty
915 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
916 if the current selector is empty, in order to avoid to show the dialog
917 close the dialog in this case (and shows a g_warning).
919 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
921 2008-10-09 Alejandro G. Castro <alex@igalia.com>
923 * src/hildon-pannable-area.c,
924 (hildon_pannable_area_scroll): Added clause to stop movement when
925 the child of pannable is smaller than one page.
926 (hildon_pannable_area_scroll_to): Added conditions to avoid
927 starting the scrolling movement if the child is smaller than one
928 page, the complete child is in the screen, we do not have to move.
930 Fixes: NB#89632 (Picker button selection doesn't change on first click)
932 2008-10-09 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-app-menu.c: Removed the 'columns' property, as now
935 this is managed automatically by the widget when the size of the
938 2008-10-09 Alberto Garcia <agarcia@igalia.com>
940 * src/hildon-picker-button.c
941 (hildon_picker_button_set_done_button_text): Make a copy of the
942 text, and free the previous value.
944 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
946 * src/hildon-touch-selector-entry.c:
947 (hildon_touch_selector_entry_print_func): Return the selected row's
948 text if the entry is empty.
950 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
953 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
955 * src/hildon-touch-selector-entry.c: Minor docs fixes.
957 2008-10-09 Alberto Garcia <agarcia@igalia.com>
960 * src/hildon-check-button.h
961 * src/hildon-check-button.c
962 * examples/hildon-check-button-example.c:
963 HildonCheckButton is now a new widget. 'toggled' signal added.
965 2008-10-08 Alberto Garcia <agarcia@igalia.com>
967 * src/hildon-program-private.h
968 * src/hildon-program.c (hildon_program_init)
969 (hildon_program_finalize): Removed unused variables group_leader
970 and name from HildonProgramPrivate.
972 2008-10-08 Alberto Garcia <agarcia@igalia.com>
974 * src/hildon-check-button.c (hildon_check_button_set_active)
975 (hildon_check_button_get_active, hildon_check_button_new): Use
976 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
978 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
980 * src/hildon-touch-selector.h
981 (hildon_touch_selector_set_column_attributes): added deprecation
982 guard HILDON_DISABLE_DEPRECATED
983 * src/hildon-time-selector.c
984 (hildon_time_selector_set_time)
985 (hildon_time_selector_get_time): Fixed a typo on documentation
986 * src/hildon-touch-selector.c: update HildonTouchSelector and
987 HildonTouchSelectorColumn documentation
988 * src/hildon-touch-selector-entry.c: update "text-column" property
990 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
991 to be added to the general documentation.
993 2008-10-08 Alejandro G. Castro <alex@igalia.com>
995 * examples/hildon-pannable-area-example-4.c,
997 * examples/hildon-pannable-area-example.c,
998 (main): Modified the code in order to use the container add, with
999 viewport treeviews could have problems if they are really big.
1001 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1003 * src/hildon-weekday-picker.c,
1004 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1005 the agreement regarding deprecation in the library.
1007 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1009 * examples/hildon-picker-button-multicolumn-example.c:
1010 (main): Use custom "done" button text.
1012 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1013 (hildon_picker_button_set_property),
1014 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1015 (hildon_picker_button_init),
1016 (+hildon_picker_button_get_done_button_text),
1017 (+hildon_picker_button_set_done_button_text): New methods to customize
1018 the "done" button label in the launched HildonPickerDialog. Also,
1021 * src/hildon-picker-button.h: add the public API.
1023 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1025 * src/hildon-date-selector.h:
1026 * src/hildon-picker-dialog.h:
1027 * src/hildon-time-selector.h:
1028 * src/hildon-touch-selector-column.h:
1029 * src/hildon-touch-selector.h:
1031 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1032 declarations. Fixes gtk-doc warnings.
1034 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1036 * src/hildon-picker-dialog.h
1037 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1038 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1040 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1041 long text is set as label for done button)
1043 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1045 * src/hildon-dialog.c (hildon_dialog_add_button):
1046 Set fixed width to all buttons in the HildonDialog.
1048 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1050 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1052 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1053 Set widget name using class name plus "-finger" or "-thumb".
1055 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1058 'clicked' when the state of the button is manually changed.
1060 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-app-menu.c (hildon_app_menu_realize)
1063 (hildon_app_menu_unrealize, hildon_app_menu_init)
1064 (hildon_app_menu_class_init, item_visibility_changed):
1065 Change the menu layout when the size of the screen changes.
1066 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1067 Show warning only when changing the number of colums using the
1070 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1072 * debian/compat: Set to 5
1073 * debian/control: Update dependencies.
1074 * debian/libhildon1-dbg.install: Remove.
1075 * debian/libhildon1-dev.install: Update according to cdbs paths.
1076 * debian/libhildon1.install: Update according to cdbs paths.
1077 * debian/rules: Switch to cdbs.
1079 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1081 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1082 'item' variable renamed to 'filter'
1084 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-app-menu.c (hildon_app_menu_insert)
1087 (hildon_app_menu_add_filter, remove_item_from_list)
1088 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1089 Don't leak hidden items when the menu is destroyed.
1091 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-app-menu.c (hildon_app_menu_insert)
1094 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1095 (hildon_app_menu_set_columns, item_visibility_changed)
1096 (filter_visibility_changed, hildon_app_menu_repack_filters)
1097 (hildon_app_menu_repack_items):
1098 Repack items and filters separately.
1100 Don't repack all items, change only the ones that are needed to
1103 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1105 * src/Makefile.am: added hildon-touch-selector-column.h
1107 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1109 * src/hildon-touch-selector.c: added the property "text-column" to the
1110 class HildonTouchSelectorColumn, and related get/set functions
1111 (_default_printf_func): updated to use "text-column" property
1112 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1113 "text-column" in his documentation, as this is now included on
1114 HildonTouchSelectorColumn. The get/set_property can still be used,
1115 working as a wrapper to the concrete column "text-column" property
1116 (_text_column_modified): callback added in order to handle the signal
1117 "notify::text-column" of the concrete HildonTouchSelectorColumn
1118 (hildon_touch_selector_entry_get_text_column)
1119 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1120 modified in order to use the HildonTouchSelectorColumn "text-column"
1122 * src/hildon-time-selector.c:
1123 * src/hildon-date-selector.c:
1124 * examples/hildon-touch-selector-example.c
1125 * examples/hildon-touch-selector-multi-cells-example.c
1126 * examples/hildon-picker-button-multicolumn-example.c
1127 Set the right value to "text-column" property on the creation of a new
1128 column using hildon_touch_selector_append_column()
1130 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1132 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1134 * src/hildon-app-menu.c
1135 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1136 updating the layout of the menu, don't create all widgets again,
1137 just repack the items in their new places.
1139 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1141 * src/hildon-time-selector.c
1142 (hildon_time_selector_get_time)
1143 (hildon_time_selector_set_time)
1144 Added documentation of these public methods
1146 * src/hildon-date-button.h
1147 * src/hildon-touch-selector-column.h
1148 * src/hildon-time-button.h
1149 * src/hildon-picker-dialog.h
1150 * src/hildon-time-selector.h
1151 * src/hildon-picker-button.h
1152 * src/hildon-touch-selector.h
1153 * src/hildon-time-picker.h
1154 * src/hildon-date-selector.h
1155 * src/hildon-touch-selector-entry.h
1156 Modified in order to use hildon-widgets code style
1158 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1160 Added deprecated support to the compilation process using
1161 HILDON_DISABLE_DEPRECATED
1163 * configure.ac: Added the --disable-deprecated to the configure
1166 * src/hildon-weekday-picker.c:
1167 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1168 to use the deprecated support. We will update the other deprecated
1169 widgets status in a new patch.
1171 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1173 * configure.ac: Fixed typo with fatal warnings support, the
1174 variable name was not correct
1176 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1178 * src/hildon-app-menu.c
1179 * src/hildon-program.c: Update documentation.
1181 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1183 * configure.ac: Post-release version bump.
1185 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: Pre-release version bump.
1191 * debian/changelog: Updates.
1193 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1195 * NEWS: Update news for previous releases.
1197 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1199 * examples/hildon-touch-selector-multi-cells-example.c:
1200 (create_selector): Update the example to use
1201 hildon_touch_selector_append_column() with a NULL renderer and set
1202 the renderers later.
1203 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1204 passed a NULL renderer. This is documented behavior now.
1206 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1207 This must be used if the developer wants full control on the layout of
1208 the renderers to be added to the column.
1210 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1212 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1214 * src/hildon-touch-selector.c: Documentation fixes.
1216 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1218 * src/hildon-wizard-dialog-private.h: Remove image and box.
1219 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1220 (hildon_wizard_dialog_set_property), (response): Completely remove
1221 image/icon support, and the containers required for the layout.
1223 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1225 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1227 * src/hildon-app-menu.c: Updated documentation.
1229 * src/hildon-stackable-window.c
1230 (hildon_stackable_window_set_main_menu): Unref the old menu after
1231 ref'ing the new one.
1233 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1235 * src/hildon-stackable-window.c
1236 (hildon_stackable_window_set_main_menu): Unref the previous menu
1237 instead of destroying it.
1239 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1240 floating reference and set has_user_ref_count to FALSE to make
1241 HildonAppMenu act like a normal ref-counted widget and not a
1244 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1247 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1249 * src/hildon-touch-selector-column.h: new file
1250 * src/hildon-touch-selector.h
1251 * src/hildon-touch-selector.c
1252 Implemented GtkCellLayout interface, in order to allow to configure
1253 the cell layout on each individual selector column
1254 (hildon_touch_selector_set_column_attributes): marked as deprecated
1255 * examples/hildon-touch-selector-multi-cells-example.c
1256 Example of how to use the GtkCellLayout interface on the selector
1258 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1260 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1262 * src/hildon-app-menu.h
1263 * src/hildon-app-menu.c
1264 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1265 (hildon_app_menu_append, hildon_app_menu_prepend):
1266 New methods to prepend, insert and move items in the menu.
1268 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1270 * src/hildon-wizard-dialog.c:
1272 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1274 (create_title): Update logical IDs and related code.
1275 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1277 * src/hildon-wizard-dialog.h: Note that
1278 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1279 point, as it is not used anymore.
1281 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1283 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1285 * src/hildon-note.c:
1286 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1287 shown. Do not display an icon in confirmation notes nor information
1289 (hildon_note_set_button_text): Update logical ID for cancel button.
1291 Fixes: NB#88850 (Update HildonNote button strings + signals)
1293 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-stackable-window.c
1296 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1298 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-app-menu-private.h
1301 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1302 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1303 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1304 temporary property 'columns' to change the number of columns.
1306 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1308 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1310 * examples/hildon-note-example.c: (on_information_clicked),
1311 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1312 debugging information.
1313 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1315 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1316 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1317 in order to close: this will be handled by the WM from now on.
1319 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1321 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1323 * src/hildon-app-menu-private.h
1324 * src/hildon-app-menu.c
1325 (hildon_app_menu_append, hildon_app_menu_add_filter)
1326 (button_visibility_changed, hildon_app_menu_apply_style)
1327 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1328 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1329 layout everytime a button (item or filter) is shown or hidden.
1331 * src/hildon-stackable-window.c
1332 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1335 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1337 * src/hildon-touch-selector.c:
1338 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1339 that the treeview inside the touch selector is in fremantle hildon mode
1340 * examples/hildon-date-button-example.c
1341 * examples/hildon-picker-button-multicolumn-example.c
1342 * examples/hildon-touch-selector-entry-example.c
1343 * examples/hildon-touch-selector-example.c
1344 * examples/hildon-time-button-example.c
1345 * examples/hildon-picker-button-example.c:
1346 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1348 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1350 * examples/hildon-text-view-example.c: (main): Remove the
1351 gtkrc bits, now handled by the theme.
1353 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1358 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1360 * po/Makefile.am: Install properly the mo files.
1361 * po/en_GB.po: Update translation, to ease testing purposes.
1363 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1365 * examples/hildon-picker-button-example.c: (main): Select an item
1366 in the selector before setting it to the button.
1368 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1370 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1371 Update button's value if the selector has an item active.
1373 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1374 'value' with the selector)
1376 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1378 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1379 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1380 (hildon_picker_button_class_init): Plug the finalize method.
1381 (hildon_picker_button_set_selector): If there's a previously set
1382 selector, unref'it before setting a new one.
1384 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1385 HildonTouchSelector)
1387 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1389 * src/hildon-touch-selector-entry.c:
1390 (hildon_touch_selector_entry_changed): Check if there is no text
1391 selected before setting the entry text.
1394 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-touch-selector.h
1397 * src/hildon-touch-selector.c
1398 (hildon_touch_selector_get_active)
1399 (hildon_touch_selector_set_active): New methods to set/get the
1400 index of the selected item.
1402 * src/hildon-picker-button.h
1403 * src/hildon-picker-button.c
1404 (hildon_picker_button_get_active)
1405 (hildon_picker_button_set_active): New methods to set/get the
1406 index of the selected item.
1408 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1410 * configure.ac: post-release version bump.
1412 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1416 * configure.ac: Pre-release version bump.
1417 * debian/changelog: Updates.
1418 * debian/control: Add myself as maintainer and depend on l10n
1421 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1423 * src/hildon-window.c
1424 (hildon_window_set_main_menu)
1425 * src/hildon-stackable-window.c
1426 (hildon_stackable_window_set_main_menu):
1427 Updated documentation.
1429 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1431 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1432 Don't free selector->priv manually.
1435 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1438 (hildon_gtk_window_set_progress_indicator):
1439 * src/hildon-gtk.h: Added the new API
1440 hildon_gtk_window_set_progress_indicator, it changes the state of
1441 the window progress hint.
1443 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-button.c
1446 * src/hildon-stackable-window.c: Minor documentation updates.
1448 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1450 * src/hildon-stackable-window.c: Updated documentation.
1452 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-defines.h: Update margins definitions
1455 to the Fremantle sizes.
1458 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1460 * src/hildon-touch-selector.c,
1461 (_hildon_touch_selector_set_model): Cleaning the code after
1462 review, removed g_print and #if 0 from the code.
1464 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-edit-toolbar.c: Update documentation.
1468 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1470 * src/hildon-check-button.h
1471 * src/hildon-check-button.c
1472 (hildon_check_button_set_label, hildon_check_button_get_label)
1473 * examples/hildon-check-button-example.c
1474 (button_clicked_cb):
1475 Removed deprecated methods.
1477 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1479 * src/hildon-text-view.c:
1480 Add sample code to the documentation.
1482 * src/hildon-entry.h
1483 * src/hildon-text-view.h:
1484 Minor cosmetic changes.
1486 * src/hildon-entry.c:
1487 Add sample code to the documentation.
1488 (hildon_entry_init, hildon_entry_refresh_contents):
1489 Don't allow NULL values in the placeholder.
1491 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1493 * doc/hildon-docs.sgml
1495 * examples/Makefile.am
1496 * examples/hildon-text-view-example.c
1498 * src/hildon-text-view.c
1499 * src/hildon-text-view.h
1501 New HildonTextView widget, with example.
1503 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1505 * po/POTFILES.in: Add missing files with translatable strings.
1506 Partially fixes NB#88287.
1508 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1510 * examples/hildon-pannable-area-example-2.c: (main): No need to
1511 set the cellrenderer height inside hildon touch lists, the theme does
1514 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1516 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1517 they are integrated in the theme.
1519 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1521 * examples/hildon-entry-example.c: Update the example adding
1522 widgets to modify the text and the placeholder of the HildonEntry.
1524 * src/hildon-entry.c: Show the placeholder everytime the widget
1525 is empty and loses the focus.
1527 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1529 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1531 * src/hildon-pannable-area.c,
1532 (hildon_pannable_area_size_request): Fixed bug in height
1533 requisition, avoid increasing size and add border twice.
1535 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1537 * configure.ac: postrelease version bump.
1539 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1543 * configure.ac: Prerelease version bump.
1544 * debian/changelog: update.
1545 * debian/rules: make -dbg package contain useful debugging symbols.
1547 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1549 * src/hildon-dialog.h
1550 * src/hildon-dialog.c
1551 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1552 New methods to add buttons with finger size.
1553 (hildon_dialog_new_with_buttons):
1554 Create buttons with finger size.
1556 * examples/hildon-dialog-example.c (main): Use HildonDialog
1557 methods to add buttons.
1559 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-entry.c: Updated HildonButton documentation.
1563 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1566 button value label with (FALSE, FALSE) to prevent NB#88126 from
1569 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1571 * examples/hildon-pannable-area-example.c,
1572 (main): Removed examples panning a vbox inside a pannable
1573 area. Check bug NB#87965
1575 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1577 Patch contributed by Kris Rietveld (kris@imendio.com)
1579 * src/hildon-pannable-area.c,
1580 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1581 get_size and get_position, this saves an X server roundtrip.
1583 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1585 * doc/hildon-docs.sgml
1587 * examples/Makefile.am
1588 * examples/hildon-entry-example.c
1590 * src/hildon-entry.c
1591 * src/hildon-entry.h
1593 New HildonEntry widget, with example.
1595 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1597 * src/hildon-button.c (hildon_button_construct_child): Pack the
1598 image with expand == fill == FALSE. This is a workaround for a bug
1601 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1603 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1604 labels for the text column, to make it more look more dynamic.
1606 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1608 * src/hildon-time-selector.c
1609 Define gettext auxiliar macro N_
1610 (_create_minutes_model)
1611 (_create_hours_model)
1612 (_create_ampm_model): use of strftime in order to fill the model
1613 * src/hildon-date-selector.c
1614 (hildon_date_selector_finalize):
1615 (_locales_init): remove the logic related to get the name of the months
1616 using nl_langinfo, as it is not required anymore
1618 (_create_year_model)
1619 (_create_month_model)
1620 (_update_day_model): use of strftime in order to fill the model properly
1623 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1625 * src/hildon-button.h
1626 * src/hildon-button.c (hildon_button_get_image): New method to
1629 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1631 * src/hildon-touch-selector.c:
1632 (hildon_touch_selector_remove_column): Remove from the correct parent
1633 and also remove the list element and free it.
1636 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1638 * src/hildon-time-selector.c
1639 (_create_hours_model): change the range on 12h ampm format in order to use
1640 a 12-11 range instead of previous 01-12 range
1641 (hildon_time_selector_set_time): change the way to select the current time
1642 on 12h ampm format, due the change on the range
1643 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1646 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1648 * src/hildon-touch-selector.c
1649 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1650 in order to allow use this function on multiple row selection mode if
1651 the column is different that the first one
1654 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1656 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1657 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1659 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1661 * src/hildon-date-selector.h: clean some comments, now on the .c
1662 * src/hildon-date-selector.c
1663 (hildon_date_selector_select_month): first implementation
1664 (hildon_date_selector_select_day): added documentation, reimplemented
1665 using hildon_date_selector_select_current_date to avoid repeat code
1668 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1670 Reviewed interaction logic based on device experiences, refactored
1673 * src/hildon-pannable-area.c,
1674 (hildon_pannable_area_class_init): Updated default vmax speed.
1675 (hildon_pannable_area_calculate_velocity): Added this function, it
1676 avoids duplicate valocity calculation. Adjusted calculation to
1677 avoid problems with zero dist events.
1679 (hildon_pannable_area_motion_notify_cb): Now we use the
1680 calculate_velocity function.
1682 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1684 * src/hildon-date-selector.c
1685 (hildon_date_selector_select_current_date): fix the day range check
1686 as it failed using the last day of the current month
1689 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1691 * src/hildon-touch-selector.c
1692 (hildon_touch_selector_get_num_columns): added a parameter validation
1695 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1697 * examples/Makefile.am
1698 * examples/hildon-edit-toolbar-example.c: Example of the
1699 HildonEditToolbar widget.
1701 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1703 * configure.ac: postrelease version bump.
1705 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1709 * configure.ac: prerelease version bump.
1710 * debian/changelog: update.
1712 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1714 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1715 renderer to display stock icons in the touch list. Also, set the sizes
1716 to the recommended in the style guide.
1718 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1719 * src/hildon-touch-selector.h
1720 (hildon_touch_selector_set_active_iter): renamed, now is
1721 hildon_touch_selector_select_iter
1722 (hildon_touch_selector_get_active_iter): renamed, now is
1723 hildon_touch_selector_get_selected
1724 (hildon_touch_selector_unselect_iter): added
1725 * src/hildon-touch-selector.c
1726 Update after API modification (methods renamed)
1727 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1728 order to avoid problems selecting multiple elements on the column
1729 (hildon_touch_selector_unselect_iter): added the implementation
1730 * src/hildon-time-selector.c
1731 * src/hildon-date-selector.c
1732 * src/hildon-touch-selector-entry.c
1733 Update methods calls after hildon-touch-selector.h API modification (methods
1736 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-stackable-window.c
1739 (hildon_stackable_window_finalize): Call the parent class's finalize.
1741 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1743 * examples/hildon-touch-selector-example.c: (create_selector): Use
1744 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1747 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1749 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1750 set a cell background color, to respect theming.
1752 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1754 * doc/hildon-docs.sgml
1757 * src/hildon-edit-toolbar.c
1758 * src/hildon-edit-toolbar.h
1759 * src/hildon.h: New HildonEditToolbar widget.
1761 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1763 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1766 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1767 * src/hildon-touch-selector.c
1768 (_create_new_column): use g_object_set instead of two g_object_set_property
1770 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1771 * src/hildon-touch-selector.c
1772 (_create_new_column): use of hildon_gtk_tree_view_new to create
1773 the treeview, instead of use directly g_object_new
1774 (_create_new_column): update the property name "vindicator-mode" for the
1775 new one "vscrollbar-policy"
1776 * examples/hildon-date-button-example.c
1777 * examples/hildon-picker-button-multicolumn-example.c
1778 * examples/hildon-touch-selector-entry-example.c
1779 * examples/hildon-touch-selector-example.c
1780 * examples/hildon-time-button-example.c
1781 * examples/hildon-picker-button-example.c
1782 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1783 to all the treeviews inside a pannable area.
1785 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-button.h
1788 * src/hildon-button.c (hildon_button_init)
1789 (hildon_button_set_arrangement, hildon_button_set_alignment)
1790 (hildon_button_set_title_alignment)
1791 (hildon_button_set_value_alignment)
1792 (hildon_button_set_image_alignment)
1793 (hildon_button_construct_child): New methods to set the alignment
1794 of the individual components of the button (title, value,
1795 image). Also, new method to alter the xscale and yscale properties
1796 of the GtkAlignment inside the button, so more complex layouts can
1799 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-button.c (hildon_button_style_set)
1802 (hildon_button_class_init, hildon_button_set_arrangement)
1803 (hildon_button_construct_child): Apply style properties
1804 correctly. Use the 'image-spacing' style property too.
1806 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1808 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1809 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1812 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1814 * src/hildon-pannable-area.c,
1815 (hildon_pannable_area_size_request): Fixed problem with
1816 pannable-area size_request.
1818 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1820 Added management for the grab-focus to a child widget, like a
1821 range, we need to fade out the scrollbar when releasing.
1823 * src/hildon-pannable-area.c,
1824 (hildon_pannable_area_init): Connected the grab-focus signal to
1826 (hildon_pannable_area_grab_notify): Added this function in order
1827 to manage the situation when the grab-focus ends. We have to
1828 fade-out the scrollbar.
1830 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-app-menu.c: Minor documentation update.
1834 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1836 * src/hildon-app-menu.c
1837 * examples/hildon-app-menu-example.c (create_menu): Update
1838 examples and documentation to explain how to connect callbacks.
1840 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1842 * examples/hildon-button-example.c
1843 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1844 hildon_stackable_window_new instead of gtk_window_new
1846 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1848 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1849 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1850 (hildon_pannable_area_set_property),
1851 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1852 (hildon_pannable_area_unrealize),
1853 (hildon_pannable_area_size_request),
1854 (hildon_pannable_area_size_allocate),
1855 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1856 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1857 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1858 (hildon_pannable_area_initial_effect),
1859 (hildon_pannable_area_redraw),
1860 (hildon_pannable_area_scroll_indicator_fade),
1861 (hildon_pannable_area_expose_event),
1862 (hildon_pannable_area_get_topmost), (synth_crossing),
1863 (hildon_pannable_area_button_press_cb),
1864 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1865 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1866 (hildon_pannable_area_motion_notify_cb),
1867 (hildon_pannable_area_button_release_cb),
1868 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1869 (hildon_pannable_area_remove),
1870 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1871 chage the code layout to a more GtkWidget like. Review the use of
1874 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1876 * examples/hildon-pannable-area-example-4.c,
1877 (main): Modified the name of the hindicator_mode to
1880 * src/hildon-pannable-area.c,
1881 (hildon_pannable_area_class_init),
1882 (hildon_pannable_area_motion_notify_cb),
1883 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1884 we have reduced the amount of signals and managed reviewed its
1885 rationale. Changed the default decelerate value.
1887 (hildon_pannable_area_add),
1888 (hildon_pannable_area_redraw): Refactored functions.
1890 (hildon_pannable_area_init),
1891 (hildon_pannable_area_get_property),
1892 (hildon_pannable_area_set_property):
1893 (hildon_pannable_draw_vscroll),
1894 (hildon_pannable_draw_hscroll),
1895 (hildon_pannable_area_initial_effect),
1896 (hildon_pannable_area_expose_event),
1897 (hildon_pannable_area_scroll),
1898 (hildon_pannable_area_button_press_cb),
1899 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1900 and vindicator_mode with hscrollbar_policy and
1901 vscrollbar_policy. Replaced hscroll and vscroll with
1902 hscroll_visible and vscroll_visible.
1904 (hildon_pannable_area_refresh): Refactor the function, remove
1905 variables and check the calls to this function, added resize
1906 conditions in case the children change their layout.
1908 (hildon_pannable_area_size_request): Added more detailed
1909 size_request calculation.
1912 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1914 * src/hildon-color-chooser.c
1915 (init_borders): use the correct gtk_border_free instead of g_free, to
1916 avoid a crash when this widget is used (ie: the three color selection
1919 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-check-button.c,
1922 (hildon_check_button_set_active): Fixed problem when setting the
1923 active value, the widget was not redrawn.
1925 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_refresh),
1929 (hildon_pannable_area_scroll),
1930 (hildon_pannable_area_motion_notify_cb): Small code style change.
1932 (hildon_pannable_area_class_init): Default initial_hint set to
1933 FALSE, it is not in the specs.
1935 (hildon_pannable_area_initial_effect),
1936 (hildon_pannable_area_expose_event),
1937 (hildon_pannable_area_map),
1938 (hildon_pannable_area_init): Moved the launching point of the
1939 initial effect, it was in map but the sizes where not correct in
1940 that method so we do not know if we have the reproduce it. Now it
1941 is placed in the expose_event method and uses a variable to
1942 reproduce it just once.
1944 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1946 * src/hildon-pannable-area.c,
1947 (hildon_pannable_draw_vscroll),
1948 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1949 position allowed for the scrollbars.
1951 (hildon_pannable_area_size_allocate): Small style change.
1953 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1955 * src/hildon-pannable-area.c,
1956 (hildon_pannable_area_scroll_indicator_fade),
1957 (hildon_pannable_area_button_press_cb),
1958 (hildon_pannable_area_button_release_cb),
1959 (hildon_pannable_area_scroll_cb),
1960 (hildon_pannable_area_expose_event),
1961 (hildon_pannable_area_init): Added the define parameter
1962 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1963 and refactor the fade variable.
1965 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1967 * src/hildon-pannable-area.c,
1968 (hildon_pannable_area_redraw),
1969 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1970 lines, we were reimplemeting the redraw code.
1972 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1974 * src/hildon-pannable-area.c,
1975 (hildon_pannable_area_scroll_cb),
1976 (hildon_pannable_area_realize),
1977 (hildon_pannable_area_class_init): Added scroll_event management
1978 for pannable area, now we can scroll the usual desktop method.
1980 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1981 initialization of the parameters should depend on idle_id.
1983 (hildon_pannable_area_init),
1984 (hildon_pannable_area_map): Small code style modifications
1986 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1988 * src/hildon-pannable-area.c
1989 (hildon_pannable_area_button_press_cb),
1990 (hildon_pannable_area_motion_notify_cb),
1991 (hildon_pannable_area_button_release_cb),
1992 (hildon_pannable_area_size_allocate),
1993 (hildon_pannable_area_scroll_to): Improved the timeouts
1994 management, we avoid creating them each time.
1996 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1998 * src/hildon-pannable-area.c:
1999 (hildon_pannable_area_refresh),
2000 (hildon_pannable_area_motion_notify_cb),
2001 (hildon_pannable_area_class_init):
2002 * src/hildon-pannable-area.h:
2003 * src/hildon-touch-selector.c
2004 (_create_new_column):
2005 * examples/hildon-pannable-area-example-4.c:
2006 (horizontal_movement),
2007 (vertical_movement),
2009 Replaced the names of enums in the HildonPannableArea:
2010 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2011 HILDON_MOVEMENT_MODE_*
2012 - HILDON_PANNABLE_AREA_MOV_* ->
2014 - Removed HildonPannableAreaIndicatorMode, now we
2017 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2019 * examples/hildon-pannable-area-touch-grid-example.c
2020 * examples/hildon-pannable-area-touch-list-example.c: Fix
2021 compilation warnings.
2023 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-gtk.c (hildon_gtk_button_new)
2026 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2027 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2028 images overriding the value of the "gtk-button-images" setting.
2030 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2032 * src/hildon-check-button.c (hildon_check_button_new):
2033 Instead of using a custom container, display the label and the
2034 checkbox using the standard GtkButton API.
2036 * examples/hildon-check-button-example.c (main): Don't use
2037 hildon_check_button_set_label() anymore
2039 * src/hildon-check-button.h
2040 * src/hildon-check-button.c
2041 (hildon_check_button_set_label, hildon_check_button_get_label):
2042 Set as deprecated, now we're using gtk_button_{get,set}_label()
2044 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2046 * src/hildon-pannable-area.c,
2047 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2048 GtkTreeview first line we detected it after the inclusion of the
2049 GtkWindowImpl in gtk+. We now check if the window is visible, not
2050 just if the pointer is over the window.
2051 (hildon_pannable_axis_scroll),
2052 (hildon_pannable_area_expose_event): Small style changes.
2054 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-button.c: Update documentation.
2058 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2060 * examples/hildon-button-example.c: Add a switch to show images in
2063 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2065 * doc/hildon-docs.sgml: Some docs reorganization.
2067 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2069 * examples/hildon-pannable-area-touch-list-example.c
2071 * examples/hildon-pannable-area-touch-grid-example.c
2072 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2073 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2074 Fix memory leak when setting the tree model.
2076 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2080 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2082 * doc/hildon.types: Remove duplicated hildon_window_get_type
2083 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2084 documentation comment.
2086 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2088 * doc/Makefile.am: Complete list of private headers.
2090 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2092 * doc/hildon-docs.sgml
2093 * src/hildon-app-menu.c
2094 * src/hildon-bread-crumb.c
2095 * src/hildon-button.c
2097 * src/hildon-program.c
2098 * src/hildon-stackable-window.c
2099 * src/hildon-window.c: Lots of documentation updates.
2101 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2103 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2105 * configure.ac: Require Gtk+ 2.12.9 at least
2107 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2109 * src/hildon-pannable-area.c
2110 (hildon_pannable_area_scroll_indicator_fade),
2111 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2112 to protect the return of this timeout callbacks, avoiding deadlocks.
2114 2008-08-12 Christian Dywan <christian@imendio.com>
2117 * src/hildon-*.h: Ensure a consistent include order,
2118 include <gtk/gtk.h> instead of particular files and
2119 only include the topmost header in the gtk stack. See NB #39857
2121 2008-08-12 Christian Dywan <christian@imendio.com>
2123 * src/hildon-picker-dialog.c
2124 * src/hildon-touch-selector.c: Fix warnings about unused and
2125 uninitialized variables.
2127 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2129 * examples/Makefile.am
2130 * examples/hildon-check-button-example.c: Example of the hildon
2133 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2135 * src/hildon-window.h
2136 * src/hildon-window.c (hildon_window_class_init)
2137 (hildon_window_unset_program): Don't make
2138 hildon_window_unset_program a virtual function anymore.
2140 * src/hildon-stackable-window.c: Update documentation
2142 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2145 * doc/hildon-docs.sgml
2146 * doc/visual_index.xml
2147 * src/hildon-defines.c
2149 * src/hildon-helper.c
2150 * src/hildon-range-editor.c: Lots of documentation fixes.
2152 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2154 * examples/hildon-picker-button-multicolumn-example.c
2155 (create_touch_selector): Fix compilation warning.
2157 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2159 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2160 (hildon_pannable_area_button_release_cb)
2161 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2163 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-bread-crumb-trail.h
2171 * src/hildon-date-editor.c
2172 * src/hildon-date-selector.c
2173 * src/hildon-pannable-area.c
2174 * src/hildon-picker-dialog.c
2175 * src/hildon-time-selector.c
2176 * src/hildon-touch-selector-entry.c
2177 * src/hildon-touch-selector.c
2178 * src/hildon-touch-selector.h: Misc documentation fixes
2180 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2182 * examples/hildon-date-editor-example.c (main): Updated date
2185 * examples/hildon-note-example.c (on_confirmation_clicked):
2186 Updated confirmation note example.
2188 * src/hildon-date-editor.c
2189 * src/hildon-note.c: Updated sample programs in documentation.
2192 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-date-button.h:
2195 * src/hildon-picker-button.h:
2196 * src/hildon-time-button.c:
2197 * src/hildon-time-button.h:
2199 Some declarations changes to allow gtk-doc to document the widgets
2202 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-date-button.c: Document the widget.
2205 * src/hildon-time-button.c: Document the widget.
2207 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-picker-button.c: Document the widget.
2210 * src/hildon-touch-selector-entry.c: Document the widget.
2212 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2214 * doc/hildon-docs.sgml
2217 * src/hildon-check-button.h
2218 * src/hildon-check-button.c: New functions to create the Hildon
2222 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2224 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2226 * src/hildon-button.h
2227 * src/hildon-button.c
2228 (hildon_button_add_title_size_group)
2229 (hildon_button_add_value_size_group)
2230 (hildon_button_add_image_size_group)
2231 (hildon_button_add_size_groups): New functions to set size groups
2232 for the button labels and image.
2233 (hildon_button_new_full): Removed
2235 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2237 * src/hildon-time-selector.c
2238 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2239 in order to avoid a crash if gconf is not available
2241 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2243 * src/hildon-button.c (hildon_button_set_arrangement)
2244 (hildon_button_construct_child): Don't construct the button child
2245 before setting the arrangement.
2247 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2249 * src/hildon-program-private.h
2250 * src/hildon-program.c
2251 * src/hildon-program.h
2252 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2253 (hildon_program_peek_window_stack)
2254 (hildon_program_pop_window_stack)
2255 (hildon_program_go_to_root_window): HildonProgram now has a
2256 separate list for stackable windows. Functions are provided to
2257 manage that list with a stack-like API.
2259 * src/hildon-stackable-window.c: Stackable window management is
2260 now much simpler with the new HildonProgram API. Windows no
2261 longer need to be manually added to the program, they're
2262 automatically pushed to the top of the stack when shown.
2264 * examples/hildon-stackable-window-example.c: Updated example to
2265 reflect the API changes.
2267 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-touch-selector.c: Comment out unimplemented
2270 hildon_touch_selector_insert_column() to avoid a compile warning.
2272 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2275 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2276 (hildon_touch_selector_set_column_selection_mode),
2277 (_hildon_touch_selector_set_model),
2278 (hildon_touch_selector_set_model):
2280 Complete review of HildonTouchSelector documentation.
2282 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2284 * doc/hildon-docs.sgml
2288 * src/hildon-gtk.c: Convenience functions for standard Gtk
2289 widgets, used to easily perform frequent operations.
2291 * src/hildon-button-helpers.h
2292 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2294 * src/hildon-helper.h
2295 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2296 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2298 * src/hildon-button.h
2299 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2301 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2303 * src/hildon-button.c (hildon_button_init)
2304 (hildon_button_set_arrangement, hildon_button_construct_child):
2305 Pack the image and the labels inside the same GtkAlignment so
2306 gtk_button_set_alignment() can be used
2308 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2310 * src/hildon-button.h
2311 * src/hildon-button.c
2312 (hildon_button_init, hildon_button_set_image)
2313 (hildon_button_set_image_position)
2314 (hildon_button_construct_child): New functions to add an image to
2317 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-date-button.c
2320 * src/hildon-picker-button.c
2321 * src/hildon-time-button.c
2322 * src/hildon-button.c:
2323 (hildon_button_class_init): "size-flags" renamed to "size"
2324 (hildon_button_set_title): Hide the title label if set to NULL.
2326 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2328 HildonButtonFlags split into HildonButtonArrangement (to set the
2329 button layout) and HildonSizeType (which can be used for any
2332 * src/hildon-button.h
2333 * src/hildon-button.c
2334 (hildon_button_class_init)
2335 (hildon_button_set_arrangement)
2336 (hildon_button_set_property): New "size-flags"
2337 property. "arrangement-flags" renamed to "arrangement".
2338 (hildon_button_new, hildon_button_new_with_text)
2339 (hildon_button_new_full): Constructors updated to reflect type changes.
2341 * src/hildon-helper.h
2342 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2343 to set the size of a widget.
2347 * src/hildon-button-helpers.c
2348 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2350 * src/hildon-date-button.c
2351 * src/hildon-date-button.h
2352 * src/hildon-picker-button.c
2353 * src/hildon-picker-button.h
2354 * src/hildon-time-button.c
2355 * src/hildon-time-button.h: Updated widgets to reflect
2356 HildonButton API changes.
2358 * examples/hildon-button-example.c
2359 * examples/hildon-date-button-example.c
2360 * examples/hildon-picker-button-example.c
2361 * examples/hildon-picker-button-multicolumn-example.c
2362 * examples/hildon-time-button-example.c
2363 * examples/hildon-touch-selector-entry-example.c
2364 * examples/hildon-touch-selector-example.c: Updated examples to
2365 reflect HildonButton API changes.
2367 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2369 * doc/hildon-docs.sgml:
2371 * examples/Makefile.am:
2372 * examples/hildon-touch-selector-entry-example.c:
2374 * src/hildon-touch-selector-entry.c:
2375 * src/hildon-touch-selector-entry.h:
2378 Moved HildonTouchSelectorEntry from sandbox. Added its
2379 documentation and examples.
2381 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2383 * src/hildon-touch-selector.h:
2384 * examples/hildon-picker-button-multicolumn-example.c:
2385 (hildon_touch_selector_append_text_column): Add a gboolean
2386 parameter to determine if text must be centered in the column.
2388 * src/hildon-date-selector.c: (hildon_date_selector_init):
2389 * src/hildon-time-selector.c: (hildon_time_selector_init):
2390 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2391 (create_touch_selector): Update widgets and example to reflect
2394 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/hildon-touch-selector.c:
2397 (hildon_touch_selector_set_active_iter): Set also the cursor in
2400 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2402 * doc/hildon-docs.sgml
2405 * src/hildon-toggle-button.c
2406 * src/hildon-toggle-button.h
2407 * src/hildon.h: Removed HildonToggleButton widget, a derived
2408 class is not necessary for this.
2410 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2412 * src/hildon-pannable-area.c,
2413 (hildon_pannable_area_realize),
2414 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2417 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2419 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2420 "done" button the default widget for the dialog.
2422 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2424 * src/hildon-touch-selector.c:
2425 (hildon_touch_selector_class_init),
2426 (hildon_touch_selector_get_property),
2427 (_hildon_touch_selector_set_model),
2428 (_hildon_touch_selector_has_multiple_selection),
2429 (hildon_touch_selector_has_multiple_selection):
2430 Add a "has-multiple-selection" property with a virtual
2431 has_multiple_selection() method to allow derived classes to
2432 override the default value for it. See the method and property
2433 documentation for details.
2435 * src/hildon-touch-selector.h: Add the new API.
2437 * src/hildon-picker-dialog.c: (requires_done_button): Call
2438 hildon_touch_selector_has_multiple_selection() instead of
2439 determining the need for a button itself.
2441 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2443 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2444 (_hildon_touch_selector_set_model),
2445 (hildon_touch_selector_set_model): Move working code to
2446 _hildon_touch_selector_set_mode(). Call the class method instead.
2448 * src/hildon-touch-selector.h: Add (*set_model) to
2449 HildonTouchSelectorClass.
2451 Make hildon_touch_selector_set_model() a virtual method, so that
2452 derived classes can extend it and do fancy stuff with the model.
2454 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2456 * configure.ac: Set back the tarname in AC_INIT to hildon.
2458 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2462 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2463 instead of libesd (NB#86876). Volume handling is still an open issue.
2465 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2468 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2470 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2471 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2472 derived class to ease placement of an entry widget in
2473 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2474 end, where the selector columns are packed now.
2476 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2478 * src/hildon-picker-button.c: Removed the simple _text() API.
2479 * src/hildon-picker-button.h: Likewise.
2481 * src/hildon-touch-selector.h:
2482 * src/hildon-touch-selector.c:
2483 (hildon_touch_selector_new_text),
2484 (hildon_touch_selector_append_text),
2485 (hildon_touch_selector_prepend_text),
2486 (hildon_touch_selector_insert_text):
2488 Moved the simple _text() API from HildonPickerButton to
2489 HildonTouchPicker, to provide better escalability and not to tie
2490 that API to HildonPickerButton.
2492 * examples/hildon-picker-button-example.c: (main): Example updated.
2494 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-button.c: Updated documentation.
2498 * examples/hildon-button-example.c: Add the posibility to create
2499 the buttons using horizontal layout for title and value.
2501 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-app-menu-private.h
2504 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2505 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2506 GtkSizeGroup for the filters, use the 'homogeneous' property of
2509 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2511 * examples/hildon-button-example.c: Updated example.
2513 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2515 * doc/hildon-docs.sgml:
2518 Update documentation.
2520 * examples/Makefile.am: Update renamed examples.
2522 * examples/hildon-picker-button-multicolumn-example.c:
2523 (create_touch_selector), (main): Update after the rename.
2525 * examples/hildon-touch-picker-example.c: Removed.
2526 * examples/hildon-touch-selector-example.c: (value_changed),
2527 (create_selector), (get_visible_content), (main): Renamed from
2528 hildon-touch-picker-example.c
2530 * src/Makefile.am: Updated renamed files.
2532 * src/hildon-date-button.c: (hildon_date_button_init),
2533 (hildon_date_button_get_date), (hildon_date_button_set_date):
2534 * src/hildon-date-selector.c: (hildon_date_selector_init),
2535 (_custom_print_func), (_update_day_model),
2536 (_manage_selector_change_cb),
2537 (hildon_date_selector_select_current_date),
2538 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2539 * src/hildon-date-selector.h:
2540 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2541 (hildon_picker_button_set_property),
2542 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2543 (hildon_picker_button_init), (hildon_picker_button_new_text),
2544 (hildon_picker_button_append_text),
2545 (hildon_picker_button_prepend_text),
2546 (hildon_picker_button_insert_text),
2547 (hildon_picker_button_set_selector),
2548 (hildon_picker_button_get_selector):
2549 * src/hildon-picker-button.h:
2550 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2551 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2552 (_update_title_on_selector_changed_cb), (requires_done_button),
2553 (_hildon_picker_dialog_set_selector),
2554 (hildon_picker_dialog_set_selector),
2555 (hildon_picker_dialog_get_selector):
2556 * src/hildon-picker-dialog.h:
2557 * src/hildon-time-button.c: (hildon_time_button_init),
2558 (hildon_time_button_get_time), (hildon_time_button_set_time):
2559 * src/hildon-time-selector.c: (hildon_time_selector_init),
2560 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2561 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2562 * src/hildon-time-selector.h:
2565 Massive code updates after the rename.
2567 * src/hildon-touch-picker.c: Removed.
2568 * src/hildon-touch-picker.h: Removed.
2570 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2571 (hildon_touch_selector_init), (hildon_touch_selector_map),
2572 (hildon_touch_selector_remove), (_default_print_func),
2573 (_selection_changed_cb), (_create_new_column),
2574 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2575 (hildon_touch_selector_append_text_column),
2576 (hildon_touch_selector_remove_column),
2577 (hildon_touch_selector_set_column_attributes),
2578 (hildon_touch_selector_insert_column),
2579 (hildon_touch_selector_get_num_columns),
2580 (hildon_touch_selector_get_column_selection_mode),
2581 (hildon_touch_selector_set_column_selection_mode),
2582 (hildon_touch_selector_set_print_func),
2583 (hildon_touch_selector_get_print_func),
2584 (hildon_touch_selector_get_active_iter),
2585 (hildon_touch_selector_set_active_iter),
2586 (hildon_touch_selector_get_selected_rows),
2587 (hildon_touch_selector_get_model),
2588 (hildon_touch_selector_set_model),
2589 (hildon_touch_selector_get_current_text),
2590 (_hildon_touch_selector_center_on_selected_items):
2591 * src/hildon-touch-selector.h: Renamed from
2592 hildon-touch-picker.[ch]
2594 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2595 references, code examples, and related documentation.
2597 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2599 * doc/hildon-docs.sgml
2602 * src/hildon-toggle-button.c
2603 * src/hildon-toggle-button.h
2604 * src/hildon.h: New HildonToggleButton widget.
2606 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2608 * src/hildon-button.c: Add API documentation.
2609 (hildon_button_set_size_groups): Check input parameters
2611 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2613 * src/hildon-pannable-area.c
2614 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2615 effect after reaching the movement thredshold. This way we start
2616 using the distance after passing the thredshold.
2618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-button.c: (hildon_button_set_property): Use the
2621 appropriate g_value_get_flags() method.
2623 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2625 * doc/hildon-docs.sgml:
2628 Add the touch pickers, picker dialogs, and picker button widgets
2629 to the documentation.
2631 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-button.c: (hildon_button_set_property),
2634 (hildon_button_class_init): Make "arrangement-flags" a proper
2635 G_TYPE_FLAGS derived property.
2637 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2639 * examples/Makefile.am: Add below examples.
2640 * examples/hildon-date-button-example.c:
2641 * examples/hildon-picker-button-example.c:
2642 * examples/hildon-picker-button-multicolumn-example.c:
2643 * examples/hildon-time-button-example.c:
2644 * examples/hildon-touch-picker-example.c:
2646 Add examples for the recently added touch pickers,
2647 picker dialogs, and picker button widgets.
2649 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-button.c: Add some API documentation
2653 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2655 * src/hildon-button.h
2656 * src/hildon-button.c
2658 (hildon_button_new_with_text): New constructor to create a button
2659 with no text at all.
2660 (hildon_button_init, hildon_button_set_arrangement)
2661 (hildon_button_set_title, hildon_button_set_value)
2662 (hildon_button_set_text)
2663 (hildon_button_construct_child): Hide the value when it's not used
2664 so the rest of the text is properly aligned.
2665 Allow creating buttons with arbitrary widgets inside (not just
2666 title/value labels).
2668 * examples/hildon-button-example.c (vertical_buttons_window)
2669 (horizontal_buttons_window): Update example to use new API.
2671 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/Makefile.am: Added HildonTimeButton.
2674 * src/hildon-time-button.c: Added missing LGPL header.
2675 * src/hildon-time-button.h: Added missing LGPL header.
2676 * src/hildon.h: Add hildon-time-button.h
2678 Copied HildonTimeButton from sandbox to trunk. Future work on this
2679 widget must take place in trunk.
2681 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2683 * src/Makefile.am: Added HildonDateButton.
2684 * src/hildon-date-button.c: Update includes.
2685 * src/hildon.h: Add hildon-date-button.h
2687 Copied HildonDateButton from sandbox to trunk. Future work on this
2688 widget must take place in trunk.
2690 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2692 * src/Makefile.am: Added HildonPickerButton.
2693 * src/hildon-picker-button.h: Update includes.
2694 * src/hildon.h: Add hildon-picker-button.h
2696 Copied HildonPickerButton from sandbox to trunk. Future work on
2697 this widget must take place in trunk.
2699 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/Makefile.am: Added HildonPickerDialog.
2702 * src/hildon-picker-dialog.c: Update includes.
2703 * src/hildon.h: Add hildon-picker-dialog.h
2705 Copied HildonPickerDialog from sandbox to trunk. Future work
2706 on this widget must take place in trunk.
2708 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2710 * src/Makefile.am: Added HildonTimeSelector.
2711 * src/hildon.h: Add hildon-time-selector.h
2713 Copied HildonTimeSelector widget from sandbox to trunk. Future
2714 work on this widget must happen in trunk.
2716 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2718 * src/Makefile.am: Added HildonDateSelector.
2719 * src/hildon.h: Add hildon-date-selector.h
2721 Copied HildonDateSelector widget from sandbox to trunk. Future
2722 work on this widget must happen in trunk.
2724 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/Makefile.am: Added HildonTouchPicker.
2727 * src/hildon-touch-picker.c: Update includes.
2728 * src/hildon.h: Add hildon-touch-picker.h
2730 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2731 on this widget must happen in trunk.
2733 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-pannable-area.c:
2736 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2738 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2740 * examples/hildon-app-menu-example.c (main): Let the window
2743 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2745 * src/hildon-pannable-area.c
2746 (hildon_pannable_area_class_init): Set the min value of the
2747 overshoot properties to zero, which points out that not
2748 overshooting allowed.
2750 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2752 Modified the procedure to get the widget at a point inside the
2753 pannable area when using the movement type signals. Now the user
2754 has to call a function to get the child, that way we just
2755 calculate the child in case the user really want to use it and not
2758 * src/hildon-marshalers.list: Modified the marshallers, now we do
2759 not have the widget as a parameter.
2761 * src/hildon-pannable-area.c
2762 (hildon_pannable_area_motion_notify_cb),
2763 (hildon_pannable_area_class_init),
2764 (hildon_pannable_get_child_widget_at): Removed the widget
2765 parameter from the signal callback. We have also refactored the
2766 emission of the signals.
2768 * src/hildon-pannable-area.h: Added a new method to the API to
2769 calculate a widget at a point inside the pannable area,
2770 hildon_pannable_get_child_widget_at.
2772 * examples/hildon-pannable-area-example-4.c
2773 (horizontal_movement): Modified the example to use the new API,
2774 added condition to control which widget is under the event. This
2775 way we can avoid scrolling laterally over other widgets.
2777 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2779 * src/hildon-pannable-area.c
2780 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2781 modes, we stop getting the pointer events due to returning the
2782 callback without properly calling the get pointer again. Fixed
2783 also an error using the hscroll and vscroll.
2785 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-app-menu-private.h
2788 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2789 (hildon_app_menu_button_release, hildon_app_menu_init)
2790 (hildon_app_menu_class_init): Don't hide the menu on button
2791 release if the user didn't press outside first.
2793 * src/hildon-window.h
2794 * src/hildon-window.c (hildon_window_toggle_menu)
2795 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2796 hildon_window_toggle_menu a virtual function for the stackable
2797 window to override it.
2799 * src/hildon-stackable-window.h
2800 * src/hildon-stackable-window-private.h
2801 * src/hildon-stackable-window.c
2802 (hildon_stackable_window_realize)
2803 (hildon_stackable_window_finalize)
2804 (hildon_stackable_window_class_init)
2805 (hildon_stackable_window_init)
2806 (hildon_stackable_window_set_main_menu): New function to set the
2807 app menu of a HildonStackableWindow.
2809 * examples/hildon-app-menu-example.c: Remove the button to show
2810 the app menu, now it'll be shown when clicking on the title bar
2813 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2816 set the widget name if the arrangement flags do not specify
2819 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-button.c: (hildon_button_set_property),
2822 (hildon_button_class_init), (hildon_button_new_full),
2823 (hildon_button_set_arrangement): Added "arrangement-flags"
2826 Make the HildonButtonFlags a construction-only property, to allow
2827 subclasses to set them properly.
2829 2008-07-21 Tim Janik <timj@imendio.com>
2831 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2832 insertion position after backspace, so additional digits are appended,
2835 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2837 * src/hildon-pannable-area.c,
2838 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2839 TODO list, it was complete and removed the g_debug and g_print
2842 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2844 Added the movement modes to the hildon-pannable-area, with this
2845 modes the developers can control in which directions the widget
2846 can scroll. They can also connect to signals in order to do
2847 something when that happens, allowing applications scroll. There
2848 is an example uploaded showing how to use it.
2850 * examples/Makefile.am:
2851 * examples/hildon-pannable-area-example-4.c: Added this example of
2852 an application using the modes.
2854 * src/hildon-marshalers.list: Added a new marshaller for the new
2857 * src/hildon-pannable-area.h: Added new enumerations and flags in
2858 order to control the movement modes and the new signals to warn
2859 about the movements in the area.
2861 * src/hildon-pannable-area.c:
2862 (hildon_pannable_axis_scroll),
2863 (hildon_pannable_area_scroll),
2864 (hildon_pannable_area_motion_notify_cb),
2865 (hildon_pannable_area_get_property),
2866 (hildon_pannable_area_set_property),
2867 (hildon_pannable_area_map),
2868 (hildon_pannable_area_class_init),
2869 (hildon_pannable_area_init),
2870 (hildon_pannable_area_jump_to): Added the modes to control the
2871 movement in the widget. We have added properties to control it,
2872 signals to warn about the movements and refactored some code.
2874 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2876 Changes required in order to allow vfast_factor set to zero to
2879 * src/hildon-pannable-area.c:
2880 (hildon_pannable_area_button_press_cb): Changed the condition, it
2881 is required for not allowing click when vfast_factor is zero.
2882 (hildon_pannable_area_timeout): Initialized velocity variables
2883 when we stop moving, it was less than 1 but not zero and we need
2884 to check zero in some situations.
2885 (hildon_pannable_area_class_init): Changed the default value of
2886 the speed factor, now the button_press is just sent in case the
2887 speed is 2 per cent of the max speed.
2888 (hildon_pannable_area_init): Initialization with 0.
2890 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2892 * src/hildon-pannable-area.c,
2893 (hildon_pannable_area_get_topmost): replaced
2894 gdk_window_get_children with gdk_window_peek_children, this way we
2895 do not have to free the list because it is not a copy.
2897 (hildon_pannable_axis_scroll),
2898 (hildon_pannable_area_scroll),
2899 (hildon_pannable_area_timeout),
2900 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2901 two parameters that were only used inside the
2902 hildon_pannable_area_scroll function.
2904 * examples/hildon-pannable-area-example.c,
2905 (get_sawtooth_label): Fixed small memory leak.
2907 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2909 More checks for the case where the overshoot is bigger than the
2912 * src/hildon-pannable-area.c:
2913 (hildon_pannable_draw_vscroll),
2914 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2915 to draw the slider of the scrollbar under the other scrollbar.
2916 (hildon_pannable_area_expose_event): added new checks to control
2917 the drawing of the overshooting area rectangle, in case it is too
2918 big for the area of the widget.
2919 (hildon_pannable_area_size_allocate): add more checks to avoid
2920 setting a position to the child widget outside the area.
2922 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2924 * src/hildon-pannable-area.c
2925 (hildon_pannable_area_size_allocate): Added conditions to control
2926 when overshooting is bigger than the allocated space for the
2927 children, this avoids negative allocations.
2929 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2931 * doc/hildon-docs.sgml
2933 * examples/Makefile.am
2934 * examples/hildon-button-example.c
2936 * src/hildon-button.c
2937 * src/hildon-button.h
2938 * src/hildon.h: Initial version of the new HildonButton widget,
2941 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2943 * src/hildon-pannable-area.c:
2944 (hildon_pannable_area_button_press_cb),
2945 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2946 (hildon_pannable_area_motion_notify_cb),
2947 (hildon_pannable_area_button_release_cb),
2948 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2949 (hildon_pannable_area_jump_to_child):
2951 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2953 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2955 * examples/Makefile.am
2956 * examples/hildon-pannable-area-touch-grid-example.c
2957 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2958 the Hildon Touch List and Hildon Touch Grid using the
2959 HildonPannableArea widget.
2961 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2963 * src/hildon-pannable-area.c,
2964 (hildon_pannable_area_button_press_cb),
2965 (hildon_pannable_area_refresh),
2966 (hildon_pannable_area_scroll),
2967 (hildon_pannable_area_motion_notify_cb),
2968 (hildon_pannable_area_button_release_cb),
2969 (hildon_pannable_area_expose_event),
2970 (hildon_pannable_area_add),
2971 (hildon_pannable_area_remove),
2972 (hildon_pannable_area_realize),
2973 (hildon_pannable_area_size_allocate),
2974 (hildon_pannable_area_class_init),
2975 (hildon_pannable_area_init),
2976 (hildon_pannable_area_scroll_to_child),
2977 (hildon_pannable_area_jump_to_child): Fixed the problem of
2978 removing the child from the GtkBin, we have rearranged the widget
2979 hierarchy, now there is no GtkAlignment which was not doing
2980 anything interesting but breaking some of the assumptions of
2981 GtkContainer. Now developers if they want to add a GtkAlignment
2982 they could, but it is not inside the area.
2984 We had to review the whole allocation/expose process, now it is
2985 improved and we save at least three signals which would be saving
2986 some time when rendering the widget. The allocation of the
2987 scrollbars is now made in the allocate method as usual.
2989 We have also added some conditions in order to control when there
2990 is no child of the pannable area. Maybe we will need more work
2993 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2995 * src/hildon-pannable-area.c,
2996 (hildon_pannable_area_dispose): Released the fade-out timeout when
2997 disposing the widget.
2999 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3001 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3002 zero, we are going to use that property in order to deactivate the
3004 (hildon_pannable_axis_scroll),
3005 (hildon_pannable_area_size_allocate): Added conditions to control
3006 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3007 call, now it is called in all situations and we can remove calls
3008 in the allocate method.
3009 (hildon_pannable_area_map): Control the situation when
3010 overshoot_max is zero, we do not need the timeout.
3011 (hildon_pannable_area_class_init): Added documentation in order to
3012 point out that setting zero to overshoot_max means deactivate
3015 NOTE: removed trailing whitespaces from my previous comments of
3018 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3020 * src/hildon-pannable-area.c
3021 (hildon_pannable_area_get_property),
3022 (hildon_pannable_area_set_property),
3023 (hildon_pannable_area_map),
3024 (hildon_pannable_area_class_init),
3025 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3026 to cause the widget give a hint about its panning abilities upon
3029 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3031 * src/hildon-pannable-area.c: Several documentation improvements.
3033 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3035 * src/hildon-program.c
3036 * src/hildon-stackable-window.c: Update documentation.
3038 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-stackable-window.c (get_previous_window_if_last):
3041 Renamed get_last_window()
3042 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3043 (hildon_stackable_window_unset_program):
3045 (get_previous_window_if_last):
3046 Detect if the window hasn't been added to a HildonProgram.
3048 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3050 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-pannable-area.c
3053 (hildon_pannable_area_button_press_cb),
3054 (hildon_pannable_axis_scroll),
3055 (hildon_pannable_area_scroll),
3056 (hildon_pannable_area_timeout),
3057 (hildon_pannable_calculate_vel_factor),
3058 (hildon_pannable_area_get_property),
3059 (hildon_pannable_area_set_property),
3060 (hildon_pannable_area_class_init),
3061 (hildon_pannable_area_init),
3062 (hildon_pannable_area_scroll_to),
3063 (hildon_pannable_area_jump_to),
3064 (hildon_pannable_area_scroll_to_child),
3065 (hildon_pannable_area_jump_to_child):
3066 * src/hildon-pannable-area.h: Added the new API functions:
3067 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3068 hildon_pannable_area_scroll_to_child,
3069 hildon_pannable_area_jump_to_child
3072 * examples/Makefile.am
3073 * examples/hildon-pannable-area-example-2.c
3074 * examples/hildon-pannable-area-example-3.c: Added these two new
3075 examples in order to test and show how the new APIs work.
3077 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3079 * examples/hildon-stackable-window-example.c (new_window):
3080 * src/Makefile.am (noinst_HEADERS):
3081 * src/hildon-program.c (hildon_program_go_to_root_window):
3082 * src/hildon-program.h:
3083 * src/hildon-stackable-window-private.h:
3084 * src/hildon-stackable-window.c:
3085 * src/hildon-stackable-window.h:
3086 Create hildon-stackable-window-private.h
3087 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3089 * examples/hildon-app-menu-example.c (create_menu):
3090 * examples/hildon-hvolumebar-insensitive-example.c (main):
3091 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3092 * examples/hildon-toolbar-seekbar-example.c (main):
3093 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3094 * src/hildon-banner.c (hildon_banner_set_property):
3095 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3096 Fix compilation warnings
3098 * src/hildon-window.c:
3101 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3103 * src/hildon-stackable-window.c
3104 (hildon_stackable_window_unset_program):
3105 Calculate correctly whether to show the previous window if the
3106 last one is removed from the stack.
3107 (hildon_stackable_window_go_to_root_window):
3108 Send delete events starting from the topmost window.
3109 Stop if one of the windows is not destroyed.
3111 (hildon_stackable_window_delete_event)
3112 (hildon_stackable_window_class_init):
3113 Ignore the delete event if the window is not the topmost one.
3115 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3117 * src/hildon-pannable-area.c
3118 (hildon_pannable_area_expose_event): Fixed a problem when
3119 selecting the background color of the scrollbars.
3121 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3123 * examples/hildon-stackable-window-example.c
3124 * src/hildon-stackable-window.c
3125 * src/hildon-stackable-window.h
3126 hildon_stackable_window_go_home() renamed to
3127 hildon_stackable_window_go_to_root_window()
3128 Send delete events to windows rather than closing them with
3129 gtk_widget_destroy()
3131 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-pannable-area.c
3134 (hildon_pannable_area_button_release_cb): Fix overshooting in
3137 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-pannable-area.c
3140 (hildon_pannable_area_init): Initially show the scroll indicators.
3141 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3143 Add initial effect showing the widget is pannable.
3145 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3147 * src/hildon-pannable-area.c
3148 (hildon_pannable_area_class_init)
3149 (hildon_pannable_area_set_property)
3150 (hildon_pannable_area_get_property)
3151 (hildon_pannable_area_button_press_cb):
3152 New 'velocity_fast_factor' property to decide which velocity is
3155 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3157 * src/hildon-pannable-area.c
3158 (hildon_pannable_draw_hscroll)
3159 (hildon_pannable_draw_vscroll):
3160 Use float variables to calculate the size of the scrollbars to
3161 avoid error propagation and resizing during scrolling.
3163 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-pannable-area.c
3166 (hildon_pannable_draw_vscroll)
3167 (hildon_pannable_draw_hscroll):
3168 Define a minimum size for the scroll bars
3170 * src/hildon-stackable-window.c
3171 (hildon_stackable_window_go_home): Fix compilation warning
3172 (get_last_window): Minor optimizations
3173 (hildon_stackable_window_class_init): Fix initialization of
3176 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-stackable-window.c: Fixed typos in doc
3180 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-pannable-area.c
3183 (hildon_pannable_area_scroll):
3184 Calculate here whether we need to scroll instead of using the booleans
3185 that tell us whether to /draw/ the scrolling bars.
3187 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-app-menu.h
3191 * src/hildon-app-menu.c
3192 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3193 multiple filter groups related code and API. Now we support only
3195 * examples/hildon-app-menu-example.c:
3197 Update to reflect API changes.
3199 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3201 * src/hildon-stackable-window.c
3202 (hildon_stackable_window_class_init):
3203 Add hildon_stackable_window_realize.
3204 (hildon_stackable_window_realize):
3205 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3206 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3207 to apply theming and behavior specific to HildonStackableWindow
3210 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-note.c (hildon_note_button_release):
3213 Close information notes also when tapping on them
3215 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3217 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3218 ELASTICITY, refactor and review, fix some issues with drawing
3221 * src/hildon-pannable-area.c:
3222 (hildon_pannable_area_button_press_cb): removed the conditions to
3223 avoid clicks when overshooting. It is not required
3225 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3226 define. Refatored and reviewed the code, now we do not need to
3227 manage velocity in motion_notify.
3229 (hildon_pannable_area_motion_notify_cb): We have moved the code
3230 that controls the area_scroll to the axis_scroll function and get
3231 rid of duplicated code.
3233 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3235 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3237 (hildon_pannable_draw_vscroll),
3238 (hildon_pannable_draw_hscroll): Fixed the problems with the
3239 scrollbar drawing, now we do not use two surfaces, it is easier
3240 and saves resources.
3242 (hildon_pannable_area_get_property): Style modification.
3244 (hildon_pannable_area_class_init): Changed some default values.
3246 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3248 * src/hildon-stackable-window.c: Fix some typos in the
3251 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-dialog.c:
3254 Change indentation style
3257 (hildon_note_button_release):
3258 Use root coordinates to check if the release event happened
3261 * src/hildon-app-menu.c
3262 (hildon_app_menu_button_release):
3263 Remove unnecessary check
3265 * examples/hildon-app-menu-example.c
3267 Add cast to fix warning
3269 * src/hildon-app-menu.c
3270 (hildon_app_menu_class_init):
3271 New inner-border style property.
3272 Set all default spacings to 16
3273 (hildon_app_menu_init):
3274 Use vertical-spacing to set the space between filter buttons and
3275 regular menu buttons.
3276 Set the default container border using the inner-border value.
3278 * examples/hildon-app-menu-example.c
3280 Don't set the menu border explicitly, now we have the inner-border
3281 style property for that.
3283 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3285 * src/hildon-app-menu.c (hildon_app_menu_init):
3286 Make the window modal
3288 * src/hildon-note.c (hildon_note_map)
3289 * src/hildon-app-menu.c (hildon_app_menu_map):
3290 Destroy the grab window if we're unable to grab the pointer
3292 * src/hildon-app-menu-private.h
3293 * src/hildon-app-menu.c
3294 (hildon_app_menu_init, hildon_app_menu_finalize)
3295 (hildon_app_menu_map, hildon_app_menu_unmap)
3296 (hildon_app_menu_button_release)
3297 (grab_transfer_window_get):
3298 Bring back the grab window
3299 (hildon_app_menu_realize):
3300 Decorate the window, set WM hint for Matchbox
3302 * src/hildon-note.c (hildon_note_realize):
3303 * src/hildon-banner.c (hildon_banner_realize):
3304 Add WM hints for Matchbox
3306 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3308 * src/hildon-app-menu-private.h
3309 * src/hildon-app-menu.c
3310 (hildon_app_menu_init, hildon_app_menu_finalize)
3311 (hildon_app_menu_map, hildon_app_menu_unmap)
3312 (hildon_app_menu_button_release):
3313 Remove the grab window, it's not needed anymore
3315 * src/hildon-program.c
3316 Fixed typo in documentation
3318 * src/hildon-app-menu.h
3319 * src/hildon-app-menu.c
3320 * examples/hildon-app-menu-example.c
3321 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3323 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3326 Added new transfer_window and close_if_pressed_outside private
3328 (hildon_note_rebuild):
3329 Don't add a cancel button to the information note. It will be
3330 closed when tapping outside
3331 Remove the comment about the OK button in the documentation
3332 (hildon_note_realize):
3333 Set the notification type hint
3334 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3335 Grab/ungrab pointer and keyboard if the note has to be closed when
3337 (hildon_note_button_release):
3338 Close the note when tapping outside (if applicable)
3340 * src/hildon-app-menu.c
3341 Grab/ungrab pointer and keyboard on map/unmap
3342 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3343 Close the menu on button release, not button press
3345 * src/hildon-banner.c
3346 (hildon_banner_set_property)
3347 (hildon_banner_check_position):
3348 Make the banner use the full width of the screen
3349 (hildon_banner_show_information)
3350 (hildon_banner_show_information_with_markup):
3351 Don't display an icon by default
3353 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3355 Added fading scrollbars and adapted all the overshooting code to
3356 horizontal scrolling. We have also fixed bugs with overshooting
3357 and current fading implementation.
3359 * src/hildon-pannable-area.c
3360 (hildon_pannable_area_scroll_indicator_fade): Time out function
3361 used to change the transparency of the scrollbars.
3363 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3364 control and fixed a problem with fading, we now remove the fade
3365 timeout before adding a new one.
3367 (hildon_pannable_axis_scroll):
3368 (hildon_pannable_area_scroll):
3369 (hildon_pannable_area_timeout): Added this functions so we can use
3370 the scroll code both for vertical and horizontal.
3372 (hildon_pannable_area_motion_notify_cb):
3373 (hildon_pannable_area_button_release_cb): Added the horizontal
3374 scrolling control, fixed a problem with the overshooting timeout.
3376 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3377 painting of the scrolls.
3379 (hildon_pannable_draw_vscroll):
3380 (hildon_pannable_draw_hscroll):
3381 (hildon_pannable_area_expose_event):
3382 Draw both scrollbars and rectangles in the overshooting area.
3384 (hildon_pannable_area_get_property):
3385 (hildon_pannable_area_set_property):
3386 Modified the overshoot property to overshoot_max
3388 (hildon_pannable_area_map):
3389 Replaced the comments symbols.
3391 (hildon_pannable_area_size_allocate):
3392 (hildon_pannable_area_class_init):
3393 (hildon_pannable_area_init): Added horizontal scroll, fading
3394 effect properties, fixed a problem when overshooting in the bottom
3397 * examples/hildon-pannable-area-example.c:
3398 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3399 looks better in the example.
3401 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-window.c
3404 * src/hildon-window.h
3405 (hildon_window_class_init)
3406 (hildon_window_unset_program)
3407 (hildon_window_unset_program_real):
3408 Make unset_program a virtual function
3410 * src/hildon-stackable-window.c
3411 * src/hildon-stackable-window.h
3412 Added hildon_stackable_window_go_home()
3414 * examples/Makefile.am
3415 * examples/hildon-stackable-window-example.c
3416 HildonStackableWindow example
3418 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3420 * hildon-pannable-area.c: Added the overshoot property and removed
3421 the OVERSHOOT define. Fixed an indent style error.
3422 (hildon_pannable_area_motion_notify_cb):
3423 (hildon_pannable_area_get_property):
3424 (hildon_pannable_area_set_property): Add overshoot property.
3426 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3429 (hildon_pannable_area_class_init): Installed the new property.
3431 * hildon-pannable-area-example.c: Added a sawtooth function, this
3432 way it is easier to check the movement in the pannable.
3433 (get_sawtooth_label): Added this function.
3434 (main): Now we get the labels from the new get_sawtooth_label
3437 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-app-menu.h
3440 * src/hildon-app-menu.c
3441 Renamed API variables for consistency
3443 (hildon_app_menu_popup): Use also the default window size to
3444 decide where to place the menu
3446 (hildon_app_menu_init, hildon_app_menu_class_init): New
3447 external-border style property
3449 2008-05-26 Michael Natterer <mitch@imendio.com>
3451 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3452 widget_class->tap_and_hold_setup signal slot doesn't exist any
3453 longer, stop overriding it.
3455 (hildon_time_editor_init): g_signal_connect() to the
3456 tap-and-hold-setup signal instead.
3458 (hildon_time_editor_entry_keypress): add cast to fix warning.
3460 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3462 * doc/hildon-docs.sgml
3464 * examples/Makefile.am
3465 * examples/hildon-app-menu-example.c
3467 * src/hildon-app-menu-private.h
3468 * src/hildon-app-menu.c
3469 * src/hildon-app-menu.h
3471 New HildonAppMenu widget
3473 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3475 Rearranged the inheritance of the pannable area, now it inherits
3476 from GtkBin. This will allow us to control the event_window and
3477 the allocation process of the widget, required for some effects.
3479 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3480 GtkBin structures. * src/hildon-pannable-area.c: Added the
3481 event_window variable.
3482 (hildon_pannable_area_button_press_cb):
3483 (hildon_pannable_area_button_release_cb):
3484 (hildon_pannable_area_motion_notify_cb):
3485 Changed the signature of the method, now we override the event
3486 callback instead of connecting to the signal.
3488 (hildon_pannable_area_realize):
3489 (hildon_pannable_area_unrealize):
3490 (hildon_pannable_area_map):
3491 (hildon_pannable_area_unmap):
3492 (hildon_pannable_area_size_allocate):
3493 Added functions to control the widget construction. We add a
3494 INPUT_ONLY window and we put it over the widgets inside the
3495 container, this event_window handles the events.
3497 (hildon_pannable_area_class_init):
3498 Replaced the signal connections with overrides of the event
3501 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3503 Bouncing effect added when touching the borders, you can change
3504 the elasticity of the border changing the ELASTICITY define.
3506 * src/hildon-pannable-area.c: Added ELASTICITY define.
3507 (hildon_pannable_area_timeout): Added inverse velocity when
3508 touching the border of the child widget, that causes a bounce.
3510 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3512 Improved performance, we now do not go to the X server in order to
3513 get the list of window children. Apparently the effect is the
3514 same, we have to be careful and check if this breaks something in
3517 * src/hildon-pannable-area.c:
3518 (get_ordered_children): Removed this function.
3519 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3520 the children windows function with gdk_window_get_children.
3522 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3524 * src/hildon-pannable-area.c:
3525 (hildon_pannable_area_dispose): Fixed a crash when closing the
3526 window and kinetics is activated.
3528 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-pannable-area.h
3531 * src/hildon-pannable-area.c
3532 Changed indentation style to meet the one used in Hildon
3534 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3536 Reviewed the interaction of the AUTO mode, now we use the time
3537 attribute of the events and calculate the velocity in the motion,
3538 doing a gimp like calculation. The velocity is calculated in each
3539 motion event using the last velocity and the current one, the
3540 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3542 * src/hildon-pannable-area.c: Replaced the time based algorithm
3544 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3545 timeout for the AUTO mode when we are still moving the cursor. We
3546 added also the velocity calculation in this function.
3547 (hildon_pannable_area_button_release_cb): launch the timeout in
3548 case we are in AUTO mode. There are still some constants here that
3549 come from the old implementation that should be reviewed and
3552 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3554 * doc/hildon-docs.sgml
3557 * src/hildon-stackable-window.c
3558 * src/hildon-stackable-window.h
3560 New HildonStackableWindow widget
3562 * examples/hildon-dialog-example.c
3563 * examples/hildon-pannable-area-example.c
3566 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3568 * src/hildon-dialog.c
3569 (hildon_dialog_new_with_buttons): New constructor.
3571 * examples/hildon-dialog-example.c
3572 (main): Update the example to use the new
3573 hildon_dialog_new_with_buttons().
3575 * examples/hildon-pannable-area-example.c
3576 (main): Update example.
3578 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3580 * doc/hildon-docs.sgml
3582 Added HildonPannableArea to the documentation.
3584 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3586 * doc/visual_index.xml
3587 Fix reference to HildonLoginDialog in documentation
3589 * doc/hildon-docs.sgml
3591 * examples/Makefile.am
3592 * examples/hildon-dialog-example.c
3594 * src/hildon-dialog.c
3595 * src/hildon-dialog.h
3597 New HildonDialog widget.
3599 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-pannable-area.c
3602 Merge latest changes (r4318, r4342) from libmokoui trunk
3604 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3606 * examples/Makefile.am
3607 * examples/hildon-pannable-area-example.c
3609 * src/hildon-pannable-area.c
3610 * src/hildon-pannable-area.h
3612 New HildonPannableArea widget.
3614 2008-04-15 18:05:19 <timj@imendio.com>
3616 * src/hildon-banner.c: revert the recent change, that introduced
3617 gtk_window_present() calls. this reopens:
3618 Bug 78481 - [freetest] information banners are hidden under browser menu
3619 But resolves another variant of:
3620 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3622 2008-04-15 13:21:13 <timj@imendio.com>
3624 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3625 recreated its layout, spotted by Kris. this fixes all remaining
3626 artefacts and stability issues with the banner code. in particular:
3627 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3629 2008-04-14 16:52:59 <timj@imendio.com>
3631 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3632 operating on unrealized widgets, fixes:
3633 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3635 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3637 2008-04-09 Kristian Rietveld <kris@imendio.com>
3639 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3640 makes banner disappear.
3641 Fixes: NB#79182: info banner flickering with certain message lengts.
3643 * src/hildon-banner.c (hildon_banner_constructor),
3644 (hildon_banner_init), (hildon_banner_set_text),
3645 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3646 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3647 FALSE, reset size requests of label and banner,
3648 (force_to_wrap_truncated): when the text is too wide, always enforce
3649 the maximum possible width instead of recalculating it from the
3650 layout; enforce the maximum banner height of 3 lines,
3651 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3652 nicer wrapping and no truncated chars if space gets tight.
3654 * src/hildon-banner-private.h: add has_been_wrapped and
3655 has_been_truncated fields.
3657 2008-04-07 Sven Herzberg <sven@imendio.com>
3659 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3660 local values in hildon_date_editor_size_allocate
3662 * src/hildon-date-editor.c: moved the real allocation code into the
3665 2008-04-07 Sven Herzberg <sven@imendio.com>
3667 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3668 local values in hildon_date_editor_size_allocate
3670 * src/hildon-date-editor.c: merged the two if() branches together
3672 2008-04-07 Sven Herzberg <sven@imendio.com>
3674 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3675 local values in hildon_date_editor_size_allocate
3677 * src/hildon-date-editor.c: changed the arguments of the if()
3680 2008-04-07 Sven Herzberg <sven@imendio.com>
3682 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3683 local values in hildon_date_editor_size_allocate
3685 * src/hildon-date-editor.c: split the calculation of the allocation
3686 from the real allocation
3688 2008-03-27 Michael Natterer <mitch@imendio.com>
3690 Fixes: NB#81696: The passcode is not overwritten even after
3693 * src/hildon-code-dialog.c
3694 (hildon_code_dialog_button_clicked)
3695 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3696 because that doesn't overwrite selected text. Instead, emit the
3697 "commit" signal on the entry's im_context so the entry's normal
3698 insert logic is triggered. Set the cursor to the end of the entry
3699 after each insert operation so that we *only* insert in the middle
3700 of the text if something was selected.
3702 2008-03-27 Michael Natterer <mitch@imendio.com>
3704 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3705 selector cannot be opened
3707 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3708 when the popup color selector is created. Please connect to this
3709 signal in order to set the dialog's help ID.
3711 2008-03-25 Sven Herzberg <sven@imendio.com>
3713 Fixes: MB#1212: Hide info banners (infoprints) on click
3715 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3716 extracted the close event simulation into an extra function
3717 (hildon_banner_button_press_event): simulate a close event and destroy
3718 the widget if the event wasn't handled
3719 (hildon_banner_class_init): added the button_press_event handler
3720 (hildon_banner_init): added button-press events to the widget
3722 2008-03-25 Sven Herzberg <sven@imendio.com>
3724 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3725 Patch from: Mohammad Anwari <mdamt@maemo.org>
3727 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3728 instead of the right in RTL mode
3729 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3730 breadcrumb button list in RTL mode
3731 * src/hildon-caption.c: mirror the appearance of the caption widget in
3733 * src/hildon-date-editor.c: mirror appearance of the date editor in
3735 * src/hildon-time-editor.c: mirror appearance of the time editor in
3737 * src/hildon-window.c: fix the position of the popup in RTL mode
3739 2008-03-25 Sven Herzberg <sven@imendio.com>
3741 Amendment to the fix of NB#22072. Fix compilation.
3743 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3745 2008-03-19 Sven Herzberg <sven@imendio.com>
3747 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3750 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3751 timeout id properly when the timeout will disappear this leaves no
3752 artifacts around in the destroy(); there will only be the timeout
3753 created by hildon_banner_ensure_timeout() and adding a new timeout
3754 will also work if the timeout gets removed because the timeout_handler
3757 2008-03-19 Michael Natterer <mitch@imendio.com>
3759 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3761 * src/hildon-volumebar.c
3762 * src/hildon-vvolumebar.c
3763 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3764 the widget becomes focussable at all.
3766 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3767 set the focus to wither the mute button or the volumebar.
3769 Remove own "can-focus" property and instead listen to
3770 notify::can-focus in order to update the widget's state.
3772 Implement GtkWidget::focus() and make sure we can also *leave* the
3773 widget, not only enter it, depending on volumebar orientation and
3774 requested focus direction.
3776 Clean up set_mute() to cooperate nicely with all the above.
3778 2008-03-04 Michael Natterer <mitch@imendio.com>
3780 Fixes: NB#78481: information banners are hidden under browser menu
3782 * src/hildon-banner.c: call gtk_window_present() on the banners so
3783 they are risen if they are already visible.
3785 2008-03-03 Sven Herzberg <sven@imendio.com>
3787 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3789 * examples/hildon-window-menu-example.c: (main): extended the window
3790 menu example to serve as a testcase for automatically added
3791 accelerator groups, too
3792 * src/hildon-window.c: (hildon_window_add_accel_group),
3793 (hildon_window_set_menu): added patch by Tommi Komulainen
3795 2008-03-03 Sven Herzberg <sven@imendio.com>
3797 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3799 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3800 knowledge about the border allocators used within GTK+
3802 2008-02-26 Sven Herzberg <sven@imendio.com>
3804 Fixes: MB#2981: Build with asserts broken
3806 * src/hildon-date-editor.c,
3807 * src/hildon-number-editor.c,
3808 * src/hildon-time-editor.c,
3809 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3810 the proper GType instance check
3812 2008-02-25 Sven Herzberg <sven@imendio.com>
3814 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3816 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3817 * examples/hildon-window-menu-example.c: (main): explicitly show
3819 * src/hildon-window.c:
3820 (hildon_window_set_main_menu): moved most of the code from set_menu()
3821 to this place; skipped the call to gtk_widget_show_all(); also didn't
3822 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3823 (hildon_window_set_menu): removed most of the code, just keep the
3824 questionable gtk_widget_show_all()
3825 * src/hildon-window.h: added the new function and deprecate the old
3828 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3834 * debian/changelog: Updating.
3836 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3839 * pkgconfig/Makefile.am:
3840 * pkgconfig/hildon.pc.in:
3843 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3844 use newly created API_MAJOR_VERSION.
3846 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3852 * debian/changelog: Updating.
3854 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3856 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3858 Add outer_border style property, we use it but don't define it (!).
3862 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3864 * examples/hildon-bread-crumb-trail-example.c (main):
3868 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3870 Fix logic for the bread crumb trail node removal.
3874 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3880 * debian/changelog: Updating.
3882 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3884 Patch by Alejandro to get/set passwords dialogs accesibility.
3886 * hildon-1/src/hildon-get-password-dialog.c:
3887 * hildon-1/src/hildon-set-password-dialog.c:
3888 Set atk_set_name to the passwd entries in order to allow
3889 accessibility by name on this entries.
3891 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3896 * debian/control: Updating gtk dep.
3898 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3900 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3901 USE_MAEMO_GTK is enabled.
3903 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3905 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3906 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3908 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3914 * debian/changelog: Updating.
3916 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3918 * examples/Makefile.am:
3919 * examples/hildon-logical-color-example.c:
3920 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3921 applied + adding a test case. Fixes: NB#71660.
3923 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3925 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3926 to be visible, fixes warning on map for windows without toolbars.
3928 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3930 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3931 2.11.0, add a check for that besides the MAEMO_GTK check.
3933 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3939 * debian/changelog: Updating.
3941 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3943 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3944 visibility. Fixes: NB#70842 and MB#615.
3946 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3948 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3949 set the separator as no-show-all so it doesn't unintentionally appear when
3950 someone does a show_all.
3952 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3954 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3955 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3956 toplevel item. Fixes: NB#62031
3958 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3960 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3961 fix the name of the function in the docs.
3963 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3969 * debian/changelog: Updating.
3971 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3973 * examples/hildon-banner-long-example.c: Adding a test-case for long
3976 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3978 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3980 * src/hildon-color-chooser-dialog.c:
3981 * src/hildon-color-chooser.c:
3982 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3983 memory leaks in font selector and color selector. Fixes: NB#70499 and
3986 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3988 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3990 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3992 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3993 little bit bigger. Fixes: #NB63694.
3995 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4001 * debian/changelog: Updating.
4003 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4006 * doc/hildon-docs.sgml:
4007 * doc/images/bread-crumb-trail.png:
4008 * doc/images/calendar-popup.png:
4009 * doc/images/caption.png:
4010 * doc/images/code-dialog.png:
4011 * doc/images/color-button.png:
4012 * doc/images/color-chooser-dialog.png:
4013 * doc/images/color-chooser.png:
4014 * doc/images/controlbar.png:
4015 * doc/images/date-editor.png:
4016 * doc/images/font-selection-dialog.png:
4017 * doc/images/get-password-dialog.png:
4018 * doc/images/hvolumebar.png:
4019 * doc/images/login-dialog.png:
4020 * doc/images/note.png:
4021 * doc/images/number-editor.png:
4022 * doc/images/range-editor.png:
4023 * doc/images/seekbar.png:
4024 * doc/images/set-password-dialog.png:
4025 * doc/images/sort-dialog.png:
4026 * doc/images/time-editor.png:
4027 * doc/images/time-picker.png:
4028 * doc/images/vvolumebar.png:
4029 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4030 Adding the bread-crumb-trial and helpers to the documentation.
4032 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4034 * examples/hildon-find-toolbar-example.c:
4035 * src/hildon-find-toolbar.c:
4036 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4037 actually continue firing the other handlers if connected. Adding a new
4039 hildon_find_toolbar_get_last_index that gets the index of the most
4040 recently added (last) item. Fixes: NB#52301.
4042 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4044 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4045 behaviour. Fixes: NB#68610.
4047 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4049 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4052 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4054 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4055 when realizing the banner. Should make the infonbanner effect a bit more
4058 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4060 * src/hildon-volumebar.c:
4061 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4062 hildon_volumebar_set_range_insensitive_message and
4063 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4065 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4067 * src/hildon-window.c: Fixing the border freeing on destroy.
4069 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * src/hildon-code-dialog-private.h:
4072 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4073 kw keyboard support in HildonCodeDialog.
4075 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4081 * debian/changelog: Updating.
4083 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * src/hildon-date-editor.c:
4086 * src/hildon-number-editor.c:
4087 * src/hildon-private.c:
4088 * src/hildon-private.h:
4089 * src/hildon-time-editor.c:
4090 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4091 handling in subclassed composite widgets. Fixes: NB#66628.
4093 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4095 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4096 from destroy_ callback as it introduces problems in async dbus signal
4097 handlers. Fixes NB#66673.
4099 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4101 * examples/hildon-hvolumebar-example.c:
4102 * src/hildon-volumebar.c: Improving the focus handling in the
4103 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4104 set_property accessor so that "mute" property can be actually set. I'm
4105 scared that nobody noticed it's totally broken.
4107 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4109 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4112 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4114 * src/hildon-calendar.c:
4115 * src/hildon-number-editor.c:
4116 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4117 matches the spec of 6 chars per second. Fixes: NB#60489.
4119 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4121 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4122 gtk_style_lookup_color sometime returns FALSE even though color was
4123 found and values were filled properly. Weird. Removing the warning for the
4126 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4128 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4129 expand vertically. Adding some extra space to the find toolbar buttons to
4130 make them thumbable. Fixes NB#66060.
4132 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4134 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4135 popup with "Ok" and "Cancel". Fixes NB#59299.
4137 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4139 * src/hildon-calendar.c: Process all window updates before executing next
4140 timeout. Fixes: NB#54146.
4142 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4148 * debian/changelog: Updating.
4150 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4152 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4153 the client event and ignore it, since we use the delete event to close
4156 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4158 * src/hildon-helper.c: Remove the bogus warning about color not being
4159 found. Fixes NB#58352.
4161 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4163 * examples/Makefile.am:
4164 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4165 HildonSeekbar widget inside a toolbar.
4167 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4169 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4170 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4171 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4172 don't want to be closed by non-temporary windows on map.
4174 Also use G_DEFINE_TYPE instead of manually typed code.
4176 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4183 * debian/rules: Updating.
4185 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4187 * examples/Makefile.am:
4188 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4189 bug NB#61128. Strangely it works.
4191 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * src/hildon-date-editor.c: When the date editor entry has been changed
4194 but the numbers of characters < max, turn off the skip validation flag.
4195 Prevents a situation when we enter first a valid year and later re-write
4196 it with an invalid one. Fixes NB#60154.
4198 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4200 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4201 code dialog. Fixes NB#64355.
4203 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4205 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4206 switching the page. Fixes NB#49374.
4208 * examples/Makefile.am:
4209 * examples/hildon-wizard-dialog-example.c: Adding an example for
4210 HildonWizardDialog that shows how to handle manual sensitivity setting on
4213 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4217 * src/hildon-version.h.in:
4218 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4220 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4222 * src/hildon-volumebar.c: Updating the docs.
4224 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4230 * debian/changelog: Updating.
4232 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * src/hildon-find-toolbar.c:
4235 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4236 selected item: hildon_find_toolbar_set_active,
4237 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4238 hildon_find_toolbar_get_active_iter . They correspond to respective
4239 GtkComboBox functions.
4241 * examples/Makefile.am:
4242 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4245 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4247 * examples/Makefile.am:
4248 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4251 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4252 when font size > 32 and we pack a focusable widget inside. Actually using
4253 the default response would work too, but since we don't show default
4254 response state in any way (no theming) it would not be visible to the
4255 user. Fixes NB#63430.
4257 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4259 * src/hildon-date-editor.c: Adding the missing variable setter in the
4260 set_property handler. Fixes NB#54182.
4262 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4264 * src/hildon-window.h: Changing the long key press time from 1500ms to
4265 800ms as requested in NB#63700. I have a bad feeling about this, let's
4266 see... Fixes NB#63700.
4268 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4270 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4271 hildon_time_picker_map, hildon_time_picker_realize,
4272 hildon_time_picker_style_set): Split the contents of map to more
4273 appropriate functions; set window decorations on realize and update
4274 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4276 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4281 * debian/changelog: Updating.
4283 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4285 * src/Makefile.am: fixed installation of the header files
4287 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4293 * debian/changelog: Updating.
4295 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4297 * configure.ac: Removing some remaining of --enable-xan.
4299 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4301 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4302 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4304 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4305 2.10.12-osso6 because the move-focus signal needs to be available in
4308 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4310 * examples/Makefile.am:
4311 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4312 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4313 fine. Prolly NB#61128 is fixed now.
4315 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4317 * src/hildon-volumebar.c:
4318 * src/hildon-volumebar.h: Adding the
4319 hildon_volumebar_set_range_insensitive_message and
4320 hildon_volumebar_set_range_insensitive_messagef functions to set
4321 insensitive message on the slider of the volumebar. Fixes NB#61129.
4323 * examples/Makefile.am:
4324 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4325 test the new insensitive messsage functionality on HildonVolumebar.
4327 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4329 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4332 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4335 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4336 button on after clearing the trail.
4338 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4340 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4342 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4344 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4345 by splitting the installed headers in generated and non-generated groups. Use
4346 only the non-generated headers to create the hildon-enum-types.h file.
4348 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4350 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4352 * src/hildon-window.c: Hide the window before performing the destroy.
4353 Should make the app closing a little tiny bit more snappy.
4355 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4357 * src/hildon-seekbar.c: add gtkrange.h header
4358 * src/hildon-caption.c: remove unused variable
4360 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4362 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4365 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4371 * debian/changelog: Updating.
4373 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4375 * src/hildon-window.c (hildon_window_window_state_event,
4376 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4377 escape timeout on focus-out-event rather than notify::is-topmost; the
4378 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4380 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4382 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4383 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4385 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4387 * src/hildon-window: actually, you need to use the macro always, there's
4388 no private pointer in the instance structure. We should have cleaned this up
4389 when we had the chance...
4391 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4393 * src/hildon-window.c: do not get the private date from HildonWindow before
4394 it passes the g_return_if_fail check. Once it's passed the test, there's no
4395 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4396 if you are only going to access the data once. Whitespace cleanups.
4398 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4400 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4401 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4403 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4409 * debian/changelog: Updating.
4411 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4413 * src/hildon-window.c: When destroying the window, remove (if exists) the
4414 escape timeout handler. Fixes #NB59276.
4416 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4418 * src/hildon-banner.c: When realizing the widget, set the window
4419 transiency. Setting the transiency in the gobject constructor is not
4420 good, as the widget is not realized at that point. Fixes: #NB56624.
4422 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4424 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4425 Add padding for future expansions.
4427 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4429 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4430 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4431 will fake an activation on the previous to the last item of the trail, so
4432 the effect can be overrided by the developer as usual.
4433 Also change the callback for the back button to do the same thing, so its
4434 effect can be overrided too. Fixes: NB#58982
4436 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4438 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4439 HildonCaption. Fixes NB#52379.
4441 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4443 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4444 the internal state of the trail after the user has had the chance of executing
4445 his handler for the signal. Specifically, it may happen that the activated button
4446 is removed and the user still lets the default handler run. This would segfault
4449 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4451 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4452 scrollbar to the preview dialog. Fixes NB#54147.
4454 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4456 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4457 max/min year properties can be altered, so the client can modify it
4458 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4460 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4462 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4463 hildonlike by default. Fixing a problem with disappearing arrows when
4464 scrolling through months and years. Fixes NB#54127.
4466 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4468 * examples/hildon-date-editor-example.c: Adding error callback to the date
4471 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4477 * configure.ac: Updating.
4479 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4481 * configure.ac: Adding a special '--enable-xan' configure option that
4482 turns off the -Werror compilation setting. Usefull for development.
4484 * src/hildon-calendar.c:
4485 * src/hildon-number-editor.c:
4486 * src/hildon-time-picker.c: Adding the 5* multiplier to
4489 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4491 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4492 instead of g_object_ref + gtk_object_sink.
4494 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4500 * debian/changelog: Updating.
4502 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4504 * src/hildon-color-chooser-dialog.c:
4505 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4506 straight from Tommi labs.
4508 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4510 * examples/hildon-finger-example.c: Correcting the header file path.
4512 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4513 the changed signal. Fixes a small memory leak.
4515 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4519 * src/hildon-banner.c: Importing several usefull fixes from the
4520 ubuntu-mobile branch.
4522 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4524 * examples/Makefile.am:
4525 * examples/hildon-finger-example.c: Adding a finger-checking code
4528 * src/hildon-font-selection-dialog.c: Do not allocate the color
4529 structure using the g_new. Fixes NB#54061.
4531 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4533 * src/hildon-helper.c: Correcting tabs in file.
4535 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4537 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4538 control the visibility of the children.
4540 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4542 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4548 * debian/changelog: Updating.
4550 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4552 * src/hildon-bread-crumb-trail.c:
4553 (hildon_bread_crumb_trail_size_allocate):
4555 Make the back button always a square.
4557 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4559 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4560 from the .c file as it's a private file.
4562 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4564 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4565 uses slightly bigger height.
4567 * src/hildon-font-selection-dialog.c: Adding some checks before
4568 freeing memory in the font selection dialog.
4570 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4572 * src/hildon-font-selection-dialog.c: Adding a small check when
4575 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4576 buttons sensitivity on page switching.
4578 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4580 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4581 internal details of adding a bread crumb to the trail.
4583 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4589 * debian/changelog: Updating.
4591 * src/hildon-bread-crumb-trail.h:
4592 * src/hildon-bread-crumb.h: Changing the API guard to
4593 HILDON_ENABLE_UNSTABLE_API.
4595 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4603 * src/hildon-helper.h: Updating.
4605 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4613 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4617 * src/hildon-helper.h: Small fix to make the package actually compile.
4619 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4621 * src/hildon-bread-crumb-trail.h:
4622 * src/hildon-bread-crumb.h:
4624 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4625 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4627 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4629 * examples/hildon-bread-crumb-trail-example.c:
4631 * src/hildon-bread-crumb-trail.c:
4632 * src/hildon-bread-crumb-trail.h:
4633 * src/hildon-bread-crumb.c:
4634 * src/hildon-bread-crumb.h:
4635 * src/hildon-marshalers.list:
4636 * src/hildon-bread-crumb-widget.c:
4637 * src/hildon-bread-crumb-widget.h:
4639 Slight change in the widget design. The bread crumb trail API is
4640 unchanged, but HildonBreadCrumb is now an interface. A *private*
4641 implementation, hildon-bread-crumb-widget, is provided and used
4642 internally by the trail for the push_text/push_icon functions.
4644 The generic push API is still available, so anyone can implement
4645 and use its own bread crumb widget.
4647 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4649 * debian/rules: Fixing the shlibs.
4651 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4653 * src/hildon-banner.c: Fixing a problem with timed banners having
4654 their parrent destroyed before they are.
4656 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4658 * src/hildon-bread-crumb.c:
4659 * src/hildon-bread-crumb.h:
4661 Make the get_natural_size function a vfunc.
4663 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4665 * src/hildon-bread-crumb.c:
4666 * src/hildon-bread-crumb-trail.c:
4670 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4677 * debian/changelog: Updating for release.
4679 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4681 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4682 don't leak the pango layout.
4684 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4687 * examples/hildon-bread-crumb-trail-example.c:
4691 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4693 * debian/changelog: Removing the bug-fixed entries that were actually
4694 resolved as WONTFIX.
4696 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4699 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4701 * src/hildon-bread-crumb-trail.c:
4702 * src/hildon-bread-crumb-trail.h:
4703 * src/hildon-bread-crumb.c:
4704 * src/hildon-bread-crumb.h:
4708 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4710 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4711 until it's passed the type check.
4713 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4715 * examples/hildon-bread-crumb-trail-example.c
4719 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4721 * examples/Makefile.am
4722 * examples/hildon-bread-crumb-trail-example.c
4724 * src/hildon-bread-crumb-trail.c
4725 * src/hildon-bread-crumb-trail.h
4726 * src/hildon-bread-crumb.c
4727 * src/hildon-bread-crumb.h
4729 New HildonBreadCrumbTrail widget.
4731 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4733 * src/hildon-range-editor.c (hildon_range_editor_init),
4734 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4735 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4736 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4737 hildon_time_editor_class_init, hildon_time_editor_init),
4738 src/hildon-get-password-dialog.c (invalid_input,
4739 hildon_get_password_set_property, hildon_get_password_get_property,
4740 create_contents, hildon_get_password_dialog_set_max_characters),
4741 src/hildon-set-password-dialog.c (create_contents),
4742 src/hildon-date-editor.c (hildon_date_editor_init),
4743 src/hildon-login-dialog.c (hildon_login_dialog_init),
4744 src/hildon-number-editor.c (hildon_number_editor_init),
4745 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4746 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4747 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4748 configure option and adding the respective checks in the code.
4749 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4750 hildon_calendar_drag_data_received): fixed some build warnings.
4752 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4754 * debian/changelog: A 1.0.0 release notes.