1 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitilely
4 set GtkTreeView::enable-search to FALSE, to avoid the interactive
5 search widget to popup.
7 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
9 * configure.ac: post release version bump
10 * debian/changelog: version bump
12 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
17 * configure.ac: bump version
18 * debian/changelog: updates
20 2008-12-02 Alberto Garcia <agarcia@igalia.com>
22 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
24 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
25 (hildon_window_stack_window_realized)
26 (hildon_window_stack_remove, _hildon_window_stack_do_push):
27 Set the leader GdkWindow when a window is stacked and realized,
28 unset it when it's unstacked.
29 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
31 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
33 2008-12-02 Alberto Garcia <agarcia@igalia.com>
35 * src/hildon-stackable-window.h
36 * src/hildon-window-stack.h:
37 Protect definition of HildonWindowStack using the preprocessor.
39 2008-12-02 Alberto Garcia <agarcia@igalia.com>
41 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
42 Fix warning if all menu items are hidden.
44 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
46 Patch contributed by Daniel Borgmann (danielb@openismus.com)
48 * src/hildon-controlbar.c:
49 * src/hildon-hvolumebar.c:
50 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
51 Multiple scale size defines updates.
53 Fixes: NB#94322 (Scale Updates)
55 2008-12-02 Alberto Garcia <agarcia@igalia.com>
57 * examples/hildon-app-menu-example.c (create_menu)
58 Show items after adding them to the menu, as in the future the
59 menu will no longer call gtk_widget_show() on the added items.
61 * src/hildon-app-menu.c:
62 Update example as explained above.
64 2008-12-02 Alberto Garcia <agarcia@igalia.com>
66 * src/hildon-app-menu.c
67 (hildon_app_menu_insert, hildon_app_menu_add_filter):
68 Make sure that all menu items have finger height.
70 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
72 * src/hildon-picker-dialog.c:
73 (_on_dialog_response), (_save_current_selection),
74 (_restore_current_selection), (_clean_current_selection),
75 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
76 Defined new functions in order to save the current internal selector
77 selection previous open the dialog, in case that the use cancel the
78 interaction, so the widget restores the previous selection.
80 Fixes: NB#92032 (In calendar application, date values in 'new event'
83 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
85 2008-11-28 Alberto Garcia <agarcia@igalia.com>
87 * src/hildon-button.c: Add a reference to the button examples in
88 hildon-button-example.c
90 * examples/hildon-button-example.c: Added examples of the most
91 common button layouts.
93 2008-11-28 Alberto Garcia <agarcia@igalia.com>
95 * src/hildon-app-menu.c (hildon_app_menu_show)
96 (hildon_app_menu_class_init): Don't show the menu if it's empty.
98 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
100 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
102 * src/hildon-picker-dialog.c:
103 (hildon_picker_dialog_init): Initialize the signal id for
104 HildonTouchSelector::columns-changed.
105 (+on_selector_columns_changed): Set up the interaction mode everytime a
106 column is added or removed from the HildonTouchSelector.
107 (_hildon_picker_dialog_set_selector): Connect to
108 HildonTouchSelector::columns-changed and keep track of it.
110 Make sure to update the interaction mode of the dialog everytime a
111 column is added or removed in the HildonTouchSelector.
113 Fixes: NB#93228 (Done button is not shown always in listpicker)
115 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
117 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
118 a new ::columns-changed signal.
119 (hildon_touch_selector_append_column): Emit ::columns-changed.
120 (hildon_touch_selector_remove_column): Emit ::columns-changed.
122 Add a ::columns-changed signal, emitted when the number of columns in a
123 HildonTouchSelector changes.
125 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
127 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
128 (_hildon_picker_dialog_set_selector): Factor out the code
129 to set up the dialog interaction mode.
131 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
133 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
134 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
135 to signal_changed_id.
137 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
139 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
142 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
144 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
145 Updated the logical ids related to ampm format, as now it is required to
146 show it correctly localized even on languages with no default
147 abbreviations for am or pm
148 (_check_am_pm_format): check correctly the 24h format gconf property
150 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
152 2008-11-27 Alberto Garcia <agarcia@igalia.com>
154 * src/hildon-button.c: Documentation updates.
156 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
158 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
159 * src/hildon-caption.c: (hildon_caption_class_init):
160 * src/hildon-color-button.c: (hildon_color_button_class_init):
161 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
162 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
163 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
164 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
166 Remove deprecated GTK+ marshalers and replace them with the ones
167 provided by GLib, for those available, add a marshaler for
168 BOOLEAN:VOID, which is not available in GLib, and use it.
170 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
172 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
173 the text from the previous column if there is no
174 HildonTouchSelectorColumn::text-property set.
176 2008-11-27 Alberto Garcia <agarcia@igalia.com>
178 * src/hildon-button.h
179 * src/hildon-button.c (hildon_button_set_property)
180 (hildon_button_get_property, hildon_button_class_init)
181 (hildon_button_set_style, hildon_button_get_style):
182 New "style" property to change the visual appearance of the
185 * src/hildon-picker-button.c (hildon_picker_button_new):
186 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
188 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
189 HildonButton look like PickerButton)
191 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
193 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
194 column while building the default string.
196 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
198 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
199 scroll indicator by default.
201 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
203 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
205 * src/hildon-main.c: Fix the documentation for hildon_init()
207 2008-11-25 Alberto Garcia <agarcia@igalia.com>
209 * doc/hildon-docs.sgml
213 * src/hildon-window-stack-private.h
214 * src/hildon-window-stack.h
215 * src/hildon-window-stack.c:
216 New HildonWindowStack object, that adds support for multiple
217 stacks of windows per process.
219 * src/hildon-stackable-window-private.h
220 * src/hildon-stackable-window.h
221 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
222 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
223 (hildon_stackable_window_show, hildon_stackable_window_hide)
224 (hildon_stackable_window_class_init)
225 (hildon_stackable_window_init):
226 Use HildonWindowStack for stack management.
228 * src/hildon-program.c (hildon_program_pop_window_stack)
229 (hildon_program_peek_window_stack)
230 (hildon_program_go_to_root_window):
231 Add a fallback implementation to the deprecated functions using
234 * examples/hildon-stackable-window-example.c:
235 Use the new HildonWindowStack API.
237 2008-11-25 Alberto Garcia <agarcia@igalia.com>
239 * src/hildon-stackable-window-private.h
240 * src/hildon-stackable-window.c (hildon_stackable_window_show)
241 (hildon_stackable_window_hide, hildon_stackable_window_init):
242 Remove all window stack management.
244 * src/hildon-program-private.h
245 * src/hildon-program.h
246 * src/hildon-program.c (hildon_program_init)
247 (hildon_program_pop_window_stack)
248 (hildon_program_peek_window_stack)
249 (hildon_program_go_to_root_window):
250 Remove all window stack management and mark functions as
253 2008-11-25 Alberto Garcia <agarcia@igalia.com>
255 * src/hildon-app-menu.c (hildon_app_menu_realize):
256 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
258 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: post release version bump
261 * debian/changelog: version bump
263 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
268 * configure.ac: bump version
269 * debian/changelog: updates
271 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
273 Based on initial code by Christian Dywan (christian@imendio.com)
275 * doc/hildon-docs.sgml: Add section for hildon-main.
276 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
277 * src/Makefile.am: Add new hildon-main.[ch]
278 * src/hildon-defines.h: Update the icon sizes.
279 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
280 new library initialization files and register icon sizes.
281 * src/hildon-main.h: New declarations.
282 * src/hildon.h: Include hildon-main.h
284 Add new initialization functions to the library. These methods
285 will register the hildon specific icon sizes and can be used in the
286 future for other hildon specific bits.
288 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
290 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
292 * src/hildon-window.c: (hildon_window_realize),
293 (hildon_window_notify), (-hildon_window_update_title): Do not set
294 the application name in the window title.
296 Fixes: NB#89754 (Applications shouldn't display their names in the
299 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
301 * src/hildon-note-private.h:
302 * src/hildon-note.c: (hildon_note_set_property),
303 (hildon_note_get_property), (hildon_note_class_init),
304 (hildon_note_init), (hildon_note_finalize),
305 (hildon_note_new_confirmation_with_icon_name),
306 (hildon_note_new_information_with_icon_name):
308 No need to mark as deprecated the actual code. Revert
309 to avoid missing symbols in widgets using deprecated API.
311 2008-11-20 Alberto Garcia <agarcia@igalia.com>
313 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
315 * src/hildon-volumebar.h
316 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
317 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
319 * src/hildon-helper.h
320 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
321 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
323 * examples/Makefile.am:
324 Deprecate hildon-insensitive-example
326 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
328 2008-11-20 Alberto Garcia <agarcia@igalia.com>
330 * examples/hildon-pannable-area-buttons-scroll-example.c:
331 Make all buttons finger height
333 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
335 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
337 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
338 update the day model only if it is really required, and to avoid the
339 full-reconstruction aproach. Now it only add or remove the required days.
341 The purpose of this is avoid superfluous HildonTouchSelector::changed
344 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
345 with strange parameters)
347 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
349 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
351 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
352 the WINDOW_TYPE property.
354 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
356 2008-11-19 Alberto Garcia <agarcia@igalia.com>
359 Fix dependency to allow parallel compilation with make -jX
361 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
363 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
364 color frame and some minor tweaks to make it more consistent with
367 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
368 highlighted but not visible)
370 2008-11-14 Alejandro G. Castro <alex@igalia.com>
372 * examples/Makefile.am: Fixed typo in the Makefile.am.
374 2008-11-14 Alejandro G. Castro <alex@igalia.com>
376 Reviewed the use of MAEMO_GTK define, now we add the define in the
377 compilation line, and we also add it to the pc file.
379 * configure.ac: Added MAEMO_GTK define to the compilation command
380 and removed it from the config.h.
382 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
383 do not have to take care about this define if the library was
387 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
389 2008-11-14 Alejandro G. Castro <alex@igalia.com>
391 * examples/Makefile.am,
392 * examples/hildon-pannable-area-buttons-scroll-example.c,
393 * examples/hildon-pannable-area-gesture-signals-example.c,
394 * examples/hildon-pannable-area-scroll-jump-example.c,
395 * examples/hildon-pannable-area-tree-view-example.c:
396 Renamed the pannable area examples, now they have more meaningful
399 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
401 * src/hildon-touch-selector.c:
402 (hildon_touch_selector_set_column_selection_mode): Used of
403 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
404 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
405 to avoid re-seting the same selection mode.
407 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
408 breaks HildonPickerDialog)
410 2008-11-13 Alejandro G. Castro <alex@igalia.com>
412 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
413 conditional in the Makefile.am
415 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
417 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
418 Remove unused methods.
420 2008-11-12 Alberto Garcia <agarcia@igalia.com>
422 * src/hildon-button.c (hildon_button_init):
423 Make button images center-aligned by default
425 2008-11-12 Alejandro G. Castro <alex@igalia.com>
428 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
429 activated, we have to think about how to deal with both defines
430 MAEMO_GTK and MAEMO_CHANGES.
432 2008-11-12 Alberto Garcia <agarcia@igalia.com>
434 * examples/hildon-app-menu-example.c (create_menu): Make all
437 2008-11-11 Alejandro G. Castro <alex@igalia.com>
439 Fixed the compilation without maemo gtk adding ifdefs with
440 MAEMO_GTK define to the code, we have to check this version more
443 * examples/Makefile.am: Added control to avoid some examples that
444 just make sense with maemo gtk.
447 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
448 hildon modes with the define.
450 * examples/hildon-edit-toolbar-example.c,
451 (create_icon_view): Create the icon view without hildon-gtk
452 helpers if we are not using maemo gtk.
454 * src/hildon-touch-selector.c,
455 (_create_new_column): Create the treeview without hildon-gtk
456 helpers if we are not using maemo gtk.
458 2008-11-11 Alejandro G. Castro <alex@igalia.com>
460 * src/hildon-pnnable-area.c,
461 (hildon_pannable_area_dispose),
462 (hildon_pannable_area_button_press_cb),
463 (hildon_pannable_area_child_mapped),
464 (hildon_pannable_area_add),
465 (hildon_pannable_area_remove): Added code to control the position
466 of the event_window when adding and removing children from the
467 pannable. We have to raise the event window when the child is
470 Fixes: NB#89811 (Not able to select first image thumbnail in multi
471 selection mode using custom widget inside pannable)
473 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
475 * configure.ac: post release version bump
476 * debian/changelog: version bump
478 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
483 * configure.ac: bump version
484 * debian/changelog: updates
486 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
488 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
489 search mode, in order to avoid lose the focus on the treeview when
490 a hw key (like enter) is pressed.
492 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
493 in HildonDateSelector dialog)
495 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
497 * debian/rules: Added --enable-maintainer-mode
498 * Makefile.am: Added ACLOCAL_AMFLAGS
500 This allows to properly regenerate the Makefiles if you modify the
501 configure.ac or any Makefile.am.
503 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
505 * examples/hildon-app-menu-example.c: (main): Do not set RC style
506 properties, not needed at all.
508 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
510 * src/hildon-note-private.h: Add strings for the icon and stock_icon
512 * src/hildon-note.c: (hildon_note_set_property),
513 (hildon_note_get_property), (hildon_note_class_init),
514 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
515 (hildon_note_new_confirmation_add_buttons): Remove icons.
516 (hildon_note_new_confirmation_with_icon_name): Deprecate.
517 (hildon_note_new_information_with_icon_name): Deprecate.
518 (hildon_note_new_confirmation): Act directly, without calling
519 the deprecated constructor.
520 (hildon_note_new_information): Act directly, without calling
521 the deprecated constructor.
522 * src/hildon-note.h: Mark deprecate methods as such.
523 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
524 not run tests on the deprecated methods if built with deprecation
527 Fixes: NB#91688 (Never show icons in information notes/confirmation
530 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
532 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
533 (hildon_app_menu_key_press): Remove leftover usage of the
534 private structure in HildonAppMenu struct.
535 * src/hildon-app-menu.h: Remove leftover private structure
536 from the HildonAppMenu struct.
538 Fixes a crasher when using the HildonAppMenu.
540 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
542 * src/hildon-picker-dialog.c: Use appropriate logical id
543 for the default "Done" text.
545 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
547 * configure.ac: post release version bump
548 * debian/changelog: version bump
550 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
552 Modified the way to scroll to the current selection just when the touch
553 selector is shown on the screen, avoiding a g_idle. Added too a property
554 to configure this behaviour. See hildon_pannable_area_jump_to_child
555 documentation for more information.
557 * src/hildon-touch-selector.c
558 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
559 Added 'initial-scroll' property
560 (hildon_touch_selector_set_property): Added
561 (hildon_touch_selector_map): Removed as not required anymore
562 (_hildon_touch_selector_on_selected_items): Modified in order to manage
563 only a concrete column, instead of iterate along all the columns
565 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
570 * configure.ac: bump version
571 * debian/changelog: updates
573 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
576 compilation time warnings.
578 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
580 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
581 the default value for HildonPannableArea::mov-mode to
582 HILDON_PANNABLE_AREA_MODE_VERT.
584 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
586 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
588 Reverting following commit:
590 2008-10-13 Alberto Garcia <agarcia@igalia.com>
592 * src/hildon-app-menu-private.h
593 * src/hildon-app-menu.[ch]
594 * src/hildon-button.[ch]
595 * src/hildon-check-button.[ch]
596 * src/hildon-entry.[ch]
597 * src/hildon-pannable-area.[ch]
598 * src/hildon-text-view.[ch]:
599 Added private field to the object's structure.
601 because it causes an ABI breakage. We will need to introduce these
602 changes later at some point. See NB#91636 for an extensive
603 explanation and status.
605 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
607 Patch contributed by Daniel Borgmann (danielb@openismus.com)
609 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
610 remove special cases that are no longer necessary.
612 Fixes: NB#91016 (Change toolbar sizes, simplification)
614 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
616 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
617 is shown in the cancel note.
619 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
621 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
622 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
623 (hildon_seekbar_init): Remove steppers, remove expose event.
624 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
626 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
628 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
630 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
631 label font to "SmallSystemFont" for vertically arranged buttons.
633 Fixes: NB#90662 (HildonButton "value" and "detail" text is
636 2008-10-31 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-check-button.c
639 (hildon_check_button_set_active, hildon_check_button_clicked):
640 Don't access private parts directly, use getters instead.
642 2008-10-31 Alberto Garcia <agarcia@igalia.com>
644 * src/hildon-check-button.c (hildon_check_button_new):
645 Align the contents of the check button to the left.
647 2008-10-30 Alejandro G. Castro <alex@igalia.com>
649 * src/hildon-pannable-area.c,
650 (hildon_pannable_area_scroll_to),
651 (hildon_pannable_area_jump_to),
652 (hildon_pannable_area_scroll_to_child),
653 (hildon_pannable_area_jump_to_child): Replace the mapped
654 precondition of these functions with the realized, it is the
655 correct state of the widget in this case. Changed the
656 documentation according to this modification.
658 2008-10-30 Alejandro G. Castro <alex@igalia.com>
660 Added a new EXTRA_CFLAGS option to add the deprecated define to
661 the compilation command. This way we can avoid using the define in
662 the documentation compilation.
664 * configure.ac: Defined EXTRA_CFLAGS.
666 * examples/Makefile.am:
668 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
670 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
672 * src/hildon-picker-dialog.c:
673 Defined a utility macro with the desired touch selector height
674 Removed currently unused separator, and title_label variables from
676 (hildon_picker_dialog_init): Removed code related to the creation
677 of unused private variables title_label and separator.
678 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
679 to ensure correct visualization of the touch selector inside the dialog.
680 * src/hildon-touch-selector.c
681 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
682 ensure a concrete height of the widget.
684 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
689 Remove spurious whitespaces.
691 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
693 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
694 compilation warning after the cancel button removal.
696 2008-10-30 Alejandro G. Castro <alex@igalia.com>
698 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
700 * configure.ac: Added an AM_CONDITIONAL in order to use in the
701 Makefile.am, that way we can choose not to compile some examples
702 and tests of the deprecated widgets.
704 * examples/Makefile.am: Divided the sources in deprecated and
707 * src/Makefile.am: Added undef statement of the deprecated
708 symbol to the enums file generation process.
710 * src/hildon-color-chooser-dialog.c
711 * src/hildon-color-chooser-dialog.h
712 * src/hildon-color-button.c
713 * src/hildon-color-button.h
714 * src/hildon-color-chooser.c
715 * src/hildon-color-chooser.h
716 * src/hildon-controlbar.c
717 * src/hildon-controlbar.h
718 * src/hildon-date-editor.c
719 * src/hildon-date-editor.h
720 * src/hildon-hvolumebar.c
721 * src/hildon-hvolumebar.h
722 * src/hildon-private.c
723 * src/hildon-private.h
724 * src/hildon-range-editor.c
725 * src/hildon-range-editor.h
726 * src/hildon-seekbar.c
727 * src/hildon-seekbar.h
728 * src/hildon-time-editor.c
729 * src/hildon-time-editor.h
730 * src/hildon-time-picker.c
731 * src/hildon-time-picker.h
732 * src/hildon-volumebar.c
733 * src/hildon-volumebar.h
734 * src/hildon-vvolumebar.c
735 * src/hildon-vvolumebar.h
736 * src/hildon-bread-crumb-trail.h
737 * src/hildon-bread-crumb-trail.c
738 * src/hildon-calendar-popup.c
739 * src/hildon-calendar-popup.h
740 * src/hildon-weekday-picker.c:
741 * src/hildon-weekday-picker.h:
742 * src/hildon-bread-crumb-widget.c:
743 * src/hildon-bread-crumb-widget.h:
744 * src/hildon-bread-crumb.c:
745 * src/hildon-bread-crumb.h:
746 * src/hildon-calendar.c:
747 * src/hildon-calendar.h:
748 * src/hildon-caption.c:
749 * src/hildon-code-dialog.c:
750 * src/hildon-code-dialog.h:
751 * src/hildon-font-selection-dialog.c:
752 * src/hildon-font-selection-dialog.h:
753 * src/hildon-get-password-dialog.c:
754 * src/hildon-get-password-dialog.h:
755 * src/hildon-login-dialog.c:
756 * src/hildon-login-dialog.h:
757 * src/hildon-number-editor.c:
758 * src/hildon-number-editor.h:
759 * src/hildon-set-password-dialog.c:
760 * src/hildon-set-password-dialog.h:
761 * src/hildon-sort-dialog.c:
762 * src/hildon-sort-dialog.h: This is the list of deprecated
765 * src/hildon-touch-selector.c:
766 * src/hildon-window.c: Added undef statement to avoid compilation
769 * tests/Makefile.am: Divided the sources in deprecated and
772 * tests/check_test.c,
773 (configure_tests): Marked the deprecated code that was adding
774 suites with deprecated tests.
776 Fixes: NB#91135 (Deprecate legacy hildon widgets)
778 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
780 * src/hildon-touch-selector.c: (_default_print_func): Do not
781 duplicate a string returned by gtk_tree_model_get(), it is already
784 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
787 2008-10-28 Alejandro G. Castro <alex@igalia.com>
789 * src/hildon-pannable-area.c
790 (hildon_pannable_area_add_with_viewport): Reviewed the complete
791 method, it had problems when adding a widget with viewport the
792 second time. Now checks if it already has a viewport and uses it.
794 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
797 2008-10-28 Alejandro G. Castro <alex@igalia.com>
799 * src/hildon-pannable-area.c,
800 (hildon_pannable_area_scroll_to),
801 (hildon_pannable_area_jump_to),
802 (hildon_pannable_area_scroll_to_child),
803 (hildon_pannable_area_jump_to_child): Added a precondition to the
804 scroll and jump to functions: the widget must be mapped before we
805 can safely call these functions. We have also added documentation
806 to the functions to explain how to use them in this situation.
809 2008-10-28 Alejandro G. Castro <alex@igalia.com>
811 Reviewed the threading handling of the pannable widget, we have
812 used the gdk_threads_add_timeout function instead of the usual
813 glib handlers. This avoids some problems with the threads.
815 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
816 (hildon_pannable_area_initial_effect),
817 (hildon_pannable_area_scroll_indicator_fade),
818 (hildon_pannable_area_button_press_cb),
819 (hildon_pannable_area_timeout),
820 (hildon_pannable_area_motion_notify_cb),
821 (hildon_pannable_area_button_release_cb),
822 (hildon_pannable_area_scroll_cb),
823 (hildon_pannable_area_scroll_to): Removed the
824 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
825 gdk_threads_add_timeout.
827 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
829 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
834 * configure.ac: bump version
835 * debian/changelog: updates
837 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
839 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
840 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
841 * src/hildon-color-chooser-dialog.c:
842 (hildon_color_chooser_dialog_init):
843 * src/hildon-font-selection-dialog.c:
844 (hildon_font_selection_dialog_init):
845 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
847 Remove all cancel/close-like dialogs, as these are not going to be
850 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
852 * src/hildon-note.c: (hildon_note_rebuild),
853 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
856 Fixes: NB#90661 (Delete dialog is displayed without NO button)
858 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
860 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
861 sure all buttons are shown, even the Cancel/Close-like ones.
863 Fixes: NB#90861 (Custom Confirmation dialogs should be
864 protected from cancel button removal)
866 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
868 * debian/control: Change libhildon1-examples dependency from libhildon1
870 * debian/libhildon1-examples.install
872 * Makefile.am: Modified the final install directory for the examples on
873 package libhildon1-examples
874 * Makefile.static: Update clean target in order to remove all the binary
877 Changes suggested by Claudio after review new libhildon1-examples package
879 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
882 * src/hildon-touch-selector.c: Ditto.
884 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
886 * debian/control: Added new package libhildon1-examples, in order to pack
887 the current hildon examples as documentation
888 * debian/rules: Not to compress .c files, modify some includes on the
889 examples (as normally are compiled locally, but when installed it will
890 require to include the installed libhildon1 library), and rename
892 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
893 install all the example files on the new example package
894 * examples/Makefile.static: Added static makefile that can be used to
895 compile the examples, once installed the new example package
896 * examples: Most of the examples were modified in order to grant that
897 all use only '#include "hildon.h"', in order to be easy to prepare
898 it on the example package
900 2008-10-23 Alberto Garcia <agarcia@igalia.com>
903 * debian/libhildon1-dev.install
904 * debian/libhildon1-doc.install:
905 Move all gtk-doc files to a separate libhildon1-doc package.
907 2008-10-23 Daniel Borgmann <danielb@openismus.com>
909 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
911 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
913 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
915 * debian/rules: Fixed a error in order to avoid unnecessary calls
916 to autogen.sh on package building
918 2008-10-22 Alberto Garcia <agarcia@igalia.com>
920 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
922 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
924 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
927 2008-10-21 Alberto Garcia <agarcia@igalia.com>
929 * src/hildon-picker-button.c
930 (hildon_picker_button_finalize):
931 Free priv->done_button_text
933 * src/hildon-time-button.c
934 (hildon_time_button_set_time)
935 * src/hildon-picker-button.c
936 (hildon_picker_button_clicked)
937 (hildon_picker_button_selector_selection_changed)
938 (hildon_picker_button_set_selector)
939 * src/hildon-date-button.c
940 (hildon_date_button_set_date):
941 Free strings returned by hildon_touch_selector_get_current_text()
943 * src/hildon-button.c (hildon_button_construct_child):
944 Fix leaks in priv->image and priv->label_box
946 Fixes: NB#90535 (Memory leak in picker button)
948 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
950 * src/hildon-button.c: (hildon_button_get_property): Do not access
951 private elements directly, use getters instead.
953 2008-10-20 Alberto Garcia <agarcia@igalia.com>
955 * src/hildon-app-menu-private.h
956 * src/hildon-app-menu.c
957 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
958 Store the menu's parent window.
960 * src/hildon-stackable-window.c
961 (hildon_stackable_window_toggle_menu)
962 (hildon_stackable_window_finalize):
963 Set the menu's parent window when the menu is shown, unset it when
966 * src/hildon-app-menu.c
967 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
968 (hildon_app_menu_class_init):
969 Send unhandled keyboard accelerators to the parent window.
971 2008-10-20 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-stackable-window.c
974 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
976 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
978 * configure.ac: post release version bump
980 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
983 * configure.ac: Bump version
984 * debian/changelog: Updates
985 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
988 2008-10-20 Alberto Garcia <agarcia@igalia.com>
990 Patch contributed by Daniel Borgmann (danielb@openismus.com)
993 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
994 GtkMenu with Hildon style.
996 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
998 * src/hildon-picker-button.c:
999 (hildon_picker_button_set_done_button_text): Set the dialog's
1000 done button text here as well.
1002 Fixes: NB#90232 (Picker button does not set the label on done button
1003 for the second time)
1005 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
1010 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1012 * src/hildon-app-menu.c (hildon_app_menu_insert)
1013 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
1014 the HildonAppMenu to be activatable using keyboard accelerators
1015 when the menu is not being shown.
1017 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
1019 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1021 * src/hildon-stackable-window.c
1022 (hildon_stackable_window_show):
1023 Don't hide old windows automatically when new windows are shown:
1024 this is now a task for the window manager.
1025 (hildon_stackable_window_class_init)
1026 (hildon_stackable_window_hide):
1027 Remove windows from the stack everytime they're hidden.
1028 (hildon_stackable_window_realize):
1029 Don't change the _NET_WM_WINDOW_TYPE property. Use
1030 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
1031 it as a stackable window.
1033 * src/hildon-program.c
1034 (hildon_program_pop_window_stack):
1035 Just hide the window to remove it from the stack.
1036 (hildon_program_go_to_root_window):
1037 Don't call gtk_widget_show(), this is now a task for the window
1040 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
1042 2008-10-15 Alberto Garcia <agarcia@igalia.com>
1044 * src/hildon-button.c
1045 (hildon_button_construct_child):
1046 Don't pack anything in the button until text or image are
1047 set. This allows adding a custom child after creating the button
1048 with hildon_button_new().
1049 (hildon_button_finalize, hildon_button_class_init)
1050 (hildon_button_init, hildon_button_set_arrangement): Destroy the
1051 alignment and the label box even when they're not packed in the
1054 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
1056 * src/hildon-touch-selector.h:
1057 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
1058 currently the type definition was using GTK_TYPE_VBOX
1059 * src/hildon-touch-selector.c:
1060 Added some implementation notes in order to clarify that any other widget
1061 added without the column related API will not be included on the
1062 selection logic, and how the widget is freed, as some people ask about
1064 (hildon_touch_selector_remove): Reimplemented in order to free properly
1065 the column related data when you remove the private hbox.
1066 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1067 to get a proper HildonTouchSelectorColumn documentation
1069 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1071 * src/hildon-touch-selector-entry.c:
1072 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1073 text in the GtkEntry and there is no item selected. Fixes a
1076 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-app-menu-private.h
1079 * src/hildon-app-menu.[ch]
1080 * src/hildon-button.[ch]
1081 * src/hildon-check-button.[ch]
1082 * src/hildon-entry.[ch]
1083 * src/hildon-pannable-area.[ch]
1084 * src/hildon-text-view.[ch]:
1085 Added private field to the object's structure.
1087 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1089 * configure.ac: post-release version bump
1091 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1095 * configure.ac: pre-release version bump
1097 * debian/changelog: updates.
1099 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1101 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1102 Disconnect the handler for HildonTouchSelector::changed.
1104 (hildon_picker_button_selector_selection_changed): Update the button
1105 value if the selection change was not triggered by the
1108 (hildon_picker_button_set_selector): connect to
1109 HildonTouchSelector::changed.
1111 Fixes: NB#89650 (Picker button is not updated, when selection in
1112 selector has changed)
1114 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1116 * src/hildon-picker-dialog.c
1117 (hildon_picker_dialog_realize): Removed as not required
1118 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1119 * src/hildon-picker-button.c
1120 (_current_selector_empty): New function, checks if the selector is empty
1121 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1122 if the current selector is empty, in order to avoid to show the dialog
1123 close the dialog in this case (and shows a g_warning).
1125 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1127 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1129 * src/hildon-pannable-area.c,
1130 (hildon_pannable_area_scroll): Added clause to stop movement when
1131 the child of pannable is smaller than one page.
1132 (hildon_pannable_area_scroll_to): Added conditions to avoid
1133 starting the scrolling movement if the child is smaller than one
1134 page, the complete child is in the screen, we do not have to move.
1136 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1138 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1140 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1141 this is managed automatically by the widget when the size of the
1144 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1146 * src/hildon-picker-button.c
1147 (hildon_picker_button_set_done_button_text): Make a copy of the
1148 text, and free the previous value.
1150 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1152 * src/hildon-touch-selector-entry.c:
1153 (hildon_touch_selector_entry_print_func): Return the selected row's
1154 text if the entry is empty.
1156 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1159 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1161 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1163 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1166 * src/hildon-check-button.h
1167 * src/hildon-check-button.c
1168 * examples/hildon-check-button-example.c:
1169 HildonCheckButton is now a new widget. 'toggled' signal added.
1171 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1173 * src/hildon-program-private.h
1174 * src/hildon-program.c (hildon_program_init)
1175 (hildon_program_finalize): Removed unused variables group_leader
1176 and name from HildonProgramPrivate.
1178 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-check-button.c (hildon_check_button_set_active)
1181 (hildon_check_button_get_active, hildon_check_button_new): Use
1182 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1184 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1186 * src/hildon-touch-selector.h
1187 (hildon_touch_selector_set_column_attributes): added deprecation
1188 guard HILDON_DISABLE_DEPRECATED
1189 * src/hildon-time-selector.c
1190 (hildon_time_selector_set_time)
1191 (hildon_time_selector_get_time): Fixed a typo on documentation
1192 * src/hildon-touch-selector.c: update HildonTouchSelector and
1193 HildonTouchSelectorColumn documentation
1194 * src/hildon-touch-selector-entry.c: update "text-column" property
1196 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1197 to be added to the general documentation.
1199 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1201 * examples/hildon-pannable-area-example-4.c,
1203 * examples/hildon-pannable-area-example.c,
1204 (main): Modified the code in order to use the container add, with
1205 viewport treeviews could have problems if they are really big.
1207 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1209 * src/hildon-weekday-picker.c,
1210 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1211 the agreement regarding deprecation in the library.
1213 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1215 * examples/hildon-picker-button-multicolumn-example.c:
1216 (main): Use custom "done" button text.
1218 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1219 (hildon_picker_button_set_property),
1220 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1221 (hildon_picker_button_init),
1222 (+hildon_picker_button_get_done_button_text),
1223 (+hildon_picker_button_set_done_button_text): New methods to customize
1224 the "done" button label in the launched HildonPickerDialog. Also,
1227 * src/hildon-picker-button.h: add the public API.
1229 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1231 * src/hildon-date-selector.h:
1232 * src/hildon-picker-dialog.h:
1233 * src/hildon-time-selector.h:
1234 * src/hildon-touch-selector-column.h:
1235 * src/hildon-touch-selector.h:
1237 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1238 declarations. Fixes gtk-doc warnings.
1240 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1242 * src/hildon-picker-dialog.h
1243 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1244 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1246 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1247 long text is set as label for done button)
1249 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-dialog.c (hildon_dialog_add_button):
1252 Set fixed width to all buttons in the HildonDialog.
1254 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1256 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1258 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1259 Set widget name using class name plus "-finger" or "-thumb".
1261 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1264 'clicked' when the state of the button is manually changed.
1266 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1268 * src/hildon-app-menu.c (hildon_app_menu_realize)
1269 (hildon_app_menu_unrealize, hildon_app_menu_init)
1270 (hildon_app_menu_class_init, item_visibility_changed):
1271 Change the menu layout when the size of the screen changes.
1272 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1273 Show warning only when changing the number of colums using the
1276 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1278 * debian/compat: Set to 5
1279 * debian/control: Update dependencies.
1280 * debian/libhildon1-dbg.install: Remove.
1281 * debian/libhildon1-dev.install: Update according to cdbs paths.
1282 * debian/libhildon1.install: Update according to cdbs paths.
1283 * debian/rules: Switch to cdbs.
1285 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1288 'item' variable renamed to 'filter'
1290 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-app-menu.c (hildon_app_menu_insert)
1293 (hildon_app_menu_add_filter, remove_item_from_list)
1294 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1295 Don't leak hidden items when the menu is destroyed.
1297 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-app-menu.c (hildon_app_menu_insert)
1300 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1301 (hildon_app_menu_set_columns, item_visibility_changed)
1302 (filter_visibility_changed, hildon_app_menu_repack_filters)
1303 (hildon_app_menu_repack_items):
1304 Repack items and filters separately.
1306 Don't repack all items, change only the ones that are needed to
1309 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1311 * src/Makefile.am: added hildon-touch-selector-column.h
1313 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1315 * src/hildon-touch-selector.c: added the property "text-column" to the
1316 class HildonTouchSelectorColumn, and related get/set functions
1317 (_default_printf_func): updated to use "text-column" property
1318 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1319 "text-column" in his documentation, as this is now included on
1320 HildonTouchSelectorColumn. The get/set_property can still be used,
1321 working as a wrapper to the concrete column "text-column" property
1322 (_text_column_modified): callback added in order to handle the signal
1323 "notify::text-column" of the concrete HildonTouchSelectorColumn
1324 (hildon_touch_selector_entry_get_text_column)
1325 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1326 modified in order to use the HildonTouchSelectorColumn "text-column"
1328 * src/hildon-time-selector.c:
1329 * src/hildon-date-selector.c:
1330 * examples/hildon-touch-selector-example.c
1331 * examples/hildon-touch-selector-multi-cells-example.c
1332 * examples/hildon-picker-button-multicolumn-example.c
1333 Set the right value to "text-column" property on the creation of a new
1334 column using hildon_touch_selector_append_column()
1336 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1338 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1340 * src/hildon-app-menu.c
1341 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1342 updating the layout of the menu, don't create all widgets again,
1343 just repack the items in their new places.
1345 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1347 * src/hildon-time-selector.c
1348 (hildon_time_selector_get_time)
1349 (hildon_time_selector_set_time)
1350 Added documentation of these public methods
1352 * src/hildon-date-button.h
1353 * src/hildon-touch-selector-column.h
1354 * src/hildon-time-button.h
1355 * src/hildon-picker-dialog.h
1356 * src/hildon-time-selector.h
1357 * src/hildon-picker-button.h
1358 * src/hildon-touch-selector.h
1359 * src/hildon-time-picker.h
1360 * src/hildon-date-selector.h
1361 * src/hildon-touch-selector-entry.h
1362 Modified in order to use hildon-widgets code style
1364 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1366 Added deprecated support to the compilation process using
1367 HILDON_DISABLE_DEPRECATED
1369 * configure.ac: Added the --disable-deprecated to the configure
1372 * src/hildon-weekday-picker.c:
1373 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1374 to use the deprecated support. We will update the other deprecated
1375 widgets status in a new patch.
1377 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1379 * configure.ac: Fixed typo with fatal warnings support, the
1380 variable name was not correct
1382 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1384 * src/hildon-app-menu.c
1385 * src/hildon-program.c: Update documentation.
1387 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1389 * configure.ac: Post-release version bump.
1391 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1396 * configure.ac: Pre-release version bump.
1397 * debian/changelog: Updates.
1399 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1401 * NEWS: Update news for previous releases.
1403 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1405 * examples/hildon-touch-selector-multi-cells-example.c:
1406 (create_selector): Update the example to use
1407 hildon_touch_selector_append_column() with a NULL renderer and set
1408 the renderers later.
1409 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1410 passed a NULL renderer. This is documented behavior now.
1412 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1413 This must be used if the developer wants full control on the layout of
1414 the renderers to be added to the column.
1416 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1418 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1420 * src/hildon-touch-selector.c: Documentation fixes.
1422 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-wizard-dialog-private.h: Remove image and box.
1425 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1426 (hildon_wizard_dialog_set_property), (response): Completely remove
1427 image/icon support, and the containers required for the layout.
1429 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1431 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1433 * src/hildon-app-menu.c: Updated documentation.
1435 * src/hildon-stackable-window.c
1436 (hildon_stackable_window_set_main_menu): Unref the old menu after
1437 ref'ing the new one.
1439 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1441 * src/hildon-stackable-window.c
1442 (hildon_stackable_window_set_main_menu): Unref the previous menu
1443 instead of destroying it.
1445 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1446 floating reference and set has_user_ref_count to FALSE to make
1447 HildonAppMenu act like a normal ref-counted widget and not a
1450 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1453 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1455 * src/hildon-touch-selector-column.h: new file
1456 * src/hildon-touch-selector.h
1457 * src/hildon-touch-selector.c
1458 Implemented GtkCellLayout interface, in order to allow to configure
1459 the cell layout on each individual selector column
1460 (hildon_touch_selector_set_column_attributes): marked as deprecated
1461 * examples/hildon-touch-selector-multi-cells-example.c
1462 Example of how to use the GtkCellLayout interface on the selector
1464 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1466 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1468 * src/hildon-app-menu.h
1469 * src/hildon-app-menu.c
1470 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1471 (hildon_app_menu_append, hildon_app_menu_prepend):
1472 New methods to prepend, insert and move items in the menu.
1474 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1476 * src/hildon-wizard-dialog.c:
1478 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1480 (create_title): Update logical IDs and related code.
1481 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1483 * src/hildon-wizard-dialog.h: Note that
1484 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1485 point, as it is not used anymore.
1487 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1489 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1491 * src/hildon-note.c:
1492 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1493 shown. Do not display an icon in confirmation notes nor information
1495 (hildon_note_set_button_text): Update logical ID for cancel button.
1497 Fixes: NB#88850 (Update HildonNote button strings + signals)
1499 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1501 * src/hildon-stackable-window.c
1502 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1504 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1506 * src/hildon-app-menu-private.h
1507 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1508 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1509 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1510 temporary property 'columns' to change the number of columns.
1512 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1514 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1516 * examples/hildon-note-example.c: (on_information_clicked),
1517 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1518 debugging information.
1519 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1521 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1522 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1523 in order to close: this will be handled by the WM from now on.
1525 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1527 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-app-menu-private.h
1530 * src/hildon-app-menu.c
1531 (hildon_app_menu_append, hildon_app_menu_add_filter)
1532 (button_visibility_changed, hildon_app_menu_apply_style)
1533 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1534 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1535 layout everytime a button (item or filter) is shown or hidden.
1537 * src/hildon-stackable-window.c
1538 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1541 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1543 * src/hildon-touch-selector.c:
1544 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1545 that the treeview inside the touch selector is in fremantle hildon mode
1546 * examples/hildon-date-button-example.c
1547 * examples/hildon-picker-button-multicolumn-example.c
1548 * examples/hildon-touch-selector-entry-example.c
1549 * examples/hildon-touch-selector-example.c
1550 * examples/hildon-time-button-example.c
1551 * examples/hildon-picker-button-example.c:
1552 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1554 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1556 * examples/hildon-text-view-example.c: (main): Remove the
1557 gtkrc bits, now handled by the theme.
1559 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1561 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1564 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1566 * po/Makefile.am: Install properly the mo files.
1567 * po/en_GB.po: Update translation, to ease testing purposes.
1569 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1571 * examples/hildon-picker-button-example.c: (main): Select an item
1572 in the selector before setting it to the button.
1574 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1577 Update button's value if the selector has an item active.
1579 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1580 'value' with the selector)
1582 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1584 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1585 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1586 (hildon_picker_button_class_init): Plug the finalize method.
1587 (hildon_picker_button_set_selector): If there's a previously set
1588 selector, unref'it before setting a new one.
1590 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1591 HildonTouchSelector)
1593 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1595 * src/hildon-touch-selector-entry.c:
1596 (hildon_touch_selector_entry_changed): Check if there is no text
1597 selected before setting the entry text.
1600 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-touch-selector.h
1603 * src/hildon-touch-selector.c
1604 (hildon_touch_selector_get_active)
1605 (hildon_touch_selector_set_active): New methods to set/get the
1606 index of the selected item.
1608 * src/hildon-picker-button.h
1609 * src/hildon-picker-button.c
1610 (hildon_picker_button_get_active)
1611 (hildon_picker_button_set_active): New methods to set/get the
1612 index of the selected item.
1614 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1616 * configure.ac: post-release version bump.
1618 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1622 * configure.ac: Pre-release version bump.
1623 * debian/changelog: Updates.
1624 * debian/control: Add myself as maintainer and depend on l10n
1627 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-window.c
1630 (hildon_window_set_main_menu)
1631 * src/hildon-stackable-window.c
1632 (hildon_stackable_window_set_main_menu):
1633 Updated documentation.
1635 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1637 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1638 Don't free selector->priv manually.
1641 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1644 (hildon_gtk_window_set_progress_indicator):
1645 * src/hildon-gtk.h: Added the new API
1646 hildon_gtk_window_set_progress_indicator, it changes the state of
1647 the window progress hint.
1649 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1651 * src/hildon-button.c
1652 * src/hildon-stackable-window.c: Minor documentation updates.
1654 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-stackable-window.c: Updated documentation.
1658 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-defines.h: Update margins definitions
1661 to the Fremantle sizes.
1664 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1666 * src/hildon-touch-selector.c,
1667 (_hildon_touch_selector_set_model): Cleaning the code after
1668 review, removed g_print and #if 0 from the code.
1670 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-edit-toolbar.c: Update documentation.
1674 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1676 * src/hildon-check-button.h
1677 * src/hildon-check-button.c
1678 (hildon_check_button_set_label, hildon_check_button_get_label)
1679 * examples/hildon-check-button-example.c
1680 (button_clicked_cb):
1681 Removed deprecated methods.
1683 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1685 * src/hildon-text-view.c:
1686 Add sample code to the documentation.
1688 * src/hildon-entry.h
1689 * src/hildon-text-view.h:
1690 Minor cosmetic changes.
1692 * src/hildon-entry.c:
1693 Add sample code to the documentation.
1694 (hildon_entry_init, hildon_entry_refresh_contents):
1695 Don't allow NULL values in the placeholder.
1697 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1699 * doc/hildon-docs.sgml
1701 * examples/Makefile.am
1702 * examples/hildon-text-view-example.c
1704 * src/hildon-text-view.c
1705 * src/hildon-text-view.h
1707 New HildonTextView widget, with example.
1709 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1711 * po/POTFILES.in: Add missing files with translatable strings.
1712 Partially fixes NB#88287.
1714 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1716 * examples/hildon-pannable-area-example-2.c: (main): No need to
1717 set the cellrenderer height inside hildon touch lists, the theme does
1720 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1722 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1723 they are integrated in the theme.
1725 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1727 * examples/hildon-entry-example.c: Update the example adding
1728 widgets to modify the text and the placeholder of the HildonEntry.
1730 * src/hildon-entry.c: Show the placeholder everytime the widget
1731 is empty and loses the focus.
1733 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1735 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1737 * src/hildon-pannable-area.c,
1738 (hildon_pannable_area_size_request): Fixed bug in height
1739 requisition, avoid increasing size and add border twice.
1741 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1743 * configure.ac: postrelease version bump.
1745 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1749 * configure.ac: Prerelease version bump.
1750 * debian/changelog: update.
1751 * debian/rules: make -dbg package contain useful debugging symbols.
1753 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-dialog.h
1756 * src/hildon-dialog.c
1757 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1758 New methods to add buttons with finger size.
1759 (hildon_dialog_new_with_buttons):
1760 Create buttons with finger size.
1762 * examples/hildon-dialog-example.c (main): Use HildonDialog
1763 methods to add buttons.
1765 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1767 * src/hildon-entry.c: Updated HildonButton documentation.
1769 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1772 button value label with (FALSE, FALSE) to prevent NB#88126 from
1775 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1777 * examples/hildon-pannable-area-example.c,
1778 (main): Removed examples panning a vbox inside a pannable
1779 area. Check bug NB#87965
1781 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1783 Patch contributed by Kris Rietveld (kris@imendio.com)
1785 * src/hildon-pannable-area.c,
1786 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1787 get_size and get_position, this saves an X server roundtrip.
1789 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1791 * doc/hildon-docs.sgml
1793 * examples/Makefile.am
1794 * examples/hildon-entry-example.c
1796 * src/hildon-entry.c
1797 * src/hildon-entry.h
1799 New HildonEntry widget, with example.
1801 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1803 * src/hildon-button.c (hildon_button_construct_child): Pack the
1804 image with expand == fill == FALSE. This is a workaround for a bug
1807 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1809 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1810 labels for the text column, to make it more look more dynamic.
1812 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1814 * src/hildon-time-selector.c
1815 Define gettext auxiliar macro N_
1816 (_create_minutes_model)
1817 (_create_hours_model)
1818 (_create_ampm_model): use of strftime in order to fill the model
1819 * src/hildon-date-selector.c
1820 (hildon_date_selector_finalize):
1821 (_locales_init): remove the logic related to get the name of the months
1822 using nl_langinfo, as it is not required anymore
1824 (_create_year_model)
1825 (_create_month_model)
1826 (_update_day_model): use of strftime in order to fill the model properly
1829 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-button.h
1832 * src/hildon-button.c (hildon_button_get_image): New method to
1835 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/hildon-touch-selector.c:
1838 (hildon_touch_selector_remove_column): Remove from the correct parent
1839 and also remove the list element and free it.
1842 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1844 * src/hildon-time-selector.c
1845 (_create_hours_model): change the range on 12h ampm format in order to use
1846 a 12-11 range instead of previous 01-12 range
1847 (hildon_time_selector_set_time): change the way to select the current time
1848 on 12h ampm format, due the change on the range
1849 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1852 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1854 * src/hildon-touch-selector.c
1855 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1856 in order to allow use this function on multiple row selection mode if
1857 the column is different that the first one
1860 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1863 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1865 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1867 * src/hildon-date-selector.h: clean some comments, now on the .c
1868 * src/hildon-date-selector.c
1869 (hildon_date_selector_select_month): first implementation
1870 (hildon_date_selector_select_day): added documentation, reimplemented
1871 using hildon_date_selector_select_current_date to avoid repeat code
1874 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1876 Reviewed interaction logic based on device experiences, refactored
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_class_init): Updated default vmax speed.
1881 (hildon_pannable_area_calculate_velocity): Added this function, it
1882 avoids duplicate valocity calculation. Adjusted calculation to
1883 avoid problems with zero dist events.
1885 (hildon_pannable_area_motion_notify_cb): Now we use the
1886 calculate_velocity function.
1888 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1890 * src/hildon-date-selector.c
1891 (hildon_date_selector_select_current_date): fix the day range check
1892 as it failed using the last day of the current month
1895 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1897 * src/hildon-touch-selector.c
1898 (hildon_touch_selector_get_num_columns): added a parameter validation
1901 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1903 * examples/Makefile.am
1904 * examples/hildon-edit-toolbar-example.c: Example of the
1905 HildonEditToolbar widget.
1907 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1909 * configure.ac: postrelease version bump.
1911 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1915 * configure.ac: prerelease version bump.
1916 * debian/changelog: update.
1918 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1920 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1921 renderer to display stock icons in the touch list. Also, set the sizes
1922 to the recommended in the style guide.
1924 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1925 * src/hildon-touch-selector.h
1926 (hildon_touch_selector_set_active_iter): renamed, now is
1927 hildon_touch_selector_select_iter
1928 (hildon_touch_selector_get_active_iter): renamed, now is
1929 hildon_touch_selector_get_selected
1930 (hildon_touch_selector_unselect_iter): added
1931 * src/hildon-touch-selector.c
1932 Update after API modification (methods renamed)
1933 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1934 order to avoid problems selecting multiple elements on the column
1935 (hildon_touch_selector_unselect_iter): added the implementation
1936 * src/hildon-time-selector.c
1937 * src/hildon-date-selector.c
1938 * src/hildon-touch-selector-entry.c
1939 Update methods calls after hildon-touch-selector.h API modification (methods
1942 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1944 * src/hildon-stackable-window.c
1945 (hildon_stackable_window_finalize): Call the parent class's finalize.
1947 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1949 * examples/hildon-touch-selector-example.c: (create_selector): Use
1950 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1953 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1955 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1956 set a cell background color, to respect theming.
1958 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1960 * doc/hildon-docs.sgml
1963 * src/hildon-edit-toolbar.c
1964 * src/hildon-edit-toolbar.h
1965 * src/hildon.h: New HildonEditToolbar widget.
1967 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1969 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1972 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1973 * src/hildon-touch-selector.c
1974 (_create_new_column): use g_object_set instead of two g_object_set_property
1976 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1977 * src/hildon-touch-selector.c
1978 (_create_new_column): use of hildon_gtk_tree_view_new to create
1979 the treeview, instead of use directly g_object_new
1980 (_create_new_column): update the property name "vindicator-mode" for the
1981 new one "vscrollbar-policy"
1982 * examples/hildon-date-button-example.c
1983 * examples/hildon-picker-button-multicolumn-example.c
1984 * examples/hildon-touch-selector-entry-example.c
1985 * examples/hildon-touch-selector-example.c
1986 * examples/hildon-time-button-example.c
1987 * examples/hildon-picker-button-example.c
1988 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1989 to all the treeviews inside a pannable area.
1991 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-button.h
1994 * src/hildon-button.c (hildon_button_init)
1995 (hildon_button_set_arrangement, hildon_button_set_alignment)
1996 (hildon_button_set_title_alignment)
1997 (hildon_button_set_value_alignment)
1998 (hildon_button_set_image_alignment)
1999 (hildon_button_construct_child): New methods to set the alignment
2000 of the individual components of the button (title, value,
2001 image). Also, new method to alter the xscale and yscale properties
2002 of the GtkAlignment inside the button, so more complex layouts can
2005 2008-08-27 Alberto Garcia <agarcia@igalia.com>
2007 * src/hildon-button.c (hildon_button_style_set)
2008 (hildon_button_class_init, hildon_button_set_arrangement)
2009 (hildon_button_construct_child): Apply style properties
2010 correctly. Use the 'image-spacing' style property too.
2012 2008-08-26 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-app-menu.c (hildon_app_menu_style_set)
2015 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
2018 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2020 * src/hildon-pannable-area.c,
2021 (hildon_pannable_area_size_request): Fixed problem with
2022 pannable-area size_request.
2024 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2026 Added management for the grab-focus to a child widget, like a
2027 range, we need to fade out the scrollbar when releasing.
2029 * src/hildon-pannable-area.c,
2030 (hildon_pannable_area_init): Connected the grab-focus signal to
2032 (hildon_pannable_area_grab_notify): Added this function in order
2033 to manage the situation when the grab-focus ends. We have to
2034 fade-out the scrollbar.
2036 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-app-menu.c: Minor documentation update.
2040 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-app-menu.c
2043 * examples/hildon-app-menu-example.c (create_menu): Update
2044 examples and documentation to explain how to connect callbacks.
2046 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
2048 * examples/hildon-button-example.c
2049 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
2050 hildon_stackable_window_new instead of gtk_window_new
2052 2008-08-22 Alejandro G. Castro <alex@igalia.com>
2054 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
2055 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
2056 (hildon_pannable_area_set_property),
2057 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
2058 (hildon_pannable_area_unrealize),
2059 (hildon_pannable_area_size_request),
2060 (hildon_pannable_area_size_allocate),
2061 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
2062 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
2063 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2064 (hildon_pannable_area_initial_effect),
2065 (hildon_pannable_area_redraw),
2066 (hildon_pannable_area_scroll_indicator_fade),
2067 (hildon_pannable_area_expose_event),
2068 (hildon_pannable_area_get_topmost), (synth_crossing),
2069 (hildon_pannable_area_button_press_cb),
2070 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2071 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2072 (hildon_pannable_area_motion_notify_cb),
2073 (hildon_pannable_area_button_release_cb),
2074 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2075 (hildon_pannable_area_remove),
2076 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2077 chage the code layout to a more GtkWidget like. Review the use of
2080 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2082 * examples/hildon-pannable-area-example-4.c,
2083 (main): Modified the name of the hindicator_mode to
2086 * src/hildon-pannable-area.c,
2087 (hildon_pannable_area_class_init),
2088 (hildon_pannable_area_motion_notify_cb),
2089 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2090 we have reduced the amount of signals and managed reviewed its
2091 rationale. Changed the default decelerate value.
2093 (hildon_pannable_area_add),
2094 (hildon_pannable_area_redraw): Refactored functions.
2096 (hildon_pannable_area_init),
2097 (hildon_pannable_area_get_property),
2098 (hildon_pannable_area_set_property):
2099 (hildon_pannable_draw_vscroll),
2100 (hildon_pannable_draw_hscroll),
2101 (hildon_pannable_area_initial_effect),
2102 (hildon_pannable_area_expose_event),
2103 (hildon_pannable_area_scroll),
2104 (hildon_pannable_area_button_press_cb),
2105 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2106 and vindicator_mode with hscrollbar_policy and
2107 vscrollbar_policy. Replaced hscroll and vscroll with
2108 hscroll_visible and vscroll_visible.
2110 (hildon_pannable_area_refresh): Refactor the function, remove
2111 variables and check the calls to this function, added resize
2112 conditions in case the children change their layout.
2114 (hildon_pannable_area_size_request): Added more detailed
2115 size_request calculation.
2118 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2120 * src/hildon-color-chooser.c
2121 (init_borders): use the correct gtk_border_free instead of g_free, to
2122 avoid a crash when this widget is used (ie: the three color selection
2125 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2127 * src/hildon-check-button.c,
2128 (hildon_check_button_set_active): Fixed problem when setting the
2129 active value, the widget was not redrawn.
2131 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2133 * src/hildon-pannable-area.c,
2134 (hildon_pannable_area_refresh),
2135 (hildon_pannable_area_scroll),
2136 (hildon_pannable_area_motion_notify_cb): Small code style change.
2138 (hildon_pannable_area_class_init): Default initial_hint set to
2139 FALSE, it is not in the specs.
2141 (hildon_pannable_area_initial_effect),
2142 (hildon_pannable_area_expose_event),
2143 (hildon_pannable_area_map),
2144 (hildon_pannable_area_init): Moved the launching point of the
2145 initial effect, it was in map but the sizes where not correct in
2146 that method so we do not know if we have the reproduce it. Now it
2147 is placed in the expose_event method and uses a variable to
2148 reproduce it just once.
2150 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2152 * src/hildon-pannable-area.c,
2153 (hildon_pannable_draw_vscroll),
2154 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2155 position allowed for the scrollbars.
2157 (hildon_pannable_area_size_allocate): Small style change.
2159 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2161 * src/hildon-pannable-area.c,
2162 (hildon_pannable_area_scroll_indicator_fade),
2163 (hildon_pannable_area_button_press_cb),
2164 (hildon_pannable_area_button_release_cb),
2165 (hildon_pannable_area_scroll_cb),
2166 (hildon_pannable_area_expose_event),
2167 (hildon_pannable_area_init): Added the define parameter
2168 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2169 and refactor the fade variable.
2171 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2173 * src/hildon-pannable-area.c,
2174 (hildon_pannable_area_redraw),
2175 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2176 lines, we were reimplemeting the redraw code.
2178 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2180 * src/hildon-pannable-area.c,
2181 (hildon_pannable_area_scroll_cb),
2182 (hildon_pannable_area_realize),
2183 (hildon_pannable_area_class_init): Added scroll_event management
2184 for pannable area, now we can scroll the usual desktop method.
2186 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2187 initialization of the parameters should depend on idle_id.
2189 (hildon_pannable_area_init),
2190 (hildon_pannable_area_map): Small code style modifications
2192 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2194 * src/hildon-pannable-area.c
2195 (hildon_pannable_area_button_press_cb),
2196 (hildon_pannable_area_motion_notify_cb),
2197 (hildon_pannable_area_button_release_cb),
2198 (hildon_pannable_area_size_allocate),
2199 (hildon_pannable_area_scroll_to): Improved the timeouts
2200 management, we avoid creating them each time.
2202 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2204 * src/hildon-pannable-area.c:
2205 (hildon_pannable_area_refresh),
2206 (hildon_pannable_area_motion_notify_cb),
2207 (hildon_pannable_area_class_init):
2208 * src/hildon-pannable-area.h:
2209 * src/hildon-touch-selector.c
2210 (_create_new_column):
2211 * examples/hildon-pannable-area-example-4.c:
2212 (horizontal_movement),
2213 (vertical_movement),
2215 Replaced the names of enums in the HildonPannableArea:
2216 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2217 HILDON_MOVEMENT_MODE_*
2218 - HILDON_PANNABLE_AREA_MOV_* ->
2220 - Removed HildonPannableAreaIndicatorMode, now we
2223 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2225 * examples/hildon-pannable-area-touch-grid-example.c
2226 * examples/hildon-pannable-area-touch-list-example.c: Fix
2227 compilation warnings.
2229 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-gtk.c (hildon_gtk_button_new)
2232 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2233 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2234 images overriding the value of the "gtk-button-images" setting.
2236 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2238 * src/hildon-check-button.c (hildon_check_button_new):
2239 Instead of using a custom container, display the label and the
2240 checkbox using the standard GtkButton API.
2242 * examples/hildon-check-button-example.c (main): Don't use
2243 hildon_check_button_set_label() anymore
2245 * src/hildon-check-button.h
2246 * src/hildon-check-button.c
2247 (hildon_check_button_set_label, hildon_check_button_get_label):
2248 Set as deprecated, now we're using gtk_button_{get,set}_label()
2250 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2252 * src/hildon-pannable-area.c,
2253 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2254 GtkTreeview first line we detected it after the inclusion of the
2255 GtkWindowImpl in gtk+. We now check if the window is visible, not
2256 just if the pointer is over the window.
2257 (hildon_pannable_axis_scroll),
2258 (hildon_pannable_area_expose_event): Small style changes.
2260 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-button.c: Update documentation.
2264 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2266 * examples/hildon-button-example.c: Add a switch to show images in
2269 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2271 * doc/hildon-docs.sgml: Some docs reorganization.
2273 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2275 * examples/hildon-pannable-area-touch-list-example.c
2277 * examples/hildon-pannable-area-touch-grid-example.c
2278 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2279 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2280 Fix memory leak when setting the tree model.
2282 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2286 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2288 * doc/hildon.types: Remove duplicated hildon_window_get_type
2289 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2290 documentation comment.
2292 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2294 * doc/Makefile.am: Complete list of private headers.
2296 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2298 * doc/hildon-docs.sgml
2299 * src/hildon-app-menu.c
2300 * src/hildon-bread-crumb.c
2301 * src/hildon-button.c
2303 * src/hildon-program.c
2304 * src/hildon-stackable-window.c
2305 * src/hildon-window.c: Lots of documentation updates.
2307 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2309 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2311 * configure.ac: Require Gtk+ 2.12.9 at least
2313 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2315 * src/hildon-pannable-area.c
2316 (hildon_pannable_area_scroll_indicator_fade),
2317 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2318 to protect the return of this timeout callbacks, avoiding deadlocks.
2320 2008-08-12 Christian Dywan <christian@imendio.com>
2323 * src/hildon-*.h: Ensure a consistent include order,
2324 include <gtk/gtk.h> instead of particular files and
2325 only include the topmost header in the gtk stack. See NB #39857
2327 2008-08-12 Christian Dywan <christian@imendio.com>
2329 * src/hildon-picker-dialog.c
2330 * src/hildon-touch-selector.c: Fix warnings about unused and
2331 uninitialized variables.
2333 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2335 * examples/Makefile.am
2336 * examples/hildon-check-button-example.c: Example of the hildon
2339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2341 * src/hildon-window.h
2342 * src/hildon-window.c (hildon_window_class_init)
2343 (hildon_window_unset_program): Don't make
2344 hildon_window_unset_program a virtual function anymore.
2346 * src/hildon-stackable-window.c: Update documentation
2348 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2351 * doc/hildon-docs.sgml
2352 * doc/visual_index.xml
2353 * src/hildon-defines.c
2355 * src/hildon-helper.c
2356 * src/hildon-range-editor.c: Lots of documentation fixes.
2358 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2360 * examples/hildon-picker-button-multicolumn-example.c
2361 (create_touch_selector): Fix compilation warning.
2363 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2366 (hildon_pannable_area_button_release_cb)
2367 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2369 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2371 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2374 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-bread-crumb-trail.h
2377 * src/hildon-date-editor.c
2378 * src/hildon-date-selector.c
2379 * src/hildon-pannable-area.c
2380 * src/hildon-picker-dialog.c
2381 * src/hildon-time-selector.c
2382 * src/hildon-touch-selector-entry.c
2383 * src/hildon-touch-selector.c
2384 * src/hildon-touch-selector.h: Misc documentation fixes
2386 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2388 * examples/hildon-date-editor-example.c (main): Updated date
2391 * examples/hildon-note-example.c (on_confirmation_clicked):
2392 Updated confirmation note example.
2394 * src/hildon-date-editor.c
2395 * src/hildon-note.c: Updated sample programs in documentation.
2398 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-date-button.h:
2401 * src/hildon-picker-button.h:
2402 * src/hildon-time-button.c:
2403 * src/hildon-time-button.h:
2405 Some declarations changes to allow gtk-doc to document the widgets
2408 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-date-button.c: Document the widget.
2411 * src/hildon-time-button.c: Document the widget.
2413 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-picker-button.c: Document the widget.
2416 * src/hildon-touch-selector-entry.c: Document the widget.
2418 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2420 * doc/hildon-docs.sgml
2423 * src/hildon-check-button.h
2424 * src/hildon-check-button.c: New functions to create the Hildon
2428 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2430 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-button.h
2433 * src/hildon-button.c
2434 (hildon_button_add_title_size_group)
2435 (hildon_button_add_value_size_group)
2436 (hildon_button_add_image_size_group)
2437 (hildon_button_add_size_groups): New functions to set size groups
2438 for the button labels and image.
2439 (hildon_button_new_full): Removed
2441 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2443 * src/hildon-time-selector.c
2444 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2445 in order to avoid a crash if gconf is not available
2447 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-button.c (hildon_button_set_arrangement)
2450 (hildon_button_construct_child): Don't construct the button child
2451 before setting the arrangement.
2453 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2455 * src/hildon-program-private.h
2456 * src/hildon-program.c
2457 * src/hildon-program.h
2458 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2459 (hildon_program_peek_window_stack)
2460 (hildon_program_pop_window_stack)
2461 (hildon_program_go_to_root_window): HildonProgram now has a
2462 separate list for stackable windows. Functions are provided to
2463 manage that list with a stack-like API.
2465 * src/hildon-stackable-window.c: Stackable window management is
2466 now much simpler with the new HildonProgram API. Windows no
2467 longer need to be manually added to the program, they're
2468 automatically pushed to the top of the stack when shown.
2470 * examples/hildon-stackable-window-example.c: Updated example to
2471 reflect the API changes.
2473 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-touch-selector.c: Comment out unimplemented
2476 hildon_touch_selector_insert_column() to avoid a compile warning.
2478 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2480 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2481 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2482 (hildon_touch_selector_set_column_selection_mode),
2483 (_hildon_touch_selector_set_model),
2484 (hildon_touch_selector_set_model):
2486 Complete review of HildonTouchSelector documentation.
2488 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2490 * doc/hildon-docs.sgml
2494 * src/hildon-gtk.c: Convenience functions for standard Gtk
2495 widgets, used to easily perform frequent operations.
2497 * src/hildon-button-helpers.h
2498 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2500 * src/hildon-helper.h
2501 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2502 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2504 * src/hildon-button.h
2505 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2507 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2509 * src/hildon-button.c (hildon_button_init)
2510 (hildon_button_set_arrangement, hildon_button_construct_child):
2511 Pack the image and the labels inside the same GtkAlignment so
2512 gtk_button_set_alignment() can be used
2514 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2516 * src/hildon-button.h
2517 * src/hildon-button.c
2518 (hildon_button_init, hildon_button_set_image)
2519 (hildon_button_set_image_position)
2520 (hildon_button_construct_child): New functions to add an image to
2523 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2525 * src/hildon-date-button.c
2526 * src/hildon-picker-button.c
2527 * src/hildon-time-button.c
2528 * src/hildon-button.c:
2529 (hildon_button_class_init): "size-flags" renamed to "size"
2530 (hildon_button_set_title): Hide the title label if set to NULL.
2532 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2534 HildonButtonFlags split into HildonButtonArrangement (to set the
2535 button layout) and HildonSizeType (which can be used for any
2538 * src/hildon-button.h
2539 * src/hildon-button.c
2540 (hildon_button_class_init)
2541 (hildon_button_set_arrangement)
2542 (hildon_button_set_property): New "size-flags"
2543 property. "arrangement-flags" renamed to "arrangement".
2544 (hildon_button_new, hildon_button_new_with_text)
2545 (hildon_button_new_full): Constructors updated to reflect type changes.
2547 * src/hildon-helper.h
2548 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2549 to set the size of a widget.
2553 * src/hildon-button-helpers.c
2554 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2556 * src/hildon-date-button.c
2557 * src/hildon-date-button.h
2558 * src/hildon-picker-button.c
2559 * src/hildon-picker-button.h
2560 * src/hildon-time-button.c
2561 * src/hildon-time-button.h: Updated widgets to reflect
2562 HildonButton API changes.
2564 * examples/hildon-button-example.c
2565 * examples/hildon-date-button-example.c
2566 * examples/hildon-picker-button-example.c
2567 * examples/hildon-picker-button-multicolumn-example.c
2568 * examples/hildon-time-button-example.c
2569 * examples/hildon-touch-selector-entry-example.c
2570 * examples/hildon-touch-selector-example.c: Updated examples to
2571 reflect HildonButton API changes.
2573 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2575 * doc/hildon-docs.sgml:
2577 * examples/Makefile.am:
2578 * examples/hildon-touch-selector-entry-example.c:
2580 * src/hildon-touch-selector-entry.c:
2581 * src/hildon-touch-selector-entry.h:
2584 Moved HildonTouchSelectorEntry from sandbox. Added its
2585 documentation and examples.
2587 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2589 * src/hildon-touch-selector.h:
2590 * examples/hildon-picker-button-multicolumn-example.c:
2591 (hildon_touch_selector_append_text_column): Add a gboolean
2592 parameter to determine if text must be centered in the column.
2594 * src/hildon-date-selector.c: (hildon_date_selector_init):
2595 * src/hildon-time-selector.c: (hildon_time_selector_init):
2596 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2597 (create_touch_selector): Update widgets and example to reflect
2600 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-touch-selector.c:
2603 (hildon_touch_selector_set_active_iter): Set also the cursor in
2606 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2608 * doc/hildon-docs.sgml
2611 * src/hildon-toggle-button.c
2612 * src/hildon-toggle-button.h
2613 * src/hildon.h: Removed HildonToggleButton widget, a derived
2614 class is not necessary for this.
2616 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2618 * src/hildon-pannable-area.c,
2619 (hildon_pannable_area_realize),
2620 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2623 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2626 "done" button the default widget for the dialog.
2628 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-touch-selector.c:
2631 (hildon_touch_selector_class_init),
2632 (hildon_touch_selector_get_property),
2633 (_hildon_touch_selector_set_model),
2634 (_hildon_touch_selector_has_multiple_selection),
2635 (hildon_touch_selector_has_multiple_selection):
2636 Add a "has-multiple-selection" property with a virtual
2637 has_multiple_selection() method to allow derived classes to
2638 override the default value for it. See the method and property
2639 documentation for details.
2641 * src/hildon-touch-selector.h: Add the new API.
2643 * src/hildon-picker-dialog.c: (requires_done_button): Call
2644 hildon_touch_selector_has_multiple_selection() instead of
2645 determining the need for a button itself.
2647 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2650 (_hildon_touch_selector_set_model),
2651 (hildon_touch_selector_set_model): Move working code to
2652 _hildon_touch_selector_set_mode(). Call the class method instead.
2654 * src/hildon-touch-selector.h: Add (*set_model) to
2655 HildonTouchSelectorClass.
2657 Make hildon_touch_selector_set_model() a virtual method, so that
2658 derived classes can extend it and do fancy stuff with the model.
2660 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2662 * configure.ac: Set back the tarname in AC_INIT to hildon.
2664 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2668 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2669 instead of libesd (NB#86876). Volume handling is still an open issue.
2671 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2674 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2677 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2678 derived class to ease placement of an entry widget in
2679 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2680 end, where the selector columns are packed now.
2682 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-picker-button.c: Removed the simple _text() API.
2685 * src/hildon-picker-button.h: Likewise.
2687 * src/hildon-touch-selector.h:
2688 * src/hildon-touch-selector.c:
2689 (hildon_touch_selector_new_text),
2690 (hildon_touch_selector_append_text),
2691 (hildon_touch_selector_prepend_text),
2692 (hildon_touch_selector_insert_text):
2694 Moved the simple _text() API from HildonPickerButton to
2695 HildonTouchPicker, to provide better escalability and not to tie
2696 that API to HildonPickerButton.
2698 * examples/hildon-picker-button-example.c: (main): Example updated.
2700 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-button.c: Updated documentation.
2704 * examples/hildon-button-example.c: Add the posibility to create
2705 the buttons using horizontal layout for title and value.
2707 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-app-menu-private.h
2710 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2711 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2712 GtkSizeGroup for the filters, use the 'homogeneous' property of
2715 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2717 * examples/hildon-button-example.c: Updated example.
2719 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2721 * doc/hildon-docs.sgml:
2724 Update documentation.
2726 * examples/Makefile.am: Update renamed examples.
2728 * examples/hildon-picker-button-multicolumn-example.c:
2729 (create_touch_selector), (main): Update after the rename.
2731 * examples/hildon-touch-picker-example.c: Removed.
2732 * examples/hildon-touch-selector-example.c: (value_changed),
2733 (create_selector), (get_visible_content), (main): Renamed from
2734 hildon-touch-picker-example.c
2736 * src/Makefile.am: Updated renamed files.
2738 * src/hildon-date-button.c: (hildon_date_button_init),
2739 (hildon_date_button_get_date), (hildon_date_button_set_date):
2740 * src/hildon-date-selector.c: (hildon_date_selector_init),
2741 (_custom_print_func), (_update_day_model),
2742 (_manage_selector_change_cb),
2743 (hildon_date_selector_select_current_date),
2744 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2745 * src/hildon-date-selector.h:
2746 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2747 (hildon_picker_button_set_property),
2748 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2749 (hildon_picker_button_init), (hildon_picker_button_new_text),
2750 (hildon_picker_button_append_text),
2751 (hildon_picker_button_prepend_text),
2752 (hildon_picker_button_insert_text),
2753 (hildon_picker_button_set_selector),
2754 (hildon_picker_button_get_selector):
2755 * src/hildon-picker-button.h:
2756 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2757 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2758 (_update_title_on_selector_changed_cb), (requires_done_button),
2759 (_hildon_picker_dialog_set_selector),
2760 (hildon_picker_dialog_set_selector),
2761 (hildon_picker_dialog_get_selector):
2762 * src/hildon-picker-dialog.h:
2763 * src/hildon-time-button.c: (hildon_time_button_init),
2764 (hildon_time_button_get_time), (hildon_time_button_set_time):
2765 * src/hildon-time-selector.c: (hildon_time_selector_init),
2766 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2767 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2768 * src/hildon-time-selector.h:
2771 Massive code updates after the rename.
2773 * src/hildon-touch-picker.c: Removed.
2774 * src/hildon-touch-picker.h: Removed.
2776 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2777 (hildon_touch_selector_init), (hildon_touch_selector_map),
2778 (hildon_touch_selector_remove), (_default_print_func),
2779 (_selection_changed_cb), (_create_new_column),
2780 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2781 (hildon_touch_selector_append_text_column),
2782 (hildon_touch_selector_remove_column),
2783 (hildon_touch_selector_set_column_attributes),
2784 (hildon_touch_selector_insert_column),
2785 (hildon_touch_selector_get_num_columns),
2786 (hildon_touch_selector_get_column_selection_mode),
2787 (hildon_touch_selector_set_column_selection_mode),
2788 (hildon_touch_selector_set_print_func),
2789 (hildon_touch_selector_get_print_func),
2790 (hildon_touch_selector_get_active_iter),
2791 (hildon_touch_selector_set_active_iter),
2792 (hildon_touch_selector_get_selected_rows),
2793 (hildon_touch_selector_get_model),
2794 (hildon_touch_selector_set_model),
2795 (hildon_touch_selector_get_current_text),
2796 (_hildon_touch_selector_center_on_selected_items):
2797 * src/hildon-touch-selector.h: Renamed from
2798 hildon-touch-picker.[ch]
2800 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2801 references, code examples, and related documentation.
2803 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2805 * doc/hildon-docs.sgml
2808 * src/hildon-toggle-button.c
2809 * src/hildon-toggle-button.h
2810 * src/hildon.h: New HildonToggleButton widget.
2812 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-button.c: Add API documentation.
2815 (hildon_button_set_size_groups): Check input parameters
2817 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2819 * src/hildon-pannable-area.c
2820 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2821 effect after reaching the movement thredshold. This way we start
2822 using the distance after passing the thredshold.
2824 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2826 * src/hildon-button.c: (hildon_button_set_property): Use the
2827 appropriate g_value_get_flags() method.
2829 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2831 * doc/hildon-docs.sgml:
2834 Add the touch pickers, picker dialogs, and picker button widgets
2835 to the documentation.
2837 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2839 * src/hildon-button.c: (hildon_button_set_property),
2840 (hildon_button_class_init): Make "arrangement-flags" a proper
2841 G_TYPE_FLAGS derived property.
2843 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2845 * examples/Makefile.am: Add below examples.
2846 * examples/hildon-date-button-example.c:
2847 * examples/hildon-picker-button-example.c:
2848 * examples/hildon-picker-button-multicolumn-example.c:
2849 * examples/hildon-time-button-example.c:
2850 * examples/hildon-touch-picker-example.c:
2852 Add examples for the recently added touch pickers,
2853 picker dialogs, and picker button widgets.
2855 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-button.c: Add some API documentation
2859 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-button.h
2862 * src/hildon-button.c
2864 (hildon_button_new_with_text): New constructor to create a button
2865 with no text at all.
2866 (hildon_button_init, hildon_button_set_arrangement)
2867 (hildon_button_set_title, hildon_button_set_value)
2868 (hildon_button_set_text)
2869 (hildon_button_construct_child): Hide the value when it's not used
2870 so the rest of the text is properly aligned.
2871 Allow creating buttons with arbitrary widgets inside (not just
2872 title/value labels).
2874 * examples/hildon-button-example.c (vertical_buttons_window)
2875 (horizontal_buttons_window): Update example to use new API.
2877 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2879 * src/Makefile.am: Added HildonTimeButton.
2880 * src/hildon-time-button.c: Added missing LGPL header.
2881 * src/hildon-time-button.h: Added missing LGPL header.
2882 * src/hildon.h: Add hildon-time-button.h
2884 Copied HildonTimeButton from sandbox to trunk. Future work on this
2885 widget must take place in trunk.
2887 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/Makefile.am: Added HildonDateButton.
2890 * src/hildon-date-button.c: Update includes.
2891 * src/hildon.h: Add hildon-date-button.h
2893 Copied HildonDateButton from sandbox to trunk. Future work on this
2894 widget must take place in trunk.
2896 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2898 * src/Makefile.am: Added HildonPickerButton.
2899 * src/hildon-picker-button.h: Update includes.
2900 * src/hildon.h: Add hildon-picker-button.h
2902 Copied HildonPickerButton from sandbox to trunk. Future work on
2903 this widget must take place in trunk.
2905 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/Makefile.am: Added HildonPickerDialog.
2908 * src/hildon-picker-dialog.c: Update includes.
2909 * src/hildon.h: Add hildon-picker-dialog.h
2911 Copied HildonPickerDialog from sandbox to trunk. Future work
2912 on this widget must take place in trunk.
2914 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2916 * src/Makefile.am: Added HildonTimeSelector.
2917 * src/hildon.h: Add hildon-time-selector.h
2919 Copied HildonTimeSelector widget from sandbox to trunk. Future
2920 work on this widget must happen in trunk.
2922 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/Makefile.am: Added HildonDateSelector.
2925 * src/hildon.h: Add hildon-date-selector.h
2927 Copied HildonDateSelector widget from sandbox to trunk. Future
2928 work on this widget must happen in trunk.
2930 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/Makefile.am: Added HildonTouchPicker.
2933 * src/hildon-touch-picker.c: Update includes.
2934 * src/hildon.h: Add hildon-touch-picker.h
2936 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2937 on this widget must happen in trunk.
2939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-pannable-area.c:
2942 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2944 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2946 * examples/hildon-app-menu-example.c (main): Let the window
2949 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2951 * src/hildon-pannable-area.c
2952 (hildon_pannable_area_class_init): Set the min value of the
2953 overshoot properties to zero, which points out that not
2954 overshooting allowed.
2956 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2958 Modified the procedure to get the widget at a point inside the
2959 pannable area when using the movement type signals. Now the user
2960 has to call a function to get the child, that way we just
2961 calculate the child in case the user really want to use it and not
2964 * src/hildon-marshalers.list: Modified the marshallers, now we do
2965 not have the widget as a parameter.
2967 * src/hildon-pannable-area.c
2968 (hildon_pannable_area_motion_notify_cb),
2969 (hildon_pannable_area_class_init),
2970 (hildon_pannable_get_child_widget_at): Removed the widget
2971 parameter from the signal callback. We have also refactored the
2972 emission of the signals.
2974 * src/hildon-pannable-area.h: Added a new method to the API to
2975 calculate a widget at a point inside the pannable area,
2976 hildon_pannable_get_child_widget_at.
2978 * examples/hildon-pannable-area-example-4.c
2979 (horizontal_movement): Modified the example to use the new API,
2980 added condition to control which widget is under the event. This
2981 way we can avoid scrolling laterally over other widgets.
2983 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2985 * src/hildon-pannable-area.c
2986 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2987 modes, we stop getting the pointer events due to returning the
2988 callback without properly calling the get pointer again. Fixed
2989 also an error using the hscroll and vscroll.
2991 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2993 * src/hildon-app-menu-private.h
2994 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2995 (hildon_app_menu_button_release, hildon_app_menu_init)
2996 (hildon_app_menu_class_init): Don't hide the menu on button
2997 release if the user didn't press outside first.
2999 * src/hildon-window.h
3000 * src/hildon-window.c (hildon_window_toggle_menu)
3001 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
3002 hildon_window_toggle_menu a virtual function for the stackable
3003 window to override it.
3005 * src/hildon-stackable-window.h
3006 * src/hildon-stackable-window-private.h
3007 * src/hildon-stackable-window.c
3008 (hildon_stackable_window_realize)
3009 (hildon_stackable_window_finalize)
3010 (hildon_stackable_window_class_init)
3011 (hildon_stackable_window_init)
3012 (hildon_stackable_window_set_main_menu): New function to set the
3013 app menu of a HildonStackableWindow.
3015 * examples/hildon-app-menu-example.c: Remove the button to show
3016 the app menu, now it'll be shown when clicking on the title bar
3019 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
3022 set the widget name if the arrangement flags do not specify
3025 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3027 * src/hildon-button.c: (hildon_button_set_property),
3028 (hildon_button_class_init), (hildon_button_new_full),
3029 (hildon_button_set_arrangement): Added "arrangement-flags"
3032 Make the HildonButtonFlags a construction-only property, to allow
3033 subclasses to set them properly.
3035 2008-07-21 Tim Janik <timj@imendio.com>
3037 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
3038 insertion position after backspace, so additional digits are appended,
3041 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3043 * src/hildon-pannable-area.c,
3044 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
3045 TODO list, it was complete and removed the g_debug and g_print
3048 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3050 Added the movement modes to the hildon-pannable-area, with this
3051 modes the developers can control in which directions the widget
3052 can scroll. They can also connect to signals in order to do
3053 something when that happens, allowing applications scroll. There
3054 is an example uploaded showing how to use it.
3056 * examples/Makefile.am:
3057 * examples/hildon-pannable-area-example-4.c: Added this example of
3058 an application using the modes.
3060 * src/hildon-marshalers.list: Added a new marshaller for the new
3063 * src/hildon-pannable-area.h: Added new enumerations and flags in
3064 order to control the movement modes and the new signals to warn
3065 about the movements in the area.
3067 * src/hildon-pannable-area.c:
3068 (hildon_pannable_axis_scroll),
3069 (hildon_pannable_area_scroll),
3070 (hildon_pannable_area_motion_notify_cb),
3071 (hildon_pannable_area_get_property),
3072 (hildon_pannable_area_set_property),
3073 (hildon_pannable_area_map),
3074 (hildon_pannable_area_class_init),
3075 (hildon_pannable_area_init),
3076 (hildon_pannable_area_jump_to): Added the modes to control the
3077 movement in the widget. We have added properties to control it,
3078 signals to warn about the movements and refactored some code.
3080 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3082 Changes required in order to allow vfast_factor set to zero to
3085 * src/hildon-pannable-area.c:
3086 (hildon_pannable_area_button_press_cb): Changed the condition, it
3087 is required for not allowing click when vfast_factor is zero.
3088 (hildon_pannable_area_timeout): Initialized velocity variables
3089 when we stop moving, it was less than 1 but not zero and we need
3090 to check zero in some situations.
3091 (hildon_pannable_area_class_init): Changed the default value of
3092 the speed factor, now the button_press is just sent in case the
3093 speed is 2 per cent of the max speed.
3094 (hildon_pannable_area_init): Initialization with 0.
3096 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3098 * src/hildon-pannable-area.c,
3099 (hildon_pannable_area_get_topmost): replaced
3100 gdk_window_get_children with gdk_window_peek_children, this way we
3101 do not have to free the list because it is not a copy.
3103 (hildon_pannable_axis_scroll),
3104 (hildon_pannable_area_scroll),
3105 (hildon_pannable_area_timeout),
3106 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3107 two parameters that were only used inside the
3108 hildon_pannable_area_scroll function.
3110 * examples/hildon-pannable-area-example.c,
3111 (get_sawtooth_label): Fixed small memory leak.
3113 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3115 More checks for the case where the overshoot is bigger than the
3118 * src/hildon-pannable-area.c:
3119 (hildon_pannable_draw_vscroll),
3120 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3121 to draw the slider of the scrollbar under the other scrollbar.
3122 (hildon_pannable_area_expose_event): added new checks to control
3123 the drawing of the overshooting area rectangle, in case it is too
3124 big for the area of the widget.
3125 (hildon_pannable_area_size_allocate): add more checks to avoid
3126 setting a position to the child widget outside the area.
3128 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3130 * src/hildon-pannable-area.c
3131 (hildon_pannable_area_size_allocate): Added conditions to control
3132 when overshooting is bigger than the allocated space for the
3133 children, this avoids negative allocations.
3135 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3137 * doc/hildon-docs.sgml
3139 * examples/Makefile.am
3140 * examples/hildon-button-example.c
3142 * src/hildon-button.c
3143 * src/hildon-button.h
3144 * src/hildon.h: Initial version of the new HildonButton widget,
3147 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-pannable-area.c:
3150 (hildon_pannable_area_button_press_cb),
3151 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3152 (hildon_pannable_area_motion_notify_cb),
3153 (hildon_pannable_area_button_release_cb),
3154 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3155 (hildon_pannable_area_jump_to_child):
3157 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3159 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3161 * examples/Makefile.am
3162 * examples/hildon-pannable-area-touch-grid-example.c
3163 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3164 the Hildon Touch List and Hildon Touch Grid using the
3165 HildonPannableArea widget.
3167 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3169 * src/hildon-pannable-area.c,
3170 (hildon_pannable_area_button_press_cb),
3171 (hildon_pannable_area_refresh),
3172 (hildon_pannable_area_scroll),
3173 (hildon_pannable_area_motion_notify_cb),
3174 (hildon_pannable_area_button_release_cb),
3175 (hildon_pannable_area_expose_event),
3176 (hildon_pannable_area_add),
3177 (hildon_pannable_area_remove),
3178 (hildon_pannable_area_realize),
3179 (hildon_pannable_area_size_allocate),
3180 (hildon_pannable_area_class_init),
3181 (hildon_pannable_area_init),
3182 (hildon_pannable_area_scroll_to_child),
3183 (hildon_pannable_area_jump_to_child): Fixed the problem of
3184 removing the child from the GtkBin, we have rearranged the widget
3185 hierarchy, now there is no GtkAlignment which was not doing
3186 anything interesting but breaking some of the assumptions of
3187 GtkContainer. Now developers if they want to add a GtkAlignment
3188 they could, but it is not inside the area.
3190 We had to review the whole allocation/expose process, now it is
3191 improved and we save at least three signals which would be saving
3192 some time when rendering the widget. The allocation of the
3193 scrollbars is now made in the allocate method as usual.
3195 We have also added some conditions in order to control when there
3196 is no child of the pannable area. Maybe we will need more work
3199 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3201 * src/hildon-pannable-area.c,
3202 (hildon_pannable_area_dispose): Released the fade-out timeout when
3203 disposing the widget.
3205 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3207 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3208 zero, we are going to use that property in order to deactivate the
3210 (hildon_pannable_axis_scroll),
3211 (hildon_pannable_area_size_allocate): Added conditions to control
3212 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3213 call, now it is called in all situations and we can remove calls
3214 in the allocate method.
3215 (hildon_pannable_area_map): Control the situation when
3216 overshoot_max is zero, we do not need the timeout.
3217 (hildon_pannable_area_class_init): Added documentation in order to
3218 point out that setting zero to overshoot_max means deactivate
3221 NOTE: removed trailing whitespaces from my previous comments of
3224 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-pannable-area.c
3227 (hildon_pannable_area_get_property),
3228 (hildon_pannable_area_set_property),
3229 (hildon_pannable_area_map),
3230 (hildon_pannable_area_class_init),
3231 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3232 to cause the widget give a hint about its panning abilities upon
3235 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-pannable-area.c: Several documentation improvements.
3239 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-program.c
3242 * src/hildon-stackable-window.c: Update documentation.
3244 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3246 * src/hildon-stackable-window.c (get_previous_window_if_last):
3247 Renamed get_last_window()
3248 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3249 (hildon_stackable_window_unset_program):
3251 (get_previous_window_if_last):
3252 Detect if the window hasn't been added to a HildonProgram.
3254 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3256 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-pannable-area.c
3259 (hildon_pannable_area_button_press_cb),
3260 (hildon_pannable_axis_scroll),
3261 (hildon_pannable_area_scroll),
3262 (hildon_pannable_area_timeout),
3263 (hildon_pannable_calculate_vel_factor),
3264 (hildon_pannable_area_get_property),
3265 (hildon_pannable_area_set_property),
3266 (hildon_pannable_area_class_init),
3267 (hildon_pannable_area_init),
3268 (hildon_pannable_area_scroll_to),
3269 (hildon_pannable_area_jump_to),
3270 (hildon_pannable_area_scroll_to_child),
3271 (hildon_pannable_area_jump_to_child):
3272 * src/hildon-pannable-area.h: Added the new API functions:
3273 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3274 hildon_pannable_area_scroll_to_child,
3275 hildon_pannable_area_jump_to_child
3278 * examples/Makefile.am
3279 * examples/hildon-pannable-area-example-2.c
3280 * examples/hildon-pannable-area-example-3.c: Added these two new
3281 examples in order to test and show how the new APIs work.
3283 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3285 * examples/hildon-stackable-window-example.c (new_window):
3286 * src/Makefile.am (noinst_HEADERS):
3287 * src/hildon-program.c (hildon_program_go_to_root_window):
3288 * src/hildon-program.h:
3289 * src/hildon-stackable-window-private.h:
3290 * src/hildon-stackable-window.c:
3291 * src/hildon-stackable-window.h:
3292 Create hildon-stackable-window-private.h
3293 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3295 * examples/hildon-app-menu-example.c (create_menu):
3296 * examples/hildon-hvolumebar-insensitive-example.c (main):
3297 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3298 * examples/hildon-toolbar-seekbar-example.c (main):
3299 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3300 * src/hildon-banner.c (hildon_banner_set_property):
3301 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3302 Fix compilation warnings
3304 * src/hildon-window.c:
3307 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-stackable-window.c
3310 (hildon_stackable_window_unset_program):
3311 Calculate correctly whether to show the previous window if the
3312 last one is removed from the stack.
3313 (hildon_stackable_window_go_to_root_window):
3314 Send delete events starting from the topmost window.
3315 Stop if one of the windows is not destroyed.
3317 (hildon_stackable_window_delete_event)
3318 (hildon_stackable_window_class_init):
3319 Ignore the delete event if the window is not the topmost one.
3321 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3323 * src/hildon-pannable-area.c
3324 (hildon_pannable_area_expose_event): Fixed a problem when
3325 selecting the background color of the scrollbars.
3327 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3329 * examples/hildon-stackable-window-example.c
3330 * src/hildon-stackable-window.c
3331 * src/hildon-stackable-window.h
3332 hildon_stackable_window_go_home() renamed to
3333 hildon_stackable_window_go_to_root_window()
3334 Send delete events to windows rather than closing them with
3335 gtk_widget_destroy()
3337 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-pannable-area.c
3340 (hildon_pannable_area_button_release_cb): Fix overshooting in
3343 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-pannable-area.c
3346 (hildon_pannable_area_init): Initially show the scroll indicators.
3347 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3349 Add initial effect showing the widget is pannable.
3351 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3353 * src/hildon-pannable-area.c
3354 (hildon_pannable_area_class_init)
3355 (hildon_pannable_area_set_property)
3356 (hildon_pannable_area_get_property)
3357 (hildon_pannable_area_button_press_cb):
3358 New 'velocity_fast_factor' property to decide which velocity is
3361 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-pannable-area.c
3364 (hildon_pannable_draw_hscroll)
3365 (hildon_pannable_draw_vscroll):
3366 Use float variables to calculate the size of the scrollbars to
3367 avoid error propagation and resizing during scrolling.
3369 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-pannable-area.c
3372 (hildon_pannable_draw_vscroll)
3373 (hildon_pannable_draw_hscroll):
3374 Define a minimum size for the scroll bars
3376 * src/hildon-stackable-window.c
3377 (hildon_stackable_window_go_home): Fix compilation warning
3378 (get_last_window): Minor optimizations
3379 (hildon_stackable_window_class_init): Fix initialization of
3382 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-stackable-window.c: Fixed typos in doc
3386 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-pannable-area.c
3389 (hildon_pannable_area_scroll):
3390 Calculate here whether we need to scroll instead of using the booleans
3391 that tell us whether to /draw/ the scrolling bars.
3393 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-app-menu.h
3397 * src/hildon-app-menu.c
3398 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3399 multiple filter groups related code and API. Now we support only
3401 * examples/hildon-app-menu-example.c:
3403 Update to reflect API changes.
3405 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3407 * src/hildon-stackable-window.c
3408 (hildon_stackable_window_class_init):
3409 Add hildon_stackable_window_realize.
3410 (hildon_stackable_window_realize):
3411 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3412 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3413 to apply theming and behavior specific to HildonStackableWindow
3416 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3418 * src/hildon-note.c (hildon_note_button_release):
3419 Close information notes also when tapping on them
3421 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3423 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3424 ELASTICITY, refactor and review, fix some issues with drawing
3427 * src/hildon-pannable-area.c:
3428 (hildon_pannable_area_button_press_cb): removed the conditions to
3429 avoid clicks when overshooting. It is not required
3431 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3432 define. Refatored and reviewed the code, now we do not need to
3433 manage velocity in motion_notify.
3435 (hildon_pannable_area_motion_notify_cb): We have moved the code
3436 that controls the area_scroll to the axis_scroll function and get
3437 rid of duplicated code.
3439 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3441 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3443 (hildon_pannable_draw_vscroll),
3444 (hildon_pannable_draw_hscroll): Fixed the problems with the
3445 scrollbar drawing, now we do not use two surfaces, it is easier
3446 and saves resources.
3448 (hildon_pannable_area_get_property): Style modification.
3450 (hildon_pannable_area_class_init): Changed some default values.
3452 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3454 * src/hildon-stackable-window.c: Fix some typos in the
3457 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-dialog.c:
3460 Change indentation style
3463 (hildon_note_button_release):
3464 Use root coordinates to check if the release event happened
3467 * src/hildon-app-menu.c
3468 (hildon_app_menu_button_release):
3469 Remove unnecessary check
3471 * examples/hildon-app-menu-example.c
3473 Add cast to fix warning
3475 * src/hildon-app-menu.c
3476 (hildon_app_menu_class_init):
3477 New inner-border style property.
3478 Set all default spacings to 16
3479 (hildon_app_menu_init):
3480 Use vertical-spacing to set the space between filter buttons and
3481 regular menu buttons.
3482 Set the default container border using the inner-border value.
3484 * examples/hildon-app-menu-example.c
3486 Don't set the menu border explicitly, now we have the inner-border
3487 style property for that.
3489 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-app-menu.c (hildon_app_menu_init):
3492 Make the window modal
3494 * src/hildon-note.c (hildon_note_map)
3495 * src/hildon-app-menu.c (hildon_app_menu_map):
3496 Destroy the grab window if we're unable to grab the pointer
3498 * src/hildon-app-menu-private.h
3499 * src/hildon-app-menu.c
3500 (hildon_app_menu_init, hildon_app_menu_finalize)
3501 (hildon_app_menu_map, hildon_app_menu_unmap)
3502 (hildon_app_menu_button_release)
3503 (grab_transfer_window_get):
3504 Bring back the grab window
3505 (hildon_app_menu_realize):
3506 Decorate the window, set WM hint for Matchbox
3508 * src/hildon-note.c (hildon_note_realize):
3509 * src/hildon-banner.c (hildon_banner_realize):
3510 Add WM hints for Matchbox
3512 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3514 * src/hildon-app-menu-private.h
3515 * src/hildon-app-menu.c
3516 (hildon_app_menu_init, hildon_app_menu_finalize)
3517 (hildon_app_menu_map, hildon_app_menu_unmap)
3518 (hildon_app_menu_button_release):
3519 Remove the grab window, it's not needed anymore
3521 * src/hildon-program.c
3522 Fixed typo in documentation
3524 * src/hildon-app-menu.h
3525 * src/hildon-app-menu.c
3526 * examples/hildon-app-menu-example.c
3527 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3529 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3532 Added new transfer_window and close_if_pressed_outside private
3534 (hildon_note_rebuild):
3535 Don't add a cancel button to the information note. It will be
3536 closed when tapping outside
3537 Remove the comment about the OK button in the documentation
3538 (hildon_note_realize):
3539 Set the notification type hint
3540 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3541 Grab/ungrab pointer and keyboard if the note has to be closed when
3543 (hildon_note_button_release):
3544 Close the note when tapping outside (if applicable)
3546 * src/hildon-app-menu.c
3547 Grab/ungrab pointer and keyboard on map/unmap
3548 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3549 Close the menu on button release, not button press
3551 * src/hildon-banner.c
3552 (hildon_banner_set_property)
3553 (hildon_banner_check_position):
3554 Make the banner use the full width of the screen
3555 (hildon_banner_show_information)
3556 (hildon_banner_show_information_with_markup):
3557 Don't display an icon by default
3559 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3561 Added fading scrollbars and adapted all the overshooting code to
3562 horizontal scrolling. We have also fixed bugs with overshooting
3563 and current fading implementation.
3565 * src/hildon-pannable-area.c
3566 (hildon_pannable_area_scroll_indicator_fade): Time out function
3567 used to change the transparency of the scrollbars.
3569 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3570 control and fixed a problem with fading, we now remove the fade
3571 timeout before adding a new one.
3573 (hildon_pannable_axis_scroll):
3574 (hildon_pannable_area_scroll):
3575 (hildon_pannable_area_timeout): Added this functions so we can use
3576 the scroll code both for vertical and horizontal.
3578 (hildon_pannable_area_motion_notify_cb):
3579 (hildon_pannable_area_button_release_cb): Added the horizontal
3580 scrolling control, fixed a problem with the overshooting timeout.
3582 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3583 painting of the scrolls.
3585 (hildon_pannable_draw_vscroll):
3586 (hildon_pannable_draw_hscroll):
3587 (hildon_pannable_area_expose_event):
3588 Draw both scrollbars and rectangles in the overshooting area.
3590 (hildon_pannable_area_get_property):
3591 (hildon_pannable_area_set_property):
3592 Modified the overshoot property to overshoot_max
3594 (hildon_pannable_area_map):
3595 Replaced the comments symbols.
3597 (hildon_pannable_area_size_allocate):
3598 (hildon_pannable_area_class_init):
3599 (hildon_pannable_area_init): Added horizontal scroll, fading
3600 effect properties, fixed a problem when overshooting in the bottom
3603 * examples/hildon-pannable-area-example.c:
3604 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3605 looks better in the example.
3607 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3609 * src/hildon-window.c
3610 * src/hildon-window.h
3611 (hildon_window_class_init)
3612 (hildon_window_unset_program)
3613 (hildon_window_unset_program_real):
3614 Make unset_program a virtual function
3616 * src/hildon-stackable-window.c
3617 * src/hildon-stackable-window.h
3618 Added hildon_stackable_window_go_home()
3620 * examples/Makefile.am
3621 * examples/hildon-stackable-window-example.c
3622 HildonStackableWindow example
3624 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3626 * hildon-pannable-area.c: Added the overshoot property and removed
3627 the OVERSHOOT define. Fixed an indent style error.
3628 (hildon_pannable_area_motion_notify_cb):
3629 (hildon_pannable_area_get_property):
3630 (hildon_pannable_area_set_property): Add overshoot property.
3632 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3635 (hildon_pannable_area_class_init): Installed the new property.
3637 * hildon-pannable-area-example.c: Added a sawtooth function, this
3638 way it is easier to check the movement in the pannable.
3639 (get_sawtooth_label): Added this function.
3640 (main): Now we get the labels from the new get_sawtooth_label
3643 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3645 * src/hildon-app-menu.h
3646 * src/hildon-app-menu.c
3647 Renamed API variables for consistency
3649 (hildon_app_menu_popup): Use also the default window size to
3650 decide where to place the menu
3652 (hildon_app_menu_init, hildon_app_menu_class_init): New
3653 external-border style property
3655 2008-05-26 Michael Natterer <mitch@imendio.com>
3657 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3658 widget_class->tap_and_hold_setup signal slot doesn't exist any
3659 longer, stop overriding it.
3661 (hildon_time_editor_init): g_signal_connect() to the
3662 tap-and-hold-setup signal instead.
3664 (hildon_time_editor_entry_keypress): add cast to fix warning.
3666 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3668 * doc/hildon-docs.sgml
3670 * examples/Makefile.am
3671 * examples/hildon-app-menu-example.c
3673 * src/hildon-app-menu-private.h
3674 * src/hildon-app-menu.c
3675 * src/hildon-app-menu.h
3677 New HildonAppMenu widget
3679 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3681 Rearranged the inheritance of the pannable area, now it inherits
3682 from GtkBin. This will allow us to control the event_window and
3683 the allocation process of the widget, required for some effects.
3685 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3686 GtkBin structures. * src/hildon-pannable-area.c: Added the
3687 event_window variable.
3688 (hildon_pannable_area_button_press_cb):
3689 (hildon_pannable_area_button_release_cb):
3690 (hildon_pannable_area_motion_notify_cb):
3691 Changed the signature of the method, now we override the event
3692 callback instead of connecting to the signal.
3694 (hildon_pannable_area_realize):
3695 (hildon_pannable_area_unrealize):
3696 (hildon_pannable_area_map):
3697 (hildon_pannable_area_unmap):
3698 (hildon_pannable_area_size_allocate):
3699 Added functions to control the widget construction. We add a
3700 INPUT_ONLY window and we put it over the widgets inside the
3701 container, this event_window handles the events.
3703 (hildon_pannable_area_class_init):
3704 Replaced the signal connections with overrides of the event
3707 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3709 Bouncing effect added when touching the borders, you can change
3710 the elasticity of the border changing the ELASTICITY define.
3712 * src/hildon-pannable-area.c: Added ELASTICITY define.
3713 (hildon_pannable_area_timeout): Added inverse velocity when
3714 touching the border of the child widget, that causes a bounce.
3716 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3718 Improved performance, we now do not go to the X server in order to
3719 get the list of window children. Apparently the effect is the
3720 same, we have to be careful and check if this breaks something in
3723 * src/hildon-pannable-area.c:
3724 (get_ordered_children): Removed this function.
3725 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3726 the children windows function with gdk_window_get_children.
3728 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3730 * src/hildon-pannable-area.c:
3731 (hildon_pannable_area_dispose): Fixed a crash when closing the
3732 window and kinetics is activated.
3734 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-pannable-area.h
3737 * src/hildon-pannable-area.c
3738 Changed indentation style to meet the one used in Hildon
3740 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3742 Reviewed the interaction of the AUTO mode, now we use the time
3743 attribute of the events and calculate the velocity in the motion,
3744 doing a gimp like calculation. The velocity is calculated in each
3745 motion event using the last velocity and the current one, the
3746 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3748 * src/hildon-pannable-area.c: Replaced the time based algorithm
3750 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3751 timeout for the AUTO mode when we are still moving the cursor. We
3752 added also the velocity calculation in this function.
3753 (hildon_pannable_area_button_release_cb): launch the timeout in
3754 case we are in AUTO mode. There are still some constants here that
3755 come from the old implementation that should be reviewed and
3758 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3760 * doc/hildon-docs.sgml
3763 * src/hildon-stackable-window.c
3764 * src/hildon-stackable-window.h
3766 New HildonStackableWindow widget
3768 * examples/hildon-dialog-example.c
3769 * examples/hildon-pannable-area-example.c
3772 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-dialog.c
3775 (hildon_dialog_new_with_buttons): New constructor.
3777 * examples/hildon-dialog-example.c
3778 (main): Update the example to use the new
3779 hildon_dialog_new_with_buttons().
3781 * examples/hildon-pannable-area-example.c
3782 (main): Update example.
3784 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3786 * doc/hildon-docs.sgml
3788 Added HildonPannableArea to the documentation.
3790 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3792 * doc/visual_index.xml
3793 Fix reference to HildonLoginDialog in documentation
3795 * doc/hildon-docs.sgml
3797 * examples/Makefile.am
3798 * examples/hildon-dialog-example.c
3800 * src/hildon-dialog.c
3801 * src/hildon-dialog.h
3803 New HildonDialog widget.
3805 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3807 * src/hildon-pannable-area.c
3808 Merge latest changes (r4318, r4342) from libmokoui trunk
3810 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3812 * examples/Makefile.am
3813 * examples/hildon-pannable-area-example.c
3815 * src/hildon-pannable-area.c
3816 * src/hildon-pannable-area.h
3818 New HildonPannableArea widget.
3820 2008-04-15 18:05:19 <timj@imendio.com>
3822 * src/hildon-banner.c: revert the recent change, that introduced
3823 gtk_window_present() calls. this reopens:
3824 Bug 78481 - [freetest] information banners are hidden under browser menu
3825 But resolves another variant of:
3826 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3828 2008-04-15 13:21:13 <timj@imendio.com>
3830 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3831 recreated its layout, spotted by Kris. this fixes all remaining
3832 artefacts and stability issues with the banner code. in particular:
3833 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3835 2008-04-14 16:52:59 <timj@imendio.com>
3837 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3838 operating on unrealized widgets, fixes:
3839 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3841 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3843 2008-04-09 Kristian Rietveld <kris@imendio.com>
3845 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3846 makes banner disappear.
3847 Fixes: NB#79182: info banner flickering with certain message lengts.
3849 * src/hildon-banner.c (hildon_banner_constructor),
3850 (hildon_banner_init), (hildon_banner_set_text),
3851 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3852 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3853 FALSE, reset size requests of label and banner,
3854 (force_to_wrap_truncated): when the text is too wide, always enforce
3855 the maximum possible width instead of recalculating it from the
3856 layout; enforce the maximum banner height of 3 lines,
3857 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3858 nicer wrapping and no truncated chars if space gets tight.
3860 * src/hildon-banner-private.h: add has_been_wrapped and
3861 has_been_truncated fields.
3863 2008-04-07 Sven Herzberg <sven@imendio.com>
3865 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3866 local values in hildon_date_editor_size_allocate
3868 * src/hildon-date-editor.c: moved the real allocation code into the
3871 2008-04-07 Sven Herzberg <sven@imendio.com>
3873 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3874 local values in hildon_date_editor_size_allocate
3876 * src/hildon-date-editor.c: merged the two if() branches together
3878 2008-04-07 Sven Herzberg <sven@imendio.com>
3880 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3881 local values in hildon_date_editor_size_allocate
3883 * src/hildon-date-editor.c: changed the arguments of the if()
3886 2008-04-07 Sven Herzberg <sven@imendio.com>
3888 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3889 local values in hildon_date_editor_size_allocate
3891 * src/hildon-date-editor.c: split the calculation of the allocation
3892 from the real allocation
3894 2008-03-27 Michael Natterer <mitch@imendio.com>
3896 Fixes: NB#81696: The passcode is not overwritten even after
3899 * src/hildon-code-dialog.c
3900 (hildon_code_dialog_button_clicked)
3901 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3902 because that doesn't overwrite selected text. Instead, emit the
3903 "commit" signal on the entry's im_context so the entry's normal
3904 insert logic is triggered. Set the cursor to the end of the entry
3905 after each insert operation so that we *only* insert in the middle
3906 of the text if something was selected.
3908 2008-03-27 Michael Natterer <mitch@imendio.com>
3910 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3911 selector cannot be opened
3913 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3914 when the popup color selector is created. Please connect to this
3915 signal in order to set the dialog's help ID.
3917 2008-03-25 Sven Herzberg <sven@imendio.com>
3919 Fixes: MB#1212: Hide info banners (infoprints) on click
3921 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3922 extracted the close event simulation into an extra function
3923 (hildon_banner_button_press_event): simulate a close event and destroy
3924 the widget if the event wasn't handled
3925 (hildon_banner_class_init): added the button_press_event handler
3926 (hildon_banner_init): added button-press events to the widget
3928 2008-03-25 Sven Herzberg <sven@imendio.com>
3930 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3931 Patch from: Mohammad Anwari <mdamt@maemo.org>
3933 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3934 instead of the right in RTL mode
3935 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3936 breadcrumb button list in RTL mode
3937 * src/hildon-caption.c: mirror the appearance of the caption widget in
3939 * src/hildon-date-editor.c: mirror appearance of the date editor in
3941 * src/hildon-time-editor.c: mirror appearance of the time editor in
3943 * src/hildon-window.c: fix the position of the popup in RTL mode
3945 2008-03-25 Sven Herzberg <sven@imendio.com>
3947 Amendment to the fix of NB#22072. Fix compilation.
3949 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3951 2008-03-19 Sven Herzberg <sven@imendio.com>
3953 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3956 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3957 timeout id properly when the timeout will disappear this leaves no
3958 artifacts around in the destroy(); there will only be the timeout
3959 created by hildon_banner_ensure_timeout() and adding a new timeout
3960 will also work if the timeout gets removed because the timeout_handler
3963 2008-03-19 Michael Natterer <mitch@imendio.com>
3965 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3967 * src/hildon-volumebar.c
3968 * src/hildon-vvolumebar.c
3969 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3970 the widget becomes focussable at all.
3972 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3973 set the focus to wither the mute button or the volumebar.
3975 Remove own "can-focus" property and instead listen to
3976 notify::can-focus in order to update the widget's state.
3978 Implement GtkWidget::focus() and make sure we can also *leave* the
3979 widget, not only enter it, depending on volumebar orientation and
3980 requested focus direction.
3982 Clean up set_mute() to cooperate nicely with all the above.
3984 2008-03-04 Michael Natterer <mitch@imendio.com>
3986 Fixes: NB#78481: information banners are hidden under browser menu
3988 * src/hildon-banner.c: call gtk_window_present() on the banners so
3989 they are risen if they are already visible.
3991 2008-03-03 Sven Herzberg <sven@imendio.com>
3993 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3995 * examples/hildon-window-menu-example.c: (main): extended the window
3996 menu example to serve as a testcase for automatically added
3997 accelerator groups, too
3998 * src/hildon-window.c: (hildon_window_add_accel_group),
3999 (hildon_window_set_menu): added patch by Tommi Komulainen
4001 2008-03-03 Sven Herzberg <sven@imendio.com>
4003 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
4005 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
4006 knowledge about the border allocators used within GTK+
4008 2008-02-26 Sven Herzberg <sven@imendio.com>
4010 Fixes: MB#2981: Build with asserts broken
4012 * src/hildon-date-editor.c,
4013 * src/hildon-number-editor.c,
4014 * src/hildon-time-editor.c,
4015 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
4016 the proper GType instance check
4018 2008-02-25 Sven Herzberg <sven@imendio.com>
4020 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
4022 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
4023 * examples/hildon-window-menu-example.c: (main): explicitly show
4025 * src/hildon-window.c:
4026 (hildon_window_set_main_menu): moved most of the code from set_menu()
4027 to this place; skipped the call to gtk_widget_show_all(); also didn't
4028 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
4029 (hildon_window_set_menu): removed most of the code, just keep the
4030 questionable gtk_widget_show_all()
4031 * src/hildon-window.h: added the new function and deprecate the old
4034 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4040 * debian/changelog: Updating.
4042 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4045 * pkgconfig/Makefile.am:
4046 * pkgconfig/hildon.pc.in:
4049 Do not use PACKAGE_VERSION_MAJOR as the API revision,
4050 use newly created API_MAJOR_VERSION.
4052 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4058 * debian/changelog: Updating.
4060 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4062 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4064 Add outer_border style property, we use it but don't define it (!).
4068 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4070 * examples/hildon-bread-crumb-trail-example.c (main):
4074 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4076 Fix logic for the bread crumb trail node removal.
4080 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4086 * debian/changelog: Updating.
4088 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4090 Patch by Alejandro to get/set passwords dialogs accesibility.
4092 * hildon-1/src/hildon-get-password-dialog.c:
4093 * hildon-1/src/hildon-set-password-dialog.c:
4094 Set atk_set_name to the passwd entries in order to allow
4095 accessibility by name on this entries.
4097 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4102 * debian/control: Updating gtk dep.
4104 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4106 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4107 USE_MAEMO_GTK is enabled.
4109 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4111 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4112 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4114 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4120 * debian/changelog: Updating.
4122 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4124 * examples/Makefile.am:
4125 * examples/hildon-logical-color-example.c:
4126 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4127 applied + adding a test case. Fixes: NB#71660.
4129 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4131 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4132 to be visible, fixes warning on map for windows without toolbars.
4134 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4136 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4137 2.11.0, add a check for that besides the MAEMO_GTK check.
4139 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4145 * debian/changelog: Updating.
4147 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4149 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4150 visibility. Fixes: NB#70842 and MB#615.
4152 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4154 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4155 set the separator as no-show-all so it doesn't unintentionally appear when
4156 someone does a show_all.
4158 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4160 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4161 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4162 toplevel item. Fixes: NB#62031
4164 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4166 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4167 fix the name of the function in the docs.
4169 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4175 * debian/changelog: Updating.
4177 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4179 * examples/hildon-banner-long-example.c: Adding a test-case for long
4182 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4184 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4186 * src/hildon-color-chooser-dialog.c:
4187 * src/hildon-color-chooser.c:
4188 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4189 memory leaks in font selector and color selector. Fixes: NB#70499 and
4192 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4194 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4196 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4198 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4199 little bit bigger. Fixes: #NB63694.
4201 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4207 * debian/changelog: Updating.
4209 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4212 * doc/hildon-docs.sgml:
4213 * doc/images/bread-crumb-trail.png:
4214 * doc/images/calendar-popup.png:
4215 * doc/images/caption.png:
4216 * doc/images/code-dialog.png:
4217 * doc/images/color-button.png:
4218 * doc/images/color-chooser-dialog.png:
4219 * doc/images/color-chooser.png:
4220 * doc/images/controlbar.png:
4221 * doc/images/date-editor.png:
4222 * doc/images/font-selection-dialog.png:
4223 * doc/images/get-password-dialog.png:
4224 * doc/images/hvolumebar.png:
4225 * doc/images/login-dialog.png:
4226 * doc/images/note.png:
4227 * doc/images/number-editor.png:
4228 * doc/images/range-editor.png:
4229 * doc/images/seekbar.png:
4230 * doc/images/set-password-dialog.png:
4231 * doc/images/sort-dialog.png:
4232 * doc/images/time-editor.png:
4233 * doc/images/time-picker.png:
4234 * doc/images/vvolumebar.png:
4235 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4236 Adding the bread-crumb-trial and helpers to the documentation.
4238 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4240 * examples/hildon-find-toolbar-example.c:
4241 * src/hildon-find-toolbar.c:
4242 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4243 actually continue firing the other handlers if connected. Adding a new
4245 hildon_find_toolbar_get_last_index that gets the index of the most
4246 recently added (last) item. Fixes: NB#52301.
4248 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4250 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4251 behaviour. Fixes: NB#68610.
4253 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4255 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4258 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4260 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4261 when realizing the banner. Should make the infonbanner effect a bit more
4264 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4266 * src/hildon-volumebar.c:
4267 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4268 hildon_volumebar_set_range_insensitive_message and
4269 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4271 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4273 * src/hildon-window.c: Fixing the border freeing on destroy.
4275 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4277 * src/hildon-code-dialog-private.h:
4278 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4279 kw keyboard support in HildonCodeDialog.
4281 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4287 * debian/changelog: Updating.
4289 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4291 * src/hildon-date-editor.c:
4292 * src/hildon-number-editor.c:
4293 * src/hildon-private.c:
4294 * src/hildon-private.h:
4295 * src/hildon-time-editor.c:
4296 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4297 handling in subclassed composite widgets. Fixes: NB#66628.
4299 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4301 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4302 from destroy_ callback as it introduces problems in async dbus signal
4303 handlers. Fixes NB#66673.
4305 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4307 * examples/hildon-hvolumebar-example.c:
4308 * src/hildon-volumebar.c: Improving the focus handling in the
4309 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4310 set_property accessor so that "mute" property can be actually set. I'm
4311 scared that nobody noticed it's totally broken.
4313 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4315 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4318 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4320 * src/hildon-calendar.c:
4321 * src/hildon-number-editor.c:
4322 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4323 matches the spec of 6 chars per second. Fixes: NB#60489.
4325 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4327 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4328 gtk_style_lookup_color sometime returns FALSE even though color was
4329 found and values were filled properly. Weird. Removing the warning for the
4332 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4334 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4335 expand vertically. Adding some extra space to the find toolbar buttons to
4336 make them thumbable. Fixes NB#66060.
4338 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4340 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4341 popup with "Ok" and "Cancel". Fixes NB#59299.
4343 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4345 * src/hildon-calendar.c: Process all window updates before executing next
4346 timeout. Fixes: NB#54146.
4348 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4354 * debian/changelog: Updating.
4356 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4358 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4359 the client event and ignore it, since we use the delete event to close
4362 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4364 * src/hildon-helper.c: Remove the bogus warning about color not being
4365 found. Fixes NB#58352.
4367 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4369 * examples/Makefile.am:
4370 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4371 HildonSeekbar widget inside a toolbar.
4373 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4375 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4376 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4377 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4378 don't want to be closed by non-temporary windows on map.
4380 Also use G_DEFINE_TYPE instead of manually typed code.
4382 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4389 * debian/rules: Updating.
4391 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4393 * examples/Makefile.am:
4394 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4395 bug NB#61128. Strangely it works.
4397 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4399 * src/hildon-date-editor.c: When the date editor entry has been changed
4400 but the numbers of characters < max, turn off the skip validation flag.
4401 Prevents a situation when we enter first a valid year and later re-write
4402 it with an invalid one. Fixes NB#60154.
4404 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4406 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4407 code dialog. Fixes NB#64355.
4409 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4411 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4412 switching the page. Fixes NB#49374.
4414 * examples/Makefile.am:
4415 * examples/hildon-wizard-dialog-example.c: Adding an example for
4416 HildonWizardDialog that shows how to handle manual sensitivity setting on
4419 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4423 * src/hildon-version.h.in:
4424 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4426 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4428 * src/hildon-volumebar.c: Updating the docs.
4430 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4436 * debian/changelog: Updating.
4438 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4440 * src/hildon-find-toolbar.c:
4441 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4442 selected item: hildon_find_toolbar_set_active,
4443 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4444 hildon_find_toolbar_get_active_iter . They correspond to respective
4445 GtkComboBox functions.
4447 * examples/Makefile.am:
4448 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4451 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4453 * examples/Makefile.am:
4454 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4457 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4458 when font size > 32 and we pack a focusable widget inside. Actually using
4459 the default response would work too, but since we don't show default
4460 response state in any way (no theming) it would not be visible to the
4461 user. Fixes NB#63430.
4463 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4465 * src/hildon-date-editor.c: Adding the missing variable setter in the
4466 set_property handler. Fixes NB#54182.
4468 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4470 * src/hildon-window.h: Changing the long key press time from 1500ms to
4471 800ms as requested in NB#63700. I have a bad feeling about this, let's
4472 see... Fixes NB#63700.
4474 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4476 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4477 hildon_time_picker_map, hildon_time_picker_realize,
4478 hildon_time_picker_style_set): Split the contents of map to more
4479 appropriate functions; set window decorations on realize and update
4480 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4482 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4487 * debian/changelog: Updating.
4489 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4491 * src/Makefile.am: fixed installation of the header files
4493 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4499 * debian/changelog: Updating.
4501 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4503 * configure.ac: Removing some remaining of --enable-xan.
4505 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4507 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4508 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4510 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4511 2.10.12-osso6 because the move-focus signal needs to be available in
4514 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4516 * examples/Makefile.am:
4517 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4518 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4519 fine. Prolly NB#61128 is fixed now.
4521 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4523 * src/hildon-volumebar.c:
4524 * src/hildon-volumebar.h: Adding the
4525 hildon_volumebar_set_range_insensitive_message and
4526 hildon_volumebar_set_range_insensitive_messagef functions to set
4527 insensitive message on the slider of the volumebar. Fixes NB#61129.
4529 * examples/Makefile.am:
4530 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4531 test the new insensitive messsage functionality on HildonVolumebar.
4533 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4535 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4538 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4540 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4541 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4542 button on after clearing the trail.
4544 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4546 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4548 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4550 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4551 by splitting the installed headers in generated and non-generated groups. Use
4552 only the non-generated headers to create the hildon-enum-types.h file.
4554 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4556 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4558 * src/hildon-window.c: Hide the window before performing the destroy.
4559 Should make the app closing a little tiny bit more snappy.
4561 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4563 * src/hildon-seekbar.c: add gtkrange.h header
4564 * src/hildon-caption.c: remove unused variable
4566 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4568 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4571 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4577 * debian/changelog: Updating.
4579 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4581 * src/hildon-window.c (hildon_window_window_state_event,
4582 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4583 escape timeout on focus-out-event rather than notify::is-topmost; the
4584 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4586 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4588 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4589 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4591 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4593 * src/hildon-window: actually, you need to use the macro always, there's
4594 no private pointer in the instance structure. We should have cleaned this up
4595 when we had the chance...
4597 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4599 * src/hildon-window.c: do not get the private date from HildonWindow before
4600 it passes the g_return_if_fail check. Once it's passed the test, there's no
4601 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4602 if you are only going to access the data once. Whitespace cleanups.
4604 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4606 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4607 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4609 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4615 * debian/changelog: Updating.
4617 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4619 * src/hildon-window.c: When destroying the window, remove (if exists) the
4620 escape timeout handler. Fixes #NB59276.
4622 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4624 * src/hildon-banner.c: When realizing the widget, set the window
4625 transiency. Setting the transiency in the gobject constructor is not
4626 good, as the widget is not realized at that point. Fixes: #NB56624.
4628 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4630 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4631 Add padding for future expansions.
4633 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4635 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4636 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4637 will fake an activation on the previous to the last item of the trail, so
4638 the effect can be overrided by the developer as usual.
4639 Also change the callback for the back button to do the same thing, so its
4640 effect can be overrided too. Fixes: NB#58982
4642 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4644 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4645 HildonCaption. Fixes NB#52379.
4647 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4649 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4650 the internal state of the trail after the user has had the chance of executing
4651 his handler for the signal. Specifically, it may happen that the activated button
4652 is removed and the user still lets the default handler run. This would segfault
4655 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4657 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4658 scrollbar to the preview dialog. Fixes NB#54147.
4660 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4662 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4663 max/min year properties can be altered, so the client can modify it
4664 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4666 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4668 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4669 hildonlike by default. Fixing a problem with disappearing arrows when
4670 scrolling through months and years. Fixes NB#54127.
4672 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4674 * examples/hildon-date-editor-example.c: Adding error callback to the date
4677 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4683 * configure.ac: Updating.
4685 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4687 * configure.ac: Adding a special '--enable-xan' configure option that
4688 turns off the -Werror compilation setting. Usefull for development.
4690 * src/hildon-calendar.c:
4691 * src/hildon-number-editor.c:
4692 * src/hildon-time-picker.c: Adding the 5* multiplier to
4695 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4697 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4698 instead of g_object_ref + gtk_object_sink.
4700 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4706 * debian/changelog: Updating.
4708 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4710 * src/hildon-color-chooser-dialog.c:
4711 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4712 straight from Tommi labs.
4714 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4716 * examples/hildon-finger-example.c: Correcting the header file path.
4718 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4719 the changed signal. Fixes a small memory leak.
4721 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4725 * src/hildon-banner.c: Importing several usefull fixes from the
4726 ubuntu-mobile branch.
4728 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4730 * examples/Makefile.am:
4731 * examples/hildon-finger-example.c: Adding a finger-checking code
4734 * src/hildon-font-selection-dialog.c: Do not allocate the color
4735 structure using the g_new. Fixes NB#54061.
4737 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4739 * src/hildon-helper.c: Correcting tabs in file.
4741 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4743 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4744 control the visibility of the children.
4746 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4748 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4754 * debian/changelog: Updating.
4756 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4758 * src/hildon-bread-crumb-trail.c:
4759 (hildon_bread_crumb_trail_size_allocate):
4761 Make the back button always a square.
4763 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4765 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4766 from the .c file as it's a private file.
4768 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4770 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4771 uses slightly bigger height.
4773 * src/hildon-font-selection-dialog.c: Adding some checks before
4774 freeing memory in the font selection dialog.
4776 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4778 * src/hildon-font-selection-dialog.c: Adding a small check when
4781 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4782 buttons sensitivity on page switching.
4784 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4786 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4787 internal details of adding a bread crumb to the trail.
4789 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4795 * debian/changelog: Updating.
4797 * src/hildon-bread-crumb-trail.h:
4798 * src/hildon-bread-crumb.h: Changing the API guard to
4799 HILDON_ENABLE_UNSTABLE_API.
4801 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4809 * src/hildon-helper.h: Updating.
4811 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4819 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4823 * src/hildon-helper.h: Small fix to make the package actually compile.
4825 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4827 * src/hildon-bread-crumb-trail.h:
4828 * src/hildon-bread-crumb.h:
4830 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4831 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4833 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4835 * examples/hildon-bread-crumb-trail-example.c:
4837 * src/hildon-bread-crumb-trail.c:
4838 * src/hildon-bread-crumb-trail.h:
4839 * src/hildon-bread-crumb.c:
4840 * src/hildon-bread-crumb.h:
4841 * src/hildon-marshalers.list:
4842 * src/hildon-bread-crumb-widget.c:
4843 * src/hildon-bread-crumb-widget.h:
4845 Slight change in the widget design. The bread crumb trail API is
4846 unchanged, but HildonBreadCrumb is now an interface. A *private*
4847 implementation, hildon-bread-crumb-widget, is provided and used
4848 internally by the trail for the push_text/push_icon functions.
4850 The generic push API is still available, so anyone can implement
4851 and use its own bread crumb widget.
4853 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4855 * debian/rules: Fixing the shlibs.
4857 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4859 * src/hildon-banner.c: Fixing a problem with timed banners having
4860 their parrent destroyed before they are.
4862 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4864 * src/hildon-bread-crumb.c:
4865 * src/hildon-bread-crumb.h:
4867 Make the get_natural_size function a vfunc.
4869 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4871 * src/hildon-bread-crumb.c:
4872 * src/hildon-bread-crumb-trail.c:
4876 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4883 * debian/changelog: Updating for release.
4885 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4887 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4888 don't leak the pango layout.
4890 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4893 * examples/hildon-bread-crumb-trail-example.c:
4897 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4899 * debian/changelog: Removing the bug-fixed entries that were actually
4900 resolved as WONTFIX.
4902 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4905 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4907 * src/hildon-bread-crumb-trail.c:
4908 * src/hildon-bread-crumb-trail.h:
4909 * src/hildon-bread-crumb.c:
4910 * src/hildon-bread-crumb.h:
4914 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4916 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4917 until it's passed the type check.
4919 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4921 * examples/hildon-bread-crumb-trail-example.c
4925 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4927 * examples/Makefile.am
4928 * examples/hildon-bread-crumb-trail-example.c
4930 * src/hildon-bread-crumb-trail.c
4931 * src/hildon-bread-crumb-trail.h
4932 * src/hildon-bread-crumb.c
4933 * src/hildon-bread-crumb.h
4935 New HildonBreadCrumbTrail widget.
4937 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4939 * src/hildon-range-editor.c (hildon_range_editor_init),
4940 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4941 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4942 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4943 hildon_time_editor_class_init, hildon_time_editor_init),
4944 src/hildon-get-password-dialog.c (invalid_input,
4945 hildon_get_password_set_property, hildon_get_password_get_property,
4946 create_contents, hildon_get_password_dialog_set_max_characters),
4947 src/hildon-set-password-dialog.c (create_contents),
4948 src/hildon-date-editor.c (hildon_date_editor_init),
4949 src/hildon-login-dialog.c (hildon_login_dialog_init),
4950 src/hildon-number-editor.c (hildon_number_editor_init),
4951 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4952 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4953 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4954 configure option and adding the respective checks in the code.
4955 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4956 hildon_calendar_drag_data_received): fixed some build warnings.
4958 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4960 * debian/changelog: A 1.0.0 release notes.