1 2009-07-16 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-text-view.c,
4 (hildon_text_view_button_press_event): Grabbed the focus in button
5 press, this way we are sure the widget has the focus in the
6 release event, required for HIM.
8 Fixes: NB#121445 (Virtual keyboard opening is not working in same
9 way for each text entry field)
11 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
13 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
14 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
15 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
16 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
17 (hildon_pannable_area_[gs]et_center_on_child_focus)
18 Redefined GtkContainer set-focus-child signal, in order to center
19 properly on a child when it receives the focus. Defined a new property
20 "center-on-child-focus" in order to activate this feature (deactivated
21 by default). Public get/set methods defined to manage the property.
23 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
25 2009-07-14 László Pere <lpere@blumsoft.eu>
27 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
28 the new size is applied.
30 Fixes: NB#124510 (The Application Menu is distorted when switched
31 between portrait and landscape mode)
32 Fixes: NB#115388 (Power key menu does not resize itself)
34 2009-07-01 Alberto Garcia <agarcia@igalia.com>
36 * hildon/hildon-banner.c (hildon_banner_map):
37 Set banner position after mapping.
39 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
41 * configure.ac: postrelease version bump.
42 * debian/changelog: post release version bump
44 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
49 * configure.ac: Bump version.
50 * debian/changelog: Updates.
52 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
54 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
57 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
59 * tests/check-hildon-banner.c
62 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
63 were testing deprecated functions.
64 * examples/hildon-banner-example.c: typo on button3 type, that causes
65 a fail compiling with --with-examples but without --disable-deprecated
67 Missed commit in order to fix compilation using '--enable-fatal' and
68 '--disable-deprecated' (see previous commit)
70 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
72 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
73 functions with #ifndef HILDON_DISABLE_DEPRECATED
74 * examples/hildon-find-toolbar.c: Protect deprecated
75 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
76 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
77 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
78 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
80 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
81 to allow proper compilation of deprecated functions defined on the header
83 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
85 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
87 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
88 Cache the panning indicator color.,
89 (hildon_pannable_area_style_set): Query the color on style changes.
90 (hildon_pannable_draw_vscroll),
91 (hildon_pannable_draw_hscroll),
92 (hildon_pannable_area_expose_event): Use the cached panning indicator
93 color instead of looking it up on every expose and more.
95 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
97 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
98 (hildon_pannable_draw_hscroll),
99 (hildon_pannable_area_expose_event): Fix the panning indicator color,
100 so that it's "SecondaryTextColor", as desired.
102 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
104 * hildon/hildon-picker-dialog.c:
105 (selection_completed): take into account HILDON_UI_MODE_NORMAL
106 * hildon/hildon-touch-selector.c
107 (hildon_touch_selector_init): Initialize hildon-ui-mode
108 (hildon_touch_selector_row_activated): new callback for the
109 "row-activated" signal, in order to save the last activated
110 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
111 if the current hildon-ui-mode is coherent with the touch selector
112 (hildon_touch_selector_class_init)
113 (hildon_touch_selector_get_property)
114 (hildon_touch_selector_set_property)
115 Added "hildon-ui-mode" property
116 (disconnect_model_handlers): renamed to clean_column
117 (hildon_touch_selector_remove): use clean_column function
118 (_create_new_column): use the hildon-ui-mode to create the treeview, and
119 only select the first element on HILDON_UI_MODE_EDIT
120 (hildon_touch_selector_column_init): Initialize last_activate
121 (hildon_touch_selector_append_column): check that the touch selector
122 is coherent with the current hildon-ui-mode
123 (hildon_touch_selector_get_hildon_ui_mode)
124 (hildon_touch_selector_set_hildon_ui_mode)
125 Added a getter/setter for the hildon-ui-mode property
126 (hildon_touch_selector_get_last_activated_row): Added this method in
127 order to get the last activated row.
128 * examples/hildon-touch-selector-normal-mode-example.c
129 New example, that shows how to use the HildonTouchSelector in
130 HILDON_UI_MODE_NORMAL
132 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
133 Kristian Rietveld <kris@lanedo.com> advices
135 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
137 * hildon/hildon-time-selector.c: (update_format_policy): Do
138 not call update_format_dependant_columns() if not necessary.
139 (update_format_dependant_columns): Remove unnecessary check for
140 the number of columns.
142 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
144 * hildon/hildon-note.c (+hildon_note_constructor),
145 (hildon_note_class_init), (+hildon_note_set_padding),
146 (hildon_note_rebuild): Install a constructor where to set the
147 padding properties in the note, so that it actually works fine.
148 Use hildon_note_set_padding() for this, and also to set it during
151 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
153 * configure.ac: Bump GTK+ requirement to 2.14.3.
154 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
155 when using maemo-gtk to define proper margins for the notes.
157 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
158 with the dialog edge)
160 2009-06-24 Alberto Garcia <agarcia@igalia.com>
162 * hildon/hildon-banner.c
163 (hildon_banner_class_init):
165 (+hildon_banner_size_request):
166 Request always the full width of the screen.
167 (hildon_banner_realize)
168 (-hildon_banner_check_position, hildon_banner_map):
169 hildon_banner_check_position() is not needed in Hildon 2.2.
170 (-hildon_banner_reset_wrap_state)
171 (hildon_banner_constructor, hildon_banner_init):
172 Remove unnecessary calls to hildon_banner_reset_wrap_state()
173 (+banner_do_set_text)
174 (force_to_wrap_truncated):
175 Remove has_been_wrapped and has_been_truncated attributes.
176 (+reshow_banner, hildon_banner_real_show_information)
177 (hildon_banner_show_information_with_markup)
178 (hildon_banner_show_animation, hildon_banner_show_progress)
179 (hildon_banner_set_text, hildon_banner_set_markup):
180 Refactor code. Shrink banner vertically to use the minimum space
181 necessary everytime the text of the label is updated.
182 (screen_size_changed):
183 Call force_to_wrap_truncated() when the size of the screen
186 Fixes: NB#120500 (only device memory connect mmc in use info
187 banner is left aligned)
189 Fixes: NB#120613 (Size of HildonBanner varies depending on
190 previously opened banners)
192 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
194 * hildon/hildon-color-chooser.c
195 (hildon_color_chooser_pointer_motion): Take the widget allocation
198 Fixes: NB#124385 (Unable to select exact point in color mixing box
199 in color palette dialog)
201 2009-06-23 Alejandro G. Castro <alex@igalia.com>
203 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
204 (hildon_pannable_area_dispose)
205 (hildon_pannable_area_button_press_cb)
206 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
207 (hildon_pannable_area_button_release_cb)
208 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
209 New 'panning-started' and 'panning-finished' signals.
211 Fixes: NB#121732 (New feature request: Signal to pannable area
212 that informs when panning is stopped.)
214 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
216 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
217 instead of hardcoded colon.
219 Fixes: NB#124090 (New calendar wizard title is not using
220 ecdg_ti_caption_separator)
222 2009-06-22 David King <davidk@openismus.com>
224 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
225 constants and functions, as well as correct many typos throughout the
228 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
231 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
233 * configure.ac: postrelease version bump.
234 * debian/changelog: post release version bump
236 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
241 * configure.ac: Bump version.
242 * debian/changelog: Updates.
244 2009-06-18 Alberto Garcia <agarcia@igalia.com>
246 * hildon/hildon-window-stack.c
247 (hildon_window_stack_pop_and_push_list):
248 Prevent windows from having the same stack index
250 2009-06-18 Alberto Garcia <agarcia@igalia.com>
252 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
253 Use the index of the previous window rather than the stack length
254 to calculate the new index.
258 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
260 * hildon/hildon-date-selector.c
261 (hildon_date_selector_select_current_date)
262 (hildon_date_selector_get_date)
263 (hildon_date_selector_select_day):
264 Update the documentation: uses always the range (1-31), as it is obvious
265 that the final one will depend on the month and the year, but globally
266 the range is this, in a similar GtkCalendar approach
267 (hildon_date_selector_get_date):
268 Update the documentation: add NULL as a valid value for the day, month
271 Fix some details, after talk with David King on bug MB#4698
273 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
275 * hildon/hildon-touch-selector-entry.c
276 * hildon/hildon-touch-selector.c
277 Update the documentation of the "text-column" property
279 2009-06-18 David King <davidk@openismus.com>
281 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
282 several typos and errors throughout the documentation.
284 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
287 2009-06-18 Alberto Garcia <agarcia@igalia.com>
289 * hildon/hildon-note.c (hildon_note_realize):
290 Make HildonNote support portrait mode.
292 Fixes: NB#123448 (HildonNote is not portrait-friendly)
294 2009-06-17 Alberto Garcia <agarcia@igalia.com>
296 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
297 Document this function
299 2009-06-17 David King <davidk@openismus.com>
301 * hildon/hildon-date-selector.c
302 (hildon_date_selector_select_current_date)
303 (hildon_date_selector_get_date): Update documentation regarding days,
304 as the day of the month is dependent on both the month and the year.
305 (hildon_date_selector_get_date): Fix documentation of output arguments.
307 Fixes: MB#4698 (DateSelector documentation has bad output argument
308 description, and the day depends on both the month and the year)
310 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
312 * hildon/hildon-caption.c: Other documentation fixes to
315 2009-06-17 David King <davidk@openismus.com>
317 * hildon/hildon-caption.c: Minor documentation updates for
318 HildonCaption. Fixes MB#4697.
320 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
322 * doc/hildon-docs.sgml: Add hildon-version section.
323 * doc/hildon-sections.txt:
324 * hildon/hildon-version.h.in: Document versioning macros and
327 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
329 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
330 from HildonPickerDialog section.
332 2009-06-16 Alberto Garcia <agarcia@igalia.com>
334 * hildon/hildon-banner.c (hildon_banner_bind_style)
335 (screen_size_changed, hildon_banner_init)
336 (hildon_banner_real_show_information)
337 (hildon_banner_show_information_with_markup)
338 (hildon_banner_show_animation, hildon_banner_show_progress):
339 Set a different widget name to banners in portrait mode, for them
340 to be themed correctly.
342 2009-06-16 Alberto Garcia <agarcia@igalia.com>
344 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
345 Set a different widget name to notes in portrait mode, for them to
348 Partially fixes: NB#118401 (HildonNote causes unnecessary
351 2009-06-16 Alberto Garcia <agarcia@igalia.com>
353 * hildon/hildon-note.c (hildon_note_class_init)
354 (+hildon_note_size_request, screen_size_changed):
355 Always request the full width of the screen.
357 Fixes: NB#118375 (unnecessary rescaling of images)
359 2009-06-16 Alejandro G. Castro <alex@igalia.com>
361 * hildon/hildon-pannable-area.c,
362 (hildon_pannable_area_init),
363 (hildon_pannable_area_realize): Replaced old code adding flags in
364 the object init, now we add it with the other flags in the realize
367 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
369 * hildon/hildon-note.c: (hildon_note_class_init): Several
370 documentation improvements to the HildonNote widget.
372 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
374 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
376 Fixes: MB#4556 (HildonNoteType is undocumented)
378 2009-06-15 Alberto Garcia <agarcia@igalia.com>
380 * hildon/hildon-picker-button.c:
381 Explain how HildonPickerButton sets the title of its dialog
383 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
384 the title of its dialog)
386 2009-06-15 Alberto Garcia <agarcia@igalia.com>
388 * hildon/hildon-check-button.c:
389 Documentation updates
391 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
394 2009-06-15 Alberto Garcia <agarcia@igalia.com>
397 * hildon/hildon-edit-toolbar-private.h
398 * hildon/hildon-edit-toolbar.c
399 (+hildon_edit_toolbar_set_progress_indicator)
400 (hildon_edit_toolbar_init): Add progress indicator to the
403 * hildon/hildon-gtk.c
404 (hildon_gtk_window_set_progress_indicator):
405 If the window contains a HildonEditToolbar, enable the progress
408 * hildon/hildon-private.h
409 * hildon/hildon-private.c
410 (+hildon_private_create_animation)
411 * hildon/hildon-banner.c
412 (-hildon_banner_create_animation):
413 Moved to hildon-private.c
415 Fixes: NB#102373 (Progress indicator also for the Edit mode
418 2009-06-15 Alberto Garcia <agarcia@igalia.com>
420 * hildon/hildon-app-menu-private.h
421 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
422 (hildon_app_menu_add_filter, +menu_item_button_event)
423 (hildon_app_menu_button_release, hildon_app_menu_init):
424 Make sure that buttons receive 'button-release-event' in spite of
425 the grab held by HildonAppMenu
427 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
429 2009-06-15 Alberto Garcia <agarcia@igalia.com>
431 * hildon/hildon-app-menu.c
432 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
433 New style property to set the size of the group of filter buttons.
435 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
437 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
442 * configure.ac: Bump version.
443 * debian/changelog: Updates.
445 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
447 * hildon/hildon-main.c: Minor documentation fixes.
449 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
451 * doc/hildon-sections.txt:
452 * hildon/hildon-defines.h: Document the defines, organize them,
453 and mark deprecations as such.
455 Fixes: MB#4463 (Hildon size #defines are undocumented)
457 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
459 * hildon/hildon-animation-actor.c:
460 * hildon/hildon-app-menu.c:
461 * hildon/hildon-button.c:
462 * hildon/hildon-date-editor.c:
463 * hildon/hildon-dialog.c:
464 * hildon/hildon-edit-toolbar.c:
465 * hildon/hildon-entry.c:
466 * hildon/hildon-program.c:
467 * hildon/hildon-remote-texture.c:
468 * hildon/hildon-stackable-window.c:
469 * hildon/hildon-text-view.c:
470 * hildon/hildon-touch-selector.c:
471 * hildon/hildon-window-stack.c:
472 * hildon/hildon-window.c:
474 Remove redundant "represents" wording from most of the documentation.
476 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
478 2009-06-12 Alberto Garcia <agarcia@igalia.com>
483 * hildon/hildon-banner-private.h
484 * hildon/hildon-banner.c:
485 Move HildonBannerPrivate to hildon-banner.c and remove
486 hildon-banner-private.h
487 Use a bit field to store private booleans.
489 2009-06-12 Alberto Garcia <agarcia@igalia.com>
491 * hildon/hildon-app-menu.c (hildon_app_menu_map):
492 Don't install a new idle function if there's already one
497 2009-06-11 Alberto Garcia <agarcia@igalia.com>
499 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
500 (+legacy_menu_realized, +legacy_menu_unmapped)
501 (+set_legacy_menu_type):
502 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
503 they can be identified by the window manager.
505 Fixes: NB#101437 (Invoking CSM on the left side of page area is
506 displayed in wrong location)
508 Fixes: MB#4563 (Popup menu won't locate at the left side of the
511 2009-06-11 Alberto Garcia <agarcia@igalia.com>
513 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
515 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
518 2009-06-11 Alberto Garcia <agarcia@igalia.com>
520 * hildon/hildon-code-dialog.c
521 * hildon/hildon-date-editor.c
522 * hildon/hildon-number-editor.c
523 * hildon/hildon-seekbar.c
524 * hildon/hildon-stackable-window.c
525 * hildon/hildon-window.c:
526 Misc documentation updates
528 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
530 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
531 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
533 Fixes: NB#117931 (Theming issues in accounts dialogs)
535 2009-06-09 Alejandro G. Castro <alex@igalia.com>
537 * hildon/hildon-pannable-area.c,
538 (hildon_pannable_area_button_release_cb): Changed the coordinates
539 of the original release in case we want to discard the release,
540 some widgets in Fremantle do not handle the leave-notify.
542 2009-06-09 Alejandro G. Castro <alex@igalia.com>
544 * hildon/hildon-pannable-area.c,
545 (hildon_pannable_area_button_release_cb): Reviewed the logic of
546 the release using the last refactored functions and avoiding the
547 movement if an element was selected.
549 2009-06-09 Alejandro G. Castro <alex@igalia.com>
551 * hildon/hildon-pannable-area.c,
552 (hildon_pannable_area_check_move),
553 (hildon_pannable_area_handle_move),
554 (hildon_pannable_area_motion_notify_cb): Refactored the
555 motion_notify method using a couple of new functions.
557 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
559 * hildon/hildon-date-selector.c:
560 (hildon_date_selector_construct_ui):
561 * hildon/hildon-time-selector.c:
562 (hildon_time_selector_constructor):
563 * hildon/hildon-touch-selector-entry.c:
564 (hildon_touch_selector_entry_set_text_column),
565 (hildon_touch_selector_entry_get_text_column):
566 * hildon/hildon-touch-selector.c: (_default_print_func),
567 (hildon_touch_selector_new_text): Use
568 hildon_touch_selector_set/get_text_column() instead of
569 setting/getting the "text-column" property.
571 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
573 * doc/hildon-sections.txt: Add the new public methods below.
575 * examples/hildon-picker-button-multicolumn-example.c:
576 (create_touch_selector):
577 * examples/hildon-touch-selector-example.c: (create_selector):
578 * examples/hildon-touch-selector-multi-cells-example.c:
580 Use hildon_touch_selector_column_set_text_column()
582 * hildon/hildon-touch-selector-column.h:
583 * hildon/hildon-touch-selector.c:
584 (hildon_touch_selector_column_set_text_column),
585 (hildon_touch_selector_column_get_text_column):
586 Make hildon_touch_selector_column_set/get_column() public, use
587 them in the inline example, document them, and reference to them
590 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
592 * hildon/hildon-time-selector.c: Fix the docs for
593 hildon_time_selector_new_step().
595 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
597 * hildon/hildon-touch-selector.c: Improve the documentation for
598 hildon_touch_selector_append_column().
600 Fixes MB#4641 (Documentation:
601 hildon_touch_selector_append_column() ref-counting)
603 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
605 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
606 Comment out test 5, since the hildon_controlbar_set_range() range
607 check is broken and fixing it would have side effects. Also,
608 this finally fixes make distcheck.
610 Fixes: NB#101420 (Update unit tests and fix make distcheck)
612 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
614 * tests/TEST-CASES.txt: Remove other bogus test.
615 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
616 Remove bogus test that was setting/retrieving a valid value.
618 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
620 * tests/TEST-CASES.txt: Remove bogus tests.
621 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
622 Remove three bogus tests that were actually setting valid colors.
624 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
626 * configure.ac: post release version bump
627 * debian/changelog: post release version bump
629 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: Bump version.
635 * debian/changelog: Updates.
637 2009-06-08 Christian Dywan <christian@lanedo.com>
641 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
642 Correct errors in hildon_format_file-size_for_display and use
643 translations from the hildon-fm package instead of osso-filemanager.
645 2009-06-08 Alejandro G. Castro <alex@igalia.com>
647 * hildon/hildon-pannable-area.c,
648 (hildon_pannable_area_init): Initialized new values to handle the
650 (hildon_pannable_area_adjust_value_changed): Check if the values
651 changed before even call the redraw function.
652 (hildon_pannable_area_size_allocate),
653 (hildon_pannable_axis_scroll),
654 (hildon_pannable_area_scroll),
655 (hildon_pannable_area_jump_to): Improved the diagonal movement
658 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
661 2009-06-08 Alberto Garcia <agarcia@igalia.com>
663 * examples/hildon-banner-example.c:
664 Several style updates
665 (on_animation_clicked, on_animation_idle)
666 (on_progress_clicked, on_progress_idle):
667 Add additional reference for the cases when the parent window is
670 2009-06-08 Alberto Garcia <agarcia@igalia.com>
672 * doc/hildon-sections.txt
673 * hildon/hildon-pannable-area.c
674 * hildon/hildon-banner.h
675 * hildon/hildon-banner.c: Documentation updates.
677 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
680 2009-06-05 Alejandro G. Castro <alex@igalia.com>
682 * hildon/hildon-calendar-popup.h:
683 * hildon/hildon-caption.h:
684 * hildon/hildon-code-dialog.h:
685 * hildon/hildon-controlbar.h:
686 * hildon/hildon-date-editor.h:
687 * hildon/hildon-dialog.h:
688 * hildon/hildon-get-password-dialog.h:
689 * hildon/hildon-hvolumebar.h:
690 * hildon/hildon-login-dialog.h:
691 * hildon/hildon-note.h:
692 * hildon/hildon-number-editor.h:
693 * hildon/hildon-range-editor.h:
694 * hildon/hildon-seekbar.h:
695 * hildon/hildon-set-password-dialog.h:
696 * hildon/hildon-sort-dialog.h:
697 * hildon/hildon-time-editor.h:
698 * hildon/hildon-time-picker.h:
699 * hildon/hildon-volumebar-range.h:
700 * hildon/hildon-volumebar.h:
701 * hildon/hildon-vvolumebar.h:
702 * hildon/hildon-weekday-picker.h:
703 * hildon/hildon-window.h:
704 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
705 macros with the current replacements
707 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
709 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
711 * hildon/hildon-color-button.c (hildon_color_button_init): Use
712 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
713 itself, to make it fit better with Fremantle style.
715 Fixes: NB#109878 (height and width of focus on color icon is not
716 consistent with other item in the application tool bar)
718 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
720 * hildon/hildon-touch-selector.c:
721 (hildon_touch_selector_optimal_size_request): use the current requisition
722 as the base, in order to include any possible extra widget, like the
723 hildon entry on HildonTouchSelectorEntry
725 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
727 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
729 * configure.ac: post release version bump
730 * debian/changelog: post release version bump
732 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
737 * configure.ac: Bump version.
738 * debian/changelog: Updates.
740 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
742 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
744 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
745 to ensure the banner contents are centered, instead of relying on
746 the expand and fill properties in GtkHBox.
747 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
749 Fixes: NB#108265 (Animation banner not properly centered)
751 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
753 * hildon/hildon-pannable-area.c
754 (hildon_pannable_area_initial_effect): Remove the initial_effect
755 management, check initial_hint
756 (hildon_pannable_are_expose_event): Remove the initial_hint management,
757 set initial_effect to FALSE
758 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
759 by launching the fade_timeout if the scrollbars state has changed and are
761 * examples/hildon-pannable-area-initial-hint-example.c
762 Modified to allow to remove rows too. Add and remove rows one by one.
764 2009-05-28 Alberto Garcia <agarcia@igalia.com>
766 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
767 Don't close the menu if there's an animation actor below it.
769 Fixes: NB#117927 (Application menu not usable with animation
772 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
774 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
775 "focus-on-click" from the dialog button, to avoid stealing the
776 focus from the entry.
778 Fixes: NB#118903 (Account setup wizard: Text in Search field
779 should be focused when "Region" touch list picker is reopened
782 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
784 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
785 (prepare_action_area): Completely hide the dialog separator.
787 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
789 * hildon/hildon-touch-selector-entry.c
790 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
791 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
792 now that the entry is exposed.
794 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
796 * hildon/hildon-touch-selector-entry.c
797 (hildon_touch_selector_entry_init): Change the entry's size
798 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
800 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
802 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
803 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
804 avoid unnecessary scaling.
806 2009-05-27 Alberto Garcia <agarcia@igalia.com>
808 * hildon/hildon-app-menu.c (hildon_app_menu_map):
809 Create grab transfer window before calling parent's map function.
811 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
812 "crushed" button(s) in the top left corner)
814 2009-05-26 Alberto Garcia <agarcia@igalia.com>
816 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
817 Check if the window is already realized when pushing it.
819 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
821 * configure.ac: post release version bump
822 * debian/changelog: post release version bump
824 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
829 * configure.ac: Bump version.
830 * debian/changelog: Updates.
832 2009-05-25 Alberto Garcia <agarcia@igalia.com>
834 * hildon/hildon-app-menu.c: Doc updates.
836 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
838 * hildon/hildon-banner.c: Remove leftover macro.
840 2009-05-25 Alejandro G. Castro <alex@igalia.com>
842 * hildon/hildon-pannable-area.c,
843 (hildon_pannable_area_scroll_indicator_fade),
844 (hildon_pannable_area_button_release_cb): Reviewed vmin
845 conditions, it could cause problems in the fadeout procedure.
847 2009-05-25 Alejandro G. Castro <alex@igalia.com>
849 * hildon/hildon-pannable-area.c
850 (hildon_pannable_area_button_release_cb): Added a threshold to
851 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
853 2009-05-25 Alejandro G. Castro <alex@igalia.com>
855 * hildon/hildon-pannable-area.c,
856 (hildon_pannable_area_set_property): Added code to sync the gtk
857 dnd threshold with the panning threshold.
859 2009-05-25 Alejandro G. Castro <alex@igalia.com>
861 * hildon/hildon-pannable-area.c,
862 (hildon_pannable_area_class_init): Changed some of the default
863 values, now it should be less responsive and more accurate.
865 2009-05-25 Alejandro G. Castro <alex@igalia.com>
867 * hildon/hildon-pannable-area.c,
868 (hildon_pannable_area_init),
869 (hildon_pannable_area_scroll_indicator_fade),
870 (hildon_pannable_area_button_press_cb),
871 (hildon_pannable_axis_scroll),
872 (hildon_pannable_area_timeout),
873 (hildon_pannable_area_motion_notify_cb),
874 (hildon_pannable_area_button_release_cb): Changed the name of the
875 clicked attribute to button_pressed, it is more clear about its use.
877 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
879 * src/hildon-pannable-area.c
880 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
882 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
883 vertical scrollbar visibility, and use the data on private section instead,
884 remove the initial_hint check
885 (hildon_pannable_area_expose_event): add the initial_hint check here
887 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
889 * src/hildon-pannable-area.c
890 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
891 if the fadeout effect was used
892 (hildon_pannable_area_expose_event): check if it is required to
893 manage the initial effect on the begining of the function. Previously
894 it was made at the end, but this doesn't ensure that the scrollbars
895 will be painted on the first show. Do not set to FALSE initial_effect,
896 to ensure that the initial hint is showed the first time the pannable
898 * examples/Makefile.am
899 * examples/hildon-pannable-area-initial-hint-example.c:
900 New example, to show that the initial-hint is showed when the widget
903 Fixes: NB#116607 (Pannable area should always have scrollbar visible
904 initially if the application can be scrolled)
906 2009-05-25 Alberto Garcia <agarcia@igalia.com>
908 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
909 Resize table before adding new items to make sure that
910 gtk_table_resize() is called just once.
912 2009-05-25 Alberto Garcia <agarcia@igalia.com>
914 * hildon/hildon-app-menu-private.h
915 * hildon/hildon-app-menu.c (item_visibility_changed)
916 (filter_visibility_changed, hildon_app_menu_show_all)
917 (hildon_app_menu_hide_all, hildon_app_menu_init):
918 Rearrange items just once when gtk_widget_show_all()/hide_all()
921 2009-05-25 Alberto Garcia <agarcia@igalia.com>
923 * hildon/hildon-app-menu.c
924 (hildon_app_menu_insert, hildon_app_menu_add_filter):
925 Don't call gtk_widget_show() on added items.
927 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
928 automatically when they're added)
930 2009-05-20 Alberto Garcia <agarcia@igalia.com>
932 * hildon/hildon-banner.c
933 (hildon_banner_realize, +hildon_banner_unrealize)
934 (+screen_size_changed, hildon_banner_class_init):
935 Redisplay the banner if the screen is rotated.
937 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
938 on transition from landscape to portrait)
940 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
942 * hildon/hildon-banner.[ch]:
943 (hildon_banner_show_information_override_dnd): remove icon_name from the
944 method definition as it is ignored.
945 * examples/hildon-banner-dnd-example.c: updated with the change on
948 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
950 * hildon/hildon-banner-private.h: new require_override_dnd and
951 overrides_dnd variables
952 * hildon/hildon-banner.h:
953 (hildon_banner_show_information_override_dnd): new method, that shows
954 the information but sets the override flag, in order to show important
956 * hildon/hildon-banner.c
957 (hildon_banner_show_information_override_dnd): new method
958 (hildon_banner_set_override_flag): new utility function
959 (hildon_banner_real_show_information): new utility function, in order to
960 generalize the current hildon_banner_show_information_override_dnd and
961 hildon_banner_show_information_override_dnd
962 * examples/Makefile.am
963 * examples/hildon-banner-dnd-example.c: New example that show how to
964 use the new hildon_banner_show_information_override_dnd
966 Fixes: NB#114874 (There is no possibility to show hildon banners with
969 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
971 * hildon/hildon-pannable-area.c: Add a comment explaining the math
972 behind hildon_pannable_calculate_vel_factor().
974 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
976 * hildon/hildon-pannable-area.c
977 (hildon_pannable_calculate_vel_factor): Correct the sum of the
978 deceleration factors.
980 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
982 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
983 Reduce the default value for 'scroll_time' to 1 second, since the
984 current initial scrolling takes too much time.
986 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
988 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
989 calculate velocity factor during initialization, since the properties
992 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
994 * hildon/hildon-pannable-area.c
995 (hildon_pannable_area_set_property): Calculate the velocity factor
996 after setting the deceleration property and not after.
998 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1000 * hildon/hildon-entry.c
1001 (hildon_entry_class_init, +set_property, hildon_entry_new)
1002 * hildon/hildon-check-button.c
1003 (hildon_check_button_class_init)
1004 (+set_property, hildon_check_button_new):
1005 Make the theme size a property.
1007 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1008 others) do too much in the _new function)
1010 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1012 * configure.ac: post release version bump
1013 * debian/changelog: post release version bump
1015 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1020 * configure.ac: Bump version.
1021 * debian/changelog: Updates.
1023 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1025 * hildon/hildon-gtk.h
1026 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1027 New API function to take a screenshot of a window
1029 Fixes: NB#106374 (Need API to take a loading screenshot)
1031 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1033 * hildon/hildon-time-selector.c
1034 (update_format_policy): prevent to use hours and minutes unitialized
1036 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1038 * hildon/hildon-window.c (hildon_window_size_request):
1039 Always request the full size of the screen (minus the title bar if
1040 not in fullscreen mode).
1042 Fixes: NB#107486 (HildonWindow should size itself properly)
1044 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1046 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1047 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1048 (on_show_cb), (sound_handling): Disconnect the idle handler for
1049 the sound when the note is finalized to avoid possible crashes.
1051 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1054 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1056 * src/hildon-animation-actor.c,
1057 * src/hildon-remote-texture.c:
1058 Added proper object cleanup to remove signal handler and object
1059 references as HildonAnimationActor and HildonRemoteTexture
1060 objects get destroyed.
1062 Fixes: NB#116682 (Destroying parented animation actors when
1063 parent in unmapped leads to crash)
1065 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1067 Based on a patch by Christian Dywan (christian@imendio.com)
1069 * doc/hildon-sections.txt:
1070 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1071 * hildon/hildon-helper.h: New file size formatting method.
1073 * debian/control: Depend on osso-filemanager l10n package for
1074 proper localization strings.
1076 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1078 * tests/Makefile.am: Include top_srcdir to make possible to build
1079 tests in a different builddir.
1080 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1081 on a different builddir.
1083 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1085 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1086 (hildon_touch_selector_remove): Disconnect model's signal handler
1089 Fixes: NB#116289 (Hildon home crashes while adding task
1092 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1094 * hildon/hildon-button.c
1095 (hildon_button_set_title, hildon_button_set_value):
1096 Hide labels containing an empty string.
1098 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1100 * configure.ac: post release version bump
1101 * debian/changelog: post release version bump
1103 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1108 * configure.ac: Bump version.
1109 * debian/changelog: Updates.
1111 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1113 * hildon/hildon-note-private.h: Removed sound_signal_handler
1114 * hildon/hildon-note.c
1115 (on_show_cb): new callback on note "show" event, this simply adds
1116 a idle, with the function sound_handling
1117 (sound_handling): removed the sound_signal_handler management
1118 (hildon_note_init): connect note "show" event to on_show_cb
1119 (hildon_note_realize): remove the connection to "expose-event"
1121 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1122 device?' confirmation note)
1124 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1126 * hildon/hildon-note.c
1127 (hildon_note_new_information_with_icon_name)
1128 (hildon_note_new_confirmation_with_icon_name):
1129 Terminate the list of parameters in g_object_set() calls
1131 Fixes: NB#115166 (Formatting memory card is not taking place)
1133 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1135 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1136 "dialog-information" role for the sound being played.
1138 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1140 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1141 Don't make the menu a modal window, it causes strange interactions
1142 with the pointer grab and it's not really needed.
1144 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1146 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1148 * hildon/hildon-touch-selector.[ch]
1149 (hildon_touch_selector_optimal_size_request): function added to get a
1150 optimal size request from the touch selector, when you want a dialog to
1151 show as much of the selector
1152 * hildon/hildon-picker-dialog.c:
1153 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1154 (hildon_app_menu_class_init):
1155 New "max-height-landscape" and "max-height-portrait" style properties
1156 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1157 (hildon_picker_dialog_get_max_height): returns the maximum height using
1158 the style properties defined and checking the current portrait/landscape
1160 (_hildon_picker_dialog_set_selector): removed the set_size_request
1162 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1164 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1166 * hildon/hildon-bread-crumb-trail.c:
1167 * hildon/hildon-bread-crumb.c:
1168 * hildon/hildon-seekbar.c:
1169 Add reference to replacements for these deprecated widgets.
1171 Fixes: MB#4461 (Documentation: All deprecations should mention
1174 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1176 * examples/hildon-remote-texture-example.c
1178 Change the include to the hildon-remote-texture in order to compile
1179 properly the examples on the installed libhildon1-examples package
1181 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1183 * tests/Makefile.am: Add check for HildonPickerButton.
1184 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1185 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1186 checks for the HildonPickerButton.
1187 * tests/check_test.c (configure_tests): Add the test suite.
1188 * tests/test_suites.h: likewise.
1190 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1192 * hildon/hildon-touch-selector.c
1193 (+on_row_changed): Emit HildonTouchSelector:changed when the
1194 contents of a selected row change.
1195 (_create_new_column), (_hildon_touch_selector_set_model): connect
1196 to GtkTreeModel:row-changed on a newly set model.
1198 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1200 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1202 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1204 * hildon/hildon-banner.c (hildon_banner_destroy)
1205 (hildon_banner_show_progress, hildon_banner_set_fraction):
1206 Remove the progress bar from HildonBanner and use a progress
1209 Fixes: NB#113761 (Update progress banner to use progress
1212 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1214 * hildon/hildon-banner.c:
1215 Calculate size of the banner label using the actual screen width
1216 rather than using a fixed value.
1218 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1221 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1223 * hildon/hildon-pannable-area.c,
1224 (hildon_pannable_area_class_init): Fixed signals documentation
1227 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1229 * configure.ac: post release version bump
1230 * debian/changelog: post release version bump
1232 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1237 * configure.ac: Bump version.
1238 * debian/changelog: Updates.
1240 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1242 * hildon/hildon-edit-toolbar.c
1243 (hildon_edit_toolbar_init):
1244 Don't let buttons in HildonEditToolbar receive focus.
1246 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1247 typing on an HW arrows key)
1249 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1251 * doc/Makefile.am: Fix build.
1253 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1255 * doc/Makefile.am: Do not redefine content_files.
1257 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1265 Renamed src/ to hildon/
1270 Include <hildon/hildon.h> directly in all examples.
1272 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1274 * src/hildon-sort-dialog.c
1275 (hildon_sort_dialog_add_sort_key_with_sorting)
1279 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1282 make distcheck passes.
1284 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1286 * Makefile.am: Enable gtk-doc during distcheck.
1288 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1290 * Makefile.am: Do not distribute the debian/ directory.
1292 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1294 * doc/Makefile.am: Add the extra SGML files to content_files,
1295 so that they are distributed properly.
1297 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1299 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1302 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1304 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1305 (hildon_note_new_information_with_icon_name): Set the "icon" property
1306 to preserve soundness.
1308 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-font-selection-dialog.c
1311 (hildon_font_selection_dialog_set_property): Fail when the "family"
1312 property is set to NULL.
1314 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1316 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1319 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1321 * src/hildon-time-selector.h:
1322 Added HildonTimeSelectorFormatPolicy
1323 * src/hildon-time-selector.c:
1324 Added PROP_TIME_FORMAT_POLICY
1325 (_check_ampm_format): renamed to check_automatic_ampm_format
1326 (update_format_policy), (update_format_dependant_columns): new functions
1327 (hildon_time_selector_class_init)
1328 (hildon_time_selector_contructor)
1329 (hildon_time_selector_init)
1330 (hildon_time_selector_get_property)
1331 (hildon_time_selector_set_property)
1332 (hildon_time_selector_get_time)
1333 (hildon_time_selector_set_time)
1334 * src/hildon-touch-selector.h: new file
1335 * src/hildon-touch-selector.c
1336 (hildon_touch_selector_emit_changed)
1337 (hildon_touch_selector_block_changed)
1338 (hildon_touch_selector_unblock_changed)
1339 Added functions to allow to block the emission of the "changed" signal
1340 * src/hildon-picker-dialog.c
1341 (hildon_picker_dialog_show): call the parent show before the custom code
1342 * examples/hildon-time-button-example.c
1343 Modified, so now you can configure the time format using the new property
1345 Added a new property "time-format-policy" that allow to choose the time
1346 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1347 case it uses gconf in order to check if the time selector must use
1350 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1353 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-note.c (hildon_note_init):
1356 Label in HildonNote must be left aligned, not centered. This
1357 reverts the last commit in HildonNote.
1359 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1360 is connectivity dialog)
1362 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1367 * doc/hildon-sections.txt:
1368 Added hildon_gtk_window_set_do_not_disturb()
1370 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1372 * src/hildon-note.c (hildon_note_init): Center label.
1374 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1377 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1382 * configure.ac: Bump version.
1383 * debian/changelog: Updates.
1385 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1387 * src/hildon-note-private.h: Add button-width to the private data.
1388 * src/hildon-note.c (+resize_button),
1389 (+hildon_note_orientation_update): methods to repack widgets on orientation
1391 (screen_size_changed): Call above method for confirmation notes.
1392 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1393 (hildon_note_rebuild): Store the original width request from buttons.
1395 Fixes: NB#109635 (Confirmation notes do not support portrait)
1397 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1400 when it is a progress note.
1402 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1404 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1405 in the note, since there are no horizontally arranged contents.
1407 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1409 * src/hildon-gtk.c (+set_flag): new generic method to
1410 set/delay a flag setting in a window.
1411 (hildon_gtk_window_set_progress_indicator):
1412 (hildon_gtk_window_set_do_not_disturb),
1413 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1414 avoid code redundance.
1416 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1418 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1420 * src/hildon-gtk.c (set_clear_window_flag),
1421 (do_set_progress_indicator), (do_set_do_not_disturb),
1422 (do_set_portrait_flags),
1423 (hildon_gtk_window_set_progress_indicator),
1424 (hildon_gtk_window_set_do_not_disturb),
1425 (hildon_gtk_window_set_portrait_flags):
1426 Allow setting dnd-flag, progress indicator, and portrait flags
1427 when the window is not realized.
1429 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1431 * src/hildon-pannable-area.c,
1432 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1433 the size request policy function and defines.
1435 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1437 * doc/hildon-sections.txt: Add the new API.
1438 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1439 method to set the portrait flags.
1440 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1442 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1444 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1446 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1447 to allow using this method with other flags.
1448 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1449 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1451 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-touch-selector.c
1454 (hildon_touch_selector_append_text_column):
1455 Make the cell renderer use the smallest width possible.
1457 Fixes: NB#108470 (Selected items in multiple selection are either
1458 having a tick that is cut or not visible at all.)
1460 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1462 * src/hildon-touch-selector.c
1463 (hildon_touch_selector_append_text_column):
1466 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1468 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1469 Use g_strdup_printf() instead of a fixed size buffer.
1471 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1474 Close banners when a HildonAppMenu is popped up.
1476 Fixes: NB#111027 (Title menu closed immediately if activated when
1477 "Invalid e-mail address" banner is shown)
1479 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1484 * configure.ac: Bump version.
1485 * debian/changelog: Updates.
1487 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1489 * src/hildon-banner.c (hildon_banner_realize):
1490 Mark HildonBanner as supporting portrait mode.
1491 Use GDK to set window properties insetad of direct Xlib calls.
1493 Fixes: NB#111830 (HildonBanner should be marked as supporting
1496 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-note.c (hildon_note_rebuild):
1499 Hide action area in information notes. Prevents text from being
1500 slightly aligned to the left.
1502 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1505 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1507 Patch by Mox Soini (ext-mox.soini@nokia.com)
1509 * src/hildon-banner.c (hildon_banner_create_animation):
1510 Use stylus-sized icons in animation banner.
1512 Fixes: NB#111206 (stylus sized icon for animation banner)
1514 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1518 (+hildon_gtk_window_set_do_not_disturb):
1519 New API to set the do-not-disturb flag.
1521 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1523 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1525 * examples/hildon-progress-indicator-example.c: Fix example
1527 * src/hildon-gtk.c (set_clear_window_flag)
1528 (hildon_gtk_window_set_progress_indicator):
1529 Create a generic function for setting flags to a window.
1530 Use GDK instead of direct Xlib calls.
1532 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1534 * src/hildon-button.c (hildon_button_set_arrangement):
1535 Due to NB#88126, if one of the labels is too long it will be
1536 painted outside the button. The 'value' label is more likely to be
1537 the longest one, so we change its packing options in order to
1538 truncate it if necessary. As a side effect, the 'title' label will
1539 no longer be truncated.
1541 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1543 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1548 * configure.ac: Bump version.
1549 * debian/changelog: Updates.
1551 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1553 Deprecation of the hildon_pannable_area_set_size_request_policy
1554 API, the only policy properly supported in gtk+ nowadays is the
1557 * src/hildon-pannable-area.c,
1558 (hildon_pannable_area_size_request): Added a workaround for the
1559 size_request to avoid the problems of huge pixmaps in case someone
1560 is still using the function.
1561 * src/hildon-pannable-area.h: Deprecated the enum with the
1564 Fixes: NB#110244 (Problems with the
1565 hildon_pannable_area_set_size_request_policy API)
1567 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1569 * src/hildon-pannable-area.c,
1570 (hildon_pannable_area_init),
1571 (hildon_pannable_area_size_request),
1572 (hildon_pannable_area_style_set),
1573 (hildon_pannable_draw_vscroll),
1574 (hildon_pannable_draw_hscroll),
1575 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1576 indicator_width to clarify the use of the attribute.
1578 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1583 * configure.ac: Bump version.
1584 * debian/changelog: Updates.
1586 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1588 * src/hildon-picker-dialog.c
1589 * src/hildon-touch-selector.c
1590 Reverting the change that tried to avoid the hardcoded height on
1591 the picker dialog, as causes problems on the hildon-touch-selector
1594 Fixes: NB#110029 (selectors not scrolling to selected value)
1596 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1598 * src/hildon-touch-selector.c: Fix typos
1600 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1602 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1603 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1604 request more motions after using it.
1606 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/hildon-calendar.c (hildon_calendar_expose),
1609 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1610 Remove unused variables.
1612 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1614 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1615 variable assignment.
1617 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1619 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1620 Check the return value of gtk_tree_selection_get_selected()
1623 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1625 * src/hildon-animation-actor.c
1626 * src/hildon-button.c
1628 * src/hildon-pannable-area.c
1629 * src/hildon-picker-button.c
1630 * src/hildon-program.c
1631 * src/hildon-remote-texture.c
1632 * src/hildon-text-view.c
1633 * src/hildon-touch-selector.c
1634 * src/hildon-window-stack.c
1635 * src/hildon-window.c:
1636 Add missing 'Since: 2.2' tags.
1638 * doc/hildon-sections.txt:
1639 Add some missing symbols.
1641 * doc/hildon-docs.sgml:
1642 New 'Other' section for HildonAnimationActor and
1645 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1647 Patch by Iván Gómez (igomez@igalia.com)
1650 * doc/compiling.sgml
1651 * doc/hildon-docs.sgml
1652 * doc/hildon-sections.txt
1653 * doc/migration.sgml
1654 * doc/resources.sgml
1656 New chapters on using the Hildon library.
1657 Updated the general structure of the reference manual.
1658 Other minor documentation fixes.
1660 * src/hildon-calendar-popup.c
1661 * src/hildon-calendar.c
1662 * src/hildon-controlbar.c
1663 * src/hildon-date-editor.c
1664 * src/hildon-dialog.c
1665 * src/hildon-hvolumebar.c
1666 * src/hildon-number-editor.c
1667 * src/hildon-range-editor.c
1668 * src/hildon-sort-dialog.c
1669 * src/hildon-time-editor.c
1670 * src/hildon-time-picker.c
1671 * src/hildon-volumebar-range.c
1672 * src/hildon-volumebar.c
1673 * src/hildon-vvolumebar.c
1674 * src/hildon-weekday-picker.c:
1675 Add deprecation notes
1677 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1678 Document 'horizontal-movement' and 'vertical-movement' signals.
1680 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1685 * configure.ac: Bump version.
1686 * debian/changelog: Updates.
1688 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1690 * src/hildon-pannable-area.c,
1691 (hildon_pannable_area_class_init): increased the minimum velocity.
1692 (hildon_pannable_area_button_release_cb): Updated the
1693 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1694 setup. Review the code to control that last event.
1696 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1699 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1701 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1703 * src/hildon-get-password-dialog.c
1704 (hildon_get_password_set_property),
1705 (hildon_get_password_get_property), (create_contents):
1706 * src/hildon-login-dialog-private.h:
1707 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1708 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1709 (hildon_login_dialog_get_password):
1710 * src/hildon-set-password-dialog-private.h:
1711 * src/hildon-set-password-dialog.c
1712 (hildon_set_password_set_property),
1713 (hildon_set_password_get_property), (create_contents),
1714 (hildon_set_password_response_change),
1715 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1717 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1718 instead and look more Fremantle style.
1720 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1722 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1724 * doc/hildon-sections.txt
1725 * src/hildon-window-stack.h
1726 * src/hildon-window-stack.c
1727 (+hildon_window_stack_get_windows):
1728 New API to obtain the list of windows on a stack.
1730 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-app-menu.c (hildon_app_menu_popup)
1733 (hildon_app_menu_class_init, -hildon_app_menu_show):
1734 Remove hildon_app_menu_show() and move all its checks to
1735 hildon_app_menu_popup()
1737 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1739 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1740 (_hildon_picker_dialog_set_selector): removed call to
1741 gtk_widget_set_size_request
1742 * src/hildon-touch-selector.c
1743 (_create_new_column): change the pannable size request policy
1745 Avoid to use a hardcoded height for the hildon picker dialog. In order
1746 to get that, we needed to change the hildon pannable size request
1748 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1750 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1753 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1756 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1758 * debian/control: Depend on osso-system-lock localization package.
1759 * src/hildon-code-dialog.c: Obtain the secu_application_title
1760 translation from osso-system-lock.
1761 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1762 for translation the atk related strings, that's not necessary.
1763 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1764 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1765 cancel button, it is not required.
1767 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1769 * src/hildon-pannable-area.c,
1770 (hildon_pannable_area_class_init): Modified the default value of
1771 the overshooting max speed, we have reduced it.
1773 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1775 * doc/hildon-sections.txt
1776 * src/hildon-window-private.h
1777 * src/hildon-window.h
1778 * src/hildon-window.c (hildon_window_class_init)
1779 (hildon_window_init, hildon_window_finalize)
1780 (hildon_window_realize, hildon_window_get_property)
1781 (hildon_window_set_property, hildon_window_update_markup)
1782 (hildon_window_get_markup, hildon_window_set_markup):
1783 New "markup" property and hildon_window_{get,set}_markup() methods.
1785 * examples/hildon-stackable-window-example.c (new_window):
1786 Update example to use hildon_window_set_markup()
1788 Fixes: NB#106375 (Need API to retitle a window with a title
1791 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1793 * src/hildon-pannable-area.c,
1794 (hildon_pannable_area_class_init): Changed the default value of
1795 the initial_hint to TRUE.
1796 (hildon_pannable_area_initial_effect): Changed the initial effect,
1797 not the effect is just the fade-out of the scrollbars.
1799 Fixes: NB#107775 (No scrollbars can be seen when several items are
1800 available in a dialog)
1802 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-program.c (hildon_program_update_top_most):
1807 Fixes: NB#109179 (Memory leak in Hildon program)
1809 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1811 * src/hildon-banner.c (-get_current_app_window):
1812 Remove unused function.
1814 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1816 * src/hildon-pannable-area.c: Modified the documentation of the
1817 get adjustments functions to explain the problem of using the
1818 adjustment directly.
1819 (hildon_pannable_area_class_init): Improved the explanation about
1822 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-app-menu-private.h
1825 * src/hildon-app-menu.c
1826 (hildon_app_menu_class_init):
1827 Bring back the 'external-border' style property
1828 (hildon_app_menu_class_init, hildon_app_menu_init)
1829 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1830 Set a fixed width-request for the menu, independent of the number
1833 Fixes: NB#94957 (Smoothly opened application menu)
1835 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1839 * src/hildon-banner.c
1840 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1842 Make sure that the banner is correctly placed the first time it's
1844 (hildon_banner_check_position, -check_fullscreen_state):
1845 Show the banner in the same place no matter if the window is in
1846 fullscreen mode or not.
1848 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1850 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-touch-selector.c (_default_print_func): reorder
1853 concatenation for clarity.
1855 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1858 for multicolumn selectors.
1860 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1862 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: Bump version.
1868 * debian/changelog: Updates.
1870 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1875 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1877 * configure.ac: removed libcangerra-gtk dependency
1878 * debian/control: removed libcanberra-gtk dependency
1879 * src/Makefile.am: removed libcanberra gtk related flags
1880 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1881 context, and manage a global canberra context instead
1883 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1885 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1887 Patch by Daniel Borgmann (danielb@openismus.com)
1889 * src/hildon-edit-toolbar.c:
1890 Adjust the left padding.
1891 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1892 Paint background of the edit toolbar.
1894 Fixes: NB#107897 (Patch to make editmodetoolbar background
1895 themeable and adjust margin)
1897 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1899 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1901 * src/hildon-program.c (hildon_program_update_top_most):
1902 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1904 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1905 change when the user tasks in/out of an application)
1907 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1909 * configure.ac: added libcangerra-gtk dependency
1910 * debian/control: added libcanberra-gtk dependency
1911 * src/Makefile.am: added libcanberra gtk related flags
1912 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1915 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1917 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-program.c (hildon_program_remove_window)
1920 (hildon_program_add_window): Add checks for the window
1921 parameter. Don't decrease the window counter if the window is not
1924 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1926 * src/hildon-pannable-area.c,
1927 (hildon_pannable_area_realize): Fixed position of the event_window
1928 in the realize method.
1930 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-app-menu-private.h
1933 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1934 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1935 (hildon_app_menu_key_press, hildon_app_menu_init)
1936 (hildon_app_menu_finalize):
1937 Make sure that all idle functions are removed when the widget is
1940 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1942 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1947 * configure.ac: Bump version.
1948 * debian/changelog: Updates.
1950 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1952 * src/hildon-entry.c
1953 (+hildon_entry_show_placeholder),
1954 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1955 that replace hildon_entry_update_contents().
1956 (hildon_entry_set_text),
1957 (hildon_entry_set_placeholder),
1958 (hildon_entry_focus_in_event),
1959 (hildon_entry_focus_out_event): Determine when it is needed
1960 either to show or hide the placeholder and call the above methods.
1962 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1963 when the placeholder text is already set)
1965 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1968 simple GdkPixbufAnim using the new icons for the banner.
1969 (hildon_banner_show_animation): Use the above mentioned method to
1970 create the animation widget.
1972 Fixes: NB#103564 (Make hildon animation banner use individual
1973 image files as the animation)
1975 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1977 * src/hildon-pannable-area.c,
1978 (hildon_pannable_leave_notify_event): Check if the child is NULL
1979 to avoid sending the leave.
1981 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c,
1984 (hildon_pannable_area_class_init),
1985 (hildon_pannable_leave_notify_event): Added a handler of the
1986 leave-notify-signal to consider when no motion notify before
1989 Fixes: NB#107494 (Items stay selected when clicking and moving
1990 away when inside pannable area)
1992 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
1997 * configure.ac: Bump version.
1998 * debian/changelog: Updates.
2000 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2002 Patch by Alberto Garcia (agarcia@igalia.com)
2004 * src/hildon-date-button.c,
2005 (hildon_date_button_class_init),
2006 (hildon_date_button_init): Removed the construct property handling
2007 and created a default selector in the init method.
2008 * src/hildon-picker-button.c,
2009 (hildon_picker_button_class_init): Removed the construct flag of the
2012 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-main.c (hildon_init):
2015 Don't allow hildon_init() to be called more than once.
2017 Fixes: NB#106607 (hildon_init should issue error message upon
2020 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2022 * examples/hildon-pannable-area-touch-list-example.c
2023 * examples/hildon-pannagle-area-touch-grid-example.c
2024 * examples/hildon-edit-toolbar-example.c
2025 * examples/hildon-touch-selector-multi-cells-example.c
2026 Removed the call to gtk_rc_parse_string, as it is not required since
2029 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2031 * src/hildon-pannable-area.c,
2032 (hildon_pannable_area_class_init): Modified the default panning
2033 threshold of the widget to 6px.
2035 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2036 than the threshold value ) within the button is not sending the
2039 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2041 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2042 for the treeview in the new column. This way, the touch list will never
2045 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2046 be selected manually for the HW keys to work)
2048 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2051 comparison instead of using strcmp(). Fixes a compiler warning as well.
2053 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2055 * doc/hildon-docs.sgml: Do not set the library version in the
2056 document title, use the releaseinfo tag for that purpose instead.
2058 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2061 Do not jump to the first item if the text in the entry is removed.
2063 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2068 * configure.ac: Bump version.
2069 * debian/changelog: Updates.
2071 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2073 * src/hildon-entry.c (hildon_entry_refresh_contents):
2074 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2075 Use "ReversedSecondaryTextColor" for the placeholder text.
2077 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-text-view.c: Fix compilation warning.
2081 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2083 * src/hildon-button.c (hildon_button_class_init): Don't make
2084 "title" and "value" construction properties, to prevent them from
2085 overwriting labels set from derived classes.
2087 * src/hildon-picker-button.c
2088 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2089 (hildon_picker_button_class_init): Make touch-selector a
2090 construction property.
2092 * src/hildon-date-button.c (hildon_date_button_class_init)
2093 (+hildon_date_button_constructed): Add a default date selector if
2096 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2098 * src/hildon-touch-selector.c: Small documentation fixes.
2100 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2102 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2104 * src/hildon-entry.c (hildon_entry_refresh_contents),
2105 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2106 widget name, set the logical color directly instead and a boolean
2107 showing_placeholder instead.
2108 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2109 use the widget name here either.
2111 Fixes: NB#105678 (HildonTextView should use logical colours
2112 instead of setting widget name)
2114 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2116 Patch by Daniel Elster (danielk@openismus.com)
2118 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2119 Add user_data parameter.
2120 (hildon_touch_selector_set_print_func_full): New function akin
2121 hildon_touch_selector_set_print_func() but with support for user
2122 data and a destroy callback.
2123 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2124 to clean up the print function user data.
2125 (hildon_touch_selector_class_init): Install dispose function.
2126 (HildonTouchSelectorPrivate::print_user_data),
2127 (HildonTouchSelectorPrivate::print_destroy_func): New private
2129 (hildon_touch_selector_init): Initialize new private members.
2130 (hildon_touch_selector_get_current_text): Pass along user data
2131 to the print function.
2132 (_default_print_func): Add dummy user_data to parameter list.
2133 * hildon-date-selector.c (_custom_print_func): ditto,
2134 * hildon-time-selector.c (_custom_print_func): ditto,
2135 * hildon-touch-selector-entry.c
2136 (hildon_touch_selector_entry_print_func): ditto.
2138 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2140 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2142 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2144 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2146 * src/hildon-pannable-area.c,
2147 (hildon_pannable_area_init),
2148 (hildon_pannable_area_button_press_cb),
2149 (hildon_pannable_area_motion_notify_cb): We have added code to
2150 handle the leave and enter events when using the motion events.
2152 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2154 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-date-button.c (hildon_date_button_get_date)
2157 (hildon_date_button_set_date): Make sure that the button has a
2160 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2162 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2164 * src/hildon-pannable-area.c,
2165 (hildon_pannable_area_class_init),
2166 (hildon_pannable_area_calculate_velocity): Modify the use of the
2167 force and adapt the value.
2169 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2172 (hildon_app_menu_class_init): Hide the menu if it receives a
2173 delete-event, but don't destroy it
2175 Fixes: NB#104485 (Not able to address the call when application
2176 menu is opened at background)
2178 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-app-menu.c
2181 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2182 Remove the "external-border" style property, let the menu take its
2183 natural size (or the one set by the window manager)
2184 (hildon_app_menu_repack_items):
2185 Don't reshow the menu, avoid flickers.
2187 Partially fixes NB#94957 (Smoothly opened application menu)
2189 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2194 * configure.ac: Bump version.
2195 * debian/changelog: Updates.
2197 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c,
2200 (hildon_pannable_area_motion_notify_cb): We control that the
2201 direction error margin is used just in case the movement is
2202 allowed in the other direction.
2204 Fixes: NB#105012 (buttons inside a pannable area not getting
2205 release event when dragging/releasing)
2207 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2209 * src/hildon-pannable-area.c,
2210 (hildon_pannable_area_class_init),
2211 (hildon_pannable_area_get_property),
2212 (hildon_pannable_area_set_property),
2213 (hildon_pannable_area_initial_effect),
2214 (hildon_pannable_axis_scroll),
2215 (hildon_pannable_area_button_release_cb): Reviewed the
2216 overshooting effect, now it has its own max
2217 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2218 speed when bouncing.
2220 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2225 * configure.ac: Bump version.
2226 * debian/changelog: Updates.
2228 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2230 * src/hildon-pannable-area.c,
2231 (hildon_pannable_area_class_init): Changed the max speed, now
2232 users can launch the widget very fast. Reduced the default force,
2233 that way it is easier to control the launch speed.
2235 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2237 * src/hildon-pannable-area.c,
2238 (hildon_pannable_area_button_release_cb): Removed this check
2239 because it causes problems when the device is overloaded.
2241 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2244 add a current_text field to store the text entered in the
2245 touch selector entry.
2246 (_clean_current_selection): clean up the current text as well.
2247 (_save_current_selection), (_restore_current_selection):
2248 Save/restore the text in the entry if the selector is a
2249 HildonTouchSelectorEntry.
2251 Fixes: NB#102541 (value entered in the touch selector entry is not
2252 shown when opened for second time)
2254 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2256 * doc/hildon-sections.txt:
2257 * src/hildon-touch-selector-entry.c
2258 (+hildon_touch_selector_entry_get_entry):
2259 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2261 Fixes: NB#104815 (I need accessor to the entry inside
2262 HildonTouchSelectorEntry)
2264 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2267 (hildon_app_menu_class_init):
2268 New "filter-vertical-spacing" style property.
2270 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-find-toolbar.c
2273 (hildon_find_toolbar_emit_close)
2274 (hildon_find_toolbar_emit_invalid_input)
2275 (hildon_find_toolbar_entry_activate):
2276 Use g_signal_emit() instead of g_signal_emit_by_name()
2278 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2280 Patch by Mox Soini (ext-mox.soini@nokia.com)
2282 * tests/TEST-CASES.txt
2283 * tests/check-hildon-banner.c
2284 * tests/check-hildon-note.c
2285 * src/hildon-banner.c
2286 * src/hildon-code-dialog.c
2287 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2288 * src/hildon-time-editor.c
2289 * examples/hildon-lookup-example.c (main):
2290 Replace obsolete icon names with new ones.
2292 * src/hildon-find-toolbar-private.h:
2293 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2294 (-hildon_find_toolbar_emit_search):
2295 Remove find button and change icon of close button.
2297 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2299 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-time-button.c (hildon_time_button_new_step):
2302 Use the "touch-selector" property to set the selector directly
2303 when creating the object.
2305 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2307 Added a new example application that allows tuning the pannable
2308 area and replaced defines with properties in order to simplify the
2309 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2310 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2311 PROP_DIRECTION_ERROR_MARGIN.
2313 * examples/hildon-pannable-area-tuning-example.c: New example
2315 * src/hildon-pannable-area.c,
2316 (hildon_pannable_area_class_init),
2317 (hildon_pannable_area_init),
2318 (hildon_pannable_area_get_property),
2319 (hildon_pannable_area_set_property),
2320 (hildon_pannable_area_launch_fade_timeout),
2321 (hildon_pannable_area_adjust_value_changed),
2322 (hildon_pannable_axis_scroll),
2323 (hildon_pannable_area_motion_notify_cb),
2324 (hildon_pannable_area_scroll_cb),
2325 (hildon_pannable_area_button_release_cb): We have converted some
2326 of the defines that control the widget to properties to simplify
2329 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2331 * src/hildon-app-menu.c (hildon_app_menu_map)
2332 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2333 so it's closed if a new window appears.
2335 Fixes: NB#104485 (Not able to address the call when application
2336 menu is opened at background)
2338 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2341 missing 'break' statement in in 'case' construct to avoid
2344 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-touch-selector-entry.c
2347 (hildon_touch_selector_entry_get_property),
2348 (hildon_touch_selector_entry_set_property): Add missing 'break'
2349 statements in in 'case' constructs to avoid incorrect warnings.
2351 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-time-editor.c
2354 (hildon_time_editor_get_time_separators): Do not crash if
2355 the first label is NULL.
2357 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-date-selector.c (_month_days): Check for month to be
2360 strictly less than 12, since otherwise we may overrun the array.
2362 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2364 * src/hildon-date-button.c (+hildon_date_button_new_full)
2365 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2366 (hildon_date_button_init): Set the date selector using a
2367 construction property, to make it happen after HildonButton's
2368 "value" property is set.
2370 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2371 current date by default)
2373 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2375 * doc/hildon-sections.txt
2376 * src/hildon-program.c
2377 * src/hildon-stackable-window.c
2378 * src/hildon-window.c:
2379 Documentation updates
2381 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2384 (hildon_window_stack_new, +hildon_window_stack_set_property)
2385 (+hildon_window_stack_get_property)
2386 (hildon_window_stack_class_init)
2387 (+hildon_window_stack_set_window_group)
2388 (+hildon_window_stack_get_window_group):
2389 Make the window group a construction property.
2391 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2393 * doc/hildon-sections.txt
2394 * src/hildon-stackable-window-private.h
2395 * src/hildon-stackable-window.h
2396 * src/hildon-stackable-window.c
2397 (-hildon_stackable_window_set_app_menu)
2398 (-hildon_stackable_window_get_app_menu)
2399 (-hildon_stackable_window_toggle_menu)
2400 (-hildon_stackable_window_finalize)
2401 (hildon_stackable_window_class_init)
2402 (hildon_stackable_window_init)
2403 * src/hildon-window-private.h
2404 * src/hildon-window.h
2405 * src/hildon-window.c (hildon_window_init)
2406 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2407 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2408 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2409 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2410 Moved all HildonAppMenu code to HildonWindow. The menu does not
2411 require a HildonStackableWindow anymore.
2413 * src/hildon-app-menu.c
2414 * src/hildon-program.c
2415 * examples/hildon-app-menu-example.c (main):
2416 Update examples and documentation to reflect HildonAppMenu
2419 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2421 * src/hildon-remote-texture.c
2422 * src/hildon-animation-actor.c:
2423 Don't include unused private headers.
2425 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-program-private.h
2428 * src/hildon-program.c
2429 (hildon_program_set_common_menu)
2430 (hildon_program_get_common_menu)
2431 (hildon_program_set_common_app_menu)
2432 (hildon_program_get_common_app_menu):
2433 Change common menu pointers from GtkWidget* to GtkMenu* and
2434 HildonAppMenu* to avoid unnecessary casts.
2436 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-window.c (hildon_window_set_main_menu):
2439 Removed incorrect 'Since:' tag
2441 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2443 * src/hildon-pannable-area.c,
2444 (hildon_pannable_area_calculate_velocity): We use now the
2445 RATIO_TOLERANCE here to check the distance, fixed typo in the
2447 (hildon_pannable_area_motion_notify_cb): We have to set the type
2448 and time even if we are not sending the motion.
2450 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2452 * doc/hildon-sections.txt
2453 * src/hildon-app-menu.h
2454 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2455 (+hildon_app_menu_get_filters): New methods to get the contents of
2458 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2461 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-app-menu.c (hildon_app_menu_popup):
2466 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-window.h
2469 * src/hildon-window.c (+hildon_window_get_main_menu)
2470 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2471 and deprecated hildon_window_get_menu().
2473 * src/hildon-stackable-window.h
2474 * src/hildon-stackable-window.c
2475 (+hildon_stackable_window_set_app_menu)
2476 (+hildon_stackable_window_get_app_menu)
2477 (hildon_stackable_window_set_main_menu): Created
2478 hildon_stackable_window_{get,set}_app_menu() and deprecated
2479 hildon_stackable_window_set_main_menu().
2481 * doc/hildon-sections.txt
2482 * examples/hildon-app-menu-example.c (main)
2483 * src/hildon-app-menu.c
2484 * src/hildon-program.c:
2485 Updated examples and documentation.
2487 Fixes: NB#103758 (No way to obtain a menu from a
2488 HildonStackableWindow)
2490 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2495 * configure.ac: Bump version.
2496 * debian/changelog: Updates.
2498 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2500 * examples/hildon-remote-texture-example.c: Include
2501 hildon-remote-texture.h explicitely.
2502 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2503 applications not defining _XOPEN_SOURCE which don't require this header.
2505 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2507 * doc/hildon-sections.txt
2508 * src/hildon-app-menu.h
2509 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2510 New function to pop up a HildonAppMenu
2512 * src/hildon-stackable-window.c
2513 (hildon_stackable_window_toggle_menu):
2514 Use hildon_app_menu_popup() to show the menu.
2516 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2518 * src/hildon-app-menu.c (hildon_app_menu_show)
2519 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2520 menu if there's another window between it and its parent window.
2522 Fixes: NB#100468 (Application menu window is launched even when a
2523 new secondary-window/dialog is pending to be shown/realized)
2525 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-window-stack.c (hildon_window_stack_push)
2528 (hildon_window_stack_pop_and_push):
2529 Don't forget to push/pop the first window.
2530 Reverse the window list before calling _push_list()
2532 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2534 * src/hildon-picker-button.h
2535 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2536 Remove "value_changed" slot to avoid ABI breakage
2538 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2540 * src/hildon-pannable-area.c,
2541 (hildon_pannable_area_realize),
2542 (hildon_pannable_area_unrealize),
2543 (hildon_pannable_draw_vscroll),
2544 (hildon_pannable_draw_hscroll): Changed the method to handle the
2545 GC used to draw the transparent scrollbar, this way we avoid
2546 creating the GC all the time when drawing the scrollbars.
2548 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c,
2551 (hildon_pannable_area_init),
2552 (hildon_pannable_area_remove): Removed some unnecessary casts.
2553 (hildon_pannable_area_dispose): Disconnected some signals before
2554 releasing the adjustments.
2556 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2558 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2559 Make sure that all widgets contained in the toolbar are shown.
2561 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2563 * doc/hildon-sections.txt
2564 * src/hildon-picker-button.h
2565 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2566 (_selection_changed, hildon_picker_button_on_dialog_response)
2567 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2568 New hildon_picker_button_value_changed() method.
2571 * src/hildon-picker-button-private.h
2572 * src/hildon-picker-button.c (hildon_picker_button_init)
2573 (+hildon_picker_button_disable_value_changed): Add protected
2574 function for disabling the "value-changed" signal.
2576 * src/hildon-date-button.c (hildon_date_button_set_date):
2577 Don't emit "value-changed" for each one of the three columns.
2579 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2580 before actual change of values)
2582 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2584 * src/hildon-pannable-area.c,
2585 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2586 for the treeview overshooting.
2588 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-banner.c (+hildon_banner_bind_style):
2591 Renamed from hildon_banner_bind_label_style(), now naming the
2592 banner itself as well.
2593 (hildon_banner_show_information),
2594 (hildon_banner_show_information_with_markup),
2595 (hildon_banner_show_animation), (hildon_banner_show_progress):
2596 Name the widgets and labels, based on their type.
2598 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2601 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2603 * src/hildon-note.c (hildon_note_set_property): call
2604 hildon_note_rename() on HildonNote:note-type set.
2605 (hildon_note_rename): Name the note and its label, based on the
2606 HildonNote:note-type property.
2608 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2611 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2613 * src/hildon-pannable-area.c,
2614 (hildon_pannable_area_class_init),
2615 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2616 panning parameters, increased SPS and deceleration factor. Added
2617 also a margin to control fake directions.
2619 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2621 Patch by Sven Herzberg (sven@imendio.com)
2623 * configure.ac: Add missing AM_PROG_CC_C_0
2624 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2626 See NB#101420 (Update unit tests and fix make check)
2628 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2630 This patch was applied before but reverted because it caused
2631 problems, we have changed the main condition and tested the
2632 regressions we detected before and they work ok. We have done a
2633 complete review of the topmost algorithm in order to get a more
2636 * src/hildon-pannable-area.c,
2637 (hildon_pannable_area_get_topmost): Added a new parameter to
2638 filter the the windows that do not include those events.
2639 (hildon_pannable_area_button_press_cb),
2640 (hildon_pannable_area_button_release_cb),
2641 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2642 topmost function, we have added the new parameter.
2644 Fixes: NB#97458 (Pannable area prevents propagation of button
2647 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2650 if all columns in the selector have an item selected.
2651 (_on_dialog_response): Stop "response" signal emission if there is
2652 any selector column without selected items.
2654 Fixes: NB#101889 (Picker dialog should not close when nothing is
2655 selected in multiple selection list)
2657 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-font-selection-dialog.c
2660 (hildon_font_selection_dialog_class_init),
2661 (hildon_font_selection_dialog_init): Remove the preview
2662 button and dialog, since previewing with default theming is likely
2663 to be overcomplicated. The :preview property has now no effect.
2664 Update documentation blurbs to inform about this.
2666 Fixes: NB#92297 (Preview content is not clearly visible for
2667 default colour text)
2669 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2671 Reviewed the geometry that handles the children size and
2672 scrollbar, now it tries a size and reviews the results depending
2673 on the scrollbars visibility.
2675 * src/hildon-pannable-area.c,
2676 (hildon_pannable_area_realize): Fixed a typo.
2677 (hildon_pannable_area_child_allocate_calculate): Added this
2678 function to calculate the child allocation.
2679 (hildon_pannable_area_size_allocate): Reviewed the allocation
2681 (hildon_pannable_area_check_scrollbars),
2682 (hildon_pannable_area_refresh): Refactored refresh function, this
2683 way we can call the code handling the scrollbars without causing a
2684 size_request, it is interesting in the allocate.
2685 (hildon_pannable_area_init): Replace the callbacks of the
2686 value_changed and changed signals to propertly deal with the
2688 (hildon_pannable_area_grab_notify),
2689 (hildon_pannable_area_initial_effect),
2690 (hildon_pannable_area_launch_fade_timeout),
2691 (hildon_pannable_area_adjust_changed),
2692 (hildon_pannable_area_adjust_value_changed),
2693 (hildon_pannable_area_redraw),
2694 (hildon_pannable_area_button_press_cb),
2695 (hildon_pannable_area_button_release_cb),
2696 (hildon_pannable_area_scroll_cb),
2697 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2698 code and use the new functions adjust_changed and
2699 adjust_value_changed.
2701 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2702 Contact editor dialog)
2704 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2709 * configure.ac: Bump version.
2710 * debian/changelog: Updates.
2712 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2714 * src/hildon-pannable-area.c,
2715 (hildon_pannable_area_get_topmost),
2716 (hildon_pannable_area_button_press_cb),
2717 (hildon_pannable_area_button_release_cb),
2718 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2719 topmost function adding the event mask. We have to try a
2720 differente approach because it is still causing problems (NB#9745,
2723 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-banner.c:
2726 Update the maximum width of timed banners.
2727 (force_to_wrap_truncated): Enforce the maximum text width if the
2730 Fixes: NB#102413 (The text margins (wrapping) in information
2731 banner should be HILDON_MARGIN_TRIPLE)
2733 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2735 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2737 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2738 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2739 bound when calculating the scroll indicator position.
2741 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2742 treat ->lower correctly)
2744 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2747 expose event handling, since it is not necessary to draw the focus
2750 Fixes: NB#102467 (Do not show highlight on the text in
2753 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2756 full height of the toolbar for the button and the label.
2758 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2761 padding before the label and after the button.
2763 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2767 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2768 Add a GtkVSeparator between the button and the back arrow.
2769 Let the button have automatic size.
2770 Set a name to the widget for theming handling.
2772 Fixes: NB#101793 (Make edit toolbar the same height as window
2773 title bar (use title area theming))
2775 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-helper.c (attach_new_color_element): Fix memory
2780 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2782 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2784 * examples/hildon-button-example.c (common_buttons_window): Don't
2787 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2790 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2792 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2794 * src/hildon-gtk.c: Check that the window is realized.
2796 Fixes: NB#102225 (Crash setting the progress indicator to a non
2799 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2802 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2803 instead of modifying the one in the widget style.
2805 Fixes: NB#101043 (Second row of all the command button are
2806 displayed in transparent mode.)
2808 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-date-button.c
2811 * src/hildon-time-button.c: Add gettext macros
2813 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-date-button.c (hildon_date_button_new):
2816 * src/hildon-time-button.c (hildon_time_button_new_step):
2817 Use new logical strings to set the button default title.
2819 Fixes: NB#99915 (Date and Time options are not localised in Date
2822 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2824 * src/hildon-pannable-area.c
2825 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2826 the PANNING_THRESHOLD.
2828 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2830 * src/hildon-pannable-area.c,
2831 (hildon_pannable_area_class_init): Increased the maximum speed.
2832 (hildon_pannable_area_get_property),
2833 (hildon_pannable_area_set_property),
2834 (hildon_pannable_area_timeout): Added a new low friction mode, it
2835 allows the user avoid friction when launching the widget fast
2836 enough. It is interesting to traverse long lists.
2838 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2840 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2841 (+hildon_stackable_window_delete_event): Ignore delete events if
2842 the window is not the topmost one.
2844 Fixes: NB#101698 (Back button long press and delete-event handling)
2846 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2848 * src/hildon-pannable-area.c,
2849 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2850 gtk-dnd-drag-threshold, it was too big. We have defined our own
2851 dnd define and set a smaller value: PANNIG_THRESHOLD.
2853 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2855 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2856 user-defined icons, use always the default one.
2858 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2860 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2862 This patch was applied before but reverted because it caused
2863 problems, we have changed the main condition and tested the
2864 regressions we detected before and they work ok.
2866 * src/hildon-pannable-area.c,
2867 (hildon_pannable_area_get_topmost): Added a new parameter to
2868 filter the the windows that do not include those events. Added
2869 also a condition when finding the window to filter windows that do
2870 not ask for those events.
2871 (hildon_pannable_area_button_press_cb),
2872 (hildon_pannable_area_button_release_cb),
2873 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2874 topmost function, we have added the new parameter.
2876 Fixes: NB#97458 (Pannable area prevents propagation of button
2879 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2881 * tests/check-hildon-color-button.c (START_TEST): do not leak
2884 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-font-selection-dialog.c
2887 (hildon_font_selection_dialog_get_preview_text): Return NULL
2888 instead of FALSE on the g_return_val_if_fail().
2890 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2892 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2893 * src/hildon-date-selector.c
2894 (hildon_date_selector_select_current_date):
2895 Do not compare unsigned integers to be greater than or equal 0,
2896 because it's always TRUE.
2898 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2901 (hildon_date_selector_constructor): Do not select the current
2902 date until we are handle the "changed" signal, to avoid having bogus
2903 elements in the days model.
2905 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2908 for num_days, since _month_days() can return a negative value.
2910 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-caption.c (hildon_caption_size_allocate):
2913 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2914 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2916 Initialize allocation variables to 0, to avoid eventually using
2917 unitialized variables.
2919 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-bread-crumb-trail.c
2922 (hildon_bread_crumb_trail_size_allocate):
2923 * src/hildon-calendar.c (hildon_calendar_set_background):
2924 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2925 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2926 * src/hildon-seekbar.c (hildon_seekbar_init):
2927 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2928 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2929 * src/hildon-touch-selector-entry.c
2930 (hildon_touch_selector_get_text_from_model):
2931 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2932 * src/hildon-window.c (hildon_window_finalize):
2934 Remove many unused variables.
2936 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2938 * src/hildon-seekbar.c: (hildon_seekbar_init),
2939 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2941 Remove unnecessary g_assert() calls.
2943 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2945 * src/hildon-caption.c: (hildon_caption_expose),
2946 (hildon_caption_set_property), (hildon_caption_init),
2947 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2948 (hildon_caption_size_request), (hildon_caption_size_allocate),
2949 (hildon_caption_forall), (hildon_caption_set_separator),
2950 (hildon_caption_activate), (hildon_caption_set_child_expand),
2951 (hildon_caption_set_label_text),
2952 (hildon_caption_get_label_alignment):
2954 Remove unnecessary g_assert() calls.
2956 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-banner.c
2959 (hildon_banner_map, hildon_banner_init): Make banner temporary
2960 before mapping it to avoid closing other temporary windows, but
2961 make it non-temporary afterwards to avoid being closed by other
2962 non-temporary windows.
2963 (-hildon_banner_client_event, hildon_banner_init):
2964 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2966 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2969 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2974 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2976 * src/hildon-remote-texture.c
2977 * src/hildon-remote-texture.h
2978 * src/hildon-remote-texture-private.h
2979 * examples/hildon-remote-texture-example.c:
2980 Updates/fixes to remote-texture and its example.
2982 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
2984 Patch by Mox Soini (ext-mox.soini@nokia.com)
2986 * src/hildon-code-dialog.c: Update logical id.
2987 * src/hildon-set-password-dialog.c: Update logical id.
2989 Fixes: NB#100646 (Logical strings is shown for ok in set
2990 password,Password needed dialogs)
2992 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2995 * src/hildon-remote-texture.c
2996 * src/hildon-remote-texture.h
2997 * src/hildon-remote-texture-private.h
2999 Added remote texture widget (for Clutter shared memory textures)
3001 * examples/hildon-remote-texture-example.c
3002 * examples/Makefile.am
3003 Added example file for remote texture usage
3005 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3007 * configure.ac: post release version bump.
3008 * debian/changelog: version bump.
3010 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3015 * configure.ac: Bump version.
3016 * debian/changelog: Updates.
3018 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-date-selector.c (hildon_date_selector_init)
3021 (hildon_date_selector_constructor): Don't connect to the "changed"
3022 signal until the selector is completely constructed.
3024 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-touch-selector.c: (_create_new_column),
3027 (hildon_touch_selector_append_column),
3028 (hildon_touch_selector_set_column_selection_mode),
3029 (hildon_touch_selector_set_active),
3030 (hildon_touch_selector_select_iter):
3031 Emit the HildonTouchSelector::changed signal every time selection
3032 is changed in any of the methods above. This behavior was already
3033 documented but not fully functional.
3035 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3036 selection is programmatically changed)
3038 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3040 * doc/hildon-sections.txt: Remove obsolete icon
3041 sizes from here as well.
3043 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3045 * examples/hildon-stackable-window-example.c (add_window): Remove
3048 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-app-menu.c
3051 (hildon_app_menu_show): Check whether the parent window of a menu
3052 is topmost before popping it up.
3054 Fixes: NB#100468 (Application menu window is launched even when a
3055 new secondary-window/dialog is pending to be shown/realized.)
3057 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3059 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3062 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3064 Patch by Mox Soini (ext-mox.soini@nokia.com)
3066 * src/hildon-banner.c: (hildon_banner_show_animation):
3067 use stylus size instead of obsolete note size.
3068 * src/hildon-defines.h: Update icon sizes.
3070 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3072 * src/hildon-touch-selector-entry.c:
3073 (hildon_touch_selector_entry_init): Disable unsupported
3075 (hildon_touch_selector_entry_get_text_column): Emit a warning
3076 if an unsupported input modes is used and explicitile state
3077 these modes in the documentation.
3079 Fixes: NB#99802 (Hildon touch selector entry not working properly
3080 for some of the input modes)
3082 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3084 * src/hildon-pannable-area.c,
3085 (hildon_pannable_area_init): Added the changed signal handlers of
3088 Fixes: NB#100320 (HildonPannableArea does not listen to
3089 GtkAdjustment "change" signals)
3091 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3093 * doc/hildon-sections.txt
3094 * src/hildon-window-private.h
3095 * src/hildon-window.h
3096 * src/hildon-window.c (hildon_window_init)
3097 (hildon_window_realize, hildon_window_unrealize)
3098 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3099 (hildon_window_size_request, hildon_window_size_allocate)
3100 (hildon_window_forall, hildon_window_show_all)
3101 (hildon_window_destroy, +paint_edit_toolbar)
3102 (+hildon_window_set_edit_toolbar):
3103 New hildon_window_set_edit_toolbar() method, to add a
3104 HildonEditToolbar to a window without having to pack it manually.
3106 Reorganize hildon_window_size_allocate()
3108 * src/hildon-edit-toolbar.c: Update documentation.
3110 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3111 example to use the new API.
3113 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3115 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3117 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3118 Remove from stack before calling parent's hide.
3120 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3123 window is removed from the middle of the stack, update the
3124 transiency of the previous one.
3126 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3129 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3132 block/unblock the signal handler if it's not actually being used.
3133 Fixes some critical warnings.
3135 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3137 Based on a patch by Iván Gómez (igomez@igalia.com)
3139 * src/hildon-banner.c
3143 * src/hildon-pannable-area.c
3144 * src/hildon-picker-dialog.c
3145 * src/hildon-wizard-dialog.h
3146 * src/hildon-wizard-dialog.c: Documentation updates.
3148 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3149 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3151 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3153 * configure.ac: post release version bump.
3154 * debian/changelog: version bump.
3156 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3161 * configure.ac: Bump version.
3162 * debian/changelog: Updates.
3164 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3166 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3167 a stock icon nor change the relief of the back arrow.
3169 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3170 graphics from theme)
3172 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3174 * src/hildon-button.c (hildon_button_set_alignment): Use
3175 priv->alignment if the button has no child yet.
3177 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3179 * src/hildon-button.c: (hildon_button_init): Set the
3180 button style during initialization to give it the proper
3183 Fixes: NB#99713 (HildonButton value label color is wrong)
3185 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-touch-selector.c: Document
3188 hildon_touch_selector_center_on_selected()
3190 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3192 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3193 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3194 all menu items, but not the menu itself.
3195 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3196 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3197 items after adding them to the menu so keyboard accelerators work.
3198 (hildon_app_menu_show): Don't show the menu if it contains items
3199 but none of them are visible.
3201 * examples/hildon-app-menu-example.c (create_menu): Use
3202 gtk_widget_show_all() to show all menu items.
3204 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-picker-dialog.c:
3207 (-_update_title_on_selector_changed_cb),
3208 (-_dialog_update_title): Removed.
3209 (_select_on_selector_changed_cb), (_on_dialog_response),
3210 (on_selector_columns_changed): Do not update the dialog title.
3211 (setup_interaction_mode): Do not connect to
3212 HildonTouchSelector::changed signal if there's a "done" button, as
3213 the dialog title doesn't need to be updated.
3215 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3218 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3220 Patch by Kristian Rietveld (kris@imendio.com)
3222 * src/hildon-touch-selector.c: (_create_new_column): Use new
3223 GtkTreeView::hildon-row-tapped signal to react to user interactions
3224 instead of ::changed.
3226 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3227 with some dynamic tree model)
3229 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3232 (+screen_size_changed, +label_size_request)
3233 (hildon_note_class_init): Make the Hildon information note have a
3234 minimum height, and make its text hvae a maximum width.
3236 Fixes: NB#98614 (Hildon information note (background) should have
3237 minimum height and maximum text width)
3239 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-banner.h
3242 * src/hildon-banner.c (hildon_banner_show_information)
3243 (hildon_banner_show_informationf)
3244 (hildon_banner_show_information_with_markup): Update documentation
3245 to reflect that the icon_name parameter is not used anymore.
3246 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3247 Remove all code from these functions and mark them as deprecated.
3248 (hildon_banner_show_progress): Mark as deprecated.
3250 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3252 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3254 * src/hildon-pannable-area.c,
3255 (hildon_pannable_area_class_init),
3256 (tranparency_color),
3257 (hildon_pannable_draw_vscroll),
3258 (hildon_pannable_draw_hscroll),
3259 (hildon_pannable_area_expose_event): Added a new way to render the
3260 scrollbars of the pannable area avoiding using cairo at all. This
3261 way we improve the performance of the pannable area rendering. The
3262 cairo rendering procedure is still in the code, we can control
3263 which one to use changing the value of the define
3264 USE_CAIRO_SCROLLBARS.
3266 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3268 * configure.ac: post release version bump.
3269 * debian/changelog: version bump.
3271 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3276 * configure.ac: Bump version.
3277 * debian/changelog: Updates.
3279 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3282 banners instead of destroying them when they receive a button
3285 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3287 Reverted commit 34028, it was causing regressions, probably the
3288 topmost condition is not correct, we have to check it in more
3289 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3290 propagation of button press events)
3292 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3295 that the selection is not empty before attempting to retrieve the
3296 current ampm selection.
3298 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-picker-button.c:
3301 (hildon_picker_button_on_dialog_response): Directly update the
3302 button contents when required instead of calling _selection_changed.
3304 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3306 * src/hildon-program.c (hildon_program_update_top_most): Update
3307 'is-topmost' property also when wm_hints is not set.
3309 Fixes: NB#98383 (is-topmost signal is not emitted when task
3310 switcher is clicked.)
3312 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3314 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3318 * src/hildon-animation-actor.c,
3319 * src/hildon-animation-actor.h: Added the animation actor class,
3320 this widget represents an animation actor for WM-assisted
3321 animation effects in the Hildon framework.
3323 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-window-stack-private.h
3326 * src/hildon-window-stack.c
3327 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3328 Avoid calling gtk_widget_show() again indirectly from
3329 hildon_stackable_window_show()
3331 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3336 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3338 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3339 (hildon_time_selector_init): Move the construction of the hours and
3340 ampm columns to the constructor to preserve the order the columns
3343 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-picker-dialog.c:
3346 (hildon_picker_dialog_class_init): Connect a realize method.
3347 (+hildon_picker_dialog_realize): Setup the interaction mode here
3349 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3350 yet, do it during the realize instead.
3351 (_on_dialog_response):
3352 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3353 if the widget is not realized, to avoid the dialog response before it
3356 Avoid premature responses in the HildonPickerDialog that can cause it
3357 to be hidden before it's even shown.
3359 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3362 (on_selector_columns_changed), (requires_done_button),
3363 (+prepare_action_area), (setup_interaction_mode),
3364 (_hildon_picker_dialog_set_selector):
3366 Split the interaction mode setup into preparation of the
3367 action area (prepare_action_area()) and the connection of
3368 the signals in setup_interaction_mode() and update the code to
3371 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3373 * src/hildon-pannable-area.c,
3374 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3375 per second to 15, we will check if this is ok regarding
3378 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3380 * src/hildon-pannable-area.c,
3381 (hildon_pannable_axis_scroll): Avoid resize if we already have
3382 reached overshoot_max.
3384 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3386 * src/hildon-pannable-area.c,
3387 (hildon_pannable_area_init),
3388 (hildon_pannable_area_realize),
3389 (hildon_pannable_area_size_allocate),
3390 (hildon_pannable_area_map),
3391 (hildon_pannable_area_unmap),
3392 (hildon_pannable_draw_vscroll),
3393 (hildon_pannable_draw_hscroll),
3394 (hildon_pannable_area_expose_event),
3395 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3396 pannable are to avoid the expose events go to the window and
3397 redraw the window. We save this way that part of the stack and the
3398 paint_boxes. We had to change the positions of the elements when
3401 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3404 * src/hildon-color-chooser-dialog.c:
3405 (hildon_color_chooser_dialog_init):
3406 * src/hildon-font-selection-dialog.c:
3407 (hildon_font_selection_dialog_init),
3408 (hildon_font_selection_dialog_show_preview):
3409 * src/hildon-get-password-dialog.c:
3410 * src/hildon-login-dialog.c:
3411 * src/hildon-set-password-dialog.c:
3412 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3413 * src/hildon-time-picker.c: (hildon_time_picker_init):
3415 Remove obsolete logical string IDs and update to the appropriate ones.
3417 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3419 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3422 that happens if the window hasn't been realized yet.
3424 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3425 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3427 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3430 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3433 Fixes: NB#98537 (Device hangs in account settings dialog)
3435 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3437 * configure.ac: post release version bump.
3438 * debian/changelog: version bump
3440 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3445 * configure.ac: Bump version.
3446 * debian/changelog: Updates.
3448 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3450 Added a new function to the HildonTimeButton widget that allows to
3451 change the step of the minutes in the selector associated with the
3452 button: hildon_time_button_new_step
3454 * src/hildon-time-button.c,
3455 (hildon_time_button_init),
3456 (hildon_time_button_new),
3457 (hildon_time_button_new_step):
3458 * src/hildon-time-button.h: Added the new function and refactored
3460 * examples/hildon-time-button-example.c,
3461 (main): We have replaced the function without parameters with the
3462 function with the steps set to 5
3464 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3466 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3468 * src/hildon-time-selector.c,
3469 (hildon_time_selector_class_init),
3470 (hildon_time_selector_constructor),
3471 (hildon_time_selector_get_property),
3472 (hildon_time_selector_set_property),
3473 (_create_minutes_model),
3474 (hildon_time_selector_new_step),
3475 (hildon_time_selector_set_time),
3476 * src/hildon-time-selector.h: Added a new property to the
3477 HildonTimeSelector (minutes-step), we use that property to control
3478 the steps between the minutes in the list of the selector. We have
3479 added a new function to the API to create a widget changing the
3480 step: hildon_time_selector_new_step.
3482 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3484 * src/hildon-time-selector.c,
3485 (hildon_time_selector_class_init),
3486 (hildon_time_selector_constructor),
3487 (hildon_time_selector_init): Overrided the construct function when
3488 creating the time selector object. We have moved the minutes model
3489 handling code from the init to the new construction function:
3490 hildon_time_selector_constructor.
3492 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3494 * examples/hildon-date-button-example.c: (main): Use the new
3495 hildon_date_button_new_with_year_range() method in the example.
3496 * src/hildon-date-button.c:
3497 (+hildon_date_button_new_with_year_range): New public method
3498 to conveniently create a HildonDateButton with a custom year range
3499 in its HildonDateSelector.
3500 * src/hildon-date-button.h: Add the new public method definition.
3502 Fixes: NB#97908 (Not possible to change the year range in
3503 HildonDateSelector/HildonDateButton)
3505 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3507 * src/hildon-date-selector.c:
3508 (+hildon_date_selector_set_property),
3509 (+hildon_date_selector_get_property),
3510 (hildon_date_selector_class_init): Install new properties "min-year"
3511 and "max-year" to define boundaries for the year column.
3512 (_create_year_model): Use the boundary properties to populate the model.
3513 (+hildon_date_selector_new_with_year_range): New public method to
3514 create a HildonDateSelector with a user defined year range.
3515 (hildon_date_selector_select_current_date): Use the new boundaries to
3516 calculate the iterator of current year.
3517 * src/hildon-date-selector.h: Add the new public method definition.
3519 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3522 Install a constructor method.
3523 (+hildon_date_selector_construct_ui): construct the widget.
3524 (+hildon_date_selector_constructor): new constructor.
3525 (+hildon_date_selector_init): move out widget construction code to
3526 the new constructor.
3528 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3531 that there's actually a month or year selected before obtaining them.
3532 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3533 of the HildonTouchSelector::changed signal, as it was emitted on every
3534 single item selection.
3536 Fix some warnings and possible crashers due to the selection restoring.
3538 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3541 the signal handlers only after creating the dialog instead of on every
3544 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3546 * src/hildon-button.c (hildon_button_init)
3547 * src/hildon-check-button.c (hildon_check_button_init)
3548 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3549 focus when clicked by default.
3551 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3553 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3556 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3558 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3559 Alejandro G. Castro (alex@igalia.com)
3561 * src/hildon-picker-dialog.c:
3562 (hildon_picker_dialog_class_init): install new "center-on-show"
3564 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3565 (hildon_picker_dialog_set_property): add setter code for the new
3567 (hildon_picker_dialog_get_property): add getter code for the new
3569 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3570 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3573 Fixes: NB#92849 (Selected item is not always visible when
3574 HildonTouchSelector is shown)
3576 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3578 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3579 Alejandro G. Castro (alex@igalia.com)
3581 * src/hildon-touch-selector.c:
3582 (_create_new_column): Do not connect to the "realize" signal of the
3584 (hildon_touch_selector_append_column): center on the selected items
3585 when a new column is appended.
3586 (hildon_touch_selector_select_iter): Factor out the code to select a
3587 column to hildon_touch_selector_scroll_to().
3588 (+search_nearest_element): Method to retrieve the nearest selected
3589 element to the visible area of the pannable area in a column.
3590 (+on_realize_cb): scroll to the initially selected item.
3591 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3592 the pannable area is realized, otherwise delay this until it is.
3593 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3594 selected items of a given column.
3595 (+hildon_touch_selector_center_on_selected): Public method to center
3596 all columns on the nearest selected item.
3597 * src/hildon-touch-selector.h: Add definition for
3598 hildon_touch_selector_center_on_selected().
3600 Implement public API to ensure visibility of all selected items in
3601 a HildonTouchSelector.
3603 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3605 Fixed a problem in the fading when calling the scroll_to API, and
3606 improve scrollbar fading handling.
3608 * src/hildon-pannable-area.c,
3609 (hildon_pannable_area_grab_notify): avoid the timeout when the
3611 (hildon_pannable_area_button_press_cb),
3612 (hildon_pannable_area_motion_notify_cb): Code style changes.
3613 (hildon_pannable_area_button_release_cb): Review the conditions
3614 when releasing the mouse button to avoid unrequired fading
3616 (hildon_pannable_area_scroll_to): Do not calculate and set the
3617 velocity if the scroll is not required.
3619 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3621 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3622 Don't check whether the new selector is NULL: it cannot be.
3623 Hold a reference to the selector while doing the replacement.
3625 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3627 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3628 unnecessary size_request in a removed widget.
3630 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3632 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3633 an unnecessary reference tracking that was leaking.
3635 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3637 Added delayed motion notify event handling, this way we can
3638 discard redrawing if more than 25 events arrive per second.
3640 * src/hildon-pannable-area.c,
3641 (hildon_pannable_area_init): Initialized the new private atributes
3642 controlling this timeout
3643 (hildon_pannable_area_dispose): Remove the timeout that controls
3644 the motion notify events.
3645 (hildon_pannable_area_scroll): Added a condition to control the
3646 use of the acceleration.
3647 (hildon_pannable_area_motion_event_scroll_timeout),
3648 (hildon_pannable_area_motion_event_scroll): Added this two
3649 functions, they handle the motion notify events inside the
3651 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3652 to the scroll method with the new function.
3653 (hildon_pannable_area_button_release_cb): We have to remove the
3654 timeout handler and move to the last position if the last motion
3655 events were not handled.
3657 Fixes: NB#97028 (Pannable area updates on every motion event)
3659 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3661 * src/hildon-pannable-area.c,
3662 (hildon_pannable_area_get_topmost): Added a new parameter to
3663 filter the the windows that do not include those events. Added
3664 also a condition when finding the window to filter windows that do
3665 not ask for those events.
3666 (hildon_pannable_area_button_press_cb),
3667 (hildon_pannable_area_button_release_cb),
3668 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3669 topmost function, we have added the new parameter.
3671 Fixes: NB#97458 (Pannable area prevents propagation of button
3674 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3676 * src/hildon-pannable-area.c,
3677 (hildon_pannable_area_initial_effect): Added controls before
3678 launching the timeout and the idle functions.
3679 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3680 of the method, in some situations it can return with TRUE and 0 in
3682 (hildon_pannable_area_button_press_cb): We do not need to set
3683 DELAY for fading out here.
3685 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3687 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3690 post-cleaning if the selection is not NULL.
3692 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3695 all items before restoring the selection.
3697 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3699 * src/hildon-touch-selector.c:
3700 (+hildon_touch_selector_unselect_all):
3701 * src/hildon-touch-selector.h: New API to unselect all items in a
3702 column of the touch selector.
3704 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3706 * src/hildon-pannable-area.c,
3707 (hildon_pannable_area_redraw): Added a call to the refresh
3708 function inside the redraw because apparently in some cases the
3709 change in the adjustment does not imply a size allocate.
3711 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3712 despite the view not being scrollable)
3714 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3717 leak. Check for NULL before attempting to set the window title.
3719 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3721 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3722 whether to show or not the 'Done' button each time the dialog is
3723 shown, as it depends on the HildonTouchSelector selection mode.
3725 Fixes: NB#96226 (In multiple selection mode Done button is shown
3726 sometimes in listpicker)
3728 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3730 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3731 for the number of columns in the HildonTouchSelector more than once.
3733 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3735 * src/hildon-touch-selector.c: Minor documentation fixes.
3737 * src/hildon-picker-dialog.c (+_dialog_update_title)
3738 (_select_on_selector_changed_cb)
3739 (_update_title_on_selector_changed_cb)
3740 (on_selector_columns_changed): Update dialog title when there's no
3741 'Done' button and also when the number of columns in the selector
3745 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3746 (+_selection_changed, hildon_picker_button_on_dialog_response)
3747 (hildon_picker_button_selector_selection_changed)
3748 (+hildon_picker_button_selector_columns_changed)
3749 (hildon_picker_button_set_selector): Update button value and emit
3750 'value-changed' when the number of columns in the selector
3754 Fixes: NB#96225 (Dialog titles are not shown according to the
3755 values selected in the list picker)
3757 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3759 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3760 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3761 New "arrow-width" and "arrow-height" style properties to set the
3762 size of the arrow button.
3763 Set name of arrow button ("hildon-edit-toolbar-arrow").
3765 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3766 graphics from theme)
3768 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-picker-button.c:
3771 (hildon_picker_button_selector_selection_changed): Use
3772 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3773 the dialog is present.
3775 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3776 the selection is accepted in the dialog)
3778 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3780 * src/hildon-color-chooser.h
3781 * src/hildon-color-chooser-dialog.h:
3782 Added G_BEGIN_DECLS and G_END_DECLS
3784 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3786 (_clean_current_selection): plug a leak in the list.
3788 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-picker-dialog.c:
3791 (+free_path_list): Method to free a GList of GtkTreePaths.
3792 (_clean_current_selection), (_save_current_selection),
3793 (_restore_current_selection): Save the current selection in
3794 as a list of lists, to support multiple selection properly.
3796 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3798 patch by Claudio Saavedra (csaavedra@igalia.com)
3800 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3801 Store the press position.
3802 (+hildon_text_view_button_release_event): If the release position is
3803 close enough to the press position, move the cursor here. Otherwise,
3805 (hildon_text_view_class_init): Override GtkTextView press, release, and
3806 motion event handlers, disabling this way text selection through
3807 pointer interaction, and allowing the container widget to handle the
3810 Fixes: NB#95828 (HildonTextView functionality)
3812 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3814 Based on a patch by Iván Gómez (igomez@igalia.com)
3816 * src/hildon-button.[ch]
3817 * src/hildon-calendar.c
3818 * src/hildon-check-button.c
3819 * src/hildon-date-editor.c
3820 * src/hildon-date-selector.c
3821 * src/hildon-picker-button.c
3822 * src/hildon-time-editor.c
3823 * src/hildon-time-selector.c
3824 * src/hildon-touch-selector.[ch]:
3825 Documentation updates
3827 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3829 * src/hildon-pannable-area.c,
3830 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3831 threshold, it was required due to X events handling.
3833 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3835 * src/hildon-pannable-area.c,
3836 (hildon_pannable_area_grab_notify),
3837 (hildon_pannable_area_initial_effect),
3838 (hildon_pannable_area_button_press_cb),
3839 (hildon_pannable_area_button_release_cb),
3840 (hildon_pannable_area_scroll_cb),
3841 (hildon_pannable_area_scroll_to): Review the timeout management of
3842 the scrollbar, the frecuency was incorrectly set.
3844 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3846 * src/hildon-picker-button.c:
3847 (+hildon_picker_button_on_dialog_response),
3848 (hildon_picker_button_clicked): Present the dialog instead of
3849 running it with gtk_dialog_run().
3851 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3854 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3856 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3857 (hildon_app_menu_finalize): When a window is hidden it doesn't
3858 emit notify::is-topmost, so make sure than the menu also
3859 disappears in that case.
3860 (parent_window_topmost_notify): Renamed from parent_window_hidden
3862 Fixes: NB#94460 (stackable window's menu is not closed when its
3865 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-touch-selector-entry.c:
3868 (+hildon_touch_selector_entry_set_input_mode),
3869 (+hildon_touch_selector_entry_get_input_mode):
3870 * src/hildon-touch-selector-entry.h: New methods to access the input
3871 mode in the selector's entry.
3873 Fixes: NB#93410 (API required for setting IM mode in
3874 HildonTouchSelectorEntry)
3876 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3878 * configure.ac: post release version bump.
3879 * debian/changelog: version bump
3881 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3886 * configure.ac: Bump version.
3887 * debian/changelog: Updates.
3889 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3891 * src/hildon-touch-selector.c:
3892 (_hildon_touch_selector_has_multiple_selection): No need
3893 to initialize the variables here.
3895 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-note-private.h
3898 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3899 (hildon_note_finalize, hildon_note_rebuild): Close information
3900 notes when they receive a button press.
3902 Fixes: NB#89890 (Information notes does not get disappeared after
3905 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3907 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3908 mark from the wizard title, as it's not really necessary. Also,
3909 do not display the page title if not set.
3911 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3914 (parent_window_hidden): Use the window's "is-topmost" property to
3915 detect when to hide the menu.
3917 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3919 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3920 (hildon_app_menu_finalize): If the parent window of the menu is
3921 hidden, hide the menu too.
3923 Fixes: NB#94460 (stackable window's menu is not closed when its
3926 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3929 * debian/libhildon1-examples.install
3931 * examples/Makefile.am:
3932 Use dh_install to install all examples.
3933 Use DEB_SRCDIR instead of defining SOURCE_DIR
3935 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3937 * configure.ac: post release version bump.
3938 * debian/changelog: version bump
3940 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3945 * configure.ac: bump version
3946 * debian/changelog: updates
3947 * debian/control: bump gtk+ dependency
3949 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3951 patch by Christian Dywan (christian@imendio.com)
3953 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3954 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3956 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3958 * src/hildon-check-button.c (hildon_check_button_init)
3959 (hildon_check_button_class_init, hildon_check_button_style_set)
3960 (hildon_check_button_apply_style):
3961 New "checkbox-size" style property.
3963 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3964 larger / configurable size)
3966 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3968 * configure.ac: post release version bump.
3969 * debian/changelog: version bump
3971 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3976 * configure.ac: bump version
3977 * debian/changelog: updates
3979 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3981 * doc/hildon-sections.txt
3982 * src/hildon-pannable-area.c
3983 * src/hildon-program.c
3984 * src/hildon-time-editor.c
3985 * src/hildon-touch-selector-entry.c:
3987 More documentation updates.
3989 2008-12-12 Alberto Garcia <agarcia@igalia.com>
3991 * doc/hildon-sections.txt
3992 * src/hildon-caption.c
3993 * src/hildon-code-dialog.c
3994 * src/hildon-color-button.c
3995 * src/hildon-controlbar.c
3996 * src/hildon-date-editor.c
3997 * src/hildon-date-selector.c
3998 * src/hildon-edit-toolbar.c
3999 * src/hildon-find-toolbar.c
4000 * src/hildon-font-selection-dialog.c
4002 * src/hildon-program.c
4003 * src/hildon-range-editor.c
4004 * src/hildon-seekbar.c
4005 * src/hildon-time-editor.c
4006 * src/hildon-time-selector.c
4007 * src/hildon-volumebar-range.c
4008 * src/hildon-volumebar.c
4009 * src/hildon-vvolumebar.c
4010 * src/hildon-weekday-picker.c
4011 * src/hildon-window.c
4012 * src/hildon-wizard-dialog.c:
4014 Lots of documentation fixes.
4016 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4018 Patch contributed by Iván Gómez (igomez@igalia.com)
4020 * src/hildon-check-button.c:
4021 * src/hildon-date-button.c:
4022 * src/hildon-date-selector.c:
4023 * src/hildon-dialog.c:
4024 * src/hildon-edit-toolbar.c:
4025 * src/hildon-entry.c:
4026 * src/hildon-picker-button.c:
4027 * src/hildon-program.c:
4028 * src/hildon-text-view.c:
4029 * src/hildon-time-button.c:
4030 * src/hildon-touch-selector-entry.c:
4031 * src/hildon-window-stack.c:
4033 Add more "since" tags to the new API.
4035 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4037 * doc/hildon-sections.txt: Add below method.
4038 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4039 version for the hildonized scale.
4040 * src/hildon-gtk.h: Add the definition.
4042 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4044 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4046 * doc/hildon-sections.txt: Add missing entries for new methods.
4048 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4050 Added API to pannable are in order to get its adjustments. We
4051 added two properties to manage the values we had in the private
4054 * src/hildon-pannable-area.c:
4055 (hildon_pannable_area_class_init): Added hadjustment and
4056 vadjustment properties in order to expose horizontal and vertical
4058 (hildon_pannable_area_get_property),
4059 (hildon_pannable_area_set_property): Added code to handle the new
4061 (hildon_pannable_area_get_hadjustment),
4062 (hildon_pannable_area_get_vadjustment): API functions to get the
4064 * src/hildon-pannable-area.h:
4065 (hildon_pannable_area_get_hadjustment),
4066 (hildon_pannable_area_get_vadjustment): API functions to get the
4069 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4071 Fixed some leaks, after valgrinding.
4073 * src/hildon-touch-selector.c:
4074 (_default_print_func): Fixed a leak.
4075 (hildon_touch_selector_append_column): Fixed a leak.
4076 * src/hildon-date-button.c:
4077 (hildon_date_button_init): Fixed a leak.
4078 * src/hildon-date-selector.c
4079 (hildon_date_selector_finalize): Fixed a leak.
4081 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4083 Based on a patch by Christian Dywan (christian@imendio.com)
4085 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4087 * src/hildon-gtk.h: Add definition.
4089 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4091 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-picker-button.c: (hildon_picker_button_init),
4094 (hildon_picker_button_new): Set the HildonButton::style property
4095 in the init method, to propagate the value to the derived classes.
4097 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-button.c: (hildon_button_class_init): Do not make
4100 the "style" property a construct property.
4102 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4104 * src/hildon-wizard-dialog.h
4105 * src/hildon-wizard-dialog.c
4106 (hildon_wizard_dialog_set_forward_page_func)
4107 * src/hildon-pannable-area.h
4108 * src/hildon-pannable-area.c
4109 (hildon_pannable_area_set_size_request_policy):
4110 Documentation fixes.
4112 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4114 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4116 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4118 * doc/hildon-sections.txt: Added sections file.
4120 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4123 * src/*.[ch]: Updates.
4125 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4127 * examples/hildon-progress-indicator-example.c: new file
4128 * examples/Makefile.am: include the new example program
4130 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4132 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4134 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4136 * configure.ac: post release version bump
4137 * debian/changelog: version bump
4139 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4144 * configure.ac: bump version
4145 * debian/changelog: updates
4146 * debian/control: bump gtk+ dependency
4148 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4150 * src/hildon-dialog.c: Mark as deprecated.
4151 * src/hildon-dialog.h: Mark as deprecated.
4152 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4153 from HildonDialog and still work, even if
4154 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4155 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4157 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4158 maemo changes) instead)
4160 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4162 * src/hildon-pannable_area.h:
4163 * src/hildon-pannable_area.c:
4164 (hildon_pannable_area_class_init),
4165 (hildon_pannable_area_set_property),
4166 (hildon_pannable_area_get_property),
4167 (hildon_pannable_area_size_request),
4168 (hildon_pannable_area_get_size_request_policy),
4169 (hildon_pannable_area_set_size_request_policy): Added new API
4170 allowing applications to control the request policy. Now they can
4171 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4172 children allocation (HILDON_MOVEMENT_CHILDREN).
4174 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4178 (hildon_gtk_tree_view_set_ui_mode)
4179 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4180 mode of treeviews and iconviews.
4182 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-touch-selector-entry.c:
4185 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4186 of a GtkEntry to get proper theming.
4188 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4189 widget, not GtkEntry)
4191 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4194 no HildonWizardDialogPageFunc.
4196 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4198 Patch contributed by Iván Gómez (igomez@igalia.com)
4200 * src/hildon-app-menu.c:
4201 * src/hildon-button.c:
4202 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4203 * src/hildon-stackable-window.c:
4204 * src/hildon-time-selector.c:
4205 * src/hildon-touch-selector.c:
4206 * src/hildon-window.c:
4208 Add more "since" tags to the new API in hildon 2.2.
4210 2008-12-05 Tim Janik <timj@imendio.com>
4212 Patch contributed by Christian Dywan (christian@imendio.com)
4214 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4215 HildonSizeType, which are supplied by Gtk+ now.
4217 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4219 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4220 (with maemo changes) instead)
4222 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4224 Patch contributed by Iván Gómez (igomez@igalia.com)
4226 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4229 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4231 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4232 (some_page_func), (main): Update the example to use a
4233 HildonWizardDialogPageFunc function.
4235 * src/hildon-wizard-dialog-private.h: Add private data for
4236 the HildonWizardDialogPageFunc function usage.
4238 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4239 (destroy), (hildon_wizard_dialog_init), (response),
4240 (hildon_wizard_dialog_set_forward_page_func):
4241 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4242 that applications can use to stop a HildonWizardDialog to jump to
4245 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4248 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4250 * src/hildon-program.h
4251 * src/hildon-program-private.h
4252 * src/hildon-program.c (hildon_program_init)
4253 (hildon_program_set_common_app_menu)
4254 (hildon_program_get_common_app_menu):
4255 New API for setting a common HildonAppMenu for all
4256 HildonStackableWindows registered with the HildonProgram.
4258 * src/hildon-stackable-window.c
4259 (hildon_stackable_window_toggle_menu):
4260 Use the common HildonAppMenu if a window doesn't have a specific
4263 * src/hildon-app-menu-private.h
4264 * src/hildon-app-menu.c
4265 (hildon_app_menu_get_parent_window):
4266 Function to obtain the window a HildonAppMenu is attached to.
4267 (hildon_app_menu_set_parent_window):
4268 Hide the menu if the parent window is set to NULL.
4270 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4272 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4273 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4274 search widget to popup.
4276 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4278 * configure.ac: post release version bump
4279 * debian/changelog: version bump
4281 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4286 * configure.ac: bump version
4287 * debian/changelog: updates
4289 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4291 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4293 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4294 (hildon_window_stack_window_realized)
4295 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4296 Set the leader GdkWindow when a window is stacked and realized,
4297 unset it when it's unstacked.
4298 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4300 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4302 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4304 * src/hildon-stackable-window.h
4305 * src/hildon-window-stack.h:
4306 Protect definition of HildonWindowStack using the preprocessor.
4308 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4310 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4311 Fix warning if all menu items are hidden.
4313 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4315 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4317 * src/hildon-controlbar.c:
4318 * src/hildon-hvolumebar.c:
4319 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4320 Multiple scale size defines updates.
4322 Fixes: NB#94322 (Scale Updates)
4324 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4326 * examples/hildon-app-menu-example.c (create_menu)
4327 Show items after adding them to the menu, as in the future the
4328 menu will no longer call gtk_widget_show() on the added items.
4330 * src/hildon-app-menu.c:
4331 Update example as explained above.
4333 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-app-menu.c
4336 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4337 Make sure that all menu items have finger height.
4339 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4341 * src/hildon-picker-dialog.c:
4342 (_on_dialog_response), (_save_current_selection),
4343 (_restore_current_selection), (_clean_current_selection),
4344 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4345 Defined new functions in order to save the current internal selector
4346 selection previous open the dialog, in case that the use cancel the
4347 interaction, so the widget restores the previous selection.
4349 Fixes: NB#92032 (In calendar application, date values in 'new event'
4352 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4354 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4356 * src/hildon-button.c: Add a reference to the button examples in
4357 hildon-button-example.c
4359 * examples/hildon-button-example.c: Added examples of the most
4360 common button layouts.
4362 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-app-menu.c (hildon_app_menu_show)
4365 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4367 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4369 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4371 * src/hildon-picker-dialog.c:
4372 (hildon_picker_dialog_init): Initialize the signal id for
4373 HildonTouchSelector::columns-changed.
4374 (+on_selector_columns_changed): Set up the interaction mode everytime a
4375 column is added or removed from the HildonTouchSelector.
4376 (_hildon_picker_dialog_set_selector): Connect to
4377 HildonTouchSelector::columns-changed and keep track of it.
4379 Make sure to update the interaction mode of the dialog everytime a
4380 column is added or removed in the HildonTouchSelector.
4382 Fixes: NB#93228 (Done button is not shown always in listpicker)
4384 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4387 a new ::columns-changed signal.
4388 (hildon_touch_selector_append_column): Emit ::columns-changed.
4389 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4391 Add a ::columns-changed signal, emitted when the number of columns in a
4392 HildonTouchSelector changes.
4394 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4396 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4397 (_hildon_picker_dialog_set_selector): Factor out the code
4398 to set up the dialog interaction mode.
4400 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4403 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4404 to signal_changed_id.
4406 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4411 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4413 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4414 Updated the logical ids related to ampm format, as now it is required to
4415 show it correctly localized even on languages with no default
4416 abbreviations for am or pm
4417 (_check_am_pm_format): check correctly the 24h format gconf property
4419 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4421 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4423 * src/hildon-button.c: Documentation updates.
4425 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4427 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4428 * src/hildon-caption.c: (hildon_caption_class_init):
4429 * src/hildon-color-button.c: (hildon_color_button_class_init):
4430 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4431 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4432 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4433 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4435 Remove deprecated GTK+ marshalers and replace them with the ones
4436 provided by GLib, for those available, add a marshaler for
4437 BOOLEAN:VOID, which is not available in GLib, and use it.
4439 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4442 the text from the previous column if there is no
4443 HildonTouchSelectorColumn::text-property set.
4445 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4447 * src/hildon-button.h
4448 * src/hildon-button.c (hildon_button_set_property)
4449 (hildon_button_get_property, hildon_button_class_init)
4450 (hildon_button_set_style, hildon_button_get_style):
4451 New "style" property to change the visual appearance of the
4454 * src/hildon-picker-button.c (hildon_picker_button_new):
4455 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4457 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4458 HildonButton look like PickerButton)
4460 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4462 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4463 column while building the default string.
4465 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4468 scroll indicator by default.
4470 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4472 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/hildon-main.c: Fix the documentation for hildon_init()
4476 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4478 * doc/hildon-docs.sgml
4482 * src/hildon-window-stack-private.h
4483 * src/hildon-window-stack.h
4484 * src/hildon-window-stack.c:
4485 New HildonWindowStack object, that adds support for multiple
4486 stacks of windows per process.
4488 * src/hildon-stackable-window-private.h
4489 * src/hildon-stackable-window.h
4490 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4491 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4492 (hildon_stackable_window_show, hildon_stackable_window_hide)
4493 (hildon_stackable_window_class_init)
4494 (hildon_stackable_window_init):
4495 Use HildonWindowStack for stack management.
4497 * src/hildon-program.c (hildon_program_pop_window_stack)
4498 (hildon_program_peek_window_stack)
4499 (hildon_program_go_to_root_window):
4500 Add a fallback implementation to the deprecated functions using
4503 * examples/hildon-stackable-window-example.c:
4504 Use the new HildonWindowStack API.
4506 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4508 * src/hildon-stackable-window-private.h
4509 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4510 (hildon_stackable_window_hide, hildon_stackable_window_init):
4511 Remove all window stack management.
4513 * src/hildon-program-private.h
4514 * src/hildon-program.h
4515 * src/hildon-program.c (hildon_program_init)
4516 (hildon_program_pop_window_stack)
4517 (hildon_program_peek_window_stack)
4518 (hildon_program_go_to_root_window):
4519 Remove all window stack management and mark functions as
4522 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4524 * src/hildon-app-menu.c (hildon_app_menu_realize):
4525 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4527 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4529 * configure.ac: post release version bump
4530 * debian/changelog: version bump
4532 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4537 * configure.ac: bump version
4538 * debian/changelog: updates
4540 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4542 Based on initial code by Christian Dywan (christian@imendio.com)
4544 * doc/hildon-docs.sgml: Add section for hildon-main.
4545 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4546 * src/Makefile.am: Add new hildon-main.[ch]
4547 * src/hildon-defines.h: Update the icon sizes.
4548 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4549 new library initialization files and register icon sizes.
4550 * src/hildon-main.h: New declarations.
4551 * src/hildon.h: Include hildon-main.h
4553 Add new initialization functions to the library. These methods
4554 will register the hildon specific icon sizes and can be used in the
4555 future for other hildon specific bits.
4557 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4559 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4561 * src/hildon-window.c: (hildon_window_realize),
4562 (hildon_window_notify), (-hildon_window_update_title): Do not set
4563 the application name in the window title.
4565 Fixes: NB#89754 (Applications shouldn't display their names in the
4568 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4570 * src/hildon-note-private.h:
4571 * src/hildon-note.c: (hildon_note_set_property),
4572 (hildon_note_get_property), (hildon_note_class_init),
4573 (hildon_note_init), (hildon_note_finalize),
4574 (hildon_note_new_confirmation_with_icon_name),
4575 (hildon_note_new_information_with_icon_name):
4577 No need to mark as deprecated the actual code. Revert
4578 to avoid missing symbols in widgets using deprecated API.
4580 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4582 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4584 * src/hildon-volumebar.h
4585 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4586 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4588 * src/hildon-helper.h
4589 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4590 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4592 * examples/Makefile.am:
4593 Deprecate hildon-insensitive-example
4595 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4597 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4599 * examples/hildon-pannable-area-buttons-scroll-example.c:
4600 Make all buttons finger height
4602 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4604 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4606 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4607 update the day model only if it is really required, and to avoid the
4608 full-reconstruction aproach. Now it only add or remove the required days.
4610 The purpose of this is avoid superfluous HildonTouchSelector::changed
4613 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4614 with strange parameters)
4616 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4618 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4620 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4621 the WINDOW_TYPE property.
4623 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4625 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4628 Fix dependency to allow parallel compilation with make -jX
4630 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4632 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4633 color frame and some minor tweaks to make it more consistent with
4636 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4637 highlighted but not visible)
4639 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4641 * examples/Makefile.am: Fixed typo in the Makefile.am.
4643 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4645 Reviewed the use of MAEMO_GTK define, now we add the define in the
4646 compilation line, and we also add it to the pc file.
4648 * configure.ac: Added MAEMO_GTK define to the compilation command
4649 and removed it from the config.h.
4651 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4652 do not have to take care about this define if the library was
4656 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4658 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4660 * examples/Makefile.am,
4661 * examples/hildon-pannable-area-buttons-scroll-example.c,
4662 * examples/hildon-pannable-area-gesture-signals-example.c,
4663 * examples/hildon-pannable-area-scroll-jump-example.c,
4664 * examples/hildon-pannable-area-tree-view-example.c:
4665 Renamed the pannable area examples, now they have more meaningful
4668 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4670 * src/hildon-touch-selector.c:
4671 (hildon_touch_selector_set_column_selection_mode): Used of
4672 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4673 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4674 to avoid re-seting the same selection mode.
4676 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4677 breaks HildonPickerDialog)
4679 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4681 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4682 conditional in the Makefile.am
4684 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4686 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4687 Remove unused methods.
4689 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-button.c (hildon_button_init):
4692 Make button images center-aligned by default
4694 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4697 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4698 activated, we have to think about how to deal with both defines
4699 MAEMO_GTK and MAEMO_CHANGES.
4701 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4703 * examples/hildon-app-menu-example.c (create_menu): Make all
4704 buttons finger size.
4706 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4708 Fixed the compilation without maemo gtk adding ifdefs with
4709 MAEMO_GTK define to the code, we have to check this version more
4712 * examples/Makefile.am: Added control to avoid some examples that
4713 just make sense with maemo gtk.
4716 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4717 hildon modes with the define.
4719 * examples/hildon-edit-toolbar-example.c,
4720 (create_icon_view): Create the icon view without hildon-gtk
4721 helpers if we are not using maemo gtk.
4723 * src/hildon-touch-selector.c,
4724 (_create_new_column): Create the treeview without hildon-gtk
4725 helpers if we are not using maemo gtk.
4727 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4729 * src/hildon-pnnable-area.c,
4730 (hildon_pannable_area_dispose),
4731 (hildon_pannable_area_button_press_cb),
4732 (hildon_pannable_area_child_mapped),
4733 (hildon_pannable_area_add),
4734 (hildon_pannable_area_remove): Added code to control the position
4735 of the event_window when adding and removing children from the
4736 pannable. We have to raise the event window when the child is
4739 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4740 selection mode using custom widget inside pannable)
4742 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4744 * configure.ac: post release version bump
4745 * debian/changelog: version bump
4747 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4752 * configure.ac: bump version
4753 * debian/changelog: updates
4755 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4757 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4758 search mode, in order to avoid lose the focus on the treeview when
4759 a hw key (like enter) is pressed.
4761 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4762 in HildonDateSelector dialog)
4764 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4766 * debian/rules: Added --enable-maintainer-mode
4767 * Makefile.am: Added ACLOCAL_AMFLAGS
4769 This allows to properly regenerate the Makefiles if you modify the
4770 configure.ac or any Makefile.am.
4772 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4774 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4775 properties, not needed at all.
4777 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4779 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4781 * src/hildon-note.c: (hildon_note_set_property),
4782 (hildon_note_get_property), (hildon_note_class_init),
4783 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4784 (hildon_note_new_confirmation_add_buttons): Remove icons.
4785 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4786 (hildon_note_new_information_with_icon_name): Deprecate.
4787 (hildon_note_new_confirmation): Act directly, without calling
4788 the deprecated constructor.
4789 (hildon_note_new_information): Act directly, without calling
4790 the deprecated constructor.
4791 * src/hildon-note.h: Mark deprecate methods as such.
4792 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4793 not run tests on the deprecated methods if built with deprecation
4796 Fixes: NB#91688 (Never show icons in information notes/confirmation
4799 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4802 (hildon_app_menu_key_press): Remove leftover usage of the
4803 private structure in HildonAppMenu struct.
4804 * src/hildon-app-menu.h: Remove leftover private structure
4805 from the HildonAppMenu struct.
4807 Fixes a crasher when using the HildonAppMenu.
4809 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4811 * src/hildon-picker-dialog.c: Use appropriate logical id
4812 for the default "Done" text.
4814 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4816 * configure.ac: post release version bump
4817 * debian/changelog: version bump
4819 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4821 Modified the way to scroll to the current selection just when the touch
4822 selector is shown on the screen, avoiding a g_idle. Added too a property
4823 to configure this behaviour. See hildon_pannable_area_jump_to_child
4824 documentation for more information.
4826 * src/hildon-touch-selector.c
4827 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4828 Added 'initial-scroll' property
4829 (hildon_touch_selector_set_property): Added
4830 (hildon_touch_selector_map): Removed as not required anymore
4831 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4832 only a concrete column, instead of iterate along all the columns
4834 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4839 * configure.ac: bump version
4840 * debian/changelog: updates
4842 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4844 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4845 compilation time warnings.
4847 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4849 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4850 the default value for HildonPannableArea::mov-mode to
4851 HILDON_PANNABLE_AREA_MODE_VERT.
4853 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4855 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4857 Reverting following commit:
4859 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4861 * src/hildon-app-menu-private.h
4862 * src/hildon-app-menu.[ch]
4863 * src/hildon-button.[ch]
4864 * src/hildon-check-button.[ch]
4865 * src/hildon-entry.[ch]
4866 * src/hildon-pannable-area.[ch]
4867 * src/hildon-text-view.[ch]:
4868 Added private field to the object's structure.
4870 because it causes an ABI breakage. We will need to introduce these
4871 changes later at some point. See NB#91636 for an extensive
4872 explanation and status.
4874 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4876 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4878 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4879 remove special cases that are no longer necessary.
4881 Fixes: NB#91016 (Change toolbar sizes, simplification)
4883 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4885 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4886 is shown in the cancel note.
4888 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4890 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4891 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4892 (hildon_seekbar_init): Remove steppers, remove expose event.
4893 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4895 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4897 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4899 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4900 label font to "SmallSystemFont" for vertically arranged buttons.
4902 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4905 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4907 * src/hildon-check-button.c
4908 (hildon_check_button_set_active, hildon_check_button_clicked):
4909 Don't access private parts directly, use getters instead.
4911 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4913 * src/hildon-check-button.c (hildon_check_button_new):
4914 Align the contents of the check button to the left.
4916 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4918 * src/hildon-pannable-area.c,
4919 (hildon_pannable_area_scroll_to),
4920 (hildon_pannable_area_jump_to),
4921 (hildon_pannable_area_scroll_to_child),
4922 (hildon_pannable_area_jump_to_child): Replace the mapped
4923 precondition of these functions with the realized, it is the
4924 correct state of the widget in this case. Changed the
4925 documentation according to this modification.
4927 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4929 Added a new EXTRA_CFLAGS option to add the deprecated define to
4930 the compilation command. This way we can avoid using the define in
4931 the documentation compilation.
4933 * configure.ac: Defined EXTRA_CFLAGS.
4935 * examples/Makefile.am:
4937 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4939 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4941 * src/hildon-picker-dialog.c:
4942 Defined a utility macro with the desired touch selector height
4943 Removed currently unused separator, and title_label variables from
4945 (hildon_picker_dialog_init): Removed code related to the creation
4946 of unused private variables title_label and separator.
4947 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4948 to ensure correct visualization of the touch selector inside the dialog.
4949 * src/hildon-touch-selector.c
4950 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4951 ensure a concrete height of the widget.
4953 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4956 * tests/Makefile.am:
4958 Remove spurious whitespaces.
4960 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4962 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4963 compilation warning after the cancel button removal.
4965 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4967 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4969 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4970 Makefile.am, that way we can choose not to compile some examples
4971 and tests of the deprecated widgets.
4973 * examples/Makefile.am: Divided the sources in deprecated and
4976 * src/Makefile.am: Added undef statement of the deprecated
4977 symbol to the enums file generation process.
4979 * src/hildon-color-chooser-dialog.c
4980 * src/hildon-color-chooser-dialog.h
4981 * src/hildon-color-button.c
4982 * src/hildon-color-button.h
4983 * src/hildon-color-chooser.c
4984 * src/hildon-color-chooser.h
4985 * src/hildon-controlbar.c
4986 * src/hildon-controlbar.h
4987 * src/hildon-date-editor.c
4988 * src/hildon-date-editor.h
4989 * src/hildon-hvolumebar.c
4990 * src/hildon-hvolumebar.h
4991 * src/hildon-private.c
4992 * src/hildon-private.h
4993 * src/hildon-range-editor.c
4994 * src/hildon-range-editor.h
4995 * src/hildon-seekbar.c
4996 * src/hildon-seekbar.h
4997 * src/hildon-time-editor.c
4998 * src/hildon-time-editor.h
4999 * src/hildon-time-picker.c
5000 * src/hildon-time-picker.h
5001 * src/hildon-volumebar.c
5002 * src/hildon-volumebar.h
5003 * src/hildon-vvolumebar.c
5004 * src/hildon-vvolumebar.h
5005 * src/hildon-bread-crumb-trail.h
5006 * src/hildon-bread-crumb-trail.c
5007 * src/hildon-calendar-popup.c
5008 * src/hildon-calendar-popup.h
5009 * src/hildon-weekday-picker.c:
5010 * src/hildon-weekday-picker.h:
5011 * src/hildon-bread-crumb-widget.c:
5012 * src/hildon-bread-crumb-widget.h:
5013 * src/hildon-bread-crumb.c:
5014 * src/hildon-bread-crumb.h:
5015 * src/hildon-calendar.c:
5016 * src/hildon-calendar.h:
5017 * src/hildon-caption.c:
5018 * src/hildon-code-dialog.c:
5019 * src/hildon-code-dialog.h:
5020 * src/hildon-font-selection-dialog.c:
5021 * src/hildon-font-selection-dialog.h:
5022 * src/hildon-get-password-dialog.c:
5023 * src/hildon-get-password-dialog.h:
5024 * src/hildon-login-dialog.c:
5025 * src/hildon-login-dialog.h:
5026 * src/hildon-number-editor.c:
5027 * src/hildon-number-editor.h:
5028 * src/hildon-set-password-dialog.c:
5029 * src/hildon-set-password-dialog.h:
5030 * src/hildon-sort-dialog.c:
5031 * src/hildon-sort-dialog.h: This is the list of deprecated
5034 * src/hildon-touch-selector.c:
5035 * src/hildon-window.c: Added undef statement to avoid compilation
5038 * tests/Makefile.am: Divided the sources in deprecated and
5041 * tests/check_test.c,
5042 (configure_tests): Marked the deprecated code that was adding
5043 suites with deprecated tests.
5045 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5047 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5049 * src/hildon-touch-selector.c: (_default_print_func): Do not
5050 duplicate a string returned by gtk_tree_model_get(), it is already
5053 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5056 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5058 * src/hildon-pannable-area.c
5059 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5060 method, it had problems when adding a widget with viewport the
5061 second time. Now checks if it already has a viewport and uses it.
5063 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5066 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5068 * src/hildon-pannable-area.c,
5069 (hildon_pannable_area_scroll_to),
5070 (hildon_pannable_area_jump_to),
5071 (hildon_pannable_area_scroll_to_child),
5072 (hildon_pannable_area_jump_to_child): Added a precondition to the
5073 scroll and jump to functions: the widget must be mapped before we
5074 can safely call these functions. We have also added documentation
5075 to the functions to explain how to use them in this situation.
5078 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5080 Reviewed the threading handling of the pannable widget, we have
5081 used the gdk_threads_add_timeout function instead of the usual
5082 glib handlers. This avoids some problems with the threads.
5084 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5085 (hildon_pannable_area_initial_effect),
5086 (hildon_pannable_area_scroll_indicator_fade),
5087 (hildon_pannable_area_button_press_cb),
5088 (hildon_pannable_area_timeout),
5089 (hildon_pannable_area_motion_notify_cb),
5090 (hildon_pannable_area_button_release_cb),
5091 (hildon_pannable_area_scroll_cb),
5092 (hildon_pannable_area_scroll_to): Removed the
5093 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5094 gdk_threads_add_timeout.
5096 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5098 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5103 * configure.ac: bump version
5104 * debian/changelog: updates
5106 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5108 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5109 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5110 * src/hildon-color-chooser-dialog.c:
5111 (hildon_color_chooser_dialog_init):
5112 * src/hildon-font-selection-dialog.c:
5113 (hildon_font_selection_dialog_init):
5114 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5116 Remove all cancel/close-like dialogs, as these are not going to be
5119 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-note.c: (hildon_note_rebuild),
5122 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5125 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5127 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5130 sure all buttons are shown, even the Cancel/Close-like ones.
5132 Fixes: NB#90861 (Custom Confirmation dialogs should be
5133 protected from cancel button removal)
5135 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5137 * debian/control: Change libhildon1-examples dependency from libhildon1
5139 * debian/libhildon1-examples.install
5141 * Makefile.am: Modified the final install directory for the examples on
5142 package libhildon1-examples
5143 * Makefile.static: Update clean target in order to remove all the binary
5146 Changes suggested by Claudio after review new libhildon1-examples package
5148 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5150 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5151 * src/hildon-touch-selector.c: Ditto.
5153 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5155 * debian/control: Added new package libhildon1-examples, in order to pack
5156 the current hildon examples as documentation
5157 * debian/rules: Not to compress .c files, modify some includes on the
5158 examples (as normally are compiled locally, but when installed it will
5159 require to include the installed libhildon1 library), and rename
5161 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5162 install all the example files on the new example package
5163 * examples/Makefile.static: Added static makefile that can be used to
5164 compile the examples, once installed the new example package
5165 * examples: Most of the examples were modified in order to grant that
5166 all use only '#include "hildon.h"', in order to be easy to prepare
5167 it on the example package
5169 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5172 * debian/libhildon1-dev.install
5173 * debian/libhildon1-doc.install:
5174 Move all gtk-doc files to a separate libhildon1-doc package.
5176 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5178 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5180 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5182 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5184 * debian/rules: Fixed a error in order to avoid unnecessary calls
5185 to autogen.sh on package building
5187 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5189 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5191 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5193 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5196 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5198 * src/hildon-picker-button.c
5199 (hildon_picker_button_finalize):
5200 Free priv->done_button_text
5202 * src/hildon-time-button.c
5203 (hildon_time_button_set_time)
5204 * src/hildon-picker-button.c
5205 (hildon_picker_button_clicked)
5206 (hildon_picker_button_selector_selection_changed)
5207 (hildon_picker_button_set_selector)
5208 * src/hildon-date-button.c
5209 (hildon_date_button_set_date):
5210 Free strings returned by hildon_touch_selector_get_current_text()
5212 * src/hildon-button.c (hildon_button_construct_child):
5213 Fix leaks in priv->image and priv->label_box
5215 Fixes: NB#90535 (Memory leak in picker button)
5217 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-button.c: (hildon_button_get_property): Do not access
5220 private elements directly, use getters instead.
5222 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5224 * src/hildon-app-menu-private.h
5225 * src/hildon-app-menu.c
5226 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5227 Store the menu's parent window.
5229 * src/hildon-stackable-window.c
5230 (hildon_stackable_window_toggle_menu)
5231 (hildon_stackable_window_finalize):
5232 Set the menu's parent window when the menu is shown, unset it when
5235 * src/hildon-app-menu.c
5236 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5237 (hildon_app_menu_class_init):
5238 Send unhandled keyboard accelerators to the parent window.
5240 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-stackable-window.c
5243 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5245 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5247 * configure.ac: post release version bump
5249 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5252 * configure.ac: Bump version
5253 * debian/changelog: Updates
5254 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5257 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5259 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5262 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5263 GtkMenu with Hildon style.
5265 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5267 * src/hildon-picker-button.c:
5268 (hildon_picker_button_set_done_button_text): Set the dialog's
5269 done button text here as well.
5271 Fixes: NB#90232 (Picker button does not set the label on done button
5272 for the second time)
5274 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5276 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5279 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-app-menu.c (hildon_app_menu_insert)
5282 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5283 the HildonAppMenu to be activatable using keyboard accelerators
5284 when the menu is not being shown.
5286 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5288 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-stackable-window.c
5291 (hildon_stackable_window_show):
5292 Don't hide old windows automatically when new windows are shown:
5293 this is now a task for the window manager.
5294 (hildon_stackable_window_class_init)
5295 (hildon_stackable_window_hide):
5296 Remove windows from the stack everytime they're hidden.
5297 (hildon_stackable_window_realize):
5298 Don't change the _NET_WM_WINDOW_TYPE property. Use
5299 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5300 it as a stackable window.
5302 * src/hildon-program.c
5303 (hildon_program_pop_window_stack):
5304 Just hide the window to remove it from the stack.
5305 (hildon_program_go_to_root_window):
5306 Don't call gtk_widget_show(), this is now a task for the window
5309 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5311 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5313 * src/hildon-button.c
5314 (hildon_button_construct_child):
5315 Don't pack anything in the button until text or image are
5316 set. This allows adding a custom child after creating the button
5317 with hildon_button_new().
5318 (hildon_button_finalize, hildon_button_class_init)
5319 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5320 alignment and the label box even when they're not packed in the
5323 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5325 * src/hildon-touch-selector.h:
5326 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5327 currently the type definition was using GTK_TYPE_VBOX
5328 * src/hildon-touch-selector.c:
5329 Added some implementation notes in order to clarify that any other widget
5330 added without the column related API will not be included on the
5331 selection logic, and how the widget is freed, as some people ask about
5333 (hildon_touch_selector_remove): Reimplemented in order to free properly
5334 the column related data when you remove the private hbox.
5335 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5336 to get a proper HildonTouchSelectorColumn documentation
5338 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5340 * src/hildon-touch-selector-entry.c:
5341 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5342 text in the GtkEntry and there is no item selected. Fixes a
5345 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-app-menu-private.h
5348 * src/hildon-app-menu.[ch]
5349 * src/hildon-button.[ch]
5350 * src/hildon-check-button.[ch]
5351 * src/hildon-entry.[ch]
5352 * src/hildon-pannable-area.[ch]
5353 * src/hildon-text-view.[ch]:
5354 Added private field to the object's structure.
5356 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5358 * configure.ac: post-release version bump
5360 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5364 * configure.ac: pre-release version bump
5366 * debian/changelog: updates.
5368 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5370 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5371 Disconnect the handler for HildonTouchSelector::changed.
5373 (hildon_picker_button_selector_selection_changed): Update the button
5374 value if the selection change was not triggered by the
5377 (hildon_picker_button_set_selector): connect to
5378 HildonTouchSelector::changed.
5380 Fixes: NB#89650 (Picker button is not updated, when selection in
5381 selector has changed)
5383 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5385 * src/hildon-picker-dialog.c
5386 (hildon_picker_dialog_realize): Removed as not required
5387 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5388 * src/hildon-picker-button.c
5389 (_current_selector_empty): New function, checks if the selector is empty
5390 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5391 if the current selector is empty, in order to avoid to show the dialog
5392 close the dialog in this case (and shows a g_warning).
5394 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5396 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5398 * src/hildon-pannable-area.c,
5399 (hildon_pannable_area_scroll): Added clause to stop movement when
5400 the child of pannable is smaller than one page.
5401 (hildon_pannable_area_scroll_to): Added conditions to avoid
5402 starting the scrolling movement if the child is smaller than one
5403 page, the complete child is in the screen, we do not have to move.
5405 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5407 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5409 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5410 this is managed automatically by the widget when the size of the
5413 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5415 * src/hildon-picker-button.c
5416 (hildon_picker_button_set_done_button_text): Make a copy of the
5417 text, and free the previous value.
5419 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/hildon-touch-selector-entry.c:
5422 (hildon_touch_selector_entry_print_func): Return the selected row's
5423 text if the entry is empty.
5425 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5428 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5430 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5432 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-check-button.h
5436 * src/hildon-check-button.c
5437 * examples/hildon-check-button-example.c:
5438 HildonCheckButton is now a new widget. 'toggled' signal added.
5440 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-program-private.h
5443 * src/hildon-program.c (hildon_program_init)
5444 (hildon_program_finalize): Removed unused variables group_leader
5445 and name from HildonProgramPrivate.
5447 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-check-button.c (hildon_check_button_set_active)
5450 (hildon_check_button_get_active, hildon_check_button_new): Use
5451 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5453 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5455 * src/hildon-touch-selector.h
5456 (hildon_touch_selector_set_column_attributes): added deprecation
5457 guard HILDON_DISABLE_DEPRECATED
5458 * src/hildon-time-selector.c
5459 (hildon_time_selector_set_time)
5460 (hildon_time_selector_get_time): Fixed a typo on documentation
5461 * src/hildon-touch-selector.c: update HildonTouchSelector and
5462 HildonTouchSelectorColumn documentation
5463 * src/hildon-touch-selector-entry.c: update "text-column" property
5465 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5466 to be added to the general documentation.
5468 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5470 * examples/hildon-pannable-area-example-4.c,
5472 * examples/hildon-pannable-area-example.c,
5473 (main): Modified the code in order to use the container add, with
5474 viewport treeviews could have problems if they are really big.
5476 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5478 * src/hildon-weekday-picker.c,
5479 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5480 the agreement regarding deprecation in the library.
5482 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5484 * examples/hildon-picker-button-multicolumn-example.c:
5485 (main): Use custom "done" button text.
5487 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5488 (hildon_picker_button_set_property),
5489 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5490 (hildon_picker_button_init),
5491 (+hildon_picker_button_get_done_button_text),
5492 (+hildon_picker_button_set_done_button_text): New methods to customize
5493 the "done" button label in the launched HildonPickerDialog. Also,
5496 * src/hildon-picker-button.h: add the public API.
5498 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5500 * src/hildon-date-selector.h:
5501 * src/hildon-picker-dialog.h:
5502 * src/hildon-time-selector.h:
5503 * src/hildon-touch-selector-column.h:
5504 * src/hildon-touch-selector.h:
5506 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5507 declarations. Fixes gtk-doc warnings.
5509 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5511 * src/hildon-picker-dialog.h
5512 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5513 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5515 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5516 long text is set as label for done button)
5518 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5520 * src/hildon-dialog.c (hildon_dialog_add_button):
5521 Set fixed width to all buttons in the HildonDialog.
5523 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5525 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5527 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5528 Set widget name using class name plus "-finger" or "-thumb".
5530 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5533 'clicked' when the state of the button is manually changed.
5535 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-app-menu.c (hildon_app_menu_realize)
5538 (hildon_app_menu_unrealize, hildon_app_menu_init)
5539 (hildon_app_menu_class_init, item_visibility_changed):
5540 Change the menu layout when the size of the screen changes.
5541 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5542 Show warning only when changing the number of colums using the
5545 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5547 * debian/compat: Set to 5
5548 * debian/control: Update dependencies.
5549 * debian/libhildon1-dbg.install: Remove.
5550 * debian/libhildon1-dev.install: Update according to cdbs paths.
5551 * debian/libhildon1.install: Update according to cdbs paths.
5552 * debian/rules: Switch to cdbs.
5554 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5556 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5557 'item' variable renamed to 'filter'
5559 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5561 * src/hildon-app-menu.c (hildon_app_menu_insert)
5562 (hildon_app_menu_add_filter, remove_item_from_list)
5563 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5564 Don't leak hidden items when the menu is destroyed.
5566 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5568 * src/hildon-app-menu.c (hildon_app_menu_insert)
5569 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5570 (hildon_app_menu_set_columns, item_visibility_changed)
5571 (filter_visibility_changed, hildon_app_menu_repack_filters)
5572 (hildon_app_menu_repack_items):
5573 Repack items and filters separately.
5575 Don't repack all items, change only the ones that are needed to
5578 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * src/Makefile.am: added hildon-touch-selector-column.h
5582 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5584 * src/hildon-touch-selector.c: added the property "text-column" to the
5585 class HildonTouchSelectorColumn, and related get/set functions
5586 (_default_printf_func): updated to use "text-column" property
5587 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5588 "text-column" in his documentation, as this is now included on
5589 HildonTouchSelectorColumn. The get/set_property can still be used,
5590 working as a wrapper to the concrete column "text-column" property
5591 (_text_column_modified): callback added in order to handle the signal
5592 "notify::text-column" of the concrete HildonTouchSelectorColumn
5593 (hildon_touch_selector_entry_get_text_column)
5594 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5595 modified in order to use the HildonTouchSelectorColumn "text-column"
5597 * src/hildon-time-selector.c:
5598 * src/hildon-date-selector.c:
5599 * examples/hildon-touch-selector-example.c
5600 * examples/hildon-touch-selector-multi-cells-example.c
5601 * examples/hildon-picker-button-multicolumn-example.c
5602 Set the right value to "text-column" property on the creation of a new
5603 column using hildon_touch_selector_append_column()
5605 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5607 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5609 * src/hildon-app-menu.c
5610 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5611 updating the layout of the menu, don't create all widgets again,
5612 just repack the items in their new places.
5614 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5616 * src/hildon-time-selector.c
5617 (hildon_time_selector_get_time)
5618 (hildon_time_selector_set_time)
5619 Added documentation of these public methods
5621 * src/hildon-date-button.h
5622 * src/hildon-touch-selector-column.h
5623 * src/hildon-time-button.h
5624 * src/hildon-picker-dialog.h
5625 * src/hildon-time-selector.h
5626 * src/hildon-picker-button.h
5627 * src/hildon-touch-selector.h
5628 * src/hildon-time-picker.h
5629 * src/hildon-date-selector.h
5630 * src/hildon-touch-selector-entry.h
5631 Modified in order to use hildon-widgets code style
5633 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5635 Added deprecated support to the compilation process using
5636 HILDON_DISABLE_DEPRECATED
5638 * configure.ac: Added the --disable-deprecated to the configure
5641 * src/hildon-weekday-picker.c:
5642 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5643 to use the deprecated support. We will update the other deprecated
5644 widgets status in a new patch.
5646 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5648 * configure.ac: Fixed typo with fatal warnings support, the
5649 variable name was not correct
5651 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5653 * src/hildon-app-menu.c
5654 * src/hildon-program.c: Update documentation.
5656 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5658 * configure.ac: Post-release version bump.
5660 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5665 * configure.ac: Pre-release version bump.
5666 * debian/changelog: Updates.
5668 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5670 * NEWS: Update news for previous releases.
5672 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5674 * examples/hildon-touch-selector-multi-cells-example.c:
5675 (create_selector): Update the example to use
5676 hildon_touch_selector_append_column() with a NULL renderer and set
5677 the renderers later.
5678 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5679 passed a NULL renderer. This is documented behavior now.
5681 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5682 This must be used if the developer wants full control on the layout of
5683 the renderers to be added to the column.
5685 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5687 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/hildon-touch-selector.c: Documentation fixes.
5691 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-wizard-dialog-private.h: Remove image and box.
5694 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5695 (hildon_wizard_dialog_set_property), (response): Completely remove
5696 image/icon support, and the containers required for the layout.
5698 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5700 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-app-menu.c: Updated documentation.
5704 * src/hildon-stackable-window.c
5705 (hildon_stackable_window_set_main_menu): Unref the old menu after
5706 ref'ing the new one.
5708 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-stackable-window.c
5711 (hildon_stackable_window_set_main_menu): Unref the previous menu
5712 instead of destroying it.
5714 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5715 floating reference and set has_user_ref_count to FALSE to make
5716 HildonAppMenu act like a normal ref-counted widget and not a
5719 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5722 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5724 * src/hildon-touch-selector-column.h: new file
5725 * src/hildon-touch-selector.h
5726 * src/hildon-touch-selector.c
5727 Implemented GtkCellLayout interface, in order to allow to configure
5728 the cell layout on each individual selector column
5729 (hildon_touch_selector_set_column_attributes): marked as deprecated
5730 * examples/hildon-touch-selector-multi-cells-example.c
5731 Example of how to use the GtkCellLayout interface on the selector
5733 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5735 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5737 * src/hildon-app-menu.h
5738 * src/hildon-app-menu.c
5739 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5740 (hildon_app_menu_append, hildon_app_menu_prepend):
5741 New methods to prepend, insert and move items in the menu.
5743 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5745 * src/hildon-wizard-dialog.c:
5747 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5749 (create_title): Update logical IDs and related code.
5750 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5752 * src/hildon-wizard-dialog.h: Note that
5753 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5754 point, as it is not used anymore.
5756 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5758 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5760 * src/hildon-note.c:
5761 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5762 shown. Do not display an icon in confirmation notes nor information
5764 (hildon_note_set_button_text): Update logical ID for cancel button.
5766 Fixes: NB#88850 (Update HildonNote button strings + signals)
5768 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-stackable-window.c
5771 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5773 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5775 * src/hildon-app-menu-private.h
5776 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5777 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5778 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5779 temporary property 'columns' to change the number of columns.
5781 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5783 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5785 * examples/hildon-note-example.c: (on_information_clicked),
5786 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5787 debugging information.
5788 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5790 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5791 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5792 in order to close: this will be handled by the WM from now on.
5794 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5796 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-app-menu-private.h
5799 * src/hildon-app-menu.c
5800 (hildon_app_menu_append, hildon_app_menu_add_filter)
5801 (button_visibility_changed, hildon_app_menu_apply_style)
5802 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5803 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5804 layout everytime a button (item or filter) is shown or hidden.
5806 * src/hildon-stackable-window.c
5807 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5810 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5812 * src/hildon-touch-selector.c:
5813 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5814 that the treeview inside the touch selector is in fremantle hildon mode
5815 * examples/hildon-date-button-example.c
5816 * examples/hildon-picker-button-multicolumn-example.c
5817 * examples/hildon-touch-selector-entry-example.c
5818 * examples/hildon-touch-selector-example.c
5819 * examples/hildon-time-button-example.c
5820 * examples/hildon-picker-button-example.c:
5821 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5823 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5825 * examples/hildon-text-view-example.c: (main): Remove the
5826 gtkrc bits, now handled by the theme.
5828 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5830 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5833 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5835 * po/Makefile.am: Install properly the mo files.
5836 * po/en_GB.po: Update translation, to ease testing purposes.
5838 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5840 * examples/hildon-picker-button-example.c: (main): Select an item
5841 in the selector before setting it to the button.
5843 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5845 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5846 Update button's value if the selector has an item active.
5848 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5849 'value' with the selector)
5851 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5853 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5854 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5855 (hildon_picker_button_class_init): Plug the finalize method.
5856 (hildon_picker_button_set_selector): If there's a previously set
5857 selector, unref'it before setting a new one.
5859 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5860 HildonTouchSelector)
5862 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5864 * src/hildon-touch-selector-entry.c:
5865 (hildon_touch_selector_entry_changed): Check if there is no text
5866 selected before setting the entry text.
5869 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-touch-selector.h
5872 * src/hildon-touch-selector.c
5873 (hildon_touch_selector_get_active)
5874 (hildon_touch_selector_set_active): New methods to set/get the
5875 index of the selected item.
5877 * src/hildon-picker-button.h
5878 * src/hildon-picker-button.c
5879 (hildon_picker_button_get_active)
5880 (hildon_picker_button_set_active): New methods to set/get the
5881 index of the selected item.
5883 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5885 * configure.ac: post-release version bump.
5887 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5891 * configure.ac: Pre-release version bump.
5892 * debian/changelog: Updates.
5893 * debian/control: Add myself as maintainer and depend on l10n
5896 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5898 * src/hildon-window.c
5899 (hildon_window_set_main_menu)
5900 * src/hildon-stackable-window.c
5901 (hildon_stackable_window_set_main_menu):
5902 Updated documentation.
5904 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5906 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5907 Don't free selector->priv manually.
5910 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5913 (hildon_gtk_window_set_progress_indicator):
5914 * src/hildon-gtk.h: Added the new API
5915 hildon_gtk_window_set_progress_indicator, it changes the state of
5916 the window progress hint.
5918 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-button.c
5921 * src/hildon-stackable-window.c: Minor documentation updates.
5923 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-stackable-window.c: Updated documentation.
5927 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5929 * src/hildon-defines.h: Update margins definitions
5930 to the Fremantle sizes.
5933 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5935 * src/hildon-touch-selector.c,
5936 (_hildon_touch_selector_set_model): Cleaning the code after
5937 review, removed g_print and #if 0 from the code.
5939 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-edit-toolbar.c: Update documentation.
5943 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5945 * src/hildon-check-button.h
5946 * src/hildon-check-button.c
5947 (hildon_check_button_set_label, hildon_check_button_get_label)
5948 * examples/hildon-check-button-example.c
5949 (button_clicked_cb):
5950 Removed deprecated methods.
5952 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5954 * src/hildon-text-view.c:
5955 Add sample code to the documentation.
5957 * src/hildon-entry.h
5958 * src/hildon-text-view.h:
5959 Minor cosmetic changes.
5961 * src/hildon-entry.c:
5962 Add sample code to the documentation.
5963 (hildon_entry_init, hildon_entry_refresh_contents):
5964 Don't allow NULL values in the placeholder.
5966 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5968 * doc/hildon-docs.sgml
5970 * examples/Makefile.am
5971 * examples/hildon-text-view-example.c
5973 * src/hildon-text-view.c
5974 * src/hildon-text-view.h
5976 New HildonTextView widget, with example.
5978 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5980 * po/POTFILES.in: Add missing files with translatable strings.
5981 Partially fixes NB#88287.
5983 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5985 * examples/hildon-pannable-area-example-2.c: (main): No need to
5986 set the cellrenderer height inside hildon touch lists, the theme does
5989 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
5991 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
5992 they are integrated in the theme.
5994 2008-09-09 Alberto Garcia <agarcia@igalia.com>
5996 * examples/hildon-entry-example.c: Update the example adding
5997 widgets to modify the text and the placeholder of the HildonEntry.
5999 * src/hildon-entry.c: Show the placeholder everytime the widget
6000 is empty and loses the focus.
6002 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6004 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6006 * src/hildon-pannable-area.c,
6007 (hildon_pannable_area_size_request): Fixed bug in height
6008 requisition, avoid increasing size and add border twice.
6010 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6012 * configure.ac: postrelease version bump.
6014 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6018 * configure.ac: Prerelease version bump.
6019 * debian/changelog: update.
6020 * debian/rules: make -dbg package contain useful debugging symbols.
6022 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-dialog.h
6025 * src/hildon-dialog.c
6026 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6027 New methods to add buttons with finger size.
6028 (hildon_dialog_new_with_buttons):
6029 Create buttons with finger size.
6031 * examples/hildon-dialog-example.c (main): Use HildonDialog
6032 methods to add buttons.
6034 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6036 * src/hildon-entry.c: Updated HildonButton documentation.
6038 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6041 button value label with (FALSE, FALSE) to prevent NB#88126 from
6044 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6046 * examples/hildon-pannable-area-example.c,
6047 (main): Removed examples panning a vbox inside a pannable
6048 area. Check bug NB#87965
6050 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6052 Patch contributed by Kris Rietveld (kris@imendio.com)
6054 * src/hildon-pannable-area.c,
6055 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6056 get_size and get_position, this saves an X server roundtrip.
6058 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6060 * doc/hildon-docs.sgml
6062 * examples/Makefile.am
6063 * examples/hildon-entry-example.c
6065 * src/hildon-entry.c
6066 * src/hildon-entry.h
6068 New HildonEntry widget, with example.
6070 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6072 * src/hildon-button.c (hildon_button_construct_child): Pack the
6073 image with expand == fill == FALSE. This is a workaround for a bug
6076 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6078 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6079 labels for the text column, to make it more look more dynamic.
6081 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6083 * src/hildon-time-selector.c
6084 Define gettext auxiliar macro N_
6085 (_create_minutes_model)
6086 (_create_hours_model)
6087 (_create_ampm_model): use of strftime in order to fill the model
6088 * src/hildon-date-selector.c
6089 (hildon_date_selector_finalize):
6090 (_locales_init): remove the logic related to get the name of the months
6091 using nl_langinfo, as it is not required anymore
6093 (_create_year_model)
6094 (_create_month_model)
6095 (_update_day_model): use of strftime in order to fill the model properly
6098 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6100 * src/hildon-button.h
6101 * src/hildon-button.c (hildon_button_get_image): New method to
6104 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6106 * src/hildon-touch-selector.c:
6107 (hildon_touch_selector_remove_column): Remove from the correct parent
6108 and also remove the list element and free it.
6111 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6113 * src/hildon-time-selector.c
6114 (_create_hours_model): change the range on 12h ampm format in order to use
6115 a 12-11 range instead of previous 01-12 range
6116 (hildon_time_selector_set_time): change the way to select the current time
6117 on 12h ampm format, due the change on the range
6118 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6121 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6123 * src/hildon-touch-selector.c
6124 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6125 in order to allow use this function on multiple row selection mode if
6126 the column is different that the first one
6129 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6131 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6132 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6134 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6136 * src/hildon-date-selector.h: clean some comments, now on the .c
6137 * src/hildon-date-selector.c
6138 (hildon_date_selector_select_month): first implementation
6139 (hildon_date_selector_select_day): added documentation, reimplemented
6140 using hildon_date_selector_select_current_date to avoid repeat code
6143 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6145 Reviewed interaction logic based on device experiences, refactored
6148 * src/hildon-pannable-area.c,
6149 (hildon_pannable_area_class_init): Updated default vmax speed.
6150 (hildon_pannable_area_calculate_velocity): Added this function, it
6151 avoids duplicate valocity calculation. Adjusted calculation to
6152 avoid problems with zero dist events.
6154 (hildon_pannable_area_motion_notify_cb): Now we use the
6155 calculate_velocity function.
6157 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6159 * src/hildon-date-selector.c
6160 (hildon_date_selector_select_current_date): fix the day range check
6161 as it failed using the last day of the current month
6164 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6166 * src/hildon-touch-selector.c
6167 (hildon_touch_selector_get_num_columns): added a parameter validation
6170 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6172 * examples/Makefile.am
6173 * examples/hildon-edit-toolbar-example.c: Example of the
6174 HildonEditToolbar widget.
6176 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6178 * configure.ac: postrelease version bump.
6180 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6184 * configure.ac: prerelease version bump.
6185 * debian/changelog: update.
6187 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6189 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6190 renderer to display stock icons in the touch list. Also, set the sizes
6191 to the recommended in the style guide.
6193 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6194 * src/hildon-touch-selector.h
6195 (hildon_touch_selector_set_active_iter): renamed, now is
6196 hildon_touch_selector_select_iter
6197 (hildon_touch_selector_get_active_iter): renamed, now is
6198 hildon_touch_selector_get_selected
6199 (hildon_touch_selector_unselect_iter): added
6200 * src/hildon-touch-selector.c
6201 Update after API modification (methods renamed)
6202 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6203 order to avoid problems selecting multiple elements on the column
6204 (hildon_touch_selector_unselect_iter): added the implementation
6205 * src/hildon-time-selector.c
6206 * src/hildon-date-selector.c
6207 * src/hildon-touch-selector-entry.c
6208 Update methods calls after hildon-touch-selector.h API modification (methods
6211 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-stackable-window.c
6214 (hildon_stackable_window_finalize): Call the parent class's finalize.
6216 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6218 * examples/hildon-touch-selector-example.c: (create_selector): Use
6219 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6222 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6224 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6225 set a cell background color, to respect theming.
6227 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6229 * doc/hildon-docs.sgml
6232 * src/hildon-edit-toolbar.c
6233 * src/hildon-edit-toolbar.h
6234 * src/hildon.h: New HildonEditToolbar widget.
6236 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6238 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6241 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6242 * src/hildon-touch-selector.c
6243 (_create_new_column): use g_object_set instead of two g_object_set_property
6245 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6246 * src/hildon-touch-selector.c
6247 (_create_new_column): use of hildon_gtk_tree_view_new to create
6248 the treeview, instead of use directly g_object_new
6249 (_create_new_column): update the property name "vindicator-mode" for the
6250 new one "vscrollbar-policy"
6251 * examples/hildon-date-button-example.c
6252 * examples/hildon-picker-button-multicolumn-example.c
6253 * examples/hildon-touch-selector-entry-example.c
6254 * examples/hildon-touch-selector-example.c
6255 * examples/hildon-time-button-example.c
6256 * examples/hildon-picker-button-example.c
6257 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6258 to all the treeviews inside a pannable area.
6260 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-button.h
6263 * src/hildon-button.c (hildon_button_init)
6264 (hildon_button_set_arrangement, hildon_button_set_alignment)
6265 (hildon_button_set_title_alignment)
6266 (hildon_button_set_value_alignment)
6267 (hildon_button_set_image_alignment)
6268 (hildon_button_construct_child): New methods to set the alignment
6269 of the individual components of the button (title, value,
6270 image). Also, new method to alter the xscale and yscale properties
6271 of the GtkAlignment inside the button, so more complex layouts can
6274 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6276 * src/hildon-button.c (hildon_button_style_set)
6277 (hildon_button_class_init, hildon_button_set_arrangement)
6278 (hildon_button_construct_child): Apply style properties
6279 correctly. Use the 'image-spacing' style property too.
6281 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6283 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6284 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6287 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6289 * src/hildon-pannable-area.c,
6290 (hildon_pannable_area_size_request): Fixed problem with
6291 pannable-area size_request.
6293 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6295 Added management for the grab-focus to a child widget, like a
6296 range, we need to fade out the scrollbar when releasing.
6298 * src/hildon-pannable-area.c,
6299 (hildon_pannable_area_init): Connected the grab-focus signal to
6301 (hildon_pannable_area_grab_notify): Added this function in order
6302 to manage the situation when the grab-focus ends. We have to
6303 fade-out the scrollbar.
6305 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6307 * src/hildon-app-menu.c: Minor documentation update.
6309 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6311 * src/hildon-app-menu.c
6312 * examples/hildon-app-menu-example.c (create_menu): Update
6313 examples and documentation to explain how to connect callbacks.
6315 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6317 * examples/hildon-button-example.c
6318 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6319 hildon_stackable_window_new instead of gtk_window_new
6321 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6323 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6324 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6325 (hildon_pannable_area_set_property),
6326 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6327 (hildon_pannable_area_unrealize),
6328 (hildon_pannable_area_size_request),
6329 (hildon_pannable_area_size_allocate),
6330 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6331 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6332 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6333 (hildon_pannable_area_initial_effect),
6334 (hildon_pannable_area_redraw),
6335 (hildon_pannable_area_scroll_indicator_fade),
6336 (hildon_pannable_area_expose_event),
6337 (hildon_pannable_area_get_topmost), (synth_crossing),
6338 (hildon_pannable_area_button_press_cb),
6339 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6340 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6341 (hildon_pannable_area_motion_notify_cb),
6342 (hildon_pannable_area_button_release_cb),
6343 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6344 (hildon_pannable_area_remove),
6345 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6346 chage the code layout to a more GtkWidget like. Review the use of
6349 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6351 * examples/hildon-pannable-area-example-4.c,
6352 (main): Modified the name of the hindicator_mode to
6355 * src/hildon-pannable-area.c,
6356 (hildon_pannable_area_class_init),
6357 (hildon_pannable_area_motion_notify_cb),
6358 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6359 we have reduced the amount of signals and managed reviewed its
6360 rationale. Changed the default decelerate value.
6362 (hildon_pannable_area_add),
6363 (hildon_pannable_area_redraw): Refactored functions.
6365 (hildon_pannable_area_init),
6366 (hildon_pannable_area_get_property),
6367 (hildon_pannable_area_set_property):
6368 (hildon_pannable_draw_vscroll),
6369 (hildon_pannable_draw_hscroll),
6370 (hildon_pannable_area_initial_effect),
6371 (hildon_pannable_area_expose_event),
6372 (hildon_pannable_area_scroll),
6373 (hildon_pannable_area_button_press_cb),
6374 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6375 and vindicator_mode with hscrollbar_policy and
6376 vscrollbar_policy. Replaced hscroll and vscroll with
6377 hscroll_visible and vscroll_visible.
6379 (hildon_pannable_area_refresh): Refactor the function, remove
6380 variables and check the calls to this function, added resize
6381 conditions in case the children change their layout.
6383 (hildon_pannable_area_size_request): Added more detailed
6384 size_request calculation.
6387 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6389 * src/hildon-color-chooser.c
6390 (init_borders): use the correct gtk_border_free instead of g_free, to
6391 avoid a crash when this widget is used (ie: the three color selection
6394 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6396 * src/hildon-check-button.c,
6397 (hildon_check_button_set_active): Fixed problem when setting the
6398 active value, the widget was not redrawn.
6400 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6402 * src/hildon-pannable-area.c,
6403 (hildon_pannable_area_refresh),
6404 (hildon_pannable_area_scroll),
6405 (hildon_pannable_area_motion_notify_cb): Small code style change.
6407 (hildon_pannable_area_class_init): Default initial_hint set to
6408 FALSE, it is not in the specs.
6410 (hildon_pannable_area_initial_effect),
6411 (hildon_pannable_area_expose_event),
6412 (hildon_pannable_area_map),
6413 (hildon_pannable_area_init): Moved the launching point of the
6414 initial effect, it was in map but the sizes where not correct in
6415 that method so we do not know if we have the reproduce it. Now it
6416 is placed in the expose_event method and uses a variable to
6417 reproduce it just once.
6419 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6421 * src/hildon-pannable-area.c,
6422 (hildon_pannable_draw_vscroll),
6423 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6424 position allowed for the scrollbars.
6426 (hildon_pannable_area_size_allocate): Small style change.
6428 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6430 * src/hildon-pannable-area.c,
6431 (hildon_pannable_area_scroll_indicator_fade),
6432 (hildon_pannable_area_button_press_cb),
6433 (hildon_pannable_area_button_release_cb),
6434 (hildon_pannable_area_scroll_cb),
6435 (hildon_pannable_area_expose_event),
6436 (hildon_pannable_area_init): Added the define parameter
6437 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6438 and refactor the fade variable.
6440 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6442 * src/hildon-pannable-area.c,
6443 (hildon_pannable_area_redraw),
6444 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6445 lines, we were reimplemeting the redraw code.
6447 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6449 * src/hildon-pannable-area.c,
6450 (hildon_pannable_area_scroll_cb),
6451 (hildon_pannable_area_realize),
6452 (hildon_pannable_area_class_init): Added scroll_event management
6453 for pannable area, now we can scroll the usual desktop method.
6455 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6456 initialization of the parameters should depend on idle_id.
6458 (hildon_pannable_area_init),
6459 (hildon_pannable_area_map): Small code style modifications
6461 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6463 * src/hildon-pannable-area.c
6464 (hildon_pannable_area_button_press_cb),
6465 (hildon_pannable_area_motion_notify_cb),
6466 (hildon_pannable_area_button_release_cb),
6467 (hildon_pannable_area_size_allocate),
6468 (hildon_pannable_area_scroll_to): Improved the timeouts
6469 management, we avoid creating them each time.
6471 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6473 * src/hildon-pannable-area.c:
6474 (hildon_pannable_area_refresh),
6475 (hildon_pannable_area_motion_notify_cb),
6476 (hildon_pannable_area_class_init):
6477 * src/hildon-pannable-area.h:
6478 * src/hildon-touch-selector.c
6479 (_create_new_column):
6480 * examples/hildon-pannable-area-example-4.c:
6481 (horizontal_movement),
6482 (vertical_movement),
6484 Replaced the names of enums in the HildonPannableArea:
6485 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6486 HILDON_MOVEMENT_MODE_*
6487 - HILDON_PANNABLE_AREA_MOV_* ->
6489 - Removed HildonPannableAreaIndicatorMode, now we
6492 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6494 * examples/hildon-pannable-area-touch-grid-example.c
6495 * examples/hildon-pannable-area-touch-list-example.c: Fix
6496 compilation warnings.
6498 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6500 * src/hildon-gtk.c (hildon_gtk_button_new)
6501 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6502 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6503 images overriding the value of the "gtk-button-images" setting.
6505 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6507 * src/hildon-check-button.c (hildon_check_button_new):
6508 Instead of using a custom container, display the label and the
6509 checkbox using the standard GtkButton API.
6511 * examples/hildon-check-button-example.c (main): Don't use
6512 hildon_check_button_set_label() anymore
6514 * src/hildon-check-button.h
6515 * src/hildon-check-button.c
6516 (hildon_check_button_set_label, hildon_check_button_get_label):
6517 Set as deprecated, now we're using gtk_button_{get,set}_label()
6519 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6521 * src/hildon-pannable-area.c,
6522 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6523 GtkTreeview first line we detected it after the inclusion of the
6524 GtkWindowImpl in gtk+. We now check if the window is visible, not
6525 just if the pointer is over the window.
6526 (hildon_pannable_axis_scroll),
6527 (hildon_pannable_area_expose_event): Small style changes.
6529 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6531 * src/hildon-button.c: Update documentation.
6533 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6535 * examples/hildon-button-example.c: Add a switch to show images in
6538 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6540 * doc/hildon-docs.sgml: Some docs reorganization.
6542 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6544 * examples/hildon-pannable-area-touch-list-example.c
6546 * examples/hildon-pannable-area-touch-grid-example.c
6547 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6548 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6549 Fix memory leak when setting the tree model.
6551 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6555 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6557 * doc/hildon.types: Remove duplicated hildon_window_get_type
6558 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6559 documentation comment.
6561 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6563 * doc/Makefile.am: Complete list of private headers.
6565 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6567 * doc/hildon-docs.sgml
6568 * src/hildon-app-menu.c
6569 * src/hildon-bread-crumb.c
6570 * src/hildon-button.c
6572 * src/hildon-program.c
6573 * src/hildon-stackable-window.c
6574 * src/hildon-window.c: Lots of documentation updates.
6576 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6578 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6580 * configure.ac: Require Gtk+ 2.12.9 at least
6582 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6584 * src/hildon-pannable-area.c
6585 (hildon_pannable_area_scroll_indicator_fade),
6586 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6587 to protect the return of this timeout callbacks, avoiding deadlocks.
6589 2008-08-12 Christian Dywan <christian@imendio.com>
6592 * src/hildon-*.h: Ensure a consistent include order,
6593 include <gtk/gtk.h> instead of particular files and
6594 only include the topmost header in the gtk stack. See NB #39857
6596 2008-08-12 Christian Dywan <christian@imendio.com>
6598 * src/hildon-picker-dialog.c
6599 * src/hildon-touch-selector.c: Fix warnings about unused and
6600 uninitialized variables.
6602 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6604 * examples/Makefile.am
6605 * examples/hildon-check-button-example.c: Example of the hildon
6608 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-window.h
6611 * src/hildon-window.c (hildon_window_class_init)
6612 (hildon_window_unset_program): Don't make
6613 hildon_window_unset_program a virtual function anymore.
6615 * src/hildon-stackable-window.c: Update documentation
6617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6620 * doc/hildon-docs.sgml
6621 * doc/visual_index.xml
6622 * src/hildon-defines.c
6624 * src/hildon-helper.c
6625 * src/hildon-range-editor.c: Lots of documentation fixes.
6627 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6629 * examples/hildon-picker-button-multicolumn-example.c
6630 (create_touch_selector): Fix compilation warning.
6632 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6635 (hildon_pannable_area_button_release_cb)
6636 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6638 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6640 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6643 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6645 * src/hildon-bread-crumb-trail.h
6646 * src/hildon-date-editor.c
6647 * src/hildon-date-selector.c
6648 * src/hildon-pannable-area.c
6649 * src/hildon-picker-dialog.c
6650 * src/hildon-time-selector.c
6651 * src/hildon-touch-selector-entry.c
6652 * src/hildon-touch-selector.c
6653 * src/hildon-touch-selector.h: Misc documentation fixes
6655 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6657 * examples/hildon-date-editor-example.c (main): Updated date
6660 * examples/hildon-note-example.c (on_confirmation_clicked):
6661 Updated confirmation note example.
6663 * src/hildon-date-editor.c
6664 * src/hildon-note.c: Updated sample programs in documentation.
6667 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6669 * src/hildon-date-button.h:
6670 * src/hildon-picker-button.h:
6671 * src/hildon-time-button.c:
6672 * src/hildon-time-button.h:
6674 Some declarations changes to allow gtk-doc to document the widgets
6677 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6679 * src/hildon-date-button.c: Document the widget.
6680 * src/hildon-time-button.c: Document the widget.
6682 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6684 * src/hildon-picker-button.c: Document the widget.
6685 * src/hildon-touch-selector-entry.c: Document the widget.
6687 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6689 * doc/hildon-docs.sgml
6692 * src/hildon-check-button.h
6693 * src/hildon-check-button.c: New functions to create the Hildon
6697 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6699 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6701 * src/hildon-button.h
6702 * src/hildon-button.c
6703 (hildon_button_add_title_size_group)
6704 (hildon_button_add_value_size_group)
6705 (hildon_button_add_image_size_group)
6706 (hildon_button_add_size_groups): New functions to set size groups
6707 for the button labels and image.
6708 (hildon_button_new_full): Removed
6710 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6712 * src/hildon-time-selector.c
6713 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6714 in order to avoid a crash if gconf is not available
6716 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6718 * src/hildon-button.c (hildon_button_set_arrangement)
6719 (hildon_button_construct_child): Don't construct the button child
6720 before setting the arrangement.
6722 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6724 * src/hildon-program-private.h
6725 * src/hildon-program.c
6726 * src/hildon-program.h
6727 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6728 (hildon_program_peek_window_stack)
6729 (hildon_program_pop_window_stack)
6730 (hildon_program_go_to_root_window): HildonProgram now has a
6731 separate list for stackable windows. Functions are provided to
6732 manage that list with a stack-like API.
6734 * src/hildon-stackable-window.c: Stackable window management is
6735 now much simpler with the new HildonProgram API. Windows no
6736 longer need to be manually added to the program, they're
6737 automatically pushed to the top of the stack when shown.
6739 * examples/hildon-stackable-window-example.c: Updated example to
6740 reflect the API changes.
6742 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6744 * src/hildon-touch-selector.c: Comment out unimplemented
6745 hildon_touch_selector_insert_column() to avoid a compile warning.
6747 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6749 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6750 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6751 (hildon_touch_selector_set_column_selection_mode),
6752 (_hildon_touch_selector_set_model),
6753 (hildon_touch_selector_set_model):
6755 Complete review of HildonTouchSelector documentation.
6757 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6759 * doc/hildon-docs.sgml
6763 * src/hildon-gtk.c: Convenience functions for standard Gtk
6764 widgets, used to easily perform frequent operations.
6766 * src/hildon-button-helpers.h
6767 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6769 * src/hildon-helper.h
6770 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6771 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6773 * src/hildon-button.h
6774 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6776 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6778 * src/hildon-button.c (hildon_button_init)
6779 (hildon_button_set_arrangement, hildon_button_construct_child):
6780 Pack the image and the labels inside the same GtkAlignment so
6781 gtk_button_set_alignment() can be used
6783 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6785 * src/hildon-button.h
6786 * src/hildon-button.c
6787 (hildon_button_init, hildon_button_set_image)
6788 (hildon_button_set_image_position)
6789 (hildon_button_construct_child): New functions to add an image to
6792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6794 * src/hildon-date-button.c
6795 * src/hildon-picker-button.c
6796 * src/hildon-time-button.c
6797 * src/hildon-button.c:
6798 (hildon_button_class_init): "size-flags" renamed to "size"
6799 (hildon_button_set_title): Hide the title label if set to NULL.
6801 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6803 HildonButtonFlags split into HildonButtonArrangement (to set the
6804 button layout) and HildonSizeType (which can be used for any
6807 * src/hildon-button.h
6808 * src/hildon-button.c
6809 (hildon_button_class_init)
6810 (hildon_button_set_arrangement)
6811 (hildon_button_set_property): New "size-flags"
6812 property. "arrangement-flags" renamed to "arrangement".
6813 (hildon_button_new, hildon_button_new_with_text)
6814 (hildon_button_new_full): Constructors updated to reflect type changes.
6816 * src/hildon-helper.h
6817 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6818 to set the size of a widget.
6822 * src/hildon-button-helpers.c
6823 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6825 * src/hildon-date-button.c
6826 * src/hildon-date-button.h
6827 * src/hildon-picker-button.c
6828 * src/hildon-picker-button.h
6829 * src/hildon-time-button.c
6830 * src/hildon-time-button.h: Updated widgets to reflect
6831 HildonButton API changes.
6833 * examples/hildon-button-example.c
6834 * examples/hildon-date-button-example.c
6835 * examples/hildon-picker-button-example.c
6836 * examples/hildon-picker-button-multicolumn-example.c
6837 * examples/hildon-time-button-example.c
6838 * examples/hildon-touch-selector-entry-example.c
6839 * examples/hildon-touch-selector-example.c: Updated examples to
6840 reflect HildonButton API changes.
6842 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6844 * doc/hildon-docs.sgml:
6846 * examples/Makefile.am:
6847 * examples/hildon-touch-selector-entry-example.c:
6849 * src/hildon-touch-selector-entry.c:
6850 * src/hildon-touch-selector-entry.h:
6853 Moved HildonTouchSelectorEntry from sandbox. Added its
6854 documentation and examples.
6856 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6858 * src/hildon-touch-selector.h:
6859 * examples/hildon-picker-button-multicolumn-example.c:
6860 (hildon_touch_selector_append_text_column): Add a gboolean
6861 parameter to determine if text must be centered in the column.
6863 * src/hildon-date-selector.c: (hildon_date_selector_init):
6864 * src/hildon-time-selector.c: (hildon_time_selector_init):
6865 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6866 (create_touch_selector): Update widgets and example to reflect
6869 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6871 * src/hildon-touch-selector.c:
6872 (hildon_touch_selector_set_active_iter): Set also the cursor in
6875 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6877 * doc/hildon-docs.sgml
6880 * src/hildon-toggle-button.c
6881 * src/hildon-toggle-button.h
6882 * src/hildon.h: Removed HildonToggleButton widget, a derived
6883 class is not necessary for this.
6885 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6887 * src/hildon-pannable-area.c,
6888 (hildon_pannable_area_realize),
6889 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6892 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6894 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6895 "done" button the default widget for the dialog.
6897 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6899 * src/hildon-touch-selector.c:
6900 (hildon_touch_selector_class_init),
6901 (hildon_touch_selector_get_property),
6902 (_hildon_touch_selector_set_model),
6903 (_hildon_touch_selector_has_multiple_selection),
6904 (hildon_touch_selector_has_multiple_selection):
6905 Add a "has-multiple-selection" property with a virtual
6906 has_multiple_selection() method to allow derived classes to
6907 override the default value for it. See the method and property
6908 documentation for details.
6910 * src/hildon-touch-selector.h: Add the new API.
6912 * src/hildon-picker-dialog.c: (requires_done_button): Call
6913 hildon_touch_selector_has_multiple_selection() instead of
6914 determining the need for a button itself.
6916 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6918 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6919 (_hildon_touch_selector_set_model),
6920 (hildon_touch_selector_set_model): Move working code to
6921 _hildon_touch_selector_set_mode(). Call the class method instead.
6923 * src/hildon-touch-selector.h: Add (*set_model) to
6924 HildonTouchSelectorClass.
6926 Make hildon_touch_selector_set_model() a virtual method, so that
6927 derived classes can extend it and do fancy stuff with the model.
6929 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6931 * configure.ac: Set back the tarname in AC_INIT to hildon.
6933 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6937 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6938 instead of libesd (NB#86876). Volume handling is still an open issue.
6940 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6943 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6945 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6946 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6947 derived class to ease placement of an entry widget in
6948 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6949 end, where the selector columns are packed now.
6951 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6953 * src/hildon-picker-button.c: Removed the simple _text() API.
6954 * src/hildon-picker-button.h: Likewise.
6956 * src/hildon-touch-selector.h:
6957 * src/hildon-touch-selector.c:
6958 (hildon_touch_selector_new_text),
6959 (hildon_touch_selector_append_text),
6960 (hildon_touch_selector_prepend_text),
6961 (hildon_touch_selector_insert_text):
6963 Moved the simple _text() API from HildonPickerButton to
6964 HildonTouchPicker, to provide better escalability and not to tie
6965 that API to HildonPickerButton.
6967 * examples/hildon-picker-button-example.c: (main): Example updated.
6969 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6971 * src/hildon-button.c: Updated documentation.
6973 * examples/hildon-button-example.c: Add the posibility to create
6974 the buttons using horizontal layout for title and value.
6976 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6978 * src/hildon-app-menu-private.h
6979 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
6980 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
6981 GtkSizeGroup for the filters, use the 'homogeneous' property of
6984 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6986 * examples/hildon-button-example.c: Updated example.
6988 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
6990 * doc/hildon-docs.sgml:
6993 Update documentation.
6995 * examples/Makefile.am: Update renamed examples.
6997 * examples/hildon-picker-button-multicolumn-example.c:
6998 (create_touch_selector), (main): Update after the rename.
7000 * examples/hildon-touch-picker-example.c: Removed.
7001 * examples/hildon-touch-selector-example.c: (value_changed),
7002 (create_selector), (get_visible_content), (main): Renamed from
7003 hildon-touch-picker-example.c
7005 * src/Makefile.am: Updated renamed files.
7007 * src/hildon-date-button.c: (hildon_date_button_init),
7008 (hildon_date_button_get_date), (hildon_date_button_set_date):
7009 * src/hildon-date-selector.c: (hildon_date_selector_init),
7010 (_custom_print_func), (_update_day_model),
7011 (_manage_selector_change_cb),
7012 (hildon_date_selector_select_current_date),
7013 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7014 * src/hildon-date-selector.h:
7015 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7016 (hildon_picker_button_set_property),
7017 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7018 (hildon_picker_button_init), (hildon_picker_button_new_text),
7019 (hildon_picker_button_append_text),
7020 (hildon_picker_button_prepend_text),
7021 (hildon_picker_button_insert_text),
7022 (hildon_picker_button_set_selector),
7023 (hildon_picker_button_get_selector):
7024 * src/hildon-picker-button.h:
7025 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7026 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7027 (_update_title_on_selector_changed_cb), (requires_done_button),
7028 (_hildon_picker_dialog_set_selector),
7029 (hildon_picker_dialog_set_selector),
7030 (hildon_picker_dialog_get_selector):
7031 * src/hildon-picker-dialog.h:
7032 * src/hildon-time-button.c: (hildon_time_button_init),
7033 (hildon_time_button_get_time), (hildon_time_button_set_time):
7034 * src/hildon-time-selector.c: (hildon_time_selector_init),
7035 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7036 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7037 * src/hildon-time-selector.h:
7040 Massive code updates after the rename.
7042 * src/hildon-touch-picker.c: Removed.
7043 * src/hildon-touch-picker.h: Removed.
7045 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7046 (hildon_touch_selector_init), (hildon_touch_selector_map),
7047 (hildon_touch_selector_remove), (_default_print_func),
7048 (_selection_changed_cb), (_create_new_column),
7049 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7050 (hildon_touch_selector_append_text_column),
7051 (hildon_touch_selector_remove_column),
7052 (hildon_touch_selector_set_column_attributes),
7053 (hildon_touch_selector_insert_column),
7054 (hildon_touch_selector_get_num_columns),
7055 (hildon_touch_selector_get_column_selection_mode),
7056 (hildon_touch_selector_set_column_selection_mode),
7057 (hildon_touch_selector_set_print_func),
7058 (hildon_touch_selector_get_print_func),
7059 (hildon_touch_selector_get_active_iter),
7060 (hildon_touch_selector_set_active_iter),
7061 (hildon_touch_selector_get_selected_rows),
7062 (hildon_touch_selector_get_model),
7063 (hildon_touch_selector_set_model),
7064 (hildon_touch_selector_get_current_text),
7065 (_hildon_touch_selector_center_on_selected_items):
7066 * src/hildon-touch-selector.h: Renamed from
7067 hildon-touch-picker.[ch]
7069 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7070 references, code examples, and related documentation.
7072 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7074 * doc/hildon-docs.sgml
7077 * src/hildon-toggle-button.c
7078 * src/hildon-toggle-button.h
7079 * src/hildon.h: New HildonToggleButton widget.
7081 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7083 * src/hildon-button.c: Add API documentation.
7084 (hildon_button_set_size_groups): Check input parameters
7086 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7088 * src/hildon-pannable-area.c
7089 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7090 effect after reaching the movement thredshold. This way we start
7091 using the distance after passing the thredshold.
7093 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7095 * src/hildon-button.c: (hildon_button_set_property): Use the
7096 appropriate g_value_get_flags() method.
7098 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7100 * doc/hildon-docs.sgml:
7103 Add the touch pickers, picker dialogs, and picker button widgets
7104 to the documentation.
7106 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7108 * src/hildon-button.c: (hildon_button_set_property),
7109 (hildon_button_class_init): Make "arrangement-flags" a proper
7110 G_TYPE_FLAGS derived property.
7112 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7114 * examples/Makefile.am: Add below examples.
7115 * examples/hildon-date-button-example.c:
7116 * examples/hildon-picker-button-example.c:
7117 * examples/hildon-picker-button-multicolumn-example.c:
7118 * examples/hildon-time-button-example.c:
7119 * examples/hildon-touch-picker-example.c:
7121 Add examples for the recently added touch pickers,
7122 picker dialogs, and picker button widgets.
7124 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7126 * src/hildon-button.c: Add some API documentation
7128 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7130 * src/hildon-button.h
7131 * src/hildon-button.c
7133 (hildon_button_new_with_text): New constructor to create a button
7134 with no text at all.
7135 (hildon_button_init, hildon_button_set_arrangement)
7136 (hildon_button_set_title, hildon_button_set_value)
7137 (hildon_button_set_text)
7138 (hildon_button_construct_child): Hide the value when it's not used
7139 so the rest of the text is properly aligned.
7140 Allow creating buttons with arbitrary widgets inside (not just
7141 title/value labels).
7143 * examples/hildon-button-example.c (vertical_buttons_window)
7144 (horizontal_buttons_window): Update example to use new API.
7146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7148 * src/Makefile.am: Added HildonTimeButton.
7149 * src/hildon-time-button.c: Added missing LGPL header.
7150 * src/hildon-time-button.h: Added missing LGPL header.
7151 * src/hildon.h: Add hildon-time-button.h
7153 Copied HildonTimeButton from sandbox to trunk. Future work on this
7154 widget must take place in trunk.
7156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7158 * src/Makefile.am: Added HildonDateButton.
7159 * src/hildon-date-button.c: Update includes.
7160 * src/hildon.h: Add hildon-date-button.h
7162 Copied HildonDateButton from sandbox to trunk. Future work on this
7163 widget must take place in trunk.
7165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7167 * src/Makefile.am: Added HildonPickerButton.
7168 * src/hildon-picker-button.h: Update includes.
7169 * src/hildon.h: Add hildon-picker-button.h
7171 Copied HildonPickerButton from sandbox to trunk. Future work on
7172 this widget must take place in trunk.
7174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7176 * src/Makefile.am: Added HildonPickerDialog.
7177 * src/hildon-picker-dialog.c: Update includes.
7178 * src/hildon.h: Add hildon-picker-dialog.h
7180 Copied HildonPickerDialog from sandbox to trunk. Future work
7181 on this widget must take place in trunk.
7183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7185 * src/Makefile.am: Added HildonTimeSelector.
7186 * src/hildon.h: Add hildon-time-selector.h
7188 Copied HildonTimeSelector widget from sandbox to trunk. Future
7189 work on this widget must happen in trunk.
7191 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7193 * src/Makefile.am: Added HildonDateSelector.
7194 * src/hildon.h: Add hildon-date-selector.h
7196 Copied HildonDateSelector widget from sandbox to trunk. Future
7197 work on this widget must happen in trunk.
7199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7201 * src/Makefile.am: Added HildonTouchPicker.
7202 * src/hildon-touch-picker.c: Update includes.
7203 * src/hildon.h: Add hildon-touch-picker.h
7205 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7206 on this widget must happen in trunk.
7208 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7210 * src/hildon-pannable-area.c:
7211 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7213 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7215 * examples/hildon-app-menu-example.c (main): Let the window
7218 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7220 * src/hildon-pannable-area.c
7221 (hildon_pannable_area_class_init): Set the min value of the
7222 overshoot properties to zero, which points out that not
7223 overshooting allowed.
7225 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7227 Modified the procedure to get the widget at a point inside the
7228 pannable area when using the movement type signals. Now the user
7229 has to call a function to get the child, that way we just
7230 calculate the child in case the user really want to use it and not
7233 * src/hildon-marshalers.list: Modified the marshallers, now we do
7234 not have the widget as a parameter.
7236 * src/hildon-pannable-area.c
7237 (hildon_pannable_area_motion_notify_cb),
7238 (hildon_pannable_area_class_init),
7239 (hildon_pannable_get_child_widget_at): Removed the widget
7240 parameter from the signal callback. We have also refactored the
7241 emission of the signals.
7243 * src/hildon-pannable-area.h: Added a new method to the API to
7244 calculate a widget at a point inside the pannable area,
7245 hildon_pannable_get_child_widget_at.
7247 * examples/hildon-pannable-area-example-4.c
7248 (horizontal_movement): Modified the example to use the new API,
7249 added condition to control which widget is under the event. This
7250 way we can avoid scrolling laterally over other widgets.
7252 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7254 * src/hildon-pannable-area.c
7255 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7256 modes, we stop getting the pointer events due to returning the
7257 callback without properly calling the get pointer again. Fixed
7258 also an error using the hscroll and vscroll.
7260 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7262 * src/hildon-app-menu-private.h
7263 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7264 (hildon_app_menu_button_release, hildon_app_menu_init)
7265 (hildon_app_menu_class_init): Don't hide the menu on button
7266 release if the user didn't press outside first.
7268 * src/hildon-window.h
7269 * src/hildon-window.c (hildon_window_toggle_menu)
7270 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7271 hildon_window_toggle_menu a virtual function for the stackable
7272 window to override it.
7274 * src/hildon-stackable-window.h
7275 * src/hildon-stackable-window-private.h
7276 * src/hildon-stackable-window.c
7277 (hildon_stackable_window_realize)
7278 (hildon_stackable_window_finalize)
7279 (hildon_stackable_window_class_init)
7280 (hildon_stackable_window_init)
7281 (hildon_stackable_window_set_main_menu): New function to set the
7282 app menu of a HildonStackableWindow.
7284 * examples/hildon-app-menu-example.c: Remove the button to show
7285 the app menu, now it'll be shown when clicking on the title bar
7288 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7290 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7291 set the widget name if the arrangement flags do not specify
7294 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7296 * src/hildon-button.c: (hildon_button_set_property),
7297 (hildon_button_class_init), (hildon_button_new_full),
7298 (hildon_button_set_arrangement): Added "arrangement-flags"
7301 Make the HildonButtonFlags a construction-only property, to allow
7302 subclasses to set them properly.
7304 2008-07-21 Tim Janik <timj@imendio.com>
7306 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7307 insertion position after backspace, so additional digits are appended,
7310 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7312 * src/hildon-pannable-area.c,
7313 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7314 TODO list, it was complete and removed the g_debug and g_print
7317 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7319 Added the movement modes to the hildon-pannable-area, with this
7320 modes the developers can control in which directions the widget
7321 can scroll. They can also connect to signals in order to do
7322 something when that happens, allowing applications scroll. There
7323 is an example uploaded showing how to use it.
7325 * examples/Makefile.am:
7326 * examples/hildon-pannable-area-example-4.c: Added this example of
7327 an application using the modes.
7329 * src/hildon-marshalers.list: Added a new marshaller for the new
7332 * src/hildon-pannable-area.h: Added new enumerations and flags in
7333 order to control the movement modes and the new signals to warn
7334 about the movements in the area.
7336 * src/hildon-pannable-area.c:
7337 (hildon_pannable_axis_scroll),
7338 (hildon_pannable_area_scroll),
7339 (hildon_pannable_area_motion_notify_cb),
7340 (hildon_pannable_area_get_property),
7341 (hildon_pannable_area_set_property),
7342 (hildon_pannable_area_map),
7343 (hildon_pannable_area_class_init),
7344 (hildon_pannable_area_init),
7345 (hildon_pannable_area_jump_to): Added the modes to control the
7346 movement in the widget. We have added properties to control it,
7347 signals to warn about the movements and refactored some code.
7349 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7351 Changes required in order to allow vfast_factor set to zero to
7354 * src/hildon-pannable-area.c:
7355 (hildon_pannable_area_button_press_cb): Changed the condition, it
7356 is required for not allowing click when vfast_factor is zero.
7357 (hildon_pannable_area_timeout): Initialized velocity variables
7358 when we stop moving, it was less than 1 but not zero and we need
7359 to check zero in some situations.
7360 (hildon_pannable_area_class_init): Changed the default value of
7361 the speed factor, now the button_press is just sent in case the
7362 speed is 2 per cent of the max speed.
7363 (hildon_pannable_area_init): Initialization with 0.
7365 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7367 * src/hildon-pannable-area.c,
7368 (hildon_pannable_area_get_topmost): replaced
7369 gdk_window_get_children with gdk_window_peek_children, this way we
7370 do not have to free the list because it is not a copy.
7372 (hildon_pannable_axis_scroll),
7373 (hildon_pannable_area_scroll),
7374 (hildon_pannable_area_timeout),
7375 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7376 two parameters that were only used inside the
7377 hildon_pannable_area_scroll function.
7379 * examples/hildon-pannable-area-example.c,
7380 (get_sawtooth_label): Fixed small memory leak.
7382 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7384 More checks for the case where the overshoot is bigger than the
7387 * src/hildon-pannable-area.c:
7388 (hildon_pannable_draw_vscroll),
7389 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7390 to draw the slider of the scrollbar under the other scrollbar.
7391 (hildon_pannable_area_expose_event): added new checks to control
7392 the drawing of the overshooting area rectangle, in case it is too
7393 big for the area of the widget.
7394 (hildon_pannable_area_size_allocate): add more checks to avoid
7395 setting a position to the child widget outside the area.
7397 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7399 * src/hildon-pannable-area.c
7400 (hildon_pannable_area_size_allocate): Added conditions to control
7401 when overshooting is bigger than the allocated space for the
7402 children, this avoids negative allocations.
7404 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7406 * doc/hildon-docs.sgml
7408 * examples/Makefile.am
7409 * examples/hildon-button-example.c
7411 * src/hildon-button.c
7412 * src/hildon-button.h
7413 * src/hildon.h: Initial version of the new HildonButton widget,
7416 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7418 * src/hildon-pannable-area.c:
7419 (hildon_pannable_area_button_press_cb),
7420 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7421 (hildon_pannable_area_motion_notify_cb),
7422 (hildon_pannable_area_button_release_cb),
7423 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7424 (hildon_pannable_area_jump_to_child):
7426 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7428 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7430 * examples/Makefile.am
7431 * examples/hildon-pannable-area-touch-grid-example.c
7432 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7433 the Hildon Touch List and Hildon Touch Grid using the
7434 HildonPannableArea widget.
7436 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7438 * src/hildon-pannable-area.c,
7439 (hildon_pannable_area_button_press_cb),
7440 (hildon_pannable_area_refresh),
7441 (hildon_pannable_area_scroll),
7442 (hildon_pannable_area_motion_notify_cb),
7443 (hildon_pannable_area_button_release_cb),
7444 (hildon_pannable_area_expose_event),
7445 (hildon_pannable_area_add),
7446 (hildon_pannable_area_remove),
7447 (hildon_pannable_area_realize),
7448 (hildon_pannable_area_size_allocate),
7449 (hildon_pannable_area_class_init),
7450 (hildon_pannable_area_init),
7451 (hildon_pannable_area_scroll_to_child),
7452 (hildon_pannable_area_jump_to_child): Fixed the problem of
7453 removing the child from the GtkBin, we have rearranged the widget
7454 hierarchy, now there is no GtkAlignment which was not doing
7455 anything interesting but breaking some of the assumptions of
7456 GtkContainer. Now developers if they want to add a GtkAlignment
7457 they could, but it is not inside the area.
7459 We had to review the whole allocation/expose process, now it is
7460 improved and we save at least three signals which would be saving
7461 some time when rendering the widget. The allocation of the
7462 scrollbars is now made in the allocate method as usual.
7464 We have also added some conditions in order to control when there
7465 is no child of the pannable area. Maybe we will need more work
7468 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7470 * src/hildon-pannable-area.c,
7471 (hildon_pannable_area_dispose): Released the fade-out timeout when
7472 disposing the widget.
7474 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7476 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7477 zero, we are going to use that property in order to deactivate the
7479 (hildon_pannable_axis_scroll),
7480 (hildon_pannable_area_size_allocate): Added conditions to control
7481 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7482 call, now it is called in all situations and we can remove calls
7483 in the allocate method.
7484 (hildon_pannable_area_map): Control the situation when
7485 overshoot_max is zero, we do not need the timeout.
7486 (hildon_pannable_area_class_init): Added documentation in order to
7487 point out that setting zero to overshoot_max means deactivate
7490 NOTE: removed trailing whitespaces from my previous comments of
7493 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7495 * src/hildon-pannable-area.c
7496 (hildon_pannable_area_get_property),
7497 (hildon_pannable_area_set_property),
7498 (hildon_pannable_area_map),
7499 (hildon_pannable_area_class_init),
7500 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7501 to cause the widget give a hint about its panning abilities upon
7504 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7506 * src/hildon-pannable-area.c: Several documentation improvements.
7508 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7510 * src/hildon-program.c
7511 * src/hildon-stackable-window.c: Update documentation.
7513 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7515 * src/hildon-stackable-window.c (get_previous_window_if_last):
7516 Renamed get_last_window()
7517 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7518 (hildon_stackable_window_unset_program):
7520 (get_previous_window_if_last):
7521 Detect if the window hasn't been added to a HildonProgram.
7523 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7525 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7527 * src/hildon-pannable-area.c
7528 (hildon_pannable_area_button_press_cb),
7529 (hildon_pannable_axis_scroll),
7530 (hildon_pannable_area_scroll),
7531 (hildon_pannable_area_timeout),
7532 (hildon_pannable_calculate_vel_factor),
7533 (hildon_pannable_area_get_property),
7534 (hildon_pannable_area_set_property),
7535 (hildon_pannable_area_class_init),
7536 (hildon_pannable_area_init),
7537 (hildon_pannable_area_scroll_to),
7538 (hildon_pannable_area_jump_to),
7539 (hildon_pannable_area_scroll_to_child),
7540 (hildon_pannable_area_jump_to_child):
7541 * src/hildon-pannable-area.h: Added the new API functions:
7542 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7543 hildon_pannable_area_scroll_to_child,
7544 hildon_pannable_area_jump_to_child
7547 * examples/Makefile.am
7548 * examples/hildon-pannable-area-example-2.c
7549 * examples/hildon-pannable-area-example-3.c: Added these two new
7550 examples in order to test and show how the new APIs work.
7552 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7554 * examples/hildon-stackable-window-example.c (new_window):
7555 * src/Makefile.am (noinst_HEADERS):
7556 * src/hildon-program.c (hildon_program_go_to_root_window):
7557 * src/hildon-program.h:
7558 * src/hildon-stackable-window-private.h:
7559 * src/hildon-stackable-window.c:
7560 * src/hildon-stackable-window.h:
7561 Create hildon-stackable-window-private.h
7562 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7564 * examples/hildon-app-menu-example.c (create_menu):
7565 * examples/hildon-hvolumebar-insensitive-example.c (main):
7566 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7567 * examples/hildon-toolbar-seekbar-example.c (main):
7568 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7569 * src/hildon-banner.c (hildon_banner_set_property):
7570 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7571 Fix compilation warnings
7573 * src/hildon-window.c:
7576 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7578 * src/hildon-stackable-window.c
7579 (hildon_stackable_window_unset_program):
7580 Calculate correctly whether to show the previous window if the
7581 last one is removed from the stack.
7582 (hildon_stackable_window_go_to_root_window):
7583 Send delete events starting from the topmost window.
7584 Stop if one of the windows is not destroyed.
7586 (hildon_stackable_window_delete_event)
7587 (hildon_stackable_window_class_init):
7588 Ignore the delete event if the window is not the topmost one.
7590 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7592 * src/hildon-pannable-area.c
7593 (hildon_pannable_area_expose_event): Fixed a problem when
7594 selecting the background color of the scrollbars.
7596 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7598 * examples/hildon-stackable-window-example.c
7599 * src/hildon-stackable-window.c
7600 * src/hildon-stackable-window.h
7601 hildon_stackable_window_go_home() renamed to
7602 hildon_stackable_window_go_to_root_window()
7603 Send delete events to windows rather than closing them with
7604 gtk_widget_destroy()
7606 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7608 * src/hildon-pannable-area.c
7609 (hildon_pannable_area_button_release_cb): Fix overshooting in
7612 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7614 * src/hildon-pannable-area.c
7615 (hildon_pannable_area_init): Initially show the scroll indicators.
7616 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7618 Add initial effect showing the widget is pannable.
7620 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7622 * src/hildon-pannable-area.c
7623 (hildon_pannable_area_class_init)
7624 (hildon_pannable_area_set_property)
7625 (hildon_pannable_area_get_property)
7626 (hildon_pannable_area_button_press_cb):
7627 New 'velocity_fast_factor' property to decide which velocity is
7630 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7632 * src/hildon-pannable-area.c
7633 (hildon_pannable_draw_hscroll)
7634 (hildon_pannable_draw_vscroll):
7635 Use float variables to calculate the size of the scrollbars to
7636 avoid error propagation and resizing during scrolling.
7638 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7640 * src/hildon-pannable-area.c
7641 (hildon_pannable_draw_vscroll)
7642 (hildon_pannable_draw_hscroll):
7643 Define a minimum size for the scroll bars
7645 * src/hildon-stackable-window.c
7646 (hildon_stackable_window_go_home): Fix compilation warning
7647 (get_last_window): Minor optimizations
7648 (hildon_stackable_window_class_init): Fix initialization of
7651 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7653 * src/hildon-stackable-window.c: Fixed typos in doc
7655 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7657 * src/hildon-pannable-area.c
7658 (hildon_pannable_area_scroll):
7659 Calculate here whether we need to scroll instead of using the booleans
7660 that tell us whether to /draw/ the scrolling bars.
7662 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7664 * src/hildon-app-menu.h
7666 * src/hildon-app-menu.c
7667 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7668 multiple filter groups related code and API. Now we support only
7670 * examples/hildon-app-menu-example.c:
7672 Update to reflect API changes.
7674 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7676 * src/hildon-stackable-window.c
7677 (hildon_stackable_window_class_init):
7678 Add hildon_stackable_window_realize.
7679 (hildon_stackable_window_realize):
7680 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7681 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7682 to apply theming and behavior specific to HildonStackableWindow
7685 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7687 * src/hildon-note.c (hildon_note_button_release):
7688 Close information notes also when tapping on them
7690 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7692 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7693 ELASTICITY, refactor and review, fix some issues with drawing
7696 * src/hildon-pannable-area.c:
7697 (hildon_pannable_area_button_press_cb): removed the conditions to
7698 avoid clicks when overshooting. It is not required
7700 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7701 define. Refatored and reviewed the code, now we do not need to
7702 manage velocity in motion_notify.
7704 (hildon_pannable_area_motion_notify_cb): We have moved the code
7705 that controls the area_scroll to the axis_scroll function and get
7706 rid of duplicated code.
7708 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7710 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7712 (hildon_pannable_draw_vscroll),
7713 (hildon_pannable_draw_hscroll): Fixed the problems with the
7714 scrollbar drawing, now we do not use two surfaces, it is easier
7715 and saves resources.
7717 (hildon_pannable_area_get_property): Style modification.
7719 (hildon_pannable_area_class_init): Changed some default values.
7721 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7723 * src/hildon-stackable-window.c: Fix some typos in the
7726 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7728 * src/hildon-dialog.c:
7729 Change indentation style
7732 (hildon_note_button_release):
7733 Use root coordinates to check if the release event happened
7736 * src/hildon-app-menu.c
7737 (hildon_app_menu_button_release):
7738 Remove unnecessary check
7740 * examples/hildon-app-menu-example.c
7742 Add cast to fix warning
7744 * src/hildon-app-menu.c
7745 (hildon_app_menu_class_init):
7746 New inner-border style property.
7747 Set all default spacings to 16
7748 (hildon_app_menu_init):
7749 Use vertical-spacing to set the space between filter buttons and
7750 regular menu buttons.
7751 Set the default container border using the inner-border value.
7753 * examples/hildon-app-menu-example.c
7755 Don't set the menu border explicitly, now we have the inner-border
7756 style property for that.
7758 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7760 * src/hildon-app-menu.c (hildon_app_menu_init):
7761 Make the window modal
7763 * src/hildon-note.c (hildon_note_map)
7764 * src/hildon-app-menu.c (hildon_app_menu_map):
7765 Destroy the grab window if we're unable to grab the pointer
7767 * src/hildon-app-menu-private.h
7768 * src/hildon-app-menu.c
7769 (hildon_app_menu_init, hildon_app_menu_finalize)
7770 (hildon_app_menu_map, hildon_app_menu_unmap)
7771 (hildon_app_menu_button_release)
7772 (grab_transfer_window_get):
7773 Bring back the grab window
7774 (hildon_app_menu_realize):
7775 Decorate the window, set WM hint for Matchbox
7777 * src/hildon-note.c (hildon_note_realize):
7778 * src/hildon-banner.c (hildon_banner_realize):
7779 Add WM hints for Matchbox
7781 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7783 * src/hildon-app-menu-private.h
7784 * src/hildon-app-menu.c
7785 (hildon_app_menu_init, hildon_app_menu_finalize)
7786 (hildon_app_menu_map, hildon_app_menu_unmap)
7787 (hildon_app_menu_button_release):
7788 Remove the grab window, it's not needed anymore
7790 * src/hildon-program.c
7791 Fixed typo in documentation
7793 * src/hildon-app-menu.h
7794 * src/hildon-app-menu.c
7795 * examples/hildon-app-menu-example.c
7796 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7798 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7801 Added new transfer_window and close_if_pressed_outside private
7803 (hildon_note_rebuild):
7804 Don't add a cancel button to the information note. It will be
7805 closed when tapping outside
7806 Remove the comment about the OK button in the documentation
7807 (hildon_note_realize):
7808 Set the notification type hint
7809 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7810 Grab/ungrab pointer and keyboard if the note has to be closed when
7812 (hildon_note_button_release):
7813 Close the note when tapping outside (if applicable)
7815 * src/hildon-app-menu.c
7816 Grab/ungrab pointer and keyboard on map/unmap
7817 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7818 Close the menu on button release, not button press
7820 * src/hildon-banner.c
7821 (hildon_banner_set_property)
7822 (hildon_banner_check_position):
7823 Make the banner use the full width of the screen
7824 (hildon_banner_show_information)
7825 (hildon_banner_show_information_with_markup):
7826 Don't display an icon by default
7828 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7830 Added fading scrollbars and adapted all the overshooting code to
7831 horizontal scrolling. We have also fixed bugs with overshooting
7832 and current fading implementation.
7834 * src/hildon-pannable-area.c
7835 (hildon_pannable_area_scroll_indicator_fade): Time out function
7836 used to change the transparency of the scrollbars.
7838 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7839 control and fixed a problem with fading, we now remove the fade
7840 timeout before adding a new one.
7842 (hildon_pannable_axis_scroll):
7843 (hildon_pannable_area_scroll):
7844 (hildon_pannable_area_timeout): Added this functions so we can use
7845 the scroll code both for vertical and horizontal.
7847 (hildon_pannable_area_motion_notify_cb):
7848 (hildon_pannable_area_button_release_cb): Added the horizontal
7849 scrolling control, fixed a problem with the overshooting timeout.
7851 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7852 painting of the scrolls.
7854 (hildon_pannable_draw_vscroll):
7855 (hildon_pannable_draw_hscroll):
7856 (hildon_pannable_area_expose_event):
7857 Draw both scrollbars and rectangles in the overshooting area.
7859 (hildon_pannable_area_get_property):
7860 (hildon_pannable_area_set_property):
7861 Modified the overshoot property to overshoot_max
7863 (hildon_pannable_area_map):
7864 Replaced the comments symbols.
7866 (hildon_pannable_area_size_allocate):
7867 (hildon_pannable_area_class_init):
7868 (hildon_pannable_area_init): Added horizontal scroll, fading
7869 effect properties, fixed a problem when overshooting in the bottom
7872 * examples/hildon-pannable-area-example.c:
7873 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7874 looks better in the example.
7876 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7878 * src/hildon-window.c
7879 * src/hildon-window.h
7880 (hildon_window_class_init)
7881 (hildon_window_unset_program)
7882 (hildon_window_unset_program_real):
7883 Make unset_program a virtual function
7885 * src/hildon-stackable-window.c
7886 * src/hildon-stackable-window.h
7887 Added hildon_stackable_window_go_home()
7889 * examples/Makefile.am
7890 * examples/hildon-stackable-window-example.c
7891 HildonStackableWindow example
7893 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7895 * hildon-pannable-area.c: Added the overshoot property and removed
7896 the OVERSHOOT define. Fixed an indent style error.
7897 (hildon_pannable_area_motion_notify_cb):
7898 (hildon_pannable_area_get_property):
7899 (hildon_pannable_area_set_property): Add overshoot property.
7901 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7904 (hildon_pannable_area_class_init): Installed the new property.
7906 * hildon-pannable-area-example.c: Added a sawtooth function, this
7907 way it is easier to check the movement in the pannable.
7908 (get_sawtooth_label): Added this function.
7909 (main): Now we get the labels from the new get_sawtooth_label
7912 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7914 * src/hildon-app-menu.h
7915 * src/hildon-app-menu.c
7916 Renamed API variables for consistency
7918 (hildon_app_menu_popup): Use also the default window size to
7919 decide where to place the menu
7921 (hildon_app_menu_init, hildon_app_menu_class_init): New
7922 external-border style property
7924 2008-05-26 Michael Natterer <mitch@imendio.com>
7926 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7927 widget_class->tap_and_hold_setup signal slot doesn't exist any
7928 longer, stop overriding it.
7930 (hildon_time_editor_init): g_signal_connect() to the
7931 tap-and-hold-setup signal instead.
7933 (hildon_time_editor_entry_keypress): add cast to fix warning.
7935 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7937 * doc/hildon-docs.sgml
7939 * examples/Makefile.am
7940 * examples/hildon-app-menu-example.c
7942 * src/hildon-app-menu-private.h
7943 * src/hildon-app-menu.c
7944 * src/hildon-app-menu.h
7946 New HildonAppMenu widget
7948 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7950 Rearranged the inheritance of the pannable area, now it inherits
7951 from GtkBin. This will allow us to control the event_window and
7952 the allocation process of the widget, required for some effects.
7954 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7955 GtkBin structures. * src/hildon-pannable-area.c: Added the
7956 event_window variable.
7957 (hildon_pannable_area_button_press_cb):
7958 (hildon_pannable_area_button_release_cb):
7959 (hildon_pannable_area_motion_notify_cb):
7960 Changed the signature of the method, now we override the event
7961 callback instead of connecting to the signal.
7963 (hildon_pannable_area_realize):
7964 (hildon_pannable_area_unrealize):
7965 (hildon_pannable_area_map):
7966 (hildon_pannable_area_unmap):
7967 (hildon_pannable_area_size_allocate):
7968 Added functions to control the widget construction. We add a
7969 INPUT_ONLY window and we put it over the widgets inside the
7970 container, this event_window handles the events.
7972 (hildon_pannable_area_class_init):
7973 Replaced the signal connections with overrides of the event
7976 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7978 Bouncing effect added when touching the borders, you can change
7979 the elasticity of the border changing the ELASTICITY define.
7981 * src/hildon-pannable-area.c: Added ELASTICITY define.
7982 (hildon_pannable_area_timeout): Added inverse velocity when
7983 touching the border of the child widget, that causes a bounce.
7985 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7987 Improved performance, we now do not go to the X server in order to
7988 get the list of window children. Apparently the effect is the
7989 same, we have to be careful and check if this breaks something in
7992 * src/hildon-pannable-area.c:
7993 (get_ordered_children): Removed this function.
7994 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
7995 the children windows function with gdk_window_get_children.
7997 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7999 * src/hildon-pannable-area.c:
8000 (hildon_pannable_area_dispose): Fixed a crash when closing the
8001 window and kinetics is activated.
8003 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8005 * src/hildon-pannable-area.h
8006 * src/hildon-pannable-area.c
8007 Changed indentation style to meet the one used in Hildon
8009 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8011 Reviewed the interaction of the AUTO mode, now we use the time
8012 attribute of the events and calculate the velocity in the motion,
8013 doing a gimp like calculation. The velocity is calculated in each
8014 motion event using the last velocity and the current one, the
8015 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8017 * src/hildon-pannable-area.c: Replaced the time based algorithm
8019 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8020 timeout for the AUTO mode when we are still moving the cursor. We
8021 added also the velocity calculation in this function.
8022 (hildon_pannable_area_button_release_cb): launch the timeout in
8023 case we are in AUTO mode. There are still some constants here that
8024 come from the old implementation that should be reviewed and
8027 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8029 * doc/hildon-docs.sgml
8032 * src/hildon-stackable-window.c
8033 * src/hildon-stackable-window.h
8035 New HildonStackableWindow widget
8037 * examples/hildon-dialog-example.c
8038 * examples/hildon-pannable-area-example.c
8041 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8043 * src/hildon-dialog.c
8044 (hildon_dialog_new_with_buttons): New constructor.
8046 * examples/hildon-dialog-example.c
8047 (main): Update the example to use the new
8048 hildon_dialog_new_with_buttons().
8050 * examples/hildon-pannable-area-example.c
8051 (main): Update example.
8053 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8055 * doc/hildon-docs.sgml
8057 Added HildonPannableArea to the documentation.
8059 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8061 * doc/visual_index.xml
8062 Fix reference to HildonLoginDialog in documentation
8064 * doc/hildon-docs.sgml
8066 * examples/Makefile.am
8067 * examples/hildon-dialog-example.c
8069 * src/hildon-dialog.c
8070 * src/hildon-dialog.h
8072 New HildonDialog widget.
8074 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8076 * src/hildon-pannable-area.c
8077 Merge latest changes (r4318, r4342) from libmokoui trunk
8079 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8081 * examples/Makefile.am
8082 * examples/hildon-pannable-area-example.c
8084 * src/hildon-pannable-area.c
8085 * src/hildon-pannable-area.h
8087 New HildonPannableArea widget.
8089 2008-04-15 18:05:19 <timj@imendio.com>
8091 * src/hildon-banner.c: revert the recent change, that introduced
8092 gtk_window_present() calls. this reopens:
8093 Bug 78481 - [freetest] information banners are hidden under browser menu
8094 But resolves another variant of:
8095 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8097 2008-04-15 13:21:13 <timj@imendio.com>
8099 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8100 recreated its layout, spotted by Kris. this fixes all remaining
8101 artefacts and stability issues with the banner code. in particular:
8102 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8104 2008-04-14 16:52:59 <timj@imendio.com>
8106 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8107 operating on unrealized widgets, fixes:
8108 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8110 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8112 2008-04-09 Kristian Rietveld <kris@imendio.com>
8114 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8115 makes banner disappear.
8116 Fixes: NB#79182: info banner flickering with certain message lengts.
8118 * src/hildon-banner.c (hildon_banner_constructor),
8119 (hildon_banner_init), (hildon_banner_set_text),
8120 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8121 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8122 FALSE, reset size requests of label and banner,
8123 (force_to_wrap_truncated): when the text is too wide, always enforce
8124 the maximum possible width instead of recalculating it from the
8125 layout; enforce the maximum banner height of 3 lines,
8126 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8127 nicer wrapping and no truncated chars if space gets tight.
8129 * src/hildon-banner-private.h: add has_been_wrapped and
8130 has_been_truncated fields.
8132 2008-04-07 Sven Herzberg <sven@imendio.com>
8134 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8135 local values in hildon_date_editor_size_allocate
8137 * src/hildon-date-editor.c: moved the real allocation code into the
8140 2008-04-07 Sven Herzberg <sven@imendio.com>
8142 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8143 local values in hildon_date_editor_size_allocate
8145 * src/hildon-date-editor.c: merged the two if() branches together
8147 2008-04-07 Sven Herzberg <sven@imendio.com>
8149 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8150 local values in hildon_date_editor_size_allocate
8152 * src/hildon-date-editor.c: changed the arguments of the if()
8155 2008-04-07 Sven Herzberg <sven@imendio.com>
8157 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8158 local values in hildon_date_editor_size_allocate
8160 * src/hildon-date-editor.c: split the calculation of the allocation
8161 from the real allocation
8163 2008-03-27 Michael Natterer <mitch@imendio.com>
8165 Fixes: NB#81696: The passcode is not overwritten even after
8168 * src/hildon-code-dialog.c
8169 (hildon_code_dialog_button_clicked)
8170 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8171 because that doesn't overwrite selected text. Instead, emit the
8172 "commit" signal on the entry's im_context so the entry's normal
8173 insert logic is triggered. Set the cursor to the end of the entry
8174 after each insert operation so that we *only* insert in the middle
8175 of the text if something was selected.
8177 2008-03-27 Michael Natterer <mitch@imendio.com>
8179 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8180 selector cannot be opened
8182 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8183 when the popup color selector is created. Please connect to this
8184 signal in order to set the dialog's help ID.
8186 2008-03-25 Sven Herzberg <sven@imendio.com>
8188 Fixes: MB#1212: Hide info banners (infoprints) on click
8190 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8191 extracted the close event simulation into an extra function
8192 (hildon_banner_button_press_event): simulate a close event and destroy
8193 the widget if the event wasn't handled
8194 (hildon_banner_class_init): added the button_press_event handler
8195 (hildon_banner_init): added button-press events to the widget
8197 2008-03-25 Sven Herzberg <sven@imendio.com>
8199 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8200 Patch from: Mohammad Anwari <mdamt@maemo.org>
8202 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8203 instead of the right in RTL mode
8204 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8205 breadcrumb button list in RTL mode
8206 * src/hildon-caption.c: mirror the appearance of the caption widget in
8208 * src/hildon-date-editor.c: mirror appearance of the date editor in
8210 * src/hildon-time-editor.c: mirror appearance of the time editor in
8212 * src/hildon-window.c: fix the position of the popup in RTL mode
8214 2008-03-25 Sven Herzberg <sven@imendio.com>
8216 Amendment to the fix of NB#22072. Fix compilation.
8218 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8220 2008-03-19 Sven Herzberg <sven@imendio.com>
8222 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8225 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8226 timeout id properly when the timeout will disappear this leaves no
8227 artifacts around in the destroy(); there will only be the timeout
8228 created by hildon_banner_ensure_timeout() and adding a new timeout
8229 will also work if the timeout gets removed because the timeout_handler
8232 2008-03-19 Michael Natterer <mitch@imendio.com>
8234 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8236 * src/hildon-volumebar.c
8237 * src/hildon-vvolumebar.c
8238 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8239 the widget becomes focussable at all.
8241 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8242 set the focus to wither the mute button or the volumebar.
8244 Remove own "can-focus" property and instead listen to
8245 notify::can-focus in order to update the widget's state.
8247 Implement GtkWidget::focus() and make sure we can also *leave* the
8248 widget, not only enter it, depending on volumebar orientation and
8249 requested focus direction.
8251 Clean up set_mute() to cooperate nicely with all the above.
8253 2008-03-04 Michael Natterer <mitch@imendio.com>
8255 Fixes: NB#78481: information banners are hidden under browser menu
8257 * src/hildon-banner.c: call gtk_window_present() on the banners so
8258 they are risen if they are already visible.
8260 2008-03-03 Sven Herzberg <sven@imendio.com>
8262 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8264 * examples/hildon-window-menu-example.c: (main): extended the window
8265 menu example to serve as a testcase for automatically added
8266 accelerator groups, too
8267 * src/hildon-window.c: (hildon_window_add_accel_group),
8268 (hildon_window_set_menu): added patch by Tommi Komulainen
8270 2008-03-03 Sven Herzberg <sven@imendio.com>
8272 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8274 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8275 knowledge about the border allocators used within GTK+
8277 2008-02-26 Sven Herzberg <sven@imendio.com>
8279 Fixes: MB#2981: Build with asserts broken
8281 * src/hildon-date-editor.c,
8282 * src/hildon-number-editor.c,
8283 * src/hildon-time-editor.c,
8284 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8285 the proper GType instance check
8287 2008-02-25 Sven Herzberg <sven@imendio.com>
8289 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8291 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8292 * examples/hildon-window-menu-example.c: (main): explicitly show
8294 * src/hildon-window.c:
8295 (hildon_window_set_main_menu): moved most of the code from set_menu()
8296 to this place; skipped the call to gtk_widget_show_all(); also didn't
8297 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8298 (hildon_window_set_menu): removed most of the code, just keep the
8299 questionable gtk_widget_show_all()
8300 * src/hildon-window.h: added the new function and deprecate the old
8303 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8309 * debian/changelog: Updating.
8311 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8314 * pkgconfig/Makefile.am:
8315 * pkgconfig/hildon.pc.in:
8318 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8319 use newly created API_MAJOR_VERSION.
8321 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8327 * debian/changelog: Updating.
8329 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8331 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8333 Add outer_border style property, we use it but don't define it (!).
8337 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8339 * examples/hildon-bread-crumb-trail-example.c (main):
8343 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8345 Fix logic for the bread crumb trail node removal.
8349 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8355 * debian/changelog: Updating.
8357 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8359 Patch by Alejandro to get/set passwords dialogs accesibility.
8361 * hildon-1/src/hildon-get-password-dialog.c:
8362 * hildon-1/src/hildon-set-password-dialog.c:
8363 Set atk_set_name to the passwd entries in order to allow
8364 accessibility by name on this entries.
8366 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8371 * debian/control: Updating gtk dep.
8373 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8375 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8376 USE_MAEMO_GTK is enabled.
8378 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8380 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8381 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8383 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8389 * debian/changelog: Updating.
8391 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8393 * examples/Makefile.am:
8394 * examples/hildon-logical-color-example.c:
8395 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8396 applied + adding a test case. Fixes: NB#71660.
8398 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8400 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8401 to be visible, fixes warning on map for windows without toolbars.
8403 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8405 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8406 2.11.0, add a check for that besides the MAEMO_GTK check.
8408 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8414 * debian/changelog: Updating.
8416 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8418 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8419 visibility. Fixes: NB#70842 and MB#615.
8421 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8423 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8424 set the separator as no-show-all so it doesn't unintentionally appear when
8425 someone does a show_all.
8427 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8429 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8430 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8431 toplevel item. Fixes: NB#62031
8433 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8435 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8436 fix the name of the function in the docs.
8438 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8444 * debian/changelog: Updating.
8446 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8448 * examples/hildon-banner-long-example.c: Adding a test-case for long
8451 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8453 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8455 * src/hildon-color-chooser-dialog.c:
8456 * src/hildon-color-chooser.c:
8457 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8458 memory leaks in font selector and color selector. Fixes: NB#70499 and
8461 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8463 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8465 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8468 little bit bigger. Fixes: #NB63694.
8470 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * debian/changelog: Updating.
8478 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8481 * doc/hildon-docs.sgml:
8482 * doc/images/bread-crumb-trail.png:
8483 * doc/images/calendar-popup.png:
8484 * doc/images/caption.png:
8485 * doc/images/code-dialog.png:
8486 * doc/images/color-button.png:
8487 * doc/images/color-chooser-dialog.png:
8488 * doc/images/color-chooser.png:
8489 * doc/images/controlbar.png:
8490 * doc/images/date-editor.png:
8491 * doc/images/font-selection-dialog.png:
8492 * doc/images/get-password-dialog.png:
8493 * doc/images/hvolumebar.png:
8494 * doc/images/login-dialog.png:
8495 * doc/images/note.png:
8496 * doc/images/number-editor.png:
8497 * doc/images/range-editor.png:
8498 * doc/images/seekbar.png:
8499 * doc/images/set-password-dialog.png:
8500 * doc/images/sort-dialog.png:
8501 * doc/images/time-editor.png:
8502 * doc/images/time-picker.png:
8503 * doc/images/vvolumebar.png:
8504 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8505 Adding the bread-crumb-trial and helpers to the documentation.
8507 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * examples/hildon-find-toolbar-example.c:
8510 * src/hildon-find-toolbar.c:
8511 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8512 actually continue firing the other handlers if connected. Adding a new
8514 hildon_find_toolbar_get_last_index that gets the index of the most
8515 recently added (last) item. Fixes: NB#52301.
8517 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8520 behaviour. Fixes: NB#68610.
8522 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8524 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8527 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8530 when realizing the banner. Should make the infonbanner effect a bit more
8533 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8535 * src/hildon-volumebar.c:
8536 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8537 hildon_volumebar_set_range_insensitive_message and
8538 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8540 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8542 * src/hildon-window.c: Fixing the border freeing on destroy.
8544 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * src/hildon-code-dialog-private.h:
8547 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8548 kw keyboard support in HildonCodeDialog.
8550 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8556 * debian/changelog: Updating.
8558 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8560 * src/hildon-date-editor.c:
8561 * src/hildon-number-editor.c:
8562 * src/hildon-private.c:
8563 * src/hildon-private.h:
8564 * src/hildon-time-editor.c:
8565 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8566 handling in subclassed composite widgets. Fixes: NB#66628.
8568 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8570 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8571 from destroy_ callback as it introduces problems in async dbus signal
8572 handlers. Fixes NB#66673.
8574 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * examples/hildon-hvolumebar-example.c:
8577 * src/hildon-volumebar.c: Improving the focus handling in the
8578 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8579 set_property accessor so that "mute" property can be actually set. I'm
8580 scared that nobody noticed it's totally broken.
8582 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8587 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * src/hildon-calendar.c:
8590 * src/hildon-number-editor.c:
8591 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8592 matches the spec of 6 chars per second. Fixes: NB#60489.
8594 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8597 gtk_style_lookup_color sometime returns FALSE even though color was
8598 found and values were filled properly. Weird. Removing the warning for the
8601 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8603 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8604 expand vertically. Adding some extra space to the find toolbar buttons to
8605 make them thumbable. Fixes NB#66060.
8607 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8610 popup with "Ok" and "Cancel". Fixes NB#59299.
8612 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * src/hildon-calendar.c: Process all window updates before executing next
8615 timeout. Fixes: NB#54146.
8617 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8623 * debian/changelog: Updating.
8625 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8627 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8628 the client event and ignore it, since we use the delete event to close
8631 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * src/hildon-helper.c: Remove the bogus warning about color not being
8634 found. Fixes NB#58352.
8636 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * examples/Makefile.am:
8639 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8640 HildonSeekbar widget inside a toolbar.
8642 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8644 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8645 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8646 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8647 don't want to be closed by non-temporary windows on map.
8649 Also use G_DEFINE_TYPE instead of manually typed code.
8651 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * debian/rules: Updating.
8660 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8662 * examples/Makefile.am:
8663 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8664 bug NB#61128. Strangely it works.
8666 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * src/hildon-date-editor.c: When the date editor entry has been changed
8669 but the numbers of characters < max, turn off the skip validation flag.
8670 Prevents a situation when we enter first a valid year and later re-write
8671 it with an invalid one. Fixes NB#60154.
8673 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8675 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8676 code dialog. Fixes NB#64355.
8678 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8680 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8681 switching the page. Fixes NB#49374.
8683 * examples/Makefile.am:
8684 * examples/hildon-wizard-dialog-example.c: Adding an example for
8685 HildonWizardDialog that shows how to handle manual sensitivity setting on
8688 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8692 * src/hildon-version.h.in:
8693 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8695 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8697 * src/hildon-volumebar.c: Updating the docs.
8699 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8705 * debian/changelog: Updating.
8707 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8709 * src/hildon-find-toolbar.c:
8710 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8711 selected item: hildon_find_toolbar_set_active,
8712 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8713 hildon_find_toolbar_get_active_iter . They correspond to respective
8714 GtkComboBox functions.
8716 * examples/Makefile.am:
8717 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8720 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * examples/Makefile.am:
8723 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8726 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8727 when font size > 32 and we pack a focusable widget inside. Actually using
8728 the default response would work too, but since we don't show default
8729 response state in any way (no theming) it would not be visible to the
8730 user. Fixes NB#63430.
8732 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * src/hildon-date-editor.c: Adding the missing variable setter in the
8735 set_property handler. Fixes NB#54182.
8737 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * src/hildon-window.h: Changing the long key press time from 1500ms to
8740 800ms as requested in NB#63700. I have a bad feeling about this, let's
8741 see... Fixes NB#63700.
8743 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8745 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8746 hildon_time_picker_map, hildon_time_picker_realize,
8747 hildon_time_picker_style_set): Split the contents of map to more
8748 appropriate functions; set window decorations on realize and update
8749 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8751 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8756 * debian/changelog: Updating.
8758 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8760 * src/Makefile.am: fixed installation of the header files
8762 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8768 * debian/changelog: Updating.
8770 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8772 * configure.ac: Removing some remaining of --enable-xan.
8774 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8776 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8777 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8779 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8780 2.10.12-osso6 because the move-focus signal needs to be available in
8783 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * examples/Makefile.am:
8786 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8787 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8788 fine. Prolly NB#61128 is fixed now.
8790 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * src/hildon-volumebar.c:
8793 * src/hildon-volumebar.h: Adding the
8794 hildon_volumebar_set_range_insensitive_message and
8795 hildon_volumebar_set_range_insensitive_messagef functions to set
8796 insensitive message on the slider of the volumebar. Fixes NB#61129.
8798 * examples/Makefile.am:
8799 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8800 test the new insensitive messsage functionality on HildonVolumebar.
8802 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8804 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8807 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8809 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8810 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8811 button on after clearing the trail.
8813 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8817 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8819 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8820 by splitting the installed headers in generated and non-generated groups. Use
8821 only the non-generated headers to create the hildon-enum-types.h file.
8823 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8825 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8827 * src/hildon-window.c: Hide the window before performing the destroy.
8828 Should make the app closing a little tiny bit more snappy.
8830 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8832 * src/hildon-seekbar.c: add gtkrange.h header
8833 * src/hildon-caption.c: remove unused variable
8835 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8837 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8840 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8846 * debian/changelog: Updating.
8848 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8850 * src/hildon-window.c (hildon_window_window_state_event,
8851 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8852 escape timeout on focus-out-event rather than notify::is-topmost; the
8853 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8855 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8858 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8860 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8862 * src/hildon-window: actually, you need to use the macro always, there's
8863 no private pointer in the instance structure. We should have cleaned this up
8864 when we had the chance...
8866 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8868 * src/hildon-window.c: do not get the private date from HildonWindow before
8869 it passes the g_return_if_fail check. Once it's passed the test, there's no
8870 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8871 if you are only going to access the data once. Whitespace cleanups.
8873 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8876 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8878 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 * debian/changelog: Updating.
8886 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-window.c: When destroying the window, remove (if exists) the
8889 escape timeout handler. Fixes #NB59276.
8891 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-banner.c: When realizing the widget, set the window
8894 transiency. Setting the transiency in the gobject constructor is not
8895 good, as the widget is not realized at that point. Fixes: #NB56624.
8897 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8899 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8900 Add padding for future expansions.
8902 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8904 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8905 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8906 will fake an activation on the previous to the last item of the trail, so
8907 the effect can be overrided by the developer as usual.
8908 Also change the callback for the back button to do the same thing, so its
8909 effect can be overrided too. Fixes: NB#58982
8911 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8914 HildonCaption. Fixes NB#52379.
8916 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8918 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8919 the internal state of the trail after the user has had the chance of executing
8920 his handler for the signal. Specifically, it may happen that the activated button
8921 is removed and the user still lets the default handler run. This would segfault
8924 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8927 scrollbar to the preview dialog. Fixes NB#54147.
8929 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8932 max/min year properties can be altered, so the client can modify it
8933 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8935 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8938 hildonlike by default. Fixing a problem with disappearing arrows when
8939 scrolling through months and years. Fixes NB#54127.
8941 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * examples/hildon-date-editor-example.c: Adding error callback to the date
8946 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * configure.ac: Updating.
8954 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * configure.ac: Adding a special '--enable-xan' configure option that
8957 turns off the -Werror compilation setting. Usefull for development.
8959 * src/hildon-calendar.c:
8960 * src/hildon-number-editor.c:
8961 * src/hildon-time-picker.c: Adding the 5* multiplier to
8964 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8966 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8967 instead of g_object_ref + gtk_object_sink.
8969 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * debian/changelog: Updating.
8977 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * src/hildon-color-chooser-dialog.c:
8980 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
8981 straight from Tommi labs.
8983 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * examples/hildon-finger-example.c: Correcting the header file path.
8987 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
8988 the changed signal. Fixes a small memory leak.
8990 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-banner.c: Importing several usefull fixes from the
8995 ubuntu-mobile branch.
8997 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * examples/Makefile.am:
9000 * examples/hildon-finger-example.c: Adding a finger-checking code
9003 * src/hildon-font-selection-dialog.c: Do not allocate the color
9004 structure using the g_new. Fixes NB#54061.
9006 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * src/hildon-helper.c: Correcting tabs in file.
9010 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9012 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9013 control the visibility of the children.
9015 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9017 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * debian/changelog: Updating.
9025 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9027 * src/hildon-bread-crumb-trail.c:
9028 (hildon_bread_crumb_trail_size_allocate):
9030 Make the back button always a square.
9032 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9034 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9035 from the .c file as it's a private file.
9037 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9040 uses slightly bigger height.
9042 * src/hildon-font-selection-dialog.c: Adding some checks before
9043 freeing memory in the font selection dialog.
9045 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-font-selection-dialog.c: Adding a small check when
9050 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9051 buttons sensitivity on page switching.
9053 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9055 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9056 internal details of adding a bread crumb to the trail.
9058 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * debian/changelog: Updating.
9066 * src/hildon-bread-crumb-trail.h:
9067 * src/hildon-bread-crumb.h: Changing the API guard to
9068 HILDON_ENABLE_UNSTABLE_API.
9070 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 * src/hildon-helper.h: Updating.
9080 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9092 * src/hildon-helper.h: Small fix to make the package actually compile.
9094 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9096 * src/hildon-bread-crumb-trail.h:
9097 * src/hildon-bread-crumb.h:
9099 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9100 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9102 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9104 * examples/hildon-bread-crumb-trail-example.c:
9106 * src/hildon-bread-crumb-trail.c:
9107 * src/hildon-bread-crumb-trail.h:
9108 * src/hildon-bread-crumb.c:
9109 * src/hildon-bread-crumb.h:
9110 * src/hildon-marshalers.list:
9111 * src/hildon-bread-crumb-widget.c:
9112 * src/hildon-bread-crumb-widget.h:
9114 Slight change in the widget design. The bread crumb trail API is
9115 unchanged, but HildonBreadCrumb is now an interface. A *private*
9116 implementation, hildon-bread-crumb-widget, is provided and used
9117 internally by the trail for the push_text/push_icon functions.
9119 The generic push API is still available, so anyone can implement
9120 and use its own bread crumb widget.
9122 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * debian/rules: Fixing the shlibs.
9126 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * src/hildon-banner.c: Fixing a problem with timed banners having
9129 their parrent destroyed before they are.
9131 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9133 * src/hildon-bread-crumb.c:
9134 * src/hildon-bread-crumb.h:
9136 Make the get_natural_size function a vfunc.
9138 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9140 * src/hildon-bread-crumb.c:
9141 * src/hildon-bread-crumb-trail.c:
9145 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * debian/changelog: Updating for release.
9154 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9156 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9157 don't leak the pango layout.
9159 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9162 * examples/hildon-bread-crumb-trail-example.c:
9166 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * debian/changelog: Removing the bug-fixed entries that were actually
9169 resolved as WONTFIX.
9171 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9174 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9176 * src/hildon-bread-crumb-trail.c:
9177 * src/hildon-bread-crumb-trail.h:
9178 * src/hildon-bread-crumb.c:
9179 * src/hildon-bread-crumb.h:
9183 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9185 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9186 until it's passed the type check.
9188 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9190 * examples/hildon-bread-crumb-trail-example.c
9194 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9196 * examples/Makefile.am
9197 * examples/hildon-bread-crumb-trail-example.c
9199 * src/hildon-bread-crumb-trail.c
9200 * src/hildon-bread-crumb-trail.h
9201 * src/hildon-bread-crumb.c
9202 * src/hildon-bread-crumb.h
9204 New HildonBreadCrumbTrail widget.
9206 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9208 * src/hildon-range-editor.c (hildon_range_editor_init),
9209 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9210 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9211 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9212 hildon_time_editor_class_init, hildon_time_editor_init),
9213 src/hildon-get-password-dialog.c (invalid_input,
9214 hildon_get_password_set_property, hildon_get_password_get_property,
9215 create_contents, hildon_get_password_dialog_set_max_characters),
9216 src/hildon-set-password-dialog.c (create_contents),
9217 src/hildon-date-editor.c (hildon_date_editor_init),
9218 src/hildon-login-dialog.c (hildon_login_dialog_init),
9219 src/hildon-number-editor.c (hildon_number_editor_init),
9220 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9221 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9222 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9223 configure option and adding the respective checks in the code.
9224 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9225 hildon_calendar_drag_data_received): fixed some build warnings.
9227 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9229 * debian/changelog: A 1.0.0 release notes.