1 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
5 * configure.ac: bump version
6 * debian/changelog: updates
8 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
10 * hildon/hildon-entry.c: (set_property): Do not allow to set
11 automatic height and use finger height instead, to prevent an to
12 have a smaller size than than its theme pixbuf.
14 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
16 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
18 * configure.ac: postrelease version bump.
19 * debian/changelog: post release version bump
21 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
26 * configure.ac: Bump version.
27 * debian/changelog: Updates.
29 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
31 * hildon/hildon-note.c: (label_size_request): Take the note
32 padding into account when setting the size request.
34 Fixes: NB#127896 (Information notes text truncated)
36 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
38 * configure.ac: postrelease version bump.
39 * debian/changelog: post release version bump
41 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
46 * configure.ac: Bump version.
47 * debian/changelog: Updates.
49 2009-07-16 Alejandro G. Castro <alex@igalia.com>
52 * hildon/hildon-text-view.c,
53 (hildon_text_view_button_press_event): Grabbed the focus in button
54 press, this way we are sure the widget has the focus in the
55 release event, required for HIM.
57 Fixes: NB#121445 (Virtual keyboard opening is not working in same
58 way for each text entry field)
60 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
62 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
63 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
64 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
65 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
66 (hildon_pannable_area_[gs]et_center_on_child_focus)
67 Redefined GtkContainer set-focus-child signal, in order to center
68 properly on a child when it receives the focus. Defined a new property
69 "center-on-child-focus" in order to activate this feature (deactivated
70 by default). Public get/set methods defined to manage the property.
72 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
74 2009-07-14 László Pere <lpere@blumsoft.eu>
76 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
77 the new size is applied.
79 Fixes: NB#124510 (The Application Menu is distorted when switched
80 between portrait and landscape mode)
81 Fixes: NB#115388 (Power key menu does not resize itself)
83 2009-07-01 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-banner.c (hildon_banner_map):
86 Set banner position after mapping.
88 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
90 * configure.ac: postrelease version bump.
91 * debian/changelog: post release version bump
93 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
98 * configure.ac: Bump version.
99 * debian/changelog: Updates.
101 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
103 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
106 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
108 * tests/check-hildon-banner.c
110 * tests/test_suites.h
111 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
112 were testing deprecated functions.
113 * examples/hildon-banner-example.c: typo on button3 type, that causes
114 a fail compiling with --with-examples but without --disable-deprecated
116 Missed commit in order to fix compilation using '--enable-fatal' and
117 '--disable-deprecated' (see previous commit)
119 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
121 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
122 functions with #ifndef HILDON_DISABLE_DEPRECATED
123 * examples/hildon-find-toolbar.c: Protect deprecated
124 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
125 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
126 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
127 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
129 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
130 to allow proper compilation of deprecated functions defined on the header
132 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
134 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
136 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
137 Cache the panning indicator color.,
138 (hildon_pannable_area_style_set): Query the color on style changes.
139 (hildon_pannable_draw_vscroll),
140 (hildon_pannable_draw_hscroll),
141 (hildon_pannable_area_expose_event): Use the cached panning indicator
142 color instead of looking it up on every expose and more.
144 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
146 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
147 (hildon_pannable_draw_hscroll),
148 (hildon_pannable_area_expose_event): Fix the panning indicator color,
149 so that it's "SecondaryTextColor", as desired.
151 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
153 * hildon/hildon-picker-dialog.c:
154 (selection_completed): take into account HILDON_UI_MODE_NORMAL
155 * hildon/hildon-touch-selector.c
156 (hildon_touch_selector_init): Initialize hildon-ui-mode
157 (hildon_touch_selector_row_activated): new callback for the
158 "row-activated" signal, in order to save the last activated
159 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
160 if the current hildon-ui-mode is coherent with the touch selector
161 (hildon_touch_selector_class_init)
162 (hildon_touch_selector_get_property)
163 (hildon_touch_selector_set_property)
164 Added "hildon-ui-mode" property
165 (disconnect_model_handlers): renamed to clean_column
166 (hildon_touch_selector_remove): use clean_column function
167 (_create_new_column): use the hildon-ui-mode to create the treeview, and
168 only select the first element on HILDON_UI_MODE_EDIT
169 (hildon_touch_selector_column_init): Initialize last_activate
170 (hildon_touch_selector_append_column): check that the touch selector
171 is coherent with the current hildon-ui-mode
172 (hildon_touch_selector_get_hildon_ui_mode)
173 (hildon_touch_selector_set_hildon_ui_mode)
174 Added a getter/setter for the hildon-ui-mode property
175 (hildon_touch_selector_get_last_activated_row): Added this method in
176 order to get the last activated row.
177 * examples/hildon-touch-selector-normal-mode-example.c
178 New example, that shows how to use the HildonTouchSelector in
179 HILDON_UI_MODE_NORMAL
181 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
182 Kristian Rietveld <kris@lanedo.com> advices
184 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
186 * hildon/hildon-time-selector.c: (update_format_policy): Do
187 not call update_format_dependant_columns() if not necessary.
188 (update_format_dependant_columns): Remove unnecessary check for
189 the number of columns.
191 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
193 * hildon/hildon-note.c (+hildon_note_constructor),
194 (hildon_note_class_init), (+hildon_note_set_padding),
195 (hildon_note_rebuild): Install a constructor where to set the
196 padding properties in the note, so that it actually works fine.
197 Use hildon_note_set_padding() for this, and also to set it during
200 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
202 * configure.ac: Bump GTK+ requirement to 2.14.3.
203 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
204 when using maemo-gtk to define proper margins for the notes.
206 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
207 with the dialog edge)
209 2009-06-24 Alberto Garcia <agarcia@igalia.com>
211 * hildon/hildon-banner.c
212 (hildon_banner_class_init):
214 (+hildon_banner_size_request):
215 Request always the full width of the screen.
216 (hildon_banner_realize)
217 (-hildon_banner_check_position, hildon_banner_map):
218 hildon_banner_check_position() is not needed in Hildon 2.2.
219 (-hildon_banner_reset_wrap_state)
220 (hildon_banner_constructor, hildon_banner_init):
221 Remove unnecessary calls to hildon_banner_reset_wrap_state()
222 (+banner_do_set_text)
223 (force_to_wrap_truncated):
224 Remove has_been_wrapped and has_been_truncated attributes.
225 (+reshow_banner, hildon_banner_real_show_information)
226 (hildon_banner_show_information_with_markup)
227 (hildon_banner_show_animation, hildon_banner_show_progress)
228 (hildon_banner_set_text, hildon_banner_set_markup):
229 Refactor code. Shrink banner vertically to use the minimum space
230 necessary everytime the text of the label is updated.
231 (screen_size_changed):
232 Call force_to_wrap_truncated() when the size of the screen
235 Fixes: NB#120500 (only device memory connect mmc in use info
236 banner is left aligned)
238 Fixes: NB#120613 (Size of HildonBanner varies depending on
239 previously opened banners)
241 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
243 * hildon/hildon-color-chooser.c
244 (hildon_color_chooser_pointer_motion): Take the widget allocation
247 Fixes: NB#124385 (Unable to select exact point in color mixing box
248 in color palette dialog)
250 2009-06-23 Alejandro G. Castro <alex@igalia.com>
252 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
253 (hildon_pannable_area_dispose)
254 (hildon_pannable_area_button_press_cb)
255 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
256 (hildon_pannable_area_button_release_cb)
257 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
258 New 'panning-started' and 'panning-finished' signals.
260 Fixes: NB#121732 (New feature request: Signal to pannable area
261 that informs when panning is stopped.)
263 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
265 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
266 instead of hardcoded colon.
268 Fixes: NB#124090 (New calendar wizard title is not using
269 ecdg_ti_caption_separator)
271 2009-06-22 David King <davidk@openismus.com>
273 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
274 constants and functions, as well as correct many typos throughout the
277 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
280 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
282 * configure.ac: postrelease version bump.
283 * debian/changelog: post release version bump
285 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: Bump version.
291 * debian/changelog: Updates.
293 2009-06-18 Alberto Garcia <agarcia@igalia.com>
295 * hildon/hildon-window-stack.c
296 (hildon_window_stack_pop_and_push_list):
297 Prevent windows from having the same stack index
299 2009-06-18 Alberto Garcia <agarcia@igalia.com>
301 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
302 Use the index of the previous window rather than the stack length
303 to calculate the new index.
307 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
309 * hildon/hildon-date-selector.c
310 (hildon_date_selector_select_current_date)
311 (hildon_date_selector_get_date)
312 (hildon_date_selector_select_day):
313 Update the documentation: uses always the range (1-31), as it is obvious
314 that the final one will depend on the month and the year, but globally
315 the range is this, in a similar GtkCalendar approach
316 (hildon_date_selector_get_date):
317 Update the documentation: add NULL as a valid value for the day, month
320 Fix some details, after talk with David King on bug MB#4698
322 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
324 * hildon/hildon-touch-selector-entry.c
325 * hildon/hildon-touch-selector.c
326 Update the documentation of the "text-column" property
328 2009-06-18 David King <davidk@openismus.com>
330 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
331 several typos and errors throughout the documentation.
333 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
336 2009-06-18 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-note.c (hildon_note_realize):
339 Make HildonNote support portrait mode.
341 Fixes: NB#123448 (HildonNote is not portrait-friendly)
343 2009-06-17 Alberto Garcia <agarcia@igalia.com>
345 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
346 Document this function
348 2009-06-17 David King <davidk@openismus.com>
350 * hildon/hildon-date-selector.c
351 (hildon_date_selector_select_current_date)
352 (hildon_date_selector_get_date): Update documentation regarding days,
353 as the day of the month is dependent on both the month and the year.
354 (hildon_date_selector_get_date): Fix documentation of output arguments.
356 Fixes: MB#4698 (DateSelector documentation has bad output argument
357 description, and the day depends on both the month and the year)
359 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
361 * hildon/hildon-caption.c: Other documentation fixes to
364 2009-06-17 David King <davidk@openismus.com>
366 * hildon/hildon-caption.c: Minor documentation updates for
367 HildonCaption. Fixes MB#4697.
369 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
371 * doc/hildon-docs.sgml: Add hildon-version section.
372 * doc/hildon-sections.txt:
373 * hildon/hildon-version.h.in: Document versioning macros and
376 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
378 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
379 from HildonPickerDialog section.
381 2009-06-16 Alberto Garcia <agarcia@igalia.com>
383 * hildon/hildon-banner.c (hildon_banner_bind_style)
384 (screen_size_changed, hildon_banner_init)
385 (hildon_banner_real_show_information)
386 (hildon_banner_show_information_with_markup)
387 (hildon_banner_show_animation, hildon_banner_show_progress):
388 Set a different widget name to banners in portrait mode, for them
389 to be themed correctly.
391 2009-06-16 Alberto Garcia <agarcia@igalia.com>
393 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
394 Set a different widget name to notes in portrait mode, for them to
397 Partially fixes: NB#118401 (HildonNote causes unnecessary
400 2009-06-16 Alberto Garcia <agarcia@igalia.com>
402 * hildon/hildon-note.c (hildon_note_class_init)
403 (+hildon_note_size_request, screen_size_changed):
404 Always request the full width of the screen.
406 Fixes: NB#118375 (unnecessary rescaling of images)
408 2009-06-16 Alejandro G. Castro <alex@igalia.com>
410 * hildon/hildon-pannable-area.c,
411 (hildon_pannable_area_init),
412 (hildon_pannable_area_realize): Replaced old code adding flags in
413 the object init, now we add it with the other flags in the realize
416 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
418 * hildon/hildon-note.c: (hildon_note_class_init): Several
419 documentation improvements to the HildonNote widget.
421 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
423 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
425 Fixes: MB#4556 (HildonNoteType is undocumented)
427 2009-06-15 Alberto Garcia <agarcia@igalia.com>
429 * hildon/hildon-picker-button.c:
430 Explain how HildonPickerButton sets the title of its dialog
432 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
433 the title of its dialog)
435 2009-06-15 Alberto Garcia <agarcia@igalia.com>
437 * hildon/hildon-check-button.c:
438 Documentation updates
440 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
443 2009-06-15 Alberto Garcia <agarcia@igalia.com>
446 * hildon/hildon-edit-toolbar-private.h
447 * hildon/hildon-edit-toolbar.c
448 (+hildon_edit_toolbar_set_progress_indicator)
449 (hildon_edit_toolbar_init): Add progress indicator to the
452 * hildon/hildon-gtk.c
453 (hildon_gtk_window_set_progress_indicator):
454 If the window contains a HildonEditToolbar, enable the progress
457 * hildon/hildon-private.h
458 * hildon/hildon-private.c
459 (+hildon_private_create_animation)
460 * hildon/hildon-banner.c
461 (-hildon_banner_create_animation):
462 Moved to hildon-private.c
464 Fixes: NB#102373 (Progress indicator also for the Edit mode
467 2009-06-15 Alberto Garcia <agarcia@igalia.com>
469 * hildon/hildon-app-menu-private.h
470 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
471 (hildon_app_menu_add_filter, +menu_item_button_event)
472 (hildon_app_menu_button_release, hildon_app_menu_init):
473 Make sure that buttons receive 'button-release-event' in spite of
474 the grab held by HildonAppMenu
476 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
478 2009-06-15 Alberto Garcia <agarcia@igalia.com>
480 * hildon/hildon-app-menu.c
481 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
482 New style property to set the size of the group of filter buttons.
484 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
486 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
491 * configure.ac: Bump version.
492 * debian/changelog: Updates.
494 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
496 * hildon/hildon-main.c: Minor documentation fixes.
498 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
500 * doc/hildon-sections.txt:
501 * hildon/hildon-defines.h: Document the defines, organize them,
502 and mark deprecations as such.
504 Fixes: MB#4463 (Hildon size #defines are undocumented)
506 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
508 * hildon/hildon-animation-actor.c:
509 * hildon/hildon-app-menu.c:
510 * hildon/hildon-button.c:
511 * hildon/hildon-date-editor.c:
512 * hildon/hildon-dialog.c:
513 * hildon/hildon-edit-toolbar.c:
514 * hildon/hildon-entry.c:
515 * hildon/hildon-program.c:
516 * hildon/hildon-remote-texture.c:
517 * hildon/hildon-stackable-window.c:
518 * hildon/hildon-text-view.c:
519 * hildon/hildon-touch-selector.c:
520 * hildon/hildon-window-stack.c:
521 * hildon/hildon-window.c:
523 Remove redundant "represents" wording from most of the documentation.
525 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
527 2009-06-12 Alberto Garcia <agarcia@igalia.com>
532 * hildon/hildon-banner-private.h
533 * hildon/hildon-banner.c:
534 Move HildonBannerPrivate to hildon-banner.c and remove
535 hildon-banner-private.h
536 Use a bit field to store private booleans.
538 2009-06-12 Alberto Garcia <agarcia@igalia.com>
540 * hildon/hildon-app-menu.c (hildon_app_menu_map):
541 Don't install a new idle function if there's already one
546 2009-06-11 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
549 (+legacy_menu_realized, +legacy_menu_unmapped)
550 (+set_legacy_menu_type):
551 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
552 they can be identified by the window manager.
554 Fixes: NB#101437 (Invoking CSM on the left side of page area is
555 displayed in wrong location)
557 Fixes: MB#4563 (Popup menu won't locate at the left side of the
560 2009-06-11 Alberto Garcia <agarcia@igalia.com>
562 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
564 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
567 2009-06-11 Alberto Garcia <agarcia@igalia.com>
569 * hildon/hildon-code-dialog.c
570 * hildon/hildon-date-editor.c
571 * hildon/hildon-number-editor.c
572 * hildon/hildon-seekbar.c
573 * hildon/hildon-stackable-window.c
574 * hildon/hildon-window.c:
575 Misc documentation updates
577 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
579 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
580 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
582 Fixes: NB#117931 (Theming issues in accounts dialogs)
584 2009-06-09 Alejandro G. Castro <alex@igalia.com>
586 * hildon/hildon-pannable-area.c,
587 (hildon_pannable_area_button_release_cb): Changed the coordinates
588 of the original release in case we want to discard the release,
589 some widgets in Fremantle do not handle the leave-notify.
591 2009-06-09 Alejandro G. Castro <alex@igalia.com>
593 * hildon/hildon-pannable-area.c,
594 (hildon_pannable_area_button_release_cb): Reviewed the logic of
595 the release using the last refactored functions and avoiding the
596 movement if an element was selected.
598 2009-06-09 Alejandro G. Castro <alex@igalia.com>
600 * hildon/hildon-pannable-area.c,
601 (hildon_pannable_area_check_move),
602 (hildon_pannable_area_handle_move),
603 (hildon_pannable_area_motion_notify_cb): Refactored the
604 motion_notify method using a couple of new functions.
606 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
608 * hildon/hildon-date-selector.c:
609 (hildon_date_selector_construct_ui):
610 * hildon/hildon-time-selector.c:
611 (hildon_time_selector_constructor):
612 * hildon/hildon-touch-selector-entry.c:
613 (hildon_touch_selector_entry_set_text_column),
614 (hildon_touch_selector_entry_get_text_column):
615 * hildon/hildon-touch-selector.c: (_default_print_func),
616 (hildon_touch_selector_new_text): Use
617 hildon_touch_selector_set/get_text_column() instead of
618 setting/getting the "text-column" property.
620 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
622 * doc/hildon-sections.txt: Add the new public methods below.
624 * examples/hildon-picker-button-multicolumn-example.c:
625 (create_touch_selector):
626 * examples/hildon-touch-selector-example.c: (create_selector):
627 * examples/hildon-touch-selector-multi-cells-example.c:
629 Use hildon_touch_selector_column_set_text_column()
631 * hildon/hildon-touch-selector-column.h:
632 * hildon/hildon-touch-selector.c:
633 (hildon_touch_selector_column_set_text_column),
634 (hildon_touch_selector_column_get_text_column):
635 Make hildon_touch_selector_column_set/get_column() public, use
636 them in the inline example, document them, and reference to them
639 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
641 * hildon/hildon-time-selector.c: Fix the docs for
642 hildon_time_selector_new_step().
644 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
646 * hildon/hildon-touch-selector.c: Improve the documentation for
647 hildon_touch_selector_append_column().
649 Fixes MB#4641 (Documentation:
650 hildon_touch_selector_append_column() ref-counting)
652 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
654 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
655 Comment out test 5, since the hildon_controlbar_set_range() range
656 check is broken and fixing it would have side effects. Also,
657 this finally fixes make distcheck.
659 Fixes: NB#101420 (Update unit tests and fix make distcheck)
661 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
663 * tests/TEST-CASES.txt: Remove other bogus test.
664 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
665 Remove bogus test that was setting/retrieving a valid value.
667 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
669 * tests/TEST-CASES.txt: Remove bogus tests.
670 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
671 Remove three bogus tests that were actually setting valid colors.
673 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
675 * configure.ac: post release version bump
676 * debian/changelog: post release version bump
678 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
683 * configure.ac: Bump version.
684 * debian/changelog: Updates.
686 2009-06-08 Christian Dywan <christian@lanedo.com>
690 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
691 Correct errors in hildon_format_file-size_for_display and use
692 translations from the hildon-fm package instead of osso-filemanager.
694 2009-06-08 Alejandro G. Castro <alex@igalia.com>
696 * hildon/hildon-pannable-area.c,
697 (hildon_pannable_area_init): Initialized new values to handle the
699 (hildon_pannable_area_adjust_value_changed): Check if the values
700 changed before even call the redraw function.
701 (hildon_pannable_area_size_allocate),
702 (hildon_pannable_axis_scroll),
703 (hildon_pannable_area_scroll),
704 (hildon_pannable_area_jump_to): Improved the diagonal movement
707 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
710 2009-06-08 Alberto Garcia <agarcia@igalia.com>
712 * examples/hildon-banner-example.c:
713 Several style updates
714 (on_animation_clicked, on_animation_idle)
715 (on_progress_clicked, on_progress_idle):
716 Add additional reference for the cases when the parent window is
719 2009-06-08 Alberto Garcia <agarcia@igalia.com>
721 * doc/hildon-sections.txt
722 * hildon/hildon-pannable-area.c
723 * hildon/hildon-banner.h
724 * hildon/hildon-banner.c: Documentation updates.
726 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
729 2009-06-05 Alejandro G. Castro <alex@igalia.com>
731 * hildon/hildon-calendar-popup.h:
732 * hildon/hildon-caption.h:
733 * hildon/hildon-code-dialog.h:
734 * hildon/hildon-controlbar.h:
735 * hildon/hildon-date-editor.h:
736 * hildon/hildon-dialog.h:
737 * hildon/hildon-get-password-dialog.h:
738 * hildon/hildon-hvolumebar.h:
739 * hildon/hildon-login-dialog.h:
740 * hildon/hildon-note.h:
741 * hildon/hildon-number-editor.h:
742 * hildon/hildon-range-editor.h:
743 * hildon/hildon-seekbar.h:
744 * hildon/hildon-set-password-dialog.h:
745 * hildon/hildon-sort-dialog.h:
746 * hildon/hildon-time-editor.h:
747 * hildon/hildon-time-picker.h:
748 * hildon/hildon-volumebar-range.h:
749 * hildon/hildon-volumebar.h:
750 * hildon/hildon-vvolumebar.h:
751 * hildon/hildon-weekday-picker.h:
752 * hildon/hildon-window.h:
753 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
754 macros with the current replacements
756 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
758 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
760 * hildon/hildon-color-button.c (hildon_color_button_init): Use
761 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
762 itself, to make it fit better with Fremantle style.
764 Fixes: NB#109878 (height and width of focus on color icon is not
765 consistent with other item in the application tool bar)
767 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
769 * hildon/hildon-touch-selector.c:
770 (hildon_touch_selector_optimal_size_request): use the current requisition
771 as the base, in order to include any possible extra widget, like the
772 hildon entry on HildonTouchSelectorEntry
774 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
776 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
778 * configure.ac: post release version bump
779 * debian/changelog: post release version bump
781 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
786 * configure.ac: Bump version.
787 * debian/changelog: Updates.
789 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
791 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
793 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
794 to ensure the banner contents are centered, instead of relying on
795 the expand and fill properties in GtkHBox.
796 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
798 Fixes: NB#108265 (Animation banner not properly centered)
800 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
802 * hildon/hildon-pannable-area.c
803 (hildon_pannable_area_initial_effect): Remove the initial_effect
804 management, check initial_hint
805 (hildon_pannable_are_expose_event): Remove the initial_hint management,
806 set initial_effect to FALSE
807 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
808 by launching the fade_timeout if the scrollbars state has changed and are
810 * examples/hildon-pannable-area-initial-hint-example.c
811 Modified to allow to remove rows too. Add and remove rows one by one.
813 2009-05-28 Alberto Garcia <agarcia@igalia.com>
815 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
816 Don't close the menu if there's an animation actor below it.
818 Fixes: NB#117927 (Application menu not usable with animation
821 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
823 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
824 "focus-on-click" from the dialog button, to avoid stealing the
825 focus from the entry.
827 Fixes: NB#118903 (Account setup wizard: Text in Search field
828 should be focused when "Region" touch list picker is reopened
831 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
833 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
834 (prepare_action_area): Completely hide the dialog separator.
836 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
838 * hildon/hildon-touch-selector-entry.c
839 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
840 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
841 now that the entry is exposed.
843 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
845 * hildon/hildon-touch-selector-entry.c
846 (hildon_touch_selector_entry_init): Change the entry's size
847 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
849 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
851 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
852 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
853 avoid unnecessary scaling.
855 2009-05-27 Alberto Garcia <agarcia@igalia.com>
857 * hildon/hildon-app-menu.c (hildon_app_menu_map):
858 Create grab transfer window before calling parent's map function.
860 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
861 "crushed" button(s) in the top left corner)
863 2009-05-26 Alberto Garcia <agarcia@igalia.com>
865 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
866 Check if the window is already realized when pushing it.
868 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
870 * configure.ac: post release version bump
871 * debian/changelog: post release version bump
873 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
878 * configure.ac: Bump version.
879 * debian/changelog: Updates.
881 2009-05-25 Alberto Garcia <agarcia@igalia.com>
883 * hildon/hildon-app-menu.c: Doc updates.
885 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
887 * hildon/hildon-banner.c: Remove leftover macro.
889 2009-05-25 Alejandro G. Castro <alex@igalia.com>
891 * hildon/hildon-pannable-area.c,
892 (hildon_pannable_area_scroll_indicator_fade),
893 (hildon_pannable_area_button_release_cb): Reviewed vmin
894 conditions, it could cause problems in the fadeout procedure.
896 2009-05-25 Alejandro G. Castro <alex@igalia.com>
898 * hildon/hildon-pannable-area.c
899 (hildon_pannable_area_button_release_cb): Added a threshold to
900 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
902 2009-05-25 Alejandro G. Castro <alex@igalia.com>
904 * hildon/hildon-pannable-area.c,
905 (hildon_pannable_area_set_property): Added code to sync the gtk
906 dnd threshold with the panning threshold.
908 2009-05-25 Alejandro G. Castro <alex@igalia.com>
910 * hildon/hildon-pannable-area.c,
911 (hildon_pannable_area_class_init): Changed some of the default
912 values, now it should be less responsive and more accurate.
914 2009-05-25 Alejandro G. Castro <alex@igalia.com>
916 * hildon/hildon-pannable-area.c,
917 (hildon_pannable_area_init),
918 (hildon_pannable_area_scroll_indicator_fade),
919 (hildon_pannable_area_button_press_cb),
920 (hildon_pannable_axis_scroll),
921 (hildon_pannable_area_timeout),
922 (hildon_pannable_area_motion_notify_cb),
923 (hildon_pannable_area_button_release_cb): Changed the name of the
924 clicked attribute to button_pressed, it is more clear about its use.
926 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
928 * src/hildon-pannable-area.c
929 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
931 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
932 vertical scrollbar visibility, and use the data on private section instead,
933 remove the initial_hint check
934 (hildon_pannable_area_expose_event): add the initial_hint check here
936 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
938 * src/hildon-pannable-area.c
939 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
940 if the fadeout effect was used
941 (hildon_pannable_area_expose_event): check if it is required to
942 manage the initial effect on the begining of the function. Previously
943 it was made at the end, but this doesn't ensure that the scrollbars
944 will be painted on the first show. Do not set to FALSE initial_effect,
945 to ensure that the initial hint is showed the first time the pannable
947 * examples/Makefile.am
948 * examples/hildon-pannable-area-initial-hint-example.c:
949 New example, to show that the initial-hint is showed when the widget
952 Fixes: NB#116607 (Pannable area should always have scrollbar visible
953 initially if the application can be scrolled)
955 2009-05-25 Alberto Garcia <agarcia@igalia.com>
957 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
958 Resize table before adding new items to make sure that
959 gtk_table_resize() is called just once.
961 2009-05-25 Alberto Garcia <agarcia@igalia.com>
963 * hildon/hildon-app-menu-private.h
964 * hildon/hildon-app-menu.c (item_visibility_changed)
965 (filter_visibility_changed, hildon_app_menu_show_all)
966 (hildon_app_menu_hide_all, hildon_app_menu_init):
967 Rearrange items just once when gtk_widget_show_all()/hide_all()
970 2009-05-25 Alberto Garcia <agarcia@igalia.com>
972 * hildon/hildon-app-menu.c
973 (hildon_app_menu_insert, hildon_app_menu_add_filter):
974 Don't call gtk_widget_show() on added items.
976 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
977 automatically when they're added)
979 2009-05-20 Alberto Garcia <agarcia@igalia.com>
981 * hildon/hildon-banner.c
982 (hildon_banner_realize, +hildon_banner_unrealize)
983 (+screen_size_changed, hildon_banner_class_init):
984 Redisplay the banner if the screen is rotated.
986 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
987 on transition from landscape to portrait)
989 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
991 * hildon/hildon-banner.[ch]:
992 (hildon_banner_show_information_override_dnd): remove icon_name from the
993 method definition as it is ignored.
994 * examples/hildon-banner-dnd-example.c: updated with the change on
997 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
999 * hildon/hildon-banner-private.h: new require_override_dnd and
1000 overrides_dnd variables
1001 * hildon/hildon-banner.h:
1002 (hildon_banner_show_information_override_dnd): new method, that shows
1003 the information but sets the override flag, in order to show important
1005 * hildon/hildon-banner.c
1006 (hildon_banner_show_information_override_dnd): new method
1007 (hildon_banner_set_override_flag): new utility function
1008 (hildon_banner_real_show_information): new utility function, in order to
1009 generalize the current hildon_banner_show_information_override_dnd and
1010 hildon_banner_show_information_override_dnd
1011 * examples/Makefile.am
1012 * examples/hildon-banner-dnd-example.c: New example that show how to
1013 use the new hildon_banner_show_information_override_dnd
1015 Fixes: NB#114874 (There is no possibility to show hildon banners with
1018 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1020 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1021 behind hildon_pannable_calculate_vel_factor().
1023 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1025 * hildon/hildon-pannable-area.c
1026 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1027 deceleration factors.
1029 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1031 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1032 Reduce the default value for 'scroll_time' to 1 second, since the
1033 current initial scrolling takes too much time.
1035 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1037 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1038 calculate velocity factor during initialization, since the properties
1041 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1043 * hildon/hildon-pannable-area.c
1044 (hildon_pannable_area_set_property): Calculate the velocity factor
1045 after setting the deceleration property and not after.
1047 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1049 * hildon/hildon-entry.c
1050 (hildon_entry_class_init, +set_property, hildon_entry_new)
1051 * hildon/hildon-check-button.c
1052 (hildon_check_button_class_init)
1053 (+set_property, hildon_check_button_new):
1054 Make the theme size a property.
1056 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1057 others) do too much in the _new function)
1059 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1061 * configure.ac: post release version bump
1062 * debian/changelog: post release version bump
1064 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1069 * configure.ac: Bump version.
1070 * debian/changelog: Updates.
1072 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1074 * hildon/hildon-gtk.h
1075 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1076 New API function to take a screenshot of a window
1078 Fixes: NB#106374 (Need API to take a loading screenshot)
1080 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1082 * hildon/hildon-time-selector.c
1083 (update_format_policy): prevent to use hours and minutes unitialized
1085 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1087 * hildon/hildon-window.c (hildon_window_size_request):
1088 Always request the full size of the screen (minus the title bar if
1089 not in fullscreen mode).
1091 Fixes: NB#107486 (HildonWindow should size itself properly)
1093 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1095 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1096 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1097 (on_show_cb), (sound_handling): Disconnect the idle handler for
1098 the sound when the note is finalized to avoid possible crashes.
1100 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1103 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1105 * src/hildon-animation-actor.c,
1106 * src/hildon-remote-texture.c:
1107 Added proper object cleanup to remove signal handler and object
1108 references as HildonAnimationActor and HildonRemoteTexture
1109 objects get destroyed.
1111 Fixes: NB#116682 (Destroying parented animation actors when
1112 parent in unmapped leads to crash)
1114 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1116 Based on a patch by Christian Dywan (christian@imendio.com)
1118 * doc/hildon-sections.txt:
1119 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1120 * hildon/hildon-helper.h: New file size formatting method.
1122 * debian/control: Depend on osso-filemanager l10n package for
1123 proper localization strings.
1125 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1127 * tests/Makefile.am: Include top_srcdir to make possible to build
1128 tests in a different builddir.
1129 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1130 on a different builddir.
1132 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1134 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1135 (hildon_touch_selector_remove): Disconnect model's signal handler
1138 Fixes: NB#116289 (Hildon home crashes while adding task
1141 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1143 * hildon/hildon-button.c
1144 (hildon_button_set_title, hildon_button_set_value):
1145 Hide labels containing an empty string.
1147 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1149 * configure.ac: post release version bump
1150 * debian/changelog: post release version bump
1152 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1157 * configure.ac: Bump version.
1158 * debian/changelog: Updates.
1160 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1162 * hildon/hildon-note-private.h: Removed sound_signal_handler
1163 * hildon/hildon-note.c
1164 (on_show_cb): new callback on note "show" event, this simply adds
1165 a idle, with the function sound_handling
1166 (sound_handling): removed the sound_signal_handler management
1167 (hildon_note_init): connect note "show" event to on_show_cb
1168 (hildon_note_realize): remove the connection to "expose-event"
1170 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1171 device?' confirmation note)
1173 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1175 * hildon/hildon-note.c
1176 (hildon_note_new_information_with_icon_name)
1177 (hildon_note_new_confirmation_with_icon_name):
1178 Terminate the list of parameters in g_object_set() calls
1180 Fixes: NB#115166 (Formatting memory card is not taking place)
1182 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1184 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1185 "dialog-information" role for the sound being played.
1187 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1189 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1190 Don't make the menu a modal window, it causes strange interactions
1191 with the pointer grab and it's not really needed.
1193 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1195 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1197 * hildon/hildon-touch-selector.[ch]
1198 (hildon_touch_selector_optimal_size_request): function added to get a
1199 optimal size request from the touch selector, when you want a dialog to
1200 show as much of the selector
1201 * hildon/hildon-picker-dialog.c:
1202 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1203 (hildon_app_menu_class_init):
1204 New "max-height-landscape" and "max-height-portrait" style properties
1205 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1206 (hildon_picker_dialog_get_max_height): returns the maximum height using
1207 the style properties defined and checking the current portrait/landscape
1209 (_hildon_picker_dialog_set_selector): removed the set_size_request
1211 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1213 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1215 * hildon/hildon-bread-crumb-trail.c:
1216 * hildon/hildon-bread-crumb.c:
1217 * hildon/hildon-seekbar.c:
1218 Add reference to replacements for these deprecated widgets.
1220 Fixes: MB#4461 (Documentation: All deprecations should mention
1223 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1225 * examples/hildon-remote-texture-example.c
1227 Change the include to the hildon-remote-texture in order to compile
1228 properly the examples on the installed libhildon1-examples package
1230 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1232 * tests/Makefile.am: Add check for HildonPickerButton.
1233 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1234 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1235 checks for the HildonPickerButton.
1236 * tests/check_test.c (configure_tests): Add the test suite.
1237 * tests/test_suites.h: likewise.
1239 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1241 * hildon/hildon-touch-selector.c
1242 (+on_row_changed): Emit HildonTouchSelector:changed when the
1243 contents of a selected row change.
1244 (_create_new_column), (_hildon_touch_selector_set_model): connect
1245 to GtkTreeModel:row-changed on a newly set model.
1247 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1249 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1251 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1253 * hildon/hildon-banner.c (hildon_banner_destroy)
1254 (hildon_banner_show_progress, hildon_banner_set_fraction):
1255 Remove the progress bar from HildonBanner and use a progress
1258 Fixes: NB#113761 (Update progress banner to use progress
1261 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1263 * hildon/hildon-banner.c:
1264 Calculate size of the banner label using the actual screen width
1265 rather than using a fixed value.
1267 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1270 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1272 * hildon/hildon-pannable-area.c,
1273 (hildon_pannable_area_class_init): Fixed signals documentation
1276 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1278 * configure.ac: post release version bump
1279 * debian/changelog: post release version bump
1281 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1286 * configure.ac: Bump version.
1287 * debian/changelog: Updates.
1289 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1291 * hildon/hildon-edit-toolbar.c
1292 (hildon_edit_toolbar_init):
1293 Don't let buttons in HildonEditToolbar receive focus.
1295 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1296 typing on an HW arrows key)
1298 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1300 * doc/Makefile.am: Fix build.
1302 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1304 * doc/Makefile.am: Do not redefine content_files.
1306 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1314 Renamed src/ to hildon/
1319 Include <hildon/hildon.h> directly in all examples.
1321 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1323 * src/hildon-sort-dialog.c
1324 (hildon_sort_dialog_add_sort_key_with_sorting)
1328 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1331 make distcheck passes.
1333 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1335 * Makefile.am: Enable gtk-doc during distcheck.
1337 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1339 * Makefile.am: Do not distribute the debian/ directory.
1341 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1343 * doc/Makefile.am: Add the extra SGML files to content_files,
1344 so that they are distributed properly.
1346 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1348 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1351 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1353 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1354 (hildon_note_new_information_with_icon_name): Set the "icon" property
1355 to preserve soundness.
1357 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-font-selection-dialog.c
1360 (hildon_font_selection_dialog_set_property): Fail when the "family"
1361 property is set to NULL.
1363 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1365 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1368 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1370 * src/hildon-time-selector.h:
1371 Added HildonTimeSelectorFormatPolicy
1372 * src/hildon-time-selector.c:
1373 Added PROP_TIME_FORMAT_POLICY
1374 (_check_ampm_format): renamed to check_automatic_ampm_format
1375 (update_format_policy), (update_format_dependant_columns): new functions
1376 (hildon_time_selector_class_init)
1377 (hildon_time_selector_contructor)
1378 (hildon_time_selector_init)
1379 (hildon_time_selector_get_property)
1380 (hildon_time_selector_set_property)
1381 (hildon_time_selector_get_time)
1382 (hildon_time_selector_set_time)
1383 * src/hildon-touch-selector.h: new file
1384 * src/hildon-touch-selector.c
1385 (hildon_touch_selector_emit_changed)
1386 (hildon_touch_selector_block_changed)
1387 (hildon_touch_selector_unblock_changed)
1388 Added functions to allow to block the emission of the "changed" signal
1389 * src/hildon-picker-dialog.c
1390 (hildon_picker_dialog_show): call the parent show before the custom code
1391 * examples/hildon-time-button-example.c
1392 Modified, so now you can configure the time format using the new property
1394 Added a new property "time-format-policy" that allow to choose the time
1395 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1396 case it uses gconf in order to check if the time selector must use
1399 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1402 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1404 * src/hildon-note.c (hildon_note_init):
1405 Label in HildonNote must be left aligned, not centered. This
1406 reverts the last commit in HildonNote.
1408 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1409 is connectivity dialog)
1411 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1416 * doc/hildon-sections.txt:
1417 Added hildon_gtk_window_set_do_not_disturb()
1419 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1421 * src/hildon-note.c (hildon_note_init): Center label.
1423 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1426 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1431 * configure.ac: Bump version.
1432 * debian/changelog: Updates.
1434 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-note-private.h: Add button-width to the private data.
1437 * src/hildon-note.c (+resize_button),
1438 (+hildon_note_orientation_update): methods to repack widgets on orientation
1440 (screen_size_changed): Call above method for confirmation notes.
1441 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1442 (hildon_note_rebuild): Store the original width request from buttons.
1444 Fixes: NB#109635 (Confirmation notes do not support portrait)
1446 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1448 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1449 when it is a progress note.
1451 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1454 in the note, since there are no horizontally arranged contents.
1456 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-gtk.c (+set_flag): new generic method to
1459 set/delay a flag setting in a window.
1460 (hildon_gtk_window_set_progress_indicator):
1461 (hildon_gtk_window_set_do_not_disturb),
1462 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1463 avoid code redundance.
1465 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1467 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1469 * src/hildon-gtk.c (set_clear_window_flag),
1470 (do_set_progress_indicator), (do_set_do_not_disturb),
1471 (do_set_portrait_flags),
1472 (hildon_gtk_window_set_progress_indicator),
1473 (hildon_gtk_window_set_do_not_disturb),
1474 (hildon_gtk_window_set_portrait_flags):
1475 Allow setting dnd-flag, progress indicator, and portrait flags
1476 when the window is not realized.
1478 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1480 * src/hildon-pannable-area.c,
1481 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1482 the size request policy function and defines.
1484 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1486 * doc/hildon-sections.txt: Add the new API.
1487 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1488 method to set the portrait flags.
1489 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1491 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1493 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1496 to allow using this method with other flags.
1497 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1498 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1500 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-touch-selector.c
1503 (hildon_touch_selector_append_text_column):
1504 Make the cell renderer use the smallest width possible.
1506 Fixes: NB#108470 (Selected items in multiple selection are either
1507 having a tick that is cut or not visible at all.)
1509 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1511 * src/hildon-touch-selector.c
1512 (hildon_touch_selector_append_text_column):
1515 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1517 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1518 Use g_strdup_printf() instead of a fixed size buffer.
1520 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1522 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1523 Close banners when a HildonAppMenu is popped up.
1525 Fixes: NB#111027 (Title menu closed immediately if activated when
1526 "Invalid e-mail address" banner is shown)
1528 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1533 * configure.ac: Bump version.
1534 * debian/changelog: Updates.
1536 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1538 * src/hildon-banner.c (hildon_banner_realize):
1539 Mark HildonBanner as supporting portrait mode.
1540 Use GDK to set window properties insetad of direct Xlib calls.
1542 Fixes: NB#111830 (HildonBanner should be marked as supporting
1545 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-note.c (hildon_note_rebuild):
1548 Hide action area in information notes. Prevents text from being
1549 slightly aligned to the left.
1551 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1554 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1556 Patch by Mox Soini (ext-mox.soini@nokia.com)
1558 * src/hildon-banner.c (hildon_banner_create_animation):
1559 Use stylus-sized icons in animation banner.
1561 Fixes: NB#111206 (stylus sized icon for animation banner)
1563 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1567 (+hildon_gtk_window_set_do_not_disturb):
1568 New API to set the do-not-disturb flag.
1570 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1572 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1574 * examples/hildon-progress-indicator-example.c: Fix example
1576 * src/hildon-gtk.c (set_clear_window_flag)
1577 (hildon_gtk_window_set_progress_indicator):
1578 Create a generic function for setting flags to a window.
1579 Use GDK instead of direct Xlib calls.
1581 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1583 * src/hildon-button.c (hildon_button_set_arrangement):
1584 Due to NB#88126, if one of the labels is too long it will be
1585 painted outside the button. The 'value' label is more likely to be
1586 the longest one, so we change its packing options in order to
1587 truncate it if necessary. As a side effect, the 'title' label will
1588 no longer be truncated.
1590 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1592 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1597 * configure.ac: Bump version.
1598 * debian/changelog: Updates.
1600 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1602 Deprecation of the hildon_pannable_area_set_size_request_policy
1603 API, the only policy properly supported in gtk+ nowadays is the
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_area_size_request): Added a workaround for the
1608 size_request to avoid the problems of huge pixmaps in case someone
1609 is still using the function.
1610 * src/hildon-pannable-area.h: Deprecated the enum with the
1613 Fixes: NB#110244 (Problems with the
1614 hildon_pannable_area_set_size_request_policy API)
1616 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1618 * src/hildon-pannable-area.c,
1619 (hildon_pannable_area_init),
1620 (hildon_pannable_area_size_request),
1621 (hildon_pannable_area_style_set),
1622 (hildon_pannable_draw_vscroll),
1623 (hildon_pannable_draw_hscroll),
1624 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1625 indicator_width to clarify the use of the attribute.
1627 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1632 * configure.ac: Bump version.
1633 * debian/changelog: Updates.
1635 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1637 * src/hildon-picker-dialog.c
1638 * src/hildon-touch-selector.c
1639 Reverting the change that tried to avoid the hardcoded height on
1640 the picker dialog, as causes problems on the hildon-touch-selector
1643 Fixes: NB#110029 (selectors not scrolling to selected value)
1645 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1647 * src/hildon-touch-selector.c: Fix typos
1649 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1652 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1653 request more motions after using it.
1655 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/hildon-calendar.c (hildon_calendar_expose),
1658 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1659 Remove unused variables.
1661 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1663 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1664 variable assignment.
1666 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1668 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1669 Check the return value of gtk_tree_selection_get_selected()
1672 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1674 * src/hildon-animation-actor.c
1675 * src/hildon-button.c
1677 * src/hildon-pannable-area.c
1678 * src/hildon-picker-button.c
1679 * src/hildon-program.c
1680 * src/hildon-remote-texture.c
1681 * src/hildon-text-view.c
1682 * src/hildon-touch-selector.c
1683 * src/hildon-window-stack.c
1684 * src/hildon-window.c:
1685 Add missing 'Since: 2.2' tags.
1687 * doc/hildon-sections.txt:
1688 Add some missing symbols.
1690 * doc/hildon-docs.sgml:
1691 New 'Other' section for HildonAnimationActor and
1694 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1696 Patch by Iván Gómez (igomez@igalia.com)
1699 * doc/compiling.sgml
1700 * doc/hildon-docs.sgml
1701 * doc/hildon-sections.txt
1702 * doc/migration.sgml
1703 * doc/resources.sgml
1705 New chapters on using the Hildon library.
1706 Updated the general structure of the reference manual.
1707 Other minor documentation fixes.
1709 * src/hildon-calendar-popup.c
1710 * src/hildon-calendar.c
1711 * src/hildon-controlbar.c
1712 * src/hildon-date-editor.c
1713 * src/hildon-dialog.c
1714 * src/hildon-hvolumebar.c
1715 * src/hildon-number-editor.c
1716 * src/hildon-range-editor.c
1717 * src/hildon-sort-dialog.c
1718 * src/hildon-time-editor.c
1719 * src/hildon-time-picker.c
1720 * src/hildon-volumebar-range.c
1721 * src/hildon-volumebar.c
1722 * src/hildon-vvolumebar.c
1723 * src/hildon-weekday-picker.c:
1724 Add deprecation notes
1726 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1727 Document 'horizontal-movement' and 'vertical-movement' signals.
1729 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1734 * configure.ac: Bump version.
1735 * debian/changelog: Updates.
1737 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1739 * src/hildon-pannable-area.c,
1740 (hildon_pannable_area_class_init): increased the minimum velocity.
1741 (hildon_pannable_area_button_release_cb): Updated the
1742 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1743 setup. Review the code to control that last event.
1745 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1748 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1750 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1752 * src/hildon-get-password-dialog.c
1753 (hildon_get_password_set_property),
1754 (hildon_get_password_get_property), (create_contents):
1755 * src/hildon-login-dialog-private.h:
1756 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1757 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1758 (hildon_login_dialog_get_password):
1759 * src/hildon-set-password-dialog-private.h:
1760 * src/hildon-set-password-dialog.c
1761 (hildon_set_password_set_property),
1762 (hildon_set_password_get_property), (create_contents),
1763 (hildon_set_password_response_change),
1764 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1766 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1767 instead and look more Fremantle style.
1769 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1771 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1773 * doc/hildon-sections.txt
1774 * src/hildon-window-stack.h
1775 * src/hildon-window-stack.c
1776 (+hildon_window_stack_get_windows):
1777 New API to obtain the list of windows on a stack.
1779 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1781 * src/hildon-app-menu.c (hildon_app_menu_popup)
1782 (hildon_app_menu_class_init, -hildon_app_menu_show):
1783 Remove hildon_app_menu_show() and move all its checks to
1784 hildon_app_menu_popup()
1786 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1788 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1789 (_hildon_picker_dialog_set_selector): removed call to
1790 gtk_widget_set_size_request
1791 * src/hildon-touch-selector.c
1792 (_create_new_column): change the pannable size request policy
1794 Avoid to use a hardcoded height for the hildon picker dialog. In order
1795 to get that, we needed to change the hildon pannable size request
1797 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1799 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1802 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1805 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1807 * debian/control: Depend on osso-system-lock localization package.
1808 * src/hildon-code-dialog.c: Obtain the secu_application_title
1809 translation from osso-system-lock.
1810 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1811 for translation the atk related strings, that's not necessary.
1812 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1813 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1814 cancel button, it is not required.
1816 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1818 * src/hildon-pannable-area.c,
1819 (hildon_pannable_area_class_init): Modified the default value of
1820 the overshooting max speed, we have reduced it.
1822 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1824 * doc/hildon-sections.txt
1825 * src/hildon-window-private.h
1826 * src/hildon-window.h
1827 * src/hildon-window.c (hildon_window_class_init)
1828 (hildon_window_init, hildon_window_finalize)
1829 (hildon_window_realize, hildon_window_get_property)
1830 (hildon_window_set_property, hildon_window_update_markup)
1831 (hildon_window_get_markup, hildon_window_set_markup):
1832 New "markup" property and hildon_window_{get,set}_markup() methods.
1834 * examples/hildon-stackable-window-example.c (new_window):
1835 Update example to use hildon_window_set_markup()
1837 Fixes: NB#106375 (Need API to retitle a window with a title
1840 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1842 * src/hildon-pannable-area.c,
1843 (hildon_pannable_area_class_init): Changed the default value of
1844 the initial_hint to TRUE.
1845 (hildon_pannable_area_initial_effect): Changed the initial effect,
1846 not the effect is just the fade-out of the scrollbars.
1848 Fixes: NB#107775 (No scrollbars can be seen when several items are
1849 available in a dialog)
1851 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1853 * src/hildon-program.c (hildon_program_update_top_most):
1856 Fixes: NB#109179 (Memory leak in Hildon program)
1858 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-banner.c (-get_current_app_window):
1861 Remove unused function.
1863 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1865 * src/hildon-pannable-area.c: Modified the documentation of the
1866 get adjustments functions to explain the problem of using the
1867 adjustment directly.
1868 (hildon_pannable_area_class_init): Improved the explanation about
1871 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1873 * src/hildon-app-menu-private.h
1874 * src/hildon-app-menu.c
1875 (hildon_app_menu_class_init):
1876 Bring back the 'external-border' style property
1877 (hildon_app_menu_class_init, hildon_app_menu_init)
1878 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1879 Set a fixed width-request for the menu, independent of the number
1882 Fixes: NB#94957 (Smoothly opened application menu)
1884 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1888 * src/hildon-banner.c
1889 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1891 Make sure that the banner is correctly placed the first time it's
1893 (hildon_banner_check_position, -check_fullscreen_state):
1894 Show the banner in the same place no matter if the window is in
1895 fullscreen mode or not.
1897 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1899 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-touch-selector.c (_default_print_func): reorder
1902 concatenation for clarity.
1904 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1906 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1907 for multicolumn selectors.
1909 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1911 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1916 * configure.ac: Bump version.
1917 * debian/changelog: Updates.
1919 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1921 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1924 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1926 * configure.ac: removed libcangerra-gtk dependency
1927 * debian/control: removed libcanberra-gtk dependency
1928 * src/Makefile.am: removed libcanberra gtk related flags
1929 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1930 context, and manage a global canberra context instead
1932 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1934 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1936 Patch by Daniel Borgmann (danielb@openismus.com)
1938 * src/hildon-edit-toolbar.c:
1939 Adjust the left padding.
1940 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1941 Paint background of the edit toolbar.
1943 Fixes: NB#107897 (Patch to make editmodetoolbar background
1944 themeable and adjust margin)
1946 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1948 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1950 * src/hildon-program.c (hildon_program_update_top_most):
1951 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1953 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1954 change when the user tasks in/out of an application)
1956 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1958 * configure.ac: added libcangerra-gtk dependency
1959 * debian/control: added libcanberra-gtk dependency
1960 * src/Makefile.am: added libcanberra gtk related flags
1961 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1964 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1966 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1968 * src/hildon-program.c (hildon_program_remove_window)
1969 (hildon_program_add_window): Add checks for the window
1970 parameter. Don't decrease the window counter if the window is not
1973 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1975 * src/hildon-pannable-area.c,
1976 (hildon_pannable_area_realize): Fixed position of the event_window
1977 in the realize method.
1979 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1981 * src/hildon-app-menu-private.h
1982 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1983 (hildon_app_menu_map, hildon_app_menu_hide_idle)
1984 (hildon_app_menu_key_press, hildon_app_menu_init)
1985 (hildon_app_menu_finalize):
1986 Make sure that all idle functions are removed when the widget is
1989 Fixes: NB#107583 (Hildon app menu crashes in various applications)
1991 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
1996 * configure.ac: Bump version.
1997 * debian/changelog: Updates.
1999 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-entry.c
2002 (+hildon_entry_show_placeholder),
2003 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2004 that replace hildon_entry_update_contents().
2005 (hildon_entry_set_text),
2006 (hildon_entry_set_placeholder),
2007 (hildon_entry_focus_in_event),
2008 (hildon_entry_focus_out_event): Determine when it is needed
2009 either to show or hide the placeholder and call the above methods.
2011 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2012 when the placeholder text is already set)
2014 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2017 simple GdkPixbufAnim using the new icons for the banner.
2018 (hildon_banner_show_animation): Use the above mentioned method to
2019 create the animation widget.
2021 Fixes: NB#103564 (Make hildon animation banner use individual
2022 image files as the animation)
2024 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2026 * src/hildon-pannable-area.c,
2027 (hildon_pannable_leave_notify_event): Check if the child is NULL
2028 to avoid sending the leave.
2030 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2032 * src/hildon-pannable-area.c,
2033 (hildon_pannable_area_class_init),
2034 (hildon_pannable_leave_notify_event): Added a handler of the
2035 leave-notify-signal to consider when no motion notify before
2038 Fixes: NB#107494 (Items stay selected when clicking and moving
2039 away when inside pannable area)
2041 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2046 * configure.ac: Bump version.
2047 * debian/changelog: Updates.
2049 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2051 Patch by Alberto Garcia (agarcia@igalia.com)
2053 * src/hildon-date-button.c,
2054 (hildon_date_button_class_init),
2055 (hildon_date_button_init): Removed the construct property handling
2056 and created a default selector in the init method.
2057 * src/hildon-picker-button.c,
2058 (hildon_picker_button_class_init): Removed the construct flag of the
2061 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2063 * src/hildon-main.c (hildon_init):
2064 Don't allow hildon_init() to be called more than once.
2066 Fixes: NB#106607 (hildon_init should issue error message upon
2069 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2071 * examples/hildon-pannable-area-touch-list-example.c
2072 * examples/hildon-pannagle-area-touch-grid-example.c
2073 * examples/hildon-edit-toolbar-example.c
2074 * examples/hildon-touch-selector-multi-cells-example.c
2075 Removed the call to gtk_rc_parse_string, as it is not required since
2078 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2080 * src/hildon-pannable-area.c,
2081 (hildon_pannable_area_class_init): Modified the default panning
2082 threshold of the widget to 6px.
2084 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2085 than the threshold value ) within the button is not sending the
2088 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2091 for the treeview in the new column. This way, the touch list will never
2094 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2095 be selected manually for the HW keys to work)
2097 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2100 comparison instead of using strcmp(). Fixes a compiler warning as well.
2102 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2104 * doc/hildon-docs.sgml: Do not set the library version in the
2105 document title, use the releaseinfo tag for that purpose instead.
2107 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2110 Do not jump to the first item if the text in the entry is removed.
2112 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2117 * configure.ac: Bump version.
2118 * debian/changelog: Updates.
2120 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2122 * src/hildon-entry.c (hildon_entry_refresh_contents):
2123 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2124 Use "ReversedSecondaryTextColor" for the placeholder text.
2126 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2128 * src/hildon-text-view.c: Fix compilation warning.
2130 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2132 * src/hildon-button.c (hildon_button_class_init): Don't make
2133 "title" and "value" construction properties, to prevent them from
2134 overwriting labels set from derived classes.
2136 * src/hildon-picker-button.c
2137 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2138 (hildon_picker_button_class_init): Make touch-selector a
2139 construction property.
2141 * src/hildon-date-button.c (hildon_date_button_class_init)
2142 (+hildon_date_button_constructed): Add a default date selector if
2145 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2147 * src/hildon-touch-selector.c: Small documentation fixes.
2149 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2151 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2153 * src/hildon-entry.c (hildon_entry_refresh_contents),
2154 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2155 widget name, set the logical color directly instead and a boolean
2156 showing_placeholder instead.
2157 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2158 use the widget name here either.
2160 Fixes: NB#105678 (HildonTextView should use logical colours
2161 instead of setting widget name)
2163 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2165 Patch by Daniel Elster (danielk@openismus.com)
2167 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2168 Add user_data parameter.
2169 (hildon_touch_selector_set_print_func_full): New function akin
2170 hildon_touch_selector_set_print_func() but with support for user
2171 data and a destroy callback.
2172 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2173 to clean up the print function user data.
2174 (hildon_touch_selector_class_init): Install dispose function.
2175 (HildonTouchSelectorPrivate::print_user_data),
2176 (HildonTouchSelectorPrivate::print_destroy_func): New private
2178 (hildon_touch_selector_init): Initialize new private members.
2179 (hildon_touch_selector_get_current_text): Pass along user data
2180 to the print function.
2181 (_default_print_func): Add dummy user_data to parameter list.
2182 * hildon-date-selector.c (_custom_print_func): ditto,
2183 * hildon-time-selector.c (_custom_print_func): ditto,
2184 * hildon-touch-selector-entry.c
2185 (hildon_touch_selector_entry_print_func): ditto.
2187 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2189 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2191 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2193 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2195 * src/hildon-pannable-area.c,
2196 (hildon_pannable_area_init),
2197 (hildon_pannable_area_button_press_cb),
2198 (hildon_pannable_area_motion_notify_cb): We have added code to
2199 handle the leave and enter events when using the motion events.
2201 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2203 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2205 * src/hildon-date-button.c (hildon_date_button_get_date)
2206 (hildon_date_button_set_date): Make sure that the button has a
2209 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2211 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2213 * src/hildon-pannable-area.c,
2214 (hildon_pannable_area_class_init),
2215 (hildon_pannable_area_calculate_velocity): Modify the use of the
2216 force and adapt the value.
2218 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2220 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2221 (hildon_app_menu_class_init): Hide the menu if it receives a
2222 delete-event, but don't destroy it
2224 Fixes: NB#104485 (Not able to address the call when application
2225 menu is opened at background)
2227 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-app-menu.c
2230 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2231 Remove the "external-border" style property, let the menu take its
2232 natural size (or the one set by the window manager)
2233 (hildon_app_menu_repack_items):
2234 Don't reshow the menu, avoid flickers.
2236 Partially fixes NB#94957 (Smoothly opened application menu)
2238 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2243 * configure.ac: Bump version.
2244 * debian/changelog: Updates.
2246 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2248 * src/hildon-pannable-area.c,
2249 (hildon_pannable_area_motion_notify_cb): We control that the
2250 direction error margin is used just in case the movement is
2251 allowed in the other direction.
2253 Fixes: NB#105012 (buttons inside a pannable area not getting
2254 release event when dragging/releasing)
2256 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2258 * src/hildon-pannable-area.c,
2259 (hildon_pannable_area_class_init),
2260 (hildon_pannable_area_get_property),
2261 (hildon_pannable_area_set_property),
2262 (hildon_pannable_area_initial_effect),
2263 (hildon_pannable_axis_scroll),
2264 (hildon_pannable_area_button_release_cb): Reviewed the
2265 overshooting effect, now it has its own max
2266 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2267 speed when bouncing.
2269 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2274 * configure.ac: Bump version.
2275 * debian/changelog: Updates.
2277 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2279 * src/hildon-pannable-area.c,
2280 (hildon_pannable_area_class_init): Changed the max speed, now
2281 users can launch the widget very fast. Reduced the default force,
2282 that way it is easier to control the launch speed.
2284 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2286 * src/hildon-pannable-area.c,
2287 (hildon_pannable_area_button_release_cb): Removed this check
2288 because it causes problems when the device is overloaded.
2290 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2293 add a current_text field to store the text entered in the
2294 touch selector entry.
2295 (_clean_current_selection): clean up the current text as well.
2296 (_save_current_selection), (_restore_current_selection):
2297 Save/restore the text in the entry if the selector is a
2298 HildonTouchSelectorEntry.
2300 Fixes: NB#102541 (value entered in the touch selector entry is not
2301 shown when opened for second time)
2303 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2305 * doc/hildon-sections.txt:
2306 * src/hildon-touch-selector-entry.c
2307 (+hildon_touch_selector_entry_get_entry):
2308 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2310 Fixes: NB#104815 (I need accessor to the entry inside
2311 HildonTouchSelectorEntry)
2313 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2315 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2316 (hildon_app_menu_class_init):
2317 New "filter-vertical-spacing" style property.
2319 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-find-toolbar.c
2322 (hildon_find_toolbar_emit_close)
2323 (hildon_find_toolbar_emit_invalid_input)
2324 (hildon_find_toolbar_entry_activate):
2325 Use g_signal_emit() instead of g_signal_emit_by_name()
2327 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2329 Patch by Mox Soini (ext-mox.soini@nokia.com)
2331 * tests/TEST-CASES.txt
2332 * tests/check-hildon-banner.c
2333 * tests/check-hildon-note.c
2334 * src/hildon-banner.c
2335 * src/hildon-code-dialog.c
2336 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2337 * src/hildon-time-editor.c
2338 * examples/hildon-lookup-example.c (main):
2339 Replace obsolete icon names with new ones.
2341 * src/hildon-find-toolbar-private.h:
2342 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2343 (-hildon_find_toolbar_emit_search):
2344 Remove find button and change icon of close button.
2346 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2348 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-time-button.c (hildon_time_button_new_step):
2351 Use the "touch-selector" property to set the selector directly
2352 when creating the object.
2354 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2356 Added a new example application that allows tuning the pannable
2357 area and replaced defines with properties in order to simplify the
2358 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2359 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2360 PROP_DIRECTION_ERROR_MARGIN.
2362 * examples/hildon-pannable-area-tuning-example.c: New example
2364 * src/hildon-pannable-area.c,
2365 (hildon_pannable_area_class_init),
2366 (hildon_pannable_area_init),
2367 (hildon_pannable_area_get_property),
2368 (hildon_pannable_area_set_property),
2369 (hildon_pannable_area_launch_fade_timeout),
2370 (hildon_pannable_area_adjust_value_changed),
2371 (hildon_pannable_axis_scroll),
2372 (hildon_pannable_area_motion_notify_cb),
2373 (hildon_pannable_area_scroll_cb),
2374 (hildon_pannable_area_button_release_cb): We have converted some
2375 of the defines that control the widget to properties to simplify
2378 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2380 * src/hildon-app-menu.c (hildon_app_menu_map)
2381 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2382 so it's closed if a new window appears.
2384 Fixes: NB#104485 (Not able to address the call when application
2385 menu is opened at background)
2387 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2390 missing 'break' statement in in 'case' construct to avoid
2393 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-touch-selector-entry.c
2396 (hildon_touch_selector_entry_get_property),
2397 (hildon_touch_selector_entry_set_property): Add missing 'break'
2398 statements in in 'case' constructs to avoid incorrect warnings.
2400 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-time-editor.c
2403 (hildon_time_editor_get_time_separators): Do not crash if
2404 the first label is NULL.
2406 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-date-selector.c (_month_days): Check for month to be
2409 strictly less than 12, since otherwise we may overrun the array.
2411 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-date-button.c (+hildon_date_button_new_full)
2414 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2415 (hildon_date_button_init): Set the date selector using a
2416 construction property, to make it happen after HildonButton's
2417 "value" property is set.
2419 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2420 current date by default)
2422 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2424 * doc/hildon-sections.txt
2425 * src/hildon-program.c
2426 * src/hildon-stackable-window.c
2427 * src/hildon-window.c:
2428 Documentation updates
2430 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2433 (hildon_window_stack_new, +hildon_window_stack_set_property)
2434 (+hildon_window_stack_get_property)
2435 (hildon_window_stack_class_init)
2436 (+hildon_window_stack_set_window_group)
2437 (+hildon_window_stack_get_window_group):
2438 Make the window group a construction property.
2440 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2442 * doc/hildon-sections.txt
2443 * src/hildon-stackable-window-private.h
2444 * src/hildon-stackable-window.h
2445 * src/hildon-stackable-window.c
2446 (-hildon_stackable_window_set_app_menu)
2447 (-hildon_stackable_window_get_app_menu)
2448 (-hildon_stackable_window_toggle_menu)
2449 (-hildon_stackable_window_finalize)
2450 (hildon_stackable_window_class_init)
2451 (hildon_stackable_window_init)
2452 * src/hildon-window-private.h
2453 * src/hildon-window.h
2454 * src/hildon-window.c (hildon_window_init)
2455 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2456 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2457 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2458 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2459 Moved all HildonAppMenu code to HildonWindow. The menu does not
2460 require a HildonStackableWindow anymore.
2462 * src/hildon-app-menu.c
2463 * src/hildon-program.c
2464 * examples/hildon-app-menu-example.c (main):
2465 Update examples and documentation to reflect HildonAppMenu
2468 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2470 * src/hildon-remote-texture.c
2471 * src/hildon-animation-actor.c:
2472 Don't include unused private headers.
2474 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-program-private.h
2477 * src/hildon-program.c
2478 (hildon_program_set_common_menu)
2479 (hildon_program_get_common_menu)
2480 (hildon_program_set_common_app_menu)
2481 (hildon_program_get_common_app_menu):
2482 Change common menu pointers from GtkWidget* to GtkMenu* and
2483 HildonAppMenu* to avoid unnecessary casts.
2485 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-window.c (hildon_window_set_main_menu):
2488 Removed incorrect 'Since:' tag
2490 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2492 * src/hildon-pannable-area.c,
2493 (hildon_pannable_area_calculate_velocity): We use now the
2494 RATIO_TOLERANCE here to check the distance, fixed typo in the
2496 (hildon_pannable_area_motion_notify_cb): We have to set the type
2497 and time even if we are not sending the motion.
2499 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2501 * doc/hildon-sections.txt
2502 * src/hildon-app-menu.h
2503 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2504 (+hildon_app_menu_get_filters): New methods to get the contents of
2507 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2510 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2512 * src/hildon-app-menu.c (hildon_app_menu_popup):
2515 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-window.h
2518 * src/hildon-window.c (+hildon_window_get_main_menu)
2519 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2520 and deprecated hildon_window_get_menu().
2522 * src/hildon-stackable-window.h
2523 * src/hildon-stackable-window.c
2524 (+hildon_stackable_window_set_app_menu)
2525 (+hildon_stackable_window_get_app_menu)
2526 (hildon_stackable_window_set_main_menu): Created
2527 hildon_stackable_window_{get,set}_app_menu() and deprecated
2528 hildon_stackable_window_set_main_menu().
2530 * doc/hildon-sections.txt
2531 * examples/hildon-app-menu-example.c (main)
2532 * src/hildon-app-menu.c
2533 * src/hildon-program.c:
2534 Updated examples and documentation.
2536 Fixes: NB#103758 (No way to obtain a menu from a
2537 HildonStackableWindow)
2539 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2544 * configure.ac: Bump version.
2545 * debian/changelog: Updates.
2547 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2549 * examples/hildon-remote-texture-example.c: Include
2550 hildon-remote-texture.h explicitely.
2551 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2552 applications not defining _XOPEN_SOURCE which don't require this header.
2554 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2556 * doc/hildon-sections.txt
2557 * src/hildon-app-menu.h
2558 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2559 New function to pop up a HildonAppMenu
2561 * src/hildon-stackable-window.c
2562 (hildon_stackable_window_toggle_menu):
2563 Use hildon_app_menu_popup() to show the menu.
2565 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-app-menu.c (hildon_app_menu_show)
2568 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2569 menu if there's another window between it and its parent window.
2571 Fixes: NB#100468 (Application menu window is launched even when a
2572 new secondary-window/dialog is pending to be shown/realized)
2574 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-window-stack.c (hildon_window_stack_push)
2577 (hildon_window_stack_pop_and_push):
2578 Don't forget to push/pop the first window.
2579 Reverse the window list before calling _push_list()
2581 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-picker-button.h
2584 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2585 Remove "value_changed" slot to avoid ABI breakage
2587 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2589 * src/hildon-pannable-area.c,
2590 (hildon_pannable_area_realize),
2591 (hildon_pannable_area_unrealize),
2592 (hildon_pannable_draw_vscroll),
2593 (hildon_pannable_draw_hscroll): Changed the method to handle the
2594 GC used to draw the transparent scrollbar, this way we avoid
2595 creating the GC all the time when drawing the scrollbars.
2597 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2599 * src/hildon-pannable-area.c,
2600 (hildon_pannable_area_init),
2601 (hildon_pannable_area_remove): Removed some unnecessary casts.
2602 (hildon_pannable_area_dispose): Disconnected some signals before
2603 releasing the adjustments.
2605 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2608 Make sure that all widgets contained in the toolbar are shown.
2610 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2612 * doc/hildon-sections.txt
2613 * src/hildon-picker-button.h
2614 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2615 (_selection_changed, hildon_picker_button_on_dialog_response)
2616 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2617 New hildon_picker_button_value_changed() method.
2620 * src/hildon-picker-button-private.h
2621 * src/hildon-picker-button.c (hildon_picker_button_init)
2622 (+hildon_picker_button_disable_value_changed): Add protected
2623 function for disabling the "value-changed" signal.
2625 * src/hildon-date-button.c (hildon_date_button_set_date):
2626 Don't emit "value-changed" for each one of the three columns.
2628 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2629 before actual change of values)
2631 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-pannable-area.c,
2634 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2635 for the treeview overshooting.
2637 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-banner.c (+hildon_banner_bind_style):
2640 Renamed from hildon_banner_bind_label_style(), now naming the
2641 banner itself as well.
2642 (hildon_banner_show_information),
2643 (hildon_banner_show_information_with_markup),
2644 (hildon_banner_show_animation), (hildon_banner_show_progress):
2645 Name the widgets and labels, based on their type.
2647 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2650 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-note.c (hildon_note_set_property): call
2653 hildon_note_rename() on HildonNote:note-type set.
2654 (hildon_note_rename): Name the note and its label, based on the
2655 HildonNote:note-type property.
2657 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2660 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2662 * src/hildon-pannable-area.c,
2663 (hildon_pannable_area_class_init),
2664 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2665 panning parameters, increased SPS and deceleration factor. Added
2666 also a margin to control fake directions.
2668 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2670 Patch by Sven Herzberg (sven@imendio.com)
2672 * configure.ac: Add missing AM_PROG_CC_C_0
2673 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2675 See NB#101420 (Update unit tests and fix make check)
2677 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2679 This patch was applied before but reverted because it caused
2680 problems, we have changed the main condition and tested the
2681 regressions we detected before and they work ok. We have done a
2682 complete review of the topmost algorithm in order to get a more
2685 * src/hildon-pannable-area.c,
2686 (hildon_pannable_area_get_topmost): Added a new parameter to
2687 filter the the windows that do not include those events.
2688 (hildon_pannable_area_button_press_cb),
2689 (hildon_pannable_area_button_release_cb),
2690 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2691 topmost function, we have added the new parameter.
2693 Fixes: NB#97458 (Pannable area prevents propagation of button
2696 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2699 if all columns in the selector have an item selected.
2700 (_on_dialog_response): Stop "response" signal emission if there is
2701 any selector column without selected items.
2703 Fixes: NB#101889 (Picker dialog should not close when nothing is
2704 selected in multiple selection list)
2706 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-font-selection-dialog.c
2709 (hildon_font_selection_dialog_class_init),
2710 (hildon_font_selection_dialog_init): Remove the preview
2711 button and dialog, since previewing with default theming is likely
2712 to be overcomplicated. The :preview property has now no effect.
2713 Update documentation blurbs to inform about this.
2715 Fixes: NB#92297 (Preview content is not clearly visible for
2716 default colour text)
2718 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2720 Reviewed the geometry that handles the children size and
2721 scrollbar, now it tries a size and reviews the results depending
2722 on the scrollbars visibility.
2724 * src/hildon-pannable-area.c,
2725 (hildon_pannable_area_realize): Fixed a typo.
2726 (hildon_pannable_area_child_allocate_calculate): Added this
2727 function to calculate the child allocation.
2728 (hildon_pannable_area_size_allocate): Reviewed the allocation
2730 (hildon_pannable_area_check_scrollbars),
2731 (hildon_pannable_area_refresh): Refactored refresh function, this
2732 way we can call the code handling the scrollbars without causing a
2733 size_request, it is interesting in the allocate.
2734 (hildon_pannable_area_init): Replace the callbacks of the
2735 value_changed and changed signals to propertly deal with the
2737 (hildon_pannable_area_grab_notify),
2738 (hildon_pannable_area_initial_effect),
2739 (hildon_pannable_area_launch_fade_timeout),
2740 (hildon_pannable_area_adjust_changed),
2741 (hildon_pannable_area_adjust_value_changed),
2742 (hildon_pannable_area_redraw),
2743 (hildon_pannable_area_button_press_cb),
2744 (hildon_pannable_area_button_release_cb),
2745 (hildon_pannable_area_scroll_cb),
2746 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2747 code and use the new functions adjust_changed and
2748 adjust_value_changed.
2750 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2751 Contact editor dialog)
2753 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: Bump version.
2759 * debian/changelog: Updates.
2761 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2763 * src/hildon-pannable-area.c,
2764 (hildon_pannable_area_get_topmost),
2765 (hildon_pannable_area_button_press_cb),
2766 (hildon_pannable_area_button_release_cb),
2767 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2768 topmost function adding the event mask. We have to try a
2769 differente approach because it is still causing problems (NB#9745,
2772 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-banner.c:
2775 Update the maximum width of timed banners.
2776 (force_to_wrap_truncated): Enforce the maximum text width if the
2779 Fixes: NB#102413 (The text margins (wrapping) in information
2780 banner should be HILDON_MARGIN_TRIPLE)
2782 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2784 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2786 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2787 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2788 bound when calculating the scroll indicator position.
2790 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2791 treat ->lower correctly)
2793 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2795 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2796 expose event handling, since it is not necessary to draw the focus
2799 Fixes: NB#102467 (Do not show highlight on the text in
2802 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2804 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2805 full height of the toolbar for the button and the label.
2807 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2810 padding before the label and after the button.
2812 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2816 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2817 Add a GtkVSeparator between the button and the back arrow.
2818 Let the button have automatic size.
2819 Set a name to the widget for theming handling.
2821 Fixes: NB#101793 (Make edit toolbar the same height as window
2822 title bar (use title area theming))
2824 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-helper.c (attach_new_color_element): Fix memory
2829 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2831 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2833 * examples/hildon-button-example.c (common_buttons_window): Don't
2836 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2838 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2839 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2841 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-gtk.c: Check that the window is realized.
2845 Fixes: NB#102225 (Crash setting the progress indicator to a non
2848 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2851 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2852 instead of modifying the one in the widget style.
2854 Fixes: NB#101043 (Second row of all the command button are
2855 displayed in transparent mode.)
2857 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-date-button.c
2860 * src/hildon-time-button.c: Add gettext macros
2862 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2864 * src/hildon-date-button.c (hildon_date_button_new):
2865 * src/hildon-time-button.c (hildon_time_button_new_step):
2866 Use new logical strings to set the button default title.
2868 Fixes: NB#99915 (Date and Time options are not localised in Date
2871 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2873 * src/hildon-pannable-area.c
2874 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2875 the PANNING_THRESHOLD.
2877 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2879 * src/hildon-pannable-area.c,
2880 (hildon_pannable_area_class_init): Increased the maximum speed.
2881 (hildon_pannable_area_get_property),
2882 (hildon_pannable_area_set_property),
2883 (hildon_pannable_area_timeout): Added a new low friction mode, it
2884 allows the user avoid friction when launching the widget fast
2885 enough. It is interesting to traverse long lists.
2887 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2890 (+hildon_stackable_window_delete_event): Ignore delete events if
2891 the window is not the topmost one.
2893 Fixes: NB#101698 (Back button long press and delete-event handling)
2895 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2897 * src/hildon-pannable-area.c,
2898 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2899 gtk-dnd-drag-threshold, it was too big. We have defined our own
2900 dnd define and set a smaller value: PANNIG_THRESHOLD.
2902 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2904 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2905 user-defined icons, use always the default one.
2907 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2909 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2911 This patch was applied before but reverted because it caused
2912 problems, we have changed the main condition and tested the
2913 regressions we detected before and they work ok.
2915 * src/hildon-pannable-area.c,
2916 (hildon_pannable_area_get_topmost): Added a new parameter to
2917 filter the the windows that do not include those events. Added
2918 also a condition when finding the window to filter windows that do
2919 not ask for those events.
2920 (hildon_pannable_area_button_press_cb),
2921 (hildon_pannable_area_button_release_cb),
2922 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2923 topmost function, we have added the new parameter.
2925 Fixes: NB#97458 (Pannable area prevents propagation of button
2928 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2930 * tests/check-hildon-color-button.c (START_TEST): do not leak
2933 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-font-selection-dialog.c
2936 (hildon_font_selection_dialog_get_preview_text): Return NULL
2937 instead of FALSE on the g_return_val_if_fail().
2939 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2942 * src/hildon-date-selector.c
2943 (hildon_date_selector_select_current_date):
2944 Do not compare unsigned integers to be greater than or equal 0,
2945 because it's always TRUE.
2947 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2950 (hildon_date_selector_constructor): Do not select the current
2951 date until we are handle the "changed" signal, to avoid having bogus
2952 elements in the days model.
2954 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2956 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2957 for num_days, since _month_days() can return a negative value.
2959 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2961 * src/hildon-caption.c (hildon_caption_size_allocate):
2962 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2963 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2965 Initialize allocation variables to 0, to avoid eventually using
2966 unitialized variables.
2968 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-bread-crumb-trail.c
2971 (hildon_bread_crumb_trail_size_allocate):
2972 * src/hildon-calendar.c (hildon_calendar_set_background):
2973 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2974 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2975 * src/hildon-seekbar.c (hildon_seekbar_init):
2976 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2977 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2978 * src/hildon-touch-selector-entry.c
2979 (hildon_touch_selector_get_text_from_model):
2980 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2981 * src/hildon-window.c (hildon_window_finalize):
2983 Remove many unused variables.
2985 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-seekbar.c: (hildon_seekbar_init),
2988 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
2990 Remove unnecessary g_assert() calls.
2992 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-caption.c: (hildon_caption_expose),
2995 (hildon_caption_set_property), (hildon_caption_init),
2996 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
2997 (hildon_caption_size_request), (hildon_caption_size_allocate),
2998 (hildon_caption_forall), (hildon_caption_set_separator),
2999 (hildon_caption_activate), (hildon_caption_set_child_expand),
3000 (hildon_caption_set_label_text),
3001 (hildon_caption_get_label_alignment):
3003 Remove unnecessary g_assert() calls.
3005 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-banner.c
3008 (hildon_banner_map, hildon_banner_init): Make banner temporary
3009 before mapping it to avoid closing other temporary windows, but
3010 make it non-temporary afterwards to avoid being closed by other
3011 non-temporary windows.
3012 (-hildon_banner_client_event, hildon_banner_init):
3013 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3015 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3018 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3023 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3025 * src/hildon-remote-texture.c
3026 * src/hildon-remote-texture.h
3027 * src/hildon-remote-texture-private.h
3028 * examples/hildon-remote-texture-example.c:
3029 Updates/fixes to remote-texture and its example.
3031 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3033 Patch by Mox Soini (ext-mox.soini@nokia.com)
3035 * src/hildon-code-dialog.c: Update logical id.
3036 * src/hildon-set-password-dialog.c: Update logical id.
3038 Fixes: NB#100646 (Logical strings is shown for ok in set
3039 password,Password needed dialogs)
3041 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3044 * src/hildon-remote-texture.c
3045 * src/hildon-remote-texture.h
3046 * src/hildon-remote-texture-private.h
3048 Added remote texture widget (for Clutter shared memory textures)
3050 * examples/hildon-remote-texture-example.c
3051 * examples/Makefile.am
3052 Added example file for remote texture usage
3054 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3056 * configure.ac: post release version bump.
3057 * debian/changelog: version bump.
3059 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3064 * configure.ac: Bump version.
3065 * debian/changelog: Updates.
3067 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3069 * src/hildon-date-selector.c (hildon_date_selector_init)
3070 (hildon_date_selector_constructor): Don't connect to the "changed"
3071 signal until the selector is completely constructed.
3073 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-touch-selector.c: (_create_new_column),
3076 (hildon_touch_selector_append_column),
3077 (hildon_touch_selector_set_column_selection_mode),
3078 (hildon_touch_selector_set_active),
3079 (hildon_touch_selector_select_iter):
3080 Emit the HildonTouchSelector::changed signal every time selection
3081 is changed in any of the methods above. This behavior was already
3082 documented but not fully functional.
3084 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3085 selection is programmatically changed)
3087 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3089 * doc/hildon-sections.txt: Remove obsolete icon
3090 sizes from here as well.
3092 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3094 * examples/hildon-stackable-window-example.c (add_window): Remove
3097 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-app-menu.c
3100 (hildon_app_menu_show): Check whether the parent window of a menu
3101 is topmost before popping it up.
3103 Fixes: NB#100468 (Application menu window is launched even when a
3104 new secondary-window/dialog is pending to be shown/realized.)
3106 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3108 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3111 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3113 Patch by Mox Soini (ext-mox.soini@nokia.com)
3115 * src/hildon-banner.c: (hildon_banner_show_animation):
3116 use stylus size instead of obsolete note size.
3117 * src/hildon-defines.h: Update icon sizes.
3119 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3121 * src/hildon-touch-selector-entry.c:
3122 (hildon_touch_selector_entry_init): Disable unsupported
3124 (hildon_touch_selector_entry_get_text_column): Emit a warning
3125 if an unsupported input modes is used and explicitile state
3126 these modes in the documentation.
3128 Fixes: NB#99802 (Hildon touch selector entry not working properly
3129 for some of the input modes)
3131 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3133 * src/hildon-pannable-area.c,
3134 (hildon_pannable_area_init): Added the changed signal handlers of
3137 Fixes: NB#100320 (HildonPannableArea does not listen to
3138 GtkAdjustment "change" signals)
3140 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3142 * doc/hildon-sections.txt
3143 * src/hildon-window-private.h
3144 * src/hildon-window.h
3145 * src/hildon-window.c (hildon_window_init)
3146 (hildon_window_realize, hildon_window_unrealize)
3147 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3148 (hildon_window_size_request, hildon_window_size_allocate)
3149 (hildon_window_forall, hildon_window_show_all)
3150 (hildon_window_destroy, +paint_edit_toolbar)
3151 (+hildon_window_set_edit_toolbar):
3152 New hildon_window_set_edit_toolbar() method, to add a
3153 HildonEditToolbar to a window without having to pack it manually.
3155 Reorganize hildon_window_size_allocate()
3157 * src/hildon-edit-toolbar.c: Update documentation.
3159 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3160 example to use the new API.
3162 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3164 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3166 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3167 Remove from stack before calling parent's hide.
3169 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3172 window is removed from the middle of the stack, update the
3173 transiency of the previous one.
3175 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3178 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3180 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3181 block/unblock the signal handler if it's not actually being used.
3182 Fixes some critical warnings.
3184 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3186 Based on a patch by Iván Gómez (igomez@igalia.com)
3188 * src/hildon-banner.c
3192 * src/hildon-pannable-area.c
3193 * src/hildon-picker-dialog.c
3194 * src/hildon-wizard-dialog.h
3195 * src/hildon-wizard-dialog.c: Documentation updates.
3197 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3198 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3200 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3202 * configure.ac: post release version bump.
3203 * debian/changelog: version bump.
3205 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3210 * configure.ac: Bump version.
3211 * debian/changelog: Updates.
3213 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3216 a stock icon nor change the relief of the back arrow.
3218 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3219 graphics from theme)
3221 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-button.c (hildon_button_set_alignment): Use
3224 priv->alignment if the button has no child yet.
3226 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-button.c: (hildon_button_init): Set the
3229 button style during initialization to give it the proper
3232 Fixes: NB#99713 (HildonButton value label color is wrong)
3234 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3236 * src/hildon-touch-selector.c: Document
3237 hildon_touch_selector_center_on_selected()
3239 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3242 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3243 all menu items, but not the menu itself.
3244 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3245 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3246 items after adding them to the menu so keyboard accelerators work.
3247 (hildon_app_menu_show): Don't show the menu if it contains items
3248 but none of them are visible.
3250 * examples/hildon-app-menu-example.c (create_menu): Use
3251 gtk_widget_show_all() to show all menu items.
3253 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-picker-dialog.c:
3256 (-_update_title_on_selector_changed_cb),
3257 (-_dialog_update_title): Removed.
3258 (_select_on_selector_changed_cb), (_on_dialog_response),
3259 (on_selector_columns_changed): Do not update the dialog title.
3260 (setup_interaction_mode): Do not connect to
3261 HildonTouchSelector::changed signal if there's a "done" button, as
3262 the dialog title doesn't need to be updated.
3264 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3267 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3269 Patch by Kristian Rietveld (kris@imendio.com)
3271 * src/hildon-touch-selector.c: (_create_new_column): Use new
3272 GtkTreeView::hildon-row-tapped signal to react to user interactions
3273 instead of ::changed.
3275 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3276 with some dynamic tree model)
3278 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3281 (+screen_size_changed, +label_size_request)
3282 (hildon_note_class_init): Make the Hildon information note have a
3283 minimum height, and make its text hvae a maximum width.
3285 Fixes: NB#98614 (Hildon information note (background) should have
3286 minimum height and maximum text width)
3288 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-banner.h
3291 * src/hildon-banner.c (hildon_banner_show_information)
3292 (hildon_banner_show_informationf)
3293 (hildon_banner_show_information_with_markup): Update documentation
3294 to reflect that the icon_name parameter is not used anymore.
3295 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3296 Remove all code from these functions and mark them as deprecated.
3297 (hildon_banner_show_progress): Mark as deprecated.
3299 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3301 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3303 * src/hildon-pannable-area.c,
3304 (hildon_pannable_area_class_init),
3305 (tranparency_color),
3306 (hildon_pannable_draw_vscroll),
3307 (hildon_pannable_draw_hscroll),
3308 (hildon_pannable_area_expose_event): Added a new way to render the
3309 scrollbars of the pannable area avoiding using cairo at all. This
3310 way we improve the performance of the pannable area rendering. The
3311 cairo rendering procedure is still in the code, we can control
3312 which one to use changing the value of the define
3313 USE_CAIRO_SCROLLBARS.
3315 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3317 * configure.ac: post release version bump.
3318 * debian/changelog: version bump.
3320 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3325 * configure.ac: Bump version.
3326 * debian/changelog: Updates.
3328 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3330 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3331 banners instead of destroying them when they receive a button
3334 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3336 Reverted commit 34028, it was causing regressions, probably the
3337 topmost condition is not correct, we have to check it in more
3338 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3339 propagation of button press events)
3341 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3343 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3344 that the selection is not empty before attempting to retrieve the
3345 current ampm selection.
3347 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-picker-button.c:
3350 (hildon_picker_button_on_dialog_response): Directly update the
3351 button contents when required instead of calling _selection_changed.
3353 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3355 * src/hildon-program.c (hildon_program_update_top_most): Update
3356 'is-topmost' property also when wm_hints is not set.
3358 Fixes: NB#98383 (is-topmost signal is not emitted when task
3359 switcher is clicked.)
3361 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3363 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3367 * src/hildon-animation-actor.c,
3368 * src/hildon-animation-actor.h: Added the animation actor class,
3369 this widget represents an animation actor for WM-assisted
3370 animation effects in the Hildon framework.
3372 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-window-stack-private.h
3375 * src/hildon-window-stack.c
3376 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3377 Avoid calling gtk_widget_show() again indirectly from
3378 hildon_stackable_window_show()
3380 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3382 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3385 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3387 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3388 (hildon_time_selector_init): Move the construction of the hours and
3389 ampm columns to the constructor to preserve the order the columns
3392 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3394 * src/hildon-picker-dialog.c:
3395 (hildon_picker_dialog_class_init): Connect a realize method.
3396 (+hildon_picker_dialog_realize): Setup the interaction mode here
3398 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3399 yet, do it during the realize instead.
3400 (_on_dialog_response):
3401 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3402 if the widget is not realized, to avoid the dialog response before it
3405 Avoid premature responses in the HildonPickerDialog that can cause it
3406 to be hidden before it's even shown.
3408 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3411 (on_selector_columns_changed), (requires_done_button),
3412 (+prepare_action_area), (setup_interaction_mode),
3413 (_hildon_picker_dialog_set_selector):
3415 Split the interaction mode setup into preparation of the
3416 action area (prepare_action_area()) and the connection of
3417 the signals in setup_interaction_mode() and update the code to
3420 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3422 * src/hildon-pannable-area.c,
3423 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3424 per second to 15, we will check if this is ok regarding
3427 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3429 * src/hildon-pannable-area.c,
3430 (hildon_pannable_axis_scroll): Avoid resize if we already have
3431 reached overshoot_max.
3433 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3435 * src/hildon-pannable-area.c,
3436 (hildon_pannable_area_init),
3437 (hildon_pannable_area_realize),
3438 (hildon_pannable_area_size_allocate),
3439 (hildon_pannable_area_map),
3440 (hildon_pannable_area_unmap),
3441 (hildon_pannable_draw_vscroll),
3442 (hildon_pannable_draw_hscroll),
3443 (hildon_pannable_area_expose_event),
3444 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3445 pannable are to avoid the expose events go to the window and
3446 redraw the window. We save this way that part of the stack and the
3447 paint_boxes. We had to change the positions of the elements when
3450 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3453 * src/hildon-color-chooser-dialog.c:
3454 (hildon_color_chooser_dialog_init):
3455 * src/hildon-font-selection-dialog.c:
3456 (hildon_font_selection_dialog_init),
3457 (hildon_font_selection_dialog_show_preview):
3458 * src/hildon-get-password-dialog.c:
3459 * src/hildon-login-dialog.c:
3460 * src/hildon-set-password-dialog.c:
3461 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3462 * src/hildon-time-picker.c: (hildon_time_picker_init):
3464 Remove obsolete logical string IDs and update to the appropriate ones.
3466 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3468 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3471 that happens if the window hasn't been realized yet.
3473 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3474 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3476 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3479 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3482 Fixes: NB#98537 (Device hangs in account settings dialog)
3484 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3486 * configure.ac: post release version bump.
3487 * debian/changelog: version bump
3489 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3494 * configure.ac: Bump version.
3495 * debian/changelog: Updates.
3497 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3499 Added a new function to the HildonTimeButton widget that allows to
3500 change the step of the minutes in the selector associated with the
3501 button: hildon_time_button_new_step
3503 * src/hildon-time-button.c,
3504 (hildon_time_button_init),
3505 (hildon_time_button_new),
3506 (hildon_time_button_new_step):
3507 * src/hildon-time-button.h: Added the new function and refactored
3509 * examples/hildon-time-button-example.c,
3510 (main): We have replaced the function without parameters with the
3511 function with the steps set to 5
3513 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3515 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-time-selector.c,
3518 (hildon_time_selector_class_init),
3519 (hildon_time_selector_constructor),
3520 (hildon_time_selector_get_property),
3521 (hildon_time_selector_set_property),
3522 (_create_minutes_model),
3523 (hildon_time_selector_new_step),
3524 (hildon_time_selector_set_time),
3525 * src/hildon-time-selector.h: Added a new property to the
3526 HildonTimeSelector (minutes-step), we use that property to control
3527 the steps between the minutes in the list of the selector. We have
3528 added a new function to the API to create a widget changing the
3529 step: hildon_time_selector_new_step.
3531 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3533 * src/hildon-time-selector.c,
3534 (hildon_time_selector_class_init),
3535 (hildon_time_selector_constructor),
3536 (hildon_time_selector_init): Overrided the construct function when
3537 creating the time selector object. We have moved the minutes model
3538 handling code from the init to the new construction function:
3539 hildon_time_selector_constructor.
3541 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3543 * examples/hildon-date-button-example.c: (main): Use the new
3544 hildon_date_button_new_with_year_range() method in the example.
3545 * src/hildon-date-button.c:
3546 (+hildon_date_button_new_with_year_range): New public method
3547 to conveniently create a HildonDateButton with a custom year range
3548 in its HildonDateSelector.
3549 * src/hildon-date-button.h: Add the new public method definition.
3551 Fixes: NB#97908 (Not possible to change the year range in
3552 HildonDateSelector/HildonDateButton)
3554 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-date-selector.c:
3557 (+hildon_date_selector_set_property),
3558 (+hildon_date_selector_get_property),
3559 (hildon_date_selector_class_init): Install new properties "min-year"
3560 and "max-year" to define boundaries for the year column.
3561 (_create_year_model): Use the boundary properties to populate the model.
3562 (+hildon_date_selector_new_with_year_range): New public method to
3563 create a HildonDateSelector with a user defined year range.
3564 (hildon_date_selector_select_current_date): Use the new boundaries to
3565 calculate the iterator of current year.
3566 * src/hildon-date-selector.h: Add the new public method definition.
3568 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3570 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3571 Install a constructor method.
3572 (+hildon_date_selector_construct_ui): construct the widget.
3573 (+hildon_date_selector_constructor): new constructor.
3574 (+hildon_date_selector_init): move out widget construction code to
3575 the new constructor.
3577 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3579 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3580 that there's actually a month or year selected before obtaining them.
3581 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3582 of the HildonTouchSelector::changed signal, as it was emitted on every
3583 single item selection.
3585 Fix some warnings and possible crashers due to the selection restoring.
3587 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3590 the signal handlers only after creating the dialog instead of on every
3593 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3595 * src/hildon-button.c (hildon_button_init)
3596 * src/hildon-check-button.c (hildon_check_button_init)
3597 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3598 focus when clicked by default.
3600 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3605 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3607 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3608 Alejandro G. Castro (alex@igalia.com)
3610 * src/hildon-picker-dialog.c:
3611 (hildon_picker_dialog_class_init): install new "center-on-show"
3613 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3614 (hildon_picker_dialog_set_property): add setter code for the new
3616 (hildon_picker_dialog_get_property): add getter code for the new
3618 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3619 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3622 Fixes: NB#92849 (Selected item is not always visible when
3623 HildonTouchSelector is shown)
3625 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3627 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3628 Alejandro G. Castro (alex@igalia.com)
3630 * src/hildon-touch-selector.c:
3631 (_create_new_column): Do not connect to the "realize" signal of the
3633 (hildon_touch_selector_append_column): center on the selected items
3634 when a new column is appended.
3635 (hildon_touch_selector_select_iter): Factor out the code to select a
3636 column to hildon_touch_selector_scroll_to().
3637 (+search_nearest_element): Method to retrieve the nearest selected
3638 element to the visible area of the pannable area in a column.
3639 (+on_realize_cb): scroll to the initially selected item.
3640 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3641 the pannable area is realized, otherwise delay this until it is.
3642 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3643 selected items of a given column.
3644 (+hildon_touch_selector_center_on_selected): Public method to center
3645 all columns on the nearest selected item.
3646 * src/hildon-touch-selector.h: Add definition for
3647 hildon_touch_selector_center_on_selected().
3649 Implement public API to ensure visibility of all selected items in
3650 a HildonTouchSelector.
3652 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3654 Fixed a problem in the fading when calling the scroll_to API, and
3655 improve scrollbar fading handling.
3657 * src/hildon-pannable-area.c,
3658 (hildon_pannable_area_grab_notify): avoid the timeout when the
3660 (hildon_pannable_area_button_press_cb),
3661 (hildon_pannable_area_motion_notify_cb): Code style changes.
3662 (hildon_pannable_area_button_release_cb): Review the conditions
3663 when releasing the mouse button to avoid unrequired fading
3665 (hildon_pannable_area_scroll_to): Do not calculate and set the
3666 velocity if the scroll is not required.
3668 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3670 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3671 Don't check whether the new selector is NULL: it cannot be.
3672 Hold a reference to the selector while doing the replacement.
3674 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3677 unnecessary size_request in a removed widget.
3679 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3681 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3682 an unnecessary reference tracking that was leaking.
3684 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3686 Added delayed motion notify event handling, this way we can
3687 discard redrawing if more than 25 events arrive per second.
3689 * src/hildon-pannable-area.c,
3690 (hildon_pannable_area_init): Initialized the new private atributes
3691 controlling this timeout
3692 (hildon_pannable_area_dispose): Remove the timeout that controls
3693 the motion notify events.
3694 (hildon_pannable_area_scroll): Added a condition to control the
3695 use of the acceleration.
3696 (hildon_pannable_area_motion_event_scroll_timeout),
3697 (hildon_pannable_area_motion_event_scroll): Added this two
3698 functions, they handle the motion notify events inside the
3700 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3701 to the scroll method with the new function.
3702 (hildon_pannable_area_button_release_cb): We have to remove the
3703 timeout handler and move to the last position if the last motion
3704 events were not handled.
3706 Fixes: NB#97028 (Pannable area updates on every motion event)
3708 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3710 * src/hildon-pannable-area.c,
3711 (hildon_pannable_area_get_topmost): Added a new parameter to
3712 filter the the windows that do not include those events. Added
3713 also a condition when finding the window to filter windows that do
3714 not ask for those events.
3715 (hildon_pannable_area_button_press_cb),
3716 (hildon_pannable_area_button_release_cb),
3717 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3718 topmost function, we have added the new parameter.
3720 Fixes: NB#97458 (Pannable area prevents propagation of button
3723 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3725 * src/hildon-pannable-area.c,
3726 (hildon_pannable_area_initial_effect): Added controls before
3727 launching the timeout and the idle functions.
3728 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3729 of the method, in some situations it can return with TRUE and 0 in
3731 (hildon_pannable_area_button_press_cb): We do not need to set
3732 DELAY for fading out here.
3734 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3736 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3738 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3739 post-cleaning if the selection is not NULL.
3741 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3744 all items before restoring the selection.
3746 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-touch-selector.c:
3749 (+hildon_touch_selector_unselect_all):
3750 * src/hildon-touch-selector.h: New API to unselect all items in a
3751 column of the touch selector.
3753 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3755 * src/hildon-pannable-area.c,
3756 (hildon_pannable_area_redraw): Added a call to the refresh
3757 function inside the redraw because apparently in some cases the
3758 change in the adjustment does not imply a size allocate.
3760 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3761 despite the view not being scrollable)
3763 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3765 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3766 leak. Check for NULL before attempting to set the window title.
3768 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3770 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3771 whether to show or not the 'Done' button each time the dialog is
3772 shown, as it depends on the HildonTouchSelector selection mode.
3774 Fixes: NB#96226 (In multiple selection mode Done button is shown
3775 sometimes in listpicker)
3777 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3780 for the number of columns in the HildonTouchSelector more than once.
3782 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3784 * src/hildon-touch-selector.c: Minor documentation fixes.
3786 * src/hildon-picker-dialog.c (+_dialog_update_title)
3787 (_select_on_selector_changed_cb)
3788 (_update_title_on_selector_changed_cb)
3789 (on_selector_columns_changed): Update dialog title when there's no
3790 'Done' button and also when the number of columns in the selector
3794 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3795 (+_selection_changed, hildon_picker_button_on_dialog_response)
3796 (hildon_picker_button_selector_selection_changed)
3797 (+hildon_picker_button_selector_columns_changed)
3798 (hildon_picker_button_set_selector): Update button value and emit
3799 'value-changed' when the number of columns in the selector
3803 Fixes: NB#96225 (Dialog titles are not shown according to the
3804 values selected in the list picker)
3806 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3809 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3810 New "arrow-width" and "arrow-height" style properties to set the
3811 size of the arrow button.
3812 Set name of arrow button ("hildon-edit-toolbar-arrow").
3814 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3815 graphics from theme)
3817 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3819 * src/hildon-picker-button.c:
3820 (hildon_picker_button_selector_selection_changed): Use
3821 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3822 the dialog is present.
3824 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3825 the selection is accepted in the dialog)
3827 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3829 * src/hildon-color-chooser.h
3830 * src/hildon-color-chooser-dialog.h:
3831 Added G_BEGIN_DECLS and G_END_DECLS
3833 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3835 (_clean_current_selection): plug a leak in the list.
3837 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3839 * src/hildon-picker-dialog.c:
3840 (+free_path_list): Method to free a GList of GtkTreePaths.
3841 (_clean_current_selection), (_save_current_selection),
3842 (_restore_current_selection): Save the current selection in
3843 as a list of lists, to support multiple selection properly.
3845 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3847 patch by Claudio Saavedra (csaavedra@igalia.com)
3849 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3850 Store the press position.
3851 (+hildon_text_view_button_release_event): If the release position is
3852 close enough to the press position, move the cursor here. Otherwise,
3854 (hildon_text_view_class_init): Override GtkTextView press, release, and
3855 motion event handlers, disabling this way text selection through
3856 pointer interaction, and allowing the container widget to handle the
3859 Fixes: NB#95828 (HildonTextView functionality)
3861 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3863 Based on a patch by Iván Gómez (igomez@igalia.com)
3865 * src/hildon-button.[ch]
3866 * src/hildon-calendar.c
3867 * src/hildon-check-button.c
3868 * src/hildon-date-editor.c
3869 * src/hildon-date-selector.c
3870 * src/hildon-picker-button.c
3871 * src/hildon-time-editor.c
3872 * src/hildon-time-selector.c
3873 * src/hildon-touch-selector.[ch]:
3874 Documentation updates
3876 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3878 * src/hildon-pannable-area.c,
3879 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3880 threshold, it was required due to X events handling.
3882 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3884 * src/hildon-pannable-area.c,
3885 (hildon_pannable_area_grab_notify),
3886 (hildon_pannable_area_initial_effect),
3887 (hildon_pannable_area_button_press_cb),
3888 (hildon_pannable_area_button_release_cb),
3889 (hildon_pannable_area_scroll_cb),
3890 (hildon_pannable_area_scroll_to): Review the timeout management of
3891 the scrollbar, the frecuency was incorrectly set.
3893 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-picker-button.c:
3896 (+hildon_picker_button_on_dialog_response),
3897 (hildon_picker_button_clicked): Present the dialog instead of
3898 running it with gtk_dialog_run().
3900 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3903 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3905 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3906 (hildon_app_menu_finalize): When a window is hidden it doesn't
3907 emit notify::is-topmost, so make sure than the menu also
3908 disappears in that case.
3909 (parent_window_topmost_notify): Renamed from parent_window_hidden
3911 Fixes: NB#94460 (stackable window's menu is not closed when its
3914 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3916 * src/hildon-touch-selector-entry.c:
3917 (+hildon_touch_selector_entry_set_input_mode),
3918 (+hildon_touch_selector_entry_get_input_mode):
3919 * src/hildon-touch-selector-entry.h: New methods to access the input
3920 mode in the selector's entry.
3922 Fixes: NB#93410 (API required for setting IM mode in
3923 HildonTouchSelectorEntry)
3925 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3927 * configure.ac: post release version bump.
3928 * debian/changelog: version bump
3930 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3935 * configure.ac: Bump version.
3936 * debian/changelog: Updates.
3938 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-touch-selector.c:
3941 (_hildon_touch_selector_has_multiple_selection): No need
3942 to initialize the variables here.
3944 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-note-private.h
3947 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3948 (hildon_note_finalize, hildon_note_rebuild): Close information
3949 notes when they receive a button press.
3951 Fixes: NB#89890 (Information notes does not get disappeared after
3954 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3957 mark from the wizard title, as it's not really necessary. Also,
3958 do not display the page title if not set.
3960 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3963 (parent_window_hidden): Use the window's "is-topmost" property to
3964 detect when to hide the menu.
3966 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3969 (hildon_app_menu_finalize): If the parent window of the menu is
3970 hidden, hide the menu too.
3972 Fixes: NB#94460 (stackable window's menu is not closed when its
3975 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3978 * debian/libhildon1-examples.install
3980 * examples/Makefile.am:
3981 Use dh_install to install all examples.
3982 Use DEB_SRCDIR instead of defining SOURCE_DIR
3984 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3986 * configure.ac: post release version bump.
3987 * debian/changelog: version bump
3989 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
3994 * configure.ac: bump version
3995 * debian/changelog: updates
3996 * debian/control: bump gtk+ dependency
3998 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4000 patch by Christian Dywan (christian@imendio.com)
4002 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4003 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4005 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-check-button.c (hildon_check_button_init)
4008 (hildon_check_button_class_init, hildon_check_button_style_set)
4009 (hildon_check_button_apply_style):
4010 New "checkbox-size" style property.
4012 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4013 larger / configurable size)
4015 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4017 * configure.ac: post release version bump.
4018 * debian/changelog: version bump
4020 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4025 * configure.ac: bump version
4026 * debian/changelog: updates
4028 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4030 * doc/hildon-sections.txt
4031 * src/hildon-pannable-area.c
4032 * src/hildon-program.c
4033 * src/hildon-time-editor.c
4034 * src/hildon-touch-selector-entry.c:
4036 More documentation updates.
4038 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4040 * doc/hildon-sections.txt
4041 * src/hildon-caption.c
4042 * src/hildon-code-dialog.c
4043 * src/hildon-color-button.c
4044 * src/hildon-controlbar.c
4045 * src/hildon-date-editor.c
4046 * src/hildon-date-selector.c
4047 * src/hildon-edit-toolbar.c
4048 * src/hildon-find-toolbar.c
4049 * src/hildon-font-selection-dialog.c
4051 * src/hildon-program.c
4052 * src/hildon-range-editor.c
4053 * src/hildon-seekbar.c
4054 * src/hildon-time-editor.c
4055 * src/hildon-time-selector.c
4056 * src/hildon-volumebar-range.c
4057 * src/hildon-volumebar.c
4058 * src/hildon-vvolumebar.c
4059 * src/hildon-weekday-picker.c
4060 * src/hildon-window.c
4061 * src/hildon-wizard-dialog.c:
4063 Lots of documentation fixes.
4065 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4067 Patch contributed by Iván Gómez (igomez@igalia.com)
4069 * src/hildon-check-button.c:
4070 * src/hildon-date-button.c:
4071 * src/hildon-date-selector.c:
4072 * src/hildon-dialog.c:
4073 * src/hildon-edit-toolbar.c:
4074 * src/hildon-entry.c:
4075 * src/hildon-picker-button.c:
4076 * src/hildon-program.c:
4077 * src/hildon-text-view.c:
4078 * src/hildon-time-button.c:
4079 * src/hildon-touch-selector-entry.c:
4080 * src/hildon-window-stack.c:
4082 Add more "since" tags to the new API.
4084 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4086 * doc/hildon-sections.txt: Add below method.
4087 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4088 version for the hildonized scale.
4089 * src/hildon-gtk.h: Add the definition.
4091 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4093 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4095 * doc/hildon-sections.txt: Add missing entries for new methods.
4097 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4099 Added API to pannable are in order to get its adjustments. We
4100 added two properties to manage the values we had in the private
4103 * src/hildon-pannable-area.c:
4104 (hildon_pannable_area_class_init): Added hadjustment and
4105 vadjustment properties in order to expose horizontal and vertical
4107 (hildon_pannable_area_get_property),
4108 (hildon_pannable_area_set_property): Added code to handle the new
4110 (hildon_pannable_area_get_hadjustment),
4111 (hildon_pannable_area_get_vadjustment): API functions to get the
4113 * src/hildon-pannable-area.h:
4114 (hildon_pannable_area_get_hadjustment),
4115 (hildon_pannable_area_get_vadjustment): API functions to get the
4118 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4120 Fixed some leaks, after valgrinding.
4122 * src/hildon-touch-selector.c:
4123 (_default_print_func): Fixed a leak.
4124 (hildon_touch_selector_append_column): Fixed a leak.
4125 * src/hildon-date-button.c:
4126 (hildon_date_button_init): Fixed a leak.
4127 * src/hildon-date-selector.c
4128 (hildon_date_selector_finalize): Fixed a leak.
4130 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4132 Based on a patch by Christian Dywan (christian@imendio.com)
4134 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4136 * src/hildon-gtk.h: Add definition.
4138 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4140 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-picker-button.c: (hildon_picker_button_init),
4143 (hildon_picker_button_new): Set the HildonButton::style property
4144 in the init method, to propagate the value to the derived classes.
4146 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4148 * src/hildon-button.c: (hildon_button_class_init): Do not make
4149 the "style" property a construct property.
4151 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-wizard-dialog.h
4154 * src/hildon-wizard-dialog.c
4155 (hildon_wizard_dialog_set_forward_page_func)
4156 * src/hildon-pannable-area.h
4157 * src/hildon-pannable-area.c
4158 (hildon_pannable_area_set_size_request_policy):
4159 Documentation fixes.
4161 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4163 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4165 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4167 * doc/hildon-sections.txt: Added sections file.
4169 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4172 * src/*.[ch]: Updates.
4174 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4176 * examples/hildon-progress-indicator-example.c: new file
4177 * examples/Makefile.am: include the new example program
4179 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4181 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4183 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4185 * configure.ac: post release version bump
4186 * debian/changelog: version bump
4188 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4193 * configure.ac: bump version
4194 * debian/changelog: updates
4195 * debian/control: bump gtk+ dependency
4197 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4199 * src/hildon-dialog.c: Mark as deprecated.
4200 * src/hildon-dialog.h: Mark as deprecated.
4201 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4202 from HildonDialog and still work, even if
4203 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4204 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4206 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4207 maemo changes) instead)
4209 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4211 * src/hildon-pannable_area.h:
4212 * src/hildon-pannable_area.c:
4213 (hildon_pannable_area_class_init),
4214 (hildon_pannable_area_set_property),
4215 (hildon_pannable_area_get_property),
4216 (hildon_pannable_area_size_request),
4217 (hildon_pannable_area_get_size_request_policy),
4218 (hildon_pannable_area_set_size_request_policy): Added new API
4219 allowing applications to control the request policy. Now they can
4220 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4221 children allocation (HILDON_MOVEMENT_CHILDREN).
4223 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4227 (hildon_gtk_tree_view_set_ui_mode)
4228 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4229 mode of treeviews and iconviews.
4231 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-touch-selector-entry.c:
4234 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4235 of a GtkEntry to get proper theming.
4237 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4238 widget, not GtkEntry)
4240 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4243 no HildonWizardDialogPageFunc.
4245 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4247 Patch contributed by Iván Gómez (igomez@igalia.com)
4249 * src/hildon-app-menu.c:
4250 * src/hildon-button.c:
4251 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4252 * src/hildon-stackable-window.c:
4253 * src/hildon-time-selector.c:
4254 * src/hildon-touch-selector.c:
4255 * src/hildon-window.c:
4257 Add more "since" tags to the new API in hildon 2.2.
4259 2008-12-05 Tim Janik <timj@imendio.com>
4261 Patch contributed by Christian Dywan (christian@imendio.com)
4263 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4264 HildonSizeType, which are supplied by Gtk+ now.
4266 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4268 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4269 (with maemo changes) instead)
4271 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4273 Patch contributed by Iván Gómez (igomez@igalia.com)
4275 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4278 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4280 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4281 (some_page_func), (main): Update the example to use a
4282 HildonWizardDialogPageFunc function.
4284 * src/hildon-wizard-dialog-private.h: Add private data for
4285 the HildonWizardDialogPageFunc function usage.
4287 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4288 (destroy), (hildon_wizard_dialog_init), (response),
4289 (hildon_wizard_dialog_set_forward_page_func):
4290 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4291 that applications can use to stop a HildonWizardDialog to jump to
4294 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4297 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4299 * src/hildon-program.h
4300 * src/hildon-program-private.h
4301 * src/hildon-program.c (hildon_program_init)
4302 (hildon_program_set_common_app_menu)
4303 (hildon_program_get_common_app_menu):
4304 New API for setting a common HildonAppMenu for all
4305 HildonStackableWindows registered with the HildonProgram.
4307 * src/hildon-stackable-window.c
4308 (hildon_stackable_window_toggle_menu):
4309 Use the common HildonAppMenu if a window doesn't have a specific
4312 * src/hildon-app-menu-private.h
4313 * src/hildon-app-menu.c
4314 (hildon_app_menu_get_parent_window):
4315 Function to obtain the window a HildonAppMenu is attached to.
4316 (hildon_app_menu_set_parent_window):
4317 Hide the menu if the parent window is set to NULL.
4319 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4321 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4322 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4323 search widget to popup.
4325 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4327 * configure.ac: post release version bump
4328 * debian/changelog: version bump
4330 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4335 * configure.ac: bump version
4336 * debian/changelog: updates
4338 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4340 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4342 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4343 (hildon_window_stack_window_realized)
4344 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4345 Set the leader GdkWindow when a window is stacked and realized,
4346 unset it when it's unstacked.
4347 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4349 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4351 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4353 * src/hildon-stackable-window.h
4354 * src/hildon-window-stack.h:
4355 Protect definition of HildonWindowStack using the preprocessor.
4357 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4359 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4360 Fix warning if all menu items are hidden.
4362 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4364 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4366 * src/hildon-controlbar.c:
4367 * src/hildon-hvolumebar.c:
4368 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4369 Multiple scale size defines updates.
4371 Fixes: NB#94322 (Scale Updates)
4373 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4375 * examples/hildon-app-menu-example.c (create_menu)
4376 Show items after adding them to the menu, as in the future the
4377 menu will no longer call gtk_widget_show() on the added items.
4379 * src/hildon-app-menu.c:
4380 Update example as explained above.
4382 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4384 * src/hildon-app-menu.c
4385 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4386 Make sure that all menu items have finger height.
4388 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4390 * src/hildon-picker-dialog.c:
4391 (_on_dialog_response), (_save_current_selection),
4392 (_restore_current_selection), (_clean_current_selection),
4393 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4394 Defined new functions in order to save the current internal selector
4395 selection previous open the dialog, in case that the use cancel the
4396 interaction, so the widget restores the previous selection.
4398 Fixes: NB#92032 (In calendar application, date values in 'new event'
4401 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4403 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-button.c: Add a reference to the button examples in
4406 hildon-button-example.c
4408 * examples/hildon-button-example.c: Added examples of the most
4409 common button layouts.
4411 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4413 * src/hildon-app-menu.c (hildon_app_menu_show)
4414 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4416 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4418 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4420 * src/hildon-picker-dialog.c:
4421 (hildon_picker_dialog_init): Initialize the signal id for
4422 HildonTouchSelector::columns-changed.
4423 (+on_selector_columns_changed): Set up the interaction mode everytime a
4424 column is added or removed from the HildonTouchSelector.
4425 (_hildon_picker_dialog_set_selector): Connect to
4426 HildonTouchSelector::columns-changed and keep track of it.
4428 Make sure to update the interaction mode of the dialog everytime a
4429 column is added or removed in the HildonTouchSelector.
4431 Fixes: NB#93228 (Done button is not shown always in listpicker)
4433 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4436 a new ::columns-changed signal.
4437 (hildon_touch_selector_append_column): Emit ::columns-changed.
4438 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4440 Add a ::columns-changed signal, emitted when the number of columns in a
4441 HildonTouchSelector changes.
4443 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4446 (_hildon_picker_dialog_set_selector): Factor out the code
4447 to set up the dialog interaction mode.
4449 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4451 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4452 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4453 to signal_changed_id.
4455 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4460 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4462 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4463 Updated the logical ids related to ampm format, as now it is required to
4464 show it correctly localized even on languages with no default
4465 abbreviations for am or pm
4466 (_check_am_pm_format): check correctly the 24h format gconf property
4468 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4470 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4472 * src/hildon-button.c: Documentation updates.
4474 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4476 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4477 * src/hildon-caption.c: (hildon_caption_class_init):
4478 * src/hildon-color-button.c: (hildon_color_button_class_init):
4479 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4480 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4481 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4482 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4484 Remove deprecated GTK+ marshalers and replace them with the ones
4485 provided by GLib, for those available, add a marshaler for
4486 BOOLEAN:VOID, which is not available in GLib, and use it.
4488 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4491 the text from the previous column if there is no
4492 HildonTouchSelectorColumn::text-property set.
4494 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4496 * src/hildon-button.h
4497 * src/hildon-button.c (hildon_button_set_property)
4498 (hildon_button_get_property, hildon_button_class_init)
4499 (hildon_button_set_style, hildon_button_get_style):
4500 New "style" property to change the visual appearance of the
4503 * src/hildon-picker-button.c (hildon_picker_button_new):
4504 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4506 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4507 HildonButton look like PickerButton)
4509 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4511 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4512 column while building the default string.
4514 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4516 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4517 scroll indicator by default.
4519 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4521 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4523 * src/hildon-main.c: Fix the documentation for hildon_init()
4525 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4527 * doc/hildon-docs.sgml
4531 * src/hildon-window-stack-private.h
4532 * src/hildon-window-stack.h
4533 * src/hildon-window-stack.c:
4534 New HildonWindowStack object, that adds support for multiple
4535 stacks of windows per process.
4537 * src/hildon-stackable-window-private.h
4538 * src/hildon-stackable-window.h
4539 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4540 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4541 (hildon_stackable_window_show, hildon_stackable_window_hide)
4542 (hildon_stackable_window_class_init)
4543 (hildon_stackable_window_init):
4544 Use HildonWindowStack for stack management.
4546 * src/hildon-program.c (hildon_program_pop_window_stack)
4547 (hildon_program_peek_window_stack)
4548 (hildon_program_go_to_root_window):
4549 Add a fallback implementation to the deprecated functions using
4552 * examples/hildon-stackable-window-example.c:
4553 Use the new HildonWindowStack API.
4555 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-stackable-window-private.h
4558 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4559 (hildon_stackable_window_hide, hildon_stackable_window_init):
4560 Remove all window stack management.
4562 * src/hildon-program-private.h
4563 * src/hildon-program.h
4564 * src/hildon-program.c (hildon_program_init)
4565 (hildon_program_pop_window_stack)
4566 (hildon_program_peek_window_stack)
4567 (hildon_program_go_to_root_window):
4568 Remove all window stack management and mark functions as
4571 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-app-menu.c (hildon_app_menu_realize):
4574 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4576 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4578 * configure.ac: post release version bump
4579 * debian/changelog: version bump
4581 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4586 * configure.ac: bump version
4587 * debian/changelog: updates
4589 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4591 Based on initial code by Christian Dywan (christian@imendio.com)
4593 * doc/hildon-docs.sgml: Add section for hildon-main.
4594 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4595 * src/Makefile.am: Add new hildon-main.[ch]
4596 * src/hildon-defines.h: Update the icon sizes.
4597 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4598 new library initialization files and register icon sizes.
4599 * src/hildon-main.h: New declarations.
4600 * src/hildon.h: Include hildon-main.h
4602 Add new initialization functions to the library. These methods
4603 will register the hildon specific icon sizes and can be used in the
4604 future for other hildon specific bits.
4606 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4608 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4610 * src/hildon-window.c: (hildon_window_realize),
4611 (hildon_window_notify), (-hildon_window_update_title): Do not set
4612 the application name in the window title.
4614 Fixes: NB#89754 (Applications shouldn't display their names in the
4617 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4619 * src/hildon-note-private.h:
4620 * src/hildon-note.c: (hildon_note_set_property),
4621 (hildon_note_get_property), (hildon_note_class_init),
4622 (hildon_note_init), (hildon_note_finalize),
4623 (hildon_note_new_confirmation_with_icon_name),
4624 (hildon_note_new_information_with_icon_name):
4626 No need to mark as deprecated the actual code. Revert
4627 to avoid missing symbols in widgets using deprecated API.
4629 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4631 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4633 * src/hildon-volumebar.h
4634 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4635 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4637 * src/hildon-helper.h
4638 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4639 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4641 * examples/Makefile.am:
4642 Deprecate hildon-insensitive-example
4644 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4646 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4648 * examples/hildon-pannable-area-buttons-scroll-example.c:
4649 Make all buttons finger height
4651 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4653 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4655 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4656 update the day model only if it is really required, and to avoid the
4657 full-reconstruction aproach. Now it only add or remove the required days.
4659 The purpose of this is avoid superfluous HildonTouchSelector::changed
4662 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4663 with strange parameters)
4665 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4667 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4669 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4670 the WINDOW_TYPE property.
4672 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4674 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4677 Fix dependency to allow parallel compilation with make -jX
4679 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4681 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4682 color frame and some minor tweaks to make it more consistent with
4685 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4686 highlighted but not visible)
4688 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4690 * examples/Makefile.am: Fixed typo in the Makefile.am.
4692 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4694 Reviewed the use of MAEMO_GTK define, now we add the define in the
4695 compilation line, and we also add it to the pc file.
4697 * configure.ac: Added MAEMO_GTK define to the compilation command
4698 and removed it from the config.h.
4700 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4701 do not have to take care about this define if the library was
4705 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4707 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4709 * examples/Makefile.am,
4710 * examples/hildon-pannable-area-buttons-scroll-example.c,
4711 * examples/hildon-pannable-area-gesture-signals-example.c,
4712 * examples/hildon-pannable-area-scroll-jump-example.c,
4713 * examples/hildon-pannable-area-tree-view-example.c:
4714 Renamed the pannable area examples, now they have more meaningful
4717 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4719 * src/hildon-touch-selector.c:
4720 (hildon_touch_selector_set_column_selection_mode): Used of
4721 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4722 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4723 to avoid re-seting the same selection mode.
4725 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4726 breaks HildonPickerDialog)
4728 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4730 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4731 conditional in the Makefile.am
4733 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4735 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4736 Remove unused methods.
4738 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-button.c (hildon_button_init):
4741 Make button images center-aligned by default
4743 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4746 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4747 activated, we have to think about how to deal with both defines
4748 MAEMO_GTK and MAEMO_CHANGES.
4750 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4752 * examples/hildon-app-menu-example.c (create_menu): Make all
4753 buttons finger size.
4755 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4757 Fixed the compilation without maemo gtk adding ifdefs with
4758 MAEMO_GTK define to the code, we have to check this version more
4761 * examples/Makefile.am: Added control to avoid some examples that
4762 just make sense with maemo gtk.
4765 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4766 hildon modes with the define.
4768 * examples/hildon-edit-toolbar-example.c,
4769 (create_icon_view): Create the icon view without hildon-gtk
4770 helpers if we are not using maemo gtk.
4772 * src/hildon-touch-selector.c,
4773 (_create_new_column): Create the treeview without hildon-gtk
4774 helpers if we are not using maemo gtk.
4776 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4778 * src/hildon-pnnable-area.c,
4779 (hildon_pannable_area_dispose),
4780 (hildon_pannable_area_button_press_cb),
4781 (hildon_pannable_area_child_mapped),
4782 (hildon_pannable_area_add),
4783 (hildon_pannable_area_remove): Added code to control the position
4784 of the event_window when adding and removing children from the
4785 pannable. We have to raise the event window when the child is
4788 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4789 selection mode using custom widget inside pannable)
4791 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4793 * configure.ac: post release version bump
4794 * debian/changelog: version bump
4796 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4801 * configure.ac: bump version
4802 * debian/changelog: updates
4804 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4806 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4807 search mode, in order to avoid lose the focus on the treeview when
4808 a hw key (like enter) is pressed.
4810 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4811 in HildonDateSelector dialog)
4813 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4815 * debian/rules: Added --enable-maintainer-mode
4816 * Makefile.am: Added ACLOCAL_AMFLAGS
4818 This allows to properly regenerate the Makefiles if you modify the
4819 configure.ac or any Makefile.am.
4821 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4823 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4824 properties, not needed at all.
4826 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4828 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4830 * src/hildon-note.c: (hildon_note_set_property),
4831 (hildon_note_get_property), (hildon_note_class_init),
4832 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4833 (hildon_note_new_confirmation_add_buttons): Remove icons.
4834 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4835 (hildon_note_new_information_with_icon_name): Deprecate.
4836 (hildon_note_new_confirmation): Act directly, without calling
4837 the deprecated constructor.
4838 (hildon_note_new_information): Act directly, without calling
4839 the deprecated constructor.
4840 * src/hildon-note.h: Mark deprecate methods as such.
4841 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4842 not run tests on the deprecated methods if built with deprecation
4845 Fixes: NB#91688 (Never show icons in information notes/confirmation
4848 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4850 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4851 (hildon_app_menu_key_press): Remove leftover usage of the
4852 private structure in HildonAppMenu struct.
4853 * src/hildon-app-menu.h: Remove leftover private structure
4854 from the HildonAppMenu struct.
4856 Fixes a crasher when using the HildonAppMenu.
4858 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-picker-dialog.c: Use appropriate logical id
4861 for the default "Done" text.
4863 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4865 * configure.ac: post release version bump
4866 * debian/changelog: version bump
4868 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4870 Modified the way to scroll to the current selection just when the touch
4871 selector is shown on the screen, avoiding a g_idle. Added too a property
4872 to configure this behaviour. See hildon_pannable_area_jump_to_child
4873 documentation for more information.
4875 * src/hildon-touch-selector.c
4876 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4877 Added 'initial-scroll' property
4878 (hildon_touch_selector_set_property): Added
4879 (hildon_touch_selector_map): Removed as not required anymore
4880 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4881 only a concrete column, instead of iterate along all the columns
4883 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4888 * configure.ac: bump version
4889 * debian/changelog: updates
4891 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4893 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4894 compilation time warnings.
4896 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4898 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4899 the default value for HildonPannableArea::mov-mode to
4900 HILDON_PANNABLE_AREA_MODE_VERT.
4902 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4904 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4906 Reverting following commit:
4908 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4910 * src/hildon-app-menu-private.h
4911 * src/hildon-app-menu.[ch]
4912 * src/hildon-button.[ch]
4913 * src/hildon-check-button.[ch]
4914 * src/hildon-entry.[ch]
4915 * src/hildon-pannable-area.[ch]
4916 * src/hildon-text-view.[ch]:
4917 Added private field to the object's structure.
4919 because it causes an ABI breakage. We will need to introduce these
4920 changes later at some point. See NB#91636 for an extensive
4921 explanation and status.
4923 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4925 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4927 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4928 remove special cases that are no longer necessary.
4930 Fixes: NB#91016 (Change toolbar sizes, simplification)
4932 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4934 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4935 is shown in the cancel note.
4937 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4939 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4940 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4941 (hildon_seekbar_init): Remove steppers, remove expose event.
4942 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4944 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4946 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4948 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4949 label font to "SmallSystemFont" for vertically arranged buttons.
4951 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4954 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4956 * src/hildon-check-button.c
4957 (hildon_check_button_set_active, hildon_check_button_clicked):
4958 Don't access private parts directly, use getters instead.
4960 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-check-button.c (hildon_check_button_new):
4963 Align the contents of the check button to the left.
4965 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4967 * src/hildon-pannable-area.c,
4968 (hildon_pannable_area_scroll_to),
4969 (hildon_pannable_area_jump_to),
4970 (hildon_pannable_area_scroll_to_child),
4971 (hildon_pannable_area_jump_to_child): Replace the mapped
4972 precondition of these functions with the realized, it is the
4973 correct state of the widget in this case. Changed the
4974 documentation according to this modification.
4976 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4978 Added a new EXTRA_CFLAGS option to add the deprecated define to
4979 the compilation command. This way we can avoid using the define in
4980 the documentation compilation.
4982 * configure.ac: Defined EXTRA_CFLAGS.
4984 * examples/Makefile.am:
4986 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
4988 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
4990 * src/hildon-picker-dialog.c:
4991 Defined a utility macro with the desired touch selector height
4992 Removed currently unused separator, and title_label variables from
4994 (hildon_picker_dialog_init): Removed code related to the creation
4995 of unused private variables title_label and separator.
4996 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
4997 to ensure correct visualization of the touch selector inside the dialog.
4998 * src/hildon-touch-selector.c
4999 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5000 ensure a concrete height of the widget.
5002 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5005 * tests/Makefile.am:
5007 Remove spurious whitespaces.
5009 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5011 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5012 compilation warning after the cancel button removal.
5014 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5016 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5018 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5019 Makefile.am, that way we can choose not to compile some examples
5020 and tests of the deprecated widgets.
5022 * examples/Makefile.am: Divided the sources in deprecated and
5025 * src/Makefile.am: Added undef statement of the deprecated
5026 symbol to the enums file generation process.
5028 * src/hildon-color-chooser-dialog.c
5029 * src/hildon-color-chooser-dialog.h
5030 * src/hildon-color-button.c
5031 * src/hildon-color-button.h
5032 * src/hildon-color-chooser.c
5033 * src/hildon-color-chooser.h
5034 * src/hildon-controlbar.c
5035 * src/hildon-controlbar.h
5036 * src/hildon-date-editor.c
5037 * src/hildon-date-editor.h
5038 * src/hildon-hvolumebar.c
5039 * src/hildon-hvolumebar.h
5040 * src/hildon-private.c
5041 * src/hildon-private.h
5042 * src/hildon-range-editor.c
5043 * src/hildon-range-editor.h
5044 * src/hildon-seekbar.c
5045 * src/hildon-seekbar.h
5046 * src/hildon-time-editor.c
5047 * src/hildon-time-editor.h
5048 * src/hildon-time-picker.c
5049 * src/hildon-time-picker.h
5050 * src/hildon-volumebar.c
5051 * src/hildon-volumebar.h
5052 * src/hildon-vvolumebar.c
5053 * src/hildon-vvolumebar.h
5054 * src/hildon-bread-crumb-trail.h
5055 * src/hildon-bread-crumb-trail.c
5056 * src/hildon-calendar-popup.c
5057 * src/hildon-calendar-popup.h
5058 * src/hildon-weekday-picker.c:
5059 * src/hildon-weekday-picker.h:
5060 * src/hildon-bread-crumb-widget.c:
5061 * src/hildon-bread-crumb-widget.h:
5062 * src/hildon-bread-crumb.c:
5063 * src/hildon-bread-crumb.h:
5064 * src/hildon-calendar.c:
5065 * src/hildon-calendar.h:
5066 * src/hildon-caption.c:
5067 * src/hildon-code-dialog.c:
5068 * src/hildon-code-dialog.h:
5069 * src/hildon-font-selection-dialog.c:
5070 * src/hildon-font-selection-dialog.h:
5071 * src/hildon-get-password-dialog.c:
5072 * src/hildon-get-password-dialog.h:
5073 * src/hildon-login-dialog.c:
5074 * src/hildon-login-dialog.h:
5075 * src/hildon-number-editor.c:
5076 * src/hildon-number-editor.h:
5077 * src/hildon-set-password-dialog.c:
5078 * src/hildon-set-password-dialog.h:
5079 * src/hildon-sort-dialog.c:
5080 * src/hildon-sort-dialog.h: This is the list of deprecated
5083 * src/hildon-touch-selector.c:
5084 * src/hildon-window.c: Added undef statement to avoid compilation
5087 * tests/Makefile.am: Divided the sources in deprecated and
5090 * tests/check_test.c,
5091 (configure_tests): Marked the deprecated code that was adding
5092 suites with deprecated tests.
5094 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5096 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5098 * src/hildon-touch-selector.c: (_default_print_func): Do not
5099 duplicate a string returned by gtk_tree_model_get(), it is already
5102 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5105 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5107 * src/hildon-pannable-area.c
5108 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5109 method, it had problems when adding a widget with viewport the
5110 second time. Now checks if it already has a viewport and uses it.
5112 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5115 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5117 * src/hildon-pannable-area.c,
5118 (hildon_pannable_area_scroll_to),
5119 (hildon_pannable_area_jump_to),
5120 (hildon_pannable_area_scroll_to_child),
5121 (hildon_pannable_area_jump_to_child): Added a precondition to the
5122 scroll and jump to functions: the widget must be mapped before we
5123 can safely call these functions. We have also added documentation
5124 to the functions to explain how to use them in this situation.
5127 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5129 Reviewed the threading handling of the pannable widget, we have
5130 used the gdk_threads_add_timeout function instead of the usual
5131 glib handlers. This avoids some problems with the threads.
5133 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5134 (hildon_pannable_area_initial_effect),
5135 (hildon_pannable_area_scroll_indicator_fade),
5136 (hildon_pannable_area_button_press_cb),
5137 (hildon_pannable_area_timeout),
5138 (hildon_pannable_area_motion_notify_cb),
5139 (hildon_pannable_area_button_release_cb),
5140 (hildon_pannable_area_scroll_cb),
5141 (hildon_pannable_area_scroll_to): Removed the
5142 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5143 gdk_threads_add_timeout.
5145 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5147 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5152 * configure.ac: bump version
5153 * debian/changelog: updates
5155 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5158 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5159 * src/hildon-color-chooser-dialog.c:
5160 (hildon_color_chooser_dialog_init):
5161 * src/hildon-font-selection-dialog.c:
5162 (hildon_font_selection_dialog_init):
5163 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5165 Remove all cancel/close-like dialogs, as these are not going to be
5168 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5170 * src/hildon-note.c: (hildon_note_rebuild),
5171 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5174 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5176 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5179 sure all buttons are shown, even the Cancel/Close-like ones.
5181 Fixes: NB#90861 (Custom Confirmation dialogs should be
5182 protected from cancel button removal)
5184 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5186 * debian/control: Change libhildon1-examples dependency from libhildon1
5188 * debian/libhildon1-examples.install
5190 * Makefile.am: Modified the final install directory for the examples on
5191 package libhildon1-examples
5192 * Makefile.static: Update clean target in order to remove all the binary
5195 Changes suggested by Claudio after review new libhildon1-examples package
5197 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5199 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5200 * src/hildon-touch-selector.c: Ditto.
5202 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5204 * debian/control: Added new package libhildon1-examples, in order to pack
5205 the current hildon examples as documentation
5206 * debian/rules: Not to compress .c files, modify some includes on the
5207 examples (as normally are compiled locally, but when installed it will
5208 require to include the installed libhildon1 library), and rename
5210 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5211 install all the example files on the new example package
5212 * examples/Makefile.static: Added static makefile that can be used to
5213 compile the examples, once installed the new example package
5214 * examples: Most of the examples were modified in order to grant that
5215 all use only '#include "hildon.h"', in order to be easy to prepare
5216 it on the example package
5218 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5221 * debian/libhildon1-dev.install
5222 * debian/libhildon1-doc.install:
5223 Move all gtk-doc files to a separate libhildon1-doc package.
5225 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5227 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5229 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5231 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5233 * debian/rules: Fixed a error in order to avoid unnecessary calls
5234 to autogen.sh on package building
5236 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5238 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5240 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5245 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5247 * src/hildon-picker-button.c
5248 (hildon_picker_button_finalize):
5249 Free priv->done_button_text
5251 * src/hildon-time-button.c
5252 (hildon_time_button_set_time)
5253 * src/hildon-picker-button.c
5254 (hildon_picker_button_clicked)
5255 (hildon_picker_button_selector_selection_changed)
5256 (hildon_picker_button_set_selector)
5257 * src/hildon-date-button.c
5258 (hildon_date_button_set_date):
5259 Free strings returned by hildon_touch_selector_get_current_text()
5261 * src/hildon-button.c (hildon_button_construct_child):
5262 Fix leaks in priv->image and priv->label_box
5264 Fixes: NB#90535 (Memory leak in picker button)
5266 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5268 * src/hildon-button.c: (hildon_button_get_property): Do not access
5269 private elements directly, use getters instead.
5271 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5273 * src/hildon-app-menu-private.h
5274 * src/hildon-app-menu.c
5275 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5276 Store the menu's parent window.
5278 * src/hildon-stackable-window.c
5279 (hildon_stackable_window_toggle_menu)
5280 (hildon_stackable_window_finalize):
5281 Set the menu's parent window when the menu is shown, unset it when
5284 * src/hildon-app-menu.c
5285 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5286 (hildon_app_menu_class_init):
5287 Send unhandled keyboard accelerators to the parent window.
5289 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5291 * src/hildon-stackable-window.c
5292 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5294 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5296 * configure.ac: post release version bump
5298 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5301 * configure.ac: Bump version
5302 * debian/changelog: Updates
5303 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5306 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5308 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5311 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5312 GtkMenu with Hildon style.
5314 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5316 * src/hildon-picker-button.c:
5317 (hildon_picker_button_set_done_button_text): Set the dialog's
5318 done button text here as well.
5320 Fixes: NB#90232 (Picker button does not set the label on done button
5321 for the second time)
5323 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5325 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5328 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5330 * src/hildon-app-menu.c (hildon_app_menu_insert)
5331 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5332 the HildonAppMenu to be activatable using keyboard accelerators
5333 when the menu is not being shown.
5335 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5337 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5339 * src/hildon-stackable-window.c
5340 (hildon_stackable_window_show):
5341 Don't hide old windows automatically when new windows are shown:
5342 this is now a task for the window manager.
5343 (hildon_stackable_window_class_init)
5344 (hildon_stackable_window_hide):
5345 Remove windows from the stack everytime they're hidden.
5346 (hildon_stackable_window_realize):
5347 Don't change the _NET_WM_WINDOW_TYPE property. Use
5348 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5349 it as a stackable window.
5351 * src/hildon-program.c
5352 (hildon_program_pop_window_stack):
5353 Just hide the window to remove it from the stack.
5354 (hildon_program_go_to_root_window):
5355 Don't call gtk_widget_show(), this is now a task for the window
5358 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5360 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5362 * src/hildon-button.c
5363 (hildon_button_construct_child):
5364 Don't pack anything in the button until text or image are
5365 set. This allows adding a custom child after creating the button
5366 with hildon_button_new().
5367 (hildon_button_finalize, hildon_button_class_init)
5368 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5369 alignment and the label box even when they're not packed in the
5372 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5374 * src/hildon-touch-selector.h:
5375 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5376 currently the type definition was using GTK_TYPE_VBOX
5377 * src/hildon-touch-selector.c:
5378 Added some implementation notes in order to clarify that any other widget
5379 added without the column related API will not be included on the
5380 selection logic, and how the widget is freed, as some people ask about
5382 (hildon_touch_selector_remove): Reimplemented in order to free properly
5383 the column related data when you remove the private hbox.
5384 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5385 to get a proper HildonTouchSelectorColumn documentation
5387 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5389 * src/hildon-touch-selector-entry.c:
5390 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5391 text in the GtkEntry and there is no item selected. Fixes a
5394 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5396 * src/hildon-app-menu-private.h
5397 * src/hildon-app-menu.[ch]
5398 * src/hildon-button.[ch]
5399 * src/hildon-check-button.[ch]
5400 * src/hildon-entry.[ch]
5401 * src/hildon-pannable-area.[ch]
5402 * src/hildon-text-view.[ch]:
5403 Added private field to the object's structure.
5405 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5407 * configure.ac: post-release version bump
5409 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5413 * configure.ac: pre-release version bump
5415 * debian/changelog: updates.
5417 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5420 Disconnect the handler for HildonTouchSelector::changed.
5422 (hildon_picker_button_selector_selection_changed): Update the button
5423 value if the selection change was not triggered by the
5426 (hildon_picker_button_set_selector): connect to
5427 HildonTouchSelector::changed.
5429 Fixes: NB#89650 (Picker button is not updated, when selection in
5430 selector has changed)
5432 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5434 * src/hildon-picker-dialog.c
5435 (hildon_picker_dialog_realize): Removed as not required
5436 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5437 * src/hildon-picker-button.c
5438 (_current_selector_empty): New function, checks if the selector is empty
5439 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5440 if the current selector is empty, in order to avoid to show the dialog
5441 close the dialog in this case (and shows a g_warning).
5443 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5445 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5447 * src/hildon-pannable-area.c,
5448 (hildon_pannable_area_scroll): Added clause to stop movement when
5449 the child of pannable is smaller than one page.
5450 (hildon_pannable_area_scroll_to): Added conditions to avoid
5451 starting the scrolling movement if the child is smaller than one
5452 page, the complete child is in the screen, we do not have to move.
5454 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5456 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5458 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5459 this is managed automatically by the widget when the size of the
5462 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5464 * src/hildon-picker-button.c
5465 (hildon_picker_button_set_done_button_text): Make a copy of the
5466 text, and free the previous value.
5468 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5470 * src/hildon-touch-selector-entry.c:
5471 (hildon_touch_selector_entry_print_func): Return the selected row's
5472 text if the entry is empty.
5474 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5477 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5479 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5481 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5484 * src/hildon-check-button.h
5485 * src/hildon-check-button.c
5486 * examples/hildon-check-button-example.c:
5487 HildonCheckButton is now a new widget. 'toggled' signal added.
5489 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5491 * src/hildon-program-private.h
5492 * src/hildon-program.c (hildon_program_init)
5493 (hildon_program_finalize): Removed unused variables group_leader
5494 and name from HildonProgramPrivate.
5496 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-check-button.c (hildon_check_button_set_active)
5499 (hildon_check_button_get_active, hildon_check_button_new): Use
5500 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5502 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5504 * src/hildon-touch-selector.h
5505 (hildon_touch_selector_set_column_attributes): added deprecation
5506 guard HILDON_DISABLE_DEPRECATED
5507 * src/hildon-time-selector.c
5508 (hildon_time_selector_set_time)
5509 (hildon_time_selector_get_time): Fixed a typo on documentation
5510 * src/hildon-touch-selector.c: update HildonTouchSelector and
5511 HildonTouchSelectorColumn documentation
5512 * src/hildon-touch-selector-entry.c: update "text-column" property
5514 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5515 to be added to the general documentation.
5517 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5519 * examples/hildon-pannable-area-example-4.c,
5521 * examples/hildon-pannable-area-example.c,
5522 (main): Modified the code in order to use the container add, with
5523 viewport treeviews could have problems if they are really big.
5525 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5527 * src/hildon-weekday-picker.c,
5528 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5529 the agreement regarding deprecation in the library.
5531 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5533 * examples/hildon-picker-button-multicolumn-example.c:
5534 (main): Use custom "done" button text.
5536 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5537 (hildon_picker_button_set_property),
5538 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5539 (hildon_picker_button_init),
5540 (+hildon_picker_button_get_done_button_text),
5541 (+hildon_picker_button_set_done_button_text): New methods to customize
5542 the "done" button label in the launched HildonPickerDialog. Also,
5545 * src/hildon-picker-button.h: add the public API.
5547 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5549 * src/hildon-date-selector.h:
5550 * src/hildon-picker-dialog.h:
5551 * src/hildon-time-selector.h:
5552 * src/hildon-touch-selector-column.h:
5553 * src/hildon-touch-selector.h:
5555 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5556 declarations. Fixes gtk-doc warnings.
5558 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5560 * src/hildon-picker-dialog.h
5561 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5562 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5564 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5565 long text is set as label for done button)
5567 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5569 * src/hildon-dialog.c (hildon_dialog_add_button):
5570 Set fixed width to all buttons in the HildonDialog.
5572 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5574 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5576 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5577 Set widget name using class name plus "-finger" or "-thumb".
5579 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5582 'clicked' when the state of the button is manually changed.
5584 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5586 * src/hildon-app-menu.c (hildon_app_menu_realize)
5587 (hildon_app_menu_unrealize, hildon_app_menu_init)
5588 (hildon_app_menu_class_init, item_visibility_changed):
5589 Change the menu layout when the size of the screen changes.
5590 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5591 Show warning only when changing the number of colums using the
5594 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5596 * debian/compat: Set to 5
5597 * debian/control: Update dependencies.
5598 * debian/libhildon1-dbg.install: Remove.
5599 * debian/libhildon1-dev.install: Update according to cdbs paths.
5600 * debian/libhildon1.install: Update according to cdbs paths.
5601 * debian/rules: Switch to cdbs.
5603 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5605 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5606 'item' variable renamed to 'filter'
5608 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5610 * src/hildon-app-menu.c (hildon_app_menu_insert)
5611 (hildon_app_menu_add_filter, remove_item_from_list)
5612 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5613 Don't leak hidden items when the menu is destroyed.
5615 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-app-menu.c (hildon_app_menu_insert)
5618 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5619 (hildon_app_menu_set_columns, item_visibility_changed)
5620 (filter_visibility_changed, hildon_app_menu_repack_filters)
5621 (hildon_app_menu_repack_items):
5622 Repack items and filters separately.
5624 Don't repack all items, change only the ones that are needed to
5627 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5629 * src/Makefile.am: added hildon-touch-selector-column.h
5631 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5633 * src/hildon-touch-selector.c: added the property "text-column" to the
5634 class HildonTouchSelectorColumn, and related get/set functions
5635 (_default_printf_func): updated to use "text-column" property
5636 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5637 "text-column" in his documentation, as this is now included on
5638 HildonTouchSelectorColumn. The get/set_property can still be used,
5639 working as a wrapper to the concrete column "text-column" property
5640 (_text_column_modified): callback added in order to handle the signal
5641 "notify::text-column" of the concrete HildonTouchSelectorColumn
5642 (hildon_touch_selector_entry_get_text_column)
5643 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5644 modified in order to use the HildonTouchSelectorColumn "text-column"
5646 * src/hildon-time-selector.c:
5647 * src/hildon-date-selector.c:
5648 * examples/hildon-touch-selector-example.c
5649 * examples/hildon-touch-selector-multi-cells-example.c
5650 * examples/hildon-picker-button-multicolumn-example.c
5651 Set the right value to "text-column" property on the creation of a new
5652 column using hildon_touch_selector_append_column()
5654 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5656 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5658 * src/hildon-app-menu.c
5659 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5660 updating the layout of the menu, don't create all widgets again,
5661 just repack the items in their new places.
5663 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5665 * src/hildon-time-selector.c
5666 (hildon_time_selector_get_time)
5667 (hildon_time_selector_set_time)
5668 Added documentation of these public methods
5670 * src/hildon-date-button.h
5671 * src/hildon-touch-selector-column.h
5672 * src/hildon-time-button.h
5673 * src/hildon-picker-dialog.h
5674 * src/hildon-time-selector.h
5675 * src/hildon-picker-button.h
5676 * src/hildon-touch-selector.h
5677 * src/hildon-time-picker.h
5678 * src/hildon-date-selector.h
5679 * src/hildon-touch-selector-entry.h
5680 Modified in order to use hildon-widgets code style
5682 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5684 Added deprecated support to the compilation process using
5685 HILDON_DISABLE_DEPRECATED
5687 * configure.ac: Added the --disable-deprecated to the configure
5690 * src/hildon-weekday-picker.c:
5691 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5692 to use the deprecated support. We will update the other deprecated
5693 widgets status in a new patch.
5695 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5697 * configure.ac: Fixed typo with fatal warnings support, the
5698 variable name was not correct
5700 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-app-menu.c
5703 * src/hildon-program.c: Update documentation.
5705 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5707 * configure.ac: Post-release version bump.
5709 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5714 * configure.ac: Pre-release version bump.
5715 * debian/changelog: Updates.
5717 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5719 * NEWS: Update news for previous releases.
5721 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5723 * examples/hildon-touch-selector-multi-cells-example.c:
5724 (create_selector): Update the example to use
5725 hildon_touch_selector_append_column() with a NULL renderer and set
5726 the renderers later.
5727 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5728 passed a NULL renderer. This is documented behavior now.
5730 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5731 This must be used if the developer wants full control on the layout of
5732 the renderers to be added to the column.
5734 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5736 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5738 * src/hildon-touch-selector.c: Documentation fixes.
5740 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5742 * src/hildon-wizard-dialog-private.h: Remove image and box.
5743 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5744 (hildon_wizard_dialog_set_property), (response): Completely remove
5745 image/icon support, and the containers required for the layout.
5747 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5749 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-app-menu.c: Updated documentation.
5753 * src/hildon-stackable-window.c
5754 (hildon_stackable_window_set_main_menu): Unref the old menu after
5755 ref'ing the new one.
5757 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5759 * src/hildon-stackable-window.c
5760 (hildon_stackable_window_set_main_menu): Unref the previous menu
5761 instead of destroying it.
5763 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5764 floating reference and set has_user_ref_count to FALSE to make
5765 HildonAppMenu act like a normal ref-counted widget and not a
5768 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5771 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5773 * src/hildon-touch-selector-column.h: new file
5774 * src/hildon-touch-selector.h
5775 * src/hildon-touch-selector.c
5776 Implemented GtkCellLayout interface, in order to allow to configure
5777 the cell layout on each individual selector column
5778 (hildon_touch_selector_set_column_attributes): marked as deprecated
5779 * examples/hildon-touch-selector-multi-cells-example.c
5780 Example of how to use the GtkCellLayout interface on the selector
5782 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5784 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5786 * src/hildon-app-menu.h
5787 * src/hildon-app-menu.c
5788 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5789 (hildon_app_menu_append, hildon_app_menu_prepend):
5790 New methods to prepend, insert and move items in the menu.
5792 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5794 * src/hildon-wizard-dialog.c:
5796 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5798 (create_title): Update logical IDs and related code.
5799 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5801 * src/hildon-wizard-dialog.h: Note that
5802 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5803 point, as it is not used anymore.
5805 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5807 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5809 * src/hildon-note.c:
5810 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5811 shown. Do not display an icon in confirmation notes nor information
5813 (hildon_note_set_button_text): Update logical ID for cancel button.
5815 Fixes: NB#88850 (Update HildonNote button strings + signals)
5817 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-stackable-window.c
5820 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5822 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5824 * src/hildon-app-menu-private.h
5825 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5826 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5827 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5828 temporary property 'columns' to change the number of columns.
5830 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5832 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5834 * examples/hildon-note-example.c: (on_information_clicked),
5835 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5836 debugging information.
5837 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5839 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5840 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5841 in order to close: this will be handled by the WM from now on.
5843 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5845 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-app-menu-private.h
5848 * src/hildon-app-menu.c
5849 (hildon_app_menu_append, hildon_app_menu_add_filter)
5850 (button_visibility_changed, hildon_app_menu_apply_style)
5851 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5852 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5853 layout everytime a button (item or filter) is shown or hidden.
5855 * src/hildon-stackable-window.c
5856 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5859 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5861 * src/hildon-touch-selector.c:
5862 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5863 that the treeview inside the touch selector is in fremantle hildon mode
5864 * examples/hildon-date-button-example.c
5865 * examples/hildon-picker-button-multicolumn-example.c
5866 * examples/hildon-touch-selector-entry-example.c
5867 * examples/hildon-touch-selector-example.c
5868 * examples/hildon-time-button-example.c
5869 * examples/hildon-picker-button-example.c:
5870 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5872 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5874 * examples/hildon-text-view-example.c: (main): Remove the
5875 gtkrc bits, now handled by the theme.
5877 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5882 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5884 * po/Makefile.am: Install properly the mo files.
5885 * po/en_GB.po: Update translation, to ease testing purposes.
5887 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5889 * examples/hildon-picker-button-example.c: (main): Select an item
5890 in the selector before setting it to the button.
5892 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5894 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5895 Update button's value if the selector has an item active.
5897 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5898 'value' with the selector)
5900 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5902 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5903 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5904 (hildon_picker_button_class_init): Plug the finalize method.
5905 (hildon_picker_button_set_selector): If there's a previously set
5906 selector, unref'it before setting a new one.
5908 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5909 HildonTouchSelector)
5911 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5913 * src/hildon-touch-selector-entry.c:
5914 (hildon_touch_selector_entry_changed): Check if there is no text
5915 selected before setting the entry text.
5918 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-touch-selector.h
5921 * src/hildon-touch-selector.c
5922 (hildon_touch_selector_get_active)
5923 (hildon_touch_selector_set_active): New methods to set/get the
5924 index of the selected item.
5926 * src/hildon-picker-button.h
5927 * src/hildon-picker-button.c
5928 (hildon_picker_button_get_active)
5929 (hildon_picker_button_set_active): New methods to set/get the
5930 index of the selected item.
5932 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5934 * configure.ac: post-release version bump.
5936 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5940 * configure.ac: Pre-release version bump.
5941 * debian/changelog: Updates.
5942 * debian/control: Add myself as maintainer and depend on l10n
5945 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-window.c
5948 (hildon_window_set_main_menu)
5949 * src/hildon-stackable-window.c
5950 (hildon_stackable_window_set_main_menu):
5951 Updated documentation.
5953 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5956 Don't free selector->priv manually.
5959 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5962 (hildon_gtk_window_set_progress_indicator):
5963 * src/hildon-gtk.h: Added the new API
5964 hildon_gtk_window_set_progress_indicator, it changes the state of
5965 the window progress hint.
5967 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5969 * src/hildon-button.c
5970 * src/hildon-stackable-window.c: Minor documentation updates.
5972 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-stackable-window.c: Updated documentation.
5976 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5978 * src/hildon-defines.h: Update margins definitions
5979 to the Fremantle sizes.
5982 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5984 * src/hildon-touch-selector.c,
5985 (_hildon_touch_selector_set_model): Cleaning the code after
5986 review, removed g_print and #if 0 from the code.
5988 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-edit-toolbar.c: Update documentation.
5992 2008-09-11 Alberto Garcia <agarcia@igalia.com>
5994 * src/hildon-check-button.h
5995 * src/hildon-check-button.c
5996 (hildon_check_button_set_label, hildon_check_button_get_label)
5997 * examples/hildon-check-button-example.c
5998 (button_clicked_cb):
5999 Removed deprecated methods.
6001 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6003 * src/hildon-text-view.c:
6004 Add sample code to the documentation.
6006 * src/hildon-entry.h
6007 * src/hildon-text-view.h:
6008 Minor cosmetic changes.
6010 * src/hildon-entry.c:
6011 Add sample code to the documentation.
6012 (hildon_entry_init, hildon_entry_refresh_contents):
6013 Don't allow NULL values in the placeholder.
6015 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6017 * doc/hildon-docs.sgml
6019 * examples/Makefile.am
6020 * examples/hildon-text-view-example.c
6022 * src/hildon-text-view.c
6023 * src/hildon-text-view.h
6025 New HildonTextView widget, with example.
6027 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6029 * po/POTFILES.in: Add missing files with translatable strings.
6030 Partially fixes NB#88287.
6032 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6034 * examples/hildon-pannable-area-example-2.c: (main): No need to
6035 set the cellrenderer height inside hildon touch lists, the theme does
6038 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6040 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6041 they are integrated in the theme.
6043 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6045 * examples/hildon-entry-example.c: Update the example adding
6046 widgets to modify the text and the placeholder of the HildonEntry.
6048 * src/hildon-entry.c: Show the placeholder everytime the widget
6049 is empty and loses the focus.
6051 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6053 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6055 * src/hildon-pannable-area.c,
6056 (hildon_pannable_area_size_request): Fixed bug in height
6057 requisition, avoid increasing size and add border twice.
6059 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6061 * configure.ac: postrelease version bump.
6063 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6067 * configure.ac: Prerelease version bump.
6068 * debian/changelog: update.
6069 * debian/rules: make -dbg package contain useful debugging symbols.
6071 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6073 * src/hildon-dialog.h
6074 * src/hildon-dialog.c
6075 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6076 New methods to add buttons with finger size.
6077 (hildon_dialog_new_with_buttons):
6078 Create buttons with finger size.
6080 * examples/hildon-dialog-example.c (main): Use HildonDialog
6081 methods to add buttons.
6083 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-entry.c: Updated HildonButton documentation.
6087 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6089 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6090 button value label with (FALSE, FALSE) to prevent NB#88126 from
6093 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6095 * examples/hildon-pannable-area-example.c,
6096 (main): Removed examples panning a vbox inside a pannable
6097 area. Check bug NB#87965
6099 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6101 Patch contributed by Kris Rietveld (kris@imendio.com)
6103 * src/hildon-pannable-area.c,
6104 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6105 get_size and get_position, this saves an X server roundtrip.
6107 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6109 * doc/hildon-docs.sgml
6111 * examples/Makefile.am
6112 * examples/hildon-entry-example.c
6114 * src/hildon-entry.c
6115 * src/hildon-entry.h
6117 New HildonEntry widget, with example.
6119 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6121 * src/hildon-button.c (hildon_button_construct_child): Pack the
6122 image with expand == fill == FALSE. This is a workaround for a bug
6125 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6127 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6128 labels for the text column, to make it more look more dynamic.
6130 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6132 * src/hildon-time-selector.c
6133 Define gettext auxiliar macro N_
6134 (_create_minutes_model)
6135 (_create_hours_model)
6136 (_create_ampm_model): use of strftime in order to fill the model
6137 * src/hildon-date-selector.c
6138 (hildon_date_selector_finalize):
6139 (_locales_init): remove the logic related to get the name of the months
6140 using nl_langinfo, as it is not required anymore
6142 (_create_year_model)
6143 (_create_month_model)
6144 (_update_day_model): use of strftime in order to fill the model properly
6147 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-button.h
6150 * src/hildon-button.c (hildon_button_get_image): New method to
6153 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6155 * src/hildon-touch-selector.c:
6156 (hildon_touch_selector_remove_column): Remove from the correct parent
6157 and also remove the list element and free it.
6160 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6162 * src/hildon-time-selector.c
6163 (_create_hours_model): change the range on 12h ampm format in order to use
6164 a 12-11 range instead of previous 01-12 range
6165 (hildon_time_selector_set_time): change the way to select the current time
6166 on 12h ampm format, due the change on the range
6167 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6170 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6172 * src/hildon-touch-selector.c
6173 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6174 in order to allow use this function on multiple row selection mode if
6175 the column is different that the first one
6178 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6180 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6181 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6183 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6185 * src/hildon-date-selector.h: clean some comments, now on the .c
6186 * src/hildon-date-selector.c
6187 (hildon_date_selector_select_month): first implementation
6188 (hildon_date_selector_select_day): added documentation, reimplemented
6189 using hildon_date_selector_select_current_date to avoid repeat code
6192 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6194 Reviewed interaction logic based on device experiences, refactored
6197 * src/hildon-pannable-area.c,
6198 (hildon_pannable_area_class_init): Updated default vmax speed.
6199 (hildon_pannable_area_calculate_velocity): Added this function, it
6200 avoids duplicate valocity calculation. Adjusted calculation to
6201 avoid problems with zero dist events.
6203 (hildon_pannable_area_motion_notify_cb): Now we use the
6204 calculate_velocity function.
6206 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6208 * src/hildon-date-selector.c
6209 (hildon_date_selector_select_current_date): fix the day range check
6210 as it failed using the last day of the current month
6213 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6215 * src/hildon-touch-selector.c
6216 (hildon_touch_selector_get_num_columns): added a parameter validation
6219 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6221 * examples/Makefile.am
6222 * examples/hildon-edit-toolbar-example.c: Example of the
6223 HildonEditToolbar widget.
6225 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6227 * configure.ac: postrelease version bump.
6229 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6233 * configure.ac: prerelease version bump.
6234 * debian/changelog: update.
6236 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6238 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6239 renderer to display stock icons in the touch list. Also, set the sizes
6240 to the recommended in the style guide.
6242 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6243 * src/hildon-touch-selector.h
6244 (hildon_touch_selector_set_active_iter): renamed, now is
6245 hildon_touch_selector_select_iter
6246 (hildon_touch_selector_get_active_iter): renamed, now is
6247 hildon_touch_selector_get_selected
6248 (hildon_touch_selector_unselect_iter): added
6249 * src/hildon-touch-selector.c
6250 Update after API modification (methods renamed)
6251 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6252 order to avoid problems selecting multiple elements on the column
6253 (hildon_touch_selector_unselect_iter): added the implementation
6254 * src/hildon-time-selector.c
6255 * src/hildon-date-selector.c
6256 * src/hildon-touch-selector-entry.c
6257 Update methods calls after hildon-touch-selector.h API modification (methods
6260 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-stackable-window.c
6263 (hildon_stackable_window_finalize): Call the parent class's finalize.
6265 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6267 * examples/hildon-touch-selector-example.c: (create_selector): Use
6268 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6271 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6273 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6274 set a cell background color, to respect theming.
6276 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6278 * doc/hildon-docs.sgml
6281 * src/hildon-edit-toolbar.c
6282 * src/hildon-edit-toolbar.h
6283 * src/hildon.h: New HildonEditToolbar widget.
6285 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6287 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6290 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6291 * src/hildon-touch-selector.c
6292 (_create_new_column): use g_object_set instead of two g_object_set_property
6294 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6295 * src/hildon-touch-selector.c
6296 (_create_new_column): use of hildon_gtk_tree_view_new to create
6297 the treeview, instead of use directly g_object_new
6298 (_create_new_column): update the property name "vindicator-mode" for the
6299 new one "vscrollbar-policy"
6300 * examples/hildon-date-button-example.c
6301 * examples/hildon-picker-button-multicolumn-example.c
6302 * examples/hildon-touch-selector-entry-example.c
6303 * examples/hildon-touch-selector-example.c
6304 * examples/hildon-time-button-example.c
6305 * examples/hildon-picker-button-example.c
6306 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6307 to all the treeviews inside a pannable area.
6309 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6311 * src/hildon-button.h
6312 * src/hildon-button.c (hildon_button_init)
6313 (hildon_button_set_arrangement, hildon_button_set_alignment)
6314 (hildon_button_set_title_alignment)
6315 (hildon_button_set_value_alignment)
6316 (hildon_button_set_image_alignment)
6317 (hildon_button_construct_child): New methods to set the alignment
6318 of the individual components of the button (title, value,
6319 image). Also, new method to alter the xscale and yscale properties
6320 of the GtkAlignment inside the button, so more complex layouts can
6323 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6325 * src/hildon-button.c (hildon_button_style_set)
6326 (hildon_button_class_init, hildon_button_set_arrangement)
6327 (hildon_button_construct_child): Apply style properties
6328 correctly. Use the 'image-spacing' style property too.
6330 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6332 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6333 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6336 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6338 * src/hildon-pannable-area.c,
6339 (hildon_pannable_area_size_request): Fixed problem with
6340 pannable-area size_request.
6342 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6344 Added management for the grab-focus to a child widget, like a
6345 range, we need to fade out the scrollbar when releasing.
6347 * src/hildon-pannable-area.c,
6348 (hildon_pannable_area_init): Connected the grab-focus signal to
6350 (hildon_pannable_area_grab_notify): Added this function in order
6351 to manage the situation when the grab-focus ends. We have to
6352 fade-out the scrollbar.
6354 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-app-menu.c: Minor documentation update.
6358 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-app-menu.c
6361 * examples/hildon-app-menu-example.c (create_menu): Update
6362 examples and documentation to explain how to connect callbacks.
6364 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6366 * examples/hildon-button-example.c
6367 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6368 hildon_stackable_window_new instead of gtk_window_new
6370 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6372 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6373 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6374 (hildon_pannable_area_set_property),
6375 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6376 (hildon_pannable_area_unrealize),
6377 (hildon_pannable_area_size_request),
6378 (hildon_pannable_area_size_allocate),
6379 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6380 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6381 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6382 (hildon_pannable_area_initial_effect),
6383 (hildon_pannable_area_redraw),
6384 (hildon_pannable_area_scroll_indicator_fade),
6385 (hildon_pannable_area_expose_event),
6386 (hildon_pannable_area_get_topmost), (synth_crossing),
6387 (hildon_pannable_area_button_press_cb),
6388 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6389 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6390 (hildon_pannable_area_motion_notify_cb),
6391 (hildon_pannable_area_button_release_cb),
6392 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6393 (hildon_pannable_area_remove),
6394 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6395 chage the code layout to a more GtkWidget like. Review the use of
6398 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6400 * examples/hildon-pannable-area-example-4.c,
6401 (main): Modified the name of the hindicator_mode to
6404 * src/hildon-pannable-area.c,
6405 (hildon_pannable_area_class_init),
6406 (hildon_pannable_area_motion_notify_cb),
6407 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6408 we have reduced the amount of signals and managed reviewed its
6409 rationale. Changed the default decelerate value.
6411 (hildon_pannable_area_add),
6412 (hildon_pannable_area_redraw): Refactored functions.
6414 (hildon_pannable_area_init),
6415 (hildon_pannable_area_get_property),
6416 (hildon_pannable_area_set_property):
6417 (hildon_pannable_draw_vscroll),
6418 (hildon_pannable_draw_hscroll),
6419 (hildon_pannable_area_initial_effect),
6420 (hildon_pannable_area_expose_event),
6421 (hildon_pannable_area_scroll),
6422 (hildon_pannable_area_button_press_cb),
6423 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6424 and vindicator_mode with hscrollbar_policy and
6425 vscrollbar_policy. Replaced hscroll and vscroll with
6426 hscroll_visible and vscroll_visible.
6428 (hildon_pannable_area_refresh): Refactor the function, remove
6429 variables and check the calls to this function, added resize
6430 conditions in case the children change their layout.
6432 (hildon_pannable_area_size_request): Added more detailed
6433 size_request calculation.
6436 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6438 * src/hildon-color-chooser.c
6439 (init_borders): use the correct gtk_border_free instead of g_free, to
6440 avoid a crash when this widget is used (ie: the three color selection
6443 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6445 * src/hildon-check-button.c,
6446 (hildon_check_button_set_active): Fixed problem when setting the
6447 active value, the widget was not redrawn.
6449 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6451 * src/hildon-pannable-area.c,
6452 (hildon_pannable_area_refresh),
6453 (hildon_pannable_area_scroll),
6454 (hildon_pannable_area_motion_notify_cb): Small code style change.
6456 (hildon_pannable_area_class_init): Default initial_hint set to
6457 FALSE, it is not in the specs.
6459 (hildon_pannable_area_initial_effect),
6460 (hildon_pannable_area_expose_event),
6461 (hildon_pannable_area_map),
6462 (hildon_pannable_area_init): Moved the launching point of the
6463 initial effect, it was in map but the sizes where not correct in
6464 that method so we do not know if we have the reproduce it. Now it
6465 is placed in the expose_event method and uses a variable to
6466 reproduce it just once.
6468 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6470 * src/hildon-pannable-area.c,
6471 (hildon_pannable_draw_vscroll),
6472 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6473 position allowed for the scrollbars.
6475 (hildon_pannable_area_size_allocate): Small style change.
6477 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6479 * src/hildon-pannable-area.c,
6480 (hildon_pannable_area_scroll_indicator_fade),
6481 (hildon_pannable_area_button_press_cb),
6482 (hildon_pannable_area_button_release_cb),
6483 (hildon_pannable_area_scroll_cb),
6484 (hildon_pannable_area_expose_event),
6485 (hildon_pannable_area_init): Added the define parameter
6486 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6487 and refactor the fade variable.
6489 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-pannable-area.c,
6492 (hildon_pannable_area_redraw),
6493 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6494 lines, we were reimplemeting the redraw code.
6496 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6498 * src/hildon-pannable-area.c,
6499 (hildon_pannable_area_scroll_cb),
6500 (hildon_pannable_area_realize),
6501 (hildon_pannable_area_class_init): Added scroll_event management
6502 for pannable area, now we can scroll the usual desktop method.
6504 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6505 initialization of the parameters should depend on idle_id.
6507 (hildon_pannable_area_init),
6508 (hildon_pannable_area_map): Small code style modifications
6510 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6512 * src/hildon-pannable-area.c
6513 (hildon_pannable_area_button_press_cb),
6514 (hildon_pannable_area_motion_notify_cb),
6515 (hildon_pannable_area_button_release_cb),
6516 (hildon_pannable_area_size_allocate),
6517 (hildon_pannable_area_scroll_to): Improved the timeouts
6518 management, we avoid creating them each time.
6520 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6522 * src/hildon-pannable-area.c:
6523 (hildon_pannable_area_refresh),
6524 (hildon_pannable_area_motion_notify_cb),
6525 (hildon_pannable_area_class_init):
6526 * src/hildon-pannable-area.h:
6527 * src/hildon-touch-selector.c
6528 (_create_new_column):
6529 * examples/hildon-pannable-area-example-4.c:
6530 (horizontal_movement),
6531 (vertical_movement),
6533 Replaced the names of enums in the HildonPannableArea:
6534 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6535 HILDON_MOVEMENT_MODE_*
6536 - HILDON_PANNABLE_AREA_MOV_* ->
6538 - Removed HildonPannableAreaIndicatorMode, now we
6541 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6543 * examples/hildon-pannable-area-touch-grid-example.c
6544 * examples/hildon-pannable-area-touch-list-example.c: Fix
6545 compilation warnings.
6547 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6549 * src/hildon-gtk.c (hildon_gtk_button_new)
6550 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6551 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6552 images overriding the value of the "gtk-button-images" setting.
6554 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6556 * src/hildon-check-button.c (hildon_check_button_new):
6557 Instead of using a custom container, display the label and the
6558 checkbox using the standard GtkButton API.
6560 * examples/hildon-check-button-example.c (main): Don't use
6561 hildon_check_button_set_label() anymore
6563 * src/hildon-check-button.h
6564 * src/hildon-check-button.c
6565 (hildon_check_button_set_label, hildon_check_button_get_label):
6566 Set as deprecated, now we're using gtk_button_{get,set}_label()
6568 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6570 * src/hildon-pannable-area.c,
6571 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6572 GtkTreeview first line we detected it after the inclusion of the
6573 GtkWindowImpl in gtk+. We now check if the window is visible, not
6574 just if the pointer is over the window.
6575 (hildon_pannable_axis_scroll),
6576 (hildon_pannable_area_expose_event): Small style changes.
6578 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6580 * src/hildon-button.c: Update documentation.
6582 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6584 * examples/hildon-button-example.c: Add a switch to show images in
6587 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6589 * doc/hildon-docs.sgml: Some docs reorganization.
6591 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6593 * examples/hildon-pannable-area-touch-list-example.c
6595 * examples/hildon-pannable-area-touch-grid-example.c
6596 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6597 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6598 Fix memory leak when setting the tree model.
6600 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6604 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6606 * doc/hildon.types: Remove duplicated hildon_window_get_type
6607 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6608 documentation comment.
6610 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6612 * doc/Makefile.am: Complete list of private headers.
6614 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6616 * doc/hildon-docs.sgml
6617 * src/hildon-app-menu.c
6618 * src/hildon-bread-crumb.c
6619 * src/hildon-button.c
6621 * src/hildon-program.c
6622 * src/hildon-stackable-window.c
6623 * src/hildon-window.c: Lots of documentation updates.
6625 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6627 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6629 * configure.ac: Require Gtk+ 2.12.9 at least
6631 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6633 * src/hildon-pannable-area.c
6634 (hildon_pannable_area_scroll_indicator_fade),
6635 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6636 to protect the return of this timeout callbacks, avoiding deadlocks.
6638 2008-08-12 Christian Dywan <christian@imendio.com>
6641 * src/hildon-*.h: Ensure a consistent include order,
6642 include <gtk/gtk.h> instead of particular files and
6643 only include the topmost header in the gtk stack. See NB #39857
6645 2008-08-12 Christian Dywan <christian@imendio.com>
6647 * src/hildon-picker-dialog.c
6648 * src/hildon-touch-selector.c: Fix warnings about unused and
6649 uninitialized variables.
6651 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6653 * examples/Makefile.am
6654 * examples/hildon-check-button-example.c: Example of the hildon
6657 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6659 * src/hildon-window.h
6660 * src/hildon-window.c (hildon_window_class_init)
6661 (hildon_window_unset_program): Don't make
6662 hildon_window_unset_program a virtual function anymore.
6664 * src/hildon-stackable-window.c: Update documentation
6666 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6669 * doc/hildon-docs.sgml
6670 * doc/visual_index.xml
6671 * src/hildon-defines.c
6673 * src/hildon-helper.c
6674 * src/hildon-range-editor.c: Lots of documentation fixes.
6676 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6678 * examples/hildon-picker-button-multicolumn-example.c
6679 (create_touch_selector): Fix compilation warning.
6681 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6683 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6684 (hildon_pannable_area_button_release_cb)
6685 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6687 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6689 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6692 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6694 * src/hildon-bread-crumb-trail.h
6695 * src/hildon-date-editor.c
6696 * src/hildon-date-selector.c
6697 * src/hildon-pannable-area.c
6698 * src/hildon-picker-dialog.c
6699 * src/hildon-time-selector.c
6700 * src/hildon-touch-selector-entry.c
6701 * src/hildon-touch-selector.c
6702 * src/hildon-touch-selector.h: Misc documentation fixes
6704 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6706 * examples/hildon-date-editor-example.c (main): Updated date
6709 * examples/hildon-note-example.c (on_confirmation_clicked):
6710 Updated confirmation note example.
6712 * src/hildon-date-editor.c
6713 * src/hildon-note.c: Updated sample programs in documentation.
6716 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6718 * src/hildon-date-button.h:
6719 * src/hildon-picker-button.h:
6720 * src/hildon-time-button.c:
6721 * src/hildon-time-button.h:
6723 Some declarations changes to allow gtk-doc to document the widgets
6726 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6728 * src/hildon-date-button.c: Document the widget.
6729 * src/hildon-time-button.c: Document the widget.
6731 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6733 * src/hildon-picker-button.c: Document the widget.
6734 * src/hildon-touch-selector-entry.c: Document the widget.
6736 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6738 * doc/hildon-docs.sgml
6741 * src/hildon-check-button.h
6742 * src/hildon-check-button.c: New functions to create the Hildon
6746 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6748 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6750 * src/hildon-button.h
6751 * src/hildon-button.c
6752 (hildon_button_add_title_size_group)
6753 (hildon_button_add_value_size_group)
6754 (hildon_button_add_image_size_group)
6755 (hildon_button_add_size_groups): New functions to set size groups
6756 for the button labels and image.
6757 (hildon_button_new_full): Removed
6759 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6761 * src/hildon-time-selector.c
6762 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6763 in order to avoid a crash if gconf is not available
6765 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6767 * src/hildon-button.c (hildon_button_set_arrangement)
6768 (hildon_button_construct_child): Don't construct the button child
6769 before setting the arrangement.
6771 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6773 * src/hildon-program-private.h
6774 * src/hildon-program.c
6775 * src/hildon-program.h
6776 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6777 (hildon_program_peek_window_stack)
6778 (hildon_program_pop_window_stack)
6779 (hildon_program_go_to_root_window): HildonProgram now has a
6780 separate list for stackable windows. Functions are provided to
6781 manage that list with a stack-like API.
6783 * src/hildon-stackable-window.c: Stackable window management is
6784 now much simpler with the new HildonProgram API. Windows no
6785 longer need to be manually added to the program, they're
6786 automatically pushed to the top of the stack when shown.
6788 * examples/hildon-stackable-window-example.c: Updated example to
6789 reflect the API changes.
6791 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6793 * src/hildon-touch-selector.c: Comment out unimplemented
6794 hildon_touch_selector_insert_column() to avoid a compile warning.
6796 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6798 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6799 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6800 (hildon_touch_selector_set_column_selection_mode),
6801 (_hildon_touch_selector_set_model),
6802 (hildon_touch_selector_set_model):
6804 Complete review of HildonTouchSelector documentation.
6806 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6808 * doc/hildon-docs.sgml
6812 * src/hildon-gtk.c: Convenience functions for standard Gtk
6813 widgets, used to easily perform frequent operations.
6815 * src/hildon-button-helpers.h
6816 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6818 * src/hildon-helper.h
6819 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6820 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6822 * src/hildon-button.h
6823 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6825 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6827 * src/hildon-button.c (hildon_button_init)
6828 (hildon_button_set_arrangement, hildon_button_construct_child):
6829 Pack the image and the labels inside the same GtkAlignment so
6830 gtk_button_set_alignment() can be used
6832 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6834 * src/hildon-button.h
6835 * src/hildon-button.c
6836 (hildon_button_init, hildon_button_set_image)
6837 (hildon_button_set_image_position)
6838 (hildon_button_construct_child): New functions to add an image to
6841 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6843 * src/hildon-date-button.c
6844 * src/hildon-picker-button.c
6845 * src/hildon-time-button.c
6846 * src/hildon-button.c:
6847 (hildon_button_class_init): "size-flags" renamed to "size"
6848 (hildon_button_set_title): Hide the title label if set to NULL.
6850 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6852 HildonButtonFlags split into HildonButtonArrangement (to set the
6853 button layout) and HildonSizeType (which can be used for any
6856 * src/hildon-button.h
6857 * src/hildon-button.c
6858 (hildon_button_class_init)
6859 (hildon_button_set_arrangement)
6860 (hildon_button_set_property): New "size-flags"
6861 property. "arrangement-flags" renamed to "arrangement".
6862 (hildon_button_new, hildon_button_new_with_text)
6863 (hildon_button_new_full): Constructors updated to reflect type changes.
6865 * src/hildon-helper.h
6866 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6867 to set the size of a widget.
6871 * src/hildon-button-helpers.c
6872 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6874 * src/hildon-date-button.c
6875 * src/hildon-date-button.h
6876 * src/hildon-picker-button.c
6877 * src/hildon-picker-button.h
6878 * src/hildon-time-button.c
6879 * src/hildon-time-button.h: Updated widgets to reflect
6880 HildonButton API changes.
6882 * examples/hildon-button-example.c
6883 * examples/hildon-date-button-example.c
6884 * examples/hildon-picker-button-example.c
6885 * examples/hildon-picker-button-multicolumn-example.c
6886 * examples/hildon-time-button-example.c
6887 * examples/hildon-touch-selector-entry-example.c
6888 * examples/hildon-touch-selector-example.c: Updated examples to
6889 reflect HildonButton API changes.
6891 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6893 * doc/hildon-docs.sgml:
6895 * examples/Makefile.am:
6896 * examples/hildon-touch-selector-entry-example.c:
6898 * src/hildon-touch-selector-entry.c:
6899 * src/hildon-touch-selector-entry.h:
6902 Moved HildonTouchSelectorEntry from sandbox. Added its
6903 documentation and examples.
6905 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6907 * src/hildon-touch-selector.h:
6908 * examples/hildon-picker-button-multicolumn-example.c:
6909 (hildon_touch_selector_append_text_column): Add a gboolean
6910 parameter to determine if text must be centered in the column.
6912 * src/hildon-date-selector.c: (hildon_date_selector_init):
6913 * src/hildon-time-selector.c: (hildon_time_selector_init):
6914 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6915 (create_touch_selector): Update widgets and example to reflect
6918 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6920 * src/hildon-touch-selector.c:
6921 (hildon_touch_selector_set_active_iter): Set also the cursor in
6924 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6926 * doc/hildon-docs.sgml
6929 * src/hildon-toggle-button.c
6930 * src/hildon-toggle-button.h
6931 * src/hildon.h: Removed HildonToggleButton widget, a derived
6932 class is not necessary for this.
6934 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6936 * src/hildon-pannable-area.c,
6937 (hildon_pannable_area_realize),
6938 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6941 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6943 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6944 "done" button the default widget for the dialog.
6946 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6948 * src/hildon-touch-selector.c:
6949 (hildon_touch_selector_class_init),
6950 (hildon_touch_selector_get_property),
6951 (_hildon_touch_selector_set_model),
6952 (_hildon_touch_selector_has_multiple_selection),
6953 (hildon_touch_selector_has_multiple_selection):
6954 Add a "has-multiple-selection" property with a virtual
6955 has_multiple_selection() method to allow derived classes to
6956 override the default value for it. See the method and property
6957 documentation for details.
6959 * src/hildon-touch-selector.h: Add the new API.
6961 * src/hildon-picker-dialog.c: (requires_done_button): Call
6962 hildon_touch_selector_has_multiple_selection() instead of
6963 determining the need for a button itself.
6965 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6967 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6968 (_hildon_touch_selector_set_model),
6969 (hildon_touch_selector_set_model): Move working code to
6970 _hildon_touch_selector_set_mode(). Call the class method instead.
6972 * src/hildon-touch-selector.h: Add (*set_model) to
6973 HildonTouchSelectorClass.
6975 Make hildon_touch_selector_set_model() a virtual method, so that
6976 derived classes can extend it and do fancy stuff with the model.
6978 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6980 * configure.ac: Set back the tarname in AC_INIT to hildon.
6982 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6986 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
6987 instead of libesd (NB#86876). Volume handling is still an open issue.
6989 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
6992 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
6994 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
6995 (hildon_touch_selector_append_column): Make the widget a GtkVBox
6996 derived class to ease placement of an entry widget in
6997 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
6998 end, where the selector columns are packed now.
7000 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7002 * src/hildon-picker-button.c: Removed the simple _text() API.
7003 * src/hildon-picker-button.h: Likewise.
7005 * src/hildon-touch-selector.h:
7006 * src/hildon-touch-selector.c:
7007 (hildon_touch_selector_new_text),
7008 (hildon_touch_selector_append_text),
7009 (hildon_touch_selector_prepend_text),
7010 (hildon_touch_selector_insert_text):
7012 Moved the simple _text() API from HildonPickerButton to
7013 HildonTouchPicker, to provide better escalability and not to tie
7014 that API to HildonPickerButton.
7016 * examples/hildon-picker-button-example.c: (main): Example updated.
7018 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-button.c: Updated documentation.
7022 * examples/hildon-button-example.c: Add the posibility to create
7023 the buttons using horizontal layout for title and value.
7025 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7027 * src/hildon-app-menu-private.h
7028 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7029 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7030 GtkSizeGroup for the filters, use the 'homogeneous' property of
7033 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7035 * examples/hildon-button-example.c: Updated example.
7037 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7039 * doc/hildon-docs.sgml:
7042 Update documentation.
7044 * examples/Makefile.am: Update renamed examples.
7046 * examples/hildon-picker-button-multicolumn-example.c:
7047 (create_touch_selector), (main): Update after the rename.
7049 * examples/hildon-touch-picker-example.c: Removed.
7050 * examples/hildon-touch-selector-example.c: (value_changed),
7051 (create_selector), (get_visible_content), (main): Renamed from
7052 hildon-touch-picker-example.c
7054 * src/Makefile.am: Updated renamed files.
7056 * src/hildon-date-button.c: (hildon_date_button_init),
7057 (hildon_date_button_get_date), (hildon_date_button_set_date):
7058 * src/hildon-date-selector.c: (hildon_date_selector_init),
7059 (_custom_print_func), (_update_day_model),
7060 (_manage_selector_change_cb),
7061 (hildon_date_selector_select_current_date),
7062 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7063 * src/hildon-date-selector.h:
7064 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7065 (hildon_picker_button_set_property),
7066 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7067 (hildon_picker_button_init), (hildon_picker_button_new_text),
7068 (hildon_picker_button_append_text),
7069 (hildon_picker_button_prepend_text),
7070 (hildon_picker_button_insert_text),
7071 (hildon_picker_button_set_selector),
7072 (hildon_picker_button_get_selector):
7073 * src/hildon-picker-button.h:
7074 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7075 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7076 (_update_title_on_selector_changed_cb), (requires_done_button),
7077 (_hildon_picker_dialog_set_selector),
7078 (hildon_picker_dialog_set_selector),
7079 (hildon_picker_dialog_get_selector):
7080 * src/hildon-picker-dialog.h:
7081 * src/hildon-time-button.c: (hildon_time_button_init),
7082 (hildon_time_button_get_time), (hildon_time_button_set_time):
7083 * src/hildon-time-selector.c: (hildon_time_selector_init),
7084 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7085 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7086 * src/hildon-time-selector.h:
7089 Massive code updates after the rename.
7091 * src/hildon-touch-picker.c: Removed.
7092 * src/hildon-touch-picker.h: Removed.
7094 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7095 (hildon_touch_selector_init), (hildon_touch_selector_map),
7096 (hildon_touch_selector_remove), (_default_print_func),
7097 (_selection_changed_cb), (_create_new_column),
7098 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7099 (hildon_touch_selector_append_text_column),
7100 (hildon_touch_selector_remove_column),
7101 (hildon_touch_selector_set_column_attributes),
7102 (hildon_touch_selector_insert_column),
7103 (hildon_touch_selector_get_num_columns),
7104 (hildon_touch_selector_get_column_selection_mode),
7105 (hildon_touch_selector_set_column_selection_mode),
7106 (hildon_touch_selector_set_print_func),
7107 (hildon_touch_selector_get_print_func),
7108 (hildon_touch_selector_get_active_iter),
7109 (hildon_touch_selector_set_active_iter),
7110 (hildon_touch_selector_get_selected_rows),
7111 (hildon_touch_selector_get_model),
7112 (hildon_touch_selector_set_model),
7113 (hildon_touch_selector_get_current_text),
7114 (_hildon_touch_selector_center_on_selected_items):
7115 * src/hildon-touch-selector.h: Renamed from
7116 hildon-touch-picker.[ch]
7118 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7119 references, code examples, and related documentation.
7121 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7123 * doc/hildon-docs.sgml
7126 * src/hildon-toggle-button.c
7127 * src/hildon-toggle-button.h
7128 * src/hildon.h: New HildonToggleButton widget.
7130 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7132 * src/hildon-button.c: Add API documentation.
7133 (hildon_button_set_size_groups): Check input parameters
7135 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7137 * src/hildon-pannable-area.c
7138 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7139 effect after reaching the movement thredshold. This way we start
7140 using the distance after passing the thredshold.
7142 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7144 * src/hildon-button.c: (hildon_button_set_property): Use the
7145 appropriate g_value_get_flags() method.
7147 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7149 * doc/hildon-docs.sgml:
7152 Add the touch pickers, picker dialogs, and picker button widgets
7153 to the documentation.
7155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7157 * src/hildon-button.c: (hildon_button_set_property),
7158 (hildon_button_class_init): Make "arrangement-flags" a proper
7159 G_TYPE_FLAGS derived property.
7161 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7163 * examples/Makefile.am: Add below examples.
7164 * examples/hildon-date-button-example.c:
7165 * examples/hildon-picker-button-example.c:
7166 * examples/hildon-picker-button-multicolumn-example.c:
7167 * examples/hildon-time-button-example.c:
7168 * examples/hildon-touch-picker-example.c:
7170 Add examples for the recently added touch pickers,
7171 picker dialogs, and picker button widgets.
7173 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7175 * src/hildon-button.c: Add some API documentation
7177 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7179 * src/hildon-button.h
7180 * src/hildon-button.c
7182 (hildon_button_new_with_text): New constructor to create a button
7183 with no text at all.
7184 (hildon_button_init, hildon_button_set_arrangement)
7185 (hildon_button_set_title, hildon_button_set_value)
7186 (hildon_button_set_text)
7187 (hildon_button_construct_child): Hide the value when it's not used
7188 so the rest of the text is properly aligned.
7189 Allow creating buttons with arbitrary widgets inside (not just
7190 title/value labels).
7192 * examples/hildon-button-example.c (vertical_buttons_window)
7193 (horizontal_buttons_window): Update example to use new API.
7195 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7197 * src/Makefile.am: Added HildonTimeButton.
7198 * src/hildon-time-button.c: Added missing LGPL header.
7199 * src/hildon-time-button.h: Added missing LGPL header.
7200 * src/hildon.h: Add hildon-time-button.h
7202 Copied HildonTimeButton from sandbox to trunk. Future work on this
7203 widget must take place in trunk.
7205 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7207 * src/Makefile.am: Added HildonDateButton.
7208 * src/hildon-date-button.c: Update includes.
7209 * src/hildon.h: Add hildon-date-button.h
7211 Copied HildonDateButton from sandbox to trunk. Future work on this
7212 widget must take place in trunk.
7214 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7216 * src/Makefile.am: Added HildonPickerButton.
7217 * src/hildon-picker-button.h: Update includes.
7218 * src/hildon.h: Add hildon-picker-button.h
7220 Copied HildonPickerButton from sandbox to trunk. Future work on
7221 this widget must take place in trunk.
7223 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7225 * src/Makefile.am: Added HildonPickerDialog.
7226 * src/hildon-picker-dialog.c: Update includes.
7227 * src/hildon.h: Add hildon-picker-dialog.h
7229 Copied HildonPickerDialog from sandbox to trunk. Future work
7230 on this widget must take place in trunk.
7232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7234 * src/Makefile.am: Added HildonTimeSelector.
7235 * src/hildon.h: Add hildon-time-selector.h
7237 Copied HildonTimeSelector widget from sandbox to trunk. Future
7238 work on this widget must happen in trunk.
7240 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7242 * src/Makefile.am: Added HildonDateSelector.
7243 * src/hildon.h: Add hildon-date-selector.h
7245 Copied HildonDateSelector widget from sandbox to trunk. Future
7246 work on this widget must happen in trunk.
7248 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7250 * src/Makefile.am: Added HildonTouchPicker.
7251 * src/hildon-touch-picker.c: Update includes.
7252 * src/hildon.h: Add hildon-touch-picker.h
7254 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7255 on this widget must happen in trunk.
7257 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7259 * src/hildon-pannable-area.c:
7260 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7262 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7264 * examples/hildon-app-menu-example.c (main): Let the window
7267 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7269 * src/hildon-pannable-area.c
7270 (hildon_pannable_area_class_init): Set the min value of the
7271 overshoot properties to zero, which points out that not
7272 overshooting allowed.
7274 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7276 Modified the procedure to get the widget at a point inside the
7277 pannable area when using the movement type signals. Now the user
7278 has to call a function to get the child, that way we just
7279 calculate the child in case the user really want to use it and not
7282 * src/hildon-marshalers.list: Modified the marshallers, now we do
7283 not have the widget as a parameter.
7285 * src/hildon-pannable-area.c
7286 (hildon_pannable_area_motion_notify_cb),
7287 (hildon_pannable_area_class_init),
7288 (hildon_pannable_get_child_widget_at): Removed the widget
7289 parameter from the signal callback. We have also refactored the
7290 emission of the signals.
7292 * src/hildon-pannable-area.h: Added a new method to the API to
7293 calculate a widget at a point inside the pannable area,
7294 hildon_pannable_get_child_widget_at.
7296 * examples/hildon-pannable-area-example-4.c
7297 (horizontal_movement): Modified the example to use the new API,
7298 added condition to control which widget is under the event. This
7299 way we can avoid scrolling laterally over other widgets.
7301 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7303 * src/hildon-pannable-area.c
7304 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7305 modes, we stop getting the pointer events due to returning the
7306 callback without properly calling the get pointer again. Fixed
7307 also an error using the hscroll and vscroll.
7309 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7311 * src/hildon-app-menu-private.h
7312 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7313 (hildon_app_menu_button_release, hildon_app_menu_init)
7314 (hildon_app_menu_class_init): Don't hide the menu on button
7315 release if the user didn't press outside first.
7317 * src/hildon-window.h
7318 * src/hildon-window.c (hildon_window_toggle_menu)
7319 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7320 hildon_window_toggle_menu a virtual function for the stackable
7321 window to override it.
7323 * src/hildon-stackable-window.h
7324 * src/hildon-stackable-window-private.h
7325 * src/hildon-stackable-window.c
7326 (hildon_stackable_window_realize)
7327 (hildon_stackable_window_finalize)
7328 (hildon_stackable_window_class_init)
7329 (hildon_stackable_window_init)
7330 (hildon_stackable_window_set_main_menu): New function to set the
7331 app menu of a HildonStackableWindow.
7333 * examples/hildon-app-menu-example.c: Remove the button to show
7334 the app menu, now it'll be shown when clicking on the title bar
7337 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7339 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7340 set the widget name if the arrangement flags do not specify
7343 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7345 * src/hildon-button.c: (hildon_button_set_property),
7346 (hildon_button_class_init), (hildon_button_new_full),
7347 (hildon_button_set_arrangement): Added "arrangement-flags"
7350 Make the HildonButtonFlags a construction-only property, to allow
7351 subclasses to set them properly.
7353 2008-07-21 Tim Janik <timj@imendio.com>
7355 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7356 insertion position after backspace, so additional digits are appended,
7359 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7361 * src/hildon-pannable-area.c,
7362 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7363 TODO list, it was complete and removed the g_debug and g_print
7366 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7368 Added the movement modes to the hildon-pannable-area, with this
7369 modes the developers can control in which directions the widget
7370 can scroll. They can also connect to signals in order to do
7371 something when that happens, allowing applications scroll. There
7372 is an example uploaded showing how to use it.
7374 * examples/Makefile.am:
7375 * examples/hildon-pannable-area-example-4.c: Added this example of
7376 an application using the modes.
7378 * src/hildon-marshalers.list: Added a new marshaller for the new
7381 * src/hildon-pannable-area.h: Added new enumerations and flags in
7382 order to control the movement modes and the new signals to warn
7383 about the movements in the area.
7385 * src/hildon-pannable-area.c:
7386 (hildon_pannable_axis_scroll),
7387 (hildon_pannable_area_scroll),
7388 (hildon_pannable_area_motion_notify_cb),
7389 (hildon_pannable_area_get_property),
7390 (hildon_pannable_area_set_property),
7391 (hildon_pannable_area_map),
7392 (hildon_pannable_area_class_init),
7393 (hildon_pannable_area_init),
7394 (hildon_pannable_area_jump_to): Added the modes to control the
7395 movement in the widget. We have added properties to control it,
7396 signals to warn about the movements and refactored some code.
7398 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7400 Changes required in order to allow vfast_factor set to zero to
7403 * src/hildon-pannable-area.c:
7404 (hildon_pannable_area_button_press_cb): Changed the condition, it
7405 is required for not allowing click when vfast_factor is zero.
7406 (hildon_pannable_area_timeout): Initialized velocity variables
7407 when we stop moving, it was less than 1 but not zero and we need
7408 to check zero in some situations.
7409 (hildon_pannable_area_class_init): Changed the default value of
7410 the speed factor, now the button_press is just sent in case the
7411 speed is 2 per cent of the max speed.
7412 (hildon_pannable_area_init): Initialization with 0.
7414 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7416 * src/hildon-pannable-area.c,
7417 (hildon_pannable_area_get_topmost): replaced
7418 gdk_window_get_children with gdk_window_peek_children, this way we
7419 do not have to free the list because it is not a copy.
7421 (hildon_pannable_axis_scroll),
7422 (hildon_pannable_area_scroll),
7423 (hildon_pannable_area_timeout),
7424 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7425 two parameters that were only used inside the
7426 hildon_pannable_area_scroll function.
7428 * examples/hildon-pannable-area-example.c,
7429 (get_sawtooth_label): Fixed small memory leak.
7431 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7433 More checks for the case where the overshoot is bigger than the
7436 * src/hildon-pannable-area.c:
7437 (hildon_pannable_draw_vscroll),
7438 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7439 to draw the slider of the scrollbar under the other scrollbar.
7440 (hildon_pannable_area_expose_event): added new checks to control
7441 the drawing of the overshooting area rectangle, in case it is too
7442 big for the area of the widget.
7443 (hildon_pannable_area_size_allocate): add more checks to avoid
7444 setting a position to the child widget outside the area.
7446 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7448 * src/hildon-pannable-area.c
7449 (hildon_pannable_area_size_allocate): Added conditions to control
7450 when overshooting is bigger than the allocated space for the
7451 children, this avoids negative allocations.
7453 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7455 * doc/hildon-docs.sgml
7457 * examples/Makefile.am
7458 * examples/hildon-button-example.c
7460 * src/hildon-button.c
7461 * src/hildon-button.h
7462 * src/hildon.h: Initial version of the new HildonButton widget,
7465 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7467 * src/hildon-pannable-area.c:
7468 (hildon_pannable_area_button_press_cb),
7469 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7470 (hildon_pannable_area_motion_notify_cb),
7471 (hildon_pannable_area_button_release_cb),
7472 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7473 (hildon_pannable_area_jump_to_child):
7475 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7477 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7479 * examples/Makefile.am
7480 * examples/hildon-pannable-area-touch-grid-example.c
7481 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7482 the Hildon Touch List and Hildon Touch Grid using the
7483 HildonPannableArea widget.
7485 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7487 * src/hildon-pannable-area.c,
7488 (hildon_pannable_area_button_press_cb),
7489 (hildon_pannable_area_refresh),
7490 (hildon_pannable_area_scroll),
7491 (hildon_pannable_area_motion_notify_cb),
7492 (hildon_pannable_area_button_release_cb),
7493 (hildon_pannable_area_expose_event),
7494 (hildon_pannable_area_add),
7495 (hildon_pannable_area_remove),
7496 (hildon_pannable_area_realize),
7497 (hildon_pannable_area_size_allocate),
7498 (hildon_pannable_area_class_init),
7499 (hildon_pannable_area_init),
7500 (hildon_pannable_area_scroll_to_child),
7501 (hildon_pannable_area_jump_to_child): Fixed the problem of
7502 removing the child from the GtkBin, we have rearranged the widget
7503 hierarchy, now there is no GtkAlignment which was not doing
7504 anything interesting but breaking some of the assumptions of
7505 GtkContainer. Now developers if they want to add a GtkAlignment
7506 they could, but it is not inside the area.
7508 We had to review the whole allocation/expose process, now it is
7509 improved and we save at least three signals which would be saving
7510 some time when rendering the widget. The allocation of the
7511 scrollbars is now made in the allocate method as usual.
7513 We have also added some conditions in order to control when there
7514 is no child of the pannable area. Maybe we will need more work
7517 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7519 * src/hildon-pannable-area.c,
7520 (hildon_pannable_area_dispose): Released the fade-out timeout when
7521 disposing the widget.
7523 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7525 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7526 zero, we are going to use that property in order to deactivate the
7528 (hildon_pannable_axis_scroll),
7529 (hildon_pannable_area_size_allocate): Added conditions to control
7530 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7531 call, now it is called in all situations and we can remove calls
7532 in the allocate method.
7533 (hildon_pannable_area_map): Control the situation when
7534 overshoot_max is zero, we do not need the timeout.
7535 (hildon_pannable_area_class_init): Added documentation in order to
7536 point out that setting zero to overshoot_max means deactivate
7539 NOTE: removed trailing whitespaces from my previous comments of
7542 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7544 * src/hildon-pannable-area.c
7545 (hildon_pannable_area_get_property),
7546 (hildon_pannable_area_set_property),
7547 (hildon_pannable_area_map),
7548 (hildon_pannable_area_class_init),
7549 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7550 to cause the widget give a hint about its panning abilities upon
7553 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7555 * src/hildon-pannable-area.c: Several documentation improvements.
7557 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7559 * src/hildon-program.c
7560 * src/hildon-stackable-window.c: Update documentation.
7562 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7564 * src/hildon-stackable-window.c (get_previous_window_if_last):
7565 Renamed get_last_window()
7566 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7567 (hildon_stackable_window_unset_program):
7569 (get_previous_window_if_last):
7570 Detect if the window hasn't been added to a HildonProgram.
7572 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7574 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7576 * src/hildon-pannable-area.c
7577 (hildon_pannable_area_button_press_cb),
7578 (hildon_pannable_axis_scroll),
7579 (hildon_pannable_area_scroll),
7580 (hildon_pannable_area_timeout),
7581 (hildon_pannable_calculate_vel_factor),
7582 (hildon_pannable_area_get_property),
7583 (hildon_pannable_area_set_property),
7584 (hildon_pannable_area_class_init),
7585 (hildon_pannable_area_init),
7586 (hildon_pannable_area_scroll_to),
7587 (hildon_pannable_area_jump_to),
7588 (hildon_pannable_area_scroll_to_child),
7589 (hildon_pannable_area_jump_to_child):
7590 * src/hildon-pannable-area.h: Added the new API functions:
7591 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7592 hildon_pannable_area_scroll_to_child,
7593 hildon_pannable_area_jump_to_child
7596 * examples/Makefile.am
7597 * examples/hildon-pannable-area-example-2.c
7598 * examples/hildon-pannable-area-example-3.c: Added these two new
7599 examples in order to test and show how the new APIs work.
7601 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7603 * examples/hildon-stackable-window-example.c (new_window):
7604 * src/Makefile.am (noinst_HEADERS):
7605 * src/hildon-program.c (hildon_program_go_to_root_window):
7606 * src/hildon-program.h:
7607 * src/hildon-stackable-window-private.h:
7608 * src/hildon-stackable-window.c:
7609 * src/hildon-stackable-window.h:
7610 Create hildon-stackable-window-private.h
7611 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7613 * examples/hildon-app-menu-example.c (create_menu):
7614 * examples/hildon-hvolumebar-insensitive-example.c (main):
7615 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7616 * examples/hildon-toolbar-seekbar-example.c (main):
7617 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7618 * src/hildon-banner.c (hildon_banner_set_property):
7619 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7620 Fix compilation warnings
7622 * src/hildon-window.c:
7625 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7627 * src/hildon-stackable-window.c
7628 (hildon_stackable_window_unset_program):
7629 Calculate correctly whether to show the previous window if the
7630 last one is removed from the stack.
7631 (hildon_stackable_window_go_to_root_window):
7632 Send delete events starting from the topmost window.
7633 Stop if one of the windows is not destroyed.
7635 (hildon_stackable_window_delete_event)
7636 (hildon_stackable_window_class_init):
7637 Ignore the delete event if the window is not the topmost one.
7639 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7641 * src/hildon-pannable-area.c
7642 (hildon_pannable_area_expose_event): Fixed a problem when
7643 selecting the background color of the scrollbars.
7645 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7647 * examples/hildon-stackable-window-example.c
7648 * src/hildon-stackable-window.c
7649 * src/hildon-stackable-window.h
7650 hildon_stackable_window_go_home() renamed to
7651 hildon_stackable_window_go_to_root_window()
7652 Send delete events to windows rather than closing them with
7653 gtk_widget_destroy()
7655 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7657 * src/hildon-pannable-area.c
7658 (hildon_pannable_area_button_release_cb): Fix overshooting in
7661 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7663 * src/hildon-pannable-area.c
7664 (hildon_pannable_area_init): Initially show the scroll indicators.
7665 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7667 Add initial effect showing the widget is pannable.
7669 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7671 * src/hildon-pannable-area.c
7672 (hildon_pannable_area_class_init)
7673 (hildon_pannable_area_set_property)
7674 (hildon_pannable_area_get_property)
7675 (hildon_pannable_area_button_press_cb):
7676 New 'velocity_fast_factor' property to decide which velocity is
7679 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7681 * src/hildon-pannable-area.c
7682 (hildon_pannable_draw_hscroll)
7683 (hildon_pannable_draw_vscroll):
7684 Use float variables to calculate the size of the scrollbars to
7685 avoid error propagation and resizing during scrolling.
7687 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7689 * src/hildon-pannable-area.c
7690 (hildon_pannable_draw_vscroll)
7691 (hildon_pannable_draw_hscroll):
7692 Define a minimum size for the scroll bars
7694 * src/hildon-stackable-window.c
7695 (hildon_stackable_window_go_home): Fix compilation warning
7696 (get_last_window): Minor optimizations
7697 (hildon_stackable_window_class_init): Fix initialization of
7700 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7702 * src/hildon-stackable-window.c: Fixed typos in doc
7704 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7706 * src/hildon-pannable-area.c
7707 (hildon_pannable_area_scroll):
7708 Calculate here whether we need to scroll instead of using the booleans
7709 that tell us whether to /draw/ the scrolling bars.
7711 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7713 * src/hildon-app-menu.h
7715 * src/hildon-app-menu.c
7716 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7717 multiple filter groups related code and API. Now we support only
7719 * examples/hildon-app-menu-example.c:
7721 Update to reflect API changes.
7723 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7725 * src/hildon-stackable-window.c
7726 (hildon_stackable_window_class_init):
7727 Add hildon_stackable_window_realize.
7728 (hildon_stackable_window_realize):
7729 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7730 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7731 to apply theming and behavior specific to HildonStackableWindow
7734 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7736 * src/hildon-note.c (hildon_note_button_release):
7737 Close information notes also when tapping on them
7739 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7741 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7742 ELASTICITY, refactor and review, fix some issues with drawing
7745 * src/hildon-pannable-area.c:
7746 (hildon_pannable_area_button_press_cb): removed the conditions to
7747 avoid clicks when overshooting. It is not required
7749 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7750 define. Refatored and reviewed the code, now we do not need to
7751 manage velocity in motion_notify.
7753 (hildon_pannable_area_motion_notify_cb): We have moved the code
7754 that controls the area_scroll to the axis_scroll function and get
7755 rid of duplicated code.
7757 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7759 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7761 (hildon_pannable_draw_vscroll),
7762 (hildon_pannable_draw_hscroll): Fixed the problems with the
7763 scrollbar drawing, now we do not use two surfaces, it is easier
7764 and saves resources.
7766 (hildon_pannable_area_get_property): Style modification.
7768 (hildon_pannable_area_class_init): Changed some default values.
7770 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7772 * src/hildon-stackable-window.c: Fix some typos in the
7775 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7777 * src/hildon-dialog.c:
7778 Change indentation style
7781 (hildon_note_button_release):
7782 Use root coordinates to check if the release event happened
7785 * src/hildon-app-menu.c
7786 (hildon_app_menu_button_release):
7787 Remove unnecessary check
7789 * examples/hildon-app-menu-example.c
7791 Add cast to fix warning
7793 * src/hildon-app-menu.c
7794 (hildon_app_menu_class_init):
7795 New inner-border style property.
7796 Set all default spacings to 16
7797 (hildon_app_menu_init):
7798 Use vertical-spacing to set the space between filter buttons and
7799 regular menu buttons.
7800 Set the default container border using the inner-border value.
7802 * examples/hildon-app-menu-example.c
7804 Don't set the menu border explicitly, now we have the inner-border
7805 style property for that.
7807 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7809 * src/hildon-app-menu.c (hildon_app_menu_init):
7810 Make the window modal
7812 * src/hildon-note.c (hildon_note_map)
7813 * src/hildon-app-menu.c (hildon_app_menu_map):
7814 Destroy the grab window if we're unable to grab the pointer
7816 * src/hildon-app-menu-private.h
7817 * src/hildon-app-menu.c
7818 (hildon_app_menu_init, hildon_app_menu_finalize)
7819 (hildon_app_menu_map, hildon_app_menu_unmap)
7820 (hildon_app_menu_button_release)
7821 (grab_transfer_window_get):
7822 Bring back the grab window
7823 (hildon_app_menu_realize):
7824 Decorate the window, set WM hint for Matchbox
7826 * src/hildon-note.c (hildon_note_realize):
7827 * src/hildon-banner.c (hildon_banner_realize):
7828 Add WM hints for Matchbox
7830 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7832 * src/hildon-app-menu-private.h
7833 * src/hildon-app-menu.c
7834 (hildon_app_menu_init, hildon_app_menu_finalize)
7835 (hildon_app_menu_map, hildon_app_menu_unmap)
7836 (hildon_app_menu_button_release):
7837 Remove the grab window, it's not needed anymore
7839 * src/hildon-program.c
7840 Fixed typo in documentation
7842 * src/hildon-app-menu.h
7843 * src/hildon-app-menu.c
7844 * examples/hildon-app-menu-example.c
7845 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7847 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7850 Added new transfer_window and close_if_pressed_outside private
7852 (hildon_note_rebuild):
7853 Don't add a cancel button to the information note. It will be
7854 closed when tapping outside
7855 Remove the comment about the OK button in the documentation
7856 (hildon_note_realize):
7857 Set the notification type hint
7858 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7859 Grab/ungrab pointer and keyboard if the note has to be closed when
7861 (hildon_note_button_release):
7862 Close the note when tapping outside (if applicable)
7864 * src/hildon-app-menu.c
7865 Grab/ungrab pointer and keyboard on map/unmap
7866 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7867 Close the menu on button release, not button press
7869 * src/hildon-banner.c
7870 (hildon_banner_set_property)
7871 (hildon_banner_check_position):
7872 Make the banner use the full width of the screen
7873 (hildon_banner_show_information)
7874 (hildon_banner_show_information_with_markup):
7875 Don't display an icon by default
7877 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7879 Added fading scrollbars and adapted all the overshooting code to
7880 horizontal scrolling. We have also fixed bugs with overshooting
7881 and current fading implementation.
7883 * src/hildon-pannable-area.c
7884 (hildon_pannable_area_scroll_indicator_fade): Time out function
7885 used to change the transparency of the scrollbars.
7887 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7888 control and fixed a problem with fading, we now remove the fade
7889 timeout before adding a new one.
7891 (hildon_pannable_axis_scroll):
7892 (hildon_pannable_area_scroll):
7893 (hildon_pannable_area_timeout): Added this functions so we can use
7894 the scroll code both for vertical and horizontal.
7896 (hildon_pannable_area_motion_notify_cb):
7897 (hildon_pannable_area_button_release_cb): Added the horizontal
7898 scrolling control, fixed a problem with the overshooting timeout.
7900 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7901 painting of the scrolls.
7903 (hildon_pannable_draw_vscroll):
7904 (hildon_pannable_draw_hscroll):
7905 (hildon_pannable_area_expose_event):
7906 Draw both scrollbars and rectangles in the overshooting area.
7908 (hildon_pannable_area_get_property):
7909 (hildon_pannable_area_set_property):
7910 Modified the overshoot property to overshoot_max
7912 (hildon_pannable_area_map):
7913 Replaced the comments symbols.
7915 (hildon_pannable_area_size_allocate):
7916 (hildon_pannable_area_class_init):
7917 (hildon_pannable_area_init): Added horizontal scroll, fading
7918 effect properties, fixed a problem when overshooting in the bottom
7921 * examples/hildon-pannable-area-example.c:
7922 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7923 looks better in the example.
7925 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7927 * src/hildon-window.c
7928 * src/hildon-window.h
7929 (hildon_window_class_init)
7930 (hildon_window_unset_program)
7931 (hildon_window_unset_program_real):
7932 Make unset_program a virtual function
7934 * src/hildon-stackable-window.c
7935 * src/hildon-stackable-window.h
7936 Added hildon_stackable_window_go_home()
7938 * examples/Makefile.am
7939 * examples/hildon-stackable-window-example.c
7940 HildonStackableWindow example
7942 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7944 * hildon-pannable-area.c: Added the overshoot property and removed
7945 the OVERSHOOT define. Fixed an indent style error.
7946 (hildon_pannable_area_motion_notify_cb):
7947 (hildon_pannable_area_get_property):
7948 (hildon_pannable_area_set_property): Add overshoot property.
7950 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7953 (hildon_pannable_area_class_init): Installed the new property.
7955 * hildon-pannable-area-example.c: Added a sawtooth function, this
7956 way it is easier to check the movement in the pannable.
7957 (get_sawtooth_label): Added this function.
7958 (main): Now we get the labels from the new get_sawtooth_label
7961 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7963 * src/hildon-app-menu.h
7964 * src/hildon-app-menu.c
7965 Renamed API variables for consistency
7967 (hildon_app_menu_popup): Use also the default window size to
7968 decide where to place the menu
7970 (hildon_app_menu_init, hildon_app_menu_class_init): New
7971 external-border style property
7973 2008-05-26 Michael Natterer <mitch@imendio.com>
7975 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7976 widget_class->tap_and_hold_setup signal slot doesn't exist any
7977 longer, stop overriding it.
7979 (hildon_time_editor_init): g_signal_connect() to the
7980 tap-and-hold-setup signal instead.
7982 (hildon_time_editor_entry_keypress): add cast to fix warning.
7984 2008-05-23 Alberto Garcia <agarcia@igalia.com>
7986 * doc/hildon-docs.sgml
7988 * examples/Makefile.am
7989 * examples/hildon-app-menu-example.c
7991 * src/hildon-app-menu-private.h
7992 * src/hildon-app-menu.c
7993 * src/hildon-app-menu.h
7995 New HildonAppMenu widget
7997 2008-05-21 Alejandro G. Castro <alex@igalia.com>
7999 Rearranged the inheritance of the pannable area, now it inherits
8000 from GtkBin. This will allow us to control the event_window and
8001 the allocation process of the widget, required for some effects.
8003 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8004 GtkBin structures. * src/hildon-pannable-area.c: Added the
8005 event_window variable.
8006 (hildon_pannable_area_button_press_cb):
8007 (hildon_pannable_area_button_release_cb):
8008 (hildon_pannable_area_motion_notify_cb):
8009 Changed the signature of the method, now we override the event
8010 callback instead of connecting to the signal.
8012 (hildon_pannable_area_realize):
8013 (hildon_pannable_area_unrealize):
8014 (hildon_pannable_area_map):
8015 (hildon_pannable_area_unmap):
8016 (hildon_pannable_area_size_allocate):
8017 Added functions to control the widget construction. We add a
8018 INPUT_ONLY window and we put it over the widgets inside the
8019 container, this event_window handles the events.
8021 (hildon_pannable_area_class_init):
8022 Replaced the signal connections with overrides of the event
8025 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8027 Bouncing effect added when touching the borders, you can change
8028 the elasticity of the border changing the ELASTICITY define.
8030 * src/hildon-pannable-area.c: Added ELASTICITY define.
8031 (hildon_pannable_area_timeout): Added inverse velocity when
8032 touching the border of the child widget, that causes a bounce.
8034 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8036 Improved performance, we now do not go to the X server in order to
8037 get the list of window children. Apparently the effect is the
8038 same, we have to be careful and check if this breaks something in
8041 * src/hildon-pannable-area.c:
8042 (get_ordered_children): Removed this function.
8043 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8044 the children windows function with gdk_window_get_children.
8046 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8048 * src/hildon-pannable-area.c:
8049 (hildon_pannable_area_dispose): Fixed a crash when closing the
8050 window and kinetics is activated.
8052 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8054 * src/hildon-pannable-area.h
8055 * src/hildon-pannable-area.c
8056 Changed indentation style to meet the one used in Hildon
8058 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8060 Reviewed the interaction of the AUTO mode, now we use the time
8061 attribute of the events and calculate the velocity in the motion,
8062 doing a gimp like calculation. The velocity is calculated in each
8063 motion event using the last velocity and the current one, the
8064 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8066 * src/hildon-pannable-area.c: Replaced the time based algorithm
8068 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8069 timeout for the AUTO mode when we are still moving the cursor. We
8070 added also the velocity calculation in this function.
8071 (hildon_pannable_area_button_release_cb): launch the timeout in
8072 case we are in AUTO mode. There are still some constants here that
8073 come from the old implementation that should be reviewed and
8076 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8078 * doc/hildon-docs.sgml
8081 * src/hildon-stackable-window.c
8082 * src/hildon-stackable-window.h
8084 New HildonStackableWindow widget
8086 * examples/hildon-dialog-example.c
8087 * examples/hildon-pannable-area-example.c
8090 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8092 * src/hildon-dialog.c
8093 (hildon_dialog_new_with_buttons): New constructor.
8095 * examples/hildon-dialog-example.c
8096 (main): Update the example to use the new
8097 hildon_dialog_new_with_buttons().
8099 * examples/hildon-pannable-area-example.c
8100 (main): Update example.
8102 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8104 * doc/hildon-docs.sgml
8106 Added HildonPannableArea to the documentation.
8108 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8110 * doc/visual_index.xml
8111 Fix reference to HildonLoginDialog in documentation
8113 * doc/hildon-docs.sgml
8115 * examples/Makefile.am
8116 * examples/hildon-dialog-example.c
8118 * src/hildon-dialog.c
8119 * src/hildon-dialog.h
8121 New HildonDialog widget.
8123 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8125 * src/hildon-pannable-area.c
8126 Merge latest changes (r4318, r4342) from libmokoui trunk
8128 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8130 * examples/Makefile.am
8131 * examples/hildon-pannable-area-example.c
8133 * src/hildon-pannable-area.c
8134 * src/hildon-pannable-area.h
8136 New HildonPannableArea widget.
8138 2008-04-15 18:05:19 <timj@imendio.com>
8140 * src/hildon-banner.c: revert the recent change, that introduced
8141 gtk_window_present() calls. this reopens:
8142 Bug 78481 - [freetest] information banners are hidden under browser menu
8143 But resolves another variant of:
8144 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8146 2008-04-15 13:21:13 <timj@imendio.com>
8148 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8149 recreated its layout, spotted by Kris. this fixes all remaining
8150 artefacts and stability issues with the banner code. in particular:
8151 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8153 2008-04-14 16:52:59 <timj@imendio.com>
8155 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8156 operating on unrealized widgets, fixes:
8157 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8159 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8161 2008-04-09 Kristian Rietveld <kris@imendio.com>
8163 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8164 makes banner disappear.
8165 Fixes: NB#79182: info banner flickering with certain message lengts.
8167 * src/hildon-banner.c (hildon_banner_constructor),
8168 (hildon_banner_init), (hildon_banner_set_text),
8169 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8170 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8171 FALSE, reset size requests of label and banner,
8172 (force_to_wrap_truncated): when the text is too wide, always enforce
8173 the maximum possible width instead of recalculating it from the
8174 layout; enforce the maximum banner height of 3 lines,
8175 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8176 nicer wrapping and no truncated chars if space gets tight.
8178 * src/hildon-banner-private.h: add has_been_wrapped and
8179 has_been_truncated fields.
8181 2008-04-07 Sven Herzberg <sven@imendio.com>
8183 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8184 local values in hildon_date_editor_size_allocate
8186 * src/hildon-date-editor.c: moved the real allocation code into the
8189 2008-04-07 Sven Herzberg <sven@imendio.com>
8191 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8192 local values in hildon_date_editor_size_allocate
8194 * src/hildon-date-editor.c: merged the two if() branches together
8196 2008-04-07 Sven Herzberg <sven@imendio.com>
8198 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8199 local values in hildon_date_editor_size_allocate
8201 * src/hildon-date-editor.c: changed the arguments of the if()
8204 2008-04-07 Sven Herzberg <sven@imendio.com>
8206 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8207 local values in hildon_date_editor_size_allocate
8209 * src/hildon-date-editor.c: split the calculation of the allocation
8210 from the real allocation
8212 2008-03-27 Michael Natterer <mitch@imendio.com>
8214 Fixes: NB#81696: The passcode is not overwritten even after
8217 * src/hildon-code-dialog.c
8218 (hildon_code_dialog_button_clicked)
8219 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8220 because that doesn't overwrite selected text. Instead, emit the
8221 "commit" signal on the entry's im_context so the entry's normal
8222 insert logic is triggered. Set the cursor to the end of the entry
8223 after each insert operation so that we *only* insert in the middle
8224 of the text if something was selected.
8226 2008-03-27 Michael Natterer <mitch@imendio.com>
8228 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8229 selector cannot be opened
8231 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8232 when the popup color selector is created. Please connect to this
8233 signal in order to set the dialog's help ID.
8235 2008-03-25 Sven Herzberg <sven@imendio.com>
8237 Fixes: MB#1212: Hide info banners (infoprints) on click
8239 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8240 extracted the close event simulation into an extra function
8241 (hildon_banner_button_press_event): simulate a close event and destroy
8242 the widget if the event wasn't handled
8243 (hildon_banner_class_init): added the button_press_event handler
8244 (hildon_banner_init): added button-press events to the widget
8246 2008-03-25 Sven Herzberg <sven@imendio.com>
8248 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8249 Patch from: Mohammad Anwari <mdamt@maemo.org>
8251 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8252 instead of the right in RTL mode
8253 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8254 breadcrumb button list in RTL mode
8255 * src/hildon-caption.c: mirror the appearance of the caption widget in
8257 * src/hildon-date-editor.c: mirror appearance of the date editor in
8259 * src/hildon-time-editor.c: mirror appearance of the time editor in
8261 * src/hildon-window.c: fix the position of the popup in RTL mode
8263 2008-03-25 Sven Herzberg <sven@imendio.com>
8265 Amendment to the fix of NB#22072. Fix compilation.
8267 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8269 2008-03-19 Sven Herzberg <sven@imendio.com>
8271 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8274 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8275 timeout id properly when the timeout will disappear this leaves no
8276 artifacts around in the destroy(); there will only be the timeout
8277 created by hildon_banner_ensure_timeout() and adding a new timeout
8278 will also work if the timeout gets removed because the timeout_handler
8281 2008-03-19 Michael Natterer <mitch@imendio.com>
8283 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8285 * src/hildon-volumebar.c
8286 * src/hildon-vvolumebar.c
8287 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8288 the widget becomes focussable at all.
8290 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8291 set the focus to wither the mute button or the volumebar.
8293 Remove own "can-focus" property and instead listen to
8294 notify::can-focus in order to update the widget's state.
8296 Implement GtkWidget::focus() and make sure we can also *leave* the
8297 widget, not only enter it, depending on volumebar orientation and
8298 requested focus direction.
8300 Clean up set_mute() to cooperate nicely with all the above.
8302 2008-03-04 Michael Natterer <mitch@imendio.com>
8304 Fixes: NB#78481: information banners are hidden under browser menu
8306 * src/hildon-banner.c: call gtk_window_present() on the banners so
8307 they are risen if they are already visible.
8309 2008-03-03 Sven Herzberg <sven@imendio.com>
8311 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8313 * examples/hildon-window-menu-example.c: (main): extended the window
8314 menu example to serve as a testcase for automatically added
8315 accelerator groups, too
8316 * src/hildon-window.c: (hildon_window_add_accel_group),
8317 (hildon_window_set_menu): added patch by Tommi Komulainen
8319 2008-03-03 Sven Herzberg <sven@imendio.com>
8321 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8323 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8324 knowledge about the border allocators used within GTK+
8326 2008-02-26 Sven Herzberg <sven@imendio.com>
8328 Fixes: MB#2981: Build with asserts broken
8330 * src/hildon-date-editor.c,
8331 * src/hildon-number-editor.c,
8332 * src/hildon-time-editor.c,
8333 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8334 the proper GType instance check
8336 2008-02-25 Sven Herzberg <sven@imendio.com>
8338 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8340 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8341 * examples/hildon-window-menu-example.c: (main): explicitly show
8343 * src/hildon-window.c:
8344 (hildon_window_set_main_menu): moved most of the code from set_menu()
8345 to this place; skipped the call to gtk_widget_show_all(); also didn't
8346 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8347 (hildon_window_set_menu): removed most of the code, just keep the
8348 questionable gtk_widget_show_all()
8349 * src/hildon-window.h: added the new function and deprecate the old
8352 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8358 * debian/changelog: Updating.
8360 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8363 * pkgconfig/Makefile.am:
8364 * pkgconfig/hildon.pc.in:
8367 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8368 use newly created API_MAJOR_VERSION.
8370 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8376 * debian/changelog: Updating.
8378 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8380 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8382 Add outer_border style property, we use it but don't define it (!).
8386 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8388 * examples/hildon-bread-crumb-trail-example.c (main):
8392 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8394 Fix logic for the bread crumb trail node removal.
8398 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8404 * debian/changelog: Updating.
8406 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8408 Patch by Alejandro to get/set passwords dialogs accesibility.
8410 * hildon-1/src/hildon-get-password-dialog.c:
8411 * hildon-1/src/hildon-set-password-dialog.c:
8412 Set atk_set_name to the passwd entries in order to allow
8413 accessibility by name on this entries.
8415 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * debian/control: Updating gtk dep.
8422 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8424 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8425 USE_MAEMO_GTK is enabled.
8427 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8429 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8430 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8432 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8438 * debian/changelog: Updating.
8440 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8442 * examples/Makefile.am:
8443 * examples/hildon-logical-color-example.c:
8444 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8445 applied + adding a test case. Fixes: NB#71660.
8447 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8449 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8450 to be visible, fixes warning on map for windows without toolbars.
8452 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8454 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8455 2.11.0, add a check for that besides the MAEMO_GTK check.
8457 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8463 * debian/changelog: Updating.
8465 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8467 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8468 visibility. Fixes: NB#70842 and MB#615.
8470 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8472 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8473 set the separator as no-show-all so it doesn't unintentionally appear when
8474 someone does a show_all.
8476 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8478 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8479 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8480 toplevel item. Fixes: NB#62031
8482 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8484 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8485 fix the name of the function in the docs.
8487 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8493 * debian/changelog: Updating.
8495 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8497 * examples/hildon-banner-long-example.c: Adding a test-case for long
8500 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8502 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8504 * src/hildon-color-chooser-dialog.c:
8505 * src/hildon-color-chooser.c:
8506 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8507 memory leaks in font selector and color selector. Fixes: NB#70499 and
8510 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8512 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8514 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8516 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8517 little bit bigger. Fixes: #NB63694.
8519 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8525 * debian/changelog: Updating.
8527 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8530 * doc/hildon-docs.sgml:
8531 * doc/images/bread-crumb-trail.png:
8532 * doc/images/calendar-popup.png:
8533 * doc/images/caption.png:
8534 * doc/images/code-dialog.png:
8535 * doc/images/color-button.png:
8536 * doc/images/color-chooser-dialog.png:
8537 * doc/images/color-chooser.png:
8538 * doc/images/controlbar.png:
8539 * doc/images/date-editor.png:
8540 * doc/images/font-selection-dialog.png:
8541 * doc/images/get-password-dialog.png:
8542 * doc/images/hvolumebar.png:
8543 * doc/images/login-dialog.png:
8544 * doc/images/note.png:
8545 * doc/images/number-editor.png:
8546 * doc/images/range-editor.png:
8547 * doc/images/seekbar.png:
8548 * doc/images/set-password-dialog.png:
8549 * doc/images/sort-dialog.png:
8550 * doc/images/time-editor.png:
8551 * doc/images/time-picker.png:
8552 * doc/images/vvolumebar.png:
8553 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8554 Adding the bread-crumb-trial and helpers to the documentation.
8556 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8558 * examples/hildon-find-toolbar-example.c:
8559 * src/hildon-find-toolbar.c:
8560 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8561 actually continue firing the other handlers if connected. Adding a new
8563 hildon_find_toolbar_get_last_index that gets the index of the most
8564 recently added (last) item. Fixes: NB#52301.
8566 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8569 behaviour. Fixes: NB#68610.
8571 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8573 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8576 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8578 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8579 when realizing the banner. Should make the infonbanner effect a bit more
8582 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * src/hildon-volumebar.c:
8585 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8586 hildon_volumebar_set_range_insensitive_message and
8587 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8589 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8591 * src/hildon-window.c: Fixing the border freeing on destroy.
8593 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * src/hildon-code-dialog-private.h:
8596 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8597 kw keyboard support in HildonCodeDialog.
8599 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8605 * debian/changelog: Updating.
8607 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8609 * src/hildon-date-editor.c:
8610 * src/hildon-number-editor.c:
8611 * src/hildon-private.c:
8612 * src/hildon-private.h:
8613 * src/hildon-time-editor.c:
8614 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8615 handling in subclassed composite widgets. Fixes: NB#66628.
8617 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8620 from destroy_ callback as it introduces problems in async dbus signal
8621 handlers. Fixes NB#66673.
8623 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * examples/hildon-hvolumebar-example.c:
8626 * src/hildon-volumebar.c: Improving the focus handling in the
8627 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8628 set_property accessor so that "mute" property can be actually set. I'm
8629 scared that nobody noticed it's totally broken.
8631 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8633 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8636 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8638 * src/hildon-calendar.c:
8639 * src/hildon-number-editor.c:
8640 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8641 matches the spec of 6 chars per second. Fixes: NB#60489.
8643 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8645 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8646 gtk_style_lookup_color sometime returns FALSE even though color was
8647 found and values were filled properly. Weird. Removing the warning for the
8650 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8653 expand vertically. Adding some extra space to the find toolbar buttons to
8654 make them thumbable. Fixes NB#66060.
8656 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8658 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8659 popup with "Ok" and "Cancel". Fixes NB#59299.
8661 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8663 * src/hildon-calendar.c: Process all window updates before executing next
8664 timeout. Fixes: NB#54146.
8666 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8672 * debian/changelog: Updating.
8674 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8676 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8677 the client event and ignore it, since we use the delete event to close
8680 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * src/hildon-helper.c: Remove the bogus warning about color not being
8683 found. Fixes NB#58352.
8685 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8687 * examples/Makefile.am:
8688 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8689 HildonSeekbar widget inside a toolbar.
8691 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8693 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8694 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8695 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8696 don't want to be closed by non-temporary windows on map.
8698 Also use G_DEFINE_TYPE instead of manually typed code.
8700 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * debian/rules: Updating.
8709 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8711 * examples/Makefile.am:
8712 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8713 bug NB#61128. Strangely it works.
8715 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8717 * src/hildon-date-editor.c: When the date editor entry has been changed
8718 but the numbers of characters < max, turn off the skip validation flag.
8719 Prevents a situation when we enter first a valid year and later re-write
8720 it with an invalid one. Fixes NB#60154.
8722 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8725 code dialog. Fixes NB#64355.
8727 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8729 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8730 switching the page. Fixes NB#49374.
8732 * examples/Makefile.am:
8733 * examples/hildon-wizard-dialog-example.c: Adding an example for
8734 HildonWizardDialog that shows how to handle manual sensitivity setting on
8737 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8741 * src/hildon-version.h.in:
8742 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8744 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8746 * src/hildon-volumebar.c: Updating the docs.
8748 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * debian/changelog: Updating.
8756 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8758 * src/hildon-find-toolbar.c:
8759 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8760 selected item: hildon_find_toolbar_set_active,
8761 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8762 hildon_find_toolbar_get_active_iter . They correspond to respective
8763 GtkComboBox functions.
8765 * examples/Makefile.am:
8766 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8769 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8771 * examples/Makefile.am:
8772 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8775 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8776 when font size > 32 and we pack a focusable widget inside. Actually using
8777 the default response would work too, but since we don't show default
8778 response state in any way (no theming) it would not be visible to the
8779 user. Fixes NB#63430.
8781 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8783 * src/hildon-date-editor.c: Adding the missing variable setter in the
8784 set_property handler. Fixes NB#54182.
8786 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8788 * src/hildon-window.h: Changing the long key press time from 1500ms to
8789 800ms as requested in NB#63700. I have a bad feeling about this, let's
8790 see... Fixes NB#63700.
8792 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8794 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8795 hildon_time_picker_map, hildon_time_picker_realize,
8796 hildon_time_picker_style_set): Split the contents of map to more
8797 appropriate functions; set window decorations on realize and update
8798 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8800 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8805 * debian/changelog: Updating.
8807 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8809 * src/Makefile.am: fixed installation of the header files
8811 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8817 * debian/changelog: Updating.
8819 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8821 * configure.ac: Removing some remaining of --enable-xan.
8823 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8825 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8826 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8828 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8829 2.10.12-osso6 because the move-focus signal needs to be available in
8832 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * examples/Makefile.am:
8835 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8836 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8837 fine. Prolly NB#61128 is fixed now.
8839 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8841 * src/hildon-volumebar.c:
8842 * src/hildon-volumebar.h: Adding the
8843 hildon_volumebar_set_range_insensitive_message and
8844 hildon_volumebar_set_range_insensitive_messagef functions to set
8845 insensitive message on the slider of the volumebar. Fixes NB#61129.
8847 * examples/Makefile.am:
8848 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8849 test the new insensitive messsage functionality on HildonVolumebar.
8851 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8853 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8856 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8858 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8859 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8860 button on after clearing the trail.
8862 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8866 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8868 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8869 by splitting the installed headers in generated and non-generated groups. Use
8870 only the non-generated headers to create the hildon-enum-types.h file.
8872 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8874 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8876 * src/hildon-window.c: Hide the window before performing the destroy.
8877 Should make the app closing a little tiny bit more snappy.
8879 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8881 * src/hildon-seekbar.c: add gtkrange.h header
8882 * src/hildon-caption.c: remove unused variable
8884 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8886 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8889 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8895 * debian/changelog: Updating.
8897 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8899 * src/hildon-window.c (hildon_window_window_state_event,
8900 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8901 escape timeout on focus-out-event rather than notify::is-topmost; the
8902 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8904 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8907 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8909 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8911 * src/hildon-window: actually, you need to use the macro always, there's
8912 no private pointer in the instance structure. We should have cleaned this up
8913 when we had the chance...
8915 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8917 * src/hildon-window.c: do not get the private date from HildonWindow before
8918 it passes the g_return_if_fail check. Once it's passed the test, there's no
8919 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8920 if you are only going to access the data once. Whitespace cleanups.
8922 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8924 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8925 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8927 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8933 * debian/changelog: Updating.
8935 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-window.c: When destroying the window, remove (if exists) the
8938 escape timeout handler. Fixes #NB59276.
8940 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * src/hildon-banner.c: When realizing the widget, set the window
8943 transiency. Setting the transiency in the gobject constructor is not
8944 good, as the widget is not realized at that point. Fixes: #NB56624.
8946 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8948 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8949 Add padding for future expansions.
8951 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8953 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8954 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8955 will fake an activation on the previous to the last item of the trail, so
8956 the effect can be overrided by the developer as usual.
8957 Also change the callback for the back button to do the same thing, so its
8958 effect can be overrided too. Fixes: NB#58982
8960 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8962 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8963 HildonCaption. Fixes NB#52379.
8965 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8967 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8968 the internal state of the trail after the user has had the chance of executing
8969 his handler for the signal. Specifically, it may happen that the activated button
8970 is removed and the user still lets the default handler run. This would segfault
8973 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8976 scrollbar to the preview dialog. Fixes NB#54147.
8978 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8981 max/min year properties can be altered, so the client can modify it
8982 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
8984 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
8987 hildonlike by default. Fixing a problem with disappearing arrows when
8988 scrolling through months and years. Fixes NB#54127.
8990 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8992 * examples/hildon-date-editor-example.c: Adding error callback to the date
8995 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9001 * configure.ac: Updating.
9003 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * configure.ac: Adding a special '--enable-xan' configure option that
9006 turns off the -Werror compilation setting. Usefull for development.
9008 * src/hildon-calendar.c:
9009 * src/hildon-number-editor.c:
9010 * src/hildon-time-picker.c: Adding the 5* multiplier to
9013 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9015 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9016 instead of g_object_ref + gtk_object_sink.
9018 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9024 * debian/changelog: Updating.
9026 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * src/hildon-color-chooser-dialog.c:
9029 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9030 straight from Tommi labs.
9032 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * examples/hildon-finger-example.c: Correcting the header file path.
9036 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9037 the changed signal. Fixes a small memory leak.
9039 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9043 * src/hildon-banner.c: Importing several usefull fixes from the
9044 ubuntu-mobile branch.
9046 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * examples/Makefile.am:
9049 * examples/hildon-finger-example.c: Adding a finger-checking code
9052 * src/hildon-font-selection-dialog.c: Do not allocate the color
9053 structure using the g_new. Fixes NB#54061.
9055 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9057 * src/hildon-helper.c: Correcting tabs in file.
9059 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9061 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9062 control the visibility of the children.
9064 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9066 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * debian/changelog: Updating.
9074 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9076 * src/hildon-bread-crumb-trail.c:
9077 (hildon_bread_crumb_trail_size_allocate):
9079 Make the back button always a square.
9081 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9083 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9084 from the .c file as it's a private file.
9086 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9089 uses slightly bigger height.
9091 * src/hildon-font-selection-dialog.c: Adding some checks before
9092 freeing memory in the font selection dialog.
9094 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 * src/hildon-font-selection-dialog.c: Adding a small check when
9099 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9100 buttons sensitivity on page switching.
9102 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9104 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9105 internal details of adding a bread crumb to the trail.
9107 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9113 * debian/changelog: Updating.
9115 * src/hildon-bread-crumb-trail.h:
9116 * src/hildon-bread-crumb.h: Changing the API guard to
9117 HILDON_ENABLE_UNSTABLE_API.
9119 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * src/hildon-helper.h: Updating.
9129 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9137 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9141 * src/hildon-helper.h: Small fix to make the package actually compile.
9143 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9145 * src/hildon-bread-crumb-trail.h:
9146 * src/hildon-bread-crumb.h:
9148 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9149 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9151 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9153 * examples/hildon-bread-crumb-trail-example.c:
9155 * src/hildon-bread-crumb-trail.c:
9156 * src/hildon-bread-crumb-trail.h:
9157 * src/hildon-bread-crumb.c:
9158 * src/hildon-bread-crumb.h:
9159 * src/hildon-marshalers.list:
9160 * src/hildon-bread-crumb-widget.c:
9161 * src/hildon-bread-crumb-widget.h:
9163 Slight change in the widget design. The bread crumb trail API is
9164 unchanged, but HildonBreadCrumb is now an interface. A *private*
9165 implementation, hildon-bread-crumb-widget, is provided and used
9166 internally by the trail for the push_text/push_icon functions.
9168 The generic push API is still available, so anyone can implement
9169 and use its own bread crumb widget.
9171 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * debian/rules: Fixing the shlibs.
9175 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9177 * src/hildon-banner.c: Fixing a problem with timed banners having
9178 their parrent destroyed before they are.
9180 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9182 * src/hildon-bread-crumb.c:
9183 * src/hildon-bread-crumb.h:
9185 Make the get_natural_size function a vfunc.
9187 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9189 * src/hildon-bread-crumb.c:
9190 * src/hildon-bread-crumb-trail.c:
9194 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9201 * debian/changelog: Updating for release.
9203 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9205 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9206 don't leak the pango layout.
9208 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9211 * examples/hildon-bread-crumb-trail-example.c:
9215 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * debian/changelog: Removing the bug-fixed entries that were actually
9218 resolved as WONTFIX.
9220 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9223 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9225 * src/hildon-bread-crumb-trail.c:
9226 * src/hildon-bread-crumb-trail.h:
9227 * src/hildon-bread-crumb.c:
9228 * src/hildon-bread-crumb.h:
9232 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9234 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9235 until it's passed the type check.
9237 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9239 * examples/hildon-bread-crumb-trail-example.c
9243 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9245 * examples/Makefile.am
9246 * examples/hildon-bread-crumb-trail-example.c
9248 * src/hildon-bread-crumb-trail.c
9249 * src/hildon-bread-crumb-trail.h
9250 * src/hildon-bread-crumb.c
9251 * src/hildon-bread-crumb.h
9253 New HildonBreadCrumbTrail widget.
9255 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9257 * src/hildon-range-editor.c (hildon_range_editor_init),
9258 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9259 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9260 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9261 hildon_time_editor_class_init, hildon_time_editor_init),
9262 src/hildon-get-password-dialog.c (invalid_input,
9263 hildon_get_password_set_property, hildon_get_password_get_property,
9264 create_contents, hildon_get_password_dialog_set_max_characters),
9265 src/hildon-set-password-dialog.c (create_contents),
9266 src/hildon-date-editor.c (hildon_date_editor_init),
9267 src/hildon-login-dialog.c (hildon_login_dialog_init),
9268 src/hildon-number-editor.c (hildon_number_editor_init),
9269 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9270 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9271 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9272 configure option and adding the respective checks in the code.
9273 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9274 hildon_calendar_drag_data_received): fixed some build warnings.
9276 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * debian/changelog: A 1.0.0 release notes.