1 2008-12-09 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable_area.h:
4 * src/hildon-pannable_area.c:
5 (hildon_pannable_area_class_init),
6 (hildon_pannable_area_set_property),
7 (hildon_pannable_area_get_property),
8 (hildon_pannable_area_size_request),
9 (hildon_pannable_area_get_size_request_policy),
10 (hildon_pannable_area_set_size_request_policy): Added new API
11 allowing applications to control the request policy. Now they can
12 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
13 children allocation (HILDON_MOVEMENT_CHILDREN).
15 2008-12-09 Alberto Garcia <agarcia@igalia.com>
19 (hildon_gtk_tree_view_set_ui_mode)
20 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
21 mode of treeviews and iconviews.
23 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
25 * src/hildon-touch-selector-entry.c:
26 (hildon_touch_selector_entry_init): Use a HildonEntry instead
27 of a GtkEntry to get proper theming.
29 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
32 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
34 * src/hildon-wizard-dialog.c: (response): Move forward if there is
35 no HildonWizardDialogPageFunc.
37 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
39 Patch contributed by Iván Gómez (igomez@igalia.com)
41 * src/hildon-app-menu.c:
42 * src/hildon-button.c:
43 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
44 * src/hildon-stackable-window.c:
45 * src/hildon-time-selector.c:
46 * src/hildon-touch-selector.c:
47 * src/hildon-window.c:
49 Add more "since" tags to the new API in hildon 2.2.
51 2008-12-05 Tim Janik <timj@imendio.com>
53 Patch contributed by Christian Dywan (christian@imendio.com)
55 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
56 HildonSizeType, which are supplied by Gtk+ now.
58 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
60 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
61 (with maemo changes) instead)
63 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
65 Patch contributed by Iván Gómez (igomez@igalia.com)
67 * src/hildon-pannable-area.c: Add "since" tags to the new API in
70 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
72 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
73 (some_page_func), (main): Update the example to use a
74 HildonWizardDialogPageFunc function.
76 * src/hildon-wizard-dialog-private.h: Add private data for
77 the HildonWizardDialogPageFunc function usage.
79 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
80 (destroy), (hildon_wizard_dialog_init), (response),
81 (hildon_wizard_dialog_set_forward_page_func):
82 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
83 that applications can use to stop a HildonWizardDialog to jump to
86 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
89 2008-12-04 Alberto Garcia <agarcia@igalia.com>
91 * src/hildon-program.h
92 * src/hildon-program-private.h
93 * src/hildon-program.c (hildon_program_init)
94 (hildon_program_set_common_app_menu)
95 (hildon_program_get_common_app_menu):
96 New API for setting a common HildonAppMenu for all
97 HildonStackableWindows registered with the HildonProgram.
99 * src/hildon-stackable-window.c
100 (hildon_stackable_window_toggle_menu):
101 Use the common HildonAppMenu if a window doesn't have a specific
104 * src/hildon-app-menu-private.h
105 * src/hildon-app-menu.c
106 (hildon_app_menu_get_parent_window):
107 Function to obtain the window a HildonAppMenu is attached to.
108 (hildon_app_menu_set_parent_window):
109 Hide the menu if the parent window is set to NULL.
111 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
113 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
114 set GtkTreeView::enable-search to FALSE, to avoid the interactive
115 search widget to popup.
117 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
119 * configure.ac: post release version bump
120 * debian/changelog: version bump
122 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: bump version
128 * debian/changelog: updates
130 2008-12-02 Alberto Garcia <agarcia@igalia.com>
132 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
134 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
135 (hildon_window_stack_window_realized)
136 (hildon_window_stack_remove, _hildon_window_stack_do_push):
137 Set the leader GdkWindow when a window is stacked and realized,
138 unset it when it's unstacked.
139 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
141 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
143 2008-12-02 Alberto Garcia <agarcia@igalia.com>
145 * src/hildon-stackable-window.h
146 * src/hildon-window-stack.h:
147 Protect definition of HildonWindowStack using the preprocessor.
149 2008-12-02 Alberto Garcia <agarcia@igalia.com>
151 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
152 Fix warning if all menu items are hidden.
154 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
156 Patch contributed by Daniel Borgmann (danielb@openismus.com)
158 * src/hildon-controlbar.c:
159 * src/hildon-hvolumebar.c:
160 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
161 Multiple scale size defines updates.
163 Fixes: NB#94322 (Scale Updates)
165 2008-12-02 Alberto Garcia <agarcia@igalia.com>
167 * examples/hildon-app-menu-example.c (create_menu)
168 Show items after adding them to the menu, as in the future the
169 menu will no longer call gtk_widget_show() on the added items.
171 * src/hildon-app-menu.c:
172 Update example as explained above.
174 2008-12-02 Alberto Garcia <agarcia@igalia.com>
176 * src/hildon-app-menu.c
177 (hildon_app_menu_insert, hildon_app_menu_add_filter):
178 Make sure that all menu items have finger height.
180 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
182 * src/hildon-picker-dialog.c:
183 (_on_dialog_response), (_save_current_selection),
184 (_restore_current_selection), (_clean_current_selection),
185 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
186 Defined new functions in order to save the current internal selector
187 selection previous open the dialog, in case that the use cancel the
188 interaction, so the widget restores the previous selection.
190 Fixes: NB#92032 (In calendar application, date values in 'new event'
193 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
195 2008-11-28 Alberto Garcia <agarcia@igalia.com>
197 * src/hildon-button.c: Add a reference to the button examples in
198 hildon-button-example.c
200 * examples/hildon-button-example.c: Added examples of the most
201 common button layouts.
203 2008-11-28 Alberto Garcia <agarcia@igalia.com>
205 * src/hildon-app-menu.c (hildon_app_menu_show)
206 (hildon_app_menu_class_init): Don't show the menu if it's empty.
208 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
210 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-picker-dialog.c:
213 (hildon_picker_dialog_init): Initialize the signal id for
214 HildonTouchSelector::columns-changed.
215 (+on_selector_columns_changed): Set up the interaction mode everytime a
216 column is added or removed from the HildonTouchSelector.
217 (_hildon_picker_dialog_set_selector): Connect to
218 HildonTouchSelector::columns-changed and keep track of it.
220 Make sure to update the interaction mode of the dialog everytime a
221 column is added or removed in the HildonTouchSelector.
223 Fixes: NB#93228 (Done button is not shown always in listpicker)
225 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
227 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
228 a new ::columns-changed signal.
229 (hildon_touch_selector_append_column): Emit ::columns-changed.
230 (hildon_touch_selector_remove_column): Emit ::columns-changed.
232 Add a ::columns-changed signal, emitted when the number of columns in a
233 HildonTouchSelector changes.
235 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
237 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
238 (_hildon_picker_dialog_set_selector): Factor out the code
239 to set up the dialog interaction mode.
241 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
243 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
244 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
245 to signal_changed_id.
247 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
249 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
252 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
254 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
255 Updated the logical ids related to ampm format, as now it is required to
256 show it correctly localized even on languages with no default
257 abbreviations for am or pm
258 (_check_am_pm_format): check correctly the 24h format gconf property
260 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
262 2008-11-27 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-button.c: Documentation updates.
266 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
268 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
269 * src/hildon-caption.c: (hildon_caption_class_init):
270 * src/hildon-color-button.c: (hildon_color_button_class_init):
271 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
272 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
273 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
274 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
276 Remove deprecated GTK+ marshalers and replace them with the ones
277 provided by GLib, for those available, add a marshaler for
278 BOOLEAN:VOID, which is not available in GLib, and use it.
280 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
282 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
283 the text from the previous column if there is no
284 HildonTouchSelectorColumn::text-property set.
286 2008-11-27 Alberto Garcia <agarcia@igalia.com>
288 * src/hildon-button.h
289 * src/hildon-button.c (hildon_button_set_property)
290 (hildon_button_get_property, hildon_button_class_init)
291 (hildon_button_set_style, hildon_button_get_style):
292 New "style" property to change the visual appearance of the
295 * src/hildon-picker-button.c (hildon_picker_button_new):
296 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
298 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
299 HildonButton look like PickerButton)
301 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
304 column while building the default string.
306 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
308 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
309 scroll indicator by default.
311 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
313 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
315 * src/hildon-main.c: Fix the documentation for hildon_init()
317 2008-11-25 Alberto Garcia <agarcia@igalia.com>
319 * doc/hildon-docs.sgml
323 * src/hildon-window-stack-private.h
324 * src/hildon-window-stack.h
325 * src/hildon-window-stack.c:
326 New HildonWindowStack object, that adds support for multiple
327 stacks of windows per process.
329 * src/hildon-stackable-window-private.h
330 * src/hildon-stackable-window.h
331 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
332 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
333 (hildon_stackable_window_show, hildon_stackable_window_hide)
334 (hildon_stackable_window_class_init)
335 (hildon_stackable_window_init):
336 Use HildonWindowStack for stack management.
338 * src/hildon-program.c (hildon_program_pop_window_stack)
339 (hildon_program_peek_window_stack)
340 (hildon_program_go_to_root_window):
341 Add a fallback implementation to the deprecated functions using
344 * examples/hildon-stackable-window-example.c:
345 Use the new HildonWindowStack API.
347 2008-11-25 Alberto Garcia <agarcia@igalia.com>
349 * src/hildon-stackable-window-private.h
350 * src/hildon-stackable-window.c (hildon_stackable_window_show)
351 (hildon_stackable_window_hide, hildon_stackable_window_init):
352 Remove all window stack management.
354 * src/hildon-program-private.h
355 * src/hildon-program.h
356 * src/hildon-program.c (hildon_program_init)
357 (hildon_program_pop_window_stack)
358 (hildon_program_peek_window_stack)
359 (hildon_program_go_to_root_window):
360 Remove all window stack management and mark functions as
363 2008-11-25 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-app-menu.c (hildon_app_menu_realize):
366 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
368 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
370 * configure.ac: post release version bump
371 * debian/changelog: version bump
373 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
378 * configure.ac: bump version
379 * debian/changelog: updates
381 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
383 Based on initial code by Christian Dywan (christian@imendio.com)
385 * doc/hildon-docs.sgml: Add section for hildon-main.
386 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
387 * src/Makefile.am: Add new hildon-main.[ch]
388 * src/hildon-defines.h: Update the icon sizes.
389 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
390 new library initialization files and register icon sizes.
391 * src/hildon-main.h: New declarations.
392 * src/hildon.h: Include hildon-main.h
394 Add new initialization functions to the library. These methods
395 will register the hildon specific icon sizes and can be used in the
396 future for other hildon specific bits.
398 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
400 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
402 * src/hildon-window.c: (hildon_window_realize),
403 (hildon_window_notify), (-hildon_window_update_title): Do not set
404 the application name in the window title.
406 Fixes: NB#89754 (Applications shouldn't display their names in the
409 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-note-private.h:
412 * src/hildon-note.c: (hildon_note_set_property),
413 (hildon_note_get_property), (hildon_note_class_init),
414 (hildon_note_init), (hildon_note_finalize),
415 (hildon_note_new_confirmation_with_icon_name),
416 (hildon_note_new_information_with_icon_name):
418 No need to mark as deprecated the actual code. Revert
419 to avoid missing symbols in widgets using deprecated API.
421 2008-11-20 Alberto Garcia <agarcia@igalia.com>
423 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
425 * src/hildon-volumebar.h
426 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
427 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
429 * src/hildon-helper.h
430 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
431 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
433 * examples/Makefile.am:
434 Deprecate hildon-insensitive-example
436 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
438 2008-11-20 Alberto Garcia <agarcia@igalia.com>
440 * examples/hildon-pannable-area-buttons-scroll-example.c:
441 Make all buttons finger height
443 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
445 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
447 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
448 update the day model only if it is really required, and to avoid the
449 full-reconstruction aproach. Now it only add or remove the required days.
451 The purpose of this is avoid superfluous HildonTouchSelector::changed
454 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
455 with strange parameters)
457 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
459 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
461 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
462 the WINDOW_TYPE property.
464 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
466 2008-11-19 Alberto Garcia <agarcia@igalia.com>
469 Fix dependency to allow parallel compilation with make -jX
471 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
473 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
474 color frame and some minor tweaks to make it more consistent with
477 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
478 highlighted but not visible)
480 2008-11-14 Alejandro G. Castro <alex@igalia.com>
482 * examples/Makefile.am: Fixed typo in the Makefile.am.
484 2008-11-14 Alejandro G. Castro <alex@igalia.com>
486 Reviewed the use of MAEMO_GTK define, now we add the define in the
487 compilation line, and we also add it to the pc file.
489 * configure.ac: Added MAEMO_GTK define to the compilation command
490 and removed it from the config.h.
492 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
493 do not have to take care about this define if the library was
497 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
499 2008-11-14 Alejandro G. Castro <alex@igalia.com>
501 * examples/Makefile.am,
502 * examples/hildon-pannable-area-buttons-scroll-example.c,
503 * examples/hildon-pannable-area-gesture-signals-example.c,
504 * examples/hildon-pannable-area-scroll-jump-example.c,
505 * examples/hildon-pannable-area-tree-view-example.c:
506 Renamed the pannable area examples, now they have more meaningful
509 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
511 * src/hildon-touch-selector.c:
512 (hildon_touch_selector_set_column_selection_mode): Used of
513 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
514 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
515 to avoid re-seting the same selection mode.
517 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
518 breaks HildonPickerDialog)
520 2008-11-13 Alejandro G. Castro <alex@igalia.com>
522 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
523 conditional in the Makefile.am
525 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
527 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
528 Remove unused methods.
530 2008-11-12 Alberto Garcia <agarcia@igalia.com>
532 * src/hildon-button.c (hildon_button_init):
533 Make button images center-aligned by default
535 2008-11-12 Alejandro G. Castro <alex@igalia.com>
538 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
539 activated, we have to think about how to deal with both defines
540 MAEMO_GTK and MAEMO_CHANGES.
542 2008-11-12 Alberto Garcia <agarcia@igalia.com>
544 * examples/hildon-app-menu-example.c (create_menu): Make all
547 2008-11-11 Alejandro G. Castro <alex@igalia.com>
549 Fixed the compilation without maemo gtk adding ifdefs with
550 MAEMO_GTK define to the code, we have to check this version more
553 * examples/Makefile.am: Added control to avoid some examples that
554 just make sense with maemo gtk.
557 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
558 hildon modes with the define.
560 * examples/hildon-edit-toolbar-example.c,
561 (create_icon_view): Create the icon view without hildon-gtk
562 helpers if we are not using maemo gtk.
564 * src/hildon-touch-selector.c,
565 (_create_new_column): Create the treeview without hildon-gtk
566 helpers if we are not using maemo gtk.
568 2008-11-11 Alejandro G. Castro <alex@igalia.com>
570 * src/hildon-pnnable-area.c,
571 (hildon_pannable_area_dispose),
572 (hildon_pannable_area_button_press_cb),
573 (hildon_pannable_area_child_mapped),
574 (hildon_pannable_area_add),
575 (hildon_pannable_area_remove): Added code to control the position
576 of the event_window when adding and removing children from the
577 pannable. We have to raise the event window when the child is
580 Fixes: NB#89811 (Not able to select first image thumbnail in multi
581 selection mode using custom widget inside pannable)
583 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
585 * configure.ac: post release version bump
586 * debian/changelog: version bump
588 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
593 * configure.ac: bump version
594 * debian/changelog: updates
596 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
598 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
599 search mode, in order to avoid lose the focus on the treeview when
600 a hw key (like enter) is pressed.
602 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
603 in HildonDateSelector dialog)
605 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
607 * debian/rules: Added --enable-maintainer-mode
608 * Makefile.am: Added ACLOCAL_AMFLAGS
610 This allows to properly regenerate the Makefiles if you modify the
611 configure.ac or any Makefile.am.
613 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
615 * examples/hildon-app-menu-example.c: (main): Do not set RC style
616 properties, not needed at all.
618 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
620 * src/hildon-note-private.h: Add strings for the icon and stock_icon
622 * src/hildon-note.c: (hildon_note_set_property),
623 (hildon_note_get_property), (hildon_note_class_init),
624 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
625 (hildon_note_new_confirmation_add_buttons): Remove icons.
626 (hildon_note_new_confirmation_with_icon_name): Deprecate.
627 (hildon_note_new_information_with_icon_name): Deprecate.
628 (hildon_note_new_confirmation): Act directly, without calling
629 the deprecated constructor.
630 (hildon_note_new_information): Act directly, without calling
631 the deprecated constructor.
632 * src/hildon-note.h: Mark deprecate methods as such.
633 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
634 not run tests on the deprecated methods if built with deprecation
637 Fixes: NB#91688 (Never show icons in information notes/confirmation
640 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
643 (hildon_app_menu_key_press): Remove leftover usage of the
644 private structure in HildonAppMenu struct.
645 * src/hildon-app-menu.h: Remove leftover private structure
646 from the HildonAppMenu struct.
648 Fixes a crasher when using the HildonAppMenu.
650 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
652 * src/hildon-picker-dialog.c: Use appropriate logical id
653 for the default "Done" text.
655 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
657 * configure.ac: post release version bump
658 * debian/changelog: version bump
660 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
662 Modified the way to scroll to the current selection just when the touch
663 selector is shown on the screen, avoiding a g_idle. Added too a property
664 to configure this behaviour. See hildon_pannable_area_jump_to_child
665 documentation for more information.
667 * src/hildon-touch-selector.c
668 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
669 Added 'initial-scroll' property
670 (hildon_touch_selector_set_property): Added
671 (hildon_touch_selector_map): Removed as not required anymore
672 (_hildon_touch_selector_on_selected_items): Modified in order to manage
673 only a concrete column, instead of iterate along all the columns
675 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
680 * configure.ac: bump version
681 * debian/changelog: updates
683 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
685 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
686 compilation time warnings.
688 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
691 the default value for HildonPannableArea::mov-mode to
692 HILDON_PANNABLE_AREA_MODE_VERT.
694 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
696 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
698 Reverting following commit:
700 2008-10-13 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-app-menu-private.h
703 * src/hildon-app-menu.[ch]
704 * src/hildon-button.[ch]
705 * src/hildon-check-button.[ch]
706 * src/hildon-entry.[ch]
707 * src/hildon-pannable-area.[ch]
708 * src/hildon-text-view.[ch]:
709 Added private field to the object's structure.
711 because it causes an ABI breakage. We will need to introduce these
712 changes later at some point. See NB#91636 for an extensive
713 explanation and status.
715 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
717 Patch contributed by Daniel Borgmann (danielb@openismus.com)
719 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
720 remove special cases that are no longer necessary.
722 Fixes: NB#91016 (Change toolbar sizes, simplification)
724 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
726 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
727 is shown in the cancel note.
729 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
731 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
732 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
733 (hildon_seekbar_init): Remove steppers, remove expose event.
734 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
736 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
738 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
741 label font to "SmallSystemFont" for vertically arranged buttons.
743 Fixes: NB#90662 (HildonButton "value" and "detail" text is
746 2008-10-31 Alberto Garcia <agarcia@igalia.com>
748 * src/hildon-check-button.c
749 (hildon_check_button_set_active, hildon_check_button_clicked):
750 Don't access private parts directly, use getters instead.
752 2008-10-31 Alberto Garcia <agarcia@igalia.com>
754 * src/hildon-check-button.c (hildon_check_button_new):
755 Align the contents of the check button to the left.
757 2008-10-30 Alejandro G. Castro <alex@igalia.com>
759 * src/hildon-pannable-area.c,
760 (hildon_pannable_area_scroll_to),
761 (hildon_pannable_area_jump_to),
762 (hildon_pannable_area_scroll_to_child),
763 (hildon_pannable_area_jump_to_child): Replace the mapped
764 precondition of these functions with the realized, it is the
765 correct state of the widget in this case. Changed the
766 documentation according to this modification.
768 2008-10-30 Alejandro G. Castro <alex@igalia.com>
770 Added a new EXTRA_CFLAGS option to add the deprecated define to
771 the compilation command. This way we can avoid using the define in
772 the documentation compilation.
774 * configure.ac: Defined EXTRA_CFLAGS.
776 * examples/Makefile.am:
778 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
780 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
782 * src/hildon-picker-dialog.c:
783 Defined a utility macro with the desired touch selector height
784 Removed currently unused separator, and title_label variables from
786 (hildon_picker_dialog_init): Removed code related to the creation
787 of unused private variables title_label and separator.
788 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
789 to ensure correct visualization of the touch selector inside the dialog.
790 * src/hildon-touch-selector.c
791 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
792 ensure a concrete height of the widget.
794 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
799 Remove spurious whitespaces.
801 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
803 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
804 compilation warning after the cancel button removal.
806 2008-10-30 Alejandro G. Castro <alex@igalia.com>
808 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
810 * configure.ac: Added an AM_CONDITIONAL in order to use in the
811 Makefile.am, that way we can choose not to compile some examples
812 and tests of the deprecated widgets.
814 * examples/Makefile.am: Divided the sources in deprecated and
817 * src/Makefile.am: Added undef statement of the deprecated
818 symbol to the enums file generation process.
820 * src/hildon-color-chooser-dialog.c
821 * src/hildon-color-chooser-dialog.h
822 * src/hildon-color-button.c
823 * src/hildon-color-button.h
824 * src/hildon-color-chooser.c
825 * src/hildon-color-chooser.h
826 * src/hildon-controlbar.c
827 * src/hildon-controlbar.h
828 * src/hildon-date-editor.c
829 * src/hildon-date-editor.h
830 * src/hildon-hvolumebar.c
831 * src/hildon-hvolumebar.h
832 * src/hildon-private.c
833 * src/hildon-private.h
834 * src/hildon-range-editor.c
835 * src/hildon-range-editor.h
836 * src/hildon-seekbar.c
837 * src/hildon-seekbar.h
838 * src/hildon-time-editor.c
839 * src/hildon-time-editor.h
840 * src/hildon-time-picker.c
841 * src/hildon-time-picker.h
842 * src/hildon-volumebar.c
843 * src/hildon-volumebar.h
844 * src/hildon-vvolumebar.c
845 * src/hildon-vvolumebar.h
846 * src/hildon-bread-crumb-trail.h
847 * src/hildon-bread-crumb-trail.c
848 * src/hildon-calendar-popup.c
849 * src/hildon-calendar-popup.h
850 * src/hildon-weekday-picker.c:
851 * src/hildon-weekday-picker.h:
852 * src/hildon-bread-crumb-widget.c:
853 * src/hildon-bread-crumb-widget.h:
854 * src/hildon-bread-crumb.c:
855 * src/hildon-bread-crumb.h:
856 * src/hildon-calendar.c:
857 * src/hildon-calendar.h:
858 * src/hildon-caption.c:
859 * src/hildon-code-dialog.c:
860 * src/hildon-code-dialog.h:
861 * src/hildon-font-selection-dialog.c:
862 * src/hildon-font-selection-dialog.h:
863 * src/hildon-get-password-dialog.c:
864 * src/hildon-get-password-dialog.h:
865 * src/hildon-login-dialog.c:
866 * src/hildon-login-dialog.h:
867 * src/hildon-number-editor.c:
868 * src/hildon-number-editor.h:
869 * src/hildon-set-password-dialog.c:
870 * src/hildon-set-password-dialog.h:
871 * src/hildon-sort-dialog.c:
872 * src/hildon-sort-dialog.h: This is the list of deprecated
875 * src/hildon-touch-selector.c:
876 * src/hildon-window.c: Added undef statement to avoid compilation
879 * tests/Makefile.am: Divided the sources in deprecated and
882 * tests/check_test.c,
883 (configure_tests): Marked the deprecated code that was adding
884 suites with deprecated tests.
886 Fixes: NB#91135 (Deprecate legacy hildon widgets)
888 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
890 * src/hildon-touch-selector.c: (_default_print_func): Do not
891 duplicate a string returned by gtk_tree_model_get(), it is already
894 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
897 2008-10-28 Alejandro G. Castro <alex@igalia.com>
899 * src/hildon-pannable-area.c
900 (hildon_pannable_area_add_with_viewport): Reviewed the complete
901 method, it had problems when adding a widget with viewport the
902 second time. Now checks if it already has a viewport and uses it.
904 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
907 2008-10-28 Alejandro G. Castro <alex@igalia.com>
909 * src/hildon-pannable-area.c,
910 (hildon_pannable_area_scroll_to),
911 (hildon_pannable_area_jump_to),
912 (hildon_pannable_area_scroll_to_child),
913 (hildon_pannable_area_jump_to_child): Added a precondition to the
914 scroll and jump to functions: the widget must be mapped before we
915 can safely call these functions. We have also added documentation
916 to the functions to explain how to use them in this situation.
919 2008-10-28 Alejandro G. Castro <alex@igalia.com>
921 Reviewed the threading handling of the pannable widget, we have
922 used the gdk_threads_add_timeout function instead of the usual
923 glib handlers. This avoids some problems with the threads.
925 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
926 (hildon_pannable_area_initial_effect),
927 (hildon_pannable_area_scroll_indicator_fade),
928 (hildon_pannable_area_button_press_cb),
929 (hildon_pannable_area_timeout),
930 (hildon_pannable_area_motion_notify_cb),
931 (hildon_pannable_area_button_release_cb),
932 (hildon_pannable_area_scroll_cb),
933 (hildon_pannable_area_scroll_to): Removed the
934 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
935 gdk_threads_add_timeout.
937 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
939 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
944 * configure.ac: bump version
945 * debian/changelog: updates
947 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
949 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
950 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
951 * src/hildon-color-chooser-dialog.c:
952 (hildon_color_chooser_dialog_init):
953 * src/hildon-font-selection-dialog.c:
954 (hildon_font_selection_dialog_init):
955 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
957 Remove all cancel/close-like dialogs, as these are not going to be
960 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
962 * src/hildon-note.c: (hildon_note_rebuild),
963 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
966 Fixes: NB#90661 (Delete dialog is displayed without NO button)
968 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
970 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
971 sure all buttons are shown, even the Cancel/Close-like ones.
973 Fixes: NB#90861 (Custom Confirmation dialogs should be
974 protected from cancel button removal)
976 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
978 * debian/control: Change libhildon1-examples dependency from libhildon1
980 * debian/libhildon1-examples.install
982 * Makefile.am: Modified the final install directory for the examples on
983 package libhildon1-examples
984 * Makefile.static: Update clean target in order to remove all the binary
987 Changes suggested by Claudio after review new libhildon1-examples package
989 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
992 * src/hildon-touch-selector.c: Ditto.
994 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
996 * debian/control: Added new package libhildon1-examples, in order to pack
997 the current hildon examples as documentation
998 * debian/rules: Not to compress .c files, modify some includes on the
999 examples (as normally are compiled locally, but when installed it will
1000 require to include the installed libhildon1 library), and rename
1002 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
1003 install all the example files on the new example package
1004 * examples/Makefile.static: Added static makefile that can be used to
1005 compile the examples, once installed the new example package
1006 * examples: Most of the examples were modified in order to grant that
1007 all use only '#include "hildon.h"', in order to be easy to prepare
1008 it on the example package
1010 2008-10-23 Alberto Garcia <agarcia@igalia.com>
1013 * debian/libhildon1-dev.install
1014 * debian/libhildon1-doc.install:
1015 Move all gtk-doc files to a separate libhildon1-doc package.
1017 2008-10-23 Daniel Borgmann <danielb@openismus.com>
1019 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
1021 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
1023 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
1025 * debian/rules: Fixed a error in order to avoid unnecessary calls
1026 to autogen.sh on package building
1028 2008-10-22 Alberto Garcia <agarcia@igalia.com>
1030 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
1032 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
1034 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
1037 2008-10-21 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-picker-button.c
1040 (hildon_picker_button_finalize):
1041 Free priv->done_button_text
1043 * src/hildon-time-button.c
1044 (hildon_time_button_set_time)
1045 * src/hildon-picker-button.c
1046 (hildon_picker_button_clicked)
1047 (hildon_picker_button_selector_selection_changed)
1048 (hildon_picker_button_set_selector)
1049 * src/hildon-date-button.c
1050 (hildon_date_button_set_date):
1051 Free strings returned by hildon_touch_selector_get_current_text()
1053 * src/hildon-button.c (hildon_button_construct_child):
1054 Fix leaks in priv->image and priv->label_box
1056 Fixes: NB#90535 (Memory leak in picker button)
1058 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/hildon-button.c: (hildon_button_get_property): Do not access
1061 private elements directly, use getters instead.
1063 2008-10-20 Alberto Garcia <agarcia@igalia.com>
1065 * src/hildon-app-menu-private.h
1066 * src/hildon-app-menu.c
1067 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
1068 Store the menu's parent window.
1070 * src/hildon-stackable-window.c
1071 (hildon_stackable_window_toggle_menu)
1072 (hildon_stackable_window_finalize):
1073 Set the menu's parent window when the menu is shown, unset it when
1076 * src/hildon-app-menu.c
1077 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
1078 (hildon_app_menu_class_init):
1079 Send unhandled keyboard accelerators to the parent window.
1081 2008-10-20 Alberto Garcia <agarcia@igalia.com>
1083 * src/hildon-stackable-window.c
1084 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
1086 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1088 * configure.ac: post release version bump
1090 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1093 * configure.ac: Bump version
1094 * debian/changelog: Updates
1095 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
1098 2008-10-20 Alberto Garcia <agarcia@igalia.com>
1100 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1103 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
1104 GtkMenu with Hildon style.
1106 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1108 * src/hildon-picker-button.c:
1109 (hildon_picker_button_set_done_button_text): Set the dialog's
1110 done button text here as well.
1112 Fixes: NB#90232 (Picker button does not set the label on done button
1113 for the second time)
1115 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
1120 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-app-menu.c (hildon_app_menu_insert)
1123 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
1124 the HildonAppMenu to be activatable using keyboard accelerators
1125 when the menu is not being shown.
1127 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
1129 2008-10-16 Alberto Garcia <agarcia@igalia.com>
1131 * src/hildon-stackable-window.c
1132 (hildon_stackable_window_show):
1133 Don't hide old windows automatically when new windows are shown:
1134 this is now a task for the window manager.
1135 (hildon_stackable_window_class_init)
1136 (hildon_stackable_window_hide):
1137 Remove windows from the stack everytime they're hidden.
1138 (hildon_stackable_window_realize):
1139 Don't change the _NET_WM_WINDOW_TYPE property. Use
1140 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
1141 it as a stackable window.
1143 * src/hildon-program.c
1144 (hildon_program_pop_window_stack):
1145 Just hide the window to remove it from the stack.
1146 (hildon_program_go_to_root_window):
1147 Don't call gtk_widget_show(), this is now a task for the window
1150 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
1152 2008-10-15 Alberto Garcia <agarcia@igalia.com>
1154 * src/hildon-button.c
1155 (hildon_button_construct_child):
1156 Don't pack anything in the button until text or image are
1157 set. This allows adding a custom child after creating the button
1158 with hildon_button_new().
1159 (hildon_button_finalize, hildon_button_class_init)
1160 (hildon_button_init, hildon_button_set_arrangement): Destroy the
1161 alignment and the label box even when they're not packed in the
1164 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
1166 * src/hildon-touch-selector.h:
1167 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
1168 currently the type definition was using GTK_TYPE_VBOX
1169 * src/hildon-touch-selector.c:
1170 Added some implementation notes in order to clarify that any other widget
1171 added without the column related API will not be included on the
1172 selection logic, and how the widget is freed, as some people ask about
1174 (hildon_touch_selector_remove): Reimplemented in order to free properly
1175 the column related data when you remove the private hbox.
1176 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
1177 to get a proper HildonTouchSelectorColumn documentation
1179 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1181 * src/hildon-touch-selector-entry.c:
1182 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1183 text in the GtkEntry and there is no item selected. Fixes a
1186 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1188 * src/hildon-app-menu-private.h
1189 * src/hildon-app-menu.[ch]
1190 * src/hildon-button.[ch]
1191 * src/hildon-check-button.[ch]
1192 * src/hildon-entry.[ch]
1193 * src/hildon-pannable-area.[ch]
1194 * src/hildon-text-view.[ch]:
1195 Added private field to the object's structure.
1197 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1199 * configure.ac: post-release version bump
1201 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1205 * configure.ac: pre-release version bump
1207 * debian/changelog: updates.
1209 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1211 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1212 Disconnect the handler for HildonTouchSelector::changed.
1214 (hildon_picker_button_selector_selection_changed): Update the button
1215 value if the selection change was not triggered by the
1218 (hildon_picker_button_set_selector): connect to
1219 HildonTouchSelector::changed.
1221 Fixes: NB#89650 (Picker button is not updated, when selection in
1222 selector has changed)
1224 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1226 * src/hildon-picker-dialog.c
1227 (hildon_picker_dialog_realize): Removed as not required
1228 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1229 * src/hildon-picker-button.c
1230 (_current_selector_empty): New function, checks if the selector is empty
1231 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1232 if the current selector is empty, in order to avoid to show the dialog
1233 close the dialog in this case (and shows a g_warning).
1235 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1237 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1239 * src/hildon-pannable-area.c,
1240 (hildon_pannable_area_scroll): Added clause to stop movement when
1241 the child of pannable is smaller than one page.
1242 (hildon_pannable_area_scroll_to): Added conditions to avoid
1243 starting the scrolling movement if the child is smaller than one
1244 page, the complete child is in the screen, we do not have to move.
1246 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1248 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1250 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1251 this is managed automatically by the widget when the size of the
1254 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-picker-button.c
1257 (hildon_picker_button_set_done_button_text): Make a copy of the
1258 text, and free the previous value.
1260 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1262 * src/hildon-touch-selector-entry.c:
1263 (hildon_touch_selector_entry_print_func): Return the selected row's
1264 text if the entry is empty.
1266 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1269 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1271 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1273 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1276 * src/hildon-check-button.h
1277 * src/hildon-check-button.c
1278 * examples/hildon-check-button-example.c:
1279 HildonCheckButton is now a new widget. 'toggled' signal added.
1281 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-program-private.h
1284 * src/hildon-program.c (hildon_program_init)
1285 (hildon_program_finalize): Removed unused variables group_leader
1286 and name from HildonProgramPrivate.
1288 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-check-button.c (hildon_check_button_set_active)
1291 (hildon_check_button_get_active, hildon_check_button_new): Use
1292 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1294 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1296 * src/hildon-touch-selector.h
1297 (hildon_touch_selector_set_column_attributes): added deprecation
1298 guard HILDON_DISABLE_DEPRECATED
1299 * src/hildon-time-selector.c
1300 (hildon_time_selector_set_time)
1301 (hildon_time_selector_get_time): Fixed a typo on documentation
1302 * src/hildon-touch-selector.c: update HildonTouchSelector and
1303 HildonTouchSelectorColumn documentation
1304 * src/hildon-touch-selector-entry.c: update "text-column" property
1306 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1307 to be added to the general documentation.
1309 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1311 * examples/hildon-pannable-area-example-4.c,
1313 * examples/hildon-pannable-area-example.c,
1314 (main): Modified the code in order to use the container add, with
1315 viewport treeviews could have problems if they are really big.
1317 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1319 * src/hildon-weekday-picker.c,
1320 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1321 the agreement regarding deprecation in the library.
1323 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1325 * examples/hildon-picker-button-multicolumn-example.c:
1326 (main): Use custom "done" button text.
1328 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1329 (hildon_picker_button_set_property),
1330 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1331 (hildon_picker_button_init),
1332 (+hildon_picker_button_get_done_button_text),
1333 (+hildon_picker_button_set_done_button_text): New methods to customize
1334 the "done" button label in the launched HildonPickerDialog. Also,
1337 * src/hildon-picker-button.h: add the public API.
1339 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1341 * src/hildon-date-selector.h:
1342 * src/hildon-picker-dialog.h:
1343 * src/hildon-time-selector.h:
1344 * src/hildon-touch-selector-column.h:
1345 * src/hildon-touch-selector.h:
1347 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1348 declarations. Fixes gtk-doc warnings.
1350 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-picker-dialog.h
1353 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1354 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1356 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1357 long text is set as label for done button)
1359 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-dialog.c (hildon_dialog_add_button):
1362 Set fixed width to all buttons in the HildonDialog.
1364 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1366 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1368 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1369 Set widget name using class name plus "-finger" or "-thumb".
1371 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1373 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1374 'clicked' when the state of the button is manually changed.
1376 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-app-menu.c (hildon_app_menu_realize)
1379 (hildon_app_menu_unrealize, hildon_app_menu_init)
1380 (hildon_app_menu_class_init, item_visibility_changed):
1381 Change the menu layout when the size of the screen changes.
1382 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1383 Show warning only when changing the number of colums using the
1386 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1388 * debian/compat: Set to 5
1389 * debian/control: Update dependencies.
1390 * debian/libhildon1-dbg.install: Remove.
1391 * debian/libhildon1-dev.install: Update according to cdbs paths.
1392 * debian/libhildon1.install: Update according to cdbs paths.
1393 * debian/rules: Switch to cdbs.
1395 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1397 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1398 'item' variable renamed to 'filter'
1400 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1402 * src/hildon-app-menu.c (hildon_app_menu_insert)
1403 (hildon_app_menu_add_filter, remove_item_from_list)
1404 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1405 Don't leak hidden items when the menu is destroyed.
1407 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1409 * src/hildon-app-menu.c (hildon_app_menu_insert)
1410 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1411 (hildon_app_menu_set_columns, item_visibility_changed)
1412 (filter_visibility_changed, hildon_app_menu_repack_filters)
1413 (hildon_app_menu_repack_items):
1414 Repack items and filters separately.
1416 Don't repack all items, change only the ones that are needed to
1419 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1421 * src/Makefile.am: added hildon-touch-selector-column.h
1423 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1425 * src/hildon-touch-selector.c: added the property "text-column" to the
1426 class HildonTouchSelectorColumn, and related get/set functions
1427 (_default_printf_func): updated to use "text-column" property
1428 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1429 "text-column" in his documentation, as this is now included on
1430 HildonTouchSelectorColumn. The get/set_property can still be used,
1431 working as a wrapper to the concrete column "text-column" property
1432 (_text_column_modified): callback added in order to handle the signal
1433 "notify::text-column" of the concrete HildonTouchSelectorColumn
1434 (hildon_touch_selector_entry_get_text_column)
1435 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1436 modified in order to use the HildonTouchSelectorColumn "text-column"
1438 * src/hildon-time-selector.c:
1439 * src/hildon-date-selector.c:
1440 * examples/hildon-touch-selector-example.c
1441 * examples/hildon-touch-selector-multi-cells-example.c
1442 * examples/hildon-picker-button-multicolumn-example.c
1443 Set the right value to "text-column" property on the creation of a new
1444 column using hildon_touch_selector_append_column()
1446 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1448 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1450 * src/hildon-app-menu.c
1451 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1452 updating the layout of the menu, don't create all widgets again,
1453 just repack the items in their new places.
1455 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1457 * src/hildon-time-selector.c
1458 (hildon_time_selector_get_time)
1459 (hildon_time_selector_set_time)
1460 Added documentation of these public methods
1462 * src/hildon-date-button.h
1463 * src/hildon-touch-selector-column.h
1464 * src/hildon-time-button.h
1465 * src/hildon-picker-dialog.h
1466 * src/hildon-time-selector.h
1467 * src/hildon-picker-button.h
1468 * src/hildon-touch-selector.h
1469 * src/hildon-time-picker.h
1470 * src/hildon-date-selector.h
1471 * src/hildon-touch-selector-entry.h
1472 Modified in order to use hildon-widgets code style
1474 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1476 Added deprecated support to the compilation process using
1477 HILDON_DISABLE_DEPRECATED
1479 * configure.ac: Added the --disable-deprecated to the configure
1482 * src/hildon-weekday-picker.c:
1483 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1484 to use the deprecated support. We will update the other deprecated
1485 widgets status in a new patch.
1487 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1489 * configure.ac: Fixed typo with fatal warnings support, the
1490 variable name was not correct
1492 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1494 * src/hildon-app-menu.c
1495 * src/hildon-program.c: Update documentation.
1497 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1499 * configure.ac: Post-release version bump.
1501 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1506 * configure.ac: Pre-release version bump.
1507 * debian/changelog: Updates.
1509 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1511 * NEWS: Update news for previous releases.
1513 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1515 * examples/hildon-touch-selector-multi-cells-example.c:
1516 (create_selector): Update the example to use
1517 hildon_touch_selector_append_column() with a NULL renderer and set
1518 the renderers later.
1519 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1520 passed a NULL renderer. This is documented behavior now.
1522 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1523 This must be used if the developer wants full control on the layout of
1524 the renderers to be added to the column.
1526 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1528 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-touch-selector.c: Documentation fixes.
1532 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1534 * src/hildon-wizard-dialog-private.h: Remove image and box.
1535 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1536 (hildon_wizard_dialog_set_property), (response): Completely remove
1537 image/icon support, and the containers required for the layout.
1539 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1541 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1543 * src/hildon-app-menu.c: Updated documentation.
1545 * src/hildon-stackable-window.c
1546 (hildon_stackable_window_set_main_menu): Unref the old menu after
1547 ref'ing the new one.
1549 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1551 * src/hildon-stackable-window.c
1552 (hildon_stackable_window_set_main_menu): Unref the previous menu
1553 instead of destroying it.
1555 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1556 floating reference and set has_user_ref_count to FALSE to make
1557 HildonAppMenu act like a normal ref-counted widget and not a
1560 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1563 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1565 * src/hildon-touch-selector-column.h: new file
1566 * src/hildon-touch-selector.h
1567 * src/hildon-touch-selector.c
1568 Implemented GtkCellLayout interface, in order to allow to configure
1569 the cell layout on each individual selector column
1570 (hildon_touch_selector_set_column_attributes): marked as deprecated
1571 * examples/hildon-touch-selector-multi-cells-example.c
1572 Example of how to use the GtkCellLayout interface on the selector
1574 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1576 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1578 * src/hildon-app-menu.h
1579 * src/hildon-app-menu.c
1580 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1581 (hildon_app_menu_append, hildon_app_menu_prepend):
1582 New methods to prepend, insert and move items in the menu.
1584 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1586 * src/hildon-wizard-dialog.c:
1588 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1590 (create_title): Update logical IDs and related code.
1591 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1593 * src/hildon-wizard-dialog.h: Note that
1594 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1595 point, as it is not used anymore.
1597 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1599 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1601 * src/hildon-note.c:
1602 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1603 shown. Do not display an icon in confirmation notes nor information
1605 (hildon_note_set_button_text): Update logical ID for cancel button.
1607 Fixes: NB#88850 (Update HildonNote button strings + signals)
1609 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1611 * src/hildon-stackable-window.c
1612 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1614 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-app-menu-private.h
1617 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1618 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1619 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1620 temporary property 'columns' to change the number of columns.
1622 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1624 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1626 * examples/hildon-note-example.c: (on_information_clicked),
1627 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1628 debugging information.
1629 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1631 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1632 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1633 in order to close: this will be handled by the WM from now on.
1635 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1637 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1639 * src/hildon-app-menu-private.h
1640 * src/hildon-app-menu.c
1641 (hildon_app_menu_append, hildon_app_menu_add_filter)
1642 (button_visibility_changed, hildon_app_menu_apply_style)
1643 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1644 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1645 layout everytime a button (item or filter) is shown or hidden.
1647 * src/hildon-stackable-window.c
1648 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1651 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1653 * src/hildon-touch-selector.c:
1654 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1655 that the treeview inside the touch selector is in fremantle hildon mode
1656 * examples/hildon-date-button-example.c
1657 * examples/hildon-picker-button-multicolumn-example.c
1658 * examples/hildon-touch-selector-entry-example.c
1659 * examples/hildon-touch-selector-example.c
1660 * examples/hildon-time-button-example.c
1661 * examples/hildon-picker-button-example.c:
1662 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1664 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1666 * examples/hildon-text-view-example.c: (main): Remove the
1667 gtkrc bits, now handled by the theme.
1669 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1674 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1676 * po/Makefile.am: Install properly the mo files.
1677 * po/en_GB.po: Update translation, to ease testing purposes.
1679 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1681 * examples/hildon-picker-button-example.c: (main): Select an item
1682 in the selector before setting it to the button.
1684 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1687 Update button's value if the selector has an item active.
1689 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1690 'value' with the selector)
1692 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1694 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1695 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1696 (hildon_picker_button_class_init): Plug the finalize method.
1697 (hildon_picker_button_set_selector): If there's a previously set
1698 selector, unref'it before setting a new one.
1700 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1701 HildonTouchSelector)
1703 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-touch-selector-entry.c:
1706 (hildon_touch_selector_entry_changed): Check if there is no text
1707 selected before setting the entry text.
1710 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1712 * src/hildon-touch-selector.h
1713 * src/hildon-touch-selector.c
1714 (hildon_touch_selector_get_active)
1715 (hildon_touch_selector_set_active): New methods to set/get the
1716 index of the selected item.
1718 * src/hildon-picker-button.h
1719 * src/hildon-picker-button.c
1720 (hildon_picker_button_get_active)
1721 (hildon_picker_button_set_active): New methods to set/get the
1722 index of the selected item.
1724 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1726 * configure.ac: post-release version bump.
1728 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1732 * configure.ac: Pre-release version bump.
1733 * debian/changelog: Updates.
1734 * debian/control: Add myself as maintainer and depend on l10n
1737 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1739 * src/hildon-window.c
1740 (hildon_window_set_main_menu)
1741 * src/hildon-stackable-window.c
1742 (hildon_stackable_window_set_main_menu):
1743 Updated documentation.
1745 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1747 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1748 Don't free selector->priv manually.
1751 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1754 (hildon_gtk_window_set_progress_indicator):
1755 * src/hildon-gtk.h: Added the new API
1756 hildon_gtk_window_set_progress_indicator, it changes the state of
1757 the window progress hint.
1759 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-button.c
1762 * src/hildon-stackable-window.c: Minor documentation updates.
1764 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-stackable-window.c: Updated documentation.
1768 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-defines.h: Update margins definitions
1771 to the Fremantle sizes.
1774 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1776 * src/hildon-touch-selector.c,
1777 (_hildon_touch_selector_set_model): Cleaning the code after
1778 review, removed g_print and #if 0 from the code.
1780 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1782 * src/hildon-edit-toolbar.c: Update documentation.
1784 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-check-button.h
1787 * src/hildon-check-button.c
1788 (hildon_check_button_set_label, hildon_check_button_get_label)
1789 * examples/hildon-check-button-example.c
1790 (button_clicked_cb):
1791 Removed deprecated methods.
1793 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1795 * src/hildon-text-view.c:
1796 Add sample code to the documentation.
1798 * src/hildon-entry.h
1799 * src/hildon-text-view.h:
1800 Minor cosmetic changes.
1802 * src/hildon-entry.c:
1803 Add sample code to the documentation.
1804 (hildon_entry_init, hildon_entry_refresh_contents):
1805 Don't allow NULL values in the placeholder.
1807 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1809 * doc/hildon-docs.sgml
1811 * examples/Makefile.am
1812 * examples/hildon-text-view-example.c
1814 * src/hildon-text-view.c
1815 * src/hildon-text-view.h
1817 New HildonTextView widget, with example.
1819 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1821 * po/POTFILES.in: Add missing files with translatable strings.
1822 Partially fixes NB#88287.
1824 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1826 * examples/hildon-pannable-area-example-2.c: (main): No need to
1827 set the cellrenderer height inside hildon touch lists, the theme does
1830 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1832 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1833 they are integrated in the theme.
1835 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1837 * examples/hildon-entry-example.c: Update the example adding
1838 widgets to modify the text and the placeholder of the HildonEntry.
1840 * src/hildon-entry.c: Show the placeholder everytime the widget
1841 is empty and loses the focus.
1843 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1845 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1847 * src/hildon-pannable-area.c,
1848 (hildon_pannable_area_size_request): Fixed bug in height
1849 requisition, avoid increasing size and add border twice.
1851 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1853 * configure.ac: postrelease version bump.
1855 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1859 * configure.ac: Prerelease version bump.
1860 * debian/changelog: update.
1861 * debian/rules: make -dbg package contain useful debugging symbols.
1863 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-dialog.h
1866 * src/hildon-dialog.c
1867 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1868 New methods to add buttons with finger size.
1869 (hildon_dialog_new_with_buttons):
1870 Create buttons with finger size.
1872 * examples/hildon-dialog-example.c (main): Use HildonDialog
1873 methods to add buttons.
1875 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1877 * src/hildon-entry.c: Updated HildonButton documentation.
1879 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1881 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1882 button value label with (FALSE, FALSE) to prevent NB#88126 from
1885 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1887 * examples/hildon-pannable-area-example.c,
1888 (main): Removed examples panning a vbox inside a pannable
1889 area. Check bug NB#87965
1891 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1893 Patch contributed by Kris Rietveld (kris@imendio.com)
1895 * src/hildon-pannable-area.c,
1896 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1897 get_size and get_position, this saves an X server roundtrip.
1899 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1901 * doc/hildon-docs.sgml
1903 * examples/Makefile.am
1904 * examples/hildon-entry-example.c
1906 * src/hildon-entry.c
1907 * src/hildon-entry.h
1909 New HildonEntry widget, with example.
1911 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-button.c (hildon_button_construct_child): Pack the
1914 image with expand == fill == FALSE. This is a workaround for a bug
1917 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1919 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1920 labels for the text column, to make it more look more dynamic.
1922 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1924 * src/hildon-time-selector.c
1925 Define gettext auxiliar macro N_
1926 (_create_minutes_model)
1927 (_create_hours_model)
1928 (_create_ampm_model): use of strftime in order to fill the model
1929 * src/hildon-date-selector.c
1930 (hildon_date_selector_finalize):
1931 (_locales_init): remove the logic related to get the name of the months
1932 using nl_langinfo, as it is not required anymore
1934 (_create_year_model)
1935 (_create_month_model)
1936 (_update_day_model): use of strftime in order to fill the model properly
1939 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1941 * src/hildon-button.h
1942 * src/hildon-button.c (hildon_button_get_image): New method to
1945 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-touch-selector.c:
1948 (hildon_touch_selector_remove_column): Remove from the correct parent
1949 and also remove the list element and free it.
1952 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1954 * src/hildon-time-selector.c
1955 (_create_hours_model): change the range on 12h ampm format in order to use
1956 a 12-11 range instead of previous 01-12 range
1957 (hildon_time_selector_set_time): change the way to select the current time
1958 on 12h ampm format, due the change on the range
1959 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1962 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1964 * src/hildon-touch-selector.c
1965 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1966 in order to allow use this function on multiple row selection mode if
1967 the column is different that the first one
1970 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1973 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1975 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1977 * src/hildon-date-selector.h: clean some comments, now on the .c
1978 * src/hildon-date-selector.c
1979 (hildon_date_selector_select_month): first implementation
1980 (hildon_date_selector_select_day): added documentation, reimplemented
1981 using hildon_date_selector_select_current_date to avoid repeat code
1984 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1986 Reviewed interaction logic based on device experiences, refactored
1989 * src/hildon-pannable-area.c,
1990 (hildon_pannable_area_class_init): Updated default vmax speed.
1991 (hildon_pannable_area_calculate_velocity): Added this function, it
1992 avoids duplicate valocity calculation. Adjusted calculation to
1993 avoid problems with zero dist events.
1995 (hildon_pannable_area_motion_notify_cb): Now we use the
1996 calculate_velocity function.
1998 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
2000 * src/hildon-date-selector.c
2001 (hildon_date_selector_select_current_date): fix the day range check
2002 as it failed using the last day of the current month
2005 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
2007 * src/hildon-touch-selector.c
2008 (hildon_touch_selector_get_num_columns): added a parameter validation
2011 2008-08-29 Alberto Garcia <agarcia@igalia.com>
2013 * examples/Makefile.am
2014 * examples/hildon-edit-toolbar-example.c: Example of the
2015 HildonEditToolbar widget.
2017 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2019 * configure.ac: postrelease version bump.
2021 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: prerelease version bump.
2026 * debian/changelog: update.
2028 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2030 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
2031 renderer to display stock icons in the touch list. Also, set the sizes
2032 to the recommended in the style guide.
2034 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
2035 * src/hildon-touch-selector.h
2036 (hildon_touch_selector_set_active_iter): renamed, now is
2037 hildon_touch_selector_select_iter
2038 (hildon_touch_selector_get_active_iter): renamed, now is
2039 hildon_touch_selector_get_selected
2040 (hildon_touch_selector_unselect_iter): added
2041 * src/hildon-touch-selector.c
2042 Update after API modification (methods renamed)
2043 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
2044 order to avoid problems selecting multiple elements on the column
2045 (hildon_touch_selector_unselect_iter): added the implementation
2046 * src/hildon-time-selector.c
2047 * src/hildon-date-selector.c
2048 * src/hildon-touch-selector-entry.c
2049 Update methods calls after hildon-touch-selector.h API modification (methods
2052 2008-08-29 Alberto Garcia <agarcia@igalia.com>
2054 * src/hildon-stackable-window.c
2055 (hildon_stackable_window_finalize): Call the parent class's finalize.
2057 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2059 * examples/hildon-touch-selector-example.c: (create_selector): Use
2060 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
2063 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
2065 * examples/hildon-touch-selector-example.c: (create_selector): Do not
2066 set a cell background color, to respect theming.
2068 2008-08-28 Alberto Garcia <agarcia@igalia.com>
2070 * doc/hildon-docs.sgml
2073 * src/hildon-edit-toolbar.c
2074 * src/hildon-edit-toolbar.h
2075 * src/hildon.h: New HildonEditToolbar widget.
2077 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
2079 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
2082 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
2083 * src/hildon-touch-selector.c
2084 (_create_new_column): use g_object_set instead of two g_object_set_property
2086 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
2087 * src/hildon-touch-selector.c
2088 (_create_new_column): use of hildon_gtk_tree_view_new to create
2089 the treeview, instead of use directly g_object_new
2090 (_create_new_column): update the property name "vindicator-mode" for the
2091 new one "vscrollbar-policy"
2092 * examples/hildon-date-button-example.c
2093 * examples/hildon-picker-button-multicolumn-example.c
2094 * examples/hildon-touch-selector-entry-example.c
2095 * examples/hildon-touch-selector-example.c
2096 * examples/hildon-time-button-example.c
2097 * examples/hildon-picker-button-example.c
2098 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
2099 to all the treeviews inside a pannable area.
2101 2008-08-27 Alberto Garcia <agarcia@igalia.com>
2103 * src/hildon-button.h
2104 * src/hildon-button.c (hildon_button_init)
2105 (hildon_button_set_arrangement, hildon_button_set_alignment)
2106 (hildon_button_set_title_alignment)
2107 (hildon_button_set_value_alignment)
2108 (hildon_button_set_image_alignment)
2109 (hildon_button_construct_child): New methods to set the alignment
2110 of the individual components of the button (title, value,
2111 image). Also, new method to alter the xscale and yscale properties
2112 of the GtkAlignment inside the button, so more complex layouts can
2115 2008-08-27 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-button.c (hildon_button_style_set)
2118 (hildon_button_class_init, hildon_button_set_arrangement)
2119 (hildon_button_construct_child): Apply style properties
2120 correctly. Use the 'image-spacing' style property too.
2122 2008-08-26 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-app-menu.c (hildon_app_menu_style_set)
2125 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
2128 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2130 * src/hildon-pannable-area.c,
2131 (hildon_pannable_area_size_request): Fixed problem with
2132 pannable-area size_request.
2134 2008-08-26 Alejandro G. Castro <alex@igalia.com>
2136 Added management for the grab-focus to a child widget, like a
2137 range, we need to fade out the scrollbar when releasing.
2139 * src/hildon-pannable-area.c,
2140 (hildon_pannable_area_init): Connected the grab-focus signal to
2142 (hildon_pannable_area_grab_notify): Added this function in order
2143 to manage the situation when the grab-focus ends. We have to
2144 fade-out the scrollbar.
2146 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-app-menu.c: Minor documentation update.
2150 2008-08-25 Alberto Garcia <agarcia@igalia.com>
2152 * src/hildon-app-menu.c
2153 * examples/hildon-app-menu-example.c (create_menu): Update
2154 examples and documentation to explain how to connect callbacks.
2156 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
2158 * examples/hildon-button-example.c
2159 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
2160 hildon_stackable_window_new instead of gtk_window_new
2162 2008-08-22 Alejandro G. Castro <alex@igalia.com>
2164 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
2165 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
2166 (hildon_pannable_area_set_property),
2167 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
2168 (hildon_pannable_area_unrealize),
2169 (hildon_pannable_area_size_request),
2170 (hildon_pannable_area_size_allocate),
2171 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
2172 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
2173 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
2174 (hildon_pannable_area_initial_effect),
2175 (hildon_pannable_area_redraw),
2176 (hildon_pannable_area_scroll_indicator_fade),
2177 (hildon_pannable_area_expose_event),
2178 (hildon_pannable_area_get_topmost), (synth_crossing),
2179 (hildon_pannable_area_button_press_cb),
2180 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2181 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2182 (hildon_pannable_area_motion_notify_cb),
2183 (hildon_pannable_area_button_release_cb),
2184 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2185 (hildon_pannable_area_remove),
2186 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2187 chage the code layout to a more GtkWidget like. Review the use of
2190 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2192 * examples/hildon-pannable-area-example-4.c,
2193 (main): Modified the name of the hindicator_mode to
2196 * src/hildon-pannable-area.c,
2197 (hildon_pannable_area_class_init),
2198 (hildon_pannable_area_motion_notify_cb),
2199 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2200 we have reduced the amount of signals and managed reviewed its
2201 rationale. Changed the default decelerate value.
2203 (hildon_pannable_area_add),
2204 (hildon_pannable_area_redraw): Refactored functions.
2206 (hildon_pannable_area_init),
2207 (hildon_pannable_area_get_property),
2208 (hildon_pannable_area_set_property):
2209 (hildon_pannable_draw_vscroll),
2210 (hildon_pannable_draw_hscroll),
2211 (hildon_pannable_area_initial_effect),
2212 (hildon_pannable_area_expose_event),
2213 (hildon_pannable_area_scroll),
2214 (hildon_pannable_area_button_press_cb),
2215 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2216 and vindicator_mode with hscrollbar_policy and
2217 vscrollbar_policy. Replaced hscroll and vscroll with
2218 hscroll_visible and vscroll_visible.
2220 (hildon_pannable_area_refresh): Refactor the function, remove
2221 variables and check the calls to this function, added resize
2222 conditions in case the children change their layout.
2224 (hildon_pannable_area_size_request): Added more detailed
2225 size_request calculation.
2228 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2230 * src/hildon-color-chooser.c
2231 (init_borders): use the correct gtk_border_free instead of g_free, to
2232 avoid a crash when this widget is used (ie: the three color selection
2235 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2237 * src/hildon-check-button.c,
2238 (hildon_check_button_set_active): Fixed problem when setting the
2239 active value, the widget was not redrawn.
2241 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2243 * src/hildon-pannable-area.c,
2244 (hildon_pannable_area_refresh),
2245 (hildon_pannable_area_scroll),
2246 (hildon_pannable_area_motion_notify_cb): Small code style change.
2248 (hildon_pannable_area_class_init): Default initial_hint set to
2249 FALSE, it is not in the specs.
2251 (hildon_pannable_area_initial_effect),
2252 (hildon_pannable_area_expose_event),
2253 (hildon_pannable_area_map),
2254 (hildon_pannable_area_init): Moved the launching point of the
2255 initial effect, it was in map but the sizes where not correct in
2256 that method so we do not know if we have the reproduce it. Now it
2257 is placed in the expose_event method and uses a variable to
2258 reproduce it just once.
2260 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2262 * src/hildon-pannable-area.c,
2263 (hildon_pannable_draw_vscroll),
2264 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2265 position allowed for the scrollbars.
2267 (hildon_pannable_area_size_allocate): Small style change.
2269 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2271 * src/hildon-pannable-area.c,
2272 (hildon_pannable_area_scroll_indicator_fade),
2273 (hildon_pannable_area_button_press_cb),
2274 (hildon_pannable_area_button_release_cb),
2275 (hildon_pannable_area_scroll_cb),
2276 (hildon_pannable_area_expose_event),
2277 (hildon_pannable_area_init): Added the define parameter
2278 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2279 and refactor the fade variable.
2281 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2283 * src/hildon-pannable-area.c,
2284 (hildon_pannable_area_redraw),
2285 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2286 lines, we were reimplemeting the redraw code.
2288 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2290 * src/hildon-pannable-area.c,
2291 (hildon_pannable_area_scroll_cb),
2292 (hildon_pannable_area_realize),
2293 (hildon_pannable_area_class_init): Added scroll_event management
2294 for pannable area, now we can scroll the usual desktop method.
2296 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2297 initialization of the parameters should depend on idle_id.
2299 (hildon_pannable_area_init),
2300 (hildon_pannable_area_map): Small code style modifications
2302 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-pannable-area.c
2305 (hildon_pannable_area_button_press_cb),
2306 (hildon_pannable_area_motion_notify_cb),
2307 (hildon_pannable_area_button_release_cb),
2308 (hildon_pannable_area_size_allocate),
2309 (hildon_pannable_area_scroll_to): Improved the timeouts
2310 management, we avoid creating them each time.
2312 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2314 * src/hildon-pannable-area.c:
2315 (hildon_pannable_area_refresh),
2316 (hildon_pannable_area_motion_notify_cb),
2317 (hildon_pannable_area_class_init):
2318 * src/hildon-pannable-area.h:
2319 * src/hildon-touch-selector.c
2320 (_create_new_column):
2321 * examples/hildon-pannable-area-example-4.c:
2322 (horizontal_movement),
2323 (vertical_movement),
2325 Replaced the names of enums in the HildonPannableArea:
2326 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2327 HILDON_MOVEMENT_MODE_*
2328 - HILDON_PANNABLE_AREA_MOV_* ->
2330 - Removed HildonPannableAreaIndicatorMode, now we
2333 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2335 * examples/hildon-pannable-area-touch-grid-example.c
2336 * examples/hildon-pannable-area-touch-list-example.c: Fix
2337 compilation warnings.
2339 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2341 * src/hildon-gtk.c (hildon_gtk_button_new)
2342 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2343 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2344 images overriding the value of the "gtk-button-images" setting.
2346 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-check-button.c (hildon_check_button_new):
2349 Instead of using a custom container, display the label and the
2350 checkbox using the standard GtkButton API.
2352 * examples/hildon-check-button-example.c (main): Don't use
2353 hildon_check_button_set_label() anymore
2355 * src/hildon-check-button.h
2356 * src/hildon-check-button.c
2357 (hildon_check_button_set_label, hildon_check_button_get_label):
2358 Set as deprecated, now we're using gtk_button_{get,set}_label()
2360 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2362 * src/hildon-pannable-area.c,
2363 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2364 GtkTreeview first line we detected it after the inclusion of the
2365 GtkWindowImpl in gtk+. We now check if the window is visible, not
2366 just if the pointer is over the window.
2367 (hildon_pannable_axis_scroll),
2368 (hildon_pannable_area_expose_event): Small style changes.
2370 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-button.c: Update documentation.
2374 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2376 * examples/hildon-button-example.c: Add a switch to show images in
2379 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2381 * doc/hildon-docs.sgml: Some docs reorganization.
2383 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2385 * examples/hildon-pannable-area-touch-list-example.c
2387 * examples/hildon-pannable-area-touch-grid-example.c
2388 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2389 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2390 Fix memory leak when setting the tree model.
2392 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2396 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2398 * doc/hildon.types: Remove duplicated hildon_window_get_type
2399 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2400 documentation comment.
2402 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2404 * doc/Makefile.am: Complete list of private headers.
2406 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2408 * doc/hildon-docs.sgml
2409 * src/hildon-app-menu.c
2410 * src/hildon-bread-crumb.c
2411 * src/hildon-button.c
2413 * src/hildon-program.c
2414 * src/hildon-stackable-window.c
2415 * src/hildon-window.c: Lots of documentation updates.
2417 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2419 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2421 * configure.ac: Require Gtk+ 2.12.9 at least
2423 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2425 * src/hildon-pannable-area.c
2426 (hildon_pannable_area_scroll_indicator_fade),
2427 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2428 to protect the return of this timeout callbacks, avoiding deadlocks.
2430 2008-08-12 Christian Dywan <christian@imendio.com>
2433 * src/hildon-*.h: Ensure a consistent include order,
2434 include <gtk/gtk.h> instead of particular files and
2435 only include the topmost header in the gtk stack. See NB #39857
2437 2008-08-12 Christian Dywan <christian@imendio.com>
2439 * src/hildon-picker-dialog.c
2440 * src/hildon-touch-selector.c: Fix warnings about unused and
2441 uninitialized variables.
2443 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2445 * examples/Makefile.am
2446 * examples/hildon-check-button-example.c: Example of the hildon
2449 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-window.h
2452 * src/hildon-window.c (hildon_window_class_init)
2453 (hildon_window_unset_program): Don't make
2454 hildon_window_unset_program a virtual function anymore.
2456 * src/hildon-stackable-window.c: Update documentation
2458 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2461 * doc/hildon-docs.sgml
2462 * doc/visual_index.xml
2463 * src/hildon-defines.c
2465 * src/hildon-helper.c
2466 * src/hildon-range-editor.c: Lots of documentation fixes.
2468 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2470 * examples/hildon-picker-button-multicolumn-example.c
2471 (create_touch_selector): Fix compilation warning.
2473 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2476 (hildon_pannable_area_button_release_cb)
2477 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2479 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2481 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2484 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2486 * src/hildon-bread-crumb-trail.h
2487 * src/hildon-date-editor.c
2488 * src/hildon-date-selector.c
2489 * src/hildon-pannable-area.c
2490 * src/hildon-picker-dialog.c
2491 * src/hildon-time-selector.c
2492 * src/hildon-touch-selector-entry.c
2493 * src/hildon-touch-selector.c
2494 * src/hildon-touch-selector.h: Misc documentation fixes
2496 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2498 * examples/hildon-date-editor-example.c (main): Updated date
2501 * examples/hildon-note-example.c (on_confirmation_clicked):
2502 Updated confirmation note example.
2504 * src/hildon-date-editor.c
2505 * src/hildon-note.c: Updated sample programs in documentation.
2508 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2510 * src/hildon-date-button.h:
2511 * src/hildon-picker-button.h:
2512 * src/hildon-time-button.c:
2513 * src/hildon-time-button.h:
2515 Some declarations changes to allow gtk-doc to document the widgets
2518 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2520 * src/hildon-date-button.c: Document the widget.
2521 * src/hildon-time-button.c: Document the widget.
2523 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-picker-button.c: Document the widget.
2526 * src/hildon-touch-selector-entry.c: Document the widget.
2528 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2530 * doc/hildon-docs.sgml
2533 * src/hildon-check-button.h
2534 * src/hildon-check-button.c: New functions to create the Hildon
2538 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2540 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2542 * src/hildon-button.h
2543 * src/hildon-button.c
2544 (hildon_button_add_title_size_group)
2545 (hildon_button_add_value_size_group)
2546 (hildon_button_add_image_size_group)
2547 (hildon_button_add_size_groups): New functions to set size groups
2548 for the button labels and image.
2549 (hildon_button_new_full): Removed
2551 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2553 * src/hildon-time-selector.c
2554 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2555 in order to avoid a crash if gconf is not available
2557 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2559 * src/hildon-button.c (hildon_button_set_arrangement)
2560 (hildon_button_construct_child): Don't construct the button child
2561 before setting the arrangement.
2563 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-program-private.h
2566 * src/hildon-program.c
2567 * src/hildon-program.h
2568 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2569 (hildon_program_peek_window_stack)
2570 (hildon_program_pop_window_stack)
2571 (hildon_program_go_to_root_window): HildonProgram now has a
2572 separate list for stackable windows. Functions are provided to
2573 manage that list with a stack-like API.
2575 * src/hildon-stackable-window.c: Stackable window management is
2576 now much simpler with the new HildonProgram API. Windows no
2577 longer need to be manually added to the program, they're
2578 automatically pushed to the top of the stack when shown.
2580 * examples/hildon-stackable-window-example.c: Updated example to
2581 reflect the API changes.
2583 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-touch-selector.c: Comment out unimplemented
2586 hildon_touch_selector_insert_column() to avoid a compile warning.
2588 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2591 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2592 (hildon_touch_selector_set_column_selection_mode),
2593 (_hildon_touch_selector_set_model),
2594 (hildon_touch_selector_set_model):
2596 Complete review of HildonTouchSelector documentation.
2598 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2600 * doc/hildon-docs.sgml
2604 * src/hildon-gtk.c: Convenience functions for standard Gtk
2605 widgets, used to easily perform frequent operations.
2607 * src/hildon-button-helpers.h
2608 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2610 * src/hildon-helper.h
2611 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2612 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2614 * src/hildon-button.h
2615 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2617 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-button.c (hildon_button_init)
2620 (hildon_button_set_arrangement, hildon_button_construct_child):
2621 Pack the image and the labels inside the same GtkAlignment so
2622 gtk_button_set_alignment() can be used
2624 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-button.h
2627 * src/hildon-button.c
2628 (hildon_button_init, hildon_button_set_image)
2629 (hildon_button_set_image_position)
2630 (hildon_button_construct_child): New functions to add an image to
2633 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-date-button.c
2636 * src/hildon-picker-button.c
2637 * src/hildon-time-button.c
2638 * src/hildon-button.c:
2639 (hildon_button_class_init): "size-flags" renamed to "size"
2640 (hildon_button_set_title): Hide the title label if set to NULL.
2642 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2644 HildonButtonFlags split into HildonButtonArrangement (to set the
2645 button layout) and HildonSizeType (which can be used for any
2648 * src/hildon-button.h
2649 * src/hildon-button.c
2650 (hildon_button_class_init)
2651 (hildon_button_set_arrangement)
2652 (hildon_button_set_property): New "size-flags"
2653 property. "arrangement-flags" renamed to "arrangement".
2654 (hildon_button_new, hildon_button_new_with_text)
2655 (hildon_button_new_full): Constructors updated to reflect type changes.
2657 * src/hildon-helper.h
2658 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2659 to set the size of a widget.
2663 * src/hildon-button-helpers.c
2664 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2666 * src/hildon-date-button.c
2667 * src/hildon-date-button.h
2668 * src/hildon-picker-button.c
2669 * src/hildon-picker-button.h
2670 * src/hildon-time-button.c
2671 * src/hildon-time-button.h: Updated widgets to reflect
2672 HildonButton API changes.
2674 * examples/hildon-button-example.c
2675 * examples/hildon-date-button-example.c
2676 * examples/hildon-picker-button-example.c
2677 * examples/hildon-picker-button-multicolumn-example.c
2678 * examples/hildon-time-button-example.c
2679 * examples/hildon-touch-selector-entry-example.c
2680 * examples/hildon-touch-selector-example.c: Updated examples to
2681 reflect HildonButton API changes.
2683 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2685 * doc/hildon-docs.sgml:
2687 * examples/Makefile.am:
2688 * examples/hildon-touch-selector-entry-example.c:
2690 * src/hildon-touch-selector-entry.c:
2691 * src/hildon-touch-selector-entry.h:
2694 Moved HildonTouchSelectorEntry from sandbox. Added its
2695 documentation and examples.
2697 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-touch-selector.h:
2700 * examples/hildon-picker-button-multicolumn-example.c:
2701 (hildon_touch_selector_append_text_column): Add a gboolean
2702 parameter to determine if text must be centered in the column.
2704 * src/hildon-date-selector.c: (hildon_date_selector_init):
2705 * src/hildon-time-selector.c: (hildon_time_selector_init):
2706 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2707 (create_touch_selector): Update widgets and example to reflect
2710 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-touch-selector.c:
2713 (hildon_touch_selector_set_active_iter): Set also the cursor in
2716 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2718 * doc/hildon-docs.sgml
2721 * src/hildon-toggle-button.c
2722 * src/hildon-toggle-button.h
2723 * src/hildon.h: Removed HildonToggleButton widget, a derived
2724 class is not necessary for this.
2726 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2728 * src/hildon-pannable-area.c,
2729 (hildon_pannable_area_realize),
2730 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2733 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2736 "done" button the default widget for the dialog.
2738 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2740 * src/hildon-touch-selector.c:
2741 (hildon_touch_selector_class_init),
2742 (hildon_touch_selector_get_property),
2743 (_hildon_touch_selector_set_model),
2744 (_hildon_touch_selector_has_multiple_selection),
2745 (hildon_touch_selector_has_multiple_selection):
2746 Add a "has-multiple-selection" property with a virtual
2747 has_multiple_selection() method to allow derived classes to
2748 override the default value for it. See the method and property
2749 documentation for details.
2751 * src/hildon-touch-selector.h: Add the new API.
2753 * src/hildon-picker-dialog.c: (requires_done_button): Call
2754 hildon_touch_selector_has_multiple_selection() instead of
2755 determining the need for a button itself.
2757 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2760 (_hildon_touch_selector_set_model),
2761 (hildon_touch_selector_set_model): Move working code to
2762 _hildon_touch_selector_set_mode(). Call the class method instead.
2764 * src/hildon-touch-selector.h: Add (*set_model) to
2765 HildonTouchSelectorClass.
2767 Make hildon_touch_selector_set_model() a virtual method, so that
2768 derived classes can extend it and do fancy stuff with the model.
2770 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2772 * configure.ac: Set back the tarname in AC_INIT to hildon.
2774 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2778 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2779 instead of libesd (NB#86876). Volume handling is still an open issue.
2781 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2784 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2787 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2788 derived class to ease placement of an entry widget in
2789 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2790 end, where the selector columns are packed now.
2792 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-picker-button.c: Removed the simple _text() API.
2795 * src/hildon-picker-button.h: Likewise.
2797 * src/hildon-touch-selector.h:
2798 * src/hildon-touch-selector.c:
2799 (hildon_touch_selector_new_text),
2800 (hildon_touch_selector_append_text),
2801 (hildon_touch_selector_prepend_text),
2802 (hildon_touch_selector_insert_text):
2804 Moved the simple _text() API from HildonPickerButton to
2805 HildonTouchPicker, to provide better escalability and not to tie
2806 that API to HildonPickerButton.
2808 * examples/hildon-picker-button-example.c: (main): Example updated.
2810 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2812 * src/hildon-button.c: Updated documentation.
2814 * examples/hildon-button-example.c: Add the posibility to create
2815 the buttons using horizontal layout for title and value.
2817 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-app-menu-private.h
2820 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2821 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2822 GtkSizeGroup for the filters, use the 'homogeneous' property of
2825 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2827 * examples/hildon-button-example.c: Updated example.
2829 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2831 * doc/hildon-docs.sgml:
2834 Update documentation.
2836 * examples/Makefile.am: Update renamed examples.
2838 * examples/hildon-picker-button-multicolumn-example.c:
2839 (create_touch_selector), (main): Update after the rename.
2841 * examples/hildon-touch-picker-example.c: Removed.
2842 * examples/hildon-touch-selector-example.c: (value_changed),
2843 (create_selector), (get_visible_content), (main): Renamed from
2844 hildon-touch-picker-example.c
2846 * src/Makefile.am: Updated renamed files.
2848 * src/hildon-date-button.c: (hildon_date_button_init),
2849 (hildon_date_button_get_date), (hildon_date_button_set_date):
2850 * src/hildon-date-selector.c: (hildon_date_selector_init),
2851 (_custom_print_func), (_update_day_model),
2852 (_manage_selector_change_cb),
2853 (hildon_date_selector_select_current_date),
2854 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2855 * src/hildon-date-selector.h:
2856 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2857 (hildon_picker_button_set_property),
2858 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2859 (hildon_picker_button_init), (hildon_picker_button_new_text),
2860 (hildon_picker_button_append_text),
2861 (hildon_picker_button_prepend_text),
2862 (hildon_picker_button_insert_text),
2863 (hildon_picker_button_set_selector),
2864 (hildon_picker_button_get_selector):
2865 * src/hildon-picker-button.h:
2866 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2867 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2868 (_update_title_on_selector_changed_cb), (requires_done_button),
2869 (_hildon_picker_dialog_set_selector),
2870 (hildon_picker_dialog_set_selector),
2871 (hildon_picker_dialog_get_selector):
2872 * src/hildon-picker-dialog.h:
2873 * src/hildon-time-button.c: (hildon_time_button_init),
2874 (hildon_time_button_get_time), (hildon_time_button_set_time):
2875 * src/hildon-time-selector.c: (hildon_time_selector_init),
2876 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2877 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2878 * src/hildon-time-selector.h:
2881 Massive code updates after the rename.
2883 * src/hildon-touch-picker.c: Removed.
2884 * src/hildon-touch-picker.h: Removed.
2886 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2887 (hildon_touch_selector_init), (hildon_touch_selector_map),
2888 (hildon_touch_selector_remove), (_default_print_func),
2889 (_selection_changed_cb), (_create_new_column),
2890 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2891 (hildon_touch_selector_append_text_column),
2892 (hildon_touch_selector_remove_column),
2893 (hildon_touch_selector_set_column_attributes),
2894 (hildon_touch_selector_insert_column),
2895 (hildon_touch_selector_get_num_columns),
2896 (hildon_touch_selector_get_column_selection_mode),
2897 (hildon_touch_selector_set_column_selection_mode),
2898 (hildon_touch_selector_set_print_func),
2899 (hildon_touch_selector_get_print_func),
2900 (hildon_touch_selector_get_active_iter),
2901 (hildon_touch_selector_set_active_iter),
2902 (hildon_touch_selector_get_selected_rows),
2903 (hildon_touch_selector_get_model),
2904 (hildon_touch_selector_set_model),
2905 (hildon_touch_selector_get_current_text),
2906 (_hildon_touch_selector_center_on_selected_items):
2907 * src/hildon-touch-selector.h: Renamed from
2908 hildon-touch-picker.[ch]
2910 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2911 references, code examples, and related documentation.
2913 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2915 * doc/hildon-docs.sgml
2918 * src/hildon-toggle-button.c
2919 * src/hildon-toggle-button.h
2920 * src/hildon.h: New HildonToggleButton widget.
2922 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2924 * src/hildon-button.c: Add API documentation.
2925 (hildon_button_set_size_groups): Check input parameters
2927 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2929 * src/hildon-pannable-area.c
2930 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2931 effect after reaching the movement thredshold. This way we start
2932 using the distance after passing the thredshold.
2934 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-button.c: (hildon_button_set_property): Use the
2937 appropriate g_value_get_flags() method.
2939 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2941 * doc/hildon-docs.sgml:
2944 Add the touch pickers, picker dialogs, and picker button widgets
2945 to the documentation.
2947 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-button.c: (hildon_button_set_property),
2950 (hildon_button_class_init): Make "arrangement-flags" a proper
2951 G_TYPE_FLAGS derived property.
2953 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2955 * examples/Makefile.am: Add below examples.
2956 * examples/hildon-date-button-example.c:
2957 * examples/hildon-picker-button-example.c:
2958 * examples/hildon-picker-button-multicolumn-example.c:
2959 * examples/hildon-time-button-example.c:
2960 * examples/hildon-touch-picker-example.c:
2962 Add examples for the recently added touch pickers,
2963 picker dialogs, and picker button widgets.
2965 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-button.c: Add some API documentation
2969 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-button.h
2972 * src/hildon-button.c
2974 (hildon_button_new_with_text): New constructor to create a button
2975 with no text at all.
2976 (hildon_button_init, hildon_button_set_arrangement)
2977 (hildon_button_set_title, hildon_button_set_value)
2978 (hildon_button_set_text)
2979 (hildon_button_construct_child): Hide the value when it's not used
2980 so the rest of the text is properly aligned.
2981 Allow creating buttons with arbitrary widgets inside (not just
2982 title/value labels).
2984 * examples/hildon-button-example.c (vertical_buttons_window)
2985 (horizontal_buttons_window): Update example to use new API.
2987 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2989 * src/Makefile.am: Added HildonTimeButton.
2990 * src/hildon-time-button.c: Added missing LGPL header.
2991 * src/hildon-time-button.h: Added missing LGPL header.
2992 * src/hildon.h: Add hildon-time-button.h
2994 Copied HildonTimeButton from sandbox to trunk. Future work on this
2995 widget must take place in trunk.
2997 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/Makefile.am: Added HildonDateButton.
3000 * src/hildon-date-button.c: Update includes.
3001 * src/hildon.h: Add hildon-date-button.h
3003 Copied HildonDateButton from sandbox to trunk. Future work on this
3004 widget must take place in trunk.
3006 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/Makefile.am: Added HildonPickerButton.
3009 * src/hildon-picker-button.h: Update includes.
3010 * src/hildon.h: Add hildon-picker-button.h
3012 Copied HildonPickerButton from sandbox to trunk. Future work on
3013 this widget must take place in trunk.
3015 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3017 * src/Makefile.am: Added HildonPickerDialog.
3018 * src/hildon-picker-dialog.c: Update includes.
3019 * src/hildon.h: Add hildon-picker-dialog.h
3021 Copied HildonPickerDialog from sandbox to trunk. Future work
3022 on this widget must take place in trunk.
3024 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/Makefile.am: Added HildonTimeSelector.
3027 * src/hildon.h: Add hildon-time-selector.h
3029 Copied HildonTimeSelector widget from sandbox to trunk. Future
3030 work on this widget must happen in trunk.
3032 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3034 * src/Makefile.am: Added HildonDateSelector.
3035 * src/hildon.h: Add hildon-date-selector.h
3037 Copied HildonDateSelector widget from sandbox to trunk. Future
3038 work on this widget must happen in trunk.
3040 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3042 * src/Makefile.am: Added HildonTouchPicker.
3043 * src/hildon-touch-picker.c: Update includes.
3044 * src/hildon.h: Add hildon-touch-picker.h
3046 Copied HildonTouchPicker widget from sandbox to trunk. Future work
3047 on this widget must happen in trunk.
3049 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-pannable-area.c:
3052 (hildon_pannable_area_motion_notify_cb): Fix a typo.
3054 2008-07-29 Alberto Garcia <agarcia@igalia.com>
3056 * examples/hildon-app-menu-example.c (main): Let the window
3059 2008-07-29 Alejandro G. Castro <alex@igalia.com>
3061 * src/hildon-pannable-area.c
3062 (hildon_pannable_area_class_init): Set the min value of the
3063 overshoot properties to zero, which points out that not
3064 overshooting allowed.
3066 2008-07-29 Alejandro G. Castro <alex@igalia.com>
3068 Modified the procedure to get the widget at a point inside the
3069 pannable area when using the movement type signals. Now the user
3070 has to call a function to get the child, that way we just
3071 calculate the child in case the user really want to use it and not
3074 * src/hildon-marshalers.list: Modified the marshallers, now we do
3075 not have the widget as a parameter.
3077 * src/hildon-pannable-area.c
3078 (hildon_pannable_area_motion_notify_cb),
3079 (hildon_pannable_area_class_init),
3080 (hildon_pannable_get_child_widget_at): Removed the widget
3081 parameter from the signal callback. We have also refactored the
3082 emission of the signals.
3084 * src/hildon-pannable-area.h: Added a new method to the API to
3085 calculate a widget at a point inside the pannable area,
3086 hildon_pannable_get_child_widget_at.
3088 * examples/hildon-pannable-area-example-4.c
3089 (horizontal_movement): Modified the example to use the new API,
3090 added condition to control which widget is under the event. This
3091 way we can avoid scrolling laterally over other widgets.
3093 2008-07-29 Alejandro G. Castro <alex@igalia.com>
3095 * src/hildon-pannable-area.c
3096 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
3097 modes, we stop getting the pointer events due to returning the
3098 callback without properly calling the get pointer again. Fixed
3099 also an error using the hscroll and vscroll.
3101 2008-07-28 Alberto Garcia <agarcia@igalia.com>
3103 * src/hildon-app-menu-private.h
3104 * src/hildon-app-menu.c (hildon_app_menu_button_press)
3105 (hildon_app_menu_button_release, hildon_app_menu_init)
3106 (hildon_app_menu_class_init): Don't hide the menu on button
3107 release if the user didn't press outside first.
3109 * src/hildon-window.h
3110 * src/hildon-window.c (hildon_window_toggle_menu)
3111 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
3112 hildon_window_toggle_menu a virtual function for the stackable
3113 window to override it.
3115 * src/hildon-stackable-window.h
3116 * src/hildon-stackable-window-private.h
3117 * src/hildon-stackable-window.c
3118 (hildon_stackable_window_realize)
3119 (hildon_stackable_window_finalize)
3120 (hildon_stackable_window_class_init)
3121 (hildon_stackable_window_init)
3122 (hildon_stackable_window_set_main_menu): New function to set the
3123 app menu of a HildonStackableWindow.
3125 * examples/hildon-app-menu-example.c: Remove the button to show
3126 the app menu, now it'll be shown when clicking on the title bar
3129 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
3132 set the widget name if the arrangement flags do not specify
3135 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-button.c: (hildon_button_set_property),
3138 (hildon_button_class_init), (hildon_button_new_full),
3139 (hildon_button_set_arrangement): Added "arrangement-flags"
3142 Make the HildonButtonFlags a construction-only property, to allow
3143 subclasses to set them properly.
3145 2008-07-21 Tim Janik <timj@imendio.com>
3147 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
3148 insertion position after backspace, so additional digits are appended,
3151 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3153 * src/hildon-pannable-area.c,
3154 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
3155 TODO list, it was complete and removed the g_debug and g_print
3158 2008-07-17 Alejandro G. Castro <alex@igalia.com>
3160 Added the movement modes to the hildon-pannable-area, with this
3161 modes the developers can control in which directions the widget
3162 can scroll. They can also connect to signals in order to do
3163 something when that happens, allowing applications scroll. There
3164 is an example uploaded showing how to use it.
3166 * examples/Makefile.am:
3167 * examples/hildon-pannable-area-example-4.c: Added this example of
3168 an application using the modes.
3170 * src/hildon-marshalers.list: Added a new marshaller for the new
3173 * src/hildon-pannable-area.h: Added new enumerations and flags in
3174 order to control the movement modes and the new signals to warn
3175 about the movements in the area.
3177 * src/hildon-pannable-area.c:
3178 (hildon_pannable_axis_scroll),
3179 (hildon_pannable_area_scroll),
3180 (hildon_pannable_area_motion_notify_cb),
3181 (hildon_pannable_area_get_property),
3182 (hildon_pannable_area_set_property),
3183 (hildon_pannable_area_map),
3184 (hildon_pannable_area_class_init),
3185 (hildon_pannable_area_init),
3186 (hildon_pannable_area_jump_to): Added the modes to control the
3187 movement in the widget. We have added properties to control it,
3188 signals to warn about the movements and refactored some code.
3190 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3192 Changes required in order to allow vfast_factor set to zero to
3195 * src/hildon-pannable-area.c:
3196 (hildon_pannable_area_button_press_cb): Changed the condition, it
3197 is required for not allowing click when vfast_factor is zero.
3198 (hildon_pannable_area_timeout): Initialized velocity variables
3199 when we stop moving, it was less than 1 but not zero and we need
3200 to check zero in some situations.
3201 (hildon_pannable_area_class_init): Changed the default value of
3202 the speed factor, now the button_press is just sent in case the
3203 speed is 2 per cent of the max speed.
3204 (hildon_pannable_area_init): Initialization with 0.
3206 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3208 * src/hildon-pannable-area.c,
3209 (hildon_pannable_area_get_topmost): replaced
3210 gdk_window_get_children with gdk_window_peek_children, this way we
3211 do not have to free the list because it is not a copy.
3213 (hildon_pannable_axis_scroll),
3214 (hildon_pannable_area_scroll),
3215 (hildon_pannable_area_timeout),
3216 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3217 two parameters that were only used inside the
3218 hildon_pannable_area_scroll function.
3220 * examples/hildon-pannable-area-example.c,
3221 (get_sawtooth_label): Fixed small memory leak.
3223 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3225 More checks for the case where the overshoot is bigger than the
3228 * src/hildon-pannable-area.c:
3229 (hildon_pannable_draw_vscroll),
3230 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3231 to draw the slider of the scrollbar under the other scrollbar.
3232 (hildon_pannable_area_expose_event): added new checks to control
3233 the drawing of the overshooting area rectangle, in case it is too
3234 big for the area of the widget.
3235 (hildon_pannable_area_size_allocate): add more checks to avoid
3236 setting a position to the child widget outside the area.
3238 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3240 * src/hildon-pannable-area.c
3241 (hildon_pannable_area_size_allocate): Added conditions to control
3242 when overshooting is bigger than the allocated space for the
3243 children, this avoids negative allocations.
3245 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3247 * doc/hildon-docs.sgml
3249 * examples/Makefile.am
3250 * examples/hildon-button-example.c
3252 * src/hildon-button.c
3253 * src/hildon-button.h
3254 * src/hildon.h: Initial version of the new HildonButton widget,
3257 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3259 * src/hildon-pannable-area.c:
3260 (hildon_pannable_area_button_press_cb),
3261 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3262 (hildon_pannable_area_motion_notify_cb),
3263 (hildon_pannable_area_button_release_cb),
3264 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3265 (hildon_pannable_area_jump_to_child):
3267 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3269 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3271 * examples/Makefile.am
3272 * examples/hildon-pannable-area-touch-grid-example.c
3273 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3274 the Hildon Touch List and Hildon Touch Grid using the
3275 HildonPannableArea widget.
3277 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3279 * src/hildon-pannable-area.c,
3280 (hildon_pannable_area_button_press_cb),
3281 (hildon_pannable_area_refresh),
3282 (hildon_pannable_area_scroll),
3283 (hildon_pannable_area_motion_notify_cb),
3284 (hildon_pannable_area_button_release_cb),
3285 (hildon_pannable_area_expose_event),
3286 (hildon_pannable_area_add),
3287 (hildon_pannable_area_remove),
3288 (hildon_pannable_area_realize),
3289 (hildon_pannable_area_size_allocate),
3290 (hildon_pannable_area_class_init),
3291 (hildon_pannable_area_init),
3292 (hildon_pannable_area_scroll_to_child),
3293 (hildon_pannable_area_jump_to_child): Fixed the problem of
3294 removing the child from the GtkBin, we have rearranged the widget
3295 hierarchy, now there is no GtkAlignment which was not doing
3296 anything interesting but breaking some of the assumptions of
3297 GtkContainer. Now developers if they want to add a GtkAlignment
3298 they could, but it is not inside the area.
3300 We had to review the whole allocation/expose process, now it is
3301 improved and we save at least three signals which would be saving
3302 some time when rendering the widget. The allocation of the
3303 scrollbars is now made in the allocate method as usual.
3305 We have also added some conditions in order to control when there
3306 is no child of the pannable area. Maybe we will need more work
3309 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3311 * src/hildon-pannable-area.c,
3312 (hildon_pannable_area_dispose): Released the fade-out timeout when
3313 disposing the widget.
3315 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3317 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3318 zero, we are going to use that property in order to deactivate the
3320 (hildon_pannable_axis_scroll),
3321 (hildon_pannable_area_size_allocate): Added conditions to control
3322 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3323 call, now it is called in all situations and we can remove calls
3324 in the allocate method.
3325 (hildon_pannable_area_map): Control the situation when
3326 overshoot_max is zero, we do not need the timeout.
3327 (hildon_pannable_area_class_init): Added documentation in order to
3328 point out that setting zero to overshoot_max means deactivate
3331 NOTE: removed trailing whitespaces from my previous comments of
3334 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-pannable-area.c
3337 (hildon_pannable_area_get_property),
3338 (hildon_pannable_area_set_property),
3339 (hildon_pannable_area_map),
3340 (hildon_pannable_area_class_init),
3341 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3342 to cause the widget give a hint about its panning abilities upon
3345 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3347 * src/hildon-pannable-area.c: Several documentation improvements.
3349 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3351 * src/hildon-program.c
3352 * src/hildon-stackable-window.c: Update documentation.
3354 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-stackable-window.c (get_previous_window_if_last):
3357 Renamed get_last_window()
3358 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3359 (hildon_stackable_window_unset_program):
3361 (get_previous_window_if_last):
3362 Detect if the window hasn't been added to a HildonProgram.
3364 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3366 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-pannable-area.c
3369 (hildon_pannable_area_button_press_cb),
3370 (hildon_pannable_axis_scroll),
3371 (hildon_pannable_area_scroll),
3372 (hildon_pannable_area_timeout),
3373 (hildon_pannable_calculate_vel_factor),
3374 (hildon_pannable_area_get_property),
3375 (hildon_pannable_area_set_property),
3376 (hildon_pannable_area_class_init),
3377 (hildon_pannable_area_init),
3378 (hildon_pannable_area_scroll_to),
3379 (hildon_pannable_area_jump_to),
3380 (hildon_pannable_area_scroll_to_child),
3381 (hildon_pannable_area_jump_to_child):
3382 * src/hildon-pannable-area.h: Added the new API functions:
3383 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3384 hildon_pannable_area_scroll_to_child,
3385 hildon_pannable_area_jump_to_child
3388 * examples/Makefile.am
3389 * examples/hildon-pannable-area-example-2.c
3390 * examples/hildon-pannable-area-example-3.c: Added these two new
3391 examples in order to test and show how the new APIs work.
3393 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3395 * examples/hildon-stackable-window-example.c (new_window):
3396 * src/Makefile.am (noinst_HEADERS):
3397 * src/hildon-program.c (hildon_program_go_to_root_window):
3398 * src/hildon-program.h:
3399 * src/hildon-stackable-window-private.h:
3400 * src/hildon-stackable-window.c:
3401 * src/hildon-stackable-window.h:
3402 Create hildon-stackable-window-private.h
3403 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3405 * examples/hildon-app-menu-example.c (create_menu):
3406 * examples/hildon-hvolumebar-insensitive-example.c (main):
3407 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3408 * examples/hildon-toolbar-seekbar-example.c (main):
3409 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3410 * src/hildon-banner.c (hildon_banner_set_property):
3411 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3412 Fix compilation warnings
3414 * src/hildon-window.c:
3417 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3419 * src/hildon-stackable-window.c
3420 (hildon_stackable_window_unset_program):
3421 Calculate correctly whether to show the previous window if the
3422 last one is removed from the stack.
3423 (hildon_stackable_window_go_to_root_window):
3424 Send delete events starting from the topmost window.
3425 Stop if one of the windows is not destroyed.
3427 (hildon_stackable_window_delete_event)
3428 (hildon_stackable_window_class_init):
3429 Ignore the delete event if the window is not the topmost one.
3431 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3433 * src/hildon-pannable-area.c
3434 (hildon_pannable_area_expose_event): Fixed a problem when
3435 selecting the background color of the scrollbars.
3437 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3439 * examples/hildon-stackable-window-example.c
3440 * src/hildon-stackable-window.c
3441 * src/hildon-stackable-window.h
3442 hildon_stackable_window_go_home() renamed to
3443 hildon_stackable_window_go_to_root_window()
3444 Send delete events to windows rather than closing them with
3445 gtk_widget_destroy()
3447 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-pannable-area.c
3450 (hildon_pannable_area_button_release_cb): Fix overshooting in
3453 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3455 * src/hildon-pannable-area.c
3456 (hildon_pannable_area_init): Initially show the scroll indicators.
3457 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3459 Add initial effect showing the widget is pannable.
3461 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-pannable-area.c
3464 (hildon_pannable_area_class_init)
3465 (hildon_pannable_area_set_property)
3466 (hildon_pannable_area_get_property)
3467 (hildon_pannable_area_button_press_cb):
3468 New 'velocity_fast_factor' property to decide which velocity is
3471 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-pannable-area.c
3474 (hildon_pannable_draw_hscroll)
3475 (hildon_pannable_draw_vscroll):
3476 Use float variables to calculate the size of the scrollbars to
3477 avoid error propagation and resizing during scrolling.
3479 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3481 * src/hildon-pannable-area.c
3482 (hildon_pannable_draw_vscroll)
3483 (hildon_pannable_draw_hscroll):
3484 Define a minimum size for the scroll bars
3486 * src/hildon-stackable-window.c
3487 (hildon_stackable_window_go_home): Fix compilation warning
3488 (get_last_window): Minor optimizations
3489 (hildon_stackable_window_class_init): Fix initialization of
3492 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-stackable-window.c: Fixed typos in doc
3496 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-pannable-area.c
3499 (hildon_pannable_area_scroll):
3500 Calculate here whether we need to scroll instead of using the booleans
3501 that tell us whether to /draw/ the scrolling bars.
3503 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-app-menu.h
3507 * src/hildon-app-menu.c
3508 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3509 multiple filter groups related code and API. Now we support only
3511 * examples/hildon-app-menu-example.c:
3513 Update to reflect API changes.
3515 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3517 * src/hildon-stackable-window.c
3518 (hildon_stackable_window_class_init):
3519 Add hildon_stackable_window_realize.
3520 (hildon_stackable_window_realize):
3521 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3522 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3523 to apply theming and behavior specific to HildonStackableWindow
3526 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3528 * src/hildon-note.c (hildon_note_button_release):
3529 Close information notes also when tapping on them
3531 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3533 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3534 ELASTICITY, refactor and review, fix some issues with drawing
3537 * src/hildon-pannable-area.c:
3538 (hildon_pannable_area_button_press_cb): removed the conditions to
3539 avoid clicks when overshooting. It is not required
3541 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3542 define. Refatored and reviewed the code, now we do not need to
3543 manage velocity in motion_notify.
3545 (hildon_pannable_area_motion_notify_cb): We have moved the code
3546 that controls the area_scroll to the axis_scroll function and get
3547 rid of duplicated code.
3549 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3551 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3553 (hildon_pannable_draw_vscroll),
3554 (hildon_pannable_draw_hscroll): Fixed the problems with the
3555 scrollbar drawing, now we do not use two surfaces, it is easier
3556 and saves resources.
3558 (hildon_pannable_area_get_property): Style modification.
3560 (hildon_pannable_area_class_init): Changed some default values.
3562 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3564 * src/hildon-stackable-window.c: Fix some typos in the
3567 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3569 * src/hildon-dialog.c:
3570 Change indentation style
3573 (hildon_note_button_release):
3574 Use root coordinates to check if the release event happened
3577 * src/hildon-app-menu.c
3578 (hildon_app_menu_button_release):
3579 Remove unnecessary check
3581 * examples/hildon-app-menu-example.c
3583 Add cast to fix warning
3585 * src/hildon-app-menu.c
3586 (hildon_app_menu_class_init):
3587 New inner-border style property.
3588 Set all default spacings to 16
3589 (hildon_app_menu_init):
3590 Use vertical-spacing to set the space between filter buttons and
3591 regular menu buttons.
3592 Set the default container border using the inner-border value.
3594 * examples/hildon-app-menu-example.c
3596 Don't set the menu border explicitly, now we have the inner-border
3597 style property for that.
3599 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-app-menu.c (hildon_app_menu_init):
3602 Make the window modal
3604 * src/hildon-note.c (hildon_note_map)
3605 * src/hildon-app-menu.c (hildon_app_menu_map):
3606 Destroy the grab window if we're unable to grab the pointer
3608 * src/hildon-app-menu-private.h
3609 * src/hildon-app-menu.c
3610 (hildon_app_menu_init, hildon_app_menu_finalize)
3611 (hildon_app_menu_map, hildon_app_menu_unmap)
3612 (hildon_app_menu_button_release)
3613 (grab_transfer_window_get):
3614 Bring back the grab window
3615 (hildon_app_menu_realize):
3616 Decorate the window, set WM hint for Matchbox
3618 * src/hildon-note.c (hildon_note_realize):
3619 * src/hildon-banner.c (hildon_banner_realize):
3620 Add WM hints for Matchbox
3622 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3624 * src/hildon-app-menu-private.h
3625 * src/hildon-app-menu.c
3626 (hildon_app_menu_init, hildon_app_menu_finalize)
3627 (hildon_app_menu_map, hildon_app_menu_unmap)
3628 (hildon_app_menu_button_release):
3629 Remove the grab window, it's not needed anymore
3631 * src/hildon-program.c
3632 Fixed typo in documentation
3634 * src/hildon-app-menu.h
3635 * src/hildon-app-menu.c
3636 * examples/hildon-app-menu-example.c
3637 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3639 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3642 Added new transfer_window and close_if_pressed_outside private
3644 (hildon_note_rebuild):
3645 Don't add a cancel button to the information note. It will be
3646 closed when tapping outside
3647 Remove the comment about the OK button in the documentation
3648 (hildon_note_realize):
3649 Set the notification type hint
3650 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3651 Grab/ungrab pointer and keyboard if the note has to be closed when
3653 (hildon_note_button_release):
3654 Close the note when tapping outside (if applicable)
3656 * src/hildon-app-menu.c
3657 Grab/ungrab pointer and keyboard on map/unmap
3658 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3659 Close the menu on button release, not button press
3661 * src/hildon-banner.c
3662 (hildon_banner_set_property)
3663 (hildon_banner_check_position):
3664 Make the banner use the full width of the screen
3665 (hildon_banner_show_information)
3666 (hildon_banner_show_information_with_markup):
3667 Don't display an icon by default
3669 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3671 Added fading scrollbars and adapted all the overshooting code to
3672 horizontal scrolling. We have also fixed bugs with overshooting
3673 and current fading implementation.
3675 * src/hildon-pannable-area.c
3676 (hildon_pannable_area_scroll_indicator_fade): Time out function
3677 used to change the transparency of the scrollbars.
3679 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3680 control and fixed a problem with fading, we now remove the fade
3681 timeout before adding a new one.
3683 (hildon_pannable_axis_scroll):
3684 (hildon_pannable_area_scroll):
3685 (hildon_pannable_area_timeout): Added this functions so we can use
3686 the scroll code both for vertical and horizontal.
3688 (hildon_pannable_area_motion_notify_cb):
3689 (hildon_pannable_area_button_release_cb): Added the horizontal
3690 scrolling control, fixed a problem with the overshooting timeout.
3692 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3693 painting of the scrolls.
3695 (hildon_pannable_draw_vscroll):
3696 (hildon_pannable_draw_hscroll):
3697 (hildon_pannable_area_expose_event):
3698 Draw both scrollbars and rectangles in the overshooting area.
3700 (hildon_pannable_area_get_property):
3701 (hildon_pannable_area_set_property):
3702 Modified the overshoot property to overshoot_max
3704 (hildon_pannable_area_map):
3705 Replaced the comments symbols.
3707 (hildon_pannable_area_size_allocate):
3708 (hildon_pannable_area_class_init):
3709 (hildon_pannable_area_init): Added horizontal scroll, fading
3710 effect properties, fixed a problem when overshooting in the bottom
3713 * examples/hildon-pannable-area-example.c:
3714 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3715 looks better in the example.
3717 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3719 * src/hildon-window.c
3720 * src/hildon-window.h
3721 (hildon_window_class_init)
3722 (hildon_window_unset_program)
3723 (hildon_window_unset_program_real):
3724 Make unset_program a virtual function
3726 * src/hildon-stackable-window.c
3727 * src/hildon-stackable-window.h
3728 Added hildon_stackable_window_go_home()
3730 * examples/Makefile.am
3731 * examples/hildon-stackable-window-example.c
3732 HildonStackableWindow example
3734 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3736 * hildon-pannable-area.c: Added the overshoot property and removed
3737 the OVERSHOOT define. Fixed an indent style error.
3738 (hildon_pannable_area_motion_notify_cb):
3739 (hildon_pannable_area_get_property):
3740 (hildon_pannable_area_set_property): Add overshoot property.
3742 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3745 (hildon_pannable_area_class_init): Installed the new property.
3747 * hildon-pannable-area-example.c: Added a sawtooth function, this
3748 way it is easier to check the movement in the pannable.
3749 (get_sawtooth_label): Added this function.
3750 (main): Now we get the labels from the new get_sawtooth_label
3753 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-app-menu.h
3756 * src/hildon-app-menu.c
3757 Renamed API variables for consistency
3759 (hildon_app_menu_popup): Use also the default window size to
3760 decide where to place the menu
3762 (hildon_app_menu_init, hildon_app_menu_class_init): New
3763 external-border style property
3765 2008-05-26 Michael Natterer <mitch@imendio.com>
3767 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3768 widget_class->tap_and_hold_setup signal slot doesn't exist any
3769 longer, stop overriding it.
3771 (hildon_time_editor_init): g_signal_connect() to the
3772 tap-and-hold-setup signal instead.
3774 (hildon_time_editor_entry_keypress): add cast to fix warning.
3776 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3778 * doc/hildon-docs.sgml
3780 * examples/Makefile.am
3781 * examples/hildon-app-menu-example.c
3783 * src/hildon-app-menu-private.h
3784 * src/hildon-app-menu.c
3785 * src/hildon-app-menu.h
3787 New HildonAppMenu widget
3789 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3791 Rearranged the inheritance of the pannable area, now it inherits
3792 from GtkBin. This will allow us to control the event_window and
3793 the allocation process of the widget, required for some effects.
3795 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3796 GtkBin structures. * src/hildon-pannable-area.c: Added the
3797 event_window variable.
3798 (hildon_pannable_area_button_press_cb):
3799 (hildon_pannable_area_button_release_cb):
3800 (hildon_pannable_area_motion_notify_cb):
3801 Changed the signature of the method, now we override the event
3802 callback instead of connecting to the signal.
3804 (hildon_pannable_area_realize):
3805 (hildon_pannable_area_unrealize):
3806 (hildon_pannable_area_map):
3807 (hildon_pannable_area_unmap):
3808 (hildon_pannable_area_size_allocate):
3809 Added functions to control the widget construction. We add a
3810 INPUT_ONLY window and we put it over the widgets inside the
3811 container, this event_window handles the events.
3813 (hildon_pannable_area_class_init):
3814 Replaced the signal connections with overrides of the event
3817 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3819 Bouncing effect added when touching the borders, you can change
3820 the elasticity of the border changing the ELASTICITY define.
3822 * src/hildon-pannable-area.c: Added ELASTICITY define.
3823 (hildon_pannable_area_timeout): Added inverse velocity when
3824 touching the border of the child widget, that causes a bounce.
3826 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3828 Improved performance, we now do not go to the X server in order to
3829 get the list of window children. Apparently the effect is the
3830 same, we have to be careful and check if this breaks something in
3833 * src/hildon-pannable-area.c:
3834 (get_ordered_children): Removed this function.
3835 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3836 the children windows function with gdk_window_get_children.
3838 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3840 * src/hildon-pannable-area.c:
3841 (hildon_pannable_area_dispose): Fixed a crash when closing the
3842 window and kinetics is activated.
3844 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3846 * src/hildon-pannable-area.h
3847 * src/hildon-pannable-area.c
3848 Changed indentation style to meet the one used in Hildon
3850 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3852 Reviewed the interaction of the AUTO mode, now we use the time
3853 attribute of the events and calculate the velocity in the motion,
3854 doing a gimp like calculation. The velocity is calculated in each
3855 motion event using the last velocity and the current one, the
3856 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3858 * src/hildon-pannable-area.c: Replaced the time based algorithm
3860 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3861 timeout for the AUTO mode when we are still moving the cursor. We
3862 added also the velocity calculation in this function.
3863 (hildon_pannable_area_button_release_cb): launch the timeout in
3864 case we are in AUTO mode. There are still some constants here that
3865 come from the old implementation that should be reviewed and
3868 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3870 * doc/hildon-docs.sgml
3873 * src/hildon-stackable-window.c
3874 * src/hildon-stackable-window.h
3876 New HildonStackableWindow widget
3878 * examples/hildon-dialog-example.c
3879 * examples/hildon-pannable-area-example.c
3882 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-dialog.c
3885 (hildon_dialog_new_with_buttons): New constructor.
3887 * examples/hildon-dialog-example.c
3888 (main): Update the example to use the new
3889 hildon_dialog_new_with_buttons().
3891 * examples/hildon-pannable-area-example.c
3892 (main): Update example.
3894 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3896 * doc/hildon-docs.sgml
3898 Added HildonPannableArea to the documentation.
3900 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3902 * doc/visual_index.xml
3903 Fix reference to HildonLoginDialog in documentation
3905 * doc/hildon-docs.sgml
3907 * examples/Makefile.am
3908 * examples/hildon-dialog-example.c
3910 * src/hildon-dialog.c
3911 * src/hildon-dialog.h
3913 New HildonDialog widget.
3915 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-pannable-area.c
3918 Merge latest changes (r4318, r4342) from libmokoui trunk
3920 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3922 * examples/Makefile.am
3923 * examples/hildon-pannable-area-example.c
3925 * src/hildon-pannable-area.c
3926 * src/hildon-pannable-area.h
3928 New HildonPannableArea widget.
3930 2008-04-15 18:05:19 <timj@imendio.com>
3932 * src/hildon-banner.c: revert the recent change, that introduced
3933 gtk_window_present() calls. this reopens:
3934 Bug 78481 - [freetest] information banners are hidden under browser menu
3935 But resolves another variant of:
3936 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3938 2008-04-15 13:21:13 <timj@imendio.com>
3940 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3941 recreated its layout, spotted by Kris. this fixes all remaining
3942 artefacts and stability issues with the banner code. in particular:
3943 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3945 2008-04-14 16:52:59 <timj@imendio.com>
3947 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3948 operating on unrealized widgets, fixes:
3949 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3951 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3953 2008-04-09 Kristian Rietveld <kris@imendio.com>
3955 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3956 makes banner disappear.
3957 Fixes: NB#79182: info banner flickering with certain message lengts.
3959 * src/hildon-banner.c (hildon_banner_constructor),
3960 (hildon_banner_init), (hildon_banner_set_text),
3961 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3962 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3963 FALSE, reset size requests of label and banner,
3964 (force_to_wrap_truncated): when the text is too wide, always enforce
3965 the maximum possible width instead of recalculating it from the
3966 layout; enforce the maximum banner height of 3 lines,
3967 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3968 nicer wrapping and no truncated chars if space gets tight.
3970 * src/hildon-banner-private.h: add has_been_wrapped and
3971 has_been_truncated fields.
3973 2008-04-07 Sven Herzberg <sven@imendio.com>
3975 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3976 local values in hildon_date_editor_size_allocate
3978 * src/hildon-date-editor.c: moved the real allocation code into the
3981 2008-04-07 Sven Herzberg <sven@imendio.com>
3983 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3984 local values in hildon_date_editor_size_allocate
3986 * src/hildon-date-editor.c: merged the two if() branches together
3988 2008-04-07 Sven Herzberg <sven@imendio.com>
3990 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3991 local values in hildon_date_editor_size_allocate
3993 * src/hildon-date-editor.c: changed the arguments of the if()
3996 2008-04-07 Sven Herzberg <sven@imendio.com>
3998 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3999 local values in hildon_date_editor_size_allocate
4001 * src/hildon-date-editor.c: split the calculation of the allocation
4002 from the real allocation
4004 2008-03-27 Michael Natterer <mitch@imendio.com>
4006 Fixes: NB#81696: The passcode is not overwritten even after
4009 * src/hildon-code-dialog.c
4010 (hildon_code_dialog_button_clicked)
4011 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
4012 because that doesn't overwrite selected text. Instead, emit the
4013 "commit" signal on the entry's im_context so the entry's normal
4014 insert logic is triggered. Set the cursor to the end of the entry
4015 after each insert operation so that we *only* insert in the middle
4016 of the text if something was selected.
4018 2008-03-27 Michael Natterer <mitch@imendio.com>
4020 Enable fixing: NB#79916 and NB#79918: The help topic for Color
4021 selector cannot be opened
4023 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
4024 when the popup color selector is created. Please connect to this
4025 signal in order to set the dialog's help ID.
4027 2008-03-25 Sven Herzberg <sven@imendio.com>
4029 Fixes: MB#1212: Hide info banners (infoprints) on click
4031 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
4032 extracted the close event simulation into an extra function
4033 (hildon_banner_button_press_event): simulate a close event and destroy
4034 the widget if the event wasn't handled
4035 (hildon_banner_class_init): added the button_press_event handler
4036 (hildon_banner_init): added button-press events to the widget
4038 2008-03-25 Sven Herzberg <sven@imendio.com>
4040 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
4041 Patch from: Mohammad Anwari <mdamt@maemo.org>
4043 * src/hildon-banner.c: let the HildonBanners pop up on the left side
4044 instead of the right in RTL mode
4045 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
4046 breadcrumb button list in RTL mode
4047 * src/hildon-caption.c: mirror the appearance of the caption widget in
4049 * src/hildon-date-editor.c: mirror appearance of the date editor in
4051 * src/hildon-time-editor.c: mirror appearance of the time editor in
4053 * src/hildon-window.c: fix the position of the popup in RTL mode
4055 2008-03-25 Sven Herzberg <sven@imendio.com>
4057 Amendment to the fix of NB#22072. Fix compilation.
4059 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
4061 2008-03-19 Sven Herzberg <sven@imendio.com>
4063 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
4066 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
4067 timeout id properly when the timeout will disappear this leaves no
4068 artifacts around in the destroy(); there will only be the timeout
4069 created by hildon_banner_ensure_timeout() and adding a new timeout
4070 will also work if the timeout gets removed because the timeout_handler
4073 2008-03-19 Michael Natterer <mitch@imendio.com>
4075 Fixes: NB#79791: Cannot set focus to Master volume using stylus
4077 * src/hildon-volumebar.c
4078 * src/hildon-vvolumebar.c
4079 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
4080 the widget becomes focussable at all.
4082 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
4083 set the focus to wither the mute button or the volumebar.
4085 Remove own "can-focus" property and instead listen to
4086 notify::can-focus in order to update the widget's state.
4088 Implement GtkWidget::focus() and make sure we can also *leave* the
4089 widget, not only enter it, depending on volumebar orientation and
4090 requested focus direction.
4092 Clean up set_mute() to cooperate nicely with all the above.
4094 2008-03-04 Michael Natterer <mitch@imendio.com>
4096 Fixes: NB#78481: information banners are hidden under browser menu
4098 * src/hildon-banner.c: call gtk_window_present() on the banners so
4099 they are risen if they are already visible.
4101 2008-03-03 Sven Herzberg <sven@imendio.com>
4103 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
4105 * examples/hildon-window-menu-example.c: (main): extended the window
4106 menu example to serve as a testcase for automatically added
4107 accelerator groups, too
4108 * src/hildon-window.c: (hildon_window_add_accel_group),
4109 (hildon_window_set_menu): added patch by Tommi Komulainen
4111 2008-03-03 Sven Herzberg <sven@imendio.com>
4113 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
4115 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
4116 knowledge about the border allocators used within GTK+
4118 2008-02-26 Sven Herzberg <sven@imendio.com>
4120 Fixes: MB#2981: Build with asserts broken
4122 * src/hildon-date-editor.c,
4123 * src/hildon-number-editor.c,
4124 * src/hildon-time-editor.c,
4125 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
4126 the proper GType instance check
4128 2008-02-25 Sven Herzberg <sven@imendio.com>
4130 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
4132 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
4133 * examples/hildon-window-menu-example.c: (main): explicitly show
4135 * src/hildon-window.c:
4136 (hildon_window_set_main_menu): moved most of the code from set_menu()
4137 to this place; skipped the call to gtk_widget_show_all(); also didn't
4138 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
4139 (hildon_window_set_menu): removed most of the code, just keep the
4140 questionable gtk_widget_show_all()
4141 * src/hildon-window.h: added the new function and deprecate the old
4144 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4150 * debian/changelog: Updating.
4152 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
4155 * pkgconfig/Makefile.am:
4156 * pkgconfig/hildon.pc.in:
4159 Do not use PACKAGE_VERSION_MAJOR as the API revision,
4160 use newly created API_MAJOR_VERSION.
4162 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4168 * debian/changelog: Updating.
4170 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
4172 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
4174 Add outer_border style property, we use it but don't define it (!).
4178 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4180 * examples/hildon-bread-crumb-trail-example.c (main):
4184 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4186 Fix logic for the bread crumb trail node removal.
4190 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * debian/changelog: Updating.
4198 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4200 Patch by Alejandro to get/set passwords dialogs accesibility.
4202 * hildon-1/src/hildon-get-password-dialog.c:
4203 * hildon-1/src/hildon-set-password-dialog.c:
4204 Set atk_set_name to the passwd entries in order to allow
4205 accessibility by name on this entries.
4207 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4212 * debian/control: Updating gtk dep.
4214 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4216 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4217 USE_MAEMO_GTK is enabled.
4219 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4221 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4222 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4224 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4230 * debian/changelog: Updating.
4232 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * examples/Makefile.am:
4235 * examples/hildon-logical-color-example.c:
4236 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4237 applied + adding a test case. Fixes: NB#71660.
4239 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4241 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4242 to be visible, fixes warning on map for windows without toolbars.
4244 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4246 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4247 2.11.0, add a check for that besides the MAEMO_GTK check.
4249 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4255 * debian/changelog: Updating.
4257 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4259 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4260 visibility. Fixes: NB#70842 and MB#615.
4262 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4264 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4265 set the separator as no-show-all so it doesn't unintentionally appear when
4266 someone does a show_all.
4268 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4270 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4271 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4272 toplevel item. Fixes: NB#62031
4274 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4276 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4277 fix the name of the function in the docs.
4279 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4285 * debian/changelog: Updating.
4287 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4289 * examples/hildon-banner-long-example.c: Adding a test-case for long
4292 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4294 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4296 * src/hildon-color-chooser-dialog.c:
4297 * src/hildon-color-chooser.c:
4298 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4299 memory leaks in font selector and color selector. Fixes: NB#70499 and
4302 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4304 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4306 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4308 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4309 little bit bigger. Fixes: #NB63694.
4311 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4317 * debian/changelog: Updating.
4319 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4322 * doc/hildon-docs.sgml:
4323 * doc/images/bread-crumb-trail.png:
4324 * doc/images/calendar-popup.png:
4325 * doc/images/caption.png:
4326 * doc/images/code-dialog.png:
4327 * doc/images/color-button.png:
4328 * doc/images/color-chooser-dialog.png:
4329 * doc/images/color-chooser.png:
4330 * doc/images/controlbar.png:
4331 * doc/images/date-editor.png:
4332 * doc/images/font-selection-dialog.png:
4333 * doc/images/get-password-dialog.png:
4334 * doc/images/hvolumebar.png:
4335 * doc/images/login-dialog.png:
4336 * doc/images/note.png:
4337 * doc/images/number-editor.png:
4338 * doc/images/range-editor.png:
4339 * doc/images/seekbar.png:
4340 * doc/images/set-password-dialog.png:
4341 * doc/images/sort-dialog.png:
4342 * doc/images/time-editor.png:
4343 * doc/images/time-picker.png:
4344 * doc/images/vvolumebar.png:
4345 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4346 Adding the bread-crumb-trial and helpers to the documentation.
4348 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4350 * examples/hildon-find-toolbar-example.c:
4351 * src/hildon-find-toolbar.c:
4352 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4353 actually continue firing the other handlers if connected. Adding a new
4355 hildon_find_toolbar_get_last_index that gets the index of the most
4356 recently added (last) item. Fixes: NB#52301.
4358 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4360 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4361 behaviour. Fixes: NB#68610.
4363 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4365 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4368 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4370 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4371 when realizing the banner. Should make the infonbanner effect a bit more
4374 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4376 * src/hildon-volumebar.c:
4377 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4378 hildon_volumebar_set_range_insensitive_message and
4379 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4381 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4383 * src/hildon-window.c: Fixing the border freeing on destroy.
4385 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4387 * src/hildon-code-dialog-private.h:
4388 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4389 kw keyboard support in HildonCodeDialog.
4391 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4397 * debian/changelog: Updating.
4399 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4401 * src/hildon-date-editor.c:
4402 * src/hildon-number-editor.c:
4403 * src/hildon-private.c:
4404 * src/hildon-private.h:
4405 * src/hildon-time-editor.c:
4406 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4407 handling in subclassed composite widgets. Fixes: NB#66628.
4409 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4411 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4412 from destroy_ callback as it introduces problems in async dbus signal
4413 handlers. Fixes NB#66673.
4415 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4417 * examples/hildon-hvolumebar-example.c:
4418 * src/hildon-volumebar.c: Improving the focus handling in the
4419 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4420 set_property accessor so that "mute" property can be actually set. I'm
4421 scared that nobody noticed it's totally broken.
4423 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4425 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4428 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4430 * src/hildon-calendar.c:
4431 * src/hildon-number-editor.c:
4432 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4433 matches the spec of 6 chars per second. Fixes: NB#60489.
4435 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4437 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4438 gtk_style_lookup_color sometime returns FALSE even though color was
4439 found and values were filled properly. Weird. Removing the warning for the
4442 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4444 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4445 expand vertically. Adding some extra space to the find toolbar buttons to
4446 make them thumbable. Fixes NB#66060.
4448 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4450 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4451 popup with "Ok" and "Cancel". Fixes NB#59299.
4453 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4455 * src/hildon-calendar.c: Process all window updates before executing next
4456 timeout. Fixes: NB#54146.
4458 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4464 * debian/changelog: Updating.
4466 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4468 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4469 the client event and ignore it, since we use the delete event to close
4472 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4474 * src/hildon-helper.c: Remove the bogus warning about color not being
4475 found. Fixes NB#58352.
4477 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4479 * examples/Makefile.am:
4480 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4481 HildonSeekbar widget inside a toolbar.
4483 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4485 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4486 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4487 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4488 don't want to be closed by non-temporary windows on map.
4490 Also use G_DEFINE_TYPE instead of manually typed code.
4492 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4499 * debian/rules: Updating.
4501 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4503 * examples/Makefile.am:
4504 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4505 bug NB#61128. Strangely it works.
4507 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4509 * src/hildon-date-editor.c: When the date editor entry has been changed
4510 but the numbers of characters < max, turn off the skip validation flag.
4511 Prevents a situation when we enter first a valid year and later re-write
4512 it with an invalid one. Fixes NB#60154.
4514 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4516 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4517 code dialog. Fixes NB#64355.
4519 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4521 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4522 switching the page. Fixes NB#49374.
4524 * examples/Makefile.am:
4525 * examples/hildon-wizard-dialog-example.c: Adding an example for
4526 HildonWizardDialog that shows how to handle manual sensitivity setting on
4529 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4533 * src/hildon-version.h.in:
4534 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4536 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4538 * src/hildon-volumebar.c: Updating the docs.
4540 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4546 * debian/changelog: Updating.
4548 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4550 * src/hildon-find-toolbar.c:
4551 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4552 selected item: hildon_find_toolbar_set_active,
4553 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4554 hildon_find_toolbar_get_active_iter . They correspond to respective
4555 GtkComboBox functions.
4557 * examples/Makefile.am:
4558 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4561 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4563 * examples/Makefile.am:
4564 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4567 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4568 when font size > 32 and we pack a focusable widget inside. Actually using
4569 the default response would work too, but since we don't show default
4570 response state in any way (no theming) it would not be visible to the
4571 user. Fixes NB#63430.
4573 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4575 * src/hildon-date-editor.c: Adding the missing variable setter in the
4576 set_property handler. Fixes NB#54182.
4578 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4580 * src/hildon-window.h: Changing the long key press time from 1500ms to
4581 800ms as requested in NB#63700. I have a bad feeling about this, let's
4582 see... Fixes NB#63700.
4584 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4586 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4587 hildon_time_picker_map, hildon_time_picker_realize,
4588 hildon_time_picker_style_set): Split the contents of map to more
4589 appropriate functions; set window decorations on realize and update
4590 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4592 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4597 * debian/changelog: Updating.
4599 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4601 * src/Makefile.am: fixed installation of the header files
4603 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4609 * debian/changelog: Updating.
4611 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4613 * configure.ac: Removing some remaining of --enable-xan.
4615 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4617 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4618 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4620 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4621 2.10.12-osso6 because the move-focus signal needs to be available in
4624 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4626 * examples/Makefile.am:
4627 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4628 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4629 fine. Prolly NB#61128 is fixed now.
4631 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4633 * src/hildon-volumebar.c:
4634 * src/hildon-volumebar.h: Adding the
4635 hildon_volumebar_set_range_insensitive_message and
4636 hildon_volumebar_set_range_insensitive_messagef functions to set
4637 insensitive message on the slider of the volumebar. Fixes NB#61129.
4639 * examples/Makefile.am:
4640 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4641 test the new insensitive messsage functionality on HildonVolumebar.
4643 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4645 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4648 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4650 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4651 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4652 button on after clearing the trail.
4654 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4656 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4658 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4660 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4661 by splitting the installed headers in generated and non-generated groups. Use
4662 only the non-generated headers to create the hildon-enum-types.h file.
4664 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4666 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4668 * src/hildon-window.c: Hide the window before performing the destroy.
4669 Should make the app closing a little tiny bit more snappy.
4671 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4673 * src/hildon-seekbar.c: add gtkrange.h header
4674 * src/hildon-caption.c: remove unused variable
4676 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4678 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4681 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4687 * debian/changelog: Updating.
4689 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4691 * src/hildon-window.c (hildon_window_window_state_event,
4692 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4693 escape timeout on focus-out-event rather than notify::is-topmost; the
4694 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4696 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4698 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4699 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4701 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4703 * src/hildon-window: actually, you need to use the macro always, there's
4704 no private pointer in the instance structure. We should have cleaned this up
4705 when we had the chance...
4707 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4709 * src/hildon-window.c: do not get the private date from HildonWindow before
4710 it passes the g_return_if_fail check. Once it's passed the test, there's no
4711 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4712 if you are only going to access the data once. Whitespace cleanups.
4714 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4716 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4717 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4719 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4725 * debian/changelog: Updating.
4727 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4729 * src/hildon-window.c: When destroying the window, remove (if exists) the
4730 escape timeout handler. Fixes #NB59276.
4732 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4734 * src/hildon-banner.c: When realizing the widget, set the window
4735 transiency. Setting the transiency in the gobject constructor is not
4736 good, as the widget is not realized at that point. Fixes: #NB56624.
4738 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4740 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4741 Add padding for future expansions.
4743 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4745 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4746 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4747 will fake an activation on the previous to the last item of the trail, so
4748 the effect can be overrided by the developer as usual.
4749 Also change the callback for the back button to do the same thing, so its
4750 effect can be overrided too. Fixes: NB#58982
4752 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4754 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4755 HildonCaption. Fixes NB#52379.
4757 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4759 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4760 the internal state of the trail after the user has had the chance of executing
4761 his handler for the signal. Specifically, it may happen that the activated button
4762 is removed and the user still lets the default handler run. This would segfault
4765 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4767 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4768 scrollbar to the preview dialog. Fixes NB#54147.
4770 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4772 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4773 max/min year properties can be altered, so the client can modify it
4774 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4776 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4778 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4779 hildonlike by default. Fixing a problem with disappearing arrows when
4780 scrolling through months and years. Fixes NB#54127.
4782 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4784 * examples/hildon-date-editor-example.c: Adding error callback to the date
4787 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4793 * configure.ac: Updating.
4795 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4797 * configure.ac: Adding a special '--enable-xan' configure option that
4798 turns off the -Werror compilation setting. Usefull for development.
4800 * src/hildon-calendar.c:
4801 * src/hildon-number-editor.c:
4802 * src/hildon-time-picker.c: Adding the 5* multiplier to
4805 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4807 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4808 instead of g_object_ref + gtk_object_sink.
4810 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4816 * debian/changelog: Updating.
4818 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4820 * src/hildon-color-chooser-dialog.c:
4821 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4822 straight from Tommi labs.
4824 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4826 * examples/hildon-finger-example.c: Correcting the header file path.
4828 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4829 the changed signal. Fixes a small memory leak.
4831 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4835 * src/hildon-banner.c: Importing several usefull fixes from the
4836 ubuntu-mobile branch.
4838 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4840 * examples/Makefile.am:
4841 * examples/hildon-finger-example.c: Adding a finger-checking code
4844 * src/hildon-font-selection-dialog.c: Do not allocate the color
4845 structure using the g_new. Fixes NB#54061.
4847 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4849 * src/hildon-helper.c: Correcting tabs in file.
4851 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4853 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4854 control the visibility of the children.
4856 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4858 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4864 * debian/changelog: Updating.
4866 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4868 * src/hildon-bread-crumb-trail.c:
4869 (hildon_bread_crumb_trail_size_allocate):
4871 Make the back button always a square.
4873 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4875 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4876 from the .c file as it's a private file.
4878 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4880 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4881 uses slightly bigger height.
4883 * src/hildon-font-selection-dialog.c: Adding some checks before
4884 freeing memory in the font selection dialog.
4886 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4888 * src/hildon-font-selection-dialog.c: Adding a small check when
4891 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4892 buttons sensitivity on page switching.
4894 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4896 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4897 internal details of adding a bread crumb to the trail.
4899 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4905 * debian/changelog: Updating.
4907 * src/hildon-bread-crumb-trail.h:
4908 * src/hildon-bread-crumb.h: Changing the API guard to
4909 HILDON_ENABLE_UNSTABLE_API.
4911 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4919 * src/hildon-helper.h: Updating.
4921 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4929 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4933 * src/hildon-helper.h: Small fix to make the package actually compile.
4935 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4937 * src/hildon-bread-crumb-trail.h:
4938 * src/hildon-bread-crumb.h:
4940 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4941 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4943 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4945 * examples/hildon-bread-crumb-trail-example.c:
4947 * src/hildon-bread-crumb-trail.c:
4948 * src/hildon-bread-crumb-trail.h:
4949 * src/hildon-bread-crumb.c:
4950 * src/hildon-bread-crumb.h:
4951 * src/hildon-marshalers.list:
4952 * src/hildon-bread-crumb-widget.c:
4953 * src/hildon-bread-crumb-widget.h:
4955 Slight change in the widget design. The bread crumb trail API is
4956 unchanged, but HildonBreadCrumb is now an interface. A *private*
4957 implementation, hildon-bread-crumb-widget, is provided and used
4958 internally by the trail for the push_text/push_icon functions.
4960 The generic push API is still available, so anyone can implement
4961 and use its own bread crumb widget.
4963 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4965 * debian/rules: Fixing the shlibs.
4967 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4969 * src/hildon-banner.c: Fixing a problem with timed banners having
4970 their parrent destroyed before they are.
4972 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4974 * src/hildon-bread-crumb.c:
4975 * src/hildon-bread-crumb.h:
4977 Make the get_natural_size function a vfunc.
4979 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4981 * src/hildon-bread-crumb.c:
4982 * src/hildon-bread-crumb-trail.c:
4986 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4993 * debian/changelog: Updating for release.
4995 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4997 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4998 don't leak the pango layout.
5000 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
5003 * examples/hildon-bread-crumb-trail-example.c:
5007 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5009 * debian/changelog: Removing the bug-fixed entries that were actually
5010 resolved as WONTFIX.
5012 * src/hildon-date-editor.c: Removing a redundant check. Fixes
5015 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
5017 * src/hildon-bread-crumb-trail.c:
5018 * src/hildon-bread-crumb-trail.h:
5019 * src/hildon-bread-crumb.c:
5020 * src/hildon-bread-crumb.h:
5024 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
5026 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
5027 until it's passed the type check.
5029 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
5031 * examples/hildon-bread-crumb-trail-example.c
5035 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
5037 * examples/Makefile.am
5038 * examples/hildon-bread-crumb-trail-example.c
5040 * src/hildon-bread-crumb-trail.c
5041 * src/hildon-bread-crumb-trail.h
5042 * src/hildon-bread-crumb.c
5043 * src/hildon-bread-crumb.h
5045 New HildonBreadCrumbTrail widget.
5047 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
5049 * src/hildon-range-editor.c (hildon_range_editor_init),
5050 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
5051 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
5052 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
5053 hildon_time_editor_class_init, hildon_time_editor_init),
5054 src/hildon-get-password-dialog.c (invalid_input,
5055 hildon_get_password_set_property, hildon_get_password_get_property,
5056 create_contents, hildon_get_password_dialog_set_max_characters),
5057 src/hildon-set-password-dialog.c (create_contents),
5058 src/hildon-date-editor.c (hildon_date_editor_init),
5059 src/hildon-login-dialog.c (hildon_login_dialog_init),
5060 src/hildon-number-editor.c (hildon_number_editor_init),
5061 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
5062 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
5063 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
5064 configure option and adding the respective checks in the code.
5065 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
5066 hildon_calendar_drag_data_received): fixed some build warnings.
5068 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5070 * debian/changelog: A 1.0.0 release notes.