1 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
11 * hildon/hildon-note.c: (label_size_request): Take the note
12 padding into account when setting the size request.
14 Fixes: NB#127896 (Information notes text truncated)
16 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
18 * configure.ac: postrelease version bump.
19 * debian/changelog: post release version bump
21 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
26 * configure.ac: Bump version.
27 * debian/changelog: Updates.
29 2009-07-16 Alejandro G. Castro <alex@igalia.com>
31 * hildon/hildon-text-view.c,
32 (hildon_text_view_button_press_event): Grabbed the focus in button
33 press, this way we are sure the widget has the focus in the
34 release event, required for HIM.
36 Fixes: NB#121445 (Virtual keyboard opening is not working in same
37 way for each text entry field)
39 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
41 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
42 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
43 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
44 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
45 (hildon_pannable_area_[gs]et_center_on_child_focus)
46 Redefined GtkContainer set-focus-child signal, in order to center
47 properly on a child when it receives the focus. Defined a new property
48 "center-on-child-focus" in order to activate this feature (deactivated
49 by default). Public get/set methods defined to manage the property.
51 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
53 2009-07-14 László Pere <lpere@blumsoft.eu>
55 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
56 the new size is applied.
58 Fixes: NB#124510 (The Application Menu is distorted when switched
59 between portrait and landscape mode)
60 Fixes: NB#115388 (Power key menu does not resize itself)
62 2009-07-01 Alberto Garcia <agarcia@igalia.com>
64 * hildon/hildon-banner.c (hildon_banner_map):
65 Set banner position after mapping.
67 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: postrelease version bump.
70 * debian/changelog: post release version bump
72 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
77 * configure.ac: Bump version.
78 * debian/changelog: Updates.
80 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
82 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
85 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
87 * tests/check-hildon-banner.c
90 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
91 were testing deprecated functions.
92 * examples/hildon-banner-example.c: typo on button3 type, that causes
93 a fail compiling with --with-examples but without --disable-deprecated
95 Missed commit in order to fix compilation using '--enable-fatal' and
96 '--disable-deprecated' (see previous commit)
98 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
100 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
101 functions with #ifndef HILDON_DISABLE_DEPRECATED
102 * examples/hildon-find-toolbar.c: Protect deprecated
103 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
104 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
105 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
106 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
108 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
109 to allow proper compilation of deprecated functions defined on the header
111 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
113 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
115 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
116 Cache the panning indicator color.,
117 (hildon_pannable_area_style_set): Query the color on style changes.
118 (hildon_pannable_draw_vscroll),
119 (hildon_pannable_draw_hscroll),
120 (hildon_pannable_area_expose_event): Use the cached panning indicator
121 color instead of looking it up on every expose and more.
123 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
125 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
126 (hildon_pannable_draw_hscroll),
127 (hildon_pannable_area_expose_event): Fix the panning indicator color,
128 so that it's "SecondaryTextColor", as desired.
130 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
132 * hildon/hildon-picker-dialog.c:
133 (selection_completed): take into account HILDON_UI_MODE_NORMAL
134 * hildon/hildon-touch-selector.c
135 (hildon_touch_selector_init): Initialize hildon-ui-mode
136 (hildon_touch_selector_row_activated): new callback for the
137 "row-activated" signal, in order to save the last activated
138 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
139 if the current hildon-ui-mode is coherent with the touch selector
140 (hildon_touch_selector_class_init)
141 (hildon_touch_selector_get_property)
142 (hildon_touch_selector_set_property)
143 Added "hildon-ui-mode" property
144 (disconnect_model_handlers): renamed to clean_column
145 (hildon_touch_selector_remove): use clean_column function
146 (_create_new_column): use the hildon-ui-mode to create the treeview, and
147 only select the first element on HILDON_UI_MODE_EDIT
148 (hildon_touch_selector_column_init): Initialize last_activate
149 (hildon_touch_selector_append_column): check that the touch selector
150 is coherent with the current hildon-ui-mode
151 (hildon_touch_selector_get_hildon_ui_mode)
152 (hildon_touch_selector_set_hildon_ui_mode)
153 Added a getter/setter for the hildon-ui-mode property
154 (hildon_touch_selector_get_last_activated_row): Added this method in
155 order to get the last activated row.
156 * examples/hildon-touch-selector-normal-mode-example.c
157 New example, that shows how to use the HildonTouchSelector in
158 HILDON_UI_MODE_NORMAL
160 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
161 Kristian Rietveld <kris@lanedo.com> advices
163 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
165 * hildon/hildon-time-selector.c: (update_format_policy): Do
166 not call update_format_dependant_columns() if not necessary.
167 (update_format_dependant_columns): Remove unnecessary check for
168 the number of columns.
170 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
172 * hildon/hildon-note.c (+hildon_note_constructor),
173 (hildon_note_class_init), (+hildon_note_set_padding),
174 (hildon_note_rebuild): Install a constructor where to set the
175 padding properties in the note, so that it actually works fine.
176 Use hildon_note_set_padding() for this, and also to set it during
179 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
181 * configure.ac: Bump GTK+ requirement to 2.14.3.
182 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
183 when using maemo-gtk to define proper margins for the notes.
185 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
186 with the dialog edge)
188 2009-06-24 Alberto Garcia <agarcia@igalia.com>
190 * hildon/hildon-banner.c
191 (hildon_banner_class_init):
193 (+hildon_banner_size_request):
194 Request always the full width of the screen.
195 (hildon_banner_realize)
196 (-hildon_banner_check_position, hildon_banner_map):
197 hildon_banner_check_position() is not needed in Hildon 2.2.
198 (-hildon_banner_reset_wrap_state)
199 (hildon_banner_constructor, hildon_banner_init):
200 Remove unnecessary calls to hildon_banner_reset_wrap_state()
201 (+banner_do_set_text)
202 (force_to_wrap_truncated):
203 Remove has_been_wrapped and has_been_truncated attributes.
204 (+reshow_banner, hildon_banner_real_show_information)
205 (hildon_banner_show_information_with_markup)
206 (hildon_banner_show_animation, hildon_banner_show_progress)
207 (hildon_banner_set_text, hildon_banner_set_markup):
208 Refactor code. Shrink banner vertically to use the minimum space
209 necessary everytime the text of the label is updated.
210 (screen_size_changed):
211 Call force_to_wrap_truncated() when the size of the screen
214 Fixes: NB#120500 (only device memory connect mmc in use info
215 banner is left aligned)
217 Fixes: NB#120613 (Size of HildonBanner varies depending on
218 previously opened banners)
220 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
222 * hildon/hildon-color-chooser.c
223 (hildon_color_chooser_pointer_motion): Take the widget allocation
226 Fixes: NB#124385 (Unable to select exact point in color mixing box
227 in color palette dialog)
229 2009-06-23 Alejandro G. Castro <alex@igalia.com>
231 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
232 (hildon_pannable_area_dispose)
233 (hildon_pannable_area_button_press_cb)
234 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
235 (hildon_pannable_area_button_release_cb)
236 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
237 New 'panning-started' and 'panning-finished' signals.
239 Fixes: NB#121732 (New feature request: Signal to pannable area
240 that informs when panning is stopped.)
242 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
244 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
245 instead of hardcoded colon.
247 Fixes: NB#124090 (New calendar wizard title is not using
248 ecdg_ti_caption_separator)
250 2009-06-22 David King <davidk@openismus.com>
252 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
253 constants and functions, as well as correct many typos throughout the
256 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
259 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
261 * configure.ac: postrelease version bump.
262 * debian/changelog: post release version bump
264 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
269 * configure.ac: Bump version.
270 * debian/changelog: Updates.
272 2009-06-18 Alberto Garcia <agarcia@igalia.com>
274 * hildon/hildon-window-stack.c
275 (hildon_window_stack_pop_and_push_list):
276 Prevent windows from having the same stack index
278 2009-06-18 Alberto Garcia <agarcia@igalia.com>
280 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
281 Use the index of the previous window rather than the stack length
282 to calculate the new index.
286 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
288 * hildon/hildon-date-selector.c
289 (hildon_date_selector_select_current_date)
290 (hildon_date_selector_get_date)
291 (hildon_date_selector_select_day):
292 Update the documentation: uses always the range (1-31), as it is obvious
293 that the final one will depend on the month and the year, but globally
294 the range is this, in a similar GtkCalendar approach
295 (hildon_date_selector_get_date):
296 Update the documentation: add NULL as a valid value for the day, month
299 Fix some details, after talk with David King on bug MB#4698
301 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
303 * hildon/hildon-touch-selector-entry.c
304 * hildon/hildon-touch-selector.c
305 Update the documentation of the "text-column" property
307 2009-06-18 David King <davidk@openismus.com>
309 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
310 several typos and errors throughout the documentation.
312 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
315 2009-06-18 Alberto Garcia <agarcia@igalia.com>
317 * hildon/hildon-note.c (hildon_note_realize):
318 Make HildonNote support portrait mode.
320 Fixes: NB#123448 (HildonNote is not portrait-friendly)
322 2009-06-17 Alberto Garcia <agarcia@igalia.com>
324 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
325 Document this function
327 2009-06-17 David King <davidk@openismus.com>
329 * hildon/hildon-date-selector.c
330 (hildon_date_selector_select_current_date)
331 (hildon_date_selector_get_date): Update documentation regarding days,
332 as the day of the month is dependent on both the month and the year.
333 (hildon_date_selector_get_date): Fix documentation of output arguments.
335 Fixes: MB#4698 (DateSelector documentation has bad output argument
336 description, and the day depends on both the month and the year)
338 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
340 * hildon/hildon-caption.c: Other documentation fixes to
343 2009-06-17 David King <davidk@openismus.com>
345 * hildon/hildon-caption.c: Minor documentation updates for
346 HildonCaption. Fixes MB#4697.
348 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
350 * doc/hildon-docs.sgml: Add hildon-version section.
351 * doc/hildon-sections.txt:
352 * hildon/hildon-version.h.in: Document versioning macros and
355 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
357 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
358 from HildonPickerDialog section.
360 2009-06-16 Alberto Garcia <agarcia@igalia.com>
362 * hildon/hildon-banner.c (hildon_banner_bind_style)
363 (screen_size_changed, hildon_banner_init)
364 (hildon_banner_real_show_information)
365 (hildon_banner_show_information_with_markup)
366 (hildon_banner_show_animation, hildon_banner_show_progress):
367 Set a different widget name to banners in portrait mode, for them
368 to be themed correctly.
370 2009-06-16 Alberto Garcia <agarcia@igalia.com>
372 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
373 Set a different widget name to notes in portrait mode, for them to
376 Partially fixes: NB#118401 (HildonNote causes unnecessary
379 2009-06-16 Alberto Garcia <agarcia@igalia.com>
381 * hildon/hildon-note.c (hildon_note_class_init)
382 (+hildon_note_size_request, screen_size_changed):
383 Always request the full width of the screen.
385 Fixes: NB#118375 (unnecessary rescaling of images)
387 2009-06-16 Alejandro G. Castro <alex@igalia.com>
389 * hildon/hildon-pannable-area.c,
390 (hildon_pannable_area_init),
391 (hildon_pannable_area_realize): Replaced old code adding flags in
392 the object init, now we add it with the other flags in the realize
395 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
397 * hildon/hildon-note.c: (hildon_note_class_init): Several
398 documentation improvements to the HildonNote widget.
400 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
402 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
404 Fixes: MB#4556 (HildonNoteType is undocumented)
406 2009-06-15 Alberto Garcia <agarcia@igalia.com>
408 * hildon/hildon-picker-button.c:
409 Explain how HildonPickerButton sets the title of its dialog
411 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
412 the title of its dialog)
414 2009-06-15 Alberto Garcia <agarcia@igalia.com>
416 * hildon/hildon-check-button.c:
417 Documentation updates
419 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
422 2009-06-15 Alberto Garcia <agarcia@igalia.com>
425 * hildon/hildon-edit-toolbar-private.h
426 * hildon/hildon-edit-toolbar.c
427 (+hildon_edit_toolbar_set_progress_indicator)
428 (hildon_edit_toolbar_init): Add progress indicator to the
431 * hildon/hildon-gtk.c
432 (hildon_gtk_window_set_progress_indicator):
433 If the window contains a HildonEditToolbar, enable the progress
436 * hildon/hildon-private.h
437 * hildon/hildon-private.c
438 (+hildon_private_create_animation)
439 * hildon/hildon-banner.c
440 (-hildon_banner_create_animation):
441 Moved to hildon-private.c
443 Fixes: NB#102373 (Progress indicator also for the Edit mode
446 2009-06-15 Alberto Garcia <agarcia@igalia.com>
448 * hildon/hildon-app-menu-private.h
449 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
450 (hildon_app_menu_add_filter, +menu_item_button_event)
451 (hildon_app_menu_button_release, hildon_app_menu_init):
452 Make sure that buttons receive 'button-release-event' in spite of
453 the grab held by HildonAppMenu
455 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
457 2009-06-15 Alberto Garcia <agarcia@igalia.com>
459 * hildon/hildon-app-menu.c
460 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
461 New style property to set the size of the group of filter buttons.
463 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
465 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
470 * configure.ac: Bump version.
471 * debian/changelog: Updates.
473 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-main.c: Minor documentation fixes.
477 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
479 * doc/hildon-sections.txt:
480 * hildon/hildon-defines.h: Document the defines, organize them,
481 and mark deprecations as such.
483 Fixes: MB#4463 (Hildon size #defines are undocumented)
485 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
487 * hildon/hildon-animation-actor.c:
488 * hildon/hildon-app-menu.c:
489 * hildon/hildon-button.c:
490 * hildon/hildon-date-editor.c:
491 * hildon/hildon-dialog.c:
492 * hildon/hildon-edit-toolbar.c:
493 * hildon/hildon-entry.c:
494 * hildon/hildon-program.c:
495 * hildon/hildon-remote-texture.c:
496 * hildon/hildon-stackable-window.c:
497 * hildon/hildon-text-view.c:
498 * hildon/hildon-touch-selector.c:
499 * hildon/hildon-window-stack.c:
500 * hildon/hildon-window.c:
502 Remove redundant "represents" wording from most of the documentation.
504 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
506 2009-06-12 Alberto Garcia <agarcia@igalia.com>
511 * hildon/hildon-banner-private.h
512 * hildon/hildon-banner.c:
513 Move HildonBannerPrivate to hildon-banner.c and remove
514 hildon-banner-private.h
515 Use a bit field to store private booleans.
517 2009-06-12 Alberto Garcia <agarcia@igalia.com>
519 * hildon/hildon-app-menu.c (hildon_app_menu_map):
520 Don't install a new idle function if there's already one
525 2009-06-11 Alberto Garcia <agarcia@igalia.com>
527 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
528 (+legacy_menu_realized, +legacy_menu_unmapped)
529 (+set_legacy_menu_type):
530 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
531 they can be identified by the window manager.
533 Fixes: NB#101437 (Invoking CSM on the left side of page area is
534 displayed in wrong location)
536 Fixes: MB#4563 (Popup menu won't locate at the left side of the
539 2009-06-11 Alberto Garcia <agarcia@igalia.com>
541 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
543 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
546 2009-06-11 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-code-dialog.c
549 * hildon/hildon-date-editor.c
550 * hildon/hildon-number-editor.c
551 * hildon/hildon-seekbar.c
552 * hildon/hildon-stackable-window.c
553 * hildon/hildon-window.c:
554 Misc documentation updates
556 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
558 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
559 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
561 Fixes: NB#117931 (Theming issues in accounts dialogs)
563 2009-06-09 Alejandro G. Castro <alex@igalia.com>
565 * hildon/hildon-pannable-area.c,
566 (hildon_pannable_area_button_release_cb): Changed the coordinates
567 of the original release in case we want to discard the release,
568 some widgets in Fremantle do not handle the leave-notify.
570 2009-06-09 Alejandro G. Castro <alex@igalia.com>
572 * hildon/hildon-pannable-area.c,
573 (hildon_pannable_area_button_release_cb): Reviewed the logic of
574 the release using the last refactored functions and avoiding the
575 movement if an element was selected.
577 2009-06-09 Alejandro G. Castro <alex@igalia.com>
579 * hildon/hildon-pannable-area.c,
580 (hildon_pannable_area_check_move),
581 (hildon_pannable_area_handle_move),
582 (hildon_pannable_area_motion_notify_cb): Refactored the
583 motion_notify method using a couple of new functions.
585 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
587 * hildon/hildon-date-selector.c:
588 (hildon_date_selector_construct_ui):
589 * hildon/hildon-time-selector.c:
590 (hildon_time_selector_constructor):
591 * hildon/hildon-touch-selector-entry.c:
592 (hildon_touch_selector_entry_set_text_column),
593 (hildon_touch_selector_entry_get_text_column):
594 * hildon/hildon-touch-selector.c: (_default_print_func),
595 (hildon_touch_selector_new_text): Use
596 hildon_touch_selector_set/get_text_column() instead of
597 setting/getting the "text-column" property.
599 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
601 * doc/hildon-sections.txt: Add the new public methods below.
603 * examples/hildon-picker-button-multicolumn-example.c:
604 (create_touch_selector):
605 * examples/hildon-touch-selector-example.c: (create_selector):
606 * examples/hildon-touch-selector-multi-cells-example.c:
608 Use hildon_touch_selector_column_set_text_column()
610 * hildon/hildon-touch-selector-column.h:
611 * hildon/hildon-touch-selector.c:
612 (hildon_touch_selector_column_set_text_column),
613 (hildon_touch_selector_column_get_text_column):
614 Make hildon_touch_selector_column_set/get_column() public, use
615 them in the inline example, document them, and reference to them
618 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
620 * hildon/hildon-time-selector.c: Fix the docs for
621 hildon_time_selector_new_step().
623 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-touch-selector.c: Improve the documentation for
626 hildon_touch_selector_append_column().
628 Fixes MB#4641 (Documentation:
629 hildon_touch_selector_append_column() ref-counting)
631 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
633 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
634 Comment out test 5, since the hildon_controlbar_set_range() range
635 check is broken and fixing it would have side effects. Also,
636 this finally fixes make distcheck.
638 Fixes: NB#101420 (Update unit tests and fix make distcheck)
640 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
642 * tests/TEST-CASES.txt: Remove other bogus test.
643 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
644 Remove bogus test that was setting/retrieving a valid value.
646 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
648 * tests/TEST-CASES.txt: Remove bogus tests.
649 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
650 Remove three bogus tests that were actually setting valid colors.
652 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: post release version bump
655 * debian/changelog: post release version bump
657 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
662 * configure.ac: Bump version.
663 * debian/changelog: Updates.
665 2009-06-08 Christian Dywan <christian@lanedo.com>
669 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
670 Correct errors in hildon_format_file-size_for_display and use
671 translations from the hildon-fm package instead of osso-filemanager.
673 2009-06-08 Alejandro G. Castro <alex@igalia.com>
675 * hildon/hildon-pannable-area.c,
676 (hildon_pannable_area_init): Initialized new values to handle the
678 (hildon_pannable_area_adjust_value_changed): Check if the values
679 changed before even call the redraw function.
680 (hildon_pannable_area_size_allocate),
681 (hildon_pannable_axis_scroll),
682 (hildon_pannable_area_scroll),
683 (hildon_pannable_area_jump_to): Improved the diagonal movement
686 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
689 2009-06-08 Alberto Garcia <agarcia@igalia.com>
691 * examples/hildon-banner-example.c:
692 Several style updates
693 (on_animation_clicked, on_animation_idle)
694 (on_progress_clicked, on_progress_idle):
695 Add additional reference for the cases when the parent window is
698 2009-06-08 Alberto Garcia <agarcia@igalia.com>
700 * doc/hildon-sections.txt
701 * hildon/hildon-pannable-area.c
702 * hildon/hildon-banner.h
703 * hildon/hildon-banner.c: Documentation updates.
705 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
708 2009-06-05 Alejandro G. Castro <alex@igalia.com>
710 * hildon/hildon-calendar-popup.h:
711 * hildon/hildon-caption.h:
712 * hildon/hildon-code-dialog.h:
713 * hildon/hildon-controlbar.h:
714 * hildon/hildon-date-editor.h:
715 * hildon/hildon-dialog.h:
716 * hildon/hildon-get-password-dialog.h:
717 * hildon/hildon-hvolumebar.h:
718 * hildon/hildon-login-dialog.h:
719 * hildon/hildon-note.h:
720 * hildon/hildon-number-editor.h:
721 * hildon/hildon-range-editor.h:
722 * hildon/hildon-seekbar.h:
723 * hildon/hildon-set-password-dialog.h:
724 * hildon/hildon-sort-dialog.h:
725 * hildon/hildon-time-editor.h:
726 * hildon/hildon-time-picker.h:
727 * hildon/hildon-volumebar-range.h:
728 * hildon/hildon-volumebar.h:
729 * hildon/hildon-vvolumebar.h:
730 * hildon/hildon-weekday-picker.h:
731 * hildon/hildon-window.h:
732 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
733 macros with the current replacements
735 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
737 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
739 * hildon/hildon-color-button.c (hildon_color_button_init): Use
740 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
741 itself, to make it fit better with Fremantle style.
743 Fixes: NB#109878 (height and width of focus on color icon is not
744 consistent with other item in the application tool bar)
746 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
748 * hildon/hildon-touch-selector.c:
749 (hildon_touch_selector_optimal_size_request): use the current requisition
750 as the base, in order to include any possible extra widget, like the
751 hildon entry on HildonTouchSelectorEntry
753 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
755 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
757 * configure.ac: post release version bump
758 * debian/changelog: post release version bump
760 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
765 * configure.ac: Bump version.
766 * debian/changelog: Updates.
768 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
770 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
772 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
773 to ensure the banner contents are centered, instead of relying on
774 the expand and fill properties in GtkHBox.
775 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
777 Fixes: NB#108265 (Animation banner not properly centered)
779 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
781 * hildon/hildon-pannable-area.c
782 (hildon_pannable_area_initial_effect): Remove the initial_effect
783 management, check initial_hint
784 (hildon_pannable_are_expose_event): Remove the initial_hint management,
785 set initial_effect to FALSE
786 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
787 by launching the fade_timeout if the scrollbars state has changed and are
789 * examples/hildon-pannable-area-initial-hint-example.c
790 Modified to allow to remove rows too. Add and remove rows one by one.
792 2009-05-28 Alberto Garcia <agarcia@igalia.com>
794 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
795 Don't close the menu if there's an animation actor below it.
797 Fixes: NB#117927 (Application menu not usable with animation
800 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
802 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
803 "focus-on-click" from the dialog button, to avoid stealing the
804 focus from the entry.
806 Fixes: NB#118903 (Account setup wizard: Text in Search field
807 should be focused when "Region" touch list picker is reopened
810 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
812 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
813 (prepare_action_area): Completely hide the dialog separator.
815 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
817 * hildon/hildon-touch-selector-entry.c
818 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
819 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
820 now that the entry is exposed.
822 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
824 * hildon/hildon-touch-selector-entry.c
825 (hildon_touch_selector_entry_init): Change the entry's size
826 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
828 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
830 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
831 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
832 avoid unnecessary scaling.
834 2009-05-27 Alberto Garcia <agarcia@igalia.com>
836 * hildon/hildon-app-menu.c (hildon_app_menu_map):
837 Create grab transfer window before calling parent's map function.
839 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
840 "crushed" button(s) in the top left corner)
842 2009-05-26 Alberto Garcia <agarcia@igalia.com>
844 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
845 Check if the window is already realized when pushing it.
847 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
849 * configure.ac: post release version bump
850 * debian/changelog: post release version bump
852 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
857 * configure.ac: Bump version.
858 * debian/changelog: Updates.
860 2009-05-25 Alberto Garcia <agarcia@igalia.com>
862 * hildon/hildon-app-menu.c: Doc updates.
864 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
866 * hildon/hildon-banner.c: Remove leftover macro.
868 2009-05-25 Alejandro G. Castro <alex@igalia.com>
870 * hildon/hildon-pannable-area.c,
871 (hildon_pannable_area_scroll_indicator_fade),
872 (hildon_pannable_area_button_release_cb): Reviewed vmin
873 conditions, it could cause problems in the fadeout procedure.
875 2009-05-25 Alejandro G. Castro <alex@igalia.com>
877 * hildon/hildon-pannable-area.c
878 (hildon_pannable_area_button_release_cb): Added a threshold to
879 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
881 2009-05-25 Alejandro G. Castro <alex@igalia.com>
883 * hildon/hildon-pannable-area.c,
884 (hildon_pannable_area_set_property): Added code to sync the gtk
885 dnd threshold with the panning threshold.
887 2009-05-25 Alejandro G. Castro <alex@igalia.com>
889 * hildon/hildon-pannable-area.c,
890 (hildon_pannable_area_class_init): Changed some of the default
891 values, now it should be less responsive and more accurate.
893 2009-05-25 Alejandro G. Castro <alex@igalia.com>
895 * hildon/hildon-pannable-area.c,
896 (hildon_pannable_area_init),
897 (hildon_pannable_area_scroll_indicator_fade),
898 (hildon_pannable_area_button_press_cb),
899 (hildon_pannable_axis_scroll),
900 (hildon_pannable_area_timeout),
901 (hildon_pannable_area_motion_notify_cb),
902 (hildon_pannable_area_button_release_cb): Changed the name of the
903 clicked attribute to button_pressed, it is more clear about its use.
905 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
907 * src/hildon-pannable-area.c
908 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
910 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
911 vertical scrollbar visibility, and use the data on private section instead,
912 remove the initial_hint check
913 (hildon_pannable_area_expose_event): add the initial_hint check here
915 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
917 * src/hildon-pannable-area.c
918 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
919 if the fadeout effect was used
920 (hildon_pannable_area_expose_event): check if it is required to
921 manage the initial effect on the begining of the function. Previously
922 it was made at the end, but this doesn't ensure that the scrollbars
923 will be painted on the first show. Do not set to FALSE initial_effect,
924 to ensure that the initial hint is showed the first time the pannable
926 * examples/Makefile.am
927 * examples/hildon-pannable-area-initial-hint-example.c:
928 New example, to show that the initial-hint is showed when the widget
931 Fixes: NB#116607 (Pannable area should always have scrollbar visible
932 initially if the application can be scrolled)
934 2009-05-25 Alberto Garcia <agarcia@igalia.com>
936 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
937 Resize table before adding new items to make sure that
938 gtk_table_resize() is called just once.
940 2009-05-25 Alberto Garcia <agarcia@igalia.com>
942 * hildon/hildon-app-menu-private.h
943 * hildon/hildon-app-menu.c (item_visibility_changed)
944 (filter_visibility_changed, hildon_app_menu_show_all)
945 (hildon_app_menu_hide_all, hildon_app_menu_init):
946 Rearrange items just once when gtk_widget_show_all()/hide_all()
949 2009-05-25 Alberto Garcia <agarcia@igalia.com>
951 * hildon/hildon-app-menu.c
952 (hildon_app_menu_insert, hildon_app_menu_add_filter):
953 Don't call gtk_widget_show() on added items.
955 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
956 automatically when they're added)
958 2009-05-20 Alberto Garcia <agarcia@igalia.com>
960 * hildon/hildon-banner.c
961 (hildon_banner_realize, +hildon_banner_unrealize)
962 (+screen_size_changed, hildon_banner_class_init):
963 Redisplay the banner if the screen is rotated.
965 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
966 on transition from landscape to portrait)
968 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
970 * hildon/hildon-banner.[ch]:
971 (hildon_banner_show_information_override_dnd): remove icon_name from the
972 method definition as it is ignored.
973 * examples/hildon-banner-dnd-example.c: updated with the change on
976 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
978 * hildon/hildon-banner-private.h: new require_override_dnd and
979 overrides_dnd variables
980 * hildon/hildon-banner.h:
981 (hildon_banner_show_information_override_dnd): new method, that shows
982 the information but sets the override flag, in order to show important
984 * hildon/hildon-banner.c
985 (hildon_banner_show_information_override_dnd): new method
986 (hildon_banner_set_override_flag): new utility function
987 (hildon_banner_real_show_information): new utility function, in order to
988 generalize the current hildon_banner_show_information_override_dnd and
989 hildon_banner_show_information_override_dnd
990 * examples/Makefile.am
991 * examples/hildon-banner-dnd-example.c: New example that show how to
992 use the new hildon_banner_show_information_override_dnd
994 Fixes: NB#114874 (There is no possibility to show hildon banners with
997 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
999 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1000 behind hildon_pannable_calculate_vel_factor().
1002 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1004 * hildon/hildon-pannable-area.c
1005 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1006 deceleration factors.
1008 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1010 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1011 Reduce the default value for 'scroll_time' to 1 second, since the
1012 current initial scrolling takes too much time.
1014 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1016 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1017 calculate velocity factor during initialization, since the properties
1020 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1022 * hildon/hildon-pannable-area.c
1023 (hildon_pannable_area_set_property): Calculate the velocity factor
1024 after setting the deceleration property and not after.
1026 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1028 * hildon/hildon-entry.c
1029 (hildon_entry_class_init, +set_property, hildon_entry_new)
1030 * hildon/hildon-check-button.c
1031 (hildon_check_button_class_init)
1032 (+set_property, hildon_check_button_new):
1033 Make the theme size a property.
1035 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1036 others) do too much in the _new function)
1038 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1040 * configure.ac: post release version bump
1041 * debian/changelog: post release version bump
1043 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1048 * configure.ac: Bump version.
1049 * debian/changelog: Updates.
1051 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1053 * hildon/hildon-gtk.h
1054 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1055 New API function to take a screenshot of a window
1057 Fixes: NB#106374 (Need API to take a loading screenshot)
1059 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * hildon/hildon-time-selector.c
1062 (update_format_policy): prevent to use hours and minutes unitialized
1064 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1066 * hildon/hildon-window.c (hildon_window_size_request):
1067 Always request the full size of the screen (minus the title bar if
1068 not in fullscreen mode).
1070 Fixes: NB#107486 (HildonWindow should size itself properly)
1072 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1074 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1075 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1076 (on_show_cb), (sound_handling): Disconnect the idle handler for
1077 the sound when the note is finalized to avoid possible crashes.
1079 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1082 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1084 * src/hildon-animation-actor.c,
1085 * src/hildon-remote-texture.c:
1086 Added proper object cleanup to remove signal handler and object
1087 references as HildonAnimationActor and HildonRemoteTexture
1088 objects get destroyed.
1090 Fixes: NB#116682 (Destroying parented animation actors when
1091 parent in unmapped leads to crash)
1093 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1095 Based on a patch by Christian Dywan (christian@imendio.com)
1097 * doc/hildon-sections.txt:
1098 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1099 * hildon/hildon-helper.h: New file size formatting method.
1101 * debian/control: Depend on osso-filemanager l10n package for
1102 proper localization strings.
1104 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1106 * tests/Makefile.am: Include top_srcdir to make possible to build
1107 tests in a different builddir.
1108 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1109 on a different builddir.
1111 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1113 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1114 (hildon_touch_selector_remove): Disconnect model's signal handler
1117 Fixes: NB#116289 (Hildon home crashes while adding task
1120 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1122 * hildon/hildon-button.c
1123 (hildon_button_set_title, hildon_button_set_value):
1124 Hide labels containing an empty string.
1126 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1128 * configure.ac: post release version bump
1129 * debian/changelog: post release version bump
1131 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1136 * configure.ac: Bump version.
1137 * debian/changelog: Updates.
1139 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1141 * hildon/hildon-note-private.h: Removed sound_signal_handler
1142 * hildon/hildon-note.c
1143 (on_show_cb): new callback on note "show" event, this simply adds
1144 a idle, with the function sound_handling
1145 (sound_handling): removed the sound_signal_handler management
1146 (hildon_note_init): connect note "show" event to on_show_cb
1147 (hildon_note_realize): remove the connection to "expose-event"
1149 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1150 device?' confirmation note)
1152 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1154 * hildon/hildon-note.c
1155 (hildon_note_new_information_with_icon_name)
1156 (hildon_note_new_confirmation_with_icon_name):
1157 Terminate the list of parameters in g_object_set() calls
1159 Fixes: NB#115166 (Formatting memory card is not taking place)
1161 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1163 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1164 "dialog-information" role for the sound being played.
1166 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1168 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1169 Don't make the menu a modal window, it causes strange interactions
1170 with the pointer grab and it's not really needed.
1172 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1174 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1176 * hildon/hildon-touch-selector.[ch]
1177 (hildon_touch_selector_optimal_size_request): function added to get a
1178 optimal size request from the touch selector, when you want a dialog to
1179 show as much of the selector
1180 * hildon/hildon-picker-dialog.c:
1181 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1182 (hildon_app_menu_class_init):
1183 New "max-height-landscape" and "max-height-portrait" style properties
1184 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1185 (hildon_picker_dialog_get_max_height): returns the maximum height using
1186 the style properties defined and checking the current portrait/landscape
1188 (_hildon_picker_dialog_set_selector): removed the set_size_request
1190 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1192 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1194 * hildon/hildon-bread-crumb-trail.c:
1195 * hildon/hildon-bread-crumb.c:
1196 * hildon/hildon-seekbar.c:
1197 Add reference to replacements for these deprecated widgets.
1199 Fixes: MB#4461 (Documentation: All deprecations should mention
1202 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1204 * examples/hildon-remote-texture-example.c
1206 Change the include to the hildon-remote-texture in order to compile
1207 properly the examples on the installed libhildon1-examples package
1209 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1211 * tests/Makefile.am: Add check for HildonPickerButton.
1212 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1213 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1214 checks for the HildonPickerButton.
1215 * tests/check_test.c (configure_tests): Add the test suite.
1216 * tests/test_suites.h: likewise.
1218 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1220 * hildon/hildon-touch-selector.c
1221 (+on_row_changed): Emit HildonTouchSelector:changed when the
1222 contents of a selected row change.
1223 (_create_new_column), (_hildon_touch_selector_set_model): connect
1224 to GtkTreeModel:row-changed on a newly set model.
1226 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1228 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1230 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1232 * hildon/hildon-banner.c (hildon_banner_destroy)
1233 (hildon_banner_show_progress, hildon_banner_set_fraction):
1234 Remove the progress bar from HildonBanner and use a progress
1237 Fixes: NB#113761 (Update progress banner to use progress
1240 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1242 * hildon/hildon-banner.c:
1243 Calculate size of the banner label using the actual screen width
1244 rather than using a fixed value.
1246 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1249 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1251 * hildon/hildon-pannable-area.c,
1252 (hildon_pannable_area_class_init): Fixed signals documentation
1255 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: post release version bump
1258 * debian/changelog: post release version bump
1260 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1265 * configure.ac: Bump version.
1266 * debian/changelog: Updates.
1268 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1270 * hildon/hildon-edit-toolbar.c
1271 (hildon_edit_toolbar_init):
1272 Don't let buttons in HildonEditToolbar receive focus.
1274 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1275 typing on an HW arrows key)
1277 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1279 * doc/Makefile.am: Fix build.
1281 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1283 * doc/Makefile.am: Do not redefine content_files.
1285 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1293 Renamed src/ to hildon/
1298 Include <hildon/hildon.h> directly in all examples.
1300 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1302 * src/hildon-sort-dialog.c
1303 (hildon_sort_dialog_add_sort_key_with_sorting)
1307 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1309 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1310 make distcheck passes.
1312 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1314 * Makefile.am: Enable gtk-doc during distcheck.
1316 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1318 * Makefile.am: Do not distribute the debian/ directory.
1320 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1322 * doc/Makefile.am: Add the extra SGML files to content_files,
1323 so that they are distributed properly.
1325 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1327 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1330 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1332 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1333 (hildon_note_new_information_with_icon_name): Set the "icon" property
1334 to preserve soundness.
1336 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1338 * src/hildon-font-selection-dialog.c
1339 (hildon_font_selection_dialog_set_property): Fail when the "family"
1340 property is set to NULL.
1342 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1344 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1347 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1349 * src/hildon-time-selector.h:
1350 Added HildonTimeSelectorFormatPolicy
1351 * src/hildon-time-selector.c:
1352 Added PROP_TIME_FORMAT_POLICY
1353 (_check_ampm_format): renamed to check_automatic_ampm_format
1354 (update_format_policy), (update_format_dependant_columns): new functions
1355 (hildon_time_selector_class_init)
1356 (hildon_time_selector_contructor)
1357 (hildon_time_selector_init)
1358 (hildon_time_selector_get_property)
1359 (hildon_time_selector_set_property)
1360 (hildon_time_selector_get_time)
1361 (hildon_time_selector_set_time)
1362 * src/hildon-touch-selector.h: new file
1363 * src/hildon-touch-selector.c
1364 (hildon_touch_selector_emit_changed)
1365 (hildon_touch_selector_block_changed)
1366 (hildon_touch_selector_unblock_changed)
1367 Added functions to allow to block the emission of the "changed" signal
1368 * src/hildon-picker-dialog.c
1369 (hildon_picker_dialog_show): call the parent show before the custom code
1370 * examples/hildon-time-button-example.c
1371 Modified, so now you can configure the time format using the new property
1373 Added a new property "time-format-policy" that allow to choose the time
1374 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1375 case it uses gconf in order to check if the time selector must use
1378 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1381 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1383 * src/hildon-note.c (hildon_note_init):
1384 Label in HildonNote must be left aligned, not centered. This
1385 reverts the last commit in HildonNote.
1387 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1388 is connectivity dialog)
1390 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1395 * doc/hildon-sections.txt:
1396 Added hildon_gtk_window_set_do_not_disturb()
1398 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1400 * src/hildon-note.c (hildon_note_init): Center label.
1402 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1405 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1410 * configure.ac: Bump version.
1411 * debian/changelog: Updates.
1413 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1415 * src/hildon-note-private.h: Add button-width to the private data.
1416 * src/hildon-note.c (+resize_button),
1417 (+hildon_note_orientation_update): methods to repack widgets on orientation
1419 (screen_size_changed): Call above method for confirmation notes.
1420 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1421 (hildon_note_rebuild): Store the original width request from buttons.
1423 Fixes: NB#109635 (Confirmation notes do not support portrait)
1425 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1428 when it is a progress note.
1430 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1432 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1433 in the note, since there are no horizontally arranged contents.
1435 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1437 * src/hildon-gtk.c (+set_flag): new generic method to
1438 set/delay a flag setting in a window.
1439 (hildon_gtk_window_set_progress_indicator):
1440 (hildon_gtk_window_set_do_not_disturb),
1441 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1442 avoid code redundance.
1444 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1446 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1448 * src/hildon-gtk.c (set_clear_window_flag),
1449 (do_set_progress_indicator), (do_set_do_not_disturb),
1450 (do_set_portrait_flags),
1451 (hildon_gtk_window_set_progress_indicator),
1452 (hildon_gtk_window_set_do_not_disturb),
1453 (hildon_gtk_window_set_portrait_flags):
1454 Allow setting dnd-flag, progress indicator, and portrait flags
1455 when the window is not realized.
1457 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1459 * src/hildon-pannable-area.c,
1460 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1461 the size request policy function and defines.
1463 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1465 * doc/hildon-sections.txt: Add the new API.
1466 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1467 method to set the portrait flags.
1468 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1470 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1472 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1474 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1475 to allow using this method with other flags.
1476 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1477 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1479 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-touch-selector.c
1482 (hildon_touch_selector_append_text_column):
1483 Make the cell renderer use the smallest width possible.
1485 Fixes: NB#108470 (Selected items in multiple selection are either
1486 having a tick that is cut or not visible at all.)
1488 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1490 * src/hildon-touch-selector.c
1491 (hildon_touch_selector_append_text_column):
1494 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1496 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1497 Use g_strdup_printf() instead of a fixed size buffer.
1499 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1501 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1502 Close banners when a HildonAppMenu is popped up.
1504 Fixes: NB#111027 (Title menu closed immediately if activated when
1505 "Invalid e-mail address" banner is shown)
1507 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1512 * configure.ac: Bump version.
1513 * debian/changelog: Updates.
1515 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1517 * src/hildon-banner.c (hildon_banner_realize):
1518 Mark HildonBanner as supporting portrait mode.
1519 Use GDK to set window properties insetad of direct Xlib calls.
1521 Fixes: NB#111830 (HildonBanner should be marked as supporting
1524 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-note.c (hildon_note_rebuild):
1527 Hide action area in information notes. Prevents text from being
1528 slightly aligned to the left.
1530 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1533 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1535 Patch by Mox Soini (ext-mox.soini@nokia.com)
1537 * src/hildon-banner.c (hildon_banner_create_animation):
1538 Use stylus-sized icons in animation banner.
1540 Fixes: NB#111206 (stylus sized icon for animation banner)
1542 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1546 (+hildon_gtk_window_set_do_not_disturb):
1547 New API to set the do-not-disturb flag.
1549 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1551 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1553 * examples/hildon-progress-indicator-example.c: Fix example
1555 * src/hildon-gtk.c (set_clear_window_flag)
1556 (hildon_gtk_window_set_progress_indicator):
1557 Create a generic function for setting flags to a window.
1558 Use GDK instead of direct Xlib calls.
1560 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1562 * src/hildon-button.c (hildon_button_set_arrangement):
1563 Due to NB#88126, if one of the labels is too long it will be
1564 painted outside the button. The 'value' label is more likely to be
1565 the longest one, so we change its packing options in order to
1566 truncate it if necessary. As a side effect, the 'title' label will
1567 no longer be truncated.
1569 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1571 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: Bump version.
1577 * debian/changelog: Updates.
1579 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1581 Deprecation of the hildon_pannable_area_set_size_request_policy
1582 API, the only policy properly supported in gtk+ nowadays is the
1585 * src/hildon-pannable-area.c,
1586 (hildon_pannable_area_size_request): Added a workaround for the
1587 size_request to avoid the problems of huge pixmaps in case someone
1588 is still using the function.
1589 * src/hildon-pannable-area.h: Deprecated the enum with the
1592 Fixes: NB#110244 (Problems with the
1593 hildon_pannable_area_set_size_request_policy API)
1595 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1597 * src/hildon-pannable-area.c,
1598 (hildon_pannable_area_init),
1599 (hildon_pannable_area_size_request),
1600 (hildon_pannable_area_style_set),
1601 (hildon_pannable_draw_vscroll),
1602 (hildon_pannable_draw_hscroll),
1603 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1604 indicator_width to clarify the use of the attribute.
1606 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1611 * configure.ac: Bump version.
1612 * debian/changelog: Updates.
1614 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1616 * src/hildon-picker-dialog.c
1617 * src/hildon-touch-selector.c
1618 Reverting the change that tried to avoid the hardcoded height on
1619 the picker dialog, as causes problems on the hildon-touch-selector
1622 Fixes: NB#110029 (selectors not scrolling to selected value)
1624 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1626 * src/hildon-touch-selector.c: Fix typos
1628 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1630 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1631 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1632 request more motions after using it.
1634 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-calendar.c (hildon_calendar_expose),
1637 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1638 Remove unused variables.
1640 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1642 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1643 variable assignment.
1645 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1647 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1648 Check the return value of gtk_tree_selection_get_selected()
1651 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1653 * src/hildon-animation-actor.c
1654 * src/hildon-button.c
1656 * src/hildon-pannable-area.c
1657 * src/hildon-picker-button.c
1658 * src/hildon-program.c
1659 * src/hildon-remote-texture.c
1660 * src/hildon-text-view.c
1661 * src/hildon-touch-selector.c
1662 * src/hildon-window-stack.c
1663 * src/hildon-window.c:
1664 Add missing 'Since: 2.2' tags.
1666 * doc/hildon-sections.txt:
1667 Add some missing symbols.
1669 * doc/hildon-docs.sgml:
1670 New 'Other' section for HildonAnimationActor and
1673 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1675 Patch by Iván Gómez (igomez@igalia.com)
1678 * doc/compiling.sgml
1679 * doc/hildon-docs.sgml
1680 * doc/hildon-sections.txt
1681 * doc/migration.sgml
1682 * doc/resources.sgml
1684 New chapters on using the Hildon library.
1685 Updated the general structure of the reference manual.
1686 Other minor documentation fixes.
1688 * src/hildon-calendar-popup.c
1689 * src/hildon-calendar.c
1690 * src/hildon-controlbar.c
1691 * src/hildon-date-editor.c
1692 * src/hildon-dialog.c
1693 * src/hildon-hvolumebar.c
1694 * src/hildon-number-editor.c
1695 * src/hildon-range-editor.c
1696 * src/hildon-sort-dialog.c
1697 * src/hildon-time-editor.c
1698 * src/hildon-time-picker.c
1699 * src/hildon-volumebar-range.c
1700 * src/hildon-volumebar.c
1701 * src/hildon-vvolumebar.c
1702 * src/hildon-weekday-picker.c:
1703 Add deprecation notes
1705 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1706 Document 'horizontal-movement' and 'vertical-movement' signals.
1708 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1713 * configure.ac: Bump version.
1714 * debian/changelog: Updates.
1716 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1718 * src/hildon-pannable-area.c,
1719 (hildon_pannable_area_class_init): increased the minimum velocity.
1720 (hildon_pannable_area_button_release_cb): Updated the
1721 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1722 setup. Review the code to control that last event.
1724 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1727 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1729 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1731 * src/hildon-get-password-dialog.c
1732 (hildon_get_password_set_property),
1733 (hildon_get_password_get_property), (create_contents):
1734 * src/hildon-login-dialog-private.h:
1735 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1736 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1737 (hildon_login_dialog_get_password):
1738 * src/hildon-set-password-dialog-private.h:
1739 * src/hildon-set-password-dialog.c
1740 (hildon_set_password_set_property),
1741 (hildon_set_password_get_property), (create_contents),
1742 (hildon_set_password_response_change),
1743 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1745 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1746 instead and look more Fremantle style.
1748 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1750 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1752 * doc/hildon-sections.txt
1753 * src/hildon-window-stack.h
1754 * src/hildon-window-stack.c
1755 (+hildon_window_stack_get_windows):
1756 New API to obtain the list of windows on a stack.
1758 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-app-menu.c (hildon_app_menu_popup)
1761 (hildon_app_menu_class_init, -hildon_app_menu_show):
1762 Remove hildon_app_menu_show() and move all its checks to
1763 hildon_app_menu_popup()
1765 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1767 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1768 (_hildon_picker_dialog_set_selector): removed call to
1769 gtk_widget_set_size_request
1770 * src/hildon-touch-selector.c
1771 (_create_new_column): change the pannable size request policy
1773 Avoid to use a hardcoded height for the hildon picker dialog. In order
1774 to get that, we needed to change the hildon pannable size request
1776 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1778 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1781 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1784 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1786 * debian/control: Depend on osso-system-lock localization package.
1787 * src/hildon-code-dialog.c: Obtain the secu_application_title
1788 translation from osso-system-lock.
1789 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1790 for translation the atk related strings, that's not necessary.
1791 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1792 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1793 cancel button, it is not required.
1795 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1797 * src/hildon-pannable-area.c,
1798 (hildon_pannable_area_class_init): Modified the default value of
1799 the overshooting max speed, we have reduced it.
1801 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1803 * doc/hildon-sections.txt
1804 * src/hildon-window-private.h
1805 * src/hildon-window.h
1806 * src/hildon-window.c (hildon_window_class_init)
1807 (hildon_window_init, hildon_window_finalize)
1808 (hildon_window_realize, hildon_window_get_property)
1809 (hildon_window_set_property, hildon_window_update_markup)
1810 (hildon_window_get_markup, hildon_window_set_markup):
1811 New "markup" property and hildon_window_{get,set}_markup() methods.
1813 * examples/hildon-stackable-window-example.c (new_window):
1814 Update example to use hildon_window_set_markup()
1816 Fixes: NB#106375 (Need API to retitle a window with a title
1819 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1821 * src/hildon-pannable-area.c,
1822 (hildon_pannable_area_class_init): Changed the default value of
1823 the initial_hint to TRUE.
1824 (hildon_pannable_area_initial_effect): Changed the initial effect,
1825 not the effect is just the fade-out of the scrollbars.
1827 Fixes: NB#107775 (No scrollbars can be seen when several items are
1828 available in a dialog)
1830 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-program.c (hildon_program_update_top_most):
1835 Fixes: NB#109179 (Memory leak in Hildon program)
1837 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-banner.c (-get_current_app_window):
1840 Remove unused function.
1842 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1844 * src/hildon-pannable-area.c: Modified the documentation of the
1845 get adjustments functions to explain the problem of using the
1846 adjustment directly.
1847 (hildon_pannable_area_class_init): Improved the explanation about
1850 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-app-menu-private.h
1853 * src/hildon-app-menu.c
1854 (hildon_app_menu_class_init):
1855 Bring back the 'external-border' style property
1856 (hildon_app_menu_class_init, hildon_app_menu_init)
1857 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1858 Set a fixed width-request for the menu, independent of the number
1861 Fixes: NB#94957 (Smoothly opened application menu)
1863 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1867 * src/hildon-banner.c
1868 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1870 Make sure that the banner is correctly placed the first time it's
1872 (hildon_banner_check_position, -check_fullscreen_state):
1873 Show the banner in the same place no matter if the window is in
1874 fullscreen mode or not.
1876 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1878 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-touch-selector.c (_default_print_func): reorder
1881 concatenation for clarity.
1883 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1886 for multicolumn selectors.
1888 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1890 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1895 * configure.ac: Bump version.
1896 * debian/changelog: Updates.
1898 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1903 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1905 * configure.ac: removed libcangerra-gtk dependency
1906 * debian/control: removed libcanberra-gtk dependency
1907 * src/Makefile.am: removed libcanberra gtk related flags
1908 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1909 context, and manage a global canberra context instead
1911 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1913 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1915 Patch by Daniel Borgmann (danielb@openismus.com)
1917 * src/hildon-edit-toolbar.c:
1918 Adjust the left padding.
1919 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1920 Paint background of the edit toolbar.
1922 Fixes: NB#107897 (Patch to make editmodetoolbar background
1923 themeable and adjust margin)
1925 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1927 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1929 * src/hildon-program.c (hildon_program_update_top_most):
1930 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1932 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1933 change when the user tasks in/out of an application)
1935 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1937 * configure.ac: added libcangerra-gtk dependency
1938 * debian/control: added libcanberra-gtk dependency
1939 * src/Makefile.am: added libcanberra gtk related flags
1940 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1943 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1945 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-program.c (hildon_program_remove_window)
1948 (hildon_program_add_window): Add checks for the window
1949 parameter. Don't decrease the window counter if the window is not
1952 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1954 * src/hildon-pannable-area.c,
1955 (hildon_pannable_area_realize): Fixed position of the event_window
1956 in the realize method.
1958 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1960 * src/hildon-app-menu-private.h
1961 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1962 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1963 (hildon_app_menu_key_press, hildon_app_menu_init)
1964 (hildon_app_menu_finalize):
1965 Make sure that all idle functions are removed when the widget is
1968 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1970 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1975 * configure.ac: Bump version.
1976 * debian/changelog: Updates.
1978 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-entry.c
1981 (+hildon_entry_show_placeholder),
1982 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1983 that replace hildon_entry_update_contents().
1984 (hildon_entry_set_text),
1985 (hildon_entry_set_placeholder),
1986 (hildon_entry_focus_in_event),
1987 (hildon_entry_focus_out_event): Determine when it is needed
1988 either to show or hide the placeholder and call the above methods.
1990 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1991 when the placeholder text is already set)
1993 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1996 simple GdkPixbufAnim using the new icons for the banner.
1997 (hildon_banner_show_animation): Use the above mentioned method to
1998 create the animation widget.
2000 Fixes: NB#103564 (Make hildon animation banner use individual
2001 image files as the animation)
2003 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2005 * src/hildon-pannable-area.c,
2006 (hildon_pannable_leave_notify_event): Check if the child is NULL
2007 to avoid sending the leave.
2009 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2011 * src/hildon-pannable-area.c,
2012 (hildon_pannable_area_class_init),
2013 (hildon_pannable_leave_notify_event): Added a handler of the
2014 leave-notify-signal to consider when no motion notify before
2017 Fixes: NB#107494 (Items stay selected when clicking and moving
2018 away when inside pannable area)
2020 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: Bump version.
2026 * debian/changelog: Updates.
2028 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2030 Patch by Alberto Garcia (agarcia@igalia.com)
2032 * src/hildon-date-button.c,
2033 (hildon_date_button_class_init),
2034 (hildon_date_button_init): Removed the construct property handling
2035 and created a default selector in the init method.
2036 * src/hildon-picker-button.c,
2037 (hildon_picker_button_class_init): Removed the construct flag of the
2040 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2042 * src/hildon-main.c (hildon_init):
2043 Don't allow hildon_init() to be called more than once.
2045 Fixes: NB#106607 (hildon_init should issue error message upon
2048 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2050 * examples/hildon-pannable-area-touch-list-example.c
2051 * examples/hildon-pannagle-area-touch-grid-example.c
2052 * examples/hildon-edit-toolbar-example.c
2053 * examples/hildon-touch-selector-multi-cells-example.c
2054 Removed the call to gtk_rc_parse_string, as it is not required since
2057 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2059 * src/hildon-pannable-area.c,
2060 (hildon_pannable_area_class_init): Modified the default panning
2061 threshold of the widget to 6px.
2063 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2064 than the threshold value ) within the button is not sending the
2067 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2070 for the treeview in the new column. This way, the touch list will never
2073 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2074 be selected manually for the HW keys to work)
2076 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2078 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2079 comparison instead of using strcmp(). Fixes a compiler warning as well.
2081 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2083 * doc/hildon-docs.sgml: Do not set the library version in the
2084 document title, use the releaseinfo tag for that purpose instead.
2086 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2089 Do not jump to the first item if the text in the entry is removed.
2091 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2096 * configure.ac: Bump version.
2097 * debian/changelog: Updates.
2099 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2101 * src/hildon-entry.c (hildon_entry_refresh_contents):
2102 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2103 Use "ReversedSecondaryTextColor" for the placeholder text.
2105 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2107 * src/hildon-text-view.c: Fix compilation warning.
2109 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2111 * src/hildon-button.c (hildon_button_class_init): Don't make
2112 "title" and "value" construction properties, to prevent them from
2113 overwriting labels set from derived classes.
2115 * src/hildon-picker-button.c
2116 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2117 (hildon_picker_button_class_init): Make touch-selector a
2118 construction property.
2120 * src/hildon-date-button.c (hildon_date_button_class_init)
2121 (+hildon_date_button_constructed): Add a default date selector if
2124 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2126 * src/hildon-touch-selector.c: Small documentation fixes.
2128 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2130 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2132 * src/hildon-entry.c (hildon_entry_refresh_contents),
2133 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2134 widget name, set the logical color directly instead and a boolean
2135 showing_placeholder instead.
2136 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2137 use the widget name here either.
2139 Fixes: NB#105678 (HildonTextView should use logical colours
2140 instead of setting widget name)
2142 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2144 Patch by Daniel Elster (danielk@openismus.com)
2146 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2147 Add user_data parameter.
2148 (hildon_touch_selector_set_print_func_full): New function akin
2149 hildon_touch_selector_set_print_func() but with support for user
2150 data and a destroy callback.
2151 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2152 to clean up the print function user data.
2153 (hildon_touch_selector_class_init): Install dispose function.
2154 (HildonTouchSelectorPrivate::print_user_data),
2155 (HildonTouchSelectorPrivate::print_destroy_func): New private
2157 (hildon_touch_selector_init): Initialize new private members.
2158 (hildon_touch_selector_get_current_text): Pass along user data
2159 to the print function.
2160 (_default_print_func): Add dummy user_data to parameter list.
2161 * hildon-date-selector.c (_custom_print_func): ditto,
2162 * hildon-time-selector.c (_custom_print_func): ditto,
2163 * hildon-touch-selector-entry.c
2164 (hildon_touch_selector_entry_print_func): ditto.
2166 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2168 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2170 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2172 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2174 * src/hildon-pannable-area.c,
2175 (hildon_pannable_area_init),
2176 (hildon_pannable_area_button_press_cb),
2177 (hildon_pannable_area_motion_notify_cb): We have added code to
2178 handle the leave and enter events when using the motion events.
2180 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2182 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-date-button.c (hildon_date_button_get_date)
2185 (hildon_date_button_set_date): Make sure that the button has a
2188 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2190 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2192 * src/hildon-pannable-area.c,
2193 (hildon_pannable_area_class_init),
2194 (hildon_pannable_area_calculate_velocity): Modify the use of the
2195 force and adapt the value.
2197 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2199 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2200 (hildon_app_menu_class_init): Hide the menu if it receives a
2201 delete-event, but don't destroy it
2203 Fixes: NB#104485 (Not able to address the call when application
2204 menu is opened at background)
2206 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2208 * src/hildon-app-menu.c
2209 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2210 Remove the "external-border" style property, let the menu take its
2211 natural size (or the one set by the window manager)
2212 (hildon_app_menu_repack_items):
2213 Don't reshow the menu, avoid flickers.
2215 Partially fixes NB#94957 (Smoothly opened application menu)
2217 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2222 * configure.ac: Bump version.
2223 * debian/changelog: Updates.
2225 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2227 * src/hildon-pannable-area.c,
2228 (hildon_pannable_area_motion_notify_cb): We control that the
2229 direction error margin is used just in case the movement is
2230 allowed in the other direction.
2232 Fixes: NB#105012 (buttons inside a pannable area not getting
2233 release event when dragging/releasing)
2235 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2237 * src/hildon-pannable-area.c,
2238 (hildon_pannable_area_class_init),
2239 (hildon_pannable_area_get_property),
2240 (hildon_pannable_area_set_property),
2241 (hildon_pannable_area_initial_effect),
2242 (hildon_pannable_axis_scroll),
2243 (hildon_pannable_area_button_release_cb): Reviewed the
2244 overshooting effect, now it has its own max
2245 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2246 speed when bouncing.
2248 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2253 * configure.ac: Bump version.
2254 * debian/changelog: Updates.
2256 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2258 * src/hildon-pannable-area.c,
2259 (hildon_pannable_area_class_init): Changed the max speed, now
2260 users can launch the widget very fast. Reduced the default force,
2261 that way it is easier to control the launch speed.
2263 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2265 * src/hildon-pannable-area.c,
2266 (hildon_pannable_area_button_release_cb): Removed this check
2267 because it causes problems when the device is overloaded.
2269 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2272 add a current_text field to store the text entered in the
2273 touch selector entry.
2274 (_clean_current_selection): clean up the current text as well.
2275 (_save_current_selection), (_restore_current_selection):
2276 Save/restore the text in the entry if the selector is a
2277 HildonTouchSelectorEntry.
2279 Fixes: NB#102541 (value entered in the touch selector entry is not
2280 shown when opened for second time)
2282 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2284 * doc/hildon-sections.txt:
2285 * src/hildon-touch-selector-entry.c
2286 (+hildon_touch_selector_entry_get_entry):
2287 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2289 Fixes: NB#104815 (I need accessor to the entry inside
2290 HildonTouchSelectorEntry)
2292 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2295 (hildon_app_menu_class_init):
2296 New "filter-vertical-spacing" style property.
2298 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-find-toolbar.c
2301 (hildon_find_toolbar_emit_close)
2302 (hildon_find_toolbar_emit_invalid_input)
2303 (hildon_find_toolbar_entry_activate):
2304 Use g_signal_emit() instead of g_signal_emit_by_name()
2306 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2308 Patch by Mox Soini (ext-mox.soini@nokia.com)
2310 * tests/TEST-CASES.txt
2311 * tests/check-hildon-banner.c
2312 * tests/check-hildon-note.c
2313 * src/hildon-banner.c
2314 * src/hildon-code-dialog.c
2315 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2316 * src/hildon-time-editor.c
2317 * examples/hildon-lookup-example.c (main):
2318 Replace obsolete icon names with new ones.
2320 * src/hildon-find-toolbar-private.h:
2321 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2322 (-hildon_find_toolbar_emit_search):
2323 Remove find button and change icon of close button.
2325 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2327 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2329 * src/hildon-time-button.c (hildon_time_button_new_step):
2330 Use the "touch-selector" property to set the selector directly
2331 when creating the object.
2333 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2335 Added a new example application that allows tuning the pannable
2336 area and replaced defines with properties in order to simplify the
2337 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2338 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2339 PROP_DIRECTION_ERROR_MARGIN.
2341 * examples/hildon-pannable-area-tuning-example.c: New example
2343 * src/hildon-pannable-area.c,
2344 (hildon_pannable_area_class_init),
2345 (hildon_pannable_area_init),
2346 (hildon_pannable_area_get_property),
2347 (hildon_pannable_area_set_property),
2348 (hildon_pannable_area_launch_fade_timeout),
2349 (hildon_pannable_area_adjust_value_changed),
2350 (hildon_pannable_axis_scroll),
2351 (hildon_pannable_area_motion_notify_cb),
2352 (hildon_pannable_area_scroll_cb),
2353 (hildon_pannable_area_button_release_cb): We have converted some
2354 of the defines that control the widget to properties to simplify
2357 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2359 * src/hildon-app-menu.c (hildon_app_menu_map)
2360 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2361 so it's closed if a new window appears.
2363 Fixes: NB#104485 (Not able to address the call when application
2364 menu is opened at background)
2366 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2369 missing 'break' statement in in 'case' construct to avoid
2372 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2374 * src/hildon-touch-selector-entry.c
2375 (hildon_touch_selector_entry_get_property),
2376 (hildon_touch_selector_entry_set_property): Add missing 'break'
2377 statements in in 'case' constructs to avoid incorrect warnings.
2379 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-time-editor.c
2382 (hildon_time_editor_get_time_separators): Do not crash if
2383 the first label is NULL.
2385 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-date-selector.c (_month_days): Check for month to be
2388 strictly less than 12, since otherwise we may overrun the array.
2390 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2392 * src/hildon-date-button.c (+hildon_date_button_new_full)
2393 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2394 (hildon_date_button_init): Set the date selector using a
2395 construction property, to make it happen after HildonButton's
2396 "value" property is set.
2398 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2399 current date by default)
2401 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2403 * doc/hildon-sections.txt
2404 * src/hildon-program.c
2405 * src/hildon-stackable-window.c
2406 * src/hildon-window.c:
2407 Documentation updates
2409 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2412 (hildon_window_stack_new, +hildon_window_stack_set_property)
2413 (+hildon_window_stack_get_property)
2414 (hildon_window_stack_class_init)
2415 (+hildon_window_stack_set_window_group)
2416 (+hildon_window_stack_get_window_group):
2417 Make the window group a construction property.
2419 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2421 * doc/hildon-sections.txt
2422 * src/hildon-stackable-window-private.h
2423 * src/hildon-stackable-window.h
2424 * src/hildon-stackable-window.c
2425 (-hildon_stackable_window_set_app_menu)
2426 (-hildon_stackable_window_get_app_menu)
2427 (-hildon_stackable_window_toggle_menu)
2428 (-hildon_stackable_window_finalize)
2429 (hildon_stackable_window_class_init)
2430 (hildon_stackable_window_init)
2431 * src/hildon-window-private.h
2432 * src/hildon-window.h
2433 * src/hildon-window.c (hildon_window_init)
2434 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2435 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2436 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2437 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2438 Moved all HildonAppMenu code to HildonWindow. The menu does not
2439 require a HildonStackableWindow anymore.
2441 * src/hildon-app-menu.c
2442 * src/hildon-program.c
2443 * examples/hildon-app-menu-example.c (main):
2444 Update examples and documentation to reflect HildonAppMenu
2447 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-remote-texture.c
2450 * src/hildon-animation-actor.c:
2451 Don't include unused private headers.
2453 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2455 * src/hildon-program-private.h
2456 * src/hildon-program.c
2457 (hildon_program_set_common_menu)
2458 (hildon_program_get_common_menu)
2459 (hildon_program_set_common_app_menu)
2460 (hildon_program_get_common_app_menu):
2461 Change common menu pointers from GtkWidget* to GtkMenu* and
2462 HildonAppMenu* to avoid unnecessary casts.
2464 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2466 * src/hildon-window.c (hildon_window_set_main_menu):
2467 Removed incorrect 'Since:' tag
2469 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2471 * src/hildon-pannable-area.c,
2472 (hildon_pannable_area_calculate_velocity): We use now the
2473 RATIO_TOLERANCE here to check the distance, fixed typo in the
2475 (hildon_pannable_area_motion_notify_cb): We have to set the type
2476 and time even if we are not sending the motion.
2478 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2480 * doc/hildon-sections.txt
2481 * src/hildon-app-menu.h
2482 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2483 (+hildon_app_menu_get_filters): New methods to get the contents of
2486 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2489 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2491 * src/hildon-app-menu.c (hildon_app_menu_popup):
2494 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-window.h
2497 * src/hildon-window.c (+hildon_window_get_main_menu)
2498 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2499 and deprecated hildon_window_get_menu().
2501 * src/hildon-stackable-window.h
2502 * src/hildon-stackable-window.c
2503 (+hildon_stackable_window_set_app_menu)
2504 (+hildon_stackable_window_get_app_menu)
2505 (hildon_stackable_window_set_main_menu): Created
2506 hildon_stackable_window_{get,set}_app_menu() and deprecated
2507 hildon_stackable_window_set_main_menu().
2509 * doc/hildon-sections.txt
2510 * examples/hildon-app-menu-example.c (main)
2511 * src/hildon-app-menu.c
2512 * src/hildon-program.c:
2513 Updated examples and documentation.
2515 Fixes: NB#103758 (No way to obtain a menu from a
2516 HildonStackableWindow)
2518 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2523 * configure.ac: Bump version.
2524 * debian/changelog: Updates.
2526 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2528 * examples/hildon-remote-texture-example.c: Include
2529 hildon-remote-texture.h explicitely.
2530 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2531 applications not defining _XOPEN_SOURCE which don't require this header.
2533 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2535 * doc/hildon-sections.txt
2536 * src/hildon-app-menu.h
2537 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2538 New function to pop up a HildonAppMenu
2540 * src/hildon-stackable-window.c
2541 (hildon_stackable_window_toggle_menu):
2542 Use hildon_app_menu_popup() to show the menu.
2544 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-app-menu.c (hildon_app_menu_show)
2547 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2548 menu if there's another window between it and its parent window.
2550 Fixes: NB#100468 (Application menu window is launched even when a
2551 new secondary-window/dialog is pending to be shown/realized)
2553 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-window-stack.c (hildon_window_stack_push)
2556 (hildon_window_stack_pop_and_push):
2557 Don't forget to push/pop the first window.
2558 Reverse the window list before calling _push_list()
2560 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2562 * src/hildon-picker-button.h
2563 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2564 Remove "value_changed" slot to avoid ABI breakage
2566 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2568 * src/hildon-pannable-area.c,
2569 (hildon_pannable_area_realize),
2570 (hildon_pannable_area_unrealize),
2571 (hildon_pannable_draw_vscroll),
2572 (hildon_pannable_draw_hscroll): Changed the method to handle the
2573 GC used to draw the transparent scrollbar, this way we avoid
2574 creating the GC all the time when drawing the scrollbars.
2576 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2578 * src/hildon-pannable-area.c,
2579 (hildon_pannable_area_init),
2580 (hildon_pannable_area_remove): Removed some unnecessary casts.
2581 (hildon_pannable_area_dispose): Disconnected some signals before
2582 releasing the adjustments.
2584 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2586 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2587 Make sure that all widgets contained in the toolbar are shown.
2589 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2591 * doc/hildon-sections.txt
2592 * src/hildon-picker-button.h
2593 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2594 (_selection_changed, hildon_picker_button_on_dialog_response)
2595 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2596 New hildon_picker_button_value_changed() method.
2599 * src/hildon-picker-button-private.h
2600 * src/hildon-picker-button.c (hildon_picker_button_init)
2601 (+hildon_picker_button_disable_value_changed): Add protected
2602 function for disabling the "value-changed" signal.
2604 * src/hildon-date-button.c (hildon_date_button_set_date):
2605 Don't emit "value-changed" for each one of the three columns.
2607 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2608 before actual change of values)
2610 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2612 * src/hildon-pannable-area.c,
2613 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2614 for the treeview overshooting.
2616 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/hildon-banner.c (+hildon_banner_bind_style):
2619 Renamed from hildon_banner_bind_label_style(), now naming the
2620 banner itself as well.
2621 (hildon_banner_show_information),
2622 (hildon_banner_show_information_with_markup),
2623 (hildon_banner_show_animation), (hildon_banner_show_progress):
2624 Name the widgets and labels, based on their type.
2626 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2629 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-note.c (hildon_note_set_property): call
2632 hildon_note_rename() on HildonNote:note-type set.
2633 (hildon_note_rename): Name the note and its label, based on the
2634 HildonNote:note-type property.
2636 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2639 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2641 * src/hildon-pannable-area.c,
2642 (hildon_pannable_area_class_init),
2643 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2644 panning parameters, increased SPS and deceleration factor. Added
2645 also a margin to control fake directions.
2647 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2649 Patch by Sven Herzberg (sven@imendio.com)
2651 * configure.ac: Add missing AM_PROG_CC_C_0
2652 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2654 See NB#101420 (Update unit tests and fix make check)
2656 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2658 This patch was applied before but reverted because it caused
2659 problems, we have changed the main condition and tested the
2660 regressions we detected before and they work ok. We have done a
2661 complete review of the topmost algorithm in order to get a more
2664 * src/hildon-pannable-area.c,
2665 (hildon_pannable_area_get_topmost): Added a new parameter to
2666 filter the the windows that do not include those events.
2667 (hildon_pannable_area_button_press_cb),
2668 (hildon_pannable_area_button_release_cb),
2669 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2670 topmost function, we have added the new parameter.
2672 Fixes: NB#97458 (Pannable area prevents propagation of button
2675 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2678 if all columns in the selector have an item selected.
2679 (_on_dialog_response): Stop "response" signal emission if there is
2680 any selector column without selected items.
2682 Fixes: NB#101889 (Picker dialog should not close when nothing is
2683 selected in multiple selection list)
2685 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-font-selection-dialog.c
2688 (hildon_font_selection_dialog_class_init),
2689 (hildon_font_selection_dialog_init): Remove the preview
2690 button and dialog, since previewing with default theming is likely
2691 to be overcomplicated. The :preview property has now no effect.
2692 Update documentation blurbs to inform about this.
2694 Fixes: NB#92297 (Preview content is not clearly visible for
2695 default colour text)
2697 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2699 Reviewed the geometry that handles the children size and
2700 scrollbar, now it tries a size and reviews the results depending
2701 on the scrollbars visibility.
2703 * src/hildon-pannable-area.c,
2704 (hildon_pannable_area_realize): Fixed a typo.
2705 (hildon_pannable_area_child_allocate_calculate): Added this
2706 function to calculate the child allocation.
2707 (hildon_pannable_area_size_allocate): Reviewed the allocation
2709 (hildon_pannable_area_check_scrollbars),
2710 (hildon_pannable_area_refresh): Refactored refresh function, this
2711 way we can call the code handling the scrollbars without causing a
2712 size_request, it is interesting in the allocate.
2713 (hildon_pannable_area_init): Replace the callbacks of the
2714 value_changed and changed signals to propertly deal with the
2716 (hildon_pannable_area_grab_notify),
2717 (hildon_pannable_area_initial_effect),
2718 (hildon_pannable_area_launch_fade_timeout),
2719 (hildon_pannable_area_adjust_changed),
2720 (hildon_pannable_area_adjust_value_changed),
2721 (hildon_pannable_area_redraw),
2722 (hildon_pannable_area_button_press_cb),
2723 (hildon_pannable_area_button_release_cb),
2724 (hildon_pannable_area_scroll_cb),
2725 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2726 code and use the new functions adjust_changed and
2727 adjust_value_changed.
2729 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2730 Contact editor dialog)
2732 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2737 * configure.ac: Bump version.
2738 * debian/changelog: Updates.
2740 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2742 * src/hildon-pannable-area.c,
2743 (hildon_pannable_area_get_topmost),
2744 (hildon_pannable_area_button_press_cb),
2745 (hildon_pannable_area_button_release_cb),
2746 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2747 topmost function adding the event mask. We have to try a
2748 differente approach because it is still causing problems (NB#9745,
2751 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-banner.c:
2754 Update the maximum width of timed banners.
2755 (force_to_wrap_truncated): Enforce the maximum text width if the
2758 Fixes: NB#102413 (The text margins (wrapping) in information
2759 banner should be HILDON_MARGIN_TRIPLE)
2761 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2763 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2765 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2766 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2767 bound when calculating the scroll indicator position.
2769 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2770 treat ->lower correctly)
2772 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2774 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2775 expose event handling, since it is not necessary to draw the focus
2778 Fixes: NB#102467 (Do not show highlight on the text in
2781 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2783 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2784 full height of the toolbar for the button and the label.
2786 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2789 padding before the label and after the button.
2791 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2795 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2796 Add a GtkVSeparator between the button and the back arrow.
2797 Let the button have automatic size.
2798 Set a name to the widget for theming handling.
2800 Fixes: NB#101793 (Make edit toolbar the same height as window
2801 title bar (use title area theming))
2803 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-helper.c (attach_new_color_element): Fix memory
2808 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2810 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2812 * examples/hildon-button-example.c (common_buttons_window): Don't
2815 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2818 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2820 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-gtk.c: Check that the window is realized.
2824 Fixes: NB#102225 (Crash setting the progress indicator to a non
2827 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2830 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2831 instead of modifying the one in the widget style.
2833 Fixes: NB#101043 (Second row of all the command button are
2834 displayed in transparent mode.)
2836 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-date-button.c
2839 * src/hildon-time-button.c: Add gettext macros
2841 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-date-button.c (hildon_date_button_new):
2844 * src/hildon-time-button.c (hildon_time_button_new_step):
2845 Use new logical strings to set the button default title.
2847 Fixes: NB#99915 (Date and Time options are not localised in Date
2850 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2852 * src/hildon-pannable-area.c
2853 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2854 the PANNING_THRESHOLD.
2856 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2858 * src/hildon-pannable-area.c,
2859 (hildon_pannable_area_class_init): Increased the maximum speed.
2860 (hildon_pannable_area_get_property),
2861 (hildon_pannable_area_set_property),
2862 (hildon_pannable_area_timeout): Added a new low friction mode, it
2863 allows the user avoid friction when launching the widget fast
2864 enough. It is interesting to traverse long lists.
2866 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2869 (+hildon_stackable_window_delete_event): Ignore delete events if
2870 the window is not the topmost one.
2872 Fixes: NB#101698 (Back button long press and delete-event handling)
2874 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2876 * src/hildon-pannable-area.c,
2877 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2878 gtk-dnd-drag-threshold, it was too big. We have defined our own
2879 dnd define and set a smaller value: PANNIG_THRESHOLD.
2881 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2884 user-defined icons, use always the default one.
2886 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2888 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2890 This patch was applied before but reverted because it caused
2891 problems, we have changed the main condition and tested the
2892 regressions we detected before and they work ok.
2894 * src/hildon-pannable-area.c,
2895 (hildon_pannable_area_get_topmost): Added a new parameter to
2896 filter the the windows that do not include those events. Added
2897 also a condition when finding the window to filter windows that do
2898 not ask for those events.
2899 (hildon_pannable_area_button_press_cb),
2900 (hildon_pannable_area_button_release_cb),
2901 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2902 topmost function, we have added the new parameter.
2904 Fixes: NB#97458 (Pannable area prevents propagation of button
2907 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2909 * tests/check-hildon-color-button.c (START_TEST): do not leak
2912 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2914 * src/hildon-font-selection-dialog.c
2915 (hildon_font_selection_dialog_get_preview_text): Return NULL
2916 instead of FALSE on the g_return_val_if_fail().
2918 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2921 * src/hildon-date-selector.c
2922 (hildon_date_selector_select_current_date):
2923 Do not compare unsigned integers to be greater than or equal 0,
2924 because it's always TRUE.
2926 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2929 (hildon_date_selector_constructor): Do not select the current
2930 date until we are handle the "changed" signal, to avoid having bogus
2931 elements in the days model.
2933 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2936 for num_days, since _month_days() can return a negative value.
2938 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2940 * src/hildon-caption.c (hildon_caption_size_allocate):
2941 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2942 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2944 Initialize allocation variables to 0, to avoid eventually using
2945 unitialized variables.
2947 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-bread-crumb-trail.c
2950 (hildon_bread_crumb_trail_size_allocate):
2951 * src/hildon-calendar.c (hildon_calendar_set_background):
2952 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2953 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2954 * src/hildon-seekbar.c (hildon_seekbar_init):
2955 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2956 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2957 * src/hildon-touch-selector-entry.c
2958 (hildon_touch_selector_get_text_from_model):
2959 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2960 * src/hildon-window.c (hildon_window_finalize):
2962 Remove many unused variables.
2964 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2966 * src/hildon-seekbar.c: (hildon_seekbar_init),
2967 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2969 Remove unnecessary g_assert() calls.
2971 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2973 * src/hildon-caption.c: (hildon_caption_expose),
2974 (hildon_caption_set_property), (hildon_caption_init),
2975 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2976 (hildon_caption_size_request), (hildon_caption_size_allocate),
2977 (hildon_caption_forall), (hildon_caption_set_separator),
2978 (hildon_caption_activate), (hildon_caption_set_child_expand),
2979 (hildon_caption_set_label_text),
2980 (hildon_caption_get_label_alignment):
2982 Remove unnecessary g_assert() calls.
2984 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2986 * src/hildon-banner.c
2987 (hildon_banner_map, hildon_banner_init): Make banner temporary
2988 before mapping it to avoid closing other temporary windows, but
2989 make it non-temporary afterwards to avoid being closed by other
2990 non-temporary windows.
2991 (-hildon_banner_client_event, hildon_banner_init):
2992 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2994 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2997 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3002 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3004 * src/hildon-remote-texture.c
3005 * src/hildon-remote-texture.h
3006 * src/hildon-remote-texture-private.h
3007 * examples/hildon-remote-texture-example.c:
3008 Updates/fixes to remote-texture and its example.
3010 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3012 Patch by Mox Soini (ext-mox.soini@nokia.com)
3014 * src/hildon-code-dialog.c: Update logical id.
3015 * src/hildon-set-password-dialog.c: Update logical id.
3017 Fixes: NB#100646 (Logical strings is shown for ok in set
3018 password,Password needed dialogs)
3020 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3023 * src/hildon-remote-texture.c
3024 * src/hildon-remote-texture.h
3025 * src/hildon-remote-texture-private.h
3027 Added remote texture widget (for Clutter shared memory textures)
3029 * examples/hildon-remote-texture-example.c
3030 * examples/Makefile.am
3031 Added example file for remote texture usage
3033 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3035 * configure.ac: post release version bump.
3036 * debian/changelog: version bump.
3038 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3043 * configure.ac: Bump version.
3044 * debian/changelog: Updates.
3046 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3048 * src/hildon-date-selector.c (hildon_date_selector_init)
3049 (hildon_date_selector_constructor): Don't connect to the "changed"
3050 signal until the selector is completely constructed.
3052 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3054 * src/hildon-touch-selector.c: (_create_new_column),
3055 (hildon_touch_selector_append_column),
3056 (hildon_touch_selector_set_column_selection_mode),
3057 (hildon_touch_selector_set_active),
3058 (hildon_touch_selector_select_iter):
3059 Emit the HildonTouchSelector::changed signal every time selection
3060 is changed in any of the methods above. This behavior was already
3061 documented but not fully functional.
3063 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3064 selection is programmatically changed)
3066 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3068 * doc/hildon-sections.txt: Remove obsolete icon
3069 sizes from here as well.
3071 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3073 * examples/hildon-stackable-window-example.c (add_window): Remove
3076 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-app-menu.c
3079 (hildon_app_menu_show): Check whether the parent window of a menu
3080 is topmost before popping it up.
3082 Fixes: NB#100468 (Application menu window is launched even when a
3083 new secondary-window/dialog is pending to be shown/realized.)
3085 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3087 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3090 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3092 Patch by Mox Soini (ext-mox.soini@nokia.com)
3094 * src/hildon-banner.c: (hildon_banner_show_animation):
3095 use stylus size instead of obsolete note size.
3096 * src/hildon-defines.h: Update icon sizes.
3098 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-touch-selector-entry.c:
3101 (hildon_touch_selector_entry_init): Disable unsupported
3103 (hildon_touch_selector_entry_get_text_column): Emit a warning
3104 if an unsupported input modes is used and explicitile state
3105 these modes in the documentation.
3107 Fixes: NB#99802 (Hildon touch selector entry not working properly
3108 for some of the input modes)
3110 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3112 * src/hildon-pannable-area.c,
3113 (hildon_pannable_area_init): Added the changed signal handlers of
3116 Fixes: NB#100320 (HildonPannableArea does not listen to
3117 GtkAdjustment "change" signals)
3119 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3121 * doc/hildon-sections.txt
3122 * src/hildon-window-private.h
3123 * src/hildon-window.h
3124 * src/hildon-window.c (hildon_window_init)
3125 (hildon_window_realize, hildon_window_unrealize)
3126 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3127 (hildon_window_size_request, hildon_window_size_allocate)
3128 (hildon_window_forall, hildon_window_show_all)
3129 (hildon_window_destroy, +paint_edit_toolbar)
3130 (+hildon_window_set_edit_toolbar):
3131 New hildon_window_set_edit_toolbar() method, to add a
3132 HildonEditToolbar to a window without having to pack it manually.
3134 Reorganize hildon_window_size_allocate()
3136 * src/hildon-edit-toolbar.c: Update documentation.
3138 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3139 example to use the new API.
3141 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3143 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3146 Remove from stack before calling parent's hide.
3148 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3150 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3151 window is removed from the middle of the stack, update the
3152 transiency of the previous one.
3154 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3157 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3160 block/unblock the signal handler if it's not actually being used.
3161 Fixes some critical warnings.
3163 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3165 Based on a patch by Iván Gómez (igomez@igalia.com)
3167 * src/hildon-banner.c
3171 * src/hildon-pannable-area.c
3172 * src/hildon-picker-dialog.c
3173 * src/hildon-wizard-dialog.h
3174 * src/hildon-wizard-dialog.c: Documentation updates.
3176 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3177 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3179 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3181 * configure.ac: post release version bump.
3182 * debian/changelog: version bump.
3184 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3189 * configure.ac: Bump version.
3190 * debian/changelog: Updates.
3192 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3195 a stock icon nor change the relief of the back arrow.
3197 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3198 graphics from theme)
3200 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-button.c (hildon_button_set_alignment): Use
3203 priv->alignment if the button has no child yet.
3205 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3207 * src/hildon-button.c: (hildon_button_init): Set the
3208 button style during initialization to give it the proper
3211 Fixes: NB#99713 (HildonButton value label color is wrong)
3213 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3215 * src/hildon-touch-selector.c: Document
3216 hildon_touch_selector_center_on_selected()
3218 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3221 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3222 all menu items, but not the menu itself.
3223 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3224 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3225 items after adding them to the menu so keyboard accelerators work.
3226 (hildon_app_menu_show): Don't show the menu if it contains items
3227 but none of them are visible.
3229 * examples/hildon-app-menu-example.c (create_menu): Use
3230 gtk_widget_show_all() to show all menu items.
3232 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-picker-dialog.c:
3235 (-_update_title_on_selector_changed_cb),
3236 (-_dialog_update_title): Removed.
3237 (_select_on_selector_changed_cb), (_on_dialog_response),
3238 (on_selector_columns_changed): Do not update the dialog title.
3239 (setup_interaction_mode): Do not connect to
3240 HildonTouchSelector::changed signal if there's a "done" button, as
3241 the dialog title doesn't need to be updated.
3243 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3246 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3248 Patch by Kristian Rietveld (kris@imendio.com)
3250 * src/hildon-touch-selector.c: (_create_new_column): Use new
3251 GtkTreeView::hildon-row-tapped signal to react to user interactions
3252 instead of ::changed.
3254 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3255 with some dynamic tree model)
3257 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3260 (+screen_size_changed, +label_size_request)
3261 (hildon_note_class_init): Make the Hildon information note have a
3262 minimum height, and make its text hvae a maximum width.
3264 Fixes: NB#98614 (Hildon information note (background) should have
3265 minimum height and maximum text width)
3267 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-banner.h
3270 * src/hildon-banner.c (hildon_banner_show_information)
3271 (hildon_banner_show_informationf)
3272 (hildon_banner_show_information_with_markup): Update documentation
3273 to reflect that the icon_name parameter is not used anymore.
3274 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3275 Remove all code from these functions and mark them as deprecated.
3276 (hildon_banner_show_progress): Mark as deprecated.
3278 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3280 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3282 * src/hildon-pannable-area.c,
3283 (hildon_pannable_area_class_init),
3284 (tranparency_color),
3285 (hildon_pannable_draw_vscroll),
3286 (hildon_pannable_draw_hscroll),
3287 (hildon_pannable_area_expose_event): Added a new way to render the
3288 scrollbars of the pannable area avoiding using cairo at all. This
3289 way we improve the performance of the pannable area rendering. The
3290 cairo rendering procedure is still in the code, we can control
3291 which one to use changing the value of the define
3292 USE_CAIRO_SCROLLBARS.
3294 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3296 * configure.ac: post release version bump.
3297 * debian/changelog: version bump.
3299 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3304 * configure.ac: Bump version.
3305 * debian/changelog: Updates.
3307 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3310 banners instead of destroying them when they receive a button
3313 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3315 Reverted commit 34028, it was causing regressions, probably the
3316 topmost condition is not correct, we have to check it in more
3317 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3318 propagation of button press events)
3320 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3323 that the selection is not empty before attempting to retrieve the
3324 current ampm selection.
3326 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3328 * src/hildon-picker-button.c:
3329 (hildon_picker_button_on_dialog_response): Directly update the
3330 button contents when required instead of calling _selection_changed.
3332 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3334 * src/hildon-program.c (hildon_program_update_top_most): Update
3335 'is-topmost' property also when wm_hints is not set.
3337 Fixes: NB#98383 (is-topmost signal is not emitted when task
3338 switcher is clicked.)
3340 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3342 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3346 * src/hildon-animation-actor.c,
3347 * src/hildon-animation-actor.h: Added the animation actor class,
3348 this widget represents an animation actor for WM-assisted
3349 animation effects in the Hildon framework.
3351 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3353 * src/hildon-window-stack-private.h
3354 * src/hildon-window-stack.c
3355 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3356 Avoid calling gtk_widget_show() again indirectly from
3357 hildon_stackable_window_show()
3359 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3361 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3364 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3367 (hildon_time_selector_init): Move the construction of the hours and
3368 ampm columns to the constructor to preserve the order the columns
3371 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-picker-dialog.c:
3374 (hildon_picker_dialog_class_init): Connect a realize method.
3375 (+hildon_picker_dialog_realize): Setup the interaction mode here
3377 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3378 yet, do it during the realize instead.
3379 (_on_dialog_response):
3380 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3381 if the widget is not realized, to avoid the dialog response before it
3384 Avoid premature responses in the HildonPickerDialog that can cause it
3385 to be hidden before it's even shown.
3387 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3390 (on_selector_columns_changed), (requires_done_button),
3391 (+prepare_action_area), (setup_interaction_mode),
3392 (_hildon_picker_dialog_set_selector):
3394 Split the interaction mode setup into preparation of the
3395 action area (prepare_action_area()) and the connection of
3396 the signals in setup_interaction_mode() and update the code to
3399 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3401 * src/hildon-pannable-area.c,
3402 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3403 per second to 15, we will check if this is ok regarding
3406 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3408 * src/hildon-pannable-area.c,
3409 (hildon_pannable_axis_scroll): Avoid resize if we already have
3410 reached overshoot_max.
3412 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3414 * src/hildon-pannable-area.c,
3415 (hildon_pannable_area_init),
3416 (hildon_pannable_area_realize),
3417 (hildon_pannable_area_size_allocate),
3418 (hildon_pannable_area_map),
3419 (hildon_pannable_area_unmap),
3420 (hildon_pannable_draw_vscroll),
3421 (hildon_pannable_draw_hscroll),
3422 (hildon_pannable_area_expose_event),
3423 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3424 pannable are to avoid the expose events go to the window and
3425 redraw the window. We save this way that part of the stack and the
3426 paint_boxes. We had to change the positions of the elements when
3429 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3431 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3432 * src/hildon-color-chooser-dialog.c:
3433 (hildon_color_chooser_dialog_init):
3434 * src/hildon-font-selection-dialog.c:
3435 (hildon_font_selection_dialog_init),
3436 (hildon_font_selection_dialog_show_preview):
3437 * src/hildon-get-password-dialog.c:
3438 * src/hildon-login-dialog.c:
3439 * src/hildon-set-password-dialog.c:
3440 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3441 * src/hildon-time-picker.c: (hildon_time_picker_init):
3443 Remove obsolete logical string IDs and update to the appropriate ones.
3445 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3447 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3450 that happens if the window hasn't been realized yet.
3452 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3453 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3455 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3458 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3461 Fixes: NB#98537 (Device hangs in account settings dialog)
3463 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3465 * configure.ac: post release version bump.
3466 * debian/changelog: version bump
3468 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3473 * configure.ac: Bump version.
3474 * debian/changelog: Updates.
3476 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3478 Added a new function to the HildonTimeButton widget that allows to
3479 change the step of the minutes in the selector associated with the
3480 button: hildon_time_button_new_step
3482 * src/hildon-time-button.c,
3483 (hildon_time_button_init),
3484 (hildon_time_button_new),
3485 (hildon_time_button_new_step):
3486 * src/hildon-time-button.h: Added the new function and refactored
3488 * examples/hildon-time-button-example.c,
3489 (main): We have replaced the function without parameters with the
3490 function with the steps set to 5
3492 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3494 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3496 * src/hildon-time-selector.c,
3497 (hildon_time_selector_class_init),
3498 (hildon_time_selector_constructor),
3499 (hildon_time_selector_get_property),
3500 (hildon_time_selector_set_property),
3501 (_create_minutes_model),
3502 (hildon_time_selector_new_step),
3503 (hildon_time_selector_set_time),
3504 * src/hildon-time-selector.h: Added a new property to the
3505 HildonTimeSelector (minutes-step), we use that property to control
3506 the steps between the minutes in the list of the selector. We have
3507 added a new function to the API to create a widget changing the
3508 step: hildon_time_selector_new_step.
3510 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3512 * src/hildon-time-selector.c,
3513 (hildon_time_selector_class_init),
3514 (hildon_time_selector_constructor),
3515 (hildon_time_selector_init): Overrided the construct function when
3516 creating the time selector object. We have moved the minutes model
3517 handling code from the init to the new construction function:
3518 hildon_time_selector_constructor.
3520 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3522 * examples/hildon-date-button-example.c: (main): Use the new
3523 hildon_date_button_new_with_year_range() method in the example.
3524 * src/hildon-date-button.c:
3525 (+hildon_date_button_new_with_year_range): New public method
3526 to conveniently create a HildonDateButton with a custom year range
3527 in its HildonDateSelector.
3528 * src/hildon-date-button.h: Add the new public method definition.
3530 Fixes: NB#97908 (Not possible to change the year range in
3531 HildonDateSelector/HildonDateButton)
3533 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-date-selector.c:
3536 (+hildon_date_selector_set_property),
3537 (+hildon_date_selector_get_property),
3538 (hildon_date_selector_class_init): Install new properties "min-year"
3539 and "max-year" to define boundaries for the year column.
3540 (_create_year_model): Use the boundary properties to populate the model.
3541 (+hildon_date_selector_new_with_year_range): New public method to
3542 create a HildonDateSelector with a user defined year range.
3543 (hildon_date_selector_select_current_date): Use the new boundaries to
3544 calculate the iterator of current year.
3545 * src/hildon-date-selector.h: Add the new public method definition.
3547 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3550 Install a constructor method.
3551 (+hildon_date_selector_construct_ui): construct the widget.
3552 (+hildon_date_selector_constructor): new constructor.
3553 (+hildon_date_selector_init): move out widget construction code to
3554 the new constructor.
3556 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3558 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3559 that there's actually a month or year selected before obtaining them.
3560 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3561 of the HildonTouchSelector::changed signal, as it was emitted on every
3562 single item selection.
3564 Fix some warnings and possible crashers due to the selection restoring.
3566 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3568 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3569 the signal handlers only after creating the dialog instead of on every
3572 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3574 * src/hildon-button.c (hildon_button_init)
3575 * src/hildon-check-button.c (hildon_check_button_init)
3576 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3577 focus when clicked by default.
3579 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3581 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3584 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3586 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3587 Alejandro G. Castro (alex@igalia.com)
3589 * src/hildon-picker-dialog.c:
3590 (hildon_picker_dialog_class_init): install new "center-on-show"
3592 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3593 (hildon_picker_dialog_set_property): add setter code for the new
3595 (hildon_picker_dialog_get_property): add getter code for the new
3597 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3598 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3601 Fixes: NB#92849 (Selected item is not always visible when
3602 HildonTouchSelector is shown)
3604 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3606 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3607 Alejandro G. Castro (alex@igalia.com)
3609 * src/hildon-touch-selector.c:
3610 (_create_new_column): Do not connect to the "realize" signal of the
3612 (hildon_touch_selector_append_column): center on the selected items
3613 when a new column is appended.
3614 (hildon_touch_selector_select_iter): Factor out the code to select a
3615 column to hildon_touch_selector_scroll_to().
3616 (+search_nearest_element): Method to retrieve the nearest selected
3617 element to the visible area of the pannable area in a column.
3618 (+on_realize_cb): scroll to the initially selected item.
3619 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3620 the pannable area is realized, otherwise delay this until it is.
3621 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3622 selected items of a given column.
3623 (+hildon_touch_selector_center_on_selected): Public method to center
3624 all columns on the nearest selected item.
3625 * src/hildon-touch-selector.h: Add definition for
3626 hildon_touch_selector_center_on_selected().
3628 Implement public API to ensure visibility of all selected items in
3629 a HildonTouchSelector.
3631 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3633 Fixed a problem in the fading when calling the scroll_to API, and
3634 improve scrollbar fading handling.
3636 * src/hildon-pannable-area.c,
3637 (hildon_pannable_area_grab_notify): avoid the timeout when the
3639 (hildon_pannable_area_button_press_cb),
3640 (hildon_pannable_area_motion_notify_cb): Code style changes.
3641 (hildon_pannable_area_button_release_cb): Review the conditions
3642 when releasing the mouse button to avoid unrequired fading
3644 (hildon_pannable_area_scroll_to): Do not calculate and set the
3645 velocity if the scroll is not required.
3647 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3650 Don't check whether the new selector is NULL: it cannot be.
3651 Hold a reference to the selector while doing the replacement.
3653 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3656 unnecessary size_request in a removed widget.
3658 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3660 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3661 an unnecessary reference tracking that was leaking.
3663 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3665 Added delayed motion notify event handling, this way we can
3666 discard redrawing if more than 25 events arrive per second.
3668 * src/hildon-pannable-area.c,
3669 (hildon_pannable_area_init): Initialized the new private atributes
3670 controlling this timeout
3671 (hildon_pannable_area_dispose): Remove the timeout that controls
3672 the motion notify events.
3673 (hildon_pannable_area_scroll): Added a condition to control the
3674 use of the acceleration.
3675 (hildon_pannable_area_motion_event_scroll_timeout),
3676 (hildon_pannable_area_motion_event_scroll): Added this two
3677 functions, they handle the motion notify events inside the
3679 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3680 to the scroll method with the new function.
3681 (hildon_pannable_area_button_release_cb): We have to remove the
3682 timeout handler and move to the last position if the last motion
3683 events were not handled.
3685 Fixes: NB#97028 (Pannable area updates on every motion event)
3687 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3689 * src/hildon-pannable-area.c,
3690 (hildon_pannable_area_get_topmost): Added a new parameter to
3691 filter the the windows that do not include those events. Added
3692 also a condition when finding the window to filter windows that do
3693 not ask for those events.
3694 (hildon_pannable_area_button_press_cb),
3695 (hildon_pannable_area_button_release_cb),
3696 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3697 topmost function, we have added the new parameter.
3699 Fixes: NB#97458 (Pannable area prevents propagation of button
3702 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3704 * src/hildon-pannable-area.c,
3705 (hildon_pannable_area_initial_effect): Added controls before
3706 launching the timeout and the idle functions.
3707 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3708 of the method, in some situations it can return with TRUE and 0 in
3710 (hildon_pannable_area_button_press_cb): We do not need to set
3711 DELAY for fading out here.
3713 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3715 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3717 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3718 post-cleaning if the selection is not NULL.
3720 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3723 all items before restoring the selection.
3725 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-touch-selector.c:
3728 (+hildon_touch_selector_unselect_all):
3729 * src/hildon-touch-selector.h: New API to unselect all items in a
3730 column of the touch selector.
3732 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3734 * src/hildon-pannable-area.c,
3735 (hildon_pannable_area_redraw): Added a call to the refresh
3736 function inside the redraw because apparently in some cases the
3737 change in the adjustment does not imply a size allocate.
3739 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3740 despite the view not being scrollable)
3742 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3744 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3745 leak. Check for NULL before attempting to set the window title.
3747 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3749 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3750 whether to show or not the 'Done' button each time the dialog is
3751 shown, as it depends on the HildonTouchSelector selection mode.
3753 Fixes: NB#96226 (In multiple selection mode Done button is shown
3754 sometimes in listpicker)
3756 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3759 for the number of columns in the HildonTouchSelector more than once.
3761 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-touch-selector.c: Minor documentation fixes.
3765 * src/hildon-picker-dialog.c (+_dialog_update_title)
3766 (_select_on_selector_changed_cb)
3767 (_update_title_on_selector_changed_cb)
3768 (on_selector_columns_changed): Update dialog title when there's no
3769 'Done' button and also when the number of columns in the selector
3773 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3774 (+_selection_changed, hildon_picker_button_on_dialog_response)
3775 (hildon_picker_button_selector_selection_changed)
3776 (+hildon_picker_button_selector_columns_changed)
3777 (hildon_picker_button_set_selector): Update button value and emit
3778 'value-changed' when the number of columns in the selector
3782 Fixes: NB#96225 (Dialog titles are not shown according to the
3783 values selected in the list picker)
3785 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3788 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3789 New "arrow-width" and "arrow-height" style properties to set the
3790 size of the arrow button.
3791 Set name of arrow button ("hildon-edit-toolbar-arrow").
3793 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3794 graphics from theme)
3796 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3798 * src/hildon-picker-button.c:
3799 (hildon_picker_button_selector_selection_changed): Use
3800 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3801 the dialog is present.
3803 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3804 the selection is accepted in the dialog)
3806 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-color-chooser.h
3809 * src/hildon-color-chooser-dialog.h:
3810 Added G_BEGIN_DECLS and G_END_DECLS
3812 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3814 (_clean_current_selection): plug a leak in the list.
3816 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3818 * src/hildon-picker-dialog.c:
3819 (+free_path_list): Method to free a GList of GtkTreePaths.
3820 (_clean_current_selection), (_save_current_selection),
3821 (_restore_current_selection): Save the current selection in
3822 as a list of lists, to support multiple selection properly.
3824 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3826 patch by Claudio Saavedra (csaavedra@igalia.com)
3828 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3829 Store the press position.
3830 (+hildon_text_view_button_release_event): If the release position is
3831 close enough to the press position, move the cursor here. Otherwise,
3833 (hildon_text_view_class_init): Override GtkTextView press, release, and
3834 motion event handlers, disabling this way text selection through
3835 pointer interaction, and allowing the container widget to handle the
3838 Fixes: NB#95828 (HildonTextView functionality)
3840 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3842 Based on a patch by Iván Gómez (igomez@igalia.com)
3844 * src/hildon-button.[ch]
3845 * src/hildon-calendar.c
3846 * src/hildon-check-button.c
3847 * src/hildon-date-editor.c
3848 * src/hildon-date-selector.c
3849 * src/hildon-picker-button.c
3850 * src/hildon-time-editor.c
3851 * src/hildon-time-selector.c
3852 * src/hildon-touch-selector.[ch]:
3853 Documentation updates
3855 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3857 * src/hildon-pannable-area.c,
3858 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3859 threshold, it was required due to X events handling.
3861 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3863 * src/hildon-pannable-area.c,
3864 (hildon_pannable_area_grab_notify),
3865 (hildon_pannable_area_initial_effect),
3866 (hildon_pannable_area_button_press_cb),
3867 (hildon_pannable_area_button_release_cb),
3868 (hildon_pannable_area_scroll_cb),
3869 (hildon_pannable_area_scroll_to): Review the timeout management of
3870 the scrollbar, the frecuency was incorrectly set.
3872 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3874 * src/hildon-picker-button.c:
3875 (+hildon_picker_button_on_dialog_response),
3876 (hildon_picker_button_clicked): Present the dialog instead of
3877 running it with gtk_dialog_run().
3879 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3882 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3885 (hildon_app_menu_finalize): When a window is hidden it doesn't
3886 emit notify::is-topmost, so make sure than the menu also
3887 disappears in that case.
3888 (parent_window_topmost_notify): Renamed from parent_window_hidden
3890 Fixes: NB#94460 (stackable window's menu is not closed when its
3893 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-touch-selector-entry.c:
3896 (+hildon_touch_selector_entry_set_input_mode),
3897 (+hildon_touch_selector_entry_get_input_mode):
3898 * src/hildon-touch-selector-entry.h: New methods to access the input
3899 mode in the selector's entry.
3901 Fixes: NB#93410 (API required for setting IM mode in
3902 HildonTouchSelectorEntry)
3904 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3906 * configure.ac: post release version bump.
3907 * debian/changelog: version bump
3909 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3914 * configure.ac: Bump version.
3915 * debian/changelog: Updates.
3917 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3919 * src/hildon-touch-selector.c:
3920 (_hildon_touch_selector_has_multiple_selection): No need
3921 to initialize the variables here.
3923 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3925 * src/hildon-note-private.h
3926 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3927 (hildon_note_finalize, hildon_note_rebuild): Close information
3928 notes when they receive a button press.
3930 Fixes: NB#89890 (Information notes does not get disappeared after
3933 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3935 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3936 mark from the wizard title, as it's not really necessary. Also,
3937 do not display the page title if not set.
3939 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3941 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3942 (parent_window_hidden): Use the window's "is-topmost" property to
3943 detect when to hide the menu.
3945 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3948 (hildon_app_menu_finalize): If the parent window of the menu is
3949 hidden, hide the menu too.
3951 Fixes: NB#94460 (stackable window's menu is not closed when its
3954 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3957 * debian/libhildon1-examples.install
3959 * examples/Makefile.am:
3960 Use dh_install to install all examples.
3961 Use DEB_SRCDIR instead of defining SOURCE_DIR
3963 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3965 * configure.ac: post release version bump.
3966 * debian/changelog: version bump
3968 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3973 * configure.ac: bump version
3974 * debian/changelog: updates
3975 * debian/control: bump gtk+ dependency
3977 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3979 patch by Christian Dywan (christian@imendio.com)
3981 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3982 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3984 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3986 * src/hildon-check-button.c (hildon_check_button_init)
3987 (hildon_check_button_class_init, hildon_check_button_style_set)
3988 (hildon_check_button_apply_style):
3989 New "checkbox-size" style property.
3991 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3992 larger / configurable size)
3994 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3996 * configure.ac: post release version bump.
3997 * debian/changelog: version bump
3999 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4004 * configure.ac: bump version
4005 * debian/changelog: updates
4007 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4009 * doc/hildon-sections.txt
4010 * src/hildon-pannable-area.c
4011 * src/hildon-program.c
4012 * src/hildon-time-editor.c
4013 * src/hildon-touch-selector-entry.c:
4015 More documentation updates.
4017 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4019 * doc/hildon-sections.txt
4020 * src/hildon-caption.c
4021 * src/hildon-code-dialog.c
4022 * src/hildon-color-button.c
4023 * src/hildon-controlbar.c
4024 * src/hildon-date-editor.c
4025 * src/hildon-date-selector.c
4026 * src/hildon-edit-toolbar.c
4027 * src/hildon-find-toolbar.c
4028 * src/hildon-font-selection-dialog.c
4030 * src/hildon-program.c
4031 * src/hildon-range-editor.c
4032 * src/hildon-seekbar.c
4033 * src/hildon-time-editor.c
4034 * src/hildon-time-selector.c
4035 * src/hildon-volumebar-range.c
4036 * src/hildon-volumebar.c
4037 * src/hildon-vvolumebar.c
4038 * src/hildon-weekday-picker.c
4039 * src/hildon-window.c
4040 * src/hildon-wizard-dialog.c:
4042 Lots of documentation fixes.
4044 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4046 Patch contributed by Iván Gómez (igomez@igalia.com)
4048 * src/hildon-check-button.c:
4049 * src/hildon-date-button.c:
4050 * src/hildon-date-selector.c:
4051 * src/hildon-dialog.c:
4052 * src/hildon-edit-toolbar.c:
4053 * src/hildon-entry.c:
4054 * src/hildon-picker-button.c:
4055 * src/hildon-program.c:
4056 * src/hildon-text-view.c:
4057 * src/hildon-time-button.c:
4058 * src/hildon-touch-selector-entry.c:
4059 * src/hildon-window-stack.c:
4061 Add more "since" tags to the new API.
4063 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4065 * doc/hildon-sections.txt: Add below method.
4066 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4067 version for the hildonized scale.
4068 * src/hildon-gtk.h: Add the definition.
4070 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4072 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4074 * doc/hildon-sections.txt: Add missing entries for new methods.
4076 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4078 Added API to pannable are in order to get its adjustments. We
4079 added two properties to manage the values we had in the private
4082 * src/hildon-pannable-area.c:
4083 (hildon_pannable_area_class_init): Added hadjustment and
4084 vadjustment properties in order to expose horizontal and vertical
4086 (hildon_pannable_area_get_property),
4087 (hildon_pannable_area_set_property): Added code to handle the new
4089 (hildon_pannable_area_get_hadjustment),
4090 (hildon_pannable_area_get_vadjustment): API functions to get the
4092 * src/hildon-pannable-area.h:
4093 (hildon_pannable_area_get_hadjustment),
4094 (hildon_pannable_area_get_vadjustment): API functions to get the
4097 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4099 Fixed some leaks, after valgrinding.
4101 * src/hildon-touch-selector.c:
4102 (_default_print_func): Fixed a leak.
4103 (hildon_touch_selector_append_column): Fixed a leak.
4104 * src/hildon-date-button.c:
4105 (hildon_date_button_init): Fixed a leak.
4106 * src/hildon-date-selector.c
4107 (hildon_date_selector_finalize): Fixed a leak.
4109 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4111 Based on a patch by Christian Dywan (christian@imendio.com)
4113 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4115 * src/hildon-gtk.h: Add definition.
4117 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4119 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4121 * src/hildon-picker-button.c: (hildon_picker_button_init),
4122 (hildon_picker_button_new): Set the HildonButton::style property
4123 in the init method, to propagate the value to the derived classes.
4125 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4127 * src/hildon-button.c: (hildon_button_class_init): Do not make
4128 the "style" property a construct property.
4130 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4132 * src/hildon-wizard-dialog.h
4133 * src/hildon-wizard-dialog.c
4134 (hildon_wizard_dialog_set_forward_page_func)
4135 * src/hildon-pannable-area.h
4136 * src/hildon-pannable-area.c
4137 (hildon_pannable_area_set_size_request_policy):
4138 Documentation fixes.
4140 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4142 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4144 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4146 * doc/hildon-sections.txt: Added sections file.
4148 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4151 * src/*.[ch]: Updates.
4153 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4155 * examples/hildon-progress-indicator-example.c: new file
4156 * examples/Makefile.am: include the new example program
4158 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4160 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4162 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4164 * configure.ac: post release version bump
4165 * debian/changelog: version bump
4167 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4172 * configure.ac: bump version
4173 * debian/changelog: updates
4174 * debian/control: bump gtk+ dependency
4176 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4178 * src/hildon-dialog.c: Mark as deprecated.
4179 * src/hildon-dialog.h: Mark as deprecated.
4180 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4181 from HildonDialog and still work, even if
4182 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4183 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4185 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4186 maemo changes) instead)
4188 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4190 * src/hildon-pannable_area.h:
4191 * src/hildon-pannable_area.c:
4192 (hildon_pannable_area_class_init),
4193 (hildon_pannable_area_set_property),
4194 (hildon_pannable_area_get_property),
4195 (hildon_pannable_area_size_request),
4196 (hildon_pannable_area_get_size_request_policy),
4197 (hildon_pannable_area_set_size_request_policy): Added new API
4198 allowing applications to control the request policy. Now they can
4199 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4200 children allocation (HILDON_MOVEMENT_CHILDREN).
4202 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4206 (hildon_gtk_tree_view_set_ui_mode)
4207 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4208 mode of treeviews and iconviews.
4210 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4212 * src/hildon-touch-selector-entry.c:
4213 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4214 of a GtkEntry to get proper theming.
4216 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4217 widget, not GtkEntry)
4219 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4222 no HildonWizardDialogPageFunc.
4224 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4226 Patch contributed by Iván Gómez (igomez@igalia.com)
4228 * src/hildon-app-menu.c:
4229 * src/hildon-button.c:
4230 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4231 * src/hildon-stackable-window.c:
4232 * src/hildon-time-selector.c:
4233 * src/hildon-touch-selector.c:
4234 * src/hildon-window.c:
4236 Add more "since" tags to the new API in hildon 2.2.
4238 2008-12-05 Tim Janik <timj@imendio.com>
4240 Patch contributed by Christian Dywan (christian@imendio.com)
4242 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4243 HildonSizeType, which are supplied by Gtk+ now.
4245 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4247 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4248 (with maemo changes) instead)
4250 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4252 Patch contributed by Iván Gómez (igomez@igalia.com)
4254 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4257 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4259 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4260 (some_page_func), (main): Update the example to use a
4261 HildonWizardDialogPageFunc function.
4263 * src/hildon-wizard-dialog-private.h: Add private data for
4264 the HildonWizardDialogPageFunc function usage.
4266 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4267 (destroy), (hildon_wizard_dialog_init), (response),
4268 (hildon_wizard_dialog_set_forward_page_func):
4269 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4270 that applications can use to stop a HildonWizardDialog to jump to
4273 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4276 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4278 * src/hildon-program.h
4279 * src/hildon-program-private.h
4280 * src/hildon-program.c (hildon_program_init)
4281 (hildon_program_set_common_app_menu)
4282 (hildon_program_get_common_app_menu):
4283 New API for setting a common HildonAppMenu for all
4284 HildonStackableWindows registered with the HildonProgram.
4286 * src/hildon-stackable-window.c
4287 (hildon_stackable_window_toggle_menu):
4288 Use the common HildonAppMenu if a window doesn't have a specific
4291 * src/hildon-app-menu-private.h
4292 * src/hildon-app-menu.c
4293 (hildon_app_menu_get_parent_window):
4294 Function to obtain the window a HildonAppMenu is attached to.
4295 (hildon_app_menu_set_parent_window):
4296 Hide the menu if the parent window is set to NULL.
4298 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4300 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4301 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4302 search widget to popup.
4304 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4306 * configure.ac: post release version bump
4307 * debian/changelog: version bump
4309 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4314 * configure.ac: bump version
4315 * debian/changelog: updates
4317 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4319 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4321 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4322 (hildon_window_stack_window_realized)
4323 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4324 Set the leader GdkWindow when a window is stacked and realized,
4325 unset it when it's unstacked.
4326 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4328 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4330 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4332 * src/hildon-stackable-window.h
4333 * src/hildon-window-stack.h:
4334 Protect definition of HildonWindowStack using the preprocessor.
4336 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4339 Fix warning if all menu items are hidden.
4341 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4343 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4345 * src/hildon-controlbar.c:
4346 * src/hildon-hvolumebar.c:
4347 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4348 Multiple scale size defines updates.
4350 Fixes: NB#94322 (Scale Updates)
4352 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4354 * examples/hildon-app-menu-example.c (create_menu)
4355 Show items after adding them to the menu, as in the future the
4356 menu will no longer call gtk_widget_show() on the added items.
4358 * src/hildon-app-menu.c:
4359 Update example as explained above.
4361 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4363 * src/hildon-app-menu.c
4364 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4365 Make sure that all menu items have finger height.
4367 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4369 * src/hildon-picker-dialog.c:
4370 (_on_dialog_response), (_save_current_selection),
4371 (_restore_current_selection), (_clean_current_selection),
4372 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4373 Defined new functions in order to save the current internal selector
4374 selection previous open the dialog, in case that the use cancel the
4375 interaction, so the widget restores the previous selection.
4377 Fixes: NB#92032 (In calendar application, date values in 'new event'
4380 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4382 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-button.c: Add a reference to the button examples in
4385 hildon-button-example.c
4387 * examples/hildon-button-example.c: Added examples of the most
4388 common button layouts.
4390 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4392 * src/hildon-app-menu.c (hildon_app_menu_show)
4393 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4395 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4397 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4399 * src/hildon-picker-dialog.c:
4400 (hildon_picker_dialog_init): Initialize the signal id for
4401 HildonTouchSelector::columns-changed.
4402 (+on_selector_columns_changed): Set up the interaction mode everytime a
4403 column is added or removed from the HildonTouchSelector.
4404 (_hildon_picker_dialog_set_selector): Connect to
4405 HildonTouchSelector::columns-changed and keep track of it.
4407 Make sure to update the interaction mode of the dialog everytime a
4408 column is added or removed in the HildonTouchSelector.
4410 Fixes: NB#93228 (Done button is not shown always in listpicker)
4412 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4414 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4415 a new ::columns-changed signal.
4416 (hildon_touch_selector_append_column): Emit ::columns-changed.
4417 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4419 Add a ::columns-changed signal, emitted when the number of columns in a
4420 HildonTouchSelector changes.
4422 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4425 (_hildon_picker_dialog_set_selector): Factor out the code
4426 to set up the dialog interaction mode.
4428 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4431 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4432 to signal_changed_id.
4434 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4439 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4441 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4442 Updated the logical ids related to ampm format, as now it is required to
4443 show it correctly localized even on languages with no default
4444 abbreviations for am or pm
4445 (_check_am_pm_format): check correctly the 24h format gconf property
4447 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4449 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-button.c: Documentation updates.
4453 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4455 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4456 * src/hildon-caption.c: (hildon_caption_class_init):
4457 * src/hildon-color-button.c: (hildon_color_button_class_init):
4458 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4459 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4460 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4461 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4463 Remove deprecated GTK+ marshalers and replace them with the ones
4464 provided by GLib, for those available, add a marshaler for
4465 BOOLEAN:VOID, which is not available in GLib, and use it.
4467 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4469 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4470 the text from the previous column if there is no
4471 HildonTouchSelectorColumn::text-property set.
4473 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-button.h
4476 * src/hildon-button.c (hildon_button_set_property)
4477 (hildon_button_get_property, hildon_button_class_init)
4478 (hildon_button_set_style, hildon_button_get_style):
4479 New "style" property to change the visual appearance of the
4482 * src/hildon-picker-button.c (hildon_picker_button_new):
4483 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4485 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4486 HildonButton look like PickerButton)
4488 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4491 column while building the default string.
4493 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4495 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4496 scroll indicator by default.
4498 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4500 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4502 * src/hildon-main.c: Fix the documentation for hildon_init()
4504 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4506 * doc/hildon-docs.sgml
4510 * src/hildon-window-stack-private.h
4511 * src/hildon-window-stack.h
4512 * src/hildon-window-stack.c:
4513 New HildonWindowStack object, that adds support for multiple
4514 stacks of windows per process.
4516 * src/hildon-stackable-window-private.h
4517 * src/hildon-stackable-window.h
4518 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4519 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4520 (hildon_stackable_window_show, hildon_stackable_window_hide)
4521 (hildon_stackable_window_class_init)
4522 (hildon_stackable_window_init):
4523 Use HildonWindowStack for stack management.
4525 * src/hildon-program.c (hildon_program_pop_window_stack)
4526 (hildon_program_peek_window_stack)
4527 (hildon_program_go_to_root_window):
4528 Add a fallback implementation to the deprecated functions using
4531 * examples/hildon-stackable-window-example.c:
4532 Use the new HildonWindowStack API.
4534 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-stackable-window-private.h
4537 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4538 (hildon_stackable_window_hide, hildon_stackable_window_init):
4539 Remove all window stack management.
4541 * src/hildon-program-private.h
4542 * src/hildon-program.h
4543 * src/hildon-program.c (hildon_program_init)
4544 (hildon_program_pop_window_stack)
4545 (hildon_program_peek_window_stack)
4546 (hildon_program_go_to_root_window):
4547 Remove all window stack management and mark functions as
4550 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4552 * src/hildon-app-menu.c (hildon_app_menu_realize):
4553 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4555 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4557 * configure.ac: post release version bump
4558 * debian/changelog: version bump
4560 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4565 * configure.ac: bump version
4566 * debian/changelog: updates
4568 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4570 Based on initial code by Christian Dywan (christian@imendio.com)
4572 * doc/hildon-docs.sgml: Add section for hildon-main.
4573 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4574 * src/Makefile.am: Add new hildon-main.[ch]
4575 * src/hildon-defines.h: Update the icon sizes.
4576 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4577 new library initialization files and register icon sizes.
4578 * src/hildon-main.h: New declarations.
4579 * src/hildon.h: Include hildon-main.h
4581 Add new initialization functions to the library. These methods
4582 will register the hildon specific icon sizes and can be used in the
4583 future for other hildon specific bits.
4585 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4587 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-window.c: (hildon_window_realize),
4590 (hildon_window_notify), (-hildon_window_update_title): Do not set
4591 the application name in the window title.
4593 Fixes: NB#89754 (Applications shouldn't display their names in the
4596 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/hildon-note-private.h:
4599 * src/hildon-note.c: (hildon_note_set_property),
4600 (hildon_note_get_property), (hildon_note_class_init),
4601 (hildon_note_init), (hildon_note_finalize),
4602 (hildon_note_new_confirmation_with_icon_name),
4603 (hildon_note_new_information_with_icon_name):
4605 No need to mark as deprecated the actual code. Revert
4606 to avoid missing symbols in widgets using deprecated API.
4608 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4610 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4612 * src/hildon-volumebar.h
4613 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4614 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4616 * src/hildon-helper.h
4617 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4618 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4620 * examples/Makefile.am:
4621 Deprecate hildon-insensitive-example
4623 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4625 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4627 * examples/hildon-pannable-area-buttons-scroll-example.c:
4628 Make all buttons finger height
4630 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4634 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4635 update the day model only if it is really required, and to avoid the
4636 full-reconstruction aproach. Now it only add or remove the required days.
4638 The purpose of this is avoid superfluous HildonTouchSelector::changed
4641 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4642 with strange parameters)
4644 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4646 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4648 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4649 the WINDOW_TYPE property.
4651 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4653 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4656 Fix dependency to allow parallel compilation with make -jX
4658 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4660 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4661 color frame and some minor tweaks to make it more consistent with
4664 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4665 highlighted but not visible)
4667 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4669 * examples/Makefile.am: Fixed typo in the Makefile.am.
4671 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4673 Reviewed the use of MAEMO_GTK define, now we add the define in the
4674 compilation line, and we also add it to the pc file.
4676 * configure.ac: Added MAEMO_GTK define to the compilation command
4677 and removed it from the config.h.
4679 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4680 do not have to take care about this define if the library was
4684 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4686 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4688 * examples/Makefile.am,
4689 * examples/hildon-pannable-area-buttons-scroll-example.c,
4690 * examples/hildon-pannable-area-gesture-signals-example.c,
4691 * examples/hildon-pannable-area-scroll-jump-example.c,
4692 * examples/hildon-pannable-area-tree-view-example.c:
4693 Renamed the pannable area examples, now they have more meaningful
4696 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4698 * src/hildon-touch-selector.c:
4699 (hildon_touch_selector_set_column_selection_mode): Used of
4700 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4701 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4702 to avoid re-seting the same selection mode.
4704 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4705 breaks HildonPickerDialog)
4707 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4709 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4710 conditional in the Makefile.am
4712 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4714 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4715 Remove unused methods.
4717 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-button.c (hildon_button_init):
4720 Make button images center-aligned by default
4722 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4725 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4726 activated, we have to think about how to deal with both defines
4727 MAEMO_GTK and MAEMO_CHANGES.
4729 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4731 * examples/hildon-app-menu-example.c (create_menu): Make all
4732 buttons finger size.
4734 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4736 Fixed the compilation without maemo gtk adding ifdefs with
4737 MAEMO_GTK define to the code, we have to check this version more
4740 * examples/Makefile.am: Added control to avoid some examples that
4741 just make sense with maemo gtk.
4744 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4745 hildon modes with the define.
4747 * examples/hildon-edit-toolbar-example.c,
4748 (create_icon_view): Create the icon view without hildon-gtk
4749 helpers if we are not using maemo gtk.
4751 * src/hildon-touch-selector.c,
4752 (_create_new_column): Create the treeview without hildon-gtk
4753 helpers if we are not using maemo gtk.
4755 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4757 * src/hildon-pnnable-area.c,
4758 (hildon_pannable_area_dispose),
4759 (hildon_pannable_area_button_press_cb),
4760 (hildon_pannable_area_child_mapped),
4761 (hildon_pannable_area_add),
4762 (hildon_pannable_area_remove): Added code to control the position
4763 of the event_window when adding and removing children from the
4764 pannable. We have to raise the event window when the child is
4767 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4768 selection mode using custom widget inside pannable)
4770 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4772 * configure.ac: post release version bump
4773 * debian/changelog: version bump
4775 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4780 * configure.ac: bump version
4781 * debian/changelog: updates
4783 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4785 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4786 search mode, in order to avoid lose the focus on the treeview when
4787 a hw key (like enter) is pressed.
4789 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4790 in HildonDateSelector dialog)
4792 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4794 * debian/rules: Added --enable-maintainer-mode
4795 * Makefile.am: Added ACLOCAL_AMFLAGS
4797 This allows to properly regenerate the Makefiles if you modify the
4798 configure.ac or any Makefile.am.
4800 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4802 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4803 properties, not needed at all.
4805 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4807 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4809 * src/hildon-note.c: (hildon_note_set_property),
4810 (hildon_note_get_property), (hildon_note_class_init),
4811 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4812 (hildon_note_new_confirmation_add_buttons): Remove icons.
4813 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4814 (hildon_note_new_information_with_icon_name): Deprecate.
4815 (hildon_note_new_confirmation): Act directly, without calling
4816 the deprecated constructor.
4817 (hildon_note_new_information): Act directly, without calling
4818 the deprecated constructor.
4819 * src/hildon-note.h: Mark deprecate methods as such.
4820 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4821 not run tests on the deprecated methods if built with deprecation
4824 Fixes: NB#91688 (Never show icons in information notes/confirmation
4827 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4830 (hildon_app_menu_key_press): Remove leftover usage of the
4831 private structure in HildonAppMenu struct.
4832 * src/hildon-app-menu.h: Remove leftover private structure
4833 from the HildonAppMenu struct.
4835 Fixes a crasher when using the HildonAppMenu.
4837 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-picker-dialog.c: Use appropriate logical id
4840 for the default "Done" text.
4842 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4844 * configure.ac: post release version bump
4845 * debian/changelog: version bump
4847 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4849 Modified the way to scroll to the current selection just when the touch
4850 selector is shown on the screen, avoiding a g_idle. Added too a property
4851 to configure this behaviour. See hildon_pannable_area_jump_to_child
4852 documentation for more information.
4854 * src/hildon-touch-selector.c
4855 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4856 Added 'initial-scroll' property
4857 (hildon_touch_selector_set_property): Added
4858 (hildon_touch_selector_map): Removed as not required anymore
4859 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4860 only a concrete column, instead of iterate along all the columns
4862 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4867 * configure.ac: bump version
4868 * debian/changelog: updates
4870 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4873 compilation time warnings.
4875 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4877 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4878 the default value for HildonPannableArea::mov-mode to
4879 HILDON_PANNABLE_AREA_MODE_VERT.
4881 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4883 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4885 Reverting following commit:
4887 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4889 * src/hildon-app-menu-private.h
4890 * src/hildon-app-menu.[ch]
4891 * src/hildon-button.[ch]
4892 * src/hildon-check-button.[ch]
4893 * src/hildon-entry.[ch]
4894 * src/hildon-pannable-area.[ch]
4895 * src/hildon-text-view.[ch]:
4896 Added private field to the object's structure.
4898 because it causes an ABI breakage. We will need to introduce these
4899 changes later at some point. See NB#91636 for an extensive
4900 explanation and status.
4902 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4904 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4906 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4907 remove special cases that are no longer necessary.
4909 Fixes: NB#91016 (Change toolbar sizes, simplification)
4911 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4913 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4914 is shown in the cancel note.
4916 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4919 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4920 (hildon_seekbar_init): Remove steppers, remove expose event.
4921 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4923 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4925 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4928 label font to "SmallSystemFont" for vertically arranged buttons.
4930 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4933 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4935 * src/hildon-check-button.c
4936 (hildon_check_button_set_active, hildon_check_button_clicked):
4937 Don't access private parts directly, use getters instead.
4939 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4941 * src/hildon-check-button.c (hildon_check_button_new):
4942 Align the contents of the check button to the left.
4944 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4946 * src/hildon-pannable-area.c,
4947 (hildon_pannable_area_scroll_to),
4948 (hildon_pannable_area_jump_to),
4949 (hildon_pannable_area_scroll_to_child),
4950 (hildon_pannable_area_jump_to_child): Replace the mapped
4951 precondition of these functions with the realized, it is the
4952 correct state of the widget in this case. Changed the
4953 documentation according to this modification.
4955 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4957 Added a new EXTRA_CFLAGS option to add the deprecated define to
4958 the compilation command. This way we can avoid using the define in
4959 the documentation compilation.
4961 * configure.ac: Defined EXTRA_CFLAGS.
4963 * examples/Makefile.am:
4965 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4967 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4969 * src/hildon-picker-dialog.c:
4970 Defined a utility macro with the desired touch selector height
4971 Removed currently unused separator, and title_label variables from
4973 (hildon_picker_dialog_init): Removed code related to the creation
4974 of unused private variables title_label and separator.
4975 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4976 to ensure correct visualization of the touch selector inside the dialog.
4977 * src/hildon-touch-selector.c
4978 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4979 ensure a concrete height of the widget.
4981 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4984 * tests/Makefile.am:
4986 Remove spurious whitespaces.
4988 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4990 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4991 compilation warning after the cancel button removal.
4993 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4995 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4997 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4998 Makefile.am, that way we can choose not to compile some examples
4999 and tests of the deprecated widgets.
5001 * examples/Makefile.am: Divided the sources in deprecated and
5004 * src/Makefile.am: Added undef statement of the deprecated
5005 symbol to the enums file generation process.
5007 * src/hildon-color-chooser-dialog.c
5008 * src/hildon-color-chooser-dialog.h
5009 * src/hildon-color-button.c
5010 * src/hildon-color-button.h
5011 * src/hildon-color-chooser.c
5012 * src/hildon-color-chooser.h
5013 * src/hildon-controlbar.c
5014 * src/hildon-controlbar.h
5015 * src/hildon-date-editor.c
5016 * src/hildon-date-editor.h
5017 * src/hildon-hvolumebar.c
5018 * src/hildon-hvolumebar.h
5019 * src/hildon-private.c
5020 * src/hildon-private.h
5021 * src/hildon-range-editor.c
5022 * src/hildon-range-editor.h
5023 * src/hildon-seekbar.c
5024 * src/hildon-seekbar.h
5025 * src/hildon-time-editor.c
5026 * src/hildon-time-editor.h
5027 * src/hildon-time-picker.c
5028 * src/hildon-time-picker.h
5029 * src/hildon-volumebar.c
5030 * src/hildon-volumebar.h
5031 * src/hildon-vvolumebar.c
5032 * src/hildon-vvolumebar.h
5033 * src/hildon-bread-crumb-trail.h
5034 * src/hildon-bread-crumb-trail.c
5035 * src/hildon-calendar-popup.c
5036 * src/hildon-calendar-popup.h
5037 * src/hildon-weekday-picker.c:
5038 * src/hildon-weekday-picker.h:
5039 * src/hildon-bread-crumb-widget.c:
5040 * src/hildon-bread-crumb-widget.h:
5041 * src/hildon-bread-crumb.c:
5042 * src/hildon-bread-crumb.h:
5043 * src/hildon-calendar.c:
5044 * src/hildon-calendar.h:
5045 * src/hildon-caption.c:
5046 * src/hildon-code-dialog.c:
5047 * src/hildon-code-dialog.h:
5048 * src/hildon-font-selection-dialog.c:
5049 * src/hildon-font-selection-dialog.h:
5050 * src/hildon-get-password-dialog.c:
5051 * src/hildon-get-password-dialog.h:
5052 * src/hildon-login-dialog.c:
5053 * src/hildon-login-dialog.h:
5054 * src/hildon-number-editor.c:
5055 * src/hildon-number-editor.h:
5056 * src/hildon-set-password-dialog.c:
5057 * src/hildon-set-password-dialog.h:
5058 * src/hildon-sort-dialog.c:
5059 * src/hildon-sort-dialog.h: This is the list of deprecated
5062 * src/hildon-touch-selector.c:
5063 * src/hildon-window.c: Added undef statement to avoid compilation
5066 * tests/Makefile.am: Divided the sources in deprecated and
5069 * tests/check_test.c,
5070 (configure_tests): Marked the deprecated code that was adding
5071 suites with deprecated tests.
5073 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5075 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5077 * src/hildon-touch-selector.c: (_default_print_func): Do not
5078 duplicate a string returned by gtk_tree_model_get(), it is already
5081 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5084 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5086 * src/hildon-pannable-area.c
5087 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5088 method, it had problems when adding a widget with viewport the
5089 second time. Now checks if it already has a viewport and uses it.
5091 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5094 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5096 * src/hildon-pannable-area.c,
5097 (hildon_pannable_area_scroll_to),
5098 (hildon_pannable_area_jump_to),
5099 (hildon_pannable_area_scroll_to_child),
5100 (hildon_pannable_area_jump_to_child): Added a precondition to the
5101 scroll and jump to functions: the widget must be mapped before we
5102 can safely call these functions. We have also added documentation
5103 to the functions to explain how to use them in this situation.
5106 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5108 Reviewed the threading handling of the pannable widget, we have
5109 used the gdk_threads_add_timeout function instead of the usual
5110 glib handlers. This avoids some problems with the threads.
5112 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5113 (hildon_pannable_area_initial_effect),
5114 (hildon_pannable_area_scroll_indicator_fade),
5115 (hildon_pannable_area_button_press_cb),
5116 (hildon_pannable_area_timeout),
5117 (hildon_pannable_area_motion_notify_cb),
5118 (hildon_pannable_area_button_release_cb),
5119 (hildon_pannable_area_scroll_cb),
5120 (hildon_pannable_area_scroll_to): Removed the
5121 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5122 gdk_threads_add_timeout.
5124 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5126 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5131 * configure.ac: bump version
5132 * debian/changelog: updates
5134 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5136 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5137 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5138 * src/hildon-color-chooser-dialog.c:
5139 (hildon_color_chooser_dialog_init):
5140 * src/hildon-font-selection-dialog.c:
5141 (hildon_font_selection_dialog_init):
5142 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5144 Remove all cancel/close-like dialogs, as these are not going to be
5147 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5149 * src/hildon-note.c: (hildon_note_rebuild),
5150 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5153 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5155 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5158 sure all buttons are shown, even the Cancel/Close-like ones.
5160 Fixes: NB#90861 (Custom Confirmation dialogs should be
5161 protected from cancel button removal)
5163 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5165 * debian/control: Change libhildon1-examples dependency from libhildon1
5167 * debian/libhildon1-examples.install
5169 * Makefile.am: Modified the final install directory for the examples on
5170 package libhildon1-examples
5171 * Makefile.static: Update clean target in order to remove all the binary
5174 Changes suggested by Claudio after review new libhildon1-examples package
5176 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5179 * src/hildon-touch-selector.c: Ditto.
5181 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5183 * debian/control: Added new package libhildon1-examples, in order to pack
5184 the current hildon examples as documentation
5185 * debian/rules: Not to compress .c files, modify some includes on the
5186 examples (as normally are compiled locally, but when installed it will
5187 require to include the installed libhildon1 library), and rename
5189 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5190 install all the example files on the new example package
5191 * examples/Makefile.static: Added static makefile that can be used to
5192 compile the examples, once installed the new example package
5193 * examples: Most of the examples were modified in order to grant that
5194 all use only '#include "hildon.h"', in order to be easy to prepare
5195 it on the example package
5197 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5200 * debian/libhildon1-dev.install
5201 * debian/libhildon1-doc.install:
5202 Move all gtk-doc files to a separate libhildon1-doc package.
5204 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5206 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5208 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5210 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5212 * debian/rules: Fixed a error in order to avoid unnecessary calls
5213 to autogen.sh on package building
5215 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5217 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5219 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5221 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5224 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5226 * src/hildon-picker-button.c
5227 (hildon_picker_button_finalize):
5228 Free priv->done_button_text
5230 * src/hildon-time-button.c
5231 (hildon_time_button_set_time)
5232 * src/hildon-picker-button.c
5233 (hildon_picker_button_clicked)
5234 (hildon_picker_button_selector_selection_changed)
5235 (hildon_picker_button_set_selector)
5236 * src/hildon-date-button.c
5237 (hildon_date_button_set_date):
5238 Free strings returned by hildon_touch_selector_get_current_text()
5240 * src/hildon-button.c (hildon_button_construct_child):
5241 Fix leaks in priv->image and priv->label_box
5243 Fixes: NB#90535 (Memory leak in picker button)
5245 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5247 * src/hildon-button.c: (hildon_button_get_property): Do not access
5248 private elements directly, use getters instead.
5250 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5252 * src/hildon-app-menu-private.h
5253 * src/hildon-app-menu.c
5254 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5255 Store the menu's parent window.
5257 * src/hildon-stackable-window.c
5258 (hildon_stackable_window_toggle_menu)
5259 (hildon_stackable_window_finalize):
5260 Set the menu's parent window when the menu is shown, unset it when
5263 * src/hildon-app-menu.c
5264 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5265 (hildon_app_menu_class_init):
5266 Send unhandled keyboard accelerators to the parent window.
5268 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5270 * src/hildon-stackable-window.c
5271 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5273 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5275 * configure.ac: post release version bump
5277 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5280 * configure.ac: Bump version
5281 * debian/changelog: Updates
5282 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5285 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5287 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5290 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5291 GtkMenu with Hildon style.
5293 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5295 * src/hildon-picker-button.c:
5296 (hildon_picker_button_set_done_button_text): Set the dialog's
5297 done button text here as well.
5299 Fixes: NB#90232 (Picker button does not set the label on done button
5300 for the second time)
5302 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5307 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-app-menu.c (hildon_app_menu_insert)
5310 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5311 the HildonAppMenu to be activatable using keyboard accelerators
5312 when the menu is not being shown.
5314 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5316 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5318 * src/hildon-stackable-window.c
5319 (hildon_stackable_window_show):
5320 Don't hide old windows automatically when new windows are shown:
5321 this is now a task for the window manager.
5322 (hildon_stackable_window_class_init)
5323 (hildon_stackable_window_hide):
5324 Remove windows from the stack everytime they're hidden.
5325 (hildon_stackable_window_realize):
5326 Don't change the _NET_WM_WINDOW_TYPE property. Use
5327 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5328 it as a stackable window.
5330 * src/hildon-program.c
5331 (hildon_program_pop_window_stack):
5332 Just hide the window to remove it from the stack.
5333 (hildon_program_go_to_root_window):
5334 Don't call gtk_widget_show(), this is now a task for the window
5337 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5339 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5341 * src/hildon-button.c
5342 (hildon_button_construct_child):
5343 Don't pack anything in the button until text or image are
5344 set. This allows adding a custom child after creating the button
5345 with hildon_button_new().
5346 (hildon_button_finalize, hildon_button_class_init)
5347 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5348 alignment and the label box even when they're not packed in the
5351 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5353 * src/hildon-touch-selector.h:
5354 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5355 currently the type definition was using GTK_TYPE_VBOX
5356 * src/hildon-touch-selector.c:
5357 Added some implementation notes in order to clarify that any other widget
5358 added without the column related API will not be included on the
5359 selection logic, and how the widget is freed, as some people ask about
5361 (hildon_touch_selector_remove): Reimplemented in order to free properly
5362 the column related data when you remove the private hbox.
5363 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5364 to get a proper HildonTouchSelectorColumn documentation
5366 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/hildon-touch-selector-entry.c:
5369 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5370 text in the GtkEntry and there is no item selected. Fixes a
5373 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5375 * src/hildon-app-menu-private.h
5376 * src/hildon-app-menu.[ch]
5377 * src/hildon-button.[ch]
5378 * src/hildon-check-button.[ch]
5379 * src/hildon-entry.[ch]
5380 * src/hildon-pannable-area.[ch]
5381 * src/hildon-text-view.[ch]:
5382 Added private field to the object's structure.
5384 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5386 * configure.ac: post-release version bump
5388 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5392 * configure.ac: pre-release version bump
5394 * debian/changelog: updates.
5396 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5398 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5399 Disconnect the handler for HildonTouchSelector::changed.
5401 (hildon_picker_button_selector_selection_changed): Update the button
5402 value if the selection change was not triggered by the
5405 (hildon_picker_button_set_selector): connect to
5406 HildonTouchSelector::changed.
5408 Fixes: NB#89650 (Picker button is not updated, when selection in
5409 selector has changed)
5411 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5413 * src/hildon-picker-dialog.c
5414 (hildon_picker_dialog_realize): Removed as not required
5415 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5416 * src/hildon-picker-button.c
5417 (_current_selector_empty): New function, checks if the selector is empty
5418 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5419 if the current selector is empty, in order to avoid to show the dialog
5420 close the dialog in this case (and shows a g_warning).
5422 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5424 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5426 * src/hildon-pannable-area.c,
5427 (hildon_pannable_area_scroll): Added clause to stop movement when
5428 the child of pannable is smaller than one page.
5429 (hildon_pannable_area_scroll_to): Added conditions to avoid
5430 starting the scrolling movement if the child is smaller than one
5431 page, the complete child is in the screen, we do not have to move.
5433 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5435 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5437 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5438 this is managed automatically by the widget when the size of the
5441 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-picker-button.c
5444 (hildon_picker_button_set_done_button_text): Make a copy of the
5445 text, and free the previous value.
5447 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-touch-selector-entry.c:
5450 (hildon_touch_selector_entry_print_func): Return the selected row's
5451 text if the entry is empty.
5453 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5456 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5458 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5460 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5463 * src/hildon-check-button.h
5464 * src/hildon-check-button.c
5465 * examples/hildon-check-button-example.c:
5466 HildonCheckButton is now a new widget. 'toggled' signal added.
5468 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5470 * src/hildon-program-private.h
5471 * src/hildon-program.c (hildon_program_init)
5472 (hildon_program_finalize): Removed unused variables group_leader
5473 and name from HildonProgramPrivate.
5475 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5477 * src/hildon-check-button.c (hildon_check_button_set_active)
5478 (hildon_check_button_get_active, hildon_check_button_new): Use
5479 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5481 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5483 * src/hildon-touch-selector.h
5484 (hildon_touch_selector_set_column_attributes): added deprecation
5485 guard HILDON_DISABLE_DEPRECATED
5486 * src/hildon-time-selector.c
5487 (hildon_time_selector_set_time)
5488 (hildon_time_selector_get_time): Fixed a typo on documentation
5489 * src/hildon-touch-selector.c: update HildonTouchSelector and
5490 HildonTouchSelectorColumn documentation
5491 * src/hildon-touch-selector-entry.c: update "text-column" property
5493 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5494 to be added to the general documentation.
5496 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5498 * examples/hildon-pannable-area-example-4.c,
5500 * examples/hildon-pannable-area-example.c,
5501 (main): Modified the code in order to use the container add, with
5502 viewport treeviews could have problems if they are really big.
5504 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5506 * src/hildon-weekday-picker.c,
5507 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5508 the agreement regarding deprecation in the library.
5510 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5512 * examples/hildon-picker-button-multicolumn-example.c:
5513 (main): Use custom "done" button text.
5515 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5516 (hildon_picker_button_set_property),
5517 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5518 (hildon_picker_button_init),
5519 (+hildon_picker_button_get_done_button_text),
5520 (+hildon_picker_button_set_done_button_text): New methods to customize
5521 the "done" button label in the launched HildonPickerDialog. Also,
5524 * src/hildon-picker-button.h: add the public API.
5526 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5528 * src/hildon-date-selector.h:
5529 * src/hildon-picker-dialog.h:
5530 * src/hildon-time-selector.h:
5531 * src/hildon-touch-selector-column.h:
5532 * src/hildon-touch-selector.h:
5534 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5535 declarations. Fixes gtk-doc warnings.
5537 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5539 * src/hildon-picker-dialog.h
5540 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5541 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5543 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5544 long text is set as label for done button)
5546 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5548 * src/hildon-dialog.c (hildon_dialog_add_button):
5549 Set fixed width to all buttons in the HildonDialog.
5551 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5553 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5555 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5556 Set widget name using class name plus "-finger" or "-thumb".
5558 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5560 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5561 'clicked' when the state of the button is manually changed.
5563 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5565 * src/hildon-app-menu.c (hildon_app_menu_realize)
5566 (hildon_app_menu_unrealize, hildon_app_menu_init)
5567 (hildon_app_menu_class_init, item_visibility_changed):
5568 Change the menu layout when the size of the screen changes.
5569 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5570 Show warning only when changing the number of colums using the
5573 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5575 * debian/compat: Set to 5
5576 * debian/control: Update dependencies.
5577 * debian/libhildon1-dbg.install: Remove.
5578 * debian/libhildon1-dev.install: Update according to cdbs paths.
5579 * debian/libhildon1.install: Update according to cdbs paths.
5580 * debian/rules: Switch to cdbs.
5582 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5585 'item' variable renamed to 'filter'
5587 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5589 * src/hildon-app-menu.c (hildon_app_menu_insert)
5590 (hildon_app_menu_add_filter, remove_item_from_list)
5591 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5592 Don't leak hidden items when the menu is destroyed.
5594 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5596 * src/hildon-app-menu.c (hildon_app_menu_insert)
5597 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5598 (hildon_app_menu_set_columns, item_visibility_changed)
5599 (filter_visibility_changed, hildon_app_menu_repack_filters)
5600 (hildon_app_menu_repack_items):
5601 Repack items and filters separately.
5603 Don't repack all items, change only the ones that are needed to
5606 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5608 * src/Makefile.am: added hildon-touch-selector-column.h
5610 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5612 * src/hildon-touch-selector.c: added the property "text-column" to the
5613 class HildonTouchSelectorColumn, and related get/set functions
5614 (_default_printf_func): updated to use "text-column" property
5615 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5616 "text-column" in his documentation, as this is now included on
5617 HildonTouchSelectorColumn. The get/set_property can still be used,
5618 working as a wrapper to the concrete column "text-column" property
5619 (_text_column_modified): callback added in order to handle the signal
5620 "notify::text-column" of the concrete HildonTouchSelectorColumn
5621 (hildon_touch_selector_entry_get_text_column)
5622 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5623 modified in order to use the HildonTouchSelectorColumn "text-column"
5625 * src/hildon-time-selector.c:
5626 * src/hildon-date-selector.c:
5627 * examples/hildon-touch-selector-example.c
5628 * examples/hildon-touch-selector-multi-cells-example.c
5629 * examples/hildon-picker-button-multicolumn-example.c
5630 Set the right value to "text-column" property on the creation of a new
5631 column using hildon_touch_selector_append_column()
5633 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5635 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5637 * src/hildon-app-menu.c
5638 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5639 updating the layout of the menu, don't create all widgets again,
5640 just repack the items in their new places.
5642 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5644 * src/hildon-time-selector.c
5645 (hildon_time_selector_get_time)
5646 (hildon_time_selector_set_time)
5647 Added documentation of these public methods
5649 * src/hildon-date-button.h
5650 * src/hildon-touch-selector-column.h
5651 * src/hildon-time-button.h
5652 * src/hildon-picker-dialog.h
5653 * src/hildon-time-selector.h
5654 * src/hildon-picker-button.h
5655 * src/hildon-touch-selector.h
5656 * src/hildon-time-picker.h
5657 * src/hildon-date-selector.h
5658 * src/hildon-touch-selector-entry.h
5659 Modified in order to use hildon-widgets code style
5661 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5663 Added deprecated support to the compilation process using
5664 HILDON_DISABLE_DEPRECATED
5666 * configure.ac: Added the --disable-deprecated to the configure
5669 * src/hildon-weekday-picker.c:
5670 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5671 to use the deprecated support. We will update the other deprecated
5672 widgets status in a new patch.
5674 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5676 * configure.ac: Fixed typo with fatal warnings support, the
5677 variable name was not correct
5679 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-app-menu.c
5682 * src/hildon-program.c: Update documentation.
5684 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5686 * configure.ac: Post-release version bump.
5688 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5693 * configure.ac: Pre-release version bump.
5694 * debian/changelog: Updates.
5696 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5698 * NEWS: Update news for previous releases.
5700 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5702 * examples/hildon-touch-selector-multi-cells-example.c:
5703 (create_selector): Update the example to use
5704 hildon_touch_selector_append_column() with a NULL renderer and set
5705 the renderers later.
5706 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5707 passed a NULL renderer. This is documented behavior now.
5709 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5710 This must be used if the developer wants full control on the layout of
5711 the renderers to be added to the column.
5713 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5715 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5717 * src/hildon-touch-selector.c: Documentation fixes.
5719 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5721 * src/hildon-wizard-dialog-private.h: Remove image and box.
5722 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5723 (hildon_wizard_dialog_set_property), (response): Completely remove
5724 image/icon support, and the containers required for the layout.
5726 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5728 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5730 * src/hildon-app-menu.c: Updated documentation.
5732 * src/hildon-stackable-window.c
5733 (hildon_stackable_window_set_main_menu): Unref the old menu after
5734 ref'ing the new one.
5736 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5738 * src/hildon-stackable-window.c
5739 (hildon_stackable_window_set_main_menu): Unref the previous menu
5740 instead of destroying it.
5742 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5743 floating reference and set has_user_ref_count to FALSE to make
5744 HildonAppMenu act like a normal ref-counted widget and not a
5747 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5750 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5752 * src/hildon-touch-selector-column.h: new file
5753 * src/hildon-touch-selector.h
5754 * src/hildon-touch-selector.c
5755 Implemented GtkCellLayout interface, in order to allow to configure
5756 the cell layout on each individual selector column
5757 (hildon_touch_selector_set_column_attributes): marked as deprecated
5758 * examples/hildon-touch-selector-multi-cells-example.c
5759 Example of how to use the GtkCellLayout interface on the selector
5761 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5763 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-app-menu.h
5766 * src/hildon-app-menu.c
5767 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5768 (hildon_app_menu_append, hildon_app_menu_prepend):
5769 New methods to prepend, insert and move items in the menu.
5771 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5773 * src/hildon-wizard-dialog.c:
5775 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5777 (create_title): Update logical IDs and related code.
5778 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5780 * src/hildon-wizard-dialog.h: Note that
5781 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5782 point, as it is not used anymore.
5784 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5786 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-note.c:
5789 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5790 shown. Do not display an icon in confirmation notes nor information
5792 (hildon_note_set_button_text): Update logical ID for cancel button.
5794 Fixes: NB#88850 (Update HildonNote button strings + signals)
5796 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-stackable-window.c
5799 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5801 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-app-menu-private.h
5804 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5805 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5806 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5807 temporary property 'columns' to change the number of columns.
5809 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5811 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5813 * examples/hildon-note-example.c: (on_information_clicked),
5814 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5815 debugging information.
5816 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5818 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5819 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5820 in order to close: this will be handled by the WM from now on.
5822 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5824 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5826 * src/hildon-app-menu-private.h
5827 * src/hildon-app-menu.c
5828 (hildon_app_menu_append, hildon_app_menu_add_filter)
5829 (button_visibility_changed, hildon_app_menu_apply_style)
5830 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5831 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5832 layout everytime a button (item or filter) is shown or hidden.
5834 * src/hildon-stackable-window.c
5835 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5838 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5840 * src/hildon-touch-selector.c:
5841 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5842 that the treeview inside the touch selector is in fremantle hildon mode
5843 * examples/hildon-date-button-example.c
5844 * examples/hildon-picker-button-multicolumn-example.c
5845 * examples/hildon-touch-selector-entry-example.c
5846 * examples/hildon-touch-selector-example.c
5847 * examples/hildon-time-button-example.c
5848 * examples/hildon-picker-button-example.c:
5849 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5851 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5853 * examples/hildon-text-view-example.c: (main): Remove the
5854 gtkrc bits, now handled by the theme.
5856 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5858 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5861 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5863 * po/Makefile.am: Install properly the mo files.
5864 * po/en_GB.po: Update translation, to ease testing purposes.
5866 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5868 * examples/hildon-picker-button-example.c: (main): Select an item
5869 in the selector before setting it to the button.
5871 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5874 Update button's value if the selector has an item active.
5876 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5877 'value' with the selector)
5879 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5881 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5882 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5883 (hildon_picker_button_class_init): Plug the finalize method.
5884 (hildon_picker_button_set_selector): If there's a previously set
5885 selector, unref'it before setting a new one.
5887 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5888 HildonTouchSelector)
5890 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5892 * src/hildon-touch-selector-entry.c:
5893 (hildon_touch_selector_entry_changed): Check if there is no text
5894 selected before setting the entry text.
5897 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-touch-selector.h
5900 * src/hildon-touch-selector.c
5901 (hildon_touch_selector_get_active)
5902 (hildon_touch_selector_set_active): New methods to set/get the
5903 index of the selected item.
5905 * src/hildon-picker-button.h
5906 * src/hildon-picker-button.c
5907 (hildon_picker_button_get_active)
5908 (hildon_picker_button_set_active): New methods to set/get the
5909 index of the selected item.
5911 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5913 * configure.ac: post-release version bump.
5915 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5919 * configure.ac: Pre-release version bump.
5920 * debian/changelog: Updates.
5921 * debian/control: Add myself as maintainer and depend on l10n
5924 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5926 * src/hildon-window.c
5927 (hildon_window_set_main_menu)
5928 * src/hildon-stackable-window.c
5929 (hildon_stackable_window_set_main_menu):
5930 Updated documentation.
5932 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5934 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5935 Don't free selector->priv manually.
5938 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5941 (hildon_gtk_window_set_progress_indicator):
5942 * src/hildon-gtk.h: Added the new API
5943 hildon_gtk_window_set_progress_indicator, it changes the state of
5944 the window progress hint.
5946 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5948 * src/hildon-button.c
5949 * src/hildon-stackable-window.c: Minor documentation updates.
5951 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5953 * src/hildon-stackable-window.c: Updated documentation.
5955 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5957 * src/hildon-defines.h: Update margins definitions
5958 to the Fremantle sizes.
5961 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5963 * src/hildon-touch-selector.c,
5964 (_hildon_touch_selector_set_model): Cleaning the code after
5965 review, removed g_print and #if 0 from the code.
5967 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5969 * src/hildon-edit-toolbar.c: Update documentation.
5971 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-check-button.h
5974 * src/hildon-check-button.c
5975 (hildon_check_button_set_label, hildon_check_button_get_label)
5976 * examples/hildon-check-button-example.c
5977 (button_clicked_cb):
5978 Removed deprecated methods.
5980 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5982 * src/hildon-text-view.c:
5983 Add sample code to the documentation.
5985 * src/hildon-entry.h
5986 * src/hildon-text-view.h:
5987 Minor cosmetic changes.
5989 * src/hildon-entry.c:
5990 Add sample code to the documentation.
5991 (hildon_entry_init, hildon_entry_refresh_contents):
5992 Don't allow NULL values in the placeholder.
5994 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5996 * doc/hildon-docs.sgml
5998 * examples/Makefile.am
5999 * examples/hildon-text-view-example.c
6001 * src/hildon-text-view.c
6002 * src/hildon-text-view.h
6004 New HildonTextView widget, with example.
6006 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6008 * po/POTFILES.in: Add missing files with translatable strings.
6009 Partially fixes NB#88287.
6011 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6013 * examples/hildon-pannable-area-example-2.c: (main): No need to
6014 set the cellrenderer height inside hildon touch lists, the theme does
6017 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6019 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6020 they are integrated in the theme.
6022 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6024 * examples/hildon-entry-example.c: Update the example adding
6025 widgets to modify the text and the placeholder of the HildonEntry.
6027 * src/hildon-entry.c: Show the placeholder everytime the widget
6028 is empty and loses the focus.
6030 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6032 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6034 * src/hildon-pannable-area.c,
6035 (hildon_pannable_area_size_request): Fixed bug in height
6036 requisition, avoid increasing size and add border twice.
6038 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6040 * configure.ac: postrelease version bump.
6042 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6046 * configure.ac: Prerelease version bump.
6047 * debian/changelog: update.
6048 * debian/rules: make -dbg package contain useful debugging symbols.
6050 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-dialog.h
6053 * src/hildon-dialog.c
6054 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6055 New methods to add buttons with finger size.
6056 (hildon_dialog_new_with_buttons):
6057 Create buttons with finger size.
6059 * examples/hildon-dialog-example.c (main): Use HildonDialog
6060 methods to add buttons.
6062 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6064 * src/hildon-entry.c: Updated HildonButton documentation.
6066 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6069 button value label with (FALSE, FALSE) to prevent NB#88126 from
6072 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6074 * examples/hildon-pannable-area-example.c,
6075 (main): Removed examples panning a vbox inside a pannable
6076 area. Check bug NB#87965
6078 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6080 Patch contributed by Kris Rietveld (kris@imendio.com)
6082 * src/hildon-pannable-area.c,
6083 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6084 get_size and get_position, this saves an X server roundtrip.
6086 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6088 * doc/hildon-docs.sgml
6090 * examples/Makefile.am
6091 * examples/hildon-entry-example.c
6093 * src/hildon-entry.c
6094 * src/hildon-entry.h
6096 New HildonEntry widget, with example.
6098 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6100 * src/hildon-button.c (hildon_button_construct_child): Pack the
6101 image with expand == fill == FALSE. This is a workaround for a bug
6104 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6106 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6107 labels for the text column, to make it more look more dynamic.
6109 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6111 * src/hildon-time-selector.c
6112 Define gettext auxiliar macro N_
6113 (_create_minutes_model)
6114 (_create_hours_model)
6115 (_create_ampm_model): use of strftime in order to fill the model
6116 * src/hildon-date-selector.c
6117 (hildon_date_selector_finalize):
6118 (_locales_init): remove the logic related to get the name of the months
6119 using nl_langinfo, as it is not required anymore
6121 (_create_year_model)
6122 (_create_month_model)
6123 (_update_day_model): use of strftime in order to fill the model properly
6126 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6128 * src/hildon-button.h
6129 * src/hildon-button.c (hildon_button_get_image): New method to
6132 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6134 * src/hildon-touch-selector.c:
6135 (hildon_touch_selector_remove_column): Remove from the correct parent
6136 and also remove the list element and free it.
6139 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6141 * src/hildon-time-selector.c
6142 (_create_hours_model): change the range on 12h ampm format in order to use
6143 a 12-11 range instead of previous 01-12 range
6144 (hildon_time_selector_set_time): change the way to select the current time
6145 on 12h ampm format, due the change on the range
6146 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6149 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6151 * src/hildon-touch-selector.c
6152 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6153 in order to allow use this function on multiple row selection mode if
6154 the column is different that the first one
6157 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6159 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6160 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6162 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6164 * src/hildon-date-selector.h: clean some comments, now on the .c
6165 * src/hildon-date-selector.c
6166 (hildon_date_selector_select_month): first implementation
6167 (hildon_date_selector_select_day): added documentation, reimplemented
6168 using hildon_date_selector_select_current_date to avoid repeat code
6171 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6173 Reviewed interaction logic based on device experiences, refactored
6176 * src/hildon-pannable-area.c,
6177 (hildon_pannable_area_class_init): Updated default vmax speed.
6178 (hildon_pannable_area_calculate_velocity): Added this function, it
6179 avoids duplicate valocity calculation. Adjusted calculation to
6180 avoid problems with zero dist events.
6182 (hildon_pannable_area_motion_notify_cb): Now we use the
6183 calculate_velocity function.
6185 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6187 * src/hildon-date-selector.c
6188 (hildon_date_selector_select_current_date): fix the day range check
6189 as it failed using the last day of the current month
6192 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6194 * src/hildon-touch-selector.c
6195 (hildon_touch_selector_get_num_columns): added a parameter validation
6198 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6200 * examples/Makefile.am
6201 * examples/hildon-edit-toolbar-example.c: Example of the
6202 HildonEditToolbar widget.
6204 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6206 * configure.ac: postrelease version bump.
6208 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6212 * configure.ac: prerelease version bump.
6213 * debian/changelog: update.
6215 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6217 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6218 renderer to display stock icons in the touch list. Also, set the sizes
6219 to the recommended in the style guide.
6221 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6222 * src/hildon-touch-selector.h
6223 (hildon_touch_selector_set_active_iter): renamed, now is
6224 hildon_touch_selector_select_iter
6225 (hildon_touch_selector_get_active_iter): renamed, now is
6226 hildon_touch_selector_get_selected
6227 (hildon_touch_selector_unselect_iter): added
6228 * src/hildon-touch-selector.c
6229 Update after API modification (methods renamed)
6230 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6231 order to avoid problems selecting multiple elements on the column
6232 (hildon_touch_selector_unselect_iter): added the implementation
6233 * src/hildon-time-selector.c
6234 * src/hildon-date-selector.c
6235 * src/hildon-touch-selector-entry.c
6236 Update methods calls after hildon-touch-selector.h API modification (methods
6239 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6241 * src/hildon-stackable-window.c
6242 (hildon_stackable_window_finalize): Call the parent class's finalize.
6244 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6246 * examples/hildon-touch-selector-example.c: (create_selector): Use
6247 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6250 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6252 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6253 set a cell background color, to respect theming.
6255 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6257 * doc/hildon-docs.sgml
6260 * src/hildon-edit-toolbar.c
6261 * src/hildon-edit-toolbar.h
6262 * src/hildon.h: New HildonEditToolbar widget.
6264 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6266 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6269 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6270 * src/hildon-touch-selector.c
6271 (_create_new_column): use g_object_set instead of two g_object_set_property
6273 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6274 * src/hildon-touch-selector.c
6275 (_create_new_column): use of hildon_gtk_tree_view_new to create
6276 the treeview, instead of use directly g_object_new
6277 (_create_new_column): update the property name "vindicator-mode" for the
6278 new one "vscrollbar-policy"
6279 * examples/hildon-date-button-example.c
6280 * examples/hildon-picker-button-multicolumn-example.c
6281 * examples/hildon-touch-selector-entry-example.c
6282 * examples/hildon-touch-selector-example.c
6283 * examples/hildon-time-button-example.c
6284 * examples/hildon-picker-button-example.c
6285 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6286 to all the treeviews inside a pannable area.
6288 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6290 * src/hildon-button.h
6291 * src/hildon-button.c (hildon_button_init)
6292 (hildon_button_set_arrangement, hildon_button_set_alignment)
6293 (hildon_button_set_title_alignment)
6294 (hildon_button_set_value_alignment)
6295 (hildon_button_set_image_alignment)
6296 (hildon_button_construct_child): New methods to set the alignment
6297 of the individual components of the button (title, value,
6298 image). Also, new method to alter the xscale and yscale properties
6299 of the GtkAlignment inside the button, so more complex layouts can
6302 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6304 * src/hildon-button.c (hildon_button_style_set)
6305 (hildon_button_class_init, hildon_button_set_arrangement)
6306 (hildon_button_construct_child): Apply style properties
6307 correctly. Use the 'image-spacing' style property too.
6309 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6311 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6312 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6315 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6317 * src/hildon-pannable-area.c,
6318 (hildon_pannable_area_size_request): Fixed problem with
6319 pannable-area size_request.
6321 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6323 Added management for the grab-focus to a child widget, like a
6324 range, we need to fade out the scrollbar when releasing.
6326 * src/hildon-pannable-area.c,
6327 (hildon_pannable_area_init): Connected the grab-focus signal to
6329 (hildon_pannable_area_grab_notify): Added this function in order
6330 to manage the situation when the grab-focus ends. We have to
6331 fade-out the scrollbar.
6333 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-app-menu.c: Minor documentation update.
6337 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6339 * src/hildon-app-menu.c
6340 * examples/hildon-app-menu-example.c (create_menu): Update
6341 examples and documentation to explain how to connect callbacks.
6343 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6345 * examples/hildon-button-example.c
6346 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6347 hildon_stackable_window_new instead of gtk_window_new
6349 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6351 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6352 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6353 (hildon_pannable_area_set_property),
6354 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6355 (hildon_pannable_area_unrealize),
6356 (hildon_pannable_area_size_request),
6357 (hildon_pannable_area_size_allocate),
6358 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6359 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6360 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6361 (hildon_pannable_area_initial_effect),
6362 (hildon_pannable_area_redraw),
6363 (hildon_pannable_area_scroll_indicator_fade),
6364 (hildon_pannable_area_expose_event),
6365 (hildon_pannable_area_get_topmost), (synth_crossing),
6366 (hildon_pannable_area_button_press_cb),
6367 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6368 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6369 (hildon_pannable_area_motion_notify_cb),
6370 (hildon_pannable_area_button_release_cb),
6371 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6372 (hildon_pannable_area_remove),
6373 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6374 chage the code layout to a more GtkWidget like. Review the use of
6377 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6379 * examples/hildon-pannable-area-example-4.c,
6380 (main): Modified the name of the hindicator_mode to
6383 * src/hildon-pannable-area.c,
6384 (hildon_pannable_area_class_init),
6385 (hildon_pannable_area_motion_notify_cb),
6386 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6387 we have reduced the amount of signals and managed reviewed its
6388 rationale. Changed the default decelerate value.
6390 (hildon_pannable_area_add),
6391 (hildon_pannable_area_redraw): Refactored functions.
6393 (hildon_pannable_area_init),
6394 (hildon_pannable_area_get_property),
6395 (hildon_pannable_area_set_property):
6396 (hildon_pannable_draw_vscroll),
6397 (hildon_pannable_draw_hscroll),
6398 (hildon_pannable_area_initial_effect),
6399 (hildon_pannable_area_expose_event),
6400 (hildon_pannable_area_scroll),
6401 (hildon_pannable_area_button_press_cb),
6402 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6403 and vindicator_mode with hscrollbar_policy and
6404 vscrollbar_policy. Replaced hscroll and vscroll with
6405 hscroll_visible and vscroll_visible.
6407 (hildon_pannable_area_refresh): Refactor the function, remove
6408 variables and check the calls to this function, added resize
6409 conditions in case the children change their layout.
6411 (hildon_pannable_area_size_request): Added more detailed
6412 size_request calculation.
6415 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6417 * src/hildon-color-chooser.c
6418 (init_borders): use the correct gtk_border_free instead of g_free, to
6419 avoid a crash when this widget is used (ie: the three color selection
6422 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6424 * src/hildon-check-button.c,
6425 (hildon_check_button_set_active): Fixed problem when setting the
6426 active value, the widget was not redrawn.
6428 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6430 * src/hildon-pannable-area.c,
6431 (hildon_pannable_area_refresh),
6432 (hildon_pannable_area_scroll),
6433 (hildon_pannable_area_motion_notify_cb): Small code style change.
6435 (hildon_pannable_area_class_init): Default initial_hint set to
6436 FALSE, it is not in the specs.
6438 (hildon_pannable_area_initial_effect),
6439 (hildon_pannable_area_expose_event),
6440 (hildon_pannable_area_map),
6441 (hildon_pannable_area_init): Moved the launching point of the
6442 initial effect, it was in map but the sizes where not correct in
6443 that method so we do not know if we have the reproduce it. Now it
6444 is placed in the expose_event method and uses a variable to
6445 reproduce it just once.
6447 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6449 * src/hildon-pannable-area.c,
6450 (hildon_pannable_draw_vscroll),
6451 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6452 position allowed for the scrollbars.
6454 (hildon_pannable_area_size_allocate): Small style change.
6456 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6458 * src/hildon-pannable-area.c,
6459 (hildon_pannable_area_scroll_indicator_fade),
6460 (hildon_pannable_area_button_press_cb),
6461 (hildon_pannable_area_button_release_cb),
6462 (hildon_pannable_area_scroll_cb),
6463 (hildon_pannable_area_expose_event),
6464 (hildon_pannable_area_init): Added the define parameter
6465 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6466 and refactor the fade variable.
6468 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6470 * src/hildon-pannable-area.c,
6471 (hildon_pannable_area_redraw),
6472 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6473 lines, we were reimplemeting the redraw code.
6475 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6477 * src/hildon-pannable-area.c,
6478 (hildon_pannable_area_scroll_cb),
6479 (hildon_pannable_area_realize),
6480 (hildon_pannable_area_class_init): Added scroll_event management
6481 for pannable area, now we can scroll the usual desktop method.
6483 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6484 initialization of the parameters should depend on idle_id.
6486 (hildon_pannable_area_init),
6487 (hildon_pannable_area_map): Small code style modifications
6489 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c
6492 (hildon_pannable_area_button_press_cb),
6493 (hildon_pannable_area_motion_notify_cb),
6494 (hildon_pannable_area_button_release_cb),
6495 (hildon_pannable_area_size_allocate),
6496 (hildon_pannable_area_scroll_to): Improved the timeouts
6497 management, we avoid creating them each time.
6499 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6501 * src/hildon-pannable-area.c:
6502 (hildon_pannable_area_refresh),
6503 (hildon_pannable_area_motion_notify_cb),
6504 (hildon_pannable_area_class_init):
6505 * src/hildon-pannable-area.h:
6506 * src/hildon-touch-selector.c
6507 (_create_new_column):
6508 * examples/hildon-pannable-area-example-4.c:
6509 (horizontal_movement),
6510 (vertical_movement),
6512 Replaced the names of enums in the HildonPannableArea:
6513 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6514 HILDON_MOVEMENT_MODE_*
6515 - HILDON_PANNABLE_AREA_MOV_* ->
6517 - Removed HildonPannableAreaIndicatorMode, now we
6520 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6522 * examples/hildon-pannable-area-touch-grid-example.c
6523 * examples/hildon-pannable-area-touch-list-example.c: Fix
6524 compilation warnings.
6526 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6528 * src/hildon-gtk.c (hildon_gtk_button_new)
6529 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6530 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6531 images overriding the value of the "gtk-button-images" setting.
6533 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6535 * src/hildon-check-button.c (hildon_check_button_new):
6536 Instead of using a custom container, display the label and the
6537 checkbox using the standard GtkButton API.
6539 * examples/hildon-check-button-example.c (main): Don't use
6540 hildon_check_button_set_label() anymore
6542 * src/hildon-check-button.h
6543 * src/hildon-check-button.c
6544 (hildon_check_button_set_label, hildon_check_button_get_label):
6545 Set as deprecated, now we're using gtk_button_{get,set}_label()
6547 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6549 * src/hildon-pannable-area.c,
6550 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6551 GtkTreeview first line we detected it after the inclusion of the
6552 GtkWindowImpl in gtk+. We now check if the window is visible, not
6553 just if the pointer is over the window.
6554 (hildon_pannable_axis_scroll),
6555 (hildon_pannable_area_expose_event): Small style changes.
6557 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6559 * src/hildon-button.c: Update documentation.
6561 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6563 * examples/hildon-button-example.c: Add a switch to show images in
6566 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6568 * doc/hildon-docs.sgml: Some docs reorganization.
6570 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6572 * examples/hildon-pannable-area-touch-list-example.c
6574 * examples/hildon-pannable-area-touch-grid-example.c
6575 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6576 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6577 Fix memory leak when setting the tree model.
6579 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6583 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6585 * doc/hildon.types: Remove duplicated hildon_window_get_type
6586 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6587 documentation comment.
6589 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6591 * doc/Makefile.am: Complete list of private headers.
6593 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6595 * doc/hildon-docs.sgml
6596 * src/hildon-app-menu.c
6597 * src/hildon-bread-crumb.c
6598 * src/hildon-button.c
6600 * src/hildon-program.c
6601 * src/hildon-stackable-window.c
6602 * src/hildon-window.c: Lots of documentation updates.
6604 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6606 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6608 * configure.ac: Require Gtk+ 2.12.9 at least
6610 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6612 * src/hildon-pannable-area.c
6613 (hildon_pannable_area_scroll_indicator_fade),
6614 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6615 to protect the return of this timeout callbacks, avoiding deadlocks.
6617 2008-08-12 Christian Dywan <christian@imendio.com>
6620 * src/hildon-*.h: Ensure a consistent include order,
6621 include <gtk/gtk.h> instead of particular files and
6622 only include the topmost header in the gtk stack. See NB #39857
6624 2008-08-12 Christian Dywan <christian@imendio.com>
6626 * src/hildon-picker-dialog.c
6627 * src/hildon-touch-selector.c: Fix warnings about unused and
6628 uninitialized variables.
6630 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6632 * examples/Makefile.am
6633 * examples/hildon-check-button-example.c: Example of the hildon
6636 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-window.h
6639 * src/hildon-window.c (hildon_window_class_init)
6640 (hildon_window_unset_program): Don't make
6641 hildon_window_unset_program a virtual function anymore.
6643 * src/hildon-stackable-window.c: Update documentation
6645 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6648 * doc/hildon-docs.sgml
6649 * doc/visual_index.xml
6650 * src/hildon-defines.c
6652 * src/hildon-helper.c
6653 * src/hildon-range-editor.c: Lots of documentation fixes.
6655 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6657 * examples/hildon-picker-button-multicolumn-example.c
6658 (create_touch_selector): Fix compilation warning.
6660 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6662 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6663 (hildon_pannable_area_button_release_cb)
6664 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6666 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6668 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6671 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6673 * src/hildon-bread-crumb-trail.h
6674 * src/hildon-date-editor.c
6675 * src/hildon-date-selector.c
6676 * src/hildon-pannable-area.c
6677 * src/hildon-picker-dialog.c
6678 * src/hildon-time-selector.c
6679 * src/hildon-touch-selector-entry.c
6680 * src/hildon-touch-selector.c
6681 * src/hildon-touch-selector.h: Misc documentation fixes
6683 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6685 * examples/hildon-date-editor-example.c (main): Updated date
6688 * examples/hildon-note-example.c (on_confirmation_clicked):
6689 Updated confirmation note example.
6691 * src/hildon-date-editor.c
6692 * src/hildon-note.c: Updated sample programs in documentation.
6695 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6697 * src/hildon-date-button.h:
6698 * src/hildon-picker-button.h:
6699 * src/hildon-time-button.c:
6700 * src/hildon-time-button.h:
6702 Some declarations changes to allow gtk-doc to document the widgets
6705 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6707 * src/hildon-date-button.c: Document the widget.
6708 * src/hildon-time-button.c: Document the widget.
6710 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6712 * src/hildon-picker-button.c: Document the widget.
6713 * src/hildon-touch-selector-entry.c: Document the widget.
6715 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6717 * doc/hildon-docs.sgml
6720 * src/hildon-check-button.h
6721 * src/hildon-check-button.c: New functions to create the Hildon
6725 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6727 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-button.h
6730 * src/hildon-button.c
6731 (hildon_button_add_title_size_group)
6732 (hildon_button_add_value_size_group)
6733 (hildon_button_add_image_size_group)
6734 (hildon_button_add_size_groups): New functions to set size groups
6735 for the button labels and image.
6736 (hildon_button_new_full): Removed
6738 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6740 * src/hildon-time-selector.c
6741 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6742 in order to avoid a crash if gconf is not available
6744 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6746 * src/hildon-button.c (hildon_button_set_arrangement)
6747 (hildon_button_construct_child): Don't construct the button child
6748 before setting the arrangement.
6750 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6752 * src/hildon-program-private.h
6753 * src/hildon-program.c
6754 * src/hildon-program.h
6755 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6756 (hildon_program_peek_window_stack)
6757 (hildon_program_pop_window_stack)
6758 (hildon_program_go_to_root_window): HildonProgram now has a
6759 separate list for stackable windows. Functions are provided to
6760 manage that list with a stack-like API.
6762 * src/hildon-stackable-window.c: Stackable window management is
6763 now much simpler with the new HildonProgram API. Windows no
6764 longer need to be manually added to the program, they're
6765 automatically pushed to the top of the stack when shown.
6767 * examples/hildon-stackable-window-example.c: Updated example to
6768 reflect the API changes.
6770 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6772 * src/hildon-touch-selector.c: Comment out unimplemented
6773 hildon_touch_selector_insert_column() to avoid a compile warning.
6775 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6777 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6778 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6779 (hildon_touch_selector_set_column_selection_mode),
6780 (_hildon_touch_selector_set_model),
6781 (hildon_touch_selector_set_model):
6783 Complete review of HildonTouchSelector documentation.
6785 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6787 * doc/hildon-docs.sgml
6791 * src/hildon-gtk.c: Convenience functions for standard Gtk
6792 widgets, used to easily perform frequent operations.
6794 * src/hildon-button-helpers.h
6795 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6797 * src/hildon-helper.h
6798 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6799 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6801 * src/hildon-button.h
6802 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6804 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6806 * src/hildon-button.c (hildon_button_init)
6807 (hildon_button_set_arrangement, hildon_button_construct_child):
6808 Pack the image and the labels inside the same GtkAlignment so
6809 gtk_button_set_alignment() can be used
6811 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6813 * src/hildon-button.h
6814 * src/hildon-button.c
6815 (hildon_button_init, hildon_button_set_image)
6816 (hildon_button_set_image_position)
6817 (hildon_button_construct_child): New functions to add an image to
6820 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6822 * src/hildon-date-button.c
6823 * src/hildon-picker-button.c
6824 * src/hildon-time-button.c
6825 * src/hildon-button.c:
6826 (hildon_button_class_init): "size-flags" renamed to "size"
6827 (hildon_button_set_title): Hide the title label if set to NULL.
6829 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6831 HildonButtonFlags split into HildonButtonArrangement (to set the
6832 button layout) and HildonSizeType (which can be used for any
6835 * src/hildon-button.h
6836 * src/hildon-button.c
6837 (hildon_button_class_init)
6838 (hildon_button_set_arrangement)
6839 (hildon_button_set_property): New "size-flags"
6840 property. "arrangement-flags" renamed to "arrangement".
6841 (hildon_button_new, hildon_button_new_with_text)
6842 (hildon_button_new_full): Constructors updated to reflect type changes.
6844 * src/hildon-helper.h
6845 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6846 to set the size of a widget.
6850 * src/hildon-button-helpers.c
6851 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6853 * src/hildon-date-button.c
6854 * src/hildon-date-button.h
6855 * src/hildon-picker-button.c
6856 * src/hildon-picker-button.h
6857 * src/hildon-time-button.c
6858 * src/hildon-time-button.h: Updated widgets to reflect
6859 HildonButton API changes.
6861 * examples/hildon-button-example.c
6862 * examples/hildon-date-button-example.c
6863 * examples/hildon-picker-button-example.c
6864 * examples/hildon-picker-button-multicolumn-example.c
6865 * examples/hildon-time-button-example.c
6866 * examples/hildon-touch-selector-entry-example.c
6867 * examples/hildon-touch-selector-example.c: Updated examples to
6868 reflect HildonButton API changes.
6870 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6872 * doc/hildon-docs.sgml:
6874 * examples/Makefile.am:
6875 * examples/hildon-touch-selector-entry-example.c:
6877 * src/hildon-touch-selector-entry.c:
6878 * src/hildon-touch-selector-entry.h:
6881 Moved HildonTouchSelectorEntry from sandbox. Added its
6882 documentation and examples.
6884 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6886 * src/hildon-touch-selector.h:
6887 * examples/hildon-picker-button-multicolumn-example.c:
6888 (hildon_touch_selector_append_text_column): Add a gboolean
6889 parameter to determine if text must be centered in the column.
6891 * src/hildon-date-selector.c: (hildon_date_selector_init):
6892 * src/hildon-time-selector.c: (hildon_time_selector_init):
6893 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6894 (create_touch_selector): Update widgets and example to reflect
6897 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6899 * src/hildon-touch-selector.c:
6900 (hildon_touch_selector_set_active_iter): Set also the cursor in
6903 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6905 * doc/hildon-docs.sgml
6908 * src/hildon-toggle-button.c
6909 * src/hildon-toggle-button.h
6910 * src/hildon.h: Removed HildonToggleButton widget, a derived
6911 class is not necessary for this.
6913 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6915 * src/hildon-pannable-area.c,
6916 (hildon_pannable_area_realize),
6917 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6920 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6922 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6923 "done" button the default widget for the dialog.
6925 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6927 * src/hildon-touch-selector.c:
6928 (hildon_touch_selector_class_init),
6929 (hildon_touch_selector_get_property),
6930 (_hildon_touch_selector_set_model),
6931 (_hildon_touch_selector_has_multiple_selection),
6932 (hildon_touch_selector_has_multiple_selection):
6933 Add a "has-multiple-selection" property with a virtual
6934 has_multiple_selection() method to allow derived classes to
6935 override the default value for it. See the method and property
6936 documentation for details.
6938 * src/hildon-touch-selector.h: Add the new API.
6940 * src/hildon-picker-dialog.c: (requires_done_button): Call
6941 hildon_touch_selector_has_multiple_selection() instead of
6942 determining the need for a button itself.
6944 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6946 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6947 (_hildon_touch_selector_set_model),
6948 (hildon_touch_selector_set_model): Move working code to
6949 _hildon_touch_selector_set_mode(). Call the class method instead.
6951 * src/hildon-touch-selector.h: Add (*set_model) to
6952 HildonTouchSelectorClass.
6954 Make hildon_touch_selector_set_model() a virtual method, so that
6955 derived classes can extend it and do fancy stuff with the model.
6957 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6959 * configure.ac: Set back the tarname in AC_INIT to hildon.
6961 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6965 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6966 instead of libesd (NB#86876). Volume handling is still an open issue.
6968 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6971 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6973 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6974 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6975 derived class to ease placement of an entry widget in
6976 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6977 end, where the selector columns are packed now.
6979 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6981 * src/hildon-picker-button.c: Removed the simple _text() API.
6982 * src/hildon-picker-button.h: Likewise.
6984 * src/hildon-touch-selector.h:
6985 * src/hildon-touch-selector.c:
6986 (hildon_touch_selector_new_text),
6987 (hildon_touch_selector_append_text),
6988 (hildon_touch_selector_prepend_text),
6989 (hildon_touch_selector_insert_text):
6991 Moved the simple _text() API from HildonPickerButton to
6992 HildonTouchPicker, to provide better escalability and not to tie
6993 that API to HildonPickerButton.
6995 * examples/hildon-picker-button-example.c: (main): Example updated.
6997 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6999 * src/hildon-button.c: Updated documentation.
7001 * examples/hildon-button-example.c: Add the posibility to create
7002 the buttons using horizontal layout for title and value.
7004 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7006 * src/hildon-app-menu-private.h
7007 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7008 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7009 GtkSizeGroup for the filters, use the 'homogeneous' property of
7012 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7014 * examples/hildon-button-example.c: Updated example.
7016 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7018 * doc/hildon-docs.sgml:
7021 Update documentation.
7023 * examples/Makefile.am: Update renamed examples.
7025 * examples/hildon-picker-button-multicolumn-example.c:
7026 (create_touch_selector), (main): Update after the rename.
7028 * examples/hildon-touch-picker-example.c: Removed.
7029 * examples/hildon-touch-selector-example.c: (value_changed),
7030 (create_selector), (get_visible_content), (main): Renamed from
7031 hildon-touch-picker-example.c
7033 * src/Makefile.am: Updated renamed files.
7035 * src/hildon-date-button.c: (hildon_date_button_init),
7036 (hildon_date_button_get_date), (hildon_date_button_set_date):
7037 * src/hildon-date-selector.c: (hildon_date_selector_init),
7038 (_custom_print_func), (_update_day_model),
7039 (_manage_selector_change_cb),
7040 (hildon_date_selector_select_current_date),
7041 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7042 * src/hildon-date-selector.h:
7043 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7044 (hildon_picker_button_set_property),
7045 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7046 (hildon_picker_button_init), (hildon_picker_button_new_text),
7047 (hildon_picker_button_append_text),
7048 (hildon_picker_button_prepend_text),
7049 (hildon_picker_button_insert_text),
7050 (hildon_picker_button_set_selector),
7051 (hildon_picker_button_get_selector):
7052 * src/hildon-picker-button.h:
7053 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7054 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7055 (_update_title_on_selector_changed_cb), (requires_done_button),
7056 (_hildon_picker_dialog_set_selector),
7057 (hildon_picker_dialog_set_selector),
7058 (hildon_picker_dialog_get_selector):
7059 * src/hildon-picker-dialog.h:
7060 * src/hildon-time-button.c: (hildon_time_button_init),
7061 (hildon_time_button_get_time), (hildon_time_button_set_time):
7062 * src/hildon-time-selector.c: (hildon_time_selector_init),
7063 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7064 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7065 * src/hildon-time-selector.h:
7068 Massive code updates after the rename.
7070 * src/hildon-touch-picker.c: Removed.
7071 * src/hildon-touch-picker.h: Removed.
7073 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7074 (hildon_touch_selector_init), (hildon_touch_selector_map),
7075 (hildon_touch_selector_remove), (_default_print_func),
7076 (_selection_changed_cb), (_create_new_column),
7077 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7078 (hildon_touch_selector_append_text_column),
7079 (hildon_touch_selector_remove_column),
7080 (hildon_touch_selector_set_column_attributes),
7081 (hildon_touch_selector_insert_column),
7082 (hildon_touch_selector_get_num_columns),
7083 (hildon_touch_selector_get_column_selection_mode),
7084 (hildon_touch_selector_set_column_selection_mode),
7085 (hildon_touch_selector_set_print_func),
7086 (hildon_touch_selector_get_print_func),
7087 (hildon_touch_selector_get_active_iter),
7088 (hildon_touch_selector_set_active_iter),
7089 (hildon_touch_selector_get_selected_rows),
7090 (hildon_touch_selector_get_model),
7091 (hildon_touch_selector_set_model),
7092 (hildon_touch_selector_get_current_text),
7093 (_hildon_touch_selector_center_on_selected_items):
7094 * src/hildon-touch-selector.h: Renamed from
7095 hildon-touch-picker.[ch]
7097 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7098 references, code examples, and related documentation.
7100 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7102 * doc/hildon-docs.sgml
7105 * src/hildon-toggle-button.c
7106 * src/hildon-toggle-button.h
7107 * src/hildon.h: New HildonToggleButton widget.
7109 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7111 * src/hildon-button.c: Add API documentation.
7112 (hildon_button_set_size_groups): Check input parameters
7114 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7116 * src/hildon-pannable-area.c
7117 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7118 effect after reaching the movement thredshold. This way we start
7119 using the distance after passing the thredshold.
7121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7123 * src/hildon-button.c: (hildon_button_set_property): Use the
7124 appropriate g_value_get_flags() method.
7126 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7128 * doc/hildon-docs.sgml:
7131 Add the touch pickers, picker dialogs, and picker button widgets
7132 to the documentation.
7134 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7136 * src/hildon-button.c: (hildon_button_set_property),
7137 (hildon_button_class_init): Make "arrangement-flags" a proper
7138 G_TYPE_FLAGS derived property.
7140 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7142 * examples/Makefile.am: Add below examples.
7143 * examples/hildon-date-button-example.c:
7144 * examples/hildon-picker-button-example.c:
7145 * examples/hildon-picker-button-multicolumn-example.c:
7146 * examples/hildon-time-button-example.c:
7147 * examples/hildon-touch-picker-example.c:
7149 Add examples for the recently added touch pickers,
7150 picker dialogs, and picker button widgets.
7152 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7154 * src/hildon-button.c: Add some API documentation
7156 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7158 * src/hildon-button.h
7159 * src/hildon-button.c
7161 (hildon_button_new_with_text): New constructor to create a button
7162 with no text at all.
7163 (hildon_button_init, hildon_button_set_arrangement)
7164 (hildon_button_set_title, hildon_button_set_value)
7165 (hildon_button_set_text)
7166 (hildon_button_construct_child): Hide the value when it's not used
7167 so the rest of the text is properly aligned.
7168 Allow creating buttons with arbitrary widgets inside (not just
7169 title/value labels).
7171 * examples/hildon-button-example.c (vertical_buttons_window)
7172 (horizontal_buttons_window): Update example to use new API.
7174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7176 * src/Makefile.am: Added HildonTimeButton.
7177 * src/hildon-time-button.c: Added missing LGPL header.
7178 * src/hildon-time-button.h: Added missing LGPL header.
7179 * src/hildon.h: Add hildon-time-button.h
7181 Copied HildonTimeButton from sandbox to trunk. Future work on this
7182 widget must take place in trunk.
7184 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7186 * src/Makefile.am: Added HildonDateButton.
7187 * src/hildon-date-button.c: Update includes.
7188 * src/hildon.h: Add hildon-date-button.h
7190 Copied HildonDateButton from sandbox to trunk. Future work on this
7191 widget must take place in trunk.
7193 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7195 * src/Makefile.am: Added HildonPickerButton.
7196 * src/hildon-picker-button.h: Update includes.
7197 * src/hildon.h: Add hildon-picker-button.h
7199 Copied HildonPickerButton from sandbox to trunk. Future work on
7200 this widget must take place in trunk.
7202 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7204 * src/Makefile.am: Added HildonPickerDialog.
7205 * src/hildon-picker-dialog.c: Update includes.
7206 * src/hildon.h: Add hildon-picker-dialog.h
7208 Copied HildonPickerDialog from sandbox to trunk. Future work
7209 on this widget must take place in trunk.
7211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/Makefile.am: Added HildonTimeSelector.
7214 * src/hildon.h: Add hildon-time-selector.h
7216 Copied HildonTimeSelector widget from sandbox to trunk. Future
7217 work on this widget must happen in trunk.
7219 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7221 * src/Makefile.am: Added HildonDateSelector.
7222 * src/hildon.h: Add hildon-date-selector.h
7224 Copied HildonDateSelector widget from sandbox to trunk. Future
7225 work on this widget must happen in trunk.
7227 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7229 * src/Makefile.am: Added HildonTouchPicker.
7230 * src/hildon-touch-picker.c: Update includes.
7231 * src/hildon.h: Add hildon-touch-picker.h
7233 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7234 on this widget must happen in trunk.
7236 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7238 * src/hildon-pannable-area.c:
7239 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7241 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7243 * examples/hildon-app-menu-example.c (main): Let the window
7246 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7248 * src/hildon-pannable-area.c
7249 (hildon_pannable_area_class_init): Set the min value of the
7250 overshoot properties to zero, which points out that not
7251 overshooting allowed.
7253 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7255 Modified the procedure to get the widget at a point inside the
7256 pannable area when using the movement type signals. Now the user
7257 has to call a function to get the child, that way we just
7258 calculate the child in case the user really want to use it and not
7261 * src/hildon-marshalers.list: Modified the marshallers, now we do
7262 not have the widget as a parameter.
7264 * src/hildon-pannable-area.c
7265 (hildon_pannable_area_motion_notify_cb),
7266 (hildon_pannable_area_class_init),
7267 (hildon_pannable_get_child_widget_at): Removed the widget
7268 parameter from the signal callback. We have also refactored the
7269 emission of the signals.
7271 * src/hildon-pannable-area.h: Added a new method to the API to
7272 calculate a widget at a point inside the pannable area,
7273 hildon_pannable_get_child_widget_at.
7275 * examples/hildon-pannable-area-example-4.c
7276 (horizontal_movement): Modified the example to use the new API,
7277 added condition to control which widget is under the event. This
7278 way we can avoid scrolling laterally over other widgets.
7280 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7282 * src/hildon-pannable-area.c
7283 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7284 modes, we stop getting the pointer events due to returning the
7285 callback without properly calling the get pointer again. Fixed
7286 also an error using the hscroll and vscroll.
7288 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7290 * src/hildon-app-menu-private.h
7291 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7292 (hildon_app_menu_button_release, hildon_app_menu_init)
7293 (hildon_app_menu_class_init): Don't hide the menu on button
7294 release if the user didn't press outside first.
7296 * src/hildon-window.h
7297 * src/hildon-window.c (hildon_window_toggle_menu)
7298 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7299 hildon_window_toggle_menu a virtual function for the stackable
7300 window to override it.
7302 * src/hildon-stackable-window.h
7303 * src/hildon-stackable-window-private.h
7304 * src/hildon-stackable-window.c
7305 (hildon_stackable_window_realize)
7306 (hildon_stackable_window_finalize)
7307 (hildon_stackable_window_class_init)
7308 (hildon_stackable_window_init)
7309 (hildon_stackable_window_set_main_menu): New function to set the
7310 app menu of a HildonStackableWindow.
7312 * examples/hildon-app-menu-example.c: Remove the button to show
7313 the app menu, now it'll be shown when clicking on the title bar
7316 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7318 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7319 set the widget name if the arrangement flags do not specify
7322 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7324 * src/hildon-button.c: (hildon_button_set_property),
7325 (hildon_button_class_init), (hildon_button_new_full),
7326 (hildon_button_set_arrangement): Added "arrangement-flags"
7329 Make the HildonButtonFlags a construction-only property, to allow
7330 subclasses to set them properly.
7332 2008-07-21 Tim Janik <timj@imendio.com>
7334 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7335 insertion position after backspace, so additional digits are appended,
7338 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7340 * src/hildon-pannable-area.c,
7341 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7342 TODO list, it was complete and removed the g_debug and g_print
7345 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7347 Added the movement modes to the hildon-pannable-area, with this
7348 modes the developers can control in which directions the widget
7349 can scroll. They can also connect to signals in order to do
7350 something when that happens, allowing applications scroll. There
7351 is an example uploaded showing how to use it.
7353 * examples/Makefile.am:
7354 * examples/hildon-pannable-area-example-4.c: Added this example of
7355 an application using the modes.
7357 * src/hildon-marshalers.list: Added a new marshaller for the new
7360 * src/hildon-pannable-area.h: Added new enumerations and flags in
7361 order to control the movement modes and the new signals to warn
7362 about the movements in the area.
7364 * src/hildon-pannable-area.c:
7365 (hildon_pannable_axis_scroll),
7366 (hildon_pannable_area_scroll),
7367 (hildon_pannable_area_motion_notify_cb),
7368 (hildon_pannable_area_get_property),
7369 (hildon_pannable_area_set_property),
7370 (hildon_pannable_area_map),
7371 (hildon_pannable_area_class_init),
7372 (hildon_pannable_area_init),
7373 (hildon_pannable_area_jump_to): Added the modes to control the
7374 movement in the widget. We have added properties to control it,
7375 signals to warn about the movements and refactored some code.
7377 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7379 Changes required in order to allow vfast_factor set to zero to
7382 * src/hildon-pannable-area.c:
7383 (hildon_pannable_area_button_press_cb): Changed the condition, it
7384 is required for not allowing click when vfast_factor is zero.
7385 (hildon_pannable_area_timeout): Initialized velocity variables
7386 when we stop moving, it was less than 1 but not zero and we need
7387 to check zero in some situations.
7388 (hildon_pannable_area_class_init): Changed the default value of
7389 the speed factor, now the button_press is just sent in case the
7390 speed is 2 per cent of the max speed.
7391 (hildon_pannable_area_init): Initialization with 0.
7393 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7395 * src/hildon-pannable-area.c,
7396 (hildon_pannable_area_get_topmost): replaced
7397 gdk_window_get_children with gdk_window_peek_children, this way we
7398 do not have to free the list because it is not a copy.
7400 (hildon_pannable_axis_scroll),
7401 (hildon_pannable_area_scroll),
7402 (hildon_pannable_area_timeout),
7403 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7404 two parameters that were only used inside the
7405 hildon_pannable_area_scroll function.
7407 * examples/hildon-pannable-area-example.c,
7408 (get_sawtooth_label): Fixed small memory leak.
7410 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7412 More checks for the case where the overshoot is bigger than the
7415 * src/hildon-pannable-area.c:
7416 (hildon_pannable_draw_vscroll),
7417 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7418 to draw the slider of the scrollbar under the other scrollbar.
7419 (hildon_pannable_area_expose_event): added new checks to control
7420 the drawing of the overshooting area rectangle, in case it is too
7421 big for the area of the widget.
7422 (hildon_pannable_area_size_allocate): add more checks to avoid
7423 setting a position to the child widget outside the area.
7425 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7427 * src/hildon-pannable-area.c
7428 (hildon_pannable_area_size_allocate): Added conditions to control
7429 when overshooting is bigger than the allocated space for the
7430 children, this avoids negative allocations.
7432 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7434 * doc/hildon-docs.sgml
7436 * examples/Makefile.am
7437 * examples/hildon-button-example.c
7439 * src/hildon-button.c
7440 * src/hildon-button.h
7441 * src/hildon.h: Initial version of the new HildonButton widget,
7444 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7446 * src/hildon-pannable-area.c:
7447 (hildon_pannable_area_button_press_cb),
7448 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7449 (hildon_pannable_area_motion_notify_cb),
7450 (hildon_pannable_area_button_release_cb),
7451 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7452 (hildon_pannable_area_jump_to_child):
7454 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7456 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7458 * examples/Makefile.am
7459 * examples/hildon-pannable-area-touch-grid-example.c
7460 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7461 the Hildon Touch List and Hildon Touch Grid using the
7462 HildonPannableArea widget.
7464 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7466 * src/hildon-pannable-area.c,
7467 (hildon_pannable_area_button_press_cb),
7468 (hildon_pannable_area_refresh),
7469 (hildon_pannable_area_scroll),
7470 (hildon_pannable_area_motion_notify_cb),
7471 (hildon_pannable_area_button_release_cb),
7472 (hildon_pannable_area_expose_event),
7473 (hildon_pannable_area_add),
7474 (hildon_pannable_area_remove),
7475 (hildon_pannable_area_realize),
7476 (hildon_pannable_area_size_allocate),
7477 (hildon_pannable_area_class_init),
7478 (hildon_pannable_area_init),
7479 (hildon_pannable_area_scroll_to_child),
7480 (hildon_pannable_area_jump_to_child): Fixed the problem of
7481 removing the child from the GtkBin, we have rearranged the widget
7482 hierarchy, now there is no GtkAlignment which was not doing
7483 anything interesting but breaking some of the assumptions of
7484 GtkContainer. Now developers if they want to add a GtkAlignment
7485 they could, but it is not inside the area.
7487 We had to review the whole allocation/expose process, now it is
7488 improved and we save at least three signals which would be saving
7489 some time when rendering the widget. The allocation of the
7490 scrollbars is now made in the allocate method as usual.
7492 We have also added some conditions in order to control when there
7493 is no child of the pannable area. Maybe we will need more work
7496 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7498 * src/hildon-pannable-area.c,
7499 (hildon_pannable_area_dispose): Released the fade-out timeout when
7500 disposing the widget.
7502 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7504 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7505 zero, we are going to use that property in order to deactivate the
7507 (hildon_pannable_axis_scroll),
7508 (hildon_pannable_area_size_allocate): Added conditions to control
7509 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7510 call, now it is called in all situations and we can remove calls
7511 in the allocate method.
7512 (hildon_pannable_area_map): Control the situation when
7513 overshoot_max is zero, we do not need the timeout.
7514 (hildon_pannable_area_class_init): Added documentation in order to
7515 point out that setting zero to overshoot_max means deactivate
7518 NOTE: removed trailing whitespaces from my previous comments of
7521 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7523 * src/hildon-pannable-area.c
7524 (hildon_pannable_area_get_property),
7525 (hildon_pannable_area_set_property),
7526 (hildon_pannable_area_map),
7527 (hildon_pannable_area_class_init),
7528 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7529 to cause the widget give a hint about its panning abilities upon
7532 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7534 * src/hildon-pannable-area.c: Several documentation improvements.
7536 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7538 * src/hildon-program.c
7539 * src/hildon-stackable-window.c: Update documentation.
7541 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7543 * src/hildon-stackable-window.c (get_previous_window_if_last):
7544 Renamed get_last_window()
7545 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7546 (hildon_stackable_window_unset_program):
7548 (get_previous_window_if_last):
7549 Detect if the window hasn't been added to a HildonProgram.
7551 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7553 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7555 * src/hildon-pannable-area.c
7556 (hildon_pannable_area_button_press_cb),
7557 (hildon_pannable_axis_scroll),
7558 (hildon_pannable_area_scroll),
7559 (hildon_pannable_area_timeout),
7560 (hildon_pannable_calculate_vel_factor),
7561 (hildon_pannable_area_get_property),
7562 (hildon_pannable_area_set_property),
7563 (hildon_pannable_area_class_init),
7564 (hildon_pannable_area_init),
7565 (hildon_pannable_area_scroll_to),
7566 (hildon_pannable_area_jump_to),
7567 (hildon_pannable_area_scroll_to_child),
7568 (hildon_pannable_area_jump_to_child):
7569 * src/hildon-pannable-area.h: Added the new API functions:
7570 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7571 hildon_pannable_area_scroll_to_child,
7572 hildon_pannable_area_jump_to_child
7575 * examples/Makefile.am
7576 * examples/hildon-pannable-area-example-2.c
7577 * examples/hildon-pannable-area-example-3.c: Added these two new
7578 examples in order to test and show how the new APIs work.
7580 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7582 * examples/hildon-stackable-window-example.c (new_window):
7583 * src/Makefile.am (noinst_HEADERS):
7584 * src/hildon-program.c (hildon_program_go_to_root_window):
7585 * src/hildon-program.h:
7586 * src/hildon-stackable-window-private.h:
7587 * src/hildon-stackable-window.c:
7588 * src/hildon-stackable-window.h:
7589 Create hildon-stackable-window-private.h
7590 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7592 * examples/hildon-app-menu-example.c (create_menu):
7593 * examples/hildon-hvolumebar-insensitive-example.c (main):
7594 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7595 * examples/hildon-toolbar-seekbar-example.c (main):
7596 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7597 * src/hildon-banner.c (hildon_banner_set_property):
7598 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7599 Fix compilation warnings
7601 * src/hildon-window.c:
7604 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7606 * src/hildon-stackable-window.c
7607 (hildon_stackable_window_unset_program):
7608 Calculate correctly whether to show the previous window if the
7609 last one is removed from the stack.
7610 (hildon_stackable_window_go_to_root_window):
7611 Send delete events starting from the topmost window.
7612 Stop if one of the windows is not destroyed.
7614 (hildon_stackable_window_delete_event)
7615 (hildon_stackable_window_class_init):
7616 Ignore the delete event if the window is not the topmost one.
7618 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7620 * src/hildon-pannable-area.c
7621 (hildon_pannable_area_expose_event): Fixed a problem when
7622 selecting the background color of the scrollbars.
7624 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7626 * examples/hildon-stackable-window-example.c
7627 * src/hildon-stackable-window.c
7628 * src/hildon-stackable-window.h
7629 hildon_stackable_window_go_home() renamed to
7630 hildon_stackable_window_go_to_root_window()
7631 Send delete events to windows rather than closing them with
7632 gtk_widget_destroy()
7634 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7636 * src/hildon-pannable-area.c
7637 (hildon_pannable_area_button_release_cb): Fix overshooting in
7640 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7642 * src/hildon-pannable-area.c
7643 (hildon_pannable_area_init): Initially show the scroll indicators.
7644 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7646 Add initial effect showing the widget is pannable.
7648 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7650 * src/hildon-pannable-area.c
7651 (hildon_pannable_area_class_init)
7652 (hildon_pannable_area_set_property)
7653 (hildon_pannable_area_get_property)
7654 (hildon_pannable_area_button_press_cb):
7655 New 'velocity_fast_factor' property to decide which velocity is
7658 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7660 * src/hildon-pannable-area.c
7661 (hildon_pannable_draw_hscroll)
7662 (hildon_pannable_draw_vscroll):
7663 Use float variables to calculate the size of the scrollbars to
7664 avoid error propagation and resizing during scrolling.
7666 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7668 * src/hildon-pannable-area.c
7669 (hildon_pannable_draw_vscroll)
7670 (hildon_pannable_draw_hscroll):
7671 Define a minimum size for the scroll bars
7673 * src/hildon-stackable-window.c
7674 (hildon_stackable_window_go_home): Fix compilation warning
7675 (get_last_window): Minor optimizations
7676 (hildon_stackable_window_class_init): Fix initialization of
7679 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7681 * src/hildon-stackable-window.c: Fixed typos in doc
7683 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7685 * src/hildon-pannable-area.c
7686 (hildon_pannable_area_scroll):
7687 Calculate here whether we need to scroll instead of using the booleans
7688 that tell us whether to /draw/ the scrolling bars.
7690 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7692 * src/hildon-app-menu.h
7694 * src/hildon-app-menu.c
7695 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7696 multiple filter groups related code and API. Now we support only
7698 * examples/hildon-app-menu-example.c:
7700 Update to reflect API changes.
7702 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7704 * src/hildon-stackable-window.c
7705 (hildon_stackable_window_class_init):
7706 Add hildon_stackable_window_realize.
7707 (hildon_stackable_window_realize):
7708 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7709 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7710 to apply theming and behavior specific to HildonStackableWindow
7713 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7715 * src/hildon-note.c (hildon_note_button_release):
7716 Close information notes also when tapping on them
7718 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7720 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7721 ELASTICITY, refactor and review, fix some issues with drawing
7724 * src/hildon-pannable-area.c:
7725 (hildon_pannable_area_button_press_cb): removed the conditions to
7726 avoid clicks when overshooting. It is not required
7728 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7729 define. Refatored and reviewed the code, now we do not need to
7730 manage velocity in motion_notify.
7732 (hildon_pannable_area_motion_notify_cb): We have moved the code
7733 that controls the area_scroll to the axis_scroll function and get
7734 rid of duplicated code.
7736 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7738 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7740 (hildon_pannable_draw_vscroll),
7741 (hildon_pannable_draw_hscroll): Fixed the problems with the
7742 scrollbar drawing, now we do not use two surfaces, it is easier
7743 and saves resources.
7745 (hildon_pannable_area_get_property): Style modification.
7747 (hildon_pannable_area_class_init): Changed some default values.
7749 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7751 * src/hildon-stackable-window.c: Fix some typos in the
7754 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7756 * src/hildon-dialog.c:
7757 Change indentation style
7760 (hildon_note_button_release):
7761 Use root coordinates to check if the release event happened
7764 * src/hildon-app-menu.c
7765 (hildon_app_menu_button_release):
7766 Remove unnecessary check
7768 * examples/hildon-app-menu-example.c
7770 Add cast to fix warning
7772 * src/hildon-app-menu.c
7773 (hildon_app_menu_class_init):
7774 New inner-border style property.
7775 Set all default spacings to 16
7776 (hildon_app_menu_init):
7777 Use vertical-spacing to set the space between filter buttons and
7778 regular menu buttons.
7779 Set the default container border using the inner-border value.
7781 * examples/hildon-app-menu-example.c
7783 Don't set the menu border explicitly, now we have the inner-border
7784 style property for that.
7786 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7788 * src/hildon-app-menu.c (hildon_app_menu_init):
7789 Make the window modal
7791 * src/hildon-note.c (hildon_note_map)
7792 * src/hildon-app-menu.c (hildon_app_menu_map):
7793 Destroy the grab window if we're unable to grab the pointer
7795 * src/hildon-app-menu-private.h
7796 * src/hildon-app-menu.c
7797 (hildon_app_menu_init, hildon_app_menu_finalize)
7798 (hildon_app_menu_map, hildon_app_menu_unmap)
7799 (hildon_app_menu_button_release)
7800 (grab_transfer_window_get):
7801 Bring back the grab window
7802 (hildon_app_menu_realize):
7803 Decorate the window, set WM hint for Matchbox
7805 * src/hildon-note.c (hildon_note_realize):
7806 * src/hildon-banner.c (hildon_banner_realize):
7807 Add WM hints for Matchbox
7809 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7811 * src/hildon-app-menu-private.h
7812 * src/hildon-app-menu.c
7813 (hildon_app_menu_init, hildon_app_menu_finalize)
7814 (hildon_app_menu_map, hildon_app_menu_unmap)
7815 (hildon_app_menu_button_release):
7816 Remove the grab window, it's not needed anymore
7818 * src/hildon-program.c
7819 Fixed typo in documentation
7821 * src/hildon-app-menu.h
7822 * src/hildon-app-menu.c
7823 * examples/hildon-app-menu-example.c
7824 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7826 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7829 Added new transfer_window and close_if_pressed_outside private
7831 (hildon_note_rebuild):
7832 Don't add a cancel button to the information note. It will be
7833 closed when tapping outside
7834 Remove the comment about the OK button in the documentation
7835 (hildon_note_realize):
7836 Set the notification type hint
7837 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7838 Grab/ungrab pointer and keyboard if the note has to be closed when
7840 (hildon_note_button_release):
7841 Close the note when tapping outside (if applicable)
7843 * src/hildon-app-menu.c
7844 Grab/ungrab pointer and keyboard on map/unmap
7845 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7846 Close the menu on button release, not button press
7848 * src/hildon-banner.c
7849 (hildon_banner_set_property)
7850 (hildon_banner_check_position):
7851 Make the banner use the full width of the screen
7852 (hildon_banner_show_information)
7853 (hildon_banner_show_information_with_markup):
7854 Don't display an icon by default
7856 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7858 Added fading scrollbars and adapted all the overshooting code to
7859 horizontal scrolling. We have also fixed bugs with overshooting
7860 and current fading implementation.
7862 * src/hildon-pannable-area.c
7863 (hildon_pannable_area_scroll_indicator_fade): Time out function
7864 used to change the transparency of the scrollbars.
7866 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7867 control and fixed a problem with fading, we now remove the fade
7868 timeout before adding a new one.
7870 (hildon_pannable_axis_scroll):
7871 (hildon_pannable_area_scroll):
7872 (hildon_pannable_area_timeout): Added this functions so we can use
7873 the scroll code both for vertical and horizontal.
7875 (hildon_pannable_area_motion_notify_cb):
7876 (hildon_pannable_area_button_release_cb): Added the horizontal
7877 scrolling control, fixed a problem with the overshooting timeout.
7879 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7880 painting of the scrolls.
7882 (hildon_pannable_draw_vscroll):
7883 (hildon_pannable_draw_hscroll):
7884 (hildon_pannable_area_expose_event):
7885 Draw both scrollbars and rectangles in the overshooting area.
7887 (hildon_pannable_area_get_property):
7888 (hildon_pannable_area_set_property):
7889 Modified the overshoot property to overshoot_max
7891 (hildon_pannable_area_map):
7892 Replaced the comments symbols.
7894 (hildon_pannable_area_size_allocate):
7895 (hildon_pannable_area_class_init):
7896 (hildon_pannable_area_init): Added horizontal scroll, fading
7897 effect properties, fixed a problem when overshooting in the bottom
7900 * examples/hildon-pannable-area-example.c:
7901 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7902 looks better in the example.
7904 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7906 * src/hildon-window.c
7907 * src/hildon-window.h
7908 (hildon_window_class_init)
7909 (hildon_window_unset_program)
7910 (hildon_window_unset_program_real):
7911 Make unset_program a virtual function
7913 * src/hildon-stackable-window.c
7914 * src/hildon-stackable-window.h
7915 Added hildon_stackable_window_go_home()
7917 * examples/Makefile.am
7918 * examples/hildon-stackable-window-example.c
7919 HildonStackableWindow example
7921 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7923 * hildon-pannable-area.c: Added the overshoot property and removed
7924 the OVERSHOOT define. Fixed an indent style error.
7925 (hildon_pannable_area_motion_notify_cb):
7926 (hildon_pannable_area_get_property):
7927 (hildon_pannable_area_set_property): Add overshoot property.
7929 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7932 (hildon_pannable_area_class_init): Installed the new property.
7934 * hildon-pannable-area-example.c: Added a sawtooth function, this
7935 way it is easier to check the movement in the pannable.
7936 (get_sawtooth_label): Added this function.
7937 (main): Now we get the labels from the new get_sawtooth_label
7940 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7942 * src/hildon-app-menu.h
7943 * src/hildon-app-menu.c
7944 Renamed API variables for consistency
7946 (hildon_app_menu_popup): Use also the default window size to
7947 decide where to place the menu
7949 (hildon_app_menu_init, hildon_app_menu_class_init): New
7950 external-border style property
7952 2008-05-26 Michael Natterer <mitch@imendio.com>
7954 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7955 widget_class->tap_and_hold_setup signal slot doesn't exist any
7956 longer, stop overriding it.
7958 (hildon_time_editor_init): g_signal_connect() to the
7959 tap-and-hold-setup signal instead.
7961 (hildon_time_editor_entry_keypress): add cast to fix warning.
7963 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7965 * doc/hildon-docs.sgml
7967 * examples/Makefile.am
7968 * examples/hildon-app-menu-example.c
7970 * src/hildon-app-menu-private.h
7971 * src/hildon-app-menu.c
7972 * src/hildon-app-menu.h
7974 New HildonAppMenu widget
7976 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7978 Rearranged the inheritance of the pannable area, now it inherits
7979 from GtkBin. This will allow us to control the event_window and
7980 the allocation process of the widget, required for some effects.
7982 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7983 GtkBin structures. * src/hildon-pannable-area.c: Added the
7984 event_window variable.
7985 (hildon_pannable_area_button_press_cb):
7986 (hildon_pannable_area_button_release_cb):
7987 (hildon_pannable_area_motion_notify_cb):
7988 Changed the signature of the method, now we override the event
7989 callback instead of connecting to the signal.
7991 (hildon_pannable_area_realize):
7992 (hildon_pannable_area_unrealize):
7993 (hildon_pannable_area_map):
7994 (hildon_pannable_area_unmap):
7995 (hildon_pannable_area_size_allocate):
7996 Added functions to control the widget construction. We add a
7997 INPUT_ONLY window and we put it over the widgets inside the
7998 container, this event_window handles the events.
8000 (hildon_pannable_area_class_init):
8001 Replaced the signal connections with overrides of the event
8004 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8006 Bouncing effect added when touching the borders, you can change
8007 the elasticity of the border changing the ELASTICITY define.
8009 * src/hildon-pannable-area.c: Added ELASTICITY define.
8010 (hildon_pannable_area_timeout): Added inverse velocity when
8011 touching the border of the child widget, that causes a bounce.
8013 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8015 Improved performance, we now do not go to the X server in order to
8016 get the list of window children. Apparently the effect is the
8017 same, we have to be careful and check if this breaks something in
8020 * src/hildon-pannable-area.c:
8021 (get_ordered_children): Removed this function.
8022 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8023 the children windows function with gdk_window_get_children.
8025 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8027 * src/hildon-pannable-area.c:
8028 (hildon_pannable_area_dispose): Fixed a crash when closing the
8029 window and kinetics is activated.
8031 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8033 * src/hildon-pannable-area.h
8034 * src/hildon-pannable-area.c
8035 Changed indentation style to meet the one used in Hildon
8037 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8039 Reviewed the interaction of the AUTO mode, now we use the time
8040 attribute of the events and calculate the velocity in the motion,
8041 doing a gimp like calculation. The velocity is calculated in each
8042 motion event using the last velocity and the current one, the
8043 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8045 * src/hildon-pannable-area.c: Replaced the time based algorithm
8047 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8048 timeout for the AUTO mode when we are still moving the cursor. We
8049 added also the velocity calculation in this function.
8050 (hildon_pannable_area_button_release_cb): launch the timeout in
8051 case we are in AUTO mode. There are still some constants here that
8052 come from the old implementation that should be reviewed and
8055 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8057 * doc/hildon-docs.sgml
8060 * src/hildon-stackable-window.c
8061 * src/hildon-stackable-window.h
8063 New HildonStackableWindow widget
8065 * examples/hildon-dialog-example.c
8066 * examples/hildon-pannable-area-example.c
8069 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8071 * src/hildon-dialog.c
8072 (hildon_dialog_new_with_buttons): New constructor.
8074 * examples/hildon-dialog-example.c
8075 (main): Update the example to use the new
8076 hildon_dialog_new_with_buttons().
8078 * examples/hildon-pannable-area-example.c
8079 (main): Update example.
8081 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8083 * doc/hildon-docs.sgml
8085 Added HildonPannableArea to the documentation.
8087 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8089 * doc/visual_index.xml
8090 Fix reference to HildonLoginDialog in documentation
8092 * doc/hildon-docs.sgml
8094 * examples/Makefile.am
8095 * examples/hildon-dialog-example.c
8097 * src/hildon-dialog.c
8098 * src/hildon-dialog.h
8100 New HildonDialog widget.
8102 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8104 * src/hildon-pannable-area.c
8105 Merge latest changes (r4318, r4342) from libmokoui trunk
8107 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8109 * examples/Makefile.am
8110 * examples/hildon-pannable-area-example.c
8112 * src/hildon-pannable-area.c
8113 * src/hildon-pannable-area.h
8115 New HildonPannableArea widget.
8117 2008-04-15 18:05:19 <timj@imendio.com>
8119 * src/hildon-banner.c: revert the recent change, that introduced
8120 gtk_window_present() calls. this reopens:
8121 Bug 78481 - [freetest] information banners are hidden under browser menu
8122 But resolves another variant of:
8123 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8125 2008-04-15 13:21:13 <timj@imendio.com>
8127 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8128 recreated its layout, spotted by Kris. this fixes all remaining
8129 artefacts and stability issues with the banner code. in particular:
8130 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8132 2008-04-14 16:52:59 <timj@imendio.com>
8134 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8135 operating on unrealized widgets, fixes:
8136 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8138 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8140 2008-04-09 Kristian Rietveld <kris@imendio.com>
8142 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8143 makes banner disappear.
8144 Fixes: NB#79182: info banner flickering with certain message lengts.
8146 * src/hildon-banner.c (hildon_banner_constructor),
8147 (hildon_banner_init), (hildon_banner_set_text),
8148 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8149 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8150 FALSE, reset size requests of label and banner,
8151 (force_to_wrap_truncated): when the text is too wide, always enforce
8152 the maximum possible width instead of recalculating it from the
8153 layout; enforce the maximum banner height of 3 lines,
8154 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8155 nicer wrapping and no truncated chars if space gets tight.
8157 * src/hildon-banner-private.h: add has_been_wrapped and
8158 has_been_truncated fields.
8160 2008-04-07 Sven Herzberg <sven@imendio.com>
8162 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8163 local values in hildon_date_editor_size_allocate
8165 * src/hildon-date-editor.c: moved the real allocation code into the
8168 2008-04-07 Sven Herzberg <sven@imendio.com>
8170 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8171 local values in hildon_date_editor_size_allocate
8173 * src/hildon-date-editor.c: merged the two if() branches together
8175 2008-04-07 Sven Herzberg <sven@imendio.com>
8177 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8178 local values in hildon_date_editor_size_allocate
8180 * src/hildon-date-editor.c: changed the arguments of the if()
8183 2008-04-07 Sven Herzberg <sven@imendio.com>
8185 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8186 local values in hildon_date_editor_size_allocate
8188 * src/hildon-date-editor.c: split the calculation of the allocation
8189 from the real allocation
8191 2008-03-27 Michael Natterer <mitch@imendio.com>
8193 Fixes: NB#81696: The passcode is not overwritten even after
8196 * src/hildon-code-dialog.c
8197 (hildon_code_dialog_button_clicked)
8198 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8199 because that doesn't overwrite selected text. Instead, emit the
8200 "commit" signal on the entry's im_context so the entry's normal
8201 insert logic is triggered. Set the cursor to the end of the entry
8202 after each insert operation so that we *only* insert in the middle
8203 of the text if something was selected.
8205 2008-03-27 Michael Natterer <mitch@imendio.com>
8207 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8208 selector cannot be opened
8210 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8211 when the popup color selector is created. Please connect to this
8212 signal in order to set the dialog's help ID.
8214 2008-03-25 Sven Herzberg <sven@imendio.com>
8216 Fixes: MB#1212: Hide info banners (infoprints) on click
8218 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8219 extracted the close event simulation into an extra function
8220 (hildon_banner_button_press_event): simulate a close event and destroy
8221 the widget if the event wasn't handled
8222 (hildon_banner_class_init): added the button_press_event handler
8223 (hildon_banner_init): added button-press events to the widget
8225 2008-03-25 Sven Herzberg <sven@imendio.com>
8227 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8228 Patch from: Mohammad Anwari <mdamt@maemo.org>
8230 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8231 instead of the right in RTL mode
8232 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8233 breadcrumb button list in RTL mode
8234 * src/hildon-caption.c: mirror the appearance of the caption widget in
8236 * src/hildon-date-editor.c: mirror appearance of the date editor in
8238 * src/hildon-time-editor.c: mirror appearance of the time editor in
8240 * src/hildon-window.c: fix the position of the popup in RTL mode
8242 2008-03-25 Sven Herzberg <sven@imendio.com>
8244 Amendment to the fix of NB#22072. Fix compilation.
8246 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8248 2008-03-19 Sven Herzberg <sven@imendio.com>
8250 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8253 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8254 timeout id properly when the timeout will disappear this leaves no
8255 artifacts around in the destroy(); there will only be the timeout
8256 created by hildon_banner_ensure_timeout() and adding a new timeout
8257 will also work if the timeout gets removed because the timeout_handler
8260 2008-03-19 Michael Natterer <mitch@imendio.com>
8262 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8264 * src/hildon-volumebar.c
8265 * src/hildon-vvolumebar.c
8266 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8267 the widget becomes focussable at all.
8269 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8270 set the focus to wither the mute button or the volumebar.
8272 Remove own "can-focus" property and instead listen to
8273 notify::can-focus in order to update the widget's state.
8275 Implement GtkWidget::focus() and make sure we can also *leave* the
8276 widget, not only enter it, depending on volumebar orientation and
8277 requested focus direction.
8279 Clean up set_mute() to cooperate nicely with all the above.
8281 2008-03-04 Michael Natterer <mitch@imendio.com>
8283 Fixes: NB#78481: information banners are hidden under browser menu
8285 * src/hildon-banner.c: call gtk_window_present() on the banners so
8286 they are risen if they are already visible.
8288 2008-03-03 Sven Herzberg <sven@imendio.com>
8290 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8292 * examples/hildon-window-menu-example.c: (main): extended the window
8293 menu example to serve as a testcase for automatically added
8294 accelerator groups, too
8295 * src/hildon-window.c: (hildon_window_add_accel_group),
8296 (hildon_window_set_menu): added patch by Tommi Komulainen
8298 2008-03-03 Sven Herzberg <sven@imendio.com>
8300 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8302 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8303 knowledge about the border allocators used within GTK+
8305 2008-02-26 Sven Herzberg <sven@imendio.com>
8307 Fixes: MB#2981: Build with asserts broken
8309 * src/hildon-date-editor.c,
8310 * src/hildon-number-editor.c,
8311 * src/hildon-time-editor.c,
8312 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8313 the proper GType instance check
8315 2008-02-25 Sven Herzberg <sven@imendio.com>
8317 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8319 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8320 * examples/hildon-window-menu-example.c: (main): explicitly show
8322 * src/hildon-window.c:
8323 (hildon_window_set_main_menu): moved most of the code from set_menu()
8324 to this place; skipped the call to gtk_widget_show_all(); also didn't
8325 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8326 (hildon_window_set_menu): removed most of the code, just keep the
8327 questionable gtk_widget_show_all()
8328 * src/hildon-window.h: added the new function and deprecate the old
8331 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8337 * debian/changelog: Updating.
8339 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8342 * pkgconfig/Makefile.am:
8343 * pkgconfig/hildon.pc.in:
8346 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8347 use newly created API_MAJOR_VERSION.
8349 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8355 * debian/changelog: Updating.
8357 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8359 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8361 Add outer_border style property, we use it but don't define it (!).
8365 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8367 * examples/hildon-bread-crumb-trail-example.c (main):
8371 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8373 Fix logic for the bread crumb trail node removal.
8377 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8383 * debian/changelog: Updating.
8385 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8387 Patch by Alejandro to get/set passwords dialogs accesibility.
8389 * hildon-1/src/hildon-get-password-dialog.c:
8390 * hildon-1/src/hildon-set-password-dialog.c:
8391 Set atk_set_name to the passwd entries in order to allow
8392 accessibility by name on this entries.
8394 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8399 * debian/control: Updating gtk dep.
8401 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8403 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8404 USE_MAEMO_GTK is enabled.
8406 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8408 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8409 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8411 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8417 * debian/changelog: Updating.
8419 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8421 * examples/Makefile.am:
8422 * examples/hildon-logical-color-example.c:
8423 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8424 applied + adding a test case. Fixes: NB#71660.
8426 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8428 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8429 to be visible, fixes warning on map for windows without toolbars.
8431 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8433 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8434 2.11.0, add a check for that besides the MAEMO_GTK check.
8436 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8442 * debian/changelog: Updating.
8444 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8446 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8447 visibility. Fixes: NB#70842 and MB#615.
8449 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8451 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8452 set the separator as no-show-all so it doesn't unintentionally appear when
8453 someone does a show_all.
8455 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8457 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8458 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8459 toplevel item. Fixes: NB#62031
8461 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8463 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8464 fix the name of the function in the docs.
8466 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8472 * debian/changelog: Updating.
8474 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8476 * examples/hildon-banner-long-example.c: Adding a test-case for long
8479 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8481 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8483 * src/hildon-color-chooser-dialog.c:
8484 * src/hildon-color-chooser.c:
8485 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8486 memory leaks in font selector and color selector. Fixes: NB#70499 and
8489 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8491 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8493 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8495 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8496 little bit bigger. Fixes: #NB63694.
8498 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8504 * debian/changelog: Updating.
8506 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * doc/hildon-docs.sgml:
8510 * doc/images/bread-crumb-trail.png:
8511 * doc/images/calendar-popup.png:
8512 * doc/images/caption.png:
8513 * doc/images/code-dialog.png:
8514 * doc/images/color-button.png:
8515 * doc/images/color-chooser-dialog.png:
8516 * doc/images/color-chooser.png:
8517 * doc/images/controlbar.png:
8518 * doc/images/date-editor.png:
8519 * doc/images/font-selection-dialog.png:
8520 * doc/images/get-password-dialog.png:
8521 * doc/images/hvolumebar.png:
8522 * doc/images/login-dialog.png:
8523 * doc/images/note.png:
8524 * doc/images/number-editor.png:
8525 * doc/images/range-editor.png:
8526 * doc/images/seekbar.png:
8527 * doc/images/set-password-dialog.png:
8528 * doc/images/sort-dialog.png:
8529 * doc/images/time-editor.png:
8530 * doc/images/time-picker.png:
8531 * doc/images/vvolumebar.png:
8532 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8533 Adding the bread-crumb-trial and helpers to the documentation.
8535 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8537 * examples/hildon-find-toolbar-example.c:
8538 * src/hildon-find-toolbar.c:
8539 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8540 actually continue firing the other handlers if connected. Adding a new
8542 hildon_find_toolbar_get_last_index that gets the index of the most
8543 recently added (last) item. Fixes: NB#52301.
8545 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8547 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8548 behaviour. Fixes: NB#68610.
8550 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8552 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8555 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8557 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8558 when realizing the banner. Should make the infonbanner effect a bit more
8561 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8563 * src/hildon-volumebar.c:
8564 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8565 hildon_volumebar_set_range_insensitive_message and
8566 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8568 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8570 * src/hildon-window.c: Fixing the border freeing on destroy.
8572 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * src/hildon-code-dialog-private.h:
8575 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8576 kw keyboard support in HildonCodeDialog.
8578 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * debian/changelog: Updating.
8586 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8588 * src/hildon-date-editor.c:
8589 * src/hildon-number-editor.c:
8590 * src/hildon-private.c:
8591 * src/hildon-private.h:
8592 * src/hildon-time-editor.c:
8593 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8594 handling in subclassed composite widgets. Fixes: NB#66628.
8596 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8598 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8599 from destroy_ callback as it introduces problems in async dbus signal
8600 handlers. Fixes NB#66673.
8602 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * examples/hildon-hvolumebar-example.c:
8605 * src/hildon-volumebar.c: Improving the focus handling in the
8606 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8607 set_property accessor so that "mute" property can be actually set. I'm
8608 scared that nobody noticed it's totally broken.
8610 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8612 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8615 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8617 * src/hildon-calendar.c:
8618 * src/hildon-number-editor.c:
8619 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8620 matches the spec of 6 chars per second. Fixes: NB#60489.
8622 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8624 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8625 gtk_style_lookup_color sometime returns FALSE even though color was
8626 found and values were filled properly. Weird. Removing the warning for the
8629 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8631 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8632 expand vertically. Adding some extra space to the find toolbar buttons to
8633 make them thumbable. Fixes NB#66060.
8635 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8638 popup with "Ok" and "Cancel". Fixes NB#59299.
8640 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * src/hildon-calendar.c: Process all window updates before executing next
8643 timeout. Fixes: NB#54146.
8645 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * debian/changelog: Updating.
8653 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8655 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8656 the client event and ignore it, since we use the delete event to close
8659 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8661 * src/hildon-helper.c: Remove the bogus warning about color not being
8662 found. Fixes NB#58352.
8664 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8666 * examples/Makefile.am:
8667 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8668 HildonSeekbar widget inside a toolbar.
8670 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8672 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8673 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8674 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8675 don't want to be closed by non-temporary windows on map.
8677 Also use G_DEFINE_TYPE instead of manually typed code.
8679 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 * debian/rules: Updating.
8688 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8690 * examples/Makefile.am:
8691 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8692 bug NB#61128. Strangely it works.
8694 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8696 * src/hildon-date-editor.c: When the date editor entry has been changed
8697 but the numbers of characters < max, turn off the skip validation flag.
8698 Prevents a situation when we enter first a valid year and later re-write
8699 it with an invalid one. Fixes NB#60154.
8701 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8704 code dialog. Fixes NB#64355.
8706 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8708 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8709 switching the page. Fixes NB#49374.
8711 * examples/Makefile.am:
8712 * examples/hildon-wizard-dialog-example.c: Adding an example for
8713 HildonWizardDialog that shows how to handle manual sensitivity setting on
8716 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8720 * src/hildon-version.h.in:
8721 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8723 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * src/hildon-volumebar.c: Updating the docs.
8727 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8733 * debian/changelog: Updating.
8735 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * src/hildon-find-toolbar.c:
8738 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8739 selected item: hildon_find_toolbar_set_active,
8740 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8741 hildon_find_toolbar_get_active_iter . They correspond to respective
8742 GtkComboBox functions.
8744 * examples/Makefile.am:
8745 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8748 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8750 * examples/Makefile.am:
8751 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8754 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8755 when font size > 32 and we pack a focusable widget inside. Actually using
8756 the default response would work too, but since we don't show default
8757 response state in any way (no theming) it would not be visible to the
8758 user. Fixes NB#63430.
8760 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * src/hildon-date-editor.c: Adding the missing variable setter in the
8763 set_property handler. Fixes NB#54182.
8765 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * src/hildon-window.h: Changing the long key press time from 1500ms to
8768 800ms as requested in NB#63700. I have a bad feeling about this, let's
8769 see... Fixes NB#63700.
8771 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8773 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8774 hildon_time_picker_map, hildon_time_picker_realize,
8775 hildon_time_picker_style_set): Split the contents of map to more
8776 appropriate functions; set window decorations on realize and update
8777 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8779 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8784 * debian/changelog: Updating.
8786 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8788 * src/Makefile.am: fixed installation of the header files
8790 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * debian/changelog: Updating.
8798 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8800 * configure.ac: Removing some remaining of --enable-xan.
8802 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8804 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8805 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8807 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8808 2.10.12-osso6 because the move-focus signal needs to be available in
8811 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8813 * examples/Makefile.am:
8814 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8815 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8816 fine. Prolly NB#61128 is fixed now.
8818 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * src/hildon-volumebar.c:
8821 * src/hildon-volumebar.h: Adding the
8822 hildon_volumebar_set_range_insensitive_message and
8823 hildon_volumebar_set_range_insensitive_messagef functions to set
8824 insensitive message on the slider of the volumebar. Fixes NB#61129.
8826 * examples/Makefile.am:
8827 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8828 test the new insensitive messsage functionality on HildonVolumebar.
8830 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8832 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8835 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8837 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8838 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8839 button on after clearing the trail.
8841 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8845 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8847 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8848 by splitting the installed headers in generated and non-generated groups. Use
8849 only the non-generated headers to create the hildon-enum-types.h file.
8851 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8853 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8855 * src/hildon-window.c: Hide the window before performing the destroy.
8856 Should make the app closing a little tiny bit more snappy.
8858 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8860 * src/hildon-seekbar.c: add gtkrange.h header
8861 * src/hildon-caption.c: remove unused variable
8863 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8865 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8868 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8874 * debian/changelog: Updating.
8876 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8878 * src/hildon-window.c (hildon_window_window_state_event,
8879 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8880 escape timeout on focus-out-event rather than notify::is-topmost; the
8881 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8883 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8885 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8886 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8888 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8890 * src/hildon-window: actually, you need to use the macro always, there's
8891 no private pointer in the instance structure. We should have cleaned this up
8892 when we had the chance...
8894 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8896 * src/hildon-window.c: do not get the private date from HildonWindow before
8897 it passes the g_return_if_fail check. Once it's passed the test, there's no
8898 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8899 if you are only going to access the data once. Whitespace cleanups.
8901 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8903 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8904 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8906 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8912 * debian/changelog: Updating.
8914 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * src/hildon-window.c: When destroying the window, remove (if exists) the
8917 escape timeout handler. Fixes #NB59276.
8919 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-banner.c: When realizing the widget, set the window
8922 transiency. Setting the transiency in the gobject constructor is not
8923 good, as the widget is not realized at that point. Fixes: #NB56624.
8925 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8927 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8928 Add padding for future expansions.
8930 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8932 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8933 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8934 will fake an activation on the previous to the last item of the trail, so
8935 the effect can be overrided by the developer as usual.
8936 Also change the callback for the back button to do the same thing, so its
8937 effect can be overrided too. Fixes: NB#58982
8939 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8942 HildonCaption. Fixes NB#52379.
8944 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8946 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8947 the internal state of the trail after the user has had the chance of executing
8948 his handler for the signal. Specifically, it may happen that the activated button
8949 is removed and the user still lets the default handler run. This would segfault
8952 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8955 scrollbar to the preview dialog. Fixes NB#54147.
8957 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8959 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8960 max/min year properties can be altered, so the client can modify it
8961 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8963 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8966 hildonlike by default. Fixing a problem with disappearing arrows when
8967 scrolling through months and years. Fixes NB#54127.
8969 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8971 * examples/hildon-date-editor-example.c: Adding error callback to the date
8974 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * configure.ac: Updating.
8982 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8984 * configure.ac: Adding a special '--enable-xan' configure option that
8985 turns off the -Werror compilation setting. Usefull for development.
8987 * src/hildon-calendar.c:
8988 * src/hildon-number-editor.c:
8989 * src/hildon-time-picker.c: Adding the 5* multiplier to
8992 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8995 instead of g_object_ref + gtk_object_sink.
8997 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9003 * debian/changelog: Updating.
9005 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * src/hildon-color-chooser-dialog.c:
9008 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9009 straight from Tommi labs.
9011 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * examples/hildon-finger-example.c: Correcting the header file path.
9015 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9016 the changed signal. Fixes a small memory leak.
9018 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * src/hildon-banner.c: Importing several usefull fixes from the
9023 ubuntu-mobile branch.
9025 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * examples/Makefile.am:
9028 * examples/hildon-finger-example.c: Adding a finger-checking code
9031 * src/hildon-font-selection-dialog.c: Do not allocate the color
9032 structure using the g_new. Fixes NB#54061.
9034 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-helper.c: Correcting tabs in file.
9038 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9040 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9041 control the visibility of the children.
9043 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9045 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * debian/changelog: Updating.
9053 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9055 * src/hildon-bread-crumb-trail.c:
9056 (hildon_bread_crumb_trail_size_allocate):
9058 Make the back button always a square.
9060 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9062 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9063 from the .c file as it's a private file.
9065 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9068 uses slightly bigger height.
9070 * src/hildon-font-selection-dialog.c: Adding some checks before
9071 freeing memory in the font selection dialog.
9073 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9075 * src/hildon-font-selection-dialog.c: Adding a small check when
9078 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9079 buttons sensitivity on page switching.
9081 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9083 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9084 internal details of adding a bread crumb to the trail.
9086 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9092 * debian/changelog: Updating.
9094 * src/hildon-bread-crumb-trail.h:
9095 * src/hildon-bread-crumb.h: Changing the API guard to
9096 HILDON_ENABLE_UNSTABLE_API.
9098 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * src/hildon-helper.h: Updating.
9108 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9116 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * src/hildon-helper.h: Small fix to make the package actually compile.
9122 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9124 * src/hildon-bread-crumb-trail.h:
9125 * src/hildon-bread-crumb.h:
9127 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9128 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9130 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9132 * examples/hildon-bread-crumb-trail-example.c:
9134 * src/hildon-bread-crumb-trail.c:
9135 * src/hildon-bread-crumb-trail.h:
9136 * src/hildon-bread-crumb.c:
9137 * src/hildon-bread-crumb.h:
9138 * src/hildon-marshalers.list:
9139 * src/hildon-bread-crumb-widget.c:
9140 * src/hildon-bread-crumb-widget.h:
9142 Slight change in the widget design. The bread crumb trail API is
9143 unchanged, but HildonBreadCrumb is now an interface. A *private*
9144 implementation, hildon-bread-crumb-widget, is provided and used
9145 internally by the trail for the push_text/push_icon functions.
9147 The generic push API is still available, so anyone can implement
9148 and use its own bread crumb widget.
9150 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * debian/rules: Fixing the shlibs.
9154 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9156 * src/hildon-banner.c: Fixing a problem with timed banners having
9157 their parrent destroyed before they are.
9159 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9161 * src/hildon-bread-crumb.c:
9162 * src/hildon-bread-crumb.h:
9164 Make the get_natural_size function a vfunc.
9166 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9168 * src/hildon-bread-crumb.c:
9169 * src/hildon-bread-crumb-trail.c:
9173 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9180 * debian/changelog: Updating for release.
9182 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9184 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9185 don't leak the pango layout.
9187 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9190 * examples/hildon-bread-crumb-trail-example.c:
9194 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * debian/changelog: Removing the bug-fixed entries that were actually
9197 resolved as WONTFIX.
9199 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9202 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9204 * src/hildon-bread-crumb-trail.c:
9205 * src/hildon-bread-crumb-trail.h:
9206 * src/hildon-bread-crumb.c:
9207 * src/hildon-bread-crumb.h:
9211 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9213 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9214 until it's passed the type check.
9216 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9218 * examples/hildon-bread-crumb-trail-example.c
9222 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9224 * examples/Makefile.am
9225 * examples/hildon-bread-crumb-trail-example.c
9227 * src/hildon-bread-crumb-trail.c
9228 * src/hildon-bread-crumb-trail.h
9229 * src/hildon-bread-crumb.c
9230 * src/hildon-bread-crumb.h
9232 New HildonBreadCrumbTrail widget.
9234 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9236 * src/hildon-range-editor.c (hildon_range_editor_init),
9237 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9238 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9239 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9240 hildon_time_editor_class_init, hildon_time_editor_init),
9241 src/hildon-get-password-dialog.c (invalid_input,
9242 hildon_get_password_set_property, hildon_get_password_get_property,
9243 create_contents, hildon_get_password_dialog_set_max_characters),
9244 src/hildon-set-password-dialog.c (create_contents),
9245 src/hildon-date-editor.c (hildon_date_editor_init),
9246 src/hildon-login-dialog.c (hildon_login_dialog_init),
9247 src/hildon-number-editor.c (hildon_number_editor_init),
9248 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9249 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9250 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9251 configure option and adding the respective checks in the code.
9252 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9253 hildon_calendar_drag_data_received): fixed some build warnings.
9255 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9257 * debian/changelog: A 1.0.0 release notes.