1 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
3 * configure.ac: bump version
5 * debian/changelog: updates
7 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
9 * hildon/hildon-touch-selector.[ch]
10 (hildon_touch_selector_center_on_index): New method that allows to center
11 on a item not selected
13 Fixes NB#130291 (New HildonTouchSelector API is required to center on
16 2009-07-29 Alberto Garcia <agarcia@igalia.com>
18 * hildon/hildon-text-view.c
19 (+set_logical_color, +hildon_text_view_style_set)
20 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
21 (hildon_text_view_init)
22 * hildon/hildon-entry.c
23 (+set_logical_color, +hildon_entry_style_set)
24 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
25 (hildon_entry_class_init, hildon_entry_init)
26 * hildon/hildon-button.c
27 (+set_logical_font, +set_logical_color)
28 (hildon_button_style_set, hildon_button_init)
29 (hildon_button_set_arrangement, hildon_button_set_style):
30 Remove all calls to hildon_helper_set_logical_font() and
31 hildon_helper_set_logical_color(), which are recursive, from
34 Fixes: NB#123409 (Showing dialog consumes significant amount of
37 2009-07-29 Alejandro G. Castro <alex@igalia.com>
39 * hildon/hildon-pannable-area.c,
40 (hildon_pannable_area_timeout): Added the process updates of the
41 scrollbars window in the pannable.
43 Fixes: NB#130043 (scrollindicator not smooth while panning)
45 2009-07-23 Alejandro G. Castro <alex@igalia.com>
47 * hildon/hildon-pannable-area.c,
48 (hildon_pannable_area_check_move),
49 (hildon_pannable_area_button_release_cb),
50 (hildon_pannable_area_scroll_to): Increased the priority of the
51 timeout this way it is going to be handled before the events.
53 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
57 * configure.ac: bump version
58 * debian/changelog: updates
60 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
62 * hildon/hildon-entry.c: (set_property): Do not allow to set
63 automatic height and use finger height instead, to prevent an to
64 have a smaller size than than its theme pixbuf.
66 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
68 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
70 * configure.ac: postrelease version bump.
71 * debian/changelog: post release version bump
73 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
78 * configure.ac: Bump version.
79 * debian/changelog: Updates.
81 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
83 * hildon/hildon-note.c: (label_size_request): Take the note
84 padding into account when setting the size request.
86 Fixes: NB#127896 (Information notes text truncated)
88 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
90 * configure.ac: postrelease version bump.
91 * debian/changelog: post release version bump
93 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
98 * configure.ac: Bump version.
99 * debian/changelog: Updates.
101 2009-07-16 Alejandro G. Castro <alex@igalia.com>
104 * hildon/hildon-text-view.c,
105 (hildon_text_view_button_press_event): Grabbed the focus in button
106 press, this way we are sure the widget has the focus in the
107 release event, required for HIM.
109 Fixes: NB#121445 (Virtual keyboard opening is not working in same
110 way for each text entry field)
112 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
114 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
115 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
116 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
117 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
118 (hildon_pannable_area_[gs]et_center_on_child_focus)
119 Redefined GtkContainer set-focus-child signal, in order to center
120 properly on a child when it receives the focus. Defined a new property
121 "center-on-child-focus" in order to activate this feature (deactivated
122 by default). Public get/set methods defined to manage the property.
124 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
126 2009-07-14 László Pere <lpere@blumsoft.eu>
128 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
129 the new size is applied.
131 Fixes: NB#124510 (The Application Menu is distorted when switched
132 between portrait and landscape mode)
133 Fixes: NB#115388 (Power key menu does not resize itself)
135 2009-07-01 Alberto Garcia <agarcia@igalia.com>
137 * hildon/hildon-banner.c (hildon_banner_map):
138 Set banner position after mapping.
140 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
142 * configure.ac: postrelease version bump.
143 * debian/changelog: post release version bump
145 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
150 * configure.ac: Bump version.
151 * debian/changelog: Updates.
153 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
155 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
158 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
160 * tests/check-hildon-banner.c
162 * tests/test_suites.h
163 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
164 were testing deprecated functions.
165 * examples/hildon-banner-example.c: typo on button3 type, that causes
166 a fail compiling with --with-examples but without --disable-deprecated
168 Missed commit in order to fix compilation using '--enable-fatal' and
169 '--disable-deprecated' (see previous commit)
171 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
173 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
174 functions with #ifndef HILDON_DISABLE_DEPRECATED
175 * examples/hildon-find-toolbar.c: Protect deprecated
176 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
177 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
178 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
179 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
181 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
182 to allow proper compilation of deprecated functions defined on the header
184 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
186 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
188 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
189 Cache the panning indicator color.,
190 (hildon_pannable_area_style_set): Query the color on style changes.
191 (hildon_pannable_draw_vscroll),
192 (hildon_pannable_draw_hscroll),
193 (hildon_pannable_area_expose_event): Use the cached panning indicator
194 color instead of looking it up on every expose and more.
196 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
198 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
199 (hildon_pannable_draw_hscroll),
200 (hildon_pannable_area_expose_event): Fix the panning indicator color,
201 so that it's "SecondaryTextColor", as desired.
203 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
205 * hildon/hildon-picker-dialog.c:
206 (selection_completed): take into account HILDON_UI_MODE_NORMAL
207 * hildon/hildon-touch-selector.c
208 (hildon_touch_selector_init): Initialize hildon-ui-mode
209 (hildon_touch_selector_row_activated): new callback for the
210 "row-activated" signal, in order to save the last activated
211 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
212 if the current hildon-ui-mode is coherent with the touch selector
213 (hildon_touch_selector_class_init)
214 (hildon_touch_selector_get_property)
215 (hildon_touch_selector_set_property)
216 Added "hildon-ui-mode" property
217 (disconnect_model_handlers): renamed to clean_column
218 (hildon_touch_selector_remove): use clean_column function
219 (_create_new_column): use the hildon-ui-mode to create the treeview, and
220 only select the first element on HILDON_UI_MODE_EDIT
221 (hildon_touch_selector_column_init): Initialize last_activate
222 (hildon_touch_selector_append_column): check that the touch selector
223 is coherent with the current hildon-ui-mode
224 (hildon_touch_selector_get_hildon_ui_mode)
225 (hildon_touch_selector_set_hildon_ui_mode)
226 Added a getter/setter for the hildon-ui-mode property
227 (hildon_touch_selector_get_last_activated_row): Added this method in
228 order to get the last activated row.
229 * examples/hildon-touch-selector-normal-mode-example.c
230 New example, that shows how to use the HildonTouchSelector in
231 HILDON_UI_MODE_NORMAL
233 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
234 Kristian Rietveld <kris@lanedo.com> advices
236 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
238 * hildon/hildon-time-selector.c: (update_format_policy): Do
239 not call update_format_dependant_columns() if not necessary.
240 (update_format_dependant_columns): Remove unnecessary check for
241 the number of columns.
243 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
245 * hildon/hildon-note.c (+hildon_note_constructor),
246 (hildon_note_class_init), (+hildon_note_set_padding),
247 (hildon_note_rebuild): Install a constructor where to set the
248 padding properties in the note, so that it actually works fine.
249 Use hildon_note_set_padding() for this, and also to set it during
252 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
254 * configure.ac: Bump GTK+ requirement to 2.14.3.
255 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
256 when using maemo-gtk to define proper margins for the notes.
258 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
259 with the dialog edge)
261 2009-06-24 Alberto Garcia <agarcia@igalia.com>
263 * hildon/hildon-banner.c
264 (hildon_banner_class_init):
266 (+hildon_banner_size_request):
267 Request always the full width of the screen.
268 (hildon_banner_realize)
269 (-hildon_banner_check_position, hildon_banner_map):
270 hildon_banner_check_position() is not needed in Hildon 2.2.
271 (-hildon_banner_reset_wrap_state)
272 (hildon_banner_constructor, hildon_banner_init):
273 Remove unnecessary calls to hildon_banner_reset_wrap_state()
274 (+banner_do_set_text)
275 (force_to_wrap_truncated):
276 Remove has_been_wrapped and has_been_truncated attributes.
277 (+reshow_banner, hildon_banner_real_show_information)
278 (hildon_banner_show_information_with_markup)
279 (hildon_banner_show_animation, hildon_banner_show_progress)
280 (hildon_banner_set_text, hildon_banner_set_markup):
281 Refactor code. Shrink banner vertically to use the minimum space
282 necessary everytime the text of the label is updated.
283 (screen_size_changed):
284 Call force_to_wrap_truncated() when the size of the screen
287 Fixes: NB#120500 (only device memory connect mmc in use info
288 banner is left aligned)
290 Fixes: NB#120613 (Size of HildonBanner varies depending on
291 previously opened banners)
293 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
295 * hildon/hildon-color-chooser.c
296 (hildon_color_chooser_pointer_motion): Take the widget allocation
299 Fixes: NB#124385 (Unable to select exact point in color mixing box
300 in color palette dialog)
302 2009-06-23 Alejandro G. Castro <alex@igalia.com>
304 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
305 (hildon_pannable_area_dispose)
306 (hildon_pannable_area_button_press_cb)
307 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
308 (hildon_pannable_area_button_release_cb)
309 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
310 New 'panning-started' and 'panning-finished' signals.
312 Fixes: NB#121732 (New feature request: Signal to pannable area
313 that informs when panning is stopped.)
315 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
317 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
318 instead of hardcoded colon.
320 Fixes: NB#124090 (New calendar wizard title is not using
321 ecdg_ti_caption_separator)
323 2009-06-22 David King <davidk@openismus.com>
325 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
326 constants and functions, as well as correct many typos throughout the
329 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
332 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
334 * configure.ac: postrelease version bump.
335 * debian/changelog: post release version bump
337 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
342 * configure.ac: Bump version.
343 * debian/changelog: Updates.
345 2009-06-18 Alberto Garcia <agarcia@igalia.com>
347 * hildon/hildon-window-stack.c
348 (hildon_window_stack_pop_and_push_list):
349 Prevent windows from having the same stack index
351 2009-06-18 Alberto Garcia <agarcia@igalia.com>
353 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
354 Use the index of the previous window rather than the stack length
355 to calculate the new index.
359 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
361 * hildon/hildon-date-selector.c
362 (hildon_date_selector_select_current_date)
363 (hildon_date_selector_get_date)
364 (hildon_date_selector_select_day):
365 Update the documentation: uses always the range (1-31), as it is obvious
366 that the final one will depend on the month and the year, but globally
367 the range is this, in a similar GtkCalendar approach
368 (hildon_date_selector_get_date):
369 Update the documentation: add NULL as a valid value for the day, month
372 Fix some details, after talk with David King on bug MB#4698
374 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
376 * hildon/hildon-touch-selector-entry.c
377 * hildon/hildon-touch-selector.c
378 Update the documentation of the "text-column" property
380 2009-06-18 David King <davidk@openismus.com>
382 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
383 several typos and errors throughout the documentation.
385 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
388 2009-06-18 Alberto Garcia <agarcia@igalia.com>
390 * hildon/hildon-note.c (hildon_note_realize):
391 Make HildonNote support portrait mode.
393 Fixes: NB#123448 (HildonNote is not portrait-friendly)
395 2009-06-17 Alberto Garcia <agarcia@igalia.com>
397 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
398 Document this function
400 2009-06-17 David King <davidk@openismus.com>
402 * hildon/hildon-date-selector.c
403 (hildon_date_selector_select_current_date)
404 (hildon_date_selector_get_date): Update documentation regarding days,
405 as the day of the month is dependent on both the month and the year.
406 (hildon_date_selector_get_date): Fix documentation of output arguments.
408 Fixes: MB#4698 (DateSelector documentation has bad output argument
409 description, and the day depends on both the month and the year)
411 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
413 * hildon/hildon-caption.c: Other documentation fixes to
416 2009-06-17 David King <davidk@openismus.com>
418 * hildon/hildon-caption.c: Minor documentation updates for
419 HildonCaption. Fixes MB#4697.
421 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
423 * doc/hildon-docs.sgml: Add hildon-version section.
424 * doc/hildon-sections.txt:
425 * hildon/hildon-version.h.in: Document versioning macros and
428 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
430 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
431 from HildonPickerDialog section.
433 2009-06-16 Alberto Garcia <agarcia@igalia.com>
435 * hildon/hildon-banner.c (hildon_banner_bind_style)
436 (screen_size_changed, hildon_banner_init)
437 (hildon_banner_real_show_information)
438 (hildon_banner_show_information_with_markup)
439 (hildon_banner_show_animation, hildon_banner_show_progress):
440 Set a different widget name to banners in portrait mode, for them
441 to be themed correctly.
443 2009-06-16 Alberto Garcia <agarcia@igalia.com>
445 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
446 Set a different widget name to notes in portrait mode, for them to
449 Partially fixes: NB#118401 (HildonNote causes unnecessary
452 2009-06-16 Alberto Garcia <agarcia@igalia.com>
454 * hildon/hildon-note.c (hildon_note_class_init)
455 (+hildon_note_size_request, screen_size_changed):
456 Always request the full width of the screen.
458 Fixes: NB#118375 (unnecessary rescaling of images)
460 2009-06-16 Alejandro G. Castro <alex@igalia.com>
462 * hildon/hildon-pannable-area.c,
463 (hildon_pannable_area_init),
464 (hildon_pannable_area_realize): Replaced old code adding flags in
465 the object init, now we add it with the other flags in the realize
468 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
470 * hildon/hildon-note.c: (hildon_note_class_init): Several
471 documentation improvements to the HildonNote widget.
473 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
477 Fixes: MB#4556 (HildonNoteType is undocumented)
479 2009-06-15 Alberto Garcia <agarcia@igalia.com>
481 * hildon/hildon-picker-button.c:
482 Explain how HildonPickerButton sets the title of its dialog
484 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
485 the title of its dialog)
487 2009-06-15 Alberto Garcia <agarcia@igalia.com>
489 * hildon/hildon-check-button.c:
490 Documentation updates
492 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
495 2009-06-15 Alberto Garcia <agarcia@igalia.com>
498 * hildon/hildon-edit-toolbar-private.h
499 * hildon/hildon-edit-toolbar.c
500 (+hildon_edit_toolbar_set_progress_indicator)
501 (hildon_edit_toolbar_init): Add progress indicator to the
504 * hildon/hildon-gtk.c
505 (hildon_gtk_window_set_progress_indicator):
506 If the window contains a HildonEditToolbar, enable the progress
509 * hildon/hildon-private.h
510 * hildon/hildon-private.c
511 (+hildon_private_create_animation)
512 * hildon/hildon-banner.c
513 (-hildon_banner_create_animation):
514 Moved to hildon-private.c
516 Fixes: NB#102373 (Progress indicator also for the Edit mode
519 2009-06-15 Alberto Garcia <agarcia@igalia.com>
521 * hildon/hildon-app-menu-private.h
522 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
523 (hildon_app_menu_add_filter, +menu_item_button_event)
524 (hildon_app_menu_button_release, hildon_app_menu_init):
525 Make sure that buttons receive 'button-release-event' in spite of
526 the grab held by HildonAppMenu
528 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
530 2009-06-15 Alberto Garcia <agarcia@igalia.com>
532 * hildon/hildon-app-menu.c
533 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
534 New style property to set the size of the group of filter buttons.
536 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
538 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
543 * configure.ac: Bump version.
544 * debian/changelog: Updates.
546 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
548 * hildon/hildon-main.c: Minor documentation fixes.
550 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
552 * doc/hildon-sections.txt:
553 * hildon/hildon-defines.h: Document the defines, organize them,
554 and mark deprecations as such.
556 Fixes: MB#4463 (Hildon size #defines are undocumented)
558 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
560 * hildon/hildon-animation-actor.c:
561 * hildon/hildon-app-menu.c:
562 * hildon/hildon-button.c:
563 * hildon/hildon-date-editor.c:
564 * hildon/hildon-dialog.c:
565 * hildon/hildon-edit-toolbar.c:
566 * hildon/hildon-entry.c:
567 * hildon/hildon-program.c:
568 * hildon/hildon-remote-texture.c:
569 * hildon/hildon-stackable-window.c:
570 * hildon/hildon-text-view.c:
571 * hildon/hildon-touch-selector.c:
572 * hildon/hildon-window-stack.c:
573 * hildon/hildon-window.c:
575 Remove redundant "represents" wording from most of the documentation.
577 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
579 2009-06-12 Alberto Garcia <agarcia@igalia.com>
584 * hildon/hildon-banner-private.h
585 * hildon/hildon-banner.c:
586 Move HildonBannerPrivate to hildon-banner.c and remove
587 hildon-banner-private.h
588 Use a bit field to store private booleans.
590 2009-06-12 Alberto Garcia <agarcia@igalia.com>
592 * hildon/hildon-app-menu.c (hildon_app_menu_map):
593 Don't install a new idle function if there's already one
598 2009-06-11 Alberto Garcia <agarcia@igalia.com>
600 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
601 (+legacy_menu_realized, +legacy_menu_unmapped)
602 (+set_legacy_menu_type):
603 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
604 they can be identified by the window manager.
606 Fixes: NB#101437 (Invoking CSM on the left side of page area is
607 displayed in wrong location)
609 Fixes: MB#4563 (Popup menu won't locate at the left side of the
612 2009-06-11 Alberto Garcia <agarcia@igalia.com>
614 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
616 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
619 2009-06-11 Alberto Garcia <agarcia@igalia.com>
621 * hildon/hildon-code-dialog.c
622 * hildon/hildon-date-editor.c
623 * hildon/hildon-number-editor.c
624 * hildon/hildon-seekbar.c
625 * hildon/hildon-stackable-window.c
626 * hildon/hildon-window.c:
627 Misc documentation updates
629 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
631 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
632 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
634 Fixes: NB#117931 (Theming issues in accounts dialogs)
636 2009-06-09 Alejandro G. Castro <alex@igalia.com>
638 * hildon/hildon-pannable-area.c,
639 (hildon_pannable_area_button_release_cb): Changed the coordinates
640 of the original release in case we want to discard the release,
641 some widgets in Fremantle do not handle the leave-notify.
643 2009-06-09 Alejandro G. Castro <alex@igalia.com>
645 * hildon/hildon-pannable-area.c,
646 (hildon_pannable_area_button_release_cb): Reviewed the logic of
647 the release using the last refactored functions and avoiding the
648 movement if an element was selected.
650 2009-06-09 Alejandro G. Castro <alex@igalia.com>
652 * hildon/hildon-pannable-area.c,
653 (hildon_pannable_area_check_move),
654 (hildon_pannable_area_handle_move),
655 (hildon_pannable_area_motion_notify_cb): Refactored the
656 motion_notify method using a couple of new functions.
658 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
660 * hildon/hildon-date-selector.c:
661 (hildon_date_selector_construct_ui):
662 * hildon/hildon-time-selector.c:
663 (hildon_time_selector_constructor):
664 * hildon/hildon-touch-selector-entry.c:
665 (hildon_touch_selector_entry_set_text_column),
666 (hildon_touch_selector_entry_get_text_column):
667 * hildon/hildon-touch-selector.c: (_default_print_func),
668 (hildon_touch_selector_new_text): Use
669 hildon_touch_selector_set/get_text_column() instead of
670 setting/getting the "text-column" property.
672 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
674 * doc/hildon-sections.txt: Add the new public methods below.
676 * examples/hildon-picker-button-multicolumn-example.c:
677 (create_touch_selector):
678 * examples/hildon-touch-selector-example.c: (create_selector):
679 * examples/hildon-touch-selector-multi-cells-example.c:
681 Use hildon_touch_selector_column_set_text_column()
683 * hildon/hildon-touch-selector-column.h:
684 * hildon/hildon-touch-selector.c:
685 (hildon_touch_selector_column_set_text_column),
686 (hildon_touch_selector_column_get_text_column):
687 Make hildon_touch_selector_column_set/get_column() public, use
688 them in the inline example, document them, and reference to them
691 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
693 * hildon/hildon-time-selector.c: Fix the docs for
694 hildon_time_selector_new_step().
696 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
698 * hildon/hildon-touch-selector.c: Improve the documentation for
699 hildon_touch_selector_append_column().
701 Fixes MB#4641 (Documentation:
702 hildon_touch_selector_append_column() ref-counting)
704 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
706 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
707 Comment out test 5, since the hildon_controlbar_set_range() range
708 check is broken and fixing it would have side effects. Also,
709 this finally fixes make distcheck.
711 Fixes: NB#101420 (Update unit tests and fix make distcheck)
713 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
715 * tests/TEST-CASES.txt: Remove other bogus test.
716 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
717 Remove bogus test that was setting/retrieving a valid value.
719 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
721 * tests/TEST-CASES.txt: Remove bogus tests.
722 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
723 Remove three bogus tests that were actually setting valid colors.
725 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
727 * configure.ac: post release version bump
728 * debian/changelog: post release version bump
730 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: Bump version.
736 * debian/changelog: Updates.
738 2009-06-08 Christian Dywan <christian@lanedo.com>
742 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
743 Correct errors in hildon_format_file-size_for_display and use
744 translations from the hildon-fm package instead of osso-filemanager.
746 2009-06-08 Alejandro G. Castro <alex@igalia.com>
748 * hildon/hildon-pannable-area.c,
749 (hildon_pannable_area_init): Initialized new values to handle the
751 (hildon_pannable_area_adjust_value_changed): Check if the values
752 changed before even call the redraw function.
753 (hildon_pannable_area_size_allocate),
754 (hildon_pannable_axis_scroll),
755 (hildon_pannable_area_scroll),
756 (hildon_pannable_area_jump_to): Improved the diagonal movement
759 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
762 2009-06-08 Alberto Garcia <agarcia@igalia.com>
764 * examples/hildon-banner-example.c:
765 Several style updates
766 (on_animation_clicked, on_animation_idle)
767 (on_progress_clicked, on_progress_idle):
768 Add additional reference for the cases when the parent window is
771 2009-06-08 Alberto Garcia <agarcia@igalia.com>
773 * doc/hildon-sections.txt
774 * hildon/hildon-pannable-area.c
775 * hildon/hildon-banner.h
776 * hildon/hildon-banner.c: Documentation updates.
778 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
781 2009-06-05 Alejandro G. Castro <alex@igalia.com>
783 * hildon/hildon-calendar-popup.h:
784 * hildon/hildon-caption.h:
785 * hildon/hildon-code-dialog.h:
786 * hildon/hildon-controlbar.h:
787 * hildon/hildon-date-editor.h:
788 * hildon/hildon-dialog.h:
789 * hildon/hildon-get-password-dialog.h:
790 * hildon/hildon-hvolumebar.h:
791 * hildon/hildon-login-dialog.h:
792 * hildon/hildon-note.h:
793 * hildon/hildon-number-editor.h:
794 * hildon/hildon-range-editor.h:
795 * hildon/hildon-seekbar.h:
796 * hildon/hildon-set-password-dialog.h:
797 * hildon/hildon-sort-dialog.h:
798 * hildon/hildon-time-editor.h:
799 * hildon/hildon-time-picker.h:
800 * hildon/hildon-volumebar-range.h:
801 * hildon/hildon-volumebar.h:
802 * hildon/hildon-vvolumebar.h:
803 * hildon/hildon-weekday-picker.h:
804 * hildon/hildon-window.h:
805 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
806 macros with the current replacements
808 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
810 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
812 * hildon/hildon-color-button.c (hildon_color_button_init): Use
813 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
814 itself, to make it fit better with Fremantle style.
816 Fixes: NB#109878 (height and width of focus on color icon is not
817 consistent with other item in the application tool bar)
819 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
821 * hildon/hildon-touch-selector.c:
822 (hildon_touch_selector_optimal_size_request): use the current requisition
823 as the base, in order to include any possible extra widget, like the
824 hildon entry on HildonTouchSelectorEntry
826 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
828 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
830 * configure.ac: post release version bump
831 * debian/changelog: post release version bump
833 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
838 * configure.ac: Bump version.
839 * debian/changelog: Updates.
841 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
843 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
845 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
846 to ensure the banner contents are centered, instead of relying on
847 the expand and fill properties in GtkHBox.
848 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
850 Fixes: NB#108265 (Animation banner not properly centered)
852 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
854 * hildon/hildon-pannable-area.c
855 (hildon_pannable_area_initial_effect): Remove the initial_effect
856 management, check initial_hint
857 (hildon_pannable_are_expose_event): Remove the initial_hint management,
858 set initial_effect to FALSE
859 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
860 by launching the fade_timeout if the scrollbars state has changed and are
862 * examples/hildon-pannable-area-initial-hint-example.c
863 Modified to allow to remove rows too. Add and remove rows one by one.
865 2009-05-28 Alberto Garcia <agarcia@igalia.com>
867 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
868 Don't close the menu if there's an animation actor below it.
870 Fixes: NB#117927 (Application menu not usable with animation
873 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
875 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
876 "focus-on-click" from the dialog button, to avoid stealing the
877 focus from the entry.
879 Fixes: NB#118903 (Account setup wizard: Text in Search field
880 should be focused when "Region" touch list picker is reopened
883 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
885 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
886 (prepare_action_area): Completely hide the dialog separator.
888 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
890 * hildon/hildon-touch-selector-entry.c
891 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
892 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
893 now that the entry is exposed.
895 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
897 * hildon/hildon-touch-selector-entry.c
898 (hildon_touch_selector_entry_init): Change the entry's size
899 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
901 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
903 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
904 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
905 avoid unnecessary scaling.
907 2009-05-27 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-app-menu.c (hildon_app_menu_map):
910 Create grab transfer window before calling parent's map function.
912 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
913 "crushed" button(s) in the top left corner)
915 2009-05-26 Alberto Garcia <agarcia@igalia.com>
917 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
918 Check if the window is already realized when pushing it.
920 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
922 * configure.ac: post release version bump
923 * debian/changelog: post release version bump
925 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
930 * configure.ac: Bump version.
931 * debian/changelog: Updates.
933 2009-05-25 Alberto Garcia <agarcia@igalia.com>
935 * hildon/hildon-app-menu.c: Doc updates.
937 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
939 * hildon/hildon-banner.c: Remove leftover macro.
941 2009-05-25 Alejandro G. Castro <alex@igalia.com>
943 * hildon/hildon-pannable-area.c,
944 (hildon_pannable_area_scroll_indicator_fade),
945 (hildon_pannable_area_button_release_cb): Reviewed vmin
946 conditions, it could cause problems in the fadeout procedure.
948 2009-05-25 Alejandro G. Castro <alex@igalia.com>
950 * hildon/hildon-pannable-area.c
951 (hildon_pannable_area_button_release_cb): Added a threshold to
952 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
954 2009-05-25 Alejandro G. Castro <alex@igalia.com>
956 * hildon/hildon-pannable-area.c,
957 (hildon_pannable_area_set_property): Added code to sync the gtk
958 dnd threshold with the panning threshold.
960 2009-05-25 Alejandro G. Castro <alex@igalia.com>
962 * hildon/hildon-pannable-area.c,
963 (hildon_pannable_area_class_init): Changed some of the default
964 values, now it should be less responsive and more accurate.
966 2009-05-25 Alejandro G. Castro <alex@igalia.com>
968 * hildon/hildon-pannable-area.c,
969 (hildon_pannable_area_init),
970 (hildon_pannable_area_scroll_indicator_fade),
971 (hildon_pannable_area_button_press_cb),
972 (hildon_pannable_axis_scroll),
973 (hildon_pannable_area_timeout),
974 (hildon_pannable_area_motion_notify_cb),
975 (hildon_pannable_area_button_release_cb): Changed the name of the
976 clicked attribute to button_pressed, it is more clear about its use.
978 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
980 * src/hildon-pannable-area.c
981 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
983 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
984 vertical scrollbar visibility, and use the data on private section instead,
985 remove the initial_hint check
986 (hildon_pannable_area_expose_event): add the initial_hint check here
988 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
990 * src/hildon-pannable-area.c
991 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
992 if the fadeout effect was used
993 (hildon_pannable_area_expose_event): check if it is required to
994 manage the initial effect on the begining of the function. Previously
995 it was made at the end, but this doesn't ensure that the scrollbars
996 will be painted on the first show. Do not set to FALSE initial_effect,
997 to ensure that the initial hint is showed the first time the pannable
999 * examples/Makefile.am
1000 * examples/hildon-pannable-area-initial-hint-example.c:
1001 New example, to show that the initial-hint is showed when the widget
1004 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1005 initially if the application can be scrolled)
1007 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1009 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1010 Resize table before adding new items to make sure that
1011 gtk_table_resize() is called just once.
1013 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1015 * hildon/hildon-app-menu-private.h
1016 * hildon/hildon-app-menu.c (item_visibility_changed)
1017 (filter_visibility_changed, hildon_app_menu_show_all)
1018 (hildon_app_menu_hide_all, hildon_app_menu_init):
1019 Rearrange items just once when gtk_widget_show_all()/hide_all()
1022 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1024 * hildon/hildon-app-menu.c
1025 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1026 Don't call gtk_widget_show() on added items.
1028 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1029 automatically when they're added)
1031 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1033 * hildon/hildon-banner.c
1034 (hildon_banner_realize, +hildon_banner_unrealize)
1035 (+screen_size_changed, hildon_banner_class_init):
1036 Redisplay the banner if the screen is rotated.
1038 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1039 on transition from landscape to portrait)
1041 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1043 * hildon/hildon-banner.[ch]:
1044 (hildon_banner_show_information_override_dnd): remove icon_name from the
1045 method definition as it is ignored.
1046 * examples/hildon-banner-dnd-example.c: updated with the change on
1049 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1051 * hildon/hildon-banner-private.h: new require_override_dnd and
1052 overrides_dnd variables
1053 * hildon/hildon-banner.h:
1054 (hildon_banner_show_information_override_dnd): new method, that shows
1055 the information but sets the override flag, in order to show important
1057 * hildon/hildon-banner.c
1058 (hildon_banner_show_information_override_dnd): new method
1059 (hildon_banner_set_override_flag): new utility function
1060 (hildon_banner_real_show_information): new utility function, in order to
1061 generalize the current hildon_banner_show_information_override_dnd and
1062 hildon_banner_show_information_override_dnd
1063 * examples/Makefile.am
1064 * examples/hildon-banner-dnd-example.c: New example that show how to
1065 use the new hildon_banner_show_information_override_dnd
1067 Fixes: NB#114874 (There is no possibility to show hildon banners with
1070 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1072 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1073 behind hildon_pannable_calculate_vel_factor().
1075 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1077 * hildon/hildon-pannable-area.c
1078 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1079 deceleration factors.
1081 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1083 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1084 Reduce the default value for 'scroll_time' to 1 second, since the
1085 current initial scrolling takes too much time.
1087 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1089 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1090 calculate velocity factor during initialization, since the properties
1093 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1095 * hildon/hildon-pannable-area.c
1096 (hildon_pannable_area_set_property): Calculate the velocity factor
1097 after setting the deceleration property and not after.
1099 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1101 * hildon/hildon-entry.c
1102 (hildon_entry_class_init, +set_property, hildon_entry_new)
1103 * hildon/hildon-check-button.c
1104 (hildon_check_button_class_init)
1105 (+set_property, hildon_check_button_new):
1106 Make the theme size a property.
1108 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1109 others) do too much in the _new function)
1111 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1113 * configure.ac: post release version bump
1114 * debian/changelog: post release version bump
1116 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1121 * configure.ac: Bump version.
1122 * debian/changelog: Updates.
1124 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1126 * hildon/hildon-gtk.h
1127 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1128 New API function to take a screenshot of a window
1130 Fixes: NB#106374 (Need API to take a loading screenshot)
1132 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1134 * hildon/hildon-time-selector.c
1135 (update_format_policy): prevent to use hours and minutes unitialized
1137 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1139 * hildon/hildon-window.c (hildon_window_size_request):
1140 Always request the full size of the screen (minus the title bar if
1141 not in fullscreen mode).
1143 Fixes: NB#107486 (HildonWindow should size itself properly)
1145 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1147 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1148 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1149 (on_show_cb), (sound_handling): Disconnect the idle handler for
1150 the sound when the note is finalized to avoid possible crashes.
1152 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1155 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1157 * src/hildon-animation-actor.c,
1158 * src/hildon-remote-texture.c:
1159 Added proper object cleanup to remove signal handler and object
1160 references as HildonAnimationActor and HildonRemoteTexture
1161 objects get destroyed.
1163 Fixes: NB#116682 (Destroying parented animation actors when
1164 parent in unmapped leads to crash)
1166 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1168 Based on a patch by Christian Dywan (christian@imendio.com)
1170 * doc/hildon-sections.txt:
1171 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1172 * hildon/hildon-helper.h: New file size formatting method.
1174 * debian/control: Depend on osso-filemanager l10n package for
1175 proper localization strings.
1177 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1179 * tests/Makefile.am: Include top_srcdir to make possible to build
1180 tests in a different builddir.
1181 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1182 on a different builddir.
1184 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1186 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1187 (hildon_touch_selector_remove): Disconnect model's signal handler
1190 Fixes: NB#116289 (Hildon home crashes while adding task
1193 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1195 * hildon/hildon-button.c
1196 (hildon_button_set_title, hildon_button_set_value):
1197 Hide labels containing an empty string.
1199 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1201 * configure.ac: post release version bump
1202 * debian/changelog: post release version bump
1204 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1209 * configure.ac: Bump version.
1210 * debian/changelog: Updates.
1212 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1214 * hildon/hildon-note-private.h: Removed sound_signal_handler
1215 * hildon/hildon-note.c
1216 (on_show_cb): new callback on note "show" event, this simply adds
1217 a idle, with the function sound_handling
1218 (sound_handling): removed the sound_signal_handler management
1219 (hildon_note_init): connect note "show" event to on_show_cb
1220 (hildon_note_realize): remove the connection to "expose-event"
1222 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1223 device?' confirmation note)
1225 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1227 * hildon/hildon-note.c
1228 (hildon_note_new_information_with_icon_name)
1229 (hildon_note_new_confirmation_with_icon_name):
1230 Terminate the list of parameters in g_object_set() calls
1232 Fixes: NB#115166 (Formatting memory card is not taking place)
1234 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1236 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1237 "dialog-information" role for the sound being played.
1239 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1241 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1242 Don't make the menu a modal window, it causes strange interactions
1243 with the pointer grab and it's not really needed.
1245 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1247 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1249 * hildon/hildon-touch-selector.[ch]
1250 (hildon_touch_selector_optimal_size_request): function added to get a
1251 optimal size request from the touch selector, when you want a dialog to
1252 show as much of the selector
1253 * hildon/hildon-picker-dialog.c:
1254 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1255 (hildon_app_menu_class_init):
1256 New "max-height-landscape" and "max-height-portrait" style properties
1257 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1258 (hildon_picker_dialog_get_max_height): returns the maximum height using
1259 the style properties defined and checking the current portrait/landscape
1261 (_hildon_picker_dialog_set_selector): removed the set_size_request
1263 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1265 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-bread-crumb-trail.c:
1268 * hildon/hildon-bread-crumb.c:
1269 * hildon/hildon-seekbar.c:
1270 Add reference to replacements for these deprecated widgets.
1272 Fixes: MB#4461 (Documentation: All deprecations should mention
1275 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1277 * examples/hildon-remote-texture-example.c
1279 Change the include to the hildon-remote-texture in order to compile
1280 properly the examples on the installed libhildon1-examples package
1282 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1284 * tests/Makefile.am: Add check for HildonPickerButton.
1285 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1286 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1287 checks for the HildonPickerButton.
1288 * tests/check_test.c (configure_tests): Add the test suite.
1289 * tests/test_suites.h: likewise.
1291 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1293 * hildon/hildon-touch-selector.c
1294 (+on_row_changed): Emit HildonTouchSelector:changed when the
1295 contents of a selected row change.
1296 (_create_new_column), (_hildon_touch_selector_set_model): connect
1297 to GtkTreeModel:row-changed on a newly set model.
1299 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1301 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1303 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1305 * hildon/hildon-banner.c (hildon_banner_destroy)
1306 (hildon_banner_show_progress, hildon_banner_set_fraction):
1307 Remove the progress bar from HildonBanner and use a progress
1310 Fixes: NB#113761 (Update progress banner to use progress
1313 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1315 * hildon/hildon-banner.c:
1316 Calculate size of the banner label using the actual screen width
1317 rather than using a fixed value.
1319 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1322 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1324 * hildon/hildon-pannable-area.c,
1325 (hildon_pannable_area_class_init): Fixed signals documentation
1328 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1330 * configure.ac: post release version bump
1331 * debian/changelog: post release version bump
1333 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1338 * configure.ac: Bump version.
1339 * debian/changelog: Updates.
1341 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1343 * hildon/hildon-edit-toolbar.c
1344 (hildon_edit_toolbar_init):
1345 Don't let buttons in HildonEditToolbar receive focus.
1347 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1348 typing on an HW arrows key)
1350 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1352 * doc/Makefile.am: Fix build.
1354 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1356 * doc/Makefile.am: Do not redefine content_files.
1358 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1366 Renamed src/ to hildon/
1371 Include <hildon/hildon.h> directly in all examples.
1373 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1375 * src/hildon-sort-dialog.c
1376 (hildon_sort_dialog_add_sort_key_with_sorting)
1380 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1382 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1383 make distcheck passes.
1385 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1387 * Makefile.am: Enable gtk-doc during distcheck.
1389 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1391 * Makefile.am: Do not distribute the debian/ directory.
1393 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1395 * doc/Makefile.am: Add the extra SGML files to content_files,
1396 so that they are distributed properly.
1398 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1400 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1403 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1406 (hildon_note_new_information_with_icon_name): Set the "icon" property
1407 to preserve soundness.
1409 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-font-selection-dialog.c
1412 (hildon_font_selection_dialog_set_property): Fail when the "family"
1413 property is set to NULL.
1415 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1420 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1422 * src/hildon-time-selector.h:
1423 Added HildonTimeSelectorFormatPolicy
1424 * src/hildon-time-selector.c:
1425 Added PROP_TIME_FORMAT_POLICY
1426 (_check_ampm_format): renamed to check_automatic_ampm_format
1427 (update_format_policy), (update_format_dependant_columns): new functions
1428 (hildon_time_selector_class_init)
1429 (hildon_time_selector_contructor)
1430 (hildon_time_selector_init)
1431 (hildon_time_selector_get_property)
1432 (hildon_time_selector_set_property)
1433 (hildon_time_selector_get_time)
1434 (hildon_time_selector_set_time)
1435 * src/hildon-touch-selector.h: new file
1436 * src/hildon-touch-selector.c
1437 (hildon_touch_selector_emit_changed)
1438 (hildon_touch_selector_block_changed)
1439 (hildon_touch_selector_unblock_changed)
1440 Added functions to allow to block the emission of the "changed" signal
1441 * src/hildon-picker-dialog.c
1442 (hildon_picker_dialog_show): call the parent show before the custom code
1443 * examples/hildon-time-button-example.c
1444 Modified, so now you can configure the time format using the new property
1446 Added a new property "time-format-policy" that allow to choose the time
1447 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1448 case it uses gconf in order to check if the time selector must use
1451 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1454 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1456 * src/hildon-note.c (hildon_note_init):
1457 Label in HildonNote must be left aligned, not centered. This
1458 reverts the last commit in HildonNote.
1460 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1461 is connectivity dialog)
1463 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1468 * doc/hildon-sections.txt:
1469 Added hildon_gtk_window_set_do_not_disturb()
1471 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-note.c (hildon_note_init): Center label.
1475 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1478 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1483 * configure.ac: Bump version.
1484 * debian/changelog: Updates.
1486 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-note-private.h: Add button-width to the private data.
1489 * src/hildon-note.c (+resize_button),
1490 (+hildon_note_orientation_update): methods to repack widgets on orientation
1492 (screen_size_changed): Call above method for confirmation notes.
1493 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1494 (hildon_note_rebuild): Store the original width request from buttons.
1496 Fixes: NB#109635 (Confirmation notes do not support portrait)
1498 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1501 when it is a progress note.
1503 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1505 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1506 in the note, since there are no horizontally arranged contents.
1508 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1510 * src/hildon-gtk.c (+set_flag): new generic method to
1511 set/delay a flag setting in a window.
1512 (hildon_gtk_window_set_progress_indicator):
1513 (hildon_gtk_window_set_do_not_disturb),
1514 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1515 avoid code redundance.
1517 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1519 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1521 * src/hildon-gtk.c (set_clear_window_flag),
1522 (do_set_progress_indicator), (do_set_do_not_disturb),
1523 (do_set_portrait_flags),
1524 (hildon_gtk_window_set_progress_indicator),
1525 (hildon_gtk_window_set_do_not_disturb),
1526 (hildon_gtk_window_set_portrait_flags):
1527 Allow setting dnd-flag, progress indicator, and portrait flags
1528 when the window is not realized.
1530 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1532 * src/hildon-pannable-area.c,
1533 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1534 the size request policy function and defines.
1536 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1538 * doc/hildon-sections.txt: Add the new API.
1539 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1540 method to set the portrait flags.
1541 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1543 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1545 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1548 to allow using this method with other flags.
1549 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1550 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1552 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1554 * src/hildon-touch-selector.c
1555 (hildon_touch_selector_append_text_column):
1556 Make the cell renderer use the smallest width possible.
1558 Fixes: NB#108470 (Selected items in multiple selection are either
1559 having a tick that is cut or not visible at all.)
1561 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-touch-selector.c
1564 (hildon_touch_selector_append_text_column):
1567 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1569 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1570 Use g_strdup_printf() instead of a fixed size buffer.
1572 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1574 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1575 Close banners when a HildonAppMenu is popped up.
1577 Fixes: NB#111027 (Title menu closed immediately if activated when
1578 "Invalid e-mail address" banner is shown)
1580 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1585 * configure.ac: Bump version.
1586 * debian/changelog: Updates.
1588 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1590 * src/hildon-banner.c (hildon_banner_realize):
1591 Mark HildonBanner as supporting portrait mode.
1592 Use GDK to set window properties insetad of direct Xlib calls.
1594 Fixes: NB#111830 (HildonBanner should be marked as supporting
1597 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1599 * src/hildon-note.c (hildon_note_rebuild):
1600 Hide action area in information notes. Prevents text from being
1601 slightly aligned to the left.
1603 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1606 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1608 Patch by Mox Soini (ext-mox.soini@nokia.com)
1610 * src/hildon-banner.c (hildon_banner_create_animation):
1611 Use stylus-sized icons in animation banner.
1613 Fixes: NB#111206 (stylus sized icon for animation banner)
1615 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1619 (+hildon_gtk_window_set_do_not_disturb):
1620 New API to set the do-not-disturb flag.
1622 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1624 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1626 * examples/hildon-progress-indicator-example.c: Fix example
1628 * src/hildon-gtk.c (set_clear_window_flag)
1629 (hildon_gtk_window_set_progress_indicator):
1630 Create a generic function for setting flags to a window.
1631 Use GDK instead of direct Xlib calls.
1633 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-button.c (hildon_button_set_arrangement):
1636 Due to NB#88126, if one of the labels is too long it will be
1637 painted outside the button. The 'value' label is more likely to be
1638 the longest one, so we change its packing options in order to
1639 truncate it if necessary. As a side effect, the 'title' label will
1640 no longer be truncated.
1642 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1644 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1649 * configure.ac: Bump version.
1650 * debian/changelog: Updates.
1652 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1654 Deprecation of the hildon_pannable_area_set_size_request_policy
1655 API, the only policy properly supported in gtk+ nowadays is the
1658 * src/hildon-pannable-area.c,
1659 (hildon_pannable_area_size_request): Added a workaround for the
1660 size_request to avoid the problems of huge pixmaps in case someone
1661 is still using the function.
1662 * src/hildon-pannable-area.h: Deprecated the enum with the
1665 Fixes: NB#110244 (Problems with the
1666 hildon_pannable_area_set_size_request_policy API)
1668 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1670 * src/hildon-pannable-area.c,
1671 (hildon_pannable_area_init),
1672 (hildon_pannable_area_size_request),
1673 (hildon_pannable_area_style_set),
1674 (hildon_pannable_draw_vscroll),
1675 (hildon_pannable_draw_hscroll),
1676 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1677 indicator_width to clarify the use of the attribute.
1679 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1684 * configure.ac: Bump version.
1685 * debian/changelog: Updates.
1687 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1689 * src/hildon-picker-dialog.c
1690 * src/hildon-touch-selector.c
1691 Reverting the change that tried to avoid the hardcoded height on
1692 the picker dialog, as causes problems on the hildon-touch-selector
1695 Fixes: NB#110029 (selectors not scrolling to selected value)
1697 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1699 * src/hildon-touch-selector.c: Fix typos
1701 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1703 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1704 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1705 request more motions after using it.
1707 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1709 * src/hildon-calendar.c (hildon_calendar_expose),
1710 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1711 Remove unused variables.
1713 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1715 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1716 variable assignment.
1718 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1721 Check the return value of gtk_tree_selection_get_selected()
1724 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1726 * src/hildon-animation-actor.c
1727 * src/hildon-button.c
1729 * src/hildon-pannable-area.c
1730 * src/hildon-picker-button.c
1731 * src/hildon-program.c
1732 * src/hildon-remote-texture.c
1733 * src/hildon-text-view.c
1734 * src/hildon-touch-selector.c
1735 * src/hildon-window-stack.c
1736 * src/hildon-window.c:
1737 Add missing 'Since: 2.2' tags.
1739 * doc/hildon-sections.txt:
1740 Add some missing symbols.
1742 * doc/hildon-docs.sgml:
1743 New 'Other' section for HildonAnimationActor and
1746 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1748 Patch by Iván Gómez (igomez@igalia.com)
1751 * doc/compiling.sgml
1752 * doc/hildon-docs.sgml
1753 * doc/hildon-sections.txt
1754 * doc/migration.sgml
1755 * doc/resources.sgml
1757 New chapters on using the Hildon library.
1758 Updated the general structure of the reference manual.
1759 Other minor documentation fixes.
1761 * src/hildon-calendar-popup.c
1762 * src/hildon-calendar.c
1763 * src/hildon-controlbar.c
1764 * src/hildon-date-editor.c
1765 * src/hildon-dialog.c
1766 * src/hildon-hvolumebar.c
1767 * src/hildon-number-editor.c
1768 * src/hildon-range-editor.c
1769 * src/hildon-sort-dialog.c
1770 * src/hildon-time-editor.c
1771 * src/hildon-time-picker.c
1772 * src/hildon-volumebar-range.c
1773 * src/hildon-volumebar.c
1774 * src/hildon-vvolumebar.c
1775 * src/hildon-weekday-picker.c:
1776 Add deprecation notes
1778 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1779 Document 'horizontal-movement' and 'vertical-movement' signals.
1781 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1786 * configure.ac: Bump version.
1787 * debian/changelog: Updates.
1789 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1791 * src/hildon-pannable-area.c,
1792 (hildon_pannable_area_class_init): increased the minimum velocity.
1793 (hildon_pannable_area_button_release_cb): Updated the
1794 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1795 setup. Review the code to control that last event.
1797 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1800 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1802 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1804 * src/hildon-get-password-dialog.c
1805 (hildon_get_password_set_property),
1806 (hildon_get_password_get_property), (create_contents):
1807 * src/hildon-login-dialog-private.h:
1808 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1809 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1810 (hildon_login_dialog_get_password):
1811 * src/hildon-set-password-dialog-private.h:
1812 * src/hildon-set-password-dialog.c
1813 (hildon_set_password_set_property),
1814 (hildon_set_password_get_property), (create_contents),
1815 (hildon_set_password_response_change),
1816 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1818 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1819 instead and look more Fremantle style.
1821 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1823 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1825 * doc/hildon-sections.txt
1826 * src/hildon-window-stack.h
1827 * src/hildon-window-stack.c
1828 (+hildon_window_stack_get_windows):
1829 New API to obtain the list of windows on a stack.
1831 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1833 * src/hildon-app-menu.c (hildon_app_menu_popup)
1834 (hildon_app_menu_class_init, -hildon_app_menu_show):
1835 Remove hildon_app_menu_show() and move all its checks to
1836 hildon_app_menu_popup()
1838 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1840 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1841 (_hildon_picker_dialog_set_selector): removed call to
1842 gtk_widget_set_size_request
1843 * src/hildon-touch-selector.c
1844 (_create_new_column): change the pannable size request policy
1846 Avoid to use a hardcoded height for the hildon picker dialog. In order
1847 to get that, we needed to change the hildon pannable size request
1849 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1851 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1854 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1857 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1859 * debian/control: Depend on osso-system-lock localization package.
1860 * src/hildon-code-dialog.c: Obtain the secu_application_title
1861 translation from osso-system-lock.
1862 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1863 for translation the atk related strings, that's not necessary.
1864 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1865 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1866 cancel button, it is not required.
1868 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1870 * src/hildon-pannable-area.c,
1871 (hildon_pannable_area_class_init): Modified the default value of
1872 the overshooting max speed, we have reduced it.
1874 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1876 * doc/hildon-sections.txt
1877 * src/hildon-window-private.h
1878 * src/hildon-window.h
1879 * src/hildon-window.c (hildon_window_class_init)
1880 (hildon_window_init, hildon_window_finalize)
1881 (hildon_window_realize, hildon_window_get_property)
1882 (hildon_window_set_property, hildon_window_update_markup)
1883 (hildon_window_get_markup, hildon_window_set_markup):
1884 New "markup" property and hildon_window_{get,set}_markup() methods.
1886 * examples/hildon-stackable-window-example.c (new_window):
1887 Update example to use hildon_window_set_markup()
1889 Fixes: NB#106375 (Need API to retitle a window with a title
1892 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1894 * src/hildon-pannable-area.c,
1895 (hildon_pannable_area_class_init): Changed the default value of
1896 the initial_hint to TRUE.
1897 (hildon_pannable_area_initial_effect): Changed the initial effect,
1898 not the effect is just the fade-out of the scrollbars.
1900 Fixes: NB#107775 (No scrollbars can be seen when several items are
1901 available in a dialog)
1903 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1905 * src/hildon-program.c (hildon_program_update_top_most):
1908 Fixes: NB#109179 (Memory leak in Hildon program)
1910 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1912 * src/hildon-banner.c (-get_current_app_window):
1913 Remove unused function.
1915 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1917 * src/hildon-pannable-area.c: Modified the documentation of the
1918 get adjustments functions to explain the problem of using the
1919 adjustment directly.
1920 (hildon_pannable_area_class_init): Improved the explanation about
1923 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1925 * src/hildon-app-menu-private.h
1926 * src/hildon-app-menu.c
1927 (hildon_app_menu_class_init):
1928 Bring back the 'external-border' style property
1929 (hildon_app_menu_class_init, hildon_app_menu_init)
1930 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1931 Set a fixed width-request for the menu, independent of the number
1934 Fixes: NB#94957 (Smoothly opened application menu)
1936 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1940 * src/hildon-banner.c
1941 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1943 Make sure that the banner is correctly placed the first time it's
1945 (hildon_banner_check_position, -check_fullscreen_state):
1946 Show the banner in the same place no matter if the window is in
1947 fullscreen mode or not.
1949 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1951 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-touch-selector.c (_default_print_func): reorder
1954 concatenation for clarity.
1956 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1958 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1959 for multicolumn selectors.
1961 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1963 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1968 * configure.ac: Bump version.
1969 * debian/changelog: Updates.
1971 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1976 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1978 * configure.ac: removed libcangerra-gtk dependency
1979 * debian/control: removed libcanberra-gtk dependency
1980 * src/Makefile.am: removed libcanberra gtk related flags
1981 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1982 context, and manage a global canberra context instead
1984 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1986 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1988 Patch by Daniel Borgmann (danielb@openismus.com)
1990 * src/hildon-edit-toolbar.c:
1991 Adjust the left padding.
1992 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1993 Paint background of the edit toolbar.
1995 Fixes: NB#107897 (Patch to make editmodetoolbar background
1996 themeable and adjust margin)
1998 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2000 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2002 * src/hildon-program.c (hildon_program_update_top_most):
2003 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2005 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2006 change when the user tasks in/out of an application)
2008 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2010 * configure.ac: added libcangerra-gtk dependency
2011 * debian/control: added libcanberra-gtk dependency
2012 * src/Makefile.am: added libcanberra gtk related flags
2013 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2016 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2018 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-program.c (hildon_program_remove_window)
2021 (hildon_program_add_window): Add checks for the window
2022 parameter. Don't decrease the window counter if the window is not
2025 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2027 * src/hildon-pannable-area.c,
2028 (hildon_pannable_area_realize): Fixed position of the event_window
2029 in the realize method.
2031 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2033 * src/hildon-app-menu-private.h
2034 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2035 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2036 (hildon_app_menu_key_press, hildon_app_menu_init)
2037 (hildon_app_menu_finalize):
2038 Make sure that all idle functions are removed when the widget is
2041 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2043 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2048 * configure.ac: Bump version.
2049 * debian/changelog: Updates.
2051 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-entry.c
2054 (+hildon_entry_show_placeholder),
2055 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2056 that replace hildon_entry_update_contents().
2057 (hildon_entry_set_text),
2058 (hildon_entry_set_placeholder),
2059 (hildon_entry_focus_in_event),
2060 (hildon_entry_focus_out_event): Determine when it is needed
2061 either to show or hide the placeholder and call the above methods.
2063 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2064 when the placeholder text is already set)
2066 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2069 simple GdkPixbufAnim using the new icons for the banner.
2070 (hildon_banner_show_animation): Use the above mentioned method to
2071 create the animation widget.
2073 Fixes: NB#103564 (Make hildon animation banner use individual
2074 image files as the animation)
2076 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2078 * src/hildon-pannable-area.c,
2079 (hildon_pannable_leave_notify_event): Check if the child is NULL
2080 to avoid sending the leave.
2082 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2084 * src/hildon-pannable-area.c,
2085 (hildon_pannable_area_class_init),
2086 (hildon_pannable_leave_notify_event): Added a handler of the
2087 leave-notify-signal to consider when no motion notify before
2090 Fixes: NB#107494 (Items stay selected when clicking and moving
2091 away when inside pannable area)
2093 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2098 * configure.ac: Bump version.
2099 * debian/changelog: Updates.
2101 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2103 Patch by Alberto Garcia (agarcia@igalia.com)
2105 * src/hildon-date-button.c,
2106 (hildon_date_button_class_init),
2107 (hildon_date_button_init): Removed the construct property handling
2108 and created a default selector in the init method.
2109 * src/hildon-picker-button.c,
2110 (hildon_picker_button_class_init): Removed the construct flag of the
2113 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2115 * src/hildon-main.c (hildon_init):
2116 Don't allow hildon_init() to be called more than once.
2118 Fixes: NB#106607 (hildon_init should issue error message upon
2121 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2123 * examples/hildon-pannable-area-touch-list-example.c
2124 * examples/hildon-pannagle-area-touch-grid-example.c
2125 * examples/hildon-edit-toolbar-example.c
2126 * examples/hildon-touch-selector-multi-cells-example.c
2127 Removed the call to gtk_rc_parse_string, as it is not required since
2130 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2132 * src/hildon-pannable-area.c,
2133 (hildon_pannable_area_class_init): Modified the default panning
2134 threshold of the widget to 6px.
2136 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2137 than the threshold value ) within the button is not sending the
2140 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2142 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2143 for the treeview in the new column. This way, the touch list will never
2146 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2147 be selected manually for the HW keys to work)
2149 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2151 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2152 comparison instead of using strcmp(). Fixes a compiler warning as well.
2154 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2156 * doc/hildon-docs.sgml: Do not set the library version in the
2157 document title, use the releaseinfo tag for that purpose instead.
2159 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2161 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2162 Do not jump to the first item if the text in the entry is removed.
2164 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2169 * configure.ac: Bump version.
2170 * debian/changelog: Updates.
2172 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-entry.c (hildon_entry_refresh_contents):
2175 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2176 Use "ReversedSecondaryTextColor" for the placeholder text.
2178 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-text-view.c: Fix compilation warning.
2182 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-button.c (hildon_button_class_init): Don't make
2185 "title" and "value" construction properties, to prevent them from
2186 overwriting labels set from derived classes.
2188 * src/hildon-picker-button.c
2189 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2190 (hildon_picker_button_class_init): Make touch-selector a
2191 construction property.
2193 * src/hildon-date-button.c (hildon_date_button_class_init)
2194 (+hildon_date_button_constructed): Add a default date selector if
2197 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-touch-selector.c: Small documentation fixes.
2201 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2203 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2205 * src/hildon-entry.c (hildon_entry_refresh_contents),
2206 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2207 widget name, set the logical color directly instead and a boolean
2208 showing_placeholder instead.
2209 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2210 use the widget name here either.
2212 Fixes: NB#105678 (HildonTextView should use logical colours
2213 instead of setting widget name)
2215 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2217 Patch by Daniel Elster (danielk@openismus.com)
2219 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2220 Add user_data parameter.
2221 (hildon_touch_selector_set_print_func_full): New function akin
2222 hildon_touch_selector_set_print_func() but with support for user
2223 data and a destroy callback.
2224 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2225 to clean up the print function user data.
2226 (hildon_touch_selector_class_init): Install dispose function.
2227 (HildonTouchSelectorPrivate::print_user_data),
2228 (HildonTouchSelectorPrivate::print_destroy_func): New private
2230 (hildon_touch_selector_init): Initialize new private members.
2231 (hildon_touch_selector_get_current_text): Pass along user data
2232 to the print function.
2233 (_default_print_func): Add dummy user_data to parameter list.
2234 * hildon-date-selector.c (_custom_print_func): ditto,
2235 * hildon-time-selector.c (_custom_print_func): ditto,
2236 * hildon-touch-selector-entry.c
2237 (hildon_touch_selector_entry_print_func): ditto.
2239 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2241 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2243 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2245 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2247 * src/hildon-pannable-area.c,
2248 (hildon_pannable_area_init),
2249 (hildon_pannable_area_button_press_cb),
2250 (hildon_pannable_area_motion_notify_cb): We have added code to
2251 handle the leave and enter events when using the motion events.
2253 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2255 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-date-button.c (hildon_date_button_get_date)
2258 (hildon_date_button_set_date): Make sure that the button has a
2261 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2263 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2265 * src/hildon-pannable-area.c,
2266 (hildon_pannable_area_class_init),
2267 (hildon_pannable_area_calculate_velocity): Modify the use of the
2268 force and adapt the value.
2270 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2273 (hildon_app_menu_class_init): Hide the menu if it receives a
2274 delete-event, but don't destroy it
2276 Fixes: NB#104485 (Not able to address the call when application
2277 menu is opened at background)
2279 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-app-menu.c
2282 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2283 Remove the "external-border" style property, let the menu take its
2284 natural size (or the one set by the window manager)
2285 (hildon_app_menu_repack_items):
2286 Don't reshow the menu, avoid flickers.
2288 Partially fixes NB#94957 (Smoothly opened application menu)
2290 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: Bump version.
2296 * debian/changelog: Updates.
2298 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2300 * src/hildon-pannable-area.c,
2301 (hildon_pannable_area_motion_notify_cb): We control that the
2302 direction error margin is used just in case the movement is
2303 allowed in the other direction.
2305 Fixes: NB#105012 (buttons inside a pannable area not getting
2306 release event when dragging/releasing)
2308 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2310 * src/hildon-pannable-area.c,
2311 (hildon_pannable_area_class_init),
2312 (hildon_pannable_area_get_property),
2313 (hildon_pannable_area_set_property),
2314 (hildon_pannable_area_initial_effect),
2315 (hildon_pannable_axis_scroll),
2316 (hildon_pannable_area_button_release_cb): Reviewed the
2317 overshooting effect, now it has its own max
2318 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2319 speed when bouncing.
2321 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2326 * configure.ac: Bump version.
2327 * debian/changelog: Updates.
2329 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2331 * src/hildon-pannable-area.c,
2332 (hildon_pannable_area_class_init): Changed the max speed, now
2333 users can launch the widget very fast. Reduced the default force,
2334 that way it is easier to control the launch speed.
2336 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2338 * src/hildon-pannable-area.c,
2339 (hildon_pannable_area_button_release_cb): Removed this check
2340 because it causes problems when the device is overloaded.
2342 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2345 add a current_text field to store the text entered in the
2346 touch selector entry.
2347 (_clean_current_selection): clean up the current text as well.
2348 (_save_current_selection), (_restore_current_selection):
2349 Save/restore the text in the entry if the selector is a
2350 HildonTouchSelectorEntry.
2352 Fixes: NB#102541 (value entered in the touch selector entry is not
2353 shown when opened for second time)
2355 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2357 * doc/hildon-sections.txt:
2358 * src/hildon-touch-selector-entry.c
2359 (+hildon_touch_selector_entry_get_entry):
2360 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2362 Fixes: NB#104815 (I need accessor to the entry inside
2363 HildonTouchSelectorEntry)
2365 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2368 (hildon_app_menu_class_init):
2369 New "filter-vertical-spacing" style property.
2371 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-find-toolbar.c
2374 (hildon_find_toolbar_emit_close)
2375 (hildon_find_toolbar_emit_invalid_input)
2376 (hildon_find_toolbar_entry_activate):
2377 Use g_signal_emit() instead of g_signal_emit_by_name()
2379 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2381 Patch by Mox Soini (ext-mox.soini@nokia.com)
2383 * tests/TEST-CASES.txt
2384 * tests/check-hildon-banner.c
2385 * tests/check-hildon-note.c
2386 * src/hildon-banner.c
2387 * src/hildon-code-dialog.c
2388 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2389 * src/hildon-time-editor.c
2390 * examples/hildon-lookup-example.c (main):
2391 Replace obsolete icon names with new ones.
2393 * src/hildon-find-toolbar-private.h:
2394 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2395 (-hildon_find_toolbar_emit_search):
2396 Remove find button and change icon of close button.
2398 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2400 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-time-button.c (hildon_time_button_new_step):
2403 Use the "touch-selector" property to set the selector directly
2404 when creating the object.
2406 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2408 Added a new example application that allows tuning the pannable
2409 area and replaced defines with properties in order to simplify the
2410 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2411 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2412 PROP_DIRECTION_ERROR_MARGIN.
2414 * examples/hildon-pannable-area-tuning-example.c: New example
2416 * src/hildon-pannable-area.c,
2417 (hildon_pannable_area_class_init),
2418 (hildon_pannable_area_init),
2419 (hildon_pannable_area_get_property),
2420 (hildon_pannable_area_set_property),
2421 (hildon_pannable_area_launch_fade_timeout),
2422 (hildon_pannable_area_adjust_value_changed),
2423 (hildon_pannable_axis_scroll),
2424 (hildon_pannable_area_motion_notify_cb),
2425 (hildon_pannable_area_scroll_cb),
2426 (hildon_pannable_area_button_release_cb): We have converted some
2427 of the defines that control the widget to properties to simplify
2430 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-app-menu.c (hildon_app_menu_map)
2433 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2434 so it's closed if a new window appears.
2436 Fixes: NB#104485 (Not able to address the call when application
2437 menu is opened at background)
2439 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2441 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2442 missing 'break' statement in in 'case' construct to avoid
2445 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2447 * src/hildon-touch-selector-entry.c
2448 (hildon_touch_selector_entry_get_property),
2449 (hildon_touch_selector_entry_set_property): Add missing 'break'
2450 statements in in 'case' constructs to avoid incorrect warnings.
2452 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-time-editor.c
2455 (hildon_time_editor_get_time_separators): Do not crash if
2456 the first label is NULL.
2458 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2460 * src/hildon-date-selector.c (_month_days): Check for month to be
2461 strictly less than 12, since otherwise we may overrun the array.
2463 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2465 * src/hildon-date-button.c (+hildon_date_button_new_full)
2466 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2467 (hildon_date_button_init): Set the date selector using a
2468 construction property, to make it happen after HildonButton's
2469 "value" property is set.
2471 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2472 current date by default)
2474 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2476 * doc/hildon-sections.txt
2477 * src/hildon-program.c
2478 * src/hildon-stackable-window.c
2479 * src/hildon-window.c:
2480 Documentation updates
2482 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2485 (hildon_window_stack_new, +hildon_window_stack_set_property)
2486 (+hildon_window_stack_get_property)
2487 (hildon_window_stack_class_init)
2488 (+hildon_window_stack_set_window_group)
2489 (+hildon_window_stack_get_window_group):
2490 Make the window group a construction property.
2492 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2494 * doc/hildon-sections.txt
2495 * src/hildon-stackable-window-private.h
2496 * src/hildon-stackable-window.h
2497 * src/hildon-stackable-window.c
2498 (-hildon_stackable_window_set_app_menu)
2499 (-hildon_stackable_window_get_app_menu)
2500 (-hildon_stackable_window_toggle_menu)
2501 (-hildon_stackable_window_finalize)
2502 (hildon_stackable_window_class_init)
2503 (hildon_stackable_window_init)
2504 * src/hildon-window-private.h
2505 * src/hildon-window.h
2506 * src/hildon-window.c (hildon_window_init)
2507 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2508 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2509 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2510 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2511 Moved all HildonAppMenu code to HildonWindow. The menu does not
2512 require a HildonStackableWindow anymore.
2514 * src/hildon-app-menu.c
2515 * src/hildon-program.c
2516 * examples/hildon-app-menu-example.c (main):
2517 Update examples and documentation to reflect HildonAppMenu
2520 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-remote-texture.c
2523 * src/hildon-animation-actor.c:
2524 Don't include unused private headers.
2526 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2528 * src/hildon-program-private.h
2529 * src/hildon-program.c
2530 (hildon_program_set_common_menu)
2531 (hildon_program_get_common_menu)
2532 (hildon_program_set_common_app_menu)
2533 (hildon_program_get_common_app_menu):
2534 Change common menu pointers from GtkWidget* to GtkMenu* and
2535 HildonAppMenu* to avoid unnecessary casts.
2537 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2539 * src/hildon-window.c (hildon_window_set_main_menu):
2540 Removed incorrect 'Since:' tag
2542 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2544 * src/hildon-pannable-area.c,
2545 (hildon_pannable_area_calculate_velocity): We use now the
2546 RATIO_TOLERANCE here to check the distance, fixed typo in the
2548 (hildon_pannable_area_motion_notify_cb): We have to set the type
2549 and time even if we are not sending the motion.
2551 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2553 * doc/hildon-sections.txt
2554 * src/hildon-app-menu.h
2555 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2556 (+hildon_app_menu_get_filters): New methods to get the contents of
2559 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2562 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2564 * src/hildon-app-menu.c (hildon_app_menu_popup):
2567 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2569 * src/hildon-window.h
2570 * src/hildon-window.c (+hildon_window_get_main_menu)
2571 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2572 and deprecated hildon_window_get_menu().
2574 * src/hildon-stackable-window.h
2575 * src/hildon-stackable-window.c
2576 (+hildon_stackable_window_set_app_menu)
2577 (+hildon_stackable_window_get_app_menu)
2578 (hildon_stackable_window_set_main_menu): Created
2579 hildon_stackable_window_{get,set}_app_menu() and deprecated
2580 hildon_stackable_window_set_main_menu().
2582 * doc/hildon-sections.txt
2583 * examples/hildon-app-menu-example.c (main)
2584 * src/hildon-app-menu.c
2585 * src/hildon-program.c:
2586 Updated examples and documentation.
2588 Fixes: NB#103758 (No way to obtain a menu from a
2589 HildonStackableWindow)
2591 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2596 * configure.ac: Bump version.
2597 * debian/changelog: Updates.
2599 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2601 * examples/hildon-remote-texture-example.c: Include
2602 hildon-remote-texture.h explicitely.
2603 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2604 applications not defining _XOPEN_SOURCE which don't require this header.
2606 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2608 * doc/hildon-sections.txt
2609 * src/hildon-app-menu.h
2610 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2611 New function to pop up a HildonAppMenu
2613 * src/hildon-stackable-window.c
2614 (hildon_stackable_window_toggle_menu):
2615 Use hildon_app_menu_popup() to show the menu.
2617 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-app-menu.c (hildon_app_menu_show)
2620 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2621 menu if there's another window between it and its parent window.
2623 Fixes: NB#100468 (Application menu window is launched even when a
2624 new secondary-window/dialog is pending to be shown/realized)
2626 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-window-stack.c (hildon_window_stack_push)
2629 (hildon_window_stack_pop_and_push):
2630 Don't forget to push/pop the first window.
2631 Reverse the window list before calling _push_list()
2633 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-picker-button.h
2636 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2637 Remove "value_changed" slot to avoid ABI breakage
2639 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2641 * src/hildon-pannable-area.c,
2642 (hildon_pannable_area_realize),
2643 (hildon_pannable_area_unrealize),
2644 (hildon_pannable_draw_vscroll),
2645 (hildon_pannable_draw_hscroll): Changed the method to handle the
2646 GC used to draw the transparent scrollbar, this way we avoid
2647 creating the GC all the time when drawing the scrollbars.
2649 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2651 * src/hildon-pannable-area.c,
2652 (hildon_pannable_area_init),
2653 (hildon_pannable_area_remove): Removed some unnecessary casts.
2654 (hildon_pannable_area_dispose): Disconnected some signals before
2655 releasing the adjustments.
2657 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2659 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2660 Make sure that all widgets contained in the toolbar are shown.
2662 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2664 * doc/hildon-sections.txt
2665 * src/hildon-picker-button.h
2666 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2667 (_selection_changed, hildon_picker_button_on_dialog_response)
2668 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2669 New hildon_picker_button_value_changed() method.
2672 * src/hildon-picker-button-private.h
2673 * src/hildon-picker-button.c (hildon_picker_button_init)
2674 (+hildon_picker_button_disable_value_changed): Add protected
2675 function for disabling the "value-changed" signal.
2677 * src/hildon-date-button.c (hildon_date_button_set_date):
2678 Don't emit "value-changed" for each one of the three columns.
2680 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2681 before actual change of values)
2683 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2685 * src/hildon-pannable-area.c,
2686 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2687 for the treeview overshooting.
2689 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-banner.c (+hildon_banner_bind_style):
2692 Renamed from hildon_banner_bind_label_style(), now naming the
2693 banner itself as well.
2694 (hildon_banner_show_information),
2695 (hildon_banner_show_information_with_markup),
2696 (hildon_banner_show_animation), (hildon_banner_show_progress):
2697 Name the widgets and labels, based on their type.
2699 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2702 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-note.c (hildon_note_set_property): call
2705 hildon_note_rename() on HildonNote:note-type set.
2706 (hildon_note_rename): Name the note and its label, based on the
2707 HildonNote:note-type property.
2709 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2712 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2714 * src/hildon-pannable-area.c,
2715 (hildon_pannable_area_class_init),
2716 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2717 panning parameters, increased SPS and deceleration factor. Added
2718 also a margin to control fake directions.
2720 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2722 Patch by Sven Herzberg (sven@imendio.com)
2724 * configure.ac: Add missing AM_PROG_CC_C_0
2725 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2727 See NB#101420 (Update unit tests and fix make check)
2729 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2731 This patch was applied before but reverted because it caused
2732 problems, we have changed the main condition and tested the
2733 regressions we detected before and they work ok. We have done a
2734 complete review of the topmost algorithm in order to get a more
2737 * src/hildon-pannable-area.c,
2738 (hildon_pannable_area_get_topmost): Added a new parameter to
2739 filter the the windows that do not include those events.
2740 (hildon_pannable_area_button_press_cb),
2741 (hildon_pannable_area_button_release_cb),
2742 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2743 topmost function, we have added the new parameter.
2745 Fixes: NB#97458 (Pannable area prevents propagation of button
2748 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2751 if all columns in the selector have an item selected.
2752 (_on_dialog_response): Stop "response" signal emission if there is
2753 any selector column without selected items.
2755 Fixes: NB#101889 (Picker dialog should not close when nothing is
2756 selected in multiple selection list)
2758 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-font-selection-dialog.c
2761 (hildon_font_selection_dialog_class_init),
2762 (hildon_font_selection_dialog_init): Remove the preview
2763 button and dialog, since previewing with default theming is likely
2764 to be overcomplicated. The :preview property has now no effect.
2765 Update documentation blurbs to inform about this.
2767 Fixes: NB#92297 (Preview content is not clearly visible for
2768 default colour text)
2770 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2772 Reviewed the geometry that handles the children size and
2773 scrollbar, now it tries a size and reviews the results depending
2774 on the scrollbars visibility.
2776 * src/hildon-pannable-area.c,
2777 (hildon_pannable_area_realize): Fixed a typo.
2778 (hildon_pannable_area_child_allocate_calculate): Added this
2779 function to calculate the child allocation.
2780 (hildon_pannable_area_size_allocate): Reviewed the allocation
2782 (hildon_pannable_area_check_scrollbars),
2783 (hildon_pannable_area_refresh): Refactored refresh function, this
2784 way we can call the code handling the scrollbars without causing a
2785 size_request, it is interesting in the allocate.
2786 (hildon_pannable_area_init): Replace the callbacks of the
2787 value_changed and changed signals to propertly deal with the
2789 (hildon_pannable_area_grab_notify),
2790 (hildon_pannable_area_initial_effect),
2791 (hildon_pannable_area_launch_fade_timeout),
2792 (hildon_pannable_area_adjust_changed),
2793 (hildon_pannable_area_adjust_value_changed),
2794 (hildon_pannable_area_redraw),
2795 (hildon_pannable_area_button_press_cb),
2796 (hildon_pannable_area_button_release_cb),
2797 (hildon_pannable_area_scroll_cb),
2798 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2799 code and use the new functions adjust_changed and
2800 adjust_value_changed.
2802 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2803 Contact editor dialog)
2805 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2810 * configure.ac: Bump version.
2811 * debian/changelog: Updates.
2813 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2815 * src/hildon-pannable-area.c,
2816 (hildon_pannable_area_get_topmost),
2817 (hildon_pannable_area_button_press_cb),
2818 (hildon_pannable_area_button_release_cb),
2819 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2820 topmost function adding the event mask. We have to try a
2821 differente approach because it is still causing problems (NB#9745,
2824 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-banner.c:
2827 Update the maximum width of timed banners.
2828 (force_to_wrap_truncated): Enforce the maximum text width if the
2831 Fixes: NB#102413 (The text margins (wrapping) in information
2832 banner should be HILDON_MARGIN_TRIPLE)
2834 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2836 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2838 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2839 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2840 bound when calculating the scroll indicator position.
2842 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2843 treat ->lower correctly)
2845 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2847 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2848 expose event handling, since it is not necessary to draw the focus
2851 Fixes: NB#102467 (Do not show highlight on the text in
2854 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2857 full height of the toolbar for the button and the label.
2859 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2862 padding before the label and after the button.
2864 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2866 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2868 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2869 Add a GtkVSeparator between the button and the back arrow.
2870 Let the button have automatic size.
2871 Set a name to the widget for theming handling.
2873 Fixes: NB#101793 (Make edit toolbar the same height as window
2874 title bar (use title area theming))
2876 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-helper.c (attach_new_color_element): Fix memory
2881 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2883 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2885 * examples/hildon-button-example.c (common_buttons_window): Don't
2888 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2890 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2891 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2893 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-gtk.c: Check that the window is realized.
2897 Fixes: NB#102225 (Crash setting the progress indicator to a non
2900 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2903 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2904 instead of modifying the one in the widget style.
2906 Fixes: NB#101043 (Second row of all the command button are
2907 displayed in transparent mode.)
2909 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-date-button.c
2912 * src/hildon-time-button.c: Add gettext macros
2914 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2916 * src/hildon-date-button.c (hildon_date_button_new):
2917 * src/hildon-time-button.c (hildon_time_button_new_step):
2918 Use new logical strings to set the button default title.
2920 Fixes: NB#99915 (Date and Time options are not localised in Date
2923 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2925 * src/hildon-pannable-area.c
2926 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2927 the PANNING_THRESHOLD.
2929 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2931 * src/hildon-pannable-area.c,
2932 (hildon_pannable_area_class_init): Increased the maximum speed.
2933 (hildon_pannable_area_get_property),
2934 (hildon_pannable_area_set_property),
2935 (hildon_pannable_area_timeout): Added a new low friction mode, it
2936 allows the user avoid friction when launching the widget fast
2937 enough. It is interesting to traverse long lists.
2939 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2942 (+hildon_stackable_window_delete_event): Ignore delete events if
2943 the window is not the topmost one.
2945 Fixes: NB#101698 (Back button long press and delete-event handling)
2947 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2949 * src/hildon-pannable-area.c,
2950 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2951 gtk-dnd-drag-threshold, it was too big. We have defined our own
2952 dnd define and set a smaller value: PANNIG_THRESHOLD.
2954 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2957 user-defined icons, use always the default one.
2959 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2961 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2963 This patch was applied before but reverted because it caused
2964 problems, we have changed the main condition and tested the
2965 regressions we detected before and they work ok.
2967 * src/hildon-pannable-area.c,
2968 (hildon_pannable_area_get_topmost): Added a new parameter to
2969 filter the the windows that do not include those events. Added
2970 also a condition when finding the window to filter windows that do
2971 not ask for those events.
2972 (hildon_pannable_area_button_press_cb),
2973 (hildon_pannable_area_button_release_cb),
2974 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2975 topmost function, we have added the new parameter.
2977 Fixes: NB#97458 (Pannable area prevents propagation of button
2980 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2982 * tests/check-hildon-color-button.c (START_TEST): do not leak
2985 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-font-selection-dialog.c
2988 (hildon_font_selection_dialog_get_preview_text): Return NULL
2989 instead of FALSE on the g_return_val_if_fail().
2991 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2994 * src/hildon-date-selector.c
2995 (hildon_date_selector_select_current_date):
2996 Do not compare unsigned integers to be greater than or equal 0,
2997 because it's always TRUE.
2999 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3002 (hildon_date_selector_constructor): Do not select the current
3003 date until we are handle the "changed" signal, to avoid having bogus
3004 elements in the days model.
3006 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3009 for num_days, since _month_days() can return a negative value.
3011 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-caption.c (hildon_caption_size_allocate):
3014 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3015 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3017 Initialize allocation variables to 0, to avoid eventually using
3018 unitialized variables.
3020 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3022 * src/hildon-bread-crumb-trail.c
3023 (hildon_bread_crumb_trail_size_allocate):
3024 * src/hildon-calendar.c (hildon_calendar_set_background):
3025 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3026 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3027 * src/hildon-seekbar.c (hildon_seekbar_init):
3028 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3029 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3030 * src/hildon-touch-selector-entry.c
3031 (hildon_touch_selector_get_text_from_model):
3032 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3033 * src/hildon-window.c (hildon_window_finalize):
3035 Remove many unused variables.
3037 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-seekbar.c: (hildon_seekbar_init),
3040 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3042 Remove unnecessary g_assert() calls.
3044 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-caption.c: (hildon_caption_expose),
3047 (hildon_caption_set_property), (hildon_caption_init),
3048 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3049 (hildon_caption_size_request), (hildon_caption_size_allocate),
3050 (hildon_caption_forall), (hildon_caption_set_separator),
3051 (hildon_caption_activate), (hildon_caption_set_child_expand),
3052 (hildon_caption_set_label_text),
3053 (hildon_caption_get_label_alignment):
3055 Remove unnecessary g_assert() calls.
3057 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3059 * src/hildon-banner.c
3060 (hildon_banner_map, hildon_banner_init): Make banner temporary
3061 before mapping it to avoid closing other temporary windows, but
3062 make it non-temporary afterwards to avoid being closed by other
3063 non-temporary windows.
3064 (-hildon_banner_client_event, hildon_banner_init):
3065 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3067 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3070 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3075 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3077 * src/hildon-remote-texture.c
3078 * src/hildon-remote-texture.h
3079 * src/hildon-remote-texture-private.h
3080 * examples/hildon-remote-texture-example.c:
3081 Updates/fixes to remote-texture and its example.
3083 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3085 Patch by Mox Soini (ext-mox.soini@nokia.com)
3087 * src/hildon-code-dialog.c: Update logical id.
3088 * src/hildon-set-password-dialog.c: Update logical id.
3090 Fixes: NB#100646 (Logical strings is shown for ok in set
3091 password,Password needed dialogs)
3093 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3096 * src/hildon-remote-texture.c
3097 * src/hildon-remote-texture.h
3098 * src/hildon-remote-texture-private.h
3100 Added remote texture widget (for Clutter shared memory textures)
3102 * examples/hildon-remote-texture-example.c
3103 * examples/Makefile.am
3104 Added example file for remote texture usage
3106 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3108 * configure.ac: post release version bump.
3109 * debian/changelog: version bump.
3111 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3116 * configure.ac: Bump version.
3117 * debian/changelog: Updates.
3119 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3121 * src/hildon-date-selector.c (hildon_date_selector_init)
3122 (hildon_date_selector_constructor): Don't connect to the "changed"
3123 signal until the selector is completely constructed.
3125 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3127 * src/hildon-touch-selector.c: (_create_new_column),
3128 (hildon_touch_selector_append_column),
3129 (hildon_touch_selector_set_column_selection_mode),
3130 (hildon_touch_selector_set_active),
3131 (hildon_touch_selector_select_iter):
3132 Emit the HildonTouchSelector::changed signal every time selection
3133 is changed in any of the methods above. This behavior was already
3134 documented but not fully functional.
3136 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3137 selection is programmatically changed)
3139 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3141 * doc/hildon-sections.txt: Remove obsolete icon
3142 sizes from here as well.
3144 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3146 * examples/hildon-stackable-window-example.c (add_window): Remove
3149 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3151 * src/hildon-app-menu.c
3152 (hildon_app_menu_show): Check whether the parent window of a menu
3153 is topmost before popping it up.
3155 Fixes: NB#100468 (Application menu window is launched even when a
3156 new secondary-window/dialog is pending to be shown/realized.)
3158 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3160 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3163 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3165 Patch by Mox Soini (ext-mox.soini@nokia.com)
3167 * src/hildon-banner.c: (hildon_banner_show_animation):
3168 use stylus size instead of obsolete note size.
3169 * src/hildon-defines.h: Update icon sizes.
3171 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3173 * src/hildon-touch-selector-entry.c:
3174 (hildon_touch_selector_entry_init): Disable unsupported
3176 (hildon_touch_selector_entry_get_text_column): Emit a warning
3177 if an unsupported input modes is used and explicitile state
3178 these modes in the documentation.
3180 Fixes: NB#99802 (Hildon touch selector entry not working properly
3181 for some of the input modes)
3183 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3185 * src/hildon-pannable-area.c,
3186 (hildon_pannable_area_init): Added the changed signal handlers of
3189 Fixes: NB#100320 (HildonPannableArea does not listen to
3190 GtkAdjustment "change" signals)
3192 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3194 * doc/hildon-sections.txt
3195 * src/hildon-window-private.h
3196 * src/hildon-window.h
3197 * src/hildon-window.c (hildon_window_init)
3198 (hildon_window_realize, hildon_window_unrealize)
3199 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3200 (hildon_window_size_request, hildon_window_size_allocate)
3201 (hildon_window_forall, hildon_window_show_all)
3202 (hildon_window_destroy, +paint_edit_toolbar)
3203 (+hildon_window_set_edit_toolbar):
3204 New hildon_window_set_edit_toolbar() method, to add a
3205 HildonEditToolbar to a window without having to pack it manually.
3207 Reorganize hildon_window_size_allocate()
3209 * src/hildon-edit-toolbar.c: Update documentation.
3211 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3212 example to use the new API.
3214 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3216 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3218 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3219 Remove from stack before calling parent's hide.
3221 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3224 window is removed from the middle of the stack, update the
3225 transiency of the previous one.
3227 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3230 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3232 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3233 block/unblock the signal handler if it's not actually being used.
3234 Fixes some critical warnings.
3236 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3238 Based on a patch by Iván Gómez (igomez@igalia.com)
3240 * src/hildon-banner.c
3244 * src/hildon-pannable-area.c
3245 * src/hildon-picker-dialog.c
3246 * src/hildon-wizard-dialog.h
3247 * src/hildon-wizard-dialog.c: Documentation updates.
3249 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3250 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3252 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3254 * configure.ac: post release version bump.
3255 * debian/changelog: version bump.
3257 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3262 * configure.ac: Bump version.
3263 * debian/changelog: Updates.
3265 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3267 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3268 a stock icon nor change the relief of the back arrow.
3270 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3271 graphics from theme)
3273 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-button.c (hildon_button_set_alignment): Use
3276 priv->alignment if the button has no child yet.
3278 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3280 * src/hildon-button.c: (hildon_button_init): Set the
3281 button style during initialization to give it the proper
3284 Fixes: NB#99713 (HildonButton value label color is wrong)
3286 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3288 * src/hildon-touch-selector.c: Document
3289 hildon_touch_selector_center_on_selected()
3291 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3293 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3294 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3295 all menu items, but not the menu itself.
3296 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3297 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3298 items after adding them to the menu so keyboard accelerators work.
3299 (hildon_app_menu_show): Don't show the menu if it contains items
3300 but none of them are visible.
3302 * examples/hildon-app-menu-example.c (create_menu): Use
3303 gtk_widget_show_all() to show all menu items.
3305 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3307 * src/hildon-picker-dialog.c:
3308 (-_update_title_on_selector_changed_cb),
3309 (-_dialog_update_title): Removed.
3310 (_select_on_selector_changed_cb), (_on_dialog_response),
3311 (on_selector_columns_changed): Do not update the dialog title.
3312 (setup_interaction_mode): Do not connect to
3313 HildonTouchSelector::changed signal if there's a "done" button, as
3314 the dialog title doesn't need to be updated.
3316 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3319 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3321 Patch by Kristian Rietveld (kris@imendio.com)
3323 * src/hildon-touch-selector.c: (_create_new_column): Use new
3324 GtkTreeView::hildon-row-tapped signal to react to user interactions
3325 instead of ::changed.
3327 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3328 with some dynamic tree model)
3330 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3332 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3333 (+screen_size_changed, +label_size_request)
3334 (hildon_note_class_init): Make the Hildon information note have a
3335 minimum height, and make its text hvae a maximum width.
3337 Fixes: NB#98614 (Hildon information note (background) should have
3338 minimum height and maximum text width)
3340 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3342 * src/hildon-banner.h
3343 * src/hildon-banner.c (hildon_banner_show_information)
3344 (hildon_banner_show_informationf)
3345 (hildon_banner_show_information_with_markup): Update documentation
3346 to reflect that the icon_name parameter is not used anymore.
3347 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3348 Remove all code from these functions and mark them as deprecated.
3349 (hildon_banner_show_progress): Mark as deprecated.
3351 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3353 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3355 * src/hildon-pannable-area.c,
3356 (hildon_pannable_area_class_init),
3357 (tranparency_color),
3358 (hildon_pannable_draw_vscroll),
3359 (hildon_pannable_draw_hscroll),
3360 (hildon_pannable_area_expose_event): Added a new way to render the
3361 scrollbars of the pannable area avoiding using cairo at all. This
3362 way we improve the performance of the pannable area rendering. The
3363 cairo rendering procedure is still in the code, we can control
3364 which one to use changing the value of the define
3365 USE_CAIRO_SCROLLBARS.
3367 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3369 * configure.ac: post release version bump.
3370 * debian/changelog: version bump.
3372 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3377 * configure.ac: Bump version.
3378 * debian/changelog: Updates.
3380 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3382 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3383 banners instead of destroying them when they receive a button
3386 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3388 Reverted commit 34028, it was causing regressions, probably the
3389 topmost condition is not correct, we have to check it in more
3390 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3391 propagation of button press events)
3393 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3396 that the selection is not empty before attempting to retrieve the
3397 current ampm selection.
3399 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3401 * src/hildon-picker-button.c:
3402 (hildon_picker_button_on_dialog_response): Directly update the
3403 button contents when required instead of calling _selection_changed.
3405 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3407 * src/hildon-program.c (hildon_program_update_top_most): Update
3408 'is-topmost' property also when wm_hints is not set.
3410 Fixes: NB#98383 (is-topmost signal is not emitted when task
3411 switcher is clicked.)
3413 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3415 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3419 * src/hildon-animation-actor.c,
3420 * src/hildon-animation-actor.h: Added the animation actor class,
3421 this widget represents an animation actor for WM-assisted
3422 animation effects in the Hildon framework.
3424 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-window-stack-private.h
3427 * src/hildon-window-stack.c
3428 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3429 Avoid calling gtk_widget_show() again indirectly from
3430 hildon_stackable_window_show()
3432 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3437 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3440 (hildon_time_selector_init): Move the construction of the hours and
3441 ampm columns to the constructor to preserve the order the columns
3444 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3446 * src/hildon-picker-dialog.c:
3447 (hildon_picker_dialog_class_init): Connect a realize method.
3448 (+hildon_picker_dialog_realize): Setup the interaction mode here
3450 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3451 yet, do it during the realize instead.
3452 (_on_dialog_response):
3453 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3454 if the widget is not realized, to avoid the dialog response before it
3457 Avoid premature responses in the HildonPickerDialog that can cause it
3458 to be hidden before it's even shown.
3460 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3462 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3463 (on_selector_columns_changed), (requires_done_button),
3464 (+prepare_action_area), (setup_interaction_mode),
3465 (_hildon_picker_dialog_set_selector):
3467 Split the interaction mode setup into preparation of the
3468 action area (prepare_action_area()) and the connection of
3469 the signals in setup_interaction_mode() and update the code to
3472 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3474 * src/hildon-pannable-area.c,
3475 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3476 per second to 15, we will check if this is ok regarding
3479 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3481 * src/hildon-pannable-area.c,
3482 (hildon_pannable_axis_scroll): Avoid resize if we already have
3483 reached overshoot_max.
3485 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3487 * src/hildon-pannable-area.c,
3488 (hildon_pannable_area_init),
3489 (hildon_pannable_area_realize),
3490 (hildon_pannable_area_size_allocate),
3491 (hildon_pannable_area_map),
3492 (hildon_pannable_area_unmap),
3493 (hildon_pannable_draw_vscroll),
3494 (hildon_pannable_draw_hscroll),
3495 (hildon_pannable_area_expose_event),
3496 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3497 pannable are to avoid the expose events go to the window and
3498 redraw the window. We save this way that part of the stack and the
3499 paint_boxes. We had to change the positions of the elements when
3502 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3504 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3505 * src/hildon-color-chooser-dialog.c:
3506 (hildon_color_chooser_dialog_init):
3507 * src/hildon-font-selection-dialog.c:
3508 (hildon_font_selection_dialog_init),
3509 (hildon_font_selection_dialog_show_preview):
3510 * src/hildon-get-password-dialog.c:
3511 * src/hildon-login-dialog.c:
3512 * src/hildon-set-password-dialog.c:
3513 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3514 * src/hildon-time-picker.c: (hildon_time_picker_init):
3516 Remove obsolete logical string IDs and update to the appropriate ones.
3518 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3520 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3522 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3523 that happens if the window hasn't been realized yet.
3525 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3526 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3528 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3531 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3534 Fixes: NB#98537 (Device hangs in account settings dialog)
3536 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3538 * configure.ac: post release version bump.
3539 * debian/changelog: version bump
3541 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3546 * configure.ac: Bump version.
3547 * debian/changelog: Updates.
3549 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3551 Added a new function to the HildonTimeButton widget that allows to
3552 change the step of the minutes in the selector associated with the
3553 button: hildon_time_button_new_step
3555 * src/hildon-time-button.c,
3556 (hildon_time_button_init),
3557 (hildon_time_button_new),
3558 (hildon_time_button_new_step):
3559 * src/hildon-time-button.h: Added the new function and refactored
3561 * examples/hildon-time-button-example.c,
3562 (main): We have replaced the function without parameters with the
3563 function with the steps set to 5
3565 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3567 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3569 * src/hildon-time-selector.c,
3570 (hildon_time_selector_class_init),
3571 (hildon_time_selector_constructor),
3572 (hildon_time_selector_get_property),
3573 (hildon_time_selector_set_property),
3574 (_create_minutes_model),
3575 (hildon_time_selector_new_step),
3576 (hildon_time_selector_set_time),
3577 * src/hildon-time-selector.h: Added a new property to the
3578 HildonTimeSelector (minutes-step), we use that property to control
3579 the steps between the minutes in the list of the selector. We have
3580 added a new function to the API to create a widget changing the
3581 step: hildon_time_selector_new_step.
3583 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3585 * src/hildon-time-selector.c,
3586 (hildon_time_selector_class_init),
3587 (hildon_time_selector_constructor),
3588 (hildon_time_selector_init): Overrided the construct function when
3589 creating the time selector object. We have moved the minutes model
3590 handling code from the init to the new construction function:
3591 hildon_time_selector_constructor.
3593 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3595 * examples/hildon-date-button-example.c: (main): Use the new
3596 hildon_date_button_new_with_year_range() method in the example.
3597 * src/hildon-date-button.c:
3598 (+hildon_date_button_new_with_year_range): New public method
3599 to conveniently create a HildonDateButton with a custom year range
3600 in its HildonDateSelector.
3601 * src/hildon-date-button.h: Add the new public method definition.
3603 Fixes: NB#97908 (Not possible to change the year range in
3604 HildonDateSelector/HildonDateButton)
3606 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-date-selector.c:
3609 (+hildon_date_selector_set_property),
3610 (+hildon_date_selector_get_property),
3611 (hildon_date_selector_class_init): Install new properties "min-year"
3612 and "max-year" to define boundaries for the year column.
3613 (_create_year_model): Use the boundary properties to populate the model.
3614 (+hildon_date_selector_new_with_year_range): New public method to
3615 create a HildonDateSelector with a user defined year range.
3616 (hildon_date_selector_select_current_date): Use the new boundaries to
3617 calculate the iterator of current year.
3618 * src/hildon-date-selector.h: Add the new public method definition.
3620 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3623 Install a constructor method.
3624 (+hildon_date_selector_construct_ui): construct the widget.
3625 (+hildon_date_selector_constructor): new constructor.
3626 (+hildon_date_selector_init): move out widget construction code to
3627 the new constructor.
3629 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3632 that there's actually a month or year selected before obtaining them.
3633 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3634 of the HildonTouchSelector::changed signal, as it was emitted on every
3635 single item selection.
3637 Fix some warnings and possible crashers due to the selection restoring.
3639 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3641 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3642 the signal handlers only after creating the dialog instead of on every
3645 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-button.c (hildon_button_init)
3648 * src/hildon-check-button.c (hildon_check_button_init)
3649 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3650 focus when clicked by default.
3652 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3654 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3657 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3659 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3660 Alejandro G. Castro (alex@igalia.com)
3662 * src/hildon-picker-dialog.c:
3663 (hildon_picker_dialog_class_init): install new "center-on-show"
3665 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3666 (hildon_picker_dialog_set_property): add setter code for the new
3668 (hildon_picker_dialog_get_property): add getter code for the new
3670 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3671 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3674 Fixes: NB#92849 (Selected item is not always visible when
3675 HildonTouchSelector is shown)
3677 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3679 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3680 Alejandro G. Castro (alex@igalia.com)
3682 * src/hildon-touch-selector.c:
3683 (_create_new_column): Do not connect to the "realize" signal of the
3685 (hildon_touch_selector_append_column): center on the selected items
3686 when a new column is appended.
3687 (hildon_touch_selector_select_iter): Factor out the code to select a
3688 column to hildon_touch_selector_scroll_to().
3689 (+search_nearest_element): Method to retrieve the nearest selected
3690 element to the visible area of the pannable area in a column.
3691 (+on_realize_cb): scroll to the initially selected item.
3692 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3693 the pannable area is realized, otherwise delay this until it is.
3694 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3695 selected items of a given column.
3696 (+hildon_touch_selector_center_on_selected): Public method to center
3697 all columns on the nearest selected item.
3698 * src/hildon-touch-selector.h: Add definition for
3699 hildon_touch_selector_center_on_selected().
3701 Implement public API to ensure visibility of all selected items in
3702 a HildonTouchSelector.
3704 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3706 Fixed a problem in the fading when calling the scroll_to API, and
3707 improve scrollbar fading handling.
3709 * src/hildon-pannable-area.c,
3710 (hildon_pannable_area_grab_notify): avoid the timeout when the
3712 (hildon_pannable_area_button_press_cb),
3713 (hildon_pannable_area_motion_notify_cb): Code style changes.
3714 (hildon_pannable_area_button_release_cb): Review the conditions
3715 when releasing the mouse button to avoid unrequired fading
3717 (hildon_pannable_area_scroll_to): Do not calculate and set the
3718 velocity if the scroll is not required.
3720 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3722 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3723 Don't check whether the new selector is NULL: it cannot be.
3724 Hold a reference to the selector while doing the replacement.
3726 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3728 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3729 unnecessary size_request in a removed widget.
3731 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3733 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3734 an unnecessary reference tracking that was leaking.
3736 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3738 Added delayed motion notify event handling, this way we can
3739 discard redrawing if more than 25 events arrive per second.
3741 * src/hildon-pannable-area.c,
3742 (hildon_pannable_area_init): Initialized the new private atributes
3743 controlling this timeout
3744 (hildon_pannable_area_dispose): Remove the timeout that controls
3745 the motion notify events.
3746 (hildon_pannable_area_scroll): Added a condition to control the
3747 use of the acceleration.
3748 (hildon_pannable_area_motion_event_scroll_timeout),
3749 (hildon_pannable_area_motion_event_scroll): Added this two
3750 functions, they handle the motion notify events inside the
3752 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3753 to the scroll method with the new function.
3754 (hildon_pannable_area_button_release_cb): We have to remove the
3755 timeout handler and move to the last position if the last motion
3756 events were not handled.
3758 Fixes: NB#97028 (Pannable area updates on every motion event)
3760 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3762 * src/hildon-pannable-area.c,
3763 (hildon_pannable_area_get_topmost): Added a new parameter to
3764 filter the the windows that do not include those events. Added
3765 also a condition when finding the window to filter windows that do
3766 not ask for those events.
3767 (hildon_pannable_area_button_press_cb),
3768 (hildon_pannable_area_button_release_cb),
3769 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3770 topmost function, we have added the new parameter.
3772 Fixes: NB#97458 (Pannable area prevents propagation of button
3775 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3777 * src/hildon-pannable-area.c,
3778 (hildon_pannable_area_initial_effect): Added controls before
3779 launching the timeout and the idle functions.
3780 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3781 of the method, in some situations it can return with TRUE and 0 in
3783 (hildon_pannable_area_button_press_cb): We do not need to set
3784 DELAY for fading out here.
3786 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3788 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3790 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3791 post-cleaning if the selection is not NULL.
3793 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3796 all items before restoring the selection.
3798 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3800 * src/hildon-touch-selector.c:
3801 (+hildon_touch_selector_unselect_all):
3802 * src/hildon-touch-selector.h: New API to unselect all items in a
3803 column of the touch selector.
3805 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3807 * src/hildon-pannable-area.c,
3808 (hildon_pannable_area_redraw): Added a call to the refresh
3809 function inside the redraw because apparently in some cases the
3810 change in the adjustment does not imply a size allocate.
3812 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3813 despite the view not being scrollable)
3815 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3817 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3818 leak. Check for NULL before attempting to set the window title.
3820 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3823 whether to show or not the 'Done' button each time the dialog is
3824 shown, as it depends on the HildonTouchSelector selection mode.
3826 Fixes: NB#96226 (In multiple selection mode Done button is shown
3827 sometimes in listpicker)
3829 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3832 for the number of columns in the HildonTouchSelector more than once.
3834 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3836 * src/hildon-touch-selector.c: Minor documentation fixes.
3838 * src/hildon-picker-dialog.c (+_dialog_update_title)
3839 (_select_on_selector_changed_cb)
3840 (_update_title_on_selector_changed_cb)
3841 (on_selector_columns_changed): Update dialog title when there's no
3842 'Done' button and also when the number of columns in the selector
3846 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3847 (+_selection_changed, hildon_picker_button_on_dialog_response)
3848 (hildon_picker_button_selector_selection_changed)
3849 (+hildon_picker_button_selector_columns_changed)
3850 (hildon_picker_button_set_selector): Update button value and emit
3851 'value-changed' when the number of columns in the selector
3855 Fixes: NB#96225 (Dialog titles are not shown according to the
3856 values selected in the list picker)
3858 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3861 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3862 New "arrow-width" and "arrow-height" style properties to set the
3863 size of the arrow button.
3864 Set name of arrow button ("hildon-edit-toolbar-arrow").
3866 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3867 graphics from theme)
3869 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3871 * src/hildon-picker-button.c:
3872 (hildon_picker_button_selector_selection_changed): Use
3873 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3874 the dialog is present.
3876 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3877 the selection is accepted in the dialog)
3879 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-color-chooser.h
3882 * src/hildon-color-chooser-dialog.h:
3883 Added G_BEGIN_DECLS and G_END_DECLS
3885 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3887 (_clean_current_selection): plug a leak in the list.
3889 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3891 * src/hildon-picker-dialog.c:
3892 (+free_path_list): Method to free a GList of GtkTreePaths.
3893 (_clean_current_selection), (_save_current_selection),
3894 (_restore_current_selection): Save the current selection in
3895 as a list of lists, to support multiple selection properly.
3897 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3899 patch by Claudio Saavedra (csaavedra@igalia.com)
3901 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3902 Store the press position.
3903 (+hildon_text_view_button_release_event): If the release position is
3904 close enough to the press position, move the cursor here. Otherwise,
3906 (hildon_text_view_class_init): Override GtkTextView press, release, and
3907 motion event handlers, disabling this way text selection through
3908 pointer interaction, and allowing the container widget to handle the
3911 Fixes: NB#95828 (HildonTextView functionality)
3913 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3915 Based on a patch by Iván Gómez (igomez@igalia.com)
3917 * src/hildon-button.[ch]
3918 * src/hildon-calendar.c
3919 * src/hildon-check-button.c
3920 * src/hildon-date-editor.c
3921 * src/hildon-date-selector.c
3922 * src/hildon-picker-button.c
3923 * src/hildon-time-editor.c
3924 * src/hildon-time-selector.c
3925 * src/hildon-touch-selector.[ch]:
3926 Documentation updates
3928 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3930 * src/hildon-pannable-area.c,
3931 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3932 threshold, it was required due to X events handling.
3934 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3936 * src/hildon-pannable-area.c,
3937 (hildon_pannable_area_grab_notify),
3938 (hildon_pannable_area_initial_effect),
3939 (hildon_pannable_area_button_press_cb),
3940 (hildon_pannable_area_button_release_cb),
3941 (hildon_pannable_area_scroll_cb),
3942 (hildon_pannable_area_scroll_to): Review the timeout management of
3943 the scrollbar, the frecuency was incorrectly set.
3945 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3947 * src/hildon-picker-button.c:
3948 (+hildon_picker_button_on_dialog_response),
3949 (hildon_picker_button_clicked): Present the dialog instead of
3950 running it with gtk_dialog_run().
3952 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3955 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3957 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3958 (hildon_app_menu_finalize): When a window is hidden it doesn't
3959 emit notify::is-topmost, so make sure than the menu also
3960 disappears in that case.
3961 (parent_window_topmost_notify): Renamed from parent_window_hidden
3963 Fixes: NB#94460 (stackable window's menu is not closed when its
3966 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3968 * src/hildon-touch-selector-entry.c:
3969 (+hildon_touch_selector_entry_set_input_mode),
3970 (+hildon_touch_selector_entry_get_input_mode):
3971 * src/hildon-touch-selector-entry.h: New methods to access the input
3972 mode in the selector's entry.
3974 Fixes: NB#93410 (API required for setting IM mode in
3975 HildonTouchSelectorEntry)
3977 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3979 * configure.ac: post release version bump.
3980 * debian/changelog: version bump
3982 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3987 * configure.ac: Bump version.
3988 * debian/changelog: Updates.
3990 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-touch-selector.c:
3993 (_hildon_touch_selector_has_multiple_selection): No need
3994 to initialize the variables here.
3996 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3998 * src/hildon-note-private.h
3999 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4000 (hildon_note_finalize, hildon_note_rebuild): Close information
4001 notes when they receive a button press.
4003 Fixes: NB#89890 (Information notes does not get disappeared after
4006 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4008 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4009 mark from the wizard title, as it's not really necessary. Also,
4010 do not display the page title if not set.
4012 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4015 (parent_window_hidden): Use the window's "is-topmost" property to
4016 detect when to hide the menu.
4018 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4021 (hildon_app_menu_finalize): If the parent window of the menu is
4022 hidden, hide the menu too.
4024 Fixes: NB#94460 (stackable window's menu is not closed when its
4027 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4030 * debian/libhildon1-examples.install
4032 * examples/Makefile.am:
4033 Use dh_install to install all examples.
4034 Use DEB_SRCDIR instead of defining SOURCE_DIR
4036 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4038 * configure.ac: post release version bump.
4039 * debian/changelog: version bump
4041 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4046 * configure.ac: bump version
4047 * debian/changelog: updates
4048 * debian/control: bump gtk+ dependency
4050 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4052 patch by Christian Dywan (christian@imendio.com)
4054 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4055 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4057 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4059 * src/hildon-check-button.c (hildon_check_button_init)
4060 (hildon_check_button_class_init, hildon_check_button_style_set)
4061 (hildon_check_button_apply_style):
4062 New "checkbox-size" style property.
4064 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4065 larger / configurable size)
4067 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4069 * configure.ac: post release version bump.
4070 * debian/changelog: version bump
4072 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4077 * configure.ac: bump version
4078 * debian/changelog: updates
4080 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4082 * doc/hildon-sections.txt
4083 * src/hildon-pannable-area.c
4084 * src/hildon-program.c
4085 * src/hildon-time-editor.c
4086 * src/hildon-touch-selector-entry.c:
4088 More documentation updates.
4090 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4092 * doc/hildon-sections.txt
4093 * src/hildon-caption.c
4094 * src/hildon-code-dialog.c
4095 * src/hildon-color-button.c
4096 * src/hildon-controlbar.c
4097 * src/hildon-date-editor.c
4098 * src/hildon-date-selector.c
4099 * src/hildon-edit-toolbar.c
4100 * src/hildon-find-toolbar.c
4101 * src/hildon-font-selection-dialog.c
4103 * src/hildon-program.c
4104 * src/hildon-range-editor.c
4105 * src/hildon-seekbar.c
4106 * src/hildon-time-editor.c
4107 * src/hildon-time-selector.c
4108 * src/hildon-volumebar-range.c
4109 * src/hildon-volumebar.c
4110 * src/hildon-vvolumebar.c
4111 * src/hildon-weekday-picker.c
4112 * src/hildon-window.c
4113 * src/hildon-wizard-dialog.c:
4115 Lots of documentation fixes.
4117 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4119 Patch contributed by Iván Gómez (igomez@igalia.com)
4121 * src/hildon-check-button.c:
4122 * src/hildon-date-button.c:
4123 * src/hildon-date-selector.c:
4124 * src/hildon-dialog.c:
4125 * src/hildon-edit-toolbar.c:
4126 * src/hildon-entry.c:
4127 * src/hildon-picker-button.c:
4128 * src/hildon-program.c:
4129 * src/hildon-text-view.c:
4130 * src/hildon-time-button.c:
4131 * src/hildon-touch-selector-entry.c:
4132 * src/hildon-window-stack.c:
4134 Add more "since" tags to the new API.
4136 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4138 * doc/hildon-sections.txt: Add below method.
4139 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4140 version for the hildonized scale.
4141 * src/hildon-gtk.h: Add the definition.
4143 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4145 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4147 * doc/hildon-sections.txt: Add missing entries for new methods.
4149 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4151 Added API to pannable are in order to get its adjustments. We
4152 added two properties to manage the values we had in the private
4155 * src/hildon-pannable-area.c:
4156 (hildon_pannable_area_class_init): Added hadjustment and
4157 vadjustment properties in order to expose horizontal and vertical
4159 (hildon_pannable_area_get_property),
4160 (hildon_pannable_area_set_property): Added code to handle the new
4162 (hildon_pannable_area_get_hadjustment),
4163 (hildon_pannable_area_get_vadjustment): API functions to get the
4165 * src/hildon-pannable-area.h:
4166 (hildon_pannable_area_get_hadjustment),
4167 (hildon_pannable_area_get_vadjustment): API functions to get the
4170 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4172 Fixed some leaks, after valgrinding.
4174 * src/hildon-touch-selector.c:
4175 (_default_print_func): Fixed a leak.
4176 (hildon_touch_selector_append_column): Fixed a leak.
4177 * src/hildon-date-button.c:
4178 (hildon_date_button_init): Fixed a leak.
4179 * src/hildon-date-selector.c
4180 (hildon_date_selector_finalize): Fixed a leak.
4182 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4184 Based on a patch by Christian Dywan (christian@imendio.com)
4186 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4188 * src/hildon-gtk.h: Add definition.
4190 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4192 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/hildon-picker-button.c: (hildon_picker_button_init),
4195 (hildon_picker_button_new): Set the HildonButton::style property
4196 in the init method, to propagate the value to the derived classes.
4198 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-button.c: (hildon_button_class_init): Do not make
4201 the "style" property a construct property.
4203 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4205 * src/hildon-wizard-dialog.h
4206 * src/hildon-wizard-dialog.c
4207 (hildon_wizard_dialog_set_forward_page_func)
4208 * src/hildon-pannable-area.h
4209 * src/hildon-pannable-area.c
4210 (hildon_pannable_area_set_size_request_policy):
4211 Documentation fixes.
4213 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4215 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4217 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4219 * doc/hildon-sections.txt: Added sections file.
4221 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4224 * src/*.[ch]: Updates.
4226 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4228 * examples/hildon-progress-indicator-example.c: new file
4229 * examples/Makefile.am: include the new example program
4231 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4233 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4235 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4237 * configure.ac: post release version bump
4238 * debian/changelog: version bump
4240 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4245 * configure.ac: bump version
4246 * debian/changelog: updates
4247 * debian/control: bump gtk+ dependency
4249 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4251 * src/hildon-dialog.c: Mark as deprecated.
4252 * src/hildon-dialog.h: Mark as deprecated.
4253 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4254 from HildonDialog and still work, even if
4255 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4256 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4258 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4259 maemo changes) instead)
4261 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4263 * src/hildon-pannable_area.h:
4264 * src/hildon-pannable_area.c:
4265 (hildon_pannable_area_class_init),
4266 (hildon_pannable_area_set_property),
4267 (hildon_pannable_area_get_property),
4268 (hildon_pannable_area_size_request),
4269 (hildon_pannable_area_get_size_request_policy),
4270 (hildon_pannable_area_set_size_request_policy): Added new API
4271 allowing applications to control the request policy. Now they can
4272 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4273 children allocation (HILDON_MOVEMENT_CHILDREN).
4275 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4279 (hildon_gtk_tree_view_set_ui_mode)
4280 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4281 mode of treeviews and iconviews.
4283 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-touch-selector-entry.c:
4286 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4287 of a GtkEntry to get proper theming.
4289 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4290 widget, not GtkEntry)
4292 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4294 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4295 no HildonWizardDialogPageFunc.
4297 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4299 Patch contributed by Iván Gómez (igomez@igalia.com)
4301 * src/hildon-app-menu.c:
4302 * src/hildon-button.c:
4303 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4304 * src/hildon-stackable-window.c:
4305 * src/hildon-time-selector.c:
4306 * src/hildon-touch-selector.c:
4307 * src/hildon-window.c:
4309 Add more "since" tags to the new API in hildon 2.2.
4311 2008-12-05 Tim Janik <timj@imendio.com>
4313 Patch contributed by Christian Dywan (christian@imendio.com)
4315 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4316 HildonSizeType, which are supplied by Gtk+ now.
4318 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4320 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4321 (with maemo changes) instead)
4323 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4325 Patch contributed by Iván Gómez (igomez@igalia.com)
4327 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4330 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4332 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4333 (some_page_func), (main): Update the example to use a
4334 HildonWizardDialogPageFunc function.
4336 * src/hildon-wizard-dialog-private.h: Add private data for
4337 the HildonWizardDialogPageFunc function usage.
4339 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4340 (destroy), (hildon_wizard_dialog_init), (response),
4341 (hildon_wizard_dialog_set_forward_page_func):
4342 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4343 that applications can use to stop a HildonWizardDialog to jump to
4346 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4349 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4351 * src/hildon-program.h
4352 * src/hildon-program-private.h
4353 * src/hildon-program.c (hildon_program_init)
4354 (hildon_program_set_common_app_menu)
4355 (hildon_program_get_common_app_menu):
4356 New API for setting a common HildonAppMenu for all
4357 HildonStackableWindows registered with the HildonProgram.
4359 * src/hildon-stackable-window.c
4360 (hildon_stackable_window_toggle_menu):
4361 Use the common HildonAppMenu if a window doesn't have a specific
4364 * src/hildon-app-menu-private.h
4365 * src/hildon-app-menu.c
4366 (hildon_app_menu_get_parent_window):
4367 Function to obtain the window a HildonAppMenu is attached to.
4368 (hildon_app_menu_set_parent_window):
4369 Hide the menu if the parent window is set to NULL.
4371 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4374 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4375 search widget to popup.
4377 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4379 * configure.ac: post release version bump
4380 * debian/changelog: version bump
4382 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4387 * configure.ac: bump version
4388 * debian/changelog: updates
4390 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4392 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4394 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4395 (hildon_window_stack_window_realized)
4396 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4397 Set the leader GdkWindow when a window is stacked and realized,
4398 unset it when it's unstacked.
4399 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4401 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4403 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-stackable-window.h
4406 * src/hildon-window-stack.h:
4407 Protect definition of HildonWindowStack using the preprocessor.
4409 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4411 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4412 Fix warning if all menu items are hidden.
4414 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4416 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4418 * src/hildon-controlbar.c:
4419 * src/hildon-hvolumebar.c:
4420 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4421 Multiple scale size defines updates.
4423 Fixes: NB#94322 (Scale Updates)
4425 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4427 * examples/hildon-app-menu-example.c (create_menu)
4428 Show items after adding them to the menu, as in the future the
4429 menu will no longer call gtk_widget_show() on the added items.
4431 * src/hildon-app-menu.c:
4432 Update example as explained above.
4434 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4436 * src/hildon-app-menu.c
4437 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4438 Make sure that all menu items have finger height.
4440 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4442 * src/hildon-picker-dialog.c:
4443 (_on_dialog_response), (_save_current_selection),
4444 (_restore_current_selection), (_clean_current_selection),
4445 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4446 Defined new functions in order to save the current internal selector
4447 selection previous open the dialog, in case that the use cancel the
4448 interaction, so the widget restores the previous selection.
4450 Fixes: NB#92032 (In calendar application, date values in 'new event'
4453 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4455 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-button.c: Add a reference to the button examples in
4458 hildon-button-example.c
4460 * examples/hildon-button-example.c: Added examples of the most
4461 common button layouts.
4463 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4465 * src/hildon-app-menu.c (hildon_app_menu_show)
4466 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4468 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4470 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4472 * src/hildon-picker-dialog.c:
4473 (hildon_picker_dialog_init): Initialize the signal id for
4474 HildonTouchSelector::columns-changed.
4475 (+on_selector_columns_changed): Set up the interaction mode everytime a
4476 column is added or removed from the HildonTouchSelector.
4477 (_hildon_picker_dialog_set_selector): Connect to
4478 HildonTouchSelector::columns-changed and keep track of it.
4480 Make sure to update the interaction mode of the dialog everytime a
4481 column is added or removed in the HildonTouchSelector.
4483 Fixes: NB#93228 (Done button is not shown always in listpicker)
4485 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4487 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4488 a new ::columns-changed signal.
4489 (hildon_touch_selector_append_column): Emit ::columns-changed.
4490 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4492 Add a ::columns-changed signal, emitted when the number of columns in a
4493 HildonTouchSelector changes.
4495 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4498 (_hildon_picker_dialog_set_selector): Factor out the code
4499 to set up the dialog interaction mode.
4501 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4504 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4505 to signal_changed_id.
4507 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4512 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4514 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4515 Updated the logical ids related to ampm format, as now it is required to
4516 show it correctly localized even on languages with no default
4517 abbreviations for am or pm
4518 (_check_am_pm_format): check correctly the 24h format gconf property
4520 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4522 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4524 * src/hildon-button.c: Documentation updates.
4526 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4528 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4529 * src/hildon-caption.c: (hildon_caption_class_init):
4530 * src/hildon-color-button.c: (hildon_color_button_class_init):
4531 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4532 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4533 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4534 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4536 Remove deprecated GTK+ marshalers and replace them with the ones
4537 provided by GLib, for those available, add a marshaler for
4538 BOOLEAN:VOID, which is not available in GLib, and use it.
4540 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4542 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4543 the text from the previous column if there is no
4544 HildonTouchSelectorColumn::text-property set.
4546 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4548 * src/hildon-button.h
4549 * src/hildon-button.c (hildon_button_set_property)
4550 (hildon_button_get_property, hildon_button_class_init)
4551 (hildon_button_set_style, hildon_button_get_style):
4552 New "style" property to change the visual appearance of the
4555 * src/hildon-picker-button.c (hildon_picker_button_new):
4556 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4558 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4559 HildonButton look like PickerButton)
4561 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4563 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4564 column while building the default string.
4566 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4569 scroll indicator by default.
4571 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4573 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-main.c: Fix the documentation for hildon_init()
4577 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4579 * doc/hildon-docs.sgml
4583 * src/hildon-window-stack-private.h
4584 * src/hildon-window-stack.h
4585 * src/hildon-window-stack.c:
4586 New HildonWindowStack object, that adds support for multiple
4587 stacks of windows per process.
4589 * src/hildon-stackable-window-private.h
4590 * src/hildon-stackable-window.h
4591 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4592 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4593 (hildon_stackable_window_show, hildon_stackable_window_hide)
4594 (hildon_stackable_window_class_init)
4595 (hildon_stackable_window_init):
4596 Use HildonWindowStack for stack management.
4598 * src/hildon-program.c (hildon_program_pop_window_stack)
4599 (hildon_program_peek_window_stack)
4600 (hildon_program_go_to_root_window):
4601 Add a fallback implementation to the deprecated functions using
4604 * examples/hildon-stackable-window-example.c:
4605 Use the new HildonWindowStack API.
4607 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-stackable-window-private.h
4610 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4611 (hildon_stackable_window_hide, hildon_stackable_window_init):
4612 Remove all window stack management.
4614 * src/hildon-program-private.h
4615 * src/hildon-program.h
4616 * src/hildon-program.c (hildon_program_init)
4617 (hildon_program_pop_window_stack)
4618 (hildon_program_peek_window_stack)
4619 (hildon_program_go_to_root_window):
4620 Remove all window stack management and mark functions as
4623 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4625 * src/hildon-app-menu.c (hildon_app_menu_realize):
4626 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4628 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4630 * configure.ac: post release version bump
4631 * debian/changelog: version bump
4633 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4638 * configure.ac: bump version
4639 * debian/changelog: updates
4641 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4643 Based on initial code by Christian Dywan (christian@imendio.com)
4645 * doc/hildon-docs.sgml: Add section for hildon-main.
4646 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4647 * src/Makefile.am: Add new hildon-main.[ch]
4648 * src/hildon-defines.h: Update the icon sizes.
4649 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4650 new library initialization files and register icon sizes.
4651 * src/hildon-main.h: New declarations.
4652 * src/hildon.h: Include hildon-main.h
4654 Add new initialization functions to the library. These methods
4655 will register the hildon specific icon sizes and can be used in the
4656 future for other hildon specific bits.
4658 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4660 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4662 * src/hildon-window.c: (hildon_window_realize),
4663 (hildon_window_notify), (-hildon_window_update_title): Do not set
4664 the application name in the window title.
4666 Fixes: NB#89754 (Applications shouldn't display their names in the
4669 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4671 * src/hildon-note-private.h:
4672 * src/hildon-note.c: (hildon_note_set_property),
4673 (hildon_note_get_property), (hildon_note_class_init),
4674 (hildon_note_init), (hildon_note_finalize),
4675 (hildon_note_new_confirmation_with_icon_name),
4676 (hildon_note_new_information_with_icon_name):
4678 No need to mark as deprecated the actual code. Revert
4679 to avoid missing symbols in widgets using deprecated API.
4681 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4683 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4685 * src/hildon-volumebar.h
4686 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4687 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4689 * src/hildon-helper.h
4690 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4691 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4693 * examples/Makefile.am:
4694 Deprecate hildon-insensitive-example
4696 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4698 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4700 * examples/hildon-pannable-area-buttons-scroll-example.c:
4701 Make all buttons finger height
4703 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4705 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4707 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4708 update the day model only if it is really required, and to avoid the
4709 full-reconstruction aproach. Now it only add or remove the required days.
4711 The purpose of this is avoid superfluous HildonTouchSelector::changed
4714 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4715 with strange parameters)
4717 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4719 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4721 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4722 the WINDOW_TYPE property.
4724 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4726 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4729 Fix dependency to allow parallel compilation with make -jX
4731 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4733 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4734 color frame and some minor tweaks to make it more consistent with
4737 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4738 highlighted but not visible)
4740 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4742 * examples/Makefile.am: Fixed typo in the Makefile.am.
4744 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4746 Reviewed the use of MAEMO_GTK define, now we add the define in the
4747 compilation line, and we also add it to the pc file.
4749 * configure.ac: Added MAEMO_GTK define to the compilation command
4750 and removed it from the config.h.
4752 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4753 do not have to take care about this define if the library was
4757 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4759 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4761 * examples/Makefile.am,
4762 * examples/hildon-pannable-area-buttons-scroll-example.c,
4763 * examples/hildon-pannable-area-gesture-signals-example.c,
4764 * examples/hildon-pannable-area-scroll-jump-example.c,
4765 * examples/hildon-pannable-area-tree-view-example.c:
4766 Renamed the pannable area examples, now they have more meaningful
4769 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4771 * src/hildon-touch-selector.c:
4772 (hildon_touch_selector_set_column_selection_mode): Used of
4773 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4774 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4775 to avoid re-seting the same selection mode.
4777 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4778 breaks HildonPickerDialog)
4780 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4782 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4783 conditional in the Makefile.am
4785 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4787 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4788 Remove unused methods.
4790 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4792 * src/hildon-button.c (hildon_button_init):
4793 Make button images center-aligned by default
4795 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4798 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4799 activated, we have to think about how to deal with both defines
4800 MAEMO_GTK and MAEMO_CHANGES.
4802 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4804 * examples/hildon-app-menu-example.c (create_menu): Make all
4805 buttons finger size.
4807 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4809 Fixed the compilation without maemo gtk adding ifdefs with
4810 MAEMO_GTK define to the code, we have to check this version more
4813 * examples/Makefile.am: Added control to avoid some examples that
4814 just make sense with maemo gtk.
4817 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4818 hildon modes with the define.
4820 * examples/hildon-edit-toolbar-example.c,
4821 (create_icon_view): Create the icon view without hildon-gtk
4822 helpers if we are not using maemo gtk.
4824 * src/hildon-touch-selector.c,
4825 (_create_new_column): Create the treeview without hildon-gtk
4826 helpers if we are not using maemo gtk.
4828 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4830 * src/hildon-pnnable-area.c,
4831 (hildon_pannable_area_dispose),
4832 (hildon_pannable_area_button_press_cb),
4833 (hildon_pannable_area_child_mapped),
4834 (hildon_pannable_area_add),
4835 (hildon_pannable_area_remove): Added code to control the position
4836 of the event_window when adding and removing children from the
4837 pannable. We have to raise the event window when the child is
4840 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4841 selection mode using custom widget inside pannable)
4843 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4845 * configure.ac: post release version bump
4846 * debian/changelog: version bump
4848 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4853 * configure.ac: bump version
4854 * debian/changelog: updates
4856 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4858 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4859 search mode, in order to avoid lose the focus on the treeview when
4860 a hw key (like enter) is pressed.
4862 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4863 in HildonDateSelector dialog)
4865 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * debian/rules: Added --enable-maintainer-mode
4868 * Makefile.am: Added ACLOCAL_AMFLAGS
4870 This allows to properly regenerate the Makefiles if you modify the
4871 configure.ac or any Makefile.am.
4873 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4875 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4876 properties, not needed at all.
4878 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4882 * src/hildon-note.c: (hildon_note_set_property),
4883 (hildon_note_get_property), (hildon_note_class_init),
4884 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4885 (hildon_note_new_confirmation_add_buttons): Remove icons.
4886 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4887 (hildon_note_new_information_with_icon_name): Deprecate.
4888 (hildon_note_new_confirmation): Act directly, without calling
4889 the deprecated constructor.
4890 (hildon_note_new_information): Act directly, without calling
4891 the deprecated constructor.
4892 * src/hildon-note.h: Mark deprecate methods as such.
4893 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4894 not run tests on the deprecated methods if built with deprecation
4897 Fixes: NB#91688 (Never show icons in information notes/confirmation
4900 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4902 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4903 (hildon_app_menu_key_press): Remove leftover usage of the
4904 private structure in HildonAppMenu struct.
4905 * src/hildon-app-menu.h: Remove leftover private structure
4906 from the HildonAppMenu struct.
4908 Fixes a crasher when using the HildonAppMenu.
4910 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-picker-dialog.c: Use appropriate logical id
4913 for the default "Done" text.
4915 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4917 * configure.ac: post release version bump
4918 * debian/changelog: version bump
4920 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4922 Modified the way to scroll to the current selection just when the touch
4923 selector is shown on the screen, avoiding a g_idle. Added too a property
4924 to configure this behaviour. See hildon_pannable_area_jump_to_child
4925 documentation for more information.
4927 * src/hildon-touch-selector.c
4928 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4929 Added 'initial-scroll' property
4930 (hildon_touch_selector_set_property): Added
4931 (hildon_touch_selector_map): Removed as not required anymore
4932 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4933 only a concrete column, instead of iterate along all the columns
4935 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4940 * configure.ac: bump version
4941 * debian/changelog: updates
4943 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4945 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4946 compilation time warnings.
4948 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4951 the default value for HildonPannableArea::mov-mode to
4952 HILDON_PANNABLE_AREA_MODE_VERT.
4954 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4956 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4958 Reverting following commit:
4960 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4962 * src/hildon-app-menu-private.h
4963 * src/hildon-app-menu.[ch]
4964 * src/hildon-button.[ch]
4965 * src/hildon-check-button.[ch]
4966 * src/hildon-entry.[ch]
4967 * src/hildon-pannable-area.[ch]
4968 * src/hildon-text-view.[ch]:
4969 Added private field to the object's structure.
4971 because it causes an ABI breakage. We will need to introduce these
4972 changes later at some point. See NB#91636 for an extensive
4973 explanation and status.
4975 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4977 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4979 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4980 remove special cases that are no longer necessary.
4982 Fixes: NB#91016 (Change toolbar sizes, simplification)
4984 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4986 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4987 is shown in the cancel note.
4989 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4991 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4992 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4993 (hildon_seekbar_init): Remove steppers, remove expose event.
4994 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4996 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4998 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5000 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5001 label font to "SmallSystemFont" for vertically arranged buttons.
5003 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5006 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5008 * src/hildon-check-button.c
5009 (hildon_check_button_set_active, hildon_check_button_clicked):
5010 Don't access private parts directly, use getters instead.
5012 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-check-button.c (hildon_check_button_new):
5015 Align the contents of the check button to the left.
5017 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5019 * src/hildon-pannable-area.c,
5020 (hildon_pannable_area_scroll_to),
5021 (hildon_pannable_area_jump_to),
5022 (hildon_pannable_area_scroll_to_child),
5023 (hildon_pannable_area_jump_to_child): Replace the mapped
5024 precondition of these functions with the realized, it is the
5025 correct state of the widget in this case. Changed the
5026 documentation according to this modification.
5028 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5030 Added a new EXTRA_CFLAGS option to add the deprecated define to
5031 the compilation command. This way we can avoid using the define in
5032 the documentation compilation.
5034 * configure.ac: Defined EXTRA_CFLAGS.
5036 * examples/Makefile.am:
5038 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5040 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5042 * src/hildon-picker-dialog.c:
5043 Defined a utility macro with the desired touch selector height
5044 Removed currently unused separator, and title_label variables from
5046 (hildon_picker_dialog_init): Removed code related to the creation
5047 of unused private variables title_label and separator.
5048 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5049 to ensure correct visualization of the touch selector inside the dialog.
5050 * src/hildon-touch-selector.c
5051 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5052 ensure a concrete height of the widget.
5054 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5057 * tests/Makefile.am:
5059 Remove spurious whitespaces.
5061 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5063 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5064 compilation warning after the cancel button removal.
5066 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5068 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5070 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5071 Makefile.am, that way we can choose not to compile some examples
5072 and tests of the deprecated widgets.
5074 * examples/Makefile.am: Divided the sources in deprecated and
5077 * src/Makefile.am: Added undef statement of the deprecated
5078 symbol to the enums file generation process.
5080 * src/hildon-color-chooser-dialog.c
5081 * src/hildon-color-chooser-dialog.h
5082 * src/hildon-color-button.c
5083 * src/hildon-color-button.h
5084 * src/hildon-color-chooser.c
5085 * src/hildon-color-chooser.h
5086 * src/hildon-controlbar.c
5087 * src/hildon-controlbar.h
5088 * src/hildon-date-editor.c
5089 * src/hildon-date-editor.h
5090 * src/hildon-hvolumebar.c
5091 * src/hildon-hvolumebar.h
5092 * src/hildon-private.c
5093 * src/hildon-private.h
5094 * src/hildon-range-editor.c
5095 * src/hildon-range-editor.h
5096 * src/hildon-seekbar.c
5097 * src/hildon-seekbar.h
5098 * src/hildon-time-editor.c
5099 * src/hildon-time-editor.h
5100 * src/hildon-time-picker.c
5101 * src/hildon-time-picker.h
5102 * src/hildon-volumebar.c
5103 * src/hildon-volumebar.h
5104 * src/hildon-vvolumebar.c
5105 * src/hildon-vvolumebar.h
5106 * src/hildon-bread-crumb-trail.h
5107 * src/hildon-bread-crumb-trail.c
5108 * src/hildon-calendar-popup.c
5109 * src/hildon-calendar-popup.h
5110 * src/hildon-weekday-picker.c:
5111 * src/hildon-weekday-picker.h:
5112 * src/hildon-bread-crumb-widget.c:
5113 * src/hildon-bread-crumb-widget.h:
5114 * src/hildon-bread-crumb.c:
5115 * src/hildon-bread-crumb.h:
5116 * src/hildon-calendar.c:
5117 * src/hildon-calendar.h:
5118 * src/hildon-caption.c:
5119 * src/hildon-code-dialog.c:
5120 * src/hildon-code-dialog.h:
5121 * src/hildon-font-selection-dialog.c:
5122 * src/hildon-font-selection-dialog.h:
5123 * src/hildon-get-password-dialog.c:
5124 * src/hildon-get-password-dialog.h:
5125 * src/hildon-login-dialog.c:
5126 * src/hildon-login-dialog.h:
5127 * src/hildon-number-editor.c:
5128 * src/hildon-number-editor.h:
5129 * src/hildon-set-password-dialog.c:
5130 * src/hildon-set-password-dialog.h:
5131 * src/hildon-sort-dialog.c:
5132 * src/hildon-sort-dialog.h: This is the list of deprecated
5135 * src/hildon-touch-selector.c:
5136 * src/hildon-window.c: Added undef statement to avoid compilation
5139 * tests/Makefile.am: Divided the sources in deprecated and
5142 * tests/check_test.c,
5143 (configure_tests): Marked the deprecated code that was adding
5144 suites with deprecated tests.
5146 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5148 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5150 * src/hildon-touch-selector.c: (_default_print_func): Do not
5151 duplicate a string returned by gtk_tree_model_get(), it is already
5154 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5157 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5159 * src/hildon-pannable-area.c
5160 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5161 method, it had problems when adding a widget with viewport the
5162 second time. Now checks if it already has a viewport and uses it.
5164 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5167 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5169 * src/hildon-pannable-area.c,
5170 (hildon_pannable_area_scroll_to),
5171 (hildon_pannable_area_jump_to),
5172 (hildon_pannable_area_scroll_to_child),
5173 (hildon_pannable_area_jump_to_child): Added a precondition to the
5174 scroll and jump to functions: the widget must be mapped before we
5175 can safely call these functions. We have also added documentation
5176 to the functions to explain how to use them in this situation.
5179 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5181 Reviewed the threading handling of the pannable widget, we have
5182 used the gdk_threads_add_timeout function instead of the usual
5183 glib handlers. This avoids some problems with the threads.
5185 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5186 (hildon_pannable_area_initial_effect),
5187 (hildon_pannable_area_scroll_indicator_fade),
5188 (hildon_pannable_area_button_press_cb),
5189 (hildon_pannable_area_timeout),
5190 (hildon_pannable_area_motion_notify_cb),
5191 (hildon_pannable_area_button_release_cb),
5192 (hildon_pannable_area_scroll_cb),
5193 (hildon_pannable_area_scroll_to): Removed the
5194 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5195 gdk_threads_add_timeout.
5197 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5199 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5204 * configure.ac: bump version
5205 * debian/changelog: updates
5207 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5209 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5210 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5211 * src/hildon-color-chooser-dialog.c:
5212 (hildon_color_chooser_dialog_init):
5213 * src/hildon-font-selection-dialog.c:
5214 (hildon_font_selection_dialog_init):
5215 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5217 Remove all cancel/close-like dialogs, as these are not going to be
5220 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5222 * src/hildon-note.c: (hildon_note_rebuild),
5223 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5226 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5228 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5230 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5231 sure all buttons are shown, even the Cancel/Close-like ones.
5233 Fixes: NB#90861 (Custom Confirmation dialogs should be
5234 protected from cancel button removal)
5236 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5238 * debian/control: Change libhildon1-examples dependency from libhildon1
5240 * debian/libhildon1-examples.install
5242 * Makefile.am: Modified the final install directory for the examples on
5243 package libhildon1-examples
5244 * Makefile.static: Update clean target in order to remove all the binary
5247 Changes suggested by Claudio after review new libhildon1-examples package
5249 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5251 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5252 * src/hildon-touch-selector.c: Ditto.
5254 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5256 * debian/control: Added new package libhildon1-examples, in order to pack
5257 the current hildon examples as documentation
5258 * debian/rules: Not to compress .c files, modify some includes on the
5259 examples (as normally are compiled locally, but when installed it will
5260 require to include the installed libhildon1 library), and rename
5262 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5263 install all the example files on the new example package
5264 * examples/Makefile.static: Added static makefile that can be used to
5265 compile the examples, once installed the new example package
5266 * examples: Most of the examples were modified in order to grant that
5267 all use only '#include "hildon.h"', in order to be easy to prepare
5268 it on the example package
5270 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5273 * debian/libhildon1-dev.install
5274 * debian/libhildon1-doc.install:
5275 Move all gtk-doc files to a separate libhildon1-doc package.
5277 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5279 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5281 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5283 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5285 * debian/rules: Fixed a error in order to avoid unnecessary calls
5286 to autogen.sh on package building
5288 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5290 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5292 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5294 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5297 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5299 * src/hildon-picker-button.c
5300 (hildon_picker_button_finalize):
5301 Free priv->done_button_text
5303 * src/hildon-time-button.c
5304 (hildon_time_button_set_time)
5305 * src/hildon-picker-button.c
5306 (hildon_picker_button_clicked)
5307 (hildon_picker_button_selector_selection_changed)
5308 (hildon_picker_button_set_selector)
5309 * src/hildon-date-button.c
5310 (hildon_date_button_set_date):
5311 Free strings returned by hildon_touch_selector_get_current_text()
5313 * src/hildon-button.c (hildon_button_construct_child):
5314 Fix leaks in priv->image and priv->label_box
5316 Fixes: NB#90535 (Memory leak in picker button)
5318 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-button.c: (hildon_button_get_property): Do not access
5321 private elements directly, use getters instead.
5323 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5325 * src/hildon-app-menu-private.h
5326 * src/hildon-app-menu.c
5327 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5328 Store the menu's parent window.
5330 * src/hildon-stackable-window.c
5331 (hildon_stackable_window_toggle_menu)
5332 (hildon_stackable_window_finalize):
5333 Set the menu's parent window when the menu is shown, unset it when
5336 * src/hildon-app-menu.c
5337 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5338 (hildon_app_menu_class_init):
5339 Send unhandled keyboard accelerators to the parent window.
5341 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5343 * src/hildon-stackable-window.c
5344 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5346 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5348 * configure.ac: post release version bump
5350 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5353 * configure.ac: Bump version
5354 * debian/changelog: Updates
5355 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5358 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5360 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5363 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5364 GtkMenu with Hildon style.
5366 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/hildon-picker-button.c:
5369 (hildon_picker_button_set_done_button_text): Set the dialog's
5370 done button text here as well.
5372 Fixes: NB#90232 (Picker button does not set the label on done button
5373 for the second time)
5375 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5380 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-app-menu.c (hildon_app_menu_insert)
5383 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5384 the HildonAppMenu to be activatable using keyboard accelerators
5385 when the menu is not being shown.
5387 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5389 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5391 * src/hildon-stackable-window.c
5392 (hildon_stackable_window_show):
5393 Don't hide old windows automatically when new windows are shown:
5394 this is now a task for the window manager.
5395 (hildon_stackable_window_class_init)
5396 (hildon_stackable_window_hide):
5397 Remove windows from the stack everytime they're hidden.
5398 (hildon_stackable_window_realize):
5399 Don't change the _NET_WM_WINDOW_TYPE property. Use
5400 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5401 it as a stackable window.
5403 * src/hildon-program.c
5404 (hildon_program_pop_window_stack):
5405 Just hide the window to remove it from the stack.
5406 (hildon_program_go_to_root_window):
5407 Don't call gtk_widget_show(), this is now a task for the window
5410 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5412 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5414 * src/hildon-button.c
5415 (hildon_button_construct_child):
5416 Don't pack anything in the button until text or image are
5417 set. This allows adding a custom child after creating the button
5418 with hildon_button_new().
5419 (hildon_button_finalize, hildon_button_class_init)
5420 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5421 alignment and the label box even when they're not packed in the
5424 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5426 * src/hildon-touch-selector.h:
5427 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5428 currently the type definition was using GTK_TYPE_VBOX
5429 * src/hildon-touch-selector.c:
5430 Added some implementation notes in order to clarify that any other widget
5431 added without the column related API will not be included on the
5432 selection logic, and how the widget is freed, as some people ask about
5434 (hildon_touch_selector_remove): Reimplemented in order to free properly
5435 the column related data when you remove the private hbox.
5436 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5437 to get a proper HildonTouchSelectorColumn documentation
5439 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5441 * src/hildon-touch-selector-entry.c:
5442 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5443 text in the GtkEntry and there is no item selected. Fixes a
5446 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5448 * src/hildon-app-menu-private.h
5449 * src/hildon-app-menu.[ch]
5450 * src/hildon-button.[ch]
5451 * src/hildon-check-button.[ch]
5452 * src/hildon-entry.[ch]
5453 * src/hildon-pannable-area.[ch]
5454 * src/hildon-text-view.[ch]:
5455 Added private field to the object's structure.
5457 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5459 * configure.ac: post-release version bump
5461 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5465 * configure.ac: pre-release version bump
5467 * debian/changelog: updates.
5469 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5472 Disconnect the handler for HildonTouchSelector::changed.
5474 (hildon_picker_button_selector_selection_changed): Update the button
5475 value if the selection change was not triggered by the
5478 (hildon_picker_button_set_selector): connect to
5479 HildonTouchSelector::changed.
5481 Fixes: NB#89650 (Picker button is not updated, when selection in
5482 selector has changed)
5484 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5486 * src/hildon-picker-dialog.c
5487 (hildon_picker_dialog_realize): Removed as not required
5488 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5489 * src/hildon-picker-button.c
5490 (_current_selector_empty): New function, checks if the selector is empty
5491 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5492 if the current selector is empty, in order to avoid to show the dialog
5493 close the dialog in this case (and shows a g_warning).
5495 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5497 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5499 * src/hildon-pannable-area.c,
5500 (hildon_pannable_area_scroll): Added clause to stop movement when
5501 the child of pannable is smaller than one page.
5502 (hildon_pannable_area_scroll_to): Added conditions to avoid
5503 starting the scrolling movement if the child is smaller than one
5504 page, the complete child is in the screen, we do not have to move.
5506 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5508 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5511 this is managed automatically by the widget when the size of the
5514 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-picker-button.c
5517 (hildon_picker_button_set_done_button_text): Make a copy of the
5518 text, and free the previous value.
5520 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5522 * src/hildon-touch-selector-entry.c:
5523 (hildon_touch_selector_entry_print_func): Return the selected row's
5524 text if the entry is empty.
5526 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5529 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5531 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5533 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5536 * src/hildon-check-button.h
5537 * src/hildon-check-button.c
5538 * examples/hildon-check-button-example.c:
5539 HildonCheckButton is now a new widget. 'toggled' signal added.
5541 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-program-private.h
5544 * src/hildon-program.c (hildon_program_init)
5545 (hildon_program_finalize): Removed unused variables group_leader
5546 and name from HildonProgramPrivate.
5548 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5550 * src/hildon-check-button.c (hildon_check_button_set_active)
5551 (hildon_check_button_get_active, hildon_check_button_new): Use
5552 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5554 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5556 * src/hildon-touch-selector.h
5557 (hildon_touch_selector_set_column_attributes): added deprecation
5558 guard HILDON_DISABLE_DEPRECATED
5559 * src/hildon-time-selector.c
5560 (hildon_time_selector_set_time)
5561 (hildon_time_selector_get_time): Fixed a typo on documentation
5562 * src/hildon-touch-selector.c: update HildonTouchSelector and
5563 HildonTouchSelectorColumn documentation
5564 * src/hildon-touch-selector-entry.c: update "text-column" property
5566 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5567 to be added to the general documentation.
5569 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5571 * examples/hildon-pannable-area-example-4.c,
5573 * examples/hildon-pannable-area-example.c,
5574 (main): Modified the code in order to use the container add, with
5575 viewport treeviews could have problems if they are really big.
5577 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5579 * src/hildon-weekday-picker.c,
5580 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5581 the agreement regarding deprecation in the library.
5583 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5585 * examples/hildon-picker-button-multicolumn-example.c:
5586 (main): Use custom "done" button text.
5588 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5589 (hildon_picker_button_set_property),
5590 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5591 (hildon_picker_button_init),
5592 (+hildon_picker_button_get_done_button_text),
5593 (+hildon_picker_button_set_done_button_text): New methods to customize
5594 the "done" button label in the launched HildonPickerDialog. Also,
5597 * src/hildon-picker-button.h: add the public API.
5599 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5601 * src/hildon-date-selector.h:
5602 * src/hildon-picker-dialog.h:
5603 * src/hildon-time-selector.h:
5604 * src/hildon-touch-selector-column.h:
5605 * src/hildon-touch-selector.h:
5607 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5608 declarations. Fixes gtk-doc warnings.
5610 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5612 * src/hildon-picker-dialog.h
5613 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5614 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5616 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5617 long text is set as label for done button)
5619 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5621 * src/hildon-dialog.c (hildon_dialog_add_button):
5622 Set fixed width to all buttons in the HildonDialog.
5624 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5626 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5628 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5629 Set widget name using class name plus "-finger" or "-thumb".
5631 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5634 'clicked' when the state of the button is manually changed.
5636 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5638 * src/hildon-app-menu.c (hildon_app_menu_realize)
5639 (hildon_app_menu_unrealize, hildon_app_menu_init)
5640 (hildon_app_menu_class_init, item_visibility_changed):
5641 Change the menu layout when the size of the screen changes.
5642 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5643 Show warning only when changing the number of colums using the
5646 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5648 * debian/compat: Set to 5
5649 * debian/control: Update dependencies.
5650 * debian/libhildon1-dbg.install: Remove.
5651 * debian/libhildon1-dev.install: Update according to cdbs paths.
5652 * debian/libhildon1.install: Update according to cdbs paths.
5653 * debian/rules: Switch to cdbs.
5655 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5657 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5658 'item' variable renamed to 'filter'
5660 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5662 * src/hildon-app-menu.c (hildon_app_menu_insert)
5663 (hildon_app_menu_add_filter, remove_item_from_list)
5664 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5665 Don't leak hidden items when the menu is destroyed.
5667 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5669 * src/hildon-app-menu.c (hildon_app_menu_insert)
5670 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5671 (hildon_app_menu_set_columns, item_visibility_changed)
5672 (filter_visibility_changed, hildon_app_menu_repack_filters)
5673 (hildon_app_menu_repack_items):
5674 Repack items and filters separately.
5676 Don't repack all items, change only the ones that are needed to
5679 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5681 * src/Makefile.am: added hildon-touch-selector-column.h
5683 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5685 * src/hildon-touch-selector.c: added the property "text-column" to the
5686 class HildonTouchSelectorColumn, and related get/set functions
5687 (_default_printf_func): updated to use "text-column" property
5688 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5689 "text-column" in his documentation, as this is now included on
5690 HildonTouchSelectorColumn. The get/set_property can still be used,
5691 working as a wrapper to the concrete column "text-column" property
5692 (_text_column_modified): callback added in order to handle the signal
5693 "notify::text-column" of the concrete HildonTouchSelectorColumn
5694 (hildon_touch_selector_entry_get_text_column)
5695 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5696 modified in order to use the HildonTouchSelectorColumn "text-column"
5698 * src/hildon-time-selector.c:
5699 * src/hildon-date-selector.c:
5700 * examples/hildon-touch-selector-example.c
5701 * examples/hildon-touch-selector-multi-cells-example.c
5702 * examples/hildon-picker-button-multicolumn-example.c
5703 Set the right value to "text-column" property on the creation of a new
5704 column using hildon_touch_selector_append_column()
5706 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5708 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5710 * src/hildon-app-menu.c
5711 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5712 updating the layout of the menu, don't create all widgets again,
5713 just repack the items in their new places.
5715 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5717 * src/hildon-time-selector.c
5718 (hildon_time_selector_get_time)
5719 (hildon_time_selector_set_time)
5720 Added documentation of these public methods
5722 * src/hildon-date-button.h
5723 * src/hildon-touch-selector-column.h
5724 * src/hildon-time-button.h
5725 * src/hildon-picker-dialog.h
5726 * src/hildon-time-selector.h
5727 * src/hildon-picker-button.h
5728 * src/hildon-touch-selector.h
5729 * src/hildon-time-picker.h
5730 * src/hildon-date-selector.h
5731 * src/hildon-touch-selector-entry.h
5732 Modified in order to use hildon-widgets code style
5734 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5736 Added deprecated support to the compilation process using
5737 HILDON_DISABLE_DEPRECATED
5739 * configure.ac: Added the --disable-deprecated to the configure
5742 * src/hildon-weekday-picker.c:
5743 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5744 to use the deprecated support. We will update the other deprecated
5745 widgets status in a new patch.
5747 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5749 * configure.ac: Fixed typo with fatal warnings support, the
5750 variable name was not correct
5752 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5754 * src/hildon-app-menu.c
5755 * src/hildon-program.c: Update documentation.
5757 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5759 * configure.ac: Post-release version bump.
5761 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5766 * configure.ac: Pre-release version bump.
5767 * debian/changelog: Updates.
5769 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5771 * NEWS: Update news for previous releases.
5773 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5775 * examples/hildon-touch-selector-multi-cells-example.c:
5776 (create_selector): Update the example to use
5777 hildon_touch_selector_append_column() with a NULL renderer and set
5778 the renderers later.
5779 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5780 passed a NULL renderer. This is documented behavior now.
5782 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5783 This must be used if the developer wants full control on the layout of
5784 the renderers to be added to the column.
5786 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5788 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5790 * src/hildon-touch-selector.c: Documentation fixes.
5792 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5794 * src/hildon-wizard-dialog-private.h: Remove image and box.
5795 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5796 (hildon_wizard_dialog_set_property), (response): Completely remove
5797 image/icon support, and the containers required for the layout.
5799 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5801 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-app-menu.c: Updated documentation.
5805 * src/hildon-stackable-window.c
5806 (hildon_stackable_window_set_main_menu): Unref the old menu after
5807 ref'ing the new one.
5809 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-stackable-window.c
5812 (hildon_stackable_window_set_main_menu): Unref the previous menu
5813 instead of destroying it.
5815 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5816 floating reference and set has_user_ref_count to FALSE to make
5817 HildonAppMenu act like a normal ref-counted widget and not a
5820 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5823 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5825 * src/hildon-touch-selector-column.h: new file
5826 * src/hildon-touch-selector.h
5827 * src/hildon-touch-selector.c
5828 Implemented GtkCellLayout interface, in order to allow to configure
5829 the cell layout on each individual selector column
5830 (hildon_touch_selector_set_column_attributes): marked as deprecated
5831 * examples/hildon-touch-selector-multi-cells-example.c
5832 Example of how to use the GtkCellLayout interface on the selector
5834 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5836 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-app-menu.h
5839 * src/hildon-app-menu.c
5840 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5841 (hildon_app_menu_append, hildon_app_menu_prepend):
5842 New methods to prepend, insert and move items in the menu.
5844 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-wizard-dialog.c:
5848 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5850 (create_title): Update logical IDs and related code.
5851 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5853 * src/hildon-wizard-dialog.h: Note that
5854 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5855 point, as it is not used anymore.
5857 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5859 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5861 * src/hildon-note.c:
5862 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5863 shown. Do not display an icon in confirmation notes nor information
5865 (hildon_note_set_button_text): Update logical ID for cancel button.
5867 Fixes: NB#88850 (Update HildonNote button strings + signals)
5869 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-stackable-window.c
5872 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5874 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5876 * src/hildon-app-menu-private.h
5877 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5878 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5879 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5880 temporary property 'columns' to change the number of columns.
5882 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5884 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5886 * examples/hildon-note-example.c: (on_information_clicked),
5887 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5888 debugging information.
5889 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5891 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5892 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5893 in order to close: this will be handled by the WM from now on.
5895 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5897 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-app-menu-private.h
5900 * src/hildon-app-menu.c
5901 (hildon_app_menu_append, hildon_app_menu_add_filter)
5902 (button_visibility_changed, hildon_app_menu_apply_style)
5903 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5904 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5905 layout everytime a button (item or filter) is shown or hidden.
5907 * src/hildon-stackable-window.c
5908 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5911 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5913 * src/hildon-touch-selector.c:
5914 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5915 that the treeview inside the touch selector is in fremantle hildon mode
5916 * examples/hildon-date-button-example.c
5917 * examples/hildon-picker-button-multicolumn-example.c
5918 * examples/hildon-touch-selector-entry-example.c
5919 * examples/hildon-touch-selector-example.c
5920 * examples/hildon-time-button-example.c
5921 * examples/hildon-picker-button-example.c:
5922 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5924 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5926 * examples/hildon-text-view-example.c: (main): Remove the
5927 gtkrc bits, now handled by the theme.
5929 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5931 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5934 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5936 * po/Makefile.am: Install properly the mo files.
5937 * po/en_GB.po: Update translation, to ease testing purposes.
5939 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5941 * examples/hildon-picker-button-example.c: (main): Select an item
5942 in the selector before setting it to the button.
5944 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5946 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5947 Update button's value if the selector has an item active.
5949 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5950 'value' with the selector)
5952 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5954 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5955 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5956 (hildon_picker_button_class_init): Plug the finalize method.
5957 (hildon_picker_button_set_selector): If there's a previously set
5958 selector, unref'it before setting a new one.
5960 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5961 HildonTouchSelector)
5963 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5965 * src/hildon-touch-selector-entry.c:
5966 (hildon_touch_selector_entry_changed): Check if there is no text
5967 selected before setting the entry text.
5970 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5972 * src/hildon-touch-selector.h
5973 * src/hildon-touch-selector.c
5974 (hildon_touch_selector_get_active)
5975 (hildon_touch_selector_set_active): New methods to set/get the
5976 index of the selected item.
5978 * src/hildon-picker-button.h
5979 * src/hildon-picker-button.c
5980 (hildon_picker_button_get_active)
5981 (hildon_picker_button_set_active): New methods to set/get the
5982 index of the selected item.
5984 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5986 * configure.ac: post-release version bump.
5988 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5992 * configure.ac: Pre-release version bump.
5993 * debian/changelog: Updates.
5994 * debian/control: Add myself as maintainer and depend on l10n
5997 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5999 * src/hildon-window.c
6000 (hildon_window_set_main_menu)
6001 * src/hildon-stackable-window.c
6002 (hildon_stackable_window_set_main_menu):
6003 Updated documentation.
6005 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6008 Don't free selector->priv manually.
6011 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6014 (hildon_gtk_window_set_progress_indicator):
6015 * src/hildon-gtk.h: Added the new API
6016 hildon_gtk_window_set_progress_indicator, it changes the state of
6017 the window progress hint.
6019 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6021 * src/hildon-button.c
6022 * src/hildon-stackable-window.c: Minor documentation updates.
6024 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6026 * src/hildon-stackable-window.c: Updated documentation.
6028 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6030 * src/hildon-defines.h: Update margins definitions
6031 to the Fremantle sizes.
6034 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6036 * src/hildon-touch-selector.c,
6037 (_hildon_touch_selector_set_model): Cleaning the code after
6038 review, removed g_print and #if 0 from the code.
6040 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6042 * src/hildon-edit-toolbar.c: Update documentation.
6044 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6046 * src/hildon-check-button.h
6047 * src/hildon-check-button.c
6048 (hildon_check_button_set_label, hildon_check_button_get_label)
6049 * examples/hildon-check-button-example.c
6050 (button_clicked_cb):
6051 Removed deprecated methods.
6053 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6055 * src/hildon-text-view.c:
6056 Add sample code to the documentation.
6058 * src/hildon-entry.h
6059 * src/hildon-text-view.h:
6060 Minor cosmetic changes.
6062 * src/hildon-entry.c:
6063 Add sample code to the documentation.
6064 (hildon_entry_init, hildon_entry_refresh_contents):
6065 Don't allow NULL values in the placeholder.
6067 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6069 * doc/hildon-docs.sgml
6071 * examples/Makefile.am
6072 * examples/hildon-text-view-example.c
6074 * src/hildon-text-view.c
6075 * src/hildon-text-view.h
6077 New HildonTextView widget, with example.
6079 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6081 * po/POTFILES.in: Add missing files with translatable strings.
6082 Partially fixes NB#88287.
6084 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6086 * examples/hildon-pannable-area-example-2.c: (main): No need to
6087 set the cellrenderer height inside hildon touch lists, the theme does
6090 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6092 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6093 they are integrated in the theme.
6095 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6097 * examples/hildon-entry-example.c: Update the example adding
6098 widgets to modify the text and the placeholder of the HildonEntry.
6100 * src/hildon-entry.c: Show the placeholder everytime the widget
6101 is empty and loses the focus.
6103 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6105 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6107 * src/hildon-pannable-area.c,
6108 (hildon_pannable_area_size_request): Fixed bug in height
6109 requisition, avoid increasing size and add border twice.
6111 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6113 * configure.ac: postrelease version bump.
6115 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6119 * configure.ac: Prerelease version bump.
6120 * debian/changelog: update.
6121 * debian/rules: make -dbg package contain useful debugging symbols.
6123 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6125 * src/hildon-dialog.h
6126 * src/hildon-dialog.c
6127 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6128 New methods to add buttons with finger size.
6129 (hildon_dialog_new_with_buttons):
6130 Create buttons with finger size.
6132 * examples/hildon-dialog-example.c (main): Use HildonDialog
6133 methods to add buttons.
6135 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6137 * src/hildon-entry.c: Updated HildonButton documentation.
6139 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6141 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6142 button value label with (FALSE, FALSE) to prevent NB#88126 from
6145 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6147 * examples/hildon-pannable-area-example.c,
6148 (main): Removed examples panning a vbox inside a pannable
6149 area. Check bug NB#87965
6151 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6153 Patch contributed by Kris Rietveld (kris@imendio.com)
6155 * src/hildon-pannable-area.c,
6156 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6157 get_size and get_position, this saves an X server roundtrip.
6159 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6161 * doc/hildon-docs.sgml
6163 * examples/Makefile.am
6164 * examples/hildon-entry-example.c
6166 * src/hildon-entry.c
6167 * src/hildon-entry.h
6169 New HildonEntry widget, with example.
6171 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6173 * src/hildon-button.c (hildon_button_construct_child): Pack the
6174 image with expand == fill == FALSE. This is a workaround for a bug
6177 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6179 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6180 labels for the text column, to make it more look more dynamic.
6182 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6184 * src/hildon-time-selector.c
6185 Define gettext auxiliar macro N_
6186 (_create_minutes_model)
6187 (_create_hours_model)
6188 (_create_ampm_model): use of strftime in order to fill the model
6189 * src/hildon-date-selector.c
6190 (hildon_date_selector_finalize):
6191 (_locales_init): remove the logic related to get the name of the months
6192 using nl_langinfo, as it is not required anymore
6194 (_create_year_model)
6195 (_create_month_model)
6196 (_update_day_model): use of strftime in order to fill the model properly
6199 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6201 * src/hildon-button.h
6202 * src/hildon-button.c (hildon_button_get_image): New method to
6205 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6207 * src/hildon-touch-selector.c:
6208 (hildon_touch_selector_remove_column): Remove from the correct parent
6209 and also remove the list element and free it.
6212 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6214 * src/hildon-time-selector.c
6215 (_create_hours_model): change the range on 12h ampm format in order to use
6216 a 12-11 range instead of previous 01-12 range
6217 (hildon_time_selector_set_time): change the way to select the current time
6218 on 12h ampm format, due the change on the range
6219 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6222 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6224 * src/hildon-touch-selector.c
6225 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6226 in order to allow use this function on multiple row selection mode if
6227 the column is different that the first one
6230 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6232 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6233 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6235 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6237 * src/hildon-date-selector.h: clean some comments, now on the .c
6238 * src/hildon-date-selector.c
6239 (hildon_date_selector_select_month): first implementation
6240 (hildon_date_selector_select_day): added documentation, reimplemented
6241 using hildon_date_selector_select_current_date to avoid repeat code
6244 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6246 Reviewed interaction logic based on device experiences, refactored
6249 * src/hildon-pannable-area.c,
6250 (hildon_pannable_area_class_init): Updated default vmax speed.
6251 (hildon_pannable_area_calculate_velocity): Added this function, it
6252 avoids duplicate valocity calculation. Adjusted calculation to
6253 avoid problems with zero dist events.
6255 (hildon_pannable_area_motion_notify_cb): Now we use the
6256 calculate_velocity function.
6258 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6260 * src/hildon-date-selector.c
6261 (hildon_date_selector_select_current_date): fix the day range check
6262 as it failed using the last day of the current month
6265 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6267 * src/hildon-touch-selector.c
6268 (hildon_touch_selector_get_num_columns): added a parameter validation
6271 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6273 * examples/Makefile.am
6274 * examples/hildon-edit-toolbar-example.c: Example of the
6275 HildonEditToolbar widget.
6277 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6279 * configure.ac: postrelease version bump.
6281 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6285 * configure.ac: prerelease version bump.
6286 * debian/changelog: update.
6288 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6290 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6291 renderer to display stock icons in the touch list. Also, set the sizes
6292 to the recommended in the style guide.
6294 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6295 * src/hildon-touch-selector.h
6296 (hildon_touch_selector_set_active_iter): renamed, now is
6297 hildon_touch_selector_select_iter
6298 (hildon_touch_selector_get_active_iter): renamed, now is
6299 hildon_touch_selector_get_selected
6300 (hildon_touch_selector_unselect_iter): added
6301 * src/hildon-touch-selector.c
6302 Update after API modification (methods renamed)
6303 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6304 order to avoid problems selecting multiple elements on the column
6305 (hildon_touch_selector_unselect_iter): added the implementation
6306 * src/hildon-time-selector.c
6307 * src/hildon-date-selector.c
6308 * src/hildon-touch-selector-entry.c
6309 Update methods calls after hildon-touch-selector.h API modification (methods
6312 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6314 * src/hildon-stackable-window.c
6315 (hildon_stackable_window_finalize): Call the parent class's finalize.
6317 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6319 * examples/hildon-touch-selector-example.c: (create_selector): Use
6320 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6323 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6325 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6326 set a cell background color, to respect theming.
6328 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6330 * doc/hildon-docs.sgml
6333 * src/hildon-edit-toolbar.c
6334 * src/hildon-edit-toolbar.h
6335 * src/hildon.h: New HildonEditToolbar widget.
6337 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6339 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6342 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6343 * src/hildon-touch-selector.c
6344 (_create_new_column): use g_object_set instead of two g_object_set_property
6346 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6347 * src/hildon-touch-selector.c
6348 (_create_new_column): use of hildon_gtk_tree_view_new to create
6349 the treeview, instead of use directly g_object_new
6350 (_create_new_column): update the property name "vindicator-mode" for the
6351 new one "vscrollbar-policy"
6352 * examples/hildon-date-button-example.c
6353 * examples/hildon-picker-button-multicolumn-example.c
6354 * examples/hildon-touch-selector-entry-example.c
6355 * examples/hildon-touch-selector-example.c
6356 * examples/hildon-time-button-example.c
6357 * examples/hildon-picker-button-example.c
6358 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6359 to all the treeviews inside a pannable area.
6361 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6363 * src/hildon-button.h
6364 * src/hildon-button.c (hildon_button_init)
6365 (hildon_button_set_arrangement, hildon_button_set_alignment)
6366 (hildon_button_set_title_alignment)
6367 (hildon_button_set_value_alignment)
6368 (hildon_button_set_image_alignment)
6369 (hildon_button_construct_child): New methods to set the alignment
6370 of the individual components of the button (title, value,
6371 image). Also, new method to alter the xscale and yscale properties
6372 of the GtkAlignment inside the button, so more complex layouts can
6375 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6377 * src/hildon-button.c (hildon_button_style_set)
6378 (hildon_button_class_init, hildon_button_set_arrangement)
6379 (hildon_button_construct_child): Apply style properties
6380 correctly. Use the 'image-spacing' style property too.
6382 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6384 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6385 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6388 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6390 * src/hildon-pannable-area.c,
6391 (hildon_pannable_area_size_request): Fixed problem with
6392 pannable-area size_request.
6394 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6396 Added management for the grab-focus to a child widget, like a
6397 range, we need to fade out the scrollbar when releasing.
6399 * src/hildon-pannable-area.c,
6400 (hildon_pannable_area_init): Connected the grab-focus signal to
6402 (hildon_pannable_area_grab_notify): Added this function in order
6403 to manage the situation when the grab-focus ends. We have to
6404 fade-out the scrollbar.
6406 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6408 * src/hildon-app-menu.c: Minor documentation update.
6410 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6412 * src/hildon-app-menu.c
6413 * examples/hildon-app-menu-example.c (create_menu): Update
6414 examples and documentation to explain how to connect callbacks.
6416 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6418 * examples/hildon-button-example.c
6419 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6420 hildon_stackable_window_new instead of gtk_window_new
6422 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6424 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6425 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6426 (hildon_pannable_area_set_property),
6427 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6428 (hildon_pannable_area_unrealize),
6429 (hildon_pannable_area_size_request),
6430 (hildon_pannable_area_size_allocate),
6431 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6432 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6433 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6434 (hildon_pannable_area_initial_effect),
6435 (hildon_pannable_area_redraw),
6436 (hildon_pannable_area_scroll_indicator_fade),
6437 (hildon_pannable_area_expose_event),
6438 (hildon_pannable_area_get_topmost), (synth_crossing),
6439 (hildon_pannable_area_button_press_cb),
6440 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6441 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6442 (hildon_pannable_area_motion_notify_cb),
6443 (hildon_pannable_area_button_release_cb),
6444 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6445 (hildon_pannable_area_remove),
6446 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6447 chage the code layout to a more GtkWidget like. Review the use of
6450 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6452 * examples/hildon-pannable-area-example-4.c,
6453 (main): Modified the name of the hindicator_mode to
6456 * src/hildon-pannable-area.c,
6457 (hildon_pannable_area_class_init),
6458 (hildon_pannable_area_motion_notify_cb),
6459 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6460 we have reduced the amount of signals and managed reviewed its
6461 rationale. Changed the default decelerate value.
6463 (hildon_pannable_area_add),
6464 (hildon_pannable_area_redraw): Refactored functions.
6466 (hildon_pannable_area_init),
6467 (hildon_pannable_area_get_property),
6468 (hildon_pannable_area_set_property):
6469 (hildon_pannable_draw_vscroll),
6470 (hildon_pannable_draw_hscroll),
6471 (hildon_pannable_area_initial_effect),
6472 (hildon_pannable_area_expose_event),
6473 (hildon_pannable_area_scroll),
6474 (hildon_pannable_area_button_press_cb),
6475 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6476 and vindicator_mode with hscrollbar_policy and
6477 vscrollbar_policy. Replaced hscroll and vscroll with
6478 hscroll_visible and vscroll_visible.
6480 (hildon_pannable_area_refresh): Refactor the function, remove
6481 variables and check the calls to this function, added resize
6482 conditions in case the children change their layout.
6484 (hildon_pannable_area_size_request): Added more detailed
6485 size_request calculation.
6488 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6490 * src/hildon-color-chooser.c
6491 (init_borders): use the correct gtk_border_free instead of g_free, to
6492 avoid a crash when this widget is used (ie: the three color selection
6495 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6497 * src/hildon-check-button.c,
6498 (hildon_check_button_set_active): Fixed problem when setting the
6499 active value, the widget was not redrawn.
6501 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6503 * src/hildon-pannable-area.c,
6504 (hildon_pannable_area_refresh),
6505 (hildon_pannable_area_scroll),
6506 (hildon_pannable_area_motion_notify_cb): Small code style change.
6508 (hildon_pannable_area_class_init): Default initial_hint set to
6509 FALSE, it is not in the specs.
6511 (hildon_pannable_area_initial_effect),
6512 (hildon_pannable_area_expose_event),
6513 (hildon_pannable_area_map),
6514 (hildon_pannable_area_init): Moved the launching point of the
6515 initial effect, it was in map but the sizes where not correct in
6516 that method so we do not know if we have the reproduce it. Now it
6517 is placed in the expose_event method and uses a variable to
6518 reproduce it just once.
6520 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6522 * src/hildon-pannable-area.c,
6523 (hildon_pannable_draw_vscroll),
6524 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6525 position allowed for the scrollbars.
6527 (hildon_pannable_area_size_allocate): Small style change.
6529 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6531 * src/hildon-pannable-area.c,
6532 (hildon_pannable_area_scroll_indicator_fade),
6533 (hildon_pannable_area_button_press_cb),
6534 (hildon_pannable_area_button_release_cb),
6535 (hildon_pannable_area_scroll_cb),
6536 (hildon_pannable_area_expose_event),
6537 (hildon_pannable_area_init): Added the define parameter
6538 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6539 and refactor the fade variable.
6541 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6543 * src/hildon-pannable-area.c,
6544 (hildon_pannable_area_redraw),
6545 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6546 lines, we were reimplemeting the redraw code.
6548 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6550 * src/hildon-pannable-area.c,
6551 (hildon_pannable_area_scroll_cb),
6552 (hildon_pannable_area_realize),
6553 (hildon_pannable_area_class_init): Added scroll_event management
6554 for pannable area, now we can scroll the usual desktop method.
6556 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6557 initialization of the parameters should depend on idle_id.
6559 (hildon_pannable_area_init),
6560 (hildon_pannable_area_map): Small code style modifications
6562 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6564 * src/hildon-pannable-area.c
6565 (hildon_pannable_area_button_press_cb),
6566 (hildon_pannable_area_motion_notify_cb),
6567 (hildon_pannable_area_button_release_cb),
6568 (hildon_pannable_area_size_allocate),
6569 (hildon_pannable_area_scroll_to): Improved the timeouts
6570 management, we avoid creating them each time.
6572 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6574 * src/hildon-pannable-area.c:
6575 (hildon_pannable_area_refresh),
6576 (hildon_pannable_area_motion_notify_cb),
6577 (hildon_pannable_area_class_init):
6578 * src/hildon-pannable-area.h:
6579 * src/hildon-touch-selector.c
6580 (_create_new_column):
6581 * examples/hildon-pannable-area-example-4.c:
6582 (horizontal_movement),
6583 (vertical_movement),
6585 Replaced the names of enums in the HildonPannableArea:
6586 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6587 HILDON_MOVEMENT_MODE_*
6588 - HILDON_PANNABLE_AREA_MOV_* ->
6590 - Removed HildonPannableAreaIndicatorMode, now we
6593 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6595 * examples/hildon-pannable-area-touch-grid-example.c
6596 * examples/hildon-pannable-area-touch-list-example.c: Fix
6597 compilation warnings.
6599 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6601 * src/hildon-gtk.c (hildon_gtk_button_new)
6602 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6603 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6604 images overriding the value of the "gtk-button-images" setting.
6606 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6608 * src/hildon-check-button.c (hildon_check_button_new):
6609 Instead of using a custom container, display the label and the
6610 checkbox using the standard GtkButton API.
6612 * examples/hildon-check-button-example.c (main): Don't use
6613 hildon_check_button_set_label() anymore
6615 * src/hildon-check-button.h
6616 * src/hildon-check-button.c
6617 (hildon_check_button_set_label, hildon_check_button_get_label):
6618 Set as deprecated, now we're using gtk_button_{get,set}_label()
6620 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6622 * src/hildon-pannable-area.c,
6623 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6624 GtkTreeview first line we detected it after the inclusion of the
6625 GtkWindowImpl in gtk+. We now check if the window is visible, not
6626 just if the pointer is over the window.
6627 (hildon_pannable_axis_scroll),
6628 (hildon_pannable_area_expose_event): Small style changes.
6630 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6632 * src/hildon-button.c: Update documentation.
6634 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6636 * examples/hildon-button-example.c: Add a switch to show images in
6639 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6641 * doc/hildon-docs.sgml: Some docs reorganization.
6643 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6645 * examples/hildon-pannable-area-touch-list-example.c
6647 * examples/hildon-pannable-area-touch-grid-example.c
6648 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6649 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6650 Fix memory leak when setting the tree model.
6652 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6656 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6658 * doc/hildon.types: Remove duplicated hildon_window_get_type
6659 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6660 documentation comment.
6662 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6664 * doc/Makefile.am: Complete list of private headers.
6666 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6668 * doc/hildon-docs.sgml
6669 * src/hildon-app-menu.c
6670 * src/hildon-bread-crumb.c
6671 * src/hildon-button.c
6673 * src/hildon-program.c
6674 * src/hildon-stackable-window.c
6675 * src/hildon-window.c: Lots of documentation updates.
6677 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6679 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6681 * configure.ac: Require Gtk+ 2.12.9 at least
6683 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6685 * src/hildon-pannable-area.c
6686 (hildon_pannable_area_scroll_indicator_fade),
6687 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6688 to protect the return of this timeout callbacks, avoiding deadlocks.
6690 2008-08-12 Christian Dywan <christian@imendio.com>
6693 * src/hildon-*.h: Ensure a consistent include order,
6694 include <gtk/gtk.h> instead of particular files and
6695 only include the topmost header in the gtk stack. See NB #39857
6697 2008-08-12 Christian Dywan <christian@imendio.com>
6699 * src/hildon-picker-dialog.c
6700 * src/hildon-touch-selector.c: Fix warnings about unused and
6701 uninitialized variables.
6703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6705 * examples/Makefile.am
6706 * examples/hildon-check-button-example.c: Example of the hildon
6709 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6711 * src/hildon-window.h
6712 * src/hildon-window.c (hildon_window_class_init)
6713 (hildon_window_unset_program): Don't make
6714 hildon_window_unset_program a virtual function anymore.
6716 * src/hildon-stackable-window.c: Update documentation
6718 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6721 * doc/hildon-docs.sgml
6722 * doc/visual_index.xml
6723 * src/hildon-defines.c
6725 * src/hildon-helper.c
6726 * src/hildon-range-editor.c: Lots of documentation fixes.
6728 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6730 * examples/hildon-picker-button-multicolumn-example.c
6731 (create_touch_selector): Fix compilation warning.
6733 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6736 (hildon_pannable_area_button_release_cb)
6737 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6739 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6741 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6744 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6746 * src/hildon-bread-crumb-trail.h
6747 * src/hildon-date-editor.c
6748 * src/hildon-date-selector.c
6749 * src/hildon-pannable-area.c
6750 * src/hildon-picker-dialog.c
6751 * src/hildon-time-selector.c
6752 * src/hildon-touch-selector-entry.c
6753 * src/hildon-touch-selector.c
6754 * src/hildon-touch-selector.h: Misc documentation fixes
6756 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6758 * examples/hildon-date-editor-example.c (main): Updated date
6761 * examples/hildon-note-example.c (on_confirmation_clicked):
6762 Updated confirmation note example.
6764 * src/hildon-date-editor.c
6765 * src/hildon-note.c: Updated sample programs in documentation.
6768 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6770 * src/hildon-date-button.h:
6771 * src/hildon-picker-button.h:
6772 * src/hildon-time-button.c:
6773 * src/hildon-time-button.h:
6775 Some declarations changes to allow gtk-doc to document the widgets
6778 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6780 * src/hildon-date-button.c: Document the widget.
6781 * src/hildon-time-button.c: Document the widget.
6783 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6785 * src/hildon-picker-button.c: Document the widget.
6786 * src/hildon-touch-selector-entry.c: Document the widget.
6788 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6790 * doc/hildon-docs.sgml
6793 * src/hildon-check-button.h
6794 * src/hildon-check-button.c: New functions to create the Hildon
6798 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6800 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6802 * src/hildon-button.h
6803 * src/hildon-button.c
6804 (hildon_button_add_title_size_group)
6805 (hildon_button_add_value_size_group)
6806 (hildon_button_add_image_size_group)
6807 (hildon_button_add_size_groups): New functions to set size groups
6808 for the button labels and image.
6809 (hildon_button_new_full): Removed
6811 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6813 * src/hildon-time-selector.c
6814 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6815 in order to avoid a crash if gconf is not available
6817 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6819 * src/hildon-button.c (hildon_button_set_arrangement)
6820 (hildon_button_construct_child): Don't construct the button child
6821 before setting the arrangement.
6823 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6825 * src/hildon-program-private.h
6826 * src/hildon-program.c
6827 * src/hildon-program.h
6828 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6829 (hildon_program_peek_window_stack)
6830 (hildon_program_pop_window_stack)
6831 (hildon_program_go_to_root_window): HildonProgram now has a
6832 separate list for stackable windows. Functions are provided to
6833 manage that list with a stack-like API.
6835 * src/hildon-stackable-window.c: Stackable window management is
6836 now much simpler with the new HildonProgram API. Windows no
6837 longer need to be manually added to the program, they're
6838 automatically pushed to the top of the stack when shown.
6840 * examples/hildon-stackable-window-example.c: Updated example to
6841 reflect the API changes.
6843 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6845 * src/hildon-touch-selector.c: Comment out unimplemented
6846 hildon_touch_selector_insert_column() to avoid a compile warning.
6848 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6850 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6851 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6852 (hildon_touch_selector_set_column_selection_mode),
6853 (_hildon_touch_selector_set_model),
6854 (hildon_touch_selector_set_model):
6856 Complete review of HildonTouchSelector documentation.
6858 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6860 * doc/hildon-docs.sgml
6864 * src/hildon-gtk.c: Convenience functions for standard Gtk
6865 widgets, used to easily perform frequent operations.
6867 * src/hildon-button-helpers.h
6868 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6870 * src/hildon-helper.h
6871 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6872 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6874 * src/hildon-button.h
6875 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6877 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6879 * src/hildon-button.c (hildon_button_init)
6880 (hildon_button_set_arrangement, hildon_button_construct_child):
6881 Pack the image and the labels inside the same GtkAlignment so
6882 gtk_button_set_alignment() can be used
6884 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6886 * src/hildon-button.h
6887 * src/hildon-button.c
6888 (hildon_button_init, hildon_button_set_image)
6889 (hildon_button_set_image_position)
6890 (hildon_button_construct_child): New functions to add an image to
6893 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6895 * src/hildon-date-button.c
6896 * src/hildon-picker-button.c
6897 * src/hildon-time-button.c
6898 * src/hildon-button.c:
6899 (hildon_button_class_init): "size-flags" renamed to "size"
6900 (hildon_button_set_title): Hide the title label if set to NULL.
6902 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6904 HildonButtonFlags split into HildonButtonArrangement (to set the
6905 button layout) and HildonSizeType (which can be used for any
6908 * src/hildon-button.h
6909 * src/hildon-button.c
6910 (hildon_button_class_init)
6911 (hildon_button_set_arrangement)
6912 (hildon_button_set_property): New "size-flags"
6913 property. "arrangement-flags" renamed to "arrangement".
6914 (hildon_button_new, hildon_button_new_with_text)
6915 (hildon_button_new_full): Constructors updated to reflect type changes.
6917 * src/hildon-helper.h
6918 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6919 to set the size of a widget.
6923 * src/hildon-button-helpers.c
6924 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6926 * src/hildon-date-button.c
6927 * src/hildon-date-button.h
6928 * src/hildon-picker-button.c
6929 * src/hildon-picker-button.h
6930 * src/hildon-time-button.c
6931 * src/hildon-time-button.h: Updated widgets to reflect
6932 HildonButton API changes.
6934 * examples/hildon-button-example.c
6935 * examples/hildon-date-button-example.c
6936 * examples/hildon-picker-button-example.c
6937 * examples/hildon-picker-button-multicolumn-example.c
6938 * examples/hildon-time-button-example.c
6939 * examples/hildon-touch-selector-entry-example.c
6940 * examples/hildon-touch-selector-example.c: Updated examples to
6941 reflect HildonButton API changes.
6943 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6945 * doc/hildon-docs.sgml:
6947 * examples/Makefile.am:
6948 * examples/hildon-touch-selector-entry-example.c:
6950 * src/hildon-touch-selector-entry.c:
6951 * src/hildon-touch-selector-entry.h:
6954 Moved HildonTouchSelectorEntry from sandbox. Added its
6955 documentation and examples.
6957 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6959 * src/hildon-touch-selector.h:
6960 * examples/hildon-picker-button-multicolumn-example.c:
6961 (hildon_touch_selector_append_text_column): Add a gboolean
6962 parameter to determine if text must be centered in the column.
6964 * src/hildon-date-selector.c: (hildon_date_selector_init):
6965 * src/hildon-time-selector.c: (hildon_time_selector_init):
6966 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6967 (create_touch_selector): Update widgets and example to reflect
6970 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6972 * src/hildon-touch-selector.c:
6973 (hildon_touch_selector_set_active_iter): Set also the cursor in
6976 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6978 * doc/hildon-docs.sgml
6981 * src/hildon-toggle-button.c
6982 * src/hildon-toggle-button.h
6983 * src/hildon.h: Removed HildonToggleButton widget, a derived
6984 class is not necessary for this.
6986 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6988 * src/hildon-pannable-area.c,
6989 (hildon_pannable_area_realize),
6990 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6993 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6995 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6996 "done" button the default widget for the dialog.
6998 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7000 * src/hildon-touch-selector.c:
7001 (hildon_touch_selector_class_init),
7002 (hildon_touch_selector_get_property),
7003 (_hildon_touch_selector_set_model),
7004 (_hildon_touch_selector_has_multiple_selection),
7005 (hildon_touch_selector_has_multiple_selection):
7006 Add a "has-multiple-selection" property with a virtual
7007 has_multiple_selection() method to allow derived classes to
7008 override the default value for it. See the method and property
7009 documentation for details.
7011 * src/hildon-touch-selector.h: Add the new API.
7013 * src/hildon-picker-dialog.c: (requires_done_button): Call
7014 hildon_touch_selector_has_multiple_selection() instead of
7015 determining the need for a button itself.
7017 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7019 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7020 (_hildon_touch_selector_set_model),
7021 (hildon_touch_selector_set_model): Move working code to
7022 _hildon_touch_selector_set_mode(). Call the class method instead.
7024 * src/hildon-touch-selector.h: Add (*set_model) to
7025 HildonTouchSelectorClass.
7027 Make hildon_touch_selector_set_model() a virtual method, so that
7028 derived classes can extend it and do fancy stuff with the model.
7030 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7032 * configure.ac: Set back the tarname in AC_INIT to hildon.
7034 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7038 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7039 instead of libesd (NB#86876). Volume handling is still an open issue.
7041 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7044 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7046 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7047 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7048 derived class to ease placement of an entry widget in
7049 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7050 end, where the selector columns are packed now.
7052 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7054 * src/hildon-picker-button.c: Removed the simple _text() API.
7055 * src/hildon-picker-button.h: Likewise.
7057 * src/hildon-touch-selector.h:
7058 * src/hildon-touch-selector.c:
7059 (hildon_touch_selector_new_text),
7060 (hildon_touch_selector_append_text),
7061 (hildon_touch_selector_prepend_text),
7062 (hildon_touch_selector_insert_text):
7064 Moved the simple _text() API from HildonPickerButton to
7065 HildonTouchPicker, to provide better escalability and not to tie
7066 that API to HildonPickerButton.
7068 * examples/hildon-picker-button-example.c: (main): Example updated.
7070 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7072 * src/hildon-button.c: Updated documentation.
7074 * examples/hildon-button-example.c: Add the posibility to create
7075 the buttons using horizontal layout for title and value.
7077 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7079 * src/hildon-app-menu-private.h
7080 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7081 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7082 GtkSizeGroup for the filters, use the 'homogeneous' property of
7085 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7087 * examples/hildon-button-example.c: Updated example.
7089 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7091 * doc/hildon-docs.sgml:
7094 Update documentation.
7096 * examples/Makefile.am: Update renamed examples.
7098 * examples/hildon-picker-button-multicolumn-example.c:
7099 (create_touch_selector), (main): Update after the rename.
7101 * examples/hildon-touch-picker-example.c: Removed.
7102 * examples/hildon-touch-selector-example.c: (value_changed),
7103 (create_selector), (get_visible_content), (main): Renamed from
7104 hildon-touch-picker-example.c
7106 * src/Makefile.am: Updated renamed files.
7108 * src/hildon-date-button.c: (hildon_date_button_init),
7109 (hildon_date_button_get_date), (hildon_date_button_set_date):
7110 * src/hildon-date-selector.c: (hildon_date_selector_init),
7111 (_custom_print_func), (_update_day_model),
7112 (_manage_selector_change_cb),
7113 (hildon_date_selector_select_current_date),
7114 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7115 * src/hildon-date-selector.h:
7116 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7117 (hildon_picker_button_set_property),
7118 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7119 (hildon_picker_button_init), (hildon_picker_button_new_text),
7120 (hildon_picker_button_append_text),
7121 (hildon_picker_button_prepend_text),
7122 (hildon_picker_button_insert_text),
7123 (hildon_picker_button_set_selector),
7124 (hildon_picker_button_get_selector):
7125 * src/hildon-picker-button.h:
7126 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7127 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7128 (_update_title_on_selector_changed_cb), (requires_done_button),
7129 (_hildon_picker_dialog_set_selector),
7130 (hildon_picker_dialog_set_selector),
7131 (hildon_picker_dialog_get_selector):
7132 * src/hildon-picker-dialog.h:
7133 * src/hildon-time-button.c: (hildon_time_button_init),
7134 (hildon_time_button_get_time), (hildon_time_button_set_time):
7135 * src/hildon-time-selector.c: (hildon_time_selector_init),
7136 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7137 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7138 * src/hildon-time-selector.h:
7141 Massive code updates after the rename.
7143 * src/hildon-touch-picker.c: Removed.
7144 * src/hildon-touch-picker.h: Removed.
7146 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7147 (hildon_touch_selector_init), (hildon_touch_selector_map),
7148 (hildon_touch_selector_remove), (_default_print_func),
7149 (_selection_changed_cb), (_create_new_column),
7150 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7151 (hildon_touch_selector_append_text_column),
7152 (hildon_touch_selector_remove_column),
7153 (hildon_touch_selector_set_column_attributes),
7154 (hildon_touch_selector_insert_column),
7155 (hildon_touch_selector_get_num_columns),
7156 (hildon_touch_selector_get_column_selection_mode),
7157 (hildon_touch_selector_set_column_selection_mode),
7158 (hildon_touch_selector_set_print_func),
7159 (hildon_touch_selector_get_print_func),
7160 (hildon_touch_selector_get_active_iter),
7161 (hildon_touch_selector_set_active_iter),
7162 (hildon_touch_selector_get_selected_rows),
7163 (hildon_touch_selector_get_model),
7164 (hildon_touch_selector_set_model),
7165 (hildon_touch_selector_get_current_text),
7166 (_hildon_touch_selector_center_on_selected_items):
7167 * src/hildon-touch-selector.h: Renamed from
7168 hildon-touch-picker.[ch]
7170 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7171 references, code examples, and related documentation.
7173 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7175 * doc/hildon-docs.sgml
7178 * src/hildon-toggle-button.c
7179 * src/hildon-toggle-button.h
7180 * src/hildon.h: New HildonToggleButton widget.
7182 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7184 * src/hildon-button.c: Add API documentation.
7185 (hildon_button_set_size_groups): Check input parameters
7187 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7189 * src/hildon-pannable-area.c
7190 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7191 effect after reaching the movement thredshold. This way we start
7192 using the distance after passing the thredshold.
7194 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7196 * src/hildon-button.c: (hildon_button_set_property): Use the
7197 appropriate g_value_get_flags() method.
7199 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7201 * doc/hildon-docs.sgml:
7204 Add the touch pickers, picker dialogs, and picker button widgets
7205 to the documentation.
7207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/hildon-button.c: (hildon_button_set_property),
7210 (hildon_button_class_init): Make "arrangement-flags" a proper
7211 G_TYPE_FLAGS derived property.
7213 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7215 * examples/Makefile.am: Add below examples.
7216 * examples/hildon-date-button-example.c:
7217 * examples/hildon-picker-button-example.c:
7218 * examples/hildon-picker-button-multicolumn-example.c:
7219 * examples/hildon-time-button-example.c:
7220 * examples/hildon-touch-picker-example.c:
7222 Add examples for the recently added touch pickers,
7223 picker dialogs, and picker button widgets.
7225 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7227 * src/hildon-button.c: Add some API documentation
7229 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7231 * src/hildon-button.h
7232 * src/hildon-button.c
7234 (hildon_button_new_with_text): New constructor to create a button
7235 with no text at all.
7236 (hildon_button_init, hildon_button_set_arrangement)
7237 (hildon_button_set_title, hildon_button_set_value)
7238 (hildon_button_set_text)
7239 (hildon_button_construct_child): Hide the value when it's not used
7240 so the rest of the text is properly aligned.
7241 Allow creating buttons with arbitrary widgets inside (not just
7242 title/value labels).
7244 * examples/hildon-button-example.c (vertical_buttons_window)
7245 (horizontal_buttons_window): Update example to use new API.
7247 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7249 * src/Makefile.am: Added HildonTimeButton.
7250 * src/hildon-time-button.c: Added missing LGPL header.
7251 * src/hildon-time-button.h: Added missing LGPL header.
7252 * src/hildon.h: Add hildon-time-button.h
7254 Copied HildonTimeButton from sandbox to trunk. Future work on this
7255 widget must take place in trunk.
7257 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7259 * src/Makefile.am: Added HildonDateButton.
7260 * src/hildon-date-button.c: Update includes.
7261 * src/hildon.h: Add hildon-date-button.h
7263 Copied HildonDateButton from sandbox to trunk. Future work on this
7264 widget must take place in trunk.
7266 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7268 * src/Makefile.am: Added HildonPickerButton.
7269 * src/hildon-picker-button.h: Update includes.
7270 * src/hildon.h: Add hildon-picker-button.h
7272 Copied HildonPickerButton from sandbox to trunk. Future work on
7273 this widget must take place in trunk.
7275 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7277 * src/Makefile.am: Added HildonPickerDialog.
7278 * src/hildon-picker-dialog.c: Update includes.
7279 * src/hildon.h: Add hildon-picker-dialog.h
7281 Copied HildonPickerDialog from sandbox to trunk. Future work
7282 on this widget must take place in trunk.
7284 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7286 * src/Makefile.am: Added HildonTimeSelector.
7287 * src/hildon.h: Add hildon-time-selector.h
7289 Copied HildonTimeSelector widget from sandbox to trunk. Future
7290 work on this widget must happen in trunk.
7292 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7294 * src/Makefile.am: Added HildonDateSelector.
7295 * src/hildon.h: Add hildon-date-selector.h
7297 Copied HildonDateSelector widget from sandbox to trunk. Future
7298 work on this widget must happen in trunk.
7300 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7302 * src/Makefile.am: Added HildonTouchPicker.
7303 * src/hildon-touch-picker.c: Update includes.
7304 * src/hildon.h: Add hildon-touch-picker.h
7306 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7307 on this widget must happen in trunk.
7309 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7311 * src/hildon-pannable-area.c:
7312 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7314 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7316 * examples/hildon-app-menu-example.c (main): Let the window
7319 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7321 * src/hildon-pannable-area.c
7322 (hildon_pannable_area_class_init): Set the min value of the
7323 overshoot properties to zero, which points out that not
7324 overshooting allowed.
7326 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7328 Modified the procedure to get the widget at a point inside the
7329 pannable area when using the movement type signals. Now the user
7330 has to call a function to get the child, that way we just
7331 calculate the child in case the user really want to use it and not
7334 * src/hildon-marshalers.list: Modified the marshallers, now we do
7335 not have the widget as a parameter.
7337 * src/hildon-pannable-area.c
7338 (hildon_pannable_area_motion_notify_cb),
7339 (hildon_pannable_area_class_init),
7340 (hildon_pannable_get_child_widget_at): Removed the widget
7341 parameter from the signal callback. We have also refactored the
7342 emission of the signals.
7344 * src/hildon-pannable-area.h: Added a new method to the API to
7345 calculate a widget at a point inside the pannable area,
7346 hildon_pannable_get_child_widget_at.
7348 * examples/hildon-pannable-area-example-4.c
7349 (horizontal_movement): Modified the example to use the new API,
7350 added condition to control which widget is under the event. This
7351 way we can avoid scrolling laterally over other widgets.
7353 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7355 * src/hildon-pannable-area.c
7356 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7357 modes, we stop getting the pointer events due to returning the
7358 callback without properly calling the get pointer again. Fixed
7359 also an error using the hscroll and vscroll.
7361 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7363 * src/hildon-app-menu-private.h
7364 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7365 (hildon_app_menu_button_release, hildon_app_menu_init)
7366 (hildon_app_menu_class_init): Don't hide the menu on button
7367 release if the user didn't press outside first.
7369 * src/hildon-window.h
7370 * src/hildon-window.c (hildon_window_toggle_menu)
7371 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7372 hildon_window_toggle_menu a virtual function for the stackable
7373 window to override it.
7375 * src/hildon-stackable-window.h
7376 * src/hildon-stackable-window-private.h
7377 * src/hildon-stackable-window.c
7378 (hildon_stackable_window_realize)
7379 (hildon_stackable_window_finalize)
7380 (hildon_stackable_window_class_init)
7381 (hildon_stackable_window_init)
7382 (hildon_stackable_window_set_main_menu): New function to set the
7383 app menu of a HildonStackableWindow.
7385 * examples/hildon-app-menu-example.c: Remove the button to show
7386 the app menu, now it'll be shown when clicking on the title bar
7389 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7391 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7392 set the widget name if the arrangement flags do not specify
7395 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7397 * src/hildon-button.c: (hildon_button_set_property),
7398 (hildon_button_class_init), (hildon_button_new_full),
7399 (hildon_button_set_arrangement): Added "arrangement-flags"
7402 Make the HildonButtonFlags a construction-only property, to allow
7403 subclasses to set them properly.
7405 2008-07-21 Tim Janik <timj@imendio.com>
7407 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7408 insertion position after backspace, so additional digits are appended,
7411 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7413 * src/hildon-pannable-area.c,
7414 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7415 TODO list, it was complete and removed the g_debug and g_print
7418 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7420 Added the movement modes to the hildon-pannable-area, with this
7421 modes the developers can control in which directions the widget
7422 can scroll. They can also connect to signals in order to do
7423 something when that happens, allowing applications scroll. There
7424 is an example uploaded showing how to use it.
7426 * examples/Makefile.am:
7427 * examples/hildon-pannable-area-example-4.c: Added this example of
7428 an application using the modes.
7430 * src/hildon-marshalers.list: Added a new marshaller for the new
7433 * src/hildon-pannable-area.h: Added new enumerations and flags in
7434 order to control the movement modes and the new signals to warn
7435 about the movements in the area.
7437 * src/hildon-pannable-area.c:
7438 (hildon_pannable_axis_scroll),
7439 (hildon_pannable_area_scroll),
7440 (hildon_pannable_area_motion_notify_cb),
7441 (hildon_pannable_area_get_property),
7442 (hildon_pannable_area_set_property),
7443 (hildon_pannable_area_map),
7444 (hildon_pannable_area_class_init),
7445 (hildon_pannable_area_init),
7446 (hildon_pannable_area_jump_to): Added the modes to control the
7447 movement in the widget. We have added properties to control it,
7448 signals to warn about the movements and refactored some code.
7450 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7452 Changes required in order to allow vfast_factor set to zero to
7455 * src/hildon-pannable-area.c:
7456 (hildon_pannable_area_button_press_cb): Changed the condition, it
7457 is required for not allowing click when vfast_factor is zero.
7458 (hildon_pannable_area_timeout): Initialized velocity variables
7459 when we stop moving, it was less than 1 but not zero and we need
7460 to check zero in some situations.
7461 (hildon_pannable_area_class_init): Changed the default value of
7462 the speed factor, now the button_press is just sent in case the
7463 speed is 2 per cent of the max speed.
7464 (hildon_pannable_area_init): Initialization with 0.
7466 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7468 * src/hildon-pannable-area.c,
7469 (hildon_pannable_area_get_topmost): replaced
7470 gdk_window_get_children with gdk_window_peek_children, this way we
7471 do not have to free the list because it is not a copy.
7473 (hildon_pannable_axis_scroll),
7474 (hildon_pannable_area_scroll),
7475 (hildon_pannable_area_timeout),
7476 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7477 two parameters that were only used inside the
7478 hildon_pannable_area_scroll function.
7480 * examples/hildon-pannable-area-example.c,
7481 (get_sawtooth_label): Fixed small memory leak.
7483 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7485 More checks for the case where the overshoot is bigger than the
7488 * src/hildon-pannable-area.c:
7489 (hildon_pannable_draw_vscroll),
7490 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7491 to draw the slider of the scrollbar under the other scrollbar.
7492 (hildon_pannable_area_expose_event): added new checks to control
7493 the drawing of the overshooting area rectangle, in case it is too
7494 big for the area of the widget.
7495 (hildon_pannable_area_size_allocate): add more checks to avoid
7496 setting a position to the child widget outside the area.
7498 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7500 * src/hildon-pannable-area.c
7501 (hildon_pannable_area_size_allocate): Added conditions to control
7502 when overshooting is bigger than the allocated space for the
7503 children, this avoids negative allocations.
7505 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7507 * doc/hildon-docs.sgml
7509 * examples/Makefile.am
7510 * examples/hildon-button-example.c
7512 * src/hildon-button.c
7513 * src/hildon-button.h
7514 * src/hildon.h: Initial version of the new HildonButton widget,
7517 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7519 * src/hildon-pannable-area.c:
7520 (hildon_pannable_area_button_press_cb),
7521 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7522 (hildon_pannable_area_motion_notify_cb),
7523 (hildon_pannable_area_button_release_cb),
7524 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7525 (hildon_pannable_area_jump_to_child):
7527 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7529 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7531 * examples/Makefile.am
7532 * examples/hildon-pannable-area-touch-grid-example.c
7533 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7534 the Hildon Touch List and Hildon Touch Grid using the
7535 HildonPannableArea widget.
7537 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7539 * src/hildon-pannable-area.c,
7540 (hildon_pannable_area_button_press_cb),
7541 (hildon_pannable_area_refresh),
7542 (hildon_pannable_area_scroll),
7543 (hildon_pannable_area_motion_notify_cb),
7544 (hildon_pannable_area_button_release_cb),
7545 (hildon_pannable_area_expose_event),
7546 (hildon_pannable_area_add),
7547 (hildon_pannable_area_remove),
7548 (hildon_pannable_area_realize),
7549 (hildon_pannable_area_size_allocate),
7550 (hildon_pannable_area_class_init),
7551 (hildon_pannable_area_init),
7552 (hildon_pannable_area_scroll_to_child),
7553 (hildon_pannable_area_jump_to_child): Fixed the problem of
7554 removing the child from the GtkBin, we have rearranged the widget
7555 hierarchy, now there is no GtkAlignment which was not doing
7556 anything interesting but breaking some of the assumptions of
7557 GtkContainer. Now developers if they want to add a GtkAlignment
7558 they could, but it is not inside the area.
7560 We had to review the whole allocation/expose process, now it is
7561 improved and we save at least three signals which would be saving
7562 some time when rendering the widget. The allocation of the
7563 scrollbars is now made in the allocate method as usual.
7565 We have also added some conditions in order to control when there
7566 is no child of the pannable area. Maybe we will need more work
7569 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7571 * src/hildon-pannable-area.c,
7572 (hildon_pannable_area_dispose): Released the fade-out timeout when
7573 disposing the widget.
7575 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7577 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7578 zero, we are going to use that property in order to deactivate the
7580 (hildon_pannable_axis_scroll),
7581 (hildon_pannable_area_size_allocate): Added conditions to control
7582 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7583 call, now it is called in all situations and we can remove calls
7584 in the allocate method.
7585 (hildon_pannable_area_map): Control the situation when
7586 overshoot_max is zero, we do not need the timeout.
7587 (hildon_pannable_area_class_init): Added documentation in order to
7588 point out that setting zero to overshoot_max means deactivate
7591 NOTE: removed trailing whitespaces from my previous comments of
7594 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7596 * src/hildon-pannable-area.c
7597 (hildon_pannable_area_get_property),
7598 (hildon_pannable_area_set_property),
7599 (hildon_pannable_area_map),
7600 (hildon_pannable_area_class_init),
7601 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7602 to cause the widget give a hint about its panning abilities upon
7605 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7607 * src/hildon-pannable-area.c: Several documentation improvements.
7609 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7611 * src/hildon-program.c
7612 * src/hildon-stackable-window.c: Update documentation.
7614 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7616 * src/hildon-stackable-window.c (get_previous_window_if_last):
7617 Renamed get_last_window()
7618 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7619 (hildon_stackable_window_unset_program):
7621 (get_previous_window_if_last):
7622 Detect if the window hasn't been added to a HildonProgram.
7624 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7626 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7628 * src/hildon-pannable-area.c
7629 (hildon_pannable_area_button_press_cb),
7630 (hildon_pannable_axis_scroll),
7631 (hildon_pannable_area_scroll),
7632 (hildon_pannable_area_timeout),
7633 (hildon_pannable_calculate_vel_factor),
7634 (hildon_pannable_area_get_property),
7635 (hildon_pannable_area_set_property),
7636 (hildon_pannable_area_class_init),
7637 (hildon_pannable_area_init),
7638 (hildon_pannable_area_scroll_to),
7639 (hildon_pannable_area_jump_to),
7640 (hildon_pannable_area_scroll_to_child),
7641 (hildon_pannable_area_jump_to_child):
7642 * src/hildon-pannable-area.h: Added the new API functions:
7643 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7644 hildon_pannable_area_scroll_to_child,
7645 hildon_pannable_area_jump_to_child
7648 * examples/Makefile.am
7649 * examples/hildon-pannable-area-example-2.c
7650 * examples/hildon-pannable-area-example-3.c: Added these two new
7651 examples in order to test and show how the new APIs work.
7653 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7655 * examples/hildon-stackable-window-example.c (new_window):
7656 * src/Makefile.am (noinst_HEADERS):
7657 * src/hildon-program.c (hildon_program_go_to_root_window):
7658 * src/hildon-program.h:
7659 * src/hildon-stackable-window-private.h:
7660 * src/hildon-stackable-window.c:
7661 * src/hildon-stackable-window.h:
7662 Create hildon-stackable-window-private.h
7663 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7665 * examples/hildon-app-menu-example.c (create_menu):
7666 * examples/hildon-hvolumebar-insensitive-example.c (main):
7667 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7668 * examples/hildon-toolbar-seekbar-example.c (main):
7669 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7670 * src/hildon-banner.c (hildon_banner_set_property):
7671 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7672 Fix compilation warnings
7674 * src/hildon-window.c:
7677 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7679 * src/hildon-stackable-window.c
7680 (hildon_stackable_window_unset_program):
7681 Calculate correctly whether to show the previous window if the
7682 last one is removed from the stack.
7683 (hildon_stackable_window_go_to_root_window):
7684 Send delete events starting from the topmost window.
7685 Stop if one of the windows is not destroyed.
7687 (hildon_stackable_window_delete_event)
7688 (hildon_stackable_window_class_init):
7689 Ignore the delete event if the window is not the topmost one.
7691 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7693 * src/hildon-pannable-area.c
7694 (hildon_pannable_area_expose_event): Fixed a problem when
7695 selecting the background color of the scrollbars.
7697 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7699 * examples/hildon-stackable-window-example.c
7700 * src/hildon-stackable-window.c
7701 * src/hildon-stackable-window.h
7702 hildon_stackable_window_go_home() renamed to
7703 hildon_stackable_window_go_to_root_window()
7704 Send delete events to windows rather than closing them with
7705 gtk_widget_destroy()
7707 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7709 * src/hildon-pannable-area.c
7710 (hildon_pannable_area_button_release_cb): Fix overshooting in
7713 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7715 * src/hildon-pannable-area.c
7716 (hildon_pannable_area_init): Initially show the scroll indicators.
7717 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7719 Add initial effect showing the widget is pannable.
7721 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7723 * src/hildon-pannable-area.c
7724 (hildon_pannable_area_class_init)
7725 (hildon_pannable_area_set_property)
7726 (hildon_pannable_area_get_property)
7727 (hildon_pannable_area_button_press_cb):
7728 New 'velocity_fast_factor' property to decide which velocity is
7731 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7733 * src/hildon-pannable-area.c
7734 (hildon_pannable_draw_hscroll)
7735 (hildon_pannable_draw_vscroll):
7736 Use float variables to calculate the size of the scrollbars to
7737 avoid error propagation and resizing during scrolling.
7739 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7741 * src/hildon-pannable-area.c
7742 (hildon_pannable_draw_vscroll)
7743 (hildon_pannable_draw_hscroll):
7744 Define a minimum size for the scroll bars
7746 * src/hildon-stackable-window.c
7747 (hildon_stackable_window_go_home): Fix compilation warning
7748 (get_last_window): Minor optimizations
7749 (hildon_stackable_window_class_init): Fix initialization of
7752 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7754 * src/hildon-stackable-window.c: Fixed typos in doc
7756 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7758 * src/hildon-pannable-area.c
7759 (hildon_pannable_area_scroll):
7760 Calculate here whether we need to scroll instead of using the booleans
7761 that tell us whether to /draw/ the scrolling bars.
7763 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7765 * src/hildon-app-menu.h
7767 * src/hildon-app-menu.c
7768 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7769 multiple filter groups related code and API. Now we support only
7771 * examples/hildon-app-menu-example.c:
7773 Update to reflect API changes.
7775 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7777 * src/hildon-stackable-window.c
7778 (hildon_stackable_window_class_init):
7779 Add hildon_stackable_window_realize.
7780 (hildon_stackable_window_realize):
7781 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7782 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7783 to apply theming and behavior specific to HildonStackableWindow
7786 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7788 * src/hildon-note.c (hildon_note_button_release):
7789 Close information notes also when tapping on them
7791 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7793 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7794 ELASTICITY, refactor and review, fix some issues with drawing
7797 * src/hildon-pannable-area.c:
7798 (hildon_pannable_area_button_press_cb): removed the conditions to
7799 avoid clicks when overshooting. It is not required
7801 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7802 define. Refatored and reviewed the code, now we do not need to
7803 manage velocity in motion_notify.
7805 (hildon_pannable_area_motion_notify_cb): We have moved the code
7806 that controls the area_scroll to the axis_scroll function and get
7807 rid of duplicated code.
7809 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7811 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7813 (hildon_pannable_draw_vscroll),
7814 (hildon_pannable_draw_hscroll): Fixed the problems with the
7815 scrollbar drawing, now we do not use two surfaces, it is easier
7816 and saves resources.
7818 (hildon_pannable_area_get_property): Style modification.
7820 (hildon_pannable_area_class_init): Changed some default values.
7822 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7824 * src/hildon-stackable-window.c: Fix some typos in the
7827 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7829 * src/hildon-dialog.c:
7830 Change indentation style
7833 (hildon_note_button_release):
7834 Use root coordinates to check if the release event happened
7837 * src/hildon-app-menu.c
7838 (hildon_app_menu_button_release):
7839 Remove unnecessary check
7841 * examples/hildon-app-menu-example.c
7843 Add cast to fix warning
7845 * src/hildon-app-menu.c
7846 (hildon_app_menu_class_init):
7847 New inner-border style property.
7848 Set all default spacings to 16
7849 (hildon_app_menu_init):
7850 Use vertical-spacing to set the space between filter buttons and
7851 regular menu buttons.
7852 Set the default container border using the inner-border value.
7854 * examples/hildon-app-menu-example.c
7856 Don't set the menu border explicitly, now we have the inner-border
7857 style property for that.
7859 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7861 * src/hildon-app-menu.c (hildon_app_menu_init):
7862 Make the window modal
7864 * src/hildon-note.c (hildon_note_map)
7865 * src/hildon-app-menu.c (hildon_app_menu_map):
7866 Destroy the grab window if we're unable to grab the pointer
7868 * src/hildon-app-menu-private.h
7869 * src/hildon-app-menu.c
7870 (hildon_app_menu_init, hildon_app_menu_finalize)
7871 (hildon_app_menu_map, hildon_app_menu_unmap)
7872 (hildon_app_menu_button_release)
7873 (grab_transfer_window_get):
7874 Bring back the grab window
7875 (hildon_app_menu_realize):
7876 Decorate the window, set WM hint for Matchbox
7878 * src/hildon-note.c (hildon_note_realize):
7879 * src/hildon-banner.c (hildon_banner_realize):
7880 Add WM hints for Matchbox
7882 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7884 * src/hildon-app-menu-private.h
7885 * src/hildon-app-menu.c
7886 (hildon_app_menu_init, hildon_app_menu_finalize)
7887 (hildon_app_menu_map, hildon_app_menu_unmap)
7888 (hildon_app_menu_button_release):
7889 Remove the grab window, it's not needed anymore
7891 * src/hildon-program.c
7892 Fixed typo in documentation
7894 * src/hildon-app-menu.h
7895 * src/hildon-app-menu.c
7896 * examples/hildon-app-menu-example.c
7897 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7899 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7902 Added new transfer_window and close_if_pressed_outside private
7904 (hildon_note_rebuild):
7905 Don't add a cancel button to the information note. It will be
7906 closed when tapping outside
7907 Remove the comment about the OK button in the documentation
7908 (hildon_note_realize):
7909 Set the notification type hint
7910 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7911 Grab/ungrab pointer and keyboard if the note has to be closed when
7913 (hildon_note_button_release):
7914 Close the note when tapping outside (if applicable)
7916 * src/hildon-app-menu.c
7917 Grab/ungrab pointer and keyboard on map/unmap
7918 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7919 Close the menu on button release, not button press
7921 * src/hildon-banner.c
7922 (hildon_banner_set_property)
7923 (hildon_banner_check_position):
7924 Make the banner use the full width of the screen
7925 (hildon_banner_show_information)
7926 (hildon_banner_show_information_with_markup):
7927 Don't display an icon by default
7929 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7931 Added fading scrollbars and adapted all the overshooting code to
7932 horizontal scrolling. We have also fixed bugs with overshooting
7933 and current fading implementation.
7935 * src/hildon-pannable-area.c
7936 (hildon_pannable_area_scroll_indicator_fade): Time out function
7937 used to change the transparency of the scrollbars.
7939 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7940 control and fixed a problem with fading, we now remove the fade
7941 timeout before adding a new one.
7943 (hildon_pannable_axis_scroll):
7944 (hildon_pannable_area_scroll):
7945 (hildon_pannable_area_timeout): Added this functions so we can use
7946 the scroll code both for vertical and horizontal.
7948 (hildon_pannable_area_motion_notify_cb):
7949 (hildon_pannable_area_button_release_cb): Added the horizontal
7950 scrolling control, fixed a problem with the overshooting timeout.
7952 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7953 painting of the scrolls.
7955 (hildon_pannable_draw_vscroll):
7956 (hildon_pannable_draw_hscroll):
7957 (hildon_pannable_area_expose_event):
7958 Draw both scrollbars and rectangles in the overshooting area.
7960 (hildon_pannable_area_get_property):
7961 (hildon_pannable_area_set_property):
7962 Modified the overshoot property to overshoot_max
7964 (hildon_pannable_area_map):
7965 Replaced the comments symbols.
7967 (hildon_pannable_area_size_allocate):
7968 (hildon_pannable_area_class_init):
7969 (hildon_pannable_area_init): Added horizontal scroll, fading
7970 effect properties, fixed a problem when overshooting in the bottom
7973 * examples/hildon-pannable-area-example.c:
7974 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7975 looks better in the example.
7977 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7979 * src/hildon-window.c
7980 * src/hildon-window.h
7981 (hildon_window_class_init)
7982 (hildon_window_unset_program)
7983 (hildon_window_unset_program_real):
7984 Make unset_program a virtual function
7986 * src/hildon-stackable-window.c
7987 * src/hildon-stackable-window.h
7988 Added hildon_stackable_window_go_home()
7990 * examples/Makefile.am
7991 * examples/hildon-stackable-window-example.c
7992 HildonStackableWindow example
7994 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7996 * hildon-pannable-area.c: Added the overshoot property and removed
7997 the OVERSHOOT define. Fixed an indent style error.
7998 (hildon_pannable_area_motion_notify_cb):
7999 (hildon_pannable_area_get_property):
8000 (hildon_pannable_area_set_property): Add overshoot property.
8002 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8005 (hildon_pannable_area_class_init): Installed the new property.
8007 * hildon-pannable-area-example.c: Added a sawtooth function, this
8008 way it is easier to check the movement in the pannable.
8009 (get_sawtooth_label): Added this function.
8010 (main): Now we get the labels from the new get_sawtooth_label
8013 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8015 * src/hildon-app-menu.h
8016 * src/hildon-app-menu.c
8017 Renamed API variables for consistency
8019 (hildon_app_menu_popup): Use also the default window size to
8020 decide where to place the menu
8022 (hildon_app_menu_init, hildon_app_menu_class_init): New
8023 external-border style property
8025 2008-05-26 Michael Natterer <mitch@imendio.com>
8027 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8028 widget_class->tap_and_hold_setup signal slot doesn't exist any
8029 longer, stop overriding it.
8031 (hildon_time_editor_init): g_signal_connect() to the
8032 tap-and-hold-setup signal instead.
8034 (hildon_time_editor_entry_keypress): add cast to fix warning.
8036 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8038 * doc/hildon-docs.sgml
8040 * examples/Makefile.am
8041 * examples/hildon-app-menu-example.c
8043 * src/hildon-app-menu-private.h
8044 * src/hildon-app-menu.c
8045 * src/hildon-app-menu.h
8047 New HildonAppMenu widget
8049 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8051 Rearranged the inheritance of the pannable area, now it inherits
8052 from GtkBin. This will allow us to control the event_window and
8053 the allocation process of the widget, required for some effects.
8055 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8056 GtkBin structures. * src/hildon-pannable-area.c: Added the
8057 event_window variable.
8058 (hildon_pannable_area_button_press_cb):
8059 (hildon_pannable_area_button_release_cb):
8060 (hildon_pannable_area_motion_notify_cb):
8061 Changed the signature of the method, now we override the event
8062 callback instead of connecting to the signal.
8064 (hildon_pannable_area_realize):
8065 (hildon_pannable_area_unrealize):
8066 (hildon_pannable_area_map):
8067 (hildon_pannable_area_unmap):
8068 (hildon_pannable_area_size_allocate):
8069 Added functions to control the widget construction. We add a
8070 INPUT_ONLY window and we put it over the widgets inside the
8071 container, this event_window handles the events.
8073 (hildon_pannable_area_class_init):
8074 Replaced the signal connections with overrides of the event
8077 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8079 Bouncing effect added when touching the borders, you can change
8080 the elasticity of the border changing the ELASTICITY define.
8082 * src/hildon-pannable-area.c: Added ELASTICITY define.
8083 (hildon_pannable_area_timeout): Added inverse velocity when
8084 touching the border of the child widget, that causes a bounce.
8086 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8088 Improved performance, we now do not go to the X server in order to
8089 get the list of window children. Apparently the effect is the
8090 same, we have to be careful and check if this breaks something in
8093 * src/hildon-pannable-area.c:
8094 (get_ordered_children): Removed this function.
8095 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8096 the children windows function with gdk_window_get_children.
8098 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8100 * src/hildon-pannable-area.c:
8101 (hildon_pannable_area_dispose): Fixed a crash when closing the
8102 window and kinetics is activated.
8104 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8106 * src/hildon-pannable-area.h
8107 * src/hildon-pannable-area.c
8108 Changed indentation style to meet the one used in Hildon
8110 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8112 Reviewed the interaction of the AUTO mode, now we use the time
8113 attribute of the events and calculate the velocity in the motion,
8114 doing a gimp like calculation. The velocity is calculated in each
8115 motion event using the last velocity and the current one, the
8116 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8118 * src/hildon-pannable-area.c: Replaced the time based algorithm
8120 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8121 timeout for the AUTO mode when we are still moving the cursor. We
8122 added also the velocity calculation in this function.
8123 (hildon_pannable_area_button_release_cb): launch the timeout in
8124 case we are in AUTO mode. There are still some constants here that
8125 come from the old implementation that should be reviewed and
8128 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8130 * doc/hildon-docs.sgml
8133 * src/hildon-stackable-window.c
8134 * src/hildon-stackable-window.h
8136 New HildonStackableWindow widget
8138 * examples/hildon-dialog-example.c
8139 * examples/hildon-pannable-area-example.c
8142 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8144 * src/hildon-dialog.c
8145 (hildon_dialog_new_with_buttons): New constructor.
8147 * examples/hildon-dialog-example.c
8148 (main): Update the example to use the new
8149 hildon_dialog_new_with_buttons().
8151 * examples/hildon-pannable-area-example.c
8152 (main): Update example.
8154 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8156 * doc/hildon-docs.sgml
8158 Added HildonPannableArea to the documentation.
8160 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8162 * doc/visual_index.xml
8163 Fix reference to HildonLoginDialog in documentation
8165 * doc/hildon-docs.sgml
8167 * examples/Makefile.am
8168 * examples/hildon-dialog-example.c
8170 * src/hildon-dialog.c
8171 * src/hildon-dialog.h
8173 New HildonDialog widget.
8175 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8177 * src/hildon-pannable-area.c
8178 Merge latest changes (r4318, r4342) from libmokoui trunk
8180 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8182 * examples/Makefile.am
8183 * examples/hildon-pannable-area-example.c
8185 * src/hildon-pannable-area.c
8186 * src/hildon-pannable-area.h
8188 New HildonPannableArea widget.
8190 2008-04-15 18:05:19 <timj@imendio.com>
8192 * src/hildon-banner.c: revert the recent change, that introduced
8193 gtk_window_present() calls. this reopens:
8194 Bug 78481 - [freetest] information banners are hidden under browser menu
8195 But resolves another variant of:
8196 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8198 2008-04-15 13:21:13 <timj@imendio.com>
8200 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8201 recreated its layout, spotted by Kris. this fixes all remaining
8202 artefacts and stability issues with the banner code. in particular:
8203 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8205 2008-04-14 16:52:59 <timj@imendio.com>
8207 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8208 operating on unrealized widgets, fixes:
8209 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8211 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8213 2008-04-09 Kristian Rietveld <kris@imendio.com>
8215 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8216 makes banner disappear.
8217 Fixes: NB#79182: info banner flickering with certain message lengts.
8219 * src/hildon-banner.c (hildon_banner_constructor),
8220 (hildon_banner_init), (hildon_banner_set_text),
8221 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8222 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8223 FALSE, reset size requests of label and banner,
8224 (force_to_wrap_truncated): when the text is too wide, always enforce
8225 the maximum possible width instead of recalculating it from the
8226 layout; enforce the maximum banner height of 3 lines,
8227 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8228 nicer wrapping and no truncated chars if space gets tight.
8230 * src/hildon-banner-private.h: add has_been_wrapped and
8231 has_been_truncated fields.
8233 2008-04-07 Sven Herzberg <sven@imendio.com>
8235 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8236 local values in hildon_date_editor_size_allocate
8238 * src/hildon-date-editor.c: moved the real allocation code into the
8241 2008-04-07 Sven Herzberg <sven@imendio.com>
8243 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8244 local values in hildon_date_editor_size_allocate
8246 * src/hildon-date-editor.c: merged the two if() branches together
8248 2008-04-07 Sven Herzberg <sven@imendio.com>
8250 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8251 local values in hildon_date_editor_size_allocate
8253 * src/hildon-date-editor.c: changed the arguments of the if()
8256 2008-04-07 Sven Herzberg <sven@imendio.com>
8258 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8259 local values in hildon_date_editor_size_allocate
8261 * src/hildon-date-editor.c: split the calculation of the allocation
8262 from the real allocation
8264 2008-03-27 Michael Natterer <mitch@imendio.com>
8266 Fixes: NB#81696: The passcode is not overwritten even after
8269 * src/hildon-code-dialog.c
8270 (hildon_code_dialog_button_clicked)
8271 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8272 because that doesn't overwrite selected text. Instead, emit the
8273 "commit" signal on the entry's im_context so the entry's normal
8274 insert logic is triggered. Set the cursor to the end of the entry
8275 after each insert operation so that we *only* insert in the middle
8276 of the text if something was selected.
8278 2008-03-27 Michael Natterer <mitch@imendio.com>
8280 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8281 selector cannot be opened
8283 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8284 when the popup color selector is created. Please connect to this
8285 signal in order to set the dialog's help ID.
8287 2008-03-25 Sven Herzberg <sven@imendio.com>
8289 Fixes: MB#1212: Hide info banners (infoprints) on click
8291 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8292 extracted the close event simulation into an extra function
8293 (hildon_banner_button_press_event): simulate a close event and destroy
8294 the widget if the event wasn't handled
8295 (hildon_banner_class_init): added the button_press_event handler
8296 (hildon_banner_init): added button-press events to the widget
8298 2008-03-25 Sven Herzberg <sven@imendio.com>
8300 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8301 Patch from: Mohammad Anwari <mdamt@maemo.org>
8303 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8304 instead of the right in RTL mode
8305 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8306 breadcrumb button list in RTL mode
8307 * src/hildon-caption.c: mirror the appearance of the caption widget in
8309 * src/hildon-date-editor.c: mirror appearance of the date editor in
8311 * src/hildon-time-editor.c: mirror appearance of the time editor in
8313 * src/hildon-window.c: fix the position of the popup in RTL mode
8315 2008-03-25 Sven Herzberg <sven@imendio.com>
8317 Amendment to the fix of NB#22072. Fix compilation.
8319 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8321 2008-03-19 Sven Herzberg <sven@imendio.com>
8323 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8326 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8327 timeout id properly when the timeout will disappear this leaves no
8328 artifacts around in the destroy(); there will only be the timeout
8329 created by hildon_banner_ensure_timeout() and adding a new timeout
8330 will also work if the timeout gets removed because the timeout_handler
8333 2008-03-19 Michael Natterer <mitch@imendio.com>
8335 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8337 * src/hildon-volumebar.c
8338 * src/hildon-vvolumebar.c
8339 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8340 the widget becomes focussable at all.
8342 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8343 set the focus to wither the mute button or the volumebar.
8345 Remove own "can-focus" property and instead listen to
8346 notify::can-focus in order to update the widget's state.
8348 Implement GtkWidget::focus() and make sure we can also *leave* the
8349 widget, not only enter it, depending on volumebar orientation and
8350 requested focus direction.
8352 Clean up set_mute() to cooperate nicely with all the above.
8354 2008-03-04 Michael Natterer <mitch@imendio.com>
8356 Fixes: NB#78481: information banners are hidden under browser menu
8358 * src/hildon-banner.c: call gtk_window_present() on the banners so
8359 they are risen if they are already visible.
8361 2008-03-03 Sven Herzberg <sven@imendio.com>
8363 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8365 * examples/hildon-window-menu-example.c: (main): extended the window
8366 menu example to serve as a testcase for automatically added
8367 accelerator groups, too
8368 * src/hildon-window.c: (hildon_window_add_accel_group),
8369 (hildon_window_set_menu): added patch by Tommi Komulainen
8371 2008-03-03 Sven Herzberg <sven@imendio.com>
8373 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8375 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8376 knowledge about the border allocators used within GTK+
8378 2008-02-26 Sven Herzberg <sven@imendio.com>
8380 Fixes: MB#2981: Build with asserts broken
8382 * src/hildon-date-editor.c,
8383 * src/hildon-number-editor.c,
8384 * src/hildon-time-editor.c,
8385 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8386 the proper GType instance check
8388 2008-02-25 Sven Herzberg <sven@imendio.com>
8390 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8392 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8393 * examples/hildon-window-menu-example.c: (main): explicitly show
8395 * src/hildon-window.c:
8396 (hildon_window_set_main_menu): moved most of the code from set_menu()
8397 to this place; skipped the call to gtk_widget_show_all(); also didn't
8398 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8399 (hildon_window_set_menu): removed most of the code, just keep the
8400 questionable gtk_widget_show_all()
8401 * src/hildon-window.h: added the new function and deprecate the old
8404 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8410 * debian/changelog: Updating.
8412 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8415 * pkgconfig/Makefile.am:
8416 * pkgconfig/hildon.pc.in:
8419 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8420 use newly created API_MAJOR_VERSION.
8422 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8428 * debian/changelog: Updating.
8430 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8432 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8434 Add outer_border style property, we use it but don't define it (!).
8438 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8440 * examples/hildon-bread-crumb-trail-example.c (main):
8444 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8446 Fix logic for the bread crumb trail node removal.
8450 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8456 * debian/changelog: Updating.
8458 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8460 Patch by Alejandro to get/set passwords dialogs accesibility.
8462 * hildon-1/src/hildon-get-password-dialog.c:
8463 * hildon-1/src/hildon-set-password-dialog.c:
8464 Set atk_set_name to the passwd entries in order to allow
8465 accessibility by name on this entries.
8467 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8472 * debian/control: Updating gtk dep.
8474 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8476 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8477 USE_MAEMO_GTK is enabled.
8479 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8481 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8482 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8484 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8490 * debian/changelog: Updating.
8492 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8494 * examples/Makefile.am:
8495 * examples/hildon-logical-color-example.c:
8496 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8497 applied + adding a test case. Fixes: NB#71660.
8499 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8501 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8502 to be visible, fixes warning on map for windows without toolbars.
8504 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8506 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8507 2.11.0, add a check for that besides the MAEMO_GTK check.
8509 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8515 * debian/changelog: Updating.
8517 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8519 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8520 visibility. Fixes: NB#70842 and MB#615.
8522 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8524 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8525 set the separator as no-show-all so it doesn't unintentionally appear when
8526 someone does a show_all.
8528 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8530 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8531 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8532 toplevel item. Fixes: NB#62031
8534 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8536 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8537 fix the name of the function in the docs.
8539 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8545 * debian/changelog: Updating.
8547 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8549 * examples/hildon-banner-long-example.c: Adding a test-case for long
8552 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8554 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8556 * src/hildon-color-chooser-dialog.c:
8557 * src/hildon-color-chooser.c:
8558 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8559 memory leaks in font selector and color selector. Fixes: NB#70499 and
8562 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8564 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8566 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8568 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8569 little bit bigger. Fixes: #NB63694.
8571 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8577 * debian/changelog: Updating.
8579 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8582 * doc/hildon-docs.sgml:
8583 * doc/images/bread-crumb-trail.png:
8584 * doc/images/calendar-popup.png:
8585 * doc/images/caption.png:
8586 * doc/images/code-dialog.png:
8587 * doc/images/color-button.png:
8588 * doc/images/color-chooser-dialog.png:
8589 * doc/images/color-chooser.png:
8590 * doc/images/controlbar.png:
8591 * doc/images/date-editor.png:
8592 * doc/images/font-selection-dialog.png:
8593 * doc/images/get-password-dialog.png:
8594 * doc/images/hvolumebar.png:
8595 * doc/images/login-dialog.png:
8596 * doc/images/note.png:
8597 * doc/images/number-editor.png:
8598 * doc/images/range-editor.png:
8599 * doc/images/seekbar.png:
8600 * doc/images/set-password-dialog.png:
8601 * doc/images/sort-dialog.png:
8602 * doc/images/time-editor.png:
8603 * doc/images/time-picker.png:
8604 * doc/images/vvolumebar.png:
8605 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8606 Adding the bread-crumb-trial and helpers to the documentation.
8608 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8610 * examples/hildon-find-toolbar-example.c:
8611 * src/hildon-find-toolbar.c:
8612 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8613 actually continue firing the other handlers if connected. Adding a new
8615 hildon_find_toolbar_get_last_index that gets the index of the most
8616 recently added (last) item. Fixes: NB#52301.
8618 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8620 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8621 behaviour. Fixes: NB#68610.
8623 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8625 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8628 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8631 when realizing the banner. Should make the infonbanner effect a bit more
8634 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8636 * src/hildon-volumebar.c:
8637 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8638 hildon_volumebar_set_range_insensitive_message and
8639 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8641 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8643 * src/hildon-window.c: Fixing the border freeing on destroy.
8645 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8647 * src/hildon-code-dialog-private.h:
8648 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8649 kw keyboard support in HildonCodeDialog.
8651 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8657 * debian/changelog: Updating.
8659 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8661 * src/hildon-date-editor.c:
8662 * src/hildon-number-editor.c:
8663 * src/hildon-private.c:
8664 * src/hildon-private.h:
8665 * src/hildon-time-editor.c:
8666 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8667 handling in subclassed composite widgets. Fixes: NB#66628.
8669 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8672 from destroy_ callback as it introduces problems in async dbus signal
8673 handlers. Fixes NB#66673.
8675 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8677 * examples/hildon-hvolumebar-example.c:
8678 * src/hildon-volumebar.c: Improving the focus handling in the
8679 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8680 set_property accessor so that "mute" property can be actually set. I'm
8681 scared that nobody noticed it's totally broken.
8683 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8685 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8688 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8690 * src/hildon-calendar.c:
8691 * src/hildon-number-editor.c:
8692 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8693 matches the spec of 6 chars per second. Fixes: NB#60489.
8695 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8697 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8698 gtk_style_lookup_color sometime returns FALSE even though color was
8699 found and values were filled properly. Weird. Removing the warning for the
8702 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8704 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8705 expand vertically. Adding some extra space to the find toolbar buttons to
8706 make them thumbable. Fixes NB#66060.
8708 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8711 popup with "Ok" and "Cancel". Fixes NB#59299.
8713 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8715 * src/hildon-calendar.c: Process all window updates before executing next
8716 timeout. Fixes: NB#54146.
8718 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * debian/changelog: Updating.
8726 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8728 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8729 the client event and ignore it, since we use the delete event to close
8732 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8734 * src/hildon-helper.c: Remove the bogus warning about color not being
8735 found. Fixes NB#58352.
8737 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8739 * examples/Makefile.am:
8740 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8741 HildonSeekbar widget inside a toolbar.
8743 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8745 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8746 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8747 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8748 don't want to be closed by non-temporary windows on map.
8750 Also use G_DEFINE_TYPE instead of manually typed code.
8752 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8759 * debian/rules: Updating.
8761 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8763 * examples/Makefile.am:
8764 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8765 bug NB#61128. Strangely it works.
8767 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8769 * src/hildon-date-editor.c: When the date editor entry has been changed
8770 but the numbers of characters < max, turn off the skip validation flag.
8771 Prevents a situation when we enter first a valid year and later re-write
8772 it with an invalid one. Fixes NB#60154.
8774 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8776 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8777 code dialog. Fixes NB#64355.
8779 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8782 switching the page. Fixes NB#49374.
8784 * examples/Makefile.am:
8785 * examples/hildon-wizard-dialog-example.c: Adding an example for
8786 HildonWizardDialog that shows how to handle manual sensitivity setting on
8789 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * src/hildon-version.h.in:
8794 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8796 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8798 * src/hildon-volumebar.c: Updating the docs.
8800 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * debian/changelog: Updating.
8808 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * src/hildon-find-toolbar.c:
8811 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8812 selected item: hildon_find_toolbar_set_active,
8813 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8814 hildon_find_toolbar_get_active_iter . They correspond to respective
8815 GtkComboBox functions.
8817 * examples/Makefile.am:
8818 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8821 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8823 * examples/Makefile.am:
8824 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8827 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8828 when font size > 32 and we pack a focusable widget inside. Actually using
8829 the default response would work too, but since we don't show default
8830 response state in any way (no theming) it would not be visible to the
8831 user. Fixes NB#63430.
8833 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-date-editor.c: Adding the missing variable setter in the
8836 set_property handler. Fixes NB#54182.
8838 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * src/hildon-window.h: Changing the long key press time from 1500ms to
8841 800ms as requested in NB#63700. I have a bad feeling about this, let's
8842 see... Fixes NB#63700.
8844 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8846 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8847 hildon_time_picker_map, hildon_time_picker_realize,
8848 hildon_time_picker_style_set): Split the contents of map to more
8849 appropriate functions; set window decorations on realize and update
8850 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8852 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8857 * debian/changelog: Updating.
8859 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8861 * src/Makefile.am: fixed installation of the header files
8863 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * debian/changelog: Updating.
8871 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8873 * configure.ac: Removing some remaining of --enable-xan.
8875 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8877 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8878 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8880 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8881 2.10.12-osso6 because the move-focus signal needs to be available in
8884 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * examples/Makefile.am:
8887 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8888 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8889 fine. Prolly NB#61128 is fixed now.
8891 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-volumebar.c:
8894 * src/hildon-volumebar.h: Adding the
8895 hildon_volumebar_set_range_insensitive_message and
8896 hildon_volumebar_set_range_insensitive_messagef functions to set
8897 insensitive message on the slider of the volumebar. Fixes NB#61129.
8899 * examples/Makefile.am:
8900 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8901 test the new insensitive messsage functionality on HildonVolumebar.
8903 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8905 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8908 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8910 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8911 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8912 button on after clearing the trail.
8914 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8918 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8920 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8921 by splitting the installed headers in generated and non-generated groups. Use
8922 only the non-generated headers to create the hildon-enum-types.h file.
8924 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8926 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * src/hildon-window.c: Hide the window before performing the destroy.
8929 Should make the app closing a little tiny bit more snappy.
8931 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8933 * src/hildon-seekbar.c: add gtkrange.h header
8934 * src/hildon-caption.c: remove unused variable
8936 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8938 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8941 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * debian/changelog: Updating.
8949 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8951 * src/hildon-window.c (hildon_window_window_state_event,
8952 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8953 escape timeout on focus-out-event rather than notify::is-topmost; the
8954 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8956 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8958 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8959 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8961 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8963 * src/hildon-window: actually, you need to use the macro always, there's
8964 no private pointer in the instance structure. We should have cleaned this up
8965 when we had the chance...
8967 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8969 * src/hildon-window.c: do not get the private date from HildonWindow before
8970 it passes the g_return_if_fail check. Once it's passed the test, there's no
8971 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8972 if you are only going to access the data once. Whitespace cleanups.
8974 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8976 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8977 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8979 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * debian/changelog: Updating.
8987 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * src/hildon-window.c: When destroying the window, remove (if exists) the
8990 escape timeout handler. Fixes #NB59276.
8992 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-banner.c: When realizing the widget, set the window
8995 transiency. Setting the transiency in the gobject constructor is not
8996 good, as the widget is not realized at that point. Fixes: #NB56624.
8998 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9000 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9001 Add padding for future expansions.
9003 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9005 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9006 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9007 will fake an activation on the previous to the last item of the trail, so
9008 the effect can be overrided by the developer as usual.
9009 Also change the callback for the back button to do the same thing, so its
9010 effect can be overrided too. Fixes: NB#58982
9012 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9015 HildonCaption. Fixes NB#52379.
9017 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9019 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9020 the internal state of the trail after the user has had the chance of executing
9021 his handler for the signal. Specifically, it may happen that the activated button
9022 is removed and the user still lets the default handler run. This would segfault
9025 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9028 scrollbar to the preview dialog. Fixes NB#54147.
9030 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9033 max/min year properties can be altered, so the client can modify it
9034 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9036 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9038 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9039 hildonlike by default. Fixing a problem with disappearing arrows when
9040 scrolling through months and years. Fixes NB#54127.
9042 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * examples/hildon-date-editor-example.c: Adding error callback to the date
9047 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9053 * configure.ac: Updating.
9055 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9057 * configure.ac: Adding a special '--enable-xan' configure option that
9058 turns off the -Werror compilation setting. Usefull for development.
9060 * src/hildon-calendar.c:
9061 * src/hildon-number-editor.c:
9062 * src/hildon-time-picker.c: Adding the 5* multiplier to
9065 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9067 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9068 instead of g_object_ref + gtk_object_sink.
9070 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * debian/changelog: Updating.
9078 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * src/hildon-color-chooser-dialog.c:
9081 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9082 straight from Tommi labs.
9084 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * examples/hildon-finger-example.c: Correcting the header file path.
9088 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9089 the changed signal. Fixes a small memory leak.
9091 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * src/hildon-banner.c: Importing several usefull fixes from the
9096 ubuntu-mobile branch.
9098 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9100 * examples/Makefile.am:
9101 * examples/hildon-finger-example.c: Adding a finger-checking code
9104 * src/hildon-font-selection-dialog.c: Do not allocate the color
9105 structure using the g_new. Fixes NB#54061.
9107 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * src/hildon-helper.c: Correcting tabs in file.
9111 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9113 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9114 control the visibility of the children.
9116 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9118 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9124 * debian/changelog: Updating.
9126 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9128 * src/hildon-bread-crumb-trail.c:
9129 (hildon_bread_crumb_trail_size_allocate):
9131 Make the back button always a square.
9133 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9135 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9136 from the .c file as it's a private file.
9138 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9141 uses slightly bigger height.
9143 * src/hildon-font-selection-dialog.c: Adding some checks before
9144 freeing memory in the font selection dialog.
9146 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * src/hildon-font-selection-dialog.c: Adding a small check when
9151 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9152 buttons sensitivity on page switching.
9154 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9156 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9157 internal details of adding a bread crumb to the trail.
9159 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9165 * debian/changelog: Updating.
9167 * src/hildon-bread-crumb-trail.h:
9168 * src/hildon-bread-crumb.h: Changing the API guard to
9169 HILDON_ENABLE_UNSTABLE_API.
9171 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * src/hildon-helper.h: Updating.
9181 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * src/hildon-helper.h: Small fix to make the package actually compile.
9195 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9197 * src/hildon-bread-crumb-trail.h:
9198 * src/hildon-bread-crumb.h:
9200 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9201 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9203 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9205 * examples/hildon-bread-crumb-trail-example.c:
9207 * src/hildon-bread-crumb-trail.c:
9208 * src/hildon-bread-crumb-trail.h:
9209 * src/hildon-bread-crumb.c:
9210 * src/hildon-bread-crumb.h:
9211 * src/hildon-marshalers.list:
9212 * src/hildon-bread-crumb-widget.c:
9213 * src/hildon-bread-crumb-widget.h:
9215 Slight change in the widget design. The bread crumb trail API is
9216 unchanged, but HildonBreadCrumb is now an interface. A *private*
9217 implementation, hildon-bread-crumb-widget, is provided and used
9218 internally by the trail for the push_text/push_icon functions.
9220 The generic push API is still available, so anyone can implement
9221 and use its own bread crumb widget.
9223 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9225 * debian/rules: Fixing the shlibs.
9227 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9229 * src/hildon-banner.c: Fixing a problem with timed banners having
9230 their parrent destroyed before they are.
9232 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9234 * src/hildon-bread-crumb.c:
9235 * src/hildon-bread-crumb.h:
9237 Make the get_natural_size function a vfunc.
9239 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9241 * src/hildon-bread-crumb.c:
9242 * src/hildon-bread-crumb-trail.c:
9246 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * debian/changelog: Updating for release.
9255 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9257 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9258 don't leak the pango layout.
9260 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9263 * examples/hildon-bread-crumb-trail-example.c:
9267 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9269 * debian/changelog: Removing the bug-fixed entries that were actually
9270 resolved as WONTFIX.
9272 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9275 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9277 * src/hildon-bread-crumb-trail.c:
9278 * src/hildon-bread-crumb-trail.h:
9279 * src/hildon-bread-crumb.c:
9280 * src/hildon-bread-crumb.h:
9284 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9286 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9287 until it's passed the type check.
9289 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9291 * examples/hildon-bread-crumb-trail-example.c
9295 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9297 * examples/Makefile.am
9298 * examples/hildon-bread-crumb-trail-example.c
9300 * src/hildon-bread-crumb-trail.c
9301 * src/hildon-bread-crumb-trail.h
9302 * src/hildon-bread-crumb.c
9303 * src/hildon-bread-crumb.h
9305 New HildonBreadCrumbTrail widget.
9307 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9309 * src/hildon-range-editor.c (hildon_range_editor_init),
9310 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9311 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9312 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9313 hildon_time_editor_class_init, hildon_time_editor_init),
9314 src/hildon-get-password-dialog.c (invalid_input,
9315 hildon_get_password_set_property, hildon_get_password_get_property,
9316 create_contents, hildon_get_password_dialog_set_max_characters),
9317 src/hildon-set-password-dialog.c (create_contents),
9318 src/hildon-date-editor.c (hildon_date_editor_init),
9319 src/hildon-login-dialog.c (hildon_login_dialog_init),
9320 src/hildon-number-editor.c (hildon_number_editor_init),
9321 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9322 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9323 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9324 configure option and adding the respective checks in the code.
9325 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9326 hildon_calendar_drag_data_received): fixed some build warnings.
9328 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9330 * debian/changelog: A 1.0.0 release notes.