1 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-note.c: (label_size_request): Take the note
4 padding into account when setting the size request.
6 Fixes: NB#127896 (Information notes text truncated)
8 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
10 * configure.ac: postrelease version bump.
11 * debian/changelog: post release version bump
13 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
18 * configure.ac: Bump version.
19 * debian/changelog: Updates.
21 2009-07-16 Alejandro G. Castro <alex@igalia.com>
23 * hildon/hildon-text-view.c,
24 (hildon_text_view_button_press_event): Grabbed the focus in button
25 press, this way we are sure the widget has the focus in the
26 release event, required for HIM.
28 Fixes: NB#121445 (Virtual keyboard opening is not working in same
29 way for each text entry field)
31 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
33 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
34 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
35 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
36 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
37 (hildon_pannable_area_[gs]et_center_on_child_focus)
38 Redefined GtkContainer set-focus-child signal, in order to center
39 properly on a child when it receives the focus. Defined a new property
40 "center-on-child-focus" in order to activate this feature (deactivated
41 by default). Public get/set methods defined to manage the property.
43 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
45 2009-07-14 László Pere <lpere@blumsoft.eu>
47 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
48 the new size is applied.
50 Fixes: NB#124510 (The Application Menu is distorted when switched
51 between portrait and landscape mode)
52 Fixes: NB#115388 (Power key menu does not resize itself)
54 2009-07-01 Alberto Garcia <agarcia@igalia.com>
56 * hildon/hildon-banner.c (hildon_banner_map):
57 Set banner position after mapping.
59 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
61 * configure.ac: postrelease version bump.
62 * debian/changelog: post release version bump
64 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: Bump version.
70 * debian/changelog: Updates.
72 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
74 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
77 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
79 * tests/check-hildon-banner.c
82 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
83 were testing deprecated functions.
84 * examples/hildon-banner-example.c: typo on button3 type, that causes
85 a fail compiling with --with-examples but without --disable-deprecated
87 Missed commit in order to fix compilation using '--enable-fatal' and
88 '--disable-deprecated' (see previous commit)
90 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
92 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
93 functions with #ifndef HILDON_DISABLE_DEPRECATED
94 * examples/hildon-find-toolbar.c: Protect deprecated
95 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
96 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
97 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
98 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
100 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
101 to allow proper compilation of deprecated functions defined on the header
103 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
105 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
107 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
108 Cache the panning indicator color.,
109 (hildon_pannable_area_style_set): Query the color on style changes.
110 (hildon_pannable_draw_vscroll),
111 (hildon_pannable_draw_hscroll),
112 (hildon_pannable_area_expose_event): Use the cached panning indicator
113 color instead of looking it up on every expose and more.
115 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
117 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
118 (hildon_pannable_draw_hscroll),
119 (hildon_pannable_area_expose_event): Fix the panning indicator color,
120 so that it's "SecondaryTextColor", as desired.
122 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
124 * hildon/hildon-picker-dialog.c:
125 (selection_completed): take into account HILDON_UI_MODE_NORMAL
126 * hildon/hildon-touch-selector.c
127 (hildon_touch_selector_init): Initialize hildon-ui-mode
128 (hildon_touch_selector_row_activated): new callback for the
129 "row-activated" signal, in order to save the last activated
130 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
131 if the current hildon-ui-mode is coherent with the touch selector
132 (hildon_touch_selector_class_init)
133 (hildon_touch_selector_get_property)
134 (hildon_touch_selector_set_property)
135 Added "hildon-ui-mode" property
136 (disconnect_model_handlers): renamed to clean_column
137 (hildon_touch_selector_remove): use clean_column function
138 (_create_new_column): use the hildon-ui-mode to create the treeview, and
139 only select the first element on HILDON_UI_MODE_EDIT
140 (hildon_touch_selector_column_init): Initialize last_activate
141 (hildon_touch_selector_append_column): check that the touch selector
142 is coherent with the current hildon-ui-mode
143 (hildon_touch_selector_get_hildon_ui_mode)
144 (hildon_touch_selector_set_hildon_ui_mode)
145 Added a getter/setter for the hildon-ui-mode property
146 (hildon_touch_selector_get_last_activated_row): Added this method in
147 order to get the last activated row.
148 * examples/hildon-touch-selector-normal-mode-example.c
149 New example, that shows how to use the HildonTouchSelector in
150 HILDON_UI_MODE_NORMAL
152 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
153 Kristian Rietveld <kris@lanedo.com> advices
155 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
157 * hildon/hildon-time-selector.c: (update_format_policy): Do
158 not call update_format_dependant_columns() if not necessary.
159 (update_format_dependant_columns): Remove unnecessary check for
160 the number of columns.
162 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
164 * hildon/hildon-note.c (+hildon_note_constructor),
165 (hildon_note_class_init), (+hildon_note_set_padding),
166 (hildon_note_rebuild): Install a constructor where to set the
167 padding properties in the note, so that it actually works fine.
168 Use hildon_note_set_padding() for this, and also to set it during
171 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
173 * configure.ac: Bump GTK+ requirement to 2.14.3.
174 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
175 when using maemo-gtk to define proper margins for the notes.
177 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
178 with the dialog edge)
180 2009-06-24 Alberto Garcia <agarcia@igalia.com>
182 * hildon/hildon-banner.c
183 (hildon_banner_class_init):
185 (+hildon_banner_size_request):
186 Request always the full width of the screen.
187 (hildon_banner_realize)
188 (-hildon_banner_check_position, hildon_banner_map):
189 hildon_banner_check_position() is not needed in Hildon 2.2.
190 (-hildon_banner_reset_wrap_state)
191 (hildon_banner_constructor, hildon_banner_init):
192 Remove unnecessary calls to hildon_banner_reset_wrap_state()
193 (+banner_do_set_text)
194 (force_to_wrap_truncated):
195 Remove has_been_wrapped and has_been_truncated attributes.
196 (+reshow_banner, hildon_banner_real_show_information)
197 (hildon_banner_show_information_with_markup)
198 (hildon_banner_show_animation, hildon_banner_show_progress)
199 (hildon_banner_set_text, hildon_banner_set_markup):
200 Refactor code. Shrink banner vertically to use the minimum space
201 necessary everytime the text of the label is updated.
202 (screen_size_changed):
203 Call force_to_wrap_truncated() when the size of the screen
206 Fixes: NB#120500 (only device memory connect mmc in use info
207 banner is left aligned)
209 Fixes: NB#120613 (Size of HildonBanner varies depending on
210 previously opened banners)
212 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
214 * hildon/hildon-color-chooser.c
215 (hildon_color_chooser_pointer_motion): Take the widget allocation
218 Fixes: NB#124385 (Unable to select exact point in color mixing box
219 in color palette dialog)
221 2009-06-23 Alejandro G. Castro <alex@igalia.com>
223 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
224 (hildon_pannable_area_dispose)
225 (hildon_pannable_area_button_press_cb)
226 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
227 (hildon_pannable_area_button_release_cb)
228 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
229 New 'panning-started' and 'panning-finished' signals.
231 Fixes: NB#121732 (New feature request: Signal to pannable area
232 that informs when panning is stopped.)
234 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
236 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
237 instead of hardcoded colon.
239 Fixes: NB#124090 (New calendar wizard title is not using
240 ecdg_ti_caption_separator)
242 2009-06-22 David King <davidk@openismus.com>
244 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
245 constants and functions, as well as correct many typos throughout the
248 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
251 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
253 * configure.ac: postrelease version bump.
254 * debian/changelog: post release version bump
256 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
261 * configure.ac: Bump version.
262 * debian/changelog: Updates.
264 2009-06-18 Alberto Garcia <agarcia@igalia.com>
266 * hildon/hildon-window-stack.c
267 (hildon_window_stack_pop_and_push_list):
268 Prevent windows from having the same stack index
270 2009-06-18 Alberto Garcia <agarcia@igalia.com>
272 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
273 Use the index of the previous window rather than the stack length
274 to calculate the new index.
278 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
280 * hildon/hildon-date-selector.c
281 (hildon_date_selector_select_current_date)
282 (hildon_date_selector_get_date)
283 (hildon_date_selector_select_day):
284 Update the documentation: uses always the range (1-31), as it is obvious
285 that the final one will depend on the month and the year, but globally
286 the range is this, in a similar GtkCalendar approach
287 (hildon_date_selector_get_date):
288 Update the documentation: add NULL as a valid value for the day, month
291 Fix some details, after talk with David King on bug MB#4698
293 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
295 * hildon/hildon-touch-selector-entry.c
296 * hildon/hildon-touch-selector.c
297 Update the documentation of the "text-column" property
299 2009-06-18 David King <davidk@openismus.com>
301 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
302 several typos and errors throughout the documentation.
304 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
307 2009-06-18 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-note.c (hildon_note_realize):
310 Make HildonNote support portrait mode.
312 Fixes: NB#123448 (HildonNote is not portrait-friendly)
314 2009-06-17 Alberto Garcia <agarcia@igalia.com>
316 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
317 Document this function
319 2009-06-17 David King <davidk@openismus.com>
321 * hildon/hildon-date-selector.c
322 (hildon_date_selector_select_current_date)
323 (hildon_date_selector_get_date): Update documentation regarding days,
324 as the day of the month is dependent on both the month and the year.
325 (hildon_date_selector_get_date): Fix documentation of output arguments.
327 Fixes: MB#4698 (DateSelector documentation has bad output argument
328 description, and the day depends on both the month and the year)
330 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
332 * hildon/hildon-caption.c: Other documentation fixes to
335 2009-06-17 David King <davidk@openismus.com>
337 * hildon/hildon-caption.c: Minor documentation updates for
338 HildonCaption. Fixes MB#4697.
340 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
342 * doc/hildon-docs.sgml: Add hildon-version section.
343 * doc/hildon-sections.txt:
344 * hildon/hildon-version.h.in: Document versioning macros and
347 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
349 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
350 from HildonPickerDialog section.
352 2009-06-16 Alberto Garcia <agarcia@igalia.com>
354 * hildon/hildon-banner.c (hildon_banner_bind_style)
355 (screen_size_changed, hildon_banner_init)
356 (hildon_banner_real_show_information)
357 (hildon_banner_show_information_with_markup)
358 (hildon_banner_show_animation, hildon_banner_show_progress):
359 Set a different widget name to banners in portrait mode, for them
360 to be themed correctly.
362 2009-06-16 Alberto Garcia <agarcia@igalia.com>
364 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
365 Set a different widget name to notes in portrait mode, for them to
368 Partially fixes: NB#118401 (HildonNote causes unnecessary
371 2009-06-16 Alberto Garcia <agarcia@igalia.com>
373 * hildon/hildon-note.c (hildon_note_class_init)
374 (+hildon_note_size_request, screen_size_changed):
375 Always request the full width of the screen.
377 Fixes: NB#118375 (unnecessary rescaling of images)
379 2009-06-16 Alejandro G. Castro <alex@igalia.com>
381 * hildon/hildon-pannable-area.c,
382 (hildon_pannable_area_init),
383 (hildon_pannable_area_realize): Replaced old code adding flags in
384 the object init, now we add it with the other flags in the realize
387 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
389 * hildon/hildon-note.c: (hildon_note_class_init): Several
390 documentation improvements to the HildonNote widget.
392 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
394 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
396 Fixes: MB#4556 (HildonNoteType is undocumented)
398 2009-06-15 Alberto Garcia <agarcia@igalia.com>
400 * hildon/hildon-picker-button.c:
401 Explain how HildonPickerButton sets the title of its dialog
403 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
404 the title of its dialog)
406 2009-06-15 Alberto Garcia <agarcia@igalia.com>
408 * hildon/hildon-check-button.c:
409 Documentation updates
411 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
414 2009-06-15 Alberto Garcia <agarcia@igalia.com>
417 * hildon/hildon-edit-toolbar-private.h
418 * hildon/hildon-edit-toolbar.c
419 (+hildon_edit_toolbar_set_progress_indicator)
420 (hildon_edit_toolbar_init): Add progress indicator to the
423 * hildon/hildon-gtk.c
424 (hildon_gtk_window_set_progress_indicator):
425 If the window contains a HildonEditToolbar, enable the progress
428 * hildon/hildon-private.h
429 * hildon/hildon-private.c
430 (+hildon_private_create_animation)
431 * hildon/hildon-banner.c
432 (-hildon_banner_create_animation):
433 Moved to hildon-private.c
435 Fixes: NB#102373 (Progress indicator also for the Edit mode
438 2009-06-15 Alberto Garcia <agarcia@igalia.com>
440 * hildon/hildon-app-menu-private.h
441 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
442 (hildon_app_menu_add_filter, +menu_item_button_event)
443 (hildon_app_menu_button_release, hildon_app_menu_init):
444 Make sure that buttons receive 'button-release-event' in spite of
445 the grab held by HildonAppMenu
447 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
449 2009-06-15 Alberto Garcia <agarcia@igalia.com>
451 * hildon/hildon-app-menu.c
452 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
453 New style property to set the size of the group of filter buttons.
455 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
457 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: Bump version.
463 * debian/changelog: Updates.
465 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
467 * hildon/hildon-main.c: Minor documentation fixes.
469 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
471 * doc/hildon-sections.txt:
472 * hildon/hildon-defines.h: Document the defines, organize them,
473 and mark deprecations as such.
475 Fixes: MB#4463 (Hildon size #defines are undocumented)
477 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
479 * hildon/hildon-animation-actor.c:
480 * hildon/hildon-app-menu.c:
481 * hildon/hildon-button.c:
482 * hildon/hildon-date-editor.c:
483 * hildon/hildon-dialog.c:
484 * hildon/hildon-edit-toolbar.c:
485 * hildon/hildon-entry.c:
486 * hildon/hildon-program.c:
487 * hildon/hildon-remote-texture.c:
488 * hildon/hildon-stackable-window.c:
489 * hildon/hildon-text-view.c:
490 * hildon/hildon-touch-selector.c:
491 * hildon/hildon-window-stack.c:
492 * hildon/hildon-window.c:
494 Remove redundant "represents" wording from most of the documentation.
496 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
498 2009-06-12 Alberto Garcia <agarcia@igalia.com>
503 * hildon/hildon-banner-private.h
504 * hildon/hildon-banner.c:
505 Move HildonBannerPrivate to hildon-banner.c and remove
506 hildon-banner-private.h
507 Use a bit field to store private booleans.
509 2009-06-12 Alberto Garcia <agarcia@igalia.com>
511 * hildon/hildon-app-menu.c (hildon_app_menu_map):
512 Don't install a new idle function if there's already one
517 2009-06-11 Alberto Garcia <agarcia@igalia.com>
519 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
520 (+legacy_menu_realized, +legacy_menu_unmapped)
521 (+set_legacy_menu_type):
522 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
523 they can be identified by the window manager.
525 Fixes: NB#101437 (Invoking CSM on the left side of page area is
526 displayed in wrong location)
528 Fixes: MB#4563 (Popup menu won't locate at the left side of the
531 2009-06-11 Alberto Garcia <agarcia@igalia.com>
533 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
535 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
538 2009-06-11 Alberto Garcia <agarcia@igalia.com>
540 * hildon/hildon-code-dialog.c
541 * hildon/hildon-date-editor.c
542 * hildon/hildon-number-editor.c
543 * hildon/hildon-seekbar.c
544 * hildon/hildon-stackable-window.c
545 * hildon/hildon-window.c:
546 Misc documentation updates
548 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
550 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
551 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
553 Fixes: NB#117931 (Theming issues in accounts dialogs)
555 2009-06-09 Alejandro G. Castro <alex@igalia.com>
557 * hildon/hildon-pannable-area.c,
558 (hildon_pannable_area_button_release_cb): Changed the coordinates
559 of the original release in case we want to discard the release,
560 some widgets in Fremantle do not handle the leave-notify.
562 2009-06-09 Alejandro G. Castro <alex@igalia.com>
564 * hildon/hildon-pannable-area.c,
565 (hildon_pannable_area_button_release_cb): Reviewed the logic of
566 the release using the last refactored functions and avoiding the
567 movement if an element was selected.
569 2009-06-09 Alejandro G. Castro <alex@igalia.com>
571 * hildon/hildon-pannable-area.c,
572 (hildon_pannable_area_check_move),
573 (hildon_pannable_area_handle_move),
574 (hildon_pannable_area_motion_notify_cb): Refactored the
575 motion_notify method using a couple of new functions.
577 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
579 * hildon/hildon-date-selector.c:
580 (hildon_date_selector_construct_ui):
581 * hildon/hildon-time-selector.c:
582 (hildon_time_selector_constructor):
583 * hildon/hildon-touch-selector-entry.c:
584 (hildon_touch_selector_entry_set_text_column),
585 (hildon_touch_selector_entry_get_text_column):
586 * hildon/hildon-touch-selector.c: (_default_print_func),
587 (hildon_touch_selector_new_text): Use
588 hildon_touch_selector_set/get_text_column() instead of
589 setting/getting the "text-column" property.
591 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
593 * doc/hildon-sections.txt: Add the new public methods below.
595 * examples/hildon-picker-button-multicolumn-example.c:
596 (create_touch_selector):
597 * examples/hildon-touch-selector-example.c: (create_selector):
598 * examples/hildon-touch-selector-multi-cells-example.c:
600 Use hildon_touch_selector_column_set_text_column()
602 * hildon/hildon-touch-selector-column.h:
603 * hildon/hildon-touch-selector.c:
604 (hildon_touch_selector_column_set_text_column),
605 (hildon_touch_selector_column_get_text_column):
606 Make hildon_touch_selector_column_set/get_column() public, use
607 them in the inline example, document them, and reference to them
610 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
612 * hildon/hildon-time-selector.c: Fix the docs for
613 hildon_time_selector_new_step().
615 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
617 * hildon/hildon-touch-selector.c: Improve the documentation for
618 hildon_touch_selector_append_column().
620 Fixes MB#4641 (Documentation:
621 hildon_touch_selector_append_column() ref-counting)
623 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
625 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
626 Comment out test 5, since the hildon_controlbar_set_range() range
627 check is broken and fixing it would have side effects. Also,
628 this finally fixes make distcheck.
630 Fixes: NB#101420 (Update unit tests and fix make distcheck)
632 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
634 * tests/TEST-CASES.txt: Remove other bogus test.
635 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
636 Remove bogus test that was setting/retrieving a valid value.
638 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
640 * tests/TEST-CASES.txt: Remove bogus tests.
641 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
642 Remove three bogus tests that were actually setting valid colors.
644 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
646 * configure.ac: post release version bump
647 * debian/changelog: post release version bump
649 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: Bump version.
655 * debian/changelog: Updates.
657 2009-06-08 Christian Dywan <christian@lanedo.com>
661 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
662 Correct errors in hildon_format_file-size_for_display and use
663 translations from the hildon-fm package instead of osso-filemanager.
665 2009-06-08 Alejandro G. Castro <alex@igalia.com>
667 * hildon/hildon-pannable-area.c,
668 (hildon_pannable_area_init): Initialized new values to handle the
670 (hildon_pannable_area_adjust_value_changed): Check if the values
671 changed before even call the redraw function.
672 (hildon_pannable_area_size_allocate),
673 (hildon_pannable_axis_scroll),
674 (hildon_pannable_area_scroll),
675 (hildon_pannable_area_jump_to): Improved the diagonal movement
678 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
681 2009-06-08 Alberto Garcia <agarcia@igalia.com>
683 * examples/hildon-banner-example.c:
684 Several style updates
685 (on_animation_clicked, on_animation_idle)
686 (on_progress_clicked, on_progress_idle):
687 Add additional reference for the cases when the parent window is
690 2009-06-08 Alberto Garcia <agarcia@igalia.com>
692 * doc/hildon-sections.txt
693 * hildon/hildon-pannable-area.c
694 * hildon/hildon-banner.h
695 * hildon/hildon-banner.c: Documentation updates.
697 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
700 2009-06-05 Alejandro G. Castro <alex@igalia.com>
702 * hildon/hildon-calendar-popup.h:
703 * hildon/hildon-caption.h:
704 * hildon/hildon-code-dialog.h:
705 * hildon/hildon-controlbar.h:
706 * hildon/hildon-date-editor.h:
707 * hildon/hildon-dialog.h:
708 * hildon/hildon-get-password-dialog.h:
709 * hildon/hildon-hvolumebar.h:
710 * hildon/hildon-login-dialog.h:
711 * hildon/hildon-note.h:
712 * hildon/hildon-number-editor.h:
713 * hildon/hildon-range-editor.h:
714 * hildon/hildon-seekbar.h:
715 * hildon/hildon-set-password-dialog.h:
716 * hildon/hildon-sort-dialog.h:
717 * hildon/hildon-time-editor.h:
718 * hildon/hildon-time-picker.h:
719 * hildon/hildon-volumebar-range.h:
720 * hildon/hildon-volumebar.h:
721 * hildon/hildon-vvolumebar.h:
722 * hildon/hildon-weekday-picker.h:
723 * hildon/hildon-window.h:
724 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
725 macros with the current replacements
727 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
729 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
731 * hildon/hildon-color-button.c (hildon_color_button_init): Use
732 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
733 itself, to make it fit better with Fremantle style.
735 Fixes: NB#109878 (height and width of focus on color icon is not
736 consistent with other item in the application tool bar)
738 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
740 * hildon/hildon-touch-selector.c:
741 (hildon_touch_selector_optimal_size_request): use the current requisition
742 as the base, in order to include any possible extra widget, like the
743 hildon entry on HildonTouchSelectorEntry
745 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
747 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
749 * configure.ac: post release version bump
750 * debian/changelog: post release version bump
752 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
757 * configure.ac: Bump version.
758 * debian/changelog: Updates.
760 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
762 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
764 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
765 to ensure the banner contents are centered, instead of relying on
766 the expand and fill properties in GtkHBox.
767 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
769 Fixes: NB#108265 (Animation banner not properly centered)
771 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
773 * hildon/hildon-pannable-area.c
774 (hildon_pannable_area_initial_effect): Remove the initial_effect
775 management, check initial_hint
776 (hildon_pannable_are_expose_event): Remove the initial_hint management,
777 set initial_effect to FALSE
778 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
779 by launching the fade_timeout if the scrollbars state has changed and are
781 * examples/hildon-pannable-area-initial-hint-example.c
782 Modified to allow to remove rows too. Add and remove rows one by one.
784 2009-05-28 Alberto Garcia <agarcia@igalia.com>
786 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
787 Don't close the menu if there's an animation actor below it.
789 Fixes: NB#117927 (Application menu not usable with animation
792 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
795 "focus-on-click" from the dialog button, to avoid stealing the
796 focus from the entry.
798 Fixes: NB#118903 (Account setup wizard: Text in Search field
799 should be focused when "Region" touch list picker is reopened
802 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
804 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
805 (prepare_action_area): Completely hide the dialog separator.
807 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
809 * hildon/hildon-touch-selector-entry.c
810 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
811 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
812 now that the entry is exposed.
814 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
816 * hildon/hildon-touch-selector-entry.c
817 (hildon_touch_selector_entry_init): Change the entry's size
818 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
820 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
822 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
823 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
824 avoid unnecessary scaling.
826 2009-05-27 Alberto Garcia <agarcia@igalia.com>
828 * hildon/hildon-app-menu.c (hildon_app_menu_map):
829 Create grab transfer window before calling parent's map function.
831 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
832 "crushed" button(s) in the top left corner)
834 2009-05-26 Alberto Garcia <agarcia@igalia.com>
836 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
837 Check if the window is already realized when pushing it.
839 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
841 * configure.ac: post release version bump
842 * debian/changelog: post release version bump
844 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
849 * configure.ac: Bump version.
850 * debian/changelog: Updates.
852 2009-05-25 Alberto Garcia <agarcia@igalia.com>
854 * hildon/hildon-app-menu.c: Doc updates.
856 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
858 * hildon/hildon-banner.c: Remove leftover macro.
860 2009-05-25 Alejandro G. Castro <alex@igalia.com>
862 * hildon/hildon-pannable-area.c,
863 (hildon_pannable_area_scroll_indicator_fade),
864 (hildon_pannable_area_button_release_cb): Reviewed vmin
865 conditions, it could cause problems in the fadeout procedure.
867 2009-05-25 Alejandro G. Castro <alex@igalia.com>
869 * hildon/hildon-pannable-area.c
870 (hildon_pannable_area_button_release_cb): Added a threshold to
871 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
873 2009-05-25 Alejandro G. Castro <alex@igalia.com>
875 * hildon/hildon-pannable-area.c,
876 (hildon_pannable_area_set_property): Added code to sync the gtk
877 dnd threshold with the panning threshold.
879 2009-05-25 Alejandro G. Castro <alex@igalia.com>
881 * hildon/hildon-pannable-area.c,
882 (hildon_pannable_area_class_init): Changed some of the default
883 values, now it should be less responsive and more accurate.
885 2009-05-25 Alejandro G. Castro <alex@igalia.com>
887 * hildon/hildon-pannable-area.c,
888 (hildon_pannable_area_init),
889 (hildon_pannable_area_scroll_indicator_fade),
890 (hildon_pannable_area_button_press_cb),
891 (hildon_pannable_axis_scroll),
892 (hildon_pannable_area_timeout),
893 (hildon_pannable_area_motion_notify_cb),
894 (hildon_pannable_area_button_release_cb): Changed the name of the
895 clicked attribute to button_pressed, it is more clear about its use.
897 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
899 * src/hildon-pannable-area.c
900 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
902 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
903 vertical scrollbar visibility, and use the data on private section instead,
904 remove the initial_hint check
905 (hildon_pannable_area_expose_event): add the initial_hint check here
907 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
909 * src/hildon-pannable-area.c
910 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
911 if the fadeout effect was used
912 (hildon_pannable_area_expose_event): check if it is required to
913 manage the initial effect on the begining of the function. Previously
914 it was made at the end, but this doesn't ensure that the scrollbars
915 will be painted on the first show. Do not set to FALSE initial_effect,
916 to ensure that the initial hint is showed the first time the pannable
918 * examples/Makefile.am
919 * examples/hildon-pannable-area-initial-hint-example.c:
920 New example, to show that the initial-hint is showed when the widget
923 Fixes: NB#116607 (Pannable area should always have scrollbar visible
924 initially if the application can be scrolled)
926 2009-05-25 Alberto Garcia <agarcia@igalia.com>
928 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
929 Resize table before adding new items to make sure that
930 gtk_table_resize() is called just once.
932 2009-05-25 Alberto Garcia <agarcia@igalia.com>
934 * hildon/hildon-app-menu-private.h
935 * hildon/hildon-app-menu.c (item_visibility_changed)
936 (filter_visibility_changed, hildon_app_menu_show_all)
937 (hildon_app_menu_hide_all, hildon_app_menu_init):
938 Rearrange items just once when gtk_widget_show_all()/hide_all()
941 2009-05-25 Alberto Garcia <agarcia@igalia.com>
943 * hildon/hildon-app-menu.c
944 (hildon_app_menu_insert, hildon_app_menu_add_filter):
945 Don't call gtk_widget_show() on added items.
947 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
948 automatically when they're added)
950 2009-05-20 Alberto Garcia <agarcia@igalia.com>
952 * hildon/hildon-banner.c
953 (hildon_banner_realize, +hildon_banner_unrealize)
954 (+screen_size_changed, hildon_banner_class_init):
955 Redisplay the banner if the screen is rotated.
957 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
958 on transition from landscape to portrait)
960 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
962 * hildon/hildon-banner.[ch]:
963 (hildon_banner_show_information_override_dnd): remove icon_name from the
964 method definition as it is ignored.
965 * examples/hildon-banner-dnd-example.c: updated with the change on
968 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
970 * hildon/hildon-banner-private.h: new require_override_dnd and
971 overrides_dnd variables
972 * hildon/hildon-banner.h:
973 (hildon_banner_show_information_override_dnd): new method, that shows
974 the information but sets the override flag, in order to show important
976 * hildon/hildon-banner.c
977 (hildon_banner_show_information_override_dnd): new method
978 (hildon_banner_set_override_flag): new utility function
979 (hildon_banner_real_show_information): new utility function, in order to
980 generalize the current hildon_banner_show_information_override_dnd and
981 hildon_banner_show_information_override_dnd
982 * examples/Makefile.am
983 * examples/hildon-banner-dnd-example.c: New example that show how to
984 use the new hildon_banner_show_information_override_dnd
986 Fixes: NB#114874 (There is no possibility to show hildon banners with
989 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
991 * hildon/hildon-pannable-area.c: Add a comment explaining the math
992 behind hildon_pannable_calculate_vel_factor().
994 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
996 * hildon/hildon-pannable-area.c
997 (hildon_pannable_calculate_vel_factor): Correct the sum of the
998 deceleration factors.
1000 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1002 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1003 Reduce the default value for 'scroll_time' to 1 second, since the
1004 current initial scrolling takes too much time.
1006 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1008 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1009 calculate velocity factor during initialization, since the properties
1012 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1014 * hildon/hildon-pannable-area.c
1015 (hildon_pannable_area_set_property): Calculate the velocity factor
1016 after setting the deceleration property and not after.
1018 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1020 * hildon/hildon-entry.c
1021 (hildon_entry_class_init, +set_property, hildon_entry_new)
1022 * hildon/hildon-check-button.c
1023 (hildon_check_button_class_init)
1024 (+set_property, hildon_check_button_new):
1025 Make the theme size a property.
1027 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1028 others) do too much in the _new function)
1030 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1032 * configure.ac: post release version bump
1033 * debian/changelog: post release version bump
1035 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1040 * configure.ac: Bump version.
1041 * debian/changelog: Updates.
1043 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1045 * hildon/hildon-gtk.h
1046 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1047 New API function to take a screenshot of a window
1049 Fixes: NB#106374 (Need API to take a loading screenshot)
1051 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1053 * hildon/hildon-time-selector.c
1054 (update_format_policy): prevent to use hours and minutes unitialized
1056 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1058 * hildon/hildon-window.c (hildon_window_size_request):
1059 Always request the full size of the screen (minus the title bar if
1060 not in fullscreen mode).
1062 Fixes: NB#107486 (HildonWindow should size itself properly)
1064 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1066 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1067 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1068 (on_show_cb), (sound_handling): Disconnect the idle handler for
1069 the sound when the note is finalized to avoid possible crashes.
1071 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1074 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1076 * src/hildon-animation-actor.c,
1077 * src/hildon-remote-texture.c:
1078 Added proper object cleanup to remove signal handler and object
1079 references as HildonAnimationActor and HildonRemoteTexture
1080 objects get destroyed.
1082 Fixes: NB#116682 (Destroying parented animation actors when
1083 parent in unmapped leads to crash)
1085 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1087 Based on a patch by Christian Dywan (christian@imendio.com)
1089 * doc/hildon-sections.txt:
1090 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1091 * hildon/hildon-helper.h: New file size formatting method.
1093 * debian/control: Depend on osso-filemanager l10n package for
1094 proper localization strings.
1096 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1098 * tests/Makefile.am: Include top_srcdir to make possible to build
1099 tests in a different builddir.
1100 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1101 on a different builddir.
1103 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1105 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1106 (hildon_touch_selector_remove): Disconnect model's signal handler
1109 Fixes: NB#116289 (Hildon home crashes while adding task
1112 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1114 * hildon/hildon-button.c
1115 (hildon_button_set_title, hildon_button_set_value):
1116 Hide labels containing an empty string.
1118 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1120 * configure.ac: post release version bump
1121 * debian/changelog: post release version bump
1123 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1128 * configure.ac: Bump version.
1129 * debian/changelog: Updates.
1131 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1133 * hildon/hildon-note-private.h: Removed sound_signal_handler
1134 * hildon/hildon-note.c
1135 (on_show_cb): new callback on note "show" event, this simply adds
1136 a idle, with the function sound_handling
1137 (sound_handling): removed the sound_signal_handler management
1138 (hildon_note_init): connect note "show" event to on_show_cb
1139 (hildon_note_realize): remove the connection to "expose-event"
1141 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1142 device?' confirmation note)
1144 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1146 * hildon/hildon-note.c
1147 (hildon_note_new_information_with_icon_name)
1148 (hildon_note_new_confirmation_with_icon_name):
1149 Terminate the list of parameters in g_object_set() calls
1151 Fixes: NB#115166 (Formatting memory card is not taking place)
1153 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1155 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1156 "dialog-information" role for the sound being played.
1158 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1160 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1161 Don't make the menu a modal window, it causes strange interactions
1162 with the pointer grab and it's not really needed.
1164 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1166 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1168 * hildon/hildon-touch-selector.[ch]
1169 (hildon_touch_selector_optimal_size_request): function added to get a
1170 optimal size request from the touch selector, when you want a dialog to
1171 show as much of the selector
1172 * hildon/hildon-picker-dialog.c:
1173 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1174 (hildon_app_menu_class_init):
1175 New "max-height-landscape" and "max-height-portrait" style properties
1176 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1177 (hildon_picker_dialog_get_max_height): returns the maximum height using
1178 the style properties defined and checking the current portrait/landscape
1180 (_hildon_picker_dialog_set_selector): removed the set_size_request
1182 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1184 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1186 * hildon/hildon-bread-crumb-trail.c:
1187 * hildon/hildon-bread-crumb.c:
1188 * hildon/hildon-seekbar.c:
1189 Add reference to replacements for these deprecated widgets.
1191 Fixes: MB#4461 (Documentation: All deprecations should mention
1194 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1196 * examples/hildon-remote-texture-example.c
1198 Change the include to the hildon-remote-texture in order to compile
1199 properly the examples on the installed libhildon1-examples package
1201 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1203 * tests/Makefile.am: Add check for HildonPickerButton.
1204 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1205 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1206 checks for the HildonPickerButton.
1207 * tests/check_test.c (configure_tests): Add the test suite.
1208 * tests/test_suites.h: likewise.
1210 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1212 * hildon/hildon-touch-selector.c
1213 (+on_row_changed): Emit HildonTouchSelector:changed when the
1214 contents of a selected row change.
1215 (_create_new_column), (_hildon_touch_selector_set_model): connect
1216 to GtkTreeModel:row-changed on a newly set model.
1218 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1220 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1222 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1224 * hildon/hildon-banner.c (hildon_banner_destroy)
1225 (hildon_banner_show_progress, hildon_banner_set_fraction):
1226 Remove the progress bar from HildonBanner and use a progress
1229 Fixes: NB#113761 (Update progress banner to use progress
1232 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1234 * hildon/hildon-banner.c:
1235 Calculate size of the banner label using the actual screen width
1236 rather than using a fixed value.
1238 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1241 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1243 * hildon/hildon-pannable-area.c,
1244 (hildon_pannable_area_class_init): Fixed signals documentation
1247 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1249 * configure.ac: post release version bump
1250 * debian/changelog: post release version bump
1252 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: Bump version.
1258 * debian/changelog: Updates.
1260 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1262 * hildon/hildon-edit-toolbar.c
1263 (hildon_edit_toolbar_init):
1264 Don't let buttons in HildonEditToolbar receive focus.
1266 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1267 typing on an HW arrows key)
1269 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1271 * doc/Makefile.am: Fix build.
1273 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1275 * doc/Makefile.am: Do not redefine content_files.
1277 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1285 Renamed src/ to hildon/
1290 Include <hildon/hildon.h> directly in all examples.
1292 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1294 * src/hildon-sort-dialog.c
1295 (hildon_sort_dialog_add_sort_key_with_sorting)
1299 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1301 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1302 make distcheck passes.
1304 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1306 * Makefile.am: Enable gtk-doc during distcheck.
1308 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1310 * Makefile.am: Do not distribute the debian/ directory.
1312 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1314 * doc/Makefile.am: Add the extra SGML files to content_files,
1315 so that they are distributed properly.
1317 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1319 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1322 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1324 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1325 (hildon_note_new_information_with_icon_name): Set the "icon" property
1326 to preserve soundness.
1328 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-font-selection-dialog.c
1331 (hildon_font_selection_dialog_set_property): Fail when the "family"
1332 property is set to NULL.
1334 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1339 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1341 * src/hildon-time-selector.h:
1342 Added HildonTimeSelectorFormatPolicy
1343 * src/hildon-time-selector.c:
1344 Added PROP_TIME_FORMAT_POLICY
1345 (_check_ampm_format): renamed to check_automatic_ampm_format
1346 (update_format_policy), (update_format_dependant_columns): new functions
1347 (hildon_time_selector_class_init)
1348 (hildon_time_selector_contructor)
1349 (hildon_time_selector_init)
1350 (hildon_time_selector_get_property)
1351 (hildon_time_selector_set_property)
1352 (hildon_time_selector_get_time)
1353 (hildon_time_selector_set_time)
1354 * src/hildon-touch-selector.h: new file
1355 * src/hildon-touch-selector.c
1356 (hildon_touch_selector_emit_changed)
1357 (hildon_touch_selector_block_changed)
1358 (hildon_touch_selector_unblock_changed)
1359 Added functions to allow to block the emission of the "changed" signal
1360 * src/hildon-picker-dialog.c
1361 (hildon_picker_dialog_show): call the parent show before the custom code
1362 * examples/hildon-time-button-example.c
1363 Modified, so now you can configure the time format using the new property
1365 Added a new property "time-format-policy" that allow to choose the time
1366 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1367 case it uses gconf in order to check if the time selector must use
1370 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1373 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1375 * src/hildon-note.c (hildon_note_init):
1376 Label in HildonNote must be left aligned, not centered. This
1377 reverts the last commit in HildonNote.
1379 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1380 is connectivity dialog)
1382 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1387 * doc/hildon-sections.txt:
1388 Added hildon_gtk_window_set_do_not_disturb()
1390 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-note.c (hildon_note_init): Center label.
1394 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1397 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1402 * configure.ac: Bump version.
1403 * debian/changelog: Updates.
1405 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-note-private.h: Add button-width to the private data.
1408 * src/hildon-note.c (+resize_button),
1409 (+hildon_note_orientation_update): methods to repack widgets on orientation
1411 (screen_size_changed): Call above method for confirmation notes.
1412 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1413 (hildon_note_rebuild): Store the original width request from buttons.
1415 Fixes: NB#109635 (Confirmation notes do not support portrait)
1417 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1419 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1420 when it is a progress note.
1422 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1425 in the note, since there are no horizontally arranged contents.
1427 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-gtk.c (+set_flag): new generic method to
1430 set/delay a flag setting in a window.
1431 (hildon_gtk_window_set_progress_indicator):
1432 (hildon_gtk_window_set_do_not_disturb),
1433 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1434 avoid code redundance.
1436 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1438 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1440 * src/hildon-gtk.c (set_clear_window_flag),
1441 (do_set_progress_indicator), (do_set_do_not_disturb),
1442 (do_set_portrait_flags),
1443 (hildon_gtk_window_set_progress_indicator),
1444 (hildon_gtk_window_set_do_not_disturb),
1445 (hildon_gtk_window_set_portrait_flags):
1446 Allow setting dnd-flag, progress indicator, and portrait flags
1447 when the window is not realized.
1449 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1451 * src/hildon-pannable-area.c,
1452 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1453 the size request policy function and defines.
1455 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1457 * doc/hildon-sections.txt: Add the new API.
1458 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1459 method to set the portrait flags.
1460 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1462 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1464 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1467 to allow using this method with other flags.
1468 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1469 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1471 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-touch-selector.c
1474 (hildon_touch_selector_append_text_column):
1475 Make the cell renderer use the smallest width possible.
1477 Fixes: NB#108470 (Selected items in multiple selection are either
1478 having a tick that is cut or not visible at all.)
1480 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1482 * src/hildon-touch-selector.c
1483 (hildon_touch_selector_append_text_column):
1486 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1489 Use g_strdup_printf() instead of a fixed size buffer.
1491 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1493 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1494 Close banners when a HildonAppMenu is popped up.
1496 Fixes: NB#111027 (Title menu closed immediately if activated when
1497 "Invalid e-mail address" banner is shown)
1499 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1504 * configure.ac: Bump version.
1505 * debian/changelog: Updates.
1507 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-banner.c (hildon_banner_realize):
1510 Mark HildonBanner as supporting portrait mode.
1511 Use GDK to set window properties insetad of direct Xlib calls.
1513 Fixes: NB#111830 (HildonBanner should be marked as supporting
1516 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-note.c (hildon_note_rebuild):
1519 Hide action area in information notes. Prevents text from being
1520 slightly aligned to the left.
1522 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1525 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1527 Patch by Mox Soini (ext-mox.soini@nokia.com)
1529 * src/hildon-banner.c (hildon_banner_create_animation):
1530 Use stylus-sized icons in animation banner.
1532 Fixes: NB#111206 (stylus sized icon for animation banner)
1534 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1538 (+hildon_gtk_window_set_do_not_disturb):
1539 New API to set the do-not-disturb flag.
1541 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1543 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1545 * examples/hildon-progress-indicator-example.c: Fix example
1547 * src/hildon-gtk.c (set_clear_window_flag)
1548 (hildon_gtk_window_set_progress_indicator):
1549 Create a generic function for setting flags to a window.
1550 Use GDK instead of direct Xlib calls.
1552 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-button.c (hildon_button_set_arrangement):
1555 Due to NB#88126, if one of the labels is too long it will be
1556 painted outside the button. The 'value' label is more likely to be
1557 the longest one, so we change its packing options in order to
1558 truncate it if necessary. As a side effect, the 'title' label will
1559 no longer be truncated.
1561 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1563 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1568 * configure.ac: Bump version.
1569 * debian/changelog: Updates.
1571 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1573 Deprecation of the hildon_pannable_area_set_size_request_policy
1574 API, the only policy properly supported in gtk+ nowadays is the
1577 * src/hildon-pannable-area.c,
1578 (hildon_pannable_area_size_request): Added a workaround for the
1579 size_request to avoid the problems of huge pixmaps in case someone
1580 is still using the function.
1581 * src/hildon-pannable-area.h: Deprecated the enum with the
1584 Fixes: NB#110244 (Problems with the
1585 hildon_pannable_area_set_size_request_policy API)
1587 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1589 * src/hildon-pannable-area.c,
1590 (hildon_pannable_area_init),
1591 (hildon_pannable_area_size_request),
1592 (hildon_pannable_area_style_set),
1593 (hildon_pannable_draw_vscroll),
1594 (hildon_pannable_draw_hscroll),
1595 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1596 indicator_width to clarify the use of the attribute.
1598 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1603 * configure.ac: Bump version.
1604 * debian/changelog: Updates.
1606 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1608 * src/hildon-picker-dialog.c
1609 * src/hildon-touch-selector.c
1610 Reverting the change that tried to avoid the hardcoded height on
1611 the picker dialog, as causes problems on the hildon-touch-selector
1614 Fixes: NB#110029 (selectors not scrolling to selected value)
1616 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1618 * src/hildon-touch-selector.c: Fix typos
1620 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1623 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1624 request more motions after using it.
1626 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1628 * src/hildon-calendar.c (hildon_calendar_expose),
1629 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1630 Remove unused variables.
1632 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1634 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1635 variable assignment.
1637 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1639 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1640 Check the return value of gtk_tree_selection_get_selected()
1643 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-animation-actor.c
1646 * src/hildon-button.c
1648 * src/hildon-pannable-area.c
1649 * src/hildon-picker-button.c
1650 * src/hildon-program.c
1651 * src/hildon-remote-texture.c
1652 * src/hildon-text-view.c
1653 * src/hildon-touch-selector.c
1654 * src/hildon-window-stack.c
1655 * src/hildon-window.c:
1656 Add missing 'Since: 2.2' tags.
1658 * doc/hildon-sections.txt:
1659 Add some missing symbols.
1661 * doc/hildon-docs.sgml:
1662 New 'Other' section for HildonAnimationActor and
1665 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1667 Patch by Iván Gómez (igomez@igalia.com)
1670 * doc/compiling.sgml
1671 * doc/hildon-docs.sgml
1672 * doc/hildon-sections.txt
1673 * doc/migration.sgml
1674 * doc/resources.sgml
1676 New chapters on using the Hildon library.
1677 Updated the general structure of the reference manual.
1678 Other minor documentation fixes.
1680 * src/hildon-calendar-popup.c
1681 * src/hildon-calendar.c
1682 * src/hildon-controlbar.c
1683 * src/hildon-date-editor.c
1684 * src/hildon-dialog.c
1685 * src/hildon-hvolumebar.c
1686 * src/hildon-number-editor.c
1687 * src/hildon-range-editor.c
1688 * src/hildon-sort-dialog.c
1689 * src/hildon-time-editor.c
1690 * src/hildon-time-picker.c
1691 * src/hildon-volumebar-range.c
1692 * src/hildon-volumebar.c
1693 * src/hildon-vvolumebar.c
1694 * src/hildon-weekday-picker.c:
1695 Add deprecation notes
1697 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1698 Document 'horizontal-movement' and 'vertical-movement' signals.
1700 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: Bump version.
1706 * debian/changelog: Updates.
1708 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1710 * src/hildon-pannable-area.c,
1711 (hildon_pannable_area_class_init): increased the minimum velocity.
1712 (hildon_pannable_area_button_release_cb): Updated the
1713 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1714 setup. Review the code to control that last event.
1716 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1719 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1721 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1723 * src/hildon-get-password-dialog.c
1724 (hildon_get_password_set_property),
1725 (hildon_get_password_get_property), (create_contents):
1726 * src/hildon-login-dialog-private.h:
1727 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1728 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1729 (hildon_login_dialog_get_password):
1730 * src/hildon-set-password-dialog-private.h:
1731 * src/hildon-set-password-dialog.c
1732 (hildon_set_password_set_property),
1733 (hildon_set_password_get_property), (create_contents),
1734 (hildon_set_password_response_change),
1735 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1737 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1738 instead and look more Fremantle style.
1740 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1742 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1744 * doc/hildon-sections.txt
1745 * src/hildon-window-stack.h
1746 * src/hildon-window-stack.c
1747 (+hildon_window_stack_get_windows):
1748 New API to obtain the list of windows on a stack.
1750 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1752 * src/hildon-app-menu.c (hildon_app_menu_popup)
1753 (hildon_app_menu_class_init, -hildon_app_menu_show):
1754 Remove hildon_app_menu_show() and move all its checks to
1755 hildon_app_menu_popup()
1757 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1759 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1760 (_hildon_picker_dialog_set_selector): removed call to
1761 gtk_widget_set_size_request
1762 * src/hildon-touch-selector.c
1763 (_create_new_column): change the pannable size request policy
1765 Avoid to use a hardcoded height for the hildon picker dialog. In order
1766 to get that, we needed to change the hildon pannable size request
1768 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1770 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1773 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1776 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1778 * debian/control: Depend on osso-system-lock localization package.
1779 * src/hildon-code-dialog.c: Obtain the secu_application_title
1780 translation from osso-system-lock.
1781 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1782 for translation the atk related strings, that's not necessary.
1783 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1784 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1785 cancel button, it is not required.
1787 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1789 * src/hildon-pannable-area.c,
1790 (hildon_pannable_area_class_init): Modified the default value of
1791 the overshooting max speed, we have reduced it.
1793 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1795 * doc/hildon-sections.txt
1796 * src/hildon-window-private.h
1797 * src/hildon-window.h
1798 * src/hildon-window.c (hildon_window_class_init)
1799 (hildon_window_init, hildon_window_finalize)
1800 (hildon_window_realize, hildon_window_get_property)
1801 (hildon_window_set_property, hildon_window_update_markup)
1802 (hildon_window_get_markup, hildon_window_set_markup):
1803 New "markup" property and hildon_window_{get,set}_markup() methods.
1805 * examples/hildon-stackable-window-example.c (new_window):
1806 Update example to use hildon_window_set_markup()
1808 Fixes: NB#106375 (Need API to retitle a window with a title
1811 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1813 * src/hildon-pannable-area.c,
1814 (hildon_pannable_area_class_init): Changed the default value of
1815 the initial_hint to TRUE.
1816 (hildon_pannable_area_initial_effect): Changed the initial effect,
1817 not the effect is just the fade-out of the scrollbars.
1819 Fixes: NB#107775 (No scrollbars can be seen when several items are
1820 available in a dialog)
1822 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-program.c (hildon_program_update_top_most):
1827 Fixes: NB#109179 (Memory leak in Hildon program)
1829 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-banner.c (-get_current_app_window):
1832 Remove unused function.
1834 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1836 * src/hildon-pannable-area.c: Modified the documentation of the
1837 get adjustments functions to explain the problem of using the
1838 adjustment directly.
1839 (hildon_pannable_area_class_init): Improved the explanation about
1842 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-app-menu-private.h
1845 * src/hildon-app-menu.c
1846 (hildon_app_menu_class_init):
1847 Bring back the 'external-border' style property
1848 (hildon_app_menu_class_init, hildon_app_menu_init)
1849 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1850 Set a fixed width-request for the menu, independent of the number
1853 Fixes: NB#94957 (Smoothly opened application menu)
1855 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1859 * src/hildon-banner.c
1860 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1862 Make sure that the banner is correctly placed the first time it's
1864 (hildon_banner_check_position, -check_fullscreen_state):
1865 Show the banner in the same place no matter if the window is in
1866 fullscreen mode or not.
1868 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1870 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-touch-selector.c (_default_print_func): reorder
1873 concatenation for clarity.
1875 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1878 for multicolumn selectors.
1880 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1882 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1887 * configure.ac: Bump version.
1888 * debian/changelog: Updates.
1890 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1895 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1897 * configure.ac: removed libcangerra-gtk dependency
1898 * debian/control: removed libcanberra-gtk dependency
1899 * src/Makefile.am: removed libcanberra gtk related flags
1900 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1901 context, and manage a global canberra context instead
1903 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1905 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1907 Patch by Daniel Borgmann (danielb@openismus.com)
1909 * src/hildon-edit-toolbar.c:
1910 Adjust the left padding.
1911 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1912 Paint background of the edit toolbar.
1914 Fixes: NB#107897 (Patch to make editmodetoolbar background
1915 themeable and adjust margin)
1917 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1919 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1921 * src/hildon-program.c (hildon_program_update_top_most):
1922 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1924 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1925 change when the user tasks in/out of an application)
1927 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1929 * configure.ac: added libcangerra-gtk dependency
1930 * debian/control: added libcanberra-gtk dependency
1931 * src/Makefile.am: added libcanberra gtk related flags
1932 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1935 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1937 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-program.c (hildon_program_remove_window)
1940 (hildon_program_add_window): Add checks for the window
1941 parameter. Don't decrease the window counter if the window is not
1944 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1946 * src/hildon-pannable-area.c,
1947 (hildon_pannable_area_realize): Fixed position of the event_window
1948 in the realize method.
1950 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-app-menu-private.h
1953 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1954 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1955 (hildon_app_menu_key_press, hildon_app_menu_init)
1956 (hildon_app_menu_finalize):
1957 Make sure that all idle functions are removed when the widget is
1960 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1962 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1967 * configure.ac: Bump version.
1968 * debian/changelog: Updates.
1970 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-entry.c
1973 (+hildon_entry_show_placeholder),
1974 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
1975 that replace hildon_entry_update_contents().
1976 (hildon_entry_set_text),
1977 (hildon_entry_set_placeholder),
1978 (hildon_entry_focus_in_event),
1979 (hildon_entry_focus_out_event): Determine when it is needed
1980 either to show or hide the placeholder and call the above methods.
1982 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
1983 when the placeholder text is already set)
1985 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
1988 simple GdkPixbufAnim using the new icons for the banner.
1989 (hildon_banner_show_animation): Use the above mentioned method to
1990 create the animation widget.
1992 Fixes: NB#103564 (Make hildon animation banner use individual
1993 image files as the animation)
1995 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1997 * src/hildon-pannable-area.c,
1998 (hildon_pannable_leave_notify_event): Check if the child is NULL
1999 to avoid sending the leave.
2001 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2003 * src/hildon-pannable-area.c,
2004 (hildon_pannable_area_class_init),
2005 (hildon_pannable_leave_notify_event): Added a handler of the
2006 leave-notify-signal to consider when no motion notify before
2009 Fixes: NB#107494 (Items stay selected when clicking and moving
2010 away when inside pannable area)
2012 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2017 * configure.ac: Bump version.
2018 * debian/changelog: Updates.
2020 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2022 Patch by Alberto Garcia (agarcia@igalia.com)
2024 * src/hildon-date-button.c,
2025 (hildon_date_button_class_init),
2026 (hildon_date_button_init): Removed the construct property handling
2027 and created a default selector in the init method.
2028 * src/hildon-picker-button.c,
2029 (hildon_picker_button_class_init): Removed the construct flag of the
2032 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-main.c (hildon_init):
2035 Don't allow hildon_init() to be called more than once.
2037 Fixes: NB#106607 (hildon_init should issue error message upon
2040 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2042 * examples/hildon-pannable-area-touch-list-example.c
2043 * examples/hildon-pannagle-area-touch-grid-example.c
2044 * examples/hildon-edit-toolbar-example.c
2045 * examples/hildon-touch-selector-multi-cells-example.c
2046 Removed the call to gtk_rc_parse_string, as it is not required since
2049 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2051 * src/hildon-pannable-area.c,
2052 (hildon_pannable_area_class_init): Modified the default panning
2053 threshold of the widget to 6px.
2055 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2056 than the threshold value ) within the button is not sending the
2059 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2062 for the treeview in the new column. This way, the touch list will never
2065 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2066 be selected manually for the HW keys to work)
2068 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2071 comparison instead of using strcmp(). Fixes a compiler warning as well.
2073 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2075 * doc/hildon-docs.sgml: Do not set the library version in the
2076 document title, use the releaseinfo tag for that purpose instead.
2078 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2081 Do not jump to the first item if the text in the entry is removed.
2083 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2088 * configure.ac: Bump version.
2089 * debian/changelog: Updates.
2091 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/hildon-entry.c (hildon_entry_refresh_contents):
2094 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2095 Use "ReversedSecondaryTextColor" for the placeholder text.
2097 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-text-view.c: Fix compilation warning.
2101 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2103 * src/hildon-button.c (hildon_button_class_init): Don't make
2104 "title" and "value" construction properties, to prevent them from
2105 overwriting labels set from derived classes.
2107 * src/hildon-picker-button.c
2108 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2109 (hildon_picker_button_class_init): Make touch-selector a
2110 construction property.
2112 * src/hildon-date-button.c (hildon_date_button_class_init)
2113 (+hildon_date_button_constructed): Add a default date selector if
2116 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2118 * src/hildon-touch-selector.c: Small documentation fixes.
2120 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2122 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2124 * src/hildon-entry.c (hildon_entry_refresh_contents),
2125 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2126 widget name, set the logical color directly instead and a boolean
2127 showing_placeholder instead.
2128 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2129 use the widget name here either.
2131 Fixes: NB#105678 (HildonTextView should use logical colours
2132 instead of setting widget name)
2134 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2136 Patch by Daniel Elster (danielk@openismus.com)
2138 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2139 Add user_data parameter.
2140 (hildon_touch_selector_set_print_func_full): New function akin
2141 hildon_touch_selector_set_print_func() but with support for user
2142 data and a destroy callback.
2143 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2144 to clean up the print function user data.
2145 (hildon_touch_selector_class_init): Install dispose function.
2146 (HildonTouchSelectorPrivate::print_user_data),
2147 (HildonTouchSelectorPrivate::print_destroy_func): New private
2149 (hildon_touch_selector_init): Initialize new private members.
2150 (hildon_touch_selector_get_current_text): Pass along user data
2151 to the print function.
2152 (_default_print_func): Add dummy user_data to parameter list.
2153 * hildon-date-selector.c (_custom_print_func): ditto,
2154 * hildon-time-selector.c (_custom_print_func): ditto,
2155 * hildon-touch-selector-entry.c
2156 (hildon_touch_selector_entry_print_func): ditto.
2158 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2160 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2162 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2164 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c,
2167 (hildon_pannable_area_init),
2168 (hildon_pannable_area_button_press_cb),
2169 (hildon_pannable_area_motion_notify_cb): We have added code to
2170 handle the leave and enter events when using the motion events.
2172 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2174 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2176 * src/hildon-date-button.c (hildon_date_button_get_date)
2177 (hildon_date_button_set_date): Make sure that the button has a
2180 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2182 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2184 * src/hildon-pannable-area.c,
2185 (hildon_pannable_area_class_init),
2186 (hildon_pannable_area_calculate_velocity): Modify the use of the
2187 force and adapt the value.
2189 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2192 (hildon_app_menu_class_init): Hide the menu if it receives a
2193 delete-event, but don't destroy it
2195 Fixes: NB#104485 (Not able to address the call when application
2196 menu is opened at background)
2198 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-app-menu.c
2201 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2202 Remove the "external-border" style property, let the menu take its
2203 natural size (or the one set by the window manager)
2204 (hildon_app_menu_repack_items):
2205 Don't reshow the menu, avoid flickers.
2207 Partially fixes NB#94957 (Smoothly opened application menu)
2209 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2214 * configure.ac: Bump version.
2215 * debian/changelog: Updates.
2217 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2219 * src/hildon-pannable-area.c,
2220 (hildon_pannable_area_motion_notify_cb): We control that the
2221 direction error margin is used just in case the movement is
2222 allowed in the other direction.
2224 Fixes: NB#105012 (buttons inside a pannable area not getting
2225 release event when dragging/releasing)
2227 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2229 * src/hildon-pannable-area.c,
2230 (hildon_pannable_area_class_init),
2231 (hildon_pannable_area_get_property),
2232 (hildon_pannable_area_set_property),
2233 (hildon_pannable_area_initial_effect),
2234 (hildon_pannable_axis_scroll),
2235 (hildon_pannable_area_button_release_cb): Reviewed the
2236 overshooting effect, now it has its own max
2237 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2238 speed when bouncing.
2240 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2245 * configure.ac: Bump version.
2246 * debian/changelog: Updates.
2248 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_class_init): Changed the max speed, now
2252 users can launch the widget very fast. Reduced the default force,
2253 that way it is easier to control the launch speed.
2255 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2257 * src/hildon-pannable-area.c,
2258 (hildon_pannable_area_button_release_cb): Removed this check
2259 because it causes problems when the device is overloaded.
2261 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2263 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2264 add a current_text field to store the text entered in the
2265 touch selector entry.
2266 (_clean_current_selection): clean up the current text as well.
2267 (_save_current_selection), (_restore_current_selection):
2268 Save/restore the text in the entry if the selector is a
2269 HildonTouchSelectorEntry.
2271 Fixes: NB#102541 (value entered in the touch selector entry is not
2272 shown when opened for second time)
2274 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2276 * doc/hildon-sections.txt:
2277 * src/hildon-touch-selector-entry.c
2278 (+hildon_touch_selector_entry_get_entry):
2279 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2281 Fixes: NB#104815 (I need accessor to the entry inside
2282 HildonTouchSelectorEntry)
2284 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2287 (hildon_app_menu_class_init):
2288 New "filter-vertical-spacing" style property.
2290 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2292 * src/hildon-find-toolbar.c
2293 (hildon_find_toolbar_emit_close)
2294 (hildon_find_toolbar_emit_invalid_input)
2295 (hildon_find_toolbar_entry_activate):
2296 Use g_signal_emit() instead of g_signal_emit_by_name()
2298 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2300 Patch by Mox Soini (ext-mox.soini@nokia.com)
2302 * tests/TEST-CASES.txt
2303 * tests/check-hildon-banner.c
2304 * tests/check-hildon-note.c
2305 * src/hildon-banner.c
2306 * src/hildon-code-dialog.c
2307 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2308 * src/hildon-time-editor.c
2309 * examples/hildon-lookup-example.c (main):
2310 Replace obsolete icon names with new ones.
2312 * src/hildon-find-toolbar-private.h:
2313 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2314 (-hildon_find_toolbar_emit_search):
2315 Remove find button and change icon of close button.
2317 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2319 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-time-button.c (hildon_time_button_new_step):
2322 Use the "touch-selector" property to set the selector directly
2323 when creating the object.
2325 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2327 Added a new example application that allows tuning the pannable
2328 area and replaced defines with properties in order to simplify the
2329 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2330 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2331 PROP_DIRECTION_ERROR_MARGIN.
2333 * examples/hildon-pannable-area-tuning-example.c: New example
2335 * src/hildon-pannable-area.c,
2336 (hildon_pannable_area_class_init),
2337 (hildon_pannable_area_init),
2338 (hildon_pannable_area_get_property),
2339 (hildon_pannable_area_set_property),
2340 (hildon_pannable_area_launch_fade_timeout),
2341 (hildon_pannable_area_adjust_value_changed),
2342 (hildon_pannable_axis_scroll),
2343 (hildon_pannable_area_motion_notify_cb),
2344 (hildon_pannable_area_scroll_cb),
2345 (hildon_pannable_area_button_release_cb): We have converted some
2346 of the defines that control the widget to properties to simplify
2349 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2351 * src/hildon-app-menu.c (hildon_app_menu_map)
2352 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2353 so it's closed if a new window appears.
2355 Fixes: NB#104485 (Not able to address the call when application
2356 menu is opened at background)
2358 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2361 missing 'break' statement in in 'case' construct to avoid
2364 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-touch-selector-entry.c
2367 (hildon_touch_selector_entry_get_property),
2368 (hildon_touch_selector_entry_set_property): Add missing 'break'
2369 statements in in 'case' constructs to avoid incorrect warnings.
2371 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2373 * src/hildon-time-editor.c
2374 (hildon_time_editor_get_time_separators): Do not crash if
2375 the first label is NULL.
2377 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2379 * src/hildon-date-selector.c (_month_days): Check for month to be
2380 strictly less than 12, since otherwise we may overrun the array.
2382 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2384 * src/hildon-date-button.c (+hildon_date_button_new_full)
2385 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2386 (hildon_date_button_init): Set the date selector using a
2387 construction property, to make it happen after HildonButton's
2388 "value" property is set.
2390 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2391 current date by default)
2393 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2395 * doc/hildon-sections.txt
2396 * src/hildon-program.c
2397 * src/hildon-stackable-window.c
2398 * src/hildon-window.c:
2399 Documentation updates
2401 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2404 (hildon_window_stack_new, +hildon_window_stack_set_property)
2405 (+hildon_window_stack_get_property)
2406 (hildon_window_stack_class_init)
2407 (+hildon_window_stack_set_window_group)
2408 (+hildon_window_stack_get_window_group):
2409 Make the window group a construction property.
2411 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2413 * doc/hildon-sections.txt
2414 * src/hildon-stackable-window-private.h
2415 * src/hildon-stackable-window.h
2416 * src/hildon-stackable-window.c
2417 (-hildon_stackable_window_set_app_menu)
2418 (-hildon_stackable_window_get_app_menu)
2419 (-hildon_stackable_window_toggle_menu)
2420 (-hildon_stackable_window_finalize)
2421 (hildon_stackable_window_class_init)
2422 (hildon_stackable_window_init)
2423 * src/hildon-window-private.h
2424 * src/hildon-window.h
2425 * src/hildon-window.c (hildon_window_init)
2426 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2427 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2428 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2429 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2430 Moved all HildonAppMenu code to HildonWindow. The menu does not
2431 require a HildonStackableWindow anymore.
2433 * src/hildon-app-menu.c
2434 * src/hildon-program.c
2435 * examples/hildon-app-menu-example.c (main):
2436 Update examples and documentation to reflect HildonAppMenu
2439 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-remote-texture.c
2442 * src/hildon-animation-actor.c:
2443 Don't include unused private headers.
2445 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2447 * src/hildon-program-private.h
2448 * src/hildon-program.c
2449 (hildon_program_set_common_menu)
2450 (hildon_program_get_common_menu)
2451 (hildon_program_set_common_app_menu)
2452 (hildon_program_get_common_app_menu):
2453 Change common menu pointers from GtkWidget* to GtkMenu* and
2454 HildonAppMenu* to avoid unnecessary casts.
2456 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-window.c (hildon_window_set_main_menu):
2459 Removed incorrect 'Since:' tag
2461 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2463 * src/hildon-pannable-area.c,
2464 (hildon_pannable_area_calculate_velocity): We use now the
2465 RATIO_TOLERANCE here to check the distance, fixed typo in the
2467 (hildon_pannable_area_motion_notify_cb): We have to set the type
2468 and time even if we are not sending the motion.
2470 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2472 * doc/hildon-sections.txt
2473 * src/hildon-app-menu.h
2474 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2475 (+hildon_app_menu_get_filters): New methods to get the contents of
2478 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2481 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-app-menu.c (hildon_app_menu_popup):
2486 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2488 * src/hildon-window.h
2489 * src/hildon-window.c (+hildon_window_get_main_menu)
2490 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2491 and deprecated hildon_window_get_menu().
2493 * src/hildon-stackable-window.h
2494 * src/hildon-stackable-window.c
2495 (+hildon_stackable_window_set_app_menu)
2496 (+hildon_stackable_window_get_app_menu)
2497 (hildon_stackable_window_set_main_menu): Created
2498 hildon_stackable_window_{get,set}_app_menu() and deprecated
2499 hildon_stackable_window_set_main_menu().
2501 * doc/hildon-sections.txt
2502 * examples/hildon-app-menu-example.c (main)
2503 * src/hildon-app-menu.c
2504 * src/hildon-program.c:
2505 Updated examples and documentation.
2507 Fixes: NB#103758 (No way to obtain a menu from a
2508 HildonStackableWindow)
2510 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2515 * configure.ac: Bump version.
2516 * debian/changelog: Updates.
2518 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2520 * examples/hildon-remote-texture-example.c: Include
2521 hildon-remote-texture.h explicitely.
2522 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2523 applications not defining _XOPEN_SOURCE which don't require this header.
2525 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2527 * doc/hildon-sections.txt
2528 * src/hildon-app-menu.h
2529 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2530 New function to pop up a HildonAppMenu
2532 * src/hildon-stackable-window.c
2533 (hildon_stackable_window_toggle_menu):
2534 Use hildon_app_menu_popup() to show the menu.
2536 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-app-menu.c (hildon_app_menu_show)
2539 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2540 menu if there's another window between it and its parent window.
2542 Fixes: NB#100468 (Application menu window is launched even when a
2543 new secondary-window/dialog is pending to be shown/realized)
2545 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-window-stack.c (hildon_window_stack_push)
2548 (hildon_window_stack_pop_and_push):
2549 Don't forget to push/pop the first window.
2550 Reverse the window list before calling _push_list()
2552 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2554 * src/hildon-picker-button.h
2555 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2556 Remove "value_changed" slot to avoid ABI breakage
2558 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2560 * src/hildon-pannable-area.c,
2561 (hildon_pannable_area_realize),
2562 (hildon_pannable_area_unrealize),
2563 (hildon_pannable_draw_vscroll),
2564 (hildon_pannable_draw_hscroll): Changed the method to handle the
2565 GC used to draw the transparent scrollbar, this way we avoid
2566 creating the GC all the time when drawing the scrollbars.
2568 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2570 * src/hildon-pannable-area.c,
2571 (hildon_pannable_area_init),
2572 (hildon_pannable_area_remove): Removed some unnecessary casts.
2573 (hildon_pannable_area_dispose): Disconnected some signals before
2574 releasing the adjustments.
2576 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2579 Make sure that all widgets contained in the toolbar are shown.
2581 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2583 * doc/hildon-sections.txt
2584 * src/hildon-picker-button.h
2585 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2586 (_selection_changed, hildon_picker_button_on_dialog_response)
2587 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2588 New hildon_picker_button_value_changed() method.
2591 * src/hildon-picker-button-private.h
2592 * src/hildon-picker-button.c (hildon_picker_button_init)
2593 (+hildon_picker_button_disable_value_changed): Add protected
2594 function for disabling the "value-changed" signal.
2596 * src/hildon-date-button.c (hildon_date_button_set_date):
2597 Don't emit "value-changed" for each one of the three columns.
2599 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2600 before actual change of values)
2602 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2604 * src/hildon-pannable-area.c,
2605 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2606 for the treeview overshooting.
2608 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-banner.c (+hildon_banner_bind_style):
2611 Renamed from hildon_banner_bind_label_style(), now naming the
2612 banner itself as well.
2613 (hildon_banner_show_information),
2614 (hildon_banner_show_information_with_markup),
2615 (hildon_banner_show_animation), (hildon_banner_show_progress):
2616 Name the widgets and labels, based on their type.
2618 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2621 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-note.c (hildon_note_set_property): call
2624 hildon_note_rename() on HildonNote:note-type set.
2625 (hildon_note_rename): Name the note and its label, based on the
2626 HildonNote:note-type property.
2628 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2631 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-pannable-area.c,
2634 (hildon_pannable_area_class_init),
2635 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2636 panning parameters, increased SPS and deceleration factor. Added
2637 also a margin to control fake directions.
2639 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2641 Patch by Sven Herzberg (sven@imendio.com)
2643 * configure.ac: Add missing AM_PROG_CC_C_0
2644 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2646 See NB#101420 (Update unit tests and fix make check)
2648 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2650 This patch was applied before but reverted because it caused
2651 problems, we have changed the main condition and tested the
2652 regressions we detected before and they work ok. We have done a
2653 complete review of the topmost algorithm in order to get a more
2656 * src/hildon-pannable-area.c,
2657 (hildon_pannable_area_get_topmost): Added a new parameter to
2658 filter the the windows that do not include those events.
2659 (hildon_pannable_area_button_press_cb),
2660 (hildon_pannable_area_button_release_cb),
2661 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2662 topmost function, we have added the new parameter.
2664 Fixes: NB#97458 (Pannable area prevents propagation of button
2667 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2670 if all columns in the selector have an item selected.
2671 (_on_dialog_response): Stop "response" signal emission if there is
2672 any selector column without selected items.
2674 Fixes: NB#101889 (Picker dialog should not close when nothing is
2675 selected in multiple selection list)
2677 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-font-selection-dialog.c
2680 (hildon_font_selection_dialog_class_init),
2681 (hildon_font_selection_dialog_init): Remove the preview
2682 button and dialog, since previewing with default theming is likely
2683 to be overcomplicated. The :preview property has now no effect.
2684 Update documentation blurbs to inform about this.
2686 Fixes: NB#92297 (Preview content is not clearly visible for
2687 default colour text)
2689 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2691 Reviewed the geometry that handles the children size and
2692 scrollbar, now it tries a size and reviews the results depending
2693 on the scrollbars visibility.
2695 * src/hildon-pannable-area.c,
2696 (hildon_pannable_area_realize): Fixed a typo.
2697 (hildon_pannable_area_child_allocate_calculate): Added this
2698 function to calculate the child allocation.
2699 (hildon_pannable_area_size_allocate): Reviewed the allocation
2701 (hildon_pannable_area_check_scrollbars),
2702 (hildon_pannable_area_refresh): Refactored refresh function, this
2703 way we can call the code handling the scrollbars without causing a
2704 size_request, it is interesting in the allocate.
2705 (hildon_pannable_area_init): Replace the callbacks of the
2706 value_changed and changed signals to propertly deal with the
2708 (hildon_pannable_area_grab_notify),
2709 (hildon_pannable_area_initial_effect),
2710 (hildon_pannable_area_launch_fade_timeout),
2711 (hildon_pannable_area_adjust_changed),
2712 (hildon_pannable_area_adjust_value_changed),
2713 (hildon_pannable_area_redraw),
2714 (hildon_pannable_area_button_press_cb),
2715 (hildon_pannable_area_button_release_cb),
2716 (hildon_pannable_area_scroll_cb),
2717 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2718 code and use the new functions adjust_changed and
2719 adjust_value_changed.
2721 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2722 Contact editor dialog)
2724 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2729 * configure.ac: Bump version.
2730 * debian/changelog: Updates.
2732 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2734 * src/hildon-pannable-area.c,
2735 (hildon_pannable_area_get_topmost),
2736 (hildon_pannable_area_button_press_cb),
2737 (hildon_pannable_area_button_release_cb),
2738 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2739 topmost function adding the event mask. We have to try a
2740 differente approach because it is still causing problems (NB#9745,
2743 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2745 * src/hildon-banner.c:
2746 Update the maximum width of timed banners.
2747 (force_to_wrap_truncated): Enforce the maximum text width if the
2750 Fixes: NB#102413 (The text margins (wrapping) in information
2751 banner should be HILDON_MARGIN_TRIPLE)
2753 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2755 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2757 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2758 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2759 bound when calculating the scroll indicator position.
2761 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2762 treat ->lower correctly)
2764 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2766 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2767 expose event handling, since it is not necessary to draw the focus
2770 Fixes: NB#102467 (Do not show highlight on the text in
2773 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2776 full height of the toolbar for the button and the label.
2778 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2780 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2781 padding before the label and after the button.
2783 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2787 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2788 Add a GtkVSeparator between the button and the back arrow.
2789 Let the button have automatic size.
2790 Set a name to the widget for theming handling.
2792 Fixes: NB#101793 (Make edit toolbar the same height as window
2793 title bar (use title area theming))
2795 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-helper.c (attach_new_color_element): Fix memory
2800 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2802 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2804 * examples/hildon-button-example.c (common_buttons_window): Don't
2807 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2810 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2812 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-gtk.c: Check that the window is realized.
2816 Fixes: NB#102225 (Crash setting the progress indicator to a non
2819 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2822 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2823 instead of modifying the one in the widget style.
2825 Fixes: NB#101043 (Second row of all the command button are
2826 displayed in transparent mode.)
2828 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-date-button.c
2831 * src/hildon-time-button.c: Add gettext macros
2833 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2835 * src/hildon-date-button.c (hildon_date_button_new):
2836 * src/hildon-time-button.c (hildon_time_button_new_step):
2837 Use new logical strings to set the button default title.
2839 Fixes: NB#99915 (Date and Time options are not localised in Date
2842 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2844 * src/hildon-pannable-area.c
2845 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2846 the PANNING_THRESHOLD.
2848 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2850 * src/hildon-pannable-area.c,
2851 (hildon_pannable_area_class_init): Increased the maximum speed.
2852 (hildon_pannable_area_get_property),
2853 (hildon_pannable_area_set_property),
2854 (hildon_pannable_area_timeout): Added a new low friction mode, it
2855 allows the user avoid friction when launching the widget fast
2856 enough. It is interesting to traverse long lists.
2858 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2861 (+hildon_stackable_window_delete_event): Ignore delete events if
2862 the window is not the topmost one.
2864 Fixes: NB#101698 (Back button long press and delete-event handling)
2866 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pannable-area.c,
2869 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2870 gtk-dnd-drag-threshold, it was too big. We have defined our own
2871 dnd define and set a smaller value: PANNIG_THRESHOLD.
2873 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2876 user-defined icons, use always the default one.
2878 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2880 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2882 This patch was applied before but reverted because it caused
2883 problems, we have changed the main condition and tested the
2884 regressions we detected before and they work ok.
2886 * src/hildon-pannable-area.c,
2887 (hildon_pannable_area_get_topmost): Added a new parameter to
2888 filter the the windows that do not include those events. Added
2889 also a condition when finding the window to filter windows that do
2890 not ask for those events.
2891 (hildon_pannable_area_button_press_cb),
2892 (hildon_pannable_area_button_release_cb),
2893 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2894 topmost function, we have added the new parameter.
2896 Fixes: NB#97458 (Pannable area prevents propagation of button
2899 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2901 * tests/check-hildon-color-button.c (START_TEST): do not leak
2904 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-font-selection-dialog.c
2907 (hildon_font_selection_dialog_get_preview_text): Return NULL
2908 instead of FALSE on the g_return_val_if_fail().
2910 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2912 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2913 * src/hildon-date-selector.c
2914 (hildon_date_selector_select_current_date):
2915 Do not compare unsigned integers to be greater than or equal 0,
2916 because it's always TRUE.
2918 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2920 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2921 (hildon_date_selector_constructor): Do not select the current
2922 date until we are handle the "changed" signal, to avoid having bogus
2923 elements in the days model.
2925 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2927 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2928 for num_days, since _month_days() can return a negative value.
2930 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-caption.c (hildon_caption_size_allocate):
2933 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2934 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2936 Initialize allocation variables to 0, to avoid eventually using
2937 unitialized variables.
2939 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-bread-crumb-trail.c
2942 (hildon_bread_crumb_trail_size_allocate):
2943 * src/hildon-calendar.c (hildon_calendar_set_background):
2944 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2945 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2946 * src/hildon-seekbar.c (hildon_seekbar_init):
2947 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2948 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2949 * src/hildon-touch-selector-entry.c
2950 (hildon_touch_selector_get_text_from_model):
2951 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2952 * src/hildon-window.c (hildon_window_finalize):
2954 Remove many unused variables.
2956 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-seekbar.c: (hildon_seekbar_init),
2959 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2961 Remove unnecessary g_assert() calls.
2963 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2965 * src/hildon-caption.c: (hildon_caption_expose),
2966 (hildon_caption_set_property), (hildon_caption_init),
2967 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2968 (hildon_caption_size_request), (hildon_caption_size_allocate),
2969 (hildon_caption_forall), (hildon_caption_set_separator),
2970 (hildon_caption_activate), (hildon_caption_set_child_expand),
2971 (hildon_caption_set_label_text),
2972 (hildon_caption_get_label_alignment):
2974 Remove unnecessary g_assert() calls.
2976 2009-02-12 Alberto Garcia <agarcia@igalia.com>
2978 * src/hildon-banner.c
2979 (hildon_banner_map, hildon_banner_init): Make banner temporary
2980 before mapping it to avoid closing other temporary windows, but
2981 make it non-temporary afterwards to avoid being closed by other
2982 non-temporary windows.
2983 (-hildon_banner_client_event, hildon_banner_init):
2984 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
2986 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
2989 2009-02-11 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
2994 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
2996 * src/hildon-remote-texture.c
2997 * src/hildon-remote-texture.h
2998 * src/hildon-remote-texture-private.h
2999 * examples/hildon-remote-texture-example.c:
3000 Updates/fixes to remote-texture and its example.
3002 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3004 Patch by Mox Soini (ext-mox.soini@nokia.com)
3006 * src/hildon-code-dialog.c: Update logical id.
3007 * src/hildon-set-password-dialog.c: Update logical id.
3009 Fixes: NB#100646 (Logical strings is shown for ok in set
3010 password,Password needed dialogs)
3012 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3015 * src/hildon-remote-texture.c
3016 * src/hildon-remote-texture.h
3017 * src/hildon-remote-texture-private.h
3019 Added remote texture widget (for Clutter shared memory textures)
3021 * examples/hildon-remote-texture-example.c
3022 * examples/Makefile.am
3023 Added example file for remote texture usage
3025 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3027 * configure.ac: post release version bump.
3028 * debian/changelog: version bump.
3030 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3035 * configure.ac: Bump version.
3036 * debian/changelog: Updates.
3038 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3040 * src/hildon-date-selector.c (hildon_date_selector_init)
3041 (hildon_date_selector_constructor): Don't connect to the "changed"
3042 signal until the selector is completely constructed.
3044 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-touch-selector.c: (_create_new_column),
3047 (hildon_touch_selector_append_column),
3048 (hildon_touch_selector_set_column_selection_mode),
3049 (hildon_touch_selector_set_active),
3050 (hildon_touch_selector_select_iter):
3051 Emit the HildonTouchSelector::changed signal every time selection
3052 is changed in any of the methods above. This behavior was already
3053 documented but not fully functional.
3055 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3056 selection is programmatically changed)
3058 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3060 * doc/hildon-sections.txt: Remove obsolete icon
3061 sizes from here as well.
3063 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3065 * examples/hildon-stackable-window-example.c (add_window): Remove
3068 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-app-menu.c
3071 (hildon_app_menu_show): Check whether the parent window of a menu
3072 is topmost before popping it up.
3074 Fixes: NB#100468 (Application menu window is launched even when a
3075 new secondary-window/dialog is pending to be shown/realized.)
3077 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3079 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3082 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3084 Patch by Mox Soini (ext-mox.soini@nokia.com)
3086 * src/hildon-banner.c: (hildon_banner_show_animation):
3087 use stylus size instead of obsolete note size.
3088 * src/hildon-defines.h: Update icon sizes.
3090 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-touch-selector-entry.c:
3093 (hildon_touch_selector_entry_init): Disable unsupported
3095 (hildon_touch_selector_entry_get_text_column): Emit a warning
3096 if an unsupported input modes is used and explicitile state
3097 these modes in the documentation.
3099 Fixes: NB#99802 (Hildon touch selector entry not working properly
3100 for some of the input modes)
3102 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3104 * src/hildon-pannable-area.c,
3105 (hildon_pannable_area_init): Added the changed signal handlers of
3108 Fixes: NB#100320 (HildonPannableArea does not listen to
3109 GtkAdjustment "change" signals)
3111 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3113 * doc/hildon-sections.txt
3114 * src/hildon-window-private.h
3115 * src/hildon-window.h
3116 * src/hildon-window.c (hildon_window_init)
3117 (hildon_window_realize, hildon_window_unrealize)
3118 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3119 (hildon_window_size_request, hildon_window_size_allocate)
3120 (hildon_window_forall, hildon_window_show_all)
3121 (hildon_window_destroy, +paint_edit_toolbar)
3122 (+hildon_window_set_edit_toolbar):
3123 New hildon_window_set_edit_toolbar() method, to add a
3124 HildonEditToolbar to a window without having to pack it manually.
3126 Reorganize hildon_window_size_allocate()
3128 * src/hildon-edit-toolbar.c: Update documentation.
3130 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3131 example to use the new API.
3133 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3135 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3138 Remove from stack before calling parent's hide.
3140 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3143 window is removed from the middle of the stack, update the
3144 transiency of the previous one.
3146 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3149 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3151 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3152 block/unblock the signal handler if it's not actually being used.
3153 Fixes some critical warnings.
3155 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3157 Based on a patch by Iván Gómez (igomez@igalia.com)
3159 * src/hildon-banner.c
3163 * src/hildon-pannable-area.c
3164 * src/hildon-picker-dialog.c
3165 * src/hildon-wizard-dialog.h
3166 * src/hildon-wizard-dialog.c: Documentation updates.
3168 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3169 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3171 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3173 * configure.ac: post release version bump.
3174 * debian/changelog: version bump.
3176 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3181 * configure.ac: Bump version.
3182 * debian/changelog: Updates.
3184 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3186 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3187 a stock icon nor change the relief of the back arrow.
3189 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3190 graphics from theme)
3192 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-button.c (hildon_button_set_alignment): Use
3195 priv->alignment if the button has no child yet.
3197 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3199 * src/hildon-button.c: (hildon_button_init): Set the
3200 button style during initialization to give it the proper
3203 Fixes: NB#99713 (HildonButton value label color is wrong)
3205 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3207 * src/hildon-touch-selector.c: Document
3208 hildon_touch_selector_center_on_selected()
3210 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3213 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3214 all menu items, but not the menu itself.
3215 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3216 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3217 items after adding them to the menu so keyboard accelerators work.
3218 (hildon_app_menu_show): Don't show the menu if it contains items
3219 but none of them are visible.
3221 * examples/hildon-app-menu-example.c (create_menu): Use
3222 gtk_widget_show_all() to show all menu items.
3224 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-picker-dialog.c:
3227 (-_update_title_on_selector_changed_cb),
3228 (-_dialog_update_title): Removed.
3229 (_select_on_selector_changed_cb), (_on_dialog_response),
3230 (on_selector_columns_changed): Do not update the dialog title.
3231 (setup_interaction_mode): Do not connect to
3232 HildonTouchSelector::changed signal if there's a "done" button, as
3233 the dialog title doesn't need to be updated.
3235 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3238 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3240 Patch by Kristian Rietveld (kris@imendio.com)
3242 * src/hildon-touch-selector.c: (_create_new_column): Use new
3243 GtkTreeView::hildon-row-tapped signal to react to user interactions
3244 instead of ::changed.
3246 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3247 with some dynamic tree model)
3249 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3252 (+screen_size_changed, +label_size_request)
3253 (hildon_note_class_init): Make the Hildon information note have a
3254 minimum height, and make its text hvae a maximum width.
3256 Fixes: NB#98614 (Hildon information note (background) should have
3257 minimum height and maximum text width)
3259 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3261 * src/hildon-banner.h
3262 * src/hildon-banner.c (hildon_banner_show_information)
3263 (hildon_banner_show_informationf)
3264 (hildon_banner_show_information_with_markup): Update documentation
3265 to reflect that the icon_name parameter is not used anymore.
3266 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3267 Remove all code from these functions and mark them as deprecated.
3268 (hildon_banner_show_progress): Mark as deprecated.
3270 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3272 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3274 * src/hildon-pannable-area.c,
3275 (hildon_pannable_area_class_init),
3276 (tranparency_color),
3277 (hildon_pannable_draw_vscroll),
3278 (hildon_pannable_draw_hscroll),
3279 (hildon_pannable_area_expose_event): Added a new way to render the
3280 scrollbars of the pannable area avoiding using cairo at all. This
3281 way we improve the performance of the pannable area rendering. The
3282 cairo rendering procedure is still in the code, we can control
3283 which one to use changing the value of the define
3284 USE_CAIRO_SCROLLBARS.
3286 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3288 * configure.ac: post release version bump.
3289 * debian/changelog: version bump.
3291 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3296 * configure.ac: Bump version.
3297 * debian/changelog: Updates.
3299 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3302 banners instead of destroying them when they receive a button
3305 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3307 Reverted commit 34028, it was causing regressions, probably the
3308 topmost condition is not correct, we have to check it in more
3309 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3310 propagation of button press events)
3312 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3315 that the selection is not empty before attempting to retrieve the
3316 current ampm selection.
3318 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3320 * src/hildon-picker-button.c:
3321 (hildon_picker_button_on_dialog_response): Directly update the
3322 button contents when required instead of calling _selection_changed.
3324 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-program.c (hildon_program_update_top_most): Update
3327 'is-topmost' property also when wm_hints is not set.
3329 Fixes: NB#98383 (is-topmost signal is not emitted when task
3330 switcher is clicked.)
3332 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3334 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3338 * src/hildon-animation-actor.c,
3339 * src/hildon-animation-actor.h: Added the animation actor class,
3340 this widget represents an animation actor for WM-assisted
3341 animation effects in the Hildon framework.
3343 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-window-stack-private.h
3346 * src/hildon-window-stack.c
3347 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3348 Avoid calling gtk_widget_show() again indirectly from
3349 hildon_stackable_window_show()
3351 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3353 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3356 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3359 (hildon_time_selector_init): Move the construction of the hours and
3360 ampm columns to the constructor to preserve the order the columns
3363 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-picker-dialog.c:
3366 (hildon_picker_dialog_class_init): Connect a realize method.
3367 (+hildon_picker_dialog_realize): Setup the interaction mode here
3369 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3370 yet, do it during the realize instead.
3371 (_on_dialog_response):
3372 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3373 if the widget is not realized, to avoid the dialog response before it
3376 Avoid premature responses in the HildonPickerDialog that can cause it
3377 to be hidden before it's even shown.
3379 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3381 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3382 (on_selector_columns_changed), (requires_done_button),
3383 (+prepare_action_area), (setup_interaction_mode),
3384 (_hildon_picker_dialog_set_selector):
3386 Split the interaction mode setup into preparation of the
3387 action area (prepare_action_area()) and the connection of
3388 the signals in setup_interaction_mode() and update the code to
3391 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3393 * src/hildon-pannable-area.c,
3394 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3395 per second to 15, we will check if this is ok regarding
3398 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3400 * src/hildon-pannable-area.c,
3401 (hildon_pannable_axis_scroll): Avoid resize if we already have
3402 reached overshoot_max.
3404 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3406 * src/hildon-pannable-area.c,
3407 (hildon_pannable_area_init),
3408 (hildon_pannable_area_realize),
3409 (hildon_pannable_area_size_allocate),
3410 (hildon_pannable_area_map),
3411 (hildon_pannable_area_unmap),
3412 (hildon_pannable_draw_vscroll),
3413 (hildon_pannable_draw_hscroll),
3414 (hildon_pannable_area_expose_event),
3415 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3416 pannable are to avoid the expose events go to the window and
3417 redraw the window. We save this way that part of the stack and the
3418 paint_boxes. We had to change the positions of the elements when
3421 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3424 * src/hildon-color-chooser-dialog.c:
3425 (hildon_color_chooser_dialog_init):
3426 * src/hildon-font-selection-dialog.c:
3427 (hildon_font_selection_dialog_init),
3428 (hildon_font_selection_dialog_show_preview):
3429 * src/hildon-get-password-dialog.c:
3430 * src/hildon-login-dialog.c:
3431 * src/hildon-set-password-dialog.c:
3432 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3433 * src/hildon-time-picker.c: (hildon_time_picker_init):
3435 Remove obsolete logical string IDs and update to the appropriate ones.
3437 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3439 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3442 that happens if the window hasn't been realized yet.
3444 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3445 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3447 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3450 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3453 Fixes: NB#98537 (Device hangs in account settings dialog)
3455 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3457 * configure.ac: post release version bump.
3458 * debian/changelog: version bump
3460 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3465 * configure.ac: Bump version.
3466 * debian/changelog: Updates.
3468 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3470 Added a new function to the HildonTimeButton widget that allows to
3471 change the step of the minutes in the selector associated with the
3472 button: hildon_time_button_new_step
3474 * src/hildon-time-button.c,
3475 (hildon_time_button_init),
3476 (hildon_time_button_new),
3477 (hildon_time_button_new_step):
3478 * src/hildon-time-button.h: Added the new function and refactored
3480 * examples/hildon-time-button-example.c,
3481 (main): We have replaced the function without parameters with the
3482 function with the steps set to 5
3484 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3486 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3488 * src/hildon-time-selector.c,
3489 (hildon_time_selector_class_init),
3490 (hildon_time_selector_constructor),
3491 (hildon_time_selector_get_property),
3492 (hildon_time_selector_set_property),
3493 (_create_minutes_model),
3494 (hildon_time_selector_new_step),
3495 (hildon_time_selector_set_time),
3496 * src/hildon-time-selector.h: Added a new property to the
3497 HildonTimeSelector (minutes-step), we use that property to control
3498 the steps between the minutes in the list of the selector. We have
3499 added a new function to the API to create a widget changing the
3500 step: hildon_time_selector_new_step.
3502 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3504 * src/hildon-time-selector.c,
3505 (hildon_time_selector_class_init),
3506 (hildon_time_selector_constructor),
3507 (hildon_time_selector_init): Overrided the construct function when
3508 creating the time selector object. We have moved the minutes model
3509 handling code from the init to the new construction function:
3510 hildon_time_selector_constructor.
3512 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3514 * examples/hildon-date-button-example.c: (main): Use the new
3515 hildon_date_button_new_with_year_range() method in the example.
3516 * src/hildon-date-button.c:
3517 (+hildon_date_button_new_with_year_range): New public method
3518 to conveniently create a HildonDateButton with a custom year range
3519 in its HildonDateSelector.
3520 * src/hildon-date-button.h: Add the new public method definition.
3522 Fixes: NB#97908 (Not possible to change the year range in
3523 HildonDateSelector/HildonDateButton)
3525 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-date-selector.c:
3528 (+hildon_date_selector_set_property),
3529 (+hildon_date_selector_get_property),
3530 (hildon_date_selector_class_init): Install new properties "min-year"
3531 and "max-year" to define boundaries for the year column.
3532 (_create_year_model): Use the boundary properties to populate the model.
3533 (+hildon_date_selector_new_with_year_range): New public method to
3534 create a HildonDateSelector with a user defined year range.
3535 (hildon_date_selector_select_current_date): Use the new boundaries to
3536 calculate the iterator of current year.
3537 * src/hildon-date-selector.h: Add the new public method definition.
3539 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3542 Install a constructor method.
3543 (+hildon_date_selector_construct_ui): construct the widget.
3544 (+hildon_date_selector_constructor): new constructor.
3545 (+hildon_date_selector_init): move out widget construction code to
3546 the new constructor.
3548 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3551 that there's actually a month or year selected before obtaining them.
3552 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3553 of the HildonTouchSelector::changed signal, as it was emitted on every
3554 single item selection.
3556 Fix some warnings and possible crashers due to the selection restoring.
3558 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3560 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3561 the signal handlers only after creating the dialog instead of on every
3564 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3566 * src/hildon-button.c (hildon_button_init)
3567 * src/hildon-check-button.c (hildon_check_button_init)
3568 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3569 focus when clicked by default.
3571 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3576 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3578 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3579 Alejandro G. Castro (alex@igalia.com)
3581 * src/hildon-picker-dialog.c:
3582 (hildon_picker_dialog_class_init): install new "center-on-show"
3584 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3585 (hildon_picker_dialog_set_property): add setter code for the new
3587 (hildon_picker_dialog_get_property): add getter code for the new
3589 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3590 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3593 Fixes: NB#92849 (Selected item is not always visible when
3594 HildonTouchSelector is shown)
3596 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3598 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3599 Alejandro G. Castro (alex@igalia.com)
3601 * src/hildon-touch-selector.c:
3602 (_create_new_column): Do not connect to the "realize" signal of the
3604 (hildon_touch_selector_append_column): center on the selected items
3605 when a new column is appended.
3606 (hildon_touch_selector_select_iter): Factor out the code to select a
3607 column to hildon_touch_selector_scroll_to().
3608 (+search_nearest_element): Method to retrieve the nearest selected
3609 element to the visible area of the pannable area in a column.
3610 (+on_realize_cb): scroll to the initially selected item.
3611 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3612 the pannable area is realized, otherwise delay this until it is.
3613 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3614 selected items of a given column.
3615 (+hildon_touch_selector_center_on_selected): Public method to center
3616 all columns on the nearest selected item.
3617 * src/hildon-touch-selector.h: Add definition for
3618 hildon_touch_selector_center_on_selected().
3620 Implement public API to ensure visibility of all selected items in
3621 a HildonTouchSelector.
3623 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3625 Fixed a problem in the fading when calling the scroll_to API, and
3626 improve scrollbar fading handling.
3628 * src/hildon-pannable-area.c,
3629 (hildon_pannable_area_grab_notify): avoid the timeout when the
3631 (hildon_pannable_area_button_press_cb),
3632 (hildon_pannable_area_motion_notify_cb): Code style changes.
3633 (hildon_pannable_area_button_release_cb): Review the conditions
3634 when releasing the mouse button to avoid unrequired fading
3636 (hildon_pannable_area_scroll_to): Do not calculate and set the
3637 velocity if the scroll is not required.
3639 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3642 Don't check whether the new selector is NULL: it cannot be.
3643 Hold a reference to the selector while doing the replacement.
3645 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3647 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3648 unnecessary size_request in a removed widget.
3650 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3652 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3653 an unnecessary reference tracking that was leaking.
3655 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3657 Added delayed motion notify event handling, this way we can
3658 discard redrawing if more than 25 events arrive per second.
3660 * src/hildon-pannable-area.c,
3661 (hildon_pannable_area_init): Initialized the new private atributes
3662 controlling this timeout
3663 (hildon_pannable_area_dispose): Remove the timeout that controls
3664 the motion notify events.
3665 (hildon_pannable_area_scroll): Added a condition to control the
3666 use of the acceleration.
3667 (hildon_pannable_area_motion_event_scroll_timeout),
3668 (hildon_pannable_area_motion_event_scroll): Added this two
3669 functions, they handle the motion notify events inside the
3671 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3672 to the scroll method with the new function.
3673 (hildon_pannable_area_button_release_cb): We have to remove the
3674 timeout handler and move to the last position if the last motion
3675 events were not handled.
3677 Fixes: NB#97028 (Pannable area updates on every motion event)
3679 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3681 * src/hildon-pannable-area.c,
3682 (hildon_pannable_area_get_topmost): Added a new parameter to
3683 filter the the windows that do not include those events. Added
3684 also a condition when finding the window to filter windows that do
3685 not ask for those events.
3686 (hildon_pannable_area_button_press_cb),
3687 (hildon_pannable_area_button_release_cb),
3688 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3689 topmost function, we have added the new parameter.
3691 Fixes: NB#97458 (Pannable area prevents propagation of button
3694 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3696 * src/hildon-pannable-area.c,
3697 (hildon_pannable_area_initial_effect): Added controls before
3698 launching the timeout and the idle functions.
3699 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3700 of the method, in some situations it can return with TRUE and 0 in
3702 (hildon_pannable_area_button_press_cb): We do not need to set
3703 DELAY for fading out here.
3705 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3707 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3709 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3710 post-cleaning if the selection is not NULL.
3712 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3714 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3715 all items before restoring the selection.
3717 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-touch-selector.c:
3720 (+hildon_touch_selector_unselect_all):
3721 * src/hildon-touch-selector.h: New API to unselect all items in a
3722 column of the touch selector.
3724 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3726 * src/hildon-pannable-area.c,
3727 (hildon_pannable_area_redraw): Added a call to the refresh
3728 function inside the redraw because apparently in some cases the
3729 change in the adjustment does not imply a size allocate.
3731 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3732 despite the view not being scrollable)
3734 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3737 leak. Check for NULL before attempting to set the window title.
3739 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3741 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3742 whether to show or not the 'Done' button each time the dialog is
3743 shown, as it depends on the HildonTouchSelector selection mode.
3745 Fixes: NB#96226 (In multiple selection mode Done button is shown
3746 sometimes in listpicker)
3748 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3750 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3751 for the number of columns in the HildonTouchSelector more than once.
3753 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-touch-selector.c: Minor documentation fixes.
3757 * src/hildon-picker-dialog.c (+_dialog_update_title)
3758 (_select_on_selector_changed_cb)
3759 (_update_title_on_selector_changed_cb)
3760 (on_selector_columns_changed): Update dialog title when there's no
3761 'Done' button and also when the number of columns in the selector
3765 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3766 (+_selection_changed, hildon_picker_button_on_dialog_response)
3767 (hildon_picker_button_selector_selection_changed)
3768 (+hildon_picker_button_selector_columns_changed)
3769 (hildon_picker_button_set_selector): Update button value and emit
3770 'value-changed' when the number of columns in the selector
3774 Fixes: NB#96225 (Dialog titles are not shown according to the
3775 values selected in the list picker)
3777 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3780 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3781 New "arrow-width" and "arrow-height" style properties to set the
3782 size of the arrow button.
3783 Set name of arrow button ("hildon-edit-toolbar-arrow").
3785 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3786 graphics from theme)
3788 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-picker-button.c:
3791 (hildon_picker_button_selector_selection_changed): Use
3792 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3793 the dialog is present.
3795 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3796 the selection is accepted in the dialog)
3798 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-color-chooser.h
3801 * src/hildon-color-chooser-dialog.h:
3802 Added G_BEGIN_DECLS and G_END_DECLS
3804 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3806 (_clean_current_selection): plug a leak in the list.
3808 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-picker-dialog.c:
3811 (+free_path_list): Method to free a GList of GtkTreePaths.
3812 (_clean_current_selection), (_save_current_selection),
3813 (_restore_current_selection): Save the current selection in
3814 as a list of lists, to support multiple selection properly.
3816 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3818 patch by Claudio Saavedra (csaavedra@igalia.com)
3820 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3821 Store the press position.
3822 (+hildon_text_view_button_release_event): If the release position is
3823 close enough to the press position, move the cursor here. Otherwise,
3825 (hildon_text_view_class_init): Override GtkTextView press, release, and
3826 motion event handlers, disabling this way text selection through
3827 pointer interaction, and allowing the container widget to handle the
3830 Fixes: NB#95828 (HildonTextView functionality)
3832 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3834 Based on a patch by Iván Gómez (igomez@igalia.com)
3836 * src/hildon-button.[ch]
3837 * src/hildon-calendar.c
3838 * src/hildon-check-button.c
3839 * src/hildon-date-editor.c
3840 * src/hildon-date-selector.c
3841 * src/hildon-picker-button.c
3842 * src/hildon-time-editor.c
3843 * src/hildon-time-selector.c
3844 * src/hildon-touch-selector.[ch]:
3845 Documentation updates
3847 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3849 * src/hildon-pannable-area.c,
3850 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3851 threshold, it was required due to X events handling.
3853 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3855 * src/hildon-pannable-area.c,
3856 (hildon_pannable_area_grab_notify),
3857 (hildon_pannable_area_initial_effect),
3858 (hildon_pannable_area_button_press_cb),
3859 (hildon_pannable_area_button_release_cb),
3860 (hildon_pannable_area_scroll_cb),
3861 (hildon_pannable_area_scroll_to): Review the timeout management of
3862 the scrollbar, the frecuency was incorrectly set.
3864 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3866 * src/hildon-picker-button.c:
3867 (+hildon_picker_button_on_dialog_response),
3868 (hildon_picker_button_clicked): Present the dialog instead of
3869 running it with gtk_dialog_run().
3871 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3874 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3877 (hildon_app_menu_finalize): When a window is hidden it doesn't
3878 emit notify::is-topmost, so make sure than the menu also
3879 disappears in that case.
3880 (parent_window_topmost_notify): Renamed from parent_window_hidden
3882 Fixes: NB#94460 (stackable window's menu is not closed when its
3885 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3887 * src/hildon-touch-selector-entry.c:
3888 (+hildon_touch_selector_entry_set_input_mode),
3889 (+hildon_touch_selector_entry_get_input_mode):
3890 * src/hildon-touch-selector-entry.h: New methods to access the input
3891 mode in the selector's entry.
3893 Fixes: NB#93410 (API required for setting IM mode in
3894 HildonTouchSelectorEntry)
3896 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3898 * configure.ac: post release version bump.
3899 * debian/changelog: version bump
3901 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3906 * configure.ac: Bump version.
3907 * debian/changelog: Updates.
3909 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-touch-selector.c:
3912 (_hildon_touch_selector_has_multiple_selection): No need
3913 to initialize the variables here.
3915 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-note-private.h
3918 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3919 (hildon_note_finalize, hildon_note_rebuild): Close information
3920 notes when they receive a button press.
3922 Fixes: NB#89890 (Information notes does not get disappeared after
3925 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3928 mark from the wizard title, as it's not really necessary. Also,
3929 do not display the page title if not set.
3931 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3933 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3934 (parent_window_hidden): Use the window's "is-topmost" property to
3935 detect when to hide the menu.
3937 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3940 (hildon_app_menu_finalize): If the parent window of the menu is
3941 hidden, hide the menu too.
3943 Fixes: NB#94460 (stackable window's menu is not closed when its
3946 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3949 * debian/libhildon1-examples.install
3951 * examples/Makefile.am:
3952 Use dh_install to install all examples.
3953 Use DEB_SRCDIR instead of defining SOURCE_DIR
3955 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3957 * configure.ac: post release version bump.
3958 * debian/changelog: version bump
3960 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3965 * configure.ac: bump version
3966 * debian/changelog: updates
3967 * debian/control: bump gtk+ dependency
3969 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3971 patch by Christian Dywan (christian@imendio.com)
3973 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
3974 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
3976 2008-12-15 Alberto Garcia <agarcia@igalia.com>
3978 * src/hildon-check-button.c (hildon_check_button_init)
3979 (hildon_check_button_class_init, hildon_check_button_style_set)
3980 (hildon_check_button_apply_style):
3981 New "checkbox-size" style property.
3983 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
3984 larger / configurable size)
3986 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3988 * configure.ac: post release version bump.
3989 * debian/changelog: version bump
3991 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
3996 * configure.ac: bump version
3997 * debian/changelog: updates
3999 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4001 * doc/hildon-sections.txt
4002 * src/hildon-pannable-area.c
4003 * src/hildon-program.c
4004 * src/hildon-time-editor.c
4005 * src/hildon-touch-selector-entry.c:
4007 More documentation updates.
4009 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4011 * doc/hildon-sections.txt
4012 * src/hildon-caption.c
4013 * src/hildon-code-dialog.c
4014 * src/hildon-color-button.c
4015 * src/hildon-controlbar.c
4016 * src/hildon-date-editor.c
4017 * src/hildon-date-selector.c
4018 * src/hildon-edit-toolbar.c
4019 * src/hildon-find-toolbar.c
4020 * src/hildon-font-selection-dialog.c
4022 * src/hildon-program.c
4023 * src/hildon-range-editor.c
4024 * src/hildon-seekbar.c
4025 * src/hildon-time-editor.c
4026 * src/hildon-time-selector.c
4027 * src/hildon-volumebar-range.c
4028 * src/hildon-volumebar.c
4029 * src/hildon-vvolumebar.c
4030 * src/hildon-weekday-picker.c
4031 * src/hildon-window.c
4032 * src/hildon-wizard-dialog.c:
4034 Lots of documentation fixes.
4036 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4038 Patch contributed by Iván Gómez (igomez@igalia.com)
4040 * src/hildon-check-button.c:
4041 * src/hildon-date-button.c:
4042 * src/hildon-date-selector.c:
4043 * src/hildon-dialog.c:
4044 * src/hildon-edit-toolbar.c:
4045 * src/hildon-entry.c:
4046 * src/hildon-picker-button.c:
4047 * src/hildon-program.c:
4048 * src/hildon-text-view.c:
4049 * src/hildon-time-button.c:
4050 * src/hildon-touch-selector-entry.c:
4051 * src/hildon-window-stack.c:
4053 Add more "since" tags to the new API.
4055 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4057 * doc/hildon-sections.txt: Add below method.
4058 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4059 version for the hildonized scale.
4060 * src/hildon-gtk.h: Add the definition.
4062 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4064 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4066 * doc/hildon-sections.txt: Add missing entries for new methods.
4068 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4070 Added API to pannable are in order to get its adjustments. We
4071 added two properties to manage the values we had in the private
4074 * src/hildon-pannable-area.c:
4075 (hildon_pannable_area_class_init): Added hadjustment and
4076 vadjustment properties in order to expose horizontal and vertical
4078 (hildon_pannable_area_get_property),
4079 (hildon_pannable_area_set_property): Added code to handle the new
4081 (hildon_pannable_area_get_hadjustment),
4082 (hildon_pannable_area_get_vadjustment): API functions to get the
4084 * src/hildon-pannable-area.h:
4085 (hildon_pannable_area_get_hadjustment),
4086 (hildon_pannable_area_get_vadjustment): API functions to get the
4089 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4091 Fixed some leaks, after valgrinding.
4093 * src/hildon-touch-selector.c:
4094 (_default_print_func): Fixed a leak.
4095 (hildon_touch_selector_append_column): Fixed a leak.
4096 * src/hildon-date-button.c:
4097 (hildon_date_button_init): Fixed a leak.
4098 * src/hildon-date-selector.c
4099 (hildon_date_selector_finalize): Fixed a leak.
4101 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4103 Based on a patch by Christian Dywan (christian@imendio.com)
4105 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4107 * src/hildon-gtk.h: Add definition.
4109 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4111 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/hildon-picker-button.c: (hildon_picker_button_init),
4114 (hildon_picker_button_new): Set the HildonButton::style property
4115 in the init method, to propagate the value to the derived classes.
4117 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-button.c: (hildon_button_class_init): Do not make
4120 the "style" property a construct property.
4122 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4124 * src/hildon-wizard-dialog.h
4125 * src/hildon-wizard-dialog.c
4126 (hildon_wizard_dialog_set_forward_page_func)
4127 * src/hildon-pannable-area.h
4128 * src/hildon-pannable-area.c
4129 (hildon_pannable_area_set_size_request_policy):
4130 Documentation fixes.
4132 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4134 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4136 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4138 * doc/hildon-sections.txt: Added sections file.
4140 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4143 * src/*.[ch]: Updates.
4145 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4147 * examples/hildon-progress-indicator-example.c: new file
4148 * examples/Makefile.am: include the new example program
4150 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4152 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4154 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4156 * configure.ac: post release version bump
4157 * debian/changelog: version bump
4159 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4164 * configure.ac: bump version
4165 * debian/changelog: updates
4166 * debian/control: bump gtk+ dependency
4168 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4170 * src/hildon-dialog.c: Mark as deprecated.
4171 * src/hildon-dialog.h: Mark as deprecated.
4172 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4173 from HildonDialog and still work, even if
4174 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4175 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4177 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4178 maemo changes) instead)
4180 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4182 * src/hildon-pannable_area.h:
4183 * src/hildon-pannable_area.c:
4184 (hildon_pannable_area_class_init),
4185 (hildon_pannable_area_set_property),
4186 (hildon_pannable_area_get_property),
4187 (hildon_pannable_area_size_request),
4188 (hildon_pannable_area_get_size_request_policy),
4189 (hildon_pannable_area_set_size_request_policy): Added new API
4190 allowing applications to control the request policy. Now they can
4191 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4192 children allocation (HILDON_MOVEMENT_CHILDREN).
4194 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4198 (hildon_gtk_tree_view_set_ui_mode)
4199 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4200 mode of treeviews and iconviews.
4202 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-touch-selector-entry.c:
4205 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4206 of a GtkEntry to get proper theming.
4208 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4209 widget, not GtkEntry)
4211 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4213 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4214 no HildonWizardDialogPageFunc.
4216 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4218 Patch contributed by Iván Gómez (igomez@igalia.com)
4220 * src/hildon-app-menu.c:
4221 * src/hildon-button.c:
4222 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4223 * src/hildon-stackable-window.c:
4224 * src/hildon-time-selector.c:
4225 * src/hildon-touch-selector.c:
4226 * src/hildon-window.c:
4228 Add more "since" tags to the new API in hildon 2.2.
4230 2008-12-05 Tim Janik <timj@imendio.com>
4232 Patch contributed by Christian Dywan (christian@imendio.com)
4234 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4235 HildonSizeType, which are supplied by Gtk+ now.
4237 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4239 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4240 (with maemo changes) instead)
4242 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4244 Patch contributed by Iván Gómez (igomez@igalia.com)
4246 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4249 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4251 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4252 (some_page_func), (main): Update the example to use a
4253 HildonWizardDialogPageFunc function.
4255 * src/hildon-wizard-dialog-private.h: Add private data for
4256 the HildonWizardDialogPageFunc function usage.
4258 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4259 (destroy), (hildon_wizard_dialog_init), (response),
4260 (hildon_wizard_dialog_set_forward_page_func):
4261 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4262 that applications can use to stop a HildonWizardDialog to jump to
4265 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4268 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4270 * src/hildon-program.h
4271 * src/hildon-program-private.h
4272 * src/hildon-program.c (hildon_program_init)
4273 (hildon_program_set_common_app_menu)
4274 (hildon_program_get_common_app_menu):
4275 New API for setting a common HildonAppMenu for all
4276 HildonStackableWindows registered with the HildonProgram.
4278 * src/hildon-stackable-window.c
4279 (hildon_stackable_window_toggle_menu):
4280 Use the common HildonAppMenu if a window doesn't have a specific
4283 * src/hildon-app-menu-private.h
4284 * src/hildon-app-menu.c
4285 (hildon_app_menu_get_parent_window):
4286 Function to obtain the window a HildonAppMenu is attached to.
4287 (hildon_app_menu_set_parent_window):
4288 Hide the menu if the parent window is set to NULL.
4290 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4292 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4293 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4294 search widget to popup.
4296 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4298 * configure.ac: post release version bump
4299 * debian/changelog: version bump
4301 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4306 * configure.ac: bump version
4307 * debian/changelog: updates
4309 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4311 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4313 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4314 (hildon_window_stack_window_realized)
4315 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4316 Set the leader GdkWindow when a window is stacked and realized,
4317 unset it when it's unstacked.
4318 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4320 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4322 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4324 * src/hildon-stackable-window.h
4325 * src/hildon-window-stack.h:
4326 Protect definition of HildonWindowStack using the preprocessor.
4328 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4330 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4331 Fix warning if all menu items are hidden.
4333 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4335 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4337 * src/hildon-controlbar.c:
4338 * src/hildon-hvolumebar.c:
4339 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4340 Multiple scale size defines updates.
4342 Fixes: NB#94322 (Scale Updates)
4344 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4346 * examples/hildon-app-menu-example.c (create_menu)
4347 Show items after adding them to the menu, as in the future the
4348 menu will no longer call gtk_widget_show() on the added items.
4350 * src/hildon-app-menu.c:
4351 Update example as explained above.
4353 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4355 * src/hildon-app-menu.c
4356 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4357 Make sure that all menu items have finger height.
4359 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4361 * src/hildon-picker-dialog.c:
4362 (_on_dialog_response), (_save_current_selection),
4363 (_restore_current_selection), (_clean_current_selection),
4364 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4365 Defined new functions in order to save the current internal selector
4366 selection previous open the dialog, in case that the use cancel the
4367 interaction, so the widget restores the previous selection.
4369 Fixes: NB#92032 (In calendar application, date values in 'new event'
4372 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4374 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-button.c: Add a reference to the button examples in
4377 hildon-button-example.c
4379 * examples/hildon-button-example.c: Added examples of the most
4380 common button layouts.
4382 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-app-menu.c (hildon_app_menu_show)
4385 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4387 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4389 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4391 * src/hildon-picker-dialog.c:
4392 (hildon_picker_dialog_init): Initialize the signal id for
4393 HildonTouchSelector::columns-changed.
4394 (+on_selector_columns_changed): Set up the interaction mode everytime a
4395 column is added or removed from the HildonTouchSelector.
4396 (_hildon_picker_dialog_set_selector): Connect to
4397 HildonTouchSelector::columns-changed and keep track of it.
4399 Make sure to update the interaction mode of the dialog everytime a
4400 column is added or removed in the HildonTouchSelector.
4402 Fixes: NB#93228 (Done button is not shown always in listpicker)
4404 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4406 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4407 a new ::columns-changed signal.
4408 (hildon_touch_selector_append_column): Emit ::columns-changed.
4409 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4411 Add a ::columns-changed signal, emitted when the number of columns in a
4412 HildonTouchSelector changes.
4414 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4417 (_hildon_picker_dialog_set_selector): Factor out the code
4418 to set up the dialog interaction mode.
4420 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4422 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4423 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4424 to signal_changed_id.
4426 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4428 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4431 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4433 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4434 Updated the logical ids related to ampm format, as now it is required to
4435 show it correctly localized even on languages with no default
4436 abbreviations for am or pm
4437 (_check_am_pm_format): check correctly the 24h format gconf property
4439 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4441 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4443 * src/hildon-button.c: Documentation updates.
4445 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4448 * src/hildon-caption.c: (hildon_caption_class_init):
4449 * src/hildon-color-button.c: (hildon_color_button_class_init):
4450 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4451 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4452 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4453 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4455 Remove deprecated GTK+ marshalers and replace them with the ones
4456 provided by GLib, for those available, add a marshaler for
4457 BOOLEAN:VOID, which is not available in GLib, and use it.
4459 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4461 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4462 the text from the previous column if there is no
4463 HildonTouchSelectorColumn::text-property set.
4465 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-button.h
4468 * src/hildon-button.c (hildon_button_set_property)
4469 (hildon_button_get_property, hildon_button_class_init)
4470 (hildon_button_set_style, hildon_button_get_style):
4471 New "style" property to change the visual appearance of the
4474 * src/hildon-picker-button.c (hildon_picker_button_new):
4475 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4477 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4478 HildonButton look like PickerButton)
4480 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4483 column while building the default string.
4485 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4487 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4488 scroll indicator by default.
4490 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4492 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4494 * src/hildon-main.c: Fix the documentation for hildon_init()
4496 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4498 * doc/hildon-docs.sgml
4502 * src/hildon-window-stack-private.h
4503 * src/hildon-window-stack.h
4504 * src/hildon-window-stack.c:
4505 New HildonWindowStack object, that adds support for multiple
4506 stacks of windows per process.
4508 * src/hildon-stackable-window-private.h
4509 * src/hildon-stackable-window.h
4510 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4511 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4512 (hildon_stackable_window_show, hildon_stackable_window_hide)
4513 (hildon_stackable_window_class_init)
4514 (hildon_stackable_window_init):
4515 Use HildonWindowStack for stack management.
4517 * src/hildon-program.c (hildon_program_pop_window_stack)
4518 (hildon_program_peek_window_stack)
4519 (hildon_program_go_to_root_window):
4520 Add a fallback implementation to the deprecated functions using
4523 * examples/hildon-stackable-window-example.c:
4524 Use the new HildonWindowStack API.
4526 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4528 * src/hildon-stackable-window-private.h
4529 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4530 (hildon_stackable_window_hide, hildon_stackable_window_init):
4531 Remove all window stack management.
4533 * src/hildon-program-private.h
4534 * src/hildon-program.h
4535 * src/hildon-program.c (hildon_program_init)
4536 (hildon_program_pop_window_stack)
4537 (hildon_program_peek_window_stack)
4538 (hildon_program_go_to_root_window):
4539 Remove all window stack management and mark functions as
4542 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4544 * src/hildon-app-menu.c (hildon_app_menu_realize):
4545 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4547 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4549 * configure.ac: post release version bump
4550 * debian/changelog: version bump
4552 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4557 * configure.ac: bump version
4558 * debian/changelog: updates
4560 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4562 Based on initial code by Christian Dywan (christian@imendio.com)
4564 * doc/hildon-docs.sgml: Add section for hildon-main.
4565 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4566 * src/Makefile.am: Add new hildon-main.[ch]
4567 * src/hildon-defines.h: Update the icon sizes.
4568 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4569 new library initialization files and register icon sizes.
4570 * src/hildon-main.h: New declarations.
4571 * src/hildon.h: Include hildon-main.h
4573 Add new initialization functions to the library. These methods
4574 will register the hildon specific icon sizes and can be used in the
4575 future for other hildon specific bits.
4577 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4579 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4581 * src/hildon-window.c: (hildon_window_realize),
4582 (hildon_window_notify), (-hildon_window_update_title): Do not set
4583 the application name in the window title.
4585 Fixes: NB#89754 (Applications shouldn't display their names in the
4588 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4590 * src/hildon-note-private.h:
4591 * src/hildon-note.c: (hildon_note_set_property),
4592 (hildon_note_get_property), (hildon_note_class_init),
4593 (hildon_note_init), (hildon_note_finalize),
4594 (hildon_note_new_confirmation_with_icon_name),
4595 (hildon_note_new_information_with_icon_name):
4597 No need to mark as deprecated the actual code. Revert
4598 to avoid missing symbols in widgets using deprecated API.
4600 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4602 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4604 * src/hildon-volumebar.h
4605 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4606 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4608 * src/hildon-helper.h
4609 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4610 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4612 * examples/Makefile.am:
4613 Deprecate hildon-insensitive-example
4615 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4617 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4619 * examples/hildon-pannable-area-buttons-scroll-example.c:
4620 Make all buttons finger height
4622 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4624 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4626 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4627 update the day model only if it is really required, and to avoid the
4628 full-reconstruction aproach. Now it only add or remove the required days.
4630 The purpose of this is avoid superfluous HildonTouchSelector::changed
4633 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4634 with strange parameters)
4636 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4638 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4640 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4641 the WINDOW_TYPE property.
4643 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4645 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4648 Fix dependency to allow parallel compilation with make -jX
4650 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4652 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4653 color frame and some minor tweaks to make it more consistent with
4656 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4657 highlighted but not visible)
4659 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4661 * examples/Makefile.am: Fixed typo in the Makefile.am.
4663 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4665 Reviewed the use of MAEMO_GTK define, now we add the define in the
4666 compilation line, and we also add it to the pc file.
4668 * configure.ac: Added MAEMO_GTK define to the compilation command
4669 and removed it from the config.h.
4671 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4672 do not have to take care about this define if the library was
4676 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4678 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4680 * examples/Makefile.am,
4681 * examples/hildon-pannable-area-buttons-scroll-example.c,
4682 * examples/hildon-pannable-area-gesture-signals-example.c,
4683 * examples/hildon-pannable-area-scroll-jump-example.c,
4684 * examples/hildon-pannable-area-tree-view-example.c:
4685 Renamed the pannable area examples, now they have more meaningful
4688 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4690 * src/hildon-touch-selector.c:
4691 (hildon_touch_selector_set_column_selection_mode): Used of
4692 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4693 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4694 to avoid re-seting the same selection mode.
4696 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4697 breaks HildonPickerDialog)
4699 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4701 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4702 conditional in the Makefile.am
4704 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4706 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4707 Remove unused methods.
4709 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-button.c (hildon_button_init):
4712 Make button images center-aligned by default
4714 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4717 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4718 activated, we have to think about how to deal with both defines
4719 MAEMO_GTK and MAEMO_CHANGES.
4721 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4723 * examples/hildon-app-menu-example.c (create_menu): Make all
4724 buttons finger size.
4726 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4728 Fixed the compilation without maemo gtk adding ifdefs with
4729 MAEMO_GTK define to the code, we have to check this version more
4732 * examples/Makefile.am: Added control to avoid some examples that
4733 just make sense with maemo gtk.
4736 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4737 hildon modes with the define.
4739 * examples/hildon-edit-toolbar-example.c,
4740 (create_icon_view): Create the icon view without hildon-gtk
4741 helpers if we are not using maemo gtk.
4743 * src/hildon-touch-selector.c,
4744 (_create_new_column): Create the treeview without hildon-gtk
4745 helpers if we are not using maemo gtk.
4747 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4749 * src/hildon-pnnable-area.c,
4750 (hildon_pannable_area_dispose),
4751 (hildon_pannable_area_button_press_cb),
4752 (hildon_pannable_area_child_mapped),
4753 (hildon_pannable_area_add),
4754 (hildon_pannable_area_remove): Added code to control the position
4755 of the event_window when adding and removing children from the
4756 pannable. We have to raise the event window when the child is
4759 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4760 selection mode using custom widget inside pannable)
4762 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4764 * configure.ac: post release version bump
4765 * debian/changelog: version bump
4767 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4772 * configure.ac: bump version
4773 * debian/changelog: updates
4775 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4777 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4778 search mode, in order to avoid lose the focus on the treeview when
4779 a hw key (like enter) is pressed.
4781 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4782 in HildonDateSelector dialog)
4784 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4786 * debian/rules: Added --enable-maintainer-mode
4787 * Makefile.am: Added ACLOCAL_AMFLAGS
4789 This allows to properly regenerate the Makefiles if you modify the
4790 configure.ac or any Makefile.am.
4792 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4794 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4795 properties, not needed at all.
4797 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4799 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4801 * src/hildon-note.c: (hildon_note_set_property),
4802 (hildon_note_get_property), (hildon_note_class_init),
4803 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4804 (hildon_note_new_confirmation_add_buttons): Remove icons.
4805 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4806 (hildon_note_new_information_with_icon_name): Deprecate.
4807 (hildon_note_new_confirmation): Act directly, without calling
4808 the deprecated constructor.
4809 (hildon_note_new_information): Act directly, without calling
4810 the deprecated constructor.
4811 * src/hildon-note.h: Mark deprecate methods as such.
4812 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4813 not run tests on the deprecated methods if built with deprecation
4816 Fixes: NB#91688 (Never show icons in information notes/confirmation
4819 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4822 (hildon_app_menu_key_press): Remove leftover usage of the
4823 private structure in HildonAppMenu struct.
4824 * src/hildon-app-menu.h: Remove leftover private structure
4825 from the HildonAppMenu struct.
4827 Fixes a crasher when using the HildonAppMenu.
4829 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-picker-dialog.c: Use appropriate logical id
4832 for the default "Done" text.
4834 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4836 * configure.ac: post release version bump
4837 * debian/changelog: version bump
4839 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4841 Modified the way to scroll to the current selection just when the touch
4842 selector is shown on the screen, avoiding a g_idle. Added too a property
4843 to configure this behaviour. See hildon_pannable_area_jump_to_child
4844 documentation for more information.
4846 * src/hildon-touch-selector.c
4847 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4848 Added 'initial-scroll' property
4849 (hildon_touch_selector_set_property): Added
4850 (hildon_touch_selector_map): Removed as not required anymore
4851 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4852 only a concrete column, instead of iterate along all the columns
4854 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4859 * configure.ac: bump version
4860 * debian/changelog: updates
4862 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4864 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4865 compilation time warnings.
4867 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4869 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4870 the default value for HildonPannableArea::mov-mode to
4871 HILDON_PANNABLE_AREA_MODE_VERT.
4873 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4875 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4877 Reverting following commit:
4879 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4881 * src/hildon-app-menu-private.h
4882 * src/hildon-app-menu.[ch]
4883 * src/hildon-button.[ch]
4884 * src/hildon-check-button.[ch]
4885 * src/hildon-entry.[ch]
4886 * src/hildon-pannable-area.[ch]
4887 * src/hildon-text-view.[ch]:
4888 Added private field to the object's structure.
4890 because it causes an ABI breakage. We will need to introduce these
4891 changes later at some point. See NB#91636 for an extensive
4892 explanation and status.
4894 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4896 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4898 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4899 remove special cases that are no longer necessary.
4901 Fixes: NB#91016 (Change toolbar sizes, simplification)
4903 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4905 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4906 is shown in the cancel note.
4908 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4910 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4911 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4912 (hildon_seekbar_init): Remove steppers, remove expose event.
4913 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4915 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4917 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4919 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4920 label font to "SmallSystemFont" for vertically arranged buttons.
4922 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4925 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4927 * src/hildon-check-button.c
4928 (hildon_check_button_set_active, hildon_check_button_clicked):
4929 Don't access private parts directly, use getters instead.
4931 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4933 * src/hildon-check-button.c (hildon_check_button_new):
4934 Align the contents of the check button to the left.
4936 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4938 * src/hildon-pannable-area.c,
4939 (hildon_pannable_area_scroll_to),
4940 (hildon_pannable_area_jump_to),
4941 (hildon_pannable_area_scroll_to_child),
4942 (hildon_pannable_area_jump_to_child): Replace the mapped
4943 precondition of these functions with the realized, it is the
4944 correct state of the widget in this case. Changed the
4945 documentation according to this modification.
4947 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4949 Added a new EXTRA_CFLAGS option to add the deprecated define to
4950 the compilation command. This way we can avoid using the define in
4951 the documentation compilation.
4953 * configure.ac: Defined EXTRA_CFLAGS.
4955 * examples/Makefile.am:
4957 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4959 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4961 * src/hildon-picker-dialog.c:
4962 Defined a utility macro with the desired touch selector height
4963 Removed currently unused separator, and title_label variables from
4965 (hildon_picker_dialog_init): Removed code related to the creation
4966 of unused private variables title_label and separator.
4967 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4968 to ensure correct visualization of the touch selector inside the dialog.
4969 * src/hildon-touch-selector.c
4970 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
4971 ensure a concrete height of the widget.
4973 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4976 * tests/Makefile.am:
4978 Remove spurious whitespaces.
4980 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
4982 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
4983 compilation warning after the cancel button removal.
4985 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4987 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
4989 * configure.ac: Added an AM_CONDITIONAL in order to use in the
4990 Makefile.am, that way we can choose not to compile some examples
4991 and tests of the deprecated widgets.
4993 * examples/Makefile.am: Divided the sources in deprecated and
4996 * src/Makefile.am: Added undef statement of the deprecated
4997 symbol to the enums file generation process.
4999 * src/hildon-color-chooser-dialog.c
5000 * src/hildon-color-chooser-dialog.h
5001 * src/hildon-color-button.c
5002 * src/hildon-color-button.h
5003 * src/hildon-color-chooser.c
5004 * src/hildon-color-chooser.h
5005 * src/hildon-controlbar.c
5006 * src/hildon-controlbar.h
5007 * src/hildon-date-editor.c
5008 * src/hildon-date-editor.h
5009 * src/hildon-hvolumebar.c
5010 * src/hildon-hvolumebar.h
5011 * src/hildon-private.c
5012 * src/hildon-private.h
5013 * src/hildon-range-editor.c
5014 * src/hildon-range-editor.h
5015 * src/hildon-seekbar.c
5016 * src/hildon-seekbar.h
5017 * src/hildon-time-editor.c
5018 * src/hildon-time-editor.h
5019 * src/hildon-time-picker.c
5020 * src/hildon-time-picker.h
5021 * src/hildon-volumebar.c
5022 * src/hildon-volumebar.h
5023 * src/hildon-vvolumebar.c
5024 * src/hildon-vvolumebar.h
5025 * src/hildon-bread-crumb-trail.h
5026 * src/hildon-bread-crumb-trail.c
5027 * src/hildon-calendar-popup.c
5028 * src/hildon-calendar-popup.h
5029 * src/hildon-weekday-picker.c:
5030 * src/hildon-weekday-picker.h:
5031 * src/hildon-bread-crumb-widget.c:
5032 * src/hildon-bread-crumb-widget.h:
5033 * src/hildon-bread-crumb.c:
5034 * src/hildon-bread-crumb.h:
5035 * src/hildon-calendar.c:
5036 * src/hildon-calendar.h:
5037 * src/hildon-caption.c:
5038 * src/hildon-code-dialog.c:
5039 * src/hildon-code-dialog.h:
5040 * src/hildon-font-selection-dialog.c:
5041 * src/hildon-font-selection-dialog.h:
5042 * src/hildon-get-password-dialog.c:
5043 * src/hildon-get-password-dialog.h:
5044 * src/hildon-login-dialog.c:
5045 * src/hildon-login-dialog.h:
5046 * src/hildon-number-editor.c:
5047 * src/hildon-number-editor.h:
5048 * src/hildon-set-password-dialog.c:
5049 * src/hildon-set-password-dialog.h:
5050 * src/hildon-sort-dialog.c:
5051 * src/hildon-sort-dialog.h: This is the list of deprecated
5054 * src/hildon-touch-selector.c:
5055 * src/hildon-window.c: Added undef statement to avoid compilation
5058 * tests/Makefile.am: Divided the sources in deprecated and
5061 * tests/check_test.c,
5062 (configure_tests): Marked the deprecated code that was adding
5063 suites with deprecated tests.
5065 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5067 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5069 * src/hildon-touch-selector.c: (_default_print_func): Do not
5070 duplicate a string returned by gtk_tree_model_get(), it is already
5073 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5076 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5078 * src/hildon-pannable-area.c
5079 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5080 method, it had problems when adding a widget with viewport the
5081 second time. Now checks if it already has a viewport and uses it.
5083 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5086 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5088 * src/hildon-pannable-area.c,
5089 (hildon_pannable_area_scroll_to),
5090 (hildon_pannable_area_jump_to),
5091 (hildon_pannable_area_scroll_to_child),
5092 (hildon_pannable_area_jump_to_child): Added a precondition to the
5093 scroll and jump to functions: the widget must be mapped before we
5094 can safely call these functions. We have also added documentation
5095 to the functions to explain how to use them in this situation.
5098 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5100 Reviewed the threading handling of the pannable widget, we have
5101 used the gdk_threads_add_timeout function instead of the usual
5102 glib handlers. This avoids some problems with the threads.
5104 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5105 (hildon_pannable_area_initial_effect),
5106 (hildon_pannable_area_scroll_indicator_fade),
5107 (hildon_pannable_area_button_press_cb),
5108 (hildon_pannable_area_timeout),
5109 (hildon_pannable_area_motion_notify_cb),
5110 (hildon_pannable_area_button_release_cb),
5111 (hildon_pannable_area_scroll_cb),
5112 (hildon_pannable_area_scroll_to): Removed the
5113 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5114 gdk_threads_add_timeout.
5116 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5118 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5123 * configure.ac: bump version
5124 * debian/changelog: updates
5126 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5128 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5129 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5130 * src/hildon-color-chooser-dialog.c:
5131 (hildon_color_chooser_dialog_init):
5132 * src/hildon-font-selection-dialog.c:
5133 (hildon_font_selection_dialog_init):
5134 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5136 Remove all cancel/close-like dialogs, as these are not going to be
5139 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5141 * src/hildon-note.c: (hildon_note_rebuild),
5142 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5145 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5147 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5149 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5150 sure all buttons are shown, even the Cancel/Close-like ones.
5152 Fixes: NB#90861 (Custom Confirmation dialogs should be
5153 protected from cancel button removal)
5155 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5157 * debian/control: Change libhildon1-examples dependency from libhildon1
5159 * debian/libhildon1-examples.install
5161 * Makefile.am: Modified the final install directory for the examples on
5162 package libhildon1-examples
5163 * Makefile.static: Update clean target in order to remove all the binary
5166 Changes suggested by Claudio after review new libhildon1-examples package
5168 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5170 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5171 * src/hildon-touch-selector.c: Ditto.
5173 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5175 * debian/control: Added new package libhildon1-examples, in order to pack
5176 the current hildon examples as documentation
5177 * debian/rules: Not to compress .c files, modify some includes on the
5178 examples (as normally are compiled locally, but when installed it will
5179 require to include the installed libhildon1 library), and rename
5181 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5182 install all the example files on the new example package
5183 * examples/Makefile.static: Added static makefile that can be used to
5184 compile the examples, once installed the new example package
5185 * examples: Most of the examples were modified in order to grant that
5186 all use only '#include "hildon.h"', in order to be easy to prepare
5187 it on the example package
5189 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5192 * debian/libhildon1-dev.install
5193 * debian/libhildon1-doc.install:
5194 Move all gtk-doc files to a separate libhildon1-doc package.
5196 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5198 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5200 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5202 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5204 * debian/rules: Fixed a error in order to avoid unnecessary calls
5205 to autogen.sh on package building
5207 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5209 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5211 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5213 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5216 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5218 * src/hildon-picker-button.c
5219 (hildon_picker_button_finalize):
5220 Free priv->done_button_text
5222 * src/hildon-time-button.c
5223 (hildon_time_button_set_time)
5224 * src/hildon-picker-button.c
5225 (hildon_picker_button_clicked)
5226 (hildon_picker_button_selector_selection_changed)
5227 (hildon_picker_button_set_selector)
5228 * src/hildon-date-button.c
5229 (hildon_date_button_set_date):
5230 Free strings returned by hildon_touch_selector_get_current_text()
5232 * src/hildon-button.c (hildon_button_construct_child):
5233 Fix leaks in priv->image and priv->label_box
5235 Fixes: NB#90535 (Memory leak in picker button)
5237 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5239 * src/hildon-button.c: (hildon_button_get_property): Do not access
5240 private elements directly, use getters instead.
5242 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5244 * src/hildon-app-menu-private.h
5245 * src/hildon-app-menu.c
5246 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5247 Store the menu's parent window.
5249 * src/hildon-stackable-window.c
5250 (hildon_stackable_window_toggle_menu)
5251 (hildon_stackable_window_finalize):
5252 Set the menu's parent window when the menu is shown, unset it when
5255 * src/hildon-app-menu.c
5256 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5257 (hildon_app_menu_class_init):
5258 Send unhandled keyboard accelerators to the parent window.
5260 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5262 * src/hildon-stackable-window.c
5263 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5265 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5267 * configure.ac: post release version bump
5269 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5272 * configure.ac: Bump version
5273 * debian/changelog: Updates
5274 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5277 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5279 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5282 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5283 GtkMenu with Hildon style.
5285 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-picker-button.c:
5288 (hildon_picker_button_set_done_button_text): Set the dialog's
5289 done button text here as well.
5291 Fixes: NB#90232 (Picker button does not set the label on done button
5292 for the second time)
5294 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5296 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5299 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5301 * src/hildon-app-menu.c (hildon_app_menu_insert)
5302 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5303 the HildonAppMenu to be activatable using keyboard accelerators
5304 when the menu is not being shown.
5306 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5308 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-stackable-window.c
5311 (hildon_stackable_window_show):
5312 Don't hide old windows automatically when new windows are shown:
5313 this is now a task for the window manager.
5314 (hildon_stackable_window_class_init)
5315 (hildon_stackable_window_hide):
5316 Remove windows from the stack everytime they're hidden.
5317 (hildon_stackable_window_realize):
5318 Don't change the _NET_WM_WINDOW_TYPE property. Use
5319 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5320 it as a stackable window.
5322 * src/hildon-program.c
5323 (hildon_program_pop_window_stack):
5324 Just hide the window to remove it from the stack.
5325 (hildon_program_go_to_root_window):
5326 Don't call gtk_widget_show(), this is now a task for the window
5329 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5331 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5333 * src/hildon-button.c
5334 (hildon_button_construct_child):
5335 Don't pack anything in the button until text or image are
5336 set. This allows adding a custom child after creating the button
5337 with hildon_button_new().
5338 (hildon_button_finalize, hildon_button_class_init)
5339 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5340 alignment and the label box even when they're not packed in the
5343 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5345 * src/hildon-touch-selector.h:
5346 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5347 currently the type definition was using GTK_TYPE_VBOX
5348 * src/hildon-touch-selector.c:
5349 Added some implementation notes in order to clarify that any other widget
5350 added without the column related API will not be included on the
5351 selection logic, and how the widget is freed, as some people ask about
5353 (hildon_touch_selector_remove): Reimplemented in order to free properly
5354 the column related data when you remove the private hbox.
5355 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5356 to get a proper HildonTouchSelectorColumn documentation
5358 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5360 * src/hildon-touch-selector-entry.c:
5361 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5362 text in the GtkEntry and there is no item selected. Fixes a
5365 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5367 * src/hildon-app-menu-private.h
5368 * src/hildon-app-menu.[ch]
5369 * src/hildon-button.[ch]
5370 * src/hildon-check-button.[ch]
5371 * src/hildon-entry.[ch]
5372 * src/hildon-pannable-area.[ch]
5373 * src/hildon-text-view.[ch]:
5374 Added private field to the object's structure.
5376 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5378 * configure.ac: post-release version bump
5380 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5384 * configure.ac: pre-release version bump
5386 * debian/changelog: updates.
5388 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5390 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5391 Disconnect the handler for HildonTouchSelector::changed.
5393 (hildon_picker_button_selector_selection_changed): Update the button
5394 value if the selection change was not triggered by the
5397 (hildon_picker_button_set_selector): connect to
5398 HildonTouchSelector::changed.
5400 Fixes: NB#89650 (Picker button is not updated, when selection in
5401 selector has changed)
5403 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5405 * src/hildon-picker-dialog.c
5406 (hildon_picker_dialog_realize): Removed as not required
5407 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5408 * src/hildon-picker-button.c
5409 (_current_selector_empty): New function, checks if the selector is empty
5410 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5411 if the current selector is empty, in order to avoid to show the dialog
5412 close the dialog in this case (and shows a g_warning).
5414 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5416 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5418 * src/hildon-pannable-area.c,
5419 (hildon_pannable_area_scroll): Added clause to stop movement when
5420 the child of pannable is smaller than one page.
5421 (hildon_pannable_area_scroll_to): Added conditions to avoid
5422 starting the scrolling movement if the child is smaller than one
5423 page, the complete child is in the screen, we do not have to move.
5425 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5427 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5429 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5430 this is managed automatically by the widget when the size of the
5433 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-picker-button.c
5436 (hildon_picker_button_set_done_button_text): Make a copy of the
5437 text, and free the previous value.
5439 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5441 * src/hildon-touch-selector-entry.c:
5442 (hildon_touch_selector_entry_print_func): Return the selected row's
5443 text if the entry is empty.
5445 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5448 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5452 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5455 * src/hildon-check-button.h
5456 * src/hildon-check-button.c
5457 * examples/hildon-check-button-example.c:
5458 HildonCheckButton is now a new widget. 'toggled' signal added.
5460 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5462 * src/hildon-program-private.h
5463 * src/hildon-program.c (hildon_program_init)
5464 (hildon_program_finalize): Removed unused variables group_leader
5465 and name from HildonProgramPrivate.
5467 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5469 * src/hildon-check-button.c (hildon_check_button_set_active)
5470 (hildon_check_button_get_active, hildon_check_button_new): Use
5471 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5473 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5475 * src/hildon-touch-selector.h
5476 (hildon_touch_selector_set_column_attributes): added deprecation
5477 guard HILDON_DISABLE_DEPRECATED
5478 * src/hildon-time-selector.c
5479 (hildon_time_selector_set_time)
5480 (hildon_time_selector_get_time): Fixed a typo on documentation
5481 * src/hildon-touch-selector.c: update HildonTouchSelector and
5482 HildonTouchSelectorColumn documentation
5483 * src/hildon-touch-selector-entry.c: update "text-column" property
5485 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5486 to be added to the general documentation.
5488 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5490 * examples/hildon-pannable-area-example-4.c,
5492 * examples/hildon-pannable-area-example.c,
5493 (main): Modified the code in order to use the container add, with
5494 viewport treeviews could have problems if they are really big.
5496 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5498 * src/hildon-weekday-picker.c,
5499 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5500 the agreement regarding deprecation in the library.
5502 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5504 * examples/hildon-picker-button-multicolumn-example.c:
5505 (main): Use custom "done" button text.
5507 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5508 (hildon_picker_button_set_property),
5509 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5510 (hildon_picker_button_init),
5511 (+hildon_picker_button_get_done_button_text),
5512 (+hildon_picker_button_set_done_button_text): New methods to customize
5513 the "done" button label in the launched HildonPickerDialog. Also,
5516 * src/hildon-picker-button.h: add the public API.
5518 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5520 * src/hildon-date-selector.h:
5521 * src/hildon-picker-dialog.h:
5522 * src/hildon-time-selector.h:
5523 * src/hildon-touch-selector-column.h:
5524 * src/hildon-touch-selector.h:
5526 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5527 declarations. Fixes gtk-doc warnings.
5529 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5531 * src/hildon-picker-dialog.h
5532 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5533 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5535 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5536 long text is set as label for done button)
5538 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-dialog.c (hildon_dialog_add_button):
5541 Set fixed width to all buttons in the HildonDialog.
5543 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5545 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5547 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5548 Set widget name using class name plus "-finger" or "-thumb".
5550 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5553 'clicked' when the state of the button is manually changed.
5555 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5557 * src/hildon-app-menu.c (hildon_app_menu_realize)
5558 (hildon_app_menu_unrealize, hildon_app_menu_init)
5559 (hildon_app_menu_class_init, item_visibility_changed):
5560 Change the menu layout when the size of the screen changes.
5561 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5562 Show warning only when changing the number of colums using the
5565 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5567 * debian/compat: Set to 5
5568 * debian/control: Update dependencies.
5569 * debian/libhildon1-dbg.install: Remove.
5570 * debian/libhildon1-dev.install: Update according to cdbs paths.
5571 * debian/libhildon1.install: Update according to cdbs paths.
5572 * debian/rules: Switch to cdbs.
5574 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5577 'item' variable renamed to 'filter'
5579 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-app-menu.c (hildon_app_menu_insert)
5582 (hildon_app_menu_add_filter, remove_item_from_list)
5583 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5584 Don't leak hidden items when the menu is destroyed.
5586 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5588 * src/hildon-app-menu.c (hildon_app_menu_insert)
5589 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5590 (hildon_app_menu_set_columns, item_visibility_changed)
5591 (filter_visibility_changed, hildon_app_menu_repack_filters)
5592 (hildon_app_menu_repack_items):
5593 Repack items and filters separately.
5595 Don't repack all items, change only the ones that are needed to
5598 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5600 * src/Makefile.am: added hildon-touch-selector-column.h
5602 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5604 * src/hildon-touch-selector.c: added the property "text-column" to the
5605 class HildonTouchSelectorColumn, and related get/set functions
5606 (_default_printf_func): updated to use "text-column" property
5607 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5608 "text-column" in his documentation, as this is now included on
5609 HildonTouchSelectorColumn. The get/set_property can still be used,
5610 working as a wrapper to the concrete column "text-column" property
5611 (_text_column_modified): callback added in order to handle the signal
5612 "notify::text-column" of the concrete HildonTouchSelectorColumn
5613 (hildon_touch_selector_entry_get_text_column)
5614 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5615 modified in order to use the HildonTouchSelectorColumn "text-column"
5617 * src/hildon-time-selector.c:
5618 * src/hildon-date-selector.c:
5619 * examples/hildon-touch-selector-example.c
5620 * examples/hildon-touch-selector-multi-cells-example.c
5621 * examples/hildon-picker-button-multicolumn-example.c
5622 Set the right value to "text-column" property on the creation of a new
5623 column using hildon_touch_selector_append_column()
5625 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5627 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5629 * src/hildon-app-menu.c
5630 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5631 updating the layout of the menu, don't create all widgets again,
5632 just repack the items in their new places.
5634 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5636 * src/hildon-time-selector.c
5637 (hildon_time_selector_get_time)
5638 (hildon_time_selector_set_time)
5639 Added documentation of these public methods
5641 * src/hildon-date-button.h
5642 * src/hildon-touch-selector-column.h
5643 * src/hildon-time-button.h
5644 * src/hildon-picker-dialog.h
5645 * src/hildon-time-selector.h
5646 * src/hildon-picker-button.h
5647 * src/hildon-touch-selector.h
5648 * src/hildon-time-picker.h
5649 * src/hildon-date-selector.h
5650 * src/hildon-touch-selector-entry.h
5651 Modified in order to use hildon-widgets code style
5653 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5655 Added deprecated support to the compilation process using
5656 HILDON_DISABLE_DEPRECATED
5658 * configure.ac: Added the --disable-deprecated to the configure
5661 * src/hildon-weekday-picker.c:
5662 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5663 to use the deprecated support. We will update the other deprecated
5664 widgets status in a new patch.
5666 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5668 * configure.ac: Fixed typo with fatal warnings support, the
5669 variable name was not correct
5671 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5673 * src/hildon-app-menu.c
5674 * src/hildon-program.c: Update documentation.
5676 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5678 * configure.ac: Post-release version bump.
5680 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5685 * configure.ac: Pre-release version bump.
5686 * debian/changelog: Updates.
5688 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5690 * NEWS: Update news for previous releases.
5692 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5694 * examples/hildon-touch-selector-multi-cells-example.c:
5695 (create_selector): Update the example to use
5696 hildon_touch_selector_append_column() with a NULL renderer and set
5697 the renderers later.
5698 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5699 passed a NULL renderer. This is documented behavior now.
5701 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5702 This must be used if the developer wants full control on the layout of
5703 the renderers to be added to the column.
5705 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5707 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5709 * src/hildon-touch-selector.c: Documentation fixes.
5711 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5713 * src/hildon-wizard-dialog-private.h: Remove image and box.
5714 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5715 (hildon_wizard_dialog_set_property), (response): Completely remove
5716 image/icon support, and the containers required for the layout.
5718 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5720 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5722 * src/hildon-app-menu.c: Updated documentation.
5724 * src/hildon-stackable-window.c
5725 (hildon_stackable_window_set_main_menu): Unref the old menu after
5726 ref'ing the new one.
5728 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5730 * src/hildon-stackable-window.c
5731 (hildon_stackable_window_set_main_menu): Unref the previous menu
5732 instead of destroying it.
5734 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5735 floating reference and set has_user_ref_count to FALSE to make
5736 HildonAppMenu act like a normal ref-counted widget and not a
5739 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5742 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5744 * src/hildon-touch-selector-column.h: new file
5745 * src/hildon-touch-selector.h
5746 * src/hildon-touch-selector.c
5747 Implemented GtkCellLayout interface, in order to allow to configure
5748 the cell layout on each individual selector column
5749 (hildon_touch_selector_set_column_attributes): marked as deprecated
5750 * examples/hildon-touch-selector-multi-cells-example.c
5751 Example of how to use the GtkCellLayout interface on the selector
5753 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5755 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-app-menu.h
5758 * src/hildon-app-menu.c
5759 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5760 (hildon_app_menu_append, hildon_app_menu_prepend):
5761 New methods to prepend, insert and move items in the menu.
5763 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5765 * src/hildon-wizard-dialog.c:
5767 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5769 (create_title): Update logical IDs and related code.
5770 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5772 * src/hildon-wizard-dialog.h: Note that
5773 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5774 point, as it is not used anymore.
5776 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5778 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5780 * src/hildon-note.c:
5781 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5782 shown. Do not display an icon in confirmation notes nor information
5784 (hildon_note_set_button_text): Update logical ID for cancel button.
5786 Fixes: NB#88850 (Update HildonNote button strings + signals)
5788 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5790 * src/hildon-stackable-window.c
5791 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5793 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5795 * src/hildon-app-menu-private.h
5796 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5797 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5798 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5799 temporary property 'columns' to change the number of columns.
5801 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5803 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5805 * examples/hildon-note-example.c: (on_information_clicked),
5806 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5807 debugging information.
5808 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5810 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5811 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5812 in order to close: this will be handled by the WM from now on.
5814 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5816 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5818 * src/hildon-app-menu-private.h
5819 * src/hildon-app-menu.c
5820 (hildon_app_menu_append, hildon_app_menu_add_filter)
5821 (button_visibility_changed, hildon_app_menu_apply_style)
5822 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5823 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5824 layout everytime a button (item or filter) is shown or hidden.
5826 * src/hildon-stackable-window.c
5827 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5830 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5832 * src/hildon-touch-selector.c:
5833 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5834 that the treeview inside the touch selector is in fremantle hildon mode
5835 * examples/hildon-date-button-example.c
5836 * examples/hildon-picker-button-multicolumn-example.c
5837 * examples/hildon-touch-selector-entry-example.c
5838 * examples/hildon-touch-selector-example.c
5839 * examples/hildon-time-button-example.c
5840 * examples/hildon-picker-button-example.c:
5841 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5843 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5845 * examples/hildon-text-view-example.c: (main): Remove the
5846 gtkrc bits, now handled by the theme.
5848 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5850 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5853 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5855 * po/Makefile.am: Install properly the mo files.
5856 * po/en_GB.po: Update translation, to ease testing purposes.
5858 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5860 * examples/hildon-picker-button-example.c: (main): Select an item
5861 in the selector before setting it to the button.
5863 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5865 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5866 Update button's value if the selector has an item active.
5868 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5869 'value' with the selector)
5871 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5874 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5875 (hildon_picker_button_class_init): Plug the finalize method.
5876 (hildon_picker_button_set_selector): If there's a previously set
5877 selector, unref'it before setting a new one.
5879 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5880 HildonTouchSelector)
5882 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5884 * src/hildon-touch-selector-entry.c:
5885 (hildon_touch_selector_entry_changed): Check if there is no text
5886 selected before setting the entry text.
5889 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5891 * src/hildon-touch-selector.h
5892 * src/hildon-touch-selector.c
5893 (hildon_touch_selector_get_active)
5894 (hildon_touch_selector_set_active): New methods to set/get the
5895 index of the selected item.
5897 * src/hildon-picker-button.h
5898 * src/hildon-picker-button.c
5899 (hildon_picker_button_get_active)
5900 (hildon_picker_button_set_active): New methods to set/get the
5901 index of the selected item.
5903 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5905 * configure.ac: post-release version bump.
5907 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5911 * configure.ac: Pre-release version bump.
5912 * debian/changelog: Updates.
5913 * debian/control: Add myself as maintainer and depend on l10n
5916 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-window.c
5919 (hildon_window_set_main_menu)
5920 * src/hildon-stackable-window.c
5921 (hildon_stackable_window_set_main_menu):
5922 Updated documentation.
5924 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5926 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5927 Don't free selector->priv manually.
5930 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5933 (hildon_gtk_window_set_progress_indicator):
5934 * src/hildon-gtk.h: Added the new API
5935 hildon_gtk_window_set_progress_indicator, it changes the state of
5936 the window progress hint.
5938 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-button.c
5941 * src/hildon-stackable-window.c: Minor documentation updates.
5943 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5945 * src/hildon-stackable-window.c: Updated documentation.
5947 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5949 * src/hildon-defines.h: Update margins definitions
5950 to the Fremantle sizes.
5953 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5955 * src/hildon-touch-selector.c,
5956 (_hildon_touch_selector_set_model): Cleaning the code after
5957 review, removed g_print and #if 0 from the code.
5959 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5961 * src/hildon-edit-toolbar.c: Update documentation.
5963 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5965 * src/hildon-check-button.h
5966 * src/hildon-check-button.c
5967 (hildon_check_button_set_label, hildon_check_button_get_label)
5968 * examples/hildon-check-button-example.c
5969 (button_clicked_cb):
5970 Removed deprecated methods.
5972 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-text-view.c:
5975 Add sample code to the documentation.
5977 * src/hildon-entry.h
5978 * src/hildon-text-view.h:
5979 Minor cosmetic changes.
5981 * src/hildon-entry.c:
5982 Add sample code to the documentation.
5983 (hildon_entry_init, hildon_entry_refresh_contents):
5984 Don't allow NULL values in the placeholder.
5986 2008-09-10 Alberto Garcia <agarcia@igalia.com>
5988 * doc/hildon-docs.sgml
5990 * examples/Makefile.am
5991 * examples/hildon-text-view-example.c
5993 * src/hildon-text-view.c
5994 * src/hildon-text-view.h
5996 New HildonTextView widget, with example.
5998 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6000 * po/POTFILES.in: Add missing files with translatable strings.
6001 Partially fixes NB#88287.
6003 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6005 * examples/hildon-pannable-area-example-2.c: (main): No need to
6006 set the cellrenderer height inside hildon touch lists, the theme does
6009 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6011 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6012 they are integrated in the theme.
6014 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6016 * examples/hildon-entry-example.c: Update the example adding
6017 widgets to modify the text and the placeholder of the HildonEntry.
6019 * src/hildon-entry.c: Show the placeholder everytime the widget
6020 is empty and loses the focus.
6022 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6024 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6026 * src/hildon-pannable-area.c,
6027 (hildon_pannable_area_size_request): Fixed bug in height
6028 requisition, avoid increasing size and add border twice.
6030 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6032 * configure.ac: postrelease version bump.
6034 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6038 * configure.ac: Prerelease version bump.
6039 * debian/changelog: update.
6040 * debian/rules: make -dbg package contain useful debugging symbols.
6042 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-dialog.h
6045 * src/hildon-dialog.c
6046 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6047 New methods to add buttons with finger size.
6048 (hildon_dialog_new_with_buttons):
6049 Create buttons with finger size.
6051 * examples/hildon-dialog-example.c (main): Use HildonDialog
6052 methods to add buttons.
6054 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6056 * src/hildon-entry.c: Updated HildonButton documentation.
6058 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6060 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6061 button value label with (FALSE, FALSE) to prevent NB#88126 from
6064 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6066 * examples/hildon-pannable-area-example.c,
6067 (main): Removed examples panning a vbox inside a pannable
6068 area. Check bug NB#87965
6070 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6072 Patch contributed by Kris Rietveld (kris@imendio.com)
6074 * src/hildon-pannable-area.c,
6075 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6076 get_size and get_position, this saves an X server roundtrip.
6078 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6080 * doc/hildon-docs.sgml
6082 * examples/Makefile.am
6083 * examples/hildon-entry-example.c
6085 * src/hildon-entry.c
6086 * src/hildon-entry.h
6088 New HildonEntry widget, with example.
6090 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6092 * src/hildon-button.c (hildon_button_construct_child): Pack the
6093 image with expand == fill == FALSE. This is a workaround for a bug
6096 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6098 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6099 labels for the text column, to make it more look more dynamic.
6101 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6103 * src/hildon-time-selector.c
6104 Define gettext auxiliar macro N_
6105 (_create_minutes_model)
6106 (_create_hours_model)
6107 (_create_ampm_model): use of strftime in order to fill the model
6108 * src/hildon-date-selector.c
6109 (hildon_date_selector_finalize):
6110 (_locales_init): remove the logic related to get the name of the months
6111 using nl_langinfo, as it is not required anymore
6113 (_create_year_model)
6114 (_create_month_model)
6115 (_update_day_model): use of strftime in order to fill the model properly
6118 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6120 * src/hildon-button.h
6121 * src/hildon-button.c (hildon_button_get_image): New method to
6124 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6126 * src/hildon-touch-selector.c:
6127 (hildon_touch_selector_remove_column): Remove from the correct parent
6128 and also remove the list element and free it.
6131 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6133 * src/hildon-time-selector.c
6134 (_create_hours_model): change the range on 12h ampm format in order to use
6135 a 12-11 range instead of previous 01-12 range
6136 (hildon_time_selector_set_time): change the way to select the current time
6137 on 12h ampm format, due the change on the range
6138 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6141 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6143 * src/hildon-touch-selector.c
6144 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6145 in order to allow use this function on multiple row selection mode if
6146 the column is different that the first one
6149 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6151 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6152 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6154 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6156 * src/hildon-date-selector.h: clean some comments, now on the .c
6157 * src/hildon-date-selector.c
6158 (hildon_date_selector_select_month): first implementation
6159 (hildon_date_selector_select_day): added documentation, reimplemented
6160 using hildon_date_selector_select_current_date to avoid repeat code
6163 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6165 Reviewed interaction logic based on device experiences, refactored
6168 * src/hildon-pannable-area.c,
6169 (hildon_pannable_area_class_init): Updated default vmax speed.
6170 (hildon_pannable_area_calculate_velocity): Added this function, it
6171 avoids duplicate valocity calculation. Adjusted calculation to
6172 avoid problems with zero dist events.
6174 (hildon_pannable_area_motion_notify_cb): Now we use the
6175 calculate_velocity function.
6177 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6179 * src/hildon-date-selector.c
6180 (hildon_date_selector_select_current_date): fix the day range check
6181 as it failed using the last day of the current month
6184 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6186 * src/hildon-touch-selector.c
6187 (hildon_touch_selector_get_num_columns): added a parameter validation
6190 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6192 * examples/Makefile.am
6193 * examples/hildon-edit-toolbar-example.c: Example of the
6194 HildonEditToolbar widget.
6196 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6198 * configure.ac: postrelease version bump.
6200 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6204 * configure.ac: prerelease version bump.
6205 * debian/changelog: update.
6207 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6209 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6210 renderer to display stock icons in the touch list. Also, set the sizes
6211 to the recommended in the style guide.
6213 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6214 * src/hildon-touch-selector.h
6215 (hildon_touch_selector_set_active_iter): renamed, now is
6216 hildon_touch_selector_select_iter
6217 (hildon_touch_selector_get_active_iter): renamed, now is
6218 hildon_touch_selector_get_selected
6219 (hildon_touch_selector_unselect_iter): added
6220 * src/hildon-touch-selector.c
6221 Update after API modification (methods renamed)
6222 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6223 order to avoid problems selecting multiple elements on the column
6224 (hildon_touch_selector_unselect_iter): added the implementation
6225 * src/hildon-time-selector.c
6226 * src/hildon-date-selector.c
6227 * src/hildon-touch-selector-entry.c
6228 Update methods calls after hildon-touch-selector.h API modification (methods
6231 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-stackable-window.c
6234 (hildon_stackable_window_finalize): Call the parent class's finalize.
6236 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6238 * examples/hildon-touch-selector-example.c: (create_selector): Use
6239 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6242 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6244 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6245 set a cell background color, to respect theming.
6247 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6249 * doc/hildon-docs.sgml
6252 * src/hildon-edit-toolbar.c
6253 * src/hildon-edit-toolbar.h
6254 * src/hildon.h: New HildonEditToolbar widget.
6256 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6258 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6261 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6262 * src/hildon-touch-selector.c
6263 (_create_new_column): use g_object_set instead of two g_object_set_property
6265 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6266 * src/hildon-touch-selector.c
6267 (_create_new_column): use of hildon_gtk_tree_view_new to create
6268 the treeview, instead of use directly g_object_new
6269 (_create_new_column): update the property name "vindicator-mode" for the
6270 new one "vscrollbar-policy"
6271 * examples/hildon-date-button-example.c
6272 * examples/hildon-picker-button-multicolumn-example.c
6273 * examples/hildon-touch-selector-entry-example.c
6274 * examples/hildon-touch-selector-example.c
6275 * examples/hildon-time-button-example.c
6276 * examples/hildon-picker-button-example.c
6277 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6278 to all the treeviews inside a pannable area.
6280 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6282 * src/hildon-button.h
6283 * src/hildon-button.c (hildon_button_init)
6284 (hildon_button_set_arrangement, hildon_button_set_alignment)
6285 (hildon_button_set_title_alignment)
6286 (hildon_button_set_value_alignment)
6287 (hildon_button_set_image_alignment)
6288 (hildon_button_construct_child): New methods to set the alignment
6289 of the individual components of the button (title, value,
6290 image). Also, new method to alter the xscale and yscale properties
6291 of the GtkAlignment inside the button, so more complex layouts can
6294 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-button.c (hildon_button_style_set)
6297 (hildon_button_class_init, hildon_button_set_arrangement)
6298 (hildon_button_construct_child): Apply style properties
6299 correctly. Use the 'image-spacing' style property too.
6301 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6303 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6304 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6307 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6309 * src/hildon-pannable-area.c,
6310 (hildon_pannable_area_size_request): Fixed problem with
6311 pannable-area size_request.
6313 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6315 Added management for the grab-focus to a child widget, like a
6316 range, we need to fade out the scrollbar when releasing.
6318 * src/hildon-pannable-area.c,
6319 (hildon_pannable_area_init): Connected the grab-focus signal to
6321 (hildon_pannable_area_grab_notify): Added this function in order
6322 to manage the situation when the grab-focus ends. We have to
6323 fade-out the scrollbar.
6325 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-app-menu.c: Minor documentation update.
6329 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-app-menu.c
6332 * examples/hildon-app-menu-example.c (create_menu): Update
6333 examples and documentation to explain how to connect callbacks.
6335 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6337 * examples/hildon-button-example.c
6338 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6339 hildon_stackable_window_new instead of gtk_window_new
6341 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6343 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6344 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6345 (hildon_pannable_area_set_property),
6346 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6347 (hildon_pannable_area_unrealize),
6348 (hildon_pannable_area_size_request),
6349 (hildon_pannable_area_size_allocate),
6350 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6351 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6352 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6353 (hildon_pannable_area_initial_effect),
6354 (hildon_pannable_area_redraw),
6355 (hildon_pannable_area_scroll_indicator_fade),
6356 (hildon_pannable_area_expose_event),
6357 (hildon_pannable_area_get_topmost), (synth_crossing),
6358 (hildon_pannable_area_button_press_cb),
6359 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6360 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6361 (hildon_pannable_area_motion_notify_cb),
6362 (hildon_pannable_area_button_release_cb),
6363 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6364 (hildon_pannable_area_remove),
6365 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6366 chage the code layout to a more GtkWidget like. Review the use of
6369 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6371 * examples/hildon-pannable-area-example-4.c,
6372 (main): Modified the name of the hindicator_mode to
6375 * src/hildon-pannable-area.c,
6376 (hildon_pannable_area_class_init),
6377 (hildon_pannable_area_motion_notify_cb),
6378 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6379 we have reduced the amount of signals and managed reviewed its
6380 rationale. Changed the default decelerate value.
6382 (hildon_pannable_area_add),
6383 (hildon_pannable_area_redraw): Refactored functions.
6385 (hildon_pannable_area_init),
6386 (hildon_pannable_area_get_property),
6387 (hildon_pannable_area_set_property):
6388 (hildon_pannable_draw_vscroll),
6389 (hildon_pannable_draw_hscroll),
6390 (hildon_pannable_area_initial_effect),
6391 (hildon_pannable_area_expose_event),
6392 (hildon_pannable_area_scroll),
6393 (hildon_pannable_area_button_press_cb),
6394 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6395 and vindicator_mode with hscrollbar_policy and
6396 vscrollbar_policy. Replaced hscroll and vscroll with
6397 hscroll_visible and vscroll_visible.
6399 (hildon_pannable_area_refresh): Refactor the function, remove
6400 variables and check the calls to this function, added resize
6401 conditions in case the children change their layout.
6403 (hildon_pannable_area_size_request): Added more detailed
6404 size_request calculation.
6407 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6409 * src/hildon-color-chooser.c
6410 (init_borders): use the correct gtk_border_free instead of g_free, to
6411 avoid a crash when this widget is used (ie: the three color selection
6414 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6416 * src/hildon-check-button.c,
6417 (hildon_check_button_set_active): Fixed problem when setting the
6418 active value, the widget was not redrawn.
6420 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6422 * src/hildon-pannable-area.c,
6423 (hildon_pannable_area_refresh),
6424 (hildon_pannable_area_scroll),
6425 (hildon_pannable_area_motion_notify_cb): Small code style change.
6427 (hildon_pannable_area_class_init): Default initial_hint set to
6428 FALSE, it is not in the specs.
6430 (hildon_pannable_area_initial_effect),
6431 (hildon_pannable_area_expose_event),
6432 (hildon_pannable_area_map),
6433 (hildon_pannable_area_init): Moved the launching point of the
6434 initial effect, it was in map but the sizes where not correct in
6435 that method so we do not know if we have the reproduce it. Now it
6436 is placed in the expose_event method and uses a variable to
6437 reproduce it just once.
6439 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6441 * src/hildon-pannable-area.c,
6442 (hildon_pannable_draw_vscroll),
6443 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6444 position allowed for the scrollbars.
6446 (hildon_pannable_area_size_allocate): Small style change.
6448 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6450 * src/hildon-pannable-area.c,
6451 (hildon_pannable_area_scroll_indicator_fade),
6452 (hildon_pannable_area_button_press_cb),
6453 (hildon_pannable_area_button_release_cb),
6454 (hildon_pannable_area_scroll_cb),
6455 (hildon_pannable_area_expose_event),
6456 (hildon_pannable_area_init): Added the define parameter
6457 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6458 and refactor the fade variable.
6460 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6462 * src/hildon-pannable-area.c,
6463 (hildon_pannable_area_redraw),
6464 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6465 lines, we were reimplemeting the redraw code.
6467 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6469 * src/hildon-pannable-area.c,
6470 (hildon_pannable_area_scroll_cb),
6471 (hildon_pannable_area_realize),
6472 (hildon_pannable_area_class_init): Added scroll_event management
6473 for pannable area, now we can scroll the usual desktop method.
6475 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6476 initialization of the parameters should depend on idle_id.
6478 (hildon_pannable_area_init),
6479 (hildon_pannable_area_map): Small code style modifications
6481 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6483 * src/hildon-pannable-area.c
6484 (hildon_pannable_area_button_press_cb),
6485 (hildon_pannable_area_motion_notify_cb),
6486 (hildon_pannable_area_button_release_cb),
6487 (hildon_pannable_area_size_allocate),
6488 (hildon_pannable_area_scroll_to): Improved the timeouts
6489 management, we avoid creating them each time.
6491 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6493 * src/hildon-pannable-area.c:
6494 (hildon_pannable_area_refresh),
6495 (hildon_pannable_area_motion_notify_cb),
6496 (hildon_pannable_area_class_init):
6497 * src/hildon-pannable-area.h:
6498 * src/hildon-touch-selector.c
6499 (_create_new_column):
6500 * examples/hildon-pannable-area-example-4.c:
6501 (horizontal_movement),
6502 (vertical_movement),
6504 Replaced the names of enums in the HildonPannableArea:
6505 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6506 HILDON_MOVEMENT_MODE_*
6507 - HILDON_PANNABLE_AREA_MOV_* ->
6509 - Removed HildonPannableAreaIndicatorMode, now we
6512 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6514 * examples/hildon-pannable-area-touch-grid-example.c
6515 * examples/hildon-pannable-area-touch-list-example.c: Fix
6516 compilation warnings.
6518 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6520 * src/hildon-gtk.c (hildon_gtk_button_new)
6521 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6522 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6523 images overriding the value of the "gtk-button-images" setting.
6525 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6527 * src/hildon-check-button.c (hildon_check_button_new):
6528 Instead of using a custom container, display the label and the
6529 checkbox using the standard GtkButton API.
6531 * examples/hildon-check-button-example.c (main): Don't use
6532 hildon_check_button_set_label() anymore
6534 * src/hildon-check-button.h
6535 * src/hildon-check-button.c
6536 (hildon_check_button_set_label, hildon_check_button_get_label):
6537 Set as deprecated, now we're using gtk_button_{get,set}_label()
6539 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6541 * src/hildon-pannable-area.c,
6542 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6543 GtkTreeview first line we detected it after the inclusion of the
6544 GtkWindowImpl in gtk+. We now check if the window is visible, not
6545 just if the pointer is over the window.
6546 (hildon_pannable_axis_scroll),
6547 (hildon_pannable_area_expose_event): Small style changes.
6549 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6551 * src/hildon-button.c: Update documentation.
6553 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6555 * examples/hildon-button-example.c: Add a switch to show images in
6558 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6560 * doc/hildon-docs.sgml: Some docs reorganization.
6562 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6564 * examples/hildon-pannable-area-touch-list-example.c
6566 * examples/hildon-pannable-area-touch-grid-example.c
6567 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6568 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6569 Fix memory leak when setting the tree model.
6571 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6575 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6577 * doc/hildon.types: Remove duplicated hildon_window_get_type
6578 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6579 documentation comment.
6581 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6583 * doc/Makefile.am: Complete list of private headers.
6585 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6587 * doc/hildon-docs.sgml
6588 * src/hildon-app-menu.c
6589 * src/hildon-bread-crumb.c
6590 * src/hildon-button.c
6592 * src/hildon-program.c
6593 * src/hildon-stackable-window.c
6594 * src/hildon-window.c: Lots of documentation updates.
6596 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6598 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6600 * configure.ac: Require Gtk+ 2.12.9 at least
6602 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6604 * src/hildon-pannable-area.c
6605 (hildon_pannable_area_scroll_indicator_fade),
6606 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6607 to protect the return of this timeout callbacks, avoiding deadlocks.
6609 2008-08-12 Christian Dywan <christian@imendio.com>
6612 * src/hildon-*.h: Ensure a consistent include order,
6613 include <gtk/gtk.h> instead of particular files and
6614 only include the topmost header in the gtk stack. See NB #39857
6616 2008-08-12 Christian Dywan <christian@imendio.com>
6618 * src/hildon-picker-dialog.c
6619 * src/hildon-touch-selector.c: Fix warnings about unused and
6620 uninitialized variables.
6622 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6624 * examples/Makefile.am
6625 * examples/hildon-check-button-example.c: Example of the hildon
6628 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6630 * src/hildon-window.h
6631 * src/hildon-window.c (hildon_window_class_init)
6632 (hildon_window_unset_program): Don't make
6633 hildon_window_unset_program a virtual function anymore.
6635 * src/hildon-stackable-window.c: Update documentation
6637 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6640 * doc/hildon-docs.sgml
6641 * doc/visual_index.xml
6642 * src/hildon-defines.c
6644 * src/hildon-helper.c
6645 * src/hildon-range-editor.c: Lots of documentation fixes.
6647 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6649 * examples/hildon-picker-button-multicolumn-example.c
6650 (create_touch_selector): Fix compilation warning.
6652 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6654 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6655 (hildon_pannable_area_button_release_cb)
6656 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6658 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6660 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6663 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6665 * src/hildon-bread-crumb-trail.h
6666 * src/hildon-date-editor.c
6667 * src/hildon-date-selector.c
6668 * src/hildon-pannable-area.c
6669 * src/hildon-picker-dialog.c
6670 * src/hildon-time-selector.c
6671 * src/hildon-touch-selector-entry.c
6672 * src/hildon-touch-selector.c
6673 * src/hildon-touch-selector.h: Misc documentation fixes
6675 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6677 * examples/hildon-date-editor-example.c (main): Updated date
6680 * examples/hildon-note-example.c (on_confirmation_clicked):
6681 Updated confirmation note example.
6683 * src/hildon-date-editor.c
6684 * src/hildon-note.c: Updated sample programs in documentation.
6687 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6689 * src/hildon-date-button.h:
6690 * src/hildon-picker-button.h:
6691 * src/hildon-time-button.c:
6692 * src/hildon-time-button.h:
6694 Some declarations changes to allow gtk-doc to document the widgets
6697 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6699 * src/hildon-date-button.c: Document the widget.
6700 * src/hildon-time-button.c: Document the widget.
6702 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6704 * src/hildon-picker-button.c: Document the widget.
6705 * src/hildon-touch-selector-entry.c: Document the widget.
6707 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6709 * doc/hildon-docs.sgml
6712 * src/hildon-check-button.h
6713 * src/hildon-check-button.c: New functions to create the Hildon
6717 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6719 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6721 * src/hildon-button.h
6722 * src/hildon-button.c
6723 (hildon_button_add_title_size_group)
6724 (hildon_button_add_value_size_group)
6725 (hildon_button_add_image_size_group)
6726 (hildon_button_add_size_groups): New functions to set size groups
6727 for the button labels and image.
6728 (hildon_button_new_full): Removed
6730 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6732 * src/hildon-time-selector.c
6733 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6734 in order to avoid a crash if gconf is not available
6736 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6738 * src/hildon-button.c (hildon_button_set_arrangement)
6739 (hildon_button_construct_child): Don't construct the button child
6740 before setting the arrangement.
6742 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6744 * src/hildon-program-private.h
6745 * src/hildon-program.c
6746 * src/hildon-program.h
6747 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6748 (hildon_program_peek_window_stack)
6749 (hildon_program_pop_window_stack)
6750 (hildon_program_go_to_root_window): HildonProgram now has a
6751 separate list for stackable windows. Functions are provided to
6752 manage that list with a stack-like API.
6754 * src/hildon-stackable-window.c: Stackable window management is
6755 now much simpler with the new HildonProgram API. Windows no
6756 longer need to be manually added to the program, they're
6757 automatically pushed to the top of the stack when shown.
6759 * examples/hildon-stackable-window-example.c: Updated example to
6760 reflect the API changes.
6762 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6764 * src/hildon-touch-selector.c: Comment out unimplemented
6765 hildon_touch_selector_insert_column() to avoid a compile warning.
6767 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6769 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6770 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6771 (hildon_touch_selector_set_column_selection_mode),
6772 (_hildon_touch_selector_set_model),
6773 (hildon_touch_selector_set_model):
6775 Complete review of HildonTouchSelector documentation.
6777 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6779 * doc/hildon-docs.sgml
6783 * src/hildon-gtk.c: Convenience functions for standard Gtk
6784 widgets, used to easily perform frequent operations.
6786 * src/hildon-button-helpers.h
6787 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6789 * src/hildon-helper.h
6790 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6791 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6793 * src/hildon-button.h
6794 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6796 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6798 * src/hildon-button.c (hildon_button_init)
6799 (hildon_button_set_arrangement, hildon_button_construct_child):
6800 Pack the image and the labels inside the same GtkAlignment so
6801 gtk_button_set_alignment() can be used
6803 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6805 * src/hildon-button.h
6806 * src/hildon-button.c
6807 (hildon_button_init, hildon_button_set_image)
6808 (hildon_button_set_image_position)
6809 (hildon_button_construct_child): New functions to add an image to
6812 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6814 * src/hildon-date-button.c
6815 * src/hildon-picker-button.c
6816 * src/hildon-time-button.c
6817 * src/hildon-button.c:
6818 (hildon_button_class_init): "size-flags" renamed to "size"
6819 (hildon_button_set_title): Hide the title label if set to NULL.
6821 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6823 HildonButtonFlags split into HildonButtonArrangement (to set the
6824 button layout) and HildonSizeType (which can be used for any
6827 * src/hildon-button.h
6828 * src/hildon-button.c
6829 (hildon_button_class_init)
6830 (hildon_button_set_arrangement)
6831 (hildon_button_set_property): New "size-flags"
6832 property. "arrangement-flags" renamed to "arrangement".
6833 (hildon_button_new, hildon_button_new_with_text)
6834 (hildon_button_new_full): Constructors updated to reflect type changes.
6836 * src/hildon-helper.h
6837 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6838 to set the size of a widget.
6842 * src/hildon-button-helpers.c
6843 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6845 * src/hildon-date-button.c
6846 * src/hildon-date-button.h
6847 * src/hildon-picker-button.c
6848 * src/hildon-picker-button.h
6849 * src/hildon-time-button.c
6850 * src/hildon-time-button.h: Updated widgets to reflect
6851 HildonButton API changes.
6853 * examples/hildon-button-example.c
6854 * examples/hildon-date-button-example.c
6855 * examples/hildon-picker-button-example.c
6856 * examples/hildon-picker-button-multicolumn-example.c
6857 * examples/hildon-time-button-example.c
6858 * examples/hildon-touch-selector-entry-example.c
6859 * examples/hildon-touch-selector-example.c: Updated examples to
6860 reflect HildonButton API changes.
6862 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6864 * doc/hildon-docs.sgml:
6866 * examples/Makefile.am:
6867 * examples/hildon-touch-selector-entry-example.c:
6869 * src/hildon-touch-selector-entry.c:
6870 * src/hildon-touch-selector-entry.h:
6873 Moved HildonTouchSelectorEntry from sandbox. Added its
6874 documentation and examples.
6876 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6878 * src/hildon-touch-selector.h:
6879 * examples/hildon-picker-button-multicolumn-example.c:
6880 (hildon_touch_selector_append_text_column): Add a gboolean
6881 parameter to determine if text must be centered in the column.
6883 * src/hildon-date-selector.c: (hildon_date_selector_init):
6884 * src/hildon-time-selector.c: (hildon_time_selector_init):
6885 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6886 (create_touch_selector): Update widgets and example to reflect
6889 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6891 * src/hildon-touch-selector.c:
6892 (hildon_touch_selector_set_active_iter): Set also the cursor in
6895 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6897 * doc/hildon-docs.sgml
6900 * src/hildon-toggle-button.c
6901 * src/hildon-toggle-button.h
6902 * src/hildon.h: Removed HildonToggleButton widget, a derived
6903 class is not necessary for this.
6905 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6907 * src/hildon-pannable-area.c,
6908 (hildon_pannable_area_realize),
6909 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6912 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6914 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6915 "done" button the default widget for the dialog.
6917 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6919 * src/hildon-touch-selector.c:
6920 (hildon_touch_selector_class_init),
6921 (hildon_touch_selector_get_property),
6922 (_hildon_touch_selector_set_model),
6923 (_hildon_touch_selector_has_multiple_selection),
6924 (hildon_touch_selector_has_multiple_selection):
6925 Add a "has-multiple-selection" property with a virtual
6926 has_multiple_selection() method to allow derived classes to
6927 override the default value for it. See the method and property
6928 documentation for details.
6930 * src/hildon-touch-selector.h: Add the new API.
6932 * src/hildon-picker-dialog.c: (requires_done_button): Call
6933 hildon_touch_selector_has_multiple_selection() instead of
6934 determining the need for a button itself.
6936 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6938 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6939 (_hildon_touch_selector_set_model),
6940 (hildon_touch_selector_set_model): Move working code to
6941 _hildon_touch_selector_set_mode(). Call the class method instead.
6943 * src/hildon-touch-selector.h: Add (*set_model) to
6944 HildonTouchSelectorClass.
6946 Make hildon_touch_selector_set_model() a virtual method, so that
6947 derived classes can extend it and do fancy stuff with the model.
6949 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6951 * configure.ac: Set back the tarname in AC_INIT to hildon.
6953 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6957 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6958 instead of libesd (NB#86876). Volume handling is still an open issue.
6960 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6963 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6965 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6966 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6967 derived class to ease placement of an entry widget in
6968 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6969 end, where the selector columns are packed now.
6971 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6973 * src/hildon-picker-button.c: Removed the simple _text() API.
6974 * src/hildon-picker-button.h: Likewise.
6976 * src/hildon-touch-selector.h:
6977 * src/hildon-touch-selector.c:
6978 (hildon_touch_selector_new_text),
6979 (hildon_touch_selector_append_text),
6980 (hildon_touch_selector_prepend_text),
6981 (hildon_touch_selector_insert_text):
6983 Moved the simple _text() API from HildonPickerButton to
6984 HildonTouchPicker, to provide better escalability and not to tie
6985 that API to HildonPickerButton.
6987 * examples/hildon-picker-button-example.c: (main): Example updated.
6989 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6991 * src/hildon-button.c: Updated documentation.
6993 * examples/hildon-button-example.c: Add the posibility to create
6994 the buttons using horizontal layout for title and value.
6996 2008-07-31 Alberto Garcia <agarcia@igalia.com>
6998 * src/hildon-app-menu-private.h
6999 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7000 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7001 GtkSizeGroup for the filters, use the 'homogeneous' property of
7004 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7006 * examples/hildon-button-example.c: Updated example.
7008 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7010 * doc/hildon-docs.sgml:
7013 Update documentation.
7015 * examples/Makefile.am: Update renamed examples.
7017 * examples/hildon-picker-button-multicolumn-example.c:
7018 (create_touch_selector), (main): Update after the rename.
7020 * examples/hildon-touch-picker-example.c: Removed.
7021 * examples/hildon-touch-selector-example.c: (value_changed),
7022 (create_selector), (get_visible_content), (main): Renamed from
7023 hildon-touch-picker-example.c
7025 * src/Makefile.am: Updated renamed files.
7027 * src/hildon-date-button.c: (hildon_date_button_init),
7028 (hildon_date_button_get_date), (hildon_date_button_set_date):
7029 * src/hildon-date-selector.c: (hildon_date_selector_init),
7030 (_custom_print_func), (_update_day_model),
7031 (_manage_selector_change_cb),
7032 (hildon_date_selector_select_current_date),
7033 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7034 * src/hildon-date-selector.h:
7035 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7036 (hildon_picker_button_set_property),
7037 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7038 (hildon_picker_button_init), (hildon_picker_button_new_text),
7039 (hildon_picker_button_append_text),
7040 (hildon_picker_button_prepend_text),
7041 (hildon_picker_button_insert_text),
7042 (hildon_picker_button_set_selector),
7043 (hildon_picker_button_get_selector):
7044 * src/hildon-picker-button.h:
7045 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7046 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7047 (_update_title_on_selector_changed_cb), (requires_done_button),
7048 (_hildon_picker_dialog_set_selector),
7049 (hildon_picker_dialog_set_selector),
7050 (hildon_picker_dialog_get_selector):
7051 * src/hildon-picker-dialog.h:
7052 * src/hildon-time-button.c: (hildon_time_button_init),
7053 (hildon_time_button_get_time), (hildon_time_button_set_time):
7054 * src/hildon-time-selector.c: (hildon_time_selector_init),
7055 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7056 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7057 * src/hildon-time-selector.h:
7060 Massive code updates after the rename.
7062 * src/hildon-touch-picker.c: Removed.
7063 * src/hildon-touch-picker.h: Removed.
7065 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7066 (hildon_touch_selector_init), (hildon_touch_selector_map),
7067 (hildon_touch_selector_remove), (_default_print_func),
7068 (_selection_changed_cb), (_create_new_column),
7069 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7070 (hildon_touch_selector_append_text_column),
7071 (hildon_touch_selector_remove_column),
7072 (hildon_touch_selector_set_column_attributes),
7073 (hildon_touch_selector_insert_column),
7074 (hildon_touch_selector_get_num_columns),
7075 (hildon_touch_selector_get_column_selection_mode),
7076 (hildon_touch_selector_set_column_selection_mode),
7077 (hildon_touch_selector_set_print_func),
7078 (hildon_touch_selector_get_print_func),
7079 (hildon_touch_selector_get_active_iter),
7080 (hildon_touch_selector_set_active_iter),
7081 (hildon_touch_selector_get_selected_rows),
7082 (hildon_touch_selector_get_model),
7083 (hildon_touch_selector_set_model),
7084 (hildon_touch_selector_get_current_text),
7085 (_hildon_touch_selector_center_on_selected_items):
7086 * src/hildon-touch-selector.h: Renamed from
7087 hildon-touch-picker.[ch]
7089 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7090 references, code examples, and related documentation.
7092 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7094 * doc/hildon-docs.sgml
7097 * src/hildon-toggle-button.c
7098 * src/hildon-toggle-button.h
7099 * src/hildon.h: New HildonToggleButton widget.
7101 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7103 * src/hildon-button.c: Add API documentation.
7104 (hildon_button_set_size_groups): Check input parameters
7106 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7108 * src/hildon-pannable-area.c
7109 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7110 effect after reaching the movement thredshold. This way we start
7111 using the distance after passing the thredshold.
7113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7115 * src/hildon-button.c: (hildon_button_set_property): Use the
7116 appropriate g_value_get_flags() method.
7118 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7120 * doc/hildon-docs.sgml:
7123 Add the touch pickers, picker dialogs, and picker button widgets
7124 to the documentation.
7126 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7128 * src/hildon-button.c: (hildon_button_set_property),
7129 (hildon_button_class_init): Make "arrangement-flags" a proper
7130 G_TYPE_FLAGS derived property.
7132 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7134 * examples/Makefile.am: Add below examples.
7135 * examples/hildon-date-button-example.c:
7136 * examples/hildon-picker-button-example.c:
7137 * examples/hildon-picker-button-multicolumn-example.c:
7138 * examples/hildon-time-button-example.c:
7139 * examples/hildon-touch-picker-example.c:
7141 Add examples for the recently added touch pickers,
7142 picker dialogs, and picker button widgets.
7144 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7146 * src/hildon-button.c: Add some API documentation
7148 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7150 * src/hildon-button.h
7151 * src/hildon-button.c
7153 (hildon_button_new_with_text): New constructor to create a button
7154 with no text at all.
7155 (hildon_button_init, hildon_button_set_arrangement)
7156 (hildon_button_set_title, hildon_button_set_value)
7157 (hildon_button_set_text)
7158 (hildon_button_construct_child): Hide the value when it's not used
7159 so the rest of the text is properly aligned.
7160 Allow creating buttons with arbitrary widgets inside (not just
7161 title/value labels).
7163 * examples/hildon-button-example.c (vertical_buttons_window)
7164 (horizontal_buttons_window): Update example to use new API.
7166 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7168 * src/Makefile.am: Added HildonTimeButton.
7169 * src/hildon-time-button.c: Added missing LGPL header.
7170 * src/hildon-time-button.h: Added missing LGPL header.
7171 * src/hildon.h: Add hildon-time-button.h
7173 Copied HildonTimeButton from sandbox to trunk. Future work on this
7174 widget must take place in trunk.
7176 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7178 * src/Makefile.am: Added HildonDateButton.
7179 * src/hildon-date-button.c: Update includes.
7180 * src/hildon.h: Add hildon-date-button.h
7182 Copied HildonDateButton from sandbox to trunk. Future work on this
7183 widget must take place in trunk.
7185 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7187 * src/Makefile.am: Added HildonPickerButton.
7188 * src/hildon-picker-button.h: Update includes.
7189 * src/hildon.h: Add hildon-picker-button.h
7191 Copied HildonPickerButton from sandbox to trunk. Future work on
7192 this widget must take place in trunk.
7194 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7196 * src/Makefile.am: Added HildonPickerDialog.
7197 * src/hildon-picker-dialog.c: Update includes.
7198 * src/hildon.h: Add hildon-picker-dialog.h
7200 Copied HildonPickerDialog from sandbox to trunk. Future work
7201 on this widget must take place in trunk.
7203 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7205 * src/Makefile.am: Added HildonTimeSelector.
7206 * src/hildon.h: Add hildon-time-selector.h
7208 Copied HildonTimeSelector widget from sandbox to trunk. Future
7209 work on this widget must happen in trunk.
7211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/Makefile.am: Added HildonDateSelector.
7214 * src/hildon.h: Add hildon-date-selector.h
7216 Copied HildonDateSelector 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 HildonTouchPicker.
7222 * src/hildon-touch-picker.c: Update includes.
7223 * src/hildon.h: Add hildon-touch-picker.h
7225 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7226 on this widget must happen in trunk.
7228 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7230 * src/hildon-pannable-area.c:
7231 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7233 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7235 * examples/hildon-app-menu-example.c (main): Let the window
7238 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7240 * src/hildon-pannable-area.c
7241 (hildon_pannable_area_class_init): Set the min value of the
7242 overshoot properties to zero, which points out that not
7243 overshooting allowed.
7245 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7247 Modified the procedure to get the widget at a point inside the
7248 pannable area when using the movement type signals. Now the user
7249 has to call a function to get the child, that way we just
7250 calculate the child in case the user really want to use it and not
7253 * src/hildon-marshalers.list: Modified the marshallers, now we do
7254 not have the widget as a parameter.
7256 * src/hildon-pannable-area.c
7257 (hildon_pannable_area_motion_notify_cb),
7258 (hildon_pannable_area_class_init),
7259 (hildon_pannable_get_child_widget_at): Removed the widget
7260 parameter from the signal callback. We have also refactored the
7261 emission of the signals.
7263 * src/hildon-pannable-area.h: Added a new method to the API to
7264 calculate a widget at a point inside the pannable area,
7265 hildon_pannable_get_child_widget_at.
7267 * examples/hildon-pannable-area-example-4.c
7268 (horizontal_movement): Modified the example to use the new API,
7269 added condition to control which widget is under the event. This
7270 way we can avoid scrolling laterally over other widgets.
7272 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7274 * src/hildon-pannable-area.c
7275 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7276 modes, we stop getting the pointer events due to returning the
7277 callback without properly calling the get pointer again. Fixed
7278 also an error using the hscroll and vscroll.
7280 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7282 * src/hildon-app-menu-private.h
7283 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7284 (hildon_app_menu_button_release, hildon_app_menu_init)
7285 (hildon_app_menu_class_init): Don't hide the menu on button
7286 release if the user didn't press outside first.
7288 * src/hildon-window.h
7289 * src/hildon-window.c (hildon_window_toggle_menu)
7290 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7291 hildon_window_toggle_menu a virtual function for the stackable
7292 window to override it.
7294 * src/hildon-stackable-window.h
7295 * src/hildon-stackable-window-private.h
7296 * src/hildon-stackable-window.c
7297 (hildon_stackable_window_realize)
7298 (hildon_stackable_window_finalize)
7299 (hildon_stackable_window_class_init)
7300 (hildon_stackable_window_init)
7301 (hildon_stackable_window_set_main_menu): New function to set the
7302 app menu of a HildonStackableWindow.
7304 * examples/hildon-app-menu-example.c: Remove the button to show
7305 the app menu, now it'll be shown when clicking on the title bar
7308 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7310 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7311 set the widget name if the arrangement flags do not specify
7314 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7316 * src/hildon-button.c: (hildon_button_set_property),
7317 (hildon_button_class_init), (hildon_button_new_full),
7318 (hildon_button_set_arrangement): Added "arrangement-flags"
7321 Make the HildonButtonFlags a construction-only property, to allow
7322 subclasses to set them properly.
7324 2008-07-21 Tim Janik <timj@imendio.com>
7326 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7327 insertion position after backspace, so additional digits are appended,
7330 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7332 * src/hildon-pannable-area.c,
7333 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7334 TODO list, it was complete and removed the g_debug and g_print
7337 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7339 Added the movement modes to the hildon-pannable-area, with this
7340 modes the developers can control in which directions the widget
7341 can scroll. They can also connect to signals in order to do
7342 something when that happens, allowing applications scroll. There
7343 is an example uploaded showing how to use it.
7345 * examples/Makefile.am:
7346 * examples/hildon-pannable-area-example-4.c: Added this example of
7347 an application using the modes.
7349 * src/hildon-marshalers.list: Added a new marshaller for the new
7352 * src/hildon-pannable-area.h: Added new enumerations and flags in
7353 order to control the movement modes and the new signals to warn
7354 about the movements in the area.
7356 * src/hildon-pannable-area.c:
7357 (hildon_pannable_axis_scroll),
7358 (hildon_pannable_area_scroll),
7359 (hildon_pannable_area_motion_notify_cb),
7360 (hildon_pannable_area_get_property),
7361 (hildon_pannable_area_set_property),
7362 (hildon_pannable_area_map),
7363 (hildon_pannable_area_class_init),
7364 (hildon_pannable_area_init),
7365 (hildon_pannable_area_jump_to): Added the modes to control the
7366 movement in the widget. We have added properties to control it,
7367 signals to warn about the movements and refactored some code.
7369 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7371 Changes required in order to allow vfast_factor set to zero to
7374 * src/hildon-pannable-area.c:
7375 (hildon_pannable_area_button_press_cb): Changed the condition, it
7376 is required for not allowing click when vfast_factor is zero.
7377 (hildon_pannable_area_timeout): Initialized velocity variables
7378 when we stop moving, it was less than 1 but not zero and we need
7379 to check zero in some situations.
7380 (hildon_pannable_area_class_init): Changed the default value of
7381 the speed factor, now the button_press is just sent in case the
7382 speed is 2 per cent of the max speed.
7383 (hildon_pannable_area_init): Initialization with 0.
7385 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7387 * src/hildon-pannable-area.c,
7388 (hildon_pannable_area_get_topmost): replaced
7389 gdk_window_get_children with gdk_window_peek_children, this way we
7390 do not have to free the list because it is not a copy.
7392 (hildon_pannable_axis_scroll),
7393 (hildon_pannable_area_scroll),
7394 (hildon_pannable_area_timeout),
7395 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7396 two parameters that were only used inside the
7397 hildon_pannable_area_scroll function.
7399 * examples/hildon-pannable-area-example.c,
7400 (get_sawtooth_label): Fixed small memory leak.
7402 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7404 More checks for the case where the overshoot is bigger than the
7407 * src/hildon-pannable-area.c:
7408 (hildon_pannable_draw_vscroll),
7409 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7410 to draw the slider of the scrollbar under the other scrollbar.
7411 (hildon_pannable_area_expose_event): added new checks to control
7412 the drawing of the overshooting area rectangle, in case it is too
7413 big for the area of the widget.
7414 (hildon_pannable_area_size_allocate): add more checks to avoid
7415 setting a position to the child widget outside the area.
7417 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7419 * src/hildon-pannable-area.c
7420 (hildon_pannable_area_size_allocate): Added conditions to control
7421 when overshooting is bigger than the allocated space for the
7422 children, this avoids negative allocations.
7424 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7426 * doc/hildon-docs.sgml
7428 * examples/Makefile.am
7429 * examples/hildon-button-example.c
7431 * src/hildon-button.c
7432 * src/hildon-button.h
7433 * src/hildon.h: Initial version of the new HildonButton widget,
7436 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7438 * src/hildon-pannable-area.c:
7439 (hildon_pannable_area_button_press_cb),
7440 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7441 (hildon_pannable_area_motion_notify_cb),
7442 (hildon_pannable_area_button_release_cb),
7443 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7444 (hildon_pannable_area_jump_to_child):
7446 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7448 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7450 * examples/Makefile.am
7451 * examples/hildon-pannable-area-touch-grid-example.c
7452 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7453 the Hildon Touch List and Hildon Touch Grid using the
7454 HildonPannableArea widget.
7456 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7458 * src/hildon-pannable-area.c,
7459 (hildon_pannable_area_button_press_cb),
7460 (hildon_pannable_area_refresh),
7461 (hildon_pannable_area_scroll),
7462 (hildon_pannable_area_motion_notify_cb),
7463 (hildon_pannable_area_button_release_cb),
7464 (hildon_pannable_area_expose_event),
7465 (hildon_pannable_area_add),
7466 (hildon_pannable_area_remove),
7467 (hildon_pannable_area_realize),
7468 (hildon_pannable_area_size_allocate),
7469 (hildon_pannable_area_class_init),
7470 (hildon_pannable_area_init),
7471 (hildon_pannable_area_scroll_to_child),
7472 (hildon_pannable_area_jump_to_child): Fixed the problem of
7473 removing the child from the GtkBin, we have rearranged the widget
7474 hierarchy, now there is no GtkAlignment which was not doing
7475 anything interesting but breaking some of the assumptions of
7476 GtkContainer. Now developers if they want to add a GtkAlignment
7477 they could, but it is not inside the area.
7479 We had to review the whole allocation/expose process, now it is
7480 improved and we save at least three signals which would be saving
7481 some time when rendering the widget. The allocation of the
7482 scrollbars is now made in the allocate method as usual.
7484 We have also added some conditions in order to control when there
7485 is no child of the pannable area. Maybe we will need more work
7488 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7490 * src/hildon-pannable-area.c,
7491 (hildon_pannable_area_dispose): Released the fade-out timeout when
7492 disposing the widget.
7494 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7496 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7497 zero, we are going to use that property in order to deactivate the
7499 (hildon_pannable_axis_scroll),
7500 (hildon_pannable_area_size_allocate): Added conditions to control
7501 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7502 call, now it is called in all situations and we can remove calls
7503 in the allocate method.
7504 (hildon_pannable_area_map): Control the situation when
7505 overshoot_max is zero, we do not need the timeout.
7506 (hildon_pannable_area_class_init): Added documentation in order to
7507 point out that setting zero to overshoot_max means deactivate
7510 NOTE: removed trailing whitespaces from my previous comments of
7513 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7515 * src/hildon-pannable-area.c
7516 (hildon_pannable_area_get_property),
7517 (hildon_pannable_area_set_property),
7518 (hildon_pannable_area_map),
7519 (hildon_pannable_area_class_init),
7520 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7521 to cause the widget give a hint about its panning abilities upon
7524 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7526 * src/hildon-pannable-area.c: Several documentation improvements.
7528 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7530 * src/hildon-program.c
7531 * src/hildon-stackable-window.c: Update documentation.
7533 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7535 * src/hildon-stackable-window.c (get_previous_window_if_last):
7536 Renamed get_last_window()
7537 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7538 (hildon_stackable_window_unset_program):
7540 (get_previous_window_if_last):
7541 Detect if the window hasn't been added to a HildonProgram.
7543 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7545 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7547 * src/hildon-pannable-area.c
7548 (hildon_pannable_area_button_press_cb),
7549 (hildon_pannable_axis_scroll),
7550 (hildon_pannable_area_scroll),
7551 (hildon_pannable_area_timeout),
7552 (hildon_pannable_calculate_vel_factor),
7553 (hildon_pannable_area_get_property),
7554 (hildon_pannable_area_set_property),
7555 (hildon_pannable_area_class_init),
7556 (hildon_pannable_area_init),
7557 (hildon_pannable_area_scroll_to),
7558 (hildon_pannable_area_jump_to),
7559 (hildon_pannable_area_scroll_to_child),
7560 (hildon_pannable_area_jump_to_child):
7561 * src/hildon-pannable-area.h: Added the new API functions:
7562 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7563 hildon_pannable_area_scroll_to_child,
7564 hildon_pannable_area_jump_to_child
7567 * examples/Makefile.am
7568 * examples/hildon-pannable-area-example-2.c
7569 * examples/hildon-pannable-area-example-3.c: Added these two new
7570 examples in order to test and show how the new APIs work.
7572 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7574 * examples/hildon-stackable-window-example.c (new_window):
7575 * src/Makefile.am (noinst_HEADERS):
7576 * src/hildon-program.c (hildon_program_go_to_root_window):
7577 * src/hildon-program.h:
7578 * src/hildon-stackable-window-private.h:
7579 * src/hildon-stackable-window.c:
7580 * src/hildon-stackable-window.h:
7581 Create hildon-stackable-window-private.h
7582 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7584 * examples/hildon-app-menu-example.c (create_menu):
7585 * examples/hildon-hvolumebar-insensitive-example.c (main):
7586 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7587 * examples/hildon-toolbar-seekbar-example.c (main):
7588 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7589 * src/hildon-banner.c (hildon_banner_set_property):
7590 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7591 Fix compilation warnings
7593 * src/hildon-window.c:
7596 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7598 * src/hildon-stackable-window.c
7599 (hildon_stackable_window_unset_program):
7600 Calculate correctly whether to show the previous window if the
7601 last one is removed from the stack.
7602 (hildon_stackable_window_go_to_root_window):
7603 Send delete events starting from the topmost window.
7604 Stop if one of the windows is not destroyed.
7606 (hildon_stackable_window_delete_event)
7607 (hildon_stackable_window_class_init):
7608 Ignore the delete event if the window is not the topmost one.
7610 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7612 * src/hildon-pannable-area.c
7613 (hildon_pannable_area_expose_event): Fixed a problem when
7614 selecting the background color of the scrollbars.
7616 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7618 * examples/hildon-stackable-window-example.c
7619 * src/hildon-stackable-window.c
7620 * src/hildon-stackable-window.h
7621 hildon_stackable_window_go_home() renamed to
7622 hildon_stackable_window_go_to_root_window()
7623 Send delete events to windows rather than closing them with
7624 gtk_widget_destroy()
7626 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7628 * src/hildon-pannable-area.c
7629 (hildon_pannable_area_button_release_cb): Fix overshooting in
7632 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7634 * src/hildon-pannable-area.c
7635 (hildon_pannable_area_init): Initially show the scroll indicators.
7636 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7638 Add initial effect showing the widget is pannable.
7640 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7642 * src/hildon-pannable-area.c
7643 (hildon_pannable_area_class_init)
7644 (hildon_pannable_area_set_property)
7645 (hildon_pannable_area_get_property)
7646 (hildon_pannable_area_button_press_cb):
7647 New 'velocity_fast_factor' property to decide which velocity is
7650 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7652 * src/hildon-pannable-area.c
7653 (hildon_pannable_draw_hscroll)
7654 (hildon_pannable_draw_vscroll):
7655 Use float variables to calculate the size of the scrollbars to
7656 avoid error propagation and resizing during scrolling.
7658 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7660 * src/hildon-pannable-area.c
7661 (hildon_pannable_draw_vscroll)
7662 (hildon_pannable_draw_hscroll):
7663 Define a minimum size for the scroll bars
7665 * src/hildon-stackable-window.c
7666 (hildon_stackable_window_go_home): Fix compilation warning
7667 (get_last_window): Minor optimizations
7668 (hildon_stackable_window_class_init): Fix initialization of
7671 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7673 * src/hildon-stackable-window.c: Fixed typos in doc
7675 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7677 * src/hildon-pannable-area.c
7678 (hildon_pannable_area_scroll):
7679 Calculate here whether we need to scroll instead of using the booleans
7680 that tell us whether to /draw/ the scrolling bars.
7682 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7684 * src/hildon-app-menu.h
7686 * src/hildon-app-menu.c
7687 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7688 multiple filter groups related code and API. Now we support only
7690 * examples/hildon-app-menu-example.c:
7692 Update to reflect API changes.
7694 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7696 * src/hildon-stackable-window.c
7697 (hildon_stackable_window_class_init):
7698 Add hildon_stackable_window_realize.
7699 (hildon_stackable_window_realize):
7700 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7701 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7702 to apply theming and behavior specific to HildonStackableWindow
7705 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7707 * src/hildon-note.c (hildon_note_button_release):
7708 Close information notes also when tapping on them
7710 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7712 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7713 ELASTICITY, refactor and review, fix some issues with drawing
7716 * src/hildon-pannable-area.c:
7717 (hildon_pannable_area_button_press_cb): removed the conditions to
7718 avoid clicks when overshooting. It is not required
7720 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7721 define. Refatored and reviewed the code, now we do not need to
7722 manage velocity in motion_notify.
7724 (hildon_pannable_area_motion_notify_cb): We have moved the code
7725 that controls the area_scroll to the axis_scroll function and get
7726 rid of duplicated code.
7728 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7730 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7732 (hildon_pannable_draw_vscroll),
7733 (hildon_pannable_draw_hscroll): Fixed the problems with the
7734 scrollbar drawing, now we do not use two surfaces, it is easier
7735 and saves resources.
7737 (hildon_pannable_area_get_property): Style modification.
7739 (hildon_pannable_area_class_init): Changed some default values.
7741 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7743 * src/hildon-stackable-window.c: Fix some typos in the
7746 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7748 * src/hildon-dialog.c:
7749 Change indentation style
7752 (hildon_note_button_release):
7753 Use root coordinates to check if the release event happened
7756 * src/hildon-app-menu.c
7757 (hildon_app_menu_button_release):
7758 Remove unnecessary check
7760 * examples/hildon-app-menu-example.c
7762 Add cast to fix warning
7764 * src/hildon-app-menu.c
7765 (hildon_app_menu_class_init):
7766 New inner-border style property.
7767 Set all default spacings to 16
7768 (hildon_app_menu_init):
7769 Use vertical-spacing to set the space between filter buttons and
7770 regular menu buttons.
7771 Set the default container border using the inner-border value.
7773 * examples/hildon-app-menu-example.c
7775 Don't set the menu border explicitly, now we have the inner-border
7776 style property for that.
7778 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7780 * src/hildon-app-menu.c (hildon_app_menu_init):
7781 Make the window modal
7783 * src/hildon-note.c (hildon_note_map)
7784 * src/hildon-app-menu.c (hildon_app_menu_map):
7785 Destroy the grab window if we're unable to grab the pointer
7787 * src/hildon-app-menu-private.h
7788 * src/hildon-app-menu.c
7789 (hildon_app_menu_init, hildon_app_menu_finalize)
7790 (hildon_app_menu_map, hildon_app_menu_unmap)
7791 (hildon_app_menu_button_release)
7792 (grab_transfer_window_get):
7793 Bring back the grab window
7794 (hildon_app_menu_realize):
7795 Decorate the window, set WM hint for Matchbox
7797 * src/hildon-note.c (hildon_note_realize):
7798 * src/hildon-banner.c (hildon_banner_realize):
7799 Add WM hints for Matchbox
7801 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7803 * src/hildon-app-menu-private.h
7804 * src/hildon-app-menu.c
7805 (hildon_app_menu_init, hildon_app_menu_finalize)
7806 (hildon_app_menu_map, hildon_app_menu_unmap)
7807 (hildon_app_menu_button_release):
7808 Remove the grab window, it's not needed anymore
7810 * src/hildon-program.c
7811 Fixed typo in documentation
7813 * src/hildon-app-menu.h
7814 * src/hildon-app-menu.c
7815 * examples/hildon-app-menu-example.c
7816 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7818 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7821 Added new transfer_window and close_if_pressed_outside private
7823 (hildon_note_rebuild):
7824 Don't add a cancel button to the information note. It will be
7825 closed when tapping outside
7826 Remove the comment about the OK button in the documentation
7827 (hildon_note_realize):
7828 Set the notification type hint
7829 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7830 Grab/ungrab pointer and keyboard if the note has to be closed when
7832 (hildon_note_button_release):
7833 Close the note when tapping outside (if applicable)
7835 * src/hildon-app-menu.c
7836 Grab/ungrab pointer and keyboard on map/unmap
7837 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7838 Close the menu on button release, not button press
7840 * src/hildon-banner.c
7841 (hildon_banner_set_property)
7842 (hildon_banner_check_position):
7843 Make the banner use the full width of the screen
7844 (hildon_banner_show_information)
7845 (hildon_banner_show_information_with_markup):
7846 Don't display an icon by default
7848 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7850 Added fading scrollbars and adapted all the overshooting code to
7851 horizontal scrolling. We have also fixed bugs with overshooting
7852 and current fading implementation.
7854 * src/hildon-pannable-area.c
7855 (hildon_pannable_area_scroll_indicator_fade): Time out function
7856 used to change the transparency of the scrollbars.
7858 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7859 control and fixed a problem with fading, we now remove the fade
7860 timeout before adding a new one.
7862 (hildon_pannable_axis_scroll):
7863 (hildon_pannable_area_scroll):
7864 (hildon_pannable_area_timeout): Added this functions so we can use
7865 the scroll code both for vertical and horizontal.
7867 (hildon_pannable_area_motion_notify_cb):
7868 (hildon_pannable_area_button_release_cb): Added the horizontal
7869 scrolling control, fixed a problem with the overshooting timeout.
7871 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7872 painting of the scrolls.
7874 (hildon_pannable_draw_vscroll):
7875 (hildon_pannable_draw_hscroll):
7876 (hildon_pannable_area_expose_event):
7877 Draw both scrollbars and rectangles in the overshooting area.
7879 (hildon_pannable_area_get_property):
7880 (hildon_pannable_area_set_property):
7881 Modified the overshoot property to overshoot_max
7883 (hildon_pannable_area_map):
7884 Replaced the comments symbols.
7886 (hildon_pannable_area_size_allocate):
7887 (hildon_pannable_area_class_init):
7888 (hildon_pannable_area_init): Added horizontal scroll, fading
7889 effect properties, fixed a problem when overshooting in the bottom
7892 * examples/hildon-pannable-area-example.c:
7893 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7894 looks better in the example.
7896 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7898 * src/hildon-window.c
7899 * src/hildon-window.h
7900 (hildon_window_class_init)
7901 (hildon_window_unset_program)
7902 (hildon_window_unset_program_real):
7903 Make unset_program a virtual function
7905 * src/hildon-stackable-window.c
7906 * src/hildon-stackable-window.h
7907 Added hildon_stackable_window_go_home()
7909 * examples/Makefile.am
7910 * examples/hildon-stackable-window-example.c
7911 HildonStackableWindow example
7913 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7915 * hildon-pannable-area.c: Added the overshoot property and removed
7916 the OVERSHOOT define. Fixed an indent style error.
7917 (hildon_pannable_area_motion_notify_cb):
7918 (hildon_pannable_area_get_property):
7919 (hildon_pannable_area_set_property): Add overshoot property.
7921 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7924 (hildon_pannable_area_class_init): Installed the new property.
7926 * hildon-pannable-area-example.c: Added a sawtooth function, this
7927 way it is easier to check the movement in the pannable.
7928 (get_sawtooth_label): Added this function.
7929 (main): Now we get the labels from the new get_sawtooth_label
7932 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7934 * src/hildon-app-menu.h
7935 * src/hildon-app-menu.c
7936 Renamed API variables for consistency
7938 (hildon_app_menu_popup): Use also the default window size to
7939 decide where to place the menu
7941 (hildon_app_menu_init, hildon_app_menu_class_init): New
7942 external-border style property
7944 2008-05-26 Michael Natterer <mitch@imendio.com>
7946 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7947 widget_class->tap_and_hold_setup signal slot doesn't exist any
7948 longer, stop overriding it.
7950 (hildon_time_editor_init): g_signal_connect() to the
7951 tap-and-hold-setup signal instead.
7953 (hildon_time_editor_entry_keypress): add cast to fix warning.
7955 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7957 * doc/hildon-docs.sgml
7959 * examples/Makefile.am
7960 * examples/hildon-app-menu-example.c
7962 * src/hildon-app-menu-private.h
7963 * src/hildon-app-menu.c
7964 * src/hildon-app-menu.h
7966 New HildonAppMenu widget
7968 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7970 Rearranged the inheritance of the pannable area, now it inherits
7971 from GtkBin. This will allow us to control the event_window and
7972 the allocation process of the widget, required for some effects.
7974 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
7975 GtkBin structures. * src/hildon-pannable-area.c: Added the
7976 event_window variable.
7977 (hildon_pannable_area_button_press_cb):
7978 (hildon_pannable_area_button_release_cb):
7979 (hildon_pannable_area_motion_notify_cb):
7980 Changed the signature of the method, now we override the event
7981 callback instead of connecting to the signal.
7983 (hildon_pannable_area_realize):
7984 (hildon_pannable_area_unrealize):
7985 (hildon_pannable_area_map):
7986 (hildon_pannable_area_unmap):
7987 (hildon_pannable_area_size_allocate):
7988 Added functions to control the widget construction. We add a
7989 INPUT_ONLY window and we put it over the widgets inside the
7990 container, this event_window handles the events.
7992 (hildon_pannable_area_class_init):
7993 Replaced the signal connections with overrides of the event
7996 2008-05-20 Alejandro G. Castro <alex@igalia.com>
7998 Bouncing effect added when touching the borders, you can change
7999 the elasticity of the border changing the ELASTICITY define.
8001 * src/hildon-pannable-area.c: Added ELASTICITY define.
8002 (hildon_pannable_area_timeout): Added inverse velocity when
8003 touching the border of the child widget, that causes a bounce.
8005 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8007 Improved performance, we now do not go to the X server in order to
8008 get the list of window children. Apparently the effect is the
8009 same, we have to be careful and check if this breaks something in
8012 * src/hildon-pannable-area.c:
8013 (get_ordered_children): Removed this function.
8014 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8015 the children windows function with gdk_window_get_children.
8017 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8019 * src/hildon-pannable-area.c:
8020 (hildon_pannable_area_dispose): Fixed a crash when closing the
8021 window and kinetics is activated.
8023 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8025 * src/hildon-pannable-area.h
8026 * src/hildon-pannable-area.c
8027 Changed indentation style to meet the one used in Hildon
8029 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8031 Reviewed the interaction of the AUTO mode, now we use the time
8032 attribute of the events and calculate the velocity in the motion,
8033 doing a gimp like calculation. The velocity is calculated in each
8034 motion event using the last velocity and the current one, the
8035 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8037 * src/hildon-pannable-area.c: Replaced the time based algorithm
8039 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8040 timeout for the AUTO mode when we are still moving the cursor. We
8041 added also the velocity calculation in this function.
8042 (hildon_pannable_area_button_release_cb): launch the timeout in
8043 case we are in AUTO mode. There are still some constants here that
8044 come from the old implementation that should be reviewed and
8047 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8049 * doc/hildon-docs.sgml
8052 * src/hildon-stackable-window.c
8053 * src/hildon-stackable-window.h
8055 New HildonStackableWindow widget
8057 * examples/hildon-dialog-example.c
8058 * examples/hildon-pannable-area-example.c
8061 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8063 * src/hildon-dialog.c
8064 (hildon_dialog_new_with_buttons): New constructor.
8066 * examples/hildon-dialog-example.c
8067 (main): Update the example to use the new
8068 hildon_dialog_new_with_buttons().
8070 * examples/hildon-pannable-area-example.c
8071 (main): Update example.
8073 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8075 * doc/hildon-docs.sgml
8077 Added HildonPannableArea to the documentation.
8079 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8081 * doc/visual_index.xml
8082 Fix reference to HildonLoginDialog in documentation
8084 * doc/hildon-docs.sgml
8086 * examples/Makefile.am
8087 * examples/hildon-dialog-example.c
8089 * src/hildon-dialog.c
8090 * src/hildon-dialog.h
8092 New HildonDialog widget.
8094 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8096 * src/hildon-pannable-area.c
8097 Merge latest changes (r4318, r4342) from libmokoui trunk
8099 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8101 * examples/Makefile.am
8102 * examples/hildon-pannable-area-example.c
8104 * src/hildon-pannable-area.c
8105 * src/hildon-pannable-area.h
8107 New HildonPannableArea widget.
8109 2008-04-15 18:05:19 <timj@imendio.com>
8111 * src/hildon-banner.c: revert the recent change, that introduced
8112 gtk_window_present() calls. this reopens:
8113 Bug 78481 - [freetest] information banners are hidden under browser menu
8114 But resolves another variant of:
8115 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8117 2008-04-15 13:21:13 <timj@imendio.com>
8119 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8120 recreated its layout, spotted by Kris. this fixes all remaining
8121 artefacts and stability issues with the banner code. in particular:
8122 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8124 2008-04-14 16:52:59 <timj@imendio.com>
8126 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8127 operating on unrealized widgets, fixes:
8128 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8130 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8132 2008-04-09 Kristian Rietveld <kris@imendio.com>
8134 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8135 makes banner disappear.
8136 Fixes: NB#79182: info banner flickering with certain message lengts.
8138 * src/hildon-banner.c (hildon_banner_constructor),
8139 (hildon_banner_init), (hildon_banner_set_text),
8140 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8141 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8142 FALSE, reset size requests of label and banner,
8143 (force_to_wrap_truncated): when the text is too wide, always enforce
8144 the maximum possible width instead of recalculating it from the
8145 layout; enforce the maximum banner height of 3 lines,
8146 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8147 nicer wrapping and no truncated chars if space gets tight.
8149 * src/hildon-banner-private.h: add has_been_wrapped and
8150 has_been_truncated fields.
8152 2008-04-07 Sven Herzberg <sven@imendio.com>
8154 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8155 local values in hildon_date_editor_size_allocate
8157 * src/hildon-date-editor.c: moved the real allocation code into the
8160 2008-04-07 Sven Herzberg <sven@imendio.com>
8162 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8163 local values in hildon_date_editor_size_allocate
8165 * src/hildon-date-editor.c: merged the two if() branches together
8167 2008-04-07 Sven Herzberg <sven@imendio.com>
8169 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8170 local values in hildon_date_editor_size_allocate
8172 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8181 from the real allocation
8183 2008-03-27 Michael Natterer <mitch@imendio.com>
8185 Fixes: NB#81696: The passcode is not overwritten even after
8188 * src/hildon-code-dialog.c
8189 (hildon_code_dialog_button_clicked)
8190 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8191 because that doesn't overwrite selected text. Instead, emit the
8192 "commit" signal on the entry's im_context so the entry's normal
8193 insert logic is triggered. Set the cursor to the end of the entry
8194 after each insert operation so that we *only* insert in the middle
8195 of the text if something was selected.
8197 2008-03-27 Michael Natterer <mitch@imendio.com>
8199 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8200 selector cannot be opened
8202 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8203 when the popup color selector is created. Please connect to this
8204 signal in order to set the dialog's help ID.
8206 2008-03-25 Sven Herzberg <sven@imendio.com>
8208 Fixes: MB#1212: Hide info banners (infoprints) on click
8210 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8211 extracted the close event simulation into an extra function
8212 (hildon_banner_button_press_event): simulate a close event and destroy
8213 the widget if the event wasn't handled
8214 (hildon_banner_class_init): added the button_press_event handler
8215 (hildon_banner_init): added button-press events to the widget
8217 2008-03-25 Sven Herzberg <sven@imendio.com>
8219 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8220 Patch from: Mohammad Anwari <mdamt@maemo.org>
8222 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8223 instead of the right in RTL mode
8224 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8225 breadcrumb button list in RTL mode
8226 * src/hildon-caption.c: mirror the appearance of the caption widget in
8228 * src/hildon-date-editor.c: mirror appearance of the date editor in
8230 * src/hildon-time-editor.c: mirror appearance of the time editor in
8232 * src/hildon-window.c: fix the position of the popup in RTL mode
8234 2008-03-25 Sven Herzberg <sven@imendio.com>
8236 Amendment to the fix of NB#22072. Fix compilation.
8238 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8240 2008-03-19 Sven Herzberg <sven@imendio.com>
8242 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8245 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8246 timeout id properly when the timeout will disappear this leaves no
8247 artifacts around in the destroy(); there will only be the timeout
8248 created by hildon_banner_ensure_timeout() and adding a new timeout
8249 will also work if the timeout gets removed because the timeout_handler
8252 2008-03-19 Michael Natterer <mitch@imendio.com>
8254 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8256 * src/hildon-volumebar.c
8257 * src/hildon-vvolumebar.c
8258 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8259 the widget becomes focussable at all.
8261 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8262 set the focus to wither the mute button or the volumebar.
8264 Remove own "can-focus" property and instead listen to
8265 notify::can-focus in order to update the widget's state.
8267 Implement GtkWidget::focus() and make sure we can also *leave* the
8268 widget, not only enter it, depending on volumebar orientation and
8269 requested focus direction.
8271 Clean up set_mute() to cooperate nicely with all the above.
8273 2008-03-04 Michael Natterer <mitch@imendio.com>
8275 Fixes: NB#78481: information banners are hidden under browser menu
8277 * src/hildon-banner.c: call gtk_window_present() on the banners so
8278 they are risen if they are already visible.
8280 2008-03-03 Sven Herzberg <sven@imendio.com>
8282 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8284 * examples/hildon-window-menu-example.c: (main): extended the window
8285 menu example to serve as a testcase for automatically added
8286 accelerator groups, too
8287 * src/hildon-window.c: (hildon_window_add_accel_group),
8288 (hildon_window_set_menu): added patch by Tommi Komulainen
8290 2008-03-03 Sven Herzberg <sven@imendio.com>
8292 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8294 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8295 knowledge about the border allocators used within GTK+
8297 2008-02-26 Sven Herzberg <sven@imendio.com>
8299 Fixes: MB#2981: Build with asserts broken
8301 * src/hildon-date-editor.c,
8302 * src/hildon-number-editor.c,
8303 * src/hildon-time-editor.c,
8304 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8305 the proper GType instance check
8307 2008-02-25 Sven Herzberg <sven@imendio.com>
8309 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8311 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8312 * examples/hildon-window-menu-example.c: (main): explicitly show
8314 * src/hildon-window.c:
8315 (hildon_window_set_main_menu): moved most of the code from set_menu()
8316 to this place; skipped the call to gtk_widget_show_all(); also didn't
8317 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8318 (hildon_window_set_menu): removed most of the code, just keep the
8319 questionable gtk_widget_show_all()
8320 * src/hildon-window.h: added the new function and deprecate the old
8323 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8329 * debian/changelog: Updating.
8331 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8334 * pkgconfig/Makefile.am:
8335 * pkgconfig/hildon.pc.in:
8338 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8339 use newly created API_MAJOR_VERSION.
8341 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8347 * debian/changelog: Updating.
8349 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8351 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8353 Add outer_border style property, we use it but don't define it (!).
8357 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8359 * examples/hildon-bread-crumb-trail-example.c (main):
8363 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8365 Fix logic for the bread crumb trail node removal.
8369 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8375 * debian/changelog: Updating.
8377 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8379 Patch by Alejandro to get/set passwords dialogs accesibility.
8381 * hildon-1/src/hildon-get-password-dialog.c:
8382 * hildon-1/src/hildon-set-password-dialog.c:
8383 Set atk_set_name to the passwd entries in order to allow
8384 accessibility by name on this entries.
8386 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8391 * debian/control: Updating gtk dep.
8393 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8395 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8396 USE_MAEMO_GTK is enabled.
8398 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8400 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8401 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8403 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8409 * debian/changelog: Updating.
8411 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8413 * examples/Makefile.am:
8414 * examples/hildon-logical-color-example.c:
8415 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8416 applied + adding a test case. Fixes: NB#71660.
8418 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8420 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8421 to be visible, fixes warning on map for windows without toolbars.
8423 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8425 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8426 2.11.0, add a check for that besides the MAEMO_GTK check.
8428 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8434 * debian/changelog: Updating.
8436 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8439 visibility. Fixes: NB#70842 and MB#615.
8441 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8443 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8444 set the separator as no-show-all so it doesn't unintentionally appear when
8445 someone does a show_all.
8447 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8449 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8450 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8451 toplevel item. Fixes: NB#62031
8453 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8455 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8456 fix the name of the function in the docs.
8458 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8464 * debian/changelog: Updating.
8466 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8468 * examples/hildon-banner-long-example.c: Adding a test-case for long
8471 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8473 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * src/hildon-color-chooser-dialog.c:
8476 * src/hildon-color-chooser.c:
8477 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8478 memory leaks in font selector and color selector. Fixes: NB#70499 and
8481 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8483 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8485 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8487 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8488 little bit bigger. Fixes: #NB63694.
8490 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8496 * debian/changelog: Updating.
8498 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8501 * doc/hildon-docs.sgml:
8502 * doc/images/bread-crumb-trail.png:
8503 * doc/images/calendar-popup.png:
8504 * doc/images/caption.png:
8505 * doc/images/code-dialog.png:
8506 * doc/images/color-button.png:
8507 * doc/images/color-chooser-dialog.png:
8508 * doc/images/color-chooser.png:
8509 * doc/images/controlbar.png:
8510 * doc/images/date-editor.png:
8511 * doc/images/font-selection-dialog.png:
8512 * doc/images/get-password-dialog.png:
8513 * doc/images/hvolumebar.png:
8514 * doc/images/login-dialog.png:
8515 * doc/images/note.png:
8516 * doc/images/number-editor.png:
8517 * doc/images/range-editor.png:
8518 * doc/images/seekbar.png:
8519 * doc/images/set-password-dialog.png:
8520 * doc/images/sort-dialog.png:
8521 * doc/images/time-editor.png:
8522 * doc/images/time-picker.png:
8523 * doc/images/vvolumebar.png:
8524 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8525 Adding the bread-crumb-trial and helpers to the documentation.
8527 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8529 * examples/hildon-find-toolbar-example.c:
8530 * src/hildon-find-toolbar.c:
8531 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8532 actually continue firing the other handlers if connected. Adding a new
8534 hildon_find_toolbar_get_last_index that gets the index of the most
8535 recently added (last) item. Fixes: NB#52301.
8537 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8540 behaviour. Fixes: NB#68610.
8542 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8544 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8547 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8549 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8550 when realizing the banner. Should make the infonbanner effect a bit more
8553 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8555 * src/hildon-volumebar.c:
8556 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8557 hildon_volumebar_set_range_insensitive_message and
8558 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8560 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * src/hildon-window.c: Fixing the border freeing on destroy.
8564 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8566 * src/hildon-code-dialog-private.h:
8567 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8568 kw keyboard support in HildonCodeDialog.
8570 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * debian/changelog: Updating.
8578 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8580 * src/hildon-date-editor.c:
8581 * src/hildon-number-editor.c:
8582 * src/hildon-private.c:
8583 * src/hildon-private.h:
8584 * src/hildon-time-editor.c:
8585 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8586 handling in subclassed composite widgets. Fixes: NB#66628.
8588 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8590 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8591 from destroy_ callback as it introduces problems in async dbus signal
8592 handlers. Fixes NB#66673.
8594 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8596 * examples/hildon-hvolumebar-example.c:
8597 * src/hildon-volumebar.c: Improving the focus handling in the
8598 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8599 set_property accessor so that "mute" property can be actually set. I'm
8600 scared that nobody noticed it's totally broken.
8602 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8607 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * src/hildon-calendar.c:
8610 * src/hildon-number-editor.c:
8611 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8612 matches the spec of 6 chars per second. Fixes: NB#60489.
8614 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8616 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8617 gtk_style_lookup_color sometime returns FALSE even though color was
8618 found and values were filled properly. Weird. Removing the warning for the
8621 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8623 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8624 expand vertically. Adding some extra space to the find toolbar buttons to
8625 make them thumbable. Fixes NB#66060.
8627 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8629 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8630 popup with "Ok" and "Cancel". Fixes NB#59299.
8632 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8634 * src/hildon-calendar.c: Process all window updates before executing next
8635 timeout. Fixes: NB#54146.
8637 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8643 * debian/changelog: Updating.
8645 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8647 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8648 the client event and ignore it, since we use the delete event to close
8651 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8653 * src/hildon-helper.c: Remove the bogus warning about color not being
8654 found. Fixes NB#58352.
8656 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * examples/Makefile.am:
8659 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8660 HildonSeekbar widget inside a toolbar.
8662 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8664 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8665 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8666 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8667 don't want to be closed by non-temporary windows on map.
8669 Also use G_DEFINE_TYPE instead of manually typed code.
8671 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8678 * debian/rules: Updating.
8680 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * examples/Makefile.am:
8683 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8684 bug NB#61128. Strangely it works.
8686 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * src/hildon-date-editor.c: When the date editor entry has been changed
8689 but the numbers of characters < max, turn off the skip validation flag.
8690 Prevents a situation when we enter first a valid year and later re-write
8691 it with an invalid one. Fixes NB#60154.
8693 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8696 code dialog. Fixes NB#64355.
8698 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8701 switching the page. Fixes NB#49374.
8703 * examples/Makefile.am:
8704 * examples/hildon-wizard-dialog-example.c: Adding an example for
8705 HildonWizardDialog that shows how to handle manual sensitivity setting on
8708 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8712 * src/hildon-version.h.in:
8713 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8715 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 * src/hildon-volumebar.c: Updating the docs.
8719 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8725 * debian/changelog: Updating.
8727 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8729 * src/hildon-find-toolbar.c:
8730 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8731 selected item: hildon_find_toolbar_set_active,
8732 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8733 hildon_find_toolbar_get_active_iter . They correspond to respective
8734 GtkComboBox functions.
8736 * examples/Makefile.am:
8737 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8740 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8742 * examples/Makefile.am:
8743 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8746 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8747 when font size > 32 and we pack a focusable widget inside. Actually using
8748 the default response would work too, but since we don't show default
8749 response state in any way (no theming) it would not be visible to the
8750 user. Fixes NB#63430.
8752 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-date-editor.c: Adding the missing variable setter in the
8755 set_property handler. Fixes NB#54182.
8757 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8759 * src/hildon-window.h: Changing the long key press time from 1500ms to
8760 800ms as requested in NB#63700. I have a bad feeling about this, let's
8761 see... Fixes NB#63700.
8763 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8765 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8766 hildon_time_picker_map, hildon_time_picker_realize,
8767 hildon_time_picker_style_set): Split the contents of map to more
8768 appropriate functions; set window decorations on realize and update
8769 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8771 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8776 * debian/changelog: Updating.
8778 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8780 * src/Makefile.am: fixed installation of the header files
8782 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8788 * debian/changelog: Updating.
8790 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * configure.ac: Removing some remaining of --enable-xan.
8794 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8796 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8797 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8799 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8800 2.10.12-osso6 because the move-focus signal needs to be available in
8803 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8805 * examples/Makefile.am:
8806 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8807 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8808 fine. Prolly NB#61128 is fixed now.
8810 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8812 * src/hildon-volumebar.c:
8813 * src/hildon-volumebar.h: Adding the
8814 hildon_volumebar_set_range_insensitive_message and
8815 hildon_volumebar_set_range_insensitive_messagef functions to set
8816 insensitive message on the slider of the volumebar. Fixes NB#61129.
8818 * examples/Makefile.am:
8819 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8820 test the new insensitive messsage functionality on HildonVolumebar.
8822 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8827 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8829 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8830 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8831 button on after clearing the trail.
8833 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8837 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8839 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8840 by splitting the installed headers in generated and non-generated groups. Use
8841 only the non-generated headers to create the hildon-enum-types.h file.
8843 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8845 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * src/hildon-window.c: Hide the window before performing the destroy.
8848 Should make the app closing a little tiny bit more snappy.
8850 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8852 * src/hildon-seekbar.c: add gtkrange.h header
8853 * src/hildon-caption.c: remove unused variable
8855 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8857 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8860 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8866 * debian/changelog: Updating.
8868 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8870 * src/hildon-window.c (hildon_window_window_state_event,
8871 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8872 escape timeout on focus-out-event rather than notify::is-topmost; the
8873 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8875 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8878 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8880 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8882 * src/hildon-window: actually, you need to use the macro always, there's
8883 no private pointer in the instance structure. We should have cleaned this up
8884 when we had the chance...
8886 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8888 * src/hildon-window.c: do not get the private date from HildonWindow before
8889 it passes the g_return_if_fail check. Once it's passed the test, there's no
8890 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8891 if you are only going to access the data once. Whitespace cleanups.
8893 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8895 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8896 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8898 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8904 * debian/changelog: Updating.
8906 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8908 * src/hildon-window.c: When destroying the window, remove (if exists) the
8909 escape timeout handler. Fixes #NB59276.
8911 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * src/hildon-banner.c: When realizing the widget, set the window
8914 transiency. Setting the transiency in the gobject constructor is not
8915 good, as the widget is not realized at that point. Fixes: #NB56624.
8917 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8919 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8920 Add padding for future expansions.
8922 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8924 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8925 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8926 will fake an activation on the previous to the last item of the trail, so
8927 the effect can be overrided by the developer as usual.
8928 Also change the callback for the back button to do the same thing, so its
8929 effect can be overrided too. Fixes: NB#58982
8931 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8933 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8934 HildonCaption. Fixes NB#52379.
8936 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8938 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8939 the internal state of the trail after the user has had the chance of executing
8940 his handler for the signal. Specifically, it may happen that the activated button
8941 is removed and the user still lets the default handler run. This would segfault
8944 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8947 scrollbar to the preview dialog. Fixes NB#54147.
8949 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8952 max/min year properties can be altered, so the client can modify it
8953 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8955 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8958 hildonlike by default. Fixing a problem with disappearing arrows when
8959 scrolling through months and years. Fixes NB#54127.
8961 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8963 * examples/hildon-date-editor-example.c: Adding error callback to the date
8966 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * configure.ac: Updating.
8974 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8976 * configure.ac: Adding a special '--enable-xan' configure option that
8977 turns off the -Werror compilation setting. Usefull for development.
8979 * src/hildon-calendar.c:
8980 * src/hildon-number-editor.c:
8981 * src/hildon-time-picker.c: Adding the 5* multiplier to
8984 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
8986 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
8987 instead of g_object_ref + gtk_object_sink.
8989 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * debian/changelog: Updating.
8997 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * src/hildon-color-chooser-dialog.c:
9000 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9001 straight from Tommi labs.
9003 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * examples/hildon-finger-example.c: Correcting the header file path.
9007 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9008 the changed signal. Fixes a small memory leak.
9010 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-banner.c: Importing several usefull fixes from the
9015 ubuntu-mobile branch.
9017 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * examples/Makefile.am:
9020 * examples/hildon-finger-example.c: Adding a finger-checking code
9023 * src/hildon-font-selection-dialog.c: Do not allocate the color
9024 structure using the g_new. Fixes NB#54061.
9026 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * src/hildon-helper.c: Correcting tabs in file.
9030 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9032 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9033 control the visibility of the children.
9035 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9037 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9043 * debian/changelog: Updating.
9045 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9047 * src/hildon-bread-crumb-trail.c:
9048 (hildon_bread_crumb_trail_size_allocate):
9050 Make the back button always a square.
9052 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9054 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9055 from the .c file as it's a private file.
9057 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9060 uses slightly bigger height.
9062 * src/hildon-font-selection-dialog.c: Adding some checks before
9063 freeing memory in the font selection dialog.
9065 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * src/hildon-font-selection-dialog.c: Adding a small check when
9070 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9071 buttons sensitivity on page switching.
9073 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9075 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9076 internal details of adding a bread crumb to the trail.
9078 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * debian/changelog: Updating.
9086 * src/hildon-bread-crumb-trail.h:
9087 * src/hildon-bread-crumb.h: Changing the API guard to
9088 HILDON_ENABLE_UNSTABLE_API.
9090 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * src/hildon-helper.h: Updating.
9100 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9108 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * src/hildon-helper.h: Small fix to make the package actually compile.
9114 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9116 * src/hildon-bread-crumb-trail.h:
9117 * src/hildon-bread-crumb.h:
9119 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9120 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9122 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9124 * examples/hildon-bread-crumb-trail-example.c:
9126 * src/hildon-bread-crumb-trail.c:
9127 * src/hildon-bread-crumb-trail.h:
9128 * src/hildon-bread-crumb.c:
9129 * src/hildon-bread-crumb.h:
9130 * src/hildon-marshalers.list:
9131 * src/hildon-bread-crumb-widget.c:
9132 * src/hildon-bread-crumb-widget.h:
9134 Slight change in the widget design. The bread crumb trail API is
9135 unchanged, but HildonBreadCrumb is now an interface. A *private*
9136 implementation, hildon-bread-crumb-widget, is provided and used
9137 internally by the trail for the push_text/push_icon functions.
9139 The generic push API is still available, so anyone can implement
9140 and use its own bread crumb widget.
9142 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * debian/rules: Fixing the shlibs.
9146 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-banner.c: Fixing a problem with timed banners having
9149 their parrent destroyed before they are.
9151 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9153 * src/hildon-bread-crumb.c:
9154 * src/hildon-bread-crumb.h:
9156 Make the get_natural_size function a vfunc.
9158 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9160 * src/hildon-bread-crumb.c:
9161 * src/hildon-bread-crumb-trail.c:
9165 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9172 * debian/changelog: Updating for release.
9174 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9176 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9177 don't leak the pango layout.
9179 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9182 * examples/hildon-bread-crumb-trail-example.c:
9186 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9188 * debian/changelog: Removing the bug-fixed entries that were actually
9189 resolved as WONTFIX.
9191 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9194 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9196 * src/hildon-bread-crumb-trail.c:
9197 * src/hildon-bread-crumb-trail.h:
9198 * src/hildon-bread-crumb.c:
9199 * src/hildon-bread-crumb.h:
9203 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9205 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9206 until it's passed the type check.
9208 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9210 * examples/hildon-bread-crumb-trail-example.c
9214 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9216 * examples/Makefile.am
9217 * examples/hildon-bread-crumb-trail-example.c
9219 * src/hildon-bread-crumb-trail.c
9220 * src/hildon-bread-crumb-trail.h
9221 * src/hildon-bread-crumb.c
9222 * src/hildon-bread-crumb.h
9224 New HildonBreadCrumbTrail widget.
9226 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9228 * src/hildon-range-editor.c (hildon_range_editor_init),
9229 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9230 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9231 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9232 hildon_time_editor_class_init, hildon_time_editor_init),
9233 src/hildon-get-password-dialog.c (invalid_input,
9234 hildon_get_password_set_property, hildon_get_password_get_property,
9235 create_contents, hildon_get_password_dialog_set_max_characters),
9236 src/hildon-set-password-dialog.c (create_contents),
9237 src/hildon-date-editor.c (hildon_date_editor_init),
9238 src/hildon-login-dialog.c (hildon_login_dialog_init),
9239 src/hildon-number-editor.c (hildon_number_editor_init),
9240 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9241 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9242 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9243 configure option and adding the respective checks in the code.
9244 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9245 hildon_calendar_drag_data_received): fixed some build warnings.
9247 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * debian/changelog: A 1.0.0 release notes.