1 2009-07-29 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-text-view.c
4 (+set_logical_color, +hildon_text_view_style_set)
5 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
6 (hildon_text_view_init)
7 * hildon/hildon-entry.c
8 (+set_logical_color, +hildon_entry_style_set)
9 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
10 (hildon_entry_class_init, hildon_entry_init)
11 * hildon/hildon-button.c
12 (+set_logical_font, +set_logical_color)
13 (hildon_button_style_set, hildon_button_init)
14 (hildon_button_set_arrangement, hildon_button_set_style):
15 Remove all calls to hildon_helper_set_logical_font() and
16 hildon_helper_set_logical_color(), which are recursive, from
19 Fixes: NB#123409 (Showing dialog consumes significant amount of
22 2009-07-29 Alejandro G. Castro <alex@igalia.com>
24 * hildon/hildon-pannable-area.c,
25 (hildon_pannable_area_timeout): Added the process updates of the
26 scrollbars window in the pannable.
28 Fixes: NB#130043 (scrollindicator not smooth while paning)
30 2009-07-23 Alejandro G. Castro <alex@igalia.com>
32 * hildon/hildon-pannable-area.c,
33 (hildon_pannable_area_check_move),
34 (hildon_pannable_area_button_release_cb),
35 (hildon_pannable_area_scroll_to): Increased the priority of the
36 timeout this way it is going to be handled before the events.
38 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
42 * configure.ac: bump version
43 * debian/changelog: updates
45 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
47 * hildon/hildon-entry.c: (set_property): Do not allow to set
48 automatic height and use finger height instead, to prevent an to
49 have a smaller size than than its theme pixbuf.
51 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
53 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
55 * configure.ac: postrelease version bump.
56 * debian/changelog: post release version bump
58 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
63 * configure.ac: Bump version.
64 * debian/changelog: Updates.
66 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
68 * hildon/hildon-note.c: (label_size_request): Take the note
69 padding into account when setting the size request.
71 Fixes: NB#127896 (Information notes text truncated)
73 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
75 * configure.ac: postrelease version bump.
76 * debian/changelog: post release version bump
78 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
83 * configure.ac: Bump version.
84 * debian/changelog: Updates.
86 2009-07-16 Alejandro G. Castro <alex@igalia.com>
89 * hildon/hildon-text-view.c,
90 (hildon_text_view_button_press_event): Grabbed the focus in button
91 press, this way we are sure the widget has the focus in the
92 release event, required for HIM.
94 Fixes: NB#121445 (Virtual keyboard opening is not working in same
95 way for each text entry field)
97 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
99 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
100 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
101 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
102 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
103 (hildon_pannable_area_[gs]et_center_on_child_focus)
104 Redefined GtkContainer set-focus-child signal, in order to center
105 properly on a child when it receives the focus. Defined a new property
106 "center-on-child-focus" in order to activate this feature (deactivated
107 by default). Public get/set methods defined to manage the property.
109 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
111 2009-07-14 László Pere <lpere@blumsoft.eu>
113 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
114 the new size is applied.
116 Fixes: NB#124510 (The Application Menu is distorted when switched
117 between portrait and landscape mode)
118 Fixes: NB#115388 (Power key menu does not resize itself)
120 2009-07-01 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-banner.c (hildon_banner_map):
123 Set banner position after mapping.
125 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
127 * configure.ac: postrelease version bump.
128 * debian/changelog: post release version bump
130 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
135 * configure.ac: Bump version.
136 * debian/changelog: Updates.
138 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
140 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
143 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
145 * tests/check-hildon-banner.c
147 * tests/test_suites.h
148 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
149 were testing deprecated functions.
150 * examples/hildon-banner-example.c: typo on button3 type, that causes
151 a fail compiling with --with-examples but without --disable-deprecated
153 Missed commit in order to fix compilation using '--enable-fatal' and
154 '--disable-deprecated' (see previous commit)
156 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
158 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
159 functions with #ifndef HILDON_DISABLE_DEPRECATED
160 * examples/hildon-find-toolbar.c: Protect deprecated
161 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
162 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
163 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
164 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
166 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
167 to allow proper compilation of deprecated functions defined on the header
169 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
171 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
173 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
174 Cache the panning indicator color.,
175 (hildon_pannable_area_style_set): Query the color on style changes.
176 (hildon_pannable_draw_vscroll),
177 (hildon_pannable_draw_hscroll),
178 (hildon_pannable_area_expose_event): Use the cached panning indicator
179 color instead of looking it up on every expose and more.
181 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
183 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
184 (hildon_pannable_draw_hscroll),
185 (hildon_pannable_area_expose_event): Fix the panning indicator color,
186 so that it's "SecondaryTextColor", as desired.
188 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
190 * hildon/hildon-picker-dialog.c:
191 (selection_completed): take into account HILDON_UI_MODE_NORMAL
192 * hildon/hildon-touch-selector.c
193 (hildon_touch_selector_init): Initialize hildon-ui-mode
194 (hildon_touch_selector_row_activated): new callback for the
195 "row-activated" signal, in order to save the last activated
196 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
197 if the current hildon-ui-mode is coherent with the touch selector
198 (hildon_touch_selector_class_init)
199 (hildon_touch_selector_get_property)
200 (hildon_touch_selector_set_property)
201 Added "hildon-ui-mode" property
202 (disconnect_model_handlers): renamed to clean_column
203 (hildon_touch_selector_remove): use clean_column function
204 (_create_new_column): use the hildon-ui-mode to create the treeview, and
205 only select the first element on HILDON_UI_MODE_EDIT
206 (hildon_touch_selector_column_init): Initialize last_activate
207 (hildon_touch_selector_append_column): check that the touch selector
208 is coherent with the current hildon-ui-mode
209 (hildon_touch_selector_get_hildon_ui_mode)
210 (hildon_touch_selector_set_hildon_ui_mode)
211 Added a getter/setter for the hildon-ui-mode property
212 (hildon_touch_selector_get_last_activated_row): Added this method in
213 order to get the last activated row.
214 * examples/hildon-touch-selector-normal-mode-example.c
215 New example, that shows how to use the HildonTouchSelector in
216 HILDON_UI_MODE_NORMAL
218 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
219 Kristian Rietveld <kris@lanedo.com> advices
221 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
223 * hildon/hildon-time-selector.c: (update_format_policy): Do
224 not call update_format_dependant_columns() if not necessary.
225 (update_format_dependant_columns): Remove unnecessary check for
226 the number of columns.
228 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
230 * hildon/hildon-note.c (+hildon_note_constructor),
231 (hildon_note_class_init), (+hildon_note_set_padding),
232 (hildon_note_rebuild): Install a constructor where to set the
233 padding properties in the note, so that it actually works fine.
234 Use hildon_note_set_padding() for this, and also to set it during
237 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
239 * configure.ac: Bump GTK+ requirement to 2.14.3.
240 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
241 when using maemo-gtk to define proper margins for the notes.
243 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
244 with the dialog edge)
246 2009-06-24 Alberto Garcia <agarcia@igalia.com>
248 * hildon/hildon-banner.c
249 (hildon_banner_class_init):
251 (+hildon_banner_size_request):
252 Request always the full width of the screen.
253 (hildon_banner_realize)
254 (-hildon_banner_check_position, hildon_banner_map):
255 hildon_banner_check_position() is not needed in Hildon 2.2.
256 (-hildon_banner_reset_wrap_state)
257 (hildon_banner_constructor, hildon_banner_init):
258 Remove unnecessary calls to hildon_banner_reset_wrap_state()
259 (+banner_do_set_text)
260 (force_to_wrap_truncated):
261 Remove has_been_wrapped and has_been_truncated attributes.
262 (+reshow_banner, hildon_banner_real_show_information)
263 (hildon_banner_show_information_with_markup)
264 (hildon_banner_show_animation, hildon_banner_show_progress)
265 (hildon_banner_set_text, hildon_banner_set_markup):
266 Refactor code. Shrink banner vertically to use the minimum space
267 necessary everytime the text of the label is updated.
268 (screen_size_changed):
269 Call force_to_wrap_truncated() when the size of the screen
272 Fixes: NB#120500 (only device memory connect mmc in use info
273 banner is left aligned)
275 Fixes: NB#120613 (Size of HildonBanner varies depending on
276 previously opened banners)
278 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-color-chooser.c
281 (hildon_color_chooser_pointer_motion): Take the widget allocation
284 Fixes: NB#124385 (Unable to select exact point in color mixing box
285 in color palette dialog)
287 2009-06-23 Alejandro G. Castro <alex@igalia.com>
289 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
290 (hildon_pannable_area_dispose)
291 (hildon_pannable_area_button_press_cb)
292 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
293 (hildon_pannable_area_button_release_cb)
294 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
295 New 'panning-started' and 'panning-finished' signals.
297 Fixes: NB#121732 (New feature request: Signal to pannable area
298 that informs when panning is stopped.)
300 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
302 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
303 instead of hardcoded colon.
305 Fixes: NB#124090 (New calendar wizard title is not using
306 ecdg_ti_caption_separator)
308 2009-06-22 David King <davidk@openismus.com>
310 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
311 constants and functions, as well as correct many typos throughout the
314 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
317 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
319 * configure.ac: postrelease version bump.
320 * debian/changelog: post release version bump
322 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
327 * configure.ac: Bump version.
328 * debian/changelog: Updates.
330 2009-06-18 Alberto Garcia <agarcia@igalia.com>
332 * hildon/hildon-window-stack.c
333 (hildon_window_stack_pop_and_push_list):
334 Prevent windows from having the same stack index
336 2009-06-18 Alberto Garcia <agarcia@igalia.com>
338 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
339 Use the index of the previous window rather than the stack length
340 to calculate the new index.
344 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
346 * hildon/hildon-date-selector.c
347 (hildon_date_selector_select_current_date)
348 (hildon_date_selector_get_date)
349 (hildon_date_selector_select_day):
350 Update the documentation: uses always the range (1-31), as it is obvious
351 that the final one will depend on the month and the year, but globally
352 the range is this, in a similar GtkCalendar approach
353 (hildon_date_selector_get_date):
354 Update the documentation: add NULL as a valid value for the day, month
357 Fix some details, after talk with David King on bug MB#4698
359 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
361 * hildon/hildon-touch-selector-entry.c
362 * hildon/hildon-touch-selector.c
363 Update the documentation of the "text-column" property
365 2009-06-18 David King <davidk@openismus.com>
367 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
368 several typos and errors throughout the documentation.
370 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
373 2009-06-18 Alberto Garcia <agarcia@igalia.com>
375 * hildon/hildon-note.c (hildon_note_realize):
376 Make HildonNote support portrait mode.
378 Fixes: NB#123448 (HildonNote is not portrait-friendly)
380 2009-06-17 Alberto Garcia <agarcia@igalia.com>
382 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
383 Document this function
385 2009-06-17 David King <davidk@openismus.com>
387 * hildon/hildon-date-selector.c
388 (hildon_date_selector_select_current_date)
389 (hildon_date_selector_get_date): Update documentation regarding days,
390 as the day of the month is dependent on both the month and the year.
391 (hildon_date_selector_get_date): Fix documentation of output arguments.
393 Fixes: MB#4698 (DateSelector documentation has bad output argument
394 description, and the day depends on both the month and the year)
396 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
398 * hildon/hildon-caption.c: Other documentation fixes to
401 2009-06-17 David King <davidk@openismus.com>
403 * hildon/hildon-caption.c: Minor documentation updates for
404 HildonCaption. Fixes MB#4697.
406 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
408 * doc/hildon-docs.sgml: Add hildon-version section.
409 * doc/hildon-sections.txt:
410 * hildon/hildon-version.h.in: Document versioning macros and
413 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
415 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
416 from HildonPickerDialog section.
418 2009-06-16 Alberto Garcia <agarcia@igalia.com>
420 * hildon/hildon-banner.c (hildon_banner_bind_style)
421 (screen_size_changed, hildon_banner_init)
422 (hildon_banner_real_show_information)
423 (hildon_banner_show_information_with_markup)
424 (hildon_banner_show_animation, hildon_banner_show_progress):
425 Set a different widget name to banners in portrait mode, for them
426 to be themed correctly.
428 2009-06-16 Alberto Garcia <agarcia@igalia.com>
430 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
431 Set a different widget name to notes in portrait mode, for them to
434 Partially fixes: NB#118401 (HildonNote causes unnecessary
437 2009-06-16 Alberto Garcia <agarcia@igalia.com>
439 * hildon/hildon-note.c (hildon_note_class_init)
440 (+hildon_note_size_request, screen_size_changed):
441 Always request the full width of the screen.
443 Fixes: NB#118375 (unnecessary rescaling of images)
445 2009-06-16 Alejandro G. Castro <alex@igalia.com>
447 * hildon/hildon-pannable-area.c,
448 (hildon_pannable_area_init),
449 (hildon_pannable_area_realize): Replaced old code adding flags in
450 the object init, now we add it with the other flags in the realize
453 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
455 * hildon/hildon-note.c: (hildon_note_class_init): Several
456 documentation improvements to the HildonNote widget.
458 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
460 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
462 Fixes: MB#4556 (HildonNoteType is undocumented)
464 2009-06-15 Alberto Garcia <agarcia@igalia.com>
466 * hildon/hildon-picker-button.c:
467 Explain how HildonPickerButton sets the title of its dialog
469 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
470 the title of its dialog)
472 2009-06-15 Alberto Garcia <agarcia@igalia.com>
474 * hildon/hildon-check-button.c:
475 Documentation updates
477 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
480 2009-06-15 Alberto Garcia <agarcia@igalia.com>
483 * hildon/hildon-edit-toolbar-private.h
484 * hildon/hildon-edit-toolbar.c
485 (+hildon_edit_toolbar_set_progress_indicator)
486 (hildon_edit_toolbar_init): Add progress indicator to the
489 * hildon/hildon-gtk.c
490 (hildon_gtk_window_set_progress_indicator):
491 If the window contains a HildonEditToolbar, enable the progress
494 * hildon/hildon-private.h
495 * hildon/hildon-private.c
496 (+hildon_private_create_animation)
497 * hildon/hildon-banner.c
498 (-hildon_banner_create_animation):
499 Moved to hildon-private.c
501 Fixes: NB#102373 (Progress indicator also for the Edit mode
504 2009-06-15 Alberto Garcia <agarcia@igalia.com>
506 * hildon/hildon-app-menu-private.h
507 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
508 (hildon_app_menu_add_filter, +menu_item_button_event)
509 (hildon_app_menu_button_release, hildon_app_menu_init):
510 Make sure that buttons receive 'button-release-event' in spite of
511 the grab held by HildonAppMenu
513 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
515 2009-06-15 Alberto Garcia <agarcia@igalia.com>
517 * hildon/hildon-app-menu.c
518 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
519 New style property to set the size of the group of filter buttons.
521 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
523 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
528 * configure.ac: Bump version.
529 * debian/changelog: Updates.
531 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
533 * hildon/hildon-main.c: Minor documentation fixes.
535 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
537 * doc/hildon-sections.txt:
538 * hildon/hildon-defines.h: Document the defines, organize them,
539 and mark deprecations as such.
541 Fixes: MB#4463 (Hildon size #defines are undocumented)
543 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
545 * hildon/hildon-animation-actor.c:
546 * hildon/hildon-app-menu.c:
547 * hildon/hildon-button.c:
548 * hildon/hildon-date-editor.c:
549 * hildon/hildon-dialog.c:
550 * hildon/hildon-edit-toolbar.c:
551 * hildon/hildon-entry.c:
552 * hildon/hildon-program.c:
553 * hildon/hildon-remote-texture.c:
554 * hildon/hildon-stackable-window.c:
555 * hildon/hildon-text-view.c:
556 * hildon/hildon-touch-selector.c:
557 * hildon/hildon-window-stack.c:
558 * hildon/hildon-window.c:
560 Remove redundant "represents" wording from most of the documentation.
562 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
564 2009-06-12 Alberto Garcia <agarcia@igalia.com>
569 * hildon/hildon-banner-private.h
570 * hildon/hildon-banner.c:
571 Move HildonBannerPrivate to hildon-banner.c and remove
572 hildon-banner-private.h
573 Use a bit field to store private booleans.
575 2009-06-12 Alberto Garcia <agarcia@igalia.com>
577 * hildon/hildon-app-menu.c (hildon_app_menu_map):
578 Don't install a new idle function if there's already one
583 2009-06-11 Alberto Garcia <agarcia@igalia.com>
585 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
586 (+legacy_menu_realized, +legacy_menu_unmapped)
587 (+set_legacy_menu_type):
588 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
589 they can be identified by the window manager.
591 Fixes: NB#101437 (Invoking CSM on the left side of page area is
592 displayed in wrong location)
594 Fixes: MB#4563 (Popup menu won't locate at the left side of the
597 2009-06-11 Alberto Garcia <agarcia@igalia.com>
599 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
601 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
604 2009-06-11 Alberto Garcia <agarcia@igalia.com>
606 * hildon/hildon-code-dialog.c
607 * hildon/hildon-date-editor.c
608 * hildon/hildon-number-editor.c
609 * hildon/hildon-seekbar.c
610 * hildon/hildon-stackable-window.c
611 * hildon/hildon-window.c:
612 Misc documentation updates
614 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
616 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
617 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
619 Fixes: NB#117931 (Theming issues in accounts dialogs)
621 2009-06-09 Alejandro G. Castro <alex@igalia.com>
623 * hildon/hildon-pannable-area.c,
624 (hildon_pannable_area_button_release_cb): Changed the coordinates
625 of the original release in case we want to discard the release,
626 some widgets in Fremantle do not handle the leave-notify.
628 2009-06-09 Alejandro G. Castro <alex@igalia.com>
630 * hildon/hildon-pannable-area.c,
631 (hildon_pannable_area_button_release_cb): Reviewed the logic of
632 the release using the last refactored functions and avoiding the
633 movement if an element was selected.
635 2009-06-09 Alejandro G. Castro <alex@igalia.com>
637 * hildon/hildon-pannable-area.c,
638 (hildon_pannable_area_check_move),
639 (hildon_pannable_area_handle_move),
640 (hildon_pannable_area_motion_notify_cb): Refactored the
641 motion_notify method using a couple of new functions.
643 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
645 * hildon/hildon-date-selector.c:
646 (hildon_date_selector_construct_ui):
647 * hildon/hildon-time-selector.c:
648 (hildon_time_selector_constructor):
649 * hildon/hildon-touch-selector-entry.c:
650 (hildon_touch_selector_entry_set_text_column),
651 (hildon_touch_selector_entry_get_text_column):
652 * hildon/hildon-touch-selector.c: (_default_print_func),
653 (hildon_touch_selector_new_text): Use
654 hildon_touch_selector_set/get_text_column() instead of
655 setting/getting the "text-column" property.
657 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
659 * doc/hildon-sections.txt: Add the new public methods below.
661 * examples/hildon-picker-button-multicolumn-example.c:
662 (create_touch_selector):
663 * examples/hildon-touch-selector-example.c: (create_selector):
664 * examples/hildon-touch-selector-multi-cells-example.c:
666 Use hildon_touch_selector_column_set_text_column()
668 * hildon/hildon-touch-selector-column.h:
669 * hildon/hildon-touch-selector.c:
670 (hildon_touch_selector_column_set_text_column),
671 (hildon_touch_selector_column_get_text_column):
672 Make hildon_touch_selector_column_set/get_column() public, use
673 them in the inline example, document them, and reference to them
676 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
678 * hildon/hildon-time-selector.c: Fix the docs for
679 hildon_time_selector_new_step().
681 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
683 * hildon/hildon-touch-selector.c: Improve the documentation for
684 hildon_touch_selector_append_column().
686 Fixes MB#4641 (Documentation:
687 hildon_touch_selector_append_column() ref-counting)
689 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
691 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
692 Comment out test 5, since the hildon_controlbar_set_range() range
693 check is broken and fixing it would have side effects. Also,
694 this finally fixes make distcheck.
696 Fixes: NB#101420 (Update unit tests and fix make distcheck)
698 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
700 * tests/TEST-CASES.txt: Remove other bogus test.
701 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
702 Remove bogus test that was setting/retrieving a valid value.
704 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
706 * tests/TEST-CASES.txt: Remove bogus tests.
707 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
708 Remove three bogus tests that were actually setting valid colors.
710 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
712 * configure.ac: post release version bump
713 * debian/changelog: post release version bump
715 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
720 * configure.ac: Bump version.
721 * debian/changelog: Updates.
723 2009-06-08 Christian Dywan <christian@lanedo.com>
727 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
728 Correct errors in hildon_format_file-size_for_display and use
729 translations from the hildon-fm package instead of osso-filemanager.
731 2009-06-08 Alejandro G. Castro <alex@igalia.com>
733 * hildon/hildon-pannable-area.c,
734 (hildon_pannable_area_init): Initialized new values to handle the
736 (hildon_pannable_area_adjust_value_changed): Check if the values
737 changed before even call the redraw function.
738 (hildon_pannable_area_size_allocate),
739 (hildon_pannable_axis_scroll),
740 (hildon_pannable_area_scroll),
741 (hildon_pannable_area_jump_to): Improved the diagonal movement
744 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
747 2009-06-08 Alberto Garcia <agarcia@igalia.com>
749 * examples/hildon-banner-example.c:
750 Several style updates
751 (on_animation_clicked, on_animation_idle)
752 (on_progress_clicked, on_progress_idle):
753 Add additional reference for the cases when the parent window is
756 2009-06-08 Alberto Garcia <agarcia@igalia.com>
758 * doc/hildon-sections.txt
759 * hildon/hildon-pannable-area.c
760 * hildon/hildon-banner.h
761 * hildon/hildon-banner.c: Documentation updates.
763 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
766 2009-06-05 Alejandro G. Castro <alex@igalia.com>
768 * hildon/hildon-calendar-popup.h:
769 * hildon/hildon-caption.h:
770 * hildon/hildon-code-dialog.h:
771 * hildon/hildon-controlbar.h:
772 * hildon/hildon-date-editor.h:
773 * hildon/hildon-dialog.h:
774 * hildon/hildon-get-password-dialog.h:
775 * hildon/hildon-hvolumebar.h:
776 * hildon/hildon-login-dialog.h:
777 * hildon/hildon-note.h:
778 * hildon/hildon-number-editor.h:
779 * hildon/hildon-range-editor.h:
780 * hildon/hildon-seekbar.h:
781 * hildon/hildon-set-password-dialog.h:
782 * hildon/hildon-sort-dialog.h:
783 * hildon/hildon-time-editor.h:
784 * hildon/hildon-time-picker.h:
785 * hildon/hildon-volumebar-range.h:
786 * hildon/hildon-volumebar.h:
787 * hildon/hildon-vvolumebar.h:
788 * hildon/hildon-weekday-picker.h:
789 * hildon/hildon-window.h:
790 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
791 macros with the current replacements
793 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
795 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
797 * hildon/hildon-color-button.c (hildon_color_button_init): Use
798 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
799 itself, to make it fit better with Fremantle style.
801 Fixes: NB#109878 (height and width of focus on color icon is not
802 consistent with other item in the application tool bar)
804 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
806 * hildon/hildon-touch-selector.c:
807 (hildon_touch_selector_optimal_size_request): use the current requisition
808 as the base, in order to include any possible extra widget, like the
809 hildon entry on HildonTouchSelectorEntry
811 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
813 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
815 * configure.ac: post release version bump
816 * debian/changelog: post release version bump
818 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
823 * configure.ac: Bump version.
824 * debian/changelog: Updates.
826 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
828 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
830 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
831 to ensure the banner contents are centered, instead of relying on
832 the expand and fill properties in GtkHBox.
833 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
835 Fixes: NB#108265 (Animation banner not properly centered)
837 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
839 * hildon/hildon-pannable-area.c
840 (hildon_pannable_area_initial_effect): Remove the initial_effect
841 management, check initial_hint
842 (hildon_pannable_are_expose_event): Remove the initial_hint management,
843 set initial_effect to FALSE
844 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
845 by launching the fade_timeout if the scrollbars state has changed and are
847 * examples/hildon-pannable-area-initial-hint-example.c
848 Modified to allow to remove rows too. Add and remove rows one by one.
850 2009-05-28 Alberto Garcia <agarcia@igalia.com>
852 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
853 Don't close the menu if there's an animation actor below it.
855 Fixes: NB#117927 (Application menu not usable with animation
858 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
860 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
861 "focus-on-click" from the dialog button, to avoid stealing the
862 focus from the entry.
864 Fixes: NB#118903 (Account setup wizard: Text in Search field
865 should be focused when "Region" touch list picker is reopened
868 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
870 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
871 (prepare_action_area): Completely hide the dialog separator.
873 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
875 * hildon/hildon-touch-selector-entry.c
876 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
877 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
878 now that the entry is exposed.
880 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
882 * hildon/hildon-touch-selector-entry.c
883 (hildon_touch_selector_entry_init): Change the entry's size
884 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
886 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
888 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
889 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
890 avoid unnecessary scaling.
892 2009-05-27 Alberto Garcia <agarcia@igalia.com>
894 * hildon/hildon-app-menu.c (hildon_app_menu_map):
895 Create grab transfer window before calling parent's map function.
897 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
898 "crushed" button(s) in the top left corner)
900 2009-05-26 Alberto Garcia <agarcia@igalia.com>
902 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
903 Check if the window is already realized when pushing it.
905 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
907 * configure.ac: post release version bump
908 * debian/changelog: post release version bump
910 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
915 * configure.ac: Bump version.
916 * debian/changelog: Updates.
918 2009-05-25 Alberto Garcia <agarcia@igalia.com>
920 * hildon/hildon-app-menu.c: Doc updates.
922 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
924 * hildon/hildon-banner.c: Remove leftover macro.
926 2009-05-25 Alejandro G. Castro <alex@igalia.com>
928 * hildon/hildon-pannable-area.c,
929 (hildon_pannable_area_scroll_indicator_fade),
930 (hildon_pannable_area_button_release_cb): Reviewed vmin
931 conditions, it could cause problems in the fadeout procedure.
933 2009-05-25 Alejandro G. Castro <alex@igalia.com>
935 * hildon/hildon-pannable-area.c
936 (hildon_pannable_area_button_release_cb): Added a threshold to
937 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
939 2009-05-25 Alejandro G. Castro <alex@igalia.com>
941 * hildon/hildon-pannable-area.c,
942 (hildon_pannable_area_set_property): Added code to sync the gtk
943 dnd threshold with the panning threshold.
945 2009-05-25 Alejandro G. Castro <alex@igalia.com>
947 * hildon/hildon-pannable-area.c,
948 (hildon_pannable_area_class_init): Changed some of the default
949 values, now it should be less responsive and more accurate.
951 2009-05-25 Alejandro G. Castro <alex@igalia.com>
953 * hildon/hildon-pannable-area.c,
954 (hildon_pannable_area_init),
955 (hildon_pannable_area_scroll_indicator_fade),
956 (hildon_pannable_area_button_press_cb),
957 (hildon_pannable_axis_scroll),
958 (hildon_pannable_area_timeout),
959 (hildon_pannable_area_motion_notify_cb),
960 (hildon_pannable_area_button_release_cb): Changed the name of the
961 clicked attribute to button_pressed, it is more clear about its use.
963 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
965 * src/hildon-pannable-area.c
966 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
968 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
969 vertical scrollbar visibility, and use the data on private section instead,
970 remove the initial_hint check
971 (hildon_pannable_area_expose_event): add the initial_hint check here
973 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
975 * src/hildon-pannable-area.c
976 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
977 if the fadeout effect was used
978 (hildon_pannable_area_expose_event): check if it is required to
979 manage the initial effect on the begining of the function. Previously
980 it was made at the end, but this doesn't ensure that the scrollbars
981 will be painted on the first show. Do not set to FALSE initial_effect,
982 to ensure that the initial hint is showed the first time the pannable
984 * examples/Makefile.am
985 * examples/hildon-pannable-area-initial-hint-example.c:
986 New example, to show that the initial-hint is showed when the widget
989 Fixes: NB#116607 (Pannable area should always have scrollbar visible
990 initially if the application can be scrolled)
992 2009-05-25 Alberto Garcia <agarcia@igalia.com>
994 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
995 Resize table before adding new items to make sure that
996 gtk_table_resize() is called just once.
998 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1000 * hildon/hildon-app-menu-private.h
1001 * hildon/hildon-app-menu.c (item_visibility_changed)
1002 (filter_visibility_changed, hildon_app_menu_show_all)
1003 (hildon_app_menu_hide_all, hildon_app_menu_init):
1004 Rearrange items just once when gtk_widget_show_all()/hide_all()
1007 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1009 * hildon/hildon-app-menu.c
1010 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1011 Don't call gtk_widget_show() on added items.
1013 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1014 automatically when they're added)
1016 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1018 * hildon/hildon-banner.c
1019 (hildon_banner_realize, +hildon_banner_unrealize)
1020 (+screen_size_changed, hildon_banner_class_init):
1021 Redisplay the banner if the screen is rotated.
1023 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1024 on transition from landscape to portrait)
1026 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1028 * hildon/hildon-banner.[ch]:
1029 (hildon_banner_show_information_override_dnd): remove icon_name from the
1030 method definition as it is ignored.
1031 * examples/hildon-banner-dnd-example.c: updated with the change on
1034 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1036 * hildon/hildon-banner-private.h: new require_override_dnd and
1037 overrides_dnd variables
1038 * hildon/hildon-banner.h:
1039 (hildon_banner_show_information_override_dnd): new method, that shows
1040 the information but sets the override flag, in order to show important
1042 * hildon/hildon-banner.c
1043 (hildon_banner_show_information_override_dnd): new method
1044 (hildon_banner_set_override_flag): new utility function
1045 (hildon_banner_real_show_information): new utility function, in order to
1046 generalize the current hildon_banner_show_information_override_dnd and
1047 hildon_banner_show_information_override_dnd
1048 * examples/Makefile.am
1049 * examples/hildon-banner-dnd-example.c: New example that show how to
1050 use the new hildon_banner_show_information_override_dnd
1052 Fixes: NB#114874 (There is no possibility to show hildon banners with
1055 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1057 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1058 behind hildon_pannable_calculate_vel_factor().
1060 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1062 * hildon/hildon-pannable-area.c
1063 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1064 deceleration factors.
1066 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1068 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1069 Reduce the default value for 'scroll_time' to 1 second, since the
1070 current initial scrolling takes too much time.
1072 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1074 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1075 calculate velocity factor during initialization, since the properties
1078 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1080 * hildon/hildon-pannable-area.c
1081 (hildon_pannable_area_set_property): Calculate the velocity factor
1082 after setting the deceleration property and not after.
1084 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1086 * hildon/hildon-entry.c
1087 (hildon_entry_class_init, +set_property, hildon_entry_new)
1088 * hildon/hildon-check-button.c
1089 (hildon_check_button_class_init)
1090 (+set_property, hildon_check_button_new):
1091 Make the theme size a property.
1093 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1094 others) do too much in the _new function)
1096 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1098 * configure.ac: post release version bump
1099 * debian/changelog: post release version bump
1101 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1106 * configure.ac: Bump version.
1107 * debian/changelog: Updates.
1109 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1111 * hildon/hildon-gtk.h
1112 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1113 New API function to take a screenshot of a window
1115 Fixes: NB#106374 (Need API to take a loading screenshot)
1117 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1119 * hildon/hildon-time-selector.c
1120 (update_format_policy): prevent to use hours and minutes unitialized
1122 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1124 * hildon/hildon-window.c (hildon_window_size_request):
1125 Always request the full size of the screen (minus the title bar if
1126 not in fullscreen mode).
1128 Fixes: NB#107486 (HildonWindow should size itself properly)
1130 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1132 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1133 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1134 (on_show_cb), (sound_handling): Disconnect the idle handler for
1135 the sound when the note is finalized to avoid possible crashes.
1137 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1140 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1142 * src/hildon-animation-actor.c,
1143 * src/hildon-remote-texture.c:
1144 Added proper object cleanup to remove signal handler and object
1145 references as HildonAnimationActor and HildonRemoteTexture
1146 objects get destroyed.
1148 Fixes: NB#116682 (Destroying parented animation actors when
1149 parent in unmapped leads to crash)
1151 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1153 Based on a patch by Christian Dywan (christian@imendio.com)
1155 * doc/hildon-sections.txt:
1156 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1157 * hildon/hildon-helper.h: New file size formatting method.
1159 * debian/control: Depend on osso-filemanager l10n package for
1160 proper localization strings.
1162 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1164 * tests/Makefile.am: Include top_srcdir to make possible to build
1165 tests in a different builddir.
1166 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1167 on a different builddir.
1169 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1171 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1172 (hildon_touch_selector_remove): Disconnect model's signal handler
1175 Fixes: NB#116289 (Hildon home crashes while adding task
1178 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1180 * hildon/hildon-button.c
1181 (hildon_button_set_title, hildon_button_set_value):
1182 Hide labels containing an empty string.
1184 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1186 * configure.ac: post release version bump
1187 * debian/changelog: post release version bump
1189 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: Bump version.
1195 * debian/changelog: Updates.
1197 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1199 * hildon/hildon-note-private.h: Removed sound_signal_handler
1200 * hildon/hildon-note.c
1201 (on_show_cb): new callback on note "show" event, this simply adds
1202 a idle, with the function sound_handling
1203 (sound_handling): removed the sound_signal_handler management
1204 (hildon_note_init): connect note "show" event to on_show_cb
1205 (hildon_note_realize): remove the connection to "expose-event"
1207 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1208 device?' confirmation note)
1210 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1212 * hildon/hildon-note.c
1213 (hildon_note_new_information_with_icon_name)
1214 (hildon_note_new_confirmation_with_icon_name):
1215 Terminate the list of parameters in g_object_set() calls
1217 Fixes: NB#115166 (Formatting memory card is not taking place)
1219 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1221 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1222 "dialog-information" role for the sound being played.
1224 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1226 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1227 Don't make the menu a modal window, it causes strange interactions
1228 with the pointer grab and it's not really needed.
1230 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1232 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1234 * hildon/hildon-touch-selector.[ch]
1235 (hildon_touch_selector_optimal_size_request): function added to get a
1236 optimal size request from the touch selector, when you want a dialog to
1237 show as much of the selector
1238 * hildon/hildon-picker-dialog.c:
1239 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1240 (hildon_app_menu_class_init):
1241 New "max-height-landscape" and "max-height-portrait" style properties
1242 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1243 (hildon_picker_dialog_get_max_height): returns the maximum height using
1244 the style properties defined and checking the current portrait/landscape
1246 (_hildon_picker_dialog_set_selector): removed the set_size_request
1248 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1250 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1252 * hildon/hildon-bread-crumb-trail.c:
1253 * hildon/hildon-bread-crumb.c:
1254 * hildon/hildon-seekbar.c:
1255 Add reference to replacements for these deprecated widgets.
1257 Fixes: MB#4461 (Documentation: All deprecations should mention
1260 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1262 * examples/hildon-remote-texture-example.c
1264 Change the include to the hildon-remote-texture in order to compile
1265 properly the examples on the installed libhildon1-examples package
1267 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1269 * tests/Makefile.am: Add check for HildonPickerButton.
1270 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1271 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1272 checks for the HildonPickerButton.
1273 * tests/check_test.c (configure_tests): Add the test suite.
1274 * tests/test_suites.h: likewise.
1276 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1278 * hildon/hildon-touch-selector.c
1279 (+on_row_changed): Emit HildonTouchSelector:changed when the
1280 contents of a selected row change.
1281 (_create_new_column), (_hildon_touch_selector_set_model): connect
1282 to GtkTreeModel:row-changed on a newly set model.
1284 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1286 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1288 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1290 * hildon/hildon-banner.c (hildon_banner_destroy)
1291 (hildon_banner_show_progress, hildon_banner_set_fraction):
1292 Remove the progress bar from HildonBanner and use a progress
1295 Fixes: NB#113761 (Update progress banner to use progress
1298 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1300 * hildon/hildon-banner.c:
1301 Calculate size of the banner label using the actual screen width
1302 rather than using a fixed value.
1304 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1307 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1309 * hildon/hildon-pannable-area.c,
1310 (hildon_pannable_area_class_init): Fixed signals documentation
1313 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1315 * configure.ac: post release version bump
1316 * debian/changelog: post release version bump
1318 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1323 * configure.ac: Bump version.
1324 * debian/changelog: Updates.
1326 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1328 * hildon/hildon-edit-toolbar.c
1329 (hildon_edit_toolbar_init):
1330 Don't let buttons in HildonEditToolbar receive focus.
1332 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1333 typing on an HW arrows key)
1335 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1337 * doc/Makefile.am: Fix build.
1339 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1341 * doc/Makefile.am: Do not redefine content_files.
1343 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1351 Renamed src/ to hildon/
1356 Include <hildon/hildon.h> directly in all examples.
1358 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * src/hildon-sort-dialog.c
1361 (hildon_sort_dialog_add_sort_key_with_sorting)
1365 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1367 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1368 make distcheck passes.
1370 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1372 * Makefile.am: Enable gtk-doc during distcheck.
1374 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1376 * Makefile.am: Do not distribute the debian/ directory.
1378 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1380 * doc/Makefile.am: Add the extra SGML files to content_files,
1381 so that they are distributed properly.
1383 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1385 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1388 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1390 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1391 (hildon_note_new_information_with_icon_name): Set the "icon" property
1392 to preserve soundness.
1394 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1396 * src/hildon-font-selection-dialog.c
1397 (hildon_font_selection_dialog_set_property): Fail when the "family"
1398 property is set to NULL.
1400 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1402 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1405 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1407 * src/hildon-time-selector.h:
1408 Added HildonTimeSelectorFormatPolicy
1409 * src/hildon-time-selector.c:
1410 Added PROP_TIME_FORMAT_POLICY
1411 (_check_ampm_format): renamed to check_automatic_ampm_format
1412 (update_format_policy), (update_format_dependant_columns): new functions
1413 (hildon_time_selector_class_init)
1414 (hildon_time_selector_contructor)
1415 (hildon_time_selector_init)
1416 (hildon_time_selector_get_property)
1417 (hildon_time_selector_set_property)
1418 (hildon_time_selector_get_time)
1419 (hildon_time_selector_set_time)
1420 * src/hildon-touch-selector.h: new file
1421 * src/hildon-touch-selector.c
1422 (hildon_touch_selector_emit_changed)
1423 (hildon_touch_selector_block_changed)
1424 (hildon_touch_selector_unblock_changed)
1425 Added functions to allow to block the emission of the "changed" signal
1426 * src/hildon-picker-dialog.c
1427 (hildon_picker_dialog_show): call the parent show before the custom code
1428 * examples/hildon-time-button-example.c
1429 Modified, so now you can configure the time format using the new property
1431 Added a new property "time-format-policy" that allow to choose the time
1432 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1433 case it uses gconf in order to check if the time selector must use
1436 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1439 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1441 * src/hildon-note.c (hildon_note_init):
1442 Label in HildonNote must be left aligned, not centered. This
1443 reverts the last commit in HildonNote.
1445 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1446 is connectivity dialog)
1448 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1453 * doc/hildon-sections.txt:
1454 Added hildon_gtk_window_set_do_not_disturb()
1456 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1458 * src/hildon-note.c (hildon_note_init): Center label.
1460 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1463 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1468 * configure.ac: Bump version.
1469 * debian/changelog: Updates.
1471 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-note-private.h: Add button-width to the private data.
1474 * src/hildon-note.c (+resize_button),
1475 (+hildon_note_orientation_update): methods to repack widgets on orientation
1477 (screen_size_changed): Call above method for confirmation notes.
1478 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1479 (hildon_note_rebuild): Store the original width request from buttons.
1481 Fixes: NB#109635 (Confirmation notes do not support portrait)
1483 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1485 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1486 when it is a progress note.
1488 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1491 in the note, since there are no horizontally arranged contents.
1493 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-gtk.c (+set_flag): new generic method to
1496 set/delay a flag setting in a window.
1497 (hildon_gtk_window_set_progress_indicator):
1498 (hildon_gtk_window_set_do_not_disturb),
1499 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1500 avoid code redundance.
1502 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1504 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1506 * src/hildon-gtk.c (set_clear_window_flag),
1507 (do_set_progress_indicator), (do_set_do_not_disturb),
1508 (do_set_portrait_flags),
1509 (hildon_gtk_window_set_progress_indicator),
1510 (hildon_gtk_window_set_do_not_disturb),
1511 (hildon_gtk_window_set_portrait_flags):
1512 Allow setting dnd-flag, progress indicator, and portrait flags
1513 when the window is not realized.
1515 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1517 * src/hildon-pannable-area.c,
1518 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1519 the size request policy function and defines.
1521 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1523 * doc/hildon-sections.txt: Add the new API.
1524 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1525 method to set the portrait flags.
1526 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1528 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1530 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1532 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1533 to allow using this method with other flags.
1534 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1535 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1537 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-touch-selector.c
1540 (hildon_touch_selector_append_text_column):
1541 Make the cell renderer use the smallest width possible.
1543 Fixes: NB#108470 (Selected items in multiple selection are either
1544 having a tick that is cut or not visible at all.)
1546 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-touch-selector.c
1549 (hildon_touch_selector_append_text_column):
1552 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1554 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1555 Use g_strdup_printf() instead of a fixed size buffer.
1557 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1559 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1560 Close banners when a HildonAppMenu is popped up.
1562 Fixes: NB#111027 (Title menu closed immediately if activated when
1563 "Invalid e-mail address" banner is shown)
1565 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1570 * configure.ac: Bump version.
1571 * debian/changelog: Updates.
1573 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1575 * src/hildon-banner.c (hildon_banner_realize):
1576 Mark HildonBanner as supporting portrait mode.
1577 Use GDK to set window properties insetad of direct Xlib calls.
1579 Fixes: NB#111830 (HildonBanner should be marked as supporting
1582 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-note.c (hildon_note_rebuild):
1585 Hide action area in information notes. Prevents text from being
1586 slightly aligned to the left.
1588 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1591 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1593 Patch by Mox Soini (ext-mox.soini@nokia.com)
1595 * src/hildon-banner.c (hildon_banner_create_animation):
1596 Use stylus-sized icons in animation banner.
1598 Fixes: NB#111206 (stylus sized icon for animation banner)
1600 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1604 (+hildon_gtk_window_set_do_not_disturb):
1605 New API to set the do-not-disturb flag.
1607 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1609 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1611 * examples/hildon-progress-indicator-example.c: Fix example
1613 * src/hildon-gtk.c (set_clear_window_flag)
1614 (hildon_gtk_window_set_progress_indicator):
1615 Create a generic function for setting flags to a window.
1616 Use GDK instead of direct Xlib calls.
1618 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1620 * src/hildon-button.c (hildon_button_set_arrangement):
1621 Due to NB#88126, if one of the labels is too long it will be
1622 painted outside the button. The 'value' label is more likely to be
1623 the longest one, so we change its packing options in order to
1624 truncate it if necessary. As a side effect, the 'title' label will
1625 no longer be truncated.
1627 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1629 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1634 * configure.ac: Bump version.
1635 * debian/changelog: Updates.
1637 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1639 Deprecation of the hildon_pannable_area_set_size_request_policy
1640 API, the only policy properly supported in gtk+ nowadays is the
1643 * src/hildon-pannable-area.c,
1644 (hildon_pannable_area_size_request): Added a workaround for the
1645 size_request to avoid the problems of huge pixmaps in case someone
1646 is still using the function.
1647 * src/hildon-pannable-area.h: Deprecated the enum with the
1650 Fixes: NB#110244 (Problems with the
1651 hildon_pannable_area_set_size_request_policy API)
1653 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1655 * src/hildon-pannable-area.c,
1656 (hildon_pannable_area_init),
1657 (hildon_pannable_area_size_request),
1658 (hildon_pannable_area_style_set),
1659 (hildon_pannable_draw_vscroll),
1660 (hildon_pannable_draw_hscroll),
1661 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1662 indicator_width to clarify the use of the attribute.
1664 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1669 * configure.ac: Bump version.
1670 * debian/changelog: Updates.
1672 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1674 * src/hildon-picker-dialog.c
1675 * src/hildon-touch-selector.c
1676 Reverting the change that tried to avoid the hardcoded height on
1677 the picker dialog, as causes problems on the hildon-touch-selector
1680 Fixes: NB#110029 (selectors not scrolling to selected value)
1682 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1684 * src/hildon-touch-selector.c: Fix typos
1686 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1688 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1689 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1690 request more motions after using it.
1692 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1694 * src/hildon-calendar.c (hildon_calendar_expose),
1695 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1696 Remove unused variables.
1698 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1700 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1701 variable assignment.
1703 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1706 Check the return value of gtk_tree_selection_get_selected()
1709 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1711 * src/hildon-animation-actor.c
1712 * src/hildon-button.c
1714 * src/hildon-pannable-area.c
1715 * src/hildon-picker-button.c
1716 * src/hildon-program.c
1717 * src/hildon-remote-texture.c
1718 * src/hildon-text-view.c
1719 * src/hildon-touch-selector.c
1720 * src/hildon-window-stack.c
1721 * src/hildon-window.c:
1722 Add missing 'Since: 2.2' tags.
1724 * doc/hildon-sections.txt:
1725 Add some missing symbols.
1727 * doc/hildon-docs.sgml:
1728 New 'Other' section for HildonAnimationActor and
1731 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1733 Patch by Iván Gómez (igomez@igalia.com)
1736 * doc/compiling.sgml
1737 * doc/hildon-docs.sgml
1738 * doc/hildon-sections.txt
1739 * doc/migration.sgml
1740 * doc/resources.sgml
1742 New chapters on using the Hildon library.
1743 Updated the general structure of the reference manual.
1744 Other minor documentation fixes.
1746 * src/hildon-calendar-popup.c
1747 * src/hildon-calendar.c
1748 * src/hildon-controlbar.c
1749 * src/hildon-date-editor.c
1750 * src/hildon-dialog.c
1751 * src/hildon-hvolumebar.c
1752 * src/hildon-number-editor.c
1753 * src/hildon-range-editor.c
1754 * src/hildon-sort-dialog.c
1755 * src/hildon-time-editor.c
1756 * src/hildon-time-picker.c
1757 * src/hildon-volumebar-range.c
1758 * src/hildon-volumebar.c
1759 * src/hildon-vvolumebar.c
1760 * src/hildon-weekday-picker.c:
1761 Add deprecation notes
1763 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1764 Document 'horizontal-movement' and 'vertical-movement' signals.
1766 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1771 * configure.ac: Bump version.
1772 * debian/changelog: Updates.
1774 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1776 * src/hildon-pannable-area.c,
1777 (hildon_pannable_area_class_init): increased the minimum velocity.
1778 (hildon_pannable_area_button_release_cb): Updated the
1779 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1780 setup. Review the code to control that last event.
1782 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1785 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1787 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1789 * src/hildon-get-password-dialog.c
1790 (hildon_get_password_set_property),
1791 (hildon_get_password_get_property), (create_contents):
1792 * src/hildon-login-dialog-private.h:
1793 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1794 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1795 (hildon_login_dialog_get_password):
1796 * src/hildon-set-password-dialog-private.h:
1797 * src/hildon-set-password-dialog.c
1798 (hildon_set_password_set_property),
1799 (hildon_set_password_get_property), (create_contents),
1800 (hildon_set_password_response_change),
1801 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1803 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1804 instead and look more Fremantle style.
1806 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1808 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1810 * doc/hildon-sections.txt
1811 * src/hildon-window-stack.h
1812 * src/hildon-window-stack.c
1813 (+hildon_window_stack_get_windows):
1814 New API to obtain the list of windows on a stack.
1816 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1818 * src/hildon-app-menu.c (hildon_app_menu_popup)
1819 (hildon_app_menu_class_init, -hildon_app_menu_show):
1820 Remove hildon_app_menu_show() and move all its checks to
1821 hildon_app_menu_popup()
1823 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1825 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1826 (_hildon_picker_dialog_set_selector): removed call to
1827 gtk_widget_set_size_request
1828 * src/hildon-touch-selector.c
1829 (_create_new_column): change the pannable size request policy
1831 Avoid to use a hardcoded height for the hildon picker dialog. In order
1832 to get that, we needed to change the hildon pannable size request
1834 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1836 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1838 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1839 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1842 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1844 * debian/control: Depend on osso-system-lock localization package.
1845 * src/hildon-code-dialog.c: Obtain the secu_application_title
1846 translation from osso-system-lock.
1847 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1848 for translation the atk related strings, that's not necessary.
1849 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1850 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1851 cancel button, it is not required.
1853 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1855 * src/hildon-pannable-area.c,
1856 (hildon_pannable_area_class_init): Modified the default value of
1857 the overshooting max speed, we have reduced it.
1859 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1861 * doc/hildon-sections.txt
1862 * src/hildon-window-private.h
1863 * src/hildon-window.h
1864 * src/hildon-window.c (hildon_window_class_init)
1865 (hildon_window_init, hildon_window_finalize)
1866 (hildon_window_realize, hildon_window_get_property)
1867 (hildon_window_set_property, hildon_window_update_markup)
1868 (hildon_window_get_markup, hildon_window_set_markup):
1869 New "markup" property and hildon_window_{get,set}_markup() methods.
1871 * examples/hildon-stackable-window-example.c (new_window):
1872 Update example to use hildon_window_set_markup()
1874 Fixes: NB#106375 (Need API to retitle a window with a title
1877 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_class_init): Changed the default value of
1881 the initial_hint to TRUE.
1882 (hildon_pannable_area_initial_effect): Changed the initial effect,
1883 not the effect is just the fade-out of the scrollbars.
1885 Fixes: NB#107775 (No scrollbars can be seen when several items are
1886 available in a dialog)
1888 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1890 * src/hildon-program.c (hildon_program_update_top_most):
1893 Fixes: NB#109179 (Memory leak in Hildon program)
1895 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-banner.c (-get_current_app_window):
1898 Remove unused function.
1900 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1902 * src/hildon-pannable-area.c: Modified the documentation of the
1903 get adjustments functions to explain the problem of using the
1904 adjustment directly.
1905 (hildon_pannable_area_class_init): Improved the explanation about
1908 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1910 * src/hildon-app-menu-private.h
1911 * src/hildon-app-menu.c
1912 (hildon_app_menu_class_init):
1913 Bring back the 'external-border' style property
1914 (hildon_app_menu_class_init, hildon_app_menu_init)
1915 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1916 Set a fixed width-request for the menu, independent of the number
1919 Fixes: NB#94957 (Smoothly opened application menu)
1921 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1925 * src/hildon-banner.c
1926 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1928 Make sure that the banner is correctly placed the first time it's
1930 (hildon_banner_check_position, -check_fullscreen_state):
1931 Show the banner in the same place no matter if the window is in
1932 fullscreen mode or not.
1934 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1936 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1938 * src/hildon-touch-selector.c (_default_print_func): reorder
1939 concatenation for clarity.
1941 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1944 for multicolumn selectors.
1946 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1948 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1953 * configure.ac: Bump version.
1954 * debian/changelog: Updates.
1956 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1958 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1961 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1963 * configure.ac: removed libcangerra-gtk dependency
1964 * debian/control: removed libcanberra-gtk dependency
1965 * src/Makefile.am: removed libcanberra gtk related flags
1966 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1967 context, and manage a global canberra context instead
1969 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1971 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1973 Patch by Daniel Borgmann (danielb@openismus.com)
1975 * src/hildon-edit-toolbar.c:
1976 Adjust the left padding.
1977 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1978 Paint background of the edit toolbar.
1980 Fixes: NB#107897 (Patch to make editmodetoolbar background
1981 themeable and adjust margin)
1983 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1985 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1987 * src/hildon-program.c (hildon_program_update_top_most):
1988 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1990 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
1991 change when the user tasks in/out of an application)
1993 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1995 * configure.ac: added libcangerra-gtk dependency
1996 * debian/control: added libcanberra-gtk dependency
1997 * src/Makefile.am: added libcanberra gtk related flags
1998 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2001 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2003 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2005 * src/hildon-program.c (hildon_program_remove_window)
2006 (hildon_program_add_window): Add checks for the window
2007 parameter. Don't decrease the window counter if the window is not
2010 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2012 * src/hildon-pannable-area.c,
2013 (hildon_pannable_area_realize): Fixed position of the event_window
2014 in the realize method.
2016 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-app-menu-private.h
2019 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2020 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2021 (hildon_app_menu_key_press, hildon_app_menu_init)
2022 (hildon_app_menu_finalize):
2023 Make sure that all idle functions are removed when the widget is
2026 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2028 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2033 * configure.ac: Bump version.
2034 * debian/changelog: Updates.
2036 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-entry.c
2039 (+hildon_entry_show_placeholder),
2040 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2041 that replace hildon_entry_update_contents().
2042 (hildon_entry_set_text),
2043 (hildon_entry_set_placeholder),
2044 (hildon_entry_focus_in_event),
2045 (hildon_entry_focus_out_event): Determine when it is needed
2046 either to show or hide the placeholder and call the above methods.
2048 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2049 when the placeholder text is already set)
2051 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2054 simple GdkPixbufAnim using the new icons for the banner.
2055 (hildon_banner_show_animation): Use the above mentioned method to
2056 create the animation widget.
2058 Fixes: NB#103564 (Make hildon animation banner use individual
2059 image files as the animation)
2061 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2063 * src/hildon-pannable-area.c,
2064 (hildon_pannable_leave_notify_event): Check if the child is NULL
2065 to avoid sending the leave.
2067 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2069 * src/hildon-pannable-area.c,
2070 (hildon_pannable_area_class_init),
2071 (hildon_pannable_leave_notify_event): Added a handler of the
2072 leave-notify-signal to consider when no motion notify before
2075 Fixes: NB#107494 (Items stay selected when clicking and moving
2076 away when inside pannable area)
2078 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2083 * configure.ac: Bump version.
2084 * debian/changelog: Updates.
2086 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2088 Patch by Alberto Garcia (agarcia@igalia.com)
2090 * src/hildon-date-button.c,
2091 (hildon_date_button_class_init),
2092 (hildon_date_button_init): Removed the construct property handling
2093 and created a default selector in the init method.
2094 * src/hildon-picker-button.c,
2095 (hildon_picker_button_class_init): Removed the construct flag of the
2098 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-main.c (hildon_init):
2101 Don't allow hildon_init() to be called more than once.
2103 Fixes: NB#106607 (hildon_init should issue error message upon
2106 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2108 * examples/hildon-pannable-area-touch-list-example.c
2109 * examples/hildon-pannagle-area-touch-grid-example.c
2110 * examples/hildon-edit-toolbar-example.c
2111 * examples/hildon-touch-selector-multi-cells-example.c
2112 Removed the call to gtk_rc_parse_string, as it is not required since
2115 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2117 * src/hildon-pannable-area.c,
2118 (hildon_pannable_area_class_init): Modified the default panning
2119 threshold of the widget to 6px.
2121 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2122 than the threshold value ) within the button is not sending the
2125 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2128 for the treeview in the new column. This way, the touch list will never
2131 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2132 be selected manually for the HW keys to work)
2134 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2136 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2137 comparison instead of using strcmp(). Fixes a compiler warning as well.
2139 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2141 * doc/hildon-docs.sgml: Do not set the library version in the
2142 document title, use the releaseinfo tag for that purpose instead.
2144 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2147 Do not jump to the first item if the text in the entry is removed.
2149 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2154 * configure.ac: Bump version.
2155 * debian/changelog: Updates.
2157 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-entry.c (hildon_entry_refresh_contents):
2160 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2161 Use "ReversedSecondaryTextColor" for the placeholder text.
2163 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2165 * src/hildon-text-view.c: Fix compilation warning.
2167 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2169 * src/hildon-button.c (hildon_button_class_init): Don't make
2170 "title" and "value" construction properties, to prevent them from
2171 overwriting labels set from derived classes.
2173 * src/hildon-picker-button.c
2174 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2175 (hildon_picker_button_class_init): Make touch-selector a
2176 construction property.
2178 * src/hildon-date-button.c (hildon_date_button_class_init)
2179 (+hildon_date_button_constructed): Add a default date selector if
2182 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-touch-selector.c: Small documentation fixes.
2186 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2188 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2190 * src/hildon-entry.c (hildon_entry_refresh_contents),
2191 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2192 widget name, set the logical color directly instead and a boolean
2193 showing_placeholder instead.
2194 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2195 use the widget name here either.
2197 Fixes: NB#105678 (HildonTextView should use logical colours
2198 instead of setting widget name)
2200 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2202 Patch by Daniel Elster (danielk@openismus.com)
2204 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2205 Add user_data parameter.
2206 (hildon_touch_selector_set_print_func_full): New function akin
2207 hildon_touch_selector_set_print_func() but with support for user
2208 data and a destroy callback.
2209 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2210 to clean up the print function user data.
2211 (hildon_touch_selector_class_init): Install dispose function.
2212 (HildonTouchSelectorPrivate::print_user_data),
2213 (HildonTouchSelectorPrivate::print_destroy_func): New private
2215 (hildon_touch_selector_init): Initialize new private members.
2216 (hildon_touch_selector_get_current_text): Pass along user data
2217 to the print function.
2218 (_default_print_func): Add dummy user_data to parameter list.
2219 * hildon-date-selector.c (_custom_print_func): ditto,
2220 * hildon-time-selector.c (_custom_print_func): ditto,
2221 * hildon-touch-selector-entry.c
2222 (hildon_touch_selector_entry_print_func): ditto.
2224 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2226 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2228 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2230 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2232 * src/hildon-pannable-area.c,
2233 (hildon_pannable_area_init),
2234 (hildon_pannable_area_button_press_cb),
2235 (hildon_pannable_area_motion_notify_cb): We have added code to
2236 handle the leave and enter events when using the motion events.
2238 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2240 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-date-button.c (hildon_date_button_get_date)
2243 (hildon_date_button_set_date): Make sure that the button has a
2246 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2248 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_class_init),
2252 (hildon_pannable_area_calculate_velocity): Modify the use of the
2253 force and adapt the value.
2255 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2258 (hildon_app_menu_class_init): Hide the menu if it receives a
2259 delete-event, but don't destroy it
2261 Fixes: NB#104485 (Not able to address the call when application
2262 menu is opened at background)
2264 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-app-menu.c
2267 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2268 Remove the "external-border" style property, let the menu take its
2269 natural size (or the one set by the window manager)
2270 (hildon_app_menu_repack_items):
2271 Don't reshow the menu, avoid flickers.
2273 Partially fixes NB#94957 (Smoothly opened application menu)
2275 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2280 * configure.ac: Bump version.
2281 * debian/changelog: Updates.
2283 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2285 * src/hildon-pannable-area.c,
2286 (hildon_pannable_area_motion_notify_cb): We control that the
2287 direction error margin is used just in case the movement is
2288 allowed in the other direction.
2290 Fixes: NB#105012 (buttons inside a pannable area not getting
2291 release event when dragging/releasing)
2293 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2295 * src/hildon-pannable-area.c,
2296 (hildon_pannable_area_class_init),
2297 (hildon_pannable_area_get_property),
2298 (hildon_pannable_area_set_property),
2299 (hildon_pannable_area_initial_effect),
2300 (hildon_pannable_axis_scroll),
2301 (hildon_pannable_area_button_release_cb): Reviewed the
2302 overshooting effect, now it has its own max
2303 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2304 speed when bouncing.
2306 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2311 * configure.ac: Bump version.
2312 * debian/changelog: Updates.
2314 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2316 * src/hildon-pannable-area.c,
2317 (hildon_pannable_area_class_init): Changed the max speed, now
2318 users can launch the widget very fast. Reduced the default force,
2319 that way it is easier to control the launch speed.
2321 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2323 * src/hildon-pannable-area.c,
2324 (hildon_pannable_area_button_release_cb): Removed this check
2325 because it causes problems when the device is overloaded.
2327 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2329 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2330 add a current_text field to store the text entered in the
2331 touch selector entry.
2332 (_clean_current_selection): clean up the current text as well.
2333 (_save_current_selection), (_restore_current_selection):
2334 Save/restore the text in the entry if the selector is a
2335 HildonTouchSelectorEntry.
2337 Fixes: NB#102541 (value entered in the touch selector entry is not
2338 shown when opened for second time)
2340 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2342 * doc/hildon-sections.txt:
2343 * src/hildon-touch-selector-entry.c
2344 (+hildon_touch_selector_entry_get_entry):
2345 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2347 Fixes: NB#104815 (I need accessor to the entry inside
2348 HildonTouchSelectorEntry)
2350 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2352 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2353 (hildon_app_menu_class_init):
2354 New "filter-vertical-spacing" style property.
2356 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2358 * src/hildon-find-toolbar.c
2359 (hildon_find_toolbar_emit_close)
2360 (hildon_find_toolbar_emit_invalid_input)
2361 (hildon_find_toolbar_entry_activate):
2362 Use g_signal_emit() instead of g_signal_emit_by_name()
2364 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2366 Patch by Mox Soini (ext-mox.soini@nokia.com)
2368 * tests/TEST-CASES.txt
2369 * tests/check-hildon-banner.c
2370 * tests/check-hildon-note.c
2371 * src/hildon-banner.c
2372 * src/hildon-code-dialog.c
2373 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2374 * src/hildon-time-editor.c
2375 * examples/hildon-lookup-example.c (main):
2376 Replace obsolete icon names with new ones.
2378 * src/hildon-find-toolbar-private.h:
2379 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2380 (-hildon_find_toolbar_emit_search):
2381 Remove find button and change icon of close button.
2383 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2385 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2387 * src/hildon-time-button.c (hildon_time_button_new_step):
2388 Use the "touch-selector" property to set the selector directly
2389 when creating the object.
2391 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2393 Added a new example application that allows tuning the pannable
2394 area and replaced defines with properties in order to simplify the
2395 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2396 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2397 PROP_DIRECTION_ERROR_MARGIN.
2399 * examples/hildon-pannable-area-tuning-example.c: New example
2401 * src/hildon-pannable-area.c,
2402 (hildon_pannable_area_class_init),
2403 (hildon_pannable_area_init),
2404 (hildon_pannable_area_get_property),
2405 (hildon_pannable_area_set_property),
2406 (hildon_pannable_area_launch_fade_timeout),
2407 (hildon_pannable_area_adjust_value_changed),
2408 (hildon_pannable_axis_scroll),
2409 (hildon_pannable_area_motion_notify_cb),
2410 (hildon_pannable_area_scroll_cb),
2411 (hildon_pannable_area_button_release_cb): We have converted some
2412 of the defines that control the widget to properties to simplify
2415 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-app-menu.c (hildon_app_menu_map)
2418 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2419 so it's closed if a new window appears.
2421 Fixes: NB#104485 (Not able to address the call when application
2422 menu is opened at background)
2424 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2426 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2427 missing 'break' statement in in 'case' construct to avoid
2430 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-touch-selector-entry.c
2433 (hildon_touch_selector_entry_get_property),
2434 (hildon_touch_selector_entry_set_property): Add missing 'break'
2435 statements in in 'case' constructs to avoid incorrect warnings.
2437 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-time-editor.c
2440 (hildon_time_editor_get_time_separators): Do not crash if
2441 the first label is NULL.
2443 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2445 * src/hildon-date-selector.c (_month_days): Check for month to be
2446 strictly less than 12, since otherwise we may overrun the array.
2448 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-date-button.c (+hildon_date_button_new_full)
2451 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2452 (hildon_date_button_init): Set the date selector using a
2453 construction property, to make it happen after HildonButton's
2454 "value" property is set.
2456 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2457 current date by default)
2459 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2461 * doc/hildon-sections.txt
2462 * src/hildon-program.c
2463 * src/hildon-stackable-window.c
2464 * src/hildon-window.c:
2465 Documentation updates
2467 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2470 (hildon_window_stack_new, +hildon_window_stack_set_property)
2471 (+hildon_window_stack_get_property)
2472 (hildon_window_stack_class_init)
2473 (+hildon_window_stack_set_window_group)
2474 (+hildon_window_stack_get_window_group):
2475 Make the window group a construction property.
2477 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2479 * doc/hildon-sections.txt
2480 * src/hildon-stackable-window-private.h
2481 * src/hildon-stackable-window.h
2482 * src/hildon-stackable-window.c
2483 (-hildon_stackable_window_set_app_menu)
2484 (-hildon_stackable_window_get_app_menu)
2485 (-hildon_stackable_window_toggle_menu)
2486 (-hildon_stackable_window_finalize)
2487 (hildon_stackable_window_class_init)
2488 (hildon_stackable_window_init)
2489 * src/hildon-window-private.h
2490 * src/hildon-window.h
2491 * src/hildon-window.c (hildon_window_init)
2492 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2493 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2494 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2495 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2496 Moved all HildonAppMenu code to HildonWindow. The menu does not
2497 require a HildonStackableWindow anymore.
2499 * src/hildon-app-menu.c
2500 * src/hildon-program.c
2501 * examples/hildon-app-menu-example.c (main):
2502 Update examples and documentation to reflect HildonAppMenu
2505 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-remote-texture.c
2508 * src/hildon-animation-actor.c:
2509 Don't include unused private headers.
2511 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2513 * src/hildon-program-private.h
2514 * src/hildon-program.c
2515 (hildon_program_set_common_menu)
2516 (hildon_program_get_common_menu)
2517 (hildon_program_set_common_app_menu)
2518 (hildon_program_get_common_app_menu):
2519 Change common menu pointers from GtkWidget* to GtkMenu* and
2520 HildonAppMenu* to avoid unnecessary casts.
2522 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-window.c (hildon_window_set_main_menu):
2525 Removed incorrect 'Since:' tag
2527 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2529 * src/hildon-pannable-area.c,
2530 (hildon_pannable_area_calculate_velocity): We use now the
2531 RATIO_TOLERANCE here to check the distance, fixed typo in the
2533 (hildon_pannable_area_motion_notify_cb): We have to set the type
2534 and time even if we are not sending the motion.
2536 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2538 * doc/hildon-sections.txt
2539 * src/hildon-app-menu.h
2540 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2541 (+hildon_app_menu_get_filters): New methods to get the contents of
2544 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2547 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2549 * src/hildon-app-menu.c (hildon_app_menu_popup):
2552 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2554 * src/hildon-window.h
2555 * src/hildon-window.c (+hildon_window_get_main_menu)
2556 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2557 and deprecated hildon_window_get_menu().
2559 * src/hildon-stackable-window.h
2560 * src/hildon-stackable-window.c
2561 (+hildon_stackable_window_set_app_menu)
2562 (+hildon_stackable_window_get_app_menu)
2563 (hildon_stackable_window_set_main_menu): Created
2564 hildon_stackable_window_{get,set}_app_menu() and deprecated
2565 hildon_stackable_window_set_main_menu().
2567 * doc/hildon-sections.txt
2568 * examples/hildon-app-menu-example.c (main)
2569 * src/hildon-app-menu.c
2570 * src/hildon-program.c:
2571 Updated examples and documentation.
2573 Fixes: NB#103758 (No way to obtain a menu from a
2574 HildonStackableWindow)
2576 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2581 * configure.ac: Bump version.
2582 * debian/changelog: Updates.
2584 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2586 * examples/hildon-remote-texture-example.c: Include
2587 hildon-remote-texture.h explicitely.
2588 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2589 applications not defining _XOPEN_SOURCE which don't require this header.
2591 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2593 * doc/hildon-sections.txt
2594 * src/hildon-app-menu.h
2595 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2596 New function to pop up a HildonAppMenu
2598 * src/hildon-stackable-window.c
2599 (hildon_stackable_window_toggle_menu):
2600 Use hildon_app_menu_popup() to show the menu.
2602 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2604 * src/hildon-app-menu.c (hildon_app_menu_show)
2605 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2606 menu if there's another window between it and its parent window.
2608 Fixes: NB#100468 (Application menu window is launched even when a
2609 new secondary-window/dialog is pending to be shown/realized)
2611 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2613 * src/hildon-window-stack.c (hildon_window_stack_push)
2614 (hildon_window_stack_pop_and_push):
2615 Don't forget to push/pop the first window.
2616 Reverse the window list before calling _push_list()
2618 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2620 * src/hildon-picker-button.h
2621 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2622 Remove "value_changed" slot to avoid ABI breakage
2624 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_realize),
2628 (hildon_pannable_area_unrealize),
2629 (hildon_pannable_draw_vscroll),
2630 (hildon_pannable_draw_hscroll): Changed the method to handle the
2631 GC used to draw the transparent scrollbar, this way we avoid
2632 creating the GC all the time when drawing the scrollbars.
2634 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2636 * src/hildon-pannable-area.c,
2637 (hildon_pannable_area_init),
2638 (hildon_pannable_area_remove): Removed some unnecessary casts.
2639 (hildon_pannable_area_dispose): Disconnected some signals before
2640 releasing the adjustments.
2642 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2644 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2645 Make sure that all widgets contained in the toolbar are shown.
2647 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2649 * doc/hildon-sections.txt
2650 * src/hildon-picker-button.h
2651 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2652 (_selection_changed, hildon_picker_button_on_dialog_response)
2653 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2654 New hildon_picker_button_value_changed() method.
2657 * src/hildon-picker-button-private.h
2658 * src/hildon-picker-button.c (hildon_picker_button_init)
2659 (+hildon_picker_button_disable_value_changed): Add protected
2660 function for disabling the "value-changed" signal.
2662 * src/hildon-date-button.c (hildon_date_button_set_date):
2663 Don't emit "value-changed" for each one of the three columns.
2665 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2666 before actual change of values)
2668 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2670 * src/hildon-pannable-area.c,
2671 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2672 for the treeview overshooting.
2674 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-banner.c (+hildon_banner_bind_style):
2677 Renamed from hildon_banner_bind_label_style(), now naming the
2678 banner itself as well.
2679 (hildon_banner_show_information),
2680 (hildon_banner_show_information_with_markup),
2681 (hildon_banner_show_animation), (hildon_banner_show_progress):
2682 Name the widgets and labels, based on their type.
2684 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2687 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-note.c (hildon_note_set_property): call
2690 hildon_note_rename() on HildonNote:note-type set.
2691 (hildon_note_rename): Name the note and its label, based on the
2692 HildonNote:note-type property.
2694 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2697 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2699 * src/hildon-pannable-area.c,
2700 (hildon_pannable_area_class_init),
2701 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2702 panning parameters, increased SPS and deceleration factor. Added
2703 also a margin to control fake directions.
2705 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2707 Patch by Sven Herzberg (sven@imendio.com)
2709 * configure.ac: Add missing AM_PROG_CC_C_0
2710 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2712 See NB#101420 (Update unit tests and fix make check)
2714 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2716 This patch was applied before but reverted because it caused
2717 problems, we have changed the main condition and tested the
2718 regressions we detected before and they work ok. We have done a
2719 complete review of the topmost algorithm in order to get a more
2722 * src/hildon-pannable-area.c,
2723 (hildon_pannable_area_get_topmost): Added a new parameter to
2724 filter the the windows that do not include those events.
2725 (hildon_pannable_area_button_press_cb),
2726 (hildon_pannable_area_button_release_cb),
2727 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2728 topmost function, we have added the new parameter.
2730 Fixes: NB#97458 (Pannable area prevents propagation of button
2733 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2736 if all columns in the selector have an item selected.
2737 (_on_dialog_response): Stop "response" signal emission if there is
2738 any selector column without selected items.
2740 Fixes: NB#101889 (Picker dialog should not close when nothing is
2741 selected in multiple selection list)
2743 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-font-selection-dialog.c
2746 (hildon_font_selection_dialog_class_init),
2747 (hildon_font_selection_dialog_init): Remove the preview
2748 button and dialog, since previewing with default theming is likely
2749 to be overcomplicated. The :preview property has now no effect.
2750 Update documentation blurbs to inform about this.
2752 Fixes: NB#92297 (Preview content is not clearly visible for
2753 default colour text)
2755 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2757 Reviewed the geometry that handles the children size and
2758 scrollbar, now it tries a size and reviews the results depending
2759 on the scrollbars visibility.
2761 * src/hildon-pannable-area.c,
2762 (hildon_pannable_area_realize): Fixed a typo.
2763 (hildon_pannable_area_child_allocate_calculate): Added this
2764 function to calculate the child allocation.
2765 (hildon_pannable_area_size_allocate): Reviewed the allocation
2767 (hildon_pannable_area_check_scrollbars),
2768 (hildon_pannable_area_refresh): Refactored refresh function, this
2769 way we can call the code handling the scrollbars without causing a
2770 size_request, it is interesting in the allocate.
2771 (hildon_pannable_area_init): Replace the callbacks of the
2772 value_changed and changed signals to propertly deal with the
2774 (hildon_pannable_area_grab_notify),
2775 (hildon_pannable_area_initial_effect),
2776 (hildon_pannable_area_launch_fade_timeout),
2777 (hildon_pannable_area_adjust_changed),
2778 (hildon_pannable_area_adjust_value_changed),
2779 (hildon_pannable_area_redraw),
2780 (hildon_pannable_area_button_press_cb),
2781 (hildon_pannable_area_button_release_cb),
2782 (hildon_pannable_area_scroll_cb),
2783 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2784 code and use the new functions adjust_changed and
2785 adjust_value_changed.
2787 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2788 Contact editor dialog)
2790 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2795 * configure.ac: Bump version.
2796 * debian/changelog: Updates.
2798 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2800 * src/hildon-pannable-area.c,
2801 (hildon_pannable_area_get_topmost),
2802 (hildon_pannable_area_button_press_cb),
2803 (hildon_pannable_area_button_release_cb),
2804 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2805 topmost function adding the event mask. We have to try a
2806 differente approach because it is still causing problems (NB#9745,
2809 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2811 * src/hildon-banner.c:
2812 Update the maximum width of timed banners.
2813 (force_to_wrap_truncated): Enforce the maximum text width if the
2816 Fixes: NB#102413 (The text margins (wrapping) in information
2817 banner should be HILDON_MARGIN_TRIPLE)
2819 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2821 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2823 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2824 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2825 bound when calculating the scroll indicator position.
2827 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2828 treat ->lower correctly)
2830 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2833 expose event handling, since it is not necessary to draw the focus
2836 Fixes: NB#102467 (Do not show highlight on the text in
2839 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2842 full height of the toolbar for the button and the label.
2844 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2847 padding before the label and after the button.
2849 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2853 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2854 Add a GtkVSeparator between the button and the back arrow.
2855 Let the button have automatic size.
2856 Set a name to the widget for theming handling.
2858 Fixes: NB#101793 (Make edit toolbar the same height as window
2859 title bar (use title area theming))
2861 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2863 * src/hildon-helper.c (attach_new_color_element): Fix memory
2866 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2868 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2870 * examples/hildon-button-example.c (common_buttons_window): Don't
2873 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2876 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2878 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-gtk.c: Check that the window is realized.
2882 Fixes: NB#102225 (Crash setting the progress indicator to a non
2885 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2888 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2889 instead of modifying the one in the widget style.
2891 Fixes: NB#101043 (Second row of all the command button are
2892 displayed in transparent mode.)
2894 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-date-button.c
2897 * src/hildon-time-button.c: Add gettext macros
2899 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-date-button.c (hildon_date_button_new):
2902 * src/hildon-time-button.c (hildon_time_button_new_step):
2903 Use new logical strings to set the button default title.
2905 Fixes: NB#99915 (Date and Time options are not localised in Date
2908 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2910 * src/hildon-pannable-area.c
2911 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2912 the PANNING_THRESHOLD.
2914 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2916 * src/hildon-pannable-area.c,
2917 (hildon_pannable_area_class_init): Increased the maximum speed.
2918 (hildon_pannable_area_get_property),
2919 (hildon_pannable_area_set_property),
2920 (hildon_pannable_area_timeout): Added a new low friction mode, it
2921 allows the user avoid friction when launching the widget fast
2922 enough. It is interesting to traverse long lists.
2924 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2926 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2927 (+hildon_stackable_window_delete_event): Ignore delete events if
2928 the window is not the topmost one.
2930 Fixes: NB#101698 (Back button long press and delete-event handling)
2932 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2934 * src/hildon-pannable-area.c,
2935 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2936 gtk-dnd-drag-threshold, it was too big. We have defined our own
2937 dnd define and set a smaller value: PANNIG_THRESHOLD.
2939 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2942 user-defined icons, use always the default one.
2944 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2946 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2948 This patch was applied before but reverted because it caused
2949 problems, we have changed the main condition and tested the
2950 regressions we detected before and they work ok.
2952 * src/hildon-pannable-area.c,
2953 (hildon_pannable_area_get_topmost): Added a new parameter to
2954 filter the the windows that do not include those events. Added
2955 also a condition when finding the window to filter windows that do
2956 not ask for those events.
2957 (hildon_pannable_area_button_press_cb),
2958 (hildon_pannable_area_button_release_cb),
2959 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2960 topmost function, we have added the new parameter.
2962 Fixes: NB#97458 (Pannable area prevents propagation of button
2965 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2967 * tests/check-hildon-color-button.c (START_TEST): do not leak
2970 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-font-selection-dialog.c
2973 (hildon_font_selection_dialog_get_preview_text): Return NULL
2974 instead of FALSE on the g_return_val_if_fail().
2976 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2978 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2979 * src/hildon-date-selector.c
2980 (hildon_date_selector_select_current_date):
2981 Do not compare unsigned integers to be greater than or equal 0,
2982 because it's always TRUE.
2984 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2987 (hildon_date_selector_constructor): Do not select the current
2988 date until we are handle the "changed" signal, to avoid having bogus
2989 elements in the days model.
2991 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
2994 for num_days, since _month_days() can return a negative value.
2996 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2998 * src/hildon-caption.c (hildon_caption_size_allocate):
2999 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3000 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3002 Initialize allocation variables to 0, to avoid eventually using
3003 unitialized variables.
3005 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-bread-crumb-trail.c
3008 (hildon_bread_crumb_trail_size_allocate):
3009 * src/hildon-calendar.c (hildon_calendar_set_background):
3010 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3011 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3012 * src/hildon-seekbar.c (hildon_seekbar_init):
3013 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3014 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3015 * src/hildon-touch-selector-entry.c
3016 (hildon_touch_selector_get_text_from_model):
3017 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3018 * src/hildon-window.c (hildon_window_finalize):
3020 Remove many unused variables.
3022 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3024 * src/hildon-seekbar.c: (hildon_seekbar_init),
3025 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3027 Remove unnecessary g_assert() calls.
3029 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3031 * src/hildon-caption.c: (hildon_caption_expose),
3032 (hildon_caption_set_property), (hildon_caption_init),
3033 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3034 (hildon_caption_size_request), (hildon_caption_size_allocate),
3035 (hildon_caption_forall), (hildon_caption_set_separator),
3036 (hildon_caption_activate), (hildon_caption_set_child_expand),
3037 (hildon_caption_set_label_text),
3038 (hildon_caption_get_label_alignment):
3040 Remove unnecessary g_assert() calls.
3042 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3044 * src/hildon-banner.c
3045 (hildon_banner_map, hildon_banner_init): Make banner temporary
3046 before mapping it to avoid closing other temporary windows, but
3047 make it non-temporary afterwards to avoid being closed by other
3048 non-temporary windows.
3049 (-hildon_banner_client_event, hildon_banner_init):
3050 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3052 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3055 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3060 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3062 * src/hildon-remote-texture.c
3063 * src/hildon-remote-texture.h
3064 * src/hildon-remote-texture-private.h
3065 * examples/hildon-remote-texture-example.c:
3066 Updates/fixes to remote-texture and its example.
3068 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3070 Patch by Mox Soini (ext-mox.soini@nokia.com)
3072 * src/hildon-code-dialog.c: Update logical id.
3073 * src/hildon-set-password-dialog.c: Update logical id.
3075 Fixes: NB#100646 (Logical strings is shown for ok in set
3076 password,Password needed dialogs)
3078 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3081 * src/hildon-remote-texture.c
3082 * src/hildon-remote-texture.h
3083 * src/hildon-remote-texture-private.h
3085 Added remote texture widget (for Clutter shared memory textures)
3087 * examples/hildon-remote-texture-example.c
3088 * examples/Makefile.am
3089 Added example file for remote texture usage
3091 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3093 * configure.ac: post release version bump.
3094 * debian/changelog: version bump.
3096 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3101 * configure.ac: Bump version.
3102 * debian/changelog: Updates.
3104 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-date-selector.c (hildon_date_selector_init)
3107 (hildon_date_selector_constructor): Don't connect to the "changed"
3108 signal until the selector is completely constructed.
3110 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-touch-selector.c: (_create_new_column),
3113 (hildon_touch_selector_append_column),
3114 (hildon_touch_selector_set_column_selection_mode),
3115 (hildon_touch_selector_set_active),
3116 (hildon_touch_selector_select_iter):
3117 Emit the HildonTouchSelector::changed signal every time selection
3118 is changed in any of the methods above. This behavior was already
3119 documented but not fully functional.
3121 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3122 selection is programmatically changed)
3124 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3126 * doc/hildon-sections.txt: Remove obsolete icon
3127 sizes from here as well.
3129 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3131 * examples/hildon-stackable-window-example.c (add_window): Remove
3134 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-app-menu.c
3137 (hildon_app_menu_show): Check whether the parent window of a menu
3138 is topmost before popping it up.
3140 Fixes: NB#100468 (Application menu window is launched even when a
3141 new secondary-window/dialog is pending to be shown/realized.)
3143 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3145 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3148 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3150 Patch by Mox Soini (ext-mox.soini@nokia.com)
3152 * src/hildon-banner.c: (hildon_banner_show_animation):
3153 use stylus size instead of obsolete note size.
3154 * src/hildon-defines.h: Update icon sizes.
3156 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3158 * src/hildon-touch-selector-entry.c:
3159 (hildon_touch_selector_entry_init): Disable unsupported
3161 (hildon_touch_selector_entry_get_text_column): Emit a warning
3162 if an unsupported input modes is used and explicitile state
3163 these modes in the documentation.
3165 Fixes: NB#99802 (Hildon touch selector entry not working properly
3166 for some of the input modes)
3168 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3170 * src/hildon-pannable-area.c,
3171 (hildon_pannable_area_init): Added the changed signal handlers of
3174 Fixes: NB#100320 (HildonPannableArea does not listen to
3175 GtkAdjustment "change" signals)
3177 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3179 * doc/hildon-sections.txt
3180 * src/hildon-window-private.h
3181 * src/hildon-window.h
3182 * src/hildon-window.c (hildon_window_init)
3183 (hildon_window_realize, hildon_window_unrealize)
3184 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3185 (hildon_window_size_request, hildon_window_size_allocate)
3186 (hildon_window_forall, hildon_window_show_all)
3187 (hildon_window_destroy, +paint_edit_toolbar)
3188 (+hildon_window_set_edit_toolbar):
3189 New hildon_window_set_edit_toolbar() method, to add a
3190 HildonEditToolbar to a window without having to pack it manually.
3192 Reorganize hildon_window_size_allocate()
3194 * src/hildon-edit-toolbar.c: Update documentation.
3196 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3197 example to use the new API.
3199 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3201 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3204 Remove from stack before calling parent's hide.
3206 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3209 window is removed from the middle of the stack, update the
3210 transiency of the previous one.
3212 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3215 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3218 block/unblock the signal handler if it's not actually being used.
3219 Fixes some critical warnings.
3221 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3223 Based on a patch by Iván Gómez (igomez@igalia.com)
3225 * src/hildon-banner.c
3229 * src/hildon-pannable-area.c
3230 * src/hildon-picker-dialog.c
3231 * src/hildon-wizard-dialog.h
3232 * src/hildon-wizard-dialog.c: Documentation updates.
3234 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3235 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3237 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3239 * configure.ac: post release version bump.
3240 * debian/changelog: version bump.
3242 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3247 * configure.ac: Bump version.
3248 * debian/changelog: Updates.
3250 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3252 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3253 a stock icon nor change the relief of the back arrow.
3255 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3256 graphics from theme)
3258 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3260 * src/hildon-button.c (hildon_button_set_alignment): Use
3261 priv->alignment if the button has no child yet.
3263 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-button.c: (hildon_button_init): Set the
3266 button style during initialization to give it the proper
3269 Fixes: NB#99713 (HildonButton value label color is wrong)
3271 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-touch-selector.c: Document
3274 hildon_touch_selector_center_on_selected()
3276 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3278 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3279 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3280 all menu items, but not the menu itself.
3281 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3282 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3283 items after adding them to the menu so keyboard accelerators work.
3284 (hildon_app_menu_show): Don't show the menu if it contains items
3285 but none of them are visible.
3287 * examples/hildon-app-menu-example.c (create_menu): Use
3288 gtk_widget_show_all() to show all menu items.
3290 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3292 * src/hildon-picker-dialog.c:
3293 (-_update_title_on_selector_changed_cb),
3294 (-_dialog_update_title): Removed.
3295 (_select_on_selector_changed_cb), (_on_dialog_response),
3296 (on_selector_columns_changed): Do not update the dialog title.
3297 (setup_interaction_mode): Do not connect to
3298 HildonTouchSelector::changed signal if there's a "done" button, as
3299 the dialog title doesn't need to be updated.
3301 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3304 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3306 Patch by Kristian Rietveld (kris@imendio.com)
3308 * src/hildon-touch-selector.c: (_create_new_column): Use new
3309 GtkTreeView::hildon-row-tapped signal to react to user interactions
3310 instead of ::changed.
3312 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3313 with some dynamic tree model)
3315 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3317 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3318 (+screen_size_changed, +label_size_request)
3319 (hildon_note_class_init): Make the Hildon information note have a
3320 minimum height, and make its text hvae a maximum width.
3322 Fixes: NB#98614 (Hildon information note (background) should have
3323 minimum height and maximum text width)
3325 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3327 * src/hildon-banner.h
3328 * src/hildon-banner.c (hildon_banner_show_information)
3329 (hildon_banner_show_informationf)
3330 (hildon_banner_show_information_with_markup): Update documentation
3331 to reflect that the icon_name parameter is not used anymore.
3332 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3333 Remove all code from these functions and mark them as deprecated.
3334 (hildon_banner_show_progress): Mark as deprecated.
3336 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3338 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3340 * src/hildon-pannable-area.c,
3341 (hildon_pannable_area_class_init),
3342 (tranparency_color),
3343 (hildon_pannable_draw_vscroll),
3344 (hildon_pannable_draw_hscroll),
3345 (hildon_pannable_area_expose_event): Added a new way to render the
3346 scrollbars of the pannable area avoiding using cairo at all. This
3347 way we improve the performance of the pannable area rendering. The
3348 cairo rendering procedure is still in the code, we can control
3349 which one to use changing the value of the define
3350 USE_CAIRO_SCROLLBARS.
3352 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3354 * configure.ac: post release version bump.
3355 * debian/changelog: version bump.
3357 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3362 * configure.ac: Bump version.
3363 * debian/changelog: Updates.
3365 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3368 banners instead of destroying them when they receive a button
3371 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3373 Reverted commit 34028, it was causing regressions, probably the
3374 topmost condition is not correct, we have to check it in more
3375 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3376 propagation of button press events)
3378 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3381 that the selection is not empty before attempting to retrieve the
3382 current ampm selection.
3384 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-picker-button.c:
3387 (hildon_picker_button_on_dialog_response): Directly update the
3388 button contents when required instead of calling _selection_changed.
3390 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-program.c (hildon_program_update_top_most): Update
3393 'is-topmost' property also when wm_hints is not set.
3395 Fixes: NB#98383 (is-topmost signal is not emitted when task
3396 switcher is clicked.)
3398 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3400 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3404 * src/hildon-animation-actor.c,
3405 * src/hildon-animation-actor.h: Added the animation actor class,
3406 this widget represents an animation actor for WM-assisted
3407 animation effects in the Hildon framework.
3409 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-window-stack-private.h
3412 * src/hildon-window-stack.c
3413 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3414 Avoid calling gtk_widget_show() again indirectly from
3415 hildon_stackable_window_show()
3417 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3419 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3422 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3425 (hildon_time_selector_init): Move the construction of the hours and
3426 ampm columns to the constructor to preserve the order the columns
3429 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3431 * src/hildon-picker-dialog.c:
3432 (hildon_picker_dialog_class_init): Connect a realize method.
3433 (+hildon_picker_dialog_realize): Setup the interaction mode here
3435 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3436 yet, do it during the realize instead.
3437 (_on_dialog_response):
3438 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3439 if the widget is not realized, to avoid the dialog response before it
3442 Avoid premature responses in the HildonPickerDialog that can cause it
3443 to be hidden before it's even shown.
3445 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3447 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3448 (on_selector_columns_changed), (requires_done_button),
3449 (+prepare_action_area), (setup_interaction_mode),
3450 (_hildon_picker_dialog_set_selector):
3452 Split the interaction mode setup into preparation of the
3453 action area (prepare_action_area()) and the connection of
3454 the signals in setup_interaction_mode() and update the code to
3457 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3459 * src/hildon-pannable-area.c,
3460 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3461 per second to 15, we will check if this is ok regarding
3464 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3466 * src/hildon-pannable-area.c,
3467 (hildon_pannable_axis_scroll): Avoid resize if we already have
3468 reached overshoot_max.
3470 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3472 * src/hildon-pannable-area.c,
3473 (hildon_pannable_area_init),
3474 (hildon_pannable_area_realize),
3475 (hildon_pannable_area_size_allocate),
3476 (hildon_pannable_area_map),
3477 (hildon_pannable_area_unmap),
3478 (hildon_pannable_draw_vscroll),
3479 (hildon_pannable_draw_hscroll),
3480 (hildon_pannable_area_expose_event),
3481 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3482 pannable are to avoid the expose events go to the window and
3483 redraw the window. We save this way that part of the stack and the
3484 paint_boxes. We had to change the positions of the elements when
3487 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3490 * src/hildon-color-chooser-dialog.c:
3491 (hildon_color_chooser_dialog_init):
3492 * src/hildon-font-selection-dialog.c:
3493 (hildon_font_selection_dialog_init),
3494 (hildon_font_selection_dialog_show_preview):
3495 * src/hildon-get-password-dialog.c:
3496 * src/hildon-login-dialog.c:
3497 * src/hildon-set-password-dialog.c:
3498 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3499 * src/hildon-time-picker.c: (hildon_time_picker_init):
3501 Remove obsolete logical string IDs and update to the appropriate ones.
3503 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3505 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3507 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3508 that happens if the window hasn't been realized yet.
3510 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3511 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3513 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3515 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3516 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3519 Fixes: NB#98537 (Device hangs in account settings dialog)
3521 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3523 * configure.ac: post release version bump.
3524 * debian/changelog: version bump
3526 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3531 * configure.ac: Bump version.
3532 * debian/changelog: Updates.
3534 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3536 Added a new function to the HildonTimeButton widget that allows to
3537 change the step of the minutes in the selector associated with the
3538 button: hildon_time_button_new_step
3540 * src/hildon-time-button.c,
3541 (hildon_time_button_init),
3542 (hildon_time_button_new),
3543 (hildon_time_button_new_step):
3544 * src/hildon-time-button.h: Added the new function and refactored
3546 * examples/hildon-time-button-example.c,
3547 (main): We have replaced the function without parameters with the
3548 function with the steps set to 5
3550 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3552 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3554 * src/hildon-time-selector.c,
3555 (hildon_time_selector_class_init),
3556 (hildon_time_selector_constructor),
3557 (hildon_time_selector_get_property),
3558 (hildon_time_selector_set_property),
3559 (_create_minutes_model),
3560 (hildon_time_selector_new_step),
3561 (hildon_time_selector_set_time),
3562 * src/hildon-time-selector.h: Added a new property to the
3563 HildonTimeSelector (minutes-step), we use that property to control
3564 the steps between the minutes in the list of the selector. We have
3565 added a new function to the API to create a widget changing the
3566 step: hildon_time_selector_new_step.
3568 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3570 * src/hildon-time-selector.c,
3571 (hildon_time_selector_class_init),
3572 (hildon_time_selector_constructor),
3573 (hildon_time_selector_init): Overrided the construct function when
3574 creating the time selector object. We have moved the minutes model
3575 handling code from the init to the new construction function:
3576 hildon_time_selector_constructor.
3578 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3580 * examples/hildon-date-button-example.c: (main): Use the new
3581 hildon_date_button_new_with_year_range() method in the example.
3582 * src/hildon-date-button.c:
3583 (+hildon_date_button_new_with_year_range): New public method
3584 to conveniently create a HildonDateButton with a custom year range
3585 in its HildonDateSelector.
3586 * src/hildon-date-button.h: Add the new public method definition.
3588 Fixes: NB#97908 (Not possible to change the year range in
3589 HildonDateSelector/HildonDateButton)
3591 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-date-selector.c:
3594 (+hildon_date_selector_set_property),
3595 (+hildon_date_selector_get_property),
3596 (hildon_date_selector_class_init): Install new properties "min-year"
3597 and "max-year" to define boundaries for the year column.
3598 (_create_year_model): Use the boundary properties to populate the model.
3599 (+hildon_date_selector_new_with_year_range): New public method to
3600 create a HildonDateSelector with a user defined year range.
3601 (hildon_date_selector_select_current_date): Use the new boundaries to
3602 calculate the iterator of current year.
3603 * src/hildon-date-selector.h: Add the new public method definition.
3605 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3607 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3608 Install a constructor method.
3609 (+hildon_date_selector_construct_ui): construct the widget.
3610 (+hildon_date_selector_constructor): new constructor.
3611 (+hildon_date_selector_init): move out widget construction code to
3612 the new constructor.
3614 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3617 that there's actually a month or year selected before obtaining them.
3618 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3619 of the HildonTouchSelector::changed signal, as it was emitted on every
3620 single item selection.
3622 Fix some warnings and possible crashers due to the selection restoring.
3624 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3626 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3627 the signal handlers only after creating the dialog instead of on every
3630 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-button.c (hildon_button_init)
3633 * src/hildon-check-button.c (hildon_check_button_init)
3634 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3635 focus when clicked by default.
3637 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3639 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3642 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3644 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3645 Alejandro G. Castro (alex@igalia.com)
3647 * src/hildon-picker-dialog.c:
3648 (hildon_picker_dialog_class_init): install new "center-on-show"
3650 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3651 (hildon_picker_dialog_set_property): add setter code for the new
3653 (hildon_picker_dialog_get_property): add getter code for the new
3655 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3656 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3659 Fixes: NB#92849 (Selected item is not always visible when
3660 HildonTouchSelector is shown)
3662 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3664 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3665 Alejandro G. Castro (alex@igalia.com)
3667 * src/hildon-touch-selector.c:
3668 (_create_new_column): Do not connect to the "realize" signal of the
3670 (hildon_touch_selector_append_column): center on the selected items
3671 when a new column is appended.
3672 (hildon_touch_selector_select_iter): Factor out the code to select a
3673 column to hildon_touch_selector_scroll_to().
3674 (+search_nearest_element): Method to retrieve the nearest selected
3675 element to the visible area of the pannable area in a column.
3676 (+on_realize_cb): scroll to the initially selected item.
3677 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3678 the pannable area is realized, otherwise delay this until it is.
3679 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3680 selected items of a given column.
3681 (+hildon_touch_selector_center_on_selected): Public method to center
3682 all columns on the nearest selected item.
3683 * src/hildon-touch-selector.h: Add definition for
3684 hildon_touch_selector_center_on_selected().
3686 Implement public API to ensure visibility of all selected items in
3687 a HildonTouchSelector.
3689 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3691 Fixed a problem in the fading when calling the scroll_to API, and
3692 improve scrollbar fading handling.
3694 * src/hildon-pannable-area.c,
3695 (hildon_pannable_area_grab_notify): avoid the timeout when the
3697 (hildon_pannable_area_button_press_cb),
3698 (hildon_pannable_area_motion_notify_cb): Code style changes.
3699 (hildon_pannable_area_button_release_cb): Review the conditions
3700 when releasing the mouse button to avoid unrequired fading
3702 (hildon_pannable_area_scroll_to): Do not calculate and set the
3703 velocity if the scroll is not required.
3705 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3708 Don't check whether the new selector is NULL: it cannot be.
3709 Hold a reference to the selector while doing the replacement.
3711 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3713 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3714 unnecessary size_request in a removed widget.
3716 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3718 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3719 an unnecessary reference tracking that was leaking.
3721 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3723 Added delayed motion notify event handling, this way we can
3724 discard redrawing if more than 25 events arrive per second.
3726 * src/hildon-pannable-area.c,
3727 (hildon_pannable_area_init): Initialized the new private atributes
3728 controlling this timeout
3729 (hildon_pannable_area_dispose): Remove the timeout that controls
3730 the motion notify events.
3731 (hildon_pannable_area_scroll): Added a condition to control the
3732 use of the acceleration.
3733 (hildon_pannable_area_motion_event_scroll_timeout),
3734 (hildon_pannable_area_motion_event_scroll): Added this two
3735 functions, they handle the motion notify events inside the
3737 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3738 to the scroll method with the new function.
3739 (hildon_pannable_area_button_release_cb): We have to remove the
3740 timeout handler and move to the last position if the last motion
3741 events were not handled.
3743 Fixes: NB#97028 (Pannable area updates on every motion event)
3745 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3747 * src/hildon-pannable-area.c,
3748 (hildon_pannable_area_get_topmost): Added a new parameter to
3749 filter the the windows that do not include those events. Added
3750 also a condition when finding the window to filter windows that do
3751 not ask for those events.
3752 (hildon_pannable_area_button_press_cb),
3753 (hildon_pannable_area_button_release_cb),
3754 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3755 topmost function, we have added the new parameter.
3757 Fixes: NB#97458 (Pannable area prevents propagation of button
3760 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3762 * src/hildon-pannable-area.c,
3763 (hildon_pannable_area_initial_effect): Added controls before
3764 launching the timeout and the idle functions.
3765 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3766 of the method, in some situations it can return with TRUE and 0 in
3768 (hildon_pannable_area_button_press_cb): We do not need to set
3769 DELAY for fading out here.
3771 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3773 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3776 post-cleaning if the selection is not NULL.
3778 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3780 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3781 all items before restoring the selection.
3783 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-touch-selector.c:
3786 (+hildon_touch_selector_unselect_all):
3787 * src/hildon-touch-selector.h: New API to unselect all items in a
3788 column of the touch selector.
3790 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3792 * src/hildon-pannable-area.c,
3793 (hildon_pannable_area_redraw): Added a call to the refresh
3794 function inside the redraw because apparently in some cases the
3795 change in the adjustment does not imply a size allocate.
3797 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3798 despite the view not being scrollable)
3800 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3802 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3803 leak. Check for NULL before attempting to set the window title.
3805 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3807 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3808 whether to show or not the 'Done' button each time the dialog is
3809 shown, as it depends on the HildonTouchSelector selection mode.
3811 Fixes: NB#96226 (In multiple selection mode Done button is shown
3812 sometimes in listpicker)
3814 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3817 for the number of columns in the HildonTouchSelector more than once.
3819 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3821 * src/hildon-touch-selector.c: Minor documentation fixes.
3823 * src/hildon-picker-dialog.c (+_dialog_update_title)
3824 (_select_on_selector_changed_cb)
3825 (_update_title_on_selector_changed_cb)
3826 (on_selector_columns_changed): Update dialog title when there's no
3827 'Done' button and also when the number of columns in the selector
3831 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3832 (+_selection_changed, hildon_picker_button_on_dialog_response)
3833 (hildon_picker_button_selector_selection_changed)
3834 (+hildon_picker_button_selector_columns_changed)
3835 (hildon_picker_button_set_selector): Update button value and emit
3836 'value-changed' when the number of columns in the selector
3840 Fixes: NB#96225 (Dialog titles are not shown according to the
3841 values selected in the list picker)
3843 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3846 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3847 New "arrow-width" and "arrow-height" style properties to set the
3848 size of the arrow button.
3849 Set name of arrow button ("hildon-edit-toolbar-arrow").
3851 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3852 graphics from theme)
3854 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3856 * src/hildon-picker-button.c:
3857 (hildon_picker_button_selector_selection_changed): Use
3858 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3859 the dialog is present.
3861 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3862 the selection is accepted in the dialog)
3864 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3866 * src/hildon-color-chooser.h
3867 * src/hildon-color-chooser-dialog.h:
3868 Added G_BEGIN_DECLS and G_END_DECLS
3870 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3872 (_clean_current_selection): plug a leak in the list.
3874 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-picker-dialog.c:
3877 (+free_path_list): Method to free a GList of GtkTreePaths.
3878 (_clean_current_selection), (_save_current_selection),
3879 (_restore_current_selection): Save the current selection in
3880 as a list of lists, to support multiple selection properly.
3882 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3884 patch by Claudio Saavedra (csaavedra@igalia.com)
3886 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3887 Store the press position.
3888 (+hildon_text_view_button_release_event): If the release position is
3889 close enough to the press position, move the cursor here. Otherwise,
3891 (hildon_text_view_class_init): Override GtkTextView press, release, and
3892 motion event handlers, disabling this way text selection through
3893 pointer interaction, and allowing the container widget to handle the
3896 Fixes: NB#95828 (HildonTextView functionality)
3898 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3900 Based on a patch by Iván Gómez (igomez@igalia.com)
3902 * src/hildon-button.[ch]
3903 * src/hildon-calendar.c
3904 * src/hildon-check-button.c
3905 * src/hildon-date-editor.c
3906 * src/hildon-date-selector.c
3907 * src/hildon-picker-button.c
3908 * src/hildon-time-editor.c
3909 * src/hildon-time-selector.c
3910 * src/hildon-touch-selector.[ch]:
3911 Documentation updates
3913 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3915 * src/hildon-pannable-area.c,
3916 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3917 threshold, it was required due to X events handling.
3919 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3921 * src/hildon-pannable-area.c,
3922 (hildon_pannable_area_grab_notify),
3923 (hildon_pannable_area_initial_effect),
3924 (hildon_pannable_area_button_press_cb),
3925 (hildon_pannable_area_button_release_cb),
3926 (hildon_pannable_area_scroll_cb),
3927 (hildon_pannable_area_scroll_to): Review the timeout management of
3928 the scrollbar, the frecuency was incorrectly set.
3930 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3932 * src/hildon-picker-button.c:
3933 (+hildon_picker_button_on_dialog_response),
3934 (hildon_picker_button_clicked): Present the dialog instead of
3935 running it with gtk_dialog_run().
3937 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3940 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3943 (hildon_app_menu_finalize): When a window is hidden it doesn't
3944 emit notify::is-topmost, so make sure than the menu also
3945 disappears in that case.
3946 (parent_window_topmost_notify): Renamed from parent_window_hidden
3948 Fixes: NB#94460 (stackable window's menu is not closed when its
3951 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-touch-selector-entry.c:
3954 (+hildon_touch_selector_entry_set_input_mode),
3955 (+hildon_touch_selector_entry_get_input_mode):
3956 * src/hildon-touch-selector-entry.h: New methods to access the input
3957 mode in the selector's entry.
3959 Fixes: NB#93410 (API required for setting IM mode in
3960 HildonTouchSelectorEntry)
3962 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3964 * configure.ac: post release version bump.
3965 * debian/changelog: version bump
3967 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3972 * configure.ac: Bump version.
3973 * debian/changelog: Updates.
3975 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3977 * src/hildon-touch-selector.c:
3978 (_hildon_touch_selector_has_multiple_selection): No need
3979 to initialize the variables here.
3981 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-note-private.h
3984 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3985 (hildon_note_finalize, hildon_note_rebuild): Close information
3986 notes when they receive a button press.
3988 Fixes: NB#89890 (Information notes does not get disappeared after
3991 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
3993 * src/hildon-wizard-dialog.c: (create_title): Remove translation
3994 mark from the wizard title, as it's not really necessary. Also,
3995 do not display the page title if not set.
3997 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4000 (parent_window_hidden): Use the window's "is-topmost" property to
4001 detect when to hide the menu.
4003 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4005 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4006 (hildon_app_menu_finalize): If the parent window of the menu is
4007 hidden, hide the menu too.
4009 Fixes: NB#94460 (stackable window's menu is not closed when its
4012 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4015 * debian/libhildon1-examples.install
4017 * examples/Makefile.am:
4018 Use dh_install to install all examples.
4019 Use DEB_SRCDIR instead of defining SOURCE_DIR
4021 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4023 * configure.ac: post release version bump.
4024 * debian/changelog: version bump
4026 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4031 * configure.ac: bump version
4032 * debian/changelog: updates
4033 * debian/control: bump gtk+ dependency
4035 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4037 patch by Christian Dywan (christian@imendio.com)
4039 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4040 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4042 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4044 * src/hildon-check-button.c (hildon_check_button_init)
4045 (hildon_check_button_class_init, hildon_check_button_style_set)
4046 (hildon_check_button_apply_style):
4047 New "checkbox-size" style property.
4049 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4050 larger / configurable size)
4052 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4054 * configure.ac: post release version bump.
4055 * debian/changelog: version bump
4057 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4062 * configure.ac: bump version
4063 * debian/changelog: updates
4065 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4067 * doc/hildon-sections.txt
4068 * src/hildon-pannable-area.c
4069 * src/hildon-program.c
4070 * src/hildon-time-editor.c
4071 * src/hildon-touch-selector-entry.c:
4073 More documentation updates.
4075 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4077 * doc/hildon-sections.txt
4078 * src/hildon-caption.c
4079 * src/hildon-code-dialog.c
4080 * src/hildon-color-button.c
4081 * src/hildon-controlbar.c
4082 * src/hildon-date-editor.c
4083 * src/hildon-date-selector.c
4084 * src/hildon-edit-toolbar.c
4085 * src/hildon-find-toolbar.c
4086 * src/hildon-font-selection-dialog.c
4088 * src/hildon-program.c
4089 * src/hildon-range-editor.c
4090 * src/hildon-seekbar.c
4091 * src/hildon-time-editor.c
4092 * src/hildon-time-selector.c
4093 * src/hildon-volumebar-range.c
4094 * src/hildon-volumebar.c
4095 * src/hildon-vvolumebar.c
4096 * src/hildon-weekday-picker.c
4097 * src/hildon-window.c
4098 * src/hildon-wizard-dialog.c:
4100 Lots of documentation fixes.
4102 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4104 Patch contributed by Iván Gómez (igomez@igalia.com)
4106 * src/hildon-check-button.c:
4107 * src/hildon-date-button.c:
4108 * src/hildon-date-selector.c:
4109 * src/hildon-dialog.c:
4110 * src/hildon-edit-toolbar.c:
4111 * src/hildon-entry.c:
4112 * src/hildon-picker-button.c:
4113 * src/hildon-program.c:
4114 * src/hildon-text-view.c:
4115 * src/hildon-time-button.c:
4116 * src/hildon-touch-selector-entry.c:
4117 * src/hildon-window-stack.c:
4119 Add more "since" tags to the new API.
4121 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4123 * doc/hildon-sections.txt: Add below method.
4124 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4125 version for the hildonized scale.
4126 * src/hildon-gtk.h: Add the definition.
4128 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4130 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4132 * doc/hildon-sections.txt: Add missing entries for new methods.
4134 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4136 Added API to pannable are in order to get its adjustments. We
4137 added two properties to manage the values we had in the private
4140 * src/hildon-pannable-area.c:
4141 (hildon_pannable_area_class_init): Added hadjustment and
4142 vadjustment properties in order to expose horizontal and vertical
4144 (hildon_pannable_area_get_property),
4145 (hildon_pannable_area_set_property): Added code to handle the new
4147 (hildon_pannable_area_get_hadjustment),
4148 (hildon_pannable_area_get_vadjustment): API functions to get the
4150 * src/hildon-pannable-area.h:
4151 (hildon_pannable_area_get_hadjustment),
4152 (hildon_pannable_area_get_vadjustment): API functions to get the
4155 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4157 Fixed some leaks, after valgrinding.
4159 * src/hildon-touch-selector.c:
4160 (_default_print_func): Fixed a leak.
4161 (hildon_touch_selector_append_column): Fixed a leak.
4162 * src/hildon-date-button.c:
4163 (hildon_date_button_init): Fixed a leak.
4164 * src/hildon-date-selector.c
4165 (hildon_date_selector_finalize): Fixed a leak.
4167 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4169 Based on a patch by Christian Dywan (christian@imendio.com)
4171 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4173 * src/hildon-gtk.h: Add definition.
4175 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4177 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4179 * src/hildon-picker-button.c: (hildon_picker_button_init),
4180 (hildon_picker_button_new): Set the HildonButton::style property
4181 in the init method, to propagate the value to the derived classes.
4183 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4185 * src/hildon-button.c: (hildon_button_class_init): Do not make
4186 the "style" property a construct property.
4188 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-wizard-dialog.h
4191 * src/hildon-wizard-dialog.c
4192 (hildon_wizard_dialog_set_forward_page_func)
4193 * src/hildon-pannable-area.h
4194 * src/hildon-pannable-area.c
4195 (hildon_pannable_area_set_size_request_policy):
4196 Documentation fixes.
4198 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4200 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4202 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4204 * doc/hildon-sections.txt: Added sections file.
4206 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/*.[ch]: Updates.
4211 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4213 * examples/hildon-progress-indicator-example.c: new file
4214 * examples/Makefile.am: include the new example program
4216 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4218 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4220 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4222 * configure.ac: post release version bump
4223 * debian/changelog: version bump
4225 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4230 * configure.ac: bump version
4231 * debian/changelog: updates
4232 * debian/control: bump gtk+ dependency
4234 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4236 * src/hildon-dialog.c: Mark as deprecated.
4237 * src/hildon-dialog.h: Mark as deprecated.
4238 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4239 from HildonDialog and still work, even if
4240 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4241 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4243 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4244 maemo changes) instead)
4246 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4248 * src/hildon-pannable_area.h:
4249 * src/hildon-pannable_area.c:
4250 (hildon_pannable_area_class_init),
4251 (hildon_pannable_area_set_property),
4252 (hildon_pannable_area_get_property),
4253 (hildon_pannable_area_size_request),
4254 (hildon_pannable_area_get_size_request_policy),
4255 (hildon_pannable_area_set_size_request_policy): Added new API
4256 allowing applications to control the request policy. Now they can
4257 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4258 children allocation (HILDON_MOVEMENT_CHILDREN).
4260 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4264 (hildon_gtk_tree_view_set_ui_mode)
4265 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4266 mode of treeviews and iconviews.
4268 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4270 * src/hildon-touch-selector-entry.c:
4271 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4272 of a GtkEntry to get proper theming.
4274 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4275 widget, not GtkEntry)
4277 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4279 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4280 no HildonWizardDialogPageFunc.
4282 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4284 Patch contributed by Iván Gómez (igomez@igalia.com)
4286 * src/hildon-app-menu.c:
4287 * src/hildon-button.c:
4288 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4289 * src/hildon-stackable-window.c:
4290 * src/hildon-time-selector.c:
4291 * src/hildon-touch-selector.c:
4292 * src/hildon-window.c:
4294 Add more "since" tags to the new API in hildon 2.2.
4296 2008-12-05 Tim Janik <timj@imendio.com>
4298 Patch contributed by Christian Dywan (christian@imendio.com)
4300 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4301 HildonSizeType, which are supplied by Gtk+ now.
4303 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4305 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4306 (with maemo changes) instead)
4308 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4310 Patch contributed by Iván Gómez (igomez@igalia.com)
4312 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4315 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4317 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4318 (some_page_func), (main): Update the example to use a
4319 HildonWizardDialogPageFunc function.
4321 * src/hildon-wizard-dialog-private.h: Add private data for
4322 the HildonWizardDialogPageFunc function usage.
4324 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4325 (destroy), (hildon_wizard_dialog_init), (response),
4326 (hildon_wizard_dialog_set_forward_page_func):
4327 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4328 that applications can use to stop a HildonWizardDialog to jump to
4331 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4334 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4336 * src/hildon-program.h
4337 * src/hildon-program-private.h
4338 * src/hildon-program.c (hildon_program_init)
4339 (hildon_program_set_common_app_menu)
4340 (hildon_program_get_common_app_menu):
4341 New API for setting a common HildonAppMenu for all
4342 HildonStackableWindows registered with the HildonProgram.
4344 * src/hildon-stackable-window.c
4345 (hildon_stackable_window_toggle_menu):
4346 Use the common HildonAppMenu if a window doesn't have a specific
4349 * src/hildon-app-menu-private.h
4350 * src/hildon-app-menu.c
4351 (hildon_app_menu_get_parent_window):
4352 Function to obtain the window a HildonAppMenu is attached to.
4353 (hildon_app_menu_set_parent_window):
4354 Hide the menu if the parent window is set to NULL.
4356 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4359 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4360 search widget to popup.
4362 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4364 * configure.ac: post release version bump
4365 * debian/changelog: version bump
4367 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4372 * configure.ac: bump version
4373 * debian/changelog: updates
4375 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4377 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4379 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4380 (hildon_window_stack_window_realized)
4381 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4382 Set the leader GdkWindow when a window is stacked and realized,
4383 unset it when it's unstacked.
4384 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4386 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4388 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4390 * src/hildon-stackable-window.h
4391 * src/hildon-window-stack.h:
4392 Protect definition of HildonWindowStack using the preprocessor.
4394 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4396 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4397 Fix warning if all menu items are hidden.
4399 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4401 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4403 * src/hildon-controlbar.c:
4404 * src/hildon-hvolumebar.c:
4405 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4406 Multiple scale size defines updates.
4408 Fixes: NB#94322 (Scale Updates)
4410 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4412 * examples/hildon-app-menu-example.c (create_menu)
4413 Show items after adding them to the menu, as in the future the
4414 menu will no longer call gtk_widget_show() on the added items.
4416 * src/hildon-app-menu.c:
4417 Update example as explained above.
4419 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4421 * src/hildon-app-menu.c
4422 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4423 Make sure that all menu items have finger height.
4425 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4427 * src/hildon-picker-dialog.c:
4428 (_on_dialog_response), (_save_current_selection),
4429 (_restore_current_selection), (_clean_current_selection),
4430 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4431 Defined new functions in order to save the current internal selector
4432 selection previous open the dialog, in case that the use cancel the
4433 interaction, so the widget restores the previous selection.
4435 Fixes: NB#92032 (In calendar application, date values in 'new event'
4438 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4440 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4442 * src/hildon-button.c: Add a reference to the button examples in
4443 hildon-button-example.c
4445 * examples/hildon-button-example.c: Added examples of the most
4446 common button layouts.
4448 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4450 * src/hildon-app-menu.c (hildon_app_menu_show)
4451 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4453 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4455 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/hildon-picker-dialog.c:
4458 (hildon_picker_dialog_init): Initialize the signal id for
4459 HildonTouchSelector::columns-changed.
4460 (+on_selector_columns_changed): Set up the interaction mode everytime a
4461 column is added or removed from the HildonTouchSelector.
4462 (_hildon_picker_dialog_set_selector): Connect to
4463 HildonTouchSelector::columns-changed and keep track of it.
4465 Make sure to update the interaction mode of the dialog everytime a
4466 column is added or removed in the HildonTouchSelector.
4468 Fixes: NB#93228 (Done button is not shown always in listpicker)
4470 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4472 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4473 a new ::columns-changed signal.
4474 (hildon_touch_selector_append_column): Emit ::columns-changed.
4475 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4477 Add a ::columns-changed signal, emitted when the number of columns in a
4478 HildonTouchSelector changes.
4480 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4482 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4483 (_hildon_picker_dialog_set_selector): Factor out the code
4484 to set up the dialog interaction mode.
4486 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4488 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4489 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4490 to signal_changed_id.
4492 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4494 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4497 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4499 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4500 Updated the logical ids related to ampm format, as now it is required to
4501 show it correctly localized even on languages with no default
4502 abbreviations for am or pm
4503 (_check_am_pm_format): check correctly the 24h format gconf property
4505 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4507 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4509 * src/hildon-button.c: Documentation updates.
4511 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4513 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4514 * src/hildon-caption.c: (hildon_caption_class_init):
4515 * src/hildon-color-button.c: (hildon_color_button_class_init):
4516 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4517 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4518 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4519 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4521 Remove deprecated GTK+ marshalers and replace them with the ones
4522 provided by GLib, for those available, add a marshaler for
4523 BOOLEAN:VOID, which is not available in GLib, and use it.
4525 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4528 the text from the previous column if there is no
4529 HildonTouchSelectorColumn::text-property set.
4531 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4533 * src/hildon-button.h
4534 * src/hildon-button.c (hildon_button_set_property)
4535 (hildon_button_get_property, hildon_button_class_init)
4536 (hildon_button_set_style, hildon_button_get_style):
4537 New "style" property to change the visual appearance of the
4540 * src/hildon-picker-button.c (hildon_picker_button_new):
4541 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4543 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4544 HildonButton look like PickerButton)
4546 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4549 column while building the default string.
4551 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4553 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4554 scroll indicator by default.
4556 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4558 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4560 * src/hildon-main.c: Fix the documentation for hildon_init()
4562 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4564 * doc/hildon-docs.sgml
4568 * src/hildon-window-stack-private.h
4569 * src/hildon-window-stack.h
4570 * src/hildon-window-stack.c:
4571 New HildonWindowStack object, that adds support for multiple
4572 stacks of windows per process.
4574 * src/hildon-stackable-window-private.h
4575 * src/hildon-stackable-window.h
4576 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4577 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4578 (hildon_stackable_window_show, hildon_stackable_window_hide)
4579 (hildon_stackable_window_class_init)
4580 (hildon_stackable_window_init):
4581 Use HildonWindowStack for stack management.
4583 * src/hildon-program.c (hildon_program_pop_window_stack)
4584 (hildon_program_peek_window_stack)
4585 (hildon_program_go_to_root_window):
4586 Add a fallback implementation to the deprecated functions using
4589 * examples/hildon-stackable-window-example.c:
4590 Use the new HildonWindowStack API.
4592 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4594 * src/hildon-stackable-window-private.h
4595 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4596 (hildon_stackable_window_hide, hildon_stackable_window_init):
4597 Remove all window stack management.
4599 * src/hildon-program-private.h
4600 * src/hildon-program.h
4601 * src/hildon-program.c (hildon_program_init)
4602 (hildon_program_pop_window_stack)
4603 (hildon_program_peek_window_stack)
4604 (hildon_program_go_to_root_window):
4605 Remove all window stack management and mark functions as
4608 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4610 * src/hildon-app-menu.c (hildon_app_menu_realize):
4611 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4613 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4615 * configure.ac: post release version bump
4616 * debian/changelog: version bump
4618 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4623 * configure.ac: bump version
4624 * debian/changelog: updates
4626 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4628 Based on initial code by Christian Dywan (christian@imendio.com)
4630 * doc/hildon-docs.sgml: Add section for hildon-main.
4631 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4632 * src/Makefile.am: Add new hildon-main.[ch]
4633 * src/hildon-defines.h: Update the icon sizes.
4634 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4635 new library initialization files and register icon sizes.
4636 * src/hildon-main.h: New declarations.
4637 * src/hildon.h: Include hildon-main.h
4639 Add new initialization functions to the library. These methods
4640 will register the hildon specific icon sizes and can be used in the
4641 future for other hildon specific bits.
4643 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4645 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4647 * src/hildon-window.c: (hildon_window_realize),
4648 (hildon_window_notify), (-hildon_window_update_title): Do not set
4649 the application name in the window title.
4651 Fixes: NB#89754 (Applications shouldn't display their names in the
4654 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4656 * src/hildon-note-private.h:
4657 * src/hildon-note.c: (hildon_note_set_property),
4658 (hildon_note_get_property), (hildon_note_class_init),
4659 (hildon_note_init), (hildon_note_finalize),
4660 (hildon_note_new_confirmation_with_icon_name),
4661 (hildon_note_new_information_with_icon_name):
4663 No need to mark as deprecated the actual code. Revert
4664 to avoid missing symbols in widgets using deprecated API.
4666 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4668 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4670 * src/hildon-volumebar.h
4671 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4672 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4674 * src/hildon-helper.h
4675 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4676 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4678 * examples/Makefile.am:
4679 Deprecate hildon-insensitive-example
4681 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4683 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4685 * examples/hildon-pannable-area-buttons-scroll-example.c:
4686 Make all buttons finger height
4688 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4690 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4692 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4693 update the day model only if it is really required, and to avoid the
4694 full-reconstruction aproach. Now it only add or remove the required days.
4696 The purpose of this is avoid superfluous HildonTouchSelector::changed
4699 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4700 with strange parameters)
4702 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4704 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4706 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4707 the WINDOW_TYPE property.
4709 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4711 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4714 Fix dependency to allow parallel compilation with make -jX
4716 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4718 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4719 color frame and some minor tweaks to make it more consistent with
4722 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4723 highlighted but not visible)
4725 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4727 * examples/Makefile.am: Fixed typo in the Makefile.am.
4729 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4731 Reviewed the use of MAEMO_GTK define, now we add the define in the
4732 compilation line, and we also add it to the pc file.
4734 * configure.ac: Added MAEMO_GTK define to the compilation command
4735 and removed it from the config.h.
4737 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4738 do not have to take care about this define if the library was
4742 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4744 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4746 * examples/Makefile.am,
4747 * examples/hildon-pannable-area-buttons-scroll-example.c,
4748 * examples/hildon-pannable-area-gesture-signals-example.c,
4749 * examples/hildon-pannable-area-scroll-jump-example.c,
4750 * examples/hildon-pannable-area-tree-view-example.c:
4751 Renamed the pannable area examples, now they have more meaningful
4754 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4756 * src/hildon-touch-selector.c:
4757 (hildon_touch_selector_set_column_selection_mode): Used of
4758 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4759 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4760 to avoid re-seting the same selection mode.
4762 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4763 breaks HildonPickerDialog)
4765 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4767 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4768 conditional in the Makefile.am
4770 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4772 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4773 Remove unused methods.
4775 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4777 * src/hildon-button.c (hildon_button_init):
4778 Make button images center-aligned by default
4780 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4783 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4784 activated, we have to think about how to deal with both defines
4785 MAEMO_GTK and MAEMO_CHANGES.
4787 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4789 * examples/hildon-app-menu-example.c (create_menu): Make all
4790 buttons finger size.
4792 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4794 Fixed the compilation without maemo gtk adding ifdefs with
4795 MAEMO_GTK define to the code, we have to check this version more
4798 * examples/Makefile.am: Added control to avoid some examples that
4799 just make sense with maemo gtk.
4802 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4803 hildon modes with the define.
4805 * examples/hildon-edit-toolbar-example.c,
4806 (create_icon_view): Create the icon view without hildon-gtk
4807 helpers if we are not using maemo gtk.
4809 * src/hildon-touch-selector.c,
4810 (_create_new_column): Create the treeview without hildon-gtk
4811 helpers if we are not using maemo gtk.
4813 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4815 * src/hildon-pnnable-area.c,
4816 (hildon_pannable_area_dispose),
4817 (hildon_pannable_area_button_press_cb),
4818 (hildon_pannable_area_child_mapped),
4819 (hildon_pannable_area_add),
4820 (hildon_pannable_area_remove): Added code to control the position
4821 of the event_window when adding and removing children from the
4822 pannable. We have to raise the event window when the child is
4825 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4826 selection mode using custom widget inside pannable)
4828 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4830 * configure.ac: post release version bump
4831 * debian/changelog: version bump
4833 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4838 * configure.ac: bump version
4839 * debian/changelog: updates
4841 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4843 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4844 search mode, in order to avoid lose the focus on the treeview when
4845 a hw key (like enter) is pressed.
4847 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4848 in HildonDateSelector dialog)
4850 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4852 * debian/rules: Added --enable-maintainer-mode
4853 * Makefile.am: Added ACLOCAL_AMFLAGS
4855 This allows to properly regenerate the Makefiles if you modify the
4856 configure.ac or any Makefile.am.
4858 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4860 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4861 properties, not needed at all.
4863 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4865 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4867 * src/hildon-note.c: (hildon_note_set_property),
4868 (hildon_note_get_property), (hildon_note_class_init),
4869 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4870 (hildon_note_new_confirmation_add_buttons): Remove icons.
4871 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4872 (hildon_note_new_information_with_icon_name): Deprecate.
4873 (hildon_note_new_confirmation): Act directly, without calling
4874 the deprecated constructor.
4875 (hildon_note_new_information): Act directly, without calling
4876 the deprecated constructor.
4877 * src/hildon-note.h: Mark deprecate methods as such.
4878 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4879 not run tests on the deprecated methods if built with deprecation
4882 Fixes: NB#91688 (Never show icons in information notes/confirmation
4885 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4888 (hildon_app_menu_key_press): Remove leftover usage of the
4889 private structure in HildonAppMenu struct.
4890 * src/hildon-app-menu.h: Remove leftover private structure
4891 from the HildonAppMenu struct.
4893 Fixes a crasher when using the HildonAppMenu.
4895 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4897 * src/hildon-picker-dialog.c: Use appropriate logical id
4898 for the default "Done" text.
4900 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4902 * configure.ac: post release version bump
4903 * debian/changelog: version bump
4905 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4907 Modified the way to scroll to the current selection just when the touch
4908 selector is shown on the screen, avoiding a g_idle. Added too a property
4909 to configure this behaviour. See hildon_pannable_area_jump_to_child
4910 documentation for more information.
4912 * src/hildon-touch-selector.c
4913 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4914 Added 'initial-scroll' property
4915 (hildon_touch_selector_set_property): Added
4916 (hildon_touch_selector_map): Removed as not required anymore
4917 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4918 only a concrete column, instead of iterate along all the columns
4920 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4925 * configure.ac: bump version
4926 * debian/changelog: updates
4928 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4930 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4931 compilation time warnings.
4933 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4936 the default value for HildonPannableArea::mov-mode to
4937 HILDON_PANNABLE_AREA_MODE_VERT.
4939 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4941 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4943 Reverting following commit:
4945 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-app-menu-private.h
4948 * src/hildon-app-menu.[ch]
4949 * src/hildon-button.[ch]
4950 * src/hildon-check-button.[ch]
4951 * src/hildon-entry.[ch]
4952 * src/hildon-pannable-area.[ch]
4953 * src/hildon-text-view.[ch]:
4954 Added private field to the object's structure.
4956 because it causes an ABI breakage. We will need to introduce these
4957 changes later at some point. See NB#91636 for an extensive
4958 explanation and status.
4960 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4962 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4964 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4965 remove special cases that are no longer necessary.
4967 Fixes: NB#91016 (Change toolbar sizes, simplification)
4969 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4971 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4972 is shown in the cancel note.
4974 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4976 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4977 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4978 (hildon_seekbar_init): Remove steppers, remove expose event.
4979 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4981 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4983 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4985 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4986 label font to "SmallSystemFont" for vertically arranged buttons.
4988 Fixes: NB#90662 (HildonButton "value" and "detail" text is
4991 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4993 * src/hildon-check-button.c
4994 (hildon_check_button_set_active, hildon_check_button_clicked):
4995 Don't access private parts directly, use getters instead.
4997 2008-10-31 Alberto Garcia <agarcia@igalia.com>
4999 * src/hildon-check-button.c (hildon_check_button_new):
5000 Align the contents of the check button to the left.
5002 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5004 * src/hildon-pannable-area.c,
5005 (hildon_pannable_area_scroll_to),
5006 (hildon_pannable_area_jump_to),
5007 (hildon_pannable_area_scroll_to_child),
5008 (hildon_pannable_area_jump_to_child): Replace the mapped
5009 precondition of these functions with the realized, it is the
5010 correct state of the widget in this case. Changed the
5011 documentation according to this modification.
5013 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5015 Added a new EXTRA_CFLAGS option to add the deprecated define to
5016 the compilation command. This way we can avoid using the define in
5017 the documentation compilation.
5019 * configure.ac: Defined EXTRA_CFLAGS.
5021 * examples/Makefile.am:
5023 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5025 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5027 * src/hildon-picker-dialog.c:
5028 Defined a utility macro with the desired touch selector height
5029 Removed currently unused separator, and title_label variables from
5031 (hildon_picker_dialog_init): Removed code related to the creation
5032 of unused private variables title_label and separator.
5033 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5034 to ensure correct visualization of the touch selector inside the dialog.
5035 * src/hildon-touch-selector.c
5036 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5037 ensure a concrete height of the widget.
5039 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5042 * tests/Makefile.am:
5044 Remove spurious whitespaces.
5046 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5048 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5049 compilation warning after the cancel button removal.
5051 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5053 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5055 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5056 Makefile.am, that way we can choose not to compile some examples
5057 and tests of the deprecated widgets.
5059 * examples/Makefile.am: Divided the sources in deprecated and
5062 * src/Makefile.am: Added undef statement of the deprecated
5063 symbol to the enums file generation process.
5065 * src/hildon-color-chooser-dialog.c
5066 * src/hildon-color-chooser-dialog.h
5067 * src/hildon-color-button.c
5068 * src/hildon-color-button.h
5069 * src/hildon-color-chooser.c
5070 * src/hildon-color-chooser.h
5071 * src/hildon-controlbar.c
5072 * src/hildon-controlbar.h
5073 * src/hildon-date-editor.c
5074 * src/hildon-date-editor.h
5075 * src/hildon-hvolumebar.c
5076 * src/hildon-hvolumebar.h
5077 * src/hildon-private.c
5078 * src/hildon-private.h
5079 * src/hildon-range-editor.c
5080 * src/hildon-range-editor.h
5081 * src/hildon-seekbar.c
5082 * src/hildon-seekbar.h
5083 * src/hildon-time-editor.c
5084 * src/hildon-time-editor.h
5085 * src/hildon-time-picker.c
5086 * src/hildon-time-picker.h
5087 * src/hildon-volumebar.c
5088 * src/hildon-volumebar.h
5089 * src/hildon-vvolumebar.c
5090 * src/hildon-vvolumebar.h
5091 * src/hildon-bread-crumb-trail.h
5092 * src/hildon-bread-crumb-trail.c
5093 * src/hildon-calendar-popup.c
5094 * src/hildon-calendar-popup.h
5095 * src/hildon-weekday-picker.c:
5096 * src/hildon-weekday-picker.h:
5097 * src/hildon-bread-crumb-widget.c:
5098 * src/hildon-bread-crumb-widget.h:
5099 * src/hildon-bread-crumb.c:
5100 * src/hildon-bread-crumb.h:
5101 * src/hildon-calendar.c:
5102 * src/hildon-calendar.h:
5103 * src/hildon-caption.c:
5104 * src/hildon-code-dialog.c:
5105 * src/hildon-code-dialog.h:
5106 * src/hildon-font-selection-dialog.c:
5107 * src/hildon-font-selection-dialog.h:
5108 * src/hildon-get-password-dialog.c:
5109 * src/hildon-get-password-dialog.h:
5110 * src/hildon-login-dialog.c:
5111 * src/hildon-login-dialog.h:
5112 * src/hildon-number-editor.c:
5113 * src/hildon-number-editor.h:
5114 * src/hildon-set-password-dialog.c:
5115 * src/hildon-set-password-dialog.h:
5116 * src/hildon-sort-dialog.c:
5117 * src/hildon-sort-dialog.h: This is the list of deprecated
5120 * src/hildon-touch-selector.c:
5121 * src/hildon-window.c: Added undef statement to avoid compilation
5124 * tests/Makefile.am: Divided the sources in deprecated and
5127 * tests/check_test.c,
5128 (configure_tests): Marked the deprecated code that was adding
5129 suites with deprecated tests.
5131 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5133 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5135 * src/hildon-touch-selector.c: (_default_print_func): Do not
5136 duplicate a string returned by gtk_tree_model_get(), it is already
5139 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5142 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5144 * src/hildon-pannable-area.c
5145 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5146 method, it had problems when adding a widget with viewport the
5147 second time. Now checks if it already has a viewport and uses it.
5149 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5152 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5154 * src/hildon-pannable-area.c,
5155 (hildon_pannable_area_scroll_to),
5156 (hildon_pannable_area_jump_to),
5157 (hildon_pannable_area_scroll_to_child),
5158 (hildon_pannable_area_jump_to_child): Added a precondition to the
5159 scroll and jump to functions: the widget must be mapped before we
5160 can safely call these functions. We have also added documentation
5161 to the functions to explain how to use them in this situation.
5164 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5166 Reviewed the threading handling of the pannable widget, we have
5167 used the gdk_threads_add_timeout function instead of the usual
5168 glib handlers. This avoids some problems with the threads.
5170 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5171 (hildon_pannable_area_initial_effect),
5172 (hildon_pannable_area_scroll_indicator_fade),
5173 (hildon_pannable_area_button_press_cb),
5174 (hildon_pannable_area_timeout),
5175 (hildon_pannable_area_motion_notify_cb),
5176 (hildon_pannable_area_button_release_cb),
5177 (hildon_pannable_area_scroll_cb),
5178 (hildon_pannable_area_scroll_to): Removed the
5179 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5180 gdk_threads_add_timeout.
5182 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5184 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5189 * configure.ac: bump version
5190 * debian/changelog: updates
5192 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5194 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5195 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5196 * src/hildon-color-chooser-dialog.c:
5197 (hildon_color_chooser_dialog_init):
5198 * src/hildon-font-selection-dialog.c:
5199 (hildon_font_selection_dialog_init):
5200 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5202 Remove all cancel/close-like dialogs, as these are not going to be
5205 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-note.c: (hildon_note_rebuild),
5208 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5211 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5213 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5215 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5216 sure all buttons are shown, even the Cancel/Close-like ones.
5218 Fixes: NB#90861 (Custom Confirmation dialogs should be
5219 protected from cancel button removal)
5221 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5223 * debian/control: Change libhildon1-examples dependency from libhildon1
5225 * debian/libhildon1-examples.install
5227 * Makefile.am: Modified the final install directory for the examples on
5228 package libhildon1-examples
5229 * Makefile.static: Update clean target in order to remove all the binary
5232 Changes suggested by Claudio after review new libhildon1-examples package
5234 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5236 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5237 * src/hildon-touch-selector.c: Ditto.
5239 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5241 * debian/control: Added new package libhildon1-examples, in order to pack
5242 the current hildon examples as documentation
5243 * debian/rules: Not to compress .c files, modify some includes on the
5244 examples (as normally are compiled locally, but when installed it will
5245 require to include the installed libhildon1 library), and rename
5247 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5248 install all the example files on the new example package
5249 * examples/Makefile.static: Added static makefile that can be used to
5250 compile the examples, once installed the new example package
5251 * examples: Most of the examples were modified in order to grant that
5252 all use only '#include "hildon.h"', in order to be easy to prepare
5253 it on the example package
5255 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5258 * debian/libhildon1-dev.install
5259 * debian/libhildon1-doc.install:
5260 Move all gtk-doc files to a separate libhildon1-doc package.
5262 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5264 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5268 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5270 * debian/rules: Fixed a error in order to avoid unnecessary calls
5271 to autogen.sh on package building
5273 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5275 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5277 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5279 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5282 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-picker-button.c
5285 (hildon_picker_button_finalize):
5286 Free priv->done_button_text
5288 * src/hildon-time-button.c
5289 (hildon_time_button_set_time)
5290 * src/hildon-picker-button.c
5291 (hildon_picker_button_clicked)
5292 (hildon_picker_button_selector_selection_changed)
5293 (hildon_picker_button_set_selector)
5294 * src/hildon-date-button.c
5295 (hildon_date_button_set_date):
5296 Free strings returned by hildon_touch_selector_get_current_text()
5298 * src/hildon-button.c (hildon_button_construct_child):
5299 Fix leaks in priv->image and priv->label_box
5301 Fixes: NB#90535 (Memory leak in picker button)
5303 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5305 * src/hildon-button.c: (hildon_button_get_property): Do not access
5306 private elements directly, use getters instead.
5308 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5310 * src/hildon-app-menu-private.h
5311 * src/hildon-app-menu.c
5312 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5313 Store the menu's parent window.
5315 * src/hildon-stackable-window.c
5316 (hildon_stackable_window_toggle_menu)
5317 (hildon_stackable_window_finalize):
5318 Set the menu's parent window when the menu is shown, unset it when
5321 * src/hildon-app-menu.c
5322 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5323 (hildon_app_menu_class_init):
5324 Send unhandled keyboard accelerators to the parent window.
5326 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5328 * src/hildon-stackable-window.c
5329 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5331 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5333 * configure.ac: post release version bump
5335 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5338 * configure.ac: Bump version
5339 * debian/changelog: Updates
5340 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5343 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5345 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5348 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5349 GtkMenu with Hildon style.
5351 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5353 * src/hildon-picker-button.c:
5354 (hildon_picker_button_set_done_button_text): Set the dialog's
5355 done button text here as well.
5357 Fixes: NB#90232 (Picker button does not set the label on done button
5358 for the second time)
5360 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5365 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5367 * src/hildon-app-menu.c (hildon_app_menu_insert)
5368 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5369 the HildonAppMenu to be activatable using keyboard accelerators
5370 when the menu is not being shown.
5372 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5374 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5376 * src/hildon-stackable-window.c
5377 (hildon_stackable_window_show):
5378 Don't hide old windows automatically when new windows are shown:
5379 this is now a task for the window manager.
5380 (hildon_stackable_window_class_init)
5381 (hildon_stackable_window_hide):
5382 Remove windows from the stack everytime they're hidden.
5383 (hildon_stackable_window_realize):
5384 Don't change the _NET_WM_WINDOW_TYPE property. Use
5385 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5386 it as a stackable window.
5388 * src/hildon-program.c
5389 (hildon_program_pop_window_stack):
5390 Just hide the window to remove it from the stack.
5391 (hildon_program_go_to_root_window):
5392 Don't call gtk_widget_show(), this is now a task for the window
5395 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5397 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5399 * src/hildon-button.c
5400 (hildon_button_construct_child):
5401 Don't pack anything in the button until text or image are
5402 set. This allows adding a custom child after creating the button
5403 with hildon_button_new().
5404 (hildon_button_finalize, hildon_button_class_init)
5405 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5406 alignment and the label box even when they're not packed in the
5409 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5411 * src/hildon-touch-selector.h:
5412 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5413 currently the type definition was using GTK_TYPE_VBOX
5414 * src/hildon-touch-selector.c:
5415 Added some implementation notes in order to clarify that any other widget
5416 added without the column related API will not be included on the
5417 selection logic, and how the widget is freed, as some people ask about
5419 (hildon_touch_selector_remove): Reimplemented in order to free properly
5420 the column related data when you remove the private hbox.
5421 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5422 to get a proper HildonTouchSelectorColumn documentation
5424 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5426 * src/hildon-touch-selector-entry.c:
5427 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5428 text in the GtkEntry and there is no item selected. Fixes a
5431 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5433 * src/hildon-app-menu-private.h
5434 * src/hildon-app-menu.[ch]
5435 * src/hildon-button.[ch]
5436 * src/hildon-check-button.[ch]
5437 * src/hildon-entry.[ch]
5438 * src/hildon-pannable-area.[ch]
5439 * src/hildon-text-view.[ch]:
5440 Added private field to the object's structure.
5442 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5444 * configure.ac: post-release version bump
5446 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5450 * configure.ac: pre-release version bump
5452 * debian/changelog: updates.
5454 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5457 Disconnect the handler for HildonTouchSelector::changed.
5459 (hildon_picker_button_selector_selection_changed): Update the button
5460 value if the selection change was not triggered by the
5463 (hildon_picker_button_set_selector): connect to
5464 HildonTouchSelector::changed.
5466 Fixes: NB#89650 (Picker button is not updated, when selection in
5467 selector has changed)
5469 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5471 * src/hildon-picker-dialog.c
5472 (hildon_picker_dialog_realize): Removed as not required
5473 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5474 * src/hildon-picker-button.c
5475 (_current_selector_empty): New function, checks if the selector is empty
5476 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5477 if the current selector is empty, in order to avoid to show the dialog
5478 close the dialog in this case (and shows a g_warning).
5480 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5482 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5484 * src/hildon-pannable-area.c,
5485 (hildon_pannable_area_scroll): Added clause to stop movement when
5486 the child of pannable is smaller than one page.
5487 (hildon_pannable_area_scroll_to): Added conditions to avoid
5488 starting the scrolling movement if the child is smaller than one
5489 page, the complete child is in the screen, we do not have to move.
5491 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5493 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5495 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5496 this is managed automatically by the widget when the size of the
5499 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5501 * src/hildon-picker-button.c
5502 (hildon_picker_button_set_done_button_text): Make a copy of the
5503 text, and free the previous value.
5505 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5507 * src/hildon-touch-selector-entry.c:
5508 (hildon_touch_selector_entry_print_func): Return the selected row's
5509 text if the entry is empty.
5511 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5514 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5516 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5518 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-check-button.h
5522 * src/hildon-check-button.c
5523 * examples/hildon-check-button-example.c:
5524 HildonCheckButton is now a new widget. 'toggled' signal added.
5526 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-program-private.h
5529 * src/hildon-program.c (hildon_program_init)
5530 (hildon_program_finalize): Removed unused variables group_leader
5531 and name from HildonProgramPrivate.
5533 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5535 * src/hildon-check-button.c (hildon_check_button_set_active)
5536 (hildon_check_button_get_active, hildon_check_button_new): Use
5537 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5539 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5541 * src/hildon-touch-selector.h
5542 (hildon_touch_selector_set_column_attributes): added deprecation
5543 guard HILDON_DISABLE_DEPRECATED
5544 * src/hildon-time-selector.c
5545 (hildon_time_selector_set_time)
5546 (hildon_time_selector_get_time): Fixed a typo on documentation
5547 * src/hildon-touch-selector.c: update HildonTouchSelector and
5548 HildonTouchSelectorColumn documentation
5549 * src/hildon-touch-selector-entry.c: update "text-column" property
5551 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5552 to be added to the general documentation.
5554 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5556 * examples/hildon-pannable-area-example-4.c,
5558 * examples/hildon-pannable-area-example.c,
5559 (main): Modified the code in order to use the container add, with
5560 viewport treeviews could have problems if they are really big.
5562 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5564 * src/hildon-weekday-picker.c,
5565 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5566 the agreement regarding deprecation in the library.
5568 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5570 * examples/hildon-picker-button-multicolumn-example.c:
5571 (main): Use custom "done" button text.
5573 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5574 (hildon_picker_button_set_property),
5575 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5576 (hildon_picker_button_init),
5577 (+hildon_picker_button_get_done_button_text),
5578 (+hildon_picker_button_set_done_button_text): New methods to customize
5579 the "done" button label in the launched HildonPickerDialog. Also,
5582 * src/hildon-picker-button.h: add the public API.
5584 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-date-selector.h:
5587 * src/hildon-picker-dialog.h:
5588 * src/hildon-time-selector.h:
5589 * src/hildon-touch-selector-column.h:
5590 * src/hildon-touch-selector.h:
5592 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5593 declarations. Fixes gtk-doc warnings.
5595 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-picker-dialog.h
5598 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5599 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5601 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5602 long text is set as label for done button)
5604 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5606 * src/hildon-dialog.c (hildon_dialog_add_button):
5607 Set fixed width to all buttons in the HildonDialog.
5609 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5611 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5613 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5614 Set widget name using class name plus "-finger" or "-thumb".
5616 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5618 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5619 'clicked' when the state of the button is manually changed.
5621 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-app-menu.c (hildon_app_menu_realize)
5624 (hildon_app_menu_unrealize, hildon_app_menu_init)
5625 (hildon_app_menu_class_init, item_visibility_changed):
5626 Change the menu layout when the size of the screen changes.
5627 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5628 Show warning only when changing the number of colums using the
5631 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5633 * debian/compat: Set to 5
5634 * debian/control: Update dependencies.
5635 * debian/libhildon1-dbg.install: Remove.
5636 * debian/libhildon1-dev.install: Update according to cdbs paths.
5637 * debian/libhildon1.install: Update according to cdbs paths.
5638 * debian/rules: Switch to cdbs.
5640 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5643 'item' variable renamed to 'filter'
5645 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-app-menu.c (hildon_app_menu_insert)
5648 (hildon_app_menu_add_filter, remove_item_from_list)
5649 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5650 Don't leak hidden items when the menu is destroyed.
5652 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5654 * src/hildon-app-menu.c (hildon_app_menu_insert)
5655 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5656 (hildon_app_menu_set_columns, item_visibility_changed)
5657 (filter_visibility_changed, hildon_app_menu_repack_filters)
5658 (hildon_app_menu_repack_items):
5659 Repack items and filters separately.
5661 Don't repack all items, change only the ones that are needed to
5664 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5666 * src/Makefile.am: added hildon-touch-selector-column.h
5668 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5670 * src/hildon-touch-selector.c: added the property "text-column" to the
5671 class HildonTouchSelectorColumn, and related get/set functions
5672 (_default_printf_func): updated to use "text-column" property
5673 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5674 "text-column" in his documentation, as this is now included on
5675 HildonTouchSelectorColumn. The get/set_property can still be used,
5676 working as a wrapper to the concrete column "text-column" property
5677 (_text_column_modified): callback added in order to handle the signal
5678 "notify::text-column" of the concrete HildonTouchSelectorColumn
5679 (hildon_touch_selector_entry_get_text_column)
5680 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5681 modified in order to use the HildonTouchSelectorColumn "text-column"
5683 * src/hildon-time-selector.c:
5684 * src/hildon-date-selector.c:
5685 * examples/hildon-touch-selector-example.c
5686 * examples/hildon-touch-selector-multi-cells-example.c
5687 * examples/hildon-picker-button-multicolumn-example.c
5688 Set the right value to "text-column" property on the creation of a new
5689 column using hildon_touch_selector_append_column()
5691 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5693 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5695 * src/hildon-app-menu.c
5696 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5697 updating the layout of the menu, don't create all widgets again,
5698 just repack the items in their new places.
5700 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5702 * src/hildon-time-selector.c
5703 (hildon_time_selector_get_time)
5704 (hildon_time_selector_set_time)
5705 Added documentation of these public methods
5707 * src/hildon-date-button.h
5708 * src/hildon-touch-selector-column.h
5709 * src/hildon-time-button.h
5710 * src/hildon-picker-dialog.h
5711 * src/hildon-time-selector.h
5712 * src/hildon-picker-button.h
5713 * src/hildon-touch-selector.h
5714 * src/hildon-time-picker.h
5715 * src/hildon-date-selector.h
5716 * src/hildon-touch-selector-entry.h
5717 Modified in order to use hildon-widgets code style
5719 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5721 Added deprecated support to the compilation process using
5722 HILDON_DISABLE_DEPRECATED
5724 * configure.ac: Added the --disable-deprecated to the configure
5727 * src/hildon-weekday-picker.c:
5728 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5729 to use the deprecated support. We will update the other deprecated
5730 widgets status in a new patch.
5732 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5734 * configure.ac: Fixed typo with fatal warnings support, the
5735 variable name was not correct
5737 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5739 * src/hildon-app-menu.c
5740 * src/hildon-program.c: Update documentation.
5742 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5744 * configure.ac: Post-release version bump.
5746 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5751 * configure.ac: Pre-release version bump.
5752 * debian/changelog: Updates.
5754 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5756 * NEWS: Update news for previous releases.
5758 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5760 * examples/hildon-touch-selector-multi-cells-example.c:
5761 (create_selector): Update the example to use
5762 hildon_touch_selector_append_column() with a NULL renderer and set
5763 the renderers later.
5764 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5765 passed a NULL renderer. This is documented behavior now.
5767 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5768 This must be used if the developer wants full control on the layout of
5769 the renderers to be added to the column.
5771 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5773 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5775 * src/hildon-touch-selector.c: Documentation fixes.
5777 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5779 * src/hildon-wizard-dialog-private.h: Remove image and box.
5780 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5781 (hildon_wizard_dialog_set_property), (response): Completely remove
5782 image/icon support, and the containers required for the layout.
5784 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5786 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5788 * src/hildon-app-menu.c: Updated documentation.
5790 * src/hildon-stackable-window.c
5791 (hildon_stackable_window_set_main_menu): Unref the old menu after
5792 ref'ing the new one.
5794 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5796 * src/hildon-stackable-window.c
5797 (hildon_stackable_window_set_main_menu): Unref the previous menu
5798 instead of destroying it.
5800 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5801 floating reference and set has_user_ref_count to FALSE to make
5802 HildonAppMenu act like a normal ref-counted widget and not a
5805 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5808 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5810 * src/hildon-touch-selector-column.h: new file
5811 * src/hildon-touch-selector.h
5812 * src/hildon-touch-selector.c
5813 Implemented GtkCellLayout interface, in order to allow to configure
5814 the cell layout on each individual selector column
5815 (hildon_touch_selector_set_column_attributes): marked as deprecated
5816 * examples/hildon-touch-selector-multi-cells-example.c
5817 Example of how to use the GtkCellLayout interface on the selector
5819 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5821 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-app-menu.h
5824 * src/hildon-app-menu.c
5825 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5826 (hildon_app_menu_append, hildon_app_menu_prepend):
5827 New methods to prepend, insert and move items in the menu.
5829 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-wizard-dialog.c:
5833 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5835 (create_title): Update logical IDs and related code.
5836 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5838 * src/hildon-wizard-dialog.h: Note that
5839 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5840 point, as it is not used anymore.
5842 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5844 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-note.c:
5847 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5848 shown. Do not display an icon in confirmation notes nor information
5850 (hildon_note_set_button_text): Update logical ID for cancel button.
5852 Fixes: NB#88850 (Update HildonNote button strings + signals)
5854 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5856 * src/hildon-stackable-window.c
5857 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5859 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-app-menu-private.h
5862 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5863 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5864 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5865 temporary property 'columns' to change the number of columns.
5867 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5869 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5871 * examples/hildon-note-example.c: (on_information_clicked),
5872 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5873 debugging information.
5874 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5876 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5877 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5878 in order to close: this will be handled by the WM from now on.
5880 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5882 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5884 * src/hildon-app-menu-private.h
5885 * src/hildon-app-menu.c
5886 (hildon_app_menu_append, hildon_app_menu_add_filter)
5887 (button_visibility_changed, hildon_app_menu_apply_style)
5888 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5889 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5890 layout everytime a button (item or filter) is shown or hidden.
5892 * src/hildon-stackable-window.c
5893 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5896 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5898 * src/hildon-touch-selector.c:
5899 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5900 that the treeview inside the touch selector is in fremantle hildon mode
5901 * examples/hildon-date-button-example.c
5902 * examples/hildon-picker-button-multicolumn-example.c
5903 * examples/hildon-touch-selector-entry-example.c
5904 * examples/hildon-touch-selector-example.c
5905 * examples/hildon-time-button-example.c
5906 * examples/hildon-picker-button-example.c:
5907 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5909 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5911 * examples/hildon-text-view-example.c: (main): Remove the
5912 gtkrc bits, now handled by the theme.
5914 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5916 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5919 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5921 * po/Makefile.am: Install properly the mo files.
5922 * po/en_GB.po: Update translation, to ease testing purposes.
5924 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5926 * examples/hildon-picker-button-example.c: (main): Select an item
5927 in the selector before setting it to the button.
5929 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5931 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5932 Update button's value if the selector has an item active.
5934 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5935 'value' with the selector)
5937 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5939 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5940 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5941 (hildon_picker_button_class_init): Plug the finalize method.
5942 (hildon_picker_button_set_selector): If there's a previously set
5943 selector, unref'it before setting a new one.
5945 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5946 HildonTouchSelector)
5948 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5950 * src/hildon-touch-selector-entry.c:
5951 (hildon_touch_selector_entry_changed): Check if there is no text
5952 selected before setting the entry text.
5955 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-touch-selector.h
5958 * src/hildon-touch-selector.c
5959 (hildon_touch_selector_get_active)
5960 (hildon_touch_selector_set_active): New methods to set/get the
5961 index of the selected item.
5963 * src/hildon-picker-button.h
5964 * src/hildon-picker-button.c
5965 (hildon_picker_button_get_active)
5966 (hildon_picker_button_set_active): New methods to set/get the
5967 index of the selected item.
5969 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5971 * configure.ac: post-release version bump.
5973 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5977 * configure.ac: Pre-release version bump.
5978 * debian/changelog: Updates.
5979 * debian/control: Add myself as maintainer and depend on l10n
5982 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5984 * src/hildon-window.c
5985 (hildon_window_set_main_menu)
5986 * src/hildon-stackable-window.c
5987 (hildon_stackable_window_set_main_menu):
5988 Updated documentation.
5990 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5992 * src/hildon-date-selector.c (hildon_date_selector_finalize):
5993 Don't free selector->priv manually.
5996 2008-09-12 Alejandro G. Castro <alex@igalia.com>
5999 (hildon_gtk_window_set_progress_indicator):
6000 * src/hildon-gtk.h: Added the new API
6001 hildon_gtk_window_set_progress_indicator, it changes the state of
6002 the window progress hint.
6004 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-button.c
6007 * src/hildon-stackable-window.c: Minor documentation updates.
6009 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-stackable-window.c: Updated documentation.
6013 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6015 * src/hildon-defines.h: Update margins definitions
6016 to the Fremantle sizes.
6019 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6021 * src/hildon-touch-selector.c,
6022 (_hildon_touch_selector_set_model): Cleaning the code after
6023 review, removed g_print and #if 0 from the code.
6025 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6027 * src/hildon-edit-toolbar.c: Update documentation.
6029 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6031 * src/hildon-check-button.h
6032 * src/hildon-check-button.c
6033 (hildon_check_button_set_label, hildon_check_button_get_label)
6034 * examples/hildon-check-button-example.c
6035 (button_clicked_cb):
6036 Removed deprecated methods.
6038 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-text-view.c:
6041 Add sample code to the documentation.
6043 * src/hildon-entry.h
6044 * src/hildon-text-view.h:
6045 Minor cosmetic changes.
6047 * src/hildon-entry.c:
6048 Add sample code to the documentation.
6049 (hildon_entry_init, hildon_entry_refresh_contents):
6050 Don't allow NULL values in the placeholder.
6052 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6054 * doc/hildon-docs.sgml
6056 * examples/Makefile.am
6057 * examples/hildon-text-view-example.c
6059 * src/hildon-text-view.c
6060 * src/hildon-text-view.h
6062 New HildonTextView widget, with example.
6064 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6066 * po/POTFILES.in: Add missing files with translatable strings.
6067 Partially fixes NB#88287.
6069 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6071 * examples/hildon-pannable-area-example-2.c: (main): No need to
6072 set the cellrenderer height inside hildon touch lists, the theme does
6075 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6077 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6078 they are integrated in the theme.
6080 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6082 * examples/hildon-entry-example.c: Update the example adding
6083 widgets to modify the text and the placeholder of the HildonEntry.
6085 * src/hildon-entry.c: Show the placeholder everytime the widget
6086 is empty and loses the focus.
6088 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6090 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6092 * src/hildon-pannable-area.c,
6093 (hildon_pannable_area_size_request): Fixed bug in height
6094 requisition, avoid increasing size and add border twice.
6096 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6098 * configure.ac: postrelease version bump.
6100 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6104 * configure.ac: Prerelease version bump.
6105 * debian/changelog: update.
6106 * debian/rules: make -dbg package contain useful debugging symbols.
6108 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6110 * src/hildon-dialog.h
6111 * src/hildon-dialog.c
6112 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6113 New methods to add buttons with finger size.
6114 (hildon_dialog_new_with_buttons):
6115 Create buttons with finger size.
6117 * examples/hildon-dialog-example.c (main): Use HildonDialog
6118 methods to add buttons.
6120 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6122 * src/hildon-entry.c: Updated HildonButton documentation.
6124 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6126 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6127 button value label with (FALSE, FALSE) to prevent NB#88126 from
6130 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6132 * examples/hildon-pannable-area-example.c,
6133 (main): Removed examples panning a vbox inside a pannable
6134 area. Check bug NB#87965
6136 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6138 Patch contributed by Kris Rietveld (kris@imendio.com)
6140 * src/hildon-pannable-area.c,
6141 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6142 get_size and get_position, this saves an X server roundtrip.
6144 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6146 * doc/hildon-docs.sgml
6148 * examples/Makefile.am
6149 * examples/hildon-entry-example.c
6151 * src/hildon-entry.c
6152 * src/hildon-entry.h
6154 New HildonEntry widget, with example.
6156 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6158 * src/hildon-button.c (hildon_button_construct_child): Pack the
6159 image with expand == fill == FALSE. This is a workaround for a bug
6162 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6164 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6165 labels for the text column, to make it more look more dynamic.
6167 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6169 * src/hildon-time-selector.c
6170 Define gettext auxiliar macro N_
6171 (_create_minutes_model)
6172 (_create_hours_model)
6173 (_create_ampm_model): use of strftime in order to fill the model
6174 * src/hildon-date-selector.c
6175 (hildon_date_selector_finalize):
6176 (_locales_init): remove the logic related to get the name of the months
6177 using nl_langinfo, as it is not required anymore
6179 (_create_year_model)
6180 (_create_month_model)
6181 (_update_day_model): use of strftime in order to fill the model properly
6184 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6186 * src/hildon-button.h
6187 * src/hildon-button.c (hildon_button_get_image): New method to
6190 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6192 * src/hildon-touch-selector.c:
6193 (hildon_touch_selector_remove_column): Remove from the correct parent
6194 and also remove the list element and free it.
6197 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6199 * src/hildon-time-selector.c
6200 (_create_hours_model): change the range on 12h ampm format in order to use
6201 a 12-11 range instead of previous 01-12 range
6202 (hildon_time_selector_set_time): change the way to select the current time
6203 on 12h ampm format, due the change on the range
6204 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6207 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6209 * src/hildon-touch-selector.c
6210 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6211 in order to allow use this function on multiple row selection mode if
6212 the column is different that the first one
6215 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6217 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6218 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6220 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6222 * src/hildon-date-selector.h: clean some comments, now on the .c
6223 * src/hildon-date-selector.c
6224 (hildon_date_selector_select_month): first implementation
6225 (hildon_date_selector_select_day): added documentation, reimplemented
6226 using hildon_date_selector_select_current_date to avoid repeat code
6229 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6231 Reviewed interaction logic based on device experiences, refactored
6234 * src/hildon-pannable-area.c,
6235 (hildon_pannable_area_class_init): Updated default vmax speed.
6236 (hildon_pannable_area_calculate_velocity): Added this function, it
6237 avoids duplicate valocity calculation. Adjusted calculation to
6238 avoid problems with zero dist events.
6240 (hildon_pannable_area_motion_notify_cb): Now we use the
6241 calculate_velocity function.
6243 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6245 * src/hildon-date-selector.c
6246 (hildon_date_selector_select_current_date): fix the day range check
6247 as it failed using the last day of the current month
6250 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6252 * src/hildon-touch-selector.c
6253 (hildon_touch_selector_get_num_columns): added a parameter validation
6256 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6258 * examples/Makefile.am
6259 * examples/hildon-edit-toolbar-example.c: Example of the
6260 HildonEditToolbar widget.
6262 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6264 * configure.ac: postrelease version bump.
6266 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6270 * configure.ac: prerelease version bump.
6271 * debian/changelog: update.
6273 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6275 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6276 renderer to display stock icons in the touch list. Also, set the sizes
6277 to the recommended in the style guide.
6279 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6280 * src/hildon-touch-selector.h
6281 (hildon_touch_selector_set_active_iter): renamed, now is
6282 hildon_touch_selector_select_iter
6283 (hildon_touch_selector_get_active_iter): renamed, now is
6284 hildon_touch_selector_get_selected
6285 (hildon_touch_selector_unselect_iter): added
6286 * src/hildon-touch-selector.c
6287 Update after API modification (methods renamed)
6288 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6289 order to avoid problems selecting multiple elements on the column
6290 (hildon_touch_selector_unselect_iter): added the implementation
6291 * src/hildon-time-selector.c
6292 * src/hildon-date-selector.c
6293 * src/hildon-touch-selector-entry.c
6294 Update methods calls after hildon-touch-selector.h API modification (methods
6297 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6299 * src/hildon-stackable-window.c
6300 (hildon_stackable_window_finalize): Call the parent class's finalize.
6302 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6304 * examples/hildon-touch-selector-example.c: (create_selector): Use
6305 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6308 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6310 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6311 set a cell background color, to respect theming.
6313 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6315 * doc/hildon-docs.sgml
6318 * src/hildon-edit-toolbar.c
6319 * src/hildon-edit-toolbar.h
6320 * src/hildon.h: New HildonEditToolbar widget.
6322 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6324 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6327 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6328 * src/hildon-touch-selector.c
6329 (_create_new_column): use g_object_set instead of two g_object_set_property
6331 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6332 * src/hildon-touch-selector.c
6333 (_create_new_column): use of hildon_gtk_tree_view_new to create
6334 the treeview, instead of use directly g_object_new
6335 (_create_new_column): update the property name "vindicator-mode" for the
6336 new one "vscrollbar-policy"
6337 * examples/hildon-date-button-example.c
6338 * examples/hildon-picker-button-multicolumn-example.c
6339 * examples/hildon-touch-selector-entry-example.c
6340 * examples/hildon-touch-selector-example.c
6341 * examples/hildon-time-button-example.c
6342 * examples/hildon-picker-button-example.c
6343 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6344 to all the treeviews inside a pannable area.
6346 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6348 * src/hildon-button.h
6349 * src/hildon-button.c (hildon_button_init)
6350 (hildon_button_set_arrangement, hildon_button_set_alignment)
6351 (hildon_button_set_title_alignment)
6352 (hildon_button_set_value_alignment)
6353 (hildon_button_set_image_alignment)
6354 (hildon_button_construct_child): New methods to set the alignment
6355 of the individual components of the button (title, value,
6356 image). Also, new method to alter the xscale and yscale properties
6357 of the GtkAlignment inside the button, so more complex layouts can
6360 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6362 * src/hildon-button.c (hildon_button_style_set)
6363 (hildon_button_class_init, hildon_button_set_arrangement)
6364 (hildon_button_construct_child): Apply style properties
6365 correctly. Use the 'image-spacing' style property too.
6367 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6369 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6370 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6373 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6375 * src/hildon-pannable-area.c,
6376 (hildon_pannable_area_size_request): Fixed problem with
6377 pannable-area size_request.
6379 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6381 Added management for the grab-focus to a child widget, like a
6382 range, we need to fade out the scrollbar when releasing.
6384 * src/hildon-pannable-area.c,
6385 (hildon_pannable_area_init): Connected the grab-focus signal to
6387 (hildon_pannable_area_grab_notify): Added this function in order
6388 to manage the situation when the grab-focus ends. We have to
6389 fade-out the scrollbar.
6391 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6393 * src/hildon-app-menu.c: Minor documentation update.
6395 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6397 * src/hildon-app-menu.c
6398 * examples/hildon-app-menu-example.c (create_menu): Update
6399 examples and documentation to explain how to connect callbacks.
6401 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6403 * examples/hildon-button-example.c
6404 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6405 hildon_stackable_window_new instead of gtk_window_new
6407 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6409 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6410 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6411 (hildon_pannable_area_set_property),
6412 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6413 (hildon_pannable_area_unrealize),
6414 (hildon_pannable_area_size_request),
6415 (hildon_pannable_area_size_allocate),
6416 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6417 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6418 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6419 (hildon_pannable_area_initial_effect),
6420 (hildon_pannable_area_redraw),
6421 (hildon_pannable_area_scroll_indicator_fade),
6422 (hildon_pannable_area_expose_event),
6423 (hildon_pannable_area_get_topmost), (synth_crossing),
6424 (hildon_pannable_area_button_press_cb),
6425 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6426 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6427 (hildon_pannable_area_motion_notify_cb),
6428 (hildon_pannable_area_button_release_cb),
6429 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6430 (hildon_pannable_area_remove),
6431 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6432 chage the code layout to a more GtkWidget like. Review the use of
6435 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6437 * examples/hildon-pannable-area-example-4.c,
6438 (main): Modified the name of the hindicator_mode to
6441 * src/hildon-pannable-area.c,
6442 (hildon_pannable_area_class_init),
6443 (hildon_pannable_area_motion_notify_cb),
6444 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6445 we have reduced the amount of signals and managed reviewed its
6446 rationale. Changed the default decelerate value.
6448 (hildon_pannable_area_add),
6449 (hildon_pannable_area_redraw): Refactored functions.
6451 (hildon_pannable_area_init),
6452 (hildon_pannable_area_get_property),
6453 (hildon_pannable_area_set_property):
6454 (hildon_pannable_draw_vscroll),
6455 (hildon_pannable_draw_hscroll),
6456 (hildon_pannable_area_initial_effect),
6457 (hildon_pannable_area_expose_event),
6458 (hildon_pannable_area_scroll),
6459 (hildon_pannable_area_button_press_cb),
6460 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6461 and vindicator_mode with hscrollbar_policy and
6462 vscrollbar_policy. Replaced hscroll and vscroll with
6463 hscroll_visible and vscroll_visible.
6465 (hildon_pannable_area_refresh): Refactor the function, remove
6466 variables and check the calls to this function, added resize
6467 conditions in case the children change their layout.
6469 (hildon_pannable_area_size_request): Added more detailed
6470 size_request calculation.
6473 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6475 * src/hildon-color-chooser.c
6476 (init_borders): use the correct gtk_border_free instead of g_free, to
6477 avoid a crash when this widget is used (ie: the three color selection
6480 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6482 * src/hildon-check-button.c,
6483 (hildon_check_button_set_active): Fixed problem when setting the
6484 active value, the widget was not redrawn.
6486 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6488 * src/hildon-pannable-area.c,
6489 (hildon_pannable_area_refresh),
6490 (hildon_pannable_area_scroll),
6491 (hildon_pannable_area_motion_notify_cb): Small code style change.
6493 (hildon_pannable_area_class_init): Default initial_hint set to
6494 FALSE, it is not in the specs.
6496 (hildon_pannable_area_initial_effect),
6497 (hildon_pannable_area_expose_event),
6498 (hildon_pannable_area_map),
6499 (hildon_pannable_area_init): Moved the launching point of the
6500 initial effect, it was in map but the sizes where not correct in
6501 that method so we do not know if we have the reproduce it. Now it
6502 is placed in the expose_event method and uses a variable to
6503 reproduce it just once.
6505 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6507 * src/hildon-pannable-area.c,
6508 (hildon_pannable_draw_vscroll),
6509 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6510 position allowed for the scrollbars.
6512 (hildon_pannable_area_size_allocate): Small style change.
6514 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6516 * src/hildon-pannable-area.c,
6517 (hildon_pannable_area_scroll_indicator_fade),
6518 (hildon_pannable_area_button_press_cb),
6519 (hildon_pannable_area_button_release_cb),
6520 (hildon_pannable_area_scroll_cb),
6521 (hildon_pannable_area_expose_event),
6522 (hildon_pannable_area_init): Added the define parameter
6523 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6524 and refactor the fade variable.
6526 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6528 * src/hildon-pannable-area.c,
6529 (hildon_pannable_area_redraw),
6530 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6531 lines, we were reimplemeting the redraw code.
6533 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6535 * src/hildon-pannable-area.c,
6536 (hildon_pannable_area_scroll_cb),
6537 (hildon_pannable_area_realize),
6538 (hildon_pannable_area_class_init): Added scroll_event management
6539 for pannable area, now we can scroll the usual desktop method.
6541 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6542 initialization of the parameters should depend on idle_id.
6544 (hildon_pannable_area_init),
6545 (hildon_pannable_area_map): Small code style modifications
6547 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6549 * src/hildon-pannable-area.c
6550 (hildon_pannable_area_button_press_cb),
6551 (hildon_pannable_area_motion_notify_cb),
6552 (hildon_pannable_area_button_release_cb),
6553 (hildon_pannable_area_size_allocate),
6554 (hildon_pannable_area_scroll_to): Improved the timeouts
6555 management, we avoid creating them each time.
6557 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6559 * src/hildon-pannable-area.c:
6560 (hildon_pannable_area_refresh),
6561 (hildon_pannable_area_motion_notify_cb),
6562 (hildon_pannable_area_class_init):
6563 * src/hildon-pannable-area.h:
6564 * src/hildon-touch-selector.c
6565 (_create_new_column):
6566 * examples/hildon-pannable-area-example-4.c:
6567 (horizontal_movement),
6568 (vertical_movement),
6570 Replaced the names of enums in the HildonPannableArea:
6571 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6572 HILDON_MOVEMENT_MODE_*
6573 - HILDON_PANNABLE_AREA_MOV_* ->
6575 - Removed HildonPannableAreaIndicatorMode, now we
6578 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6580 * examples/hildon-pannable-area-touch-grid-example.c
6581 * examples/hildon-pannable-area-touch-list-example.c: Fix
6582 compilation warnings.
6584 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6586 * src/hildon-gtk.c (hildon_gtk_button_new)
6587 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6588 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6589 images overriding the value of the "gtk-button-images" setting.
6591 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6593 * src/hildon-check-button.c (hildon_check_button_new):
6594 Instead of using a custom container, display the label and the
6595 checkbox using the standard GtkButton API.
6597 * examples/hildon-check-button-example.c (main): Don't use
6598 hildon_check_button_set_label() anymore
6600 * src/hildon-check-button.h
6601 * src/hildon-check-button.c
6602 (hildon_check_button_set_label, hildon_check_button_get_label):
6603 Set as deprecated, now we're using gtk_button_{get,set}_label()
6605 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6607 * src/hildon-pannable-area.c,
6608 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6609 GtkTreeview first line we detected it after the inclusion of the
6610 GtkWindowImpl in gtk+. We now check if the window is visible, not
6611 just if the pointer is over the window.
6612 (hildon_pannable_axis_scroll),
6613 (hildon_pannable_area_expose_event): Small style changes.
6615 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-button.c: Update documentation.
6619 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6621 * examples/hildon-button-example.c: Add a switch to show images in
6624 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6626 * doc/hildon-docs.sgml: Some docs reorganization.
6628 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6630 * examples/hildon-pannable-area-touch-list-example.c
6632 * examples/hildon-pannable-area-touch-grid-example.c
6633 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6634 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6635 Fix memory leak when setting the tree model.
6637 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6641 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6643 * doc/hildon.types: Remove duplicated hildon_window_get_type
6644 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6645 documentation comment.
6647 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6649 * doc/Makefile.am: Complete list of private headers.
6651 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6653 * doc/hildon-docs.sgml
6654 * src/hildon-app-menu.c
6655 * src/hildon-bread-crumb.c
6656 * src/hildon-button.c
6658 * src/hildon-program.c
6659 * src/hildon-stackable-window.c
6660 * src/hildon-window.c: Lots of documentation updates.
6662 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6664 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6666 * configure.ac: Require Gtk+ 2.12.9 at least
6668 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6670 * src/hildon-pannable-area.c
6671 (hildon_pannable_area_scroll_indicator_fade),
6672 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6673 to protect the return of this timeout callbacks, avoiding deadlocks.
6675 2008-08-12 Christian Dywan <christian@imendio.com>
6678 * src/hildon-*.h: Ensure a consistent include order,
6679 include <gtk/gtk.h> instead of particular files and
6680 only include the topmost header in the gtk stack. See NB #39857
6682 2008-08-12 Christian Dywan <christian@imendio.com>
6684 * src/hildon-picker-dialog.c
6685 * src/hildon-touch-selector.c: Fix warnings about unused and
6686 uninitialized variables.
6688 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6690 * examples/Makefile.am
6691 * examples/hildon-check-button-example.c: Example of the hildon
6694 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6696 * src/hildon-window.h
6697 * src/hildon-window.c (hildon_window_class_init)
6698 (hildon_window_unset_program): Don't make
6699 hildon_window_unset_program a virtual function anymore.
6701 * src/hildon-stackable-window.c: Update documentation
6703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6706 * doc/hildon-docs.sgml
6707 * doc/visual_index.xml
6708 * src/hildon-defines.c
6710 * src/hildon-helper.c
6711 * src/hildon-range-editor.c: Lots of documentation fixes.
6713 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6715 * examples/hildon-picker-button-multicolumn-example.c
6716 (create_touch_selector): Fix compilation warning.
6718 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6720 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6721 (hildon_pannable_area_button_release_cb)
6722 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6724 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6726 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6729 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6731 * src/hildon-bread-crumb-trail.h
6732 * src/hildon-date-editor.c
6733 * src/hildon-date-selector.c
6734 * src/hildon-pannable-area.c
6735 * src/hildon-picker-dialog.c
6736 * src/hildon-time-selector.c
6737 * src/hildon-touch-selector-entry.c
6738 * src/hildon-touch-selector.c
6739 * src/hildon-touch-selector.h: Misc documentation fixes
6741 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6743 * examples/hildon-date-editor-example.c (main): Updated date
6746 * examples/hildon-note-example.c (on_confirmation_clicked):
6747 Updated confirmation note example.
6749 * src/hildon-date-editor.c
6750 * src/hildon-note.c: Updated sample programs in documentation.
6753 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6755 * src/hildon-date-button.h:
6756 * src/hildon-picker-button.h:
6757 * src/hildon-time-button.c:
6758 * src/hildon-time-button.h:
6760 Some declarations changes to allow gtk-doc to document the widgets
6763 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6765 * src/hildon-date-button.c: Document the widget.
6766 * src/hildon-time-button.c: Document the widget.
6768 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6770 * src/hildon-picker-button.c: Document the widget.
6771 * src/hildon-touch-selector-entry.c: Document the widget.
6773 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6775 * doc/hildon-docs.sgml
6778 * src/hildon-check-button.h
6779 * src/hildon-check-button.c: New functions to create the Hildon
6783 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6785 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6787 * src/hildon-button.h
6788 * src/hildon-button.c
6789 (hildon_button_add_title_size_group)
6790 (hildon_button_add_value_size_group)
6791 (hildon_button_add_image_size_group)
6792 (hildon_button_add_size_groups): New functions to set size groups
6793 for the button labels and image.
6794 (hildon_button_new_full): Removed
6796 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6798 * src/hildon-time-selector.c
6799 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6800 in order to avoid a crash if gconf is not available
6802 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6804 * src/hildon-button.c (hildon_button_set_arrangement)
6805 (hildon_button_construct_child): Don't construct the button child
6806 before setting the arrangement.
6808 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6810 * src/hildon-program-private.h
6811 * src/hildon-program.c
6812 * src/hildon-program.h
6813 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6814 (hildon_program_peek_window_stack)
6815 (hildon_program_pop_window_stack)
6816 (hildon_program_go_to_root_window): HildonProgram now has a
6817 separate list for stackable windows. Functions are provided to
6818 manage that list with a stack-like API.
6820 * src/hildon-stackable-window.c: Stackable window management is
6821 now much simpler with the new HildonProgram API. Windows no
6822 longer need to be manually added to the program, they're
6823 automatically pushed to the top of the stack when shown.
6825 * examples/hildon-stackable-window-example.c: Updated example to
6826 reflect the API changes.
6828 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6830 * src/hildon-touch-selector.c: Comment out unimplemented
6831 hildon_touch_selector_insert_column() to avoid a compile warning.
6833 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6835 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6836 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6837 (hildon_touch_selector_set_column_selection_mode),
6838 (_hildon_touch_selector_set_model),
6839 (hildon_touch_selector_set_model):
6841 Complete review of HildonTouchSelector documentation.
6843 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6845 * doc/hildon-docs.sgml
6849 * src/hildon-gtk.c: Convenience functions for standard Gtk
6850 widgets, used to easily perform frequent operations.
6852 * src/hildon-button-helpers.h
6853 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6855 * src/hildon-helper.h
6856 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6857 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6859 * src/hildon-button.h
6860 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6862 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6864 * src/hildon-button.c (hildon_button_init)
6865 (hildon_button_set_arrangement, hildon_button_construct_child):
6866 Pack the image and the labels inside the same GtkAlignment so
6867 gtk_button_set_alignment() can be used
6869 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6871 * src/hildon-button.h
6872 * src/hildon-button.c
6873 (hildon_button_init, hildon_button_set_image)
6874 (hildon_button_set_image_position)
6875 (hildon_button_construct_child): New functions to add an image to
6878 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6880 * src/hildon-date-button.c
6881 * src/hildon-picker-button.c
6882 * src/hildon-time-button.c
6883 * src/hildon-button.c:
6884 (hildon_button_class_init): "size-flags" renamed to "size"
6885 (hildon_button_set_title): Hide the title label if set to NULL.
6887 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6889 HildonButtonFlags split into HildonButtonArrangement (to set the
6890 button layout) and HildonSizeType (which can be used for any
6893 * src/hildon-button.h
6894 * src/hildon-button.c
6895 (hildon_button_class_init)
6896 (hildon_button_set_arrangement)
6897 (hildon_button_set_property): New "size-flags"
6898 property. "arrangement-flags" renamed to "arrangement".
6899 (hildon_button_new, hildon_button_new_with_text)
6900 (hildon_button_new_full): Constructors updated to reflect type changes.
6902 * src/hildon-helper.h
6903 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6904 to set the size of a widget.
6908 * src/hildon-button-helpers.c
6909 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6911 * src/hildon-date-button.c
6912 * src/hildon-date-button.h
6913 * src/hildon-picker-button.c
6914 * src/hildon-picker-button.h
6915 * src/hildon-time-button.c
6916 * src/hildon-time-button.h: Updated widgets to reflect
6917 HildonButton API changes.
6919 * examples/hildon-button-example.c
6920 * examples/hildon-date-button-example.c
6921 * examples/hildon-picker-button-example.c
6922 * examples/hildon-picker-button-multicolumn-example.c
6923 * examples/hildon-time-button-example.c
6924 * examples/hildon-touch-selector-entry-example.c
6925 * examples/hildon-touch-selector-example.c: Updated examples to
6926 reflect HildonButton API changes.
6928 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6930 * doc/hildon-docs.sgml:
6932 * examples/Makefile.am:
6933 * examples/hildon-touch-selector-entry-example.c:
6935 * src/hildon-touch-selector-entry.c:
6936 * src/hildon-touch-selector-entry.h:
6939 Moved HildonTouchSelectorEntry from sandbox. Added its
6940 documentation and examples.
6942 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6944 * src/hildon-touch-selector.h:
6945 * examples/hildon-picker-button-multicolumn-example.c:
6946 (hildon_touch_selector_append_text_column): Add a gboolean
6947 parameter to determine if text must be centered in the column.
6949 * src/hildon-date-selector.c: (hildon_date_selector_init):
6950 * src/hildon-time-selector.c: (hildon_time_selector_init):
6951 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6952 (create_touch_selector): Update widgets and example to reflect
6955 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6957 * src/hildon-touch-selector.c:
6958 (hildon_touch_selector_set_active_iter): Set also the cursor in
6961 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6963 * doc/hildon-docs.sgml
6966 * src/hildon-toggle-button.c
6967 * src/hildon-toggle-button.h
6968 * src/hildon.h: Removed HildonToggleButton widget, a derived
6969 class is not necessary for this.
6971 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6973 * src/hildon-pannable-area.c,
6974 (hildon_pannable_area_realize),
6975 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6978 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6980 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6981 "done" button the default widget for the dialog.
6983 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6985 * src/hildon-touch-selector.c:
6986 (hildon_touch_selector_class_init),
6987 (hildon_touch_selector_get_property),
6988 (_hildon_touch_selector_set_model),
6989 (_hildon_touch_selector_has_multiple_selection),
6990 (hildon_touch_selector_has_multiple_selection):
6991 Add a "has-multiple-selection" property with a virtual
6992 has_multiple_selection() method to allow derived classes to
6993 override the default value for it. See the method and property
6994 documentation for details.
6996 * src/hildon-touch-selector.h: Add the new API.
6998 * src/hildon-picker-dialog.c: (requires_done_button): Call
6999 hildon_touch_selector_has_multiple_selection() instead of
7000 determining the need for a button itself.
7002 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7004 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7005 (_hildon_touch_selector_set_model),
7006 (hildon_touch_selector_set_model): Move working code to
7007 _hildon_touch_selector_set_mode(). Call the class method instead.
7009 * src/hildon-touch-selector.h: Add (*set_model) to
7010 HildonTouchSelectorClass.
7012 Make hildon_touch_selector_set_model() a virtual method, so that
7013 derived classes can extend it and do fancy stuff with the model.
7015 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7017 * configure.ac: Set back the tarname in AC_INIT to hildon.
7019 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7023 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7024 instead of libesd (NB#86876). Volume handling is still an open issue.
7026 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7029 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7031 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7032 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7033 derived class to ease placement of an entry widget in
7034 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7035 end, where the selector columns are packed now.
7037 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7039 * src/hildon-picker-button.c: Removed the simple _text() API.
7040 * src/hildon-picker-button.h: Likewise.
7042 * src/hildon-touch-selector.h:
7043 * src/hildon-touch-selector.c:
7044 (hildon_touch_selector_new_text),
7045 (hildon_touch_selector_append_text),
7046 (hildon_touch_selector_prepend_text),
7047 (hildon_touch_selector_insert_text):
7049 Moved the simple _text() API from HildonPickerButton to
7050 HildonTouchPicker, to provide better escalability and not to tie
7051 that API to HildonPickerButton.
7053 * examples/hildon-picker-button-example.c: (main): Example updated.
7055 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7057 * src/hildon-button.c: Updated documentation.
7059 * examples/hildon-button-example.c: Add the posibility to create
7060 the buttons using horizontal layout for title and value.
7062 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7064 * src/hildon-app-menu-private.h
7065 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7066 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7067 GtkSizeGroup for the filters, use the 'homogeneous' property of
7070 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7072 * examples/hildon-button-example.c: Updated example.
7074 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7076 * doc/hildon-docs.sgml:
7079 Update documentation.
7081 * examples/Makefile.am: Update renamed examples.
7083 * examples/hildon-picker-button-multicolumn-example.c:
7084 (create_touch_selector), (main): Update after the rename.
7086 * examples/hildon-touch-picker-example.c: Removed.
7087 * examples/hildon-touch-selector-example.c: (value_changed),
7088 (create_selector), (get_visible_content), (main): Renamed from
7089 hildon-touch-picker-example.c
7091 * src/Makefile.am: Updated renamed files.
7093 * src/hildon-date-button.c: (hildon_date_button_init),
7094 (hildon_date_button_get_date), (hildon_date_button_set_date):
7095 * src/hildon-date-selector.c: (hildon_date_selector_init),
7096 (_custom_print_func), (_update_day_model),
7097 (_manage_selector_change_cb),
7098 (hildon_date_selector_select_current_date),
7099 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7100 * src/hildon-date-selector.h:
7101 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7102 (hildon_picker_button_set_property),
7103 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7104 (hildon_picker_button_init), (hildon_picker_button_new_text),
7105 (hildon_picker_button_append_text),
7106 (hildon_picker_button_prepend_text),
7107 (hildon_picker_button_insert_text),
7108 (hildon_picker_button_set_selector),
7109 (hildon_picker_button_get_selector):
7110 * src/hildon-picker-button.h:
7111 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7112 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7113 (_update_title_on_selector_changed_cb), (requires_done_button),
7114 (_hildon_picker_dialog_set_selector),
7115 (hildon_picker_dialog_set_selector),
7116 (hildon_picker_dialog_get_selector):
7117 * src/hildon-picker-dialog.h:
7118 * src/hildon-time-button.c: (hildon_time_button_init),
7119 (hildon_time_button_get_time), (hildon_time_button_set_time):
7120 * src/hildon-time-selector.c: (hildon_time_selector_init),
7121 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7122 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7123 * src/hildon-time-selector.h:
7126 Massive code updates after the rename.
7128 * src/hildon-touch-picker.c: Removed.
7129 * src/hildon-touch-picker.h: Removed.
7131 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7132 (hildon_touch_selector_init), (hildon_touch_selector_map),
7133 (hildon_touch_selector_remove), (_default_print_func),
7134 (_selection_changed_cb), (_create_new_column),
7135 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7136 (hildon_touch_selector_append_text_column),
7137 (hildon_touch_selector_remove_column),
7138 (hildon_touch_selector_set_column_attributes),
7139 (hildon_touch_selector_insert_column),
7140 (hildon_touch_selector_get_num_columns),
7141 (hildon_touch_selector_get_column_selection_mode),
7142 (hildon_touch_selector_set_column_selection_mode),
7143 (hildon_touch_selector_set_print_func),
7144 (hildon_touch_selector_get_print_func),
7145 (hildon_touch_selector_get_active_iter),
7146 (hildon_touch_selector_set_active_iter),
7147 (hildon_touch_selector_get_selected_rows),
7148 (hildon_touch_selector_get_model),
7149 (hildon_touch_selector_set_model),
7150 (hildon_touch_selector_get_current_text),
7151 (_hildon_touch_selector_center_on_selected_items):
7152 * src/hildon-touch-selector.h: Renamed from
7153 hildon-touch-picker.[ch]
7155 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7156 references, code examples, and related documentation.
7158 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7160 * doc/hildon-docs.sgml
7163 * src/hildon-toggle-button.c
7164 * src/hildon-toggle-button.h
7165 * src/hildon.h: New HildonToggleButton widget.
7167 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7169 * src/hildon-button.c: Add API documentation.
7170 (hildon_button_set_size_groups): Check input parameters
7172 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7174 * src/hildon-pannable-area.c
7175 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7176 effect after reaching the movement thredshold. This way we start
7177 using the distance after passing the thredshold.
7179 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7181 * src/hildon-button.c: (hildon_button_set_property): Use the
7182 appropriate g_value_get_flags() method.
7184 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7186 * doc/hildon-docs.sgml:
7189 Add the touch pickers, picker dialogs, and picker button widgets
7190 to the documentation.
7192 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7194 * src/hildon-button.c: (hildon_button_set_property),
7195 (hildon_button_class_init): Make "arrangement-flags" a proper
7196 G_TYPE_FLAGS derived property.
7198 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7200 * examples/Makefile.am: Add below examples.
7201 * examples/hildon-date-button-example.c:
7202 * examples/hildon-picker-button-example.c:
7203 * examples/hildon-picker-button-multicolumn-example.c:
7204 * examples/hildon-time-button-example.c:
7205 * examples/hildon-touch-picker-example.c:
7207 Add examples for the recently added touch pickers,
7208 picker dialogs, and picker button widgets.
7210 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-button.c: Add some API documentation
7214 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7216 * src/hildon-button.h
7217 * src/hildon-button.c
7219 (hildon_button_new_with_text): New constructor to create a button
7220 with no text at all.
7221 (hildon_button_init, hildon_button_set_arrangement)
7222 (hildon_button_set_title, hildon_button_set_value)
7223 (hildon_button_set_text)
7224 (hildon_button_construct_child): Hide the value when it's not used
7225 so the rest of the text is properly aligned.
7226 Allow creating buttons with arbitrary widgets inside (not just
7227 title/value labels).
7229 * examples/hildon-button-example.c (vertical_buttons_window)
7230 (horizontal_buttons_window): Update example to use new API.
7232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7234 * src/Makefile.am: Added HildonTimeButton.
7235 * src/hildon-time-button.c: Added missing LGPL header.
7236 * src/hildon-time-button.h: Added missing LGPL header.
7237 * src/hildon.h: Add hildon-time-button.h
7239 Copied HildonTimeButton from sandbox to trunk. Future work on this
7240 widget must take place in trunk.
7242 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7244 * src/Makefile.am: Added HildonDateButton.
7245 * src/hildon-date-button.c: Update includes.
7246 * src/hildon.h: Add hildon-date-button.h
7248 Copied HildonDateButton from sandbox to trunk. Future work on this
7249 widget must take place in trunk.
7251 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7253 * src/Makefile.am: Added HildonPickerButton.
7254 * src/hildon-picker-button.h: Update includes.
7255 * src/hildon.h: Add hildon-picker-button.h
7257 Copied HildonPickerButton from sandbox to trunk. Future work on
7258 this widget must take place in trunk.
7260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7262 * src/Makefile.am: Added HildonPickerDialog.
7263 * src/hildon-picker-dialog.c: Update includes.
7264 * src/hildon.h: Add hildon-picker-dialog.h
7266 Copied HildonPickerDialog from sandbox to trunk. Future work
7267 on this widget must take place in trunk.
7269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7271 * src/Makefile.am: Added HildonTimeSelector.
7272 * src/hildon.h: Add hildon-time-selector.h
7274 Copied HildonTimeSelector widget from sandbox to trunk. Future
7275 work on this widget must happen in trunk.
7277 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7279 * src/Makefile.am: Added HildonDateSelector.
7280 * src/hildon.h: Add hildon-date-selector.h
7282 Copied HildonDateSelector widget from sandbox to trunk. Future
7283 work on this widget must happen in trunk.
7285 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7287 * src/Makefile.am: Added HildonTouchPicker.
7288 * src/hildon-touch-picker.c: Update includes.
7289 * src/hildon.h: Add hildon-touch-picker.h
7291 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7292 on this widget must happen in trunk.
7294 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7296 * src/hildon-pannable-area.c:
7297 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7299 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7301 * examples/hildon-app-menu-example.c (main): Let the window
7304 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7306 * src/hildon-pannable-area.c
7307 (hildon_pannable_area_class_init): Set the min value of the
7308 overshoot properties to zero, which points out that not
7309 overshooting allowed.
7311 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7313 Modified the procedure to get the widget at a point inside the
7314 pannable area when using the movement type signals. Now the user
7315 has to call a function to get the child, that way we just
7316 calculate the child in case the user really want to use it and not
7319 * src/hildon-marshalers.list: Modified the marshallers, now we do
7320 not have the widget as a parameter.
7322 * src/hildon-pannable-area.c
7323 (hildon_pannable_area_motion_notify_cb),
7324 (hildon_pannable_area_class_init),
7325 (hildon_pannable_get_child_widget_at): Removed the widget
7326 parameter from the signal callback. We have also refactored the
7327 emission of the signals.
7329 * src/hildon-pannable-area.h: Added a new method to the API to
7330 calculate a widget at a point inside the pannable area,
7331 hildon_pannable_get_child_widget_at.
7333 * examples/hildon-pannable-area-example-4.c
7334 (horizontal_movement): Modified the example to use the new API,
7335 added condition to control which widget is under the event. This
7336 way we can avoid scrolling laterally over other widgets.
7338 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7340 * src/hildon-pannable-area.c
7341 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7342 modes, we stop getting the pointer events due to returning the
7343 callback without properly calling the get pointer again. Fixed
7344 also an error using the hscroll and vscroll.
7346 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7348 * src/hildon-app-menu-private.h
7349 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7350 (hildon_app_menu_button_release, hildon_app_menu_init)
7351 (hildon_app_menu_class_init): Don't hide the menu on button
7352 release if the user didn't press outside first.
7354 * src/hildon-window.h
7355 * src/hildon-window.c (hildon_window_toggle_menu)
7356 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7357 hildon_window_toggle_menu a virtual function for the stackable
7358 window to override it.
7360 * src/hildon-stackable-window.h
7361 * src/hildon-stackable-window-private.h
7362 * src/hildon-stackable-window.c
7363 (hildon_stackable_window_realize)
7364 (hildon_stackable_window_finalize)
7365 (hildon_stackable_window_class_init)
7366 (hildon_stackable_window_init)
7367 (hildon_stackable_window_set_main_menu): New function to set the
7368 app menu of a HildonStackableWindow.
7370 * examples/hildon-app-menu-example.c: Remove the button to show
7371 the app menu, now it'll be shown when clicking on the title bar
7374 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7376 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7377 set the widget name if the arrangement flags do not specify
7380 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7382 * src/hildon-button.c: (hildon_button_set_property),
7383 (hildon_button_class_init), (hildon_button_new_full),
7384 (hildon_button_set_arrangement): Added "arrangement-flags"
7387 Make the HildonButtonFlags a construction-only property, to allow
7388 subclasses to set them properly.
7390 2008-07-21 Tim Janik <timj@imendio.com>
7392 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7393 insertion position after backspace, so additional digits are appended,
7396 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7398 * src/hildon-pannable-area.c,
7399 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7400 TODO list, it was complete and removed the g_debug and g_print
7403 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7405 Added the movement modes to the hildon-pannable-area, with this
7406 modes the developers can control in which directions the widget
7407 can scroll. They can also connect to signals in order to do
7408 something when that happens, allowing applications scroll. There
7409 is an example uploaded showing how to use it.
7411 * examples/Makefile.am:
7412 * examples/hildon-pannable-area-example-4.c: Added this example of
7413 an application using the modes.
7415 * src/hildon-marshalers.list: Added a new marshaller for the new
7418 * src/hildon-pannable-area.h: Added new enumerations and flags in
7419 order to control the movement modes and the new signals to warn
7420 about the movements in the area.
7422 * src/hildon-pannable-area.c:
7423 (hildon_pannable_axis_scroll),
7424 (hildon_pannable_area_scroll),
7425 (hildon_pannable_area_motion_notify_cb),
7426 (hildon_pannable_area_get_property),
7427 (hildon_pannable_area_set_property),
7428 (hildon_pannable_area_map),
7429 (hildon_pannable_area_class_init),
7430 (hildon_pannable_area_init),
7431 (hildon_pannable_area_jump_to): Added the modes to control the
7432 movement in the widget. We have added properties to control it,
7433 signals to warn about the movements and refactored some code.
7435 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7437 Changes required in order to allow vfast_factor set to zero to
7440 * src/hildon-pannable-area.c:
7441 (hildon_pannable_area_button_press_cb): Changed the condition, it
7442 is required for not allowing click when vfast_factor is zero.
7443 (hildon_pannable_area_timeout): Initialized velocity variables
7444 when we stop moving, it was less than 1 but not zero and we need
7445 to check zero in some situations.
7446 (hildon_pannable_area_class_init): Changed the default value of
7447 the speed factor, now the button_press is just sent in case the
7448 speed is 2 per cent of the max speed.
7449 (hildon_pannable_area_init): Initialization with 0.
7451 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7453 * src/hildon-pannable-area.c,
7454 (hildon_pannable_area_get_topmost): replaced
7455 gdk_window_get_children with gdk_window_peek_children, this way we
7456 do not have to free the list because it is not a copy.
7458 (hildon_pannable_axis_scroll),
7459 (hildon_pannable_area_scroll),
7460 (hildon_pannable_area_timeout),
7461 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7462 two parameters that were only used inside the
7463 hildon_pannable_area_scroll function.
7465 * examples/hildon-pannable-area-example.c,
7466 (get_sawtooth_label): Fixed small memory leak.
7468 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7470 More checks for the case where the overshoot is bigger than the
7473 * src/hildon-pannable-area.c:
7474 (hildon_pannable_draw_vscroll),
7475 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7476 to draw the slider of the scrollbar under the other scrollbar.
7477 (hildon_pannable_area_expose_event): added new checks to control
7478 the drawing of the overshooting area rectangle, in case it is too
7479 big for the area of the widget.
7480 (hildon_pannable_area_size_allocate): add more checks to avoid
7481 setting a position to the child widget outside the area.
7483 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7485 * src/hildon-pannable-area.c
7486 (hildon_pannable_area_size_allocate): Added conditions to control
7487 when overshooting is bigger than the allocated space for the
7488 children, this avoids negative allocations.
7490 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7492 * doc/hildon-docs.sgml
7494 * examples/Makefile.am
7495 * examples/hildon-button-example.c
7497 * src/hildon-button.c
7498 * src/hildon-button.h
7499 * src/hildon.h: Initial version of the new HildonButton widget,
7502 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7504 * src/hildon-pannable-area.c:
7505 (hildon_pannable_area_button_press_cb),
7506 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7507 (hildon_pannable_area_motion_notify_cb),
7508 (hildon_pannable_area_button_release_cb),
7509 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7510 (hildon_pannable_area_jump_to_child):
7512 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7514 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7516 * examples/Makefile.am
7517 * examples/hildon-pannable-area-touch-grid-example.c
7518 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7519 the Hildon Touch List and Hildon Touch Grid using the
7520 HildonPannableArea widget.
7522 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7524 * src/hildon-pannable-area.c,
7525 (hildon_pannable_area_button_press_cb),
7526 (hildon_pannable_area_refresh),
7527 (hildon_pannable_area_scroll),
7528 (hildon_pannable_area_motion_notify_cb),
7529 (hildon_pannable_area_button_release_cb),
7530 (hildon_pannable_area_expose_event),
7531 (hildon_pannable_area_add),
7532 (hildon_pannable_area_remove),
7533 (hildon_pannable_area_realize),
7534 (hildon_pannable_area_size_allocate),
7535 (hildon_pannable_area_class_init),
7536 (hildon_pannable_area_init),
7537 (hildon_pannable_area_scroll_to_child),
7538 (hildon_pannable_area_jump_to_child): Fixed the problem of
7539 removing the child from the GtkBin, we have rearranged the widget
7540 hierarchy, now there is no GtkAlignment which was not doing
7541 anything interesting but breaking some of the assumptions of
7542 GtkContainer. Now developers if they want to add a GtkAlignment
7543 they could, but it is not inside the area.
7545 We had to review the whole allocation/expose process, now it is
7546 improved and we save at least three signals which would be saving
7547 some time when rendering the widget. The allocation of the
7548 scrollbars is now made in the allocate method as usual.
7550 We have also added some conditions in order to control when there
7551 is no child of the pannable area. Maybe we will need more work
7554 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7556 * src/hildon-pannable-area.c,
7557 (hildon_pannable_area_dispose): Released the fade-out timeout when
7558 disposing the widget.
7560 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7562 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7563 zero, we are going to use that property in order to deactivate the
7565 (hildon_pannable_axis_scroll),
7566 (hildon_pannable_area_size_allocate): Added conditions to control
7567 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7568 call, now it is called in all situations and we can remove calls
7569 in the allocate method.
7570 (hildon_pannable_area_map): Control the situation when
7571 overshoot_max is zero, we do not need the timeout.
7572 (hildon_pannable_area_class_init): Added documentation in order to
7573 point out that setting zero to overshoot_max means deactivate
7576 NOTE: removed trailing whitespaces from my previous comments of
7579 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7581 * src/hildon-pannable-area.c
7582 (hildon_pannable_area_get_property),
7583 (hildon_pannable_area_set_property),
7584 (hildon_pannable_area_map),
7585 (hildon_pannable_area_class_init),
7586 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7587 to cause the widget give a hint about its panning abilities upon
7590 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7592 * src/hildon-pannable-area.c: Several documentation improvements.
7594 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7596 * src/hildon-program.c
7597 * src/hildon-stackable-window.c: Update documentation.
7599 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7601 * src/hildon-stackable-window.c (get_previous_window_if_last):
7602 Renamed get_last_window()
7603 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7604 (hildon_stackable_window_unset_program):
7606 (get_previous_window_if_last):
7607 Detect if the window hasn't been added to a HildonProgram.
7609 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7611 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7613 * src/hildon-pannable-area.c
7614 (hildon_pannable_area_button_press_cb),
7615 (hildon_pannable_axis_scroll),
7616 (hildon_pannable_area_scroll),
7617 (hildon_pannable_area_timeout),
7618 (hildon_pannable_calculate_vel_factor),
7619 (hildon_pannable_area_get_property),
7620 (hildon_pannable_area_set_property),
7621 (hildon_pannable_area_class_init),
7622 (hildon_pannable_area_init),
7623 (hildon_pannable_area_scroll_to),
7624 (hildon_pannable_area_jump_to),
7625 (hildon_pannable_area_scroll_to_child),
7626 (hildon_pannable_area_jump_to_child):
7627 * src/hildon-pannable-area.h: Added the new API functions:
7628 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7629 hildon_pannable_area_scroll_to_child,
7630 hildon_pannable_area_jump_to_child
7633 * examples/Makefile.am
7634 * examples/hildon-pannable-area-example-2.c
7635 * examples/hildon-pannable-area-example-3.c: Added these two new
7636 examples in order to test and show how the new APIs work.
7638 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7640 * examples/hildon-stackable-window-example.c (new_window):
7641 * src/Makefile.am (noinst_HEADERS):
7642 * src/hildon-program.c (hildon_program_go_to_root_window):
7643 * src/hildon-program.h:
7644 * src/hildon-stackable-window-private.h:
7645 * src/hildon-stackable-window.c:
7646 * src/hildon-stackable-window.h:
7647 Create hildon-stackable-window-private.h
7648 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7650 * examples/hildon-app-menu-example.c (create_menu):
7651 * examples/hildon-hvolumebar-insensitive-example.c (main):
7652 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7653 * examples/hildon-toolbar-seekbar-example.c (main):
7654 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7655 * src/hildon-banner.c (hildon_banner_set_property):
7656 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7657 Fix compilation warnings
7659 * src/hildon-window.c:
7662 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7664 * src/hildon-stackable-window.c
7665 (hildon_stackable_window_unset_program):
7666 Calculate correctly whether to show the previous window if the
7667 last one is removed from the stack.
7668 (hildon_stackable_window_go_to_root_window):
7669 Send delete events starting from the topmost window.
7670 Stop if one of the windows is not destroyed.
7672 (hildon_stackable_window_delete_event)
7673 (hildon_stackable_window_class_init):
7674 Ignore the delete event if the window is not the topmost one.
7676 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7678 * src/hildon-pannable-area.c
7679 (hildon_pannable_area_expose_event): Fixed a problem when
7680 selecting the background color of the scrollbars.
7682 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7684 * examples/hildon-stackable-window-example.c
7685 * src/hildon-stackable-window.c
7686 * src/hildon-stackable-window.h
7687 hildon_stackable_window_go_home() renamed to
7688 hildon_stackable_window_go_to_root_window()
7689 Send delete events to windows rather than closing them with
7690 gtk_widget_destroy()
7692 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7694 * src/hildon-pannable-area.c
7695 (hildon_pannable_area_button_release_cb): Fix overshooting in
7698 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7700 * src/hildon-pannable-area.c
7701 (hildon_pannable_area_init): Initially show the scroll indicators.
7702 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7704 Add initial effect showing the widget is pannable.
7706 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7708 * src/hildon-pannable-area.c
7709 (hildon_pannable_area_class_init)
7710 (hildon_pannable_area_set_property)
7711 (hildon_pannable_area_get_property)
7712 (hildon_pannable_area_button_press_cb):
7713 New 'velocity_fast_factor' property to decide which velocity is
7716 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7718 * src/hildon-pannable-area.c
7719 (hildon_pannable_draw_hscroll)
7720 (hildon_pannable_draw_vscroll):
7721 Use float variables to calculate the size of the scrollbars to
7722 avoid error propagation and resizing during scrolling.
7724 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7726 * src/hildon-pannable-area.c
7727 (hildon_pannable_draw_vscroll)
7728 (hildon_pannable_draw_hscroll):
7729 Define a minimum size for the scroll bars
7731 * src/hildon-stackable-window.c
7732 (hildon_stackable_window_go_home): Fix compilation warning
7733 (get_last_window): Minor optimizations
7734 (hildon_stackable_window_class_init): Fix initialization of
7737 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7739 * src/hildon-stackable-window.c: Fixed typos in doc
7741 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7743 * src/hildon-pannable-area.c
7744 (hildon_pannable_area_scroll):
7745 Calculate here whether we need to scroll instead of using the booleans
7746 that tell us whether to /draw/ the scrolling bars.
7748 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7750 * src/hildon-app-menu.h
7752 * src/hildon-app-menu.c
7753 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7754 multiple filter groups related code and API. Now we support only
7756 * examples/hildon-app-menu-example.c:
7758 Update to reflect API changes.
7760 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7762 * src/hildon-stackable-window.c
7763 (hildon_stackable_window_class_init):
7764 Add hildon_stackable_window_realize.
7765 (hildon_stackable_window_realize):
7766 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7767 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7768 to apply theming and behavior specific to HildonStackableWindow
7771 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7773 * src/hildon-note.c (hildon_note_button_release):
7774 Close information notes also when tapping on them
7776 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7778 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7779 ELASTICITY, refactor and review, fix some issues with drawing
7782 * src/hildon-pannable-area.c:
7783 (hildon_pannable_area_button_press_cb): removed the conditions to
7784 avoid clicks when overshooting. It is not required
7786 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7787 define. Refatored and reviewed the code, now we do not need to
7788 manage velocity in motion_notify.
7790 (hildon_pannable_area_motion_notify_cb): We have moved the code
7791 that controls the area_scroll to the axis_scroll function and get
7792 rid of duplicated code.
7794 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7796 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7798 (hildon_pannable_draw_vscroll),
7799 (hildon_pannable_draw_hscroll): Fixed the problems with the
7800 scrollbar drawing, now we do not use two surfaces, it is easier
7801 and saves resources.
7803 (hildon_pannable_area_get_property): Style modification.
7805 (hildon_pannable_area_class_init): Changed some default values.
7807 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7809 * src/hildon-stackable-window.c: Fix some typos in the
7812 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7814 * src/hildon-dialog.c:
7815 Change indentation style
7818 (hildon_note_button_release):
7819 Use root coordinates to check if the release event happened
7822 * src/hildon-app-menu.c
7823 (hildon_app_menu_button_release):
7824 Remove unnecessary check
7826 * examples/hildon-app-menu-example.c
7828 Add cast to fix warning
7830 * src/hildon-app-menu.c
7831 (hildon_app_menu_class_init):
7832 New inner-border style property.
7833 Set all default spacings to 16
7834 (hildon_app_menu_init):
7835 Use vertical-spacing to set the space between filter buttons and
7836 regular menu buttons.
7837 Set the default container border using the inner-border value.
7839 * examples/hildon-app-menu-example.c
7841 Don't set the menu border explicitly, now we have the inner-border
7842 style property for that.
7844 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7846 * src/hildon-app-menu.c (hildon_app_menu_init):
7847 Make the window modal
7849 * src/hildon-note.c (hildon_note_map)
7850 * src/hildon-app-menu.c (hildon_app_menu_map):
7851 Destroy the grab window if we're unable to grab the pointer
7853 * src/hildon-app-menu-private.h
7854 * src/hildon-app-menu.c
7855 (hildon_app_menu_init, hildon_app_menu_finalize)
7856 (hildon_app_menu_map, hildon_app_menu_unmap)
7857 (hildon_app_menu_button_release)
7858 (grab_transfer_window_get):
7859 Bring back the grab window
7860 (hildon_app_menu_realize):
7861 Decorate the window, set WM hint for Matchbox
7863 * src/hildon-note.c (hildon_note_realize):
7864 * src/hildon-banner.c (hildon_banner_realize):
7865 Add WM hints for Matchbox
7867 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7869 * src/hildon-app-menu-private.h
7870 * src/hildon-app-menu.c
7871 (hildon_app_menu_init, hildon_app_menu_finalize)
7872 (hildon_app_menu_map, hildon_app_menu_unmap)
7873 (hildon_app_menu_button_release):
7874 Remove the grab window, it's not needed anymore
7876 * src/hildon-program.c
7877 Fixed typo in documentation
7879 * src/hildon-app-menu.h
7880 * src/hildon-app-menu.c
7881 * examples/hildon-app-menu-example.c
7882 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7884 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7887 Added new transfer_window and close_if_pressed_outside private
7889 (hildon_note_rebuild):
7890 Don't add a cancel button to the information note. It will be
7891 closed when tapping outside
7892 Remove the comment about the OK button in the documentation
7893 (hildon_note_realize):
7894 Set the notification type hint
7895 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7896 Grab/ungrab pointer and keyboard if the note has to be closed when
7898 (hildon_note_button_release):
7899 Close the note when tapping outside (if applicable)
7901 * src/hildon-app-menu.c
7902 Grab/ungrab pointer and keyboard on map/unmap
7903 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7904 Close the menu on button release, not button press
7906 * src/hildon-banner.c
7907 (hildon_banner_set_property)
7908 (hildon_banner_check_position):
7909 Make the banner use the full width of the screen
7910 (hildon_banner_show_information)
7911 (hildon_banner_show_information_with_markup):
7912 Don't display an icon by default
7914 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7916 Added fading scrollbars and adapted all the overshooting code to
7917 horizontal scrolling. We have also fixed bugs with overshooting
7918 and current fading implementation.
7920 * src/hildon-pannable-area.c
7921 (hildon_pannable_area_scroll_indicator_fade): Time out function
7922 used to change the transparency of the scrollbars.
7924 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7925 control and fixed a problem with fading, we now remove the fade
7926 timeout before adding a new one.
7928 (hildon_pannable_axis_scroll):
7929 (hildon_pannable_area_scroll):
7930 (hildon_pannable_area_timeout): Added this functions so we can use
7931 the scroll code both for vertical and horizontal.
7933 (hildon_pannable_area_motion_notify_cb):
7934 (hildon_pannable_area_button_release_cb): Added the horizontal
7935 scrolling control, fixed a problem with the overshooting timeout.
7937 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7938 painting of the scrolls.
7940 (hildon_pannable_draw_vscroll):
7941 (hildon_pannable_draw_hscroll):
7942 (hildon_pannable_area_expose_event):
7943 Draw both scrollbars and rectangles in the overshooting area.
7945 (hildon_pannable_area_get_property):
7946 (hildon_pannable_area_set_property):
7947 Modified the overshoot property to overshoot_max
7949 (hildon_pannable_area_map):
7950 Replaced the comments symbols.
7952 (hildon_pannable_area_size_allocate):
7953 (hildon_pannable_area_class_init):
7954 (hildon_pannable_area_init): Added horizontal scroll, fading
7955 effect properties, fixed a problem when overshooting in the bottom
7958 * examples/hildon-pannable-area-example.c:
7959 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7960 looks better in the example.
7962 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7964 * src/hildon-window.c
7965 * src/hildon-window.h
7966 (hildon_window_class_init)
7967 (hildon_window_unset_program)
7968 (hildon_window_unset_program_real):
7969 Make unset_program a virtual function
7971 * src/hildon-stackable-window.c
7972 * src/hildon-stackable-window.h
7973 Added hildon_stackable_window_go_home()
7975 * examples/Makefile.am
7976 * examples/hildon-stackable-window-example.c
7977 HildonStackableWindow example
7979 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7981 * hildon-pannable-area.c: Added the overshoot property and removed
7982 the OVERSHOOT define. Fixed an indent style error.
7983 (hildon_pannable_area_motion_notify_cb):
7984 (hildon_pannable_area_get_property):
7985 (hildon_pannable_area_set_property): Add overshoot property.
7987 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7990 (hildon_pannable_area_class_init): Installed the new property.
7992 * hildon-pannable-area-example.c: Added a sawtooth function, this
7993 way it is easier to check the movement in the pannable.
7994 (get_sawtooth_label): Added this function.
7995 (main): Now we get the labels from the new get_sawtooth_label
7998 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8000 * src/hildon-app-menu.h
8001 * src/hildon-app-menu.c
8002 Renamed API variables for consistency
8004 (hildon_app_menu_popup): Use also the default window size to
8005 decide where to place the menu
8007 (hildon_app_menu_init, hildon_app_menu_class_init): New
8008 external-border style property
8010 2008-05-26 Michael Natterer <mitch@imendio.com>
8012 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8013 widget_class->tap_and_hold_setup signal slot doesn't exist any
8014 longer, stop overriding it.
8016 (hildon_time_editor_init): g_signal_connect() to the
8017 tap-and-hold-setup signal instead.
8019 (hildon_time_editor_entry_keypress): add cast to fix warning.
8021 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8023 * doc/hildon-docs.sgml
8025 * examples/Makefile.am
8026 * examples/hildon-app-menu-example.c
8028 * src/hildon-app-menu-private.h
8029 * src/hildon-app-menu.c
8030 * src/hildon-app-menu.h
8032 New HildonAppMenu widget
8034 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8036 Rearranged the inheritance of the pannable area, now it inherits
8037 from GtkBin. This will allow us to control the event_window and
8038 the allocation process of the widget, required for some effects.
8040 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8041 GtkBin structures. * src/hildon-pannable-area.c: Added the
8042 event_window variable.
8043 (hildon_pannable_area_button_press_cb):
8044 (hildon_pannable_area_button_release_cb):
8045 (hildon_pannable_area_motion_notify_cb):
8046 Changed the signature of the method, now we override the event
8047 callback instead of connecting to the signal.
8049 (hildon_pannable_area_realize):
8050 (hildon_pannable_area_unrealize):
8051 (hildon_pannable_area_map):
8052 (hildon_pannable_area_unmap):
8053 (hildon_pannable_area_size_allocate):
8054 Added functions to control the widget construction. We add a
8055 INPUT_ONLY window and we put it over the widgets inside the
8056 container, this event_window handles the events.
8058 (hildon_pannable_area_class_init):
8059 Replaced the signal connections with overrides of the event
8062 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8064 Bouncing effect added when touching the borders, you can change
8065 the elasticity of the border changing the ELASTICITY define.
8067 * src/hildon-pannable-area.c: Added ELASTICITY define.
8068 (hildon_pannable_area_timeout): Added inverse velocity when
8069 touching the border of the child widget, that causes a bounce.
8071 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8073 Improved performance, we now do not go to the X server in order to
8074 get the list of window children. Apparently the effect is the
8075 same, we have to be careful and check if this breaks something in
8078 * src/hildon-pannable-area.c:
8079 (get_ordered_children): Removed this function.
8080 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8081 the children windows function with gdk_window_get_children.
8083 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8085 * src/hildon-pannable-area.c:
8086 (hildon_pannable_area_dispose): Fixed a crash when closing the
8087 window and kinetics is activated.
8089 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8091 * src/hildon-pannable-area.h
8092 * src/hildon-pannable-area.c
8093 Changed indentation style to meet the one used in Hildon
8095 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8097 Reviewed the interaction of the AUTO mode, now we use the time
8098 attribute of the events and calculate the velocity in the motion,
8099 doing a gimp like calculation. The velocity is calculated in each
8100 motion event using the last velocity and the current one, the
8101 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8103 * src/hildon-pannable-area.c: Replaced the time based algorithm
8105 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8106 timeout for the AUTO mode when we are still moving the cursor. We
8107 added also the velocity calculation in this function.
8108 (hildon_pannable_area_button_release_cb): launch the timeout in
8109 case we are in AUTO mode. There are still some constants here that
8110 come from the old implementation that should be reviewed and
8113 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8115 * doc/hildon-docs.sgml
8118 * src/hildon-stackable-window.c
8119 * src/hildon-stackable-window.h
8121 New HildonStackableWindow widget
8123 * examples/hildon-dialog-example.c
8124 * examples/hildon-pannable-area-example.c
8127 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8129 * src/hildon-dialog.c
8130 (hildon_dialog_new_with_buttons): New constructor.
8132 * examples/hildon-dialog-example.c
8133 (main): Update the example to use the new
8134 hildon_dialog_new_with_buttons().
8136 * examples/hildon-pannable-area-example.c
8137 (main): Update example.
8139 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8141 * doc/hildon-docs.sgml
8143 Added HildonPannableArea to the documentation.
8145 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8147 * doc/visual_index.xml
8148 Fix reference to HildonLoginDialog in documentation
8150 * doc/hildon-docs.sgml
8152 * examples/Makefile.am
8153 * examples/hildon-dialog-example.c
8155 * src/hildon-dialog.c
8156 * src/hildon-dialog.h
8158 New HildonDialog widget.
8160 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8162 * src/hildon-pannable-area.c
8163 Merge latest changes (r4318, r4342) from libmokoui trunk
8165 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8167 * examples/Makefile.am
8168 * examples/hildon-pannable-area-example.c
8170 * src/hildon-pannable-area.c
8171 * src/hildon-pannable-area.h
8173 New HildonPannableArea widget.
8175 2008-04-15 18:05:19 <timj@imendio.com>
8177 * src/hildon-banner.c: revert the recent change, that introduced
8178 gtk_window_present() calls. this reopens:
8179 Bug 78481 - [freetest] information banners are hidden under browser menu
8180 But resolves another variant of:
8181 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8183 2008-04-15 13:21:13 <timj@imendio.com>
8185 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8186 recreated its layout, spotted by Kris. this fixes all remaining
8187 artefacts and stability issues with the banner code. in particular:
8188 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8190 2008-04-14 16:52:59 <timj@imendio.com>
8192 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8193 operating on unrealized widgets, fixes:
8194 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8196 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8198 2008-04-09 Kristian Rietveld <kris@imendio.com>
8200 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8201 makes banner disappear.
8202 Fixes: NB#79182: info banner flickering with certain message lengts.
8204 * src/hildon-banner.c (hildon_banner_constructor),
8205 (hildon_banner_init), (hildon_banner_set_text),
8206 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8207 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8208 FALSE, reset size requests of label and banner,
8209 (force_to_wrap_truncated): when the text is too wide, always enforce
8210 the maximum possible width instead of recalculating it from the
8211 layout; enforce the maximum banner height of 3 lines,
8212 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8213 nicer wrapping and no truncated chars if space gets tight.
8215 * src/hildon-banner-private.h: add has_been_wrapped and
8216 has_been_truncated fields.
8218 2008-04-07 Sven Herzberg <sven@imendio.com>
8220 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8221 local values in hildon_date_editor_size_allocate
8223 * src/hildon-date-editor.c: moved the real allocation code into the
8226 2008-04-07 Sven Herzberg <sven@imendio.com>
8228 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8229 local values in hildon_date_editor_size_allocate
8231 * src/hildon-date-editor.c: merged the two if() branches together
8233 2008-04-07 Sven Herzberg <sven@imendio.com>
8235 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8236 local values in hildon_date_editor_size_allocate
8238 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8247 from the real allocation
8249 2008-03-27 Michael Natterer <mitch@imendio.com>
8251 Fixes: NB#81696: The passcode is not overwritten even after
8254 * src/hildon-code-dialog.c
8255 (hildon_code_dialog_button_clicked)
8256 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8257 because that doesn't overwrite selected text. Instead, emit the
8258 "commit" signal on the entry's im_context so the entry's normal
8259 insert logic is triggered. Set the cursor to the end of the entry
8260 after each insert operation so that we *only* insert in the middle
8261 of the text if something was selected.
8263 2008-03-27 Michael Natterer <mitch@imendio.com>
8265 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8266 selector cannot be opened
8268 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8269 when the popup color selector is created. Please connect to this
8270 signal in order to set the dialog's help ID.
8272 2008-03-25 Sven Herzberg <sven@imendio.com>
8274 Fixes: MB#1212: Hide info banners (infoprints) on click
8276 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8277 extracted the close event simulation into an extra function
8278 (hildon_banner_button_press_event): simulate a close event and destroy
8279 the widget if the event wasn't handled
8280 (hildon_banner_class_init): added the button_press_event handler
8281 (hildon_banner_init): added button-press events to the widget
8283 2008-03-25 Sven Herzberg <sven@imendio.com>
8285 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8286 Patch from: Mohammad Anwari <mdamt@maemo.org>
8288 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8289 instead of the right in RTL mode
8290 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8291 breadcrumb button list in RTL mode
8292 * src/hildon-caption.c: mirror the appearance of the caption widget in
8294 * src/hildon-date-editor.c: mirror appearance of the date editor in
8296 * src/hildon-time-editor.c: mirror appearance of the time editor in
8298 * src/hildon-window.c: fix the position of the popup in RTL mode
8300 2008-03-25 Sven Herzberg <sven@imendio.com>
8302 Amendment to the fix of NB#22072. Fix compilation.
8304 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8306 2008-03-19 Sven Herzberg <sven@imendio.com>
8308 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8311 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8312 timeout id properly when the timeout will disappear this leaves no
8313 artifacts around in the destroy(); there will only be the timeout
8314 created by hildon_banner_ensure_timeout() and adding a new timeout
8315 will also work if the timeout gets removed because the timeout_handler
8318 2008-03-19 Michael Natterer <mitch@imendio.com>
8320 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8322 * src/hildon-volumebar.c
8323 * src/hildon-vvolumebar.c
8324 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8325 the widget becomes focussable at all.
8327 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8328 set the focus to wither the mute button or the volumebar.
8330 Remove own "can-focus" property and instead listen to
8331 notify::can-focus in order to update the widget's state.
8333 Implement GtkWidget::focus() and make sure we can also *leave* the
8334 widget, not only enter it, depending on volumebar orientation and
8335 requested focus direction.
8337 Clean up set_mute() to cooperate nicely with all the above.
8339 2008-03-04 Michael Natterer <mitch@imendio.com>
8341 Fixes: NB#78481: information banners are hidden under browser menu
8343 * src/hildon-banner.c: call gtk_window_present() on the banners so
8344 they are risen if they are already visible.
8346 2008-03-03 Sven Herzberg <sven@imendio.com>
8348 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8350 * examples/hildon-window-menu-example.c: (main): extended the window
8351 menu example to serve as a testcase for automatically added
8352 accelerator groups, too
8353 * src/hildon-window.c: (hildon_window_add_accel_group),
8354 (hildon_window_set_menu): added patch by Tommi Komulainen
8356 2008-03-03 Sven Herzberg <sven@imendio.com>
8358 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8360 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8361 knowledge about the border allocators used within GTK+
8363 2008-02-26 Sven Herzberg <sven@imendio.com>
8365 Fixes: MB#2981: Build with asserts broken
8367 * src/hildon-date-editor.c,
8368 * src/hildon-number-editor.c,
8369 * src/hildon-time-editor.c,
8370 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8371 the proper GType instance check
8373 2008-02-25 Sven Herzberg <sven@imendio.com>
8375 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8377 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8378 * examples/hildon-window-menu-example.c: (main): explicitly show
8380 * src/hildon-window.c:
8381 (hildon_window_set_main_menu): moved most of the code from set_menu()
8382 to this place; skipped the call to gtk_widget_show_all(); also didn't
8383 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8384 (hildon_window_set_menu): removed most of the code, just keep the
8385 questionable gtk_widget_show_all()
8386 * src/hildon-window.h: added the new function and deprecate the old
8389 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8395 * debian/changelog: Updating.
8397 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8400 * pkgconfig/Makefile.am:
8401 * pkgconfig/hildon.pc.in:
8404 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8405 use newly created API_MAJOR_VERSION.
8407 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8413 * debian/changelog: Updating.
8415 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8417 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8419 Add outer_border style property, we use it but don't define it (!).
8423 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8425 * examples/hildon-bread-crumb-trail-example.c (main):
8429 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8431 Fix logic for the bread crumb trail node removal.
8435 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8441 * debian/changelog: Updating.
8443 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8445 Patch by Alejandro to get/set passwords dialogs accesibility.
8447 * hildon-1/src/hildon-get-password-dialog.c:
8448 * hildon-1/src/hildon-set-password-dialog.c:
8449 Set atk_set_name to the passwd entries in order to allow
8450 accessibility by name on this entries.
8452 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8457 * debian/control: Updating gtk dep.
8459 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8461 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8462 USE_MAEMO_GTK is enabled.
8464 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8466 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8467 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8469 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8475 * debian/changelog: Updating.
8477 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8479 * examples/Makefile.am:
8480 * examples/hildon-logical-color-example.c:
8481 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8482 applied + adding a test case. Fixes: NB#71660.
8484 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8486 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8487 to be visible, fixes warning on map for windows without toolbars.
8489 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8491 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8492 2.11.0, add a check for that besides the MAEMO_GTK check.
8494 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8500 * debian/changelog: Updating.
8502 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8504 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8505 visibility. Fixes: NB#70842 and MB#615.
8507 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8509 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8510 set the separator as no-show-all so it doesn't unintentionally appear when
8511 someone does a show_all.
8513 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8515 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8516 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8517 toplevel item. Fixes: NB#62031
8519 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8521 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8522 fix the name of the function in the docs.
8524 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8530 * debian/changelog: Updating.
8532 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8534 * examples/hildon-banner-long-example.c: Adding a test-case for long
8537 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8539 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8541 * src/hildon-color-chooser-dialog.c:
8542 * src/hildon-color-chooser.c:
8543 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8544 memory leaks in font selector and color selector. Fixes: NB#70499 and
8547 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8549 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8551 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8553 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8554 little bit bigger. Fixes: #NB63694.
8556 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * debian/changelog: Updating.
8564 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8567 * doc/hildon-docs.sgml:
8568 * doc/images/bread-crumb-trail.png:
8569 * doc/images/calendar-popup.png:
8570 * doc/images/caption.png:
8571 * doc/images/code-dialog.png:
8572 * doc/images/color-button.png:
8573 * doc/images/color-chooser-dialog.png:
8574 * doc/images/color-chooser.png:
8575 * doc/images/controlbar.png:
8576 * doc/images/date-editor.png:
8577 * doc/images/font-selection-dialog.png:
8578 * doc/images/get-password-dialog.png:
8579 * doc/images/hvolumebar.png:
8580 * doc/images/login-dialog.png:
8581 * doc/images/note.png:
8582 * doc/images/number-editor.png:
8583 * doc/images/range-editor.png:
8584 * doc/images/seekbar.png:
8585 * doc/images/set-password-dialog.png:
8586 * doc/images/sort-dialog.png:
8587 * doc/images/time-editor.png:
8588 * doc/images/time-picker.png:
8589 * doc/images/vvolumebar.png:
8590 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8591 Adding the bread-crumb-trial and helpers to the documentation.
8593 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8595 * examples/hildon-find-toolbar-example.c:
8596 * src/hildon-find-toolbar.c:
8597 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8598 actually continue firing the other handlers if connected. Adding a new
8600 hildon_find_toolbar_get_last_index that gets the index of the most
8601 recently added (last) item. Fixes: NB#52301.
8603 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8605 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8606 behaviour. Fixes: NB#68610.
8608 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8610 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8613 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8615 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8616 when realizing the banner. Should make the infonbanner effect a bit more
8619 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8621 * src/hildon-volumebar.c:
8622 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8623 hildon_volumebar_set_range_insensitive_message and
8624 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8626 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8628 * src/hildon-window.c: Fixing the border freeing on destroy.
8630 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8632 * src/hildon-code-dialog-private.h:
8633 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8634 kw keyboard support in HildonCodeDialog.
8636 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8642 * debian/changelog: Updating.
8644 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8646 * src/hildon-date-editor.c:
8647 * src/hildon-number-editor.c:
8648 * src/hildon-private.c:
8649 * src/hildon-private.h:
8650 * src/hildon-time-editor.c:
8651 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8652 handling in subclassed composite widgets. Fixes: NB#66628.
8654 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8656 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8657 from destroy_ callback as it introduces problems in async dbus signal
8658 handlers. Fixes NB#66673.
8660 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8662 * examples/hildon-hvolumebar-example.c:
8663 * src/hildon-volumebar.c: Improving the focus handling in the
8664 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8665 set_property accessor so that "mute" property can be actually set. I'm
8666 scared that nobody noticed it's totally broken.
8668 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8670 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8673 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8675 * src/hildon-calendar.c:
8676 * src/hildon-number-editor.c:
8677 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8678 matches the spec of 6 chars per second. Fixes: NB#60489.
8680 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8683 gtk_style_lookup_color sometime returns FALSE even though color was
8684 found and values were filled properly. Weird. Removing the warning for the
8687 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8690 expand vertically. Adding some extra space to the find toolbar buttons to
8691 make them thumbable. Fixes NB#66060.
8693 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8695 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8696 popup with "Ok" and "Cancel". Fixes NB#59299.
8698 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8700 * src/hildon-calendar.c: Process all window updates before executing next
8701 timeout. Fixes: NB#54146.
8703 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8709 * debian/changelog: Updating.
8711 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8713 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8714 the client event and ignore it, since we use the delete event to close
8717 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8719 * src/hildon-helper.c: Remove the bogus warning about color not being
8720 found. Fixes NB#58352.
8722 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8724 * examples/Makefile.am:
8725 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8726 HildonSeekbar widget inside a toolbar.
8728 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8730 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8731 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8732 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8733 don't want to be closed by non-temporary windows on map.
8735 Also use G_DEFINE_TYPE instead of manually typed code.
8737 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8744 * debian/rules: Updating.
8746 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8748 * examples/Makefile.am:
8749 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8750 bug NB#61128. Strangely it works.
8752 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8754 * src/hildon-date-editor.c: When the date editor entry has been changed
8755 but the numbers of characters < max, turn off the skip validation flag.
8756 Prevents a situation when we enter first a valid year and later re-write
8757 it with an invalid one. Fixes NB#60154.
8759 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8761 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8762 code dialog. Fixes NB#64355.
8764 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8766 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8767 switching the page. Fixes NB#49374.
8769 * examples/Makefile.am:
8770 * examples/hildon-wizard-dialog-example.c: Adding an example for
8771 HildonWizardDialog that shows how to handle manual sensitivity setting on
8774 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * src/hildon-version.h.in:
8779 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8781 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8783 * src/hildon-volumebar.c: Updating the docs.
8785 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8791 * debian/changelog: Updating.
8793 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8795 * src/hildon-find-toolbar.c:
8796 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8797 selected item: hildon_find_toolbar_set_active,
8798 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8799 hildon_find_toolbar_get_active_iter . They correspond to respective
8800 GtkComboBox functions.
8802 * examples/Makefile.am:
8803 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8806 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8808 * examples/Makefile.am:
8809 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8812 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8813 when font size > 32 and we pack a focusable widget inside. Actually using
8814 the default response would work too, but since we don't show default
8815 response state in any way (no theming) it would not be visible to the
8816 user. Fixes NB#63430.
8818 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8820 * src/hildon-date-editor.c: Adding the missing variable setter in the
8821 set_property handler. Fixes NB#54182.
8823 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * src/hildon-window.h: Changing the long key press time from 1500ms to
8826 800ms as requested in NB#63700. I have a bad feeling about this, let's
8827 see... Fixes NB#63700.
8829 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8831 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8832 hildon_time_picker_map, hildon_time_picker_realize,
8833 hildon_time_picker_style_set): Split the contents of map to more
8834 appropriate functions; set window decorations on realize and update
8835 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8837 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8842 * debian/changelog: Updating.
8844 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8846 * src/Makefile.am: fixed installation of the header files
8848 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8854 * debian/changelog: Updating.
8856 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * configure.ac: Removing some remaining of --enable-xan.
8860 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8862 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8863 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8865 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8866 2.10.12-osso6 because the move-focus signal needs to be available in
8869 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8871 * examples/Makefile.am:
8872 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8873 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8874 fine. Prolly NB#61128 is fixed now.
8876 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8878 * src/hildon-volumebar.c:
8879 * src/hildon-volumebar.h: Adding the
8880 hildon_volumebar_set_range_insensitive_message and
8881 hildon_volumebar_set_range_insensitive_messagef functions to set
8882 insensitive message on the slider of the volumebar. Fixes NB#61129.
8884 * examples/Makefile.am:
8885 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8886 test the new insensitive messsage functionality on HildonVolumebar.
8888 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8890 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8893 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8895 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8896 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8897 button on after clearing the trail.
8899 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8903 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8905 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8906 by splitting the installed headers in generated and non-generated groups. Use
8907 only the non-generated headers to create the hildon-enum-types.h file.
8909 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8911 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * src/hildon-window.c: Hide the window before performing the destroy.
8914 Should make the app closing a little tiny bit more snappy.
8916 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8918 * src/hildon-seekbar.c: add gtkrange.h header
8919 * src/hildon-caption.c: remove unused variable
8921 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8923 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8926 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8932 * debian/changelog: Updating.
8934 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8936 * src/hildon-window.c (hildon_window_window_state_event,
8937 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8938 escape timeout on focus-out-event rather than notify::is-topmost; the
8939 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8941 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8944 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8946 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8948 * src/hildon-window: actually, you need to use the macro always, there's
8949 no private pointer in the instance structure. We should have cleaned this up
8950 when we had the chance...
8952 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8954 * src/hildon-window.c: do not get the private date from HildonWindow before
8955 it passes the g_return_if_fail check. Once it's passed the test, there's no
8956 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8957 if you are only going to access the data once. Whitespace cleanups.
8959 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8961 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8962 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8964 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * debian/changelog: Updating.
8972 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * src/hildon-window.c: When destroying the window, remove (if exists) the
8975 escape timeout handler. Fixes #NB59276.
8977 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * src/hildon-banner.c: When realizing the widget, set the window
8980 transiency. Setting the transiency in the gobject constructor is not
8981 good, as the widget is not realized at that point. Fixes: #NB56624.
8983 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8985 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8986 Add padding for future expansions.
8988 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8990 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
8991 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
8992 will fake an activation on the previous to the last item of the trail, so
8993 the effect can be overrided by the developer as usual.
8994 Also change the callback for the back button to do the same thing, so its
8995 effect can be overrided too. Fixes: NB#58982
8997 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9000 HildonCaption. Fixes NB#52379.
9002 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9004 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9005 the internal state of the trail after the user has had the chance of executing
9006 his handler for the signal. Specifically, it may happen that the activated button
9007 is removed and the user still lets the default handler run. This would segfault
9010 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9013 scrollbar to the preview dialog. Fixes NB#54147.
9015 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9018 max/min year properties can be altered, so the client can modify it
9019 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9021 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9023 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9024 hildonlike by default. Fixing a problem with disappearing arrows when
9025 scrolling through months and years. Fixes NB#54127.
9027 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 * examples/hildon-date-editor-example.c: Adding error callback to the date
9032 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9038 * configure.ac: Updating.
9040 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * configure.ac: Adding a special '--enable-xan' configure option that
9043 turns off the -Werror compilation setting. Usefull for development.
9045 * src/hildon-calendar.c:
9046 * src/hildon-number-editor.c:
9047 * src/hildon-time-picker.c: Adding the 5* multiplier to
9050 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9052 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9053 instead of g_object_ref + gtk_object_sink.
9055 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * debian/changelog: Updating.
9063 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-color-chooser-dialog.c:
9066 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9067 straight from Tommi labs.
9069 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * examples/hildon-finger-example.c: Correcting the header file path.
9073 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9074 the changed signal. Fixes a small memory leak.
9076 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * src/hildon-banner.c: Importing several usefull fixes from the
9081 ubuntu-mobile branch.
9083 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * examples/Makefile.am:
9086 * examples/hildon-finger-example.c: Adding a finger-checking code
9089 * src/hildon-font-selection-dialog.c: Do not allocate the color
9090 structure using the g_new. Fixes NB#54061.
9092 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9094 * src/hildon-helper.c: Correcting tabs in file.
9096 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9098 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9099 control the visibility of the children.
9101 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9103 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/changelog: Updating.
9111 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9113 * src/hildon-bread-crumb-trail.c:
9114 (hildon_bread_crumb_trail_size_allocate):
9116 Make the back button always a square.
9118 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9120 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9121 from the .c file as it's a private file.
9123 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9125 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9126 uses slightly bigger height.
9128 * src/hildon-font-selection-dialog.c: Adding some checks before
9129 freeing memory in the font selection dialog.
9131 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-font-selection-dialog.c: Adding a small check when
9136 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9137 buttons sensitivity on page switching.
9139 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9141 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9142 internal details of adding a bread crumb to the trail.
9144 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * debian/changelog: Updating.
9152 * src/hildon-bread-crumb-trail.h:
9153 * src/hildon-bread-crumb.h: Changing the API guard to
9154 HILDON_ENABLE_UNSTABLE_API.
9156 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9164 * src/hildon-helper.h: Updating.
9166 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * src/hildon-helper.h: Small fix to make the package actually compile.
9180 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9182 * src/hildon-bread-crumb-trail.h:
9183 * src/hildon-bread-crumb.h:
9185 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9186 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9188 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9190 * examples/hildon-bread-crumb-trail-example.c:
9192 * src/hildon-bread-crumb-trail.c:
9193 * src/hildon-bread-crumb-trail.h:
9194 * src/hildon-bread-crumb.c:
9195 * src/hildon-bread-crumb.h:
9196 * src/hildon-marshalers.list:
9197 * src/hildon-bread-crumb-widget.c:
9198 * src/hildon-bread-crumb-widget.h:
9200 Slight change in the widget design. The bread crumb trail API is
9201 unchanged, but HildonBreadCrumb is now an interface. A *private*
9202 implementation, hildon-bread-crumb-widget, is provided and used
9203 internally by the trail for the push_text/push_icon functions.
9205 The generic push API is still available, so anyone can implement
9206 and use its own bread crumb widget.
9208 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * debian/rules: Fixing the shlibs.
9212 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9214 * src/hildon-banner.c: Fixing a problem with timed banners having
9215 their parrent destroyed before they are.
9217 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9219 * src/hildon-bread-crumb.c:
9220 * src/hildon-bread-crumb.h:
9222 Make the get_natural_size function a vfunc.
9224 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9226 * src/hildon-bread-crumb.c:
9227 * src/hildon-bread-crumb-trail.c:
9231 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9238 * debian/changelog: Updating for release.
9240 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9242 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9243 don't leak the pango layout.
9245 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9248 * examples/hildon-bread-crumb-trail-example.c:
9252 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9254 * debian/changelog: Removing the bug-fixed entries that were actually
9255 resolved as WONTFIX.
9257 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9260 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9262 * src/hildon-bread-crumb-trail.c:
9263 * src/hildon-bread-crumb-trail.h:
9264 * src/hildon-bread-crumb.c:
9265 * src/hildon-bread-crumb.h:
9269 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9271 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9272 until it's passed the type check.
9274 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9276 * examples/hildon-bread-crumb-trail-example.c
9280 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9282 * examples/Makefile.am
9283 * examples/hildon-bread-crumb-trail-example.c
9285 * src/hildon-bread-crumb-trail.c
9286 * src/hildon-bread-crumb-trail.h
9287 * src/hildon-bread-crumb.c
9288 * src/hildon-bread-crumb.h
9290 New HildonBreadCrumbTrail widget.
9292 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9294 * src/hildon-range-editor.c (hildon_range_editor_init),
9295 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9296 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9297 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9298 hildon_time_editor_class_init, hildon_time_editor_init),
9299 src/hildon-get-password-dialog.c (invalid_input,
9300 hildon_get_password_set_property, hildon_get_password_get_property,
9301 create_contents, hildon_get_password_dialog_set_max_characters),
9302 src/hildon-set-password-dialog.c (create_contents),
9303 src/hildon-date-editor.c (hildon_date_editor_init),
9304 src/hildon-login-dialog.c (hildon_login_dialog_init),
9305 src/hildon-number-editor.c (hildon_number_editor_init),
9306 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9307 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9308 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9309 configure option and adding the respective checks in the code.
9310 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9311 hildon_calendar_drag_data_received): fixed some build warnings.
9313 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9315 * debian/changelog: A 1.0.0 release notes.