1 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4 Updated the logical ids related to ampm format, as now it is required to
5 show it correctly localized even on languages with no default abbreviations
7 (_check_am_pm_format): check correctly the 24h format gconf property
9 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
11 2008-11-27 Alberto Garcia <agarcia@igalia.com>
13 * src/hildon-button.c: Documentation updates.
15 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
18 * src/hildon-caption.c: (hildon_caption_class_init):
19 * src/hildon-color-button.c: (hildon_color_button_class_init):
20 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
21 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
22 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
23 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
25 Remove deprecated GTK+ marshalers and replace them with the ones provided
26 by GLib, for those available, add a marshaler for BOOLEAN:VOID, which
27 is not available in GLib, and use it.
29 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
31 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
32 the text from the previous column if there is no
33 HildonTouchSelectorColumn::text-property set.
35 2008-11-27 Alberto Garcia <agarcia@igalia.com>
38 * src/hildon-button.c (hildon_button_set_property)
39 (hildon_button_get_property, hildon_button_class_init)
40 (hildon_button_set_style, hildon_button_get_style):
41 New "style" property to change the visual appearance of the
44 * src/hildon-picker-button.c (hildon_picker_button_new):
45 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
47 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
48 HildonButton look like PickerButton)
50 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
52 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
53 column while building the default string.
55 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
57 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
58 scroll indicator by default.
60 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
62 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
64 * src/hildon-main.c: Fix the documentation for hildon_init()
66 2008-11-25 Alberto Garcia <agarcia@igalia.com>
68 * doc/hildon-docs.sgml
72 * src/hildon-window-stack-private.h
73 * src/hildon-window-stack.h
74 * src/hildon-window-stack.c:
75 New HildonWindowStack object, that adds support for multiple
76 stacks of windows per process.
78 * src/hildon-stackable-window-private.h
79 * src/hildon-stackable-window.h
80 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
81 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
82 (hildon_stackable_window_show, hildon_stackable_window_hide)
83 (hildon_stackable_window_class_init)
84 (hildon_stackable_window_init):
85 Use HildonWindowStack for stack management.
87 * src/hildon-program.c (hildon_program_pop_window_stack)
88 (hildon_program_peek_window_stack)
89 (hildon_program_go_to_root_window):
90 Add a fallback implementation to the deprecated functions using
93 * examples/hildon-stackable-window-example.c:
94 Use the new HildonWindowStack API.
96 2008-11-25 Alberto Garcia <agarcia@igalia.com>
98 * src/hildon-stackable-window-private.h
99 * src/hildon-stackable-window.c (hildon_stackable_window_show)
100 (hildon_stackable_window_hide, hildon_stackable_window_init):
101 Remove all window stack management.
103 * src/hildon-program-private.h
104 * src/hildon-program.h
105 * src/hildon-program.c (hildon_program_init)
106 (hildon_program_pop_window_stack)
107 (hildon_program_peek_window_stack)
108 (hildon_program_go_to_root_window):
109 Remove all window stack management and mark functions as
112 2008-11-25 Alberto Garcia <agarcia@igalia.com>
114 * src/hildon-app-menu.c (hildon_app_menu_realize):
115 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
117 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
119 * configure.ac: post release version bump
120 * debian/changelog: version bump
122 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: bump version
128 * debian/changelog: updates
130 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
132 Based on initial code by Christian Dywan (christian@imendio.com)
134 * doc/hildon-docs.sgml: Add section for hildon-main.
135 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
136 * src/Makefile.am: Add new hildon-main.[ch]
137 * src/hildon-defines.h: Update the icon sizes.
138 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
139 new library initialization files and register icon sizes.
140 * src/hildon-main.h: New declarations.
141 * src/hildon.h: Include hildon-main.h
143 Add new initialization functions to the library. These methods
144 will register the hildon specific icon sizes and can be used in the
145 future for other hildon specific bits.
147 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
149 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
151 * src/hildon-window.c: (hildon_window_realize),
152 (hildon_window_notify), (-hildon_window_update_title): Do not set
153 the application name in the window title.
155 Fixes: NB#89754 (Applications shouldn't display their names in the
158 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-note-private.h:
161 * src/hildon-note.c: (hildon_note_set_property),
162 (hildon_note_get_property), (hildon_note_class_init),
163 (hildon_note_init), (hildon_note_finalize),
164 (hildon_note_new_confirmation_with_icon_name),
165 (hildon_note_new_information_with_icon_name):
167 No need to mark as deprecated the actual code. Revert
168 to avoid missing symbols in widgets using deprecated API.
170 2008-11-20 Alberto Garcia <agarcia@igalia.com>
172 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
174 * src/hildon-volumebar.h
175 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
176 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
178 * src/hildon-helper.h
179 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
180 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
182 * examples/Makefile.am:
183 Deprecate hildon-insensitive-example
185 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
187 2008-11-20 Alberto Garcia <agarcia@igalia.com>
189 * examples/hildon-pannable-area-buttons-scroll-example.c:
190 Make all buttons finger height
192 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
194 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
196 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
197 update the day model only if it is really required, and to avoid the
198 full-reconstruction aproach. Now it only add or remove the required days.
200 The purpose of this is avoid superfluous HildonTouchSelector::changed
203 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
204 with strange parameters)
206 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
208 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
210 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
211 the WINDOW_TYPE property.
213 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
215 2008-11-19 Alberto Garcia <agarcia@igalia.com>
218 Fix dependency to allow parallel compilation with make -jX
220 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
222 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
223 color frame and some minor tweaks to make it more consistent with
226 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
227 highlighted but not visible)
229 2008-11-14 Alejandro G. Castro <alex@igalia.com>
231 * examples/Makefile.am: Fixed typo in the Makefile.am.
233 2008-11-14 Alejandro G. Castro <alex@igalia.com>
235 Reviewed the use of MAEMO_GTK define, now we add the define in the
236 compilation line, and we also add it to the pc file.
238 * configure.ac: Added MAEMO_GTK define to the compilation command
239 and removed it from the config.h.
241 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
242 do not have to take care about this define if the library was
246 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
248 2008-11-14 Alejandro G. Castro <alex@igalia.com>
250 * examples/Makefile.am,
251 * examples/hildon-pannable-area-buttons-scroll-example.c,
252 * examples/hildon-pannable-area-gesture-signals-example.c,
253 * examples/hildon-pannable-area-scroll-jump-example.c,
254 * examples/hildon-pannable-area-tree-view-example.c:
255 Renamed the pannable area examples, now they have more meaningful
258 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
260 * src/hildon-touch-selector.c:
261 (hildon_touch_selector_set_column_selection_mode): Used of
262 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
263 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
264 to avoid re-seting the same selection mode.
266 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
267 breaks HildonPickerDialog)
269 2008-11-13 Alejandro G. Castro <alex@igalia.com>
271 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
272 conditional in the Makefile.am
274 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
276 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
277 Remove unused methods.
279 2008-11-12 Alberto Garcia <agarcia@igalia.com>
281 * src/hildon-button.c (hildon_button_init):
282 Make button images center-aligned by default
284 2008-11-12 Alejandro G. Castro <alex@igalia.com>
287 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
288 activated, we have to think about how to deal with both defines
289 MAEMO_GTK and MAEMO_CHANGES.
291 2008-11-12 Alberto Garcia <agarcia@igalia.com>
293 * examples/hildon-app-menu-example.c (create_menu): Make all
296 2008-11-11 Alejandro G. Castro <alex@igalia.com>
298 Fixed the compilation without maemo gtk adding ifdefs with
299 MAEMO_GTK define to the code, we have to check this version more
302 * examples/Makefile.am: Added control to avoid some examples that
303 just make sense with maemo gtk.
306 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
307 hildon modes with the define.
309 * examples/hildon-edit-toolbar-example.c,
310 (create_icon_view): Create the icon view without hildon-gtk
311 helpers if we are not using maemo gtk.
313 * src/hildon-touch-selector.c,
314 (_create_new_column): Create the treeview without hildon-gtk
315 helpers if we are not using maemo gtk.
317 2008-11-11 Alejandro G. Castro <alex@igalia.com>
319 * src/hildon-pnnable-area.c,
320 (hildon_pannable_area_dispose),
321 (hildon_pannable_area_button_press_cb),
322 (hildon_pannable_area_child_mapped),
323 (hildon_pannable_area_add),
324 (hildon_pannable_area_remove): Added code to control the position
325 of the event_window when adding and removing children from the
326 pannable. We have to raise the event window when the child is
329 Fixes: NB#89811 (Not able to select first image thumbnail in multi
330 selection mode using custom widget inside pannable)
332 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
334 * configure.ac: post release version bump
335 * debian/changelog: version bump
337 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
342 * configure.ac: bump version
343 * debian/changelog: updates
345 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
347 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
348 search mode, in order to avoid lose the focus on the treeview when
349 a hw key (like enter) is pressed.
351 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
352 in HildonDateSelector dialog)
354 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
356 * debian/rules: Added --enable-maintainer-mode
357 * Makefile.am: Added ACLOCAL_AMFLAGS
359 This allows to properly regenerate the Makefiles if you modify the
360 configure.ac or any Makefile.am.
362 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
364 * examples/hildon-app-menu-example.c: (main): Do not set RC style
365 properties, not needed at all.
367 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
369 * src/hildon-note-private.h: Add strings for the icon and stock_icon
371 * src/hildon-note.c: (hildon_note_set_property),
372 (hildon_note_get_property), (hildon_note_class_init),
373 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
374 (hildon_note_new_confirmation_add_buttons): Remove icons.
375 (hildon_note_new_confirmation_with_icon_name): Deprecate.
376 (hildon_note_new_information_with_icon_name): Deprecate.
377 (hildon_note_new_confirmation): Act directly, without calling
378 the deprecated constructor.
379 (hildon_note_new_information): Act directly, without calling
380 the deprecated constructor.
381 * src/hildon-note.h: Mark deprecate methods as such.
382 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
383 not run tests on the deprecated methods if built with deprecation
386 Fixes: NB#91688 (Never show icons in information notes/confirmation
389 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
391 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
392 (hildon_app_menu_key_press): Remove leftover usage of the
393 private structure in HildonAppMenu struct.
394 * src/hildon-app-menu.h: Remove leftover private structure
395 from the HildonAppMenu struct.
397 Fixes a crasher when using the HildonAppMenu.
399 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
401 * src/hildon-picker-dialog.c: Use appropriate logical id
402 for the default "Done" text.
404 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
406 * configure.ac: post release version bump
407 * debian/changelog: version bump
409 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
411 Modified the way to scroll to the current selection just when the touch
412 selector is shown on the screen, avoiding a g_idle. Added too a property
413 to configure this behaviour. See hildon_pannable_area_jump_to_child
414 documentation for more information.
416 * src/hildon-touch-selector.c
417 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
418 Added 'initial-scroll' property
419 (hildon_touch_selector_set_property): Added
420 (hildon_touch_selector_map): Removed as not required anymore
421 (_hildon_touch_selector_on_selected_items): Modified in order to manage
422 only a concrete column, instead of iterate along all the columns
424 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
429 * configure.ac: bump version
430 * debian/changelog: updates
432 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
434 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
435 compilation time warnings.
437 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
439 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
440 the default value for HildonPannableArea::mov-mode to
441 HILDON_PANNABLE_AREA_MODE_VERT.
443 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
445 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
447 Reverting following commit:
449 2008-10-13 Alberto Garcia <agarcia@igalia.com>
451 * src/hildon-app-menu-private.h
452 * src/hildon-app-menu.[ch]
453 * src/hildon-button.[ch]
454 * src/hildon-check-button.[ch]
455 * src/hildon-entry.[ch]
456 * src/hildon-pannable-area.[ch]
457 * src/hildon-text-view.[ch]:
458 Added private field to the object's structure.
460 because it causes an ABI breakage. We will need to introduce these
461 changes later at some point. See NB#91636 for an extensive
462 explanation and status.
464 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
466 Patch contributed by Daniel Borgmann (danielb@openismus.com)
468 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
469 remove special cases that are no longer necessary.
471 Fixes: NB#91016 (Change toolbar sizes, simplification)
473 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
475 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
476 is shown in the cancel note.
478 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
480 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
481 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
482 (hildon_seekbar_init): Remove steppers, remove expose event.
483 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
485 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
487 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
489 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
490 label font to "SmallSystemFont" for vertically arranged buttons.
492 Fixes: NB#90662 (HildonButton "value" and "detail" text is
495 2008-10-31 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-check-button.c
498 (hildon_check_button_set_active, hildon_check_button_clicked):
499 Don't access private parts directly, use getters instead.
501 2008-10-31 Alberto Garcia <agarcia@igalia.com>
503 * src/hildon-check-button.c (hildon_check_button_new):
504 Align the contents of the check button to the left.
506 2008-10-30 Alejandro G. Castro <alex@igalia.com>
508 * src/hildon-pannable-area.c,
509 (hildon_pannable_area_scroll_to),
510 (hildon_pannable_area_jump_to),
511 (hildon_pannable_area_scroll_to_child),
512 (hildon_pannable_area_jump_to_child): Replace the mapped
513 precondition of these functions with the realized, it is the
514 correct state of the widget in this case. Changed the
515 documentation according to this modification.
517 2008-10-30 Alejandro G. Castro <alex@igalia.com>
519 Added a new EXTRA_CFLAGS option to add the deprecated define to
520 the compilation command. This way we can avoid using the define in
521 the documentation compilation.
523 * configure.ac: Defined EXTRA_CFLAGS.
525 * examples/Makefile.am:
527 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
529 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
531 * src/hildon-picker-dialog.c:
532 Defined a utility macro with the desired touch selector height
533 Removed currently unused separator, and title_label variables from
535 (hildon_picker_dialog_init): Removed code related to the creation
536 of unused private variables title_label and separator.
537 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
538 to ensure correct visualization of the touch selector inside the dialog.
539 * src/hildon-touch-selector.c
540 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
541 ensure a concrete height of the widget.
543 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
548 Remove spurious whitespaces.
550 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
553 compilation warning after the cancel button removal.
555 2008-10-30 Alejandro G. Castro <alex@igalia.com>
557 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
559 * configure.ac: Added an AM_CONDITIONAL in order to use in the
560 Makefile.am, that way we can choose not to compile some examples
561 and tests of the deprecated widgets.
563 * examples/Makefile.am: Divided the sources in deprecated and
566 * src/Makefile.am: Added undef statement of the deprecated
567 symbol to the enums file generation process.
569 * src/hildon-color-chooser-dialog.c
570 * src/hildon-color-chooser-dialog.h
571 * src/hildon-color-button.c
572 * src/hildon-color-button.h
573 * src/hildon-color-chooser.c
574 * src/hildon-color-chooser.h
575 * src/hildon-controlbar.c
576 * src/hildon-controlbar.h
577 * src/hildon-date-editor.c
578 * src/hildon-date-editor.h
579 * src/hildon-hvolumebar.c
580 * src/hildon-hvolumebar.h
581 * src/hildon-private.c
582 * src/hildon-private.h
583 * src/hildon-range-editor.c
584 * src/hildon-range-editor.h
585 * src/hildon-seekbar.c
586 * src/hildon-seekbar.h
587 * src/hildon-time-editor.c
588 * src/hildon-time-editor.h
589 * src/hildon-time-picker.c
590 * src/hildon-time-picker.h
591 * src/hildon-volumebar.c
592 * src/hildon-volumebar.h
593 * src/hildon-vvolumebar.c
594 * src/hildon-vvolumebar.h
595 * src/hildon-bread-crumb-trail.h
596 * src/hildon-bread-crumb-trail.c
597 * src/hildon-calendar-popup.c
598 * src/hildon-calendar-popup.h
599 * src/hildon-weekday-picker.c:
600 * src/hildon-weekday-picker.h:
601 * src/hildon-bread-crumb-widget.c:
602 * src/hildon-bread-crumb-widget.h:
603 * src/hildon-bread-crumb.c:
604 * src/hildon-bread-crumb.h:
605 * src/hildon-calendar.c:
606 * src/hildon-calendar.h:
607 * src/hildon-caption.c:
608 * src/hildon-code-dialog.c:
609 * src/hildon-code-dialog.h:
610 * src/hildon-font-selection-dialog.c:
611 * src/hildon-font-selection-dialog.h:
612 * src/hildon-get-password-dialog.c:
613 * src/hildon-get-password-dialog.h:
614 * src/hildon-login-dialog.c:
615 * src/hildon-login-dialog.h:
616 * src/hildon-number-editor.c:
617 * src/hildon-number-editor.h:
618 * src/hildon-set-password-dialog.c:
619 * src/hildon-set-password-dialog.h:
620 * src/hildon-sort-dialog.c:
621 * src/hildon-sort-dialog.h: This is the list of deprecated
624 * src/hildon-touch-selector.c:
625 * src/hildon-window.c: Added undef statement to avoid compilation
628 * tests/Makefile.am: Divided the sources in deprecated and
631 * tests/check_test.c,
632 (configure_tests): Marked the deprecated code that was adding
633 suites with deprecated tests.
635 Fixes: NB#91135 (Deprecate legacy hildon widgets)
637 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
639 * src/hildon-touch-selector.c: (_default_print_func): Do not
640 duplicate a string returned by gtk_tree_model_get(), it is already
643 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
646 2008-10-28 Alejandro G. Castro <alex@igalia.com>
648 * src/hildon-pannable-area.c
649 (hildon_pannable_area_add_with_viewport): Reviewed the complete
650 method, it had problems when adding a widget with viewport the
651 second time. Now checks if it already has a viewport and uses it.
653 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
656 2008-10-28 Alejandro G. Castro <alex@igalia.com>
658 * src/hildon-pannable-area.c,
659 (hildon_pannable_area_scroll_to),
660 (hildon_pannable_area_jump_to),
661 (hildon_pannable_area_scroll_to_child),
662 (hildon_pannable_area_jump_to_child): Added a precondition to the
663 scroll and jump to functions: the widget must be mapped before we
664 can safely call these functions. We have also added documentation
665 to the functions to explain how to use them in this situation.
668 2008-10-28 Alejandro G. Castro <alex@igalia.com>
670 Reviewed the threading handling of the pannable widget, we have
671 used the gdk_threads_add_timeout function instead of the usual
672 glib handlers. This avoids some problems with the threads.
674 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
675 (hildon_pannable_area_initial_effect),
676 (hildon_pannable_area_scroll_indicator_fade),
677 (hildon_pannable_area_button_press_cb),
678 (hildon_pannable_area_timeout),
679 (hildon_pannable_area_motion_notify_cb),
680 (hildon_pannable_area_button_release_cb),
681 (hildon_pannable_area_scroll_cb),
682 (hildon_pannable_area_scroll_to): Removed the
683 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
684 gdk_threads_add_timeout.
686 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
688 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
693 * configure.ac: bump version
694 * debian/changelog: updates
696 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
698 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
699 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
700 * src/hildon-color-chooser-dialog.c:
701 (hildon_color_chooser_dialog_init):
702 * src/hildon-font-selection-dialog.c:
703 (hildon_font_selection_dialog_init):
704 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
706 Remove all cancel/close-like dialogs, as these are not going to be
709 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
711 * src/hildon-note.c: (hildon_note_rebuild),
712 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
715 Fixes: NB#90661 (Delete dialog is displayed without NO button)
717 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
719 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
720 sure all buttons are shown, even the Cancel/Close-like ones.
722 Fixes: NB#90861 (Custom Confirmation dialogs should be
723 protected from cancel button removal)
725 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
727 * debian/control: Change libhildon1-examples dependency from libhildon1
729 * debian/libhildon1-examples.install
731 * Makefile.am: Modified the final install directory for the examples on
732 package libhildon1-examples
733 * Makefile.static: Update clean target in order to remove all the binary
736 Changes suggested by Claudio after review new libhildon1-examples package
738 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
741 * src/hildon-touch-selector.c: Ditto.
743 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
745 * debian/control: Added new package libhildon1-examples, in order to pack
746 the current hildon examples as documentation
747 * debian/rules: Not to compress .c files, modify some includes on the
748 examples (as normally are compiled locally, but when installed it will
749 require to include the installed libhildon1 library), and rename
751 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
752 install all the example files on the new example package
753 * examples/Makefile.static: Added static makefile that can be used to
754 compile the examples, once installed the new example package
755 * examples: Most of the examples were modified in order to grant that
756 all use only '#include "hildon.h"', in order to be easy to prepare
757 it on the example package
759 2008-10-23 Alberto Garcia <agarcia@igalia.com>
762 * debian/libhildon1-dev.install
763 * debian/libhildon1-doc.install:
764 Move all gtk-doc files to a separate libhildon1-doc package.
766 2008-10-23 Daniel Borgmann <danielb@openismus.com>
768 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
770 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
772 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
774 * debian/rules: Fixed a error in order to avoid unnecessary calls
775 to autogen.sh on package building
777 2008-10-22 Alberto Garcia <agarcia@igalia.com>
779 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
781 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
783 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
786 2008-10-21 Alberto Garcia <agarcia@igalia.com>
788 * src/hildon-picker-button.c
789 (hildon_picker_button_finalize):
790 Free priv->done_button_text
792 * src/hildon-time-button.c
793 (hildon_time_button_set_time)
794 * src/hildon-picker-button.c
795 (hildon_picker_button_clicked)
796 (hildon_picker_button_selector_selection_changed)
797 (hildon_picker_button_set_selector)
798 * src/hildon-date-button.c
799 (hildon_date_button_set_date):
800 Free strings returned by hildon_touch_selector_get_current_text()
802 * src/hildon-button.c (hildon_button_construct_child):
803 Fix leaks in priv->image and priv->label_box
805 Fixes: NB#90535 (Memory leak in picker button)
807 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
809 * src/hildon-button.c: (hildon_button_get_property): Do not access
810 private elements directly, use getters instead.
812 2008-10-20 Alberto Garcia <agarcia@igalia.com>
814 * src/hildon-app-menu-private.h
815 * src/hildon-app-menu.c
816 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
817 Store the menu's parent window.
819 * src/hildon-stackable-window.c
820 (hildon_stackable_window_toggle_menu)
821 (hildon_stackable_window_finalize):
822 Set the menu's parent window when the menu is shown, unset it when
825 * src/hildon-app-menu.c
826 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
827 (hildon_app_menu_class_init):
828 Send unhandled keyboard accelerators to the parent window.
830 2008-10-20 Alberto Garcia <agarcia@igalia.com>
832 * src/hildon-stackable-window.c
833 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
835 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
837 * configure.ac: post release version bump
839 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
842 * configure.ac: Bump version
843 * debian/changelog: Updates
844 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
847 2008-10-20 Alberto Garcia <agarcia@igalia.com>
849 Patch contributed by Daniel Borgmann (danielb@openismus.com)
852 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
853 GtkMenu with Hildon style.
855 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
857 * src/hildon-picker-button.c:
858 (hildon_picker_button_set_done_button_text): Set the dialog's
859 done button text here as well.
861 Fixes: NB#90232 (Picker button does not set the label on done button
864 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
866 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
869 2008-10-16 Alberto Garcia <agarcia@igalia.com>
871 * src/hildon-app-menu.c (hildon_app_menu_insert)
872 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
873 the HildonAppMenu to be activatable using keyboard accelerators
874 when the menu is not being shown.
876 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
878 2008-10-16 Alberto Garcia <agarcia@igalia.com>
880 * src/hildon-stackable-window.c
881 (hildon_stackable_window_show):
882 Don't hide old windows automatically when new windows are shown:
883 this is now a task for the window manager.
884 (hildon_stackable_window_class_init)
885 (hildon_stackable_window_hide):
886 Remove windows from the stack everytime they're hidden.
887 (hildon_stackable_window_realize):
888 Don't change the _NET_WM_WINDOW_TYPE property. Use
889 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
890 it as a stackable window.
892 * src/hildon-program.c
893 (hildon_program_pop_window_stack):
894 Just hide the window to remove it from the stack.
895 (hildon_program_go_to_root_window):
896 Don't call gtk_widget_show(), this is now a task for the window
899 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
901 2008-10-15 Alberto Garcia <agarcia@igalia.com>
903 * src/hildon-button.c
904 (hildon_button_construct_child):
905 Don't pack anything in the button until text or image are
906 set. This allows adding a custom child after creating the button
907 with hildon_button_new().
908 (hildon_button_finalize, hildon_button_class_init)
909 (hildon_button_init, hildon_button_set_arrangement): Destroy the
910 alignment and the label box even when they're not packed in the
913 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
915 * src/hildon-touch-selector.h:
916 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
917 currently the type definition was using GTK_TYPE_VBOX
918 * src/hildon-touch-selector.c:
919 Added some implementation notes in order to clarify that any other widget
920 added without the column related API will not be included on the
921 selection logic, and how the widget is freed, as some people ask about
923 (hildon_touch_selector_remove): Reimplemented in order to free properly
924 the column related data when you remove the private hbox.
925 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
926 to get a proper HildonTouchSelectorColumn documentation
928 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-touch-selector-entry.c:
931 (hildon_touch_selector_entry_print_func): Return NULL if there is no
932 text in the GtkEntry and there is no item selected. Fixes a
935 2008-10-13 Alberto Garcia <agarcia@igalia.com>
937 * src/hildon-app-menu-private.h
938 * src/hildon-app-menu.[ch]
939 * src/hildon-button.[ch]
940 * src/hildon-check-button.[ch]
941 * src/hildon-entry.[ch]
942 * src/hildon-pannable-area.[ch]
943 * src/hildon-text-view.[ch]:
944 Added private field to the object's structure.
946 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
948 * configure.ac: post-release version bump
950 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: pre-release version bump
956 * debian/changelog: updates.
958 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
960 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
961 Disconnect the handler for HildonTouchSelector::changed.
963 (hildon_picker_button_selector_selection_changed): Update the button
964 value if the selection change was not triggered by the
967 (hildon_picker_button_set_selector): connect to
968 HildonTouchSelector::changed.
970 Fixes: NB#89650 (Picker button is not updated, when selection in
971 selector has changed)
973 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
975 * src/hildon-picker-dialog.c
976 (hildon_picker_dialog_realize): Removed as not required
977 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
978 * src/hildon-picker-button.c
979 (_current_selector_empty): New function, checks if the selector is empty
980 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
981 if the current selector is empty, in order to avoid to show the dialog
982 close the dialog in this case (and shows a g_warning).
984 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
986 2008-10-09 Alejandro G. Castro <alex@igalia.com>
988 * src/hildon-pannable-area.c,
989 (hildon_pannable_area_scroll): Added clause to stop movement when
990 the child of pannable is smaller than one page.
991 (hildon_pannable_area_scroll_to): Added conditions to avoid
992 starting the scrolling movement if the child is smaller than one
993 page, the complete child is in the screen, we do not have to move.
995 Fixes: NB#89632 (Picker button selection doesn't change on first click)
997 2008-10-09 Alberto Garcia <agarcia@igalia.com>
999 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1000 this is managed automatically by the widget when the size of the
1003 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-picker-button.c
1006 (hildon_picker_button_set_done_button_text): Make a copy of the
1007 text, and free the previous value.
1009 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1011 * src/hildon-touch-selector-entry.c:
1012 (hildon_touch_selector_entry_print_func): Return the selected row's
1013 text if the entry is empty.
1015 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1018 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1020 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1022 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-check-button.h
1026 * src/hildon-check-button.c
1027 * examples/hildon-check-button-example.c:
1028 HildonCheckButton is now a new widget. 'toggled' signal added.
1030 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-program-private.h
1033 * src/hildon-program.c (hildon_program_init)
1034 (hildon_program_finalize): Removed unused variables group_leader
1035 and name from HildonProgramPrivate.
1037 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-check-button.c (hildon_check_button_set_active)
1040 (hildon_check_button_get_active, hildon_check_button_new): Use
1041 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1043 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1045 * src/hildon-touch-selector.h
1046 (hildon_touch_selector_set_column_attributes): added deprecation
1047 guard HILDON_DISABLE_DEPRECATED
1048 * src/hildon-time-selector.c
1049 (hildon_time_selector_set_time)
1050 (hildon_time_selector_get_time): Fixed a typo on documentation
1051 * src/hildon-touch-selector.c: update HildonTouchSelector and
1052 HildonTouchSelectorColumn documentation
1053 * src/hildon-touch-selector-entry.c: update "text-column" property
1055 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1056 to be added to the general documentation.
1058 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1060 * examples/hildon-pannable-area-example-4.c,
1062 * examples/hildon-pannable-area-example.c,
1063 (main): Modified the code in order to use the container add, with
1064 viewport treeviews could have problems if they are really big.
1066 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1068 * src/hildon-weekday-picker.c,
1069 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1070 the agreement regarding deprecation in the library.
1072 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1074 * examples/hildon-picker-button-multicolumn-example.c:
1075 (main): Use custom "done" button text.
1077 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1078 (hildon_picker_button_set_property),
1079 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1080 (hildon_picker_button_init),
1081 (+hildon_picker_button_get_done_button_text),
1082 (+hildon_picker_button_set_done_button_text): New methods to customize
1083 the "done" button label in the launched HildonPickerDialog. Also,
1086 * src/hildon-picker-button.h: add the public API.
1088 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1090 * src/hildon-date-selector.h:
1091 * src/hildon-picker-dialog.h:
1092 * src/hildon-time-selector.h:
1093 * src/hildon-touch-selector-column.h:
1094 * src/hildon-touch-selector.h:
1096 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1097 declarations. Fixes gtk-doc warnings.
1099 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1101 * src/hildon-picker-dialog.h
1102 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1103 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1105 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1106 long text is set as label for done button)
1108 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1110 * src/hildon-dialog.c (hildon_dialog_add_button):
1111 Set fixed width to all buttons in the HildonDialog.
1113 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1115 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1117 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1118 Set widget name using class name plus "-finger" or "-thumb".
1120 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1123 'clicked' when the state of the button is manually changed.
1125 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-app-menu.c (hildon_app_menu_realize)
1128 (hildon_app_menu_unrealize, hildon_app_menu_init)
1129 (hildon_app_menu_class_init, item_visibility_changed):
1130 Change the menu layout when the size of the screen changes.
1131 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1132 Show warning only when changing the number of colums using the
1135 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1137 * debian/compat: Set to 5
1138 * debian/control: Update dependencies.
1139 * debian/libhildon1-dbg.install: Remove.
1140 * debian/libhildon1-dev.install: Update according to cdbs paths.
1141 * debian/libhildon1.install: Update according to cdbs paths.
1142 * debian/rules: Switch to cdbs.
1144 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1146 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1147 'item' variable renamed to 'filter'
1149 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1151 * src/hildon-app-menu.c (hildon_app_menu_insert)
1152 (hildon_app_menu_add_filter, remove_item_from_list)
1153 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1154 Don't leak hidden items when the menu is destroyed.
1156 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-app-menu.c (hildon_app_menu_insert)
1159 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1160 (hildon_app_menu_set_columns, item_visibility_changed)
1161 (filter_visibility_changed, hildon_app_menu_repack_filters)
1162 (hildon_app_menu_repack_items):
1163 Repack items and filters separately.
1165 Don't repack all items, change only the ones that are needed to
1168 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1170 * src/Makefile.am: added hildon-touch-selector-column.h
1172 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1174 * src/hildon-touch-selector.c: added the property "text-column" to the
1175 class HildonTouchSelectorColumn, and related get/set functions
1176 (_default_printf_func): updated to use "text-column" property
1177 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1178 "text-column" in his documentation, as this is now included on
1179 HildonTouchSelectorColumn. The get/set_property can still be used,
1180 working as a wrapper to the concrete column "text-column" property
1181 (_text_column_modified): callback added in order to handle the signal
1182 "notify::text-column" of the concrete HildonTouchSelectorColumn
1183 (hildon_touch_selector_entry_get_text_column)
1184 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1185 modified in order to use the HildonTouchSelectorColumn "text-column"
1187 * src/hildon-time-selector.c:
1188 * src/hildon-date-selector.c:
1189 * examples/hildon-touch-selector-example.c
1190 * examples/hildon-touch-selector-multi-cells-example.c
1191 * examples/hildon-picker-button-multicolumn-example.c
1192 Set the right value to "text-column" property on the creation of a new
1193 column using hildon_touch_selector_append_column()
1195 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1197 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-app-menu.c
1200 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1201 updating the layout of the menu, don't create all widgets again,
1202 just repack the items in their new places.
1204 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1206 * src/hildon-time-selector.c
1207 (hildon_time_selector_get_time)
1208 (hildon_time_selector_set_time)
1209 Added documentation of these public methods
1211 * src/hildon-date-button.h
1212 * src/hildon-touch-selector-column.h
1213 * src/hildon-time-button.h
1214 * src/hildon-picker-dialog.h
1215 * src/hildon-time-selector.h
1216 * src/hildon-picker-button.h
1217 * src/hildon-touch-selector.h
1218 * src/hildon-time-picker.h
1219 * src/hildon-date-selector.h
1220 * src/hildon-touch-selector-entry.h
1221 Modified in order to use hildon-widgets code style
1223 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1225 Added deprecated support to the compilation process using
1226 HILDON_DISABLE_DEPRECATED
1228 * configure.ac: Added the --disable-deprecated to the configure
1231 * src/hildon-weekday-picker.c:
1232 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1233 to use the deprecated support. We will update the other deprecated
1234 widgets status in a new patch.
1236 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1238 * configure.ac: Fixed typo with fatal warnings support, the
1239 variable name was not correct
1241 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1243 * src/hildon-app-menu.c
1244 * src/hildon-program.c: Update documentation.
1246 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1248 * configure.ac: Post-release version bump.
1250 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1255 * configure.ac: Pre-release version bump.
1256 * debian/changelog: Updates.
1258 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1260 * NEWS: Update news for previous releases.
1262 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1264 * examples/hildon-touch-selector-multi-cells-example.c:
1265 (create_selector): Update the example to use
1266 hildon_touch_selector_append_column() with a NULL renderer and set
1267 the renderers later.
1268 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1269 passed a NULL renderer. This is documented behavior now.
1271 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1272 This must be used if the developer wants full control on the layout of
1273 the renderers to be added to the column.
1275 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1277 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1279 * src/hildon-touch-selector.c: Documentation fixes.
1281 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-wizard-dialog-private.h: Remove image and box.
1284 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1285 (hildon_wizard_dialog_set_property), (response): Completely remove
1286 image/icon support, and the containers required for the layout.
1288 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1290 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-app-menu.c: Updated documentation.
1294 * src/hildon-stackable-window.c
1295 (hildon_stackable_window_set_main_menu): Unref the old menu after
1296 ref'ing the new one.
1298 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1300 * src/hildon-stackable-window.c
1301 (hildon_stackable_window_set_main_menu): Unref the previous menu
1302 instead of destroying it.
1304 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1305 floating reference and set has_user_ref_count to FALSE to make
1306 HildonAppMenu act like a normal ref-counted widget and not a
1309 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1312 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1314 * src/hildon-touch-selector-column.h: new file
1315 * src/hildon-touch-selector.h
1316 * src/hildon-touch-selector.c
1317 Implemented GtkCellLayout interface, in order to allow to configure
1318 the cell layout on each individual selector column
1319 (hildon_touch_selector_set_column_attributes): marked as deprecated
1320 * examples/hildon-touch-selector-multi-cells-example.c
1321 Example of how to use the GtkCellLayout interface on the selector
1323 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1325 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-app-menu.h
1328 * src/hildon-app-menu.c
1329 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1330 (hildon_app_menu_append, hildon_app_menu_prepend):
1331 New methods to prepend, insert and move items in the menu.
1333 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1335 * src/hildon-wizard-dialog.c:
1337 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1339 (create_title): Update logical IDs and related code.
1340 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1342 * src/hildon-wizard-dialog.h: Note that
1343 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1344 point, as it is not used anymore.
1346 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1348 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1350 * src/hildon-note.c:
1351 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1352 shown. Do not display an icon in confirmation notes nor information
1354 (hildon_note_set_button_text): Update logical ID for cancel button.
1356 Fixes: NB#88850 (Update HildonNote button strings + signals)
1358 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-stackable-window.c
1361 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1363 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1365 * src/hildon-app-menu-private.h
1366 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1367 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1368 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1369 temporary property 'columns' to change the number of columns.
1371 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1373 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1375 * examples/hildon-note-example.c: (on_information_clicked),
1376 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1377 debugging information.
1378 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1380 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1381 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1382 in order to close: this will be handled by the WM from now on.
1384 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1386 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1388 * src/hildon-app-menu-private.h
1389 * src/hildon-app-menu.c
1390 (hildon_app_menu_append, hildon_app_menu_add_filter)
1391 (button_visibility_changed, hildon_app_menu_apply_style)
1392 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1393 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1394 layout everytime a button (item or filter) is shown or hidden.
1396 * src/hildon-stackable-window.c
1397 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1400 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1402 * src/hildon-touch-selector.c:
1403 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1404 that the treeview inside the touch selector is in fremantle hildon mode
1405 * examples/hildon-date-button-example.c
1406 * examples/hildon-picker-button-multicolumn-example.c
1407 * examples/hildon-touch-selector-entry-example.c
1408 * examples/hildon-touch-selector-example.c
1409 * examples/hildon-time-button-example.c
1410 * examples/hildon-picker-button-example.c:
1411 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1413 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1415 * examples/hildon-text-view-example.c: (main): Remove the
1416 gtkrc bits, now handled by the theme.
1418 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1423 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1425 * po/Makefile.am: Install properly the mo files.
1426 * po/en_GB.po: Update translation, to ease testing purposes.
1428 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1430 * examples/hildon-picker-button-example.c: (main): Select an item
1431 in the selector before setting it to the button.
1433 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1435 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1436 Update button's value if the selector has an item active.
1438 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1439 'value' with the selector)
1441 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1444 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1445 (hildon_picker_button_class_init): Plug the finalize method.
1446 (hildon_picker_button_set_selector): If there's a previously set
1447 selector, unref'it before setting a new one.
1449 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1450 HildonTouchSelector)
1452 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-touch-selector-entry.c:
1455 (hildon_touch_selector_entry_changed): Check if there is no text
1456 selected before setting the entry text.
1459 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1461 * src/hildon-touch-selector.h
1462 * src/hildon-touch-selector.c
1463 (hildon_touch_selector_get_active)
1464 (hildon_touch_selector_set_active): New methods to set/get the
1465 index of the selected item.
1467 * src/hildon-picker-button.h
1468 * src/hildon-picker-button.c
1469 (hildon_picker_button_get_active)
1470 (hildon_picker_button_set_active): New methods to set/get the
1471 index of the selected item.
1473 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1475 * configure.ac: post-release version bump.
1477 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1481 * configure.ac: Pre-release version bump.
1482 * debian/changelog: Updates.
1483 * debian/control: Add myself as maintainer and depend on l10n
1486 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-window.c
1489 (hildon_window_set_main_menu)
1490 * src/hildon-stackable-window.c
1491 (hildon_stackable_window_set_main_menu):
1492 Updated documentation.
1494 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1497 Don't free selector->priv manually.
1500 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1503 (hildon_gtk_window_set_progress_indicator):
1504 * src/hildon-gtk.h: Added the new API
1505 hildon_gtk_window_set_progress_indicator, it changes the state of
1506 the window progress hint.
1508 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-button.c
1511 * src/hildon-stackable-window.c: Minor documentation updates.
1513 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1515 * src/hildon-stackable-window.c: Updated documentation.
1517 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-defines.h: Update margins definitions
1520 to the Fremantle sizes.
1523 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1525 * src/hildon-touch-selector.c,
1526 (_hildon_touch_selector_set_model): Cleaning the code after
1527 review, removed g_print and #if 0 from the code.
1529 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-edit-toolbar.c: Update documentation.
1533 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-check-button.h
1536 * src/hildon-check-button.c
1537 (hildon_check_button_set_label, hildon_check_button_get_label)
1538 * examples/hildon-check-button-example.c
1539 (button_clicked_cb):
1540 Removed deprecated methods.
1542 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-text-view.c:
1545 Add sample code to the documentation.
1547 * src/hildon-entry.h
1548 * src/hildon-text-view.h:
1549 Minor cosmetic changes.
1551 * src/hildon-entry.c:
1552 Add sample code to the documentation.
1553 (hildon_entry_init, hildon_entry_refresh_contents):
1554 Don't allow NULL values in the placeholder.
1556 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1558 * doc/hildon-docs.sgml
1560 * examples/Makefile.am
1561 * examples/hildon-text-view-example.c
1563 * src/hildon-text-view.c
1564 * src/hildon-text-view.h
1566 New HildonTextView widget, with example.
1568 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1570 * po/POTFILES.in: Add missing files with translatable strings.
1571 Partially fixes NB#88287.
1573 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1575 * examples/hildon-pannable-area-example-2.c: (main): No need to
1576 set the cellrenderer height inside hildon touch lists, the theme does
1579 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1581 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1582 they are integrated in the theme.
1584 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1586 * examples/hildon-entry-example.c: Update the example adding
1587 widgets to modify the text and the placeholder of the HildonEntry.
1589 * src/hildon-entry.c: Show the placeholder everytime the widget
1590 is empty and loses the focus.
1592 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1594 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1596 * src/hildon-pannable-area.c,
1597 (hildon_pannable_area_size_request): Fixed bug in height
1598 requisition, avoid increasing size and add border twice.
1600 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1602 * configure.ac: postrelease version bump.
1604 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1608 * configure.ac: Prerelease version bump.
1609 * debian/changelog: update.
1610 * debian/rules: make -dbg package contain useful debugging symbols.
1612 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1614 * src/hildon-dialog.h
1615 * src/hildon-dialog.c
1616 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1617 New methods to add buttons with finger size.
1618 (hildon_dialog_new_with_buttons):
1619 Create buttons with finger size.
1621 * examples/hildon-dialog-example.c (main): Use HildonDialog
1622 methods to add buttons.
1624 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1626 * src/hildon-entry.c: Updated HildonButton documentation.
1628 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1631 button value label with (FALSE, FALSE) to prevent NB#88126 from
1634 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1636 * examples/hildon-pannable-area-example.c,
1637 (main): Removed examples panning a vbox inside a pannable
1638 area. Check bug NB#87965
1640 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1642 Patch contributed by Kris Rietveld (kris@imendio.com)
1644 * src/hildon-pannable-area.c,
1645 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1646 get_size and get_position, this saves an X server roundtrip.
1648 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1650 * doc/hildon-docs.sgml
1652 * examples/Makefile.am
1653 * examples/hildon-entry-example.c
1655 * src/hildon-entry.c
1656 * src/hildon-entry.h
1658 New HildonEntry widget, with example.
1660 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1662 * src/hildon-button.c (hildon_button_construct_child): Pack the
1663 image with expand == fill == FALSE. This is a workaround for a bug
1666 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1668 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1669 labels for the text column, to make it more look more dynamic.
1671 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1673 * src/hildon-time-selector.c
1674 Define gettext auxiliar macro N_
1675 (_create_minutes_model)
1676 (_create_hours_model)
1677 (_create_ampm_model): use of strftime in order to fill the model
1678 * src/hildon-date-selector.c
1679 (hildon_date_selector_finalize):
1680 (_locales_init): remove the logic related to get the name of the months
1681 using nl_langinfo, as it is not required anymore
1683 (_create_year_model)
1684 (_create_month_model)
1685 (_update_day_model): use of strftime in order to fill the model properly
1688 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-button.h
1691 * src/hildon-button.c (hildon_button_get_image): New method to
1694 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1696 * src/hildon-touch-selector.c:
1697 (hildon_touch_selector_remove_column): Remove from the correct parent
1698 and also remove the list element and free it.
1701 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1703 * src/hildon-time-selector.c
1704 (_create_hours_model): change the range on 12h ampm format in order to use
1705 a 12-11 range instead of previous 01-12 range
1706 (hildon_time_selector_set_time): change the way to select the current time
1707 on 12h ampm format, due the change on the range
1708 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1711 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1713 * src/hildon-touch-selector.c
1714 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1715 in order to allow use this function on multiple row selection mode if
1716 the column is different that the first one
1719 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1721 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1722 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1724 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1726 * src/hildon-date-selector.h: clean some comments, now on the .c
1727 * src/hildon-date-selector.c
1728 (hildon_date_selector_select_month): first implementation
1729 (hildon_date_selector_select_day): added documentation, reimplemented
1730 using hildon_date_selector_select_current_date to avoid repeat code
1733 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1735 Reviewed interaction logic based on device experiences, refactored
1738 * src/hildon-pannable-area.c,
1739 (hildon_pannable_area_class_init): Updated default vmax speed.
1740 (hildon_pannable_area_calculate_velocity): Added this function, it
1741 avoids duplicate valocity calculation. Adjusted calculation to
1742 avoid problems with zero dist events.
1744 (hildon_pannable_area_motion_notify_cb): Now we use the
1745 calculate_velocity function.
1747 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1749 * src/hildon-date-selector.c
1750 (hildon_date_selector_select_current_date): fix the day range check
1751 as it failed using the last day of the current month
1754 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1756 * src/hildon-touch-selector.c
1757 (hildon_touch_selector_get_num_columns): added a parameter validation
1760 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1762 * examples/Makefile.am
1763 * examples/hildon-edit-toolbar-example.c: Example of the
1764 HildonEditToolbar widget.
1766 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1768 * configure.ac: postrelease version bump.
1770 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1774 * configure.ac: prerelease version bump.
1775 * debian/changelog: update.
1777 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1779 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1780 renderer to display stock icons in the touch list. Also, set the sizes
1781 to the recommended in the style guide.
1783 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1784 * src/hildon-touch-selector.h
1785 (hildon_touch_selector_set_active_iter): renamed, now is
1786 hildon_touch_selector_select_iter
1787 (hildon_touch_selector_get_active_iter): renamed, now is
1788 hildon_touch_selector_get_selected
1789 (hildon_touch_selector_unselect_iter): added
1790 * src/hildon-touch-selector.c
1791 Update after API modification (methods renamed)
1792 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1793 order to avoid problems selecting multiple elements on the column
1794 (hildon_touch_selector_unselect_iter): added the implementation
1795 * src/hildon-time-selector.c
1796 * src/hildon-date-selector.c
1797 * src/hildon-touch-selector-entry.c
1798 Update methods calls after hildon-touch-selector.h API modification (methods
1801 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-stackable-window.c
1804 (hildon_stackable_window_finalize): Call the parent class's finalize.
1806 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1808 * examples/hildon-touch-selector-example.c: (create_selector): Use
1809 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1812 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1814 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1815 set a cell background color, to respect theming.
1817 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1819 * doc/hildon-docs.sgml
1822 * src/hildon-edit-toolbar.c
1823 * src/hildon-edit-toolbar.h
1824 * src/hildon.h: New HildonEditToolbar widget.
1826 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1828 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1831 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1832 * src/hildon-touch-selector.c
1833 (_create_new_column): use g_object_set instead of two g_object_set_property
1835 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1836 * src/hildon-touch-selector.c
1837 (_create_new_column): use of hildon_gtk_tree_view_new to create
1838 the treeview, instead of use directly g_object_new
1839 (_create_new_column): update the property name "vindicator-mode" for the
1840 new one "vscrollbar-policy"
1841 * examples/hildon-date-button-example.c
1842 * examples/hildon-picker-button-multicolumn-example.c
1843 * examples/hildon-touch-selector-entry-example.c
1844 * examples/hildon-touch-selector-example.c
1845 * examples/hildon-time-button-example.c
1846 * examples/hildon-picker-button-example.c
1847 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1848 to all the treeviews inside a pannable area.
1850 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-button.h
1853 * src/hildon-button.c (hildon_button_init)
1854 (hildon_button_set_arrangement, hildon_button_set_alignment)
1855 (hildon_button_set_title_alignment)
1856 (hildon_button_set_value_alignment)
1857 (hildon_button_set_image_alignment)
1858 (hildon_button_construct_child): New methods to set the alignment
1859 of the individual components of the button (title, value,
1860 image). Also, new method to alter the xscale and yscale properties
1861 of the GtkAlignment inside the button, so more complex layouts can
1864 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-button.c (hildon_button_style_set)
1867 (hildon_button_class_init, hildon_button_set_arrangement)
1868 (hildon_button_construct_child): Apply style properties
1869 correctly. Use the 'image-spacing' style property too.
1871 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1874 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1877 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_size_request): Fixed problem with
1881 pannable-area size_request.
1883 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1885 Added management for the grab-focus to a child widget, like a
1886 range, we need to fade out the scrollbar when releasing.
1888 * src/hildon-pannable-area.c,
1889 (hildon_pannable_area_init): Connected the grab-focus signal to
1891 (hildon_pannable_area_grab_notify): Added this function in order
1892 to manage the situation when the grab-focus ends. We have to
1893 fade-out the scrollbar.
1895 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-app-menu.c: Minor documentation update.
1899 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1901 * src/hildon-app-menu.c
1902 * examples/hildon-app-menu-example.c (create_menu): Update
1903 examples and documentation to explain how to connect callbacks.
1905 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1907 * examples/hildon-button-example.c
1908 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1909 hildon_stackable_window_new instead of gtk_window_new
1911 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1913 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1914 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1915 (hildon_pannable_area_set_property),
1916 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1917 (hildon_pannable_area_unrealize),
1918 (hildon_pannable_area_size_request),
1919 (hildon_pannable_area_size_allocate),
1920 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1921 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1922 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1923 (hildon_pannable_area_initial_effect),
1924 (hildon_pannable_area_redraw),
1925 (hildon_pannable_area_scroll_indicator_fade),
1926 (hildon_pannable_area_expose_event),
1927 (hildon_pannable_area_get_topmost), (synth_crossing),
1928 (hildon_pannable_area_button_press_cb),
1929 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1930 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1931 (hildon_pannable_area_motion_notify_cb),
1932 (hildon_pannable_area_button_release_cb),
1933 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1934 (hildon_pannable_area_remove),
1935 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1936 chage the code layout to a more GtkWidget like. Review the use of
1939 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1941 * examples/hildon-pannable-area-example-4.c,
1942 (main): Modified the name of the hindicator_mode to
1945 * src/hildon-pannable-area.c,
1946 (hildon_pannable_area_class_init),
1947 (hildon_pannable_area_motion_notify_cb),
1948 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1949 we have reduced the amount of signals and managed reviewed its
1950 rationale. Changed the default decelerate value.
1952 (hildon_pannable_area_add),
1953 (hildon_pannable_area_redraw): Refactored functions.
1955 (hildon_pannable_area_init),
1956 (hildon_pannable_area_get_property),
1957 (hildon_pannable_area_set_property):
1958 (hildon_pannable_draw_vscroll),
1959 (hildon_pannable_draw_hscroll),
1960 (hildon_pannable_area_initial_effect),
1961 (hildon_pannable_area_expose_event),
1962 (hildon_pannable_area_scroll),
1963 (hildon_pannable_area_button_press_cb),
1964 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1965 and vindicator_mode with hscrollbar_policy and
1966 vscrollbar_policy. Replaced hscroll and vscroll with
1967 hscroll_visible and vscroll_visible.
1969 (hildon_pannable_area_refresh): Refactor the function, remove
1970 variables and check the calls to this function, added resize
1971 conditions in case the children change their layout.
1973 (hildon_pannable_area_size_request): Added more detailed
1974 size_request calculation.
1977 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1979 * src/hildon-color-chooser.c
1980 (init_borders): use the correct gtk_border_free instead of g_free, to
1981 avoid a crash when this widget is used (ie: the three color selection
1984 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1986 * src/hildon-check-button.c,
1987 (hildon_check_button_set_active): Fixed problem when setting the
1988 active value, the widget was not redrawn.
1990 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1992 * src/hildon-pannable-area.c,
1993 (hildon_pannable_area_refresh),
1994 (hildon_pannable_area_scroll),
1995 (hildon_pannable_area_motion_notify_cb): Small code style change.
1997 (hildon_pannable_area_class_init): Default initial_hint set to
1998 FALSE, it is not in the specs.
2000 (hildon_pannable_area_initial_effect),
2001 (hildon_pannable_area_expose_event),
2002 (hildon_pannable_area_map),
2003 (hildon_pannable_area_init): Moved the launching point of the
2004 initial effect, it was in map but the sizes where not correct in
2005 that method so we do not know if we have the reproduce it. Now it
2006 is placed in the expose_event method and uses a variable to
2007 reproduce it just once.
2009 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2011 * src/hildon-pannable-area.c,
2012 (hildon_pannable_draw_vscroll),
2013 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2014 position allowed for the scrollbars.
2016 (hildon_pannable_area_size_allocate): Small style change.
2018 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2020 * src/hildon-pannable-area.c,
2021 (hildon_pannable_area_scroll_indicator_fade),
2022 (hildon_pannable_area_button_press_cb),
2023 (hildon_pannable_area_button_release_cb),
2024 (hildon_pannable_area_scroll_cb),
2025 (hildon_pannable_area_expose_event),
2026 (hildon_pannable_area_init): Added the define parameter
2027 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2028 and refactor the fade variable.
2030 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2032 * src/hildon-pannable-area.c,
2033 (hildon_pannable_area_redraw),
2034 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2035 lines, we were reimplemeting the redraw code.
2037 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2039 * src/hildon-pannable-area.c,
2040 (hildon_pannable_area_scroll_cb),
2041 (hildon_pannable_area_realize),
2042 (hildon_pannable_area_class_init): Added scroll_event management
2043 for pannable area, now we can scroll the usual desktop method.
2045 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2046 initialization of the parameters should depend on idle_id.
2048 (hildon_pannable_area_init),
2049 (hildon_pannable_area_map): Small code style modifications
2051 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2053 * src/hildon-pannable-area.c
2054 (hildon_pannable_area_button_press_cb),
2055 (hildon_pannable_area_motion_notify_cb),
2056 (hildon_pannable_area_button_release_cb),
2057 (hildon_pannable_area_size_allocate),
2058 (hildon_pannable_area_scroll_to): Improved the timeouts
2059 management, we avoid creating them each time.
2061 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2063 * src/hildon-pannable-area.c:
2064 (hildon_pannable_area_refresh),
2065 (hildon_pannable_area_motion_notify_cb),
2066 (hildon_pannable_area_class_init):
2067 * src/hildon-pannable-area.h:
2068 * src/hildon-touch-selector.c
2069 (_create_new_column):
2070 * examples/hildon-pannable-area-example-4.c:
2071 (horizontal_movement),
2072 (vertical_movement),
2074 Replaced the names of enums in the HildonPannableArea:
2075 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2076 HILDON_MOVEMENT_MODE_*
2077 - HILDON_PANNABLE_AREA_MOV_* ->
2079 - Removed HildonPannableAreaIndicatorMode, now we
2082 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2084 * examples/hildon-pannable-area-touch-grid-example.c
2085 * examples/hildon-pannable-area-touch-list-example.c: Fix
2086 compilation warnings.
2088 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-gtk.c (hildon_gtk_button_new)
2091 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2092 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2093 images overriding the value of the "gtk-button-images" setting.
2095 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-check-button.c (hildon_check_button_new):
2098 Instead of using a custom container, display the label and the
2099 checkbox using the standard GtkButton API.
2101 * examples/hildon-check-button-example.c (main): Don't use
2102 hildon_check_button_set_label() anymore
2104 * src/hildon-check-button.h
2105 * src/hildon-check-button.c
2106 (hildon_check_button_set_label, hildon_check_button_get_label):
2107 Set as deprecated, now we're using gtk_button_{get,set}_label()
2109 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c,
2112 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2113 GtkTreeview first line we detected it after the inclusion of the
2114 GtkWindowImpl in gtk+. We now check if the window is visible, not
2115 just if the pointer is over the window.
2116 (hildon_pannable_axis_scroll),
2117 (hildon_pannable_area_expose_event): Small style changes.
2119 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-button.c: Update documentation.
2123 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2125 * examples/hildon-button-example.c: Add a switch to show images in
2128 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2130 * doc/hildon-docs.sgml: Some docs reorganization.
2132 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2134 * examples/hildon-pannable-area-touch-list-example.c
2136 * examples/hildon-pannable-area-touch-grid-example.c
2137 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2138 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2139 Fix memory leak when setting the tree model.
2141 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2145 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2147 * doc/hildon.types: Remove duplicated hildon_window_get_type
2148 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2149 documentation comment.
2151 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2153 * doc/Makefile.am: Complete list of private headers.
2155 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2157 * doc/hildon-docs.sgml
2158 * src/hildon-app-menu.c
2159 * src/hildon-bread-crumb.c
2160 * src/hildon-button.c
2162 * src/hildon-program.c
2163 * src/hildon-stackable-window.c
2164 * src/hildon-window.c: Lots of documentation updates.
2166 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2168 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2170 * configure.ac: Require Gtk+ 2.12.9 at least
2172 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2174 * src/hildon-pannable-area.c
2175 (hildon_pannable_area_scroll_indicator_fade),
2176 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2177 to protect the return of this timeout callbacks, avoiding deadlocks.
2179 2008-08-12 Christian Dywan <christian@imendio.com>
2182 * src/hildon-*.h: Ensure a consistent include order,
2183 include <gtk/gtk.h> instead of particular files and
2184 only include the topmost header in the gtk stack. See NB #39857
2186 2008-08-12 Christian Dywan <christian@imendio.com>
2188 * src/hildon-picker-dialog.c
2189 * src/hildon-touch-selector.c: Fix warnings about unused and
2190 uninitialized variables.
2192 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2194 * examples/Makefile.am
2195 * examples/hildon-check-button-example.c: Example of the hildon
2198 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-window.h
2201 * src/hildon-window.c (hildon_window_class_init)
2202 (hildon_window_unset_program): Don't make
2203 hildon_window_unset_program a virtual function anymore.
2205 * src/hildon-stackable-window.c: Update documentation
2207 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2210 * doc/hildon-docs.sgml
2211 * doc/visual_index.xml
2212 * src/hildon-defines.c
2214 * src/hildon-helper.c
2215 * src/hildon-range-editor.c: Lots of documentation fixes.
2217 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2219 * examples/hildon-picker-button-multicolumn-example.c
2220 (create_touch_selector): Fix compilation warning.
2222 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2225 (hildon_pannable_area_button_release_cb)
2226 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2228 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2233 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2235 * src/hildon-bread-crumb-trail.h
2236 * src/hildon-date-editor.c
2237 * src/hildon-date-selector.c
2238 * src/hildon-pannable-area.c
2239 * src/hildon-picker-dialog.c
2240 * src/hildon-time-selector.c
2241 * src/hildon-touch-selector-entry.c
2242 * src/hildon-touch-selector.c
2243 * src/hildon-touch-selector.h: Misc documentation fixes
2245 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2247 * examples/hildon-date-editor-example.c (main): Updated date
2250 * examples/hildon-note-example.c (on_confirmation_clicked):
2251 Updated confirmation note example.
2253 * src/hildon-date-editor.c
2254 * src/hildon-note.c: Updated sample programs in documentation.
2257 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2259 * src/hildon-date-button.h:
2260 * src/hildon-picker-button.h:
2261 * src/hildon-time-button.c:
2262 * src/hildon-time-button.h:
2264 Some declarations changes to allow gtk-doc to document the widgets
2267 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2269 * src/hildon-date-button.c: Document the widget.
2270 * src/hildon-time-button.c: Document the widget.
2272 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-picker-button.c: Document the widget.
2275 * src/hildon-touch-selector-entry.c: Document the widget.
2277 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2279 * doc/hildon-docs.sgml
2282 * src/hildon-check-button.h
2283 * src/hildon-check-button.c: New functions to create the Hildon
2287 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2289 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2291 * src/hildon-button.h
2292 * src/hildon-button.c
2293 (hildon_button_add_title_size_group)
2294 (hildon_button_add_value_size_group)
2295 (hildon_button_add_image_size_group)
2296 (hildon_button_add_size_groups): New functions to set size groups
2297 for the button labels and image.
2298 (hildon_button_new_full): Removed
2300 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2302 * src/hildon-time-selector.c
2303 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2304 in order to avoid a crash if gconf is not available
2306 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-button.c (hildon_button_set_arrangement)
2309 (hildon_button_construct_child): Don't construct the button child
2310 before setting the arrangement.
2312 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-program-private.h
2315 * src/hildon-program.c
2316 * src/hildon-program.h
2317 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2318 (hildon_program_peek_window_stack)
2319 (hildon_program_pop_window_stack)
2320 (hildon_program_go_to_root_window): HildonProgram now has a
2321 separate list for stackable windows. Functions are provided to
2322 manage that list with a stack-like API.
2324 * src/hildon-stackable-window.c: Stackable window management is
2325 now much simpler with the new HildonProgram API. Windows no
2326 longer need to be manually added to the program, they're
2327 automatically pushed to the top of the stack when shown.
2329 * examples/hildon-stackable-window-example.c: Updated example to
2330 reflect the API changes.
2332 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-touch-selector.c: Comment out unimplemented
2335 hildon_touch_selector_insert_column() to avoid a compile warning.
2337 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2339 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2340 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2341 (hildon_touch_selector_set_column_selection_mode),
2342 (_hildon_touch_selector_set_model),
2343 (hildon_touch_selector_set_model):
2345 Complete review of HildonTouchSelector documentation.
2347 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2349 * doc/hildon-docs.sgml
2353 * src/hildon-gtk.c: Convenience functions for standard Gtk
2354 widgets, used to easily perform frequent operations.
2356 * src/hildon-button-helpers.h
2357 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2359 * src/hildon-helper.h
2360 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2361 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2363 * src/hildon-button.h
2364 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2366 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-button.c (hildon_button_init)
2369 (hildon_button_set_arrangement, hildon_button_construct_child):
2370 Pack the image and the labels inside the same GtkAlignment so
2371 gtk_button_set_alignment() can be used
2373 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-button.h
2376 * src/hildon-button.c
2377 (hildon_button_init, hildon_button_set_image)
2378 (hildon_button_set_image_position)
2379 (hildon_button_construct_child): New functions to add an image to
2382 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-date-button.c
2385 * src/hildon-picker-button.c
2386 * src/hildon-time-button.c
2387 * src/hildon-button.c:
2388 (hildon_button_class_init): "size-flags" renamed to "size"
2389 (hildon_button_set_title): Hide the title label if set to NULL.
2391 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2393 HildonButtonFlags split into HildonButtonArrangement (to set the
2394 button layout) and HildonSizeType (which can be used for any
2397 * src/hildon-button.h
2398 * src/hildon-button.c
2399 (hildon_button_class_init)
2400 (hildon_button_set_arrangement)
2401 (hildon_button_set_property): New "size-flags"
2402 property. "arrangement-flags" renamed to "arrangement".
2403 (hildon_button_new, hildon_button_new_with_text)
2404 (hildon_button_new_full): Constructors updated to reflect type changes.
2406 * src/hildon-helper.h
2407 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2408 to set the size of a widget.
2412 * src/hildon-button-helpers.c
2413 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2415 * src/hildon-date-button.c
2416 * src/hildon-date-button.h
2417 * src/hildon-picker-button.c
2418 * src/hildon-picker-button.h
2419 * src/hildon-time-button.c
2420 * src/hildon-time-button.h: Updated widgets to reflect
2421 HildonButton API changes.
2423 * examples/hildon-button-example.c
2424 * examples/hildon-date-button-example.c
2425 * examples/hildon-picker-button-example.c
2426 * examples/hildon-picker-button-multicolumn-example.c
2427 * examples/hildon-time-button-example.c
2428 * examples/hildon-touch-selector-entry-example.c
2429 * examples/hildon-touch-selector-example.c: Updated examples to
2430 reflect HildonButton API changes.
2432 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2434 * doc/hildon-docs.sgml:
2436 * examples/Makefile.am:
2437 * examples/hildon-touch-selector-entry-example.c:
2439 * src/hildon-touch-selector-entry.c:
2440 * src/hildon-touch-selector-entry.h:
2443 Moved HildonTouchSelectorEntry from sandbox. Added its
2444 documentation and examples.
2446 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-touch-selector.h:
2449 * examples/hildon-picker-button-multicolumn-example.c:
2450 (hildon_touch_selector_append_text_column): Add a gboolean
2451 parameter to determine if text must be centered in the column.
2453 * src/hildon-date-selector.c: (hildon_date_selector_init):
2454 * src/hildon-time-selector.c: (hildon_time_selector_init):
2455 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2456 (create_touch_selector): Update widgets and example to reflect
2459 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-touch-selector.c:
2462 (hildon_touch_selector_set_active_iter): Set also the cursor in
2465 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2467 * doc/hildon-docs.sgml
2470 * src/hildon-toggle-button.c
2471 * src/hildon-toggle-button.h
2472 * src/hildon.h: Removed HildonToggleButton widget, a derived
2473 class is not necessary for this.
2475 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2477 * src/hildon-pannable-area.c,
2478 (hildon_pannable_area_realize),
2479 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2482 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2484 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2485 "done" button the default widget for the dialog.
2487 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-touch-selector.c:
2490 (hildon_touch_selector_class_init),
2491 (hildon_touch_selector_get_property),
2492 (_hildon_touch_selector_set_model),
2493 (_hildon_touch_selector_has_multiple_selection),
2494 (hildon_touch_selector_has_multiple_selection):
2495 Add a "has-multiple-selection" property with a virtual
2496 has_multiple_selection() method to allow derived classes to
2497 override the default value for it. See the method and property
2498 documentation for details.
2500 * src/hildon-touch-selector.h: Add the new API.
2502 * src/hildon-picker-dialog.c: (requires_done_button): Call
2503 hildon_touch_selector_has_multiple_selection() instead of
2504 determining the need for a button itself.
2506 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2509 (_hildon_touch_selector_set_model),
2510 (hildon_touch_selector_set_model): Move working code to
2511 _hildon_touch_selector_set_mode(). Call the class method instead.
2513 * src/hildon-touch-selector.h: Add (*set_model) to
2514 HildonTouchSelectorClass.
2516 Make hildon_touch_selector_set_model() a virtual method, so that
2517 derived classes can extend it and do fancy stuff with the model.
2519 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2521 * configure.ac: Set back the tarname in AC_INIT to hildon.
2523 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2527 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2528 instead of libesd (NB#86876). Volume handling is still an open issue.
2530 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2533 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2535 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2536 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2537 derived class to ease placement of an entry widget in
2538 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2539 end, where the selector columns are packed now.
2541 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-picker-button.c: Removed the simple _text() API.
2544 * src/hildon-picker-button.h: Likewise.
2546 * src/hildon-touch-selector.h:
2547 * src/hildon-touch-selector.c:
2548 (hildon_touch_selector_new_text),
2549 (hildon_touch_selector_append_text),
2550 (hildon_touch_selector_prepend_text),
2551 (hildon_touch_selector_insert_text):
2553 Moved the simple _text() API from HildonPickerButton to
2554 HildonTouchPicker, to provide better escalability and not to tie
2555 that API to HildonPickerButton.
2557 * examples/hildon-picker-button-example.c: (main): Example updated.
2559 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-button.c: Updated documentation.
2563 * examples/hildon-button-example.c: Add the posibility to create
2564 the buttons using horizontal layout for title and value.
2566 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-app-menu-private.h
2569 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2570 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2571 GtkSizeGroup for the filters, use the 'homogeneous' property of
2574 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2576 * examples/hildon-button-example.c: Updated example.
2578 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2580 * doc/hildon-docs.sgml:
2583 Update documentation.
2585 * examples/Makefile.am: Update renamed examples.
2587 * examples/hildon-picker-button-multicolumn-example.c:
2588 (create_touch_selector), (main): Update after the rename.
2590 * examples/hildon-touch-picker-example.c: Removed.
2591 * examples/hildon-touch-selector-example.c: (value_changed),
2592 (create_selector), (get_visible_content), (main): Renamed from
2593 hildon-touch-picker-example.c
2595 * src/Makefile.am: Updated renamed files.
2597 * src/hildon-date-button.c: (hildon_date_button_init),
2598 (hildon_date_button_get_date), (hildon_date_button_set_date):
2599 * src/hildon-date-selector.c: (hildon_date_selector_init),
2600 (_custom_print_func), (_update_day_model),
2601 (_manage_selector_change_cb),
2602 (hildon_date_selector_select_current_date),
2603 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2604 * src/hildon-date-selector.h:
2605 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2606 (hildon_picker_button_set_property),
2607 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2608 (hildon_picker_button_init), (hildon_picker_button_new_text),
2609 (hildon_picker_button_append_text),
2610 (hildon_picker_button_prepend_text),
2611 (hildon_picker_button_insert_text),
2612 (hildon_picker_button_set_selector),
2613 (hildon_picker_button_get_selector):
2614 * src/hildon-picker-button.h:
2615 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2616 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2617 (_update_title_on_selector_changed_cb), (requires_done_button),
2618 (_hildon_picker_dialog_set_selector),
2619 (hildon_picker_dialog_set_selector),
2620 (hildon_picker_dialog_get_selector):
2621 * src/hildon-picker-dialog.h:
2622 * src/hildon-time-button.c: (hildon_time_button_init),
2623 (hildon_time_button_get_time), (hildon_time_button_set_time):
2624 * src/hildon-time-selector.c: (hildon_time_selector_init),
2625 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2626 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2627 * src/hildon-time-selector.h:
2630 Massive code updates after the rename.
2632 * src/hildon-touch-picker.c: Removed.
2633 * src/hildon-touch-picker.h: Removed.
2635 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2636 (hildon_touch_selector_init), (hildon_touch_selector_map),
2637 (hildon_touch_selector_remove), (_default_print_func),
2638 (_selection_changed_cb), (_create_new_column),
2639 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2640 (hildon_touch_selector_append_text_column),
2641 (hildon_touch_selector_remove_column),
2642 (hildon_touch_selector_set_column_attributes),
2643 (hildon_touch_selector_insert_column),
2644 (hildon_touch_selector_get_num_columns),
2645 (hildon_touch_selector_get_column_selection_mode),
2646 (hildon_touch_selector_set_column_selection_mode),
2647 (hildon_touch_selector_set_print_func),
2648 (hildon_touch_selector_get_print_func),
2649 (hildon_touch_selector_get_active_iter),
2650 (hildon_touch_selector_set_active_iter),
2651 (hildon_touch_selector_get_selected_rows),
2652 (hildon_touch_selector_get_model),
2653 (hildon_touch_selector_set_model),
2654 (hildon_touch_selector_get_current_text),
2655 (_hildon_touch_selector_center_on_selected_items):
2656 * src/hildon-touch-selector.h: Renamed from
2657 hildon-touch-picker.[ch]
2659 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2660 references, code examples, and related documentation.
2662 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2664 * doc/hildon-docs.sgml
2667 * src/hildon-toggle-button.c
2668 * src/hildon-toggle-button.h
2669 * src/hildon.h: New HildonToggleButton widget.
2671 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-button.c: Add API documentation.
2674 (hildon_button_set_size_groups): Check input parameters
2676 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2678 * src/hildon-pannable-area.c
2679 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2680 effect after reaching the movement thredshold. This way we start
2681 using the distance after passing the thredshold.
2683 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-button.c: (hildon_button_set_property): Use the
2686 appropriate g_value_get_flags() method.
2688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2690 * doc/hildon-docs.sgml:
2693 Add the touch pickers, picker dialogs, and picker button widgets
2694 to the documentation.
2696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-button.c: (hildon_button_set_property),
2699 (hildon_button_class_init): Make "arrangement-flags" a proper
2700 G_TYPE_FLAGS derived property.
2702 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2704 * examples/Makefile.am: Add below examples.
2705 * examples/hildon-date-button-example.c:
2706 * examples/hildon-picker-button-example.c:
2707 * examples/hildon-picker-button-multicolumn-example.c:
2708 * examples/hildon-time-button-example.c:
2709 * examples/hildon-touch-picker-example.c:
2711 Add examples for the recently added touch pickers,
2712 picker dialogs, and picker button widgets.
2714 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2716 * src/hildon-button.c: Add some API documentation
2718 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-button.h
2721 * src/hildon-button.c
2723 (hildon_button_new_with_text): New constructor to create a button
2724 with no text at all.
2725 (hildon_button_init, hildon_button_set_arrangement)
2726 (hildon_button_set_title, hildon_button_set_value)
2727 (hildon_button_set_text)
2728 (hildon_button_construct_child): Hide the value when it's not used
2729 so the rest of the text is properly aligned.
2730 Allow creating buttons with arbitrary widgets inside (not just
2731 title/value labels).
2733 * examples/hildon-button-example.c (vertical_buttons_window)
2734 (horizontal_buttons_window): Update example to use new API.
2736 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/Makefile.am: Added HildonTimeButton.
2739 * src/hildon-time-button.c: Added missing LGPL header.
2740 * src/hildon-time-button.h: Added missing LGPL header.
2741 * src/hildon.h: Add hildon-time-button.h
2743 Copied HildonTimeButton from sandbox to trunk. Future work on this
2744 widget must take place in trunk.
2746 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/Makefile.am: Added HildonDateButton.
2749 * src/hildon-date-button.c: Update includes.
2750 * src/hildon.h: Add hildon-date-button.h
2752 Copied HildonDateButton from sandbox to trunk. Future work on this
2753 widget must take place in trunk.
2755 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/Makefile.am: Added HildonPickerButton.
2758 * src/hildon-picker-button.h: Update includes.
2759 * src/hildon.h: Add hildon-picker-button.h
2761 Copied HildonPickerButton from sandbox to trunk. Future work on
2762 this widget must take place in trunk.
2764 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2766 * src/Makefile.am: Added HildonPickerDialog.
2767 * src/hildon-picker-dialog.c: Update includes.
2768 * src/hildon.h: Add hildon-picker-dialog.h
2770 Copied HildonPickerDialog from sandbox to trunk. Future work
2771 on this widget must take place in trunk.
2773 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/Makefile.am: Added HildonTimeSelector.
2776 * src/hildon.h: Add hildon-time-selector.h
2778 Copied HildonTimeSelector widget from sandbox to trunk. Future
2779 work on this widget must happen in trunk.
2781 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/Makefile.am: Added HildonDateSelector.
2784 * src/hildon.h: Add hildon-date-selector.h
2786 Copied HildonDateSelector widget from sandbox to trunk. Future
2787 work on this widget must happen in trunk.
2789 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/Makefile.am: Added HildonTouchPicker.
2792 * src/hildon-touch-picker.c: Update includes.
2793 * src/hildon.h: Add hildon-touch-picker.h
2795 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2796 on this widget must happen in trunk.
2798 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2800 * src/hildon-pannable-area.c:
2801 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2803 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2805 * examples/hildon-app-menu-example.c (main): Let the window
2808 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c
2811 (hildon_pannable_area_class_init): Set the min value of the
2812 overshoot properties to zero, which points out that not
2813 overshooting allowed.
2815 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2817 Modified the procedure to get the widget at a point inside the
2818 pannable area when using the movement type signals. Now the user
2819 has to call a function to get the child, that way we just
2820 calculate the child in case the user really want to use it and not
2823 * src/hildon-marshalers.list: Modified the marshallers, now we do
2824 not have the widget as a parameter.
2826 * src/hildon-pannable-area.c
2827 (hildon_pannable_area_motion_notify_cb),
2828 (hildon_pannable_area_class_init),
2829 (hildon_pannable_get_child_widget_at): Removed the widget
2830 parameter from the signal callback. We have also refactored the
2831 emission of the signals.
2833 * src/hildon-pannable-area.h: Added a new method to the API to
2834 calculate a widget at a point inside the pannable area,
2835 hildon_pannable_get_child_widget_at.
2837 * examples/hildon-pannable-area-example-4.c
2838 (horizontal_movement): Modified the example to use the new API,
2839 added condition to control which widget is under the event. This
2840 way we can avoid scrolling laterally over other widgets.
2842 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2844 * src/hildon-pannable-area.c
2845 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2846 modes, we stop getting the pointer events due to returning the
2847 callback without properly calling the get pointer again. Fixed
2848 also an error using the hscroll and vscroll.
2850 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-app-menu-private.h
2853 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2854 (hildon_app_menu_button_release, hildon_app_menu_init)
2855 (hildon_app_menu_class_init): Don't hide the menu on button
2856 release if the user didn't press outside first.
2858 * src/hildon-window.h
2859 * src/hildon-window.c (hildon_window_toggle_menu)
2860 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2861 hildon_window_toggle_menu a virtual function for the stackable
2862 window to override it.
2864 * src/hildon-stackable-window.h
2865 * src/hildon-stackable-window-private.h
2866 * src/hildon-stackable-window.c
2867 (hildon_stackable_window_realize)
2868 (hildon_stackable_window_finalize)
2869 (hildon_stackable_window_class_init)
2870 (hildon_stackable_window_init)
2871 (hildon_stackable_window_set_main_menu): New function to set the
2872 app menu of a HildonStackableWindow.
2874 * examples/hildon-app-menu-example.c: Remove the button to show
2875 the app menu, now it'll be shown when clicking on the title bar
2878 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2881 set the widget name if the arrangement flags do not specify
2884 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-button.c: (hildon_button_set_property),
2887 (hildon_button_class_init), (hildon_button_new_full),
2888 (hildon_button_set_arrangement): Added "arrangement-flags"
2891 Make the HildonButtonFlags a construction-only property, to allow
2892 subclasses to set them properly.
2894 2008-07-21 Tim Janik <timj@imendio.com>
2896 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2897 insertion position after backspace, so additional digits are appended,
2900 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2902 * src/hildon-pannable-area.c,
2903 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2904 TODO list, it was complete and removed the g_debug and g_print
2907 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2909 Added the movement modes to the hildon-pannable-area, with this
2910 modes the developers can control in which directions the widget
2911 can scroll. They can also connect to signals in order to do
2912 something when that happens, allowing applications scroll. There
2913 is an example uploaded showing how to use it.
2915 * examples/Makefile.am:
2916 * examples/hildon-pannable-area-example-4.c: Added this example of
2917 an application using the modes.
2919 * src/hildon-marshalers.list: Added a new marshaller for the new
2922 * src/hildon-pannable-area.h: Added new enumerations and flags in
2923 order to control the movement modes and the new signals to warn
2924 about the movements in the area.
2926 * src/hildon-pannable-area.c:
2927 (hildon_pannable_axis_scroll),
2928 (hildon_pannable_area_scroll),
2929 (hildon_pannable_area_motion_notify_cb),
2930 (hildon_pannable_area_get_property),
2931 (hildon_pannable_area_set_property),
2932 (hildon_pannable_area_map),
2933 (hildon_pannable_area_class_init),
2934 (hildon_pannable_area_init),
2935 (hildon_pannable_area_jump_to): Added the modes to control the
2936 movement in the widget. We have added properties to control it,
2937 signals to warn about the movements and refactored some code.
2939 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2941 Changes required in order to allow vfast_factor set to zero to
2944 * src/hildon-pannable-area.c:
2945 (hildon_pannable_area_button_press_cb): Changed the condition, it
2946 is required for not allowing click when vfast_factor is zero.
2947 (hildon_pannable_area_timeout): Initialized velocity variables
2948 when we stop moving, it was less than 1 but not zero and we need
2949 to check zero in some situations.
2950 (hildon_pannable_area_class_init): Changed the default value of
2951 the speed factor, now the button_press is just sent in case the
2952 speed is 2 per cent of the max speed.
2953 (hildon_pannable_area_init): Initialization with 0.
2955 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2957 * src/hildon-pannable-area.c,
2958 (hildon_pannable_area_get_topmost): replaced
2959 gdk_window_get_children with gdk_window_peek_children, this way we
2960 do not have to free the list because it is not a copy.
2962 (hildon_pannable_axis_scroll),
2963 (hildon_pannable_area_scroll),
2964 (hildon_pannable_area_timeout),
2965 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2966 two parameters that were only used inside the
2967 hildon_pannable_area_scroll function.
2969 * examples/hildon-pannable-area-example.c,
2970 (get_sawtooth_label): Fixed small memory leak.
2972 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2974 More checks for the case where the overshoot is bigger than the
2977 * src/hildon-pannable-area.c:
2978 (hildon_pannable_draw_vscroll),
2979 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2980 to draw the slider of the scrollbar under the other scrollbar.
2981 (hildon_pannable_area_expose_event): added new checks to control
2982 the drawing of the overshooting area rectangle, in case it is too
2983 big for the area of the widget.
2984 (hildon_pannable_area_size_allocate): add more checks to avoid
2985 setting a position to the child widget outside the area.
2987 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2989 * src/hildon-pannable-area.c
2990 (hildon_pannable_area_size_allocate): Added conditions to control
2991 when overshooting is bigger than the allocated space for the
2992 children, this avoids negative allocations.
2994 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2996 * doc/hildon-docs.sgml
2998 * examples/Makefile.am
2999 * examples/hildon-button-example.c
3001 * src/hildon-button.c
3002 * src/hildon-button.h
3003 * src/hildon.h: Initial version of the new HildonButton widget,
3006 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/hildon-pannable-area.c:
3009 (hildon_pannable_area_button_press_cb),
3010 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3011 (hildon_pannable_area_motion_notify_cb),
3012 (hildon_pannable_area_button_release_cb),
3013 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3014 (hildon_pannable_area_jump_to_child):
3016 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3018 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3020 * examples/Makefile.am
3021 * examples/hildon-pannable-area-touch-grid-example.c
3022 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3023 the Hildon Touch List and Hildon Touch Grid using the
3024 HildonPannableArea widget.
3026 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3028 * src/hildon-pannable-area.c,
3029 (hildon_pannable_area_button_press_cb),
3030 (hildon_pannable_area_refresh),
3031 (hildon_pannable_area_scroll),
3032 (hildon_pannable_area_motion_notify_cb),
3033 (hildon_pannable_area_button_release_cb),
3034 (hildon_pannable_area_expose_event),
3035 (hildon_pannable_area_add),
3036 (hildon_pannable_area_remove),
3037 (hildon_pannable_area_realize),
3038 (hildon_pannable_area_size_allocate),
3039 (hildon_pannable_area_class_init),
3040 (hildon_pannable_area_init),
3041 (hildon_pannable_area_scroll_to_child),
3042 (hildon_pannable_area_jump_to_child): Fixed the problem of
3043 removing the child from the GtkBin, we have rearranged the widget
3044 hierarchy, now there is no GtkAlignment which was not doing
3045 anything interesting but breaking some of the assumptions of
3046 GtkContainer. Now developers if they want to add a GtkAlignment
3047 they could, but it is not inside the area.
3049 We had to review the whole allocation/expose process, now it is
3050 improved and we save at least three signals which would be saving
3051 some time when rendering the widget. The allocation of the
3052 scrollbars is now made in the allocate method as usual.
3054 We have also added some conditions in order to control when there
3055 is no child of the pannable area. Maybe we will need more work
3058 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable-area.c,
3061 (hildon_pannable_area_dispose): Released the fade-out timeout when
3062 disposing the widget.
3064 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3066 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3067 zero, we are going to use that property in order to deactivate the
3069 (hildon_pannable_axis_scroll),
3070 (hildon_pannable_area_size_allocate): Added conditions to control
3071 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3072 call, now it is called in all situations and we can remove calls
3073 in the allocate method.
3074 (hildon_pannable_area_map): Control the situation when
3075 overshoot_max is zero, we do not need the timeout.
3076 (hildon_pannable_area_class_init): Added documentation in order to
3077 point out that setting zero to overshoot_max means deactivate
3080 NOTE: removed trailing whitespaces from my previous comments of
3083 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3085 * src/hildon-pannable-area.c
3086 (hildon_pannable_area_get_property),
3087 (hildon_pannable_area_set_property),
3088 (hildon_pannable_area_map),
3089 (hildon_pannable_area_class_init),
3090 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3091 to cause the widget give a hint about its panning abilities upon
3094 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-pannable-area.c: Several documentation improvements.
3098 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-program.c
3101 * src/hildon-stackable-window.c: Update documentation.
3103 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3105 * src/hildon-stackable-window.c (get_previous_window_if_last):
3106 Renamed get_last_window()
3107 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3108 (hildon_stackable_window_unset_program):
3110 (get_previous_window_if_last):
3111 Detect if the window hasn't been added to a HildonProgram.
3113 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3115 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3117 * src/hildon-pannable-area.c
3118 (hildon_pannable_area_button_press_cb),
3119 (hildon_pannable_axis_scroll),
3120 (hildon_pannable_area_scroll),
3121 (hildon_pannable_area_timeout),
3122 (hildon_pannable_calculate_vel_factor),
3123 (hildon_pannable_area_get_property),
3124 (hildon_pannable_area_set_property),
3125 (hildon_pannable_area_class_init),
3126 (hildon_pannable_area_init),
3127 (hildon_pannable_area_scroll_to),
3128 (hildon_pannable_area_jump_to),
3129 (hildon_pannable_area_scroll_to_child),
3130 (hildon_pannable_area_jump_to_child):
3131 * src/hildon-pannable-area.h: Added the new API functions:
3132 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3133 hildon_pannable_area_scroll_to_child,
3134 hildon_pannable_area_jump_to_child
3137 * examples/Makefile.am
3138 * examples/hildon-pannable-area-example-2.c
3139 * examples/hildon-pannable-area-example-3.c: Added these two new
3140 examples in order to test and show how the new APIs work.
3142 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3144 * examples/hildon-stackable-window-example.c (new_window):
3145 * src/Makefile.am (noinst_HEADERS):
3146 * src/hildon-program.c (hildon_program_go_to_root_window):
3147 * src/hildon-program.h:
3148 * src/hildon-stackable-window-private.h:
3149 * src/hildon-stackable-window.c:
3150 * src/hildon-stackable-window.h:
3151 Create hildon-stackable-window-private.h
3152 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3154 * examples/hildon-app-menu-example.c (create_menu):
3155 * examples/hildon-hvolumebar-insensitive-example.c (main):
3156 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3157 * examples/hildon-toolbar-seekbar-example.c (main):
3158 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3159 * src/hildon-banner.c (hildon_banner_set_property):
3160 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3161 Fix compilation warnings
3163 * src/hildon-window.c:
3166 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-stackable-window.c
3169 (hildon_stackable_window_unset_program):
3170 Calculate correctly whether to show the previous window if the
3171 last one is removed from the stack.
3172 (hildon_stackable_window_go_to_root_window):
3173 Send delete events starting from the topmost window.
3174 Stop if one of the windows is not destroyed.
3176 (hildon_stackable_window_delete_event)
3177 (hildon_stackable_window_class_init):
3178 Ignore the delete event if the window is not the topmost one.
3180 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3182 * src/hildon-pannable-area.c
3183 (hildon_pannable_area_expose_event): Fixed a problem when
3184 selecting the background color of the scrollbars.
3186 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3188 * examples/hildon-stackable-window-example.c
3189 * src/hildon-stackable-window.c
3190 * src/hildon-stackable-window.h
3191 hildon_stackable_window_go_home() renamed to
3192 hildon_stackable_window_go_to_root_window()
3193 Send delete events to windows rather than closing them with
3194 gtk_widget_destroy()
3196 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-pannable-area.c
3199 (hildon_pannable_area_button_release_cb): Fix overshooting in
3202 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-pannable-area.c
3205 (hildon_pannable_area_init): Initially show the scroll indicators.
3206 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3208 Add initial effect showing the widget is pannable.
3210 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-pannable-area.c
3213 (hildon_pannable_area_class_init)
3214 (hildon_pannable_area_set_property)
3215 (hildon_pannable_area_get_property)
3216 (hildon_pannable_area_button_press_cb):
3217 New 'velocity_fast_factor' property to decide which velocity is
3220 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-pannable-area.c
3223 (hildon_pannable_draw_hscroll)
3224 (hildon_pannable_draw_vscroll):
3225 Use float variables to calculate the size of the scrollbars to
3226 avoid error propagation and resizing during scrolling.
3228 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-pannable-area.c
3231 (hildon_pannable_draw_vscroll)
3232 (hildon_pannable_draw_hscroll):
3233 Define a minimum size for the scroll bars
3235 * src/hildon-stackable-window.c
3236 (hildon_stackable_window_go_home): Fix compilation warning
3237 (get_last_window): Minor optimizations
3238 (hildon_stackable_window_class_init): Fix initialization of
3241 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3243 * src/hildon-stackable-window.c: Fixed typos in doc
3245 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-pannable-area.c
3248 (hildon_pannable_area_scroll):
3249 Calculate here whether we need to scroll instead of using the booleans
3250 that tell us whether to /draw/ the scrolling bars.
3252 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-app-menu.h
3256 * src/hildon-app-menu.c
3257 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3258 multiple filter groups related code and API. Now we support only
3260 * examples/hildon-app-menu-example.c:
3262 Update to reflect API changes.
3264 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3266 * src/hildon-stackable-window.c
3267 (hildon_stackable_window_class_init):
3268 Add hildon_stackable_window_realize.
3269 (hildon_stackable_window_realize):
3270 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3271 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3272 to apply theming and behavior specific to HildonStackableWindow
3275 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-note.c (hildon_note_button_release):
3278 Close information notes also when tapping on them
3280 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3282 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3283 ELASTICITY, refactor and review, fix some issues with drawing
3286 * src/hildon-pannable-area.c:
3287 (hildon_pannable_area_button_press_cb): removed the conditions to
3288 avoid clicks when overshooting. It is not required
3290 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3291 define. Refatored and reviewed the code, now we do not need to
3292 manage velocity in motion_notify.
3294 (hildon_pannable_area_motion_notify_cb): We have moved the code
3295 that controls the area_scroll to the axis_scroll function and get
3296 rid of duplicated code.
3298 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3300 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3302 (hildon_pannable_draw_vscroll),
3303 (hildon_pannable_draw_hscroll): Fixed the problems with the
3304 scrollbar drawing, now we do not use two surfaces, it is easier
3305 and saves resources.
3307 (hildon_pannable_area_get_property): Style modification.
3309 (hildon_pannable_area_class_init): Changed some default values.
3311 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-stackable-window.c: Fix some typos in the
3316 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3318 * src/hildon-dialog.c:
3319 Change indentation style
3322 (hildon_note_button_release):
3323 Use root coordinates to check if the release event happened
3326 * src/hildon-app-menu.c
3327 (hildon_app_menu_button_release):
3328 Remove unnecessary check
3330 * examples/hildon-app-menu-example.c
3332 Add cast to fix warning
3334 * src/hildon-app-menu.c
3335 (hildon_app_menu_class_init):
3336 New inner-border style property.
3337 Set all default spacings to 16
3338 (hildon_app_menu_init):
3339 Use vertical-spacing to set the space between filter buttons and
3340 regular menu buttons.
3341 Set the default container border using the inner-border value.
3343 * examples/hildon-app-menu-example.c
3345 Don't set the menu border explicitly, now we have the inner-border
3346 style property for that.
3348 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-app-menu.c (hildon_app_menu_init):
3351 Make the window modal
3353 * src/hildon-note.c (hildon_note_map)
3354 * src/hildon-app-menu.c (hildon_app_menu_map):
3355 Destroy the grab window if we're unable to grab the pointer
3357 * src/hildon-app-menu-private.h
3358 * src/hildon-app-menu.c
3359 (hildon_app_menu_init, hildon_app_menu_finalize)
3360 (hildon_app_menu_map, hildon_app_menu_unmap)
3361 (hildon_app_menu_button_release)
3362 (grab_transfer_window_get):
3363 Bring back the grab window
3364 (hildon_app_menu_realize):
3365 Decorate the window, set WM hint for Matchbox
3367 * src/hildon-note.c (hildon_note_realize):
3368 * src/hildon-banner.c (hildon_banner_realize):
3369 Add WM hints for Matchbox
3371 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3373 * src/hildon-app-menu-private.h
3374 * src/hildon-app-menu.c
3375 (hildon_app_menu_init, hildon_app_menu_finalize)
3376 (hildon_app_menu_map, hildon_app_menu_unmap)
3377 (hildon_app_menu_button_release):
3378 Remove the grab window, it's not needed anymore
3380 * src/hildon-program.c
3381 Fixed typo in documentation
3383 * src/hildon-app-menu.h
3384 * src/hildon-app-menu.c
3385 * examples/hildon-app-menu-example.c
3386 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3388 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3391 Added new transfer_window and close_if_pressed_outside private
3393 (hildon_note_rebuild):
3394 Don't add a cancel button to the information note. It will be
3395 closed when tapping outside
3396 Remove the comment about the OK button in the documentation
3397 (hildon_note_realize):
3398 Set the notification type hint
3399 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3400 Grab/ungrab pointer and keyboard if the note has to be closed when
3402 (hildon_note_button_release):
3403 Close the note when tapping outside (if applicable)
3405 * src/hildon-app-menu.c
3406 Grab/ungrab pointer and keyboard on map/unmap
3407 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3408 Close the menu on button release, not button press
3410 * src/hildon-banner.c
3411 (hildon_banner_set_property)
3412 (hildon_banner_check_position):
3413 Make the banner use the full width of the screen
3414 (hildon_banner_show_information)
3415 (hildon_banner_show_information_with_markup):
3416 Don't display an icon by default
3418 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3420 Added fading scrollbars and adapted all the overshooting code to
3421 horizontal scrolling. We have also fixed bugs with overshooting
3422 and current fading implementation.
3424 * src/hildon-pannable-area.c
3425 (hildon_pannable_area_scroll_indicator_fade): Time out function
3426 used to change the transparency of the scrollbars.
3428 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3429 control and fixed a problem with fading, we now remove the fade
3430 timeout before adding a new one.
3432 (hildon_pannable_axis_scroll):
3433 (hildon_pannable_area_scroll):
3434 (hildon_pannable_area_timeout): Added this functions so we can use
3435 the scroll code both for vertical and horizontal.
3437 (hildon_pannable_area_motion_notify_cb):
3438 (hildon_pannable_area_button_release_cb): Added the horizontal
3439 scrolling control, fixed a problem with the overshooting timeout.
3441 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3442 painting of the scrolls.
3444 (hildon_pannable_draw_vscroll):
3445 (hildon_pannable_draw_hscroll):
3446 (hildon_pannable_area_expose_event):
3447 Draw both scrollbars and rectangles in the overshooting area.
3449 (hildon_pannable_area_get_property):
3450 (hildon_pannable_area_set_property):
3451 Modified the overshoot property to overshoot_max
3453 (hildon_pannable_area_map):
3454 Replaced the comments symbols.
3456 (hildon_pannable_area_size_allocate):
3457 (hildon_pannable_area_class_init):
3458 (hildon_pannable_area_init): Added horizontal scroll, fading
3459 effect properties, fixed a problem when overshooting in the bottom
3462 * examples/hildon-pannable-area-example.c:
3463 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3464 looks better in the example.
3466 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-window.c
3469 * src/hildon-window.h
3470 (hildon_window_class_init)
3471 (hildon_window_unset_program)
3472 (hildon_window_unset_program_real):
3473 Make unset_program a virtual function
3475 * src/hildon-stackable-window.c
3476 * src/hildon-stackable-window.h
3477 Added hildon_stackable_window_go_home()
3479 * examples/Makefile.am
3480 * examples/hildon-stackable-window-example.c
3481 HildonStackableWindow example
3483 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3485 * hildon-pannable-area.c: Added the overshoot property and removed
3486 the OVERSHOOT define. Fixed an indent style error.
3487 (hildon_pannable_area_motion_notify_cb):
3488 (hildon_pannable_area_get_property):
3489 (hildon_pannable_area_set_property): Add overshoot property.
3491 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3494 (hildon_pannable_area_class_init): Installed the new property.
3496 * hildon-pannable-area-example.c: Added a sawtooth function, this
3497 way it is easier to check the movement in the pannable.
3498 (get_sawtooth_label): Added this function.
3499 (main): Now we get the labels from the new get_sawtooth_label
3502 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3504 * src/hildon-app-menu.h
3505 * src/hildon-app-menu.c
3506 Renamed API variables for consistency
3508 (hildon_app_menu_popup): Use also the default window size to
3509 decide where to place the menu
3511 (hildon_app_menu_init, hildon_app_menu_class_init): New
3512 external-border style property
3514 2008-05-26 Michael Natterer <mitch@imendio.com>
3516 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3517 widget_class->tap_and_hold_setup signal slot doesn't exist any
3518 longer, stop overriding it.
3520 (hildon_time_editor_init): g_signal_connect() to the
3521 tap-and-hold-setup signal instead.
3523 (hildon_time_editor_entry_keypress): add cast to fix warning.
3525 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3527 * doc/hildon-docs.sgml
3529 * examples/Makefile.am
3530 * examples/hildon-app-menu-example.c
3532 * src/hildon-app-menu-private.h
3533 * src/hildon-app-menu.c
3534 * src/hildon-app-menu.h
3536 New HildonAppMenu widget
3538 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3540 Rearranged the inheritance of the pannable area, now it inherits
3541 from GtkBin. This will allow us to control the event_window and
3542 the allocation process of the widget, required for some effects.
3544 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3545 GtkBin structures. * src/hildon-pannable-area.c: Added the
3546 event_window variable.
3547 (hildon_pannable_area_button_press_cb):
3548 (hildon_pannable_area_button_release_cb):
3549 (hildon_pannable_area_motion_notify_cb):
3550 Changed the signature of the method, now we override the event
3551 callback instead of connecting to the signal.
3553 (hildon_pannable_area_realize):
3554 (hildon_pannable_area_unrealize):
3555 (hildon_pannable_area_map):
3556 (hildon_pannable_area_unmap):
3557 (hildon_pannable_area_size_allocate):
3558 Added functions to control the widget construction. We add a
3559 INPUT_ONLY window and we put it over the widgets inside the
3560 container, this event_window handles the events.
3562 (hildon_pannable_area_class_init):
3563 Replaced the signal connections with overrides of the event
3566 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3568 Bouncing effect added when touching the borders, you can change
3569 the elasticity of the border changing the ELASTICITY define.
3571 * src/hildon-pannable-area.c: Added ELASTICITY define.
3572 (hildon_pannable_area_timeout): Added inverse velocity when
3573 touching the border of the child widget, that causes a bounce.
3575 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3577 Improved performance, we now do not go to the X server in order to
3578 get the list of window children. Apparently the effect is the
3579 same, we have to be careful and check if this breaks something in
3582 * src/hildon-pannable-area.c:
3583 (get_ordered_children): Removed this function.
3584 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3585 the children windows function with gdk_window_get_children.
3587 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3589 * src/hildon-pannable-area.c:
3590 (hildon_pannable_area_dispose): Fixed a crash when closing the
3591 window and kinetics is activated.
3593 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3595 * src/hildon-pannable-area.h
3596 * src/hildon-pannable-area.c
3597 Changed indentation style to meet the one used in Hildon
3599 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3601 Reviewed the interaction of the AUTO mode, now we use the time
3602 attribute of the events and calculate the velocity in the motion,
3603 doing a gimp like calculation. The velocity is calculated in each
3604 motion event using the last velocity and the current one, the
3605 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3607 * src/hildon-pannable-area.c: Replaced the time based algorithm
3609 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3610 timeout for the AUTO mode when we are still moving the cursor. We
3611 added also the velocity calculation in this function.
3612 (hildon_pannable_area_button_release_cb): launch the timeout in
3613 case we are in AUTO mode. There are still some constants here that
3614 come from the old implementation that should be reviewed and
3617 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3619 * doc/hildon-docs.sgml
3622 * src/hildon-stackable-window.c
3623 * src/hildon-stackable-window.h
3625 New HildonStackableWindow widget
3627 * examples/hildon-dialog-example.c
3628 * examples/hildon-pannable-area-example.c
3631 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3633 * src/hildon-dialog.c
3634 (hildon_dialog_new_with_buttons): New constructor.
3636 * examples/hildon-dialog-example.c
3637 (main): Update the example to use the new
3638 hildon_dialog_new_with_buttons().
3640 * examples/hildon-pannable-area-example.c
3641 (main): Update example.
3643 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3645 * doc/hildon-docs.sgml
3647 Added HildonPannableArea to the documentation.
3649 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3651 * doc/visual_index.xml
3652 Fix reference to HildonLoginDialog in documentation
3654 * doc/hildon-docs.sgml
3656 * examples/Makefile.am
3657 * examples/hildon-dialog-example.c
3659 * src/hildon-dialog.c
3660 * src/hildon-dialog.h
3662 New HildonDialog widget.
3664 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-pannable-area.c
3667 Merge latest changes (r4318, r4342) from libmokoui trunk
3669 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3671 * examples/Makefile.am
3672 * examples/hildon-pannable-area-example.c
3674 * src/hildon-pannable-area.c
3675 * src/hildon-pannable-area.h
3677 New HildonPannableArea widget.
3679 2008-04-15 18:05:19 <timj@imendio.com>
3681 * src/hildon-banner.c: revert the recent change, that introduced
3682 gtk_window_present() calls. this reopens:
3683 Bug 78481 - [freetest] information banners are hidden under browser menu
3684 But resolves another variant of:
3685 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3687 2008-04-15 13:21:13 <timj@imendio.com>
3689 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3690 recreated its layout, spotted by Kris. this fixes all remaining
3691 artefacts and stability issues with the banner code. in particular:
3692 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3694 2008-04-14 16:52:59 <timj@imendio.com>
3696 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3697 operating on unrealized widgets, fixes:
3698 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3700 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3702 2008-04-09 Kristian Rietveld <kris@imendio.com>
3704 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3705 makes banner disappear.
3706 Fixes: NB#79182: info banner flickering with certain message lengts.
3708 * src/hildon-banner.c (hildon_banner_constructor),
3709 (hildon_banner_init), (hildon_banner_set_text),
3710 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3711 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3712 FALSE, reset size requests of label and banner,
3713 (force_to_wrap_truncated): when the text is too wide, always enforce
3714 the maximum possible width instead of recalculating it from the
3715 layout; enforce the maximum banner height of 3 lines,
3716 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3717 nicer wrapping and no truncated chars if space gets tight.
3719 * src/hildon-banner-private.h: add has_been_wrapped and
3720 has_been_truncated fields.
3722 2008-04-07 Sven Herzberg <sven@imendio.com>
3724 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3725 local values in hildon_date_editor_size_allocate
3727 * src/hildon-date-editor.c: moved the real allocation code into the
3730 2008-04-07 Sven Herzberg <sven@imendio.com>
3732 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3733 local values in hildon_date_editor_size_allocate
3735 * src/hildon-date-editor.c: merged the two if() branches together
3737 2008-04-07 Sven Herzberg <sven@imendio.com>
3739 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3740 local values in hildon_date_editor_size_allocate
3742 * src/hildon-date-editor.c: changed the arguments of the if()
3745 2008-04-07 Sven Herzberg <sven@imendio.com>
3747 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3748 local values in hildon_date_editor_size_allocate
3750 * src/hildon-date-editor.c: split the calculation of the allocation
3751 from the real allocation
3753 2008-03-27 Michael Natterer <mitch@imendio.com>
3755 Fixes: NB#81696: The passcode is not overwritten even after
3758 * src/hildon-code-dialog.c
3759 (hildon_code_dialog_button_clicked)
3760 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3761 because that doesn't overwrite selected text. Instead, emit the
3762 "commit" signal on the entry's im_context so the entry's normal
3763 insert logic is triggered. Set the cursor to the end of the entry
3764 after each insert operation so that we *only* insert in the middle
3765 of the text if something was selected.
3767 2008-03-27 Michael Natterer <mitch@imendio.com>
3769 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3770 selector cannot be opened
3772 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3773 when the popup color selector is created. Please connect to this
3774 signal in order to set the dialog's help ID.
3776 2008-03-25 Sven Herzberg <sven@imendio.com>
3778 Fixes: MB#1212: Hide info banners (infoprints) on click
3780 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3781 extracted the close event simulation into an extra function
3782 (hildon_banner_button_press_event): simulate a close event and destroy
3783 the widget if the event wasn't handled
3784 (hildon_banner_class_init): added the button_press_event handler
3785 (hildon_banner_init): added button-press events to the widget
3787 2008-03-25 Sven Herzberg <sven@imendio.com>
3789 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3790 Patch from: Mohammad Anwari <mdamt@maemo.org>
3792 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3793 instead of the right in RTL mode
3794 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3795 breadcrumb button list in RTL mode
3796 * src/hildon-caption.c: mirror the appearance of the caption widget in
3798 * src/hildon-date-editor.c: mirror appearance of the date editor in
3800 * src/hildon-time-editor.c: mirror appearance of the time editor in
3802 * src/hildon-window.c: fix the position of the popup in RTL mode
3804 2008-03-25 Sven Herzberg <sven@imendio.com>
3806 Amendment to the fix of NB#22072. Fix compilation.
3808 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3810 2008-03-19 Sven Herzberg <sven@imendio.com>
3812 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3815 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3816 timeout id properly when the timeout will disappear this leaves no
3817 artifacts around in the destroy(); there will only be the timeout
3818 created by hildon_banner_ensure_timeout() and adding a new timeout
3819 will also work if the timeout gets removed because the timeout_handler
3822 2008-03-19 Michael Natterer <mitch@imendio.com>
3824 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3826 * src/hildon-volumebar.c
3827 * src/hildon-vvolumebar.c
3828 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3829 the widget becomes focussable at all.
3831 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3832 set the focus to wither the mute button or the volumebar.
3834 Remove own "can-focus" property and instead listen to
3835 notify::can-focus in order to update the widget's state.
3837 Implement GtkWidget::focus() and make sure we can also *leave* the
3838 widget, not only enter it, depending on volumebar orientation and
3839 requested focus direction.
3841 Clean up set_mute() to cooperate nicely with all the above.
3843 2008-03-04 Michael Natterer <mitch@imendio.com>
3845 Fixes: NB#78481: information banners are hidden under browser menu
3847 * src/hildon-banner.c: call gtk_window_present() on the banners so
3848 they are risen if they are already visible.
3850 2008-03-03 Sven Herzberg <sven@imendio.com>
3852 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3854 * examples/hildon-window-menu-example.c: (main): extended the window
3855 menu example to serve as a testcase for automatically added
3856 accelerator groups, too
3857 * src/hildon-window.c: (hildon_window_add_accel_group),
3858 (hildon_window_set_menu): added patch by Tommi Komulainen
3860 2008-03-03 Sven Herzberg <sven@imendio.com>
3862 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3864 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3865 knowledge about the border allocators used within GTK+
3867 2008-02-26 Sven Herzberg <sven@imendio.com>
3869 Fixes: MB#2981: Build with asserts broken
3871 * src/hildon-date-editor.c,
3872 * src/hildon-number-editor.c,
3873 * src/hildon-time-editor.c,
3874 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3875 the proper GType instance check
3877 2008-02-25 Sven Herzberg <sven@imendio.com>
3879 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3881 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3882 * examples/hildon-window-menu-example.c: (main): explicitly show
3884 * src/hildon-window.c:
3885 (hildon_window_set_main_menu): moved most of the code from set_menu()
3886 to this place; skipped the call to gtk_widget_show_all(); also didn't
3887 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3888 (hildon_window_set_menu): removed most of the code, just keep the
3889 questionable gtk_widget_show_all()
3890 * src/hildon-window.h: added the new function and deprecate the old
3893 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3899 * debian/changelog: Updating.
3901 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3904 * pkgconfig/Makefile.am:
3905 * pkgconfig/hildon.pc.in:
3908 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3909 use newly created API_MAJOR_VERSION.
3911 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3917 * debian/changelog: Updating.
3919 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3921 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3923 Add outer_border style property, we use it but don't define it (!).
3927 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3929 * examples/hildon-bread-crumb-trail-example.c (main):
3933 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3935 Fix logic for the bread crumb trail node removal.
3939 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3945 * debian/changelog: Updating.
3947 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3949 Patch by Alejandro to get/set passwords dialogs accesibility.
3951 * hildon-1/src/hildon-get-password-dialog.c:
3952 * hildon-1/src/hildon-set-password-dialog.c:
3953 Set atk_set_name to the passwd entries in order to allow
3954 accessibility by name on this entries.
3956 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3961 * debian/control: Updating gtk dep.
3963 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3965 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3966 USE_MAEMO_GTK is enabled.
3968 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3970 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3971 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3973 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3979 * debian/changelog: Updating.
3981 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3983 * examples/Makefile.am:
3984 * examples/hildon-logical-color-example.c:
3985 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3986 applied + adding a test case. Fixes: NB#71660.
3988 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3990 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3991 to be visible, fixes warning on map for windows without toolbars.
3993 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3995 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3996 2.11.0, add a check for that besides the MAEMO_GTK check.
3998 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4004 * debian/changelog: Updating.
4006 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4008 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4009 visibility. Fixes: NB#70842 and MB#615.
4011 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4013 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4014 set the separator as no-show-all so it doesn't unintentionally appear when
4015 someone does a show_all.
4017 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4019 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4020 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4021 toplevel item. Fixes: NB#62031
4023 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4025 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4026 fix the name of the function in the docs.
4028 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4034 * debian/changelog: Updating.
4036 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4038 * examples/hildon-banner-long-example.c: Adding a test-case for long
4041 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4043 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4045 * src/hildon-color-chooser-dialog.c:
4046 * src/hildon-color-chooser.c:
4047 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4048 memory leaks in font selector and color selector. Fixes: NB#70499 and
4051 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4053 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4055 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4057 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4058 little bit bigger. Fixes: #NB63694.
4060 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4066 * debian/changelog: Updating.
4068 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * doc/hildon-docs.sgml:
4072 * doc/images/bread-crumb-trail.png:
4073 * doc/images/calendar-popup.png:
4074 * doc/images/caption.png:
4075 * doc/images/code-dialog.png:
4076 * doc/images/color-button.png:
4077 * doc/images/color-chooser-dialog.png:
4078 * doc/images/color-chooser.png:
4079 * doc/images/controlbar.png:
4080 * doc/images/date-editor.png:
4081 * doc/images/font-selection-dialog.png:
4082 * doc/images/get-password-dialog.png:
4083 * doc/images/hvolumebar.png:
4084 * doc/images/login-dialog.png:
4085 * doc/images/note.png:
4086 * doc/images/number-editor.png:
4087 * doc/images/range-editor.png:
4088 * doc/images/seekbar.png:
4089 * doc/images/set-password-dialog.png:
4090 * doc/images/sort-dialog.png:
4091 * doc/images/time-editor.png:
4092 * doc/images/time-picker.png:
4093 * doc/images/vvolumebar.png:
4094 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4095 Adding the bread-crumb-trial and helpers to the documentation.
4097 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4099 * examples/hildon-find-toolbar-example.c:
4100 * src/hildon-find-toolbar.c:
4101 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4102 actually continue firing the other handlers if connected. Adding a new
4104 hildon_find_toolbar_get_last_index that gets the index of the most
4105 recently added (last) item. Fixes: NB#52301.
4107 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4109 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4110 behaviour. Fixes: NB#68610.
4112 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4114 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4117 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4119 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4120 when realizing the banner. Should make the infonbanner effect a bit more
4123 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4125 * src/hildon-volumebar.c:
4126 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4127 hildon_volumebar_set_range_insensitive_message and
4128 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4130 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * src/hildon-window.c: Fixing the border freeing on destroy.
4134 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4136 * src/hildon-code-dialog-private.h:
4137 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4138 kw keyboard support in HildonCodeDialog.
4140 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4146 * debian/changelog: Updating.
4148 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4150 * src/hildon-date-editor.c:
4151 * src/hildon-number-editor.c:
4152 * src/hildon-private.c:
4153 * src/hildon-private.h:
4154 * src/hildon-time-editor.c:
4155 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4156 handling in subclassed composite widgets. Fixes: NB#66628.
4158 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4160 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4161 from destroy_ callback as it introduces problems in async dbus signal
4162 handlers. Fixes NB#66673.
4164 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4166 * examples/hildon-hvolumebar-example.c:
4167 * src/hildon-volumebar.c: Improving the focus handling in the
4168 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4169 set_property accessor so that "mute" property can be actually set. I'm
4170 scared that nobody noticed it's totally broken.
4172 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4174 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4177 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4179 * src/hildon-calendar.c:
4180 * src/hildon-number-editor.c:
4181 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4182 matches the spec of 6 chars per second. Fixes: NB#60489.
4184 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4186 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4187 gtk_style_lookup_color sometime returns FALSE even though color was
4188 found and values were filled properly. Weird. Removing the warning for the
4191 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4194 expand vertically. Adding some extra space to the find toolbar buttons to
4195 make them thumbable. Fixes NB#66060.
4197 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4199 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4200 popup with "Ok" and "Cancel". Fixes NB#59299.
4202 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4204 * src/hildon-calendar.c: Process all window updates before executing next
4205 timeout. Fixes: NB#54146.
4207 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4213 * debian/changelog: Updating.
4215 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4217 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4218 the client event and ignore it, since we use the delete event to close
4221 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4223 * src/hildon-helper.c: Remove the bogus warning about color not being
4224 found. Fixes NB#58352.
4226 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4228 * examples/Makefile.am:
4229 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4230 HildonSeekbar widget inside a toolbar.
4232 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4234 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4235 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4236 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4237 don't want to be closed by non-temporary windows on map.
4239 Also use G_DEFINE_TYPE instead of manually typed code.
4241 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4248 * debian/rules: Updating.
4250 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4252 * examples/Makefile.am:
4253 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4254 bug NB#61128. Strangely it works.
4256 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4258 * src/hildon-date-editor.c: When the date editor entry has been changed
4259 but the numbers of characters < max, turn off the skip validation flag.
4260 Prevents a situation when we enter first a valid year and later re-write
4261 it with an invalid one. Fixes NB#60154.
4263 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4265 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4266 code dialog. Fixes NB#64355.
4268 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4271 switching the page. Fixes NB#49374.
4273 * examples/Makefile.am:
4274 * examples/hildon-wizard-dialog-example.c: Adding an example for
4275 HildonWizardDialog that shows how to handle manual sensitivity setting on
4278 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4282 * src/hildon-version.h.in:
4283 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4285 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4287 * src/hildon-volumebar.c: Updating the docs.
4289 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4295 * debian/changelog: Updating.
4297 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4299 * src/hildon-find-toolbar.c:
4300 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4301 selected item: hildon_find_toolbar_set_active,
4302 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4303 hildon_find_toolbar_get_active_iter . They correspond to respective
4304 GtkComboBox functions.
4306 * examples/Makefile.am:
4307 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4310 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4312 * examples/Makefile.am:
4313 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4316 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4317 when font size > 32 and we pack a focusable widget inside. Actually using
4318 the default response would work too, but since we don't show default
4319 response state in any way (no theming) it would not be visible to the
4320 user. Fixes NB#63430.
4322 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4324 * src/hildon-date-editor.c: Adding the missing variable setter in the
4325 set_property handler. Fixes NB#54182.
4327 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4329 * src/hildon-window.h: Changing the long key press time from 1500ms to
4330 800ms as requested in NB#63700. I have a bad feeling about this, let's
4331 see... Fixes NB#63700.
4333 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4335 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4336 hildon_time_picker_map, hildon_time_picker_realize,
4337 hildon_time_picker_style_set): Split the contents of map to more
4338 appropriate functions; set window decorations on realize and update
4339 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4341 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4346 * debian/changelog: Updating.
4348 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4350 * src/Makefile.am: fixed installation of the header files
4352 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4358 * debian/changelog: Updating.
4360 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4362 * configure.ac: Removing some remaining of --enable-xan.
4364 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4366 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4367 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4369 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4370 2.10.12-osso6 because the move-focus signal needs to be available in
4373 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4375 * examples/Makefile.am:
4376 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4377 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4378 fine. Prolly NB#61128 is fixed now.
4380 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4382 * src/hildon-volumebar.c:
4383 * src/hildon-volumebar.h: Adding the
4384 hildon_volumebar_set_range_insensitive_message and
4385 hildon_volumebar_set_range_insensitive_messagef functions to set
4386 insensitive message on the slider of the volumebar. Fixes NB#61129.
4388 * examples/Makefile.am:
4389 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4390 test the new insensitive messsage functionality on HildonVolumebar.
4392 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4394 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4397 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4399 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4400 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4401 button on after clearing the trail.
4403 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4405 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4407 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4409 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4410 by splitting the installed headers in generated and non-generated groups. Use
4411 only the non-generated headers to create the hildon-enum-types.h file.
4413 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4415 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * src/hildon-window.c: Hide the window before performing the destroy.
4418 Should make the app closing a little tiny bit more snappy.
4420 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4422 * src/hildon-seekbar.c: add gtkrange.h header
4423 * src/hildon-caption.c: remove unused variable
4425 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4427 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4430 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4436 * debian/changelog: Updating.
4438 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4440 * src/hildon-window.c (hildon_window_window_state_event,
4441 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4442 escape timeout on focus-out-event rather than notify::is-topmost; the
4443 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4445 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4447 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4448 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4450 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4452 * src/hildon-window: actually, you need to use the macro always, there's
4453 no private pointer in the instance structure. We should have cleaned this up
4454 when we had the chance...
4456 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4458 * src/hildon-window.c: do not get the private date from HildonWindow before
4459 it passes the g_return_if_fail check. Once it's passed the test, there's no
4460 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4461 if you are only going to access the data once. Whitespace cleanups.
4463 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4465 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4466 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4468 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4474 * debian/changelog: Updating.
4476 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4478 * src/hildon-window.c: When destroying the window, remove (if exists) the
4479 escape timeout handler. Fixes #NB59276.
4481 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4483 * src/hildon-banner.c: When realizing the widget, set the window
4484 transiency. Setting the transiency in the gobject constructor is not
4485 good, as the widget is not realized at that point. Fixes: #NB56624.
4487 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4489 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4490 Add padding for future expansions.
4492 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4494 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4495 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4496 will fake an activation on the previous to the last item of the trail, so
4497 the effect can be overrided by the developer as usual.
4498 Also change the callback for the back button to do the same thing, so its
4499 effect can be overrided too. Fixes: NB#58982
4501 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4503 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4504 HildonCaption. Fixes NB#52379.
4506 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4508 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4509 the internal state of the trail after the user has had the chance of executing
4510 his handler for the signal. Specifically, it may happen that the activated button
4511 is removed and the user still lets the default handler run. This would segfault
4514 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4516 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4517 scrollbar to the preview dialog. Fixes NB#54147.
4519 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4521 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4522 max/min year properties can be altered, so the client can modify it
4523 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4525 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4527 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4528 hildonlike by default. Fixing a problem with disappearing arrows when
4529 scrolling through months and years. Fixes NB#54127.
4531 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4533 * examples/hildon-date-editor-example.c: Adding error callback to the date
4536 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4542 * configure.ac: Updating.
4544 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4546 * configure.ac: Adding a special '--enable-xan' configure option that
4547 turns off the -Werror compilation setting. Usefull for development.
4549 * src/hildon-calendar.c:
4550 * src/hildon-number-editor.c:
4551 * src/hildon-time-picker.c: Adding the 5* multiplier to
4554 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4556 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4557 instead of g_object_ref + gtk_object_sink.
4559 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4565 * debian/changelog: Updating.
4567 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4569 * src/hildon-color-chooser-dialog.c:
4570 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4571 straight from Tommi labs.
4573 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4575 * examples/hildon-finger-example.c: Correcting the header file path.
4577 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4578 the changed signal. Fixes a small memory leak.
4580 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4584 * src/hildon-banner.c: Importing several usefull fixes from the
4585 ubuntu-mobile branch.
4587 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4589 * examples/Makefile.am:
4590 * examples/hildon-finger-example.c: Adding a finger-checking code
4593 * src/hildon-font-selection-dialog.c: Do not allocate the color
4594 structure using the g_new. Fixes NB#54061.
4596 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4598 * src/hildon-helper.c: Correcting tabs in file.
4600 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4602 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4603 control the visibility of the children.
4605 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4607 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4613 * debian/changelog: Updating.
4615 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4617 * src/hildon-bread-crumb-trail.c:
4618 (hildon_bread_crumb_trail_size_allocate):
4620 Make the back button always a square.
4622 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4624 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4625 from the .c file as it's a private file.
4627 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4629 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4630 uses slightly bigger height.
4632 * src/hildon-font-selection-dialog.c: Adding some checks before
4633 freeing memory in the font selection dialog.
4635 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4637 * src/hildon-font-selection-dialog.c: Adding a small check when
4640 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4641 buttons sensitivity on page switching.
4643 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4645 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4646 internal details of adding a bread crumb to the trail.
4648 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4654 * debian/changelog: Updating.
4656 * src/hildon-bread-crumb-trail.h:
4657 * src/hildon-bread-crumb.h: Changing the API guard to
4658 HILDON_ENABLE_UNSTABLE_API.
4660 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4668 * src/hildon-helper.h: Updating.
4670 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4678 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4682 * src/hildon-helper.h: Small fix to make the package actually compile.
4684 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4686 * src/hildon-bread-crumb-trail.h:
4687 * src/hildon-bread-crumb.h:
4689 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4690 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4692 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4694 * examples/hildon-bread-crumb-trail-example.c:
4696 * src/hildon-bread-crumb-trail.c:
4697 * src/hildon-bread-crumb-trail.h:
4698 * src/hildon-bread-crumb.c:
4699 * src/hildon-bread-crumb.h:
4700 * src/hildon-marshalers.list:
4701 * src/hildon-bread-crumb-widget.c:
4702 * src/hildon-bread-crumb-widget.h:
4704 Slight change in the widget design. The bread crumb trail API is
4705 unchanged, but HildonBreadCrumb is now an interface. A *private*
4706 implementation, hildon-bread-crumb-widget, is provided and used
4707 internally by the trail for the push_text/push_icon functions.
4709 The generic push API is still available, so anyone can implement
4710 and use its own bread crumb widget.
4712 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4714 * debian/rules: Fixing the shlibs.
4716 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4718 * src/hildon-banner.c: Fixing a problem with timed banners having
4719 their parrent destroyed before they are.
4721 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4723 * src/hildon-bread-crumb.c:
4724 * src/hildon-bread-crumb.h:
4726 Make the get_natural_size function a vfunc.
4728 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4730 * src/hildon-bread-crumb.c:
4731 * src/hildon-bread-crumb-trail.c:
4735 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4742 * debian/changelog: Updating for release.
4744 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4746 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4747 don't leak the pango layout.
4749 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4752 * examples/hildon-bread-crumb-trail-example.c:
4756 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4758 * debian/changelog: Removing the bug-fixed entries that were actually
4759 resolved as WONTFIX.
4761 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4764 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4766 * src/hildon-bread-crumb-trail.c:
4767 * src/hildon-bread-crumb-trail.h:
4768 * src/hildon-bread-crumb.c:
4769 * src/hildon-bread-crumb.h:
4773 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4775 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4776 until it's passed the type check.
4778 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4780 * examples/hildon-bread-crumb-trail-example.c
4784 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4786 * examples/Makefile.am
4787 * examples/hildon-bread-crumb-trail-example.c
4789 * src/hildon-bread-crumb-trail.c
4790 * src/hildon-bread-crumb-trail.h
4791 * src/hildon-bread-crumb.c
4792 * src/hildon-bread-crumb.h
4794 New HildonBreadCrumbTrail widget.
4796 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4798 * src/hildon-range-editor.c (hildon_range_editor_init),
4799 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4800 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4801 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4802 hildon_time_editor_class_init, hildon_time_editor_init),
4803 src/hildon-get-password-dialog.c (invalid_input,
4804 hildon_get_password_set_property, hildon_get_password_get_property,
4805 create_contents, hildon_get_password_dialog_set_max_characters),
4806 src/hildon-set-password-dialog.c (create_contents),
4807 src/hildon-date-editor.c (hildon_date_editor_init),
4808 src/hildon-login-dialog.c (hildon_login_dialog_init),
4809 src/hildon-number-editor.c (hildon_number_editor_init),
4810 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4811 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4812 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4813 configure option and adding the respective checks in the code.
4814 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4815 hildon_calendar_drag_data_received): fixed some build warnings.
4817 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4819 * debian/changelog: A 1.0.0 release notes.