1 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
5 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
6 (hildon_window_stack_window_realized)
7 (hildon_window_stack_remove, _hildon_window_stack_do_push):
8 Set the leader GdkWindow when a window is stacked and realized,
9 unset it when it's unstacked.
10 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
12 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
14 2008-12-02 Alberto Garcia <agarcia@igalia.com>
16 * src/hildon-stackable-window.h
17 * src/hildon-window-stack.h:
18 Protect definition of HildonWindowStack using the preprocessor.
20 2008-12-02 Alberto Garcia <agarcia@igalia.com>
22 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
23 Fix warning if all menu items are hidden.
25 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
27 Patch contributed by Daniel Borgmann (danielb@openismus.com)
29 * src/hildon-controlbar.c:
30 * src/hildon-hvolumebar.c:
31 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
32 Multiple scale size defines updates.
34 Fixes: NB#94322 (Scale Updates)
36 2008-12-02 Alberto Garcia <agarcia@igalia.com>
38 * examples/hildon-app-menu-example.c (create_menu)
39 Show items after adding them to the menu, as in the future the
40 menu will no longer call gtk_widget_show() on the added items.
42 * src/hildon-app-menu.c:
43 Update example as explained above.
45 2008-12-02 Alberto Garcia <agarcia@igalia.com>
47 * src/hildon-app-menu.c
48 (hildon_app_menu_insert, hildon_app_menu_add_filter):
49 Make sure that all menu items have finger height.
51 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
53 * src/hildon-picker-dialog.c:
54 (_on_dialog_response), (_save_current_selection),
55 (_restore_current_selection), (_clean_current_selection),
56 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
57 Defined new functions in order to save the current internal selector
58 selection previous open the dialog, in case that the use cancel the
59 interaction, so the widget restores the previous selection.
61 Fixes: NB#92032 (In calendar application, date values in 'new event'
64 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
66 2008-11-28 Alberto Garcia <agarcia@igalia.com>
68 * src/hildon-button.c: Add a reference to the button examples in
69 hildon-button-example.c
71 * examples/hildon-button-example.c: Added examples of the most
72 common button layouts.
74 2008-11-28 Alberto Garcia <agarcia@igalia.com>
76 * src/hildon-app-menu.c (hildon_app_menu_show)
77 (hildon_app_menu_class_init): Don't show the menu if it's empty.
79 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
81 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
83 * src/hildon-picker-dialog.c:
84 (hildon_picker_dialog_init): Initialize the signal id for
85 HildonTouchSelector::columns-changed.
86 (+on_selector_columns_changed): Set up the interaction mode everytime a
87 column is added or removed from the HildonTouchSelector.
88 (_hildon_picker_dialog_set_selector): Connect to
89 HildonTouchSelector::columns-changed and keep track of it.
91 Make sure to update the interaction mode of the dialog everytime a
92 column is added or removed in the HildonTouchSelector.
94 Fixes: NB#93228 (Done button is not shown always in listpicker)
96 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
98 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
99 a new ::columns-changed signal.
100 (hildon_touch_selector_append_column): Emit ::columns-changed.
101 (hildon_touch_selector_remove_column): Emit ::columns-changed.
103 Add a ::columns-changed signal, emitted when the number of columns in a
104 HildonTouchSelector changes.
106 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
108 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
109 (_hildon_picker_dialog_set_selector): Factor out the code
110 to set up the dialog interaction mode.
112 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
115 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
116 to signal_changed_id.
118 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
120 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
123 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
125 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
126 Updated the logical ids related to ampm format, as now it is required to
127 show it correctly localized even on languages with no default
128 abbreviations for am or pm
129 (_check_am_pm_format): check correctly the 24h format gconf property
131 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
133 2008-11-27 Alberto Garcia <agarcia@igalia.com>
135 * src/hildon-button.c: Documentation updates.
137 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
139 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
140 * src/hildon-caption.c: (hildon_caption_class_init):
141 * src/hildon-color-button.c: (hildon_color_button_class_init):
142 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
143 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
144 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
145 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
147 Remove deprecated GTK+ marshalers and replace them with the ones
148 provided by GLib, for those available, add a marshaler for
149 BOOLEAN:VOID, which is not available in GLib, and use it.
151 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
153 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
154 the text from the previous column if there is no
155 HildonTouchSelectorColumn::text-property set.
157 2008-11-27 Alberto Garcia <agarcia@igalia.com>
159 * src/hildon-button.h
160 * src/hildon-button.c (hildon_button_set_property)
161 (hildon_button_get_property, hildon_button_class_init)
162 (hildon_button_set_style, hildon_button_get_style):
163 New "style" property to change the visual appearance of the
166 * src/hildon-picker-button.c (hildon_picker_button_new):
167 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
169 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
170 HildonButton look like PickerButton)
172 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
174 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
175 column while building the default string.
177 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
179 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
180 scroll indicator by default.
182 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
184 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
186 * src/hildon-main.c: Fix the documentation for hildon_init()
188 2008-11-25 Alberto Garcia <agarcia@igalia.com>
190 * doc/hildon-docs.sgml
194 * src/hildon-window-stack-private.h
195 * src/hildon-window-stack.h
196 * src/hildon-window-stack.c:
197 New HildonWindowStack object, that adds support for multiple
198 stacks of windows per process.
200 * src/hildon-stackable-window-private.h
201 * src/hildon-stackable-window.h
202 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
203 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
204 (hildon_stackable_window_show, hildon_stackable_window_hide)
205 (hildon_stackable_window_class_init)
206 (hildon_stackable_window_init):
207 Use HildonWindowStack for stack management.
209 * src/hildon-program.c (hildon_program_pop_window_stack)
210 (hildon_program_peek_window_stack)
211 (hildon_program_go_to_root_window):
212 Add a fallback implementation to the deprecated functions using
215 * examples/hildon-stackable-window-example.c:
216 Use the new HildonWindowStack API.
218 2008-11-25 Alberto Garcia <agarcia@igalia.com>
220 * src/hildon-stackable-window-private.h
221 * src/hildon-stackable-window.c (hildon_stackable_window_show)
222 (hildon_stackable_window_hide, hildon_stackable_window_init):
223 Remove all window stack management.
225 * src/hildon-program-private.h
226 * src/hildon-program.h
227 * src/hildon-program.c (hildon_program_init)
228 (hildon_program_pop_window_stack)
229 (hildon_program_peek_window_stack)
230 (hildon_program_go_to_root_window):
231 Remove all window stack management and mark functions as
234 2008-11-25 Alberto Garcia <agarcia@igalia.com>
236 * src/hildon-app-menu.c (hildon_app_menu_realize):
237 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
239 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: post release version bump
242 * debian/changelog: version bump
244 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: bump version
250 * debian/changelog: updates
252 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
254 Based on initial code by Christian Dywan (christian@imendio.com)
256 * doc/hildon-docs.sgml: Add section for hildon-main.
257 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
258 * src/Makefile.am: Add new hildon-main.[ch]
259 * src/hildon-defines.h: Update the icon sizes.
260 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
261 new library initialization files and register icon sizes.
262 * src/hildon-main.h: New declarations.
263 * src/hildon.h: Include hildon-main.h
265 Add new initialization functions to the library. These methods
266 will register the hildon specific icon sizes and can be used in the
267 future for other hildon specific bits.
269 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
271 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-window.c: (hildon_window_realize),
274 (hildon_window_notify), (-hildon_window_update_title): Do not set
275 the application name in the window title.
277 Fixes: NB#89754 (Applications shouldn't display their names in the
280 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
282 * src/hildon-note-private.h:
283 * src/hildon-note.c: (hildon_note_set_property),
284 (hildon_note_get_property), (hildon_note_class_init),
285 (hildon_note_init), (hildon_note_finalize),
286 (hildon_note_new_confirmation_with_icon_name),
287 (hildon_note_new_information_with_icon_name):
289 No need to mark as deprecated the actual code. Revert
290 to avoid missing symbols in widgets using deprecated API.
292 2008-11-20 Alberto Garcia <agarcia@igalia.com>
294 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
296 * src/hildon-volumebar.h
297 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
298 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
300 * src/hildon-helper.h
301 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
302 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
304 * examples/Makefile.am:
305 Deprecate hildon-insensitive-example
307 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
309 2008-11-20 Alberto Garcia <agarcia@igalia.com>
311 * examples/hildon-pannable-area-buttons-scroll-example.c:
312 Make all buttons finger height
314 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
316 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
318 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
319 update the day model only if it is really required, and to avoid the
320 full-reconstruction aproach. Now it only add or remove the required days.
322 The purpose of this is avoid superfluous HildonTouchSelector::changed
325 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
326 with strange parameters)
328 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
330 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
332 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
333 the WINDOW_TYPE property.
335 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
337 2008-11-19 Alberto Garcia <agarcia@igalia.com>
340 Fix dependency to allow parallel compilation with make -jX
342 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
344 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
345 color frame and some minor tweaks to make it more consistent with
348 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
349 highlighted but not visible)
351 2008-11-14 Alejandro G. Castro <alex@igalia.com>
353 * examples/Makefile.am: Fixed typo in the Makefile.am.
355 2008-11-14 Alejandro G. Castro <alex@igalia.com>
357 Reviewed the use of MAEMO_GTK define, now we add the define in the
358 compilation line, and we also add it to the pc file.
360 * configure.ac: Added MAEMO_GTK define to the compilation command
361 and removed it from the config.h.
363 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
364 do not have to take care about this define if the library was
368 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
370 2008-11-14 Alejandro G. Castro <alex@igalia.com>
372 * examples/Makefile.am,
373 * examples/hildon-pannable-area-buttons-scroll-example.c,
374 * examples/hildon-pannable-area-gesture-signals-example.c,
375 * examples/hildon-pannable-area-scroll-jump-example.c,
376 * examples/hildon-pannable-area-tree-view-example.c:
377 Renamed the pannable area examples, now they have more meaningful
380 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
382 * src/hildon-touch-selector.c:
383 (hildon_touch_selector_set_column_selection_mode): Used of
384 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
385 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
386 to avoid re-seting the same selection mode.
388 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
389 breaks HildonPickerDialog)
391 2008-11-13 Alejandro G. Castro <alex@igalia.com>
393 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
394 conditional in the Makefile.am
396 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
398 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
399 Remove unused methods.
401 2008-11-12 Alberto Garcia <agarcia@igalia.com>
403 * src/hildon-button.c (hildon_button_init):
404 Make button images center-aligned by default
406 2008-11-12 Alejandro G. Castro <alex@igalia.com>
409 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
410 activated, we have to think about how to deal with both defines
411 MAEMO_GTK and MAEMO_CHANGES.
413 2008-11-12 Alberto Garcia <agarcia@igalia.com>
415 * examples/hildon-app-menu-example.c (create_menu): Make all
418 2008-11-11 Alejandro G. Castro <alex@igalia.com>
420 Fixed the compilation without maemo gtk adding ifdefs with
421 MAEMO_GTK define to the code, we have to check this version more
424 * examples/Makefile.am: Added control to avoid some examples that
425 just make sense with maemo gtk.
428 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
429 hildon modes with the define.
431 * examples/hildon-edit-toolbar-example.c,
432 (create_icon_view): Create the icon view without hildon-gtk
433 helpers if we are not using maemo gtk.
435 * src/hildon-touch-selector.c,
436 (_create_new_column): Create the treeview without hildon-gtk
437 helpers if we are not using maemo gtk.
439 2008-11-11 Alejandro G. Castro <alex@igalia.com>
441 * src/hildon-pnnable-area.c,
442 (hildon_pannable_area_dispose),
443 (hildon_pannable_area_button_press_cb),
444 (hildon_pannable_area_child_mapped),
445 (hildon_pannable_area_add),
446 (hildon_pannable_area_remove): Added code to control the position
447 of the event_window when adding and removing children from the
448 pannable. We have to raise the event window when the child is
451 Fixes: NB#89811 (Not able to select first image thumbnail in multi
452 selection mode using custom widget inside pannable)
454 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
456 * configure.ac: post release version bump
457 * debian/changelog: version bump
459 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
464 * configure.ac: bump version
465 * debian/changelog: updates
467 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
469 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
470 search mode, in order to avoid lose the focus on the treeview when
471 a hw key (like enter) is pressed.
473 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
474 in HildonDateSelector dialog)
476 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
478 * debian/rules: Added --enable-maintainer-mode
479 * Makefile.am: Added ACLOCAL_AMFLAGS
481 This allows to properly regenerate the Makefiles if you modify the
482 configure.ac or any Makefile.am.
484 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
486 * examples/hildon-app-menu-example.c: (main): Do not set RC style
487 properties, not needed at all.
489 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
491 * src/hildon-note-private.h: Add strings for the icon and stock_icon
493 * src/hildon-note.c: (hildon_note_set_property),
494 (hildon_note_get_property), (hildon_note_class_init),
495 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
496 (hildon_note_new_confirmation_add_buttons): Remove icons.
497 (hildon_note_new_confirmation_with_icon_name): Deprecate.
498 (hildon_note_new_information_with_icon_name): Deprecate.
499 (hildon_note_new_confirmation): Act directly, without calling
500 the deprecated constructor.
501 (hildon_note_new_information): Act directly, without calling
502 the deprecated constructor.
503 * src/hildon-note.h: Mark deprecate methods as such.
504 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
505 not run tests on the deprecated methods if built with deprecation
508 Fixes: NB#91688 (Never show icons in information notes/confirmation
511 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
513 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
514 (hildon_app_menu_key_press): Remove leftover usage of the
515 private structure in HildonAppMenu struct.
516 * src/hildon-app-menu.h: Remove leftover private structure
517 from the HildonAppMenu struct.
519 Fixes a crasher when using the HildonAppMenu.
521 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
523 * src/hildon-picker-dialog.c: Use appropriate logical id
524 for the default "Done" text.
526 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
528 * configure.ac: post release version bump
529 * debian/changelog: version bump
531 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
533 Modified the way to scroll to the current selection just when the touch
534 selector is shown on the screen, avoiding a g_idle. Added too a property
535 to configure this behaviour. See hildon_pannable_area_jump_to_child
536 documentation for more information.
538 * src/hildon-touch-selector.c
539 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
540 Added 'initial-scroll' property
541 (hildon_touch_selector_set_property): Added
542 (hildon_touch_selector_map): Removed as not required anymore
543 (_hildon_touch_selector_on_selected_items): Modified in order to manage
544 only a concrete column, instead of iterate along all the columns
546 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
551 * configure.ac: bump version
552 * debian/changelog: updates
554 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
556 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
557 compilation time warnings.
559 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
561 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
562 the default value for HildonPannableArea::mov-mode to
563 HILDON_PANNABLE_AREA_MODE_VERT.
565 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
567 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
569 Reverting following commit:
571 2008-10-13 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-app-menu-private.h
574 * src/hildon-app-menu.[ch]
575 * src/hildon-button.[ch]
576 * src/hildon-check-button.[ch]
577 * src/hildon-entry.[ch]
578 * src/hildon-pannable-area.[ch]
579 * src/hildon-text-view.[ch]:
580 Added private field to the object's structure.
582 because it causes an ABI breakage. We will need to introduce these
583 changes later at some point. See NB#91636 for an extensive
584 explanation and status.
586 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
588 Patch contributed by Daniel Borgmann (danielb@openismus.com)
590 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
591 remove special cases that are no longer necessary.
593 Fixes: NB#91016 (Change toolbar sizes, simplification)
595 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
597 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
598 is shown in the cancel note.
600 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
602 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
603 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
604 (hildon_seekbar_init): Remove steppers, remove expose event.
605 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
607 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
609 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
612 label font to "SmallSystemFont" for vertically arranged buttons.
614 Fixes: NB#90662 (HildonButton "value" and "detail" text is
617 2008-10-31 Alberto Garcia <agarcia@igalia.com>
619 * src/hildon-check-button.c
620 (hildon_check_button_set_active, hildon_check_button_clicked):
621 Don't access private parts directly, use getters instead.
623 2008-10-31 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-check-button.c (hildon_check_button_new):
626 Align the contents of the check button to the left.
628 2008-10-30 Alejandro G. Castro <alex@igalia.com>
630 * src/hildon-pannable-area.c,
631 (hildon_pannable_area_scroll_to),
632 (hildon_pannable_area_jump_to),
633 (hildon_pannable_area_scroll_to_child),
634 (hildon_pannable_area_jump_to_child): Replace the mapped
635 precondition of these functions with the realized, it is the
636 correct state of the widget in this case. Changed the
637 documentation according to this modification.
639 2008-10-30 Alejandro G. Castro <alex@igalia.com>
641 Added a new EXTRA_CFLAGS option to add the deprecated define to
642 the compilation command. This way we can avoid using the define in
643 the documentation compilation.
645 * configure.ac: Defined EXTRA_CFLAGS.
647 * examples/Makefile.am:
649 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
651 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
653 * src/hildon-picker-dialog.c:
654 Defined a utility macro with the desired touch selector height
655 Removed currently unused separator, and title_label variables from
657 (hildon_picker_dialog_init): Removed code related to the creation
658 of unused private variables title_label and separator.
659 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
660 to ensure correct visualization of the touch selector inside the dialog.
661 * src/hildon-touch-selector.c
662 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
663 ensure a concrete height of the widget.
665 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
670 Remove spurious whitespaces.
672 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
674 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
675 compilation warning after the cancel button removal.
677 2008-10-30 Alejandro G. Castro <alex@igalia.com>
679 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
681 * configure.ac: Added an AM_CONDITIONAL in order to use in the
682 Makefile.am, that way we can choose not to compile some examples
683 and tests of the deprecated widgets.
685 * examples/Makefile.am: Divided the sources in deprecated and
688 * src/Makefile.am: Added undef statement of the deprecated
689 symbol to the enums file generation process.
691 * src/hildon-color-chooser-dialog.c
692 * src/hildon-color-chooser-dialog.h
693 * src/hildon-color-button.c
694 * src/hildon-color-button.h
695 * src/hildon-color-chooser.c
696 * src/hildon-color-chooser.h
697 * src/hildon-controlbar.c
698 * src/hildon-controlbar.h
699 * src/hildon-date-editor.c
700 * src/hildon-date-editor.h
701 * src/hildon-hvolumebar.c
702 * src/hildon-hvolumebar.h
703 * src/hildon-private.c
704 * src/hildon-private.h
705 * src/hildon-range-editor.c
706 * src/hildon-range-editor.h
707 * src/hildon-seekbar.c
708 * src/hildon-seekbar.h
709 * src/hildon-time-editor.c
710 * src/hildon-time-editor.h
711 * src/hildon-time-picker.c
712 * src/hildon-time-picker.h
713 * src/hildon-volumebar.c
714 * src/hildon-volumebar.h
715 * src/hildon-vvolumebar.c
716 * src/hildon-vvolumebar.h
717 * src/hildon-bread-crumb-trail.h
718 * src/hildon-bread-crumb-trail.c
719 * src/hildon-calendar-popup.c
720 * src/hildon-calendar-popup.h
721 * src/hildon-weekday-picker.c:
722 * src/hildon-weekday-picker.h:
723 * src/hildon-bread-crumb-widget.c:
724 * src/hildon-bread-crumb-widget.h:
725 * src/hildon-bread-crumb.c:
726 * src/hildon-bread-crumb.h:
727 * src/hildon-calendar.c:
728 * src/hildon-calendar.h:
729 * src/hildon-caption.c:
730 * src/hildon-code-dialog.c:
731 * src/hildon-code-dialog.h:
732 * src/hildon-font-selection-dialog.c:
733 * src/hildon-font-selection-dialog.h:
734 * src/hildon-get-password-dialog.c:
735 * src/hildon-get-password-dialog.h:
736 * src/hildon-login-dialog.c:
737 * src/hildon-login-dialog.h:
738 * src/hildon-number-editor.c:
739 * src/hildon-number-editor.h:
740 * src/hildon-set-password-dialog.c:
741 * src/hildon-set-password-dialog.h:
742 * src/hildon-sort-dialog.c:
743 * src/hildon-sort-dialog.h: This is the list of deprecated
746 * src/hildon-touch-selector.c:
747 * src/hildon-window.c: Added undef statement to avoid compilation
750 * tests/Makefile.am: Divided the sources in deprecated and
753 * tests/check_test.c,
754 (configure_tests): Marked the deprecated code that was adding
755 suites with deprecated tests.
757 Fixes: NB#91135 (Deprecate legacy hildon widgets)
759 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-touch-selector.c: (_default_print_func): Do not
762 duplicate a string returned by gtk_tree_model_get(), it is already
765 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
768 2008-10-28 Alejandro G. Castro <alex@igalia.com>
770 * src/hildon-pannable-area.c
771 (hildon_pannable_area_add_with_viewport): Reviewed the complete
772 method, it had problems when adding a widget with viewport the
773 second time. Now checks if it already has a viewport and uses it.
775 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
778 2008-10-28 Alejandro G. Castro <alex@igalia.com>
780 * src/hildon-pannable-area.c,
781 (hildon_pannable_area_scroll_to),
782 (hildon_pannable_area_jump_to),
783 (hildon_pannable_area_scroll_to_child),
784 (hildon_pannable_area_jump_to_child): Added a precondition to the
785 scroll and jump to functions: the widget must be mapped before we
786 can safely call these functions. We have also added documentation
787 to the functions to explain how to use them in this situation.
790 2008-10-28 Alejandro G. Castro <alex@igalia.com>
792 Reviewed the threading handling of the pannable widget, we have
793 used the gdk_threads_add_timeout function instead of the usual
794 glib handlers. This avoids some problems with the threads.
796 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
797 (hildon_pannable_area_initial_effect),
798 (hildon_pannable_area_scroll_indicator_fade),
799 (hildon_pannable_area_button_press_cb),
800 (hildon_pannable_area_timeout),
801 (hildon_pannable_area_motion_notify_cb),
802 (hildon_pannable_area_button_release_cb),
803 (hildon_pannable_area_scroll_cb),
804 (hildon_pannable_area_scroll_to): Removed the
805 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
806 gdk_threads_add_timeout.
808 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
810 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
815 * configure.ac: bump version
816 * debian/changelog: updates
818 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
820 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
821 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
822 * src/hildon-color-chooser-dialog.c:
823 (hildon_color_chooser_dialog_init):
824 * src/hildon-font-selection-dialog.c:
825 (hildon_font_selection_dialog_init):
826 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
828 Remove all cancel/close-like dialogs, as these are not going to be
831 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
833 * src/hildon-note.c: (hildon_note_rebuild),
834 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
837 Fixes: NB#90661 (Delete dialog is displayed without NO button)
839 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
842 sure all buttons are shown, even the Cancel/Close-like ones.
844 Fixes: NB#90861 (Custom Confirmation dialogs should be
845 protected from cancel button removal)
847 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
849 * debian/control: Change libhildon1-examples dependency from libhildon1
851 * debian/libhildon1-examples.install
853 * Makefile.am: Modified the final install directory for the examples on
854 package libhildon1-examples
855 * Makefile.static: Update clean target in order to remove all the binary
858 Changes suggested by Claudio after review new libhildon1-examples package
860 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
862 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
863 * src/hildon-touch-selector.c: Ditto.
865 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
867 * debian/control: Added new package libhildon1-examples, in order to pack
868 the current hildon examples as documentation
869 * debian/rules: Not to compress .c files, modify some includes on the
870 examples (as normally are compiled locally, but when installed it will
871 require to include the installed libhildon1 library), and rename
873 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
874 install all the example files on the new example package
875 * examples/Makefile.static: Added static makefile that can be used to
876 compile the examples, once installed the new example package
877 * examples: Most of the examples were modified in order to grant that
878 all use only '#include "hildon.h"', in order to be easy to prepare
879 it on the example package
881 2008-10-23 Alberto Garcia <agarcia@igalia.com>
884 * debian/libhildon1-dev.install
885 * debian/libhildon1-doc.install:
886 Move all gtk-doc files to a separate libhildon1-doc package.
888 2008-10-23 Daniel Borgmann <danielb@openismus.com>
890 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
892 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
894 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
896 * debian/rules: Fixed a error in order to avoid unnecessary calls
897 to autogen.sh on package building
899 2008-10-22 Alberto Garcia <agarcia@igalia.com>
901 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
903 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
905 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
908 2008-10-21 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-picker-button.c
911 (hildon_picker_button_finalize):
912 Free priv->done_button_text
914 * src/hildon-time-button.c
915 (hildon_time_button_set_time)
916 * src/hildon-picker-button.c
917 (hildon_picker_button_clicked)
918 (hildon_picker_button_selector_selection_changed)
919 (hildon_picker_button_set_selector)
920 * src/hildon-date-button.c
921 (hildon_date_button_set_date):
922 Free strings returned by hildon_touch_selector_get_current_text()
924 * src/hildon-button.c (hildon_button_construct_child):
925 Fix leaks in priv->image and priv->label_box
927 Fixes: NB#90535 (Memory leak in picker button)
929 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
931 * src/hildon-button.c: (hildon_button_get_property): Do not access
932 private elements directly, use getters instead.
934 2008-10-20 Alberto Garcia <agarcia@igalia.com>
936 * src/hildon-app-menu-private.h
937 * src/hildon-app-menu.c
938 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
939 Store the menu's parent window.
941 * src/hildon-stackable-window.c
942 (hildon_stackable_window_toggle_menu)
943 (hildon_stackable_window_finalize):
944 Set the menu's parent window when the menu is shown, unset it when
947 * src/hildon-app-menu.c
948 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
949 (hildon_app_menu_class_init):
950 Send unhandled keyboard accelerators to the parent window.
952 2008-10-20 Alberto Garcia <agarcia@igalia.com>
954 * src/hildon-stackable-window.c
955 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
957 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
959 * configure.ac: post release version bump
961 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
964 * configure.ac: Bump version
965 * debian/changelog: Updates
966 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
969 2008-10-20 Alberto Garcia <agarcia@igalia.com>
971 Patch contributed by Daniel Borgmann (danielb@openismus.com)
974 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
975 GtkMenu with Hildon style.
977 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
979 * src/hildon-picker-button.c:
980 (hildon_picker_button_set_done_button_text): Set the dialog's
981 done button text here as well.
983 Fixes: NB#90232 (Picker button does not set the label on done button
986 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
988 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
991 2008-10-16 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-app-menu.c (hildon_app_menu_insert)
994 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
995 the HildonAppMenu to be activatable using keyboard accelerators
996 when the menu is not being shown.
998 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
1000 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1002 * src/hildon-stackable-window.c
1003 (hildon_stackable_window_show):
1004 Don't hide old windows automatically when new windows are shown:
1005 this is now a task for the window manager.
1006 (hildon_stackable_window_class_init)
1007 (hildon_stackable_window_hide):
1008 Remove windows from the stack everytime they're hidden.
1009 (hildon_stackable_window_realize):
1010 Don't change the _NET_WM_WINDOW_TYPE property. Use
1011 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
1012 it as a stackable window.
1014 * src/hildon-program.c
1015 (hildon_program_pop_window_stack):
1016 Just hide the window to remove it from the stack.
1017 (hildon_program_go_to_root_window):
1018 Don't call gtk_widget_show(), this is now a task for the window
1021 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
1023 2008-10-15 Alberto Garcia <agarcia@igalia.com>
1025 * src/hildon-button.c
1026 (hildon_button_construct_child):
1027 Don't pack anything in the button until text or image are
1028 set. This allows adding a custom child after creating the button
1029 with hildon_button_new().
1030 (hildon_button_finalize, hildon_button_class_init)
1031 (hildon_button_init, hildon_button_set_arrangement): Destroy the
1032 alignment and the label box even when they're not packed in the
1035 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
1037 * src/hildon-touch-selector.h:
1038 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
1039 currently the type definition was using GTK_TYPE_VBOX
1040 * src/hildon-touch-selector.c:
1041 Added some implementation notes in order to clarify that any other widget
1042 added without the column related API will not be included on the
1043 selection logic, and how the widget is freed, as some people ask about
1045 (hildon_touch_selector_remove): Reimplemented in order to free properly
1046 the column related data when you remove the private hbox.
1047 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1048 to get a proper HildonTouchSelectorColumn documentation
1050 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1052 * src/hildon-touch-selector-entry.c:
1053 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1054 text in the GtkEntry and there is no item selected. Fixes a
1057 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1059 * src/hildon-app-menu-private.h
1060 * src/hildon-app-menu.[ch]
1061 * src/hildon-button.[ch]
1062 * src/hildon-check-button.[ch]
1063 * src/hildon-entry.[ch]
1064 * src/hildon-pannable-area.[ch]
1065 * src/hildon-text-view.[ch]:
1066 Added private field to the object's structure.
1068 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1070 * configure.ac: post-release version bump
1072 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1076 * configure.ac: pre-release version bump
1078 * debian/changelog: updates.
1080 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1083 Disconnect the handler for HildonTouchSelector::changed.
1085 (hildon_picker_button_selector_selection_changed): Update the button
1086 value if the selection change was not triggered by the
1089 (hildon_picker_button_set_selector): connect to
1090 HildonTouchSelector::changed.
1092 Fixes: NB#89650 (Picker button is not updated, when selection in
1093 selector has changed)
1095 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1097 * src/hildon-picker-dialog.c
1098 (hildon_picker_dialog_realize): Removed as not required
1099 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1100 * src/hildon-picker-button.c
1101 (_current_selector_empty): New function, checks if the selector is empty
1102 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1103 if the current selector is empty, in order to avoid to show the dialog
1104 close the dialog in this case (and shows a g_warning).
1106 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1108 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1110 * src/hildon-pannable-area.c,
1111 (hildon_pannable_area_scroll): Added clause to stop movement when
1112 the child of pannable is smaller than one page.
1113 (hildon_pannable_area_scroll_to): Added conditions to avoid
1114 starting the scrolling movement if the child is smaller than one
1115 page, the complete child is in the screen, we do not have to move.
1117 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1119 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1122 this is managed automatically by the widget when the size of the
1125 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-picker-button.c
1128 (hildon_picker_button_set_done_button_text): Make a copy of the
1129 text, and free the previous value.
1131 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1133 * src/hildon-touch-selector-entry.c:
1134 (hildon_touch_selector_entry_print_func): Return the selected row's
1135 text if the entry is empty.
1137 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1140 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1142 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1144 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1147 * src/hildon-check-button.h
1148 * src/hildon-check-button.c
1149 * examples/hildon-check-button-example.c:
1150 HildonCheckButton is now a new widget. 'toggled' signal added.
1152 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-program-private.h
1155 * src/hildon-program.c (hildon_program_init)
1156 (hildon_program_finalize): Removed unused variables group_leader
1157 and name from HildonProgramPrivate.
1159 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-check-button.c (hildon_check_button_set_active)
1162 (hildon_check_button_get_active, hildon_check_button_new): Use
1163 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1165 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1167 * src/hildon-touch-selector.h
1168 (hildon_touch_selector_set_column_attributes): added deprecation
1169 guard HILDON_DISABLE_DEPRECATED
1170 * src/hildon-time-selector.c
1171 (hildon_time_selector_set_time)
1172 (hildon_time_selector_get_time): Fixed a typo on documentation
1173 * src/hildon-touch-selector.c: update HildonTouchSelector and
1174 HildonTouchSelectorColumn documentation
1175 * src/hildon-touch-selector-entry.c: update "text-column" property
1177 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1178 to be added to the general documentation.
1180 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1182 * examples/hildon-pannable-area-example-4.c,
1184 * examples/hildon-pannable-area-example.c,
1185 (main): Modified the code in order to use the container add, with
1186 viewport treeviews could have problems if they are really big.
1188 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1190 * src/hildon-weekday-picker.c,
1191 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1192 the agreement regarding deprecation in the library.
1194 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1196 * examples/hildon-picker-button-multicolumn-example.c:
1197 (main): Use custom "done" button text.
1199 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1200 (hildon_picker_button_set_property),
1201 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1202 (hildon_picker_button_init),
1203 (+hildon_picker_button_get_done_button_text),
1204 (+hildon_picker_button_set_done_button_text): New methods to customize
1205 the "done" button label in the launched HildonPickerDialog. Also,
1208 * src/hildon-picker-button.h: add the public API.
1210 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1212 * src/hildon-date-selector.h:
1213 * src/hildon-picker-dialog.h:
1214 * src/hildon-time-selector.h:
1215 * src/hildon-touch-selector-column.h:
1216 * src/hildon-touch-selector.h:
1218 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1219 declarations. Fixes gtk-doc warnings.
1221 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1223 * src/hildon-picker-dialog.h
1224 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1225 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1227 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1228 long text is set as label for done button)
1230 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-dialog.c (hildon_dialog_add_button):
1233 Set fixed width to all buttons in the HildonDialog.
1235 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1237 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1239 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1240 Set widget name using class name plus "-finger" or "-thumb".
1242 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1244 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1245 'clicked' when the state of the button is manually changed.
1247 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-app-menu.c (hildon_app_menu_realize)
1250 (hildon_app_menu_unrealize, hildon_app_menu_init)
1251 (hildon_app_menu_class_init, item_visibility_changed):
1252 Change the menu layout when the size of the screen changes.
1253 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1254 Show warning only when changing the number of colums using the
1257 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1259 * debian/compat: Set to 5
1260 * debian/control: Update dependencies.
1261 * debian/libhildon1-dbg.install: Remove.
1262 * debian/libhildon1-dev.install: Update according to cdbs paths.
1263 * debian/libhildon1.install: Update according to cdbs paths.
1264 * debian/rules: Switch to cdbs.
1266 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1268 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1269 'item' variable renamed to 'filter'
1271 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-app-menu.c (hildon_app_menu_insert)
1274 (hildon_app_menu_add_filter, remove_item_from_list)
1275 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1276 Don't leak hidden items when the menu is destroyed.
1278 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1280 * src/hildon-app-menu.c (hildon_app_menu_insert)
1281 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1282 (hildon_app_menu_set_columns, item_visibility_changed)
1283 (filter_visibility_changed, hildon_app_menu_repack_filters)
1284 (hildon_app_menu_repack_items):
1285 Repack items and filters separately.
1287 Don't repack all items, change only the ones that are needed to
1290 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1292 * src/Makefile.am: added hildon-touch-selector-column.h
1294 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1296 * src/hildon-touch-selector.c: added the property "text-column" to the
1297 class HildonTouchSelectorColumn, and related get/set functions
1298 (_default_printf_func): updated to use "text-column" property
1299 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1300 "text-column" in his documentation, as this is now included on
1301 HildonTouchSelectorColumn. The get/set_property can still be used,
1302 working as a wrapper to the concrete column "text-column" property
1303 (_text_column_modified): callback added in order to handle the signal
1304 "notify::text-column" of the concrete HildonTouchSelectorColumn
1305 (hildon_touch_selector_entry_get_text_column)
1306 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1307 modified in order to use the HildonTouchSelectorColumn "text-column"
1309 * src/hildon-time-selector.c:
1310 * src/hildon-date-selector.c:
1311 * examples/hildon-touch-selector-example.c
1312 * examples/hildon-touch-selector-multi-cells-example.c
1313 * examples/hildon-picker-button-multicolumn-example.c
1314 Set the right value to "text-column" property on the creation of a new
1315 column using hildon_touch_selector_append_column()
1317 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1319 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-app-menu.c
1322 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1323 updating the layout of the menu, don't create all widgets again,
1324 just repack the items in their new places.
1326 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1328 * src/hildon-time-selector.c
1329 (hildon_time_selector_get_time)
1330 (hildon_time_selector_set_time)
1331 Added documentation of these public methods
1333 * src/hildon-date-button.h
1334 * src/hildon-touch-selector-column.h
1335 * src/hildon-time-button.h
1336 * src/hildon-picker-dialog.h
1337 * src/hildon-time-selector.h
1338 * src/hildon-picker-button.h
1339 * src/hildon-touch-selector.h
1340 * src/hildon-time-picker.h
1341 * src/hildon-date-selector.h
1342 * src/hildon-touch-selector-entry.h
1343 Modified in order to use hildon-widgets code style
1345 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1347 Added deprecated support to the compilation process using
1348 HILDON_DISABLE_DEPRECATED
1350 * configure.ac: Added the --disable-deprecated to the configure
1353 * src/hildon-weekday-picker.c:
1354 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1355 to use the deprecated support. We will update the other deprecated
1356 widgets status in a new patch.
1358 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1360 * configure.ac: Fixed typo with fatal warnings support, the
1361 variable name was not correct
1363 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1365 * src/hildon-app-menu.c
1366 * src/hildon-program.c: Update documentation.
1368 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1370 * configure.ac: Post-release version bump.
1372 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1377 * configure.ac: Pre-release version bump.
1378 * debian/changelog: Updates.
1380 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1382 * NEWS: Update news for previous releases.
1384 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1386 * examples/hildon-touch-selector-multi-cells-example.c:
1387 (create_selector): Update the example to use
1388 hildon_touch_selector_append_column() with a NULL renderer and set
1389 the renderers later.
1390 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1391 passed a NULL renderer. This is documented behavior now.
1393 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1394 This must be used if the developer wants full control on the layout of
1395 the renderers to be added to the column.
1397 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1399 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/hildon-touch-selector.c: Documentation fixes.
1403 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-wizard-dialog-private.h: Remove image and box.
1406 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1407 (hildon_wizard_dialog_set_property), (response): Completely remove
1408 image/icon support, and the containers required for the layout.
1410 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1412 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-app-menu.c: Updated documentation.
1416 * src/hildon-stackable-window.c
1417 (hildon_stackable_window_set_main_menu): Unref the old menu after
1418 ref'ing the new one.
1420 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1422 * src/hildon-stackable-window.c
1423 (hildon_stackable_window_set_main_menu): Unref the previous menu
1424 instead of destroying it.
1426 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1427 floating reference and set has_user_ref_count to FALSE to make
1428 HildonAppMenu act like a normal ref-counted widget and not a
1431 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1434 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1436 * src/hildon-touch-selector-column.h: new file
1437 * src/hildon-touch-selector.h
1438 * src/hildon-touch-selector.c
1439 Implemented GtkCellLayout interface, in order to allow to configure
1440 the cell layout on each individual selector column
1441 (hildon_touch_selector_set_column_attributes): marked as deprecated
1442 * examples/hildon-touch-selector-multi-cells-example.c
1443 Example of how to use the GtkCellLayout interface on the selector
1445 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1447 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-app-menu.h
1450 * src/hildon-app-menu.c
1451 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1452 (hildon_app_menu_append, hildon_app_menu_prepend):
1453 New methods to prepend, insert and move items in the menu.
1455 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1457 * src/hildon-wizard-dialog.c:
1459 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1461 (create_title): Update logical IDs and related code.
1462 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1464 * src/hildon-wizard-dialog.h: Note that
1465 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1466 point, as it is not used anymore.
1468 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1470 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1472 * src/hildon-note.c:
1473 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1474 shown. Do not display an icon in confirmation notes nor information
1476 (hildon_note_set_button_text): Update logical ID for cancel button.
1478 Fixes: NB#88850 (Update HildonNote button strings + signals)
1480 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-stackable-window.c
1483 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1485 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1487 * src/hildon-app-menu-private.h
1488 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1489 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1490 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1491 temporary property 'columns' to change the number of columns.
1493 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1495 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1497 * examples/hildon-note-example.c: (on_information_clicked),
1498 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1499 debugging information.
1500 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1502 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1503 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1504 in order to close: this will be handled by the WM from now on.
1506 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1508 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1510 * src/hildon-app-menu-private.h
1511 * src/hildon-app-menu.c
1512 (hildon_app_menu_append, hildon_app_menu_add_filter)
1513 (button_visibility_changed, hildon_app_menu_apply_style)
1514 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1515 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1516 layout everytime a button (item or filter) is shown or hidden.
1518 * src/hildon-stackable-window.c
1519 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1522 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1524 * src/hildon-touch-selector.c:
1525 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1526 that the treeview inside the touch selector is in fremantle hildon mode
1527 * examples/hildon-date-button-example.c
1528 * examples/hildon-picker-button-multicolumn-example.c
1529 * examples/hildon-touch-selector-entry-example.c
1530 * examples/hildon-touch-selector-example.c
1531 * examples/hildon-time-button-example.c
1532 * examples/hildon-picker-button-example.c:
1533 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1535 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1537 * examples/hildon-text-view-example.c: (main): Remove the
1538 gtkrc bits, now handled by the theme.
1540 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1545 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1547 * po/Makefile.am: Install properly the mo files.
1548 * po/en_GB.po: Update translation, to ease testing purposes.
1550 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1552 * examples/hildon-picker-button-example.c: (main): Select an item
1553 in the selector before setting it to the button.
1555 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1558 Update button's value if the selector has an item active.
1560 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1561 'value' with the selector)
1563 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1565 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1566 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1567 (hildon_picker_button_class_init): Plug the finalize method.
1568 (hildon_picker_button_set_selector): If there's a previously set
1569 selector, unref'it before setting a new one.
1571 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1572 HildonTouchSelector)
1574 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-touch-selector-entry.c:
1577 (hildon_touch_selector_entry_changed): Check if there is no text
1578 selected before setting the entry text.
1581 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1583 * src/hildon-touch-selector.h
1584 * src/hildon-touch-selector.c
1585 (hildon_touch_selector_get_active)
1586 (hildon_touch_selector_set_active): New methods to set/get the
1587 index of the selected item.
1589 * src/hildon-picker-button.h
1590 * src/hildon-picker-button.c
1591 (hildon_picker_button_get_active)
1592 (hildon_picker_button_set_active): New methods to set/get the
1593 index of the selected item.
1595 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1597 * configure.ac: post-release version bump.
1599 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1603 * configure.ac: Pre-release version bump.
1604 * debian/changelog: Updates.
1605 * debian/control: Add myself as maintainer and depend on l10n
1608 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-window.c
1611 (hildon_window_set_main_menu)
1612 * src/hildon-stackable-window.c
1613 (hildon_stackable_window_set_main_menu):
1614 Updated documentation.
1616 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1619 Don't free selector->priv manually.
1622 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1625 (hildon_gtk_window_set_progress_indicator):
1626 * src/hildon-gtk.h: Added the new API
1627 hildon_gtk_window_set_progress_indicator, it changes the state of
1628 the window progress hint.
1630 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-button.c
1633 * src/hildon-stackable-window.c: Minor documentation updates.
1635 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1637 * src/hildon-stackable-window.c: Updated documentation.
1639 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-defines.h: Update margins definitions
1642 to the Fremantle sizes.
1645 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1647 * src/hildon-touch-selector.c,
1648 (_hildon_touch_selector_set_model): Cleaning the code after
1649 review, removed g_print and #if 0 from the code.
1651 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-edit-toolbar.c: Update documentation.
1655 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-check-button.h
1658 * src/hildon-check-button.c
1659 (hildon_check_button_set_label, hildon_check_button_get_label)
1660 * examples/hildon-check-button-example.c
1661 (button_clicked_cb):
1662 Removed deprecated methods.
1664 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1666 * src/hildon-text-view.c:
1667 Add sample code to the documentation.
1669 * src/hildon-entry.h
1670 * src/hildon-text-view.h:
1671 Minor cosmetic changes.
1673 * src/hildon-entry.c:
1674 Add sample code to the documentation.
1675 (hildon_entry_init, hildon_entry_refresh_contents):
1676 Don't allow NULL values in the placeholder.
1678 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1680 * doc/hildon-docs.sgml
1682 * examples/Makefile.am
1683 * examples/hildon-text-view-example.c
1685 * src/hildon-text-view.c
1686 * src/hildon-text-view.h
1688 New HildonTextView widget, with example.
1690 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1692 * po/POTFILES.in: Add missing files with translatable strings.
1693 Partially fixes NB#88287.
1695 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1697 * examples/hildon-pannable-area-example-2.c: (main): No need to
1698 set the cellrenderer height inside hildon touch lists, the theme does
1701 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1703 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1704 they are integrated in the theme.
1706 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1708 * examples/hildon-entry-example.c: Update the example adding
1709 widgets to modify the text and the placeholder of the HildonEntry.
1711 * src/hildon-entry.c: Show the placeholder everytime the widget
1712 is empty and loses the focus.
1714 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1716 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1718 * src/hildon-pannable-area.c,
1719 (hildon_pannable_area_size_request): Fixed bug in height
1720 requisition, avoid increasing size and add border twice.
1722 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1724 * configure.ac: postrelease version bump.
1726 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1730 * configure.ac: Prerelease version bump.
1731 * debian/changelog: update.
1732 * debian/rules: make -dbg package contain useful debugging symbols.
1734 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-dialog.h
1737 * src/hildon-dialog.c
1738 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1739 New methods to add buttons with finger size.
1740 (hildon_dialog_new_with_buttons):
1741 Create buttons with finger size.
1743 * examples/hildon-dialog-example.c (main): Use HildonDialog
1744 methods to add buttons.
1746 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1748 * src/hildon-entry.c: Updated HildonButton documentation.
1750 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1753 button value label with (FALSE, FALSE) to prevent NB#88126 from
1756 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1758 * examples/hildon-pannable-area-example.c,
1759 (main): Removed examples panning a vbox inside a pannable
1760 area. Check bug NB#87965
1762 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1764 Patch contributed by Kris Rietveld (kris@imendio.com)
1766 * src/hildon-pannable-area.c,
1767 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1768 get_size and get_position, this saves an X server roundtrip.
1770 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1772 * doc/hildon-docs.sgml
1774 * examples/Makefile.am
1775 * examples/hildon-entry-example.c
1777 * src/hildon-entry.c
1778 * src/hildon-entry.h
1780 New HildonEntry widget, with example.
1782 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1784 * src/hildon-button.c (hildon_button_construct_child): Pack the
1785 image with expand == fill == FALSE. This is a workaround for a bug
1788 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1790 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1791 labels for the text column, to make it more look more dynamic.
1793 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1795 * src/hildon-time-selector.c
1796 Define gettext auxiliar macro N_
1797 (_create_minutes_model)
1798 (_create_hours_model)
1799 (_create_ampm_model): use of strftime in order to fill the model
1800 * src/hildon-date-selector.c
1801 (hildon_date_selector_finalize):
1802 (_locales_init): remove the logic related to get the name of the months
1803 using nl_langinfo, as it is not required anymore
1805 (_create_year_model)
1806 (_create_month_model)
1807 (_update_day_model): use of strftime in order to fill the model properly
1810 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1812 * src/hildon-button.h
1813 * src/hildon-button.c (hildon_button_get_image): New method to
1816 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-touch-selector.c:
1819 (hildon_touch_selector_remove_column): Remove from the correct parent
1820 and also remove the list element and free it.
1823 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1825 * src/hildon-time-selector.c
1826 (_create_hours_model): change the range on 12h ampm format in order to use
1827 a 12-11 range instead of previous 01-12 range
1828 (hildon_time_selector_set_time): change the way to select the current time
1829 on 12h ampm format, due the change on the range
1830 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1833 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1835 * src/hildon-touch-selector.c
1836 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1837 in order to allow use this function on multiple row selection mode if
1838 the column is different that the first one
1841 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1843 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1844 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1846 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1848 * src/hildon-date-selector.h: clean some comments, now on the .c
1849 * src/hildon-date-selector.c
1850 (hildon_date_selector_select_month): first implementation
1851 (hildon_date_selector_select_day): added documentation, reimplemented
1852 using hildon_date_selector_select_current_date to avoid repeat code
1855 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1857 Reviewed interaction logic based on device experiences, refactored
1860 * src/hildon-pannable-area.c,
1861 (hildon_pannable_area_class_init): Updated default vmax speed.
1862 (hildon_pannable_area_calculate_velocity): Added this function, it
1863 avoids duplicate valocity calculation. Adjusted calculation to
1864 avoid problems with zero dist events.
1866 (hildon_pannable_area_motion_notify_cb): Now we use the
1867 calculate_velocity function.
1869 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1871 * src/hildon-date-selector.c
1872 (hildon_date_selector_select_current_date): fix the day range check
1873 as it failed using the last day of the current month
1876 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1878 * src/hildon-touch-selector.c
1879 (hildon_touch_selector_get_num_columns): added a parameter validation
1882 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1884 * examples/Makefile.am
1885 * examples/hildon-edit-toolbar-example.c: Example of the
1886 HildonEditToolbar widget.
1888 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1890 * configure.ac: postrelease version bump.
1892 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1896 * configure.ac: prerelease version bump.
1897 * debian/changelog: update.
1899 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1901 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1902 renderer to display stock icons in the touch list. Also, set the sizes
1903 to the recommended in the style guide.
1905 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1906 * src/hildon-touch-selector.h
1907 (hildon_touch_selector_set_active_iter): renamed, now is
1908 hildon_touch_selector_select_iter
1909 (hildon_touch_selector_get_active_iter): renamed, now is
1910 hildon_touch_selector_get_selected
1911 (hildon_touch_selector_unselect_iter): added
1912 * src/hildon-touch-selector.c
1913 Update after API modification (methods renamed)
1914 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1915 order to avoid problems selecting multiple elements on the column
1916 (hildon_touch_selector_unselect_iter): added the implementation
1917 * src/hildon-time-selector.c
1918 * src/hildon-date-selector.c
1919 * src/hildon-touch-selector-entry.c
1920 Update methods calls after hildon-touch-selector.h API modification (methods
1923 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-stackable-window.c
1926 (hildon_stackable_window_finalize): Call the parent class's finalize.
1928 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1930 * examples/hildon-touch-selector-example.c: (create_selector): Use
1931 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1934 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1936 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1937 set a cell background color, to respect theming.
1939 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1941 * doc/hildon-docs.sgml
1944 * src/hildon-edit-toolbar.c
1945 * src/hildon-edit-toolbar.h
1946 * src/hildon.h: New HildonEditToolbar widget.
1948 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1950 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1953 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1954 * src/hildon-touch-selector.c
1955 (_create_new_column): use g_object_set instead of two g_object_set_property
1957 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1958 * src/hildon-touch-selector.c
1959 (_create_new_column): use of hildon_gtk_tree_view_new to create
1960 the treeview, instead of use directly g_object_new
1961 (_create_new_column): update the property name "vindicator-mode" for the
1962 new one "vscrollbar-policy"
1963 * examples/hildon-date-button-example.c
1964 * examples/hildon-picker-button-multicolumn-example.c
1965 * examples/hildon-touch-selector-entry-example.c
1966 * examples/hildon-touch-selector-example.c
1967 * examples/hildon-time-button-example.c
1968 * examples/hildon-picker-button-example.c
1969 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1970 to all the treeviews inside a pannable area.
1972 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-button.h
1975 * src/hildon-button.c (hildon_button_init)
1976 (hildon_button_set_arrangement, hildon_button_set_alignment)
1977 (hildon_button_set_title_alignment)
1978 (hildon_button_set_value_alignment)
1979 (hildon_button_set_image_alignment)
1980 (hildon_button_construct_child): New methods to set the alignment
1981 of the individual components of the button (title, value,
1982 image). Also, new method to alter the xscale and yscale properties
1983 of the GtkAlignment inside the button, so more complex layouts can
1986 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1988 * src/hildon-button.c (hildon_button_style_set)
1989 (hildon_button_class_init, hildon_button_set_arrangement)
1990 (hildon_button_construct_child): Apply style properties
1991 correctly. Use the 'image-spacing' style property too.
1993 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1996 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1999 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2001 * src/hildon-pannable-area.c,
2002 (hildon_pannable_area_size_request): Fixed problem with
2003 pannable-area size_request.
2005 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2007 Added management for the grab-focus to a child widget, like a
2008 range, we need to fade out the scrollbar when releasing.
2010 * src/hildon-pannable-area.c,
2011 (hildon_pannable_area_init): Connected the grab-focus signal to
2013 (hildon_pannable_area_grab_notify): Added this function in order
2014 to manage the situation when the grab-focus ends. We have to
2015 fade-out the scrollbar.
2017 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-app-menu.c: Minor documentation update.
2021 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-app-menu.c
2024 * examples/hildon-app-menu-example.c (create_menu): Update
2025 examples and documentation to explain how to connect callbacks.
2027 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
2029 * examples/hildon-button-example.c
2030 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
2031 hildon_stackable_window_new instead of gtk_window_new
2033 2008-08-22 Alejandro G. Castro <alex@igalia.com>
2035 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
2036 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
2037 (hildon_pannable_area_set_property),
2038 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
2039 (hildon_pannable_area_unrealize),
2040 (hildon_pannable_area_size_request),
2041 (hildon_pannable_area_size_allocate),
2042 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
2043 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
2044 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2045 (hildon_pannable_area_initial_effect),
2046 (hildon_pannable_area_redraw),
2047 (hildon_pannable_area_scroll_indicator_fade),
2048 (hildon_pannable_area_expose_event),
2049 (hildon_pannable_area_get_topmost), (synth_crossing),
2050 (hildon_pannable_area_button_press_cb),
2051 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2052 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2053 (hildon_pannable_area_motion_notify_cb),
2054 (hildon_pannable_area_button_release_cb),
2055 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2056 (hildon_pannable_area_remove),
2057 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2058 chage the code layout to a more GtkWidget like. Review the use of
2061 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2063 * examples/hildon-pannable-area-example-4.c,
2064 (main): Modified the name of the hindicator_mode to
2067 * src/hildon-pannable-area.c,
2068 (hildon_pannable_area_class_init),
2069 (hildon_pannable_area_motion_notify_cb),
2070 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2071 we have reduced the amount of signals and managed reviewed its
2072 rationale. Changed the default decelerate value.
2074 (hildon_pannable_area_add),
2075 (hildon_pannable_area_redraw): Refactored functions.
2077 (hildon_pannable_area_init),
2078 (hildon_pannable_area_get_property),
2079 (hildon_pannable_area_set_property):
2080 (hildon_pannable_draw_vscroll),
2081 (hildon_pannable_draw_hscroll),
2082 (hildon_pannable_area_initial_effect),
2083 (hildon_pannable_area_expose_event),
2084 (hildon_pannable_area_scroll),
2085 (hildon_pannable_area_button_press_cb),
2086 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2087 and vindicator_mode with hscrollbar_policy and
2088 vscrollbar_policy. Replaced hscroll and vscroll with
2089 hscroll_visible and vscroll_visible.
2091 (hildon_pannable_area_refresh): Refactor the function, remove
2092 variables and check the calls to this function, added resize
2093 conditions in case the children change their layout.
2095 (hildon_pannable_area_size_request): Added more detailed
2096 size_request calculation.
2099 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2101 * src/hildon-color-chooser.c
2102 (init_borders): use the correct gtk_border_free instead of g_free, to
2103 avoid a crash when this widget is used (ie: the three color selection
2106 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2108 * src/hildon-check-button.c,
2109 (hildon_check_button_set_active): Fixed problem when setting the
2110 active value, the widget was not redrawn.
2112 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2114 * src/hildon-pannable-area.c,
2115 (hildon_pannable_area_refresh),
2116 (hildon_pannable_area_scroll),
2117 (hildon_pannable_area_motion_notify_cb): Small code style change.
2119 (hildon_pannable_area_class_init): Default initial_hint set to
2120 FALSE, it is not in the specs.
2122 (hildon_pannable_area_initial_effect),
2123 (hildon_pannable_area_expose_event),
2124 (hildon_pannable_area_map),
2125 (hildon_pannable_area_init): Moved the launching point of the
2126 initial effect, it was in map but the sizes where not correct in
2127 that method so we do not know if we have the reproduce it. Now it
2128 is placed in the expose_event method and uses a variable to
2129 reproduce it just once.
2131 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2133 * src/hildon-pannable-area.c,
2134 (hildon_pannable_draw_vscroll),
2135 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2136 position allowed for the scrollbars.
2138 (hildon_pannable_area_size_allocate): Small style change.
2140 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2142 * src/hildon-pannable-area.c,
2143 (hildon_pannable_area_scroll_indicator_fade),
2144 (hildon_pannable_area_button_press_cb),
2145 (hildon_pannable_area_button_release_cb),
2146 (hildon_pannable_area_scroll_cb),
2147 (hildon_pannable_area_expose_event),
2148 (hildon_pannable_area_init): Added the define parameter
2149 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2150 and refactor the fade variable.
2152 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2154 * src/hildon-pannable-area.c,
2155 (hildon_pannable_area_redraw),
2156 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2157 lines, we were reimplemeting the redraw code.
2159 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2161 * src/hildon-pannable-area.c,
2162 (hildon_pannable_area_scroll_cb),
2163 (hildon_pannable_area_realize),
2164 (hildon_pannable_area_class_init): Added scroll_event management
2165 for pannable area, now we can scroll the usual desktop method.
2167 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2168 initialization of the parameters should depend on idle_id.
2170 (hildon_pannable_area_init),
2171 (hildon_pannable_area_map): Small code style modifications
2173 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2175 * src/hildon-pannable-area.c
2176 (hildon_pannable_area_button_press_cb),
2177 (hildon_pannable_area_motion_notify_cb),
2178 (hildon_pannable_area_button_release_cb),
2179 (hildon_pannable_area_size_allocate),
2180 (hildon_pannable_area_scroll_to): Improved the timeouts
2181 management, we avoid creating them each time.
2183 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2185 * src/hildon-pannable-area.c:
2186 (hildon_pannable_area_refresh),
2187 (hildon_pannable_area_motion_notify_cb),
2188 (hildon_pannable_area_class_init):
2189 * src/hildon-pannable-area.h:
2190 * src/hildon-touch-selector.c
2191 (_create_new_column):
2192 * examples/hildon-pannable-area-example-4.c:
2193 (horizontal_movement),
2194 (vertical_movement),
2196 Replaced the names of enums in the HildonPannableArea:
2197 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2198 HILDON_MOVEMENT_MODE_*
2199 - HILDON_PANNABLE_AREA_MOV_* ->
2201 - Removed HildonPannableAreaIndicatorMode, now we
2204 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2206 * examples/hildon-pannable-area-touch-grid-example.c
2207 * examples/hildon-pannable-area-touch-list-example.c: Fix
2208 compilation warnings.
2210 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2212 * src/hildon-gtk.c (hildon_gtk_button_new)
2213 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2214 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2215 images overriding the value of the "gtk-button-images" setting.
2217 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-check-button.c (hildon_check_button_new):
2220 Instead of using a custom container, display the label and the
2221 checkbox using the standard GtkButton API.
2223 * examples/hildon-check-button-example.c (main): Don't use
2224 hildon_check_button_set_label() anymore
2226 * src/hildon-check-button.h
2227 * src/hildon-check-button.c
2228 (hildon_check_button_set_label, hildon_check_button_get_label):
2229 Set as deprecated, now we're using gtk_button_{get,set}_label()
2231 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2233 * src/hildon-pannable-area.c,
2234 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2235 GtkTreeview first line we detected it after the inclusion of the
2236 GtkWindowImpl in gtk+. We now check if the window is visible, not
2237 just if the pointer is over the window.
2238 (hildon_pannable_axis_scroll),
2239 (hildon_pannable_area_expose_event): Small style changes.
2241 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2243 * src/hildon-button.c: Update documentation.
2245 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2247 * examples/hildon-button-example.c: Add a switch to show images in
2250 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2252 * doc/hildon-docs.sgml: Some docs reorganization.
2254 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2256 * examples/hildon-pannable-area-touch-list-example.c
2258 * examples/hildon-pannable-area-touch-grid-example.c
2259 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2260 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2261 Fix memory leak when setting the tree model.
2263 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2267 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2269 * doc/hildon.types: Remove duplicated hildon_window_get_type
2270 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2271 documentation comment.
2273 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2275 * doc/Makefile.am: Complete list of private headers.
2277 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2279 * doc/hildon-docs.sgml
2280 * src/hildon-app-menu.c
2281 * src/hildon-bread-crumb.c
2282 * src/hildon-button.c
2284 * src/hildon-program.c
2285 * src/hildon-stackable-window.c
2286 * src/hildon-window.c: Lots of documentation updates.
2288 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2290 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2292 * configure.ac: Require Gtk+ 2.12.9 at least
2294 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2296 * src/hildon-pannable-area.c
2297 (hildon_pannable_area_scroll_indicator_fade),
2298 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2299 to protect the return of this timeout callbacks, avoiding deadlocks.
2301 2008-08-12 Christian Dywan <christian@imendio.com>
2304 * src/hildon-*.h: Ensure a consistent include order,
2305 include <gtk/gtk.h> instead of particular files and
2306 only include the topmost header in the gtk stack. See NB #39857
2308 2008-08-12 Christian Dywan <christian@imendio.com>
2310 * src/hildon-picker-dialog.c
2311 * src/hildon-touch-selector.c: Fix warnings about unused and
2312 uninitialized variables.
2314 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2316 * examples/Makefile.am
2317 * examples/hildon-check-button-example.c: Example of the hildon
2320 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-window.h
2323 * src/hildon-window.c (hildon_window_class_init)
2324 (hildon_window_unset_program): Don't make
2325 hildon_window_unset_program a virtual function anymore.
2327 * src/hildon-stackable-window.c: Update documentation
2329 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2332 * doc/hildon-docs.sgml
2333 * doc/visual_index.xml
2334 * src/hildon-defines.c
2336 * src/hildon-helper.c
2337 * src/hildon-range-editor.c: Lots of documentation fixes.
2339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2341 * examples/hildon-picker-button-multicolumn-example.c
2342 (create_touch_selector): Fix compilation warning.
2344 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2347 (hildon_pannable_area_button_release_cb)
2348 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2350 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2355 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2357 * src/hildon-bread-crumb-trail.h
2358 * src/hildon-date-editor.c
2359 * src/hildon-date-selector.c
2360 * src/hildon-pannable-area.c
2361 * src/hildon-picker-dialog.c
2362 * src/hildon-time-selector.c
2363 * src/hildon-touch-selector-entry.c
2364 * src/hildon-touch-selector.c
2365 * src/hildon-touch-selector.h: Misc documentation fixes
2367 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2369 * examples/hildon-date-editor-example.c (main): Updated date
2372 * examples/hildon-note-example.c (on_confirmation_clicked):
2373 Updated confirmation note example.
2375 * src/hildon-date-editor.c
2376 * src/hildon-note.c: Updated sample programs in documentation.
2379 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-date-button.h:
2382 * src/hildon-picker-button.h:
2383 * src/hildon-time-button.c:
2384 * src/hildon-time-button.h:
2386 Some declarations changes to allow gtk-doc to document the widgets
2389 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/hildon-date-button.c: Document the widget.
2392 * src/hildon-time-button.c: Document the widget.
2394 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/hildon-picker-button.c: Document the widget.
2397 * src/hildon-touch-selector-entry.c: Document the widget.
2399 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2401 * doc/hildon-docs.sgml
2404 * src/hildon-check-button.h
2405 * src/hildon-check-button.c: New functions to create the Hildon
2409 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2411 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-button.h
2414 * src/hildon-button.c
2415 (hildon_button_add_title_size_group)
2416 (hildon_button_add_value_size_group)
2417 (hildon_button_add_image_size_group)
2418 (hildon_button_add_size_groups): New functions to set size groups
2419 for the button labels and image.
2420 (hildon_button_new_full): Removed
2422 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2424 * src/hildon-time-selector.c
2425 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2426 in order to avoid a crash if gconf is not available
2428 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-button.c (hildon_button_set_arrangement)
2431 (hildon_button_construct_child): Don't construct the button child
2432 before setting the arrangement.
2434 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-program-private.h
2437 * src/hildon-program.c
2438 * src/hildon-program.h
2439 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2440 (hildon_program_peek_window_stack)
2441 (hildon_program_pop_window_stack)
2442 (hildon_program_go_to_root_window): HildonProgram now has a
2443 separate list for stackable windows. Functions are provided to
2444 manage that list with a stack-like API.
2446 * src/hildon-stackable-window.c: Stackable window management is
2447 now much simpler with the new HildonProgram API. Windows no
2448 longer need to be manually added to the program, they're
2449 automatically pushed to the top of the stack when shown.
2451 * examples/hildon-stackable-window-example.c: Updated example to
2452 reflect the API changes.
2454 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector.c: Comment out unimplemented
2457 hildon_touch_selector_insert_column() to avoid a compile warning.
2459 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2462 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2463 (hildon_touch_selector_set_column_selection_mode),
2464 (_hildon_touch_selector_set_model),
2465 (hildon_touch_selector_set_model):
2467 Complete review of HildonTouchSelector documentation.
2469 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2471 * doc/hildon-docs.sgml
2475 * src/hildon-gtk.c: Convenience functions for standard Gtk
2476 widgets, used to easily perform frequent operations.
2478 * src/hildon-button-helpers.h
2479 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2481 * src/hildon-helper.h
2482 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2483 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2485 * src/hildon-button.h
2486 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2488 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-button.c (hildon_button_init)
2491 (hildon_button_set_arrangement, hildon_button_construct_child):
2492 Pack the image and the labels inside the same GtkAlignment so
2493 gtk_button_set_alignment() can be used
2495 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-button.h
2498 * src/hildon-button.c
2499 (hildon_button_init, hildon_button_set_image)
2500 (hildon_button_set_image_position)
2501 (hildon_button_construct_child): New functions to add an image to
2504 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2506 * src/hildon-date-button.c
2507 * src/hildon-picker-button.c
2508 * src/hildon-time-button.c
2509 * src/hildon-button.c:
2510 (hildon_button_class_init): "size-flags" renamed to "size"
2511 (hildon_button_set_title): Hide the title label if set to NULL.
2513 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2515 HildonButtonFlags split into HildonButtonArrangement (to set the
2516 button layout) and HildonSizeType (which can be used for any
2519 * src/hildon-button.h
2520 * src/hildon-button.c
2521 (hildon_button_class_init)
2522 (hildon_button_set_arrangement)
2523 (hildon_button_set_property): New "size-flags"
2524 property. "arrangement-flags" renamed to "arrangement".
2525 (hildon_button_new, hildon_button_new_with_text)
2526 (hildon_button_new_full): Constructors updated to reflect type changes.
2528 * src/hildon-helper.h
2529 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2530 to set the size of a widget.
2534 * src/hildon-button-helpers.c
2535 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2537 * src/hildon-date-button.c
2538 * src/hildon-date-button.h
2539 * src/hildon-picker-button.c
2540 * src/hildon-picker-button.h
2541 * src/hildon-time-button.c
2542 * src/hildon-time-button.h: Updated widgets to reflect
2543 HildonButton API changes.
2545 * examples/hildon-button-example.c
2546 * examples/hildon-date-button-example.c
2547 * examples/hildon-picker-button-example.c
2548 * examples/hildon-picker-button-multicolumn-example.c
2549 * examples/hildon-time-button-example.c
2550 * examples/hildon-touch-selector-entry-example.c
2551 * examples/hildon-touch-selector-example.c: Updated examples to
2552 reflect HildonButton API changes.
2554 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2556 * doc/hildon-docs.sgml:
2558 * examples/Makefile.am:
2559 * examples/hildon-touch-selector-entry-example.c:
2561 * src/hildon-touch-selector-entry.c:
2562 * src/hildon-touch-selector-entry.h:
2565 Moved HildonTouchSelectorEntry from sandbox. Added its
2566 documentation and examples.
2568 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-touch-selector.h:
2571 * examples/hildon-picker-button-multicolumn-example.c:
2572 (hildon_touch_selector_append_text_column): Add a gboolean
2573 parameter to determine if text must be centered in the column.
2575 * src/hildon-date-selector.c: (hildon_date_selector_init):
2576 * src/hildon-time-selector.c: (hildon_time_selector_init):
2577 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2578 (create_touch_selector): Update widgets and example to reflect
2581 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-touch-selector.c:
2584 (hildon_touch_selector_set_active_iter): Set also the cursor in
2587 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2589 * doc/hildon-docs.sgml
2592 * src/hildon-toggle-button.c
2593 * src/hildon-toggle-button.h
2594 * src/hildon.h: Removed HildonToggleButton widget, a derived
2595 class is not necessary for this.
2597 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2599 * src/hildon-pannable-area.c,
2600 (hildon_pannable_area_realize),
2601 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2604 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2607 "done" button the default widget for the dialog.
2609 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-touch-selector.c:
2612 (hildon_touch_selector_class_init),
2613 (hildon_touch_selector_get_property),
2614 (_hildon_touch_selector_set_model),
2615 (_hildon_touch_selector_has_multiple_selection),
2616 (hildon_touch_selector_has_multiple_selection):
2617 Add a "has-multiple-selection" property with a virtual
2618 has_multiple_selection() method to allow derived classes to
2619 override the default value for it. See the method and property
2620 documentation for details.
2622 * src/hildon-touch-selector.h: Add the new API.
2624 * src/hildon-picker-dialog.c: (requires_done_button): Call
2625 hildon_touch_selector_has_multiple_selection() instead of
2626 determining the need for a button itself.
2628 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2631 (_hildon_touch_selector_set_model),
2632 (hildon_touch_selector_set_model): Move working code to
2633 _hildon_touch_selector_set_mode(). Call the class method instead.
2635 * src/hildon-touch-selector.h: Add (*set_model) to
2636 HildonTouchSelectorClass.
2638 Make hildon_touch_selector_set_model() a virtual method, so that
2639 derived classes can extend it and do fancy stuff with the model.
2641 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2643 * configure.ac: Set back the tarname in AC_INIT to hildon.
2645 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2649 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2650 instead of libesd (NB#86876). Volume handling is still an open issue.
2652 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2655 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2658 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2659 derived class to ease placement of an entry widget in
2660 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2661 end, where the selector columns are packed now.
2663 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2665 * src/hildon-picker-button.c: Removed the simple _text() API.
2666 * src/hildon-picker-button.h: Likewise.
2668 * src/hildon-touch-selector.h:
2669 * src/hildon-touch-selector.c:
2670 (hildon_touch_selector_new_text),
2671 (hildon_touch_selector_append_text),
2672 (hildon_touch_selector_prepend_text),
2673 (hildon_touch_selector_insert_text):
2675 Moved the simple _text() API from HildonPickerButton to
2676 HildonTouchPicker, to provide better escalability and not to tie
2677 that API to HildonPickerButton.
2679 * examples/hildon-picker-button-example.c: (main): Example updated.
2681 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2683 * src/hildon-button.c: Updated documentation.
2685 * examples/hildon-button-example.c: Add the posibility to create
2686 the buttons using horizontal layout for title and value.
2688 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-app-menu-private.h
2691 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2692 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2693 GtkSizeGroup for the filters, use the 'homogeneous' property of
2696 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2698 * examples/hildon-button-example.c: Updated example.
2700 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2702 * doc/hildon-docs.sgml:
2705 Update documentation.
2707 * examples/Makefile.am: Update renamed examples.
2709 * examples/hildon-picker-button-multicolumn-example.c:
2710 (create_touch_selector), (main): Update after the rename.
2712 * examples/hildon-touch-picker-example.c: Removed.
2713 * examples/hildon-touch-selector-example.c: (value_changed),
2714 (create_selector), (get_visible_content), (main): Renamed from
2715 hildon-touch-picker-example.c
2717 * src/Makefile.am: Updated renamed files.
2719 * src/hildon-date-button.c: (hildon_date_button_init),
2720 (hildon_date_button_get_date), (hildon_date_button_set_date):
2721 * src/hildon-date-selector.c: (hildon_date_selector_init),
2722 (_custom_print_func), (_update_day_model),
2723 (_manage_selector_change_cb),
2724 (hildon_date_selector_select_current_date),
2725 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2726 * src/hildon-date-selector.h:
2727 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2728 (hildon_picker_button_set_property),
2729 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2730 (hildon_picker_button_init), (hildon_picker_button_new_text),
2731 (hildon_picker_button_append_text),
2732 (hildon_picker_button_prepend_text),
2733 (hildon_picker_button_insert_text),
2734 (hildon_picker_button_set_selector),
2735 (hildon_picker_button_get_selector):
2736 * src/hildon-picker-button.h:
2737 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2738 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2739 (_update_title_on_selector_changed_cb), (requires_done_button),
2740 (_hildon_picker_dialog_set_selector),
2741 (hildon_picker_dialog_set_selector),
2742 (hildon_picker_dialog_get_selector):
2743 * src/hildon-picker-dialog.h:
2744 * src/hildon-time-button.c: (hildon_time_button_init),
2745 (hildon_time_button_get_time), (hildon_time_button_set_time):
2746 * src/hildon-time-selector.c: (hildon_time_selector_init),
2747 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2748 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2749 * src/hildon-time-selector.h:
2752 Massive code updates after the rename.
2754 * src/hildon-touch-picker.c: Removed.
2755 * src/hildon-touch-picker.h: Removed.
2757 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2758 (hildon_touch_selector_init), (hildon_touch_selector_map),
2759 (hildon_touch_selector_remove), (_default_print_func),
2760 (_selection_changed_cb), (_create_new_column),
2761 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2762 (hildon_touch_selector_append_text_column),
2763 (hildon_touch_selector_remove_column),
2764 (hildon_touch_selector_set_column_attributes),
2765 (hildon_touch_selector_insert_column),
2766 (hildon_touch_selector_get_num_columns),
2767 (hildon_touch_selector_get_column_selection_mode),
2768 (hildon_touch_selector_set_column_selection_mode),
2769 (hildon_touch_selector_set_print_func),
2770 (hildon_touch_selector_get_print_func),
2771 (hildon_touch_selector_get_active_iter),
2772 (hildon_touch_selector_set_active_iter),
2773 (hildon_touch_selector_get_selected_rows),
2774 (hildon_touch_selector_get_model),
2775 (hildon_touch_selector_set_model),
2776 (hildon_touch_selector_get_current_text),
2777 (_hildon_touch_selector_center_on_selected_items):
2778 * src/hildon-touch-selector.h: Renamed from
2779 hildon-touch-picker.[ch]
2781 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2782 references, code examples, and related documentation.
2784 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2786 * doc/hildon-docs.sgml
2789 * src/hildon-toggle-button.c
2790 * src/hildon-toggle-button.h
2791 * src/hildon.h: New HildonToggleButton widget.
2793 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-button.c: Add API documentation.
2796 (hildon_button_set_size_groups): Check input parameters
2798 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2800 * src/hildon-pannable-area.c
2801 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2802 effect after reaching the movement thredshold. This way we start
2803 using the distance after passing the thredshold.
2805 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2807 * src/hildon-button.c: (hildon_button_set_property): Use the
2808 appropriate g_value_get_flags() method.
2810 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2812 * doc/hildon-docs.sgml:
2815 Add the touch pickers, picker dialogs, and picker button widgets
2816 to the documentation.
2818 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2820 * src/hildon-button.c: (hildon_button_set_property),
2821 (hildon_button_class_init): Make "arrangement-flags" a proper
2822 G_TYPE_FLAGS derived property.
2824 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2826 * examples/Makefile.am: Add below examples.
2827 * examples/hildon-date-button-example.c:
2828 * examples/hildon-picker-button-example.c:
2829 * examples/hildon-picker-button-multicolumn-example.c:
2830 * examples/hildon-time-button-example.c:
2831 * examples/hildon-touch-picker-example.c:
2833 Add examples for the recently added touch pickers,
2834 picker dialogs, and picker button widgets.
2836 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-button.c: Add some API documentation
2840 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-button.h
2843 * src/hildon-button.c
2845 (hildon_button_new_with_text): New constructor to create a button
2846 with no text at all.
2847 (hildon_button_init, hildon_button_set_arrangement)
2848 (hildon_button_set_title, hildon_button_set_value)
2849 (hildon_button_set_text)
2850 (hildon_button_construct_child): Hide the value when it's not used
2851 so the rest of the text is properly aligned.
2852 Allow creating buttons with arbitrary widgets inside (not just
2853 title/value labels).
2855 * examples/hildon-button-example.c (vertical_buttons_window)
2856 (horizontal_buttons_window): Update example to use new API.
2858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/Makefile.am: Added HildonTimeButton.
2861 * src/hildon-time-button.c: Added missing LGPL header.
2862 * src/hildon-time-button.h: Added missing LGPL header.
2863 * src/hildon.h: Add hildon-time-button.h
2865 Copied HildonTimeButton from sandbox to trunk. Future work on this
2866 widget must take place in trunk.
2868 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/Makefile.am: Added HildonDateButton.
2871 * src/hildon-date-button.c: Update includes.
2872 * src/hildon.h: Add hildon-date-button.h
2874 Copied HildonDateButton from sandbox to trunk. Future work on this
2875 widget must take place in trunk.
2877 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2879 * src/Makefile.am: Added HildonPickerButton.
2880 * src/hildon-picker-button.h: Update includes.
2881 * src/hildon.h: Add hildon-picker-button.h
2883 Copied HildonPickerButton from sandbox to trunk. Future work on
2884 this widget must take place in trunk.
2886 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/Makefile.am: Added HildonPickerDialog.
2889 * src/hildon-picker-dialog.c: Update includes.
2890 * src/hildon.h: Add hildon-picker-dialog.h
2892 Copied HildonPickerDialog from sandbox to trunk. Future work
2893 on this widget must take place in trunk.
2895 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2897 * src/Makefile.am: Added HildonTimeSelector.
2898 * src/hildon.h: Add hildon-time-selector.h
2900 Copied HildonTimeSelector widget from sandbox to trunk. Future
2901 work on this widget must happen in trunk.
2903 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2905 * src/Makefile.am: Added HildonDateSelector.
2906 * src/hildon.h: Add hildon-date-selector.h
2908 Copied HildonDateSelector widget from sandbox to trunk. Future
2909 work on this widget must happen in trunk.
2911 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/Makefile.am: Added HildonTouchPicker.
2914 * src/hildon-touch-picker.c: Update includes.
2915 * src/hildon.h: Add hildon-touch-picker.h
2917 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2918 on this widget must happen in trunk.
2920 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-pannable-area.c:
2923 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2925 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2927 * examples/hildon-app-menu-example.c (main): Let the window
2930 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2932 * src/hildon-pannable-area.c
2933 (hildon_pannable_area_class_init): Set the min value of the
2934 overshoot properties to zero, which points out that not
2935 overshooting allowed.
2937 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2939 Modified the procedure to get the widget at a point inside the
2940 pannable area when using the movement type signals. Now the user
2941 has to call a function to get the child, that way we just
2942 calculate the child in case the user really want to use it and not
2945 * src/hildon-marshalers.list: Modified the marshallers, now we do
2946 not have the widget as a parameter.
2948 * src/hildon-pannable-area.c
2949 (hildon_pannable_area_motion_notify_cb),
2950 (hildon_pannable_area_class_init),
2951 (hildon_pannable_get_child_widget_at): Removed the widget
2952 parameter from the signal callback. We have also refactored the
2953 emission of the signals.
2955 * src/hildon-pannable-area.h: Added a new method to the API to
2956 calculate a widget at a point inside the pannable area,
2957 hildon_pannable_get_child_widget_at.
2959 * examples/hildon-pannable-area-example-4.c
2960 (horizontal_movement): Modified the example to use the new API,
2961 added condition to control which widget is under the event. This
2962 way we can avoid scrolling laterally over other widgets.
2964 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2966 * src/hildon-pannable-area.c
2967 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2968 modes, we stop getting the pointer events due to returning the
2969 callback without properly calling the get pointer again. Fixed
2970 also an error using the hscroll and vscroll.
2972 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2974 * src/hildon-app-menu-private.h
2975 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2976 (hildon_app_menu_button_release, hildon_app_menu_init)
2977 (hildon_app_menu_class_init): Don't hide the menu on button
2978 release if the user didn't press outside first.
2980 * src/hildon-window.h
2981 * src/hildon-window.c (hildon_window_toggle_menu)
2982 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2983 hildon_window_toggle_menu a virtual function for the stackable
2984 window to override it.
2986 * src/hildon-stackable-window.h
2987 * src/hildon-stackable-window-private.h
2988 * src/hildon-stackable-window.c
2989 (hildon_stackable_window_realize)
2990 (hildon_stackable_window_finalize)
2991 (hildon_stackable_window_class_init)
2992 (hildon_stackable_window_init)
2993 (hildon_stackable_window_set_main_menu): New function to set the
2994 app menu of a HildonStackableWindow.
2996 * examples/hildon-app-menu-example.c: Remove the button to show
2997 the app menu, now it'll be shown when clicking on the title bar
3000 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
3003 set the widget name if the arrangement flags do not specify
3006 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/hildon-button.c: (hildon_button_set_property),
3009 (hildon_button_class_init), (hildon_button_new_full),
3010 (hildon_button_set_arrangement): Added "arrangement-flags"
3013 Make the HildonButtonFlags a construction-only property, to allow
3014 subclasses to set them properly.
3016 2008-07-21 Tim Janik <timj@imendio.com>
3018 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
3019 insertion position after backspace, so additional digits are appended,
3022 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3024 * src/hildon-pannable-area.c,
3025 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
3026 TODO list, it was complete and removed the g_debug and g_print
3029 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3031 Added the movement modes to the hildon-pannable-area, with this
3032 modes the developers can control in which directions the widget
3033 can scroll. They can also connect to signals in order to do
3034 something when that happens, allowing applications scroll. There
3035 is an example uploaded showing how to use it.
3037 * examples/Makefile.am:
3038 * examples/hildon-pannable-area-example-4.c: Added this example of
3039 an application using the modes.
3041 * src/hildon-marshalers.list: Added a new marshaller for the new
3044 * src/hildon-pannable-area.h: Added new enumerations and flags in
3045 order to control the movement modes and the new signals to warn
3046 about the movements in the area.
3048 * src/hildon-pannable-area.c:
3049 (hildon_pannable_axis_scroll),
3050 (hildon_pannable_area_scroll),
3051 (hildon_pannable_area_motion_notify_cb),
3052 (hildon_pannable_area_get_property),
3053 (hildon_pannable_area_set_property),
3054 (hildon_pannable_area_map),
3055 (hildon_pannable_area_class_init),
3056 (hildon_pannable_area_init),
3057 (hildon_pannable_area_jump_to): Added the modes to control the
3058 movement in the widget. We have added properties to control it,
3059 signals to warn about the movements and refactored some code.
3061 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3063 Changes required in order to allow vfast_factor set to zero to
3066 * src/hildon-pannable-area.c:
3067 (hildon_pannable_area_button_press_cb): Changed the condition, it
3068 is required for not allowing click when vfast_factor is zero.
3069 (hildon_pannable_area_timeout): Initialized velocity variables
3070 when we stop moving, it was less than 1 but not zero and we need
3071 to check zero in some situations.
3072 (hildon_pannable_area_class_init): Changed the default value of
3073 the speed factor, now the button_press is just sent in case the
3074 speed is 2 per cent of the max speed.
3075 (hildon_pannable_area_init): Initialization with 0.
3077 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3079 * src/hildon-pannable-area.c,
3080 (hildon_pannable_area_get_topmost): replaced
3081 gdk_window_get_children with gdk_window_peek_children, this way we
3082 do not have to free the list because it is not a copy.
3084 (hildon_pannable_axis_scroll),
3085 (hildon_pannable_area_scroll),
3086 (hildon_pannable_area_timeout),
3087 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3088 two parameters that were only used inside the
3089 hildon_pannable_area_scroll function.
3091 * examples/hildon-pannable-area-example.c,
3092 (get_sawtooth_label): Fixed small memory leak.
3094 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3096 More checks for the case where the overshoot is bigger than the
3099 * src/hildon-pannable-area.c:
3100 (hildon_pannable_draw_vscroll),
3101 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3102 to draw the slider of the scrollbar under the other scrollbar.
3103 (hildon_pannable_area_expose_event): added new checks to control
3104 the drawing of the overshooting area rectangle, in case it is too
3105 big for the area of the widget.
3106 (hildon_pannable_area_size_allocate): add more checks to avoid
3107 setting a position to the child widget outside the area.
3109 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3111 * src/hildon-pannable-area.c
3112 (hildon_pannable_area_size_allocate): Added conditions to control
3113 when overshooting is bigger than the allocated space for the
3114 children, this avoids negative allocations.
3116 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3118 * doc/hildon-docs.sgml
3120 * examples/Makefile.am
3121 * examples/hildon-button-example.c
3123 * src/hildon-button.c
3124 * src/hildon-button.h
3125 * src/hildon.h: Initial version of the new HildonButton widget,
3128 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-pannable-area.c:
3131 (hildon_pannable_area_button_press_cb),
3132 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3133 (hildon_pannable_area_motion_notify_cb),
3134 (hildon_pannable_area_button_release_cb),
3135 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3136 (hildon_pannable_area_jump_to_child):
3138 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3140 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3142 * examples/Makefile.am
3143 * examples/hildon-pannable-area-touch-grid-example.c
3144 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3145 the Hildon Touch List and Hildon Touch Grid using the
3146 HildonPannableArea widget.
3148 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3150 * src/hildon-pannable-area.c,
3151 (hildon_pannable_area_button_press_cb),
3152 (hildon_pannable_area_refresh),
3153 (hildon_pannable_area_scroll),
3154 (hildon_pannable_area_motion_notify_cb),
3155 (hildon_pannable_area_button_release_cb),
3156 (hildon_pannable_area_expose_event),
3157 (hildon_pannable_area_add),
3158 (hildon_pannable_area_remove),
3159 (hildon_pannable_area_realize),
3160 (hildon_pannable_area_size_allocate),
3161 (hildon_pannable_area_class_init),
3162 (hildon_pannable_area_init),
3163 (hildon_pannable_area_scroll_to_child),
3164 (hildon_pannable_area_jump_to_child): Fixed the problem of
3165 removing the child from the GtkBin, we have rearranged the widget
3166 hierarchy, now there is no GtkAlignment which was not doing
3167 anything interesting but breaking some of the assumptions of
3168 GtkContainer. Now developers if they want to add a GtkAlignment
3169 they could, but it is not inside the area.
3171 We had to review the whole allocation/expose process, now it is
3172 improved and we save at least three signals which would be saving
3173 some time when rendering the widget. The allocation of the
3174 scrollbars is now made in the allocate method as usual.
3176 We have also added some conditions in order to control when there
3177 is no child of the pannable area. Maybe we will need more work
3180 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3182 * src/hildon-pannable-area.c,
3183 (hildon_pannable_area_dispose): Released the fade-out timeout when
3184 disposing the widget.
3186 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3188 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3189 zero, we are going to use that property in order to deactivate the
3191 (hildon_pannable_axis_scroll),
3192 (hildon_pannable_area_size_allocate): Added conditions to control
3193 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3194 call, now it is called in all situations and we can remove calls
3195 in the allocate method.
3196 (hildon_pannable_area_map): Control the situation when
3197 overshoot_max is zero, we do not need the timeout.
3198 (hildon_pannable_area_class_init): Added documentation in order to
3199 point out that setting zero to overshoot_max means deactivate
3202 NOTE: removed trailing whitespaces from my previous comments of
3205 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3207 * src/hildon-pannable-area.c
3208 (hildon_pannable_area_get_property),
3209 (hildon_pannable_area_set_property),
3210 (hildon_pannable_area_map),
3211 (hildon_pannable_area_class_init),
3212 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3213 to cause the widget give a hint about its panning abilities upon
3216 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/hildon-pannable-area.c: Several documentation improvements.
3220 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-program.c
3223 * src/hildon-stackable-window.c: Update documentation.
3225 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3227 * src/hildon-stackable-window.c (get_previous_window_if_last):
3228 Renamed get_last_window()
3229 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3230 (hildon_stackable_window_unset_program):
3232 (get_previous_window_if_last):
3233 Detect if the window hasn't been added to a HildonProgram.
3235 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3237 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-pannable-area.c
3240 (hildon_pannable_area_button_press_cb),
3241 (hildon_pannable_axis_scroll),
3242 (hildon_pannable_area_scroll),
3243 (hildon_pannable_area_timeout),
3244 (hildon_pannable_calculate_vel_factor),
3245 (hildon_pannable_area_get_property),
3246 (hildon_pannable_area_set_property),
3247 (hildon_pannable_area_class_init),
3248 (hildon_pannable_area_init),
3249 (hildon_pannable_area_scroll_to),
3250 (hildon_pannable_area_jump_to),
3251 (hildon_pannable_area_scroll_to_child),
3252 (hildon_pannable_area_jump_to_child):
3253 * src/hildon-pannable-area.h: Added the new API functions:
3254 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3255 hildon_pannable_area_scroll_to_child,
3256 hildon_pannable_area_jump_to_child
3259 * examples/Makefile.am
3260 * examples/hildon-pannable-area-example-2.c
3261 * examples/hildon-pannable-area-example-3.c: Added these two new
3262 examples in order to test and show how the new APIs work.
3264 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3266 * examples/hildon-stackable-window-example.c (new_window):
3267 * src/Makefile.am (noinst_HEADERS):
3268 * src/hildon-program.c (hildon_program_go_to_root_window):
3269 * src/hildon-program.h:
3270 * src/hildon-stackable-window-private.h:
3271 * src/hildon-stackable-window.c:
3272 * src/hildon-stackable-window.h:
3273 Create hildon-stackable-window-private.h
3274 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3276 * examples/hildon-app-menu-example.c (create_menu):
3277 * examples/hildon-hvolumebar-insensitive-example.c (main):
3278 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3279 * examples/hildon-toolbar-seekbar-example.c (main):
3280 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3281 * src/hildon-banner.c (hildon_banner_set_property):
3282 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3283 Fix compilation warnings
3285 * src/hildon-window.c:
3288 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-stackable-window.c
3291 (hildon_stackable_window_unset_program):
3292 Calculate correctly whether to show the previous window if the
3293 last one is removed from the stack.
3294 (hildon_stackable_window_go_to_root_window):
3295 Send delete events starting from the topmost window.
3296 Stop if one of the windows is not destroyed.
3298 (hildon_stackable_window_delete_event)
3299 (hildon_stackable_window_class_init):
3300 Ignore the delete event if the window is not the topmost one.
3302 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3304 * src/hildon-pannable-area.c
3305 (hildon_pannable_area_expose_event): Fixed a problem when
3306 selecting the background color of the scrollbars.
3308 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3310 * examples/hildon-stackable-window-example.c
3311 * src/hildon-stackable-window.c
3312 * src/hildon-stackable-window.h
3313 hildon_stackable_window_go_home() renamed to
3314 hildon_stackable_window_go_to_root_window()
3315 Send delete events to windows rather than closing them with
3316 gtk_widget_destroy()
3318 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-pannable-area.c
3321 (hildon_pannable_area_button_release_cb): Fix overshooting in
3324 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3326 * src/hildon-pannable-area.c
3327 (hildon_pannable_area_init): Initially show the scroll indicators.
3328 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3330 Add initial effect showing the widget is pannable.
3332 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3334 * src/hildon-pannable-area.c
3335 (hildon_pannable_area_class_init)
3336 (hildon_pannable_area_set_property)
3337 (hildon_pannable_area_get_property)
3338 (hildon_pannable_area_button_press_cb):
3339 New 'velocity_fast_factor' property to decide which velocity is
3342 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-pannable-area.c
3345 (hildon_pannable_draw_hscroll)
3346 (hildon_pannable_draw_vscroll):
3347 Use float variables to calculate the size of the scrollbars to
3348 avoid error propagation and resizing during scrolling.
3350 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3352 * src/hildon-pannable-area.c
3353 (hildon_pannable_draw_vscroll)
3354 (hildon_pannable_draw_hscroll):
3355 Define a minimum size for the scroll bars
3357 * src/hildon-stackable-window.c
3358 (hildon_stackable_window_go_home): Fix compilation warning
3359 (get_last_window): Minor optimizations
3360 (hildon_stackable_window_class_init): Fix initialization of
3363 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-stackable-window.c: Fixed typos in doc
3367 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3369 * src/hildon-pannable-area.c
3370 (hildon_pannable_area_scroll):
3371 Calculate here whether we need to scroll instead of using the booleans
3372 that tell us whether to /draw/ the scrolling bars.
3374 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3376 * src/hildon-app-menu.h
3378 * src/hildon-app-menu.c
3379 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3380 multiple filter groups related code and API. Now we support only
3382 * examples/hildon-app-menu-example.c:
3384 Update to reflect API changes.
3386 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-stackable-window.c
3389 (hildon_stackable_window_class_init):
3390 Add hildon_stackable_window_realize.
3391 (hildon_stackable_window_realize):
3392 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3393 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3394 to apply theming and behavior specific to HildonStackableWindow
3397 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3399 * src/hildon-note.c (hildon_note_button_release):
3400 Close information notes also when tapping on them
3402 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3404 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3405 ELASTICITY, refactor and review, fix some issues with drawing
3408 * src/hildon-pannable-area.c:
3409 (hildon_pannable_area_button_press_cb): removed the conditions to
3410 avoid clicks when overshooting. It is not required
3412 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3413 define. Refatored and reviewed the code, now we do not need to
3414 manage velocity in motion_notify.
3416 (hildon_pannable_area_motion_notify_cb): We have moved the code
3417 that controls the area_scroll to the axis_scroll function and get
3418 rid of duplicated code.
3420 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3422 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3424 (hildon_pannable_draw_vscroll),
3425 (hildon_pannable_draw_hscroll): Fixed the problems with the
3426 scrollbar drawing, now we do not use two surfaces, it is easier
3427 and saves resources.
3429 (hildon_pannable_area_get_property): Style modification.
3431 (hildon_pannable_area_class_init): Changed some default values.
3433 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3435 * src/hildon-stackable-window.c: Fix some typos in the
3438 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-dialog.c:
3441 Change indentation style
3444 (hildon_note_button_release):
3445 Use root coordinates to check if the release event happened
3448 * src/hildon-app-menu.c
3449 (hildon_app_menu_button_release):
3450 Remove unnecessary check
3452 * examples/hildon-app-menu-example.c
3454 Add cast to fix warning
3456 * src/hildon-app-menu.c
3457 (hildon_app_menu_class_init):
3458 New inner-border style property.
3459 Set all default spacings to 16
3460 (hildon_app_menu_init):
3461 Use vertical-spacing to set the space between filter buttons and
3462 regular menu buttons.
3463 Set the default container border using the inner-border value.
3465 * examples/hildon-app-menu-example.c
3467 Don't set the menu border explicitly, now we have the inner-border
3468 style property for that.
3470 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3472 * src/hildon-app-menu.c (hildon_app_menu_init):
3473 Make the window modal
3475 * src/hildon-note.c (hildon_note_map)
3476 * src/hildon-app-menu.c (hildon_app_menu_map):
3477 Destroy the grab window if we're unable to grab the pointer
3479 * src/hildon-app-menu-private.h
3480 * src/hildon-app-menu.c
3481 (hildon_app_menu_init, hildon_app_menu_finalize)
3482 (hildon_app_menu_map, hildon_app_menu_unmap)
3483 (hildon_app_menu_button_release)
3484 (grab_transfer_window_get):
3485 Bring back the grab window
3486 (hildon_app_menu_realize):
3487 Decorate the window, set WM hint for Matchbox
3489 * src/hildon-note.c (hildon_note_realize):
3490 * src/hildon-banner.c (hildon_banner_realize):
3491 Add WM hints for Matchbox
3493 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3495 * src/hildon-app-menu-private.h
3496 * src/hildon-app-menu.c
3497 (hildon_app_menu_init, hildon_app_menu_finalize)
3498 (hildon_app_menu_map, hildon_app_menu_unmap)
3499 (hildon_app_menu_button_release):
3500 Remove the grab window, it's not needed anymore
3502 * src/hildon-program.c
3503 Fixed typo in documentation
3505 * src/hildon-app-menu.h
3506 * src/hildon-app-menu.c
3507 * examples/hildon-app-menu-example.c
3508 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3510 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3513 Added new transfer_window and close_if_pressed_outside private
3515 (hildon_note_rebuild):
3516 Don't add a cancel button to the information note. It will be
3517 closed when tapping outside
3518 Remove the comment about the OK button in the documentation
3519 (hildon_note_realize):
3520 Set the notification type hint
3521 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3522 Grab/ungrab pointer and keyboard if the note has to be closed when
3524 (hildon_note_button_release):
3525 Close the note when tapping outside (if applicable)
3527 * src/hildon-app-menu.c
3528 Grab/ungrab pointer and keyboard on map/unmap
3529 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3530 Close the menu on button release, not button press
3532 * src/hildon-banner.c
3533 (hildon_banner_set_property)
3534 (hildon_banner_check_position):
3535 Make the banner use the full width of the screen
3536 (hildon_banner_show_information)
3537 (hildon_banner_show_information_with_markup):
3538 Don't display an icon by default
3540 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3542 Added fading scrollbars and adapted all the overshooting code to
3543 horizontal scrolling. We have also fixed bugs with overshooting
3544 and current fading implementation.
3546 * src/hildon-pannable-area.c
3547 (hildon_pannable_area_scroll_indicator_fade): Time out function
3548 used to change the transparency of the scrollbars.
3550 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3551 control and fixed a problem with fading, we now remove the fade
3552 timeout before adding a new one.
3554 (hildon_pannable_axis_scroll):
3555 (hildon_pannable_area_scroll):
3556 (hildon_pannable_area_timeout): Added this functions so we can use
3557 the scroll code both for vertical and horizontal.
3559 (hildon_pannable_area_motion_notify_cb):
3560 (hildon_pannable_area_button_release_cb): Added the horizontal
3561 scrolling control, fixed a problem with the overshooting timeout.
3563 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3564 painting of the scrolls.
3566 (hildon_pannable_draw_vscroll):
3567 (hildon_pannable_draw_hscroll):
3568 (hildon_pannable_area_expose_event):
3569 Draw both scrollbars and rectangles in the overshooting area.
3571 (hildon_pannable_area_get_property):
3572 (hildon_pannable_area_set_property):
3573 Modified the overshoot property to overshoot_max
3575 (hildon_pannable_area_map):
3576 Replaced the comments symbols.
3578 (hildon_pannable_area_size_allocate):
3579 (hildon_pannable_area_class_init):
3580 (hildon_pannable_area_init): Added horizontal scroll, fading
3581 effect properties, fixed a problem when overshooting in the bottom
3584 * examples/hildon-pannable-area-example.c:
3585 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3586 looks better in the example.
3588 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-window.c
3591 * src/hildon-window.h
3592 (hildon_window_class_init)
3593 (hildon_window_unset_program)
3594 (hildon_window_unset_program_real):
3595 Make unset_program a virtual function
3597 * src/hildon-stackable-window.c
3598 * src/hildon-stackable-window.h
3599 Added hildon_stackable_window_go_home()
3601 * examples/Makefile.am
3602 * examples/hildon-stackable-window-example.c
3603 HildonStackableWindow example
3605 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3607 * hildon-pannable-area.c: Added the overshoot property and removed
3608 the OVERSHOOT define. Fixed an indent style error.
3609 (hildon_pannable_area_motion_notify_cb):
3610 (hildon_pannable_area_get_property):
3611 (hildon_pannable_area_set_property): Add overshoot property.
3613 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3616 (hildon_pannable_area_class_init): Installed the new property.
3618 * hildon-pannable-area-example.c: Added a sawtooth function, this
3619 way it is easier to check the movement in the pannable.
3620 (get_sawtooth_label): Added this function.
3621 (main): Now we get the labels from the new get_sawtooth_label
3624 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3626 * src/hildon-app-menu.h
3627 * src/hildon-app-menu.c
3628 Renamed API variables for consistency
3630 (hildon_app_menu_popup): Use also the default window size to
3631 decide where to place the menu
3633 (hildon_app_menu_init, hildon_app_menu_class_init): New
3634 external-border style property
3636 2008-05-26 Michael Natterer <mitch@imendio.com>
3638 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3639 widget_class->tap_and_hold_setup signal slot doesn't exist any
3640 longer, stop overriding it.
3642 (hildon_time_editor_init): g_signal_connect() to the
3643 tap-and-hold-setup signal instead.
3645 (hildon_time_editor_entry_keypress): add cast to fix warning.
3647 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3649 * doc/hildon-docs.sgml
3651 * examples/Makefile.am
3652 * examples/hildon-app-menu-example.c
3654 * src/hildon-app-menu-private.h
3655 * src/hildon-app-menu.c
3656 * src/hildon-app-menu.h
3658 New HildonAppMenu widget
3660 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3662 Rearranged the inheritance of the pannable area, now it inherits
3663 from GtkBin. This will allow us to control the event_window and
3664 the allocation process of the widget, required for some effects.
3666 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3667 GtkBin structures. * src/hildon-pannable-area.c: Added the
3668 event_window variable.
3669 (hildon_pannable_area_button_press_cb):
3670 (hildon_pannable_area_button_release_cb):
3671 (hildon_pannable_area_motion_notify_cb):
3672 Changed the signature of the method, now we override the event
3673 callback instead of connecting to the signal.
3675 (hildon_pannable_area_realize):
3676 (hildon_pannable_area_unrealize):
3677 (hildon_pannable_area_map):
3678 (hildon_pannable_area_unmap):
3679 (hildon_pannable_area_size_allocate):
3680 Added functions to control the widget construction. We add a
3681 INPUT_ONLY window and we put it over the widgets inside the
3682 container, this event_window handles the events.
3684 (hildon_pannable_area_class_init):
3685 Replaced the signal connections with overrides of the event
3688 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3690 Bouncing effect added when touching the borders, you can change
3691 the elasticity of the border changing the ELASTICITY define.
3693 * src/hildon-pannable-area.c: Added ELASTICITY define.
3694 (hildon_pannable_area_timeout): Added inverse velocity when
3695 touching the border of the child widget, that causes a bounce.
3697 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3699 Improved performance, we now do not go to the X server in order to
3700 get the list of window children. Apparently the effect is the
3701 same, we have to be careful and check if this breaks something in
3704 * src/hildon-pannable-area.c:
3705 (get_ordered_children): Removed this function.
3706 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3707 the children windows function with gdk_window_get_children.
3709 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3711 * src/hildon-pannable-area.c:
3712 (hildon_pannable_area_dispose): Fixed a crash when closing the
3713 window and kinetics is activated.
3715 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3717 * src/hildon-pannable-area.h
3718 * src/hildon-pannable-area.c
3719 Changed indentation style to meet the one used in Hildon
3721 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3723 Reviewed the interaction of the AUTO mode, now we use the time
3724 attribute of the events and calculate the velocity in the motion,
3725 doing a gimp like calculation. The velocity is calculated in each
3726 motion event using the last velocity and the current one, the
3727 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3729 * src/hildon-pannable-area.c: Replaced the time based algorithm
3731 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3732 timeout for the AUTO mode when we are still moving the cursor. We
3733 added also the velocity calculation in this function.
3734 (hildon_pannable_area_button_release_cb): launch the timeout in
3735 case we are in AUTO mode. There are still some constants here that
3736 come from the old implementation that should be reviewed and
3739 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3741 * doc/hildon-docs.sgml
3744 * src/hildon-stackable-window.c
3745 * src/hildon-stackable-window.h
3747 New HildonStackableWindow widget
3749 * examples/hildon-dialog-example.c
3750 * examples/hildon-pannable-area-example.c
3753 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-dialog.c
3756 (hildon_dialog_new_with_buttons): New constructor.
3758 * examples/hildon-dialog-example.c
3759 (main): Update the example to use the new
3760 hildon_dialog_new_with_buttons().
3762 * examples/hildon-pannable-area-example.c
3763 (main): Update example.
3765 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3767 * doc/hildon-docs.sgml
3769 Added HildonPannableArea to the documentation.
3771 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3773 * doc/visual_index.xml
3774 Fix reference to HildonLoginDialog in documentation
3776 * doc/hildon-docs.sgml
3778 * examples/Makefile.am
3779 * examples/hildon-dialog-example.c
3781 * src/hildon-dialog.c
3782 * src/hildon-dialog.h
3784 New HildonDialog widget.
3786 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-pannable-area.c
3789 Merge latest changes (r4318, r4342) from libmokoui trunk
3791 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3793 * examples/Makefile.am
3794 * examples/hildon-pannable-area-example.c
3796 * src/hildon-pannable-area.c
3797 * src/hildon-pannable-area.h
3799 New HildonPannableArea widget.
3801 2008-04-15 18:05:19 <timj@imendio.com>
3803 * src/hildon-banner.c: revert the recent change, that introduced
3804 gtk_window_present() calls. this reopens:
3805 Bug 78481 - [freetest] information banners are hidden under browser menu
3806 But resolves another variant of:
3807 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3809 2008-04-15 13:21:13 <timj@imendio.com>
3811 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3812 recreated its layout, spotted by Kris. this fixes all remaining
3813 artefacts and stability issues with the banner code. in particular:
3814 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3816 2008-04-14 16:52:59 <timj@imendio.com>
3818 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3819 operating on unrealized widgets, fixes:
3820 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3822 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3824 2008-04-09 Kristian Rietveld <kris@imendio.com>
3826 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3827 makes banner disappear.
3828 Fixes: NB#79182: info banner flickering with certain message lengts.
3830 * src/hildon-banner.c (hildon_banner_constructor),
3831 (hildon_banner_init), (hildon_banner_set_text),
3832 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3833 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3834 FALSE, reset size requests of label and banner,
3835 (force_to_wrap_truncated): when the text is too wide, always enforce
3836 the maximum possible width instead of recalculating it from the
3837 layout; enforce the maximum banner height of 3 lines,
3838 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3839 nicer wrapping and no truncated chars if space gets tight.
3841 * src/hildon-banner-private.h: add has_been_wrapped and
3842 has_been_truncated fields.
3844 2008-04-07 Sven Herzberg <sven@imendio.com>
3846 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3847 local values in hildon_date_editor_size_allocate
3849 * src/hildon-date-editor.c: moved the real allocation code into the
3852 2008-04-07 Sven Herzberg <sven@imendio.com>
3854 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3855 local values in hildon_date_editor_size_allocate
3857 * src/hildon-date-editor.c: merged the two if() branches together
3859 2008-04-07 Sven Herzberg <sven@imendio.com>
3861 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3862 local values in hildon_date_editor_size_allocate
3864 * src/hildon-date-editor.c: changed the arguments of the if()
3867 2008-04-07 Sven Herzberg <sven@imendio.com>
3869 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3870 local values in hildon_date_editor_size_allocate
3872 * src/hildon-date-editor.c: split the calculation of the allocation
3873 from the real allocation
3875 2008-03-27 Michael Natterer <mitch@imendio.com>
3877 Fixes: NB#81696: The passcode is not overwritten even after
3880 * src/hildon-code-dialog.c
3881 (hildon_code_dialog_button_clicked)
3882 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3883 because that doesn't overwrite selected text. Instead, emit the
3884 "commit" signal on the entry's im_context so the entry's normal
3885 insert logic is triggered. Set the cursor to the end of the entry
3886 after each insert operation so that we *only* insert in the middle
3887 of the text if something was selected.
3889 2008-03-27 Michael Natterer <mitch@imendio.com>
3891 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3892 selector cannot be opened
3894 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3895 when the popup color selector is created. Please connect to this
3896 signal in order to set the dialog's help ID.
3898 2008-03-25 Sven Herzberg <sven@imendio.com>
3900 Fixes: MB#1212: Hide info banners (infoprints) on click
3902 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3903 extracted the close event simulation into an extra function
3904 (hildon_banner_button_press_event): simulate a close event and destroy
3905 the widget if the event wasn't handled
3906 (hildon_banner_class_init): added the button_press_event handler
3907 (hildon_banner_init): added button-press events to the widget
3909 2008-03-25 Sven Herzberg <sven@imendio.com>
3911 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3912 Patch from: Mohammad Anwari <mdamt@maemo.org>
3914 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3915 instead of the right in RTL mode
3916 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3917 breadcrumb button list in RTL mode
3918 * src/hildon-caption.c: mirror the appearance of the caption widget in
3920 * src/hildon-date-editor.c: mirror appearance of the date editor in
3922 * src/hildon-time-editor.c: mirror appearance of the time editor in
3924 * src/hildon-window.c: fix the position of the popup in RTL mode
3926 2008-03-25 Sven Herzberg <sven@imendio.com>
3928 Amendment to the fix of NB#22072. Fix compilation.
3930 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3932 2008-03-19 Sven Herzberg <sven@imendio.com>
3934 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3937 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3938 timeout id properly when the timeout will disappear this leaves no
3939 artifacts around in the destroy(); there will only be the timeout
3940 created by hildon_banner_ensure_timeout() and adding a new timeout
3941 will also work if the timeout gets removed because the timeout_handler
3944 2008-03-19 Michael Natterer <mitch@imendio.com>
3946 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3948 * src/hildon-volumebar.c
3949 * src/hildon-vvolumebar.c
3950 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3951 the widget becomes focussable at all.
3953 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3954 set the focus to wither the mute button or the volumebar.
3956 Remove own "can-focus" property and instead listen to
3957 notify::can-focus in order to update the widget's state.
3959 Implement GtkWidget::focus() and make sure we can also *leave* the
3960 widget, not only enter it, depending on volumebar orientation and
3961 requested focus direction.
3963 Clean up set_mute() to cooperate nicely with all the above.
3965 2008-03-04 Michael Natterer <mitch@imendio.com>
3967 Fixes: NB#78481: information banners are hidden under browser menu
3969 * src/hildon-banner.c: call gtk_window_present() on the banners so
3970 they are risen if they are already visible.
3972 2008-03-03 Sven Herzberg <sven@imendio.com>
3974 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3976 * examples/hildon-window-menu-example.c: (main): extended the window
3977 menu example to serve as a testcase for automatically added
3978 accelerator groups, too
3979 * src/hildon-window.c: (hildon_window_add_accel_group),
3980 (hildon_window_set_menu): added patch by Tommi Komulainen
3982 2008-03-03 Sven Herzberg <sven@imendio.com>
3984 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3986 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3987 knowledge about the border allocators used within GTK+
3989 2008-02-26 Sven Herzberg <sven@imendio.com>
3991 Fixes: MB#2981: Build with asserts broken
3993 * src/hildon-date-editor.c,
3994 * src/hildon-number-editor.c,
3995 * src/hildon-time-editor.c,
3996 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3997 the proper GType instance check
3999 2008-02-25 Sven Herzberg <sven@imendio.com>
4001 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
4003 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
4004 * examples/hildon-window-menu-example.c: (main): explicitly show
4006 * src/hildon-window.c:
4007 (hildon_window_set_main_menu): moved most of the code from set_menu()
4008 to this place; skipped the call to gtk_widget_show_all(); also didn't
4009 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
4010 (hildon_window_set_menu): removed most of the code, just keep the
4011 questionable gtk_widget_show_all()
4012 * src/hildon-window.h: added the new function and deprecate the old
4015 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4021 * debian/changelog: Updating.
4023 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4026 * pkgconfig/Makefile.am:
4027 * pkgconfig/hildon.pc.in:
4030 Do not use PACKAGE_VERSION_MAJOR as the API revision,
4031 use newly created API_MAJOR_VERSION.
4033 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4039 * debian/changelog: Updating.
4041 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4043 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4045 Add outer_border style property, we use it but don't define it (!).
4049 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4051 * examples/hildon-bread-crumb-trail-example.c (main):
4055 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4057 Fix logic for the bread crumb trail node removal.
4061 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4067 * debian/changelog: Updating.
4069 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 Patch by Alejandro to get/set passwords dialogs accesibility.
4073 * hildon-1/src/hildon-get-password-dialog.c:
4074 * hildon-1/src/hildon-set-password-dialog.c:
4075 Set atk_set_name to the passwd entries in order to allow
4076 accessibility by name on this entries.
4078 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4083 * debian/control: Updating gtk dep.
4085 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4087 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4088 USE_MAEMO_GTK is enabled.
4090 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4092 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4093 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4095 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4101 * debian/changelog: Updating.
4103 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4105 * examples/Makefile.am:
4106 * examples/hildon-logical-color-example.c:
4107 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4108 applied + adding a test case. Fixes: NB#71660.
4110 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4112 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4113 to be visible, fixes warning on map for windows without toolbars.
4115 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4117 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4118 2.11.0, add a check for that besides the MAEMO_GTK check.
4120 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4126 * debian/changelog: Updating.
4128 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4130 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4131 visibility. Fixes: NB#70842 and MB#615.
4133 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4135 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4136 set the separator as no-show-all so it doesn't unintentionally appear when
4137 someone does a show_all.
4139 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4141 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4142 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4143 toplevel item. Fixes: NB#62031
4145 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4147 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4148 fix the name of the function in the docs.
4150 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4156 * debian/changelog: Updating.
4158 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4160 * examples/hildon-banner-long-example.c: Adding a test-case for long
4163 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4165 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4167 * src/hildon-color-chooser-dialog.c:
4168 * src/hildon-color-chooser.c:
4169 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4170 memory leaks in font selector and color selector. Fixes: NB#70499 and
4173 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4175 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4177 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4179 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4180 little bit bigger. Fixes: #NB63694.
4182 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4188 * debian/changelog: Updating.
4190 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4193 * doc/hildon-docs.sgml:
4194 * doc/images/bread-crumb-trail.png:
4195 * doc/images/calendar-popup.png:
4196 * doc/images/caption.png:
4197 * doc/images/code-dialog.png:
4198 * doc/images/color-button.png:
4199 * doc/images/color-chooser-dialog.png:
4200 * doc/images/color-chooser.png:
4201 * doc/images/controlbar.png:
4202 * doc/images/date-editor.png:
4203 * doc/images/font-selection-dialog.png:
4204 * doc/images/get-password-dialog.png:
4205 * doc/images/hvolumebar.png:
4206 * doc/images/login-dialog.png:
4207 * doc/images/note.png:
4208 * doc/images/number-editor.png:
4209 * doc/images/range-editor.png:
4210 * doc/images/seekbar.png:
4211 * doc/images/set-password-dialog.png:
4212 * doc/images/sort-dialog.png:
4213 * doc/images/time-editor.png:
4214 * doc/images/time-picker.png:
4215 * doc/images/vvolumebar.png:
4216 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4217 Adding the bread-crumb-trial and helpers to the documentation.
4219 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4221 * examples/hildon-find-toolbar-example.c:
4222 * src/hildon-find-toolbar.c:
4223 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4224 actually continue firing the other handlers if connected. Adding a new
4226 hildon_find_toolbar_get_last_index that gets the index of the most
4227 recently added (last) item. Fixes: NB#52301.
4229 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4231 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4232 behaviour. Fixes: NB#68610.
4234 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4236 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4239 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4241 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4242 when realizing the banner. Should make the infonbanner effect a bit more
4245 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4247 * src/hildon-volumebar.c:
4248 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4249 hildon_volumebar_set_range_insensitive_message and
4250 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4252 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4254 * src/hildon-window.c: Fixing the border freeing on destroy.
4256 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4258 * src/hildon-code-dialog-private.h:
4259 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4260 kw keyboard support in HildonCodeDialog.
4262 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4268 * debian/changelog: Updating.
4270 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4272 * src/hildon-date-editor.c:
4273 * src/hildon-number-editor.c:
4274 * src/hildon-private.c:
4275 * src/hildon-private.h:
4276 * src/hildon-time-editor.c:
4277 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4278 handling in subclassed composite widgets. Fixes: NB#66628.
4280 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4282 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4283 from destroy_ callback as it introduces problems in async dbus signal
4284 handlers. Fixes NB#66673.
4286 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4288 * examples/hildon-hvolumebar-example.c:
4289 * src/hildon-volumebar.c: Improving the focus handling in the
4290 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4291 set_property accessor so that "mute" property can be actually set. I'm
4292 scared that nobody noticed it's totally broken.
4294 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4296 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4299 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4301 * src/hildon-calendar.c:
4302 * src/hildon-number-editor.c:
4303 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4304 matches the spec of 6 chars per second. Fixes: NB#60489.
4306 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4308 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4309 gtk_style_lookup_color sometime returns FALSE even though color was
4310 found and values were filled properly. Weird. Removing the warning for the
4313 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4315 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4316 expand vertically. Adding some extra space to the find toolbar buttons to
4317 make them thumbable. Fixes NB#66060.
4319 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4321 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4322 popup with "Ok" and "Cancel". Fixes NB#59299.
4324 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4326 * src/hildon-calendar.c: Process all window updates before executing next
4327 timeout. Fixes: NB#54146.
4329 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4335 * debian/changelog: Updating.
4337 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4339 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4340 the client event and ignore it, since we use the delete event to close
4343 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4345 * src/hildon-helper.c: Remove the bogus warning about color not being
4346 found. Fixes NB#58352.
4348 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4350 * examples/Makefile.am:
4351 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4352 HildonSeekbar widget inside a toolbar.
4354 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4356 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4357 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4358 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4359 don't want to be closed by non-temporary windows on map.
4361 Also use G_DEFINE_TYPE instead of manually typed code.
4363 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4370 * debian/rules: Updating.
4372 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4374 * examples/Makefile.am:
4375 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4376 bug NB#61128. Strangely it works.
4378 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4380 * src/hildon-date-editor.c: When the date editor entry has been changed
4381 but the numbers of characters < max, turn off the skip validation flag.
4382 Prevents a situation when we enter first a valid year and later re-write
4383 it with an invalid one. Fixes NB#60154.
4385 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4387 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4388 code dialog. Fixes NB#64355.
4390 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4392 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4393 switching the page. Fixes NB#49374.
4395 * examples/Makefile.am:
4396 * examples/hildon-wizard-dialog-example.c: Adding an example for
4397 HildonWizardDialog that shows how to handle manual sensitivity setting on
4400 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4404 * src/hildon-version.h.in:
4405 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4407 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4409 * src/hildon-volumebar.c: Updating the docs.
4411 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * debian/changelog: Updating.
4419 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4421 * src/hildon-find-toolbar.c:
4422 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4423 selected item: hildon_find_toolbar_set_active,
4424 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4425 hildon_find_toolbar_get_active_iter . They correspond to respective
4426 GtkComboBox functions.
4428 * examples/Makefile.am:
4429 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4432 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4434 * examples/Makefile.am:
4435 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4438 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4439 when font size > 32 and we pack a focusable widget inside. Actually using
4440 the default response would work too, but since we don't show default
4441 response state in any way (no theming) it would not be visible to the
4442 user. Fixes NB#63430.
4444 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4446 * src/hildon-date-editor.c: Adding the missing variable setter in the
4447 set_property handler. Fixes NB#54182.
4449 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4451 * src/hildon-window.h: Changing the long key press time from 1500ms to
4452 800ms as requested in NB#63700. I have a bad feeling about this, let's
4453 see... Fixes NB#63700.
4455 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4457 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4458 hildon_time_picker_map, hildon_time_picker_realize,
4459 hildon_time_picker_style_set): Split the contents of map to more
4460 appropriate functions; set window decorations on realize and update
4461 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4463 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4468 * debian/changelog: Updating.
4470 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4472 * src/Makefile.am: fixed installation of the header files
4474 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4480 * debian/changelog: Updating.
4482 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4484 * configure.ac: Removing some remaining of --enable-xan.
4486 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4488 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4489 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4491 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4492 2.10.12-osso6 because the move-focus signal needs to be available in
4495 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4497 * examples/Makefile.am:
4498 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4499 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4500 fine. Prolly NB#61128 is fixed now.
4502 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4504 * src/hildon-volumebar.c:
4505 * src/hildon-volumebar.h: Adding the
4506 hildon_volumebar_set_range_insensitive_message and
4507 hildon_volumebar_set_range_insensitive_messagef functions to set
4508 insensitive message on the slider of the volumebar. Fixes NB#61129.
4510 * examples/Makefile.am:
4511 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4512 test the new insensitive messsage functionality on HildonVolumebar.
4514 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4516 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4519 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4521 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4522 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4523 button on after clearing the trail.
4525 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4527 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4529 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4531 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4532 by splitting the installed headers in generated and non-generated groups. Use
4533 only the non-generated headers to create the hildon-enum-types.h file.
4535 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4537 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4539 * src/hildon-window.c: Hide the window before performing the destroy.
4540 Should make the app closing a little tiny bit more snappy.
4542 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4544 * src/hildon-seekbar.c: add gtkrange.h header
4545 * src/hildon-caption.c: remove unused variable
4547 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4549 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4552 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4558 * debian/changelog: Updating.
4560 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4562 * src/hildon-window.c (hildon_window_window_state_event,
4563 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4564 escape timeout on focus-out-event rather than notify::is-topmost; the
4565 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4567 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4569 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4570 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4572 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4574 * src/hildon-window: actually, you need to use the macro always, there's
4575 no private pointer in the instance structure. We should have cleaned this up
4576 when we had the chance...
4578 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4580 * src/hildon-window.c: do not get the private date from HildonWindow before
4581 it passes the g_return_if_fail check. Once it's passed the test, there's no
4582 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4583 if you are only going to access the data once. Whitespace cleanups.
4585 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4587 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4588 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4590 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4596 * debian/changelog: Updating.
4598 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4600 * src/hildon-window.c: When destroying the window, remove (if exists) the
4601 escape timeout handler. Fixes #NB59276.
4603 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4605 * src/hildon-banner.c: When realizing the widget, set the window
4606 transiency. Setting the transiency in the gobject constructor is not
4607 good, as the widget is not realized at that point. Fixes: #NB56624.
4609 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4611 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4612 Add padding for future expansions.
4614 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4616 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4617 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4618 will fake an activation on the previous to the last item of the trail, so
4619 the effect can be overrided by the developer as usual.
4620 Also change the callback for the back button to do the same thing, so its
4621 effect can be overrided too. Fixes: NB#58982
4623 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4625 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4626 HildonCaption. Fixes NB#52379.
4628 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4630 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4631 the internal state of the trail after the user has had the chance of executing
4632 his handler for the signal. Specifically, it may happen that the activated button
4633 is removed and the user still lets the default handler run. This would segfault
4636 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4638 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4639 scrollbar to the preview dialog. Fixes NB#54147.
4641 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4643 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4644 max/min year properties can be altered, so the client can modify it
4645 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4647 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4649 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4650 hildonlike by default. Fixing a problem with disappearing arrows when
4651 scrolling through months and years. Fixes NB#54127.
4653 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4655 * examples/hildon-date-editor-example.c: Adding error callback to the date
4658 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4664 * configure.ac: Updating.
4666 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4668 * configure.ac: Adding a special '--enable-xan' configure option that
4669 turns off the -Werror compilation setting. Usefull for development.
4671 * src/hildon-calendar.c:
4672 * src/hildon-number-editor.c:
4673 * src/hildon-time-picker.c: Adding the 5* multiplier to
4676 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4678 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4679 instead of g_object_ref + gtk_object_sink.
4681 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4687 * debian/changelog: Updating.
4689 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4691 * src/hildon-color-chooser-dialog.c:
4692 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4693 straight from Tommi labs.
4695 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4697 * examples/hildon-finger-example.c: Correcting the header file path.
4699 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4700 the changed signal. Fixes a small memory leak.
4702 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4706 * src/hildon-banner.c: Importing several usefull fixes from the
4707 ubuntu-mobile branch.
4709 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4711 * examples/Makefile.am:
4712 * examples/hildon-finger-example.c: Adding a finger-checking code
4715 * src/hildon-font-selection-dialog.c: Do not allocate the color
4716 structure using the g_new. Fixes NB#54061.
4718 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4720 * src/hildon-helper.c: Correcting tabs in file.
4722 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4724 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4725 control the visibility of the children.
4727 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4729 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4735 * debian/changelog: Updating.
4737 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4739 * src/hildon-bread-crumb-trail.c:
4740 (hildon_bread_crumb_trail_size_allocate):
4742 Make the back button always a square.
4744 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4746 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4747 from the .c file as it's a private file.
4749 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4751 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4752 uses slightly bigger height.
4754 * src/hildon-font-selection-dialog.c: Adding some checks before
4755 freeing memory in the font selection dialog.
4757 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4759 * src/hildon-font-selection-dialog.c: Adding a small check when
4762 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4763 buttons sensitivity on page switching.
4765 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4767 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4768 internal details of adding a bread crumb to the trail.
4770 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4776 * debian/changelog: Updating.
4778 * src/hildon-bread-crumb-trail.h:
4779 * src/hildon-bread-crumb.h: Changing the API guard to
4780 HILDON_ENABLE_UNSTABLE_API.
4782 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4790 * src/hildon-helper.h: Updating.
4792 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4800 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4804 * src/hildon-helper.h: Small fix to make the package actually compile.
4806 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4808 * src/hildon-bread-crumb-trail.h:
4809 * src/hildon-bread-crumb.h:
4811 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4812 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4814 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4816 * examples/hildon-bread-crumb-trail-example.c:
4818 * src/hildon-bread-crumb-trail.c:
4819 * src/hildon-bread-crumb-trail.h:
4820 * src/hildon-bread-crumb.c:
4821 * src/hildon-bread-crumb.h:
4822 * src/hildon-marshalers.list:
4823 * src/hildon-bread-crumb-widget.c:
4824 * src/hildon-bread-crumb-widget.h:
4826 Slight change in the widget design. The bread crumb trail API is
4827 unchanged, but HildonBreadCrumb is now an interface. A *private*
4828 implementation, hildon-bread-crumb-widget, is provided and used
4829 internally by the trail for the push_text/push_icon functions.
4831 The generic push API is still available, so anyone can implement
4832 and use its own bread crumb widget.
4834 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4836 * debian/rules: Fixing the shlibs.
4838 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4840 * src/hildon-banner.c: Fixing a problem with timed banners having
4841 their parrent destroyed before they are.
4843 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4845 * src/hildon-bread-crumb.c:
4846 * src/hildon-bread-crumb.h:
4848 Make the get_natural_size function a vfunc.
4850 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4852 * src/hildon-bread-crumb.c:
4853 * src/hildon-bread-crumb-trail.c:
4857 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4864 * debian/changelog: Updating for release.
4866 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4868 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4869 don't leak the pango layout.
4871 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4874 * examples/hildon-bread-crumb-trail-example.c:
4878 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4880 * debian/changelog: Removing the bug-fixed entries that were actually
4881 resolved as WONTFIX.
4883 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4886 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4888 * src/hildon-bread-crumb-trail.c:
4889 * src/hildon-bread-crumb-trail.h:
4890 * src/hildon-bread-crumb.c:
4891 * src/hildon-bread-crumb.h:
4895 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4897 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4898 until it's passed the type check.
4900 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4902 * examples/hildon-bread-crumb-trail-example.c
4906 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4908 * examples/Makefile.am
4909 * examples/hildon-bread-crumb-trail-example.c
4911 * src/hildon-bread-crumb-trail.c
4912 * src/hildon-bread-crumb-trail.h
4913 * src/hildon-bread-crumb.c
4914 * src/hildon-bread-crumb.h
4916 New HildonBreadCrumbTrail widget.
4918 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4920 * src/hildon-range-editor.c (hildon_range_editor_init),
4921 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4922 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4923 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4924 hildon_time_editor_class_init, hildon_time_editor_init),
4925 src/hildon-get-password-dialog.c (invalid_input,
4926 hildon_get_password_set_property, hildon_get_password_get_property,
4927 create_contents, hildon_get_password_dialog_set_max_characters),
4928 src/hildon-set-password-dialog.c (create_contents),
4929 src/hildon-date-editor.c (hildon_date_editor_init),
4930 src/hildon-login-dialog.c (hildon_login_dialog_init),
4931 src/hildon-number-editor.c (hildon_number_editor_init),
4932 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4933 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4934 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4935 configure option and adding the respective checks in the code.
4936 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4937 hildon_calendar_drag_data_received): fixed some build warnings.
4939 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4941 * debian/changelog: A 1.0.0 release notes.