1 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4 * src/hildon-caption.c: (hildon_caption_class_init):
5 * src/hildon-color-button.c: (hildon_color_button_class_init):
6 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
7 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
8 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
9 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
11 Replace deprecated GTK+ marshalers and replace them with the ones provided
12 by GLib, for those available, add a marshaler for BOOLEAN:VOID, which
13 is not available in GLib, and use it.
15 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
18 the text from the previous column if there is no
19 HildonTouchSelectorColumn::text-property set.
21 2008-11-27 Alberto Garcia <agarcia@igalia.com>
24 * src/hildon-button.c (hildon_button_set_property)
25 (hildon_button_get_property, hildon_button_class_init)
26 (hildon_button_set_style, hildon_button_get_style):
27 New "style" property to change the visual appearance of the
30 * src/hildon-picker-button.c (hildon_picker_button_new):
31 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
33 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
34 HildonButton look like PickerButton)
36 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
38 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
39 column while building the default string.
41 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
43 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
44 scroll indicator by default.
46 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
48 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
50 * src/hildon-main.c: Fix the documentation for hildon_init()
52 2008-11-25 Alberto Garcia <agarcia@igalia.com>
54 * doc/hildon-docs.sgml
58 * src/hildon-window-stack-private.h
59 * src/hildon-window-stack.h
60 * src/hildon-window-stack.c:
61 New HildonWindowStack object, that adds support for multiple
62 stacks of windows per process.
64 * src/hildon-stackable-window-private.h
65 * src/hildon-stackable-window.h
66 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
67 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
68 (hildon_stackable_window_show, hildon_stackable_window_hide)
69 (hildon_stackable_window_class_init)
70 (hildon_stackable_window_init):
71 Use HildonWindowStack for stack management.
73 * src/hildon-program.c (hildon_program_pop_window_stack)
74 (hildon_program_peek_window_stack)
75 (hildon_program_go_to_root_window):
76 Add a fallback implementation to the deprecated functions using
79 * examples/hildon-stackable-window-example.c:
80 Use the new HildonWindowStack API.
82 2008-11-25 Alberto Garcia <agarcia@igalia.com>
84 * src/hildon-stackable-window-private.h
85 * src/hildon-stackable-window.c (hildon_stackable_window_show)
86 (hildon_stackable_window_hide, hildon_stackable_window_init):
87 Remove all window stack management.
89 * src/hildon-program-private.h
90 * src/hildon-program.h
91 * src/hildon-program.c (hildon_program_init)
92 (hildon_program_pop_window_stack)
93 (hildon_program_peek_window_stack)
94 (hildon_program_go_to_root_window):
95 Remove all window stack management and mark functions as
98 2008-11-25 Alberto Garcia <agarcia@igalia.com>
100 * src/hildon-app-menu.c (hildon_app_menu_realize):
101 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
103 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
105 * configure.ac: post release version bump
106 * debian/changelog: version bump
108 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
113 * configure.ac: bump version
114 * debian/changelog: updates
116 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
118 Based on initial code by Christian Dywan (christian@imendio.com)
120 * doc/hildon-docs.sgml: Add section for hildon-main.
121 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
122 * src/Makefile.am: Add new hildon-main.[ch]
123 * src/hildon-defines.h: Update the icon sizes.
124 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
125 new library initialization files and register icon sizes.
126 * src/hildon-main.h: New declarations.
127 * src/hildon.h: Include hildon-main.h
129 Add new initialization functions to the library. These methods
130 will register the hildon specific icon sizes and can be used in the
131 future for other hildon specific bits.
133 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
135 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
137 * src/hildon-window.c: (hildon_window_realize),
138 (hildon_window_notify), (-hildon_window_update_title): Do not set
139 the application name in the window title.
141 Fixes: NB#89754 (Applications shouldn't display their names in the
144 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
146 * src/hildon-note-private.h:
147 * src/hildon-note.c: (hildon_note_set_property),
148 (hildon_note_get_property), (hildon_note_class_init),
149 (hildon_note_init), (hildon_note_finalize),
150 (hildon_note_new_confirmation_with_icon_name),
151 (hildon_note_new_information_with_icon_name):
153 No need to mark as deprecated the actual code. Revert
154 to avoid missing symbols in widgets using deprecated API.
156 2008-11-20 Alberto Garcia <agarcia@igalia.com>
158 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
160 * src/hildon-volumebar.h
161 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
162 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
164 * src/hildon-helper.h
165 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
166 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
168 * examples/Makefile.am:
169 Deprecate hildon-insensitive-example
171 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
173 2008-11-20 Alberto Garcia <agarcia@igalia.com>
175 * examples/hildon-pannable-area-buttons-scroll-example.c:
176 Make all buttons finger height
178 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
180 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
182 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
183 update the day model only if it is really required, and to avoid the
184 full-reconstruction aproach. Now it only add or remove the required days.
186 The purpose of this is avoid superfluous HildonTouchSelector::changed
189 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
190 with strange parameters)
192 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
194 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
196 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
197 the WINDOW_TYPE property.
199 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
201 2008-11-19 Alberto Garcia <agarcia@igalia.com>
204 Fix dependency to allow parallel compilation with make -jX
206 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
208 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
209 color frame and some minor tweaks to make it more consistent with
212 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
213 highlighted but not visible)
215 2008-11-14 Alejandro G. Castro <alex@igalia.com>
217 * examples/Makefile.am: Fixed typo in the Makefile.am.
219 2008-11-14 Alejandro G. Castro <alex@igalia.com>
221 Reviewed the use of MAEMO_GTK define, now we add the define in the
222 compilation line, and we also add it to the pc file.
224 * configure.ac: Added MAEMO_GTK define to the compilation command
225 and removed it from the config.h.
227 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
228 do not have to take care about this define if the library was
232 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
234 2008-11-14 Alejandro G. Castro <alex@igalia.com>
236 * examples/Makefile.am,
237 * examples/hildon-pannable-area-buttons-scroll-example.c,
238 * examples/hildon-pannable-area-gesture-signals-example.c,
239 * examples/hildon-pannable-area-scroll-jump-example.c,
240 * examples/hildon-pannable-area-tree-view-example.c:
241 Renamed the pannable area examples, now they have more meaningful
244 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
246 * src/hildon-touch-selector.c:
247 (hildon_touch_selector_set_column_selection_mode): Used of
248 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
249 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
250 to avoid re-seting the same selection mode.
252 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
253 breaks HildonPickerDialog)
255 2008-11-13 Alejandro G. Castro <alex@igalia.com>
257 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
258 conditional in the Makefile.am
260 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
262 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
263 Remove unused methods.
265 2008-11-12 Alberto Garcia <agarcia@igalia.com>
267 * src/hildon-button.c (hildon_button_init):
268 Make button images center-aligned by default
270 2008-11-12 Alejandro G. Castro <alex@igalia.com>
273 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
274 activated, we have to think about how to deal with both defines
275 MAEMO_GTK and MAEMO_CHANGES.
277 2008-11-12 Alberto Garcia <agarcia@igalia.com>
279 * examples/hildon-app-menu-example.c (create_menu): Make all
282 2008-11-11 Alejandro G. Castro <alex@igalia.com>
284 Fixed the compilation without maemo gtk adding ifdefs with
285 MAEMO_GTK define to the code, we have to check this version more
288 * examples/Makefile.am: Added control to avoid some examples that
289 just make sense with maemo gtk.
292 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
293 hildon modes with the define.
295 * examples/hildon-edit-toolbar-example.c,
296 (create_icon_view): Create the icon view without hildon-gtk
297 helpers if we are not using maemo gtk.
299 * src/hildon-touch-selector.c,
300 (_create_new_column): Create the treeview without hildon-gtk
301 helpers if we are not using maemo gtk.
303 2008-11-11 Alejandro G. Castro <alex@igalia.com>
305 * src/hildon-pnnable-area.c,
306 (hildon_pannable_area_dispose),
307 (hildon_pannable_area_button_press_cb),
308 (hildon_pannable_area_child_mapped),
309 (hildon_pannable_area_add),
310 (hildon_pannable_area_remove): Added code to control the position
311 of the event_window when adding and removing children from the
312 pannable. We have to raise the event window when the child is
315 Fixes: NB#89811 (Not able to select first image thumbnail in multi
316 selection mode using custom widget inside pannable)
318 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
320 * configure.ac: post release version bump
321 * debian/changelog: version bump
323 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
328 * configure.ac: bump version
329 * debian/changelog: updates
331 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
333 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
334 search mode, in order to avoid lose the focus on the treeview when
335 a hw key (like enter) is pressed.
337 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
338 in HildonDateSelector dialog)
340 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
342 * debian/rules: Added --enable-maintainer-mode
343 * Makefile.am: Added ACLOCAL_AMFLAGS
345 This allows to properly regenerate the Makefiles if you modify the
346 configure.ac or any Makefile.am.
348 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
350 * examples/hildon-app-menu-example.c: (main): Do not set RC style
351 properties, not needed at all.
353 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
355 * src/hildon-note-private.h: Add strings for the icon and stock_icon
357 * src/hildon-note.c: (hildon_note_set_property),
358 (hildon_note_get_property), (hildon_note_class_init),
359 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
360 (hildon_note_new_confirmation_add_buttons): Remove icons.
361 (hildon_note_new_confirmation_with_icon_name): Deprecate.
362 (hildon_note_new_information_with_icon_name): Deprecate.
363 (hildon_note_new_confirmation): Act directly, without calling
364 the deprecated constructor.
365 (hildon_note_new_information): Act directly, without calling
366 the deprecated constructor.
367 * src/hildon-note.h: Mark deprecate methods as such.
368 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
369 not run tests on the deprecated methods if built with deprecation
372 Fixes: NB#91688 (Never show icons in information notes/confirmation
375 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
377 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
378 (hildon_app_menu_key_press): Remove leftover usage of the
379 private structure in HildonAppMenu struct.
380 * src/hildon-app-menu.h: Remove leftover private structure
381 from the HildonAppMenu struct.
383 Fixes a crasher when using the HildonAppMenu.
385 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
387 * src/hildon-picker-dialog.c: Use appropriate logical id
388 for the default "Done" text.
390 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
392 * configure.ac: post release version bump
393 * debian/changelog: version bump
395 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
397 Modified the way to scroll to the current selection just when the touch
398 selector is shown on the screen, avoiding a g_idle. Added too a property
399 to configure this behaviour. See hildon_pannable_area_jump_to_child
400 documentation for more information.
402 * src/hildon-touch-selector.c
403 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
404 Added 'initial-scroll' property
405 (hildon_touch_selector_set_property): Added
406 (hildon_touch_selector_map): Removed as not required anymore
407 (_hildon_touch_selector_on_selected_items): Modified in order to manage
408 only a concrete column, instead of iterate along all the columns
410 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
415 * configure.ac: bump version
416 * debian/changelog: updates
418 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
421 compilation time warnings.
423 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
425 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
426 the default value for HildonPannableArea::mov-mode to
427 HILDON_PANNABLE_AREA_MODE_VERT.
429 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
431 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
433 Reverting following commit:
435 2008-10-13 Alberto Garcia <agarcia@igalia.com>
437 * src/hildon-app-menu-private.h
438 * src/hildon-app-menu.[ch]
439 * src/hildon-button.[ch]
440 * src/hildon-check-button.[ch]
441 * src/hildon-entry.[ch]
442 * src/hildon-pannable-area.[ch]
443 * src/hildon-text-view.[ch]:
444 Added private field to the object's structure.
446 because it causes an ABI breakage. We will need to introduce these
447 changes later at some point. See NB#91636 for an extensive
448 explanation and status.
450 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
452 Patch contributed by Daniel Borgmann (danielb@openismus.com)
454 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
455 remove special cases that are no longer necessary.
457 Fixes: NB#91016 (Change toolbar sizes, simplification)
459 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
462 is shown in the cancel note.
464 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
466 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
467 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
468 (hildon_seekbar_init): Remove steppers, remove expose event.
469 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
471 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
473 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
475 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
476 label font to "SmallSystemFont" for vertically arranged buttons.
478 Fixes: NB#90662 (HildonButton "value" and "detail" text is
481 2008-10-31 Alberto Garcia <agarcia@igalia.com>
483 * src/hildon-check-button.c
484 (hildon_check_button_set_active, hildon_check_button_clicked):
485 Don't access private parts directly, use getters instead.
487 2008-10-31 Alberto Garcia <agarcia@igalia.com>
489 * src/hildon-check-button.c (hildon_check_button_new):
490 Align the contents of the check button to the left.
492 2008-10-30 Alejandro G. Castro <alex@igalia.com>
494 * src/hildon-pannable-area.c,
495 (hildon_pannable_area_scroll_to),
496 (hildon_pannable_area_jump_to),
497 (hildon_pannable_area_scroll_to_child),
498 (hildon_pannable_area_jump_to_child): Replace the mapped
499 precondition of these functions with the realized, it is the
500 correct state of the widget in this case. Changed the
501 documentation according to this modification.
503 2008-10-30 Alejandro G. Castro <alex@igalia.com>
505 Added a new EXTRA_CFLAGS option to add the deprecated define to
506 the compilation command. This way we can avoid using the define in
507 the documentation compilation.
509 * configure.ac: Defined EXTRA_CFLAGS.
511 * examples/Makefile.am:
513 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
515 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
517 * src/hildon-picker-dialog.c:
518 Defined a utility macro with the desired touch selector height
519 Removed currently unused separator, and title_label variables from
521 (hildon_picker_dialog_init): Removed code related to the creation
522 of unused private variables title_label and separator.
523 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
524 to ensure correct visualization of the touch selector inside the dialog.
525 * src/hildon-touch-selector.c
526 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
527 ensure a concrete height of the widget.
529 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
534 Remove spurious whitespaces.
536 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
538 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
539 compilation warning after the cancel button removal.
541 2008-10-30 Alejandro G. Castro <alex@igalia.com>
543 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
545 * configure.ac: Added an AM_CONDITIONAL in order to use in the
546 Makefile.am, that way we can choose not to compile some examples
547 and tests of the deprecated widgets.
549 * examples/Makefile.am: Divided the sources in deprecated and
552 * src/Makefile.am: Added undef statement of the deprecated
553 symbol to the enums file generation process.
555 * src/hildon-color-chooser-dialog.c
556 * src/hildon-color-chooser-dialog.h
557 * src/hildon-color-button.c
558 * src/hildon-color-button.h
559 * src/hildon-color-chooser.c
560 * src/hildon-color-chooser.h
561 * src/hildon-controlbar.c
562 * src/hildon-controlbar.h
563 * src/hildon-date-editor.c
564 * src/hildon-date-editor.h
565 * src/hildon-hvolumebar.c
566 * src/hildon-hvolumebar.h
567 * src/hildon-private.c
568 * src/hildon-private.h
569 * src/hildon-range-editor.c
570 * src/hildon-range-editor.h
571 * src/hildon-seekbar.c
572 * src/hildon-seekbar.h
573 * src/hildon-time-editor.c
574 * src/hildon-time-editor.h
575 * src/hildon-time-picker.c
576 * src/hildon-time-picker.h
577 * src/hildon-volumebar.c
578 * src/hildon-volumebar.h
579 * src/hildon-vvolumebar.c
580 * src/hildon-vvolumebar.h
581 * src/hildon-bread-crumb-trail.h
582 * src/hildon-bread-crumb-trail.c
583 * src/hildon-calendar-popup.c
584 * src/hildon-calendar-popup.h
585 * src/hildon-weekday-picker.c:
586 * src/hildon-weekday-picker.h:
587 * src/hildon-bread-crumb-widget.c:
588 * src/hildon-bread-crumb-widget.h:
589 * src/hildon-bread-crumb.c:
590 * src/hildon-bread-crumb.h:
591 * src/hildon-calendar.c:
592 * src/hildon-calendar.h:
593 * src/hildon-caption.c:
594 * src/hildon-code-dialog.c:
595 * src/hildon-code-dialog.h:
596 * src/hildon-font-selection-dialog.c:
597 * src/hildon-font-selection-dialog.h:
598 * src/hildon-get-password-dialog.c:
599 * src/hildon-get-password-dialog.h:
600 * src/hildon-login-dialog.c:
601 * src/hildon-login-dialog.h:
602 * src/hildon-number-editor.c:
603 * src/hildon-number-editor.h:
604 * src/hildon-set-password-dialog.c:
605 * src/hildon-set-password-dialog.h:
606 * src/hildon-sort-dialog.c:
607 * src/hildon-sort-dialog.h: This is the list of deprecated
610 * src/hildon-touch-selector.c:
611 * src/hildon-window.c: Added undef statement to avoid compilation
614 * tests/Makefile.am: Divided the sources in deprecated and
617 * tests/check_test.c,
618 (configure_tests): Marked the deprecated code that was adding
619 suites with deprecated tests.
621 Fixes: NB#91135 (Deprecate legacy hildon widgets)
623 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
625 * src/hildon-touch-selector.c: (_default_print_func): Do not
626 duplicate a string returned by gtk_tree_model_get(), it is already
629 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
632 2008-10-28 Alejandro G. Castro <alex@igalia.com>
634 * src/hildon-pannable-area.c
635 (hildon_pannable_area_add_with_viewport): Reviewed the complete
636 method, it had problems when adding a widget with viewport the
637 second time. Now checks if it already has a viewport and uses it.
639 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
642 2008-10-28 Alejandro G. Castro <alex@igalia.com>
644 * src/hildon-pannable-area.c,
645 (hildon_pannable_area_scroll_to),
646 (hildon_pannable_area_jump_to),
647 (hildon_pannable_area_scroll_to_child),
648 (hildon_pannable_area_jump_to_child): Added a precondition to the
649 scroll and jump to functions: the widget must be mapped before we
650 can safely call these functions. We have also added documentation
651 to the functions to explain how to use them in this situation.
654 2008-10-28 Alejandro G. Castro <alex@igalia.com>
656 Reviewed the threading handling of the pannable widget, we have
657 used the gdk_threads_add_timeout function instead of the usual
658 glib handlers. This avoids some problems with the threads.
660 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
661 (hildon_pannable_area_initial_effect),
662 (hildon_pannable_area_scroll_indicator_fade),
663 (hildon_pannable_area_button_press_cb),
664 (hildon_pannable_area_timeout),
665 (hildon_pannable_area_motion_notify_cb),
666 (hildon_pannable_area_button_release_cb),
667 (hildon_pannable_area_scroll_cb),
668 (hildon_pannable_area_scroll_to): Removed the
669 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
670 gdk_threads_add_timeout.
672 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
674 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
679 * configure.ac: bump version
680 * debian/changelog: updates
682 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
684 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
685 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
686 * src/hildon-color-chooser-dialog.c:
687 (hildon_color_chooser_dialog_init):
688 * src/hildon-font-selection-dialog.c:
689 (hildon_font_selection_dialog_init):
690 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
692 Remove all cancel/close-like dialogs, as these are not going to be
695 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
697 * src/hildon-note.c: (hildon_note_rebuild),
698 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
701 Fixes: NB#90661 (Delete dialog is displayed without NO button)
703 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
705 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
706 sure all buttons are shown, even the Cancel/Close-like ones.
708 Fixes: NB#90861 (Custom Confirmation dialogs should be
709 protected from cancel button removal)
711 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
713 * debian/control: Change libhildon1-examples dependency from libhildon1
715 * debian/libhildon1-examples.install
717 * Makefile.am: Modified the final install directory for the examples on
718 package libhildon1-examples
719 * Makefile.static: Update clean target in order to remove all the binary
722 Changes suggested by Claudio after review new libhildon1-examples package
724 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
726 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
727 * src/hildon-touch-selector.c: Ditto.
729 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
731 * debian/control: Added new package libhildon1-examples, in order to pack
732 the current hildon examples as documentation
733 * debian/rules: Not to compress .c files, modify some includes on the
734 examples (as normally are compiled locally, but when installed it will
735 require to include the installed libhildon1 library), and rename
737 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
738 install all the example files on the new example package
739 * examples/Makefile.static: Added static makefile that can be used to
740 compile the examples, once installed the new example package
741 * examples: Most of the examples were modified in order to grant that
742 all use only '#include "hildon.h"', in order to be easy to prepare
743 it on the example package
745 2008-10-23 Alberto Garcia <agarcia@igalia.com>
748 * debian/libhildon1-dev.install
749 * debian/libhildon1-doc.install:
750 Move all gtk-doc files to a separate libhildon1-doc package.
752 2008-10-23 Daniel Borgmann <danielb@openismus.com>
754 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
756 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
758 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
760 * debian/rules: Fixed a error in order to avoid unnecessary calls
761 to autogen.sh on package building
763 2008-10-22 Alberto Garcia <agarcia@igalia.com>
765 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
767 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
769 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
772 2008-10-21 Alberto Garcia <agarcia@igalia.com>
774 * src/hildon-picker-button.c
775 (hildon_picker_button_finalize):
776 Free priv->done_button_text
778 * src/hildon-time-button.c
779 (hildon_time_button_set_time)
780 * src/hildon-picker-button.c
781 (hildon_picker_button_clicked)
782 (hildon_picker_button_selector_selection_changed)
783 (hildon_picker_button_set_selector)
784 * src/hildon-date-button.c
785 (hildon_date_button_set_date):
786 Free strings returned by hildon_touch_selector_get_current_text()
788 * src/hildon-button.c (hildon_button_construct_child):
789 Fix leaks in priv->image and priv->label_box
791 Fixes: NB#90535 (Memory leak in picker button)
793 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
795 * src/hildon-button.c: (hildon_button_get_property): Do not access
796 private elements directly, use getters instead.
798 2008-10-20 Alberto Garcia <agarcia@igalia.com>
800 * src/hildon-app-menu-private.h
801 * src/hildon-app-menu.c
802 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
803 Store the menu's parent window.
805 * src/hildon-stackable-window.c
806 (hildon_stackable_window_toggle_menu)
807 (hildon_stackable_window_finalize):
808 Set the menu's parent window when the menu is shown, unset it when
811 * src/hildon-app-menu.c
812 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
813 (hildon_app_menu_class_init):
814 Send unhandled keyboard accelerators to the parent window.
816 2008-10-20 Alberto Garcia <agarcia@igalia.com>
818 * src/hildon-stackable-window.c
819 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
821 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
823 * configure.ac: post release version bump
825 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
828 * configure.ac: Bump version
829 * debian/changelog: Updates
830 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
833 2008-10-20 Alberto Garcia <agarcia@igalia.com>
835 Patch contributed by Daniel Borgmann (danielb@openismus.com)
838 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
839 GtkMenu with Hildon style.
841 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
843 * src/hildon-picker-button.c:
844 (hildon_picker_button_set_done_button_text): Set the dialog's
845 done button text here as well.
847 Fixes: NB#90232 (Picker button does not set the label on done button
850 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
852 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
855 2008-10-16 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-app-menu.c (hildon_app_menu_insert)
858 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
859 the HildonAppMenu to be activatable using keyboard accelerators
860 when the menu is not being shown.
862 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
864 2008-10-16 Alberto Garcia <agarcia@igalia.com>
866 * src/hildon-stackable-window.c
867 (hildon_stackable_window_show):
868 Don't hide old windows automatically when new windows are shown:
869 this is now a task for the window manager.
870 (hildon_stackable_window_class_init)
871 (hildon_stackable_window_hide):
872 Remove windows from the stack everytime they're hidden.
873 (hildon_stackable_window_realize):
874 Don't change the _NET_WM_WINDOW_TYPE property. Use
875 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
876 it as a stackable window.
878 * src/hildon-program.c
879 (hildon_program_pop_window_stack):
880 Just hide the window to remove it from the stack.
881 (hildon_program_go_to_root_window):
882 Don't call gtk_widget_show(), this is now a task for the window
885 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
887 2008-10-15 Alberto Garcia <agarcia@igalia.com>
889 * src/hildon-button.c
890 (hildon_button_construct_child):
891 Don't pack anything in the button until text or image are
892 set. This allows adding a custom child after creating the button
893 with hildon_button_new().
894 (hildon_button_finalize, hildon_button_class_init)
895 (hildon_button_init, hildon_button_set_arrangement): Destroy the
896 alignment and the label box even when they're not packed in the
899 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
901 * src/hildon-touch-selector.h:
902 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
903 currently the type definition was using GTK_TYPE_VBOX
904 * src/hildon-touch-selector.c:
905 Added some implementation notes in order to clarify that any other widget
906 added without the column related API will not be included on the
907 selection logic, and how the widget is freed, as some people ask about
909 (hildon_touch_selector_remove): Reimplemented in order to free properly
910 the column related data when you remove the private hbox.
911 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
912 to get a proper HildonTouchSelectorColumn documentation
914 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-touch-selector-entry.c:
917 (hildon_touch_selector_entry_print_func): Return NULL if there is no
918 text in the GtkEntry and there is no item selected. Fixes a
921 2008-10-13 Alberto Garcia <agarcia@igalia.com>
923 * src/hildon-app-menu-private.h
924 * src/hildon-app-menu.[ch]
925 * src/hildon-button.[ch]
926 * src/hildon-check-button.[ch]
927 * src/hildon-entry.[ch]
928 * src/hildon-pannable-area.[ch]
929 * src/hildon-text-view.[ch]:
930 Added private field to the object's structure.
932 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
934 * configure.ac: post-release version bump
936 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
940 * configure.ac: pre-release version bump
942 * debian/changelog: updates.
944 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
946 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
947 Disconnect the handler for HildonTouchSelector::changed.
949 (hildon_picker_button_selector_selection_changed): Update the button
950 value if the selection change was not triggered by the
953 (hildon_picker_button_set_selector): connect to
954 HildonTouchSelector::changed.
956 Fixes: NB#89650 (Picker button is not updated, when selection in
957 selector has changed)
959 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
961 * src/hildon-picker-dialog.c
962 (hildon_picker_dialog_realize): Removed as not required
963 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
964 * src/hildon-picker-button.c
965 (_current_selector_empty): New function, checks if the selector is empty
966 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
967 if the current selector is empty, in order to avoid to show the dialog
968 close the dialog in this case (and shows a g_warning).
970 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
972 2008-10-09 Alejandro G. Castro <alex@igalia.com>
974 * src/hildon-pannable-area.c,
975 (hildon_pannable_area_scroll): Added clause to stop movement when
976 the child of pannable is smaller than one page.
977 (hildon_pannable_area_scroll_to): Added conditions to avoid
978 starting the scrolling movement if the child is smaller than one
979 page, the complete child is in the screen, we do not have to move.
981 Fixes: NB#89632 (Picker button selection doesn't change on first click)
983 2008-10-09 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-app-menu.c: Removed the 'columns' property, as now
986 this is managed automatically by the widget when the size of the
989 2008-10-09 Alberto Garcia <agarcia@igalia.com>
991 * src/hildon-picker-button.c
992 (hildon_picker_button_set_done_button_text): Make a copy of the
993 text, and free the previous value.
995 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
997 * src/hildon-touch-selector-entry.c:
998 (hildon_touch_selector_entry_print_func): Return the selected row's
999 text if the entry is empty.
1001 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1004 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1006 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1008 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1011 * src/hildon-check-button.h
1012 * src/hildon-check-button.c
1013 * examples/hildon-check-button-example.c:
1014 HildonCheckButton is now a new widget. 'toggled' signal added.
1016 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-program-private.h
1019 * src/hildon-program.c (hildon_program_init)
1020 (hildon_program_finalize): Removed unused variables group_leader
1021 and name from HildonProgramPrivate.
1023 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-check-button.c (hildon_check_button_set_active)
1026 (hildon_check_button_get_active, hildon_check_button_new): Use
1027 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1029 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1031 * src/hildon-touch-selector.h
1032 (hildon_touch_selector_set_column_attributes): added deprecation
1033 guard HILDON_DISABLE_DEPRECATED
1034 * src/hildon-time-selector.c
1035 (hildon_time_selector_set_time)
1036 (hildon_time_selector_get_time): Fixed a typo on documentation
1037 * src/hildon-touch-selector.c: update HildonTouchSelector and
1038 HildonTouchSelectorColumn documentation
1039 * src/hildon-touch-selector-entry.c: update "text-column" property
1041 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1042 to be added to the general documentation.
1044 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1046 * examples/hildon-pannable-area-example-4.c,
1048 * examples/hildon-pannable-area-example.c,
1049 (main): Modified the code in order to use the container add, with
1050 viewport treeviews could have problems if they are really big.
1052 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1054 * src/hildon-weekday-picker.c,
1055 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1056 the agreement regarding deprecation in the library.
1058 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1060 * examples/hildon-picker-button-multicolumn-example.c:
1061 (main): Use custom "done" button text.
1063 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1064 (hildon_picker_button_set_property),
1065 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1066 (hildon_picker_button_init),
1067 (+hildon_picker_button_get_done_button_text),
1068 (+hildon_picker_button_set_done_button_text): New methods to customize
1069 the "done" button label in the launched HildonPickerDialog. Also,
1072 * src/hildon-picker-button.h: add the public API.
1074 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-date-selector.h:
1077 * src/hildon-picker-dialog.h:
1078 * src/hildon-time-selector.h:
1079 * src/hildon-touch-selector-column.h:
1080 * src/hildon-touch-selector.h:
1082 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1083 declarations. Fixes gtk-doc warnings.
1085 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1087 * src/hildon-picker-dialog.h
1088 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1089 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1091 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1092 long text is set as label for done button)
1094 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-dialog.c (hildon_dialog_add_button):
1097 Set fixed width to all buttons in the HildonDialog.
1099 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1101 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1103 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1104 Set widget name using class name plus "-finger" or "-thumb".
1106 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1109 'clicked' when the state of the button is manually changed.
1111 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1113 * src/hildon-app-menu.c (hildon_app_menu_realize)
1114 (hildon_app_menu_unrealize, hildon_app_menu_init)
1115 (hildon_app_menu_class_init, item_visibility_changed):
1116 Change the menu layout when the size of the screen changes.
1117 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1118 Show warning only when changing the number of colums using the
1121 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1123 * debian/compat: Set to 5
1124 * debian/control: Update dependencies.
1125 * debian/libhildon1-dbg.install: Remove.
1126 * debian/libhildon1-dev.install: Update according to cdbs paths.
1127 * debian/libhildon1.install: Update according to cdbs paths.
1128 * debian/rules: Switch to cdbs.
1130 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1133 'item' variable renamed to 'filter'
1135 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1137 * src/hildon-app-menu.c (hildon_app_menu_insert)
1138 (hildon_app_menu_add_filter, remove_item_from_list)
1139 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1140 Don't leak hidden items when the menu is destroyed.
1142 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1144 * src/hildon-app-menu.c (hildon_app_menu_insert)
1145 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1146 (hildon_app_menu_set_columns, item_visibility_changed)
1147 (filter_visibility_changed, hildon_app_menu_repack_filters)
1148 (hildon_app_menu_repack_items):
1149 Repack items and filters separately.
1151 Don't repack all items, change only the ones that are needed to
1154 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1156 * src/Makefile.am: added hildon-touch-selector-column.h
1158 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1160 * src/hildon-touch-selector.c: added the property "text-column" to the
1161 class HildonTouchSelectorColumn, and related get/set functions
1162 (_default_printf_func): updated to use "text-column" property
1163 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1164 "text-column" in his documentation, as this is now included on
1165 HildonTouchSelectorColumn. The get/set_property can still be used,
1166 working as a wrapper to the concrete column "text-column" property
1167 (_text_column_modified): callback added in order to handle the signal
1168 "notify::text-column" of the concrete HildonTouchSelectorColumn
1169 (hildon_touch_selector_entry_get_text_column)
1170 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1171 modified in order to use the HildonTouchSelectorColumn "text-column"
1173 * src/hildon-time-selector.c:
1174 * src/hildon-date-selector.c:
1175 * examples/hildon-touch-selector-example.c
1176 * examples/hildon-touch-selector-multi-cells-example.c
1177 * examples/hildon-picker-button-multicolumn-example.c
1178 Set the right value to "text-column" property on the creation of a new
1179 column using hildon_touch_selector_append_column()
1181 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1183 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-app-menu.c
1186 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1187 updating the layout of the menu, don't create all widgets again,
1188 just repack the items in their new places.
1190 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1192 * src/hildon-time-selector.c
1193 (hildon_time_selector_get_time)
1194 (hildon_time_selector_set_time)
1195 Added documentation of these public methods
1197 * src/hildon-date-button.h
1198 * src/hildon-touch-selector-column.h
1199 * src/hildon-time-button.h
1200 * src/hildon-picker-dialog.h
1201 * src/hildon-time-selector.h
1202 * src/hildon-picker-button.h
1203 * src/hildon-touch-selector.h
1204 * src/hildon-time-picker.h
1205 * src/hildon-date-selector.h
1206 * src/hildon-touch-selector-entry.h
1207 Modified in order to use hildon-widgets code style
1209 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1211 Added deprecated support to the compilation process using
1212 HILDON_DISABLE_DEPRECATED
1214 * configure.ac: Added the --disable-deprecated to the configure
1217 * src/hildon-weekday-picker.c:
1218 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1219 to use the deprecated support. We will update the other deprecated
1220 widgets status in a new patch.
1222 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1224 * configure.ac: Fixed typo with fatal warnings support, the
1225 variable name was not correct
1227 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-app-menu.c
1230 * src/hildon-program.c: Update documentation.
1232 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1234 * configure.ac: Post-release version bump.
1236 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1241 * configure.ac: Pre-release version bump.
1242 * debian/changelog: Updates.
1244 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1246 * NEWS: Update news for previous releases.
1248 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1250 * examples/hildon-touch-selector-multi-cells-example.c:
1251 (create_selector): Update the example to use
1252 hildon_touch_selector_append_column() with a NULL renderer and set
1253 the renderers later.
1254 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1255 passed a NULL renderer. This is documented behavior now.
1257 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1258 This must be used if the developer wants full control on the layout of
1259 the renderers to be added to the column.
1261 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1263 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1265 * src/hildon-touch-selector.c: Documentation fixes.
1267 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1269 * src/hildon-wizard-dialog-private.h: Remove image and box.
1270 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1271 (hildon_wizard_dialog_set_property), (response): Completely remove
1272 image/icon support, and the containers required for the layout.
1274 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1276 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1278 * src/hildon-app-menu.c: Updated documentation.
1280 * src/hildon-stackable-window.c
1281 (hildon_stackable_window_set_main_menu): Unref the old menu after
1282 ref'ing the new one.
1284 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1286 * src/hildon-stackable-window.c
1287 (hildon_stackable_window_set_main_menu): Unref the previous menu
1288 instead of destroying it.
1290 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1291 floating reference and set has_user_ref_count to FALSE to make
1292 HildonAppMenu act like a normal ref-counted widget and not a
1295 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1298 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1300 * src/hildon-touch-selector-column.h: new file
1301 * src/hildon-touch-selector.h
1302 * src/hildon-touch-selector.c
1303 Implemented GtkCellLayout interface, in order to allow to configure
1304 the cell layout on each individual selector column
1305 (hildon_touch_selector_set_column_attributes): marked as deprecated
1306 * examples/hildon-touch-selector-multi-cells-example.c
1307 Example of how to use the GtkCellLayout interface on the selector
1309 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1311 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-app-menu.h
1314 * src/hildon-app-menu.c
1315 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1316 (hildon_app_menu_append, hildon_app_menu_prepend):
1317 New methods to prepend, insert and move items in the menu.
1319 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1321 * src/hildon-wizard-dialog.c:
1323 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1325 (create_title): Update logical IDs and related code.
1326 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1328 * src/hildon-wizard-dialog.h: Note that
1329 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1330 point, as it is not used anymore.
1332 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1334 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-note.c:
1337 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1338 shown. Do not display an icon in confirmation notes nor information
1340 (hildon_note_set_button_text): Update logical ID for cancel button.
1342 Fixes: NB#88850 (Update HildonNote button strings + signals)
1344 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1346 * src/hildon-stackable-window.c
1347 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1349 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1351 * src/hildon-app-menu-private.h
1352 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1353 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1354 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1355 temporary property 'columns' to change the number of columns.
1357 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1359 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1361 * examples/hildon-note-example.c: (on_information_clicked),
1362 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1363 debugging information.
1364 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1366 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1367 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1368 in order to close: this will be handled by the WM from now on.
1370 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1372 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-app-menu-private.h
1375 * src/hildon-app-menu.c
1376 (hildon_app_menu_append, hildon_app_menu_add_filter)
1377 (button_visibility_changed, hildon_app_menu_apply_style)
1378 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1379 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1380 layout everytime a button (item or filter) is shown or hidden.
1382 * src/hildon-stackable-window.c
1383 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1386 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1388 * src/hildon-touch-selector.c:
1389 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1390 that the treeview inside the touch selector is in fremantle hildon mode
1391 * examples/hildon-date-button-example.c
1392 * examples/hildon-picker-button-multicolumn-example.c
1393 * examples/hildon-touch-selector-entry-example.c
1394 * examples/hildon-touch-selector-example.c
1395 * examples/hildon-time-button-example.c
1396 * examples/hildon-picker-button-example.c:
1397 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1399 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1401 * examples/hildon-text-view-example.c: (main): Remove the
1402 gtkrc bits, now handled by the theme.
1404 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1406 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1409 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1411 * po/Makefile.am: Install properly the mo files.
1412 * po/en_GB.po: Update translation, to ease testing purposes.
1414 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1416 * examples/hildon-picker-button-example.c: (main): Select an item
1417 in the selector before setting it to the button.
1419 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1421 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1422 Update button's value if the selector has an item active.
1424 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1425 'value' with the selector)
1427 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1430 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1431 (hildon_picker_button_class_init): Plug the finalize method.
1432 (hildon_picker_button_set_selector): If there's a previously set
1433 selector, unref'it before setting a new one.
1435 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1436 HildonTouchSelector)
1438 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1440 * src/hildon-touch-selector-entry.c:
1441 (hildon_touch_selector_entry_changed): Check if there is no text
1442 selected before setting the entry text.
1445 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-touch-selector.h
1448 * src/hildon-touch-selector.c
1449 (hildon_touch_selector_get_active)
1450 (hildon_touch_selector_set_active): New methods to set/get the
1451 index of the selected item.
1453 * src/hildon-picker-button.h
1454 * src/hildon-picker-button.c
1455 (hildon_picker_button_get_active)
1456 (hildon_picker_button_set_active): New methods to set/get the
1457 index of the selected item.
1459 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1461 * configure.ac: post-release version bump.
1463 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1467 * configure.ac: Pre-release version bump.
1468 * debian/changelog: Updates.
1469 * debian/control: Add myself as maintainer and depend on l10n
1472 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1474 * src/hildon-window.c
1475 (hildon_window_set_main_menu)
1476 * src/hildon-stackable-window.c
1477 (hildon_stackable_window_set_main_menu):
1478 Updated documentation.
1480 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1483 Don't free selector->priv manually.
1486 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1489 (hildon_gtk_window_set_progress_indicator):
1490 * src/hildon-gtk.h: Added the new API
1491 hildon_gtk_window_set_progress_indicator, it changes the state of
1492 the window progress hint.
1494 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-button.c
1497 * src/hildon-stackable-window.c: Minor documentation updates.
1499 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1501 * src/hildon-stackable-window.c: Updated documentation.
1503 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1505 * src/hildon-defines.h: Update margins definitions
1506 to the Fremantle sizes.
1509 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1511 * src/hildon-touch-selector.c,
1512 (_hildon_touch_selector_set_model): Cleaning the code after
1513 review, removed g_print and #if 0 from the code.
1515 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1517 * src/hildon-edit-toolbar.c: Update documentation.
1519 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1521 * src/hildon-check-button.h
1522 * src/hildon-check-button.c
1523 (hildon_check_button_set_label, hildon_check_button_get_label)
1524 * examples/hildon-check-button-example.c
1525 (button_clicked_cb):
1526 Removed deprecated methods.
1528 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1530 * src/hildon-text-view.c:
1531 Add sample code to the documentation.
1533 * src/hildon-entry.h
1534 * src/hildon-text-view.h:
1535 Minor cosmetic changes.
1537 * src/hildon-entry.c:
1538 Add sample code to the documentation.
1539 (hildon_entry_init, hildon_entry_refresh_contents):
1540 Don't allow NULL values in the placeholder.
1542 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1544 * doc/hildon-docs.sgml
1546 * examples/Makefile.am
1547 * examples/hildon-text-view-example.c
1549 * src/hildon-text-view.c
1550 * src/hildon-text-view.h
1552 New HildonTextView widget, with example.
1554 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1556 * po/POTFILES.in: Add missing files with translatable strings.
1557 Partially fixes NB#88287.
1559 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1561 * examples/hildon-pannable-area-example-2.c: (main): No need to
1562 set the cellrenderer height inside hildon touch lists, the theme does
1565 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1567 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1568 they are integrated in the theme.
1570 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1572 * examples/hildon-entry-example.c: Update the example adding
1573 widgets to modify the text and the placeholder of the HildonEntry.
1575 * src/hildon-entry.c: Show the placeholder everytime the widget
1576 is empty and loses the focus.
1578 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1580 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1582 * src/hildon-pannable-area.c,
1583 (hildon_pannable_area_size_request): Fixed bug in height
1584 requisition, avoid increasing size and add border twice.
1586 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1588 * configure.ac: postrelease version bump.
1590 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1594 * configure.ac: Prerelease version bump.
1595 * debian/changelog: update.
1596 * debian/rules: make -dbg package contain useful debugging symbols.
1598 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-dialog.h
1601 * src/hildon-dialog.c
1602 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1603 New methods to add buttons with finger size.
1604 (hildon_dialog_new_with_buttons):
1605 Create buttons with finger size.
1607 * examples/hildon-dialog-example.c (main): Use HildonDialog
1608 methods to add buttons.
1610 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1612 * src/hildon-entry.c: Updated HildonButton documentation.
1614 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1617 button value label with (FALSE, FALSE) to prevent NB#88126 from
1620 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1622 * examples/hildon-pannable-area-example.c,
1623 (main): Removed examples panning a vbox inside a pannable
1624 area. Check bug NB#87965
1626 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1628 Patch contributed by Kris Rietveld (kris@imendio.com)
1630 * src/hildon-pannable-area.c,
1631 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1632 get_size and get_position, this saves an X server roundtrip.
1634 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1636 * doc/hildon-docs.sgml
1638 * examples/Makefile.am
1639 * examples/hildon-entry-example.c
1641 * src/hildon-entry.c
1642 * src/hildon-entry.h
1644 New HildonEntry widget, with example.
1646 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1648 * src/hildon-button.c (hildon_button_construct_child): Pack the
1649 image with expand == fill == FALSE. This is a workaround for a bug
1652 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1654 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1655 labels for the text column, to make it more look more dynamic.
1657 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1659 * src/hildon-time-selector.c
1660 Define gettext auxiliar macro N_
1661 (_create_minutes_model)
1662 (_create_hours_model)
1663 (_create_ampm_model): use of strftime in order to fill the model
1664 * src/hildon-date-selector.c
1665 (hildon_date_selector_finalize):
1666 (_locales_init): remove the logic related to get the name of the months
1667 using nl_langinfo, as it is not required anymore
1669 (_create_year_model)
1670 (_create_month_model)
1671 (_update_day_model): use of strftime in order to fill the model properly
1674 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1676 * src/hildon-button.h
1677 * src/hildon-button.c (hildon_button_get_image): New method to
1680 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1682 * src/hildon-touch-selector.c:
1683 (hildon_touch_selector_remove_column): Remove from the correct parent
1684 and also remove the list element and free it.
1687 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1689 * src/hildon-time-selector.c
1690 (_create_hours_model): change the range on 12h ampm format in order to use
1691 a 12-11 range instead of previous 01-12 range
1692 (hildon_time_selector_set_time): change the way to select the current time
1693 on 12h ampm format, due the change on the range
1694 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1697 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1699 * src/hildon-touch-selector.c
1700 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1701 in order to allow use this function on multiple row selection mode if
1702 the column is different that the first one
1705 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1707 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1708 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1710 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1712 * src/hildon-date-selector.h: clean some comments, now on the .c
1713 * src/hildon-date-selector.c
1714 (hildon_date_selector_select_month): first implementation
1715 (hildon_date_selector_select_day): added documentation, reimplemented
1716 using hildon_date_selector_select_current_date to avoid repeat code
1719 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1721 Reviewed interaction logic based on device experiences, refactored
1724 * src/hildon-pannable-area.c,
1725 (hildon_pannable_area_class_init): Updated default vmax speed.
1726 (hildon_pannable_area_calculate_velocity): Added this function, it
1727 avoids duplicate valocity calculation. Adjusted calculation to
1728 avoid problems with zero dist events.
1730 (hildon_pannable_area_motion_notify_cb): Now we use the
1731 calculate_velocity function.
1733 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1735 * src/hildon-date-selector.c
1736 (hildon_date_selector_select_current_date): fix the day range check
1737 as it failed using the last day of the current month
1740 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1742 * src/hildon-touch-selector.c
1743 (hildon_touch_selector_get_num_columns): added a parameter validation
1746 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1748 * examples/Makefile.am
1749 * examples/hildon-edit-toolbar-example.c: Example of the
1750 HildonEditToolbar widget.
1752 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1754 * configure.ac: postrelease version bump.
1756 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1760 * configure.ac: prerelease version bump.
1761 * debian/changelog: update.
1763 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1765 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1766 renderer to display stock icons in the touch list. Also, set the sizes
1767 to the recommended in the style guide.
1769 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1770 * src/hildon-touch-selector.h
1771 (hildon_touch_selector_set_active_iter): renamed, now is
1772 hildon_touch_selector_select_iter
1773 (hildon_touch_selector_get_active_iter): renamed, now is
1774 hildon_touch_selector_get_selected
1775 (hildon_touch_selector_unselect_iter): added
1776 * src/hildon-touch-selector.c
1777 Update after API modification (methods renamed)
1778 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1779 order to avoid problems selecting multiple elements on the column
1780 (hildon_touch_selector_unselect_iter): added the implementation
1781 * src/hildon-time-selector.c
1782 * src/hildon-date-selector.c
1783 * src/hildon-touch-selector-entry.c
1784 Update methods calls after hildon-touch-selector.h API modification (methods
1787 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1789 * src/hildon-stackable-window.c
1790 (hildon_stackable_window_finalize): Call the parent class's finalize.
1792 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1794 * examples/hildon-touch-selector-example.c: (create_selector): Use
1795 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1798 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1800 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1801 set a cell background color, to respect theming.
1803 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1805 * doc/hildon-docs.sgml
1808 * src/hildon-edit-toolbar.c
1809 * src/hildon-edit-toolbar.h
1810 * src/hildon.h: New HildonEditToolbar widget.
1812 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1814 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1817 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1818 * src/hildon-touch-selector.c
1819 (_create_new_column): use g_object_set instead of two g_object_set_property
1821 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1822 * src/hildon-touch-selector.c
1823 (_create_new_column): use of hildon_gtk_tree_view_new to create
1824 the treeview, instead of use directly g_object_new
1825 (_create_new_column): update the property name "vindicator-mode" for the
1826 new one "vscrollbar-policy"
1827 * examples/hildon-date-button-example.c
1828 * examples/hildon-picker-button-multicolumn-example.c
1829 * examples/hildon-touch-selector-entry-example.c
1830 * examples/hildon-touch-selector-example.c
1831 * examples/hildon-time-button-example.c
1832 * examples/hildon-picker-button-example.c
1833 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1834 to all the treeviews inside a pannable area.
1836 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1838 * src/hildon-button.h
1839 * src/hildon-button.c (hildon_button_init)
1840 (hildon_button_set_arrangement, hildon_button_set_alignment)
1841 (hildon_button_set_title_alignment)
1842 (hildon_button_set_value_alignment)
1843 (hildon_button_set_image_alignment)
1844 (hildon_button_construct_child): New methods to set the alignment
1845 of the individual components of the button (title, value,
1846 image). Also, new method to alter the xscale and yscale properties
1847 of the GtkAlignment inside the button, so more complex layouts can
1850 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-button.c (hildon_button_style_set)
1853 (hildon_button_class_init, hildon_button_set_arrangement)
1854 (hildon_button_construct_child): Apply style properties
1855 correctly. Use the 'image-spacing' style property too.
1857 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1859 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1860 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1863 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1865 * src/hildon-pannable-area.c,
1866 (hildon_pannable_area_size_request): Fixed problem with
1867 pannable-area size_request.
1869 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1871 Added management for the grab-focus to a child widget, like a
1872 range, we need to fade out the scrollbar when releasing.
1874 * src/hildon-pannable-area.c,
1875 (hildon_pannable_area_init): Connected the grab-focus signal to
1877 (hildon_pannable_area_grab_notify): Added this function in order
1878 to manage the situation when the grab-focus ends. We have to
1879 fade-out the scrollbar.
1881 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-app-menu.c: Minor documentation update.
1885 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-app-menu.c
1888 * examples/hildon-app-menu-example.c (create_menu): Update
1889 examples and documentation to explain how to connect callbacks.
1891 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1893 * examples/hildon-button-example.c
1894 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1895 hildon_stackable_window_new instead of gtk_window_new
1897 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1899 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1900 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1901 (hildon_pannable_area_set_property),
1902 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1903 (hildon_pannable_area_unrealize),
1904 (hildon_pannable_area_size_request),
1905 (hildon_pannable_area_size_allocate),
1906 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1907 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1908 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1909 (hildon_pannable_area_initial_effect),
1910 (hildon_pannable_area_redraw),
1911 (hildon_pannable_area_scroll_indicator_fade),
1912 (hildon_pannable_area_expose_event),
1913 (hildon_pannable_area_get_topmost), (synth_crossing),
1914 (hildon_pannable_area_button_press_cb),
1915 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1916 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1917 (hildon_pannable_area_motion_notify_cb),
1918 (hildon_pannable_area_button_release_cb),
1919 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1920 (hildon_pannable_area_remove),
1921 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1922 chage the code layout to a more GtkWidget like. Review the use of
1925 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1927 * examples/hildon-pannable-area-example-4.c,
1928 (main): Modified the name of the hindicator_mode to
1931 * src/hildon-pannable-area.c,
1932 (hildon_pannable_area_class_init),
1933 (hildon_pannable_area_motion_notify_cb),
1934 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1935 we have reduced the amount of signals and managed reviewed its
1936 rationale. Changed the default decelerate value.
1938 (hildon_pannable_area_add),
1939 (hildon_pannable_area_redraw): Refactored functions.
1941 (hildon_pannable_area_init),
1942 (hildon_pannable_area_get_property),
1943 (hildon_pannable_area_set_property):
1944 (hildon_pannable_draw_vscroll),
1945 (hildon_pannable_draw_hscroll),
1946 (hildon_pannable_area_initial_effect),
1947 (hildon_pannable_area_expose_event),
1948 (hildon_pannable_area_scroll),
1949 (hildon_pannable_area_button_press_cb),
1950 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1951 and vindicator_mode with hscrollbar_policy and
1952 vscrollbar_policy. Replaced hscroll and vscroll with
1953 hscroll_visible and vscroll_visible.
1955 (hildon_pannable_area_refresh): Refactor the function, remove
1956 variables and check the calls to this function, added resize
1957 conditions in case the children change their layout.
1959 (hildon_pannable_area_size_request): Added more detailed
1960 size_request calculation.
1963 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1965 * src/hildon-color-chooser.c
1966 (init_borders): use the correct gtk_border_free instead of g_free, to
1967 avoid a crash when this widget is used (ie: the three color selection
1970 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1972 * src/hildon-check-button.c,
1973 (hildon_check_button_set_active): Fixed problem when setting the
1974 active value, the widget was not redrawn.
1976 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1978 * src/hildon-pannable-area.c,
1979 (hildon_pannable_area_refresh),
1980 (hildon_pannable_area_scroll),
1981 (hildon_pannable_area_motion_notify_cb): Small code style change.
1983 (hildon_pannable_area_class_init): Default initial_hint set to
1984 FALSE, it is not in the specs.
1986 (hildon_pannable_area_initial_effect),
1987 (hildon_pannable_area_expose_event),
1988 (hildon_pannable_area_map),
1989 (hildon_pannable_area_init): Moved the launching point of the
1990 initial effect, it was in map but the sizes where not correct in
1991 that method so we do not know if we have the reproduce it. Now it
1992 is placed in the expose_event method and uses a variable to
1993 reproduce it just once.
1995 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1997 * src/hildon-pannable-area.c,
1998 (hildon_pannable_draw_vscroll),
1999 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2000 position allowed for the scrollbars.
2002 (hildon_pannable_area_size_allocate): Small style change.
2004 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2006 * src/hildon-pannable-area.c,
2007 (hildon_pannable_area_scroll_indicator_fade),
2008 (hildon_pannable_area_button_press_cb),
2009 (hildon_pannable_area_button_release_cb),
2010 (hildon_pannable_area_scroll_cb),
2011 (hildon_pannable_area_expose_event),
2012 (hildon_pannable_area_init): Added the define parameter
2013 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2014 and refactor the fade variable.
2016 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2018 * src/hildon-pannable-area.c,
2019 (hildon_pannable_area_redraw),
2020 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2021 lines, we were reimplemeting the redraw code.
2023 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2025 * src/hildon-pannable-area.c,
2026 (hildon_pannable_area_scroll_cb),
2027 (hildon_pannable_area_realize),
2028 (hildon_pannable_area_class_init): Added scroll_event management
2029 for pannable area, now we can scroll the usual desktop method.
2031 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2032 initialization of the parameters should depend on idle_id.
2034 (hildon_pannable_area_init),
2035 (hildon_pannable_area_map): Small code style modifications
2037 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2039 * src/hildon-pannable-area.c
2040 (hildon_pannable_area_button_press_cb),
2041 (hildon_pannable_area_motion_notify_cb),
2042 (hildon_pannable_area_button_release_cb),
2043 (hildon_pannable_area_size_allocate),
2044 (hildon_pannable_area_scroll_to): Improved the timeouts
2045 management, we avoid creating them each time.
2047 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2049 * src/hildon-pannable-area.c:
2050 (hildon_pannable_area_refresh),
2051 (hildon_pannable_area_motion_notify_cb),
2052 (hildon_pannable_area_class_init):
2053 * src/hildon-pannable-area.h:
2054 * src/hildon-touch-selector.c
2055 (_create_new_column):
2056 * examples/hildon-pannable-area-example-4.c:
2057 (horizontal_movement),
2058 (vertical_movement),
2060 Replaced the names of enums in the HildonPannableArea:
2061 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2062 HILDON_MOVEMENT_MODE_*
2063 - HILDON_PANNABLE_AREA_MOV_* ->
2065 - Removed HildonPannableAreaIndicatorMode, now we
2068 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2070 * examples/hildon-pannable-area-touch-grid-example.c
2071 * examples/hildon-pannable-area-touch-list-example.c: Fix
2072 compilation warnings.
2074 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2076 * src/hildon-gtk.c (hildon_gtk_button_new)
2077 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2078 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2079 images overriding the value of the "gtk-button-images" setting.
2081 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2083 * src/hildon-check-button.c (hildon_check_button_new):
2084 Instead of using a custom container, display the label and the
2085 checkbox using the standard GtkButton API.
2087 * examples/hildon-check-button-example.c (main): Don't use
2088 hildon_check_button_set_label() anymore
2090 * src/hildon-check-button.h
2091 * src/hildon-check-button.c
2092 (hildon_check_button_set_label, hildon_check_button_get_label):
2093 Set as deprecated, now we're using gtk_button_{get,set}_label()
2095 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2097 * src/hildon-pannable-area.c,
2098 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2099 GtkTreeview first line we detected it after the inclusion of the
2100 GtkWindowImpl in gtk+. We now check if the window is visible, not
2101 just if the pointer is over the window.
2102 (hildon_pannable_axis_scroll),
2103 (hildon_pannable_area_expose_event): Small style changes.
2105 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-button.c: Update documentation.
2109 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2111 * examples/hildon-button-example.c: Add a switch to show images in
2114 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2116 * doc/hildon-docs.sgml: Some docs reorganization.
2118 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2120 * examples/hildon-pannable-area-touch-list-example.c
2122 * examples/hildon-pannable-area-touch-grid-example.c
2123 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2124 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2125 Fix memory leak when setting the tree model.
2127 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2131 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2133 * doc/hildon.types: Remove duplicated hildon_window_get_type
2134 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2135 documentation comment.
2137 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2139 * doc/Makefile.am: Complete list of private headers.
2141 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2143 * doc/hildon-docs.sgml
2144 * src/hildon-app-menu.c
2145 * src/hildon-bread-crumb.c
2146 * src/hildon-button.c
2148 * src/hildon-program.c
2149 * src/hildon-stackable-window.c
2150 * src/hildon-window.c: Lots of documentation updates.
2152 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2154 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2156 * configure.ac: Require Gtk+ 2.12.9 at least
2158 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2160 * src/hildon-pannable-area.c
2161 (hildon_pannable_area_scroll_indicator_fade),
2162 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2163 to protect the return of this timeout callbacks, avoiding deadlocks.
2165 2008-08-12 Christian Dywan <christian@imendio.com>
2168 * src/hildon-*.h: Ensure a consistent include order,
2169 include <gtk/gtk.h> instead of particular files and
2170 only include the topmost header in the gtk stack. See NB #39857
2172 2008-08-12 Christian Dywan <christian@imendio.com>
2174 * src/hildon-picker-dialog.c
2175 * src/hildon-touch-selector.c: Fix warnings about unused and
2176 uninitialized variables.
2178 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2180 * examples/Makefile.am
2181 * examples/hildon-check-button-example.c: Example of the hildon
2184 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2186 * src/hildon-window.h
2187 * src/hildon-window.c (hildon_window_class_init)
2188 (hildon_window_unset_program): Don't make
2189 hildon_window_unset_program a virtual function anymore.
2191 * src/hildon-stackable-window.c: Update documentation
2193 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2196 * doc/hildon-docs.sgml
2197 * doc/visual_index.xml
2198 * src/hildon-defines.c
2200 * src/hildon-helper.c
2201 * src/hildon-range-editor.c: Lots of documentation fixes.
2203 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2205 * examples/hildon-picker-button-multicolumn-example.c
2206 (create_touch_selector): Fix compilation warning.
2208 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2210 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2211 (hildon_pannable_area_button_release_cb)
2212 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2214 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2216 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2219 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-bread-crumb-trail.h
2222 * src/hildon-date-editor.c
2223 * src/hildon-date-selector.c
2224 * src/hildon-pannable-area.c
2225 * src/hildon-picker-dialog.c
2226 * src/hildon-time-selector.c
2227 * src/hildon-touch-selector-entry.c
2228 * src/hildon-touch-selector.c
2229 * src/hildon-touch-selector.h: Misc documentation fixes
2231 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2233 * examples/hildon-date-editor-example.c (main): Updated date
2236 * examples/hildon-note-example.c (on_confirmation_clicked):
2237 Updated confirmation note example.
2239 * src/hildon-date-editor.c
2240 * src/hildon-note.c: Updated sample programs in documentation.
2243 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-date-button.h:
2246 * src/hildon-picker-button.h:
2247 * src/hildon-time-button.c:
2248 * src/hildon-time-button.h:
2250 Some declarations changes to allow gtk-doc to document the widgets
2253 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-date-button.c: Document the widget.
2256 * src/hildon-time-button.c: Document the widget.
2258 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2260 * src/hildon-picker-button.c: Document the widget.
2261 * src/hildon-touch-selector-entry.c: Document the widget.
2263 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2265 * doc/hildon-docs.sgml
2268 * src/hildon-check-button.h
2269 * src/hildon-check-button.c: New functions to create the Hildon
2273 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2275 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2277 * src/hildon-button.h
2278 * src/hildon-button.c
2279 (hildon_button_add_title_size_group)
2280 (hildon_button_add_value_size_group)
2281 (hildon_button_add_image_size_group)
2282 (hildon_button_add_size_groups): New functions to set size groups
2283 for the button labels and image.
2284 (hildon_button_new_full): Removed
2286 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2288 * src/hildon-time-selector.c
2289 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2290 in order to avoid a crash if gconf is not available
2292 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-button.c (hildon_button_set_arrangement)
2295 (hildon_button_construct_child): Don't construct the button child
2296 before setting the arrangement.
2298 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-program-private.h
2301 * src/hildon-program.c
2302 * src/hildon-program.h
2303 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2304 (hildon_program_peek_window_stack)
2305 (hildon_program_pop_window_stack)
2306 (hildon_program_go_to_root_window): HildonProgram now has a
2307 separate list for stackable windows. Functions are provided to
2308 manage that list with a stack-like API.
2310 * src/hildon-stackable-window.c: Stackable window management is
2311 now much simpler with the new HildonProgram API. Windows no
2312 longer need to be manually added to the program, they're
2313 automatically pushed to the top of the stack when shown.
2315 * examples/hildon-stackable-window-example.c: Updated example to
2316 reflect the API changes.
2318 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2320 * src/hildon-touch-selector.c: Comment out unimplemented
2321 hildon_touch_selector_insert_column() to avoid a compile warning.
2323 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2326 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2327 (hildon_touch_selector_set_column_selection_mode),
2328 (_hildon_touch_selector_set_model),
2329 (hildon_touch_selector_set_model):
2331 Complete review of HildonTouchSelector documentation.
2333 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2335 * doc/hildon-docs.sgml
2339 * src/hildon-gtk.c: Convenience functions for standard Gtk
2340 widgets, used to easily perform frequent operations.
2342 * src/hildon-button-helpers.h
2343 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2345 * src/hildon-helper.h
2346 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2347 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2349 * src/hildon-button.h
2350 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2352 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-button.c (hildon_button_init)
2355 (hildon_button_set_arrangement, hildon_button_construct_child):
2356 Pack the image and the labels inside the same GtkAlignment so
2357 gtk_button_set_alignment() can be used
2359 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2361 * src/hildon-button.h
2362 * src/hildon-button.c
2363 (hildon_button_init, hildon_button_set_image)
2364 (hildon_button_set_image_position)
2365 (hildon_button_construct_child): New functions to add an image to
2368 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2370 * src/hildon-date-button.c
2371 * src/hildon-picker-button.c
2372 * src/hildon-time-button.c
2373 * src/hildon-button.c:
2374 (hildon_button_class_init): "size-flags" renamed to "size"
2375 (hildon_button_set_title): Hide the title label if set to NULL.
2377 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2379 HildonButtonFlags split into HildonButtonArrangement (to set the
2380 button layout) and HildonSizeType (which can be used for any
2383 * src/hildon-button.h
2384 * src/hildon-button.c
2385 (hildon_button_class_init)
2386 (hildon_button_set_arrangement)
2387 (hildon_button_set_property): New "size-flags"
2388 property. "arrangement-flags" renamed to "arrangement".
2389 (hildon_button_new, hildon_button_new_with_text)
2390 (hildon_button_new_full): Constructors updated to reflect type changes.
2392 * src/hildon-helper.h
2393 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2394 to set the size of a widget.
2398 * src/hildon-button-helpers.c
2399 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2401 * src/hildon-date-button.c
2402 * src/hildon-date-button.h
2403 * src/hildon-picker-button.c
2404 * src/hildon-picker-button.h
2405 * src/hildon-time-button.c
2406 * src/hildon-time-button.h: Updated widgets to reflect
2407 HildonButton API changes.
2409 * examples/hildon-button-example.c
2410 * examples/hildon-date-button-example.c
2411 * examples/hildon-picker-button-example.c
2412 * examples/hildon-picker-button-multicolumn-example.c
2413 * examples/hildon-time-button-example.c
2414 * examples/hildon-touch-selector-entry-example.c
2415 * examples/hildon-touch-selector-example.c: Updated examples to
2416 reflect HildonButton API changes.
2418 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2420 * doc/hildon-docs.sgml:
2422 * examples/Makefile.am:
2423 * examples/hildon-touch-selector-entry-example.c:
2425 * src/hildon-touch-selector-entry.c:
2426 * src/hildon-touch-selector-entry.h:
2429 Moved HildonTouchSelectorEntry from sandbox. Added its
2430 documentation and examples.
2432 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2434 * src/hildon-touch-selector.h:
2435 * examples/hildon-picker-button-multicolumn-example.c:
2436 (hildon_touch_selector_append_text_column): Add a gboolean
2437 parameter to determine if text must be centered in the column.
2439 * src/hildon-date-selector.c: (hildon_date_selector_init):
2440 * src/hildon-time-selector.c: (hildon_time_selector_init):
2441 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2442 (create_touch_selector): Update widgets and example to reflect
2445 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-touch-selector.c:
2448 (hildon_touch_selector_set_active_iter): Set also the cursor in
2451 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2453 * doc/hildon-docs.sgml
2456 * src/hildon-toggle-button.c
2457 * src/hildon-toggle-button.h
2458 * src/hildon.h: Removed HildonToggleButton widget, a derived
2459 class is not necessary for this.
2461 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2463 * src/hildon-pannable-area.c,
2464 (hildon_pannable_area_realize),
2465 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2468 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2470 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2471 "done" button the default widget for the dialog.
2473 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-touch-selector.c:
2476 (hildon_touch_selector_class_init),
2477 (hildon_touch_selector_get_property),
2478 (_hildon_touch_selector_set_model),
2479 (_hildon_touch_selector_has_multiple_selection),
2480 (hildon_touch_selector_has_multiple_selection):
2481 Add a "has-multiple-selection" property with a virtual
2482 has_multiple_selection() method to allow derived classes to
2483 override the default value for it. See the method and property
2484 documentation for details.
2486 * src/hildon-touch-selector.h: Add the new API.
2488 * src/hildon-picker-dialog.c: (requires_done_button): Call
2489 hildon_touch_selector_has_multiple_selection() instead of
2490 determining the need for a button itself.
2492 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2494 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2495 (_hildon_touch_selector_set_model),
2496 (hildon_touch_selector_set_model): Move working code to
2497 _hildon_touch_selector_set_mode(). Call the class method instead.
2499 * src/hildon-touch-selector.h: Add (*set_model) to
2500 HildonTouchSelectorClass.
2502 Make hildon_touch_selector_set_model() a virtual method, so that
2503 derived classes can extend it and do fancy stuff with the model.
2505 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2507 * configure.ac: Set back the tarname in AC_INIT to hildon.
2509 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2513 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2514 instead of libesd (NB#86876). Volume handling is still an open issue.
2516 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2519 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2522 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2523 derived class to ease placement of an entry widget in
2524 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2525 end, where the selector columns are packed now.
2527 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2529 * src/hildon-picker-button.c: Removed the simple _text() API.
2530 * src/hildon-picker-button.h: Likewise.
2532 * src/hildon-touch-selector.h:
2533 * src/hildon-touch-selector.c:
2534 (hildon_touch_selector_new_text),
2535 (hildon_touch_selector_append_text),
2536 (hildon_touch_selector_prepend_text),
2537 (hildon_touch_selector_insert_text):
2539 Moved the simple _text() API from HildonPickerButton to
2540 HildonTouchPicker, to provide better escalability and not to tie
2541 that API to HildonPickerButton.
2543 * examples/hildon-picker-button-example.c: (main): Example updated.
2545 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-button.c: Updated documentation.
2549 * examples/hildon-button-example.c: Add the posibility to create
2550 the buttons using horizontal layout for title and value.
2552 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2554 * src/hildon-app-menu-private.h
2555 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2556 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2557 GtkSizeGroup for the filters, use the 'homogeneous' property of
2560 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2562 * examples/hildon-button-example.c: Updated example.
2564 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2566 * doc/hildon-docs.sgml:
2569 Update documentation.
2571 * examples/Makefile.am: Update renamed examples.
2573 * examples/hildon-picker-button-multicolumn-example.c:
2574 (create_touch_selector), (main): Update after the rename.
2576 * examples/hildon-touch-picker-example.c: Removed.
2577 * examples/hildon-touch-selector-example.c: (value_changed),
2578 (create_selector), (get_visible_content), (main): Renamed from
2579 hildon-touch-picker-example.c
2581 * src/Makefile.am: Updated renamed files.
2583 * src/hildon-date-button.c: (hildon_date_button_init),
2584 (hildon_date_button_get_date), (hildon_date_button_set_date):
2585 * src/hildon-date-selector.c: (hildon_date_selector_init),
2586 (_custom_print_func), (_update_day_model),
2587 (_manage_selector_change_cb),
2588 (hildon_date_selector_select_current_date),
2589 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2590 * src/hildon-date-selector.h:
2591 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2592 (hildon_picker_button_set_property),
2593 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2594 (hildon_picker_button_init), (hildon_picker_button_new_text),
2595 (hildon_picker_button_append_text),
2596 (hildon_picker_button_prepend_text),
2597 (hildon_picker_button_insert_text),
2598 (hildon_picker_button_set_selector),
2599 (hildon_picker_button_get_selector):
2600 * src/hildon-picker-button.h:
2601 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2602 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2603 (_update_title_on_selector_changed_cb), (requires_done_button),
2604 (_hildon_picker_dialog_set_selector),
2605 (hildon_picker_dialog_set_selector),
2606 (hildon_picker_dialog_get_selector):
2607 * src/hildon-picker-dialog.h:
2608 * src/hildon-time-button.c: (hildon_time_button_init),
2609 (hildon_time_button_get_time), (hildon_time_button_set_time):
2610 * src/hildon-time-selector.c: (hildon_time_selector_init),
2611 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2612 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2613 * src/hildon-time-selector.h:
2616 Massive code updates after the rename.
2618 * src/hildon-touch-picker.c: Removed.
2619 * src/hildon-touch-picker.h: Removed.
2621 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2622 (hildon_touch_selector_init), (hildon_touch_selector_map),
2623 (hildon_touch_selector_remove), (_default_print_func),
2624 (_selection_changed_cb), (_create_new_column),
2625 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2626 (hildon_touch_selector_append_text_column),
2627 (hildon_touch_selector_remove_column),
2628 (hildon_touch_selector_set_column_attributes),
2629 (hildon_touch_selector_insert_column),
2630 (hildon_touch_selector_get_num_columns),
2631 (hildon_touch_selector_get_column_selection_mode),
2632 (hildon_touch_selector_set_column_selection_mode),
2633 (hildon_touch_selector_set_print_func),
2634 (hildon_touch_selector_get_print_func),
2635 (hildon_touch_selector_get_active_iter),
2636 (hildon_touch_selector_set_active_iter),
2637 (hildon_touch_selector_get_selected_rows),
2638 (hildon_touch_selector_get_model),
2639 (hildon_touch_selector_set_model),
2640 (hildon_touch_selector_get_current_text),
2641 (_hildon_touch_selector_center_on_selected_items):
2642 * src/hildon-touch-selector.h: Renamed from
2643 hildon-touch-picker.[ch]
2645 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2646 references, code examples, and related documentation.
2648 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2650 * doc/hildon-docs.sgml
2653 * src/hildon-toggle-button.c
2654 * src/hildon-toggle-button.h
2655 * src/hildon.h: New HildonToggleButton widget.
2657 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2659 * src/hildon-button.c: Add API documentation.
2660 (hildon_button_set_size_groups): Check input parameters
2662 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2664 * src/hildon-pannable-area.c
2665 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2666 effect after reaching the movement thredshold. This way we start
2667 using the distance after passing the thredshold.
2669 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/hildon-button.c: (hildon_button_set_property): Use the
2672 appropriate g_value_get_flags() method.
2674 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2676 * doc/hildon-docs.sgml:
2679 Add the touch pickers, picker dialogs, and picker button widgets
2680 to the documentation.
2682 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-button.c: (hildon_button_set_property),
2685 (hildon_button_class_init): Make "arrangement-flags" a proper
2686 G_TYPE_FLAGS derived property.
2688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2690 * examples/Makefile.am: Add below examples.
2691 * examples/hildon-date-button-example.c:
2692 * examples/hildon-picker-button-example.c:
2693 * examples/hildon-picker-button-multicolumn-example.c:
2694 * examples/hildon-time-button-example.c:
2695 * examples/hildon-touch-picker-example.c:
2697 Add examples for the recently added touch pickers,
2698 picker dialogs, and picker button widgets.
2700 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-button.c: Add some API documentation
2704 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2706 * src/hildon-button.h
2707 * src/hildon-button.c
2709 (hildon_button_new_with_text): New constructor to create a button
2710 with no text at all.
2711 (hildon_button_init, hildon_button_set_arrangement)
2712 (hildon_button_set_title, hildon_button_set_value)
2713 (hildon_button_set_text)
2714 (hildon_button_construct_child): Hide the value when it's not used
2715 so the rest of the text is properly aligned.
2716 Allow creating buttons with arbitrary widgets inside (not just
2717 title/value labels).
2719 * examples/hildon-button-example.c (vertical_buttons_window)
2720 (horizontal_buttons_window): Update example to use new API.
2722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/Makefile.am: Added HildonTimeButton.
2725 * src/hildon-time-button.c: Added missing LGPL header.
2726 * src/hildon-time-button.h: Added missing LGPL header.
2727 * src/hildon.h: Add hildon-time-button.h
2729 Copied HildonTimeButton from sandbox to trunk. Future work on this
2730 widget must take place in trunk.
2732 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/Makefile.am: Added HildonDateButton.
2735 * src/hildon-date-button.c: Update includes.
2736 * src/hildon.h: Add hildon-date-button.h
2738 Copied HildonDateButton from sandbox to trunk. Future work on this
2739 widget must take place in trunk.
2741 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/Makefile.am: Added HildonPickerButton.
2744 * src/hildon-picker-button.h: Update includes.
2745 * src/hildon.h: Add hildon-picker-button.h
2747 Copied HildonPickerButton from sandbox to trunk. Future work on
2748 this widget must take place in trunk.
2750 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2752 * src/Makefile.am: Added HildonPickerDialog.
2753 * src/hildon-picker-dialog.c: Update includes.
2754 * src/hildon.h: Add hildon-picker-dialog.h
2756 Copied HildonPickerDialog from sandbox to trunk. Future work
2757 on this widget must take place in trunk.
2759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2761 * src/Makefile.am: Added HildonTimeSelector.
2762 * src/hildon.h: Add hildon-time-selector.h
2764 Copied HildonTimeSelector widget from sandbox to trunk. Future
2765 work on this widget must happen in trunk.
2767 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/Makefile.am: Added HildonDateSelector.
2770 * src/hildon.h: Add hildon-date-selector.h
2772 Copied HildonDateSelector widget from sandbox to trunk. Future
2773 work on this widget must happen in trunk.
2775 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2777 * src/Makefile.am: Added HildonTouchPicker.
2778 * src/hildon-touch-picker.c: Update includes.
2779 * src/hildon.h: Add hildon-touch-picker.h
2781 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2782 on this widget must happen in trunk.
2784 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-pannable-area.c:
2787 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2789 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2791 * examples/hildon-app-menu-example.c (main): Let the window
2794 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2796 * src/hildon-pannable-area.c
2797 (hildon_pannable_area_class_init): Set the min value of the
2798 overshoot properties to zero, which points out that not
2799 overshooting allowed.
2801 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2803 Modified the procedure to get the widget at a point inside the
2804 pannable area when using the movement type signals. Now the user
2805 has to call a function to get the child, that way we just
2806 calculate the child in case the user really want to use it and not
2809 * src/hildon-marshalers.list: Modified the marshallers, now we do
2810 not have the widget as a parameter.
2812 * src/hildon-pannable-area.c
2813 (hildon_pannable_area_motion_notify_cb),
2814 (hildon_pannable_area_class_init),
2815 (hildon_pannable_get_child_widget_at): Removed the widget
2816 parameter from the signal callback. We have also refactored the
2817 emission of the signals.
2819 * src/hildon-pannable-area.h: Added a new method to the API to
2820 calculate a widget at a point inside the pannable area,
2821 hildon_pannable_get_child_widget_at.
2823 * examples/hildon-pannable-area-example-4.c
2824 (horizontal_movement): Modified the example to use the new API,
2825 added condition to control which widget is under the event. This
2826 way we can avoid scrolling laterally over other widgets.
2828 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2830 * src/hildon-pannable-area.c
2831 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2832 modes, we stop getting the pointer events due to returning the
2833 callback without properly calling the get pointer again. Fixed
2834 also an error using the hscroll and vscroll.
2836 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-app-menu-private.h
2839 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2840 (hildon_app_menu_button_release, hildon_app_menu_init)
2841 (hildon_app_menu_class_init): Don't hide the menu on button
2842 release if the user didn't press outside first.
2844 * src/hildon-window.h
2845 * src/hildon-window.c (hildon_window_toggle_menu)
2846 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2847 hildon_window_toggle_menu a virtual function for the stackable
2848 window to override it.
2850 * src/hildon-stackable-window.h
2851 * src/hildon-stackable-window-private.h
2852 * src/hildon-stackable-window.c
2853 (hildon_stackable_window_realize)
2854 (hildon_stackable_window_finalize)
2855 (hildon_stackable_window_class_init)
2856 (hildon_stackable_window_init)
2857 (hildon_stackable_window_set_main_menu): New function to set the
2858 app menu of a HildonStackableWindow.
2860 * examples/hildon-app-menu-example.c: Remove the button to show
2861 the app menu, now it'll be shown when clicking on the title bar
2864 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2867 set the widget name if the arrangement flags do not specify
2870 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-button.c: (hildon_button_set_property),
2873 (hildon_button_class_init), (hildon_button_new_full),
2874 (hildon_button_set_arrangement): Added "arrangement-flags"
2877 Make the HildonButtonFlags a construction-only property, to allow
2878 subclasses to set them properly.
2880 2008-07-21 Tim Janik <timj@imendio.com>
2882 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2883 insertion position after backspace, so additional digits are appended,
2886 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2888 * src/hildon-pannable-area.c,
2889 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2890 TODO list, it was complete and removed the g_debug and g_print
2893 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2895 Added the movement modes to the hildon-pannable-area, with this
2896 modes the developers can control in which directions the widget
2897 can scroll. They can also connect to signals in order to do
2898 something when that happens, allowing applications scroll. There
2899 is an example uploaded showing how to use it.
2901 * examples/Makefile.am:
2902 * examples/hildon-pannable-area-example-4.c: Added this example of
2903 an application using the modes.
2905 * src/hildon-marshalers.list: Added a new marshaller for the new
2908 * src/hildon-pannable-area.h: Added new enumerations and flags in
2909 order to control the movement modes and the new signals to warn
2910 about the movements in the area.
2912 * src/hildon-pannable-area.c:
2913 (hildon_pannable_axis_scroll),
2914 (hildon_pannable_area_scroll),
2915 (hildon_pannable_area_motion_notify_cb),
2916 (hildon_pannable_area_get_property),
2917 (hildon_pannable_area_set_property),
2918 (hildon_pannable_area_map),
2919 (hildon_pannable_area_class_init),
2920 (hildon_pannable_area_init),
2921 (hildon_pannable_area_jump_to): Added the modes to control the
2922 movement in the widget. We have added properties to control it,
2923 signals to warn about the movements and refactored some code.
2925 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2927 Changes required in order to allow vfast_factor set to zero to
2930 * src/hildon-pannable-area.c:
2931 (hildon_pannable_area_button_press_cb): Changed the condition, it
2932 is required for not allowing click when vfast_factor is zero.
2933 (hildon_pannable_area_timeout): Initialized velocity variables
2934 when we stop moving, it was less than 1 but not zero and we need
2935 to check zero in some situations.
2936 (hildon_pannable_area_class_init): Changed the default value of
2937 the speed factor, now the button_press is just sent in case the
2938 speed is 2 per cent of the max speed.
2939 (hildon_pannable_area_init): Initialization with 0.
2941 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2943 * src/hildon-pannable-area.c,
2944 (hildon_pannable_area_get_topmost): replaced
2945 gdk_window_get_children with gdk_window_peek_children, this way we
2946 do not have to free the list because it is not a copy.
2948 (hildon_pannable_axis_scroll),
2949 (hildon_pannable_area_scroll),
2950 (hildon_pannable_area_timeout),
2951 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2952 two parameters that were only used inside the
2953 hildon_pannable_area_scroll function.
2955 * examples/hildon-pannable-area-example.c,
2956 (get_sawtooth_label): Fixed small memory leak.
2958 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2960 More checks for the case where the overshoot is bigger than the
2963 * src/hildon-pannable-area.c:
2964 (hildon_pannable_draw_vscroll),
2965 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2966 to draw the slider of the scrollbar under the other scrollbar.
2967 (hildon_pannable_area_expose_event): added new checks to control
2968 the drawing of the overshooting area rectangle, in case it is too
2969 big for the area of the widget.
2970 (hildon_pannable_area_size_allocate): add more checks to avoid
2971 setting a position to the child widget outside the area.
2973 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2975 * src/hildon-pannable-area.c
2976 (hildon_pannable_area_size_allocate): Added conditions to control
2977 when overshooting is bigger than the allocated space for the
2978 children, this avoids negative allocations.
2980 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2982 * doc/hildon-docs.sgml
2984 * examples/Makefile.am
2985 * examples/hildon-button-example.c
2987 * src/hildon-button.c
2988 * src/hildon-button.h
2989 * src/hildon.h: Initial version of the new HildonButton widget,
2992 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-pannable-area.c:
2995 (hildon_pannable_area_button_press_cb),
2996 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2997 (hildon_pannable_area_motion_notify_cb),
2998 (hildon_pannable_area_button_release_cb),
2999 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3000 (hildon_pannable_area_jump_to_child):
3002 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3004 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3006 * examples/Makefile.am
3007 * examples/hildon-pannable-area-touch-grid-example.c
3008 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3009 the Hildon Touch List and Hildon Touch Grid using the
3010 HildonPannableArea widget.
3012 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3014 * src/hildon-pannable-area.c,
3015 (hildon_pannable_area_button_press_cb),
3016 (hildon_pannable_area_refresh),
3017 (hildon_pannable_area_scroll),
3018 (hildon_pannable_area_motion_notify_cb),
3019 (hildon_pannable_area_button_release_cb),
3020 (hildon_pannable_area_expose_event),
3021 (hildon_pannable_area_add),
3022 (hildon_pannable_area_remove),
3023 (hildon_pannable_area_realize),
3024 (hildon_pannable_area_size_allocate),
3025 (hildon_pannable_area_class_init),
3026 (hildon_pannable_area_init),
3027 (hildon_pannable_area_scroll_to_child),
3028 (hildon_pannable_area_jump_to_child): Fixed the problem of
3029 removing the child from the GtkBin, we have rearranged the widget
3030 hierarchy, now there is no GtkAlignment which was not doing
3031 anything interesting but breaking some of the assumptions of
3032 GtkContainer. Now developers if they want to add a GtkAlignment
3033 they could, but it is not inside the area.
3035 We had to review the whole allocation/expose process, now it is
3036 improved and we save at least three signals which would be saving
3037 some time when rendering the widget. The allocation of the
3038 scrollbars is now made in the allocate method as usual.
3040 We have also added some conditions in order to control when there
3041 is no child of the pannable area. Maybe we will need more work
3044 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3046 * src/hildon-pannable-area.c,
3047 (hildon_pannable_area_dispose): Released the fade-out timeout when
3048 disposing the widget.
3050 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3052 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3053 zero, we are going to use that property in order to deactivate the
3055 (hildon_pannable_axis_scroll),
3056 (hildon_pannable_area_size_allocate): Added conditions to control
3057 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3058 call, now it is called in all situations and we can remove calls
3059 in the allocate method.
3060 (hildon_pannable_area_map): Control the situation when
3061 overshoot_max is zero, we do not need the timeout.
3062 (hildon_pannable_area_class_init): Added documentation in order to
3063 point out that setting zero to overshoot_max means deactivate
3066 NOTE: removed trailing whitespaces from my previous comments of
3069 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3071 * src/hildon-pannable-area.c
3072 (hildon_pannable_area_get_property),
3073 (hildon_pannable_area_set_property),
3074 (hildon_pannable_area_map),
3075 (hildon_pannable_area_class_init),
3076 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3077 to cause the widget give a hint about its panning abilities upon
3080 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3082 * src/hildon-pannable-area.c: Several documentation improvements.
3084 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3086 * src/hildon-program.c
3087 * src/hildon-stackable-window.c: Update documentation.
3089 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3091 * src/hildon-stackable-window.c (get_previous_window_if_last):
3092 Renamed get_last_window()
3093 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3094 (hildon_stackable_window_unset_program):
3096 (get_previous_window_if_last):
3097 Detect if the window hasn't been added to a HildonProgram.
3099 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3101 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3103 * src/hildon-pannable-area.c
3104 (hildon_pannable_area_button_press_cb),
3105 (hildon_pannable_axis_scroll),
3106 (hildon_pannable_area_scroll),
3107 (hildon_pannable_area_timeout),
3108 (hildon_pannable_calculate_vel_factor),
3109 (hildon_pannable_area_get_property),
3110 (hildon_pannable_area_set_property),
3111 (hildon_pannable_area_class_init),
3112 (hildon_pannable_area_init),
3113 (hildon_pannable_area_scroll_to),
3114 (hildon_pannable_area_jump_to),
3115 (hildon_pannable_area_scroll_to_child),
3116 (hildon_pannable_area_jump_to_child):
3117 * src/hildon-pannable-area.h: Added the new API functions:
3118 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3119 hildon_pannable_area_scroll_to_child,
3120 hildon_pannable_area_jump_to_child
3123 * examples/Makefile.am
3124 * examples/hildon-pannable-area-example-2.c
3125 * examples/hildon-pannable-area-example-3.c: Added these two new
3126 examples in order to test and show how the new APIs work.
3128 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3130 * examples/hildon-stackable-window-example.c (new_window):
3131 * src/Makefile.am (noinst_HEADERS):
3132 * src/hildon-program.c (hildon_program_go_to_root_window):
3133 * src/hildon-program.h:
3134 * src/hildon-stackable-window-private.h:
3135 * src/hildon-stackable-window.c:
3136 * src/hildon-stackable-window.h:
3137 Create hildon-stackable-window-private.h
3138 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3140 * examples/hildon-app-menu-example.c (create_menu):
3141 * examples/hildon-hvolumebar-insensitive-example.c (main):
3142 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3143 * examples/hildon-toolbar-seekbar-example.c (main):
3144 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3145 * src/hildon-banner.c (hildon_banner_set_property):
3146 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3147 Fix compilation warnings
3149 * src/hildon-window.c:
3152 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-stackable-window.c
3155 (hildon_stackable_window_unset_program):
3156 Calculate correctly whether to show the previous window if the
3157 last one is removed from the stack.
3158 (hildon_stackable_window_go_to_root_window):
3159 Send delete events starting from the topmost window.
3160 Stop if one of the windows is not destroyed.
3162 (hildon_stackable_window_delete_event)
3163 (hildon_stackable_window_class_init):
3164 Ignore the delete event if the window is not the topmost one.
3166 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3168 * src/hildon-pannable-area.c
3169 (hildon_pannable_area_expose_event): Fixed a problem when
3170 selecting the background color of the scrollbars.
3172 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3174 * examples/hildon-stackable-window-example.c
3175 * src/hildon-stackable-window.c
3176 * src/hildon-stackable-window.h
3177 hildon_stackable_window_go_home() renamed to
3178 hildon_stackable_window_go_to_root_window()
3179 Send delete events to windows rather than closing them with
3180 gtk_widget_destroy()
3182 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-pannable-area.c
3185 (hildon_pannable_area_button_release_cb): Fix overshooting in
3188 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-pannable-area.c
3191 (hildon_pannable_area_init): Initially show the scroll indicators.
3192 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3194 Add initial effect showing the widget is pannable.
3196 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-pannable-area.c
3199 (hildon_pannable_area_class_init)
3200 (hildon_pannable_area_set_property)
3201 (hildon_pannable_area_get_property)
3202 (hildon_pannable_area_button_press_cb):
3203 New 'velocity_fast_factor' property to decide which velocity is
3206 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-pannable-area.c
3209 (hildon_pannable_draw_hscroll)
3210 (hildon_pannable_draw_vscroll):
3211 Use float variables to calculate the size of the scrollbars to
3212 avoid error propagation and resizing during scrolling.
3214 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3216 * src/hildon-pannable-area.c
3217 (hildon_pannable_draw_vscroll)
3218 (hildon_pannable_draw_hscroll):
3219 Define a minimum size for the scroll bars
3221 * src/hildon-stackable-window.c
3222 (hildon_stackable_window_go_home): Fix compilation warning
3223 (get_last_window): Minor optimizations
3224 (hildon_stackable_window_class_init): Fix initialization of
3227 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-stackable-window.c: Fixed typos in doc
3231 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-pannable-area.c
3234 (hildon_pannable_area_scroll):
3235 Calculate here whether we need to scroll instead of using the booleans
3236 that tell us whether to /draw/ the scrolling bars.
3238 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3240 * src/hildon-app-menu.h
3242 * src/hildon-app-menu.c
3243 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3244 multiple filter groups related code and API. Now we support only
3246 * examples/hildon-app-menu-example.c:
3248 Update to reflect API changes.
3250 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-stackable-window.c
3253 (hildon_stackable_window_class_init):
3254 Add hildon_stackable_window_realize.
3255 (hildon_stackable_window_realize):
3256 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3257 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3258 to apply theming and behavior specific to HildonStackableWindow
3261 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3263 * src/hildon-note.c (hildon_note_button_release):
3264 Close information notes also when tapping on them
3266 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3268 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3269 ELASTICITY, refactor and review, fix some issues with drawing
3272 * src/hildon-pannable-area.c:
3273 (hildon_pannable_area_button_press_cb): removed the conditions to
3274 avoid clicks when overshooting. It is not required
3276 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3277 define. Refatored and reviewed the code, now we do not need to
3278 manage velocity in motion_notify.
3280 (hildon_pannable_area_motion_notify_cb): We have moved the code
3281 that controls the area_scroll to the axis_scroll function and get
3282 rid of duplicated code.
3284 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3286 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3288 (hildon_pannable_draw_vscroll),
3289 (hildon_pannable_draw_hscroll): Fixed the problems with the
3290 scrollbar drawing, now we do not use two surfaces, it is easier
3291 and saves resources.
3293 (hildon_pannable_area_get_property): Style modification.
3295 (hildon_pannable_area_class_init): Changed some default values.
3297 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3299 * src/hildon-stackable-window.c: Fix some typos in the
3302 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3304 * src/hildon-dialog.c:
3305 Change indentation style
3308 (hildon_note_button_release):
3309 Use root coordinates to check if the release event happened
3312 * src/hildon-app-menu.c
3313 (hildon_app_menu_button_release):
3314 Remove unnecessary check
3316 * examples/hildon-app-menu-example.c
3318 Add cast to fix warning
3320 * src/hildon-app-menu.c
3321 (hildon_app_menu_class_init):
3322 New inner-border style property.
3323 Set all default spacings to 16
3324 (hildon_app_menu_init):
3325 Use vertical-spacing to set the space between filter buttons and
3326 regular menu buttons.
3327 Set the default container border using the inner-border value.
3329 * examples/hildon-app-menu-example.c
3331 Don't set the menu border explicitly, now we have the inner-border
3332 style property for that.
3334 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3336 * src/hildon-app-menu.c (hildon_app_menu_init):
3337 Make the window modal
3339 * src/hildon-note.c (hildon_note_map)
3340 * src/hildon-app-menu.c (hildon_app_menu_map):
3341 Destroy the grab window if we're unable to grab the pointer
3343 * src/hildon-app-menu-private.h
3344 * src/hildon-app-menu.c
3345 (hildon_app_menu_init, hildon_app_menu_finalize)
3346 (hildon_app_menu_map, hildon_app_menu_unmap)
3347 (hildon_app_menu_button_release)
3348 (grab_transfer_window_get):
3349 Bring back the grab window
3350 (hildon_app_menu_realize):
3351 Decorate the window, set WM hint for Matchbox
3353 * src/hildon-note.c (hildon_note_realize):
3354 * src/hildon-banner.c (hildon_banner_realize):
3355 Add WM hints for Matchbox
3357 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3359 * src/hildon-app-menu-private.h
3360 * src/hildon-app-menu.c
3361 (hildon_app_menu_init, hildon_app_menu_finalize)
3362 (hildon_app_menu_map, hildon_app_menu_unmap)
3363 (hildon_app_menu_button_release):
3364 Remove the grab window, it's not needed anymore
3366 * src/hildon-program.c
3367 Fixed typo in documentation
3369 * src/hildon-app-menu.h
3370 * src/hildon-app-menu.c
3371 * examples/hildon-app-menu-example.c
3372 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3374 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3377 Added new transfer_window and close_if_pressed_outside private
3379 (hildon_note_rebuild):
3380 Don't add a cancel button to the information note. It will be
3381 closed when tapping outside
3382 Remove the comment about the OK button in the documentation
3383 (hildon_note_realize):
3384 Set the notification type hint
3385 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3386 Grab/ungrab pointer and keyboard if the note has to be closed when
3388 (hildon_note_button_release):
3389 Close the note when tapping outside (if applicable)
3391 * src/hildon-app-menu.c
3392 Grab/ungrab pointer and keyboard on map/unmap
3393 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3394 Close the menu on button release, not button press
3396 * src/hildon-banner.c
3397 (hildon_banner_set_property)
3398 (hildon_banner_check_position):
3399 Make the banner use the full width of the screen
3400 (hildon_banner_show_information)
3401 (hildon_banner_show_information_with_markup):
3402 Don't display an icon by default
3404 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3406 Added fading scrollbars and adapted all the overshooting code to
3407 horizontal scrolling. We have also fixed bugs with overshooting
3408 and current fading implementation.
3410 * src/hildon-pannable-area.c
3411 (hildon_pannable_area_scroll_indicator_fade): Time out function
3412 used to change the transparency of the scrollbars.
3414 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3415 control and fixed a problem with fading, we now remove the fade
3416 timeout before adding a new one.
3418 (hildon_pannable_axis_scroll):
3419 (hildon_pannable_area_scroll):
3420 (hildon_pannable_area_timeout): Added this functions so we can use
3421 the scroll code both for vertical and horizontal.
3423 (hildon_pannable_area_motion_notify_cb):
3424 (hildon_pannable_area_button_release_cb): Added the horizontal
3425 scrolling control, fixed a problem with the overshooting timeout.
3427 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3428 painting of the scrolls.
3430 (hildon_pannable_draw_vscroll):
3431 (hildon_pannable_draw_hscroll):
3432 (hildon_pannable_area_expose_event):
3433 Draw both scrollbars and rectangles in the overshooting area.
3435 (hildon_pannable_area_get_property):
3436 (hildon_pannable_area_set_property):
3437 Modified the overshoot property to overshoot_max
3439 (hildon_pannable_area_map):
3440 Replaced the comments symbols.
3442 (hildon_pannable_area_size_allocate):
3443 (hildon_pannable_area_class_init):
3444 (hildon_pannable_area_init): Added horizontal scroll, fading
3445 effect properties, fixed a problem when overshooting in the bottom
3448 * examples/hildon-pannable-area-example.c:
3449 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3450 looks better in the example.
3452 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3454 * src/hildon-window.c
3455 * src/hildon-window.h
3456 (hildon_window_class_init)
3457 (hildon_window_unset_program)
3458 (hildon_window_unset_program_real):
3459 Make unset_program a virtual function
3461 * src/hildon-stackable-window.c
3462 * src/hildon-stackable-window.h
3463 Added hildon_stackable_window_go_home()
3465 * examples/Makefile.am
3466 * examples/hildon-stackable-window-example.c
3467 HildonStackableWindow example
3469 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3471 * hildon-pannable-area.c: Added the overshoot property and removed
3472 the OVERSHOOT define. Fixed an indent style error.
3473 (hildon_pannable_area_motion_notify_cb):
3474 (hildon_pannable_area_get_property):
3475 (hildon_pannable_area_set_property): Add overshoot property.
3477 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3480 (hildon_pannable_area_class_init): Installed the new property.
3482 * hildon-pannable-area-example.c: Added a sawtooth function, this
3483 way it is easier to check the movement in the pannable.
3484 (get_sawtooth_label): Added this function.
3485 (main): Now we get the labels from the new get_sawtooth_label
3488 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3490 * src/hildon-app-menu.h
3491 * src/hildon-app-menu.c
3492 Renamed API variables for consistency
3494 (hildon_app_menu_popup): Use also the default window size to
3495 decide where to place the menu
3497 (hildon_app_menu_init, hildon_app_menu_class_init): New
3498 external-border style property
3500 2008-05-26 Michael Natterer <mitch@imendio.com>
3502 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3503 widget_class->tap_and_hold_setup signal slot doesn't exist any
3504 longer, stop overriding it.
3506 (hildon_time_editor_init): g_signal_connect() to the
3507 tap-and-hold-setup signal instead.
3509 (hildon_time_editor_entry_keypress): add cast to fix warning.
3511 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3513 * doc/hildon-docs.sgml
3515 * examples/Makefile.am
3516 * examples/hildon-app-menu-example.c
3518 * src/hildon-app-menu-private.h
3519 * src/hildon-app-menu.c
3520 * src/hildon-app-menu.h
3522 New HildonAppMenu widget
3524 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3526 Rearranged the inheritance of the pannable area, now it inherits
3527 from GtkBin. This will allow us to control the event_window and
3528 the allocation process of the widget, required for some effects.
3530 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3531 GtkBin structures. * src/hildon-pannable-area.c: Added the
3532 event_window variable.
3533 (hildon_pannable_area_button_press_cb):
3534 (hildon_pannable_area_button_release_cb):
3535 (hildon_pannable_area_motion_notify_cb):
3536 Changed the signature of the method, now we override the event
3537 callback instead of connecting to the signal.
3539 (hildon_pannable_area_realize):
3540 (hildon_pannable_area_unrealize):
3541 (hildon_pannable_area_map):
3542 (hildon_pannable_area_unmap):
3543 (hildon_pannable_area_size_allocate):
3544 Added functions to control the widget construction. We add a
3545 INPUT_ONLY window and we put it over the widgets inside the
3546 container, this event_window handles the events.
3548 (hildon_pannable_area_class_init):
3549 Replaced the signal connections with overrides of the event
3552 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3554 Bouncing effect added when touching the borders, you can change
3555 the elasticity of the border changing the ELASTICITY define.
3557 * src/hildon-pannable-area.c: Added ELASTICITY define.
3558 (hildon_pannable_area_timeout): Added inverse velocity when
3559 touching the border of the child widget, that causes a bounce.
3561 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3563 Improved performance, we now do not go to the X server in order to
3564 get the list of window children. Apparently the effect is the
3565 same, we have to be careful and check if this breaks something in
3568 * src/hildon-pannable-area.c:
3569 (get_ordered_children): Removed this function.
3570 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3571 the children windows function with gdk_window_get_children.
3573 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3575 * src/hildon-pannable-area.c:
3576 (hildon_pannable_area_dispose): Fixed a crash when closing the
3577 window and kinetics is activated.
3579 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3581 * src/hildon-pannable-area.h
3582 * src/hildon-pannable-area.c
3583 Changed indentation style to meet the one used in Hildon
3585 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3587 Reviewed the interaction of the AUTO mode, now we use the time
3588 attribute of the events and calculate the velocity in the motion,
3589 doing a gimp like calculation. The velocity is calculated in each
3590 motion event using the last velocity and the current one, the
3591 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3593 * src/hildon-pannable-area.c: Replaced the time based algorithm
3595 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3596 timeout for the AUTO mode when we are still moving the cursor. We
3597 added also the velocity calculation in this function.
3598 (hildon_pannable_area_button_release_cb): launch the timeout in
3599 case we are in AUTO mode. There are still some constants here that
3600 come from the old implementation that should be reviewed and
3603 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3605 * doc/hildon-docs.sgml
3608 * src/hildon-stackable-window.c
3609 * src/hildon-stackable-window.h
3611 New HildonStackableWindow widget
3613 * examples/hildon-dialog-example.c
3614 * examples/hildon-pannable-area-example.c
3617 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3619 * src/hildon-dialog.c
3620 (hildon_dialog_new_with_buttons): New constructor.
3622 * examples/hildon-dialog-example.c
3623 (main): Update the example to use the new
3624 hildon_dialog_new_with_buttons().
3626 * examples/hildon-pannable-area-example.c
3627 (main): Update example.
3629 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3631 * doc/hildon-docs.sgml
3633 Added HildonPannableArea to the documentation.
3635 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3637 * doc/visual_index.xml
3638 Fix reference to HildonLoginDialog in documentation
3640 * doc/hildon-docs.sgml
3642 * examples/Makefile.am
3643 * examples/hildon-dialog-example.c
3645 * src/hildon-dialog.c
3646 * src/hildon-dialog.h
3648 New HildonDialog widget.
3650 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-pannable-area.c
3653 Merge latest changes (r4318, r4342) from libmokoui trunk
3655 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3657 * examples/Makefile.am
3658 * examples/hildon-pannable-area-example.c
3660 * src/hildon-pannable-area.c
3661 * src/hildon-pannable-area.h
3663 New HildonPannableArea widget.
3665 2008-04-15 18:05:19 <timj@imendio.com>
3667 * src/hildon-banner.c: revert the recent change, that introduced
3668 gtk_window_present() calls. this reopens:
3669 Bug 78481 - [freetest] information banners are hidden under browser menu
3670 But resolves another variant of:
3671 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3673 2008-04-15 13:21:13 <timj@imendio.com>
3675 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3676 recreated its layout, spotted by Kris. this fixes all remaining
3677 artefacts and stability issues with the banner code. in particular:
3678 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3680 2008-04-14 16:52:59 <timj@imendio.com>
3682 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3683 operating on unrealized widgets, fixes:
3684 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3686 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3688 2008-04-09 Kristian Rietveld <kris@imendio.com>
3690 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3691 makes banner disappear.
3692 Fixes: NB#79182: info banner flickering with certain message lengts.
3694 * src/hildon-banner.c (hildon_banner_constructor),
3695 (hildon_banner_init), (hildon_banner_set_text),
3696 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3697 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3698 FALSE, reset size requests of label and banner,
3699 (force_to_wrap_truncated): when the text is too wide, always enforce
3700 the maximum possible width instead of recalculating it from the
3701 layout; enforce the maximum banner height of 3 lines,
3702 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3703 nicer wrapping and no truncated chars if space gets tight.
3705 * src/hildon-banner-private.h: add has_been_wrapped and
3706 has_been_truncated fields.
3708 2008-04-07 Sven Herzberg <sven@imendio.com>
3710 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3711 local values in hildon_date_editor_size_allocate
3713 * src/hildon-date-editor.c: moved the real allocation code into the
3716 2008-04-07 Sven Herzberg <sven@imendio.com>
3718 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3719 local values in hildon_date_editor_size_allocate
3721 * src/hildon-date-editor.c: merged the two if() branches together
3723 2008-04-07 Sven Herzberg <sven@imendio.com>
3725 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3726 local values in hildon_date_editor_size_allocate
3728 * src/hildon-date-editor.c: changed the arguments of the if()
3731 2008-04-07 Sven Herzberg <sven@imendio.com>
3733 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3734 local values in hildon_date_editor_size_allocate
3736 * src/hildon-date-editor.c: split the calculation of the allocation
3737 from the real allocation
3739 2008-03-27 Michael Natterer <mitch@imendio.com>
3741 Fixes: NB#81696: The passcode is not overwritten even after
3744 * src/hildon-code-dialog.c
3745 (hildon_code_dialog_button_clicked)
3746 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3747 because that doesn't overwrite selected text. Instead, emit the
3748 "commit" signal on the entry's im_context so the entry's normal
3749 insert logic is triggered. Set the cursor to the end of the entry
3750 after each insert operation so that we *only* insert in the middle
3751 of the text if something was selected.
3753 2008-03-27 Michael Natterer <mitch@imendio.com>
3755 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3756 selector cannot be opened
3758 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3759 when the popup color selector is created. Please connect to this
3760 signal in order to set the dialog's help ID.
3762 2008-03-25 Sven Herzberg <sven@imendio.com>
3764 Fixes: MB#1212: Hide info banners (infoprints) on click
3766 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3767 extracted the close event simulation into an extra function
3768 (hildon_banner_button_press_event): simulate a close event and destroy
3769 the widget if the event wasn't handled
3770 (hildon_banner_class_init): added the button_press_event handler
3771 (hildon_banner_init): added button-press events to the widget
3773 2008-03-25 Sven Herzberg <sven@imendio.com>
3775 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3776 Patch from: Mohammad Anwari <mdamt@maemo.org>
3778 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3779 instead of the right in RTL mode
3780 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3781 breadcrumb button list in RTL mode
3782 * src/hildon-caption.c: mirror the appearance of the caption widget in
3784 * src/hildon-date-editor.c: mirror appearance of the date editor in
3786 * src/hildon-time-editor.c: mirror appearance of the time editor in
3788 * src/hildon-window.c: fix the position of the popup in RTL mode
3790 2008-03-25 Sven Herzberg <sven@imendio.com>
3792 Amendment to the fix of NB#22072. Fix compilation.
3794 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3796 2008-03-19 Sven Herzberg <sven@imendio.com>
3798 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3801 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3802 timeout id properly when the timeout will disappear this leaves no
3803 artifacts around in the destroy(); there will only be the timeout
3804 created by hildon_banner_ensure_timeout() and adding a new timeout
3805 will also work if the timeout gets removed because the timeout_handler
3808 2008-03-19 Michael Natterer <mitch@imendio.com>
3810 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3812 * src/hildon-volumebar.c
3813 * src/hildon-vvolumebar.c
3814 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3815 the widget becomes focussable at all.
3817 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3818 set the focus to wither the mute button or the volumebar.
3820 Remove own "can-focus" property and instead listen to
3821 notify::can-focus in order to update the widget's state.
3823 Implement GtkWidget::focus() and make sure we can also *leave* the
3824 widget, not only enter it, depending on volumebar orientation and
3825 requested focus direction.
3827 Clean up set_mute() to cooperate nicely with all the above.
3829 2008-03-04 Michael Natterer <mitch@imendio.com>
3831 Fixes: NB#78481: information banners are hidden under browser menu
3833 * src/hildon-banner.c: call gtk_window_present() on the banners so
3834 they are risen if they are already visible.
3836 2008-03-03 Sven Herzberg <sven@imendio.com>
3838 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3840 * examples/hildon-window-menu-example.c: (main): extended the window
3841 menu example to serve as a testcase for automatically added
3842 accelerator groups, too
3843 * src/hildon-window.c: (hildon_window_add_accel_group),
3844 (hildon_window_set_menu): added patch by Tommi Komulainen
3846 2008-03-03 Sven Herzberg <sven@imendio.com>
3848 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3850 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3851 knowledge about the border allocators used within GTK+
3853 2008-02-26 Sven Herzberg <sven@imendio.com>
3855 Fixes: MB#2981: Build with asserts broken
3857 * src/hildon-date-editor.c,
3858 * src/hildon-number-editor.c,
3859 * src/hildon-time-editor.c,
3860 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3861 the proper GType instance check
3863 2008-02-25 Sven Herzberg <sven@imendio.com>
3865 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3867 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3868 * examples/hildon-window-menu-example.c: (main): explicitly show
3870 * src/hildon-window.c:
3871 (hildon_window_set_main_menu): moved most of the code from set_menu()
3872 to this place; skipped the call to gtk_widget_show_all(); also didn't
3873 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3874 (hildon_window_set_menu): removed most of the code, just keep the
3875 questionable gtk_widget_show_all()
3876 * src/hildon-window.h: added the new function and deprecate the old
3879 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3885 * debian/changelog: Updating.
3887 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3890 * pkgconfig/Makefile.am:
3891 * pkgconfig/hildon.pc.in:
3894 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3895 use newly created API_MAJOR_VERSION.
3897 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3903 * debian/changelog: Updating.
3905 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3907 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3909 Add outer_border style property, we use it but don't define it (!).
3913 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3915 * examples/hildon-bread-crumb-trail-example.c (main):
3919 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3921 Fix logic for the bread crumb trail node removal.
3925 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3931 * debian/changelog: Updating.
3933 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3935 Patch by Alejandro to get/set passwords dialogs accesibility.
3937 * hildon-1/src/hildon-get-password-dialog.c:
3938 * hildon-1/src/hildon-set-password-dialog.c:
3939 Set atk_set_name to the passwd entries in order to allow
3940 accessibility by name on this entries.
3942 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3947 * debian/control: Updating gtk dep.
3949 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3951 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3952 USE_MAEMO_GTK is enabled.
3954 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3956 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3957 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3959 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3965 * debian/changelog: Updating.
3967 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3969 * examples/Makefile.am:
3970 * examples/hildon-logical-color-example.c:
3971 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3972 applied + adding a test case. Fixes: NB#71660.
3974 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3976 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3977 to be visible, fixes warning on map for windows without toolbars.
3979 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3981 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3982 2.11.0, add a check for that besides the MAEMO_GTK check.
3984 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3990 * debian/changelog: Updating.
3992 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3994 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3995 visibility. Fixes: NB#70842 and MB#615.
3997 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3999 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4000 set the separator as no-show-all so it doesn't unintentionally appear when
4001 someone does a show_all.
4003 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4005 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4006 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4007 toplevel item. Fixes: NB#62031
4009 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4011 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4012 fix the name of the function in the docs.
4014 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4020 * debian/changelog: Updating.
4022 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4024 * examples/hildon-banner-long-example.c: Adding a test-case for long
4027 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4029 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4031 * src/hildon-color-chooser-dialog.c:
4032 * src/hildon-color-chooser.c:
4033 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4034 memory leaks in font selector and color selector. Fixes: NB#70499 and
4037 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4039 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4041 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4043 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4044 little bit bigger. Fixes: #NB63694.
4046 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4052 * debian/changelog: Updating.
4054 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4057 * doc/hildon-docs.sgml:
4058 * doc/images/bread-crumb-trail.png:
4059 * doc/images/calendar-popup.png:
4060 * doc/images/caption.png:
4061 * doc/images/code-dialog.png:
4062 * doc/images/color-button.png:
4063 * doc/images/color-chooser-dialog.png:
4064 * doc/images/color-chooser.png:
4065 * doc/images/controlbar.png:
4066 * doc/images/date-editor.png:
4067 * doc/images/font-selection-dialog.png:
4068 * doc/images/get-password-dialog.png:
4069 * doc/images/hvolumebar.png:
4070 * doc/images/login-dialog.png:
4071 * doc/images/note.png:
4072 * doc/images/number-editor.png:
4073 * doc/images/range-editor.png:
4074 * doc/images/seekbar.png:
4075 * doc/images/set-password-dialog.png:
4076 * doc/images/sort-dialog.png:
4077 * doc/images/time-editor.png:
4078 * doc/images/time-picker.png:
4079 * doc/images/vvolumebar.png:
4080 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4081 Adding the bread-crumb-trial and helpers to the documentation.
4083 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4085 * examples/hildon-find-toolbar-example.c:
4086 * src/hildon-find-toolbar.c:
4087 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4088 actually continue firing the other handlers if connected. Adding a new
4090 hildon_find_toolbar_get_last_index that gets the index of the most
4091 recently added (last) item. Fixes: NB#52301.
4093 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4095 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4096 behaviour. Fixes: NB#68610.
4098 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4100 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4103 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4105 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4106 when realizing the banner. Should make the infonbanner effect a bit more
4109 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4111 * src/hildon-volumebar.c:
4112 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4113 hildon_volumebar_set_range_insensitive_message and
4114 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4116 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4118 * src/hildon-window.c: Fixing the border freeing on destroy.
4120 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4122 * src/hildon-code-dialog-private.h:
4123 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4124 kw keyboard support in HildonCodeDialog.
4126 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * debian/changelog: Updating.
4134 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4136 * src/hildon-date-editor.c:
4137 * src/hildon-number-editor.c:
4138 * src/hildon-private.c:
4139 * src/hildon-private.h:
4140 * src/hildon-time-editor.c:
4141 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4142 handling in subclassed composite widgets. Fixes: NB#66628.
4144 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4146 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4147 from destroy_ callback as it introduces problems in async dbus signal
4148 handlers. Fixes NB#66673.
4150 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4152 * examples/hildon-hvolumebar-example.c:
4153 * src/hildon-volumebar.c: Improving the focus handling in the
4154 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4155 set_property accessor so that "mute" property can be actually set. I'm
4156 scared that nobody noticed it's totally broken.
4158 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4160 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4163 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4165 * src/hildon-calendar.c:
4166 * src/hildon-number-editor.c:
4167 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4168 matches the spec of 6 chars per second. Fixes: NB#60489.
4170 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4172 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4173 gtk_style_lookup_color sometime returns FALSE even though color was
4174 found and values were filled properly. Weird. Removing the warning for the
4177 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4179 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4180 expand vertically. Adding some extra space to the find toolbar buttons to
4181 make them thumbable. Fixes NB#66060.
4183 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4185 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4186 popup with "Ok" and "Cancel". Fixes NB#59299.
4188 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4190 * src/hildon-calendar.c: Process all window updates before executing next
4191 timeout. Fixes: NB#54146.
4193 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4199 * debian/changelog: Updating.
4201 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4203 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4204 the client event and ignore it, since we use the delete event to close
4207 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4209 * src/hildon-helper.c: Remove the bogus warning about color not being
4210 found. Fixes NB#58352.
4212 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4214 * examples/Makefile.am:
4215 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4216 HildonSeekbar widget inside a toolbar.
4218 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4220 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4221 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4222 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4223 don't want to be closed by non-temporary windows on map.
4225 Also use G_DEFINE_TYPE instead of manually typed code.
4227 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * debian/rules: Updating.
4236 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4238 * examples/Makefile.am:
4239 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4240 bug NB#61128. Strangely it works.
4242 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4244 * src/hildon-date-editor.c: When the date editor entry has been changed
4245 but the numbers of characters < max, turn off the skip validation flag.
4246 Prevents a situation when we enter first a valid year and later re-write
4247 it with an invalid one. Fixes NB#60154.
4249 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4251 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4252 code dialog. Fixes NB#64355.
4254 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4256 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4257 switching the page. Fixes NB#49374.
4259 * examples/Makefile.am:
4260 * examples/hildon-wizard-dialog-example.c: Adding an example for
4261 HildonWizardDialog that shows how to handle manual sensitivity setting on
4264 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4268 * src/hildon-version.h.in:
4269 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4271 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4273 * src/hildon-volumebar.c: Updating the docs.
4275 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4281 * debian/changelog: Updating.
4283 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4285 * src/hildon-find-toolbar.c:
4286 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4287 selected item: hildon_find_toolbar_set_active,
4288 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4289 hildon_find_toolbar_get_active_iter . They correspond to respective
4290 GtkComboBox functions.
4292 * examples/Makefile.am:
4293 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4296 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4298 * examples/Makefile.am:
4299 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4302 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4303 when font size > 32 and we pack a focusable widget inside. Actually using
4304 the default response would work too, but since we don't show default
4305 response state in any way (no theming) it would not be visible to the
4306 user. Fixes NB#63430.
4308 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4310 * src/hildon-date-editor.c: Adding the missing variable setter in the
4311 set_property handler. Fixes NB#54182.
4313 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4315 * src/hildon-window.h: Changing the long key press time from 1500ms to
4316 800ms as requested in NB#63700. I have a bad feeling about this, let's
4317 see... Fixes NB#63700.
4319 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4321 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4322 hildon_time_picker_map, hildon_time_picker_realize,
4323 hildon_time_picker_style_set): Split the contents of map to more
4324 appropriate functions; set window decorations on realize and update
4325 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4327 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4332 * debian/changelog: Updating.
4334 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4336 * src/Makefile.am: fixed installation of the header files
4338 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4344 * debian/changelog: Updating.
4346 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4348 * configure.ac: Removing some remaining of --enable-xan.
4350 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4352 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4353 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4355 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4356 2.10.12-osso6 because the move-focus signal needs to be available in
4359 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4361 * examples/Makefile.am:
4362 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4363 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4364 fine. Prolly NB#61128 is fixed now.
4366 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4368 * src/hildon-volumebar.c:
4369 * src/hildon-volumebar.h: Adding the
4370 hildon_volumebar_set_range_insensitive_message and
4371 hildon_volumebar_set_range_insensitive_messagef functions to set
4372 insensitive message on the slider of the volumebar. Fixes NB#61129.
4374 * examples/Makefile.am:
4375 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4376 test the new insensitive messsage functionality on HildonVolumebar.
4378 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4380 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4383 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4385 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4386 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4387 button on after clearing the trail.
4389 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4391 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4393 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4395 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4396 by splitting the installed headers in generated and non-generated groups. Use
4397 only the non-generated headers to create the hildon-enum-types.h file.
4399 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4401 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4403 * src/hildon-window.c: Hide the window before performing the destroy.
4404 Should make the app closing a little tiny bit more snappy.
4406 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4408 * src/hildon-seekbar.c: add gtkrange.h header
4409 * src/hildon-caption.c: remove unused variable
4411 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4413 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4416 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4422 * debian/changelog: Updating.
4424 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4426 * src/hildon-window.c (hildon_window_window_state_event,
4427 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4428 escape timeout on focus-out-event rather than notify::is-topmost; the
4429 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4431 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4433 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4434 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4436 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4438 * src/hildon-window: actually, you need to use the macro always, there's
4439 no private pointer in the instance structure. We should have cleaned this up
4440 when we had the chance...
4442 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4444 * src/hildon-window.c: do not get the private date from HildonWindow before
4445 it passes the g_return_if_fail check. Once it's passed the test, there's no
4446 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4447 if you are only going to access the data once. Whitespace cleanups.
4449 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4451 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4452 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4454 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4460 * debian/changelog: Updating.
4462 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4464 * src/hildon-window.c: When destroying the window, remove (if exists) the
4465 escape timeout handler. Fixes #NB59276.
4467 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4469 * src/hildon-banner.c: When realizing the widget, set the window
4470 transiency. Setting the transiency in the gobject constructor is not
4471 good, as the widget is not realized at that point. Fixes: #NB56624.
4473 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4475 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4476 Add padding for future expansions.
4478 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4480 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4481 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4482 will fake an activation on the previous to the last item of the trail, so
4483 the effect can be overrided by the developer as usual.
4484 Also change the callback for the back button to do the same thing, so its
4485 effect can be overrided too. Fixes: NB#58982
4487 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4489 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4490 HildonCaption. Fixes NB#52379.
4492 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4494 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4495 the internal state of the trail after the user has had the chance of executing
4496 his handler for the signal. Specifically, it may happen that the activated button
4497 is removed and the user still lets the default handler run. This would segfault
4500 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4502 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4503 scrollbar to the preview dialog. Fixes NB#54147.
4505 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4507 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4508 max/min year properties can be altered, so the client can modify it
4509 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4511 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4513 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4514 hildonlike by default. Fixing a problem with disappearing arrows when
4515 scrolling through months and years. Fixes NB#54127.
4517 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4519 * examples/hildon-date-editor-example.c: Adding error callback to the date
4522 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4528 * configure.ac: Updating.
4530 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4532 * configure.ac: Adding a special '--enable-xan' configure option that
4533 turns off the -Werror compilation setting. Usefull for development.
4535 * src/hildon-calendar.c:
4536 * src/hildon-number-editor.c:
4537 * src/hildon-time-picker.c: Adding the 5* multiplier to
4540 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4542 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4543 instead of g_object_ref + gtk_object_sink.
4545 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4551 * debian/changelog: Updating.
4553 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4555 * src/hildon-color-chooser-dialog.c:
4556 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4557 straight from Tommi labs.
4559 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4561 * examples/hildon-finger-example.c: Correcting the header file path.
4563 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4564 the changed signal. Fixes a small memory leak.
4566 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4570 * src/hildon-banner.c: Importing several usefull fixes from the
4571 ubuntu-mobile branch.
4573 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4575 * examples/Makefile.am:
4576 * examples/hildon-finger-example.c: Adding a finger-checking code
4579 * src/hildon-font-selection-dialog.c: Do not allocate the color
4580 structure using the g_new. Fixes NB#54061.
4582 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4584 * src/hildon-helper.c: Correcting tabs in file.
4586 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4588 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4589 control the visibility of the children.
4591 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4593 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4599 * debian/changelog: Updating.
4601 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4603 * src/hildon-bread-crumb-trail.c:
4604 (hildon_bread_crumb_trail_size_allocate):
4606 Make the back button always a square.
4608 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4610 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4611 from the .c file as it's a private file.
4613 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4615 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4616 uses slightly bigger height.
4618 * src/hildon-font-selection-dialog.c: Adding some checks before
4619 freeing memory in the font selection dialog.
4621 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4623 * src/hildon-font-selection-dialog.c: Adding a small check when
4626 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4627 buttons sensitivity on page switching.
4629 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4631 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4632 internal details of adding a bread crumb to the trail.
4634 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4640 * debian/changelog: Updating.
4642 * src/hildon-bread-crumb-trail.h:
4643 * src/hildon-bread-crumb.h: Changing the API guard to
4644 HILDON_ENABLE_UNSTABLE_API.
4646 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4654 * src/hildon-helper.h: Updating.
4656 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4664 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4668 * src/hildon-helper.h: Small fix to make the package actually compile.
4670 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4672 * src/hildon-bread-crumb-trail.h:
4673 * src/hildon-bread-crumb.h:
4675 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4676 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4678 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4680 * examples/hildon-bread-crumb-trail-example.c:
4682 * src/hildon-bread-crumb-trail.c:
4683 * src/hildon-bread-crumb-trail.h:
4684 * src/hildon-bread-crumb.c:
4685 * src/hildon-bread-crumb.h:
4686 * src/hildon-marshalers.list:
4687 * src/hildon-bread-crumb-widget.c:
4688 * src/hildon-bread-crumb-widget.h:
4690 Slight change in the widget design. The bread crumb trail API is
4691 unchanged, but HildonBreadCrumb is now an interface. A *private*
4692 implementation, hildon-bread-crumb-widget, is provided and used
4693 internally by the trail for the push_text/push_icon functions.
4695 The generic push API is still available, so anyone can implement
4696 and use its own bread crumb widget.
4698 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4700 * debian/rules: Fixing the shlibs.
4702 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4704 * src/hildon-banner.c: Fixing a problem with timed banners having
4705 their parrent destroyed before they are.
4707 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4709 * src/hildon-bread-crumb.c:
4710 * src/hildon-bread-crumb.h:
4712 Make the get_natural_size function a vfunc.
4714 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4716 * src/hildon-bread-crumb.c:
4717 * src/hildon-bread-crumb-trail.c:
4721 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4728 * debian/changelog: Updating for release.
4730 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4732 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4733 don't leak the pango layout.
4735 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4738 * examples/hildon-bread-crumb-trail-example.c:
4742 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4744 * debian/changelog: Removing the bug-fixed entries that were actually
4745 resolved as WONTFIX.
4747 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4750 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4752 * src/hildon-bread-crumb-trail.c:
4753 * src/hildon-bread-crumb-trail.h:
4754 * src/hildon-bread-crumb.c:
4755 * src/hildon-bread-crumb.h:
4759 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4761 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4762 until it's passed the type check.
4764 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4766 * examples/hildon-bread-crumb-trail-example.c
4770 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4772 * examples/Makefile.am
4773 * examples/hildon-bread-crumb-trail-example.c
4775 * src/hildon-bread-crumb-trail.c
4776 * src/hildon-bread-crumb-trail.h
4777 * src/hildon-bread-crumb.c
4778 * src/hildon-bread-crumb.h
4780 New HildonBreadCrumbTrail widget.
4782 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4784 * src/hildon-range-editor.c (hildon_range_editor_init),
4785 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4786 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4787 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4788 hildon_time_editor_class_init, hildon_time_editor_init),
4789 src/hildon-get-password-dialog.c (invalid_input,
4790 hildon_get_password_set_property, hildon_get_password_get_property,
4791 create_contents, hildon_get_password_dialog_set_max_characters),
4792 src/hildon-set-password-dialog.c (create_contents),
4793 src/hildon-date-editor.c (hildon_date_editor_init),
4794 src/hildon-login-dialog.c (hildon_login_dialog_init),
4795 src/hildon-number-editor.c (hildon_number_editor_init),
4796 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4797 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4798 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4799 configure option and adding the respective checks in the code.
4800 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4801 hildon_calendar_drag_data_received): fixed some build warnings.
4803 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4805 * debian/changelog: A 1.0.0 release notes.