1 2008-12-05 14:42:11 Tim Janik <timj@imendio.com>
3 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4 HildonSizeType, which are supplied by Gtk+ now.
6 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
8 * Fixes NB#90867, patch by Christian Dywan.
10 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
12 Patch contributed by Iván Gómez (igomez@igalia.com)
14 * src/hildon-pannable-area.c: Add "since" tags to the new API in
17 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
19 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
20 (some_page_func), (main): Update the example to use a
21 HildonWizardDialogPageFunc function.
23 * src/hildon-wizard-dialog-private.h: Add private data for
24 the HildonWizardDialogPageFunc function usage.
26 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
27 (destroy), (hildon_wizard_dialog_init), (response),
28 (hildon_wizard_dialog_set_forward_page_func):
29 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
30 that applications can use to stop a HildonWizardDialog to jump to
33 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
36 2008-12-04 Alberto Garcia <agarcia@igalia.com>
38 * src/hildon-program.h
39 * src/hildon-program-private.h
40 * src/hildon-program.c (hildon_program_init)
41 (hildon_program_set_common_app_menu)
42 (hildon_program_get_common_app_menu):
43 New API for setting a common HildonAppMenu for all
44 HildonStackableWindows registered with the HildonProgram.
46 * src/hildon-stackable-window.c
47 (hildon_stackable_window_toggle_menu):
48 Use the common HildonAppMenu if a window doesn't have a specific
51 * src/hildon-app-menu-private.h
52 * src/hildon-app-menu.c
53 (hildon_app_menu_get_parent_window):
54 Function to obtain the window a HildonAppMenu is attached to.
55 (hildon_app_menu_set_parent_window):
56 Hide the menu if the parent window is set to NULL.
58 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
60 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
61 set GtkTreeView::enable-search to FALSE, to avoid the interactive
62 search widget to popup.
64 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
66 * configure.ac: post release version bump
67 * debian/changelog: version bump
69 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
74 * configure.ac: bump version
75 * debian/changelog: updates
77 2008-12-02 Alberto Garcia <agarcia@igalia.com>
79 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
81 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
82 (hildon_window_stack_window_realized)
83 (hildon_window_stack_remove, _hildon_window_stack_do_push):
84 Set the leader GdkWindow when a window is stacked and realized,
85 unset it when it's unstacked.
86 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
88 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
90 2008-12-02 Alberto Garcia <agarcia@igalia.com>
92 * src/hildon-stackable-window.h
93 * src/hildon-window-stack.h:
94 Protect definition of HildonWindowStack using the preprocessor.
96 2008-12-02 Alberto Garcia <agarcia@igalia.com>
98 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
99 Fix warning if all menu items are hidden.
101 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
103 Patch contributed by Daniel Borgmann (danielb@openismus.com)
105 * src/hildon-controlbar.c:
106 * src/hildon-hvolumebar.c:
107 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
108 Multiple scale size defines updates.
110 Fixes: NB#94322 (Scale Updates)
112 2008-12-02 Alberto Garcia <agarcia@igalia.com>
114 * examples/hildon-app-menu-example.c (create_menu)
115 Show items after adding them to the menu, as in the future the
116 menu will no longer call gtk_widget_show() on the added items.
118 * src/hildon-app-menu.c:
119 Update example as explained above.
121 2008-12-02 Alberto Garcia <agarcia@igalia.com>
123 * src/hildon-app-menu.c
124 (hildon_app_menu_insert, hildon_app_menu_add_filter):
125 Make sure that all menu items have finger height.
127 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
129 * src/hildon-picker-dialog.c:
130 (_on_dialog_response), (_save_current_selection),
131 (_restore_current_selection), (_clean_current_selection),
132 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
133 Defined new functions in order to save the current internal selector
134 selection previous open the dialog, in case that the use cancel the
135 interaction, so the widget restores the previous selection.
137 Fixes: NB#92032 (In calendar application, date values in 'new event'
140 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
142 2008-11-28 Alberto Garcia <agarcia@igalia.com>
144 * src/hildon-button.c: Add a reference to the button examples in
145 hildon-button-example.c
147 * examples/hildon-button-example.c: Added examples of the most
148 common button layouts.
150 2008-11-28 Alberto Garcia <agarcia@igalia.com>
152 * src/hildon-app-menu.c (hildon_app_menu_show)
153 (hildon_app_menu_class_init): Don't show the menu if it's empty.
155 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
157 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
159 * src/hildon-picker-dialog.c:
160 (hildon_picker_dialog_init): Initialize the signal id for
161 HildonTouchSelector::columns-changed.
162 (+on_selector_columns_changed): Set up the interaction mode everytime a
163 column is added or removed from the HildonTouchSelector.
164 (_hildon_picker_dialog_set_selector): Connect to
165 HildonTouchSelector::columns-changed and keep track of it.
167 Make sure to update the interaction mode of the dialog everytime a
168 column is added or removed in the HildonTouchSelector.
170 Fixes: NB#93228 (Done button is not shown always in listpicker)
172 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
174 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
175 a new ::columns-changed signal.
176 (hildon_touch_selector_append_column): Emit ::columns-changed.
177 (hildon_touch_selector_remove_column): Emit ::columns-changed.
179 Add a ::columns-changed signal, emitted when the number of columns in a
180 HildonTouchSelector changes.
182 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
184 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
185 (_hildon_picker_dialog_set_selector): Factor out the code
186 to set up the dialog interaction mode.
188 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
190 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
191 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
192 to signal_changed_id.
194 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
196 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
199 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
201 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
202 Updated the logical ids related to ampm format, as now it is required to
203 show it correctly localized even on languages with no default
204 abbreviations for am or pm
205 (_check_am_pm_format): check correctly the 24h format gconf property
207 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
209 2008-11-27 Alberto Garcia <agarcia@igalia.com>
211 * src/hildon-button.c: Documentation updates.
213 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
215 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
216 * src/hildon-caption.c: (hildon_caption_class_init):
217 * src/hildon-color-button.c: (hildon_color_button_class_init):
218 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
219 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
220 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
221 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
223 Remove deprecated GTK+ marshalers and replace them with the ones
224 provided by GLib, for those available, add a marshaler for
225 BOOLEAN:VOID, which is not available in GLib, and use it.
227 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
229 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
230 the text from the previous column if there is no
231 HildonTouchSelectorColumn::text-property set.
233 2008-11-27 Alberto Garcia <agarcia@igalia.com>
235 * src/hildon-button.h
236 * src/hildon-button.c (hildon_button_set_property)
237 (hildon_button_get_property, hildon_button_class_init)
238 (hildon_button_set_style, hildon_button_get_style):
239 New "style" property to change the visual appearance of the
242 * src/hildon-picker-button.c (hildon_picker_button_new):
243 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
245 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
246 HildonButton look like PickerButton)
248 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
250 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
251 column while building the default string.
253 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
255 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
256 scroll indicator by default.
258 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
260 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
262 * src/hildon-main.c: Fix the documentation for hildon_init()
264 2008-11-25 Alberto Garcia <agarcia@igalia.com>
266 * doc/hildon-docs.sgml
270 * src/hildon-window-stack-private.h
271 * src/hildon-window-stack.h
272 * src/hildon-window-stack.c:
273 New HildonWindowStack object, that adds support for multiple
274 stacks of windows per process.
276 * src/hildon-stackable-window-private.h
277 * src/hildon-stackable-window.h
278 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
279 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
280 (hildon_stackable_window_show, hildon_stackable_window_hide)
281 (hildon_stackable_window_class_init)
282 (hildon_stackable_window_init):
283 Use HildonWindowStack for stack management.
285 * src/hildon-program.c (hildon_program_pop_window_stack)
286 (hildon_program_peek_window_stack)
287 (hildon_program_go_to_root_window):
288 Add a fallback implementation to the deprecated functions using
291 * examples/hildon-stackable-window-example.c:
292 Use the new HildonWindowStack API.
294 2008-11-25 Alberto Garcia <agarcia@igalia.com>
296 * src/hildon-stackable-window-private.h
297 * src/hildon-stackable-window.c (hildon_stackable_window_show)
298 (hildon_stackable_window_hide, hildon_stackable_window_init):
299 Remove all window stack management.
301 * src/hildon-program-private.h
302 * src/hildon-program.h
303 * src/hildon-program.c (hildon_program_init)
304 (hildon_program_pop_window_stack)
305 (hildon_program_peek_window_stack)
306 (hildon_program_go_to_root_window):
307 Remove all window stack management and mark functions as
310 2008-11-25 Alberto Garcia <agarcia@igalia.com>
312 * src/hildon-app-menu.c (hildon_app_menu_realize):
313 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
315 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
317 * configure.ac: post release version bump
318 * debian/changelog: version bump
320 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
325 * configure.ac: bump version
326 * debian/changelog: updates
328 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
330 Based on initial code by Christian Dywan (christian@imendio.com)
332 * doc/hildon-docs.sgml: Add section for hildon-main.
333 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
334 * src/Makefile.am: Add new hildon-main.[ch]
335 * src/hildon-defines.h: Update the icon sizes.
336 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
337 new library initialization files and register icon sizes.
338 * src/hildon-main.h: New declarations.
339 * src/hildon.h: Include hildon-main.h
341 Add new initialization functions to the library. These methods
342 will register the hildon specific icon sizes and can be used in the
343 future for other hildon specific bits.
345 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
347 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
349 * src/hildon-window.c: (hildon_window_realize),
350 (hildon_window_notify), (-hildon_window_update_title): Do not set
351 the application name in the window title.
353 Fixes: NB#89754 (Applications shouldn't display their names in the
356 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
358 * src/hildon-note-private.h:
359 * src/hildon-note.c: (hildon_note_set_property),
360 (hildon_note_get_property), (hildon_note_class_init),
361 (hildon_note_init), (hildon_note_finalize),
362 (hildon_note_new_confirmation_with_icon_name),
363 (hildon_note_new_information_with_icon_name):
365 No need to mark as deprecated the actual code. Revert
366 to avoid missing symbols in widgets using deprecated API.
368 2008-11-20 Alberto Garcia <agarcia@igalia.com>
370 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
372 * src/hildon-volumebar.h
373 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
374 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
376 * src/hildon-helper.h
377 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
378 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
380 * examples/Makefile.am:
381 Deprecate hildon-insensitive-example
383 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
385 2008-11-20 Alberto Garcia <agarcia@igalia.com>
387 * examples/hildon-pannable-area-buttons-scroll-example.c:
388 Make all buttons finger height
390 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
392 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
394 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
395 update the day model only if it is really required, and to avoid the
396 full-reconstruction aproach. Now it only add or remove the required days.
398 The purpose of this is avoid superfluous HildonTouchSelector::changed
401 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
402 with strange parameters)
404 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
406 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
408 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
409 the WINDOW_TYPE property.
411 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
413 2008-11-19 Alberto Garcia <agarcia@igalia.com>
416 Fix dependency to allow parallel compilation with make -jX
418 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
421 color frame and some minor tweaks to make it more consistent with
424 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
425 highlighted but not visible)
427 2008-11-14 Alejandro G. Castro <alex@igalia.com>
429 * examples/Makefile.am: Fixed typo in the Makefile.am.
431 2008-11-14 Alejandro G. Castro <alex@igalia.com>
433 Reviewed the use of MAEMO_GTK define, now we add the define in the
434 compilation line, and we also add it to the pc file.
436 * configure.ac: Added MAEMO_GTK define to the compilation command
437 and removed it from the config.h.
439 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
440 do not have to take care about this define if the library was
444 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
446 2008-11-14 Alejandro G. Castro <alex@igalia.com>
448 * examples/Makefile.am,
449 * examples/hildon-pannable-area-buttons-scroll-example.c,
450 * examples/hildon-pannable-area-gesture-signals-example.c,
451 * examples/hildon-pannable-area-scroll-jump-example.c,
452 * examples/hildon-pannable-area-tree-view-example.c:
453 Renamed the pannable area examples, now they have more meaningful
456 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
458 * src/hildon-touch-selector.c:
459 (hildon_touch_selector_set_column_selection_mode): Used of
460 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
461 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
462 to avoid re-seting the same selection mode.
464 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
465 breaks HildonPickerDialog)
467 2008-11-13 Alejandro G. Castro <alex@igalia.com>
469 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
470 conditional in the Makefile.am
472 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
474 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
475 Remove unused methods.
477 2008-11-12 Alberto Garcia <agarcia@igalia.com>
479 * src/hildon-button.c (hildon_button_init):
480 Make button images center-aligned by default
482 2008-11-12 Alejandro G. Castro <alex@igalia.com>
485 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
486 activated, we have to think about how to deal with both defines
487 MAEMO_GTK and MAEMO_CHANGES.
489 2008-11-12 Alberto Garcia <agarcia@igalia.com>
491 * examples/hildon-app-menu-example.c (create_menu): Make all
494 2008-11-11 Alejandro G. Castro <alex@igalia.com>
496 Fixed the compilation without maemo gtk adding ifdefs with
497 MAEMO_GTK define to the code, we have to check this version more
500 * examples/Makefile.am: Added control to avoid some examples that
501 just make sense with maemo gtk.
504 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
505 hildon modes with the define.
507 * examples/hildon-edit-toolbar-example.c,
508 (create_icon_view): Create the icon view without hildon-gtk
509 helpers if we are not using maemo gtk.
511 * src/hildon-touch-selector.c,
512 (_create_new_column): Create the treeview without hildon-gtk
513 helpers if we are not using maemo gtk.
515 2008-11-11 Alejandro G. Castro <alex@igalia.com>
517 * src/hildon-pnnable-area.c,
518 (hildon_pannable_area_dispose),
519 (hildon_pannable_area_button_press_cb),
520 (hildon_pannable_area_child_mapped),
521 (hildon_pannable_area_add),
522 (hildon_pannable_area_remove): Added code to control the position
523 of the event_window when adding and removing children from the
524 pannable. We have to raise the event window when the child is
527 Fixes: NB#89811 (Not able to select first image thumbnail in multi
528 selection mode using custom widget inside pannable)
530 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: post release version bump
533 * debian/changelog: version bump
535 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
540 * configure.ac: bump version
541 * debian/changelog: updates
543 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
545 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
546 search mode, in order to avoid lose the focus on the treeview when
547 a hw key (like enter) is pressed.
549 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
550 in HildonDateSelector dialog)
552 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
554 * debian/rules: Added --enable-maintainer-mode
555 * Makefile.am: Added ACLOCAL_AMFLAGS
557 This allows to properly regenerate the Makefiles if you modify the
558 configure.ac or any Makefile.am.
560 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
562 * examples/hildon-app-menu-example.c: (main): Do not set RC style
563 properties, not needed at all.
565 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
567 * src/hildon-note-private.h: Add strings for the icon and stock_icon
569 * src/hildon-note.c: (hildon_note_set_property),
570 (hildon_note_get_property), (hildon_note_class_init),
571 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
572 (hildon_note_new_confirmation_add_buttons): Remove icons.
573 (hildon_note_new_confirmation_with_icon_name): Deprecate.
574 (hildon_note_new_information_with_icon_name): Deprecate.
575 (hildon_note_new_confirmation): Act directly, without calling
576 the deprecated constructor.
577 (hildon_note_new_information): Act directly, without calling
578 the deprecated constructor.
579 * src/hildon-note.h: Mark deprecate methods as such.
580 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
581 not run tests on the deprecated methods if built with deprecation
584 Fixes: NB#91688 (Never show icons in information notes/confirmation
587 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
589 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
590 (hildon_app_menu_key_press): Remove leftover usage of the
591 private structure in HildonAppMenu struct.
592 * src/hildon-app-menu.h: Remove leftover private structure
593 from the HildonAppMenu struct.
595 Fixes a crasher when using the HildonAppMenu.
597 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
599 * src/hildon-picker-dialog.c: Use appropriate logical id
600 for the default "Done" text.
602 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
604 * configure.ac: post release version bump
605 * debian/changelog: version bump
607 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
609 Modified the way to scroll to the current selection just when the touch
610 selector is shown on the screen, avoiding a g_idle. Added too a property
611 to configure this behaviour. See hildon_pannable_area_jump_to_child
612 documentation for more information.
614 * src/hildon-touch-selector.c
615 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
616 Added 'initial-scroll' property
617 (hildon_touch_selector_set_property): Added
618 (hildon_touch_selector_map): Removed as not required anymore
619 (_hildon_touch_selector_on_selected_items): Modified in order to manage
620 only a concrete column, instead of iterate along all the columns
622 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
627 * configure.ac: bump version
628 * debian/changelog: updates
630 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
632 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
633 compilation time warnings.
635 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
637 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
638 the default value for HildonPannableArea::mov-mode to
639 HILDON_PANNABLE_AREA_MODE_VERT.
641 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
643 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
645 Reverting following commit:
647 2008-10-13 Alberto Garcia <agarcia@igalia.com>
649 * src/hildon-app-menu-private.h
650 * src/hildon-app-menu.[ch]
651 * src/hildon-button.[ch]
652 * src/hildon-check-button.[ch]
653 * src/hildon-entry.[ch]
654 * src/hildon-pannable-area.[ch]
655 * src/hildon-text-view.[ch]:
656 Added private field to the object's structure.
658 because it causes an ABI breakage. We will need to introduce these
659 changes later at some point. See NB#91636 for an extensive
660 explanation and status.
662 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
664 Patch contributed by Daniel Borgmann (danielb@openismus.com)
666 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
667 remove special cases that are no longer necessary.
669 Fixes: NB#91016 (Change toolbar sizes, simplification)
671 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
674 is shown in the cancel note.
676 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
678 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
679 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
680 (hildon_seekbar_init): Remove steppers, remove expose event.
681 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
683 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
685 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
687 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
688 label font to "SmallSystemFont" for vertically arranged buttons.
690 Fixes: NB#90662 (HildonButton "value" and "detail" text is
693 2008-10-31 Alberto Garcia <agarcia@igalia.com>
695 * src/hildon-check-button.c
696 (hildon_check_button_set_active, hildon_check_button_clicked):
697 Don't access private parts directly, use getters instead.
699 2008-10-31 Alberto Garcia <agarcia@igalia.com>
701 * src/hildon-check-button.c (hildon_check_button_new):
702 Align the contents of the check button to the left.
704 2008-10-30 Alejandro G. Castro <alex@igalia.com>
706 * src/hildon-pannable-area.c,
707 (hildon_pannable_area_scroll_to),
708 (hildon_pannable_area_jump_to),
709 (hildon_pannable_area_scroll_to_child),
710 (hildon_pannable_area_jump_to_child): Replace the mapped
711 precondition of these functions with the realized, it is the
712 correct state of the widget in this case. Changed the
713 documentation according to this modification.
715 2008-10-30 Alejandro G. Castro <alex@igalia.com>
717 Added a new EXTRA_CFLAGS option to add the deprecated define to
718 the compilation command. This way we can avoid using the define in
719 the documentation compilation.
721 * configure.ac: Defined EXTRA_CFLAGS.
723 * examples/Makefile.am:
725 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
727 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
729 * src/hildon-picker-dialog.c:
730 Defined a utility macro with the desired touch selector height
731 Removed currently unused separator, and title_label variables from
733 (hildon_picker_dialog_init): Removed code related to the creation
734 of unused private variables title_label and separator.
735 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
736 to ensure correct visualization of the touch selector inside the dialog.
737 * src/hildon-touch-selector.c
738 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
739 ensure a concrete height of the widget.
741 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
746 Remove spurious whitespaces.
748 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
750 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
751 compilation warning after the cancel button removal.
753 2008-10-30 Alejandro G. Castro <alex@igalia.com>
755 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
757 * configure.ac: Added an AM_CONDITIONAL in order to use in the
758 Makefile.am, that way we can choose not to compile some examples
759 and tests of the deprecated widgets.
761 * examples/Makefile.am: Divided the sources in deprecated and
764 * src/Makefile.am: Added undef statement of the deprecated
765 symbol to the enums file generation process.
767 * src/hildon-color-chooser-dialog.c
768 * src/hildon-color-chooser-dialog.h
769 * src/hildon-color-button.c
770 * src/hildon-color-button.h
771 * src/hildon-color-chooser.c
772 * src/hildon-color-chooser.h
773 * src/hildon-controlbar.c
774 * src/hildon-controlbar.h
775 * src/hildon-date-editor.c
776 * src/hildon-date-editor.h
777 * src/hildon-hvolumebar.c
778 * src/hildon-hvolumebar.h
779 * src/hildon-private.c
780 * src/hildon-private.h
781 * src/hildon-range-editor.c
782 * src/hildon-range-editor.h
783 * src/hildon-seekbar.c
784 * src/hildon-seekbar.h
785 * src/hildon-time-editor.c
786 * src/hildon-time-editor.h
787 * src/hildon-time-picker.c
788 * src/hildon-time-picker.h
789 * src/hildon-volumebar.c
790 * src/hildon-volumebar.h
791 * src/hildon-vvolumebar.c
792 * src/hildon-vvolumebar.h
793 * src/hildon-bread-crumb-trail.h
794 * src/hildon-bread-crumb-trail.c
795 * src/hildon-calendar-popup.c
796 * src/hildon-calendar-popup.h
797 * src/hildon-weekday-picker.c:
798 * src/hildon-weekday-picker.h:
799 * src/hildon-bread-crumb-widget.c:
800 * src/hildon-bread-crumb-widget.h:
801 * src/hildon-bread-crumb.c:
802 * src/hildon-bread-crumb.h:
803 * src/hildon-calendar.c:
804 * src/hildon-calendar.h:
805 * src/hildon-caption.c:
806 * src/hildon-code-dialog.c:
807 * src/hildon-code-dialog.h:
808 * src/hildon-font-selection-dialog.c:
809 * src/hildon-font-selection-dialog.h:
810 * src/hildon-get-password-dialog.c:
811 * src/hildon-get-password-dialog.h:
812 * src/hildon-login-dialog.c:
813 * src/hildon-login-dialog.h:
814 * src/hildon-number-editor.c:
815 * src/hildon-number-editor.h:
816 * src/hildon-set-password-dialog.c:
817 * src/hildon-set-password-dialog.h:
818 * src/hildon-sort-dialog.c:
819 * src/hildon-sort-dialog.h: This is the list of deprecated
822 * src/hildon-touch-selector.c:
823 * src/hildon-window.c: Added undef statement to avoid compilation
826 * tests/Makefile.am: Divided the sources in deprecated and
829 * tests/check_test.c,
830 (configure_tests): Marked the deprecated code that was adding
831 suites with deprecated tests.
833 Fixes: NB#91135 (Deprecate legacy hildon widgets)
835 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-touch-selector.c: (_default_print_func): Do not
838 duplicate a string returned by gtk_tree_model_get(), it is already
841 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
844 2008-10-28 Alejandro G. Castro <alex@igalia.com>
846 * src/hildon-pannable-area.c
847 (hildon_pannable_area_add_with_viewport): Reviewed the complete
848 method, it had problems when adding a widget with viewport the
849 second time. Now checks if it already has a viewport and uses it.
851 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
854 2008-10-28 Alejandro G. Castro <alex@igalia.com>
856 * src/hildon-pannable-area.c,
857 (hildon_pannable_area_scroll_to),
858 (hildon_pannable_area_jump_to),
859 (hildon_pannable_area_scroll_to_child),
860 (hildon_pannable_area_jump_to_child): Added a precondition to the
861 scroll and jump to functions: the widget must be mapped before we
862 can safely call these functions. We have also added documentation
863 to the functions to explain how to use them in this situation.
866 2008-10-28 Alejandro G. Castro <alex@igalia.com>
868 Reviewed the threading handling of the pannable widget, we have
869 used the gdk_threads_add_timeout function instead of the usual
870 glib handlers. This avoids some problems with the threads.
872 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
873 (hildon_pannable_area_initial_effect),
874 (hildon_pannable_area_scroll_indicator_fade),
875 (hildon_pannable_area_button_press_cb),
876 (hildon_pannable_area_timeout),
877 (hildon_pannable_area_motion_notify_cb),
878 (hildon_pannable_area_button_release_cb),
879 (hildon_pannable_area_scroll_cb),
880 (hildon_pannable_area_scroll_to): Removed the
881 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
882 gdk_threads_add_timeout.
884 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
886 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
891 * configure.ac: bump version
892 * debian/changelog: updates
894 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
896 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
897 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
898 * src/hildon-color-chooser-dialog.c:
899 (hildon_color_chooser_dialog_init):
900 * src/hildon-font-selection-dialog.c:
901 (hildon_font_selection_dialog_init):
902 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
904 Remove all cancel/close-like dialogs, as these are not going to be
907 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
909 * src/hildon-note.c: (hildon_note_rebuild),
910 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
913 Fixes: NB#90661 (Delete dialog is displayed without NO button)
915 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
917 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
918 sure all buttons are shown, even the Cancel/Close-like ones.
920 Fixes: NB#90861 (Custom Confirmation dialogs should be
921 protected from cancel button removal)
923 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
925 * debian/control: Change libhildon1-examples dependency from libhildon1
927 * debian/libhildon1-examples.install
929 * Makefile.am: Modified the final install directory for the examples on
930 package libhildon1-examples
931 * Makefile.static: Update clean target in order to remove all the binary
934 Changes suggested by Claudio after review new libhildon1-examples package
936 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
938 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
939 * src/hildon-touch-selector.c: Ditto.
941 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
943 * debian/control: Added new package libhildon1-examples, in order to pack
944 the current hildon examples as documentation
945 * debian/rules: Not to compress .c files, modify some includes on the
946 examples (as normally are compiled locally, but when installed it will
947 require to include the installed libhildon1 library), and rename
949 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
950 install all the example files on the new example package
951 * examples/Makefile.static: Added static makefile that can be used to
952 compile the examples, once installed the new example package
953 * examples: Most of the examples were modified in order to grant that
954 all use only '#include "hildon.h"', in order to be easy to prepare
955 it on the example package
957 2008-10-23 Alberto Garcia <agarcia@igalia.com>
960 * debian/libhildon1-dev.install
961 * debian/libhildon1-doc.install:
962 Move all gtk-doc files to a separate libhildon1-doc package.
964 2008-10-23 Daniel Borgmann <danielb@openismus.com>
966 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
968 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
970 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
972 * debian/rules: Fixed a error in order to avoid unnecessary calls
973 to autogen.sh on package building
975 2008-10-22 Alberto Garcia <agarcia@igalia.com>
977 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
979 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
981 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
984 2008-10-21 Alberto Garcia <agarcia@igalia.com>
986 * src/hildon-picker-button.c
987 (hildon_picker_button_finalize):
988 Free priv->done_button_text
990 * src/hildon-time-button.c
991 (hildon_time_button_set_time)
992 * src/hildon-picker-button.c
993 (hildon_picker_button_clicked)
994 (hildon_picker_button_selector_selection_changed)
995 (hildon_picker_button_set_selector)
996 * src/hildon-date-button.c
997 (hildon_date_button_set_date):
998 Free strings returned by hildon_touch_selector_get_current_text()
1000 * src/hildon-button.c (hildon_button_construct_child):
1001 Fix leaks in priv->image and priv->label_box
1003 Fixes: NB#90535 (Memory leak in picker button)
1005 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-button.c: (hildon_button_get_property): Do not access
1008 private elements directly, use getters instead.
1010 2008-10-20 Alberto Garcia <agarcia@igalia.com>
1012 * src/hildon-app-menu-private.h
1013 * src/hildon-app-menu.c
1014 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
1015 Store the menu's parent window.
1017 * src/hildon-stackable-window.c
1018 (hildon_stackable_window_toggle_menu)
1019 (hildon_stackable_window_finalize):
1020 Set the menu's parent window when the menu is shown, unset it when
1023 * src/hildon-app-menu.c
1024 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
1025 (hildon_app_menu_class_init):
1026 Send unhandled keyboard accelerators to the parent window.
1028 2008-10-20 Alberto Garcia <agarcia@igalia.com>
1030 * src/hildon-stackable-window.c
1031 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
1033 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1035 * configure.ac: post release version bump
1037 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1040 * configure.ac: Bump version
1041 * debian/changelog: Updates
1042 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
1045 2008-10-20 Alberto Garcia <agarcia@igalia.com>
1047 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1050 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
1051 GtkMenu with Hildon style.
1053 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1055 * src/hildon-picker-button.c:
1056 (hildon_picker_button_set_done_button_text): Set the dialog's
1057 done button text here as well.
1059 Fixes: NB#90232 (Picker button does not set the label on done button
1060 for the second time)
1062 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1064 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
1067 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1069 * src/hildon-app-menu.c (hildon_app_menu_insert)
1070 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
1071 the HildonAppMenu to be activatable using keyboard accelerators
1072 when the menu is not being shown.
1074 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
1076 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-stackable-window.c
1079 (hildon_stackable_window_show):
1080 Don't hide old windows automatically when new windows are shown:
1081 this is now a task for the window manager.
1082 (hildon_stackable_window_class_init)
1083 (hildon_stackable_window_hide):
1084 Remove windows from the stack everytime they're hidden.
1085 (hildon_stackable_window_realize):
1086 Don't change the _NET_WM_WINDOW_TYPE property. Use
1087 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
1088 it as a stackable window.
1090 * src/hildon-program.c
1091 (hildon_program_pop_window_stack):
1092 Just hide the window to remove it from the stack.
1093 (hildon_program_go_to_root_window):
1094 Don't call gtk_widget_show(), this is now a task for the window
1097 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
1099 2008-10-15 Alberto Garcia <agarcia@igalia.com>
1101 * src/hildon-button.c
1102 (hildon_button_construct_child):
1103 Don't pack anything in the button until text or image are
1104 set. This allows adding a custom child after creating the button
1105 with hildon_button_new().
1106 (hildon_button_finalize, hildon_button_class_init)
1107 (hildon_button_init, hildon_button_set_arrangement): Destroy the
1108 alignment and the label box even when they're not packed in the
1111 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
1113 * src/hildon-touch-selector.h:
1114 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
1115 currently the type definition was using GTK_TYPE_VBOX
1116 * src/hildon-touch-selector.c:
1117 Added some implementation notes in order to clarify that any other widget
1118 added without the column related API will not be included on the
1119 selection logic, and how the widget is freed, as some people ask about
1121 (hildon_touch_selector_remove): Reimplemented in order to free properly
1122 the column related data when you remove the private hbox.
1123 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1124 to get a proper HildonTouchSelectorColumn documentation
1126 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1128 * src/hildon-touch-selector-entry.c:
1129 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1130 text in the GtkEntry and there is no item selected. Fixes a
1133 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-app-menu-private.h
1136 * src/hildon-app-menu.[ch]
1137 * src/hildon-button.[ch]
1138 * src/hildon-check-button.[ch]
1139 * src/hildon-entry.[ch]
1140 * src/hildon-pannable-area.[ch]
1141 * src/hildon-text-view.[ch]:
1142 Added private field to the object's structure.
1144 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1146 * configure.ac: post-release version bump
1148 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1152 * configure.ac: pre-release version bump
1154 * debian/changelog: updates.
1156 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1159 Disconnect the handler for HildonTouchSelector::changed.
1161 (hildon_picker_button_selector_selection_changed): Update the button
1162 value if the selection change was not triggered by the
1165 (hildon_picker_button_set_selector): connect to
1166 HildonTouchSelector::changed.
1168 Fixes: NB#89650 (Picker button is not updated, when selection in
1169 selector has changed)
1171 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1173 * src/hildon-picker-dialog.c
1174 (hildon_picker_dialog_realize): Removed as not required
1175 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1176 * src/hildon-picker-button.c
1177 (_current_selector_empty): New function, checks if the selector is empty
1178 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1179 if the current selector is empty, in order to avoid to show the dialog
1180 close the dialog in this case (and shows a g_warning).
1182 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1184 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1186 * src/hildon-pannable-area.c,
1187 (hildon_pannable_area_scroll): Added clause to stop movement when
1188 the child of pannable is smaller than one page.
1189 (hildon_pannable_area_scroll_to): Added conditions to avoid
1190 starting the scrolling movement if the child is smaller than one
1191 page, the complete child is in the screen, we do not have to move.
1193 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1195 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1198 this is managed automatically by the widget when the size of the
1201 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-picker-button.c
1204 (hildon_picker_button_set_done_button_text): Make a copy of the
1205 text, and free the previous value.
1207 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-touch-selector-entry.c:
1210 (hildon_touch_selector_entry_print_func): Return the selected row's
1211 text if the entry is empty.
1213 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1216 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1218 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1220 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1223 * src/hildon-check-button.h
1224 * src/hildon-check-button.c
1225 * examples/hildon-check-button-example.c:
1226 HildonCheckButton is now a new widget. 'toggled' signal added.
1228 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-program-private.h
1231 * src/hildon-program.c (hildon_program_init)
1232 (hildon_program_finalize): Removed unused variables group_leader
1233 and name from HildonProgramPrivate.
1235 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1237 * src/hildon-check-button.c (hildon_check_button_set_active)
1238 (hildon_check_button_get_active, hildon_check_button_new): Use
1239 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1241 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1243 * src/hildon-touch-selector.h
1244 (hildon_touch_selector_set_column_attributes): added deprecation
1245 guard HILDON_DISABLE_DEPRECATED
1246 * src/hildon-time-selector.c
1247 (hildon_time_selector_set_time)
1248 (hildon_time_selector_get_time): Fixed a typo on documentation
1249 * src/hildon-touch-selector.c: update HildonTouchSelector and
1250 HildonTouchSelectorColumn documentation
1251 * src/hildon-touch-selector-entry.c: update "text-column" property
1253 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1254 to be added to the general documentation.
1256 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1258 * examples/hildon-pannable-area-example-4.c,
1260 * examples/hildon-pannable-area-example.c,
1261 (main): Modified the code in order to use the container add, with
1262 viewport treeviews could have problems if they are really big.
1264 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1266 * src/hildon-weekday-picker.c,
1267 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1268 the agreement regarding deprecation in the library.
1270 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1272 * examples/hildon-picker-button-multicolumn-example.c:
1273 (main): Use custom "done" button text.
1275 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1276 (hildon_picker_button_set_property),
1277 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1278 (hildon_picker_button_init),
1279 (+hildon_picker_button_get_done_button_text),
1280 (+hildon_picker_button_set_done_button_text): New methods to customize
1281 the "done" button label in the launched HildonPickerDialog. Also,
1284 * src/hildon-picker-button.h: add the public API.
1286 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1288 * src/hildon-date-selector.h:
1289 * src/hildon-picker-dialog.h:
1290 * src/hildon-time-selector.h:
1291 * src/hildon-touch-selector-column.h:
1292 * src/hildon-touch-selector.h:
1294 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1295 declarations. Fixes gtk-doc warnings.
1297 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-picker-dialog.h
1300 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1301 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1303 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1304 long text is set as label for done button)
1306 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-dialog.c (hildon_dialog_add_button):
1309 Set fixed width to all buttons in the HildonDialog.
1311 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1313 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1315 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1316 Set widget name using class name plus "-finger" or "-thumb".
1318 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1320 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1321 'clicked' when the state of the button is manually changed.
1323 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1325 * src/hildon-app-menu.c (hildon_app_menu_realize)
1326 (hildon_app_menu_unrealize, hildon_app_menu_init)
1327 (hildon_app_menu_class_init, item_visibility_changed):
1328 Change the menu layout when the size of the screen changes.
1329 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1330 Show warning only when changing the number of colums using the
1333 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1335 * debian/compat: Set to 5
1336 * debian/control: Update dependencies.
1337 * debian/libhildon1-dbg.install: Remove.
1338 * debian/libhildon1-dev.install: Update according to cdbs paths.
1339 * debian/libhildon1.install: Update according to cdbs paths.
1340 * debian/rules: Switch to cdbs.
1342 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1344 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1345 'item' variable renamed to 'filter'
1347 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-app-menu.c (hildon_app_menu_insert)
1350 (hildon_app_menu_add_filter, remove_item_from_list)
1351 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1352 Don't leak hidden items when the menu is destroyed.
1354 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1356 * src/hildon-app-menu.c (hildon_app_menu_insert)
1357 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1358 (hildon_app_menu_set_columns, item_visibility_changed)
1359 (filter_visibility_changed, hildon_app_menu_repack_filters)
1360 (hildon_app_menu_repack_items):
1361 Repack items and filters separately.
1363 Don't repack all items, change only the ones that are needed to
1366 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1368 * src/Makefile.am: added hildon-touch-selector-column.h
1370 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1372 * src/hildon-touch-selector.c: added the property "text-column" to the
1373 class HildonTouchSelectorColumn, and related get/set functions
1374 (_default_printf_func): updated to use "text-column" property
1375 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1376 "text-column" in his documentation, as this is now included on
1377 HildonTouchSelectorColumn. The get/set_property can still be used,
1378 working as a wrapper to the concrete column "text-column" property
1379 (_text_column_modified): callback added in order to handle the signal
1380 "notify::text-column" of the concrete HildonTouchSelectorColumn
1381 (hildon_touch_selector_entry_get_text_column)
1382 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1383 modified in order to use the HildonTouchSelectorColumn "text-column"
1385 * src/hildon-time-selector.c:
1386 * src/hildon-date-selector.c:
1387 * examples/hildon-touch-selector-example.c
1388 * examples/hildon-touch-selector-multi-cells-example.c
1389 * examples/hildon-picker-button-multicolumn-example.c
1390 Set the right value to "text-column" property on the creation of a new
1391 column using hildon_touch_selector_append_column()
1393 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1395 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1397 * src/hildon-app-menu.c
1398 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1399 updating the layout of the menu, don't create all widgets again,
1400 just repack the items in their new places.
1402 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1404 * src/hildon-time-selector.c
1405 (hildon_time_selector_get_time)
1406 (hildon_time_selector_set_time)
1407 Added documentation of these public methods
1409 * src/hildon-date-button.h
1410 * src/hildon-touch-selector-column.h
1411 * src/hildon-time-button.h
1412 * src/hildon-picker-dialog.h
1413 * src/hildon-time-selector.h
1414 * src/hildon-picker-button.h
1415 * src/hildon-touch-selector.h
1416 * src/hildon-time-picker.h
1417 * src/hildon-date-selector.h
1418 * src/hildon-touch-selector-entry.h
1419 Modified in order to use hildon-widgets code style
1421 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1423 Added deprecated support to the compilation process using
1424 HILDON_DISABLE_DEPRECATED
1426 * configure.ac: Added the --disable-deprecated to the configure
1429 * src/hildon-weekday-picker.c:
1430 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1431 to use the deprecated support. We will update the other deprecated
1432 widgets status in a new patch.
1434 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1436 * configure.ac: Fixed typo with fatal warnings support, the
1437 variable name was not correct
1439 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1441 * src/hildon-app-menu.c
1442 * src/hildon-program.c: Update documentation.
1444 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1446 * configure.ac: Post-release version bump.
1448 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1453 * configure.ac: Pre-release version bump.
1454 * debian/changelog: Updates.
1456 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1458 * NEWS: Update news for previous releases.
1460 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1462 * examples/hildon-touch-selector-multi-cells-example.c:
1463 (create_selector): Update the example to use
1464 hildon_touch_selector_append_column() with a NULL renderer and set
1465 the renderers later.
1466 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1467 passed a NULL renderer. This is documented behavior now.
1469 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1470 This must be used if the developer wants full control on the layout of
1471 the renderers to be added to the column.
1473 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1475 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1477 * src/hildon-touch-selector.c: Documentation fixes.
1479 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-wizard-dialog-private.h: Remove image and box.
1482 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1483 (hildon_wizard_dialog_set_property), (response): Completely remove
1484 image/icon support, and the containers required for the layout.
1486 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1488 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1490 * src/hildon-app-menu.c: Updated documentation.
1492 * src/hildon-stackable-window.c
1493 (hildon_stackable_window_set_main_menu): Unref the old menu after
1494 ref'ing the new one.
1496 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-stackable-window.c
1499 (hildon_stackable_window_set_main_menu): Unref the previous menu
1500 instead of destroying it.
1502 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1503 floating reference and set has_user_ref_count to FALSE to make
1504 HildonAppMenu act like a normal ref-counted widget and not a
1507 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1510 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1512 * src/hildon-touch-selector-column.h: new file
1513 * src/hildon-touch-selector.h
1514 * src/hildon-touch-selector.c
1515 Implemented GtkCellLayout interface, in order to allow to configure
1516 the cell layout on each individual selector column
1517 (hildon_touch_selector_set_column_attributes): marked as deprecated
1518 * examples/hildon-touch-selector-multi-cells-example.c
1519 Example of how to use the GtkCellLayout interface on the selector
1521 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1523 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-app-menu.h
1526 * src/hildon-app-menu.c
1527 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1528 (hildon_app_menu_append, hildon_app_menu_prepend):
1529 New methods to prepend, insert and move items in the menu.
1531 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1533 * src/hildon-wizard-dialog.c:
1535 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1537 (create_title): Update logical IDs and related code.
1538 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1540 * src/hildon-wizard-dialog.h: Note that
1541 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1542 point, as it is not used anymore.
1544 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1546 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1548 * src/hildon-note.c:
1549 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1550 shown. Do not display an icon in confirmation notes nor information
1552 (hildon_note_set_button_text): Update logical ID for cancel button.
1554 Fixes: NB#88850 (Update HildonNote button strings + signals)
1556 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-stackable-window.c
1559 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1561 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-app-menu-private.h
1564 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1565 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1566 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1567 temporary property 'columns' to change the number of columns.
1569 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1571 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1573 * examples/hildon-note-example.c: (on_information_clicked),
1574 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1575 debugging information.
1576 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1578 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1579 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1580 in order to close: this will be handled by the WM from now on.
1582 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1584 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-app-menu-private.h
1587 * src/hildon-app-menu.c
1588 (hildon_app_menu_append, hildon_app_menu_add_filter)
1589 (button_visibility_changed, hildon_app_menu_apply_style)
1590 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1591 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1592 layout everytime a button (item or filter) is shown or hidden.
1594 * src/hildon-stackable-window.c
1595 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1598 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1600 * src/hildon-touch-selector.c:
1601 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1602 that the treeview inside the touch selector is in fremantle hildon mode
1603 * examples/hildon-date-button-example.c
1604 * examples/hildon-picker-button-multicolumn-example.c
1605 * examples/hildon-touch-selector-entry-example.c
1606 * examples/hildon-touch-selector-example.c
1607 * examples/hildon-time-button-example.c
1608 * examples/hildon-picker-button-example.c:
1609 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1611 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1613 * examples/hildon-text-view-example.c: (main): Remove the
1614 gtkrc bits, now handled by the theme.
1616 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1621 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1623 * po/Makefile.am: Install properly the mo files.
1624 * po/en_GB.po: Update translation, to ease testing purposes.
1626 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1628 * examples/hildon-picker-button-example.c: (main): Select an item
1629 in the selector before setting it to the button.
1631 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1633 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1634 Update button's value if the selector has an item active.
1636 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1637 'value' with the selector)
1639 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1642 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1643 (hildon_picker_button_class_init): Plug the finalize method.
1644 (hildon_picker_button_set_selector): If there's a previously set
1645 selector, unref'it before setting a new one.
1647 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1648 HildonTouchSelector)
1650 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-touch-selector-entry.c:
1653 (hildon_touch_selector_entry_changed): Check if there is no text
1654 selected before setting the entry text.
1657 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1659 * src/hildon-touch-selector.h
1660 * src/hildon-touch-selector.c
1661 (hildon_touch_selector_get_active)
1662 (hildon_touch_selector_set_active): New methods to set/get the
1663 index of the selected item.
1665 * src/hildon-picker-button.h
1666 * src/hildon-picker-button.c
1667 (hildon_picker_button_get_active)
1668 (hildon_picker_button_set_active): New methods to set/get the
1669 index of the selected item.
1671 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1673 * configure.ac: post-release version bump.
1675 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1679 * configure.ac: Pre-release version bump.
1680 * debian/changelog: Updates.
1681 * debian/control: Add myself as maintainer and depend on l10n
1684 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1686 * src/hildon-window.c
1687 (hildon_window_set_main_menu)
1688 * src/hildon-stackable-window.c
1689 (hildon_stackable_window_set_main_menu):
1690 Updated documentation.
1692 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1694 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1695 Don't free selector->priv manually.
1698 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1701 (hildon_gtk_window_set_progress_indicator):
1702 * src/hildon-gtk.h: Added the new API
1703 hildon_gtk_window_set_progress_indicator, it changes the state of
1704 the window progress hint.
1706 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-button.c
1709 * src/hildon-stackable-window.c: Minor documentation updates.
1711 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1713 * src/hildon-stackable-window.c: Updated documentation.
1715 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1717 * src/hildon-defines.h: Update margins definitions
1718 to the Fremantle sizes.
1721 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1723 * src/hildon-touch-selector.c,
1724 (_hildon_touch_selector_set_model): Cleaning the code after
1725 review, removed g_print and #if 0 from the code.
1727 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1729 * src/hildon-edit-toolbar.c: Update documentation.
1731 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1733 * src/hildon-check-button.h
1734 * src/hildon-check-button.c
1735 (hildon_check_button_set_label, hildon_check_button_get_label)
1736 * examples/hildon-check-button-example.c
1737 (button_clicked_cb):
1738 Removed deprecated methods.
1740 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-text-view.c:
1743 Add sample code to the documentation.
1745 * src/hildon-entry.h
1746 * src/hildon-text-view.h:
1747 Minor cosmetic changes.
1749 * src/hildon-entry.c:
1750 Add sample code to the documentation.
1751 (hildon_entry_init, hildon_entry_refresh_contents):
1752 Don't allow NULL values in the placeholder.
1754 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1756 * doc/hildon-docs.sgml
1758 * examples/Makefile.am
1759 * examples/hildon-text-view-example.c
1761 * src/hildon-text-view.c
1762 * src/hildon-text-view.h
1764 New HildonTextView widget, with example.
1766 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1768 * po/POTFILES.in: Add missing files with translatable strings.
1769 Partially fixes NB#88287.
1771 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1773 * examples/hildon-pannable-area-example-2.c: (main): No need to
1774 set the cellrenderer height inside hildon touch lists, the theme does
1777 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1779 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1780 they are integrated in the theme.
1782 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1784 * examples/hildon-entry-example.c: Update the example adding
1785 widgets to modify the text and the placeholder of the HildonEntry.
1787 * src/hildon-entry.c: Show the placeholder everytime the widget
1788 is empty and loses the focus.
1790 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1792 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1794 * src/hildon-pannable-area.c,
1795 (hildon_pannable_area_size_request): Fixed bug in height
1796 requisition, avoid increasing size and add border twice.
1798 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1800 * configure.ac: postrelease version bump.
1802 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1806 * configure.ac: Prerelease version bump.
1807 * debian/changelog: update.
1808 * debian/rules: make -dbg package contain useful debugging symbols.
1810 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1812 * src/hildon-dialog.h
1813 * src/hildon-dialog.c
1814 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1815 New methods to add buttons with finger size.
1816 (hildon_dialog_new_with_buttons):
1817 Create buttons with finger size.
1819 * examples/hildon-dialog-example.c (main): Use HildonDialog
1820 methods to add buttons.
1822 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-entry.c: Updated HildonButton documentation.
1826 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1828 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1829 button value label with (FALSE, FALSE) to prevent NB#88126 from
1832 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1834 * examples/hildon-pannable-area-example.c,
1835 (main): Removed examples panning a vbox inside a pannable
1836 area. Check bug NB#87965
1838 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1840 Patch contributed by Kris Rietveld (kris@imendio.com)
1842 * src/hildon-pannable-area.c,
1843 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1844 get_size and get_position, this saves an X server roundtrip.
1846 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1848 * doc/hildon-docs.sgml
1850 * examples/Makefile.am
1851 * examples/hildon-entry-example.c
1853 * src/hildon-entry.c
1854 * src/hildon-entry.h
1856 New HildonEntry widget, with example.
1858 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-button.c (hildon_button_construct_child): Pack the
1861 image with expand == fill == FALSE. This is a workaround for a bug
1864 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1866 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1867 labels for the text column, to make it more look more dynamic.
1869 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1871 * src/hildon-time-selector.c
1872 Define gettext auxiliar macro N_
1873 (_create_minutes_model)
1874 (_create_hours_model)
1875 (_create_ampm_model): use of strftime in order to fill the model
1876 * src/hildon-date-selector.c
1877 (hildon_date_selector_finalize):
1878 (_locales_init): remove the logic related to get the name of the months
1879 using nl_langinfo, as it is not required anymore
1881 (_create_year_model)
1882 (_create_month_model)
1883 (_update_day_model): use of strftime in order to fill the model properly
1886 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1888 * src/hildon-button.h
1889 * src/hildon-button.c (hildon_button_get_image): New method to
1892 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-touch-selector.c:
1895 (hildon_touch_selector_remove_column): Remove from the correct parent
1896 and also remove the list element and free it.
1899 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1901 * src/hildon-time-selector.c
1902 (_create_hours_model): change the range on 12h ampm format in order to use
1903 a 12-11 range instead of previous 01-12 range
1904 (hildon_time_selector_set_time): change the way to select the current time
1905 on 12h ampm format, due the change on the range
1906 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1909 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1911 * src/hildon-touch-selector.c
1912 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1913 in order to allow use this function on multiple row selection mode if
1914 the column is different that the first one
1917 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1920 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1922 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1924 * src/hildon-date-selector.h: clean some comments, now on the .c
1925 * src/hildon-date-selector.c
1926 (hildon_date_selector_select_month): first implementation
1927 (hildon_date_selector_select_day): added documentation, reimplemented
1928 using hildon_date_selector_select_current_date to avoid repeat code
1931 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1933 Reviewed interaction logic based on device experiences, refactored
1936 * src/hildon-pannable-area.c,
1937 (hildon_pannable_area_class_init): Updated default vmax speed.
1938 (hildon_pannable_area_calculate_velocity): Added this function, it
1939 avoids duplicate valocity calculation. Adjusted calculation to
1940 avoid problems with zero dist events.
1942 (hildon_pannable_area_motion_notify_cb): Now we use the
1943 calculate_velocity function.
1945 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1947 * src/hildon-date-selector.c
1948 (hildon_date_selector_select_current_date): fix the day range check
1949 as it failed using the last day of the current month
1952 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1954 * src/hildon-touch-selector.c
1955 (hildon_touch_selector_get_num_columns): added a parameter validation
1958 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1960 * examples/Makefile.am
1961 * examples/hildon-edit-toolbar-example.c: Example of the
1962 HildonEditToolbar widget.
1964 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1966 * configure.ac: postrelease version bump.
1968 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1972 * configure.ac: prerelease version bump.
1973 * debian/changelog: update.
1975 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1977 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1978 renderer to display stock icons in the touch list. Also, set the sizes
1979 to the recommended in the style guide.
1981 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1982 * src/hildon-touch-selector.h
1983 (hildon_touch_selector_set_active_iter): renamed, now is
1984 hildon_touch_selector_select_iter
1985 (hildon_touch_selector_get_active_iter): renamed, now is
1986 hildon_touch_selector_get_selected
1987 (hildon_touch_selector_unselect_iter): added
1988 * src/hildon-touch-selector.c
1989 Update after API modification (methods renamed)
1990 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1991 order to avoid problems selecting multiple elements on the column
1992 (hildon_touch_selector_unselect_iter): added the implementation
1993 * src/hildon-time-selector.c
1994 * src/hildon-date-selector.c
1995 * src/hildon-touch-selector-entry.c
1996 Update methods calls after hildon-touch-selector.h API modification (methods
1999 2008-08-29 Alberto Garcia <agarcia@igalia.com>
2001 * src/hildon-stackable-window.c
2002 (hildon_stackable_window_finalize): Call the parent class's finalize.
2004 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2006 * examples/hildon-touch-selector-example.c: (create_selector): Use
2007 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
2010 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2012 * examples/hildon-touch-selector-example.c: (create_selector): Do not
2013 set a cell background color, to respect theming.
2015 2008-08-28 Alberto Garcia <agarcia@igalia.com>
2017 * doc/hildon-docs.sgml
2020 * src/hildon-edit-toolbar.c
2021 * src/hildon-edit-toolbar.h
2022 * src/hildon.h: New HildonEditToolbar widget.
2024 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
2026 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
2029 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
2030 * src/hildon-touch-selector.c
2031 (_create_new_column): use g_object_set instead of two g_object_set_property
2033 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
2034 * src/hildon-touch-selector.c
2035 (_create_new_column): use of hildon_gtk_tree_view_new to create
2036 the treeview, instead of use directly g_object_new
2037 (_create_new_column): update the property name "vindicator-mode" for the
2038 new one "vscrollbar-policy"
2039 * examples/hildon-date-button-example.c
2040 * examples/hildon-picker-button-multicolumn-example.c
2041 * examples/hildon-touch-selector-entry-example.c
2042 * examples/hildon-touch-selector-example.c
2043 * examples/hildon-time-button-example.c
2044 * examples/hildon-picker-button-example.c
2045 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
2046 to all the treeviews inside a pannable area.
2048 2008-08-27 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-button.h
2051 * src/hildon-button.c (hildon_button_init)
2052 (hildon_button_set_arrangement, hildon_button_set_alignment)
2053 (hildon_button_set_title_alignment)
2054 (hildon_button_set_value_alignment)
2055 (hildon_button_set_image_alignment)
2056 (hildon_button_construct_child): New methods to set the alignment
2057 of the individual components of the button (title, value,
2058 image). Also, new method to alter the xscale and yscale properties
2059 of the GtkAlignment inside the button, so more complex layouts can
2062 2008-08-27 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-button.c (hildon_button_style_set)
2065 (hildon_button_class_init, hildon_button_set_arrangement)
2066 (hildon_button_construct_child): Apply style properties
2067 correctly. Use the 'image-spacing' style property too.
2069 2008-08-26 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-app-menu.c (hildon_app_menu_style_set)
2072 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
2075 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_size_request): Fixed problem with
2079 pannable-area size_request.
2081 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2083 Added management for the grab-focus to a child widget, like a
2084 range, we need to fade out the scrollbar when releasing.
2086 * src/hildon-pannable-area.c,
2087 (hildon_pannable_area_init): Connected the grab-focus signal to
2089 (hildon_pannable_area_grab_notify): Added this function in order
2090 to manage the situation when the grab-focus ends. We have to
2091 fade-out the scrollbar.
2093 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-app-menu.c: Minor documentation update.
2097 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-app-menu.c
2100 * examples/hildon-app-menu-example.c (create_menu): Update
2101 examples and documentation to explain how to connect callbacks.
2103 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
2105 * examples/hildon-button-example.c
2106 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
2107 hildon_stackable_window_new instead of gtk_window_new
2109 2008-08-22 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
2112 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
2113 (hildon_pannable_area_set_property),
2114 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
2115 (hildon_pannable_area_unrealize),
2116 (hildon_pannable_area_size_request),
2117 (hildon_pannable_area_size_allocate),
2118 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
2119 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
2120 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2121 (hildon_pannable_area_initial_effect),
2122 (hildon_pannable_area_redraw),
2123 (hildon_pannable_area_scroll_indicator_fade),
2124 (hildon_pannable_area_expose_event),
2125 (hildon_pannable_area_get_topmost), (synth_crossing),
2126 (hildon_pannable_area_button_press_cb),
2127 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2128 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2129 (hildon_pannable_area_motion_notify_cb),
2130 (hildon_pannable_area_button_release_cb),
2131 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2132 (hildon_pannable_area_remove),
2133 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2134 chage the code layout to a more GtkWidget like. Review the use of
2137 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2139 * examples/hildon-pannable-area-example-4.c,
2140 (main): Modified the name of the hindicator_mode to
2143 * src/hildon-pannable-area.c,
2144 (hildon_pannable_area_class_init),
2145 (hildon_pannable_area_motion_notify_cb),
2146 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2147 we have reduced the amount of signals and managed reviewed its
2148 rationale. Changed the default decelerate value.
2150 (hildon_pannable_area_add),
2151 (hildon_pannable_area_redraw): Refactored functions.
2153 (hildon_pannable_area_init),
2154 (hildon_pannable_area_get_property),
2155 (hildon_pannable_area_set_property):
2156 (hildon_pannable_draw_vscroll),
2157 (hildon_pannable_draw_hscroll),
2158 (hildon_pannable_area_initial_effect),
2159 (hildon_pannable_area_expose_event),
2160 (hildon_pannable_area_scroll),
2161 (hildon_pannable_area_button_press_cb),
2162 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2163 and vindicator_mode with hscrollbar_policy and
2164 vscrollbar_policy. Replaced hscroll and vscroll with
2165 hscroll_visible and vscroll_visible.
2167 (hildon_pannable_area_refresh): Refactor the function, remove
2168 variables and check the calls to this function, added resize
2169 conditions in case the children change their layout.
2171 (hildon_pannable_area_size_request): Added more detailed
2172 size_request calculation.
2175 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2177 * src/hildon-color-chooser.c
2178 (init_borders): use the correct gtk_border_free instead of g_free, to
2179 avoid a crash when this widget is used (ie: the three color selection
2182 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2184 * src/hildon-check-button.c,
2185 (hildon_check_button_set_active): Fixed problem when setting the
2186 active value, the widget was not redrawn.
2188 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2190 * src/hildon-pannable-area.c,
2191 (hildon_pannable_area_refresh),
2192 (hildon_pannable_area_scroll),
2193 (hildon_pannable_area_motion_notify_cb): Small code style change.
2195 (hildon_pannable_area_class_init): Default initial_hint set to
2196 FALSE, it is not in the specs.
2198 (hildon_pannable_area_initial_effect),
2199 (hildon_pannable_area_expose_event),
2200 (hildon_pannable_area_map),
2201 (hildon_pannable_area_init): Moved the launching point of the
2202 initial effect, it was in map but the sizes where not correct in
2203 that method so we do not know if we have the reproduce it. Now it
2204 is placed in the expose_event method and uses a variable to
2205 reproduce it just once.
2207 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2209 * src/hildon-pannable-area.c,
2210 (hildon_pannable_draw_vscroll),
2211 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2212 position allowed for the scrollbars.
2214 (hildon_pannable_area_size_allocate): Small style change.
2216 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2218 * src/hildon-pannable-area.c,
2219 (hildon_pannable_area_scroll_indicator_fade),
2220 (hildon_pannable_area_button_press_cb),
2221 (hildon_pannable_area_button_release_cb),
2222 (hildon_pannable_area_scroll_cb),
2223 (hildon_pannable_area_expose_event),
2224 (hildon_pannable_area_init): Added the define parameter
2225 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2226 and refactor the fade variable.
2228 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2230 * src/hildon-pannable-area.c,
2231 (hildon_pannable_area_redraw),
2232 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2233 lines, we were reimplemeting the redraw code.
2235 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2237 * src/hildon-pannable-area.c,
2238 (hildon_pannable_area_scroll_cb),
2239 (hildon_pannable_area_realize),
2240 (hildon_pannable_area_class_init): Added scroll_event management
2241 for pannable area, now we can scroll the usual desktop method.
2243 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2244 initialization of the parameters should depend on idle_id.
2246 (hildon_pannable_area_init),
2247 (hildon_pannable_area_map): Small code style modifications
2249 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2251 * src/hildon-pannable-area.c
2252 (hildon_pannable_area_button_press_cb),
2253 (hildon_pannable_area_motion_notify_cb),
2254 (hildon_pannable_area_button_release_cb),
2255 (hildon_pannable_area_size_allocate),
2256 (hildon_pannable_area_scroll_to): Improved the timeouts
2257 management, we avoid creating them each time.
2259 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2261 * src/hildon-pannable-area.c:
2262 (hildon_pannable_area_refresh),
2263 (hildon_pannable_area_motion_notify_cb),
2264 (hildon_pannable_area_class_init):
2265 * src/hildon-pannable-area.h:
2266 * src/hildon-touch-selector.c
2267 (_create_new_column):
2268 * examples/hildon-pannable-area-example-4.c:
2269 (horizontal_movement),
2270 (vertical_movement),
2272 Replaced the names of enums in the HildonPannableArea:
2273 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2274 HILDON_MOVEMENT_MODE_*
2275 - HILDON_PANNABLE_AREA_MOV_* ->
2277 - Removed HildonPannableAreaIndicatorMode, now we
2280 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2282 * examples/hildon-pannable-area-touch-grid-example.c
2283 * examples/hildon-pannable-area-touch-list-example.c: Fix
2284 compilation warnings.
2286 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2288 * src/hildon-gtk.c (hildon_gtk_button_new)
2289 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2290 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2291 images overriding the value of the "gtk-button-images" setting.
2293 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2295 * src/hildon-check-button.c (hildon_check_button_new):
2296 Instead of using a custom container, display the label and the
2297 checkbox using the standard GtkButton API.
2299 * examples/hildon-check-button-example.c (main): Don't use
2300 hildon_check_button_set_label() anymore
2302 * src/hildon-check-button.h
2303 * src/hildon-check-button.c
2304 (hildon_check_button_set_label, hildon_check_button_get_label):
2305 Set as deprecated, now we're using gtk_button_{get,set}_label()
2307 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2309 * src/hildon-pannable-area.c,
2310 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2311 GtkTreeview first line we detected it after the inclusion of the
2312 GtkWindowImpl in gtk+. We now check if the window is visible, not
2313 just if the pointer is over the window.
2314 (hildon_pannable_axis_scroll),
2315 (hildon_pannable_area_expose_event): Small style changes.
2317 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-button.c: Update documentation.
2321 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2323 * examples/hildon-button-example.c: Add a switch to show images in
2326 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2328 * doc/hildon-docs.sgml: Some docs reorganization.
2330 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2332 * examples/hildon-pannable-area-touch-list-example.c
2334 * examples/hildon-pannable-area-touch-grid-example.c
2335 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2336 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2337 Fix memory leak when setting the tree model.
2339 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2343 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2345 * doc/hildon.types: Remove duplicated hildon_window_get_type
2346 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2347 documentation comment.
2349 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2351 * doc/Makefile.am: Complete list of private headers.
2353 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2355 * doc/hildon-docs.sgml
2356 * src/hildon-app-menu.c
2357 * src/hildon-bread-crumb.c
2358 * src/hildon-button.c
2360 * src/hildon-program.c
2361 * src/hildon-stackable-window.c
2362 * src/hildon-window.c: Lots of documentation updates.
2364 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2366 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2368 * configure.ac: Require Gtk+ 2.12.9 at least
2370 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2372 * src/hildon-pannable-area.c
2373 (hildon_pannable_area_scroll_indicator_fade),
2374 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2375 to protect the return of this timeout callbacks, avoiding deadlocks.
2377 2008-08-12 Christian Dywan <christian@imendio.com>
2380 * src/hildon-*.h: Ensure a consistent include order,
2381 include <gtk/gtk.h> instead of particular files and
2382 only include the topmost header in the gtk stack. See NB #39857
2384 2008-08-12 Christian Dywan <christian@imendio.com>
2386 * src/hildon-picker-dialog.c
2387 * src/hildon-touch-selector.c: Fix warnings about unused and
2388 uninitialized variables.
2390 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2392 * examples/Makefile.am
2393 * examples/hildon-check-button-example.c: Example of the hildon
2396 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2398 * src/hildon-window.h
2399 * src/hildon-window.c (hildon_window_class_init)
2400 (hildon_window_unset_program): Don't make
2401 hildon_window_unset_program a virtual function anymore.
2403 * src/hildon-stackable-window.c: Update documentation
2405 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2408 * doc/hildon-docs.sgml
2409 * doc/visual_index.xml
2410 * src/hildon-defines.c
2412 * src/hildon-helper.c
2413 * src/hildon-range-editor.c: Lots of documentation fixes.
2415 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2417 * examples/hildon-picker-button-multicolumn-example.c
2418 (create_touch_selector): Fix compilation warning.
2420 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2423 (hildon_pannable_area_button_release_cb)
2424 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2426 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2431 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-bread-crumb-trail.h
2434 * src/hildon-date-editor.c
2435 * src/hildon-date-selector.c
2436 * src/hildon-pannable-area.c
2437 * src/hildon-picker-dialog.c
2438 * src/hildon-time-selector.c
2439 * src/hildon-touch-selector-entry.c
2440 * src/hildon-touch-selector.c
2441 * src/hildon-touch-selector.h: Misc documentation fixes
2443 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2445 * examples/hildon-date-editor-example.c (main): Updated date
2448 * examples/hildon-note-example.c (on_confirmation_clicked):
2449 Updated confirmation note example.
2451 * src/hildon-date-editor.c
2452 * src/hildon-note.c: Updated sample programs in documentation.
2455 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-date-button.h:
2458 * src/hildon-picker-button.h:
2459 * src/hildon-time-button.c:
2460 * src/hildon-time-button.h:
2462 Some declarations changes to allow gtk-doc to document the widgets
2465 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2467 * src/hildon-date-button.c: Document the widget.
2468 * src/hildon-time-button.c: Document the widget.
2470 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2472 * src/hildon-picker-button.c: Document the widget.
2473 * src/hildon-touch-selector-entry.c: Document the widget.
2475 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2477 * doc/hildon-docs.sgml
2480 * src/hildon-check-button.h
2481 * src/hildon-check-button.c: New functions to create the Hildon
2485 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2487 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-button.h
2490 * src/hildon-button.c
2491 (hildon_button_add_title_size_group)
2492 (hildon_button_add_value_size_group)
2493 (hildon_button_add_image_size_group)
2494 (hildon_button_add_size_groups): New functions to set size groups
2495 for the button labels and image.
2496 (hildon_button_new_full): Removed
2498 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2500 * src/hildon-time-selector.c
2501 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2502 in order to avoid a crash if gconf is not available
2504 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2506 * src/hildon-button.c (hildon_button_set_arrangement)
2507 (hildon_button_construct_child): Don't construct the button child
2508 before setting the arrangement.
2510 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2512 * src/hildon-program-private.h
2513 * src/hildon-program.c
2514 * src/hildon-program.h
2515 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2516 (hildon_program_peek_window_stack)
2517 (hildon_program_pop_window_stack)
2518 (hildon_program_go_to_root_window): HildonProgram now has a
2519 separate list for stackable windows. Functions are provided to
2520 manage that list with a stack-like API.
2522 * src/hildon-stackable-window.c: Stackable window management is
2523 now much simpler with the new HildonProgram API. Windows no
2524 longer need to be manually added to the program, they're
2525 automatically pushed to the top of the stack when shown.
2527 * examples/hildon-stackable-window-example.c: Updated example to
2528 reflect the API changes.
2530 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2532 * src/hildon-touch-selector.c: Comment out unimplemented
2533 hildon_touch_selector_insert_column() to avoid a compile warning.
2535 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2537 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2538 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2539 (hildon_touch_selector_set_column_selection_mode),
2540 (_hildon_touch_selector_set_model),
2541 (hildon_touch_selector_set_model):
2543 Complete review of HildonTouchSelector documentation.
2545 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2547 * doc/hildon-docs.sgml
2551 * src/hildon-gtk.c: Convenience functions for standard Gtk
2552 widgets, used to easily perform frequent operations.
2554 * src/hildon-button-helpers.h
2555 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2557 * src/hildon-helper.h
2558 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2559 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2561 * src/hildon-button.h
2562 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2564 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2566 * src/hildon-button.c (hildon_button_init)
2567 (hildon_button_set_arrangement, hildon_button_construct_child):
2568 Pack the image and the labels inside the same GtkAlignment so
2569 gtk_button_set_alignment() can be used
2571 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2573 * src/hildon-button.h
2574 * src/hildon-button.c
2575 (hildon_button_init, hildon_button_set_image)
2576 (hildon_button_set_image_position)
2577 (hildon_button_construct_child): New functions to add an image to
2580 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-date-button.c
2583 * src/hildon-picker-button.c
2584 * src/hildon-time-button.c
2585 * src/hildon-button.c:
2586 (hildon_button_class_init): "size-flags" renamed to "size"
2587 (hildon_button_set_title): Hide the title label if set to NULL.
2589 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2591 HildonButtonFlags split into HildonButtonArrangement (to set the
2592 button layout) and HildonSizeType (which can be used for any
2595 * src/hildon-button.h
2596 * src/hildon-button.c
2597 (hildon_button_class_init)
2598 (hildon_button_set_arrangement)
2599 (hildon_button_set_property): New "size-flags"
2600 property. "arrangement-flags" renamed to "arrangement".
2601 (hildon_button_new, hildon_button_new_with_text)
2602 (hildon_button_new_full): Constructors updated to reflect type changes.
2604 * src/hildon-helper.h
2605 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2606 to set the size of a widget.
2610 * src/hildon-button-helpers.c
2611 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2613 * src/hildon-date-button.c
2614 * src/hildon-date-button.h
2615 * src/hildon-picker-button.c
2616 * src/hildon-picker-button.h
2617 * src/hildon-time-button.c
2618 * src/hildon-time-button.h: Updated widgets to reflect
2619 HildonButton API changes.
2621 * examples/hildon-button-example.c
2622 * examples/hildon-date-button-example.c
2623 * examples/hildon-picker-button-example.c
2624 * examples/hildon-picker-button-multicolumn-example.c
2625 * examples/hildon-time-button-example.c
2626 * examples/hildon-touch-selector-entry-example.c
2627 * examples/hildon-touch-selector-example.c: Updated examples to
2628 reflect HildonButton API changes.
2630 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2632 * doc/hildon-docs.sgml:
2634 * examples/Makefile.am:
2635 * examples/hildon-touch-selector-entry-example.c:
2637 * src/hildon-touch-selector-entry.c:
2638 * src/hildon-touch-selector-entry.h:
2641 Moved HildonTouchSelectorEntry from sandbox. Added its
2642 documentation and examples.
2644 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-touch-selector.h:
2647 * examples/hildon-picker-button-multicolumn-example.c:
2648 (hildon_touch_selector_append_text_column): Add a gboolean
2649 parameter to determine if text must be centered in the column.
2651 * src/hildon-date-selector.c: (hildon_date_selector_init):
2652 * src/hildon-time-selector.c: (hildon_time_selector_init):
2653 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2654 (create_touch_selector): Update widgets and example to reflect
2657 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-touch-selector.c:
2660 (hildon_touch_selector_set_active_iter): Set also the cursor in
2663 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2665 * doc/hildon-docs.sgml
2668 * src/hildon-toggle-button.c
2669 * src/hildon-toggle-button.h
2670 * src/hildon.h: Removed HildonToggleButton widget, a derived
2671 class is not necessary for this.
2673 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2675 * src/hildon-pannable-area.c,
2676 (hildon_pannable_area_realize),
2677 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2680 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2682 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2683 "done" button the default widget for the dialog.
2685 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-touch-selector.c:
2688 (hildon_touch_selector_class_init),
2689 (hildon_touch_selector_get_property),
2690 (_hildon_touch_selector_set_model),
2691 (_hildon_touch_selector_has_multiple_selection),
2692 (hildon_touch_selector_has_multiple_selection):
2693 Add a "has-multiple-selection" property with a virtual
2694 has_multiple_selection() method to allow derived classes to
2695 override the default value for it. See the method and property
2696 documentation for details.
2698 * src/hildon-touch-selector.h: Add the new API.
2700 * src/hildon-picker-dialog.c: (requires_done_button): Call
2701 hildon_touch_selector_has_multiple_selection() instead of
2702 determining the need for a button itself.
2704 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2706 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2707 (_hildon_touch_selector_set_model),
2708 (hildon_touch_selector_set_model): Move working code to
2709 _hildon_touch_selector_set_mode(). Call the class method instead.
2711 * src/hildon-touch-selector.h: Add (*set_model) to
2712 HildonTouchSelectorClass.
2714 Make hildon_touch_selector_set_model() a virtual method, so that
2715 derived classes can extend it and do fancy stuff with the model.
2717 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2719 * configure.ac: Set back the tarname in AC_INIT to hildon.
2721 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2725 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2726 instead of libesd (NB#86876). Volume handling is still an open issue.
2728 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2731 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2734 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2735 derived class to ease placement of an entry widget in
2736 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2737 end, where the selector columns are packed now.
2739 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-picker-button.c: Removed the simple _text() API.
2742 * src/hildon-picker-button.h: Likewise.
2744 * src/hildon-touch-selector.h:
2745 * src/hildon-touch-selector.c:
2746 (hildon_touch_selector_new_text),
2747 (hildon_touch_selector_append_text),
2748 (hildon_touch_selector_prepend_text),
2749 (hildon_touch_selector_insert_text):
2751 Moved the simple _text() API from HildonPickerButton to
2752 HildonTouchPicker, to provide better escalability and not to tie
2753 that API to HildonPickerButton.
2755 * examples/hildon-picker-button-example.c: (main): Example updated.
2757 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-button.c: Updated documentation.
2761 * examples/hildon-button-example.c: Add the posibility to create
2762 the buttons using horizontal layout for title and value.
2764 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2766 * src/hildon-app-menu-private.h
2767 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2768 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2769 GtkSizeGroup for the filters, use the 'homogeneous' property of
2772 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2774 * examples/hildon-button-example.c: Updated example.
2776 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2778 * doc/hildon-docs.sgml:
2781 Update documentation.
2783 * examples/Makefile.am: Update renamed examples.
2785 * examples/hildon-picker-button-multicolumn-example.c:
2786 (create_touch_selector), (main): Update after the rename.
2788 * examples/hildon-touch-picker-example.c: Removed.
2789 * examples/hildon-touch-selector-example.c: (value_changed),
2790 (create_selector), (get_visible_content), (main): Renamed from
2791 hildon-touch-picker-example.c
2793 * src/Makefile.am: Updated renamed files.
2795 * src/hildon-date-button.c: (hildon_date_button_init),
2796 (hildon_date_button_get_date), (hildon_date_button_set_date):
2797 * src/hildon-date-selector.c: (hildon_date_selector_init),
2798 (_custom_print_func), (_update_day_model),
2799 (_manage_selector_change_cb),
2800 (hildon_date_selector_select_current_date),
2801 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2802 * src/hildon-date-selector.h:
2803 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2804 (hildon_picker_button_set_property),
2805 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2806 (hildon_picker_button_init), (hildon_picker_button_new_text),
2807 (hildon_picker_button_append_text),
2808 (hildon_picker_button_prepend_text),
2809 (hildon_picker_button_insert_text),
2810 (hildon_picker_button_set_selector),
2811 (hildon_picker_button_get_selector):
2812 * src/hildon-picker-button.h:
2813 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2814 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2815 (_update_title_on_selector_changed_cb), (requires_done_button),
2816 (_hildon_picker_dialog_set_selector),
2817 (hildon_picker_dialog_set_selector),
2818 (hildon_picker_dialog_get_selector):
2819 * src/hildon-picker-dialog.h:
2820 * src/hildon-time-button.c: (hildon_time_button_init),
2821 (hildon_time_button_get_time), (hildon_time_button_set_time):
2822 * src/hildon-time-selector.c: (hildon_time_selector_init),
2823 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2824 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2825 * src/hildon-time-selector.h:
2828 Massive code updates after the rename.
2830 * src/hildon-touch-picker.c: Removed.
2831 * src/hildon-touch-picker.h: Removed.
2833 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2834 (hildon_touch_selector_init), (hildon_touch_selector_map),
2835 (hildon_touch_selector_remove), (_default_print_func),
2836 (_selection_changed_cb), (_create_new_column),
2837 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2838 (hildon_touch_selector_append_text_column),
2839 (hildon_touch_selector_remove_column),
2840 (hildon_touch_selector_set_column_attributes),
2841 (hildon_touch_selector_insert_column),
2842 (hildon_touch_selector_get_num_columns),
2843 (hildon_touch_selector_get_column_selection_mode),
2844 (hildon_touch_selector_set_column_selection_mode),
2845 (hildon_touch_selector_set_print_func),
2846 (hildon_touch_selector_get_print_func),
2847 (hildon_touch_selector_get_active_iter),
2848 (hildon_touch_selector_set_active_iter),
2849 (hildon_touch_selector_get_selected_rows),
2850 (hildon_touch_selector_get_model),
2851 (hildon_touch_selector_set_model),
2852 (hildon_touch_selector_get_current_text),
2853 (_hildon_touch_selector_center_on_selected_items):
2854 * src/hildon-touch-selector.h: Renamed from
2855 hildon-touch-picker.[ch]
2857 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2858 references, code examples, and related documentation.
2860 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2862 * doc/hildon-docs.sgml
2865 * src/hildon-toggle-button.c
2866 * src/hildon-toggle-button.h
2867 * src/hildon.h: New HildonToggleButton widget.
2869 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2871 * src/hildon-button.c: Add API documentation.
2872 (hildon_button_set_size_groups): Check input parameters
2874 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2876 * src/hildon-pannable-area.c
2877 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2878 effect after reaching the movement thredshold. This way we start
2879 using the distance after passing the thredshold.
2881 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2883 * src/hildon-button.c: (hildon_button_set_property): Use the
2884 appropriate g_value_get_flags() method.
2886 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2888 * doc/hildon-docs.sgml:
2891 Add the touch pickers, picker dialogs, and picker button widgets
2892 to the documentation.
2894 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-button.c: (hildon_button_set_property),
2897 (hildon_button_class_init): Make "arrangement-flags" a proper
2898 G_TYPE_FLAGS derived property.
2900 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2902 * examples/Makefile.am: Add below examples.
2903 * examples/hildon-date-button-example.c:
2904 * examples/hildon-picker-button-example.c:
2905 * examples/hildon-picker-button-multicolumn-example.c:
2906 * examples/hildon-time-button-example.c:
2907 * examples/hildon-touch-picker-example.c:
2909 Add examples for the recently added touch pickers,
2910 picker dialogs, and picker button widgets.
2912 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-button.c: Add some API documentation
2916 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2918 * src/hildon-button.h
2919 * src/hildon-button.c
2921 (hildon_button_new_with_text): New constructor to create a button
2922 with no text at all.
2923 (hildon_button_init, hildon_button_set_arrangement)
2924 (hildon_button_set_title, hildon_button_set_value)
2925 (hildon_button_set_text)
2926 (hildon_button_construct_child): Hide the value when it's not used
2927 so the rest of the text is properly aligned.
2928 Allow creating buttons with arbitrary widgets inside (not just
2929 title/value labels).
2931 * examples/hildon-button-example.c (vertical_buttons_window)
2932 (horizontal_buttons_window): Update example to use new API.
2934 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/Makefile.am: Added HildonTimeButton.
2937 * src/hildon-time-button.c: Added missing LGPL header.
2938 * src/hildon-time-button.h: Added missing LGPL header.
2939 * src/hildon.h: Add hildon-time-button.h
2941 Copied HildonTimeButton from sandbox to trunk. Future work on this
2942 widget must take place in trunk.
2944 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/Makefile.am: Added HildonDateButton.
2947 * src/hildon-date-button.c: Update includes.
2948 * src/hildon.h: Add hildon-date-button.h
2950 Copied HildonDateButton from sandbox to trunk. Future work on this
2951 widget must take place in trunk.
2953 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2955 * src/Makefile.am: Added HildonPickerButton.
2956 * src/hildon-picker-button.h: Update includes.
2957 * src/hildon.h: Add hildon-picker-button.h
2959 Copied HildonPickerButton from sandbox to trunk. Future work on
2960 this widget must take place in trunk.
2962 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2964 * src/Makefile.am: Added HildonPickerDialog.
2965 * src/hildon-picker-dialog.c: Update includes.
2966 * src/hildon.h: Add hildon-picker-dialog.h
2968 Copied HildonPickerDialog from sandbox to trunk. Future work
2969 on this widget must take place in trunk.
2971 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2973 * src/Makefile.am: Added HildonTimeSelector.
2974 * src/hildon.h: Add hildon-time-selector.h
2976 Copied HildonTimeSelector widget from sandbox to trunk. Future
2977 work on this widget must happen in trunk.
2979 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2981 * src/Makefile.am: Added HildonDateSelector.
2982 * src/hildon.h: Add hildon-date-selector.h
2984 Copied HildonDateSelector widget from sandbox to trunk. Future
2985 work on this widget must happen in trunk.
2987 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/Makefile.am: Added HildonTouchPicker.
2990 * src/hildon-touch-picker.c: Update includes.
2991 * src/hildon.h: Add hildon-touch-picker.h
2993 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2994 on this widget must happen in trunk.
2996 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2998 * src/hildon-pannable-area.c:
2999 (hildon_pannable_area_motion_notify_cb): Fix a typo.
3001 2008-07-29 Alberto Garcia <agarcia@igalia.com>
3003 * examples/hildon-app-menu-example.c (main): Let the window
3006 2008-07-29 Alejandro G. Castro <alex@igalia.com>
3008 * src/hildon-pannable-area.c
3009 (hildon_pannable_area_class_init): Set the min value of the
3010 overshoot properties to zero, which points out that not
3011 overshooting allowed.
3013 2008-07-29 Alejandro G. Castro <alex@igalia.com>
3015 Modified the procedure to get the widget at a point inside the
3016 pannable area when using the movement type signals. Now the user
3017 has to call a function to get the child, that way we just
3018 calculate the child in case the user really want to use it and not
3021 * src/hildon-marshalers.list: Modified the marshallers, now we do
3022 not have the widget as a parameter.
3024 * src/hildon-pannable-area.c
3025 (hildon_pannable_area_motion_notify_cb),
3026 (hildon_pannable_area_class_init),
3027 (hildon_pannable_get_child_widget_at): Removed the widget
3028 parameter from the signal callback. We have also refactored the
3029 emission of the signals.
3031 * src/hildon-pannable-area.h: Added a new method to the API to
3032 calculate a widget at a point inside the pannable area,
3033 hildon_pannable_get_child_widget_at.
3035 * examples/hildon-pannable-area-example-4.c
3036 (horizontal_movement): Modified the example to use the new API,
3037 added condition to control which widget is under the event. This
3038 way we can avoid scrolling laterally over other widgets.
3040 2008-07-29 Alejandro G. Castro <alex@igalia.com>
3042 * src/hildon-pannable-area.c
3043 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
3044 modes, we stop getting the pointer events due to returning the
3045 callback without properly calling the get pointer again. Fixed
3046 also an error using the hscroll and vscroll.
3048 2008-07-28 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-app-menu-private.h
3051 * src/hildon-app-menu.c (hildon_app_menu_button_press)
3052 (hildon_app_menu_button_release, hildon_app_menu_init)
3053 (hildon_app_menu_class_init): Don't hide the menu on button
3054 release if the user didn't press outside first.
3056 * src/hildon-window.h
3057 * src/hildon-window.c (hildon_window_toggle_menu)
3058 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
3059 hildon_window_toggle_menu a virtual function for the stackable
3060 window to override it.
3062 * src/hildon-stackable-window.h
3063 * src/hildon-stackable-window-private.h
3064 * src/hildon-stackable-window.c
3065 (hildon_stackable_window_realize)
3066 (hildon_stackable_window_finalize)
3067 (hildon_stackable_window_class_init)
3068 (hildon_stackable_window_init)
3069 (hildon_stackable_window_set_main_menu): New function to set the
3070 app menu of a HildonStackableWindow.
3072 * examples/hildon-app-menu-example.c: Remove the button to show
3073 the app menu, now it'll be shown when clicking on the title bar
3076 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3078 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
3079 set the widget name if the arrangement flags do not specify
3082 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-button.c: (hildon_button_set_property),
3085 (hildon_button_class_init), (hildon_button_new_full),
3086 (hildon_button_set_arrangement): Added "arrangement-flags"
3089 Make the HildonButtonFlags a construction-only property, to allow
3090 subclasses to set them properly.
3092 2008-07-21 Tim Janik <timj@imendio.com>
3094 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
3095 insertion position after backspace, so additional digits are appended,
3098 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3100 * src/hildon-pannable-area.c,
3101 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
3102 TODO list, it was complete and removed the g_debug and g_print
3105 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3107 Added the movement modes to the hildon-pannable-area, with this
3108 modes the developers can control in which directions the widget
3109 can scroll. They can also connect to signals in order to do
3110 something when that happens, allowing applications scroll. There
3111 is an example uploaded showing how to use it.
3113 * examples/Makefile.am:
3114 * examples/hildon-pannable-area-example-4.c: Added this example of
3115 an application using the modes.
3117 * src/hildon-marshalers.list: Added a new marshaller for the new
3120 * src/hildon-pannable-area.h: Added new enumerations and flags in
3121 order to control the movement modes and the new signals to warn
3122 about the movements in the area.
3124 * src/hildon-pannable-area.c:
3125 (hildon_pannable_axis_scroll),
3126 (hildon_pannable_area_scroll),
3127 (hildon_pannable_area_motion_notify_cb),
3128 (hildon_pannable_area_get_property),
3129 (hildon_pannable_area_set_property),
3130 (hildon_pannable_area_map),
3131 (hildon_pannable_area_class_init),
3132 (hildon_pannable_area_init),
3133 (hildon_pannable_area_jump_to): Added the modes to control the
3134 movement in the widget. We have added properties to control it,
3135 signals to warn about the movements and refactored some code.
3137 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3139 Changes required in order to allow vfast_factor set to zero to
3142 * src/hildon-pannable-area.c:
3143 (hildon_pannable_area_button_press_cb): Changed the condition, it
3144 is required for not allowing click when vfast_factor is zero.
3145 (hildon_pannable_area_timeout): Initialized velocity variables
3146 when we stop moving, it was less than 1 but not zero and we need
3147 to check zero in some situations.
3148 (hildon_pannable_area_class_init): Changed the default value of
3149 the speed factor, now the button_press is just sent in case the
3150 speed is 2 per cent of the max speed.
3151 (hildon_pannable_area_init): Initialization with 0.
3153 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3155 * src/hildon-pannable-area.c,
3156 (hildon_pannable_area_get_topmost): replaced
3157 gdk_window_get_children with gdk_window_peek_children, this way we
3158 do not have to free the list because it is not a copy.
3160 (hildon_pannable_axis_scroll),
3161 (hildon_pannable_area_scroll),
3162 (hildon_pannable_area_timeout),
3163 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3164 two parameters that were only used inside the
3165 hildon_pannable_area_scroll function.
3167 * examples/hildon-pannable-area-example.c,
3168 (get_sawtooth_label): Fixed small memory leak.
3170 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3172 More checks for the case where the overshoot is bigger than the
3175 * src/hildon-pannable-area.c:
3176 (hildon_pannable_draw_vscroll),
3177 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3178 to draw the slider of the scrollbar under the other scrollbar.
3179 (hildon_pannable_area_expose_event): added new checks to control
3180 the drawing of the overshooting area rectangle, in case it is too
3181 big for the area of the widget.
3182 (hildon_pannable_area_size_allocate): add more checks to avoid
3183 setting a position to the child widget outside the area.
3185 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3187 * src/hildon-pannable-area.c
3188 (hildon_pannable_area_size_allocate): Added conditions to control
3189 when overshooting is bigger than the allocated space for the
3190 children, this avoids negative allocations.
3192 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3194 * doc/hildon-docs.sgml
3196 * examples/Makefile.am
3197 * examples/hildon-button-example.c
3199 * src/hildon-button.c
3200 * src/hildon-button.h
3201 * src/hildon.h: Initial version of the new HildonButton widget,
3204 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-pannable-area.c:
3207 (hildon_pannable_area_button_press_cb),
3208 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3209 (hildon_pannable_area_motion_notify_cb),
3210 (hildon_pannable_area_button_release_cb),
3211 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3212 (hildon_pannable_area_jump_to_child):
3214 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3216 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3218 * examples/Makefile.am
3219 * examples/hildon-pannable-area-touch-grid-example.c
3220 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3221 the Hildon Touch List and Hildon Touch Grid using the
3222 HildonPannableArea widget.
3224 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3226 * src/hildon-pannable-area.c,
3227 (hildon_pannable_area_button_press_cb),
3228 (hildon_pannable_area_refresh),
3229 (hildon_pannable_area_scroll),
3230 (hildon_pannable_area_motion_notify_cb),
3231 (hildon_pannable_area_button_release_cb),
3232 (hildon_pannable_area_expose_event),
3233 (hildon_pannable_area_add),
3234 (hildon_pannable_area_remove),
3235 (hildon_pannable_area_realize),
3236 (hildon_pannable_area_size_allocate),
3237 (hildon_pannable_area_class_init),
3238 (hildon_pannable_area_init),
3239 (hildon_pannable_area_scroll_to_child),
3240 (hildon_pannable_area_jump_to_child): Fixed the problem of
3241 removing the child from the GtkBin, we have rearranged the widget
3242 hierarchy, now there is no GtkAlignment which was not doing
3243 anything interesting but breaking some of the assumptions of
3244 GtkContainer. Now developers if they want to add a GtkAlignment
3245 they could, but it is not inside the area.
3247 We had to review the whole allocation/expose process, now it is
3248 improved and we save at least three signals which would be saving
3249 some time when rendering the widget. The allocation of the
3250 scrollbars is now made in the allocate method as usual.
3252 We have also added some conditions in order to control when there
3253 is no child of the pannable area. Maybe we will need more work
3256 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3258 * src/hildon-pannable-area.c,
3259 (hildon_pannable_area_dispose): Released the fade-out timeout when
3260 disposing the widget.
3262 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3264 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3265 zero, we are going to use that property in order to deactivate the
3267 (hildon_pannable_axis_scroll),
3268 (hildon_pannable_area_size_allocate): Added conditions to control
3269 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3270 call, now it is called in all situations and we can remove calls
3271 in the allocate method.
3272 (hildon_pannable_area_map): Control the situation when
3273 overshoot_max is zero, we do not need the timeout.
3274 (hildon_pannable_area_class_init): Added documentation in order to
3275 point out that setting zero to overshoot_max means deactivate
3278 NOTE: removed trailing whitespaces from my previous comments of
3281 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3283 * src/hildon-pannable-area.c
3284 (hildon_pannable_area_get_property),
3285 (hildon_pannable_area_set_property),
3286 (hildon_pannable_area_map),
3287 (hildon_pannable_area_class_init),
3288 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3289 to cause the widget give a hint about its panning abilities upon
3292 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-pannable-area.c: Several documentation improvements.
3296 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-program.c
3299 * src/hildon-stackable-window.c: Update documentation.
3301 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-stackable-window.c (get_previous_window_if_last):
3304 Renamed get_last_window()
3305 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3306 (hildon_stackable_window_unset_program):
3308 (get_previous_window_if_last):
3309 Detect if the window hasn't been added to a HildonProgram.
3311 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3313 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3315 * src/hildon-pannable-area.c
3316 (hildon_pannable_area_button_press_cb),
3317 (hildon_pannable_axis_scroll),
3318 (hildon_pannable_area_scroll),
3319 (hildon_pannable_area_timeout),
3320 (hildon_pannable_calculate_vel_factor),
3321 (hildon_pannable_area_get_property),
3322 (hildon_pannable_area_set_property),
3323 (hildon_pannable_area_class_init),
3324 (hildon_pannable_area_init),
3325 (hildon_pannable_area_scroll_to),
3326 (hildon_pannable_area_jump_to),
3327 (hildon_pannable_area_scroll_to_child),
3328 (hildon_pannable_area_jump_to_child):
3329 * src/hildon-pannable-area.h: Added the new API functions:
3330 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3331 hildon_pannable_area_scroll_to_child,
3332 hildon_pannable_area_jump_to_child
3335 * examples/Makefile.am
3336 * examples/hildon-pannable-area-example-2.c
3337 * examples/hildon-pannable-area-example-3.c: Added these two new
3338 examples in order to test and show how the new APIs work.
3340 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3342 * examples/hildon-stackable-window-example.c (new_window):
3343 * src/Makefile.am (noinst_HEADERS):
3344 * src/hildon-program.c (hildon_program_go_to_root_window):
3345 * src/hildon-program.h:
3346 * src/hildon-stackable-window-private.h:
3347 * src/hildon-stackable-window.c:
3348 * src/hildon-stackable-window.h:
3349 Create hildon-stackable-window-private.h
3350 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3352 * examples/hildon-app-menu-example.c (create_menu):
3353 * examples/hildon-hvolumebar-insensitive-example.c (main):
3354 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3355 * examples/hildon-toolbar-seekbar-example.c (main):
3356 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3357 * src/hildon-banner.c (hildon_banner_set_property):
3358 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3359 Fix compilation warnings
3361 * src/hildon-window.c:
3364 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3366 * src/hildon-stackable-window.c
3367 (hildon_stackable_window_unset_program):
3368 Calculate correctly whether to show the previous window if the
3369 last one is removed from the stack.
3370 (hildon_stackable_window_go_to_root_window):
3371 Send delete events starting from the topmost window.
3372 Stop if one of the windows is not destroyed.
3374 (hildon_stackable_window_delete_event)
3375 (hildon_stackable_window_class_init):
3376 Ignore the delete event if the window is not the topmost one.
3378 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3380 * src/hildon-pannable-area.c
3381 (hildon_pannable_area_expose_event): Fixed a problem when
3382 selecting the background color of the scrollbars.
3384 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3386 * examples/hildon-stackable-window-example.c
3387 * src/hildon-stackable-window.c
3388 * src/hildon-stackable-window.h
3389 hildon_stackable_window_go_home() renamed to
3390 hildon_stackable_window_go_to_root_window()
3391 Send delete events to windows rather than closing them with
3392 gtk_widget_destroy()
3394 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-pannable-area.c
3397 (hildon_pannable_area_button_release_cb): Fix overshooting in
3400 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3402 * src/hildon-pannable-area.c
3403 (hildon_pannable_area_init): Initially show the scroll indicators.
3404 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3406 Add initial effect showing the widget is pannable.
3408 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3410 * src/hildon-pannable-area.c
3411 (hildon_pannable_area_class_init)
3412 (hildon_pannable_area_set_property)
3413 (hildon_pannable_area_get_property)
3414 (hildon_pannable_area_button_press_cb):
3415 New 'velocity_fast_factor' property to decide which velocity is
3418 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3420 * src/hildon-pannable-area.c
3421 (hildon_pannable_draw_hscroll)
3422 (hildon_pannable_draw_vscroll):
3423 Use float variables to calculate the size of the scrollbars to
3424 avoid error propagation and resizing during scrolling.
3426 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-pannable-area.c
3429 (hildon_pannable_draw_vscroll)
3430 (hildon_pannable_draw_hscroll):
3431 Define a minimum size for the scroll bars
3433 * src/hildon-stackable-window.c
3434 (hildon_stackable_window_go_home): Fix compilation warning
3435 (get_last_window): Minor optimizations
3436 (hildon_stackable_window_class_init): Fix initialization of
3439 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-stackable-window.c: Fixed typos in doc
3443 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3445 * src/hildon-pannable-area.c
3446 (hildon_pannable_area_scroll):
3447 Calculate here whether we need to scroll instead of using the booleans
3448 that tell us whether to /draw/ the scrolling bars.
3450 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-app-menu.h
3454 * src/hildon-app-menu.c
3455 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3456 multiple filter groups related code and API. Now we support only
3458 * examples/hildon-app-menu-example.c:
3460 Update to reflect API changes.
3462 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-stackable-window.c
3465 (hildon_stackable_window_class_init):
3466 Add hildon_stackable_window_realize.
3467 (hildon_stackable_window_realize):
3468 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3469 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3470 to apply theming and behavior specific to HildonStackableWindow
3473 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3475 * src/hildon-note.c (hildon_note_button_release):
3476 Close information notes also when tapping on them
3478 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3480 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3481 ELASTICITY, refactor and review, fix some issues with drawing
3484 * src/hildon-pannable-area.c:
3485 (hildon_pannable_area_button_press_cb): removed the conditions to
3486 avoid clicks when overshooting. It is not required
3488 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3489 define. Refatored and reviewed the code, now we do not need to
3490 manage velocity in motion_notify.
3492 (hildon_pannable_area_motion_notify_cb): We have moved the code
3493 that controls the area_scroll to the axis_scroll function and get
3494 rid of duplicated code.
3496 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3498 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3500 (hildon_pannable_draw_vscroll),
3501 (hildon_pannable_draw_hscroll): Fixed the problems with the
3502 scrollbar drawing, now we do not use two surfaces, it is easier
3503 and saves resources.
3505 (hildon_pannable_area_get_property): Style modification.
3507 (hildon_pannable_area_class_init): Changed some default values.
3509 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3511 * src/hildon-stackable-window.c: Fix some typos in the
3514 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-dialog.c:
3517 Change indentation style
3520 (hildon_note_button_release):
3521 Use root coordinates to check if the release event happened
3524 * src/hildon-app-menu.c
3525 (hildon_app_menu_button_release):
3526 Remove unnecessary check
3528 * examples/hildon-app-menu-example.c
3530 Add cast to fix warning
3532 * src/hildon-app-menu.c
3533 (hildon_app_menu_class_init):
3534 New inner-border style property.
3535 Set all default spacings to 16
3536 (hildon_app_menu_init):
3537 Use vertical-spacing to set the space between filter buttons and
3538 regular menu buttons.
3539 Set the default container border using the inner-border value.
3541 * examples/hildon-app-menu-example.c
3543 Don't set the menu border explicitly, now we have the inner-border
3544 style property for that.
3546 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-app-menu.c (hildon_app_menu_init):
3549 Make the window modal
3551 * src/hildon-note.c (hildon_note_map)
3552 * src/hildon-app-menu.c (hildon_app_menu_map):
3553 Destroy the grab window if we're unable to grab the pointer
3555 * src/hildon-app-menu-private.h
3556 * src/hildon-app-menu.c
3557 (hildon_app_menu_init, hildon_app_menu_finalize)
3558 (hildon_app_menu_map, hildon_app_menu_unmap)
3559 (hildon_app_menu_button_release)
3560 (grab_transfer_window_get):
3561 Bring back the grab window
3562 (hildon_app_menu_realize):
3563 Decorate the window, set WM hint for Matchbox
3565 * src/hildon-note.c (hildon_note_realize):
3566 * src/hildon-banner.c (hildon_banner_realize):
3567 Add WM hints for Matchbox
3569 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3571 * src/hildon-app-menu-private.h
3572 * src/hildon-app-menu.c
3573 (hildon_app_menu_init, hildon_app_menu_finalize)
3574 (hildon_app_menu_map, hildon_app_menu_unmap)
3575 (hildon_app_menu_button_release):
3576 Remove the grab window, it's not needed anymore
3578 * src/hildon-program.c
3579 Fixed typo in documentation
3581 * src/hildon-app-menu.h
3582 * src/hildon-app-menu.c
3583 * examples/hildon-app-menu-example.c
3584 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3586 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3589 Added new transfer_window and close_if_pressed_outside private
3591 (hildon_note_rebuild):
3592 Don't add a cancel button to the information note. It will be
3593 closed when tapping outside
3594 Remove the comment about the OK button in the documentation
3595 (hildon_note_realize):
3596 Set the notification type hint
3597 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3598 Grab/ungrab pointer and keyboard if the note has to be closed when
3600 (hildon_note_button_release):
3601 Close the note when tapping outside (if applicable)
3603 * src/hildon-app-menu.c
3604 Grab/ungrab pointer and keyboard on map/unmap
3605 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3606 Close the menu on button release, not button press
3608 * src/hildon-banner.c
3609 (hildon_banner_set_property)
3610 (hildon_banner_check_position):
3611 Make the banner use the full width of the screen
3612 (hildon_banner_show_information)
3613 (hildon_banner_show_information_with_markup):
3614 Don't display an icon by default
3616 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3618 Added fading scrollbars and adapted all the overshooting code to
3619 horizontal scrolling. We have also fixed bugs with overshooting
3620 and current fading implementation.
3622 * src/hildon-pannable-area.c
3623 (hildon_pannable_area_scroll_indicator_fade): Time out function
3624 used to change the transparency of the scrollbars.
3626 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3627 control and fixed a problem with fading, we now remove the fade
3628 timeout before adding a new one.
3630 (hildon_pannable_axis_scroll):
3631 (hildon_pannable_area_scroll):
3632 (hildon_pannable_area_timeout): Added this functions so we can use
3633 the scroll code both for vertical and horizontal.
3635 (hildon_pannable_area_motion_notify_cb):
3636 (hildon_pannable_area_button_release_cb): Added the horizontal
3637 scrolling control, fixed a problem with the overshooting timeout.
3639 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3640 painting of the scrolls.
3642 (hildon_pannable_draw_vscroll):
3643 (hildon_pannable_draw_hscroll):
3644 (hildon_pannable_area_expose_event):
3645 Draw both scrollbars and rectangles in the overshooting area.
3647 (hildon_pannable_area_get_property):
3648 (hildon_pannable_area_set_property):
3649 Modified the overshoot property to overshoot_max
3651 (hildon_pannable_area_map):
3652 Replaced the comments symbols.
3654 (hildon_pannable_area_size_allocate):
3655 (hildon_pannable_area_class_init):
3656 (hildon_pannable_area_init): Added horizontal scroll, fading
3657 effect properties, fixed a problem when overshooting in the bottom
3660 * examples/hildon-pannable-area-example.c:
3661 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3662 looks better in the example.
3664 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-window.c
3667 * src/hildon-window.h
3668 (hildon_window_class_init)
3669 (hildon_window_unset_program)
3670 (hildon_window_unset_program_real):
3671 Make unset_program a virtual function
3673 * src/hildon-stackable-window.c
3674 * src/hildon-stackable-window.h
3675 Added hildon_stackable_window_go_home()
3677 * examples/Makefile.am
3678 * examples/hildon-stackable-window-example.c
3679 HildonStackableWindow example
3681 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3683 * hildon-pannable-area.c: Added the overshoot property and removed
3684 the OVERSHOOT define. Fixed an indent style error.
3685 (hildon_pannable_area_motion_notify_cb):
3686 (hildon_pannable_area_get_property):
3687 (hildon_pannable_area_set_property): Add overshoot property.
3689 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3692 (hildon_pannable_area_class_init): Installed the new property.
3694 * hildon-pannable-area-example.c: Added a sawtooth function, this
3695 way it is easier to check the movement in the pannable.
3696 (get_sawtooth_label): Added this function.
3697 (main): Now we get the labels from the new get_sawtooth_label
3700 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3702 * src/hildon-app-menu.h
3703 * src/hildon-app-menu.c
3704 Renamed API variables for consistency
3706 (hildon_app_menu_popup): Use also the default window size to
3707 decide where to place the menu
3709 (hildon_app_menu_init, hildon_app_menu_class_init): New
3710 external-border style property
3712 2008-05-26 Michael Natterer <mitch@imendio.com>
3714 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3715 widget_class->tap_and_hold_setup signal slot doesn't exist any
3716 longer, stop overriding it.
3718 (hildon_time_editor_init): g_signal_connect() to the
3719 tap-and-hold-setup signal instead.
3721 (hildon_time_editor_entry_keypress): add cast to fix warning.
3723 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3725 * doc/hildon-docs.sgml
3727 * examples/Makefile.am
3728 * examples/hildon-app-menu-example.c
3730 * src/hildon-app-menu-private.h
3731 * src/hildon-app-menu.c
3732 * src/hildon-app-menu.h
3734 New HildonAppMenu widget
3736 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3738 Rearranged the inheritance of the pannable area, now it inherits
3739 from GtkBin. This will allow us to control the event_window and
3740 the allocation process of the widget, required for some effects.
3742 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3743 GtkBin structures. * src/hildon-pannable-area.c: Added the
3744 event_window variable.
3745 (hildon_pannable_area_button_press_cb):
3746 (hildon_pannable_area_button_release_cb):
3747 (hildon_pannable_area_motion_notify_cb):
3748 Changed the signature of the method, now we override the event
3749 callback instead of connecting to the signal.
3751 (hildon_pannable_area_realize):
3752 (hildon_pannable_area_unrealize):
3753 (hildon_pannable_area_map):
3754 (hildon_pannable_area_unmap):
3755 (hildon_pannable_area_size_allocate):
3756 Added functions to control the widget construction. We add a
3757 INPUT_ONLY window and we put it over the widgets inside the
3758 container, this event_window handles the events.
3760 (hildon_pannable_area_class_init):
3761 Replaced the signal connections with overrides of the event
3764 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3766 Bouncing effect added when touching the borders, you can change
3767 the elasticity of the border changing the ELASTICITY define.
3769 * src/hildon-pannable-area.c: Added ELASTICITY define.
3770 (hildon_pannable_area_timeout): Added inverse velocity when
3771 touching the border of the child widget, that causes a bounce.
3773 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3775 Improved performance, we now do not go to the X server in order to
3776 get the list of window children. Apparently the effect is the
3777 same, we have to be careful and check if this breaks something in
3780 * src/hildon-pannable-area.c:
3781 (get_ordered_children): Removed this function.
3782 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3783 the children windows function with gdk_window_get_children.
3785 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3787 * src/hildon-pannable-area.c:
3788 (hildon_pannable_area_dispose): Fixed a crash when closing the
3789 window and kinetics is activated.
3791 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3793 * src/hildon-pannable-area.h
3794 * src/hildon-pannable-area.c
3795 Changed indentation style to meet the one used in Hildon
3797 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3799 Reviewed the interaction of the AUTO mode, now we use the time
3800 attribute of the events and calculate the velocity in the motion,
3801 doing a gimp like calculation. The velocity is calculated in each
3802 motion event using the last velocity and the current one, the
3803 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3805 * src/hildon-pannable-area.c: Replaced the time based algorithm
3807 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3808 timeout for the AUTO mode when we are still moving the cursor. We
3809 added also the velocity calculation in this function.
3810 (hildon_pannable_area_button_release_cb): launch the timeout in
3811 case we are in AUTO mode. There are still some constants here that
3812 come from the old implementation that should be reviewed and
3815 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3817 * doc/hildon-docs.sgml
3820 * src/hildon-stackable-window.c
3821 * src/hildon-stackable-window.h
3823 New HildonStackableWindow widget
3825 * examples/hildon-dialog-example.c
3826 * examples/hildon-pannable-area-example.c
3829 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-dialog.c
3832 (hildon_dialog_new_with_buttons): New constructor.
3834 * examples/hildon-dialog-example.c
3835 (main): Update the example to use the new
3836 hildon_dialog_new_with_buttons().
3838 * examples/hildon-pannable-area-example.c
3839 (main): Update example.
3841 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3843 * doc/hildon-docs.sgml
3845 Added HildonPannableArea to the documentation.
3847 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3849 * doc/visual_index.xml
3850 Fix reference to HildonLoginDialog in documentation
3852 * doc/hildon-docs.sgml
3854 * examples/Makefile.am
3855 * examples/hildon-dialog-example.c
3857 * src/hildon-dialog.c
3858 * src/hildon-dialog.h
3860 New HildonDialog widget.
3862 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-pannable-area.c
3865 Merge latest changes (r4318, r4342) from libmokoui trunk
3867 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3869 * examples/Makefile.am
3870 * examples/hildon-pannable-area-example.c
3872 * src/hildon-pannable-area.c
3873 * src/hildon-pannable-area.h
3875 New HildonPannableArea widget.
3877 2008-04-15 18:05:19 <timj@imendio.com>
3879 * src/hildon-banner.c: revert the recent change, that introduced
3880 gtk_window_present() calls. this reopens:
3881 Bug 78481 - [freetest] information banners are hidden under browser menu
3882 But resolves another variant of:
3883 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3885 2008-04-15 13:21:13 <timj@imendio.com>
3887 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3888 recreated its layout, spotted by Kris. this fixes all remaining
3889 artefacts and stability issues with the banner code. in particular:
3890 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3892 2008-04-14 16:52:59 <timj@imendio.com>
3894 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3895 operating on unrealized widgets, fixes:
3896 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3898 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3900 2008-04-09 Kristian Rietveld <kris@imendio.com>
3902 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3903 makes banner disappear.
3904 Fixes: NB#79182: info banner flickering with certain message lengts.
3906 * src/hildon-banner.c (hildon_banner_constructor),
3907 (hildon_banner_init), (hildon_banner_set_text),
3908 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3909 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3910 FALSE, reset size requests of label and banner,
3911 (force_to_wrap_truncated): when the text is too wide, always enforce
3912 the maximum possible width instead of recalculating it from the
3913 layout; enforce the maximum banner height of 3 lines,
3914 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3915 nicer wrapping and no truncated chars if space gets tight.
3917 * src/hildon-banner-private.h: add has_been_wrapped and
3918 has_been_truncated fields.
3920 2008-04-07 Sven Herzberg <sven@imendio.com>
3922 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3923 local values in hildon_date_editor_size_allocate
3925 * src/hildon-date-editor.c: moved the real allocation code into the
3928 2008-04-07 Sven Herzberg <sven@imendio.com>
3930 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3931 local values in hildon_date_editor_size_allocate
3933 * src/hildon-date-editor.c: merged the two if() branches together
3935 2008-04-07 Sven Herzberg <sven@imendio.com>
3937 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3938 local values in hildon_date_editor_size_allocate
3940 * src/hildon-date-editor.c: changed the arguments of the if()
3943 2008-04-07 Sven Herzberg <sven@imendio.com>
3945 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3946 local values in hildon_date_editor_size_allocate
3948 * src/hildon-date-editor.c: split the calculation of the allocation
3949 from the real allocation
3951 2008-03-27 Michael Natterer <mitch@imendio.com>
3953 Fixes: NB#81696: The passcode is not overwritten even after
3956 * src/hildon-code-dialog.c
3957 (hildon_code_dialog_button_clicked)
3958 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3959 because that doesn't overwrite selected text. Instead, emit the
3960 "commit" signal on the entry's im_context so the entry's normal
3961 insert logic is triggered. Set the cursor to the end of the entry
3962 after each insert operation so that we *only* insert in the middle
3963 of the text if something was selected.
3965 2008-03-27 Michael Natterer <mitch@imendio.com>
3967 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3968 selector cannot be opened
3970 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3971 when the popup color selector is created. Please connect to this
3972 signal in order to set the dialog's help ID.
3974 2008-03-25 Sven Herzberg <sven@imendio.com>
3976 Fixes: MB#1212: Hide info banners (infoprints) on click
3978 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3979 extracted the close event simulation into an extra function
3980 (hildon_banner_button_press_event): simulate a close event and destroy
3981 the widget if the event wasn't handled
3982 (hildon_banner_class_init): added the button_press_event handler
3983 (hildon_banner_init): added button-press events to the widget
3985 2008-03-25 Sven Herzberg <sven@imendio.com>
3987 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3988 Patch from: Mohammad Anwari <mdamt@maemo.org>
3990 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3991 instead of the right in RTL mode
3992 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3993 breadcrumb button list in RTL mode
3994 * src/hildon-caption.c: mirror the appearance of the caption widget in
3996 * src/hildon-date-editor.c: mirror appearance of the date editor in
3998 * src/hildon-time-editor.c: mirror appearance of the time editor in
4000 * src/hildon-window.c: fix the position of the popup in RTL mode
4002 2008-03-25 Sven Herzberg <sven@imendio.com>
4004 Amendment to the fix of NB#22072. Fix compilation.
4006 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
4008 2008-03-19 Sven Herzberg <sven@imendio.com>
4010 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
4013 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
4014 timeout id properly when the timeout will disappear this leaves no
4015 artifacts around in the destroy(); there will only be the timeout
4016 created by hildon_banner_ensure_timeout() and adding a new timeout
4017 will also work if the timeout gets removed because the timeout_handler
4020 2008-03-19 Michael Natterer <mitch@imendio.com>
4022 Fixes: NB#79791: Cannot set focus to Master volume using stylus
4024 * src/hildon-volumebar.c
4025 * src/hildon-vvolumebar.c
4026 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
4027 the widget becomes focussable at all.
4029 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
4030 set the focus to wither the mute button or the volumebar.
4032 Remove own "can-focus" property and instead listen to
4033 notify::can-focus in order to update the widget's state.
4035 Implement GtkWidget::focus() and make sure we can also *leave* the
4036 widget, not only enter it, depending on volumebar orientation and
4037 requested focus direction.
4039 Clean up set_mute() to cooperate nicely with all the above.
4041 2008-03-04 Michael Natterer <mitch@imendio.com>
4043 Fixes: NB#78481: information banners are hidden under browser menu
4045 * src/hildon-banner.c: call gtk_window_present() on the banners so
4046 they are risen if they are already visible.
4048 2008-03-03 Sven Herzberg <sven@imendio.com>
4050 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
4052 * examples/hildon-window-menu-example.c: (main): extended the window
4053 menu example to serve as a testcase for automatically added
4054 accelerator groups, too
4055 * src/hildon-window.c: (hildon_window_add_accel_group),
4056 (hildon_window_set_menu): added patch by Tommi Komulainen
4058 2008-03-03 Sven Herzberg <sven@imendio.com>
4060 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
4062 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
4063 knowledge about the border allocators used within GTK+
4065 2008-02-26 Sven Herzberg <sven@imendio.com>
4067 Fixes: MB#2981: Build with asserts broken
4069 * src/hildon-date-editor.c,
4070 * src/hildon-number-editor.c,
4071 * src/hildon-time-editor.c,
4072 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
4073 the proper GType instance check
4075 2008-02-25 Sven Herzberg <sven@imendio.com>
4077 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
4079 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
4080 * examples/hildon-window-menu-example.c: (main): explicitly show
4082 * src/hildon-window.c:
4083 (hildon_window_set_main_menu): moved most of the code from set_menu()
4084 to this place; skipped the call to gtk_widget_show_all(); also didn't
4085 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
4086 (hildon_window_set_menu): removed most of the code, just keep the
4087 questionable gtk_widget_show_all()
4088 * src/hildon-window.h: added the new function and deprecate the old
4091 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4097 * debian/changelog: Updating.
4099 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4102 * pkgconfig/Makefile.am:
4103 * pkgconfig/hildon.pc.in:
4106 Do not use PACKAGE_VERSION_MAJOR as the API revision,
4107 use newly created API_MAJOR_VERSION.
4109 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4115 * debian/changelog: Updating.
4117 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4119 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4121 Add outer_border style property, we use it but don't define it (!).
4125 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4127 * examples/hildon-bread-crumb-trail-example.c (main):
4131 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4133 Fix logic for the bread crumb trail node removal.
4137 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4143 * debian/changelog: Updating.
4145 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4147 Patch by Alejandro to get/set passwords dialogs accesibility.
4149 * hildon-1/src/hildon-get-password-dialog.c:
4150 * hildon-1/src/hildon-set-password-dialog.c:
4151 Set atk_set_name to the passwd entries in order to allow
4152 accessibility by name on this entries.
4154 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4159 * debian/control: Updating gtk dep.
4161 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4163 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4164 USE_MAEMO_GTK is enabled.
4166 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4168 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4169 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4171 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4177 * debian/changelog: Updating.
4179 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4181 * examples/Makefile.am:
4182 * examples/hildon-logical-color-example.c:
4183 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4184 applied + adding a test case. Fixes: NB#71660.
4186 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4188 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4189 to be visible, fixes warning on map for windows without toolbars.
4191 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4193 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4194 2.11.0, add a check for that besides the MAEMO_GTK check.
4196 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4202 * debian/changelog: Updating.
4204 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4206 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4207 visibility. Fixes: NB#70842 and MB#615.
4209 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4211 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4212 set the separator as no-show-all so it doesn't unintentionally appear when
4213 someone does a show_all.
4215 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4217 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4218 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4219 toplevel item. Fixes: NB#62031
4221 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4223 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4224 fix the name of the function in the docs.
4226 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4232 * debian/changelog: Updating.
4234 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4236 * examples/hildon-banner-long-example.c: Adding a test-case for long
4239 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4241 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4243 * src/hildon-color-chooser-dialog.c:
4244 * src/hildon-color-chooser.c:
4245 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4246 memory leaks in font selector and color selector. Fixes: NB#70499 and
4249 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4251 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4253 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4255 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4256 little bit bigger. Fixes: #NB63694.
4258 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4264 * debian/changelog: Updating.
4266 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4269 * doc/hildon-docs.sgml:
4270 * doc/images/bread-crumb-trail.png:
4271 * doc/images/calendar-popup.png:
4272 * doc/images/caption.png:
4273 * doc/images/code-dialog.png:
4274 * doc/images/color-button.png:
4275 * doc/images/color-chooser-dialog.png:
4276 * doc/images/color-chooser.png:
4277 * doc/images/controlbar.png:
4278 * doc/images/date-editor.png:
4279 * doc/images/font-selection-dialog.png:
4280 * doc/images/get-password-dialog.png:
4281 * doc/images/hvolumebar.png:
4282 * doc/images/login-dialog.png:
4283 * doc/images/note.png:
4284 * doc/images/number-editor.png:
4285 * doc/images/range-editor.png:
4286 * doc/images/seekbar.png:
4287 * doc/images/set-password-dialog.png:
4288 * doc/images/sort-dialog.png:
4289 * doc/images/time-editor.png:
4290 * doc/images/time-picker.png:
4291 * doc/images/vvolumebar.png:
4292 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4293 Adding the bread-crumb-trial and helpers to the documentation.
4295 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4297 * examples/hildon-find-toolbar-example.c:
4298 * src/hildon-find-toolbar.c:
4299 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4300 actually continue firing the other handlers if connected. Adding a new
4302 hildon_find_toolbar_get_last_index that gets the index of the most
4303 recently added (last) item. Fixes: NB#52301.
4305 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4307 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4308 behaviour. Fixes: NB#68610.
4310 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4312 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4315 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4317 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4318 when realizing the banner. Should make the infonbanner effect a bit more
4321 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4323 * src/hildon-volumebar.c:
4324 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4325 hildon_volumebar_set_range_insensitive_message and
4326 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4328 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4330 * src/hildon-window.c: Fixing the border freeing on destroy.
4332 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4334 * src/hildon-code-dialog-private.h:
4335 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4336 kw keyboard support in HildonCodeDialog.
4338 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4344 * debian/changelog: Updating.
4346 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4348 * src/hildon-date-editor.c:
4349 * src/hildon-number-editor.c:
4350 * src/hildon-private.c:
4351 * src/hildon-private.h:
4352 * src/hildon-time-editor.c:
4353 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4354 handling in subclassed composite widgets. Fixes: NB#66628.
4356 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4358 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4359 from destroy_ callback as it introduces problems in async dbus signal
4360 handlers. Fixes NB#66673.
4362 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4364 * examples/hildon-hvolumebar-example.c:
4365 * src/hildon-volumebar.c: Improving the focus handling in the
4366 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4367 set_property accessor so that "mute" property can be actually set. I'm
4368 scared that nobody noticed it's totally broken.
4370 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4372 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4375 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4377 * src/hildon-calendar.c:
4378 * src/hildon-number-editor.c:
4379 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4380 matches the spec of 6 chars per second. Fixes: NB#60489.
4382 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4384 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4385 gtk_style_lookup_color sometime returns FALSE even though color was
4386 found and values were filled properly. Weird. Removing the warning for the
4389 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4391 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4392 expand vertically. Adding some extra space to the find toolbar buttons to
4393 make them thumbable. Fixes NB#66060.
4395 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4397 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4398 popup with "Ok" and "Cancel". Fixes NB#59299.
4400 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4402 * src/hildon-calendar.c: Process all window updates before executing next
4403 timeout. Fixes: NB#54146.
4405 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4411 * debian/changelog: Updating.
4413 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4415 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4416 the client event and ignore it, since we use the delete event to close
4419 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4421 * src/hildon-helper.c: Remove the bogus warning about color not being
4422 found. Fixes NB#58352.
4424 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4426 * examples/Makefile.am:
4427 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4428 HildonSeekbar widget inside a toolbar.
4430 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4432 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4433 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4434 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4435 don't want to be closed by non-temporary windows on map.
4437 Also use G_DEFINE_TYPE instead of manually typed code.
4439 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4446 * debian/rules: Updating.
4448 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4450 * examples/Makefile.am:
4451 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4452 bug NB#61128. Strangely it works.
4454 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4456 * src/hildon-date-editor.c: When the date editor entry has been changed
4457 but the numbers of characters < max, turn off the skip validation flag.
4458 Prevents a situation when we enter first a valid year and later re-write
4459 it with an invalid one. Fixes NB#60154.
4461 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4463 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4464 code dialog. Fixes NB#64355.
4466 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4468 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4469 switching the page. Fixes NB#49374.
4471 * examples/Makefile.am:
4472 * examples/hildon-wizard-dialog-example.c: Adding an example for
4473 HildonWizardDialog that shows how to handle manual sensitivity setting on
4476 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4480 * src/hildon-version.h.in:
4481 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4483 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4485 * src/hildon-volumebar.c: Updating the docs.
4487 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4493 * debian/changelog: Updating.
4495 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4497 * src/hildon-find-toolbar.c:
4498 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4499 selected item: hildon_find_toolbar_set_active,
4500 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4501 hildon_find_toolbar_get_active_iter . They correspond to respective
4502 GtkComboBox functions.
4504 * examples/Makefile.am:
4505 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4508 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4510 * examples/Makefile.am:
4511 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4514 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4515 when font size > 32 and we pack a focusable widget inside. Actually using
4516 the default response would work too, but since we don't show default
4517 response state in any way (no theming) it would not be visible to the
4518 user. Fixes NB#63430.
4520 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4522 * src/hildon-date-editor.c: Adding the missing variable setter in the
4523 set_property handler. Fixes NB#54182.
4525 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4527 * src/hildon-window.h: Changing the long key press time from 1500ms to
4528 800ms as requested in NB#63700. I have a bad feeling about this, let's
4529 see... Fixes NB#63700.
4531 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4533 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4534 hildon_time_picker_map, hildon_time_picker_realize,
4535 hildon_time_picker_style_set): Split the contents of map to more
4536 appropriate functions; set window decorations on realize and update
4537 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4539 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4544 * debian/changelog: Updating.
4546 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4548 * src/Makefile.am: fixed installation of the header files
4550 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4556 * debian/changelog: Updating.
4558 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4560 * configure.ac: Removing some remaining of --enable-xan.
4562 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4564 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4565 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4567 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4568 2.10.12-osso6 because the move-focus signal needs to be available in
4571 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4573 * examples/Makefile.am:
4574 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4575 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4576 fine. Prolly NB#61128 is fixed now.
4578 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4580 * src/hildon-volumebar.c:
4581 * src/hildon-volumebar.h: Adding the
4582 hildon_volumebar_set_range_insensitive_message and
4583 hildon_volumebar_set_range_insensitive_messagef functions to set
4584 insensitive message on the slider of the volumebar. Fixes NB#61129.
4586 * examples/Makefile.am:
4587 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4588 test the new insensitive messsage functionality on HildonVolumebar.
4590 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4592 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4595 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4597 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4598 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4599 button on after clearing the trail.
4601 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4603 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4605 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4607 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4608 by splitting the installed headers in generated and non-generated groups. Use
4609 only the non-generated headers to create the hildon-enum-types.h file.
4611 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4613 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4615 * src/hildon-window.c: Hide the window before performing the destroy.
4616 Should make the app closing a little tiny bit more snappy.
4618 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4620 * src/hildon-seekbar.c: add gtkrange.h header
4621 * src/hildon-caption.c: remove unused variable
4623 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4625 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4628 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4634 * debian/changelog: Updating.
4636 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4638 * src/hildon-window.c (hildon_window_window_state_event,
4639 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4640 escape timeout on focus-out-event rather than notify::is-topmost; the
4641 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4643 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4645 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4646 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4648 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4650 * src/hildon-window: actually, you need to use the macro always, there's
4651 no private pointer in the instance structure. We should have cleaned this up
4652 when we had the chance...
4654 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4656 * src/hildon-window.c: do not get the private date from HildonWindow before
4657 it passes the g_return_if_fail check. Once it's passed the test, there's no
4658 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4659 if you are only going to access the data once. Whitespace cleanups.
4661 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4663 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4664 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4666 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4672 * debian/changelog: Updating.
4674 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4676 * src/hildon-window.c: When destroying the window, remove (if exists) the
4677 escape timeout handler. Fixes #NB59276.
4679 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4681 * src/hildon-banner.c: When realizing the widget, set the window
4682 transiency. Setting the transiency in the gobject constructor is not
4683 good, as the widget is not realized at that point. Fixes: #NB56624.
4685 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4687 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4688 Add padding for future expansions.
4690 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4692 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4693 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4694 will fake an activation on the previous to the last item of the trail, so
4695 the effect can be overrided by the developer as usual.
4696 Also change the callback for the back button to do the same thing, so its
4697 effect can be overrided too. Fixes: NB#58982
4699 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4701 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4702 HildonCaption. Fixes NB#52379.
4704 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4706 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4707 the internal state of the trail after the user has had the chance of executing
4708 his handler for the signal. Specifically, it may happen that the activated button
4709 is removed and the user still lets the default handler run. This would segfault
4712 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4714 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4715 scrollbar to the preview dialog. Fixes NB#54147.
4717 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4719 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4720 max/min year properties can be altered, so the client can modify it
4721 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4723 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4725 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4726 hildonlike by default. Fixing a problem with disappearing arrows when
4727 scrolling through months and years. Fixes NB#54127.
4729 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4731 * examples/hildon-date-editor-example.c: Adding error callback to the date
4734 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4740 * configure.ac: Updating.
4742 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4744 * configure.ac: Adding a special '--enable-xan' configure option that
4745 turns off the -Werror compilation setting. Usefull for development.
4747 * src/hildon-calendar.c:
4748 * src/hildon-number-editor.c:
4749 * src/hildon-time-picker.c: Adding the 5* multiplier to
4752 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4754 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4755 instead of g_object_ref + gtk_object_sink.
4757 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4763 * debian/changelog: Updating.
4765 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4767 * src/hildon-color-chooser-dialog.c:
4768 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4769 straight from Tommi labs.
4771 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4773 * examples/hildon-finger-example.c: Correcting the header file path.
4775 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4776 the changed signal. Fixes a small memory leak.
4778 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4782 * src/hildon-banner.c: Importing several usefull fixes from the
4783 ubuntu-mobile branch.
4785 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4787 * examples/Makefile.am:
4788 * examples/hildon-finger-example.c: Adding a finger-checking code
4791 * src/hildon-font-selection-dialog.c: Do not allocate the color
4792 structure using the g_new. Fixes NB#54061.
4794 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4796 * src/hildon-helper.c: Correcting tabs in file.
4798 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4800 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4801 control the visibility of the children.
4803 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4805 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4811 * debian/changelog: Updating.
4813 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4815 * src/hildon-bread-crumb-trail.c:
4816 (hildon_bread_crumb_trail_size_allocate):
4818 Make the back button always a square.
4820 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4822 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4823 from the .c file as it's a private file.
4825 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4827 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4828 uses slightly bigger height.
4830 * src/hildon-font-selection-dialog.c: Adding some checks before
4831 freeing memory in the font selection dialog.
4833 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4835 * src/hildon-font-selection-dialog.c: Adding a small check when
4838 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4839 buttons sensitivity on page switching.
4841 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4843 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4844 internal details of adding a bread crumb to the trail.
4846 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4852 * debian/changelog: Updating.
4854 * src/hildon-bread-crumb-trail.h:
4855 * src/hildon-bread-crumb.h: Changing the API guard to
4856 HILDON_ENABLE_UNSTABLE_API.
4858 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4866 * src/hildon-helper.h: Updating.
4868 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4876 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4880 * src/hildon-helper.h: Small fix to make the package actually compile.
4882 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4884 * src/hildon-bread-crumb-trail.h:
4885 * src/hildon-bread-crumb.h:
4887 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4888 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4890 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4892 * examples/hildon-bread-crumb-trail-example.c:
4894 * src/hildon-bread-crumb-trail.c:
4895 * src/hildon-bread-crumb-trail.h:
4896 * src/hildon-bread-crumb.c:
4897 * src/hildon-bread-crumb.h:
4898 * src/hildon-marshalers.list:
4899 * src/hildon-bread-crumb-widget.c:
4900 * src/hildon-bread-crumb-widget.h:
4902 Slight change in the widget design. The bread crumb trail API is
4903 unchanged, but HildonBreadCrumb is now an interface. A *private*
4904 implementation, hildon-bread-crumb-widget, is provided and used
4905 internally by the trail for the push_text/push_icon functions.
4907 The generic push API is still available, so anyone can implement
4908 and use its own bread crumb widget.
4910 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4912 * debian/rules: Fixing the shlibs.
4914 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4916 * src/hildon-banner.c: Fixing a problem with timed banners having
4917 their parrent destroyed before they are.
4919 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4921 * src/hildon-bread-crumb.c:
4922 * src/hildon-bread-crumb.h:
4924 Make the get_natural_size function a vfunc.
4926 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4928 * src/hildon-bread-crumb.c:
4929 * src/hildon-bread-crumb-trail.c:
4933 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4940 * debian/changelog: Updating for release.
4942 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4944 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4945 don't leak the pango layout.
4947 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4950 * examples/hildon-bread-crumb-trail-example.c:
4954 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4956 * debian/changelog: Removing the bug-fixed entries that were actually
4957 resolved as WONTFIX.
4959 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4962 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4964 * src/hildon-bread-crumb-trail.c:
4965 * src/hildon-bread-crumb-trail.h:
4966 * src/hildon-bread-crumb.c:
4967 * src/hildon-bread-crumb.h:
4971 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4973 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4974 until it's passed the type check.
4976 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4978 * examples/hildon-bread-crumb-trail-example.c
4982 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4984 * examples/Makefile.am
4985 * examples/hildon-bread-crumb-trail-example.c
4987 * src/hildon-bread-crumb-trail.c
4988 * src/hildon-bread-crumb-trail.h
4989 * src/hildon-bread-crumb.c
4990 * src/hildon-bread-crumb.h
4992 New HildonBreadCrumbTrail widget.
4994 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4996 * src/hildon-range-editor.c (hildon_range_editor_init),
4997 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4998 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4999 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
5000 hildon_time_editor_class_init, hildon_time_editor_init),
5001 src/hildon-get-password-dialog.c (invalid_input,
5002 hildon_get_password_set_property, hildon_get_password_get_property,
5003 create_contents, hildon_get_password_dialog_set_max_characters),
5004 src/hildon-set-password-dialog.c (create_contents),
5005 src/hildon-date-editor.c (hildon_date_editor_init),
5006 src/hildon-login-dialog.c (hildon_login_dialog_init),
5007 src/hildon-number-editor.c (hildon_number_editor_init),
5008 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
5009 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
5010 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
5011 configure option and adding the respective checks in the code.
5012 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
5013 hildon_calendar_drag_data_received): fixed some build warnings.
5015 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5017 * debian/changelog: A 1.0.0 release notes.