1 2009-07-29 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_timeout): Added the process updates of the
5 scrollbars window in the pannable.
7 Fixes: NB#130043 (scrollindicator not smooth while paning)
9 2009-07-23 Alejandro G. Castro <alex@igalia.com>
11 * hildon/hildon-pannable-area.c,
12 (hildon_pannable_area_check_move),
13 (hildon_pannable_area_button_release_cb),
14 (hildon_pannable_area_scroll_to): Increased the priority of the
15 timeout this way it is going to be handled before the events.
17 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
21 * configure.ac: bump version
22 * debian/changelog: updates
24 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
26 * hildon/hildon-entry.c: (set_property): Do not allow to set
27 automatic height and use finger height instead, to prevent an to
28 have a smaller size than than its theme pixbuf.
30 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
32 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
34 * configure.ac: postrelease version bump.
35 * debian/changelog: post release version bump
37 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
42 * configure.ac: Bump version.
43 * debian/changelog: Updates.
45 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
47 * hildon/hildon-note.c: (label_size_request): Take the note
48 padding into account when setting the size request.
50 Fixes: NB#127896 (Information notes text truncated)
52 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
54 * configure.ac: postrelease version bump.
55 * debian/changelog: post release version bump
57 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
62 * configure.ac: Bump version.
63 * debian/changelog: Updates.
65 2009-07-16 Alejandro G. Castro <alex@igalia.com>
68 * hildon/hildon-text-view.c,
69 (hildon_text_view_button_press_event): Grabbed the focus in button
70 press, this way we are sure the widget has the focus in the
71 release event, required for HIM.
73 Fixes: NB#121445 (Virtual keyboard opening is not working in same
74 way for each text entry field)
76 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
78 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
79 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
80 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
81 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
82 (hildon_pannable_area_[gs]et_center_on_child_focus)
83 Redefined GtkContainer set-focus-child signal, in order to center
84 properly on a child when it receives the focus. Defined a new property
85 "center-on-child-focus" in order to activate this feature (deactivated
86 by default). Public get/set methods defined to manage the property.
88 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
90 2009-07-14 László Pere <lpere@blumsoft.eu>
92 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
93 the new size is applied.
95 Fixes: NB#124510 (The Application Menu is distorted when switched
96 between portrait and landscape mode)
97 Fixes: NB#115388 (Power key menu does not resize itself)
99 2009-07-01 Alberto Garcia <agarcia@igalia.com>
101 * hildon/hildon-banner.c (hildon_banner_map):
102 Set banner position after mapping.
104 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
106 * configure.ac: postrelease version bump.
107 * debian/changelog: post release version bump
109 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
114 * configure.ac: Bump version.
115 * debian/changelog: Updates.
117 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
119 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
122 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
124 * tests/check-hildon-banner.c
126 * tests/test_suites.h
127 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
128 were testing deprecated functions.
129 * examples/hildon-banner-example.c: typo on button3 type, that causes
130 a fail compiling with --with-examples but without --disable-deprecated
132 Missed commit in order to fix compilation using '--enable-fatal' and
133 '--disable-deprecated' (see previous commit)
135 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
137 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
138 functions with #ifndef HILDON_DISABLE_DEPRECATED
139 * examples/hildon-find-toolbar.c: Protect deprecated
140 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
141 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
142 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
143 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
145 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
146 to allow proper compilation of deprecated functions defined on the header
148 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
150 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
152 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
153 Cache the panning indicator color.,
154 (hildon_pannable_area_style_set): Query the color on style changes.
155 (hildon_pannable_draw_vscroll),
156 (hildon_pannable_draw_hscroll),
157 (hildon_pannable_area_expose_event): Use the cached panning indicator
158 color instead of looking it up on every expose and more.
160 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
162 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
163 (hildon_pannable_draw_hscroll),
164 (hildon_pannable_area_expose_event): Fix the panning indicator color,
165 so that it's "SecondaryTextColor", as desired.
167 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
169 * hildon/hildon-picker-dialog.c:
170 (selection_completed): take into account HILDON_UI_MODE_NORMAL
171 * hildon/hildon-touch-selector.c
172 (hildon_touch_selector_init): Initialize hildon-ui-mode
173 (hildon_touch_selector_row_activated): new callback for the
174 "row-activated" signal, in order to save the last activated
175 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
176 if the current hildon-ui-mode is coherent with the touch selector
177 (hildon_touch_selector_class_init)
178 (hildon_touch_selector_get_property)
179 (hildon_touch_selector_set_property)
180 Added "hildon-ui-mode" property
181 (disconnect_model_handlers): renamed to clean_column
182 (hildon_touch_selector_remove): use clean_column function
183 (_create_new_column): use the hildon-ui-mode to create the treeview, and
184 only select the first element on HILDON_UI_MODE_EDIT
185 (hildon_touch_selector_column_init): Initialize last_activate
186 (hildon_touch_selector_append_column): check that the touch selector
187 is coherent with the current hildon-ui-mode
188 (hildon_touch_selector_get_hildon_ui_mode)
189 (hildon_touch_selector_set_hildon_ui_mode)
190 Added a getter/setter for the hildon-ui-mode property
191 (hildon_touch_selector_get_last_activated_row): Added this method in
192 order to get the last activated row.
193 * examples/hildon-touch-selector-normal-mode-example.c
194 New example, that shows how to use the HildonTouchSelector in
195 HILDON_UI_MODE_NORMAL
197 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
198 Kristian Rietveld <kris@lanedo.com> advices
200 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
202 * hildon/hildon-time-selector.c: (update_format_policy): Do
203 not call update_format_dependant_columns() if not necessary.
204 (update_format_dependant_columns): Remove unnecessary check for
205 the number of columns.
207 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
209 * hildon/hildon-note.c (+hildon_note_constructor),
210 (hildon_note_class_init), (+hildon_note_set_padding),
211 (hildon_note_rebuild): Install a constructor where to set the
212 padding properties in the note, so that it actually works fine.
213 Use hildon_note_set_padding() for this, and also to set it during
216 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
218 * configure.ac: Bump GTK+ requirement to 2.14.3.
219 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
220 when using maemo-gtk to define proper margins for the notes.
222 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
223 with the dialog edge)
225 2009-06-24 Alberto Garcia <agarcia@igalia.com>
227 * hildon/hildon-banner.c
228 (hildon_banner_class_init):
230 (+hildon_banner_size_request):
231 Request always the full width of the screen.
232 (hildon_banner_realize)
233 (-hildon_banner_check_position, hildon_banner_map):
234 hildon_banner_check_position() is not needed in Hildon 2.2.
235 (-hildon_banner_reset_wrap_state)
236 (hildon_banner_constructor, hildon_banner_init):
237 Remove unnecessary calls to hildon_banner_reset_wrap_state()
238 (+banner_do_set_text)
239 (force_to_wrap_truncated):
240 Remove has_been_wrapped and has_been_truncated attributes.
241 (+reshow_banner, hildon_banner_real_show_information)
242 (hildon_banner_show_information_with_markup)
243 (hildon_banner_show_animation, hildon_banner_show_progress)
244 (hildon_banner_set_text, hildon_banner_set_markup):
245 Refactor code. Shrink banner vertically to use the minimum space
246 necessary everytime the text of the label is updated.
247 (screen_size_changed):
248 Call force_to_wrap_truncated() when the size of the screen
251 Fixes: NB#120500 (only device memory connect mmc in use info
252 banner is left aligned)
254 Fixes: NB#120613 (Size of HildonBanner varies depending on
255 previously opened banners)
257 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
259 * hildon/hildon-color-chooser.c
260 (hildon_color_chooser_pointer_motion): Take the widget allocation
263 Fixes: NB#124385 (Unable to select exact point in color mixing box
264 in color palette dialog)
266 2009-06-23 Alejandro G. Castro <alex@igalia.com>
268 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
269 (hildon_pannable_area_dispose)
270 (hildon_pannable_area_button_press_cb)
271 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
272 (hildon_pannable_area_button_release_cb)
273 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
274 New 'panning-started' and 'panning-finished' signals.
276 Fixes: NB#121732 (New feature request: Signal to pannable area
277 that informs when panning is stopped.)
279 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
281 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
282 instead of hardcoded colon.
284 Fixes: NB#124090 (New calendar wizard title is not using
285 ecdg_ti_caption_separator)
287 2009-06-22 David King <davidk@openismus.com>
289 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
290 constants and functions, as well as correct many typos throughout the
293 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
296 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
298 * configure.ac: postrelease version bump.
299 * debian/changelog: post release version bump
301 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
306 * configure.ac: Bump version.
307 * debian/changelog: Updates.
309 2009-06-18 Alberto Garcia <agarcia@igalia.com>
311 * hildon/hildon-window-stack.c
312 (hildon_window_stack_pop_and_push_list):
313 Prevent windows from having the same stack index
315 2009-06-18 Alberto Garcia <agarcia@igalia.com>
317 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
318 Use the index of the previous window rather than the stack length
319 to calculate the new index.
323 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
325 * hildon/hildon-date-selector.c
326 (hildon_date_selector_select_current_date)
327 (hildon_date_selector_get_date)
328 (hildon_date_selector_select_day):
329 Update the documentation: uses always the range (1-31), as it is obvious
330 that the final one will depend on the month and the year, but globally
331 the range is this, in a similar GtkCalendar approach
332 (hildon_date_selector_get_date):
333 Update the documentation: add NULL as a valid value for the day, month
336 Fix some details, after talk with David King on bug MB#4698
338 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
340 * hildon/hildon-touch-selector-entry.c
341 * hildon/hildon-touch-selector.c
342 Update the documentation of the "text-column" property
344 2009-06-18 David King <davidk@openismus.com>
346 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
347 several typos and errors throughout the documentation.
349 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
352 2009-06-18 Alberto Garcia <agarcia@igalia.com>
354 * hildon/hildon-note.c (hildon_note_realize):
355 Make HildonNote support portrait mode.
357 Fixes: NB#123448 (HildonNote is not portrait-friendly)
359 2009-06-17 Alberto Garcia <agarcia@igalia.com>
361 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
362 Document this function
364 2009-06-17 David King <davidk@openismus.com>
366 * hildon/hildon-date-selector.c
367 (hildon_date_selector_select_current_date)
368 (hildon_date_selector_get_date): Update documentation regarding days,
369 as the day of the month is dependent on both the month and the year.
370 (hildon_date_selector_get_date): Fix documentation of output arguments.
372 Fixes: MB#4698 (DateSelector documentation has bad output argument
373 description, and the day depends on both the month and the year)
375 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
377 * hildon/hildon-caption.c: Other documentation fixes to
380 2009-06-17 David King <davidk@openismus.com>
382 * hildon/hildon-caption.c: Minor documentation updates for
383 HildonCaption. Fixes MB#4697.
385 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
387 * doc/hildon-docs.sgml: Add hildon-version section.
388 * doc/hildon-sections.txt:
389 * hildon/hildon-version.h.in: Document versioning macros and
392 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
394 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
395 from HildonPickerDialog section.
397 2009-06-16 Alberto Garcia <agarcia@igalia.com>
399 * hildon/hildon-banner.c (hildon_banner_bind_style)
400 (screen_size_changed, hildon_banner_init)
401 (hildon_banner_real_show_information)
402 (hildon_banner_show_information_with_markup)
403 (hildon_banner_show_animation, hildon_banner_show_progress):
404 Set a different widget name to banners in portrait mode, for them
405 to be themed correctly.
407 2009-06-16 Alberto Garcia <agarcia@igalia.com>
409 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
410 Set a different widget name to notes in portrait mode, for them to
413 Partially fixes: NB#118401 (HildonNote causes unnecessary
416 2009-06-16 Alberto Garcia <agarcia@igalia.com>
418 * hildon/hildon-note.c (hildon_note_class_init)
419 (+hildon_note_size_request, screen_size_changed):
420 Always request the full width of the screen.
422 Fixes: NB#118375 (unnecessary rescaling of images)
424 2009-06-16 Alejandro G. Castro <alex@igalia.com>
426 * hildon/hildon-pannable-area.c,
427 (hildon_pannable_area_init),
428 (hildon_pannable_area_realize): Replaced old code adding flags in
429 the object init, now we add it with the other flags in the realize
432 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
434 * hildon/hildon-note.c: (hildon_note_class_init): Several
435 documentation improvements to the HildonNote widget.
437 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
439 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
441 Fixes: MB#4556 (HildonNoteType is undocumented)
443 2009-06-15 Alberto Garcia <agarcia@igalia.com>
445 * hildon/hildon-picker-button.c:
446 Explain how HildonPickerButton sets the title of its dialog
448 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
449 the title of its dialog)
451 2009-06-15 Alberto Garcia <agarcia@igalia.com>
453 * hildon/hildon-check-button.c:
454 Documentation updates
456 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
459 2009-06-15 Alberto Garcia <agarcia@igalia.com>
462 * hildon/hildon-edit-toolbar-private.h
463 * hildon/hildon-edit-toolbar.c
464 (+hildon_edit_toolbar_set_progress_indicator)
465 (hildon_edit_toolbar_init): Add progress indicator to the
468 * hildon/hildon-gtk.c
469 (hildon_gtk_window_set_progress_indicator):
470 If the window contains a HildonEditToolbar, enable the progress
473 * hildon/hildon-private.h
474 * hildon/hildon-private.c
475 (+hildon_private_create_animation)
476 * hildon/hildon-banner.c
477 (-hildon_banner_create_animation):
478 Moved to hildon-private.c
480 Fixes: NB#102373 (Progress indicator also for the Edit mode
483 2009-06-15 Alberto Garcia <agarcia@igalia.com>
485 * hildon/hildon-app-menu-private.h
486 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
487 (hildon_app_menu_add_filter, +menu_item_button_event)
488 (hildon_app_menu_button_release, hildon_app_menu_init):
489 Make sure that buttons receive 'button-release-event' in spite of
490 the grab held by HildonAppMenu
492 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
494 2009-06-15 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-app-menu.c
497 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
498 New style property to set the size of the group of filter buttons.
500 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
502 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
507 * configure.ac: Bump version.
508 * debian/changelog: Updates.
510 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
512 * hildon/hildon-main.c: Minor documentation fixes.
514 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
516 * doc/hildon-sections.txt:
517 * hildon/hildon-defines.h: Document the defines, organize them,
518 and mark deprecations as such.
520 Fixes: MB#4463 (Hildon size #defines are undocumented)
522 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
524 * hildon/hildon-animation-actor.c:
525 * hildon/hildon-app-menu.c:
526 * hildon/hildon-button.c:
527 * hildon/hildon-date-editor.c:
528 * hildon/hildon-dialog.c:
529 * hildon/hildon-edit-toolbar.c:
530 * hildon/hildon-entry.c:
531 * hildon/hildon-program.c:
532 * hildon/hildon-remote-texture.c:
533 * hildon/hildon-stackable-window.c:
534 * hildon/hildon-text-view.c:
535 * hildon/hildon-touch-selector.c:
536 * hildon/hildon-window-stack.c:
537 * hildon/hildon-window.c:
539 Remove redundant "represents" wording from most of the documentation.
541 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
543 2009-06-12 Alberto Garcia <agarcia@igalia.com>
548 * hildon/hildon-banner-private.h
549 * hildon/hildon-banner.c:
550 Move HildonBannerPrivate to hildon-banner.c and remove
551 hildon-banner-private.h
552 Use a bit field to store private booleans.
554 2009-06-12 Alberto Garcia <agarcia@igalia.com>
556 * hildon/hildon-app-menu.c (hildon_app_menu_map):
557 Don't install a new idle function if there's already one
562 2009-06-11 Alberto Garcia <agarcia@igalia.com>
564 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
565 (+legacy_menu_realized, +legacy_menu_unmapped)
566 (+set_legacy_menu_type):
567 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
568 they can be identified by the window manager.
570 Fixes: NB#101437 (Invoking CSM on the left side of page area is
571 displayed in wrong location)
573 Fixes: MB#4563 (Popup menu won't locate at the left side of the
576 2009-06-11 Alberto Garcia <agarcia@igalia.com>
578 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
580 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
583 2009-06-11 Alberto Garcia <agarcia@igalia.com>
585 * hildon/hildon-code-dialog.c
586 * hildon/hildon-date-editor.c
587 * hildon/hildon-number-editor.c
588 * hildon/hildon-seekbar.c
589 * hildon/hildon-stackable-window.c
590 * hildon/hildon-window.c:
591 Misc documentation updates
593 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
596 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
598 Fixes: NB#117931 (Theming issues in accounts dialogs)
600 2009-06-09 Alejandro G. Castro <alex@igalia.com>
602 * hildon/hildon-pannable-area.c,
603 (hildon_pannable_area_button_release_cb): Changed the coordinates
604 of the original release in case we want to discard the release,
605 some widgets in Fremantle do not handle the leave-notify.
607 2009-06-09 Alejandro G. Castro <alex@igalia.com>
609 * hildon/hildon-pannable-area.c,
610 (hildon_pannable_area_button_release_cb): Reviewed the logic of
611 the release using the last refactored functions and avoiding the
612 movement if an element was selected.
614 2009-06-09 Alejandro G. Castro <alex@igalia.com>
616 * hildon/hildon-pannable-area.c,
617 (hildon_pannable_area_check_move),
618 (hildon_pannable_area_handle_move),
619 (hildon_pannable_area_motion_notify_cb): Refactored the
620 motion_notify method using a couple of new functions.
622 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
624 * hildon/hildon-date-selector.c:
625 (hildon_date_selector_construct_ui):
626 * hildon/hildon-time-selector.c:
627 (hildon_time_selector_constructor):
628 * hildon/hildon-touch-selector-entry.c:
629 (hildon_touch_selector_entry_set_text_column),
630 (hildon_touch_selector_entry_get_text_column):
631 * hildon/hildon-touch-selector.c: (_default_print_func),
632 (hildon_touch_selector_new_text): Use
633 hildon_touch_selector_set/get_text_column() instead of
634 setting/getting the "text-column" property.
636 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
638 * doc/hildon-sections.txt: Add the new public methods below.
640 * examples/hildon-picker-button-multicolumn-example.c:
641 (create_touch_selector):
642 * examples/hildon-touch-selector-example.c: (create_selector):
643 * examples/hildon-touch-selector-multi-cells-example.c:
645 Use hildon_touch_selector_column_set_text_column()
647 * hildon/hildon-touch-selector-column.h:
648 * hildon/hildon-touch-selector.c:
649 (hildon_touch_selector_column_set_text_column),
650 (hildon_touch_selector_column_get_text_column):
651 Make hildon_touch_selector_column_set/get_column() public, use
652 them in the inline example, document them, and reference to them
655 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
657 * hildon/hildon-time-selector.c: Fix the docs for
658 hildon_time_selector_new_step().
660 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
662 * hildon/hildon-touch-selector.c: Improve the documentation for
663 hildon_touch_selector_append_column().
665 Fixes MB#4641 (Documentation:
666 hildon_touch_selector_append_column() ref-counting)
668 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
670 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
671 Comment out test 5, since the hildon_controlbar_set_range() range
672 check is broken and fixing it would have side effects. Also,
673 this finally fixes make distcheck.
675 Fixes: NB#101420 (Update unit tests and fix make distcheck)
677 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
679 * tests/TEST-CASES.txt: Remove other bogus test.
680 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
681 Remove bogus test that was setting/retrieving a valid value.
683 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
685 * tests/TEST-CASES.txt: Remove bogus tests.
686 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
687 Remove three bogus tests that were actually setting valid colors.
689 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
691 * configure.ac: post release version bump
692 * debian/changelog: post release version bump
694 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
699 * configure.ac: Bump version.
700 * debian/changelog: Updates.
702 2009-06-08 Christian Dywan <christian@lanedo.com>
706 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
707 Correct errors in hildon_format_file-size_for_display and use
708 translations from the hildon-fm package instead of osso-filemanager.
710 2009-06-08 Alejandro G. Castro <alex@igalia.com>
712 * hildon/hildon-pannable-area.c,
713 (hildon_pannable_area_init): Initialized new values to handle the
715 (hildon_pannable_area_adjust_value_changed): Check if the values
716 changed before even call the redraw function.
717 (hildon_pannable_area_size_allocate),
718 (hildon_pannable_axis_scroll),
719 (hildon_pannable_area_scroll),
720 (hildon_pannable_area_jump_to): Improved the diagonal movement
723 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
726 2009-06-08 Alberto Garcia <agarcia@igalia.com>
728 * examples/hildon-banner-example.c:
729 Several style updates
730 (on_animation_clicked, on_animation_idle)
731 (on_progress_clicked, on_progress_idle):
732 Add additional reference for the cases when the parent window is
735 2009-06-08 Alberto Garcia <agarcia@igalia.com>
737 * doc/hildon-sections.txt
738 * hildon/hildon-pannable-area.c
739 * hildon/hildon-banner.h
740 * hildon/hildon-banner.c: Documentation updates.
742 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
745 2009-06-05 Alejandro G. Castro <alex@igalia.com>
747 * hildon/hildon-calendar-popup.h:
748 * hildon/hildon-caption.h:
749 * hildon/hildon-code-dialog.h:
750 * hildon/hildon-controlbar.h:
751 * hildon/hildon-date-editor.h:
752 * hildon/hildon-dialog.h:
753 * hildon/hildon-get-password-dialog.h:
754 * hildon/hildon-hvolumebar.h:
755 * hildon/hildon-login-dialog.h:
756 * hildon/hildon-note.h:
757 * hildon/hildon-number-editor.h:
758 * hildon/hildon-range-editor.h:
759 * hildon/hildon-seekbar.h:
760 * hildon/hildon-set-password-dialog.h:
761 * hildon/hildon-sort-dialog.h:
762 * hildon/hildon-time-editor.h:
763 * hildon/hildon-time-picker.h:
764 * hildon/hildon-volumebar-range.h:
765 * hildon/hildon-volumebar.h:
766 * hildon/hildon-vvolumebar.h:
767 * hildon/hildon-weekday-picker.h:
768 * hildon/hildon-window.h:
769 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
770 macros with the current replacements
772 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
774 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
776 * hildon/hildon-color-button.c (hildon_color_button_init): Use
777 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
778 itself, to make it fit better with Fremantle style.
780 Fixes: NB#109878 (height and width of focus on color icon is not
781 consistent with other item in the application tool bar)
783 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
785 * hildon/hildon-touch-selector.c:
786 (hildon_touch_selector_optimal_size_request): use the current requisition
787 as the base, in order to include any possible extra widget, like the
788 hildon entry on HildonTouchSelectorEntry
790 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
792 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
794 * configure.ac: post release version bump
795 * debian/changelog: post release version bump
797 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
802 * configure.ac: Bump version.
803 * debian/changelog: Updates.
805 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
807 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
809 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
810 to ensure the banner contents are centered, instead of relying on
811 the expand and fill properties in GtkHBox.
812 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
814 Fixes: NB#108265 (Animation banner not properly centered)
816 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
818 * hildon/hildon-pannable-area.c
819 (hildon_pannable_area_initial_effect): Remove the initial_effect
820 management, check initial_hint
821 (hildon_pannable_are_expose_event): Remove the initial_hint management,
822 set initial_effect to FALSE
823 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
824 by launching the fade_timeout if the scrollbars state has changed and are
826 * examples/hildon-pannable-area-initial-hint-example.c
827 Modified to allow to remove rows too. Add and remove rows one by one.
829 2009-05-28 Alberto Garcia <agarcia@igalia.com>
831 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
832 Don't close the menu if there's an animation actor below it.
834 Fixes: NB#117927 (Application menu not usable with animation
837 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
839 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
840 "focus-on-click" from the dialog button, to avoid stealing the
841 focus from the entry.
843 Fixes: NB#118903 (Account setup wizard: Text in Search field
844 should be focused when "Region" touch list picker is reopened
847 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
849 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
850 (prepare_action_area): Completely hide the dialog separator.
852 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
854 * hildon/hildon-touch-selector-entry.c
855 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
856 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
857 now that the entry is exposed.
859 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
861 * hildon/hildon-touch-selector-entry.c
862 (hildon_touch_selector_entry_init): Change the entry's size
863 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
865 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
867 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
868 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
869 avoid unnecessary scaling.
871 2009-05-27 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-app-menu.c (hildon_app_menu_map):
874 Create grab transfer window before calling parent's map function.
876 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
877 "crushed" button(s) in the top left corner)
879 2009-05-26 Alberto Garcia <agarcia@igalia.com>
881 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
882 Check if the window is already realized when pushing it.
884 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
886 * configure.ac: post release version bump
887 * debian/changelog: post release version bump
889 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: Bump version.
895 * debian/changelog: Updates.
897 2009-05-25 Alberto Garcia <agarcia@igalia.com>
899 * hildon/hildon-app-menu.c: Doc updates.
901 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
903 * hildon/hildon-banner.c: Remove leftover macro.
905 2009-05-25 Alejandro G. Castro <alex@igalia.com>
907 * hildon/hildon-pannable-area.c,
908 (hildon_pannable_area_scroll_indicator_fade),
909 (hildon_pannable_area_button_release_cb): Reviewed vmin
910 conditions, it could cause problems in the fadeout procedure.
912 2009-05-25 Alejandro G. Castro <alex@igalia.com>
914 * hildon/hildon-pannable-area.c
915 (hildon_pannable_area_button_release_cb): Added a threshold to
916 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
918 2009-05-25 Alejandro G. Castro <alex@igalia.com>
920 * hildon/hildon-pannable-area.c,
921 (hildon_pannable_area_set_property): Added code to sync the gtk
922 dnd threshold with the panning threshold.
924 2009-05-25 Alejandro G. Castro <alex@igalia.com>
926 * hildon/hildon-pannable-area.c,
927 (hildon_pannable_area_class_init): Changed some of the default
928 values, now it should be less responsive and more accurate.
930 2009-05-25 Alejandro G. Castro <alex@igalia.com>
932 * hildon/hildon-pannable-area.c,
933 (hildon_pannable_area_init),
934 (hildon_pannable_area_scroll_indicator_fade),
935 (hildon_pannable_area_button_press_cb),
936 (hildon_pannable_axis_scroll),
937 (hildon_pannable_area_timeout),
938 (hildon_pannable_area_motion_notify_cb),
939 (hildon_pannable_area_button_release_cb): Changed the name of the
940 clicked attribute to button_pressed, it is more clear about its use.
942 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
944 * src/hildon-pannable-area.c
945 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
947 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
948 vertical scrollbar visibility, and use the data on private section instead,
949 remove the initial_hint check
950 (hildon_pannable_area_expose_event): add the initial_hint check here
952 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
954 * src/hildon-pannable-area.c
955 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
956 if the fadeout effect was used
957 (hildon_pannable_area_expose_event): check if it is required to
958 manage the initial effect on the begining of the function. Previously
959 it was made at the end, but this doesn't ensure that the scrollbars
960 will be painted on the first show. Do not set to FALSE initial_effect,
961 to ensure that the initial hint is showed the first time the pannable
963 * examples/Makefile.am
964 * examples/hildon-pannable-area-initial-hint-example.c:
965 New example, to show that the initial-hint is showed when the widget
968 Fixes: NB#116607 (Pannable area should always have scrollbar visible
969 initially if the application can be scrolled)
971 2009-05-25 Alberto Garcia <agarcia@igalia.com>
973 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
974 Resize table before adding new items to make sure that
975 gtk_table_resize() is called just once.
977 2009-05-25 Alberto Garcia <agarcia@igalia.com>
979 * hildon/hildon-app-menu-private.h
980 * hildon/hildon-app-menu.c (item_visibility_changed)
981 (filter_visibility_changed, hildon_app_menu_show_all)
982 (hildon_app_menu_hide_all, hildon_app_menu_init):
983 Rearrange items just once when gtk_widget_show_all()/hide_all()
986 2009-05-25 Alberto Garcia <agarcia@igalia.com>
988 * hildon/hildon-app-menu.c
989 (hildon_app_menu_insert, hildon_app_menu_add_filter):
990 Don't call gtk_widget_show() on added items.
992 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
993 automatically when they're added)
995 2009-05-20 Alberto Garcia <agarcia@igalia.com>
997 * hildon/hildon-banner.c
998 (hildon_banner_realize, +hildon_banner_unrealize)
999 (+screen_size_changed, hildon_banner_class_init):
1000 Redisplay the banner if the screen is rotated.
1002 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1003 on transition from landscape to portrait)
1005 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1007 * hildon/hildon-banner.[ch]:
1008 (hildon_banner_show_information_override_dnd): remove icon_name from the
1009 method definition as it is ignored.
1010 * examples/hildon-banner-dnd-example.c: updated with the change on
1013 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1015 * hildon/hildon-banner-private.h: new require_override_dnd and
1016 overrides_dnd variables
1017 * hildon/hildon-banner.h:
1018 (hildon_banner_show_information_override_dnd): new method, that shows
1019 the information but sets the override flag, in order to show important
1021 * hildon/hildon-banner.c
1022 (hildon_banner_show_information_override_dnd): new method
1023 (hildon_banner_set_override_flag): new utility function
1024 (hildon_banner_real_show_information): new utility function, in order to
1025 generalize the current hildon_banner_show_information_override_dnd and
1026 hildon_banner_show_information_override_dnd
1027 * examples/Makefile.am
1028 * examples/hildon-banner-dnd-example.c: New example that show how to
1029 use the new hildon_banner_show_information_override_dnd
1031 Fixes: NB#114874 (There is no possibility to show hildon banners with
1034 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1036 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1037 behind hildon_pannable_calculate_vel_factor().
1039 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1041 * hildon/hildon-pannable-area.c
1042 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1043 deceleration factors.
1045 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1047 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1048 Reduce the default value for 'scroll_time' to 1 second, since the
1049 current initial scrolling takes too much time.
1051 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1053 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1054 calculate velocity factor during initialization, since the properties
1057 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1059 * hildon/hildon-pannable-area.c
1060 (hildon_pannable_area_set_property): Calculate the velocity factor
1061 after setting the deceleration property and not after.
1063 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1065 * hildon/hildon-entry.c
1066 (hildon_entry_class_init, +set_property, hildon_entry_new)
1067 * hildon/hildon-check-button.c
1068 (hildon_check_button_class_init)
1069 (+set_property, hildon_check_button_new):
1070 Make the theme size a property.
1072 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1073 others) do too much in the _new function)
1075 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1077 * configure.ac: post release version bump
1078 * debian/changelog: post release version bump
1080 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1085 * configure.ac: Bump version.
1086 * debian/changelog: Updates.
1088 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1090 * hildon/hildon-gtk.h
1091 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1092 New API function to take a screenshot of a window
1094 Fixes: NB#106374 (Need API to take a loading screenshot)
1096 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1098 * hildon/hildon-time-selector.c
1099 (update_format_policy): prevent to use hours and minutes unitialized
1101 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1103 * hildon/hildon-window.c (hildon_window_size_request):
1104 Always request the full size of the screen (minus the title bar if
1105 not in fullscreen mode).
1107 Fixes: NB#107486 (HildonWindow should size itself properly)
1109 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1111 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1112 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1113 (on_show_cb), (sound_handling): Disconnect the idle handler for
1114 the sound when the note is finalized to avoid possible crashes.
1116 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1119 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1121 * src/hildon-animation-actor.c,
1122 * src/hildon-remote-texture.c:
1123 Added proper object cleanup to remove signal handler and object
1124 references as HildonAnimationActor and HildonRemoteTexture
1125 objects get destroyed.
1127 Fixes: NB#116682 (Destroying parented animation actors when
1128 parent in unmapped leads to crash)
1130 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1132 Based on a patch by Christian Dywan (christian@imendio.com)
1134 * doc/hildon-sections.txt:
1135 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1136 * hildon/hildon-helper.h: New file size formatting method.
1138 * debian/control: Depend on osso-filemanager l10n package for
1139 proper localization strings.
1141 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1143 * tests/Makefile.am: Include top_srcdir to make possible to build
1144 tests in a different builddir.
1145 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1146 on a different builddir.
1148 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1150 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1151 (hildon_touch_selector_remove): Disconnect model's signal handler
1154 Fixes: NB#116289 (Hildon home crashes while adding task
1157 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1159 * hildon/hildon-button.c
1160 (hildon_button_set_title, hildon_button_set_value):
1161 Hide labels containing an empty string.
1163 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1165 * configure.ac: post release version bump
1166 * debian/changelog: post release version bump
1168 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1173 * configure.ac: Bump version.
1174 * debian/changelog: Updates.
1176 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1178 * hildon/hildon-note-private.h: Removed sound_signal_handler
1179 * hildon/hildon-note.c
1180 (on_show_cb): new callback on note "show" event, this simply adds
1181 a idle, with the function sound_handling
1182 (sound_handling): removed the sound_signal_handler management
1183 (hildon_note_init): connect note "show" event to on_show_cb
1184 (hildon_note_realize): remove the connection to "expose-event"
1186 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1187 device?' confirmation note)
1189 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1191 * hildon/hildon-note.c
1192 (hildon_note_new_information_with_icon_name)
1193 (hildon_note_new_confirmation_with_icon_name):
1194 Terminate the list of parameters in g_object_set() calls
1196 Fixes: NB#115166 (Formatting memory card is not taking place)
1198 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1200 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1201 "dialog-information" role for the sound being played.
1203 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1205 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1206 Don't make the menu a modal window, it causes strange interactions
1207 with the pointer grab and it's not really needed.
1209 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1211 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1213 * hildon/hildon-touch-selector.[ch]
1214 (hildon_touch_selector_optimal_size_request): function added to get a
1215 optimal size request from the touch selector, when you want a dialog to
1216 show as much of the selector
1217 * hildon/hildon-picker-dialog.c:
1218 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1219 (hildon_app_menu_class_init):
1220 New "max-height-landscape" and "max-height-portrait" style properties
1221 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1222 (hildon_picker_dialog_get_max_height): returns the maximum height using
1223 the style properties defined and checking the current portrait/landscape
1225 (_hildon_picker_dialog_set_selector): removed the set_size_request
1227 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1229 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1231 * hildon/hildon-bread-crumb-trail.c:
1232 * hildon/hildon-bread-crumb.c:
1233 * hildon/hildon-seekbar.c:
1234 Add reference to replacements for these deprecated widgets.
1236 Fixes: MB#4461 (Documentation: All deprecations should mention
1239 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1241 * examples/hildon-remote-texture-example.c
1243 Change the include to the hildon-remote-texture in order to compile
1244 properly the examples on the installed libhildon1-examples package
1246 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1248 * tests/Makefile.am: Add check for HildonPickerButton.
1249 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1250 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1251 checks for the HildonPickerButton.
1252 * tests/check_test.c (configure_tests): Add the test suite.
1253 * tests/test_suites.h: likewise.
1255 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1257 * hildon/hildon-touch-selector.c
1258 (+on_row_changed): Emit HildonTouchSelector:changed when the
1259 contents of a selected row change.
1260 (_create_new_column), (_hildon_touch_selector_set_model): connect
1261 to GtkTreeModel:row-changed on a newly set model.
1263 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1265 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1267 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1269 * hildon/hildon-banner.c (hildon_banner_destroy)
1270 (hildon_banner_show_progress, hildon_banner_set_fraction):
1271 Remove the progress bar from HildonBanner and use a progress
1274 Fixes: NB#113761 (Update progress banner to use progress
1277 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1279 * hildon/hildon-banner.c:
1280 Calculate size of the banner label using the actual screen width
1281 rather than using a fixed value.
1283 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1286 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1288 * hildon/hildon-pannable-area.c,
1289 (hildon_pannable_area_class_init): Fixed signals documentation
1292 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1294 * configure.ac: post release version bump
1295 * debian/changelog: post release version bump
1297 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1302 * configure.ac: Bump version.
1303 * debian/changelog: Updates.
1305 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1307 * hildon/hildon-edit-toolbar.c
1308 (hildon_edit_toolbar_init):
1309 Don't let buttons in HildonEditToolbar receive focus.
1311 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1312 typing on an HW arrows key)
1314 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1316 * doc/Makefile.am: Fix build.
1318 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1320 * doc/Makefile.am: Do not redefine content_files.
1322 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1330 Renamed src/ to hildon/
1335 Include <hildon/hildon.h> directly in all examples.
1337 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1339 * src/hildon-sort-dialog.c
1340 (hildon_sort_dialog_add_sort_key_with_sorting)
1344 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1346 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1347 make distcheck passes.
1349 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1351 * Makefile.am: Enable gtk-doc during distcheck.
1353 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1355 * Makefile.am: Do not distribute the debian/ directory.
1357 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1359 * doc/Makefile.am: Add the extra SGML files to content_files,
1360 so that they are distributed properly.
1362 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1364 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1367 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1369 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1370 (hildon_note_new_information_with_icon_name): Set the "icon" property
1371 to preserve soundness.
1373 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1375 * src/hildon-font-selection-dialog.c
1376 (hildon_font_selection_dialog_set_property): Fail when the "family"
1377 property is set to NULL.
1379 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1384 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1386 * src/hildon-time-selector.h:
1387 Added HildonTimeSelectorFormatPolicy
1388 * src/hildon-time-selector.c:
1389 Added PROP_TIME_FORMAT_POLICY
1390 (_check_ampm_format): renamed to check_automatic_ampm_format
1391 (update_format_policy), (update_format_dependant_columns): new functions
1392 (hildon_time_selector_class_init)
1393 (hildon_time_selector_contructor)
1394 (hildon_time_selector_init)
1395 (hildon_time_selector_get_property)
1396 (hildon_time_selector_set_property)
1397 (hildon_time_selector_get_time)
1398 (hildon_time_selector_set_time)
1399 * src/hildon-touch-selector.h: new file
1400 * src/hildon-touch-selector.c
1401 (hildon_touch_selector_emit_changed)
1402 (hildon_touch_selector_block_changed)
1403 (hildon_touch_selector_unblock_changed)
1404 Added functions to allow to block the emission of the "changed" signal
1405 * src/hildon-picker-dialog.c
1406 (hildon_picker_dialog_show): call the parent show before the custom code
1407 * examples/hildon-time-button-example.c
1408 Modified, so now you can configure the time format using the new property
1410 Added a new property "time-format-policy" that allow to choose the time
1411 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1412 case it uses gconf in order to check if the time selector must use
1415 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1418 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-note.c (hildon_note_init):
1421 Label in HildonNote must be left aligned, not centered. This
1422 reverts the last commit in HildonNote.
1424 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1425 is connectivity dialog)
1427 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1432 * doc/hildon-sections.txt:
1433 Added hildon_gtk_window_set_do_not_disturb()
1435 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-note.c (hildon_note_init): Center label.
1439 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1442 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1447 * configure.ac: Bump version.
1448 * debian/changelog: Updates.
1450 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1452 * src/hildon-note-private.h: Add button-width to the private data.
1453 * src/hildon-note.c (+resize_button),
1454 (+hildon_note_orientation_update): methods to repack widgets on orientation
1456 (screen_size_changed): Call above method for confirmation notes.
1457 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1458 (hildon_note_rebuild): Store the original width request from buttons.
1460 Fixes: NB#109635 (Confirmation notes do not support portrait)
1462 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1464 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1465 when it is a progress note.
1467 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1469 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1470 in the note, since there are no horizontally arranged contents.
1472 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1474 * src/hildon-gtk.c (+set_flag): new generic method to
1475 set/delay a flag setting in a window.
1476 (hildon_gtk_window_set_progress_indicator):
1477 (hildon_gtk_window_set_do_not_disturb),
1478 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1479 avoid code redundance.
1481 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1483 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1485 * src/hildon-gtk.c (set_clear_window_flag),
1486 (do_set_progress_indicator), (do_set_do_not_disturb),
1487 (do_set_portrait_flags),
1488 (hildon_gtk_window_set_progress_indicator),
1489 (hildon_gtk_window_set_do_not_disturb),
1490 (hildon_gtk_window_set_portrait_flags):
1491 Allow setting dnd-flag, progress indicator, and portrait flags
1492 when the window is not realized.
1494 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1496 * src/hildon-pannable-area.c,
1497 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1498 the size request policy function and defines.
1500 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1502 * doc/hildon-sections.txt: Add the new API.
1503 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1504 method to set the portrait flags.
1505 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1507 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1509 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1512 to allow using this method with other flags.
1513 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1514 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1516 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-touch-selector.c
1519 (hildon_touch_selector_append_text_column):
1520 Make the cell renderer use the smallest width possible.
1522 Fixes: NB#108470 (Selected items in multiple selection are either
1523 having a tick that is cut or not visible at all.)
1525 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-touch-selector.c
1528 (hildon_touch_selector_append_text_column):
1531 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1533 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1534 Use g_strdup_printf() instead of a fixed size buffer.
1536 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1538 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1539 Close banners when a HildonAppMenu is popped up.
1541 Fixes: NB#111027 (Title menu closed immediately if activated when
1542 "Invalid e-mail address" banner is shown)
1544 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1549 * configure.ac: Bump version.
1550 * debian/changelog: Updates.
1552 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-banner.c (hildon_banner_realize):
1555 Mark HildonBanner as supporting portrait mode.
1556 Use GDK to set window properties insetad of direct Xlib calls.
1558 Fixes: NB#111830 (HildonBanner should be marked as supporting
1561 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-note.c (hildon_note_rebuild):
1564 Hide action area in information notes. Prevents text from being
1565 slightly aligned to the left.
1567 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1570 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1572 Patch by Mox Soini (ext-mox.soini@nokia.com)
1574 * src/hildon-banner.c (hildon_banner_create_animation):
1575 Use stylus-sized icons in animation banner.
1577 Fixes: NB#111206 (stylus sized icon for animation banner)
1579 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1583 (+hildon_gtk_window_set_do_not_disturb):
1584 New API to set the do-not-disturb flag.
1586 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1588 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1590 * examples/hildon-progress-indicator-example.c: Fix example
1592 * src/hildon-gtk.c (set_clear_window_flag)
1593 (hildon_gtk_window_set_progress_indicator):
1594 Create a generic function for setting flags to a window.
1595 Use GDK instead of direct Xlib calls.
1597 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-button.c (hildon_button_set_arrangement):
1600 Due to NB#88126, if one of the labels is too long it will be
1601 painted outside the button. The 'value' label is more likely to be
1602 the longest one, so we change its packing options in order to
1603 truncate it if necessary. As a side effect, the 'title' label will
1604 no longer be truncated.
1606 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1608 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1613 * configure.ac: Bump version.
1614 * debian/changelog: Updates.
1616 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1618 Deprecation of the hildon_pannable_area_set_size_request_policy
1619 API, the only policy properly supported in gtk+ nowadays is the
1622 * src/hildon-pannable-area.c,
1623 (hildon_pannable_area_size_request): Added a workaround for the
1624 size_request to avoid the problems of huge pixmaps in case someone
1625 is still using the function.
1626 * src/hildon-pannable-area.h: Deprecated the enum with the
1629 Fixes: NB#110244 (Problems with the
1630 hildon_pannable_area_set_size_request_policy API)
1632 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1634 * src/hildon-pannable-area.c,
1635 (hildon_pannable_area_init),
1636 (hildon_pannable_area_size_request),
1637 (hildon_pannable_area_style_set),
1638 (hildon_pannable_draw_vscroll),
1639 (hildon_pannable_draw_hscroll),
1640 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1641 indicator_width to clarify the use of the attribute.
1643 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1648 * configure.ac: Bump version.
1649 * debian/changelog: Updates.
1651 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1653 * src/hildon-picker-dialog.c
1654 * src/hildon-touch-selector.c
1655 Reverting the change that tried to avoid the hardcoded height on
1656 the picker dialog, as causes problems on the hildon-touch-selector
1659 Fixes: NB#110029 (selectors not scrolling to selected value)
1661 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-touch-selector.c: Fix typos
1665 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1668 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1669 request more motions after using it.
1671 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1673 * src/hildon-calendar.c (hildon_calendar_expose),
1674 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1675 Remove unused variables.
1677 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1679 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1680 variable assignment.
1682 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1684 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1685 Check the return value of gtk_tree_selection_get_selected()
1688 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-animation-actor.c
1691 * src/hildon-button.c
1693 * src/hildon-pannable-area.c
1694 * src/hildon-picker-button.c
1695 * src/hildon-program.c
1696 * src/hildon-remote-texture.c
1697 * src/hildon-text-view.c
1698 * src/hildon-touch-selector.c
1699 * src/hildon-window-stack.c
1700 * src/hildon-window.c:
1701 Add missing 'Since: 2.2' tags.
1703 * doc/hildon-sections.txt:
1704 Add some missing symbols.
1706 * doc/hildon-docs.sgml:
1707 New 'Other' section for HildonAnimationActor and
1710 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1712 Patch by Iván Gómez (igomez@igalia.com)
1715 * doc/compiling.sgml
1716 * doc/hildon-docs.sgml
1717 * doc/hildon-sections.txt
1718 * doc/migration.sgml
1719 * doc/resources.sgml
1721 New chapters on using the Hildon library.
1722 Updated the general structure of the reference manual.
1723 Other minor documentation fixes.
1725 * src/hildon-calendar-popup.c
1726 * src/hildon-calendar.c
1727 * src/hildon-controlbar.c
1728 * src/hildon-date-editor.c
1729 * src/hildon-dialog.c
1730 * src/hildon-hvolumebar.c
1731 * src/hildon-number-editor.c
1732 * src/hildon-range-editor.c
1733 * src/hildon-sort-dialog.c
1734 * src/hildon-time-editor.c
1735 * src/hildon-time-picker.c
1736 * src/hildon-volumebar-range.c
1737 * src/hildon-volumebar.c
1738 * src/hildon-vvolumebar.c
1739 * src/hildon-weekday-picker.c:
1740 Add deprecation notes
1742 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1743 Document 'horizontal-movement' and 'vertical-movement' signals.
1745 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1750 * configure.ac: Bump version.
1751 * debian/changelog: Updates.
1753 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-pannable-area.c,
1756 (hildon_pannable_area_class_init): increased the minimum velocity.
1757 (hildon_pannable_area_button_release_cb): Updated the
1758 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1759 setup. Review the code to control that last event.
1761 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1764 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1766 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1768 * src/hildon-get-password-dialog.c
1769 (hildon_get_password_set_property),
1770 (hildon_get_password_get_property), (create_contents):
1771 * src/hildon-login-dialog-private.h:
1772 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1773 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1774 (hildon_login_dialog_get_password):
1775 * src/hildon-set-password-dialog-private.h:
1776 * src/hildon-set-password-dialog.c
1777 (hildon_set_password_set_property),
1778 (hildon_set_password_get_property), (create_contents),
1779 (hildon_set_password_response_change),
1780 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1782 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1783 instead and look more Fremantle style.
1785 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1787 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1789 * doc/hildon-sections.txt
1790 * src/hildon-window-stack.h
1791 * src/hildon-window-stack.c
1792 (+hildon_window_stack_get_windows):
1793 New API to obtain the list of windows on a stack.
1795 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-app-menu.c (hildon_app_menu_popup)
1798 (hildon_app_menu_class_init, -hildon_app_menu_show):
1799 Remove hildon_app_menu_show() and move all its checks to
1800 hildon_app_menu_popup()
1802 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1804 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1805 (_hildon_picker_dialog_set_selector): removed call to
1806 gtk_widget_set_size_request
1807 * src/hildon-touch-selector.c
1808 (_create_new_column): change the pannable size request policy
1810 Avoid to use a hardcoded height for the hildon picker dialog. In order
1811 to get that, we needed to change the hildon pannable size request
1813 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1815 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1818 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1821 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1823 * debian/control: Depend on osso-system-lock localization package.
1824 * src/hildon-code-dialog.c: Obtain the secu_application_title
1825 translation from osso-system-lock.
1826 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1827 for translation the atk related strings, that's not necessary.
1828 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1829 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1830 cancel button, it is not required.
1832 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1834 * src/hildon-pannable-area.c,
1835 (hildon_pannable_area_class_init): Modified the default value of
1836 the overshooting max speed, we have reduced it.
1838 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1840 * doc/hildon-sections.txt
1841 * src/hildon-window-private.h
1842 * src/hildon-window.h
1843 * src/hildon-window.c (hildon_window_class_init)
1844 (hildon_window_init, hildon_window_finalize)
1845 (hildon_window_realize, hildon_window_get_property)
1846 (hildon_window_set_property, hildon_window_update_markup)
1847 (hildon_window_get_markup, hildon_window_set_markup):
1848 New "markup" property and hildon_window_{get,set}_markup() methods.
1850 * examples/hildon-stackable-window-example.c (new_window):
1851 Update example to use hildon_window_set_markup()
1853 Fixes: NB#106375 (Need API to retitle a window with a title
1856 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1858 * src/hildon-pannable-area.c,
1859 (hildon_pannable_area_class_init): Changed the default value of
1860 the initial_hint to TRUE.
1861 (hildon_pannable_area_initial_effect): Changed the initial effect,
1862 not the effect is just the fade-out of the scrollbars.
1864 Fixes: NB#107775 (No scrollbars can be seen when several items are
1865 available in a dialog)
1867 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-program.c (hildon_program_update_top_most):
1872 Fixes: NB#109179 (Memory leak in Hildon program)
1874 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1876 * src/hildon-banner.c (-get_current_app_window):
1877 Remove unused function.
1879 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1881 * src/hildon-pannable-area.c: Modified the documentation of the
1882 get adjustments functions to explain the problem of using the
1883 adjustment directly.
1884 (hildon_pannable_area_class_init): Improved the explanation about
1887 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1889 * src/hildon-app-menu-private.h
1890 * src/hildon-app-menu.c
1891 (hildon_app_menu_class_init):
1892 Bring back the 'external-border' style property
1893 (hildon_app_menu_class_init, hildon_app_menu_init)
1894 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1895 Set a fixed width-request for the menu, independent of the number
1898 Fixes: NB#94957 (Smoothly opened application menu)
1900 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1904 * src/hildon-banner.c
1905 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1907 Make sure that the banner is correctly placed the first time it's
1909 (hildon_banner_check_position, -check_fullscreen_state):
1910 Show the banner in the same place no matter if the window is in
1911 fullscreen mode or not.
1913 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1915 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1917 * src/hildon-touch-selector.c (_default_print_func): reorder
1918 concatenation for clarity.
1920 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1923 for multicolumn selectors.
1925 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1927 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1932 * configure.ac: Bump version.
1933 * debian/changelog: Updates.
1935 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1937 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1940 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1942 * configure.ac: removed libcangerra-gtk dependency
1943 * debian/control: removed libcanberra-gtk dependency
1944 * src/Makefile.am: removed libcanberra gtk related flags
1945 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1946 context, and manage a global canberra context instead
1948 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1950 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1952 Patch by Daniel Borgmann (danielb@openismus.com)
1954 * src/hildon-edit-toolbar.c:
1955 Adjust the left padding.
1956 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1957 Paint background of the edit toolbar.
1959 Fixes: NB#107897 (Patch to make editmodetoolbar background
1960 themeable and adjust margin)
1962 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1964 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1966 * src/hildon-program.c (hildon_program_update_top_most):
1967 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1969 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1970 change when the user tasks in/out of an application)
1972 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1974 * configure.ac: added libcangerra-gtk dependency
1975 * debian/control: added libcanberra-gtk dependency
1976 * src/Makefile.am: added libcanberra gtk related flags
1977 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
1980 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1982 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1984 * src/hildon-program.c (hildon_program_remove_window)
1985 (hildon_program_add_window): Add checks for the window
1986 parameter. Don't decrease the window counter if the window is not
1989 2009-03-24 Alejandro G. Castro <alex@igalia.com>
1991 * src/hildon-pannable-area.c,
1992 (hildon_pannable_area_realize): Fixed position of the event_window
1993 in the realize method.
1995 2009-03-24 Alberto Garcia <agarcia@igalia.com>
1997 * src/hildon-app-menu-private.h
1998 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
1999 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2000 (hildon_app_menu_key_press, hildon_app_menu_init)
2001 (hildon_app_menu_finalize):
2002 Make sure that all idle functions are removed when the widget is
2005 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2007 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2012 * configure.ac: Bump version.
2013 * debian/changelog: Updates.
2015 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-entry.c
2018 (+hildon_entry_show_placeholder),
2019 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2020 that replace hildon_entry_update_contents().
2021 (hildon_entry_set_text),
2022 (hildon_entry_set_placeholder),
2023 (hildon_entry_focus_in_event),
2024 (hildon_entry_focus_out_event): Determine when it is needed
2025 either to show or hide the placeholder and call the above methods.
2027 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2028 when the placeholder text is already set)
2030 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2032 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2033 simple GdkPixbufAnim using the new icons for the banner.
2034 (hildon_banner_show_animation): Use the above mentioned method to
2035 create the animation widget.
2037 Fixes: NB#103564 (Make hildon animation banner use individual
2038 image files as the animation)
2040 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2042 * src/hildon-pannable-area.c,
2043 (hildon_pannable_leave_notify_event): Check if the child is NULL
2044 to avoid sending the leave.
2046 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2048 * src/hildon-pannable-area.c,
2049 (hildon_pannable_area_class_init),
2050 (hildon_pannable_leave_notify_event): Added a handler of the
2051 leave-notify-signal to consider when no motion notify before
2054 Fixes: NB#107494 (Items stay selected when clicking and moving
2055 away when inside pannable area)
2057 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2062 * configure.ac: Bump version.
2063 * debian/changelog: Updates.
2065 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2067 Patch by Alberto Garcia (agarcia@igalia.com)
2069 * src/hildon-date-button.c,
2070 (hildon_date_button_class_init),
2071 (hildon_date_button_init): Removed the construct property handling
2072 and created a default selector in the init method.
2073 * src/hildon-picker-button.c,
2074 (hildon_picker_button_class_init): Removed the construct flag of the
2077 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2079 * src/hildon-main.c (hildon_init):
2080 Don't allow hildon_init() to be called more than once.
2082 Fixes: NB#106607 (hildon_init should issue error message upon
2085 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2087 * examples/hildon-pannable-area-touch-list-example.c
2088 * examples/hildon-pannagle-area-touch-grid-example.c
2089 * examples/hildon-edit-toolbar-example.c
2090 * examples/hildon-touch-selector-multi-cells-example.c
2091 Removed the call to gtk_rc_parse_string, as it is not required since
2094 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2096 * src/hildon-pannable-area.c,
2097 (hildon_pannable_area_class_init): Modified the default panning
2098 threshold of the widget to 6px.
2100 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2101 than the threshold value ) within the button is not sending the
2104 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2107 for the treeview in the new column. This way, the touch list will never
2110 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2111 be selected manually for the HW keys to work)
2113 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2116 comparison instead of using strcmp(). Fixes a compiler warning as well.
2118 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2120 * doc/hildon-docs.sgml: Do not set the library version in the
2121 document title, use the releaseinfo tag for that purpose instead.
2123 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2126 Do not jump to the first item if the text in the entry is removed.
2128 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2133 * configure.ac: Bump version.
2134 * debian/changelog: Updates.
2136 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-entry.c (hildon_entry_refresh_contents):
2139 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2140 Use "ReversedSecondaryTextColor" for the placeholder text.
2142 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2144 * src/hildon-text-view.c: Fix compilation warning.
2146 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2148 * src/hildon-button.c (hildon_button_class_init): Don't make
2149 "title" and "value" construction properties, to prevent them from
2150 overwriting labels set from derived classes.
2152 * src/hildon-picker-button.c
2153 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2154 (hildon_picker_button_class_init): Make touch-selector a
2155 construction property.
2157 * src/hildon-date-button.c (hildon_date_button_class_init)
2158 (+hildon_date_button_constructed): Add a default date selector if
2161 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2163 * src/hildon-touch-selector.c: Small documentation fixes.
2165 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2167 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2169 * src/hildon-entry.c (hildon_entry_refresh_contents),
2170 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2171 widget name, set the logical color directly instead and a boolean
2172 showing_placeholder instead.
2173 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2174 use the widget name here either.
2176 Fixes: NB#105678 (HildonTextView should use logical colours
2177 instead of setting widget name)
2179 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2181 Patch by Daniel Elster (danielk@openismus.com)
2183 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2184 Add user_data parameter.
2185 (hildon_touch_selector_set_print_func_full): New function akin
2186 hildon_touch_selector_set_print_func() but with support for user
2187 data and a destroy callback.
2188 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2189 to clean up the print function user data.
2190 (hildon_touch_selector_class_init): Install dispose function.
2191 (HildonTouchSelectorPrivate::print_user_data),
2192 (HildonTouchSelectorPrivate::print_destroy_func): New private
2194 (hildon_touch_selector_init): Initialize new private members.
2195 (hildon_touch_selector_get_current_text): Pass along user data
2196 to the print function.
2197 (_default_print_func): Add dummy user_data to parameter list.
2198 * hildon-date-selector.c (_custom_print_func): ditto,
2199 * hildon-time-selector.c (_custom_print_func): ditto,
2200 * hildon-touch-selector-entry.c
2201 (hildon_touch_selector_entry_print_func): ditto.
2203 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2205 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2207 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2209 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2211 * src/hildon-pannable-area.c,
2212 (hildon_pannable_area_init),
2213 (hildon_pannable_area_button_press_cb),
2214 (hildon_pannable_area_motion_notify_cb): We have added code to
2215 handle the leave and enter events when using the motion events.
2217 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2219 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-date-button.c (hildon_date_button_get_date)
2222 (hildon_date_button_set_date): Make sure that the button has a
2225 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2227 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2229 * src/hildon-pannable-area.c,
2230 (hildon_pannable_area_class_init),
2231 (hildon_pannable_area_calculate_velocity): Modify the use of the
2232 force and adapt the value.
2234 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2236 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2237 (hildon_app_menu_class_init): Hide the menu if it receives a
2238 delete-event, but don't destroy it
2240 Fixes: NB#104485 (Not able to address the call when application
2241 menu is opened at background)
2243 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-app-menu.c
2246 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2247 Remove the "external-border" style property, let the menu take its
2248 natural size (or the one set by the window manager)
2249 (hildon_app_menu_repack_items):
2250 Don't reshow the menu, avoid flickers.
2252 Partially fixes NB#94957 (Smoothly opened application menu)
2254 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2259 * configure.ac: Bump version.
2260 * debian/changelog: Updates.
2262 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2264 * src/hildon-pannable-area.c,
2265 (hildon_pannable_area_motion_notify_cb): We control that the
2266 direction error margin is used just in case the movement is
2267 allowed in the other direction.
2269 Fixes: NB#105012 (buttons inside a pannable area not getting
2270 release event when dragging/releasing)
2272 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2274 * src/hildon-pannable-area.c,
2275 (hildon_pannable_area_class_init),
2276 (hildon_pannable_area_get_property),
2277 (hildon_pannable_area_set_property),
2278 (hildon_pannable_area_initial_effect),
2279 (hildon_pannable_axis_scroll),
2280 (hildon_pannable_area_button_release_cb): Reviewed the
2281 overshooting effect, now it has its own max
2282 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2283 speed when bouncing.
2285 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2290 * configure.ac: Bump version.
2291 * debian/changelog: Updates.
2293 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2295 * src/hildon-pannable-area.c,
2296 (hildon_pannable_area_class_init): Changed the max speed, now
2297 users can launch the widget very fast. Reduced the default force,
2298 that way it is easier to control the launch speed.
2300 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2302 * src/hildon-pannable-area.c,
2303 (hildon_pannable_area_button_release_cb): Removed this check
2304 because it causes problems when the device is overloaded.
2306 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2308 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2309 add a current_text field to store the text entered in the
2310 touch selector entry.
2311 (_clean_current_selection): clean up the current text as well.
2312 (_save_current_selection), (_restore_current_selection):
2313 Save/restore the text in the entry if the selector is a
2314 HildonTouchSelectorEntry.
2316 Fixes: NB#102541 (value entered in the touch selector entry is not
2317 shown when opened for second time)
2319 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2321 * doc/hildon-sections.txt:
2322 * src/hildon-touch-selector-entry.c
2323 (+hildon_touch_selector_entry_get_entry):
2324 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2326 Fixes: NB#104815 (I need accessor to the entry inside
2327 HildonTouchSelectorEntry)
2329 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2331 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2332 (hildon_app_menu_class_init):
2333 New "filter-vertical-spacing" style property.
2335 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-find-toolbar.c
2338 (hildon_find_toolbar_emit_close)
2339 (hildon_find_toolbar_emit_invalid_input)
2340 (hildon_find_toolbar_entry_activate):
2341 Use g_signal_emit() instead of g_signal_emit_by_name()
2343 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2345 Patch by Mox Soini (ext-mox.soini@nokia.com)
2347 * tests/TEST-CASES.txt
2348 * tests/check-hildon-banner.c
2349 * tests/check-hildon-note.c
2350 * src/hildon-banner.c
2351 * src/hildon-code-dialog.c
2352 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2353 * src/hildon-time-editor.c
2354 * examples/hildon-lookup-example.c (main):
2355 Replace obsolete icon names with new ones.
2357 * src/hildon-find-toolbar-private.h:
2358 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2359 (-hildon_find_toolbar_emit_search):
2360 Remove find button and change icon of close button.
2362 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2364 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-time-button.c (hildon_time_button_new_step):
2367 Use the "touch-selector" property to set the selector directly
2368 when creating the object.
2370 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2372 Added a new example application that allows tuning the pannable
2373 area and replaced defines with properties in order to simplify the
2374 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2375 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2376 PROP_DIRECTION_ERROR_MARGIN.
2378 * examples/hildon-pannable-area-tuning-example.c: New example
2380 * src/hildon-pannable-area.c,
2381 (hildon_pannable_area_class_init),
2382 (hildon_pannable_area_init),
2383 (hildon_pannable_area_get_property),
2384 (hildon_pannable_area_set_property),
2385 (hildon_pannable_area_launch_fade_timeout),
2386 (hildon_pannable_area_adjust_value_changed),
2387 (hildon_pannable_axis_scroll),
2388 (hildon_pannable_area_motion_notify_cb),
2389 (hildon_pannable_area_scroll_cb),
2390 (hildon_pannable_area_button_release_cb): We have converted some
2391 of the defines that control the widget to properties to simplify
2394 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-app-menu.c (hildon_app_menu_map)
2397 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2398 so it's closed if a new window appears.
2400 Fixes: NB#104485 (Not able to address the call when application
2401 menu is opened at background)
2403 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2406 missing 'break' statement in in 'case' construct to avoid
2409 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-touch-selector-entry.c
2412 (hildon_touch_selector_entry_get_property),
2413 (hildon_touch_selector_entry_set_property): Add missing 'break'
2414 statements in in 'case' constructs to avoid incorrect warnings.
2416 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-time-editor.c
2419 (hildon_time_editor_get_time_separators): Do not crash if
2420 the first label is NULL.
2422 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2424 * src/hildon-date-selector.c (_month_days): Check for month to be
2425 strictly less than 12, since otherwise we may overrun the array.
2427 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2429 * src/hildon-date-button.c (+hildon_date_button_new_full)
2430 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2431 (hildon_date_button_init): Set the date selector using a
2432 construction property, to make it happen after HildonButton's
2433 "value" property is set.
2435 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2436 current date by default)
2438 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2440 * doc/hildon-sections.txt
2441 * src/hildon-program.c
2442 * src/hildon-stackable-window.c
2443 * src/hildon-window.c:
2444 Documentation updates
2446 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2448 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2449 (hildon_window_stack_new, +hildon_window_stack_set_property)
2450 (+hildon_window_stack_get_property)
2451 (hildon_window_stack_class_init)
2452 (+hildon_window_stack_set_window_group)
2453 (+hildon_window_stack_get_window_group):
2454 Make the window group a construction property.
2456 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2458 * doc/hildon-sections.txt
2459 * src/hildon-stackable-window-private.h
2460 * src/hildon-stackable-window.h
2461 * src/hildon-stackable-window.c
2462 (-hildon_stackable_window_set_app_menu)
2463 (-hildon_stackable_window_get_app_menu)
2464 (-hildon_stackable_window_toggle_menu)
2465 (-hildon_stackable_window_finalize)
2466 (hildon_stackable_window_class_init)
2467 (hildon_stackable_window_init)
2468 * src/hildon-window-private.h
2469 * src/hildon-window.h
2470 * src/hildon-window.c (hildon_window_init)
2471 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2472 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2473 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2474 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2475 Moved all HildonAppMenu code to HildonWindow. The menu does not
2476 require a HildonStackableWindow anymore.
2478 * src/hildon-app-menu.c
2479 * src/hildon-program.c
2480 * examples/hildon-app-menu-example.c (main):
2481 Update examples and documentation to reflect HildonAppMenu
2484 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2486 * src/hildon-remote-texture.c
2487 * src/hildon-animation-actor.c:
2488 Don't include unused private headers.
2490 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-program-private.h
2493 * src/hildon-program.c
2494 (hildon_program_set_common_menu)
2495 (hildon_program_get_common_menu)
2496 (hildon_program_set_common_app_menu)
2497 (hildon_program_get_common_app_menu):
2498 Change common menu pointers from GtkWidget* to GtkMenu* and
2499 HildonAppMenu* to avoid unnecessary casts.
2501 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2503 * src/hildon-window.c (hildon_window_set_main_menu):
2504 Removed incorrect 'Since:' tag
2506 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_area_calculate_velocity): We use now the
2510 RATIO_TOLERANCE here to check the distance, fixed typo in the
2512 (hildon_pannable_area_motion_notify_cb): We have to set the type
2513 and time even if we are not sending the motion.
2515 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2517 * doc/hildon-sections.txt
2518 * src/hildon-app-menu.h
2519 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2520 (+hildon_app_menu_get_filters): New methods to get the contents of
2523 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2526 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-app-menu.c (hildon_app_menu_popup):
2531 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-window.h
2534 * src/hildon-window.c (+hildon_window_get_main_menu)
2535 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2536 and deprecated hildon_window_get_menu().
2538 * src/hildon-stackable-window.h
2539 * src/hildon-stackable-window.c
2540 (+hildon_stackable_window_set_app_menu)
2541 (+hildon_stackable_window_get_app_menu)
2542 (hildon_stackable_window_set_main_menu): Created
2543 hildon_stackable_window_{get,set}_app_menu() and deprecated
2544 hildon_stackable_window_set_main_menu().
2546 * doc/hildon-sections.txt
2547 * examples/hildon-app-menu-example.c (main)
2548 * src/hildon-app-menu.c
2549 * src/hildon-program.c:
2550 Updated examples and documentation.
2552 Fixes: NB#103758 (No way to obtain a menu from a
2553 HildonStackableWindow)
2555 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2560 * configure.ac: Bump version.
2561 * debian/changelog: Updates.
2563 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2565 * examples/hildon-remote-texture-example.c: Include
2566 hildon-remote-texture.h explicitely.
2567 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2568 applications not defining _XOPEN_SOURCE which don't require this header.
2570 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2572 * doc/hildon-sections.txt
2573 * src/hildon-app-menu.h
2574 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2575 New function to pop up a HildonAppMenu
2577 * src/hildon-stackable-window.c
2578 (hildon_stackable_window_toggle_menu):
2579 Use hildon_app_menu_popup() to show the menu.
2581 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-app-menu.c (hildon_app_menu_show)
2584 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2585 menu if there's another window between it and its parent window.
2587 Fixes: NB#100468 (Application menu window is launched even when a
2588 new secondary-window/dialog is pending to be shown/realized)
2590 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2592 * src/hildon-window-stack.c (hildon_window_stack_push)
2593 (hildon_window_stack_pop_and_push):
2594 Don't forget to push/pop the first window.
2595 Reverse the window list before calling _push_list()
2597 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-picker-button.h
2600 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2601 Remove "value_changed" slot to avoid ABI breakage
2603 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2605 * src/hildon-pannable-area.c,
2606 (hildon_pannable_area_realize),
2607 (hildon_pannable_area_unrealize),
2608 (hildon_pannable_draw_vscroll),
2609 (hildon_pannable_draw_hscroll): Changed the method to handle the
2610 GC used to draw the transparent scrollbar, this way we avoid
2611 creating the GC all the time when drawing the scrollbars.
2613 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2615 * src/hildon-pannable-area.c,
2616 (hildon_pannable_area_init),
2617 (hildon_pannable_area_remove): Removed some unnecessary casts.
2618 (hildon_pannable_area_dispose): Disconnected some signals before
2619 releasing the adjustments.
2621 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2624 Make sure that all widgets contained in the toolbar are shown.
2626 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2628 * doc/hildon-sections.txt
2629 * src/hildon-picker-button.h
2630 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2631 (_selection_changed, hildon_picker_button_on_dialog_response)
2632 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2633 New hildon_picker_button_value_changed() method.
2636 * src/hildon-picker-button-private.h
2637 * src/hildon-picker-button.c (hildon_picker_button_init)
2638 (+hildon_picker_button_disable_value_changed): Add protected
2639 function for disabling the "value-changed" signal.
2641 * src/hildon-date-button.c (hildon_date_button_set_date):
2642 Don't emit "value-changed" for each one of the three columns.
2644 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2645 before actual change of values)
2647 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2651 for the treeview overshooting.
2653 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2655 * src/hildon-banner.c (+hildon_banner_bind_style):
2656 Renamed from hildon_banner_bind_label_style(), now naming the
2657 banner itself as well.
2658 (hildon_banner_show_information),
2659 (hildon_banner_show_information_with_markup),
2660 (hildon_banner_show_animation), (hildon_banner_show_progress):
2661 Name the widgets and labels, based on their type.
2663 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2666 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-note.c (hildon_note_set_property): call
2669 hildon_note_rename() on HildonNote:note-type set.
2670 (hildon_note_rename): Name the note and its label, based on the
2671 HildonNote:note-type property.
2673 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2676 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2678 * src/hildon-pannable-area.c,
2679 (hildon_pannable_area_class_init),
2680 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2681 panning parameters, increased SPS and deceleration factor. Added
2682 also a margin to control fake directions.
2684 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2686 Patch by Sven Herzberg (sven@imendio.com)
2688 * configure.ac: Add missing AM_PROG_CC_C_0
2689 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2691 See NB#101420 (Update unit tests and fix make check)
2693 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2695 This patch was applied before but reverted because it caused
2696 problems, we have changed the main condition and tested the
2697 regressions we detected before and they work ok. We have done a
2698 complete review of the topmost algorithm in order to get a more
2701 * src/hildon-pannable-area.c,
2702 (hildon_pannable_area_get_topmost): Added a new parameter to
2703 filter the the windows that do not include those events.
2704 (hildon_pannable_area_button_press_cb),
2705 (hildon_pannable_area_button_release_cb),
2706 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2707 topmost function, we have added the new parameter.
2709 Fixes: NB#97458 (Pannable area prevents propagation of button
2712 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2715 if all columns in the selector have an item selected.
2716 (_on_dialog_response): Stop "response" signal emission if there is
2717 any selector column without selected items.
2719 Fixes: NB#101889 (Picker dialog should not close when nothing is
2720 selected in multiple selection list)
2722 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2724 * src/hildon-font-selection-dialog.c
2725 (hildon_font_selection_dialog_class_init),
2726 (hildon_font_selection_dialog_init): Remove the preview
2727 button and dialog, since previewing with default theming is likely
2728 to be overcomplicated. The :preview property has now no effect.
2729 Update documentation blurbs to inform about this.
2731 Fixes: NB#92297 (Preview content is not clearly visible for
2732 default colour text)
2734 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2736 Reviewed the geometry that handles the children size and
2737 scrollbar, now it tries a size and reviews the results depending
2738 on the scrollbars visibility.
2740 * src/hildon-pannable-area.c,
2741 (hildon_pannable_area_realize): Fixed a typo.
2742 (hildon_pannable_area_child_allocate_calculate): Added this
2743 function to calculate the child allocation.
2744 (hildon_pannable_area_size_allocate): Reviewed the allocation
2746 (hildon_pannable_area_check_scrollbars),
2747 (hildon_pannable_area_refresh): Refactored refresh function, this
2748 way we can call the code handling the scrollbars without causing a
2749 size_request, it is interesting in the allocate.
2750 (hildon_pannable_area_init): Replace the callbacks of the
2751 value_changed and changed signals to propertly deal with the
2753 (hildon_pannable_area_grab_notify),
2754 (hildon_pannable_area_initial_effect),
2755 (hildon_pannable_area_launch_fade_timeout),
2756 (hildon_pannable_area_adjust_changed),
2757 (hildon_pannable_area_adjust_value_changed),
2758 (hildon_pannable_area_redraw),
2759 (hildon_pannable_area_button_press_cb),
2760 (hildon_pannable_area_button_release_cb),
2761 (hildon_pannable_area_scroll_cb),
2762 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2763 code and use the new functions adjust_changed and
2764 adjust_value_changed.
2766 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2767 Contact editor dialog)
2769 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2774 * configure.ac: Bump version.
2775 * debian/changelog: Updates.
2777 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2779 * src/hildon-pannable-area.c,
2780 (hildon_pannable_area_get_topmost),
2781 (hildon_pannable_area_button_press_cb),
2782 (hildon_pannable_area_button_release_cb),
2783 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2784 topmost function adding the event mask. We have to try a
2785 differente approach because it is still causing problems (NB#9745,
2788 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2790 * src/hildon-banner.c:
2791 Update the maximum width of timed banners.
2792 (force_to_wrap_truncated): Enforce the maximum text width if the
2795 Fixes: NB#102413 (The text margins (wrapping) in information
2796 banner should be HILDON_MARGIN_TRIPLE)
2798 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2800 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2802 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2803 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2804 bound when calculating the scroll indicator position.
2806 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2807 treat ->lower correctly)
2809 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2812 expose event handling, since it is not necessary to draw the focus
2815 Fixes: NB#102467 (Do not show highlight on the text in
2818 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2821 full height of the toolbar for the button and the label.
2823 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2826 padding before the label and after the button.
2828 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2832 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2833 Add a GtkVSeparator between the button and the back arrow.
2834 Let the button have automatic size.
2835 Set a name to the widget for theming handling.
2837 Fixes: NB#101793 (Make edit toolbar the same height as window
2838 title bar (use title area theming))
2840 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-helper.c (attach_new_color_element): Fix memory
2845 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2847 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2849 * examples/hildon-button-example.c (common_buttons_window): Don't
2852 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2855 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2857 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-gtk.c: Check that the window is realized.
2861 Fixes: NB#102225 (Crash setting the progress indicator to a non
2864 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2866 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2867 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2868 instead of modifying the one in the widget style.
2870 Fixes: NB#101043 (Second row of all the command button are
2871 displayed in transparent mode.)
2873 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-date-button.c
2876 * src/hildon-time-button.c: Add gettext macros
2878 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-date-button.c (hildon_date_button_new):
2881 * src/hildon-time-button.c (hildon_time_button_new_step):
2882 Use new logical strings to set the button default title.
2884 Fixes: NB#99915 (Date and Time options are not localised in Date
2887 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2889 * src/hildon-pannable-area.c
2890 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2891 the PANNING_THRESHOLD.
2893 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2895 * src/hildon-pannable-area.c,
2896 (hildon_pannable_area_class_init): Increased the maximum speed.
2897 (hildon_pannable_area_get_property),
2898 (hildon_pannable_area_set_property),
2899 (hildon_pannable_area_timeout): Added a new low friction mode, it
2900 allows the user avoid friction when launching the widget fast
2901 enough. It is interesting to traverse long lists.
2903 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2906 (+hildon_stackable_window_delete_event): Ignore delete events if
2907 the window is not the topmost one.
2909 Fixes: NB#101698 (Back button long press and delete-event handling)
2911 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2913 * src/hildon-pannable-area.c,
2914 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2915 gtk-dnd-drag-threshold, it was too big. We have defined our own
2916 dnd define and set a smaller value: PANNIG_THRESHOLD.
2918 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2921 user-defined icons, use always the default one.
2923 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2925 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2927 This patch was applied before but reverted because it caused
2928 problems, we have changed the main condition and tested the
2929 regressions we detected before and they work ok.
2931 * src/hildon-pannable-area.c,
2932 (hildon_pannable_area_get_topmost): Added a new parameter to
2933 filter the the windows that do not include those events. Added
2934 also a condition when finding the window to filter windows that do
2935 not ask for those events.
2936 (hildon_pannable_area_button_press_cb),
2937 (hildon_pannable_area_button_release_cb),
2938 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2939 topmost function, we have added the new parameter.
2941 Fixes: NB#97458 (Pannable area prevents propagation of button
2944 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2946 * tests/check-hildon-color-button.c (START_TEST): do not leak
2949 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-font-selection-dialog.c
2952 (hildon_font_selection_dialog_get_preview_text): Return NULL
2953 instead of FALSE on the g_return_val_if_fail().
2955 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2958 * src/hildon-date-selector.c
2959 (hildon_date_selector_select_current_date):
2960 Do not compare unsigned integers to be greater than or equal 0,
2961 because it's always TRUE.
2963 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2965 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2966 (hildon_date_selector_constructor): Do not select the current
2967 date until we are handle the "changed" signal, to avoid having bogus
2968 elements in the days model.
2970 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2973 for num_days, since _month_days() can return a negative value.
2975 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2977 * src/hildon-caption.c (hildon_caption_size_allocate):
2978 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
2979 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
2981 Initialize allocation variables to 0, to avoid eventually using
2982 unitialized variables.
2984 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-bread-crumb-trail.c
2987 (hildon_bread_crumb_trail_size_allocate):
2988 * src/hildon-calendar.c (hildon_calendar_set_background):
2989 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
2990 * src/hildon-range-editor.c (hildon_range_editor_get_range):
2991 * src/hildon-seekbar.c (hildon_seekbar_init):
2992 * src/hildon-time-editor.c (hildon_time_editor_get_time):
2993 * src/hildon-time-selector.c (hildon_time_selector_finalize):
2994 * src/hildon-touch-selector-entry.c
2995 (hildon_touch_selector_get_text_from_model):
2996 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
2997 * src/hildon-window.c (hildon_window_finalize):
2999 Remove many unused variables.
3001 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-seekbar.c: (hildon_seekbar_init),
3004 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3006 Remove unnecessary g_assert() calls.
3008 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3010 * src/hildon-caption.c: (hildon_caption_expose),
3011 (hildon_caption_set_property), (hildon_caption_init),
3012 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3013 (hildon_caption_size_request), (hildon_caption_size_allocate),
3014 (hildon_caption_forall), (hildon_caption_set_separator),
3015 (hildon_caption_activate), (hildon_caption_set_child_expand),
3016 (hildon_caption_set_label_text),
3017 (hildon_caption_get_label_alignment):
3019 Remove unnecessary g_assert() calls.
3021 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-banner.c
3024 (hildon_banner_map, hildon_banner_init): Make banner temporary
3025 before mapping it to avoid closing other temporary windows, but
3026 make it non-temporary afterwards to avoid being closed by other
3027 non-temporary windows.
3028 (-hildon_banner_client_event, hildon_banner_init):
3029 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3031 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3034 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3039 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3041 * src/hildon-remote-texture.c
3042 * src/hildon-remote-texture.h
3043 * src/hildon-remote-texture-private.h
3044 * examples/hildon-remote-texture-example.c:
3045 Updates/fixes to remote-texture and its example.
3047 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3049 Patch by Mox Soini (ext-mox.soini@nokia.com)
3051 * src/hildon-code-dialog.c: Update logical id.
3052 * src/hildon-set-password-dialog.c: Update logical id.
3054 Fixes: NB#100646 (Logical strings is shown for ok in set
3055 password,Password needed dialogs)
3057 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3060 * src/hildon-remote-texture.c
3061 * src/hildon-remote-texture.h
3062 * src/hildon-remote-texture-private.h
3064 Added remote texture widget (for Clutter shared memory textures)
3066 * examples/hildon-remote-texture-example.c
3067 * examples/Makefile.am
3068 Added example file for remote texture usage
3070 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3072 * configure.ac: post release version bump.
3073 * debian/changelog: version bump.
3075 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3080 * configure.ac: Bump version.
3081 * debian/changelog: Updates.
3083 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-date-selector.c (hildon_date_selector_init)
3086 (hildon_date_selector_constructor): Don't connect to the "changed"
3087 signal until the selector is completely constructed.
3089 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3091 * src/hildon-touch-selector.c: (_create_new_column),
3092 (hildon_touch_selector_append_column),
3093 (hildon_touch_selector_set_column_selection_mode),
3094 (hildon_touch_selector_set_active),
3095 (hildon_touch_selector_select_iter):
3096 Emit the HildonTouchSelector::changed signal every time selection
3097 is changed in any of the methods above. This behavior was already
3098 documented but not fully functional.
3100 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3101 selection is programmatically changed)
3103 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3105 * doc/hildon-sections.txt: Remove obsolete icon
3106 sizes from here as well.
3108 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3110 * examples/hildon-stackable-window-example.c (add_window): Remove
3113 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-app-menu.c
3116 (hildon_app_menu_show): Check whether the parent window of a menu
3117 is topmost before popping it up.
3119 Fixes: NB#100468 (Application menu window is launched even when a
3120 new secondary-window/dialog is pending to be shown/realized.)
3122 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3124 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3127 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3129 Patch by Mox Soini (ext-mox.soini@nokia.com)
3131 * src/hildon-banner.c: (hildon_banner_show_animation):
3132 use stylus size instead of obsolete note size.
3133 * src/hildon-defines.h: Update icon sizes.
3135 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-touch-selector-entry.c:
3138 (hildon_touch_selector_entry_init): Disable unsupported
3140 (hildon_touch_selector_entry_get_text_column): Emit a warning
3141 if an unsupported input modes is used and explicitile state
3142 these modes in the documentation.
3144 Fixes: NB#99802 (Hildon touch selector entry not working properly
3145 for some of the input modes)
3147 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3149 * src/hildon-pannable-area.c,
3150 (hildon_pannable_area_init): Added the changed signal handlers of
3153 Fixes: NB#100320 (HildonPannableArea does not listen to
3154 GtkAdjustment "change" signals)
3156 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3158 * doc/hildon-sections.txt
3159 * src/hildon-window-private.h
3160 * src/hildon-window.h
3161 * src/hildon-window.c (hildon_window_init)
3162 (hildon_window_realize, hildon_window_unrealize)
3163 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3164 (hildon_window_size_request, hildon_window_size_allocate)
3165 (hildon_window_forall, hildon_window_show_all)
3166 (hildon_window_destroy, +paint_edit_toolbar)
3167 (+hildon_window_set_edit_toolbar):
3168 New hildon_window_set_edit_toolbar() method, to add a
3169 HildonEditToolbar to a window without having to pack it manually.
3171 Reorganize hildon_window_size_allocate()
3173 * src/hildon-edit-toolbar.c: Update documentation.
3175 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3176 example to use the new API.
3178 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3180 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3183 Remove from stack before calling parent's hide.
3185 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3188 window is removed from the middle of the stack, update the
3189 transiency of the previous one.
3191 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3194 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3197 block/unblock the signal handler if it's not actually being used.
3198 Fixes some critical warnings.
3200 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3202 Based on a patch by Iván Gómez (igomez@igalia.com)
3204 * src/hildon-banner.c
3208 * src/hildon-pannable-area.c
3209 * src/hildon-picker-dialog.c
3210 * src/hildon-wizard-dialog.h
3211 * src/hildon-wizard-dialog.c: Documentation updates.
3213 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3214 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3216 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3218 * configure.ac: post release version bump.
3219 * debian/changelog: version bump.
3221 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3226 * configure.ac: Bump version.
3227 * debian/changelog: Updates.
3229 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3232 a stock icon nor change the relief of the back arrow.
3234 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3235 graphics from theme)
3237 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-button.c (hildon_button_set_alignment): Use
3240 priv->alignment if the button has no child yet.
3242 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-button.c: (hildon_button_init): Set the
3245 button style during initialization to give it the proper
3248 Fixes: NB#99713 (HildonButton value label color is wrong)
3250 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-touch-selector.c: Document
3253 hildon_touch_selector_center_on_selected()
3255 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3258 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3259 all menu items, but not the menu itself.
3260 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3261 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3262 items after adding them to the menu so keyboard accelerators work.
3263 (hildon_app_menu_show): Don't show the menu if it contains items
3264 but none of them are visible.
3266 * examples/hildon-app-menu-example.c (create_menu): Use
3267 gtk_widget_show_all() to show all menu items.
3269 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-picker-dialog.c:
3272 (-_update_title_on_selector_changed_cb),
3273 (-_dialog_update_title): Removed.
3274 (_select_on_selector_changed_cb), (_on_dialog_response),
3275 (on_selector_columns_changed): Do not update the dialog title.
3276 (setup_interaction_mode): Do not connect to
3277 HildonTouchSelector::changed signal if there's a "done" button, as
3278 the dialog title doesn't need to be updated.
3280 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3283 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3285 Patch by Kristian Rietveld (kris@imendio.com)
3287 * src/hildon-touch-selector.c: (_create_new_column): Use new
3288 GtkTreeView::hildon-row-tapped signal to react to user interactions
3289 instead of ::changed.
3291 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3292 with some dynamic tree model)
3294 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3297 (+screen_size_changed, +label_size_request)
3298 (hildon_note_class_init): Make the Hildon information note have a
3299 minimum height, and make its text hvae a maximum width.
3301 Fixes: NB#98614 (Hildon information note (background) should have
3302 minimum height and maximum text width)
3304 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3306 * src/hildon-banner.h
3307 * src/hildon-banner.c (hildon_banner_show_information)
3308 (hildon_banner_show_informationf)
3309 (hildon_banner_show_information_with_markup): Update documentation
3310 to reflect that the icon_name parameter is not used anymore.
3311 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3312 Remove all code from these functions and mark them as deprecated.
3313 (hildon_banner_show_progress): Mark as deprecated.
3315 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3317 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3319 * src/hildon-pannable-area.c,
3320 (hildon_pannable_area_class_init),
3321 (tranparency_color),
3322 (hildon_pannable_draw_vscroll),
3323 (hildon_pannable_draw_hscroll),
3324 (hildon_pannable_area_expose_event): Added a new way to render the
3325 scrollbars of the pannable area avoiding using cairo at all. This
3326 way we improve the performance of the pannable area rendering. The
3327 cairo rendering procedure is still in the code, we can control
3328 which one to use changing the value of the define
3329 USE_CAIRO_SCROLLBARS.
3331 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3333 * configure.ac: post release version bump.
3334 * debian/changelog: version bump.
3336 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3341 * configure.ac: Bump version.
3342 * debian/changelog: Updates.
3344 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3347 banners instead of destroying them when they receive a button
3350 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3352 Reverted commit 34028, it was causing regressions, probably the
3353 topmost condition is not correct, we have to check it in more
3354 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3355 propagation of button press events)
3357 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3359 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3360 that the selection is not empty before attempting to retrieve the
3361 current ampm selection.
3363 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-picker-button.c:
3366 (hildon_picker_button_on_dialog_response): Directly update the
3367 button contents when required instead of calling _selection_changed.
3369 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-program.c (hildon_program_update_top_most): Update
3372 'is-topmost' property also when wm_hints is not set.
3374 Fixes: NB#98383 (is-topmost signal is not emitted when task
3375 switcher is clicked.)
3377 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3379 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3383 * src/hildon-animation-actor.c,
3384 * src/hildon-animation-actor.h: Added the animation actor class,
3385 this widget represents an animation actor for WM-assisted
3386 animation effects in the Hildon framework.
3388 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-window-stack-private.h
3391 * src/hildon-window-stack.c
3392 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3393 Avoid calling gtk_widget_show() again indirectly from
3394 hildon_stackable_window_show()
3396 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3398 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3401 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3404 (hildon_time_selector_init): Move the construction of the hours and
3405 ampm columns to the constructor to preserve the order the columns
3408 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-picker-dialog.c:
3411 (hildon_picker_dialog_class_init): Connect a realize method.
3412 (+hildon_picker_dialog_realize): Setup the interaction mode here
3414 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3415 yet, do it during the realize instead.
3416 (_on_dialog_response):
3417 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3418 if the widget is not realized, to avoid the dialog response before it
3421 Avoid premature responses in the HildonPickerDialog that can cause it
3422 to be hidden before it's even shown.
3424 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3426 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3427 (on_selector_columns_changed), (requires_done_button),
3428 (+prepare_action_area), (setup_interaction_mode),
3429 (_hildon_picker_dialog_set_selector):
3431 Split the interaction mode setup into preparation of the
3432 action area (prepare_action_area()) and the connection of
3433 the signals in setup_interaction_mode() and update the code to
3436 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3438 * src/hildon-pannable-area.c,
3439 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3440 per second to 15, we will check if this is ok regarding
3443 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3445 * src/hildon-pannable-area.c,
3446 (hildon_pannable_axis_scroll): Avoid resize if we already have
3447 reached overshoot_max.
3449 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3451 * src/hildon-pannable-area.c,
3452 (hildon_pannable_area_init),
3453 (hildon_pannable_area_realize),
3454 (hildon_pannable_area_size_allocate),
3455 (hildon_pannable_area_map),
3456 (hildon_pannable_area_unmap),
3457 (hildon_pannable_draw_vscroll),
3458 (hildon_pannable_draw_hscroll),
3459 (hildon_pannable_area_expose_event),
3460 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3461 pannable are to avoid the expose events go to the window and
3462 redraw the window. We save this way that part of the stack and the
3463 paint_boxes. We had to change the positions of the elements when
3466 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3469 * src/hildon-color-chooser-dialog.c:
3470 (hildon_color_chooser_dialog_init):
3471 * src/hildon-font-selection-dialog.c:
3472 (hildon_font_selection_dialog_init),
3473 (hildon_font_selection_dialog_show_preview):
3474 * src/hildon-get-password-dialog.c:
3475 * src/hildon-login-dialog.c:
3476 * src/hildon-set-password-dialog.c:
3477 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3478 * src/hildon-time-picker.c: (hildon_time_picker_init):
3480 Remove obsolete logical string IDs and update to the appropriate ones.
3482 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3484 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3487 that happens if the window hasn't been realized yet.
3489 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3490 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3492 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3495 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3498 Fixes: NB#98537 (Device hangs in account settings dialog)
3500 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3502 * configure.ac: post release version bump.
3503 * debian/changelog: version bump
3505 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3510 * configure.ac: Bump version.
3511 * debian/changelog: Updates.
3513 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3515 Added a new function to the HildonTimeButton widget that allows to
3516 change the step of the minutes in the selector associated with the
3517 button: hildon_time_button_new_step
3519 * src/hildon-time-button.c,
3520 (hildon_time_button_init),
3521 (hildon_time_button_new),
3522 (hildon_time_button_new_step):
3523 * src/hildon-time-button.h: Added the new function and refactored
3525 * examples/hildon-time-button-example.c,
3526 (main): We have replaced the function without parameters with the
3527 function with the steps set to 5
3529 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
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_get_property),
3537 (hildon_time_selector_set_property),
3538 (_create_minutes_model),
3539 (hildon_time_selector_new_step),
3540 (hildon_time_selector_set_time),
3541 * src/hildon-time-selector.h: Added a new property to the
3542 HildonTimeSelector (minutes-step), we use that property to control
3543 the steps between the minutes in the list of the selector. We have
3544 added a new function to the API to create a widget changing the
3545 step: hildon_time_selector_new_step.
3547 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3549 * src/hildon-time-selector.c,
3550 (hildon_time_selector_class_init),
3551 (hildon_time_selector_constructor),
3552 (hildon_time_selector_init): Overrided the construct function when
3553 creating the time selector object. We have moved the minutes model
3554 handling code from the init to the new construction function:
3555 hildon_time_selector_constructor.
3557 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3559 * examples/hildon-date-button-example.c: (main): Use the new
3560 hildon_date_button_new_with_year_range() method in the example.
3561 * src/hildon-date-button.c:
3562 (+hildon_date_button_new_with_year_range): New public method
3563 to conveniently create a HildonDateButton with a custom year range
3564 in its HildonDateSelector.
3565 * src/hildon-date-button.h: Add the new public method definition.
3567 Fixes: NB#97908 (Not possible to change the year range in
3568 HildonDateSelector/HildonDateButton)
3570 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3572 * src/hildon-date-selector.c:
3573 (+hildon_date_selector_set_property),
3574 (+hildon_date_selector_get_property),
3575 (hildon_date_selector_class_init): Install new properties "min-year"
3576 and "max-year" to define boundaries for the year column.
3577 (_create_year_model): Use the boundary properties to populate the model.
3578 (+hildon_date_selector_new_with_year_range): New public method to
3579 create a HildonDateSelector with a user defined year range.
3580 (hildon_date_selector_select_current_date): Use the new boundaries to
3581 calculate the iterator of current year.
3582 * src/hildon-date-selector.h: Add the new public method definition.
3584 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3586 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3587 Install a constructor method.
3588 (+hildon_date_selector_construct_ui): construct the widget.
3589 (+hildon_date_selector_constructor): new constructor.
3590 (+hildon_date_selector_init): move out widget construction code to
3591 the new constructor.
3593 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3595 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3596 that there's actually a month or year selected before obtaining them.
3597 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3598 of the HildonTouchSelector::changed signal, as it was emitted on every
3599 single item selection.
3601 Fix some warnings and possible crashers due to the selection restoring.
3603 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3606 the signal handlers only after creating the dialog instead of on every
3609 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-button.c (hildon_button_init)
3612 * src/hildon-check-button.c (hildon_check_button_init)
3613 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3614 focus when clicked by default.
3616 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3621 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3623 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3624 Alejandro G. Castro (alex@igalia.com)
3626 * src/hildon-picker-dialog.c:
3627 (hildon_picker_dialog_class_init): install new "center-on-show"
3629 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3630 (hildon_picker_dialog_set_property): add setter code for the new
3632 (hildon_picker_dialog_get_property): add getter code for the new
3634 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3635 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3638 Fixes: NB#92849 (Selected item is not always visible when
3639 HildonTouchSelector is shown)
3641 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3643 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3644 Alejandro G. Castro (alex@igalia.com)
3646 * src/hildon-touch-selector.c:
3647 (_create_new_column): Do not connect to the "realize" signal of the
3649 (hildon_touch_selector_append_column): center on the selected items
3650 when a new column is appended.
3651 (hildon_touch_selector_select_iter): Factor out the code to select a
3652 column to hildon_touch_selector_scroll_to().
3653 (+search_nearest_element): Method to retrieve the nearest selected
3654 element to the visible area of the pannable area in a column.
3655 (+on_realize_cb): scroll to the initially selected item.
3656 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3657 the pannable area is realized, otherwise delay this until it is.
3658 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3659 selected items of a given column.
3660 (+hildon_touch_selector_center_on_selected): Public method to center
3661 all columns on the nearest selected item.
3662 * src/hildon-touch-selector.h: Add definition for
3663 hildon_touch_selector_center_on_selected().
3665 Implement public API to ensure visibility of all selected items in
3666 a HildonTouchSelector.
3668 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3670 Fixed a problem in the fading when calling the scroll_to API, and
3671 improve scrollbar fading handling.
3673 * src/hildon-pannable-area.c,
3674 (hildon_pannable_area_grab_notify): avoid the timeout when the
3676 (hildon_pannable_area_button_press_cb),
3677 (hildon_pannable_area_motion_notify_cb): Code style changes.
3678 (hildon_pannable_area_button_release_cb): Review the conditions
3679 when releasing the mouse button to avoid unrequired fading
3681 (hildon_pannable_area_scroll_to): Do not calculate and set the
3682 velocity if the scroll is not required.
3684 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3687 Don't check whether the new selector is NULL: it cannot be.
3688 Hold a reference to the selector while doing the replacement.
3690 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3692 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3693 unnecessary size_request in a removed widget.
3695 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3697 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3698 an unnecessary reference tracking that was leaking.
3700 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3702 Added delayed motion notify event handling, this way we can
3703 discard redrawing if more than 25 events arrive per second.
3705 * src/hildon-pannable-area.c,
3706 (hildon_pannable_area_init): Initialized the new private atributes
3707 controlling this timeout
3708 (hildon_pannable_area_dispose): Remove the timeout that controls
3709 the motion notify events.
3710 (hildon_pannable_area_scroll): Added a condition to control the
3711 use of the acceleration.
3712 (hildon_pannable_area_motion_event_scroll_timeout),
3713 (hildon_pannable_area_motion_event_scroll): Added this two
3714 functions, they handle the motion notify events inside the
3716 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3717 to the scroll method with the new function.
3718 (hildon_pannable_area_button_release_cb): We have to remove the
3719 timeout handler and move to the last position if the last motion
3720 events were not handled.
3722 Fixes: NB#97028 (Pannable area updates on every motion event)
3724 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3726 * src/hildon-pannable-area.c,
3727 (hildon_pannable_area_get_topmost): Added a new parameter to
3728 filter the the windows that do not include those events. Added
3729 also a condition when finding the window to filter windows that do
3730 not ask for those events.
3731 (hildon_pannable_area_button_press_cb),
3732 (hildon_pannable_area_button_release_cb),
3733 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3734 topmost function, we have added the new parameter.
3736 Fixes: NB#97458 (Pannable area prevents propagation of button
3739 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3741 * src/hildon-pannable-area.c,
3742 (hildon_pannable_area_initial_effect): Added controls before
3743 launching the timeout and the idle functions.
3744 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3745 of the method, in some situations it can return with TRUE and 0 in
3747 (hildon_pannable_area_button_press_cb): We do not need to set
3748 DELAY for fading out here.
3750 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3752 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3754 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3755 post-cleaning if the selection is not NULL.
3757 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3759 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3760 all items before restoring the selection.
3762 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3764 * src/hildon-touch-selector.c:
3765 (+hildon_touch_selector_unselect_all):
3766 * src/hildon-touch-selector.h: New API to unselect all items in a
3767 column of the touch selector.
3769 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3771 * src/hildon-pannable-area.c,
3772 (hildon_pannable_area_redraw): Added a call to the refresh
3773 function inside the redraw because apparently in some cases the
3774 change in the adjustment does not imply a size allocate.
3776 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3777 despite the view not being scrollable)
3779 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3781 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3782 leak. Check for NULL before attempting to set the window title.
3784 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3787 whether to show or not the 'Done' button each time the dialog is
3788 shown, as it depends on the HildonTouchSelector selection mode.
3790 Fixes: NB#96226 (In multiple selection mode Done button is shown
3791 sometimes in listpicker)
3793 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3796 for the number of columns in the HildonTouchSelector more than once.
3798 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-touch-selector.c: Minor documentation fixes.
3802 * src/hildon-picker-dialog.c (+_dialog_update_title)
3803 (_select_on_selector_changed_cb)
3804 (_update_title_on_selector_changed_cb)
3805 (on_selector_columns_changed): Update dialog title when there's no
3806 'Done' button and also when the number of columns in the selector
3810 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3811 (+_selection_changed, hildon_picker_button_on_dialog_response)
3812 (hildon_picker_button_selector_selection_changed)
3813 (+hildon_picker_button_selector_columns_changed)
3814 (hildon_picker_button_set_selector): Update button value and emit
3815 'value-changed' when the number of columns in the selector
3819 Fixes: NB#96225 (Dialog titles are not shown according to the
3820 values selected in the list picker)
3822 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3824 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3825 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3826 New "arrow-width" and "arrow-height" style properties to set the
3827 size of the arrow button.
3828 Set name of arrow button ("hildon-edit-toolbar-arrow").
3830 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3831 graphics from theme)
3833 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3835 * src/hildon-picker-button.c:
3836 (hildon_picker_button_selector_selection_changed): Use
3837 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3838 the dialog is present.
3840 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3841 the selection is accepted in the dialog)
3843 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-color-chooser.h
3846 * src/hildon-color-chooser-dialog.h:
3847 Added G_BEGIN_DECLS and G_END_DECLS
3849 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3851 (_clean_current_selection): plug a leak in the list.
3853 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3855 * src/hildon-picker-dialog.c:
3856 (+free_path_list): Method to free a GList of GtkTreePaths.
3857 (_clean_current_selection), (_save_current_selection),
3858 (_restore_current_selection): Save the current selection in
3859 as a list of lists, to support multiple selection properly.
3861 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3863 patch by Claudio Saavedra (csaavedra@igalia.com)
3865 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3866 Store the press position.
3867 (+hildon_text_view_button_release_event): If the release position is
3868 close enough to the press position, move the cursor here. Otherwise,
3870 (hildon_text_view_class_init): Override GtkTextView press, release, and
3871 motion event handlers, disabling this way text selection through
3872 pointer interaction, and allowing the container widget to handle the
3875 Fixes: NB#95828 (HildonTextView functionality)
3877 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3879 Based on a patch by Iván Gómez (igomez@igalia.com)
3881 * src/hildon-button.[ch]
3882 * src/hildon-calendar.c
3883 * src/hildon-check-button.c
3884 * src/hildon-date-editor.c
3885 * src/hildon-date-selector.c
3886 * src/hildon-picker-button.c
3887 * src/hildon-time-editor.c
3888 * src/hildon-time-selector.c
3889 * src/hildon-touch-selector.[ch]:
3890 Documentation updates
3892 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3894 * src/hildon-pannable-area.c,
3895 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3896 threshold, it was required due to X events handling.
3898 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3900 * src/hildon-pannable-area.c,
3901 (hildon_pannable_area_grab_notify),
3902 (hildon_pannable_area_initial_effect),
3903 (hildon_pannable_area_button_press_cb),
3904 (hildon_pannable_area_button_release_cb),
3905 (hildon_pannable_area_scroll_cb),
3906 (hildon_pannable_area_scroll_to): Review the timeout management of
3907 the scrollbar, the frecuency was incorrectly set.
3909 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-picker-button.c:
3912 (+hildon_picker_button_on_dialog_response),
3913 (hildon_picker_button_clicked): Present the dialog instead of
3914 running it with gtk_dialog_run().
3916 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3919 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3921 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3922 (hildon_app_menu_finalize): When a window is hidden it doesn't
3923 emit notify::is-topmost, so make sure than the menu also
3924 disappears in that case.
3925 (parent_window_topmost_notify): Renamed from parent_window_hidden
3927 Fixes: NB#94460 (stackable window's menu is not closed when its
3930 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3932 * src/hildon-touch-selector-entry.c:
3933 (+hildon_touch_selector_entry_set_input_mode),
3934 (+hildon_touch_selector_entry_get_input_mode):
3935 * src/hildon-touch-selector-entry.h: New methods to access the input
3936 mode in the selector's entry.
3938 Fixes: NB#93410 (API required for setting IM mode in
3939 HildonTouchSelectorEntry)
3941 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3943 * configure.ac: post release version bump.
3944 * debian/changelog: version bump
3946 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3951 * configure.ac: Bump version.
3952 * debian/changelog: Updates.
3954 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-touch-selector.c:
3957 (_hildon_touch_selector_has_multiple_selection): No need
3958 to initialize the variables here.
3960 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-note-private.h
3963 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3964 (hildon_note_finalize, hildon_note_rebuild): Close information
3965 notes when they receive a button press.
3967 Fixes: NB#89890 (Information notes does not get disappeared after
3970 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3972 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3973 mark from the wizard title, as it's not really necessary. Also,
3974 do not display the page title if not set.
3976 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3978 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3979 (parent_window_hidden): Use the window's "is-topmost" property to
3980 detect when to hide the menu.
3982 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3985 (hildon_app_menu_finalize): If the parent window of the menu is
3986 hidden, hide the menu too.
3988 Fixes: NB#94460 (stackable window's menu is not closed when its
3991 2008-12-16 Alberto Garcia <agarcia@igalia.com>
3994 * debian/libhildon1-examples.install
3996 * examples/Makefile.am:
3997 Use dh_install to install all examples.
3998 Use DEB_SRCDIR instead of defining SOURCE_DIR
4000 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4002 * configure.ac: post release version bump.
4003 * debian/changelog: version bump
4005 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4010 * configure.ac: bump version
4011 * debian/changelog: updates
4012 * debian/control: bump gtk+ dependency
4014 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4016 patch by Christian Dywan (christian@imendio.com)
4018 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4019 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4021 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4023 * src/hildon-check-button.c (hildon_check_button_init)
4024 (hildon_check_button_class_init, hildon_check_button_style_set)
4025 (hildon_check_button_apply_style):
4026 New "checkbox-size" style property.
4028 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4029 larger / configurable size)
4031 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4033 * configure.ac: post release version bump.
4034 * debian/changelog: version bump
4036 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4041 * configure.ac: bump version
4042 * debian/changelog: updates
4044 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4046 * doc/hildon-sections.txt
4047 * src/hildon-pannable-area.c
4048 * src/hildon-program.c
4049 * src/hildon-time-editor.c
4050 * src/hildon-touch-selector-entry.c:
4052 More documentation updates.
4054 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4056 * doc/hildon-sections.txt
4057 * src/hildon-caption.c
4058 * src/hildon-code-dialog.c
4059 * src/hildon-color-button.c
4060 * src/hildon-controlbar.c
4061 * src/hildon-date-editor.c
4062 * src/hildon-date-selector.c
4063 * src/hildon-edit-toolbar.c
4064 * src/hildon-find-toolbar.c
4065 * src/hildon-font-selection-dialog.c
4067 * src/hildon-program.c
4068 * src/hildon-range-editor.c
4069 * src/hildon-seekbar.c
4070 * src/hildon-time-editor.c
4071 * src/hildon-time-selector.c
4072 * src/hildon-volumebar-range.c
4073 * src/hildon-volumebar.c
4074 * src/hildon-vvolumebar.c
4075 * src/hildon-weekday-picker.c
4076 * src/hildon-window.c
4077 * src/hildon-wizard-dialog.c:
4079 Lots of documentation fixes.
4081 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4083 Patch contributed by Iván Gómez (igomez@igalia.com)
4085 * src/hildon-check-button.c:
4086 * src/hildon-date-button.c:
4087 * src/hildon-date-selector.c:
4088 * src/hildon-dialog.c:
4089 * src/hildon-edit-toolbar.c:
4090 * src/hildon-entry.c:
4091 * src/hildon-picker-button.c:
4092 * src/hildon-program.c:
4093 * src/hildon-text-view.c:
4094 * src/hildon-time-button.c:
4095 * src/hildon-touch-selector-entry.c:
4096 * src/hildon-window-stack.c:
4098 Add more "since" tags to the new API.
4100 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4102 * doc/hildon-sections.txt: Add below method.
4103 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4104 version for the hildonized scale.
4105 * src/hildon-gtk.h: Add the definition.
4107 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4109 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4111 * doc/hildon-sections.txt: Add missing entries for new methods.
4113 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4115 Added API to pannable are in order to get its adjustments. We
4116 added two properties to manage the values we had in the private
4119 * src/hildon-pannable-area.c:
4120 (hildon_pannable_area_class_init): Added hadjustment and
4121 vadjustment properties in order to expose horizontal and vertical
4123 (hildon_pannable_area_get_property),
4124 (hildon_pannable_area_set_property): Added code to handle the new
4126 (hildon_pannable_area_get_hadjustment),
4127 (hildon_pannable_area_get_vadjustment): API functions to get the
4129 * src/hildon-pannable-area.h:
4130 (hildon_pannable_area_get_hadjustment),
4131 (hildon_pannable_area_get_vadjustment): API functions to get the
4134 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4136 Fixed some leaks, after valgrinding.
4138 * src/hildon-touch-selector.c:
4139 (_default_print_func): Fixed a leak.
4140 (hildon_touch_selector_append_column): Fixed a leak.
4141 * src/hildon-date-button.c:
4142 (hildon_date_button_init): Fixed a leak.
4143 * src/hildon-date-selector.c
4144 (hildon_date_selector_finalize): Fixed a leak.
4146 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4148 Based on a patch by Christian Dywan (christian@imendio.com)
4150 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4152 * src/hildon-gtk.h: Add definition.
4154 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4156 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4158 * src/hildon-picker-button.c: (hildon_picker_button_init),
4159 (hildon_picker_button_new): Set the HildonButton::style property
4160 in the init method, to propagate the value to the derived classes.
4162 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-button.c: (hildon_button_class_init): Do not make
4165 the "style" property a construct property.
4167 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4169 * src/hildon-wizard-dialog.h
4170 * src/hildon-wizard-dialog.c
4171 (hildon_wizard_dialog_set_forward_page_func)
4172 * src/hildon-pannable-area.h
4173 * src/hildon-pannable-area.c
4174 (hildon_pannable_area_set_size_request_policy):
4175 Documentation fixes.
4177 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4179 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4181 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4183 * doc/hildon-sections.txt: Added sections file.
4185 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/*.[ch]: Updates.
4190 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4192 * examples/hildon-progress-indicator-example.c: new file
4193 * examples/Makefile.am: include the new example program
4195 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4197 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4199 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4201 * configure.ac: post release version bump
4202 * debian/changelog: version bump
4204 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4209 * configure.ac: bump version
4210 * debian/changelog: updates
4211 * debian/control: bump gtk+ dependency
4213 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4215 * src/hildon-dialog.c: Mark as deprecated.
4216 * src/hildon-dialog.h: Mark as deprecated.
4217 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4218 from HildonDialog and still work, even if
4219 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4220 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4222 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4223 maemo changes) instead)
4225 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4227 * src/hildon-pannable_area.h:
4228 * src/hildon-pannable_area.c:
4229 (hildon_pannable_area_class_init),
4230 (hildon_pannable_area_set_property),
4231 (hildon_pannable_area_get_property),
4232 (hildon_pannable_area_size_request),
4233 (hildon_pannable_area_get_size_request_policy),
4234 (hildon_pannable_area_set_size_request_policy): Added new API
4235 allowing applications to control the request policy. Now they can
4236 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4237 children allocation (HILDON_MOVEMENT_CHILDREN).
4239 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4243 (hildon_gtk_tree_view_set_ui_mode)
4244 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4245 mode of treeviews and iconviews.
4247 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-touch-selector-entry.c:
4250 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4251 of a GtkEntry to get proper theming.
4253 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4254 widget, not GtkEntry)
4256 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4259 no HildonWizardDialogPageFunc.
4261 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4263 Patch contributed by Iván Gómez (igomez@igalia.com)
4265 * src/hildon-app-menu.c:
4266 * src/hildon-button.c:
4267 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4268 * src/hildon-stackable-window.c:
4269 * src/hildon-time-selector.c:
4270 * src/hildon-touch-selector.c:
4271 * src/hildon-window.c:
4273 Add more "since" tags to the new API in hildon 2.2.
4275 2008-12-05 Tim Janik <timj@imendio.com>
4277 Patch contributed by Christian Dywan (christian@imendio.com)
4279 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4280 HildonSizeType, which are supplied by Gtk+ now.
4282 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4284 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4285 (with maemo changes) instead)
4287 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4289 Patch contributed by Iván Gómez (igomez@igalia.com)
4291 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4294 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4296 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4297 (some_page_func), (main): Update the example to use a
4298 HildonWizardDialogPageFunc function.
4300 * src/hildon-wizard-dialog-private.h: Add private data for
4301 the HildonWizardDialogPageFunc function usage.
4303 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4304 (destroy), (hildon_wizard_dialog_init), (response),
4305 (hildon_wizard_dialog_set_forward_page_func):
4306 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4307 that applications can use to stop a HildonWizardDialog to jump to
4310 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4313 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4315 * src/hildon-program.h
4316 * src/hildon-program-private.h
4317 * src/hildon-program.c (hildon_program_init)
4318 (hildon_program_set_common_app_menu)
4319 (hildon_program_get_common_app_menu):
4320 New API for setting a common HildonAppMenu for all
4321 HildonStackableWindows registered with the HildonProgram.
4323 * src/hildon-stackable-window.c
4324 (hildon_stackable_window_toggle_menu):
4325 Use the common HildonAppMenu if a window doesn't have a specific
4328 * src/hildon-app-menu-private.h
4329 * src/hildon-app-menu.c
4330 (hildon_app_menu_get_parent_window):
4331 Function to obtain the window a HildonAppMenu is attached to.
4332 (hildon_app_menu_set_parent_window):
4333 Hide the menu if the parent window is set to NULL.
4335 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4338 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4339 search widget to popup.
4341 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4343 * configure.ac: post release version bump
4344 * debian/changelog: version bump
4346 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4351 * configure.ac: bump version
4352 * debian/changelog: updates
4354 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4356 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4358 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4359 (hildon_window_stack_window_realized)
4360 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4361 Set the leader GdkWindow when a window is stacked and realized,
4362 unset it when it's unstacked.
4363 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4365 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4367 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4369 * src/hildon-stackable-window.h
4370 * src/hildon-window-stack.h:
4371 Protect definition of HildonWindowStack using the preprocessor.
4373 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4375 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4376 Fix warning if all menu items are hidden.
4378 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4380 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4382 * src/hildon-controlbar.c:
4383 * src/hildon-hvolumebar.c:
4384 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4385 Multiple scale size defines updates.
4387 Fixes: NB#94322 (Scale Updates)
4389 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4391 * examples/hildon-app-menu-example.c (create_menu)
4392 Show items after adding them to the menu, as in the future the
4393 menu will no longer call gtk_widget_show() on the added items.
4395 * src/hildon-app-menu.c:
4396 Update example as explained above.
4398 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-app-menu.c
4401 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4402 Make sure that all menu items have finger height.
4404 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4406 * src/hildon-picker-dialog.c:
4407 (_on_dialog_response), (_save_current_selection),
4408 (_restore_current_selection), (_clean_current_selection),
4409 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4410 Defined new functions in order to save the current internal selector
4411 selection previous open the dialog, in case that the use cancel the
4412 interaction, so the widget restores the previous selection.
4414 Fixes: NB#92032 (In calendar application, date values in 'new event'
4417 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4419 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4421 * src/hildon-button.c: Add a reference to the button examples in
4422 hildon-button-example.c
4424 * examples/hildon-button-example.c: Added examples of the most
4425 common button layouts.
4427 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4429 * src/hildon-app-menu.c (hildon_app_menu_show)
4430 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4432 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4434 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/hildon-picker-dialog.c:
4437 (hildon_picker_dialog_init): Initialize the signal id for
4438 HildonTouchSelector::columns-changed.
4439 (+on_selector_columns_changed): Set up the interaction mode everytime a
4440 column is added or removed from the HildonTouchSelector.
4441 (_hildon_picker_dialog_set_selector): Connect to
4442 HildonTouchSelector::columns-changed and keep track of it.
4444 Make sure to update the interaction mode of the dialog everytime a
4445 column is added or removed in the HildonTouchSelector.
4447 Fixes: NB#93228 (Done button is not shown always in listpicker)
4449 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4451 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4452 a new ::columns-changed signal.
4453 (hildon_touch_selector_append_column): Emit ::columns-changed.
4454 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4456 Add a ::columns-changed signal, emitted when the number of columns in a
4457 HildonTouchSelector changes.
4459 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4461 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4462 (_hildon_picker_dialog_set_selector): Factor out the code
4463 to set up the dialog interaction mode.
4465 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4467 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4468 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4469 to signal_changed_id.
4471 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4473 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4476 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4478 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4479 Updated the logical ids related to ampm format, as now it is required to
4480 show it correctly localized even on languages with no default
4481 abbreviations for am or pm
4482 (_check_am_pm_format): check correctly the 24h format gconf property
4484 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4486 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4488 * src/hildon-button.c: Documentation updates.
4490 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4492 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4493 * src/hildon-caption.c: (hildon_caption_class_init):
4494 * src/hildon-color-button.c: (hildon_color_button_class_init):
4495 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4496 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4497 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4498 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4500 Remove deprecated GTK+ marshalers and replace them with the ones
4501 provided by GLib, for those available, add a marshaler for
4502 BOOLEAN:VOID, which is not available in GLib, and use it.
4504 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4506 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4507 the text from the previous column if there is no
4508 HildonTouchSelectorColumn::text-property set.
4510 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4512 * src/hildon-button.h
4513 * src/hildon-button.c (hildon_button_set_property)
4514 (hildon_button_get_property, hildon_button_class_init)
4515 (hildon_button_set_style, hildon_button_get_style):
4516 New "style" property to change the visual appearance of the
4519 * src/hildon-picker-button.c (hildon_picker_button_new):
4520 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4522 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4523 HildonButton look like PickerButton)
4525 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4528 column while building the default string.
4530 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4532 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4533 scroll indicator by default.
4535 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4537 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4539 * src/hildon-main.c: Fix the documentation for hildon_init()
4541 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4543 * doc/hildon-docs.sgml
4547 * src/hildon-window-stack-private.h
4548 * src/hildon-window-stack.h
4549 * src/hildon-window-stack.c:
4550 New HildonWindowStack object, that adds support for multiple
4551 stacks of windows per process.
4553 * src/hildon-stackable-window-private.h
4554 * src/hildon-stackable-window.h
4555 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4556 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4557 (hildon_stackable_window_show, hildon_stackable_window_hide)
4558 (hildon_stackable_window_class_init)
4559 (hildon_stackable_window_init):
4560 Use HildonWindowStack for stack management.
4562 * src/hildon-program.c (hildon_program_pop_window_stack)
4563 (hildon_program_peek_window_stack)
4564 (hildon_program_go_to_root_window):
4565 Add a fallback implementation to the deprecated functions using
4568 * examples/hildon-stackable-window-example.c:
4569 Use the new HildonWindowStack API.
4571 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-stackable-window-private.h
4574 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4575 (hildon_stackable_window_hide, hildon_stackable_window_init):
4576 Remove all window stack management.
4578 * src/hildon-program-private.h
4579 * src/hildon-program.h
4580 * src/hildon-program.c (hildon_program_init)
4581 (hildon_program_pop_window_stack)
4582 (hildon_program_peek_window_stack)
4583 (hildon_program_go_to_root_window):
4584 Remove all window stack management and mark functions as
4587 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-app-menu.c (hildon_app_menu_realize):
4590 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4592 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4594 * configure.ac: post release version bump
4595 * debian/changelog: version bump
4597 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4602 * configure.ac: bump version
4603 * debian/changelog: updates
4605 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4607 Based on initial code by Christian Dywan (christian@imendio.com)
4609 * doc/hildon-docs.sgml: Add section for hildon-main.
4610 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4611 * src/Makefile.am: Add new hildon-main.[ch]
4612 * src/hildon-defines.h: Update the icon sizes.
4613 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4614 new library initialization files and register icon sizes.
4615 * src/hildon-main.h: New declarations.
4616 * src/hildon.h: Include hildon-main.h
4618 Add new initialization functions to the library. These methods
4619 will register the hildon specific icon sizes and can be used in the
4620 future for other hildon specific bits.
4622 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4624 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4626 * src/hildon-window.c: (hildon_window_realize),
4627 (hildon_window_notify), (-hildon_window_update_title): Do not set
4628 the application name in the window title.
4630 Fixes: NB#89754 (Applications shouldn't display their names in the
4633 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-note-private.h:
4636 * src/hildon-note.c: (hildon_note_set_property),
4637 (hildon_note_get_property), (hildon_note_class_init),
4638 (hildon_note_init), (hildon_note_finalize),
4639 (hildon_note_new_confirmation_with_icon_name),
4640 (hildon_note_new_information_with_icon_name):
4642 No need to mark as deprecated the actual code. Revert
4643 to avoid missing symbols in widgets using deprecated API.
4645 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4647 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4649 * src/hildon-volumebar.h
4650 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4651 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4653 * src/hildon-helper.h
4654 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4655 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4657 * examples/Makefile.am:
4658 Deprecate hildon-insensitive-example
4660 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4662 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4664 * examples/hildon-pannable-area-buttons-scroll-example.c:
4665 Make all buttons finger height
4667 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4669 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4671 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4672 update the day model only if it is really required, and to avoid the
4673 full-reconstruction aproach. Now it only add or remove the required days.
4675 The purpose of this is avoid superfluous HildonTouchSelector::changed
4678 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4679 with strange parameters)
4681 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4683 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4685 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4686 the WINDOW_TYPE property.
4688 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4690 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4693 Fix dependency to allow parallel compilation with make -jX
4695 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4697 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4698 color frame and some minor tweaks to make it more consistent with
4701 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4702 highlighted but not visible)
4704 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4706 * examples/Makefile.am: Fixed typo in the Makefile.am.
4708 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4710 Reviewed the use of MAEMO_GTK define, now we add the define in the
4711 compilation line, and we also add it to the pc file.
4713 * configure.ac: Added MAEMO_GTK define to the compilation command
4714 and removed it from the config.h.
4716 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4717 do not have to take care about this define if the library was
4721 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4723 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4725 * examples/Makefile.am,
4726 * examples/hildon-pannable-area-buttons-scroll-example.c,
4727 * examples/hildon-pannable-area-gesture-signals-example.c,
4728 * examples/hildon-pannable-area-scroll-jump-example.c,
4729 * examples/hildon-pannable-area-tree-view-example.c:
4730 Renamed the pannable area examples, now they have more meaningful
4733 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4735 * src/hildon-touch-selector.c:
4736 (hildon_touch_selector_set_column_selection_mode): Used of
4737 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4738 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4739 to avoid re-seting the same selection mode.
4741 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4742 breaks HildonPickerDialog)
4744 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4746 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4747 conditional in the Makefile.am
4749 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4751 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4752 Remove unused methods.
4754 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4756 * src/hildon-button.c (hildon_button_init):
4757 Make button images center-aligned by default
4759 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4762 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4763 activated, we have to think about how to deal with both defines
4764 MAEMO_GTK and MAEMO_CHANGES.
4766 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4768 * examples/hildon-app-menu-example.c (create_menu): Make all
4769 buttons finger size.
4771 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4773 Fixed the compilation without maemo gtk adding ifdefs with
4774 MAEMO_GTK define to the code, we have to check this version more
4777 * examples/Makefile.am: Added control to avoid some examples that
4778 just make sense with maemo gtk.
4781 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4782 hildon modes with the define.
4784 * examples/hildon-edit-toolbar-example.c,
4785 (create_icon_view): Create the icon view without hildon-gtk
4786 helpers if we are not using maemo gtk.
4788 * src/hildon-touch-selector.c,
4789 (_create_new_column): Create the treeview without hildon-gtk
4790 helpers if we are not using maemo gtk.
4792 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4794 * src/hildon-pnnable-area.c,
4795 (hildon_pannable_area_dispose),
4796 (hildon_pannable_area_button_press_cb),
4797 (hildon_pannable_area_child_mapped),
4798 (hildon_pannable_area_add),
4799 (hildon_pannable_area_remove): Added code to control the position
4800 of the event_window when adding and removing children from the
4801 pannable. We have to raise the event window when the child is
4804 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4805 selection mode using custom widget inside pannable)
4807 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4809 * configure.ac: post release version bump
4810 * debian/changelog: version bump
4812 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4817 * configure.ac: bump version
4818 * debian/changelog: updates
4820 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4822 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4823 search mode, in order to avoid lose the focus on the treeview when
4824 a hw key (like enter) is pressed.
4826 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4827 in HildonDateSelector dialog)
4829 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4831 * debian/rules: Added --enable-maintainer-mode
4832 * Makefile.am: Added ACLOCAL_AMFLAGS
4834 This allows to properly regenerate the Makefiles if you modify the
4835 configure.ac or any Makefile.am.
4837 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4839 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4840 properties, not needed at all.
4842 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4844 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4846 * src/hildon-note.c: (hildon_note_set_property),
4847 (hildon_note_get_property), (hildon_note_class_init),
4848 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4849 (hildon_note_new_confirmation_add_buttons): Remove icons.
4850 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4851 (hildon_note_new_information_with_icon_name): Deprecate.
4852 (hildon_note_new_confirmation): Act directly, without calling
4853 the deprecated constructor.
4854 (hildon_note_new_information): Act directly, without calling
4855 the deprecated constructor.
4856 * src/hildon-note.h: Mark deprecate methods as such.
4857 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4858 not run tests on the deprecated methods if built with deprecation
4861 Fixes: NB#91688 (Never show icons in information notes/confirmation
4864 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4867 (hildon_app_menu_key_press): Remove leftover usage of the
4868 private structure in HildonAppMenu struct.
4869 * src/hildon-app-menu.h: Remove leftover private structure
4870 from the HildonAppMenu struct.
4872 Fixes a crasher when using the HildonAppMenu.
4874 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4876 * src/hildon-picker-dialog.c: Use appropriate logical id
4877 for the default "Done" text.
4879 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4881 * configure.ac: post release version bump
4882 * debian/changelog: version bump
4884 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4886 Modified the way to scroll to the current selection just when the touch
4887 selector is shown on the screen, avoiding a g_idle. Added too a property
4888 to configure this behaviour. See hildon_pannable_area_jump_to_child
4889 documentation for more information.
4891 * src/hildon-touch-selector.c
4892 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4893 Added 'initial-scroll' property
4894 (hildon_touch_selector_set_property): Added
4895 (hildon_touch_selector_map): Removed as not required anymore
4896 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4897 only a concrete column, instead of iterate along all the columns
4899 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4904 * configure.ac: bump version
4905 * debian/changelog: updates
4907 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4909 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4910 compilation time warnings.
4912 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4915 the default value for HildonPannableArea::mov-mode to
4916 HILDON_PANNABLE_AREA_MODE_VERT.
4918 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4920 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4922 Reverting following commit:
4924 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-app-menu-private.h
4927 * src/hildon-app-menu.[ch]
4928 * src/hildon-button.[ch]
4929 * src/hildon-check-button.[ch]
4930 * src/hildon-entry.[ch]
4931 * src/hildon-pannable-area.[ch]
4932 * src/hildon-text-view.[ch]:
4933 Added private field to the object's structure.
4935 because it causes an ABI breakage. We will need to introduce these
4936 changes later at some point. See NB#91636 for an extensive
4937 explanation and status.
4939 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4941 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4943 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4944 remove special cases that are no longer necessary.
4946 Fixes: NB#91016 (Change toolbar sizes, simplification)
4948 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4951 is shown in the cancel note.
4953 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4955 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4956 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4957 (hildon_seekbar_init): Remove steppers, remove expose event.
4958 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4960 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4962 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4964 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4965 label font to "SmallSystemFont" for vertically arranged buttons.
4967 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4970 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-check-button.c
4973 (hildon_check_button_set_active, hildon_check_button_clicked):
4974 Don't access private parts directly, use getters instead.
4976 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-check-button.c (hildon_check_button_new):
4979 Align the contents of the check button to the left.
4981 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4983 * src/hildon-pannable-area.c,
4984 (hildon_pannable_area_scroll_to),
4985 (hildon_pannable_area_jump_to),
4986 (hildon_pannable_area_scroll_to_child),
4987 (hildon_pannable_area_jump_to_child): Replace the mapped
4988 precondition of these functions with the realized, it is the
4989 correct state of the widget in this case. Changed the
4990 documentation according to this modification.
4992 2008-10-30 Alejandro G. Castro <alex@igalia.com>
4994 Added a new EXTRA_CFLAGS option to add the deprecated define to
4995 the compilation command. This way we can avoid using the define in
4996 the documentation compilation.
4998 * configure.ac: Defined EXTRA_CFLAGS.
5000 * examples/Makefile.am:
5002 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5004 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5006 * src/hildon-picker-dialog.c:
5007 Defined a utility macro with the desired touch selector height
5008 Removed currently unused separator, and title_label variables from
5010 (hildon_picker_dialog_init): Removed code related to the creation
5011 of unused private variables title_label and separator.
5012 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5013 to ensure correct visualization of the touch selector inside the dialog.
5014 * src/hildon-touch-selector.c
5015 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5016 ensure a concrete height of the widget.
5018 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5021 * tests/Makefile.am:
5023 Remove spurious whitespaces.
5025 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5028 compilation warning after the cancel button removal.
5030 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5032 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5034 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5035 Makefile.am, that way we can choose not to compile some examples
5036 and tests of the deprecated widgets.
5038 * examples/Makefile.am: Divided the sources in deprecated and
5041 * src/Makefile.am: Added undef statement of the deprecated
5042 symbol to the enums file generation process.
5044 * src/hildon-color-chooser-dialog.c
5045 * src/hildon-color-chooser-dialog.h
5046 * src/hildon-color-button.c
5047 * src/hildon-color-button.h
5048 * src/hildon-color-chooser.c
5049 * src/hildon-color-chooser.h
5050 * src/hildon-controlbar.c
5051 * src/hildon-controlbar.h
5052 * src/hildon-date-editor.c
5053 * src/hildon-date-editor.h
5054 * src/hildon-hvolumebar.c
5055 * src/hildon-hvolumebar.h
5056 * src/hildon-private.c
5057 * src/hildon-private.h
5058 * src/hildon-range-editor.c
5059 * src/hildon-range-editor.h
5060 * src/hildon-seekbar.c
5061 * src/hildon-seekbar.h
5062 * src/hildon-time-editor.c
5063 * src/hildon-time-editor.h
5064 * src/hildon-time-picker.c
5065 * src/hildon-time-picker.h
5066 * src/hildon-volumebar.c
5067 * src/hildon-volumebar.h
5068 * src/hildon-vvolumebar.c
5069 * src/hildon-vvolumebar.h
5070 * src/hildon-bread-crumb-trail.h
5071 * src/hildon-bread-crumb-trail.c
5072 * src/hildon-calendar-popup.c
5073 * src/hildon-calendar-popup.h
5074 * src/hildon-weekday-picker.c:
5075 * src/hildon-weekday-picker.h:
5076 * src/hildon-bread-crumb-widget.c:
5077 * src/hildon-bread-crumb-widget.h:
5078 * src/hildon-bread-crumb.c:
5079 * src/hildon-bread-crumb.h:
5080 * src/hildon-calendar.c:
5081 * src/hildon-calendar.h:
5082 * src/hildon-caption.c:
5083 * src/hildon-code-dialog.c:
5084 * src/hildon-code-dialog.h:
5085 * src/hildon-font-selection-dialog.c:
5086 * src/hildon-font-selection-dialog.h:
5087 * src/hildon-get-password-dialog.c:
5088 * src/hildon-get-password-dialog.h:
5089 * src/hildon-login-dialog.c:
5090 * src/hildon-login-dialog.h:
5091 * src/hildon-number-editor.c:
5092 * src/hildon-number-editor.h:
5093 * src/hildon-set-password-dialog.c:
5094 * src/hildon-set-password-dialog.h:
5095 * src/hildon-sort-dialog.c:
5096 * src/hildon-sort-dialog.h: This is the list of deprecated
5099 * src/hildon-touch-selector.c:
5100 * src/hildon-window.c: Added undef statement to avoid compilation
5103 * tests/Makefile.am: Divided the sources in deprecated and
5106 * tests/check_test.c,
5107 (configure_tests): Marked the deprecated code that was adding
5108 suites with deprecated tests.
5110 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5112 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5114 * src/hildon-touch-selector.c: (_default_print_func): Do not
5115 duplicate a string returned by gtk_tree_model_get(), it is already
5118 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5121 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5123 * src/hildon-pannable-area.c
5124 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5125 method, it had problems when adding a widget with viewport the
5126 second time. Now checks if it already has a viewport and uses it.
5128 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5131 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5133 * src/hildon-pannable-area.c,
5134 (hildon_pannable_area_scroll_to),
5135 (hildon_pannable_area_jump_to),
5136 (hildon_pannable_area_scroll_to_child),
5137 (hildon_pannable_area_jump_to_child): Added a precondition to the
5138 scroll and jump to functions: the widget must be mapped before we
5139 can safely call these functions. We have also added documentation
5140 to the functions to explain how to use them in this situation.
5143 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5145 Reviewed the threading handling of the pannable widget, we have
5146 used the gdk_threads_add_timeout function instead of the usual
5147 glib handlers. This avoids some problems with the threads.
5149 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5150 (hildon_pannable_area_initial_effect),
5151 (hildon_pannable_area_scroll_indicator_fade),
5152 (hildon_pannable_area_button_press_cb),
5153 (hildon_pannable_area_timeout),
5154 (hildon_pannable_area_motion_notify_cb),
5155 (hildon_pannable_area_button_release_cb),
5156 (hildon_pannable_area_scroll_cb),
5157 (hildon_pannable_area_scroll_to): Removed the
5158 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5159 gdk_threads_add_timeout.
5161 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5163 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5168 * configure.ac: bump version
5169 * debian/changelog: updates
5171 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5173 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5174 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5175 * src/hildon-color-chooser-dialog.c:
5176 (hildon_color_chooser_dialog_init):
5177 * src/hildon-font-selection-dialog.c:
5178 (hildon_font_selection_dialog_init):
5179 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5181 Remove all cancel/close-like dialogs, as these are not going to be
5184 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5186 * src/hildon-note.c: (hildon_note_rebuild),
5187 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5190 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5192 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5194 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5195 sure all buttons are shown, even the Cancel/Close-like ones.
5197 Fixes: NB#90861 (Custom Confirmation dialogs should be
5198 protected from cancel button removal)
5200 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5202 * debian/control: Change libhildon1-examples dependency from libhildon1
5204 * debian/libhildon1-examples.install
5206 * Makefile.am: Modified the final install directory for the examples on
5207 package libhildon1-examples
5208 * Makefile.static: Update clean target in order to remove all the binary
5211 Changes suggested by Claudio after review new libhildon1-examples package
5213 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5215 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5216 * src/hildon-touch-selector.c: Ditto.
5218 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5220 * debian/control: Added new package libhildon1-examples, in order to pack
5221 the current hildon examples as documentation
5222 * debian/rules: Not to compress .c files, modify some includes on the
5223 examples (as normally are compiled locally, but when installed it will
5224 require to include the installed libhildon1 library), and rename
5226 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5227 install all the example files on the new example package
5228 * examples/Makefile.static: Added static makefile that can be used to
5229 compile the examples, once installed the new example package
5230 * examples: Most of the examples were modified in order to grant that
5231 all use only '#include "hildon.h"', in order to be easy to prepare
5232 it on the example package
5234 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5237 * debian/libhildon1-dev.install
5238 * debian/libhildon1-doc.install:
5239 Move all gtk-doc files to a separate libhildon1-doc package.
5241 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5243 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5245 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5247 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5249 * debian/rules: Fixed a error in order to avoid unnecessary calls
5250 to autogen.sh on package building
5252 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5254 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5256 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5258 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5261 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-picker-button.c
5264 (hildon_picker_button_finalize):
5265 Free priv->done_button_text
5267 * src/hildon-time-button.c
5268 (hildon_time_button_set_time)
5269 * src/hildon-picker-button.c
5270 (hildon_picker_button_clicked)
5271 (hildon_picker_button_selector_selection_changed)
5272 (hildon_picker_button_set_selector)
5273 * src/hildon-date-button.c
5274 (hildon_date_button_set_date):
5275 Free strings returned by hildon_touch_selector_get_current_text()
5277 * src/hildon-button.c (hildon_button_construct_child):
5278 Fix leaks in priv->image and priv->label_box
5280 Fixes: NB#90535 (Memory leak in picker button)
5282 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5284 * src/hildon-button.c: (hildon_button_get_property): Do not access
5285 private elements directly, use getters instead.
5287 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5289 * src/hildon-app-menu-private.h
5290 * src/hildon-app-menu.c
5291 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5292 Store the menu's parent window.
5294 * src/hildon-stackable-window.c
5295 (hildon_stackable_window_toggle_menu)
5296 (hildon_stackable_window_finalize):
5297 Set the menu's parent window when the menu is shown, unset it when
5300 * src/hildon-app-menu.c
5301 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5302 (hildon_app_menu_class_init):
5303 Send unhandled keyboard accelerators to the parent window.
5305 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5307 * src/hildon-stackable-window.c
5308 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5310 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5312 * configure.ac: post release version bump
5314 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5317 * configure.ac: Bump version
5318 * debian/changelog: Updates
5319 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5322 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5324 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5327 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5328 GtkMenu with Hildon style.
5330 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5332 * src/hildon-picker-button.c:
5333 (hildon_picker_button_set_done_button_text): Set the dialog's
5334 done button text here as well.
5336 Fixes: NB#90232 (Picker button does not set the label on done button
5337 for the second time)
5339 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5341 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5344 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5346 * src/hildon-app-menu.c (hildon_app_menu_insert)
5347 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5348 the HildonAppMenu to be activatable using keyboard accelerators
5349 when the menu is not being shown.
5351 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5353 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5355 * src/hildon-stackable-window.c
5356 (hildon_stackable_window_show):
5357 Don't hide old windows automatically when new windows are shown:
5358 this is now a task for the window manager.
5359 (hildon_stackable_window_class_init)
5360 (hildon_stackable_window_hide):
5361 Remove windows from the stack everytime they're hidden.
5362 (hildon_stackable_window_realize):
5363 Don't change the _NET_WM_WINDOW_TYPE property. Use
5364 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5365 it as a stackable window.
5367 * src/hildon-program.c
5368 (hildon_program_pop_window_stack):
5369 Just hide the window to remove it from the stack.
5370 (hildon_program_go_to_root_window):
5371 Don't call gtk_widget_show(), this is now a task for the window
5374 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5376 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-button.c
5379 (hildon_button_construct_child):
5380 Don't pack anything in the button until text or image are
5381 set. This allows adding a custom child after creating the button
5382 with hildon_button_new().
5383 (hildon_button_finalize, hildon_button_class_init)
5384 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5385 alignment and the label box even when they're not packed in the
5388 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5390 * src/hildon-touch-selector.h:
5391 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5392 currently the type definition was using GTK_TYPE_VBOX
5393 * src/hildon-touch-selector.c:
5394 Added some implementation notes in order to clarify that any other widget
5395 added without the column related API will not be included on the
5396 selection logic, and how the widget is freed, as some people ask about
5398 (hildon_touch_selector_remove): Reimplemented in order to free properly
5399 the column related data when you remove the private hbox.
5400 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5401 to get a proper HildonTouchSelectorColumn documentation
5403 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5405 * src/hildon-touch-selector-entry.c:
5406 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5407 text in the GtkEntry and there is no item selected. Fixes a
5410 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5412 * src/hildon-app-menu-private.h
5413 * src/hildon-app-menu.[ch]
5414 * src/hildon-button.[ch]
5415 * src/hildon-check-button.[ch]
5416 * src/hildon-entry.[ch]
5417 * src/hildon-pannable-area.[ch]
5418 * src/hildon-text-view.[ch]:
5419 Added private field to the object's structure.
5421 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5423 * configure.ac: post-release version bump
5425 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5429 * configure.ac: pre-release version bump
5431 * debian/changelog: updates.
5433 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5436 Disconnect the handler for HildonTouchSelector::changed.
5438 (hildon_picker_button_selector_selection_changed): Update the button
5439 value if the selection change was not triggered by the
5442 (hildon_picker_button_set_selector): connect to
5443 HildonTouchSelector::changed.
5445 Fixes: NB#89650 (Picker button is not updated, when selection in
5446 selector has changed)
5448 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5450 * src/hildon-picker-dialog.c
5451 (hildon_picker_dialog_realize): Removed as not required
5452 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5453 * src/hildon-picker-button.c
5454 (_current_selector_empty): New function, checks if the selector is empty
5455 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5456 if the current selector is empty, in order to avoid to show the dialog
5457 close the dialog in this case (and shows a g_warning).
5459 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5461 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5463 * src/hildon-pannable-area.c,
5464 (hildon_pannable_area_scroll): Added clause to stop movement when
5465 the child of pannable is smaller than one page.
5466 (hildon_pannable_area_scroll_to): Added conditions to avoid
5467 starting the scrolling movement if the child is smaller than one
5468 page, the complete child is in the screen, we do not have to move.
5470 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5472 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5474 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5475 this is managed automatically by the widget when the size of the
5478 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5480 * src/hildon-picker-button.c
5481 (hildon_picker_button_set_done_button_text): Make a copy of the
5482 text, and free the previous value.
5484 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5486 * src/hildon-touch-selector-entry.c:
5487 (hildon_touch_selector_entry_print_func): Return the selected row's
5488 text if the entry is empty.
5490 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5493 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5497 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-check-button.h
5501 * src/hildon-check-button.c
5502 * examples/hildon-check-button-example.c:
5503 HildonCheckButton is now a new widget. 'toggled' signal added.
5505 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5507 * src/hildon-program-private.h
5508 * src/hildon-program.c (hildon_program_init)
5509 (hildon_program_finalize): Removed unused variables group_leader
5510 and name from HildonProgramPrivate.
5512 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5514 * src/hildon-check-button.c (hildon_check_button_set_active)
5515 (hildon_check_button_get_active, hildon_check_button_new): Use
5516 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5518 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5520 * src/hildon-touch-selector.h
5521 (hildon_touch_selector_set_column_attributes): added deprecation
5522 guard HILDON_DISABLE_DEPRECATED
5523 * src/hildon-time-selector.c
5524 (hildon_time_selector_set_time)
5525 (hildon_time_selector_get_time): Fixed a typo on documentation
5526 * src/hildon-touch-selector.c: update HildonTouchSelector and
5527 HildonTouchSelectorColumn documentation
5528 * src/hildon-touch-selector-entry.c: update "text-column" property
5530 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5531 to be added to the general documentation.
5533 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5535 * examples/hildon-pannable-area-example-4.c,
5537 * examples/hildon-pannable-area-example.c,
5538 (main): Modified the code in order to use the container add, with
5539 viewport treeviews could have problems if they are really big.
5541 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5543 * src/hildon-weekday-picker.c,
5544 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5545 the agreement regarding deprecation in the library.
5547 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5549 * examples/hildon-picker-button-multicolumn-example.c:
5550 (main): Use custom "done" button text.
5552 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5553 (hildon_picker_button_set_property),
5554 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5555 (hildon_picker_button_init),
5556 (+hildon_picker_button_get_done_button_text),
5557 (+hildon_picker_button_set_done_button_text): New methods to customize
5558 the "done" button label in the launched HildonPickerDialog. Also,
5561 * src/hildon-picker-button.h: add the public API.
5563 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5565 * src/hildon-date-selector.h:
5566 * src/hildon-picker-dialog.h:
5567 * src/hildon-time-selector.h:
5568 * src/hildon-touch-selector-column.h:
5569 * src/hildon-touch-selector.h:
5571 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5572 declarations. Fixes gtk-doc warnings.
5574 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-picker-dialog.h
5577 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5578 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5580 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5581 long text is set as label for done button)
5583 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5585 * src/hildon-dialog.c (hildon_dialog_add_button):
5586 Set fixed width to all buttons in the HildonDialog.
5588 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5590 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5592 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5593 Set widget name using class name plus "-finger" or "-thumb".
5595 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5598 'clicked' when the state of the button is manually changed.
5600 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-app-menu.c (hildon_app_menu_realize)
5603 (hildon_app_menu_unrealize, hildon_app_menu_init)
5604 (hildon_app_menu_class_init, item_visibility_changed):
5605 Change the menu layout when the size of the screen changes.
5606 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5607 Show warning only when changing the number of colums using the
5610 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5612 * debian/compat: Set to 5
5613 * debian/control: Update dependencies.
5614 * debian/libhildon1-dbg.install: Remove.
5615 * debian/libhildon1-dev.install: Update according to cdbs paths.
5616 * debian/libhildon1.install: Update according to cdbs paths.
5617 * debian/rules: Switch to cdbs.
5619 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5621 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5622 'item' variable renamed to 'filter'
5624 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5626 * src/hildon-app-menu.c (hildon_app_menu_insert)
5627 (hildon_app_menu_add_filter, remove_item_from_list)
5628 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5629 Don't leak hidden items when the menu is destroyed.
5631 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-app-menu.c (hildon_app_menu_insert)
5634 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5635 (hildon_app_menu_set_columns, item_visibility_changed)
5636 (filter_visibility_changed, hildon_app_menu_repack_filters)
5637 (hildon_app_menu_repack_items):
5638 Repack items and filters separately.
5640 Don't repack all items, change only the ones that are needed to
5643 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5645 * src/Makefile.am: added hildon-touch-selector-column.h
5647 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5649 * src/hildon-touch-selector.c: added the property "text-column" to the
5650 class HildonTouchSelectorColumn, and related get/set functions
5651 (_default_printf_func): updated to use "text-column" property
5652 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5653 "text-column" in his documentation, as this is now included on
5654 HildonTouchSelectorColumn. The get/set_property can still be used,
5655 working as a wrapper to the concrete column "text-column" property
5656 (_text_column_modified): callback added in order to handle the signal
5657 "notify::text-column" of the concrete HildonTouchSelectorColumn
5658 (hildon_touch_selector_entry_get_text_column)
5659 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5660 modified in order to use the HildonTouchSelectorColumn "text-column"
5662 * src/hildon-time-selector.c:
5663 * src/hildon-date-selector.c:
5664 * examples/hildon-touch-selector-example.c
5665 * examples/hildon-touch-selector-multi-cells-example.c
5666 * examples/hildon-picker-button-multicolumn-example.c
5667 Set the right value to "text-column" property on the creation of a new
5668 column using hildon_touch_selector_append_column()
5670 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5672 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-app-menu.c
5675 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5676 updating the layout of the menu, don't create all widgets again,
5677 just repack the items in their new places.
5679 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5681 * src/hildon-time-selector.c
5682 (hildon_time_selector_get_time)
5683 (hildon_time_selector_set_time)
5684 Added documentation of these public methods
5686 * src/hildon-date-button.h
5687 * src/hildon-touch-selector-column.h
5688 * src/hildon-time-button.h
5689 * src/hildon-picker-dialog.h
5690 * src/hildon-time-selector.h
5691 * src/hildon-picker-button.h
5692 * src/hildon-touch-selector.h
5693 * src/hildon-time-picker.h
5694 * src/hildon-date-selector.h
5695 * src/hildon-touch-selector-entry.h
5696 Modified in order to use hildon-widgets code style
5698 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5700 Added deprecated support to the compilation process using
5701 HILDON_DISABLE_DEPRECATED
5703 * configure.ac: Added the --disable-deprecated to the configure
5706 * src/hildon-weekday-picker.c:
5707 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5708 to use the deprecated support. We will update the other deprecated
5709 widgets status in a new patch.
5711 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5713 * configure.ac: Fixed typo with fatal warnings support, the
5714 variable name was not correct
5716 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5718 * src/hildon-app-menu.c
5719 * src/hildon-program.c: Update documentation.
5721 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5723 * configure.ac: Post-release version bump.
5725 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5730 * configure.ac: Pre-release version bump.
5731 * debian/changelog: Updates.
5733 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5735 * NEWS: Update news for previous releases.
5737 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5739 * examples/hildon-touch-selector-multi-cells-example.c:
5740 (create_selector): Update the example to use
5741 hildon_touch_selector_append_column() with a NULL renderer and set
5742 the renderers later.
5743 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5744 passed a NULL renderer. This is documented behavior now.
5746 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5747 This must be used if the developer wants full control on the layout of
5748 the renderers to be added to the column.
5750 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5752 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5754 * src/hildon-touch-selector.c: Documentation fixes.
5756 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5758 * src/hildon-wizard-dialog-private.h: Remove image and box.
5759 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5760 (hildon_wizard_dialog_set_property), (response): Completely remove
5761 image/icon support, and the containers required for the layout.
5763 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5765 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-app-menu.c: Updated documentation.
5769 * src/hildon-stackable-window.c
5770 (hildon_stackable_window_set_main_menu): Unref the old menu after
5771 ref'ing the new one.
5773 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5775 * src/hildon-stackable-window.c
5776 (hildon_stackable_window_set_main_menu): Unref the previous menu
5777 instead of destroying it.
5779 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5780 floating reference and set has_user_ref_count to FALSE to make
5781 HildonAppMenu act like a normal ref-counted widget and not a
5784 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5787 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5789 * src/hildon-touch-selector-column.h: new file
5790 * src/hildon-touch-selector.h
5791 * src/hildon-touch-selector.c
5792 Implemented GtkCellLayout interface, in order to allow to configure
5793 the cell layout on each individual selector column
5794 (hildon_touch_selector_set_column_attributes): marked as deprecated
5795 * examples/hildon-touch-selector-multi-cells-example.c
5796 Example of how to use the GtkCellLayout interface on the selector
5798 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5800 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5802 * src/hildon-app-menu.h
5803 * src/hildon-app-menu.c
5804 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5805 (hildon_app_menu_append, hildon_app_menu_prepend):
5806 New methods to prepend, insert and move items in the menu.
5808 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5810 * src/hildon-wizard-dialog.c:
5812 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5814 (create_title): Update logical IDs and related code.
5815 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5817 * src/hildon-wizard-dialog.h: Note that
5818 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5819 point, as it is not used anymore.
5821 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5823 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5825 * src/hildon-note.c:
5826 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5827 shown. Do not display an icon in confirmation notes nor information
5829 (hildon_note_set_button_text): Update logical ID for cancel button.
5831 Fixes: NB#88850 (Update HildonNote button strings + signals)
5833 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5835 * src/hildon-stackable-window.c
5836 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5838 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-app-menu-private.h
5841 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5842 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5843 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5844 temporary property 'columns' to change the number of columns.
5846 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5848 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5850 * examples/hildon-note-example.c: (on_information_clicked),
5851 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5852 debugging information.
5853 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5855 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5856 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5857 in order to close: this will be handled by the WM from now on.
5859 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5861 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5863 * src/hildon-app-menu-private.h
5864 * src/hildon-app-menu.c
5865 (hildon_app_menu_append, hildon_app_menu_add_filter)
5866 (button_visibility_changed, hildon_app_menu_apply_style)
5867 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5868 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5869 layout everytime a button (item or filter) is shown or hidden.
5871 * src/hildon-stackable-window.c
5872 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5875 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5877 * src/hildon-touch-selector.c:
5878 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5879 that the treeview inside the touch selector is in fremantle hildon mode
5880 * examples/hildon-date-button-example.c
5881 * examples/hildon-picker-button-multicolumn-example.c
5882 * examples/hildon-touch-selector-entry-example.c
5883 * examples/hildon-touch-selector-example.c
5884 * examples/hildon-time-button-example.c
5885 * examples/hildon-picker-button-example.c:
5886 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5888 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5890 * examples/hildon-text-view-example.c: (main): Remove the
5891 gtkrc bits, now handled by the theme.
5893 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5898 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5900 * po/Makefile.am: Install properly the mo files.
5901 * po/en_GB.po: Update translation, to ease testing purposes.
5903 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5905 * examples/hildon-picker-button-example.c: (main): Select an item
5906 in the selector before setting it to the button.
5908 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5911 Update button's value if the selector has an item active.
5913 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5914 'value' with the selector)
5916 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5918 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5919 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5920 (hildon_picker_button_class_init): Plug the finalize method.
5921 (hildon_picker_button_set_selector): If there's a previously set
5922 selector, unref'it before setting a new one.
5924 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5925 HildonTouchSelector)
5927 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5929 * src/hildon-touch-selector-entry.c:
5930 (hildon_touch_selector_entry_changed): Check if there is no text
5931 selected before setting the entry text.
5934 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-touch-selector.h
5937 * src/hildon-touch-selector.c
5938 (hildon_touch_selector_get_active)
5939 (hildon_touch_selector_set_active): New methods to set/get the
5940 index of the selected item.
5942 * src/hildon-picker-button.h
5943 * src/hildon-picker-button.c
5944 (hildon_picker_button_get_active)
5945 (hildon_picker_button_set_active): New methods to set/get the
5946 index of the selected item.
5948 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5950 * configure.ac: post-release version bump.
5952 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5956 * configure.ac: Pre-release version bump.
5957 * debian/changelog: Updates.
5958 * debian/control: Add myself as maintainer and depend on l10n
5961 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-window.c
5964 (hildon_window_set_main_menu)
5965 * src/hildon-stackable-window.c
5966 (hildon_stackable_window_set_main_menu):
5967 Updated documentation.
5969 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5972 Don't free selector->priv manually.
5975 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5978 (hildon_gtk_window_set_progress_indicator):
5979 * src/hildon-gtk.h: Added the new API
5980 hildon_gtk_window_set_progress_indicator, it changes the state of
5981 the window progress hint.
5983 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5985 * src/hildon-button.c
5986 * src/hildon-stackable-window.c: Minor documentation updates.
5988 2008-09-12 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-stackable-window.c: Updated documentation.
5992 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-defines.h: Update margins definitions
5995 to the Fremantle sizes.
5998 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6000 * src/hildon-touch-selector.c,
6001 (_hildon_touch_selector_set_model): Cleaning the code after
6002 review, removed g_print and #if 0 from the code.
6004 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-edit-toolbar.c: Update documentation.
6008 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6010 * src/hildon-check-button.h
6011 * src/hildon-check-button.c
6012 (hildon_check_button_set_label, hildon_check_button_get_label)
6013 * examples/hildon-check-button-example.c
6014 (button_clicked_cb):
6015 Removed deprecated methods.
6017 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-text-view.c:
6020 Add sample code to the documentation.
6022 * src/hildon-entry.h
6023 * src/hildon-text-view.h:
6024 Minor cosmetic changes.
6026 * src/hildon-entry.c:
6027 Add sample code to the documentation.
6028 (hildon_entry_init, hildon_entry_refresh_contents):
6029 Don't allow NULL values in the placeholder.
6031 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6033 * doc/hildon-docs.sgml
6035 * examples/Makefile.am
6036 * examples/hildon-text-view-example.c
6038 * src/hildon-text-view.c
6039 * src/hildon-text-view.h
6041 New HildonTextView widget, with example.
6043 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6045 * po/POTFILES.in: Add missing files with translatable strings.
6046 Partially fixes NB#88287.
6048 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6050 * examples/hildon-pannable-area-example-2.c: (main): No need to
6051 set the cellrenderer height inside hildon touch lists, the theme does
6054 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6056 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6057 they are integrated in the theme.
6059 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6061 * examples/hildon-entry-example.c: Update the example adding
6062 widgets to modify the text and the placeholder of the HildonEntry.
6064 * src/hildon-entry.c: Show the placeholder everytime the widget
6065 is empty and loses the focus.
6067 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6069 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6071 * src/hildon-pannable-area.c,
6072 (hildon_pannable_area_size_request): Fixed bug in height
6073 requisition, avoid increasing size and add border twice.
6075 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6077 * configure.ac: postrelease version bump.
6079 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6083 * configure.ac: Prerelease version bump.
6084 * debian/changelog: update.
6085 * debian/rules: make -dbg package contain useful debugging symbols.
6087 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6089 * src/hildon-dialog.h
6090 * src/hildon-dialog.c
6091 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6092 New methods to add buttons with finger size.
6093 (hildon_dialog_new_with_buttons):
6094 Create buttons with finger size.
6096 * examples/hildon-dialog-example.c (main): Use HildonDialog
6097 methods to add buttons.
6099 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6101 * src/hildon-entry.c: Updated HildonButton documentation.
6103 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6105 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6106 button value label with (FALSE, FALSE) to prevent NB#88126 from
6109 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6111 * examples/hildon-pannable-area-example.c,
6112 (main): Removed examples panning a vbox inside a pannable
6113 area. Check bug NB#87965
6115 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6117 Patch contributed by Kris Rietveld (kris@imendio.com)
6119 * src/hildon-pannable-area.c,
6120 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6121 get_size and get_position, this saves an X server roundtrip.
6123 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6125 * doc/hildon-docs.sgml
6127 * examples/Makefile.am
6128 * examples/hildon-entry-example.c
6130 * src/hildon-entry.c
6131 * src/hildon-entry.h
6133 New HildonEntry widget, with example.
6135 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6137 * src/hildon-button.c (hildon_button_construct_child): Pack the
6138 image with expand == fill == FALSE. This is a workaround for a bug
6141 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6143 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6144 labels for the text column, to make it more look more dynamic.
6146 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6148 * src/hildon-time-selector.c
6149 Define gettext auxiliar macro N_
6150 (_create_minutes_model)
6151 (_create_hours_model)
6152 (_create_ampm_model): use of strftime in order to fill the model
6153 * src/hildon-date-selector.c
6154 (hildon_date_selector_finalize):
6155 (_locales_init): remove the logic related to get the name of the months
6156 using nl_langinfo, as it is not required anymore
6158 (_create_year_model)
6159 (_create_month_model)
6160 (_update_day_model): use of strftime in order to fill the model properly
6163 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6165 * src/hildon-button.h
6166 * src/hildon-button.c (hildon_button_get_image): New method to
6169 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6171 * src/hildon-touch-selector.c:
6172 (hildon_touch_selector_remove_column): Remove from the correct parent
6173 and also remove the list element and free it.
6176 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6178 * src/hildon-time-selector.c
6179 (_create_hours_model): change the range on 12h ampm format in order to use
6180 a 12-11 range instead of previous 01-12 range
6181 (hildon_time_selector_set_time): change the way to select the current time
6182 on 12h ampm format, due the change on the range
6183 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6186 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6188 * src/hildon-touch-selector.c
6189 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6190 in order to allow use this function on multiple row selection mode if
6191 the column is different that the first one
6194 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6196 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6197 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6199 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6201 * src/hildon-date-selector.h: clean some comments, now on the .c
6202 * src/hildon-date-selector.c
6203 (hildon_date_selector_select_month): first implementation
6204 (hildon_date_selector_select_day): added documentation, reimplemented
6205 using hildon_date_selector_select_current_date to avoid repeat code
6208 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6210 Reviewed interaction logic based on device experiences, refactored
6213 * src/hildon-pannable-area.c,
6214 (hildon_pannable_area_class_init): Updated default vmax speed.
6215 (hildon_pannable_area_calculate_velocity): Added this function, it
6216 avoids duplicate valocity calculation. Adjusted calculation to
6217 avoid problems with zero dist events.
6219 (hildon_pannable_area_motion_notify_cb): Now we use the
6220 calculate_velocity function.
6222 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6224 * src/hildon-date-selector.c
6225 (hildon_date_selector_select_current_date): fix the day range check
6226 as it failed using the last day of the current month
6229 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6231 * src/hildon-touch-selector.c
6232 (hildon_touch_selector_get_num_columns): added a parameter validation
6235 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6237 * examples/Makefile.am
6238 * examples/hildon-edit-toolbar-example.c: Example of the
6239 HildonEditToolbar widget.
6241 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6243 * configure.ac: postrelease version bump.
6245 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6249 * configure.ac: prerelease version bump.
6250 * debian/changelog: update.
6252 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6254 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6255 renderer to display stock icons in the touch list. Also, set the sizes
6256 to the recommended in the style guide.
6258 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6259 * src/hildon-touch-selector.h
6260 (hildon_touch_selector_set_active_iter): renamed, now is
6261 hildon_touch_selector_select_iter
6262 (hildon_touch_selector_get_active_iter): renamed, now is
6263 hildon_touch_selector_get_selected
6264 (hildon_touch_selector_unselect_iter): added
6265 * src/hildon-touch-selector.c
6266 Update after API modification (methods renamed)
6267 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6268 order to avoid problems selecting multiple elements on the column
6269 (hildon_touch_selector_unselect_iter): added the implementation
6270 * src/hildon-time-selector.c
6271 * src/hildon-date-selector.c
6272 * src/hildon-touch-selector-entry.c
6273 Update methods calls after hildon-touch-selector.h API modification (methods
6276 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6278 * src/hildon-stackable-window.c
6279 (hildon_stackable_window_finalize): Call the parent class's finalize.
6281 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6283 * examples/hildon-touch-selector-example.c: (create_selector): Use
6284 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6287 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6289 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6290 set a cell background color, to respect theming.
6292 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6294 * doc/hildon-docs.sgml
6297 * src/hildon-edit-toolbar.c
6298 * src/hildon-edit-toolbar.h
6299 * src/hildon.h: New HildonEditToolbar widget.
6301 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6303 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6306 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6307 * src/hildon-touch-selector.c
6308 (_create_new_column): use g_object_set instead of two g_object_set_property
6310 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6311 * src/hildon-touch-selector.c
6312 (_create_new_column): use of hildon_gtk_tree_view_new to create
6313 the treeview, instead of use directly g_object_new
6314 (_create_new_column): update the property name "vindicator-mode" for the
6315 new one "vscrollbar-policy"
6316 * examples/hildon-date-button-example.c
6317 * examples/hildon-picker-button-multicolumn-example.c
6318 * examples/hildon-touch-selector-entry-example.c
6319 * examples/hildon-touch-selector-example.c
6320 * examples/hildon-time-button-example.c
6321 * examples/hildon-picker-button-example.c
6322 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6323 to all the treeviews inside a pannable area.
6325 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-button.h
6328 * src/hildon-button.c (hildon_button_init)
6329 (hildon_button_set_arrangement, hildon_button_set_alignment)
6330 (hildon_button_set_title_alignment)
6331 (hildon_button_set_value_alignment)
6332 (hildon_button_set_image_alignment)
6333 (hildon_button_construct_child): New methods to set the alignment
6334 of the individual components of the button (title, value,
6335 image). Also, new method to alter the xscale and yscale properties
6336 of the GtkAlignment inside the button, so more complex layouts can
6339 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-button.c (hildon_button_style_set)
6342 (hildon_button_class_init, hildon_button_set_arrangement)
6343 (hildon_button_construct_child): Apply style properties
6344 correctly. Use the 'image-spacing' style property too.
6346 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6348 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6349 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6352 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6354 * src/hildon-pannable-area.c,
6355 (hildon_pannable_area_size_request): Fixed problem with
6356 pannable-area size_request.
6358 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6360 Added management for the grab-focus to a child widget, like a
6361 range, we need to fade out the scrollbar when releasing.
6363 * src/hildon-pannable-area.c,
6364 (hildon_pannable_area_init): Connected the grab-focus signal to
6366 (hildon_pannable_area_grab_notify): Added this function in order
6367 to manage the situation when the grab-focus ends. We have to
6368 fade-out the scrollbar.
6370 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6372 * src/hildon-app-menu.c: Minor documentation update.
6374 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6376 * src/hildon-app-menu.c
6377 * examples/hildon-app-menu-example.c (create_menu): Update
6378 examples and documentation to explain how to connect callbacks.
6380 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6382 * examples/hildon-button-example.c
6383 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6384 hildon_stackable_window_new instead of gtk_window_new
6386 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6388 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6389 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6390 (hildon_pannable_area_set_property),
6391 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6392 (hildon_pannable_area_unrealize),
6393 (hildon_pannable_area_size_request),
6394 (hildon_pannable_area_size_allocate),
6395 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6396 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6397 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6398 (hildon_pannable_area_initial_effect),
6399 (hildon_pannable_area_redraw),
6400 (hildon_pannable_area_scroll_indicator_fade),
6401 (hildon_pannable_area_expose_event),
6402 (hildon_pannable_area_get_topmost), (synth_crossing),
6403 (hildon_pannable_area_button_press_cb),
6404 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6405 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6406 (hildon_pannable_area_motion_notify_cb),
6407 (hildon_pannable_area_button_release_cb),
6408 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6409 (hildon_pannable_area_remove),
6410 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6411 chage the code layout to a more GtkWidget like. Review the use of
6414 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6416 * examples/hildon-pannable-area-example-4.c,
6417 (main): Modified the name of the hindicator_mode to
6420 * src/hildon-pannable-area.c,
6421 (hildon_pannable_area_class_init),
6422 (hildon_pannable_area_motion_notify_cb),
6423 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6424 we have reduced the amount of signals and managed reviewed its
6425 rationale. Changed the default decelerate value.
6427 (hildon_pannable_area_add),
6428 (hildon_pannable_area_redraw): Refactored functions.
6430 (hildon_pannable_area_init),
6431 (hildon_pannable_area_get_property),
6432 (hildon_pannable_area_set_property):
6433 (hildon_pannable_draw_vscroll),
6434 (hildon_pannable_draw_hscroll),
6435 (hildon_pannable_area_initial_effect),
6436 (hildon_pannable_area_expose_event),
6437 (hildon_pannable_area_scroll),
6438 (hildon_pannable_area_button_press_cb),
6439 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6440 and vindicator_mode with hscrollbar_policy and
6441 vscrollbar_policy. Replaced hscroll and vscroll with
6442 hscroll_visible and vscroll_visible.
6444 (hildon_pannable_area_refresh): Refactor the function, remove
6445 variables and check the calls to this function, added resize
6446 conditions in case the children change their layout.
6448 (hildon_pannable_area_size_request): Added more detailed
6449 size_request calculation.
6452 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6454 * src/hildon-color-chooser.c
6455 (init_borders): use the correct gtk_border_free instead of g_free, to
6456 avoid a crash when this widget is used (ie: the three color selection
6459 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6461 * src/hildon-check-button.c,
6462 (hildon_check_button_set_active): Fixed problem when setting the
6463 active value, the widget was not redrawn.
6465 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6467 * src/hildon-pannable-area.c,
6468 (hildon_pannable_area_refresh),
6469 (hildon_pannable_area_scroll),
6470 (hildon_pannable_area_motion_notify_cb): Small code style change.
6472 (hildon_pannable_area_class_init): Default initial_hint set to
6473 FALSE, it is not in the specs.
6475 (hildon_pannable_area_initial_effect),
6476 (hildon_pannable_area_expose_event),
6477 (hildon_pannable_area_map),
6478 (hildon_pannable_area_init): Moved the launching point of the
6479 initial effect, it was in map but the sizes where not correct in
6480 that method so we do not know if we have the reproduce it. Now it
6481 is placed in the expose_event method and uses a variable to
6482 reproduce it just once.
6484 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6486 * src/hildon-pannable-area.c,
6487 (hildon_pannable_draw_vscroll),
6488 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6489 position allowed for the scrollbars.
6491 (hildon_pannable_area_size_allocate): Small style change.
6493 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6495 * src/hildon-pannable-area.c,
6496 (hildon_pannable_area_scroll_indicator_fade),
6497 (hildon_pannable_area_button_press_cb),
6498 (hildon_pannable_area_button_release_cb),
6499 (hildon_pannable_area_scroll_cb),
6500 (hildon_pannable_area_expose_event),
6501 (hildon_pannable_area_init): Added the define parameter
6502 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6503 and refactor the fade variable.
6505 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6507 * src/hildon-pannable-area.c,
6508 (hildon_pannable_area_redraw),
6509 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6510 lines, we were reimplemeting the redraw code.
6512 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6514 * src/hildon-pannable-area.c,
6515 (hildon_pannable_area_scroll_cb),
6516 (hildon_pannable_area_realize),
6517 (hildon_pannable_area_class_init): Added scroll_event management
6518 for pannable area, now we can scroll the usual desktop method.
6520 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6521 initialization of the parameters should depend on idle_id.
6523 (hildon_pannable_area_init),
6524 (hildon_pannable_area_map): Small code style modifications
6526 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6528 * src/hildon-pannable-area.c
6529 (hildon_pannable_area_button_press_cb),
6530 (hildon_pannable_area_motion_notify_cb),
6531 (hildon_pannable_area_button_release_cb),
6532 (hildon_pannable_area_size_allocate),
6533 (hildon_pannable_area_scroll_to): Improved the timeouts
6534 management, we avoid creating them each time.
6536 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6538 * src/hildon-pannable-area.c:
6539 (hildon_pannable_area_refresh),
6540 (hildon_pannable_area_motion_notify_cb),
6541 (hildon_pannable_area_class_init):
6542 * src/hildon-pannable-area.h:
6543 * src/hildon-touch-selector.c
6544 (_create_new_column):
6545 * examples/hildon-pannable-area-example-4.c:
6546 (horizontal_movement),
6547 (vertical_movement),
6549 Replaced the names of enums in the HildonPannableArea:
6550 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6551 HILDON_MOVEMENT_MODE_*
6552 - HILDON_PANNABLE_AREA_MOV_* ->
6554 - Removed HildonPannableAreaIndicatorMode, now we
6557 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6559 * examples/hildon-pannable-area-touch-grid-example.c
6560 * examples/hildon-pannable-area-touch-list-example.c: Fix
6561 compilation warnings.
6563 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-gtk.c (hildon_gtk_button_new)
6566 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6567 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6568 images overriding the value of the "gtk-button-images" setting.
6570 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6572 * src/hildon-check-button.c (hildon_check_button_new):
6573 Instead of using a custom container, display the label and the
6574 checkbox using the standard GtkButton API.
6576 * examples/hildon-check-button-example.c (main): Don't use
6577 hildon_check_button_set_label() anymore
6579 * src/hildon-check-button.h
6580 * src/hildon-check-button.c
6581 (hildon_check_button_set_label, hildon_check_button_get_label):
6582 Set as deprecated, now we're using gtk_button_{get,set}_label()
6584 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6586 * src/hildon-pannable-area.c,
6587 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6588 GtkTreeview first line we detected it after the inclusion of the
6589 GtkWindowImpl in gtk+. We now check if the window is visible, not
6590 just if the pointer is over the window.
6591 (hildon_pannable_axis_scroll),
6592 (hildon_pannable_area_expose_event): Small style changes.
6594 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6596 * src/hildon-button.c: Update documentation.
6598 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6600 * examples/hildon-button-example.c: Add a switch to show images in
6603 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6605 * doc/hildon-docs.sgml: Some docs reorganization.
6607 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6609 * examples/hildon-pannable-area-touch-list-example.c
6611 * examples/hildon-pannable-area-touch-grid-example.c
6612 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6613 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6614 Fix memory leak when setting the tree model.
6616 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6620 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6622 * doc/hildon.types: Remove duplicated hildon_window_get_type
6623 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6624 documentation comment.
6626 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6628 * doc/Makefile.am: Complete list of private headers.
6630 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6632 * doc/hildon-docs.sgml
6633 * src/hildon-app-menu.c
6634 * src/hildon-bread-crumb.c
6635 * src/hildon-button.c
6637 * src/hildon-program.c
6638 * src/hildon-stackable-window.c
6639 * src/hildon-window.c: Lots of documentation updates.
6641 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6643 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6645 * configure.ac: Require Gtk+ 2.12.9 at least
6647 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6649 * src/hildon-pannable-area.c
6650 (hildon_pannable_area_scroll_indicator_fade),
6651 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6652 to protect the return of this timeout callbacks, avoiding deadlocks.
6654 2008-08-12 Christian Dywan <christian@imendio.com>
6657 * src/hildon-*.h: Ensure a consistent include order,
6658 include <gtk/gtk.h> instead of particular files and
6659 only include the topmost header in the gtk stack. See NB #39857
6661 2008-08-12 Christian Dywan <christian@imendio.com>
6663 * src/hildon-picker-dialog.c
6664 * src/hildon-touch-selector.c: Fix warnings about unused and
6665 uninitialized variables.
6667 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6669 * examples/Makefile.am
6670 * examples/hildon-check-button-example.c: Example of the hildon
6673 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6675 * src/hildon-window.h
6676 * src/hildon-window.c (hildon_window_class_init)
6677 (hildon_window_unset_program): Don't make
6678 hildon_window_unset_program a virtual function anymore.
6680 * src/hildon-stackable-window.c: Update documentation
6682 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6685 * doc/hildon-docs.sgml
6686 * doc/visual_index.xml
6687 * src/hildon-defines.c
6689 * src/hildon-helper.c
6690 * src/hildon-range-editor.c: Lots of documentation fixes.
6692 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6694 * examples/hildon-picker-button-multicolumn-example.c
6695 (create_touch_selector): Fix compilation warning.
6697 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6699 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6700 (hildon_pannable_area_button_release_cb)
6701 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6705 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6708 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6710 * src/hildon-bread-crumb-trail.h
6711 * src/hildon-date-editor.c
6712 * src/hildon-date-selector.c
6713 * src/hildon-pannable-area.c
6714 * src/hildon-picker-dialog.c
6715 * src/hildon-time-selector.c
6716 * src/hildon-touch-selector-entry.c
6717 * src/hildon-touch-selector.c
6718 * src/hildon-touch-selector.h: Misc documentation fixes
6720 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6722 * examples/hildon-date-editor-example.c (main): Updated date
6725 * examples/hildon-note-example.c (on_confirmation_clicked):
6726 Updated confirmation note example.
6728 * src/hildon-date-editor.c
6729 * src/hildon-note.c: Updated sample programs in documentation.
6732 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6734 * src/hildon-date-button.h:
6735 * src/hildon-picker-button.h:
6736 * src/hildon-time-button.c:
6737 * src/hildon-time-button.h:
6739 Some declarations changes to allow gtk-doc to document the widgets
6742 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6744 * src/hildon-date-button.c: Document the widget.
6745 * src/hildon-time-button.c: Document the widget.
6747 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6749 * src/hildon-picker-button.c: Document the widget.
6750 * src/hildon-touch-selector-entry.c: Document the widget.
6752 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6754 * doc/hildon-docs.sgml
6757 * src/hildon-check-button.h
6758 * src/hildon-check-button.c: New functions to create the Hildon
6762 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6764 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6766 * src/hildon-button.h
6767 * src/hildon-button.c
6768 (hildon_button_add_title_size_group)
6769 (hildon_button_add_value_size_group)
6770 (hildon_button_add_image_size_group)
6771 (hildon_button_add_size_groups): New functions to set size groups
6772 for the button labels and image.
6773 (hildon_button_new_full): Removed
6775 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6777 * src/hildon-time-selector.c
6778 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6779 in order to avoid a crash if gconf is not available
6781 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6783 * src/hildon-button.c (hildon_button_set_arrangement)
6784 (hildon_button_construct_child): Don't construct the button child
6785 before setting the arrangement.
6787 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6789 * src/hildon-program-private.h
6790 * src/hildon-program.c
6791 * src/hildon-program.h
6792 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6793 (hildon_program_peek_window_stack)
6794 (hildon_program_pop_window_stack)
6795 (hildon_program_go_to_root_window): HildonProgram now has a
6796 separate list for stackable windows. Functions are provided to
6797 manage that list with a stack-like API.
6799 * src/hildon-stackable-window.c: Stackable window management is
6800 now much simpler with the new HildonProgram API. Windows no
6801 longer need to be manually added to the program, they're
6802 automatically pushed to the top of the stack when shown.
6804 * examples/hildon-stackable-window-example.c: Updated example to
6805 reflect the API changes.
6807 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6809 * src/hildon-touch-selector.c: Comment out unimplemented
6810 hildon_touch_selector_insert_column() to avoid a compile warning.
6812 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6814 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6815 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6816 (hildon_touch_selector_set_column_selection_mode),
6817 (_hildon_touch_selector_set_model),
6818 (hildon_touch_selector_set_model):
6820 Complete review of HildonTouchSelector documentation.
6822 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6824 * doc/hildon-docs.sgml
6828 * src/hildon-gtk.c: Convenience functions for standard Gtk
6829 widgets, used to easily perform frequent operations.
6831 * src/hildon-button-helpers.h
6832 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6834 * src/hildon-helper.h
6835 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6836 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6838 * src/hildon-button.h
6839 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6841 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6843 * src/hildon-button.c (hildon_button_init)
6844 (hildon_button_set_arrangement, hildon_button_construct_child):
6845 Pack the image and the labels inside the same GtkAlignment so
6846 gtk_button_set_alignment() can be used
6848 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6850 * src/hildon-button.h
6851 * src/hildon-button.c
6852 (hildon_button_init, hildon_button_set_image)
6853 (hildon_button_set_image_position)
6854 (hildon_button_construct_child): New functions to add an image to
6857 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6859 * src/hildon-date-button.c
6860 * src/hildon-picker-button.c
6861 * src/hildon-time-button.c
6862 * src/hildon-button.c:
6863 (hildon_button_class_init): "size-flags" renamed to "size"
6864 (hildon_button_set_title): Hide the title label if set to NULL.
6866 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6868 HildonButtonFlags split into HildonButtonArrangement (to set the
6869 button layout) and HildonSizeType (which can be used for any
6872 * src/hildon-button.h
6873 * src/hildon-button.c
6874 (hildon_button_class_init)
6875 (hildon_button_set_arrangement)
6876 (hildon_button_set_property): New "size-flags"
6877 property. "arrangement-flags" renamed to "arrangement".
6878 (hildon_button_new, hildon_button_new_with_text)
6879 (hildon_button_new_full): Constructors updated to reflect type changes.
6881 * src/hildon-helper.h
6882 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6883 to set the size of a widget.
6887 * src/hildon-button-helpers.c
6888 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6890 * src/hildon-date-button.c
6891 * src/hildon-date-button.h
6892 * src/hildon-picker-button.c
6893 * src/hildon-picker-button.h
6894 * src/hildon-time-button.c
6895 * src/hildon-time-button.h: Updated widgets to reflect
6896 HildonButton API changes.
6898 * examples/hildon-button-example.c
6899 * examples/hildon-date-button-example.c
6900 * examples/hildon-picker-button-example.c
6901 * examples/hildon-picker-button-multicolumn-example.c
6902 * examples/hildon-time-button-example.c
6903 * examples/hildon-touch-selector-entry-example.c
6904 * examples/hildon-touch-selector-example.c: Updated examples to
6905 reflect HildonButton API changes.
6907 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6909 * doc/hildon-docs.sgml:
6911 * examples/Makefile.am:
6912 * examples/hildon-touch-selector-entry-example.c:
6914 * src/hildon-touch-selector-entry.c:
6915 * src/hildon-touch-selector-entry.h:
6918 Moved HildonTouchSelectorEntry from sandbox. Added its
6919 documentation and examples.
6921 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6923 * src/hildon-touch-selector.h:
6924 * examples/hildon-picker-button-multicolumn-example.c:
6925 (hildon_touch_selector_append_text_column): Add a gboolean
6926 parameter to determine if text must be centered in the column.
6928 * src/hildon-date-selector.c: (hildon_date_selector_init):
6929 * src/hildon-time-selector.c: (hildon_time_selector_init):
6930 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6931 (create_touch_selector): Update widgets and example to reflect
6934 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6936 * src/hildon-touch-selector.c:
6937 (hildon_touch_selector_set_active_iter): Set also the cursor in
6940 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6942 * doc/hildon-docs.sgml
6945 * src/hildon-toggle-button.c
6946 * src/hildon-toggle-button.h
6947 * src/hildon.h: Removed HildonToggleButton widget, a derived
6948 class is not necessary for this.
6950 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6952 * src/hildon-pannable-area.c,
6953 (hildon_pannable_area_realize),
6954 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6957 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6959 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6960 "done" button the default widget for the dialog.
6962 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6964 * src/hildon-touch-selector.c:
6965 (hildon_touch_selector_class_init),
6966 (hildon_touch_selector_get_property),
6967 (_hildon_touch_selector_set_model),
6968 (_hildon_touch_selector_has_multiple_selection),
6969 (hildon_touch_selector_has_multiple_selection):
6970 Add a "has-multiple-selection" property with a virtual
6971 has_multiple_selection() method to allow derived classes to
6972 override the default value for it. See the method and property
6973 documentation for details.
6975 * src/hildon-touch-selector.h: Add the new API.
6977 * src/hildon-picker-dialog.c: (requires_done_button): Call
6978 hildon_touch_selector_has_multiple_selection() instead of
6979 determining the need for a button itself.
6981 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6983 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6984 (_hildon_touch_selector_set_model),
6985 (hildon_touch_selector_set_model): Move working code to
6986 _hildon_touch_selector_set_mode(). Call the class method instead.
6988 * src/hildon-touch-selector.h: Add (*set_model) to
6989 HildonTouchSelectorClass.
6991 Make hildon_touch_selector_set_model() a virtual method, so that
6992 derived classes can extend it and do fancy stuff with the model.
6994 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6996 * configure.ac: Set back the tarname in AC_INIT to hildon.
6998 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7002 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7003 instead of libesd (NB#86876). Volume handling is still an open issue.
7005 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7008 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7010 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7011 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7012 derived class to ease placement of an entry widget in
7013 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7014 end, where the selector columns are packed now.
7016 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7018 * src/hildon-picker-button.c: Removed the simple _text() API.
7019 * src/hildon-picker-button.h: Likewise.
7021 * src/hildon-touch-selector.h:
7022 * src/hildon-touch-selector.c:
7023 (hildon_touch_selector_new_text),
7024 (hildon_touch_selector_append_text),
7025 (hildon_touch_selector_prepend_text),
7026 (hildon_touch_selector_insert_text):
7028 Moved the simple _text() API from HildonPickerButton to
7029 HildonTouchPicker, to provide better escalability and not to tie
7030 that API to HildonPickerButton.
7032 * examples/hildon-picker-button-example.c: (main): Example updated.
7034 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7036 * src/hildon-button.c: Updated documentation.
7038 * examples/hildon-button-example.c: Add the posibility to create
7039 the buttons using horizontal layout for title and value.
7041 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7043 * src/hildon-app-menu-private.h
7044 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7045 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7046 GtkSizeGroup for the filters, use the 'homogeneous' property of
7049 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7051 * examples/hildon-button-example.c: Updated example.
7053 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7055 * doc/hildon-docs.sgml:
7058 Update documentation.
7060 * examples/Makefile.am: Update renamed examples.
7062 * examples/hildon-picker-button-multicolumn-example.c:
7063 (create_touch_selector), (main): Update after the rename.
7065 * examples/hildon-touch-picker-example.c: Removed.
7066 * examples/hildon-touch-selector-example.c: (value_changed),
7067 (create_selector), (get_visible_content), (main): Renamed from
7068 hildon-touch-picker-example.c
7070 * src/Makefile.am: Updated renamed files.
7072 * src/hildon-date-button.c: (hildon_date_button_init),
7073 (hildon_date_button_get_date), (hildon_date_button_set_date):
7074 * src/hildon-date-selector.c: (hildon_date_selector_init),
7075 (_custom_print_func), (_update_day_model),
7076 (_manage_selector_change_cb),
7077 (hildon_date_selector_select_current_date),
7078 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7079 * src/hildon-date-selector.h:
7080 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7081 (hildon_picker_button_set_property),
7082 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7083 (hildon_picker_button_init), (hildon_picker_button_new_text),
7084 (hildon_picker_button_append_text),
7085 (hildon_picker_button_prepend_text),
7086 (hildon_picker_button_insert_text),
7087 (hildon_picker_button_set_selector),
7088 (hildon_picker_button_get_selector):
7089 * src/hildon-picker-button.h:
7090 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7091 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7092 (_update_title_on_selector_changed_cb), (requires_done_button),
7093 (_hildon_picker_dialog_set_selector),
7094 (hildon_picker_dialog_set_selector),
7095 (hildon_picker_dialog_get_selector):
7096 * src/hildon-picker-dialog.h:
7097 * src/hildon-time-button.c: (hildon_time_button_init),
7098 (hildon_time_button_get_time), (hildon_time_button_set_time):
7099 * src/hildon-time-selector.c: (hildon_time_selector_init),
7100 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7101 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7102 * src/hildon-time-selector.h:
7105 Massive code updates after the rename.
7107 * src/hildon-touch-picker.c: Removed.
7108 * src/hildon-touch-picker.h: Removed.
7110 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7111 (hildon_touch_selector_init), (hildon_touch_selector_map),
7112 (hildon_touch_selector_remove), (_default_print_func),
7113 (_selection_changed_cb), (_create_new_column),
7114 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7115 (hildon_touch_selector_append_text_column),
7116 (hildon_touch_selector_remove_column),
7117 (hildon_touch_selector_set_column_attributes),
7118 (hildon_touch_selector_insert_column),
7119 (hildon_touch_selector_get_num_columns),
7120 (hildon_touch_selector_get_column_selection_mode),
7121 (hildon_touch_selector_set_column_selection_mode),
7122 (hildon_touch_selector_set_print_func),
7123 (hildon_touch_selector_get_print_func),
7124 (hildon_touch_selector_get_active_iter),
7125 (hildon_touch_selector_set_active_iter),
7126 (hildon_touch_selector_get_selected_rows),
7127 (hildon_touch_selector_get_model),
7128 (hildon_touch_selector_set_model),
7129 (hildon_touch_selector_get_current_text),
7130 (_hildon_touch_selector_center_on_selected_items):
7131 * src/hildon-touch-selector.h: Renamed from
7132 hildon-touch-picker.[ch]
7134 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7135 references, code examples, and related documentation.
7137 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7139 * doc/hildon-docs.sgml
7142 * src/hildon-toggle-button.c
7143 * src/hildon-toggle-button.h
7144 * src/hildon.h: New HildonToggleButton widget.
7146 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7148 * src/hildon-button.c: Add API documentation.
7149 (hildon_button_set_size_groups): Check input parameters
7151 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7153 * src/hildon-pannable-area.c
7154 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7155 effect after reaching the movement thredshold. This way we start
7156 using the distance after passing the thredshold.
7158 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7160 * src/hildon-button.c: (hildon_button_set_property): Use the
7161 appropriate g_value_get_flags() method.
7163 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7165 * doc/hildon-docs.sgml:
7168 Add the touch pickers, picker dialogs, and picker button widgets
7169 to the documentation.
7171 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7173 * src/hildon-button.c: (hildon_button_set_property),
7174 (hildon_button_class_init): Make "arrangement-flags" a proper
7175 G_TYPE_FLAGS derived property.
7177 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7179 * examples/Makefile.am: Add below examples.
7180 * examples/hildon-date-button-example.c:
7181 * examples/hildon-picker-button-example.c:
7182 * examples/hildon-picker-button-multicolumn-example.c:
7183 * examples/hildon-time-button-example.c:
7184 * examples/hildon-touch-picker-example.c:
7186 Add examples for the recently added touch pickers,
7187 picker dialogs, and picker button widgets.
7189 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7191 * src/hildon-button.c: Add some API documentation
7193 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7195 * src/hildon-button.h
7196 * src/hildon-button.c
7198 (hildon_button_new_with_text): New constructor to create a button
7199 with no text at all.
7200 (hildon_button_init, hildon_button_set_arrangement)
7201 (hildon_button_set_title, hildon_button_set_value)
7202 (hildon_button_set_text)
7203 (hildon_button_construct_child): Hide the value when it's not used
7204 so the rest of the text is properly aligned.
7205 Allow creating buttons with arbitrary widgets inside (not just
7206 title/value labels).
7208 * examples/hildon-button-example.c (vertical_buttons_window)
7209 (horizontal_buttons_window): Update example to use new API.
7211 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/Makefile.am: Added HildonTimeButton.
7214 * src/hildon-time-button.c: Added missing LGPL header.
7215 * src/hildon-time-button.h: Added missing LGPL header.
7216 * src/hildon.h: Add hildon-time-button.h
7218 Copied HildonTimeButton from sandbox to trunk. Future work on this
7219 widget must take place in trunk.
7221 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7223 * src/Makefile.am: Added HildonDateButton.
7224 * src/hildon-date-button.c: Update includes.
7225 * src/hildon.h: Add hildon-date-button.h
7227 Copied HildonDateButton from sandbox to trunk. Future work on this
7228 widget must take place in trunk.
7230 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7232 * src/Makefile.am: Added HildonPickerButton.
7233 * src/hildon-picker-button.h: Update includes.
7234 * src/hildon.h: Add hildon-picker-button.h
7236 Copied HildonPickerButton from sandbox to trunk. Future work on
7237 this widget must take place in trunk.
7239 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7241 * src/Makefile.am: Added HildonPickerDialog.
7242 * src/hildon-picker-dialog.c: Update includes.
7243 * src/hildon.h: Add hildon-picker-dialog.h
7245 Copied HildonPickerDialog from sandbox to trunk. Future work
7246 on this widget must take place in trunk.
7248 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7250 * src/Makefile.am: Added HildonTimeSelector.
7251 * src/hildon.h: Add hildon-time-selector.h
7253 Copied HildonTimeSelector widget from sandbox to trunk. Future
7254 work on this widget must happen in trunk.
7256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7258 * src/Makefile.am: Added HildonDateSelector.
7259 * src/hildon.h: Add hildon-date-selector.h
7261 Copied HildonDateSelector widget from sandbox to trunk. Future
7262 work on this widget must happen in trunk.
7264 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7266 * src/Makefile.am: Added HildonTouchPicker.
7267 * src/hildon-touch-picker.c: Update includes.
7268 * src/hildon.h: Add hildon-touch-picker.h
7270 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7271 on this widget must happen in trunk.
7273 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7275 * src/hildon-pannable-area.c:
7276 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7278 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7280 * examples/hildon-app-menu-example.c (main): Let the window
7283 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7285 * src/hildon-pannable-area.c
7286 (hildon_pannable_area_class_init): Set the min value of the
7287 overshoot properties to zero, which points out that not
7288 overshooting allowed.
7290 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7292 Modified the procedure to get the widget at a point inside the
7293 pannable area when using the movement type signals. Now the user
7294 has to call a function to get the child, that way we just
7295 calculate the child in case the user really want to use it and not
7298 * src/hildon-marshalers.list: Modified the marshallers, now we do
7299 not have the widget as a parameter.
7301 * src/hildon-pannable-area.c
7302 (hildon_pannable_area_motion_notify_cb),
7303 (hildon_pannable_area_class_init),
7304 (hildon_pannable_get_child_widget_at): Removed the widget
7305 parameter from the signal callback. We have also refactored the
7306 emission of the signals.
7308 * src/hildon-pannable-area.h: Added a new method to the API to
7309 calculate a widget at a point inside the pannable area,
7310 hildon_pannable_get_child_widget_at.
7312 * examples/hildon-pannable-area-example-4.c
7313 (horizontal_movement): Modified the example to use the new API,
7314 added condition to control which widget is under the event. This
7315 way we can avoid scrolling laterally over other widgets.
7317 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7319 * src/hildon-pannable-area.c
7320 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7321 modes, we stop getting the pointer events due to returning the
7322 callback without properly calling the get pointer again. Fixed
7323 also an error using the hscroll and vscroll.
7325 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7327 * src/hildon-app-menu-private.h
7328 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7329 (hildon_app_menu_button_release, hildon_app_menu_init)
7330 (hildon_app_menu_class_init): Don't hide the menu on button
7331 release if the user didn't press outside first.
7333 * src/hildon-window.h
7334 * src/hildon-window.c (hildon_window_toggle_menu)
7335 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7336 hildon_window_toggle_menu a virtual function for the stackable
7337 window to override it.
7339 * src/hildon-stackable-window.h
7340 * src/hildon-stackable-window-private.h
7341 * src/hildon-stackable-window.c
7342 (hildon_stackable_window_realize)
7343 (hildon_stackable_window_finalize)
7344 (hildon_stackable_window_class_init)
7345 (hildon_stackable_window_init)
7346 (hildon_stackable_window_set_main_menu): New function to set the
7347 app menu of a HildonStackableWindow.
7349 * examples/hildon-app-menu-example.c: Remove the button to show
7350 the app menu, now it'll be shown when clicking on the title bar
7353 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7355 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7356 set the widget name if the arrangement flags do not specify
7359 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7361 * src/hildon-button.c: (hildon_button_set_property),
7362 (hildon_button_class_init), (hildon_button_new_full),
7363 (hildon_button_set_arrangement): Added "arrangement-flags"
7366 Make the HildonButtonFlags a construction-only property, to allow
7367 subclasses to set them properly.
7369 2008-07-21 Tim Janik <timj@imendio.com>
7371 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7372 insertion position after backspace, so additional digits are appended,
7375 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7377 * src/hildon-pannable-area.c,
7378 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7379 TODO list, it was complete and removed the g_debug and g_print
7382 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7384 Added the movement modes to the hildon-pannable-area, with this
7385 modes the developers can control in which directions the widget
7386 can scroll. They can also connect to signals in order to do
7387 something when that happens, allowing applications scroll. There
7388 is an example uploaded showing how to use it.
7390 * examples/Makefile.am:
7391 * examples/hildon-pannable-area-example-4.c: Added this example of
7392 an application using the modes.
7394 * src/hildon-marshalers.list: Added a new marshaller for the new
7397 * src/hildon-pannable-area.h: Added new enumerations and flags in
7398 order to control the movement modes and the new signals to warn
7399 about the movements in the area.
7401 * src/hildon-pannable-area.c:
7402 (hildon_pannable_axis_scroll),
7403 (hildon_pannable_area_scroll),
7404 (hildon_pannable_area_motion_notify_cb),
7405 (hildon_pannable_area_get_property),
7406 (hildon_pannable_area_set_property),
7407 (hildon_pannable_area_map),
7408 (hildon_pannable_area_class_init),
7409 (hildon_pannable_area_init),
7410 (hildon_pannable_area_jump_to): Added the modes to control the
7411 movement in the widget. We have added properties to control it,
7412 signals to warn about the movements and refactored some code.
7414 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7416 Changes required in order to allow vfast_factor set to zero to
7419 * src/hildon-pannable-area.c:
7420 (hildon_pannable_area_button_press_cb): Changed the condition, it
7421 is required for not allowing click when vfast_factor is zero.
7422 (hildon_pannable_area_timeout): Initialized velocity variables
7423 when we stop moving, it was less than 1 but not zero and we need
7424 to check zero in some situations.
7425 (hildon_pannable_area_class_init): Changed the default value of
7426 the speed factor, now the button_press is just sent in case the
7427 speed is 2 per cent of the max speed.
7428 (hildon_pannable_area_init): Initialization with 0.
7430 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7432 * src/hildon-pannable-area.c,
7433 (hildon_pannable_area_get_topmost): replaced
7434 gdk_window_get_children with gdk_window_peek_children, this way we
7435 do not have to free the list because it is not a copy.
7437 (hildon_pannable_axis_scroll),
7438 (hildon_pannable_area_scroll),
7439 (hildon_pannable_area_timeout),
7440 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7441 two parameters that were only used inside the
7442 hildon_pannable_area_scroll function.
7444 * examples/hildon-pannable-area-example.c,
7445 (get_sawtooth_label): Fixed small memory leak.
7447 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7449 More checks for the case where the overshoot is bigger than the
7452 * src/hildon-pannable-area.c:
7453 (hildon_pannable_draw_vscroll),
7454 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7455 to draw the slider of the scrollbar under the other scrollbar.
7456 (hildon_pannable_area_expose_event): added new checks to control
7457 the drawing of the overshooting area rectangle, in case it is too
7458 big for the area of the widget.
7459 (hildon_pannable_area_size_allocate): add more checks to avoid
7460 setting a position to the child widget outside the area.
7462 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7464 * src/hildon-pannable-area.c
7465 (hildon_pannable_area_size_allocate): Added conditions to control
7466 when overshooting is bigger than the allocated space for the
7467 children, this avoids negative allocations.
7469 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7471 * doc/hildon-docs.sgml
7473 * examples/Makefile.am
7474 * examples/hildon-button-example.c
7476 * src/hildon-button.c
7477 * src/hildon-button.h
7478 * src/hildon.h: Initial version of the new HildonButton widget,
7481 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7483 * src/hildon-pannable-area.c:
7484 (hildon_pannable_area_button_press_cb),
7485 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7486 (hildon_pannable_area_motion_notify_cb),
7487 (hildon_pannable_area_button_release_cb),
7488 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7489 (hildon_pannable_area_jump_to_child):
7491 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7493 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7495 * examples/Makefile.am
7496 * examples/hildon-pannable-area-touch-grid-example.c
7497 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7498 the Hildon Touch List and Hildon Touch Grid using the
7499 HildonPannableArea widget.
7501 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7503 * src/hildon-pannable-area.c,
7504 (hildon_pannable_area_button_press_cb),
7505 (hildon_pannable_area_refresh),
7506 (hildon_pannable_area_scroll),
7507 (hildon_pannable_area_motion_notify_cb),
7508 (hildon_pannable_area_button_release_cb),
7509 (hildon_pannable_area_expose_event),
7510 (hildon_pannable_area_add),
7511 (hildon_pannable_area_remove),
7512 (hildon_pannable_area_realize),
7513 (hildon_pannable_area_size_allocate),
7514 (hildon_pannable_area_class_init),
7515 (hildon_pannable_area_init),
7516 (hildon_pannable_area_scroll_to_child),
7517 (hildon_pannable_area_jump_to_child): Fixed the problem of
7518 removing the child from the GtkBin, we have rearranged the widget
7519 hierarchy, now there is no GtkAlignment which was not doing
7520 anything interesting but breaking some of the assumptions of
7521 GtkContainer. Now developers if they want to add a GtkAlignment
7522 they could, but it is not inside the area.
7524 We had to review the whole allocation/expose process, now it is
7525 improved and we save at least three signals which would be saving
7526 some time when rendering the widget. The allocation of the
7527 scrollbars is now made in the allocate method as usual.
7529 We have also added some conditions in order to control when there
7530 is no child of the pannable area. Maybe we will need more work
7533 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7535 * src/hildon-pannable-area.c,
7536 (hildon_pannable_area_dispose): Released the fade-out timeout when
7537 disposing the widget.
7539 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7541 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7542 zero, we are going to use that property in order to deactivate the
7544 (hildon_pannable_axis_scroll),
7545 (hildon_pannable_area_size_allocate): Added conditions to control
7546 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7547 call, now it is called in all situations and we can remove calls
7548 in the allocate method.
7549 (hildon_pannable_area_map): Control the situation when
7550 overshoot_max is zero, we do not need the timeout.
7551 (hildon_pannable_area_class_init): Added documentation in order to
7552 point out that setting zero to overshoot_max means deactivate
7555 NOTE: removed trailing whitespaces from my previous comments of
7558 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7560 * src/hildon-pannable-area.c
7561 (hildon_pannable_area_get_property),
7562 (hildon_pannable_area_set_property),
7563 (hildon_pannable_area_map),
7564 (hildon_pannable_area_class_init),
7565 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7566 to cause the widget give a hint about its panning abilities upon
7569 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7571 * src/hildon-pannable-area.c: Several documentation improvements.
7573 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7575 * src/hildon-program.c
7576 * src/hildon-stackable-window.c: Update documentation.
7578 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7580 * src/hildon-stackable-window.c (get_previous_window_if_last):
7581 Renamed get_last_window()
7582 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7583 (hildon_stackable_window_unset_program):
7585 (get_previous_window_if_last):
7586 Detect if the window hasn't been added to a HildonProgram.
7588 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7590 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7592 * src/hildon-pannable-area.c
7593 (hildon_pannable_area_button_press_cb),
7594 (hildon_pannable_axis_scroll),
7595 (hildon_pannable_area_scroll),
7596 (hildon_pannable_area_timeout),
7597 (hildon_pannable_calculate_vel_factor),
7598 (hildon_pannable_area_get_property),
7599 (hildon_pannable_area_set_property),
7600 (hildon_pannable_area_class_init),
7601 (hildon_pannable_area_init),
7602 (hildon_pannable_area_scroll_to),
7603 (hildon_pannable_area_jump_to),
7604 (hildon_pannable_area_scroll_to_child),
7605 (hildon_pannable_area_jump_to_child):
7606 * src/hildon-pannable-area.h: Added the new API functions:
7607 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7608 hildon_pannable_area_scroll_to_child,
7609 hildon_pannable_area_jump_to_child
7612 * examples/Makefile.am
7613 * examples/hildon-pannable-area-example-2.c
7614 * examples/hildon-pannable-area-example-3.c: Added these two new
7615 examples in order to test and show how the new APIs work.
7617 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7619 * examples/hildon-stackable-window-example.c (new_window):
7620 * src/Makefile.am (noinst_HEADERS):
7621 * src/hildon-program.c (hildon_program_go_to_root_window):
7622 * src/hildon-program.h:
7623 * src/hildon-stackable-window-private.h:
7624 * src/hildon-stackable-window.c:
7625 * src/hildon-stackable-window.h:
7626 Create hildon-stackable-window-private.h
7627 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7629 * examples/hildon-app-menu-example.c (create_menu):
7630 * examples/hildon-hvolumebar-insensitive-example.c (main):
7631 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7632 * examples/hildon-toolbar-seekbar-example.c (main):
7633 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7634 * src/hildon-banner.c (hildon_banner_set_property):
7635 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7636 Fix compilation warnings
7638 * src/hildon-window.c:
7641 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7643 * src/hildon-stackable-window.c
7644 (hildon_stackable_window_unset_program):
7645 Calculate correctly whether to show the previous window if the
7646 last one is removed from the stack.
7647 (hildon_stackable_window_go_to_root_window):
7648 Send delete events starting from the topmost window.
7649 Stop if one of the windows is not destroyed.
7651 (hildon_stackable_window_delete_event)
7652 (hildon_stackable_window_class_init):
7653 Ignore the delete event if the window is not the topmost one.
7655 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7657 * src/hildon-pannable-area.c
7658 (hildon_pannable_area_expose_event): Fixed a problem when
7659 selecting the background color of the scrollbars.
7661 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7663 * examples/hildon-stackable-window-example.c
7664 * src/hildon-stackable-window.c
7665 * src/hildon-stackable-window.h
7666 hildon_stackable_window_go_home() renamed to
7667 hildon_stackable_window_go_to_root_window()
7668 Send delete events to windows rather than closing them with
7669 gtk_widget_destroy()
7671 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7673 * src/hildon-pannable-area.c
7674 (hildon_pannable_area_button_release_cb): Fix overshooting in
7677 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7679 * src/hildon-pannable-area.c
7680 (hildon_pannable_area_init): Initially show the scroll indicators.
7681 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7683 Add initial effect showing the widget is pannable.
7685 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7687 * src/hildon-pannable-area.c
7688 (hildon_pannable_area_class_init)
7689 (hildon_pannable_area_set_property)
7690 (hildon_pannable_area_get_property)
7691 (hildon_pannable_area_button_press_cb):
7692 New 'velocity_fast_factor' property to decide which velocity is
7695 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7697 * src/hildon-pannable-area.c
7698 (hildon_pannable_draw_hscroll)
7699 (hildon_pannable_draw_vscroll):
7700 Use float variables to calculate the size of the scrollbars to
7701 avoid error propagation and resizing during scrolling.
7703 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7705 * src/hildon-pannable-area.c
7706 (hildon_pannable_draw_vscroll)
7707 (hildon_pannable_draw_hscroll):
7708 Define a minimum size for the scroll bars
7710 * src/hildon-stackable-window.c
7711 (hildon_stackable_window_go_home): Fix compilation warning
7712 (get_last_window): Minor optimizations
7713 (hildon_stackable_window_class_init): Fix initialization of
7716 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7718 * src/hildon-stackable-window.c: Fixed typos in doc
7720 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7722 * src/hildon-pannable-area.c
7723 (hildon_pannable_area_scroll):
7724 Calculate here whether we need to scroll instead of using the booleans
7725 that tell us whether to /draw/ the scrolling bars.
7727 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7729 * src/hildon-app-menu.h
7731 * src/hildon-app-menu.c
7732 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7733 multiple filter groups related code and API. Now we support only
7735 * examples/hildon-app-menu-example.c:
7737 Update to reflect API changes.
7739 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7741 * src/hildon-stackable-window.c
7742 (hildon_stackable_window_class_init):
7743 Add hildon_stackable_window_realize.
7744 (hildon_stackable_window_realize):
7745 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7746 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7747 to apply theming and behavior specific to HildonStackableWindow
7750 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7752 * src/hildon-note.c (hildon_note_button_release):
7753 Close information notes also when tapping on them
7755 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7757 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7758 ELASTICITY, refactor and review, fix some issues with drawing
7761 * src/hildon-pannable-area.c:
7762 (hildon_pannable_area_button_press_cb): removed the conditions to
7763 avoid clicks when overshooting. It is not required
7765 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7766 define. Refatored and reviewed the code, now we do not need to
7767 manage velocity in motion_notify.
7769 (hildon_pannable_area_motion_notify_cb): We have moved the code
7770 that controls the area_scroll to the axis_scroll function and get
7771 rid of duplicated code.
7773 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7775 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7777 (hildon_pannable_draw_vscroll),
7778 (hildon_pannable_draw_hscroll): Fixed the problems with the
7779 scrollbar drawing, now we do not use two surfaces, it is easier
7780 and saves resources.
7782 (hildon_pannable_area_get_property): Style modification.
7784 (hildon_pannable_area_class_init): Changed some default values.
7786 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7788 * src/hildon-stackable-window.c: Fix some typos in the
7791 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7793 * src/hildon-dialog.c:
7794 Change indentation style
7797 (hildon_note_button_release):
7798 Use root coordinates to check if the release event happened
7801 * src/hildon-app-menu.c
7802 (hildon_app_menu_button_release):
7803 Remove unnecessary check
7805 * examples/hildon-app-menu-example.c
7807 Add cast to fix warning
7809 * src/hildon-app-menu.c
7810 (hildon_app_menu_class_init):
7811 New inner-border style property.
7812 Set all default spacings to 16
7813 (hildon_app_menu_init):
7814 Use vertical-spacing to set the space between filter buttons and
7815 regular menu buttons.
7816 Set the default container border using the inner-border value.
7818 * examples/hildon-app-menu-example.c
7820 Don't set the menu border explicitly, now we have the inner-border
7821 style property for that.
7823 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7825 * src/hildon-app-menu.c (hildon_app_menu_init):
7826 Make the window modal
7828 * src/hildon-note.c (hildon_note_map)
7829 * src/hildon-app-menu.c (hildon_app_menu_map):
7830 Destroy the grab window if we're unable to grab the pointer
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 (grab_transfer_window_get):
7838 Bring back the grab window
7839 (hildon_app_menu_realize):
7840 Decorate the window, set WM hint for Matchbox
7842 * src/hildon-note.c (hildon_note_realize):
7843 * src/hildon-banner.c (hildon_banner_realize):
7844 Add WM hints for Matchbox
7846 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7848 * src/hildon-app-menu-private.h
7849 * src/hildon-app-menu.c
7850 (hildon_app_menu_init, hildon_app_menu_finalize)
7851 (hildon_app_menu_map, hildon_app_menu_unmap)
7852 (hildon_app_menu_button_release):
7853 Remove the grab window, it's not needed anymore
7855 * src/hildon-program.c
7856 Fixed typo in documentation
7858 * src/hildon-app-menu.h
7859 * src/hildon-app-menu.c
7860 * examples/hildon-app-menu-example.c
7861 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7863 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7866 Added new transfer_window and close_if_pressed_outside private
7868 (hildon_note_rebuild):
7869 Don't add a cancel button to the information note. It will be
7870 closed when tapping outside
7871 Remove the comment about the OK button in the documentation
7872 (hildon_note_realize):
7873 Set the notification type hint
7874 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7875 Grab/ungrab pointer and keyboard if the note has to be closed when
7877 (hildon_note_button_release):
7878 Close the note when tapping outside (if applicable)
7880 * src/hildon-app-menu.c
7881 Grab/ungrab pointer and keyboard on map/unmap
7882 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7883 Close the menu on button release, not button press
7885 * src/hildon-banner.c
7886 (hildon_banner_set_property)
7887 (hildon_banner_check_position):
7888 Make the banner use the full width of the screen
7889 (hildon_banner_show_information)
7890 (hildon_banner_show_information_with_markup):
7891 Don't display an icon by default
7893 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7895 Added fading scrollbars and adapted all the overshooting code to
7896 horizontal scrolling. We have also fixed bugs with overshooting
7897 and current fading implementation.
7899 * src/hildon-pannable-area.c
7900 (hildon_pannable_area_scroll_indicator_fade): Time out function
7901 used to change the transparency of the scrollbars.
7903 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7904 control and fixed a problem with fading, we now remove the fade
7905 timeout before adding a new one.
7907 (hildon_pannable_axis_scroll):
7908 (hildon_pannable_area_scroll):
7909 (hildon_pannable_area_timeout): Added this functions so we can use
7910 the scroll code both for vertical and horizontal.
7912 (hildon_pannable_area_motion_notify_cb):
7913 (hildon_pannable_area_button_release_cb): Added the horizontal
7914 scrolling control, fixed a problem with the overshooting timeout.
7916 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7917 painting of the scrolls.
7919 (hildon_pannable_draw_vscroll):
7920 (hildon_pannable_draw_hscroll):
7921 (hildon_pannable_area_expose_event):
7922 Draw both scrollbars and rectangles in the overshooting area.
7924 (hildon_pannable_area_get_property):
7925 (hildon_pannable_area_set_property):
7926 Modified the overshoot property to overshoot_max
7928 (hildon_pannable_area_map):
7929 Replaced the comments symbols.
7931 (hildon_pannable_area_size_allocate):
7932 (hildon_pannable_area_class_init):
7933 (hildon_pannable_area_init): Added horizontal scroll, fading
7934 effect properties, fixed a problem when overshooting in the bottom
7937 * examples/hildon-pannable-area-example.c:
7938 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7939 looks better in the example.
7941 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7943 * src/hildon-window.c
7944 * src/hildon-window.h
7945 (hildon_window_class_init)
7946 (hildon_window_unset_program)
7947 (hildon_window_unset_program_real):
7948 Make unset_program a virtual function
7950 * src/hildon-stackable-window.c
7951 * src/hildon-stackable-window.h
7952 Added hildon_stackable_window_go_home()
7954 * examples/Makefile.am
7955 * examples/hildon-stackable-window-example.c
7956 HildonStackableWindow example
7958 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7960 * hildon-pannable-area.c: Added the overshoot property and removed
7961 the OVERSHOOT define. Fixed an indent style error.
7962 (hildon_pannable_area_motion_notify_cb):
7963 (hildon_pannable_area_get_property):
7964 (hildon_pannable_area_set_property): Add overshoot property.
7966 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7969 (hildon_pannable_area_class_init): Installed the new property.
7971 * hildon-pannable-area-example.c: Added a sawtooth function, this
7972 way it is easier to check the movement in the pannable.
7973 (get_sawtooth_label): Added this function.
7974 (main): Now we get the labels from the new get_sawtooth_label
7977 2008-05-26 Alberto Garcia <agarcia@igalia.com>
7979 * src/hildon-app-menu.h
7980 * src/hildon-app-menu.c
7981 Renamed API variables for consistency
7983 (hildon_app_menu_popup): Use also the default window size to
7984 decide where to place the menu
7986 (hildon_app_menu_init, hildon_app_menu_class_init): New
7987 external-border style property
7989 2008-05-26 Michael Natterer <mitch@imendio.com>
7991 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
7992 widget_class->tap_and_hold_setup signal slot doesn't exist any
7993 longer, stop overriding it.
7995 (hildon_time_editor_init): g_signal_connect() to the
7996 tap-and-hold-setup signal instead.
7998 (hildon_time_editor_entry_keypress): add cast to fix warning.
8000 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8002 * doc/hildon-docs.sgml
8004 * examples/Makefile.am
8005 * examples/hildon-app-menu-example.c
8007 * src/hildon-app-menu-private.h
8008 * src/hildon-app-menu.c
8009 * src/hildon-app-menu.h
8011 New HildonAppMenu widget
8013 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8015 Rearranged the inheritance of the pannable area, now it inherits
8016 from GtkBin. This will allow us to control the event_window and
8017 the allocation process of the widget, required for some effects.
8019 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8020 GtkBin structures. * src/hildon-pannable-area.c: Added the
8021 event_window variable.
8022 (hildon_pannable_area_button_press_cb):
8023 (hildon_pannable_area_button_release_cb):
8024 (hildon_pannable_area_motion_notify_cb):
8025 Changed the signature of the method, now we override the event
8026 callback instead of connecting to the signal.
8028 (hildon_pannable_area_realize):
8029 (hildon_pannable_area_unrealize):
8030 (hildon_pannable_area_map):
8031 (hildon_pannable_area_unmap):
8032 (hildon_pannable_area_size_allocate):
8033 Added functions to control the widget construction. We add a
8034 INPUT_ONLY window and we put it over the widgets inside the
8035 container, this event_window handles the events.
8037 (hildon_pannable_area_class_init):
8038 Replaced the signal connections with overrides of the event
8041 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8043 Bouncing effect added when touching the borders, you can change
8044 the elasticity of the border changing the ELASTICITY define.
8046 * src/hildon-pannable-area.c: Added ELASTICITY define.
8047 (hildon_pannable_area_timeout): Added inverse velocity when
8048 touching the border of the child widget, that causes a bounce.
8050 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8052 Improved performance, we now do not go to the X server in order to
8053 get the list of window children. Apparently the effect is the
8054 same, we have to be careful and check if this breaks something in
8057 * src/hildon-pannable-area.c:
8058 (get_ordered_children): Removed this function.
8059 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8060 the children windows function with gdk_window_get_children.
8062 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8064 * src/hildon-pannable-area.c:
8065 (hildon_pannable_area_dispose): Fixed a crash when closing the
8066 window and kinetics is activated.
8068 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8070 * src/hildon-pannable-area.h
8071 * src/hildon-pannable-area.c
8072 Changed indentation style to meet the one used in Hildon
8074 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8076 Reviewed the interaction of the AUTO mode, now we use the time
8077 attribute of the events and calculate the velocity in the motion,
8078 doing a gimp like calculation. The velocity is calculated in each
8079 motion event using the last velocity and the current one, the
8080 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8082 * src/hildon-pannable-area.c: Replaced the time based algorithm
8084 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8085 timeout for the AUTO mode when we are still moving the cursor. We
8086 added also the velocity calculation in this function.
8087 (hildon_pannable_area_button_release_cb): launch the timeout in
8088 case we are in AUTO mode. There are still some constants here that
8089 come from the old implementation that should be reviewed and
8092 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8094 * doc/hildon-docs.sgml
8097 * src/hildon-stackable-window.c
8098 * src/hildon-stackable-window.h
8100 New HildonStackableWindow widget
8102 * examples/hildon-dialog-example.c
8103 * examples/hildon-pannable-area-example.c
8106 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8108 * src/hildon-dialog.c
8109 (hildon_dialog_new_with_buttons): New constructor.
8111 * examples/hildon-dialog-example.c
8112 (main): Update the example to use the new
8113 hildon_dialog_new_with_buttons().
8115 * examples/hildon-pannable-area-example.c
8116 (main): Update example.
8118 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8120 * doc/hildon-docs.sgml
8122 Added HildonPannableArea to the documentation.
8124 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8126 * doc/visual_index.xml
8127 Fix reference to HildonLoginDialog in documentation
8129 * doc/hildon-docs.sgml
8131 * examples/Makefile.am
8132 * examples/hildon-dialog-example.c
8134 * src/hildon-dialog.c
8135 * src/hildon-dialog.h
8137 New HildonDialog widget.
8139 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8141 * src/hildon-pannable-area.c
8142 Merge latest changes (r4318, r4342) from libmokoui trunk
8144 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8146 * examples/Makefile.am
8147 * examples/hildon-pannable-area-example.c
8149 * src/hildon-pannable-area.c
8150 * src/hildon-pannable-area.h
8152 New HildonPannableArea widget.
8154 2008-04-15 18:05:19 <timj@imendio.com>
8156 * src/hildon-banner.c: revert the recent change, that introduced
8157 gtk_window_present() calls. this reopens:
8158 Bug 78481 - [freetest] information banners are hidden under browser menu
8159 But resolves another variant of:
8160 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8162 2008-04-15 13:21:13 <timj@imendio.com>
8164 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8165 recreated its layout, spotted by Kris. this fixes all remaining
8166 artefacts and stability issues with the banner code. in particular:
8167 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8169 2008-04-14 16:52:59 <timj@imendio.com>
8171 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8172 operating on unrealized widgets, fixes:
8173 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8175 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8177 2008-04-09 Kristian Rietveld <kris@imendio.com>
8179 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8180 makes banner disappear.
8181 Fixes: NB#79182: info banner flickering with certain message lengts.
8183 * src/hildon-banner.c (hildon_banner_constructor),
8184 (hildon_banner_init), (hildon_banner_set_text),
8185 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8186 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8187 FALSE, reset size requests of label and banner,
8188 (force_to_wrap_truncated): when the text is too wide, always enforce
8189 the maximum possible width instead of recalculating it from the
8190 layout; enforce the maximum banner height of 3 lines,
8191 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8192 nicer wrapping and no truncated chars if space gets tight.
8194 * src/hildon-banner-private.h: add has_been_wrapped and
8195 has_been_truncated fields.
8197 2008-04-07 Sven Herzberg <sven@imendio.com>
8199 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8200 local values in hildon_date_editor_size_allocate
8202 * src/hildon-date-editor.c: moved the real allocation code into the
8205 2008-04-07 Sven Herzberg <sven@imendio.com>
8207 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8208 local values in hildon_date_editor_size_allocate
8210 * src/hildon-date-editor.c: merged the two if() branches together
8212 2008-04-07 Sven Herzberg <sven@imendio.com>
8214 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8215 local values in hildon_date_editor_size_allocate
8217 * src/hildon-date-editor.c: changed the arguments of the if()
8220 2008-04-07 Sven Herzberg <sven@imendio.com>
8222 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8223 local values in hildon_date_editor_size_allocate
8225 * src/hildon-date-editor.c: split the calculation of the allocation
8226 from the real allocation
8228 2008-03-27 Michael Natterer <mitch@imendio.com>
8230 Fixes: NB#81696: The passcode is not overwritten even after
8233 * src/hildon-code-dialog.c
8234 (hildon_code_dialog_button_clicked)
8235 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8236 because that doesn't overwrite selected text. Instead, emit the
8237 "commit" signal on the entry's im_context so the entry's normal
8238 insert logic is triggered. Set the cursor to the end of the entry
8239 after each insert operation so that we *only* insert in the middle
8240 of the text if something was selected.
8242 2008-03-27 Michael Natterer <mitch@imendio.com>
8244 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8245 selector cannot be opened
8247 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8248 when the popup color selector is created. Please connect to this
8249 signal in order to set the dialog's help ID.
8251 2008-03-25 Sven Herzberg <sven@imendio.com>
8253 Fixes: MB#1212: Hide info banners (infoprints) on click
8255 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8256 extracted the close event simulation into an extra function
8257 (hildon_banner_button_press_event): simulate a close event and destroy
8258 the widget if the event wasn't handled
8259 (hildon_banner_class_init): added the button_press_event handler
8260 (hildon_banner_init): added button-press events to the widget
8262 2008-03-25 Sven Herzberg <sven@imendio.com>
8264 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8265 Patch from: Mohammad Anwari <mdamt@maemo.org>
8267 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8268 instead of the right in RTL mode
8269 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8270 breadcrumb button list in RTL mode
8271 * src/hildon-caption.c: mirror the appearance of the caption widget in
8273 * src/hildon-date-editor.c: mirror appearance of the date editor in
8275 * src/hildon-time-editor.c: mirror appearance of the time editor in
8277 * src/hildon-window.c: fix the position of the popup in RTL mode
8279 2008-03-25 Sven Herzberg <sven@imendio.com>
8281 Amendment to the fix of NB#22072. Fix compilation.
8283 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8285 2008-03-19 Sven Herzberg <sven@imendio.com>
8287 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8290 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8291 timeout id properly when the timeout will disappear this leaves no
8292 artifacts around in the destroy(); there will only be the timeout
8293 created by hildon_banner_ensure_timeout() and adding a new timeout
8294 will also work if the timeout gets removed because the timeout_handler
8297 2008-03-19 Michael Natterer <mitch@imendio.com>
8299 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8301 * src/hildon-volumebar.c
8302 * src/hildon-vvolumebar.c
8303 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8304 the widget becomes focussable at all.
8306 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8307 set the focus to wither the mute button or the volumebar.
8309 Remove own "can-focus" property and instead listen to
8310 notify::can-focus in order to update the widget's state.
8312 Implement GtkWidget::focus() and make sure we can also *leave* the
8313 widget, not only enter it, depending on volumebar orientation and
8314 requested focus direction.
8316 Clean up set_mute() to cooperate nicely with all the above.
8318 2008-03-04 Michael Natterer <mitch@imendio.com>
8320 Fixes: NB#78481: information banners are hidden under browser menu
8322 * src/hildon-banner.c: call gtk_window_present() on the banners so
8323 they are risen if they are already visible.
8325 2008-03-03 Sven Herzberg <sven@imendio.com>
8327 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8329 * examples/hildon-window-menu-example.c: (main): extended the window
8330 menu example to serve as a testcase for automatically added
8331 accelerator groups, too
8332 * src/hildon-window.c: (hildon_window_add_accel_group),
8333 (hildon_window_set_menu): added patch by Tommi Komulainen
8335 2008-03-03 Sven Herzberg <sven@imendio.com>
8337 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8339 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8340 knowledge about the border allocators used within GTK+
8342 2008-02-26 Sven Herzberg <sven@imendio.com>
8344 Fixes: MB#2981: Build with asserts broken
8346 * src/hildon-date-editor.c,
8347 * src/hildon-number-editor.c,
8348 * src/hildon-time-editor.c,
8349 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8350 the proper GType instance check
8352 2008-02-25 Sven Herzberg <sven@imendio.com>
8354 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8356 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8357 * examples/hildon-window-menu-example.c: (main): explicitly show
8359 * src/hildon-window.c:
8360 (hildon_window_set_main_menu): moved most of the code from set_menu()
8361 to this place; skipped the call to gtk_widget_show_all(); also didn't
8362 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8363 (hildon_window_set_menu): removed most of the code, just keep the
8364 questionable gtk_widget_show_all()
8365 * src/hildon-window.h: added the new function and deprecate the old
8368 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8374 * debian/changelog: Updating.
8376 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8379 * pkgconfig/Makefile.am:
8380 * pkgconfig/hildon.pc.in:
8383 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8384 use newly created API_MAJOR_VERSION.
8386 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8392 * debian/changelog: Updating.
8394 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8396 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8398 Add outer_border style property, we use it but don't define it (!).
8402 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8404 * examples/hildon-bread-crumb-trail-example.c (main):
8408 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8410 Fix logic for the bread crumb trail node removal.
8414 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8420 * debian/changelog: Updating.
8422 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8424 Patch by Alejandro to get/set passwords dialogs accesibility.
8426 * hildon-1/src/hildon-get-password-dialog.c:
8427 * hildon-1/src/hildon-set-password-dialog.c:
8428 Set atk_set_name to the passwd entries in order to allow
8429 accessibility by name on this entries.
8431 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8436 * debian/control: Updating gtk dep.
8438 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8440 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8441 USE_MAEMO_GTK is enabled.
8443 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8445 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8446 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8448 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8454 * debian/changelog: Updating.
8456 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8458 * examples/Makefile.am:
8459 * examples/hildon-logical-color-example.c:
8460 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8461 applied + adding a test case. Fixes: NB#71660.
8463 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8465 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8466 to be visible, fixes warning on map for windows without toolbars.
8468 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8470 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8471 2.11.0, add a check for that besides the MAEMO_GTK check.
8473 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * debian/changelog: Updating.
8481 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8483 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8484 visibility. Fixes: NB#70842 and MB#615.
8486 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8488 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8489 set the separator as no-show-all so it doesn't unintentionally appear when
8490 someone does a show_all.
8492 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8494 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8495 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8496 toplevel item. Fixes: NB#62031
8498 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8500 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8501 fix the name of the function in the docs.
8503 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * debian/changelog: Updating.
8511 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * examples/hildon-banner-long-example.c: Adding a test-case for long
8516 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8518 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8520 * src/hildon-color-chooser-dialog.c:
8521 * src/hildon-color-chooser.c:
8522 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8523 memory leaks in font selector and color selector. Fixes: NB#70499 and
8526 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8528 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8530 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8532 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8533 little bit bigger. Fixes: #NB63694.
8535 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8541 * debian/changelog: Updating.
8543 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8546 * doc/hildon-docs.sgml:
8547 * doc/images/bread-crumb-trail.png:
8548 * doc/images/calendar-popup.png:
8549 * doc/images/caption.png:
8550 * doc/images/code-dialog.png:
8551 * doc/images/color-button.png:
8552 * doc/images/color-chooser-dialog.png:
8553 * doc/images/color-chooser.png:
8554 * doc/images/controlbar.png:
8555 * doc/images/date-editor.png:
8556 * doc/images/font-selection-dialog.png:
8557 * doc/images/get-password-dialog.png:
8558 * doc/images/hvolumebar.png:
8559 * doc/images/login-dialog.png:
8560 * doc/images/note.png:
8561 * doc/images/number-editor.png:
8562 * doc/images/range-editor.png:
8563 * doc/images/seekbar.png:
8564 * doc/images/set-password-dialog.png:
8565 * doc/images/sort-dialog.png:
8566 * doc/images/time-editor.png:
8567 * doc/images/time-picker.png:
8568 * doc/images/vvolumebar.png:
8569 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8570 Adding the bread-crumb-trial and helpers to the documentation.
8572 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8574 * examples/hildon-find-toolbar-example.c:
8575 * src/hildon-find-toolbar.c:
8576 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8577 actually continue firing the other handlers if connected. Adding a new
8579 hildon_find_toolbar_get_last_index that gets the index of the most
8580 recently added (last) item. Fixes: NB#52301.
8582 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8584 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8585 behaviour. Fixes: NB#68610.
8587 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8589 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8592 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8594 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8595 when realizing the banner. Should make the infonbanner effect a bit more
8598 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8600 * src/hildon-volumebar.c:
8601 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8602 hildon_volumebar_set_range_insensitive_message and
8603 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8605 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8607 * src/hildon-window.c: Fixing the border freeing on destroy.
8609 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8611 * src/hildon-code-dialog-private.h:
8612 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8613 kw keyboard support in HildonCodeDialog.
8615 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * debian/changelog: Updating.
8623 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * src/hildon-date-editor.c:
8626 * src/hildon-number-editor.c:
8627 * src/hildon-private.c:
8628 * src/hildon-private.h:
8629 * src/hildon-time-editor.c:
8630 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8631 handling in subclassed composite widgets. Fixes: NB#66628.
8633 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8635 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8636 from destroy_ callback as it introduces problems in async dbus signal
8637 handlers. Fixes NB#66673.
8639 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * examples/hildon-hvolumebar-example.c:
8642 * src/hildon-volumebar.c: Improving the focus handling in the
8643 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8644 set_property accessor so that "mute" property can be actually set. I'm
8645 scared that nobody noticed it's totally broken.
8647 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8649 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8652 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8654 * src/hildon-calendar.c:
8655 * src/hildon-number-editor.c:
8656 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8657 matches the spec of 6 chars per second. Fixes: NB#60489.
8659 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8661 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8662 gtk_style_lookup_color sometime returns FALSE even though color was
8663 found and values were filled properly. Weird. Removing the warning for the
8666 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8668 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8669 expand vertically. Adding some extra space to the find toolbar buttons to
8670 make them thumbable. Fixes NB#66060.
8672 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8674 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8675 popup with "Ok" and "Cancel". Fixes NB#59299.
8677 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8679 * src/hildon-calendar.c: Process all window updates before executing next
8680 timeout. Fixes: NB#54146.
8682 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8688 * debian/changelog: Updating.
8690 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8692 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8693 the client event and ignore it, since we use the delete event to close
8696 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * src/hildon-helper.c: Remove the bogus warning about color not being
8699 found. Fixes NB#58352.
8701 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8703 * examples/Makefile.am:
8704 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8705 HildonSeekbar widget inside a toolbar.
8707 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8709 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8710 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8711 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8712 don't want to be closed by non-temporary windows on map.
8714 Also use G_DEFINE_TYPE instead of manually typed code.
8716 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8723 * debian/rules: Updating.
8725 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8727 * examples/Makefile.am:
8728 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8729 bug NB#61128. Strangely it works.
8731 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8733 * src/hildon-date-editor.c: When the date editor entry has been changed
8734 but the numbers of characters < max, turn off the skip validation flag.
8735 Prevents a situation when we enter first a valid year and later re-write
8736 it with an invalid one. Fixes NB#60154.
8738 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8740 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8741 code dialog. Fixes NB#64355.
8743 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8745 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8746 switching the page. Fixes NB#49374.
8748 * examples/Makefile.am:
8749 * examples/hildon-wizard-dialog-example.c: Adding an example for
8750 HildonWizardDialog that shows how to handle manual sensitivity setting on
8753 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 * src/hildon-version.h.in:
8758 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8760 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8762 * src/hildon-volumebar.c: Updating the docs.
8764 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8770 * debian/changelog: Updating.
8772 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8774 * src/hildon-find-toolbar.c:
8775 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8776 selected item: hildon_find_toolbar_set_active,
8777 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8778 hildon_find_toolbar_get_active_iter . They correspond to respective
8779 GtkComboBox functions.
8781 * examples/Makefile.am:
8782 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8785 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8787 * examples/Makefile.am:
8788 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8791 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8792 when font size > 32 and we pack a focusable widget inside. Actually using
8793 the default response would work too, but since we don't show default
8794 response state in any way (no theming) it would not be visible to the
8795 user. Fixes NB#63430.
8797 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * src/hildon-date-editor.c: Adding the missing variable setter in the
8800 set_property handler. Fixes NB#54182.
8802 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8804 * src/hildon-window.h: Changing the long key press time from 1500ms to
8805 800ms as requested in NB#63700. I have a bad feeling about this, let's
8806 see... Fixes NB#63700.
8808 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8810 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8811 hildon_time_picker_map, hildon_time_picker_realize,
8812 hildon_time_picker_style_set): Split the contents of map to more
8813 appropriate functions; set window decorations on realize and update
8814 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8816 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8821 * debian/changelog: Updating.
8823 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8825 * src/Makefile.am: fixed installation of the header files
8827 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8833 * debian/changelog: Updating.
8835 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8837 * configure.ac: Removing some remaining of --enable-xan.
8839 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8841 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8842 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8844 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8845 2.10.12-osso6 because the move-focus signal needs to be available in
8848 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8850 * examples/Makefile.am:
8851 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8852 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8853 fine. Prolly NB#61128 is fixed now.
8855 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * src/hildon-volumebar.c:
8858 * src/hildon-volumebar.h: Adding the
8859 hildon_volumebar_set_range_insensitive_message and
8860 hildon_volumebar_set_range_insensitive_messagef functions to set
8861 insensitive message on the slider of the volumebar. Fixes NB#61129.
8863 * examples/Makefile.am:
8864 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8865 test the new insensitive messsage functionality on HildonVolumebar.
8867 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8869 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8872 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8874 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8875 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8876 button on after clearing the trail.
8878 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8882 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8884 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8885 by splitting the installed headers in generated and non-generated groups. Use
8886 only the non-generated headers to create the hildon-enum-types.h file.
8888 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8890 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8892 * src/hildon-window.c: Hide the window before performing the destroy.
8893 Should make the app closing a little tiny bit more snappy.
8895 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8897 * src/hildon-seekbar.c: add gtkrange.h header
8898 * src/hildon-caption.c: remove unused variable
8900 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8902 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8905 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/changelog: Updating.
8913 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8915 * src/hildon-window.c (hildon_window_window_state_event,
8916 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8917 escape timeout on focus-out-event rather than notify::is-topmost; the
8918 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8920 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8922 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8923 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8925 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8927 * src/hildon-window: actually, you need to use the macro always, there's
8928 no private pointer in the instance structure. We should have cleaned this up
8929 when we had the chance...
8931 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-window.c: do not get the private date from HildonWindow before
8934 it passes the g_return_if_fail check. Once it's passed the test, there's no
8935 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8936 if you are only going to access the data once. Whitespace cleanups.
8938 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8940 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8941 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8943 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8949 * debian/changelog: Updating.
8951 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * src/hildon-window.c: When destroying the window, remove (if exists) the
8954 escape timeout handler. Fixes #NB59276.
8956 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8958 * src/hildon-banner.c: When realizing the widget, set the window
8959 transiency. Setting the transiency in the gobject constructor is not
8960 good, as the widget is not realized at that point. Fixes: #NB56624.
8962 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8964 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8965 Add padding for future expansions.
8967 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8969 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8970 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8971 will fake an activation on the previous to the last item of the trail, so
8972 the effect can be overrided by the developer as usual.
8973 Also change the callback for the back button to do the same thing, so its
8974 effect can be overrided too. Fixes: NB#58982
8976 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 * src/hildon-caption.c: Implementing the proper focus grabbing in the
8979 HildonCaption. Fixes NB#52379.
8981 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8983 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
8984 the internal state of the trail after the user has had the chance of executing
8985 his handler for the signal. Specifically, it may happen that the activated button
8986 is removed and the user still lets the default handler run. This would segfault
8989 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * src/hildon-font-selection-dialog.c: When the font is really big, add the
8992 scrollbar to the preview dialog. Fixes NB#54147.
8994 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * src/hildon-date-editor.c: Changing the default max year to 2037. The
8997 max/min year properties can be altered, so the client can modify it
8998 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9000 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9003 hildonlike by default. Fixing a problem with disappearing arrows when
9004 scrolling through months and years. Fixes NB#54127.
9006 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * examples/hildon-date-editor-example.c: Adding error callback to the date
9011 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * configure.ac: Updating.
9019 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * configure.ac: Adding a special '--enable-xan' configure option that
9022 turns off the -Werror compilation setting. Usefull for development.
9024 * src/hildon-calendar.c:
9025 * src/hildon-number-editor.c:
9026 * src/hildon-time-picker.c: Adding the 5* multiplier to
9029 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9031 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9032 instead of g_object_ref + gtk_object_sink.
9034 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * debian/changelog: Updating.
9042 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * src/hildon-color-chooser-dialog.c:
9045 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9046 straight from Tommi labs.
9048 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9050 * examples/hildon-finger-example.c: Correcting the header file path.
9052 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9053 the changed signal. Fixes a small memory leak.
9055 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * src/hildon-banner.c: Importing several usefull fixes from the
9060 ubuntu-mobile branch.
9062 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * examples/Makefile.am:
9065 * examples/hildon-finger-example.c: Adding a finger-checking code
9068 * src/hildon-font-selection-dialog.c: Do not allocate the color
9069 structure using the g_new. Fixes NB#54061.
9071 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * src/hildon-helper.c: Correcting tabs in file.
9075 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9077 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9078 control the visibility of the children.
9080 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9082 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * debian/changelog: Updating.
9090 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9092 * src/hildon-bread-crumb-trail.c:
9093 (hildon_bread_crumb_trail_size_allocate):
9095 Make the back button always a square.
9097 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9099 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9100 from the .c file as it's a private file.
9102 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9104 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9105 uses slightly bigger height.
9107 * src/hildon-font-selection-dialog.c: Adding some checks before
9108 freeing memory in the font selection dialog.
9110 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9112 * src/hildon-font-selection-dialog.c: Adding a small check when
9115 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9116 buttons sensitivity on page switching.
9118 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9120 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9121 internal details of adding a bread crumb to the trail.
9123 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9129 * debian/changelog: Updating.
9131 * src/hildon-bread-crumb-trail.h:
9132 * src/hildon-bread-crumb.h: Changing the API guard to
9133 HILDON_ENABLE_UNSTABLE_API.
9135 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-helper.h: Updating.
9145 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9153 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * src/hildon-helper.h: Small fix to make the package actually compile.
9159 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9161 * src/hildon-bread-crumb-trail.h:
9162 * src/hildon-bread-crumb.h:
9164 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9165 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9167 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9169 * examples/hildon-bread-crumb-trail-example.c:
9171 * src/hildon-bread-crumb-trail.c:
9172 * src/hildon-bread-crumb-trail.h:
9173 * src/hildon-bread-crumb.c:
9174 * src/hildon-bread-crumb.h:
9175 * src/hildon-marshalers.list:
9176 * src/hildon-bread-crumb-widget.c:
9177 * src/hildon-bread-crumb-widget.h:
9179 Slight change in the widget design. The bread crumb trail API is
9180 unchanged, but HildonBreadCrumb is now an interface. A *private*
9181 implementation, hildon-bread-crumb-widget, is provided and used
9182 internally by the trail for the push_text/push_icon functions.
9184 The generic push API is still available, so anyone can implement
9185 and use its own bread crumb widget.
9187 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * debian/rules: Fixing the shlibs.
9191 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * src/hildon-banner.c: Fixing a problem with timed banners having
9194 their parrent destroyed before they are.
9196 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9198 * src/hildon-bread-crumb.c:
9199 * src/hildon-bread-crumb.h:
9201 Make the get_natural_size function a vfunc.
9203 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9205 * src/hildon-bread-crumb.c:
9206 * src/hildon-bread-crumb-trail.c:
9210 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * debian/changelog: Updating for release.
9219 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9221 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9222 don't leak the pango layout.
9224 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9227 * examples/hildon-bread-crumb-trail-example.c:
9231 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * debian/changelog: Removing the bug-fixed entries that were actually
9234 resolved as WONTFIX.
9236 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9239 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9241 * src/hildon-bread-crumb-trail.c:
9242 * src/hildon-bread-crumb-trail.h:
9243 * src/hildon-bread-crumb.c:
9244 * src/hildon-bread-crumb.h:
9248 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9250 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9251 until it's passed the type check.
9253 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9255 * examples/hildon-bread-crumb-trail-example.c
9259 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9261 * examples/Makefile.am
9262 * examples/hildon-bread-crumb-trail-example.c
9264 * src/hildon-bread-crumb-trail.c
9265 * src/hildon-bread-crumb-trail.h
9266 * src/hildon-bread-crumb.c
9267 * src/hildon-bread-crumb.h
9269 New HildonBreadCrumbTrail widget.
9271 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9273 * src/hildon-range-editor.c (hildon_range_editor_init),
9274 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9275 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9276 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9277 hildon_time_editor_class_init, hildon_time_editor_init),
9278 src/hildon-get-password-dialog.c (invalid_input,
9279 hildon_get_password_set_property, hildon_get_password_get_property,
9280 create_contents, hildon_get_password_dialog_set_max_characters),
9281 src/hildon-set-password-dialog.c (create_contents),
9282 src/hildon-date-editor.c (hildon_date_editor_init),
9283 src/hildon-login-dialog.c (hildon_login_dialog_init),
9284 src/hildon-number-editor.c (hildon_number_editor_init),
9285 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9286 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9287 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9288 configure option and adding the respective checks in the code.
9289 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9290 hildon_calendar_drag_data_received): fixed some build warnings.
9292 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * debian/changelog: A 1.0.0 release notes.