1 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
3 * hildon/hildon-touch-selector.[ch]
4 (hildon_touch_selector_center_on_index): New method that allows to center
7 Fixes NB#130291 (New HildonTouchSelector API is required to center on
10 2009-07-29 Alberto Garcia <agarcia@igalia.com>
12 * hildon/hildon-text-view.c
13 (+set_logical_color, +hildon_text_view_style_set)
14 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
15 (hildon_text_view_init)
16 * hildon/hildon-entry.c
17 (+set_logical_color, +hildon_entry_style_set)
18 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
19 (hildon_entry_class_init, hildon_entry_init)
20 * hildon/hildon-button.c
21 (+set_logical_font, +set_logical_color)
22 (hildon_button_style_set, hildon_button_init)
23 (hildon_button_set_arrangement, hildon_button_set_style):
24 Remove all calls to hildon_helper_set_logical_font() and
25 hildon_helper_set_logical_color(), which are recursive, from
28 Fixes: NB#123409 (Showing dialog consumes significant amount of
31 2009-07-29 Alejandro G. Castro <alex@igalia.com>
33 * hildon/hildon-pannable-area.c,
34 (hildon_pannable_area_timeout): Added the process updates of the
35 scrollbars window in the pannable.
37 Fixes: NB#130043 (scrollindicator not smooth while paning)
39 2009-07-23 Alejandro G. Castro <alex@igalia.com>
41 * hildon/hildon-pannable-area.c,
42 (hildon_pannable_area_check_move),
43 (hildon_pannable_area_button_release_cb),
44 (hildon_pannable_area_scroll_to): Increased the priority of the
45 timeout this way it is going to be handled before the events.
47 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
51 * configure.ac: bump version
52 * debian/changelog: updates
54 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
56 * hildon/hildon-entry.c: (set_property): Do not allow to set
57 automatic height and use finger height instead, to prevent an to
58 have a smaller size than than its theme pixbuf.
60 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
62 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
64 * configure.ac: postrelease version bump.
65 * debian/changelog: post release version bump
67 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
72 * configure.ac: Bump version.
73 * debian/changelog: Updates.
75 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
77 * hildon/hildon-note.c: (label_size_request): Take the note
78 padding into account when setting the size request.
80 Fixes: NB#127896 (Information notes text truncated)
82 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
84 * configure.ac: postrelease version bump.
85 * debian/changelog: post release version bump
87 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
92 * configure.ac: Bump version.
93 * debian/changelog: Updates.
95 2009-07-16 Alejandro G. Castro <alex@igalia.com>
98 * hildon/hildon-text-view.c,
99 (hildon_text_view_button_press_event): Grabbed the focus in button
100 press, this way we are sure the widget has the focus in the
101 release event, required for HIM.
103 Fixes: NB#121445 (Virtual keyboard opening is not working in same
104 way for each text entry field)
106 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
108 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
109 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
110 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
111 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
112 (hildon_pannable_area_[gs]et_center_on_child_focus)
113 Redefined GtkContainer set-focus-child signal, in order to center
114 properly on a child when it receives the focus. Defined a new property
115 "center-on-child-focus" in order to activate this feature (deactivated
116 by default). Public get/set methods defined to manage the property.
118 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
120 2009-07-14 László Pere <lpere@blumsoft.eu>
122 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
123 the new size is applied.
125 Fixes: NB#124510 (The Application Menu is distorted when switched
126 between portrait and landscape mode)
127 Fixes: NB#115388 (Power key menu does not resize itself)
129 2009-07-01 Alberto Garcia <agarcia@igalia.com>
131 * hildon/hildon-banner.c (hildon_banner_map):
132 Set banner position after mapping.
134 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
136 * configure.ac: postrelease version bump.
137 * debian/changelog: post release version bump
139 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
144 * configure.ac: Bump version.
145 * debian/changelog: Updates.
147 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
149 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
152 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
154 * tests/check-hildon-banner.c
156 * tests/test_suites.h
157 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
158 were testing deprecated functions.
159 * examples/hildon-banner-example.c: typo on button3 type, that causes
160 a fail compiling with --with-examples but without --disable-deprecated
162 Missed commit in order to fix compilation using '--enable-fatal' and
163 '--disable-deprecated' (see previous commit)
165 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
167 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
168 functions with #ifndef HILDON_DISABLE_DEPRECATED
169 * examples/hildon-find-toolbar.c: Protect deprecated
170 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
171 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
172 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
173 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
175 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
176 to allow proper compilation of deprecated functions defined on the header
178 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
180 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
182 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
183 Cache the panning indicator color.,
184 (hildon_pannable_area_style_set): Query the color on style changes.
185 (hildon_pannable_draw_vscroll),
186 (hildon_pannable_draw_hscroll),
187 (hildon_pannable_area_expose_event): Use the cached panning indicator
188 color instead of looking it up on every expose and more.
190 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
192 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
193 (hildon_pannable_draw_hscroll),
194 (hildon_pannable_area_expose_event): Fix the panning indicator color,
195 so that it's "SecondaryTextColor", as desired.
197 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
199 * hildon/hildon-picker-dialog.c:
200 (selection_completed): take into account HILDON_UI_MODE_NORMAL
201 * hildon/hildon-touch-selector.c
202 (hildon_touch_selector_init): Initialize hildon-ui-mode
203 (hildon_touch_selector_row_activated): new callback for the
204 "row-activated" signal, in order to save the last activated
205 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
206 if the current hildon-ui-mode is coherent with the touch selector
207 (hildon_touch_selector_class_init)
208 (hildon_touch_selector_get_property)
209 (hildon_touch_selector_set_property)
210 Added "hildon-ui-mode" property
211 (disconnect_model_handlers): renamed to clean_column
212 (hildon_touch_selector_remove): use clean_column function
213 (_create_new_column): use the hildon-ui-mode to create the treeview, and
214 only select the first element on HILDON_UI_MODE_EDIT
215 (hildon_touch_selector_column_init): Initialize last_activate
216 (hildon_touch_selector_append_column): check that the touch selector
217 is coherent with the current hildon-ui-mode
218 (hildon_touch_selector_get_hildon_ui_mode)
219 (hildon_touch_selector_set_hildon_ui_mode)
220 Added a getter/setter for the hildon-ui-mode property
221 (hildon_touch_selector_get_last_activated_row): Added this method in
222 order to get the last activated row.
223 * examples/hildon-touch-selector-normal-mode-example.c
224 New example, that shows how to use the HildonTouchSelector in
225 HILDON_UI_MODE_NORMAL
227 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
228 Kristian Rietveld <kris@lanedo.com> advices
230 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
232 * hildon/hildon-time-selector.c: (update_format_policy): Do
233 not call update_format_dependant_columns() if not necessary.
234 (update_format_dependant_columns): Remove unnecessary check for
235 the number of columns.
237 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
239 * hildon/hildon-note.c (+hildon_note_constructor),
240 (hildon_note_class_init), (+hildon_note_set_padding),
241 (hildon_note_rebuild): Install a constructor where to set the
242 padding properties in the note, so that it actually works fine.
243 Use hildon_note_set_padding() for this, and also to set it during
246 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
248 * configure.ac: Bump GTK+ requirement to 2.14.3.
249 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
250 when using maemo-gtk to define proper margins for the notes.
252 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
253 with the dialog edge)
255 2009-06-24 Alberto Garcia <agarcia@igalia.com>
257 * hildon/hildon-banner.c
258 (hildon_banner_class_init):
260 (+hildon_banner_size_request):
261 Request always the full width of the screen.
262 (hildon_banner_realize)
263 (-hildon_banner_check_position, hildon_banner_map):
264 hildon_banner_check_position() is not needed in Hildon 2.2.
265 (-hildon_banner_reset_wrap_state)
266 (hildon_banner_constructor, hildon_banner_init):
267 Remove unnecessary calls to hildon_banner_reset_wrap_state()
268 (+banner_do_set_text)
269 (force_to_wrap_truncated):
270 Remove has_been_wrapped and has_been_truncated attributes.
271 (+reshow_banner, hildon_banner_real_show_information)
272 (hildon_banner_show_information_with_markup)
273 (hildon_banner_show_animation, hildon_banner_show_progress)
274 (hildon_banner_set_text, hildon_banner_set_markup):
275 Refactor code. Shrink banner vertically to use the minimum space
276 necessary everytime the text of the label is updated.
277 (screen_size_changed):
278 Call force_to_wrap_truncated() when the size of the screen
281 Fixes: NB#120500 (only device memory connect mmc in use info
282 banner is left aligned)
284 Fixes: NB#120613 (Size of HildonBanner varies depending on
285 previously opened banners)
287 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
289 * hildon/hildon-color-chooser.c
290 (hildon_color_chooser_pointer_motion): Take the widget allocation
293 Fixes: NB#124385 (Unable to select exact point in color mixing box
294 in color palette dialog)
296 2009-06-23 Alejandro G. Castro <alex@igalia.com>
298 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
299 (hildon_pannable_area_dispose)
300 (hildon_pannable_area_button_press_cb)
301 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
302 (hildon_pannable_area_button_release_cb)
303 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
304 New 'panning-started' and 'panning-finished' signals.
306 Fixes: NB#121732 (New feature request: Signal to pannable area
307 that informs when panning is stopped.)
309 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
311 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
312 instead of hardcoded colon.
314 Fixes: NB#124090 (New calendar wizard title is not using
315 ecdg_ti_caption_separator)
317 2009-06-22 David King <davidk@openismus.com>
319 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
320 constants and functions, as well as correct many typos throughout the
323 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
326 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
328 * configure.ac: postrelease version bump.
329 * debian/changelog: post release version bump
331 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
336 * configure.ac: Bump version.
337 * debian/changelog: Updates.
339 2009-06-18 Alberto Garcia <agarcia@igalia.com>
341 * hildon/hildon-window-stack.c
342 (hildon_window_stack_pop_and_push_list):
343 Prevent windows from having the same stack index
345 2009-06-18 Alberto Garcia <agarcia@igalia.com>
347 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
348 Use the index of the previous window rather than the stack length
349 to calculate the new index.
353 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
355 * hildon/hildon-date-selector.c
356 (hildon_date_selector_select_current_date)
357 (hildon_date_selector_get_date)
358 (hildon_date_selector_select_day):
359 Update the documentation: uses always the range (1-31), as it is obvious
360 that the final one will depend on the month and the year, but globally
361 the range is this, in a similar GtkCalendar approach
362 (hildon_date_selector_get_date):
363 Update the documentation: add NULL as a valid value for the day, month
366 Fix some details, after talk with David King on bug MB#4698
368 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
370 * hildon/hildon-touch-selector-entry.c
371 * hildon/hildon-touch-selector.c
372 Update the documentation of the "text-column" property
374 2009-06-18 David King <davidk@openismus.com>
376 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
377 several typos and errors throughout the documentation.
379 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
382 2009-06-18 Alberto Garcia <agarcia@igalia.com>
384 * hildon/hildon-note.c (hildon_note_realize):
385 Make HildonNote support portrait mode.
387 Fixes: NB#123448 (HildonNote is not portrait-friendly)
389 2009-06-17 Alberto Garcia <agarcia@igalia.com>
391 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
392 Document this function
394 2009-06-17 David King <davidk@openismus.com>
396 * hildon/hildon-date-selector.c
397 (hildon_date_selector_select_current_date)
398 (hildon_date_selector_get_date): Update documentation regarding days,
399 as the day of the month is dependent on both the month and the year.
400 (hildon_date_selector_get_date): Fix documentation of output arguments.
402 Fixes: MB#4698 (DateSelector documentation has bad output argument
403 description, and the day depends on both the month and the year)
405 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
407 * hildon/hildon-caption.c: Other documentation fixes to
410 2009-06-17 David King <davidk@openismus.com>
412 * hildon/hildon-caption.c: Minor documentation updates for
413 HildonCaption. Fixes MB#4697.
415 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
417 * doc/hildon-docs.sgml: Add hildon-version section.
418 * doc/hildon-sections.txt:
419 * hildon/hildon-version.h.in: Document versioning macros and
422 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
424 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
425 from HildonPickerDialog section.
427 2009-06-16 Alberto Garcia <agarcia@igalia.com>
429 * hildon/hildon-banner.c (hildon_banner_bind_style)
430 (screen_size_changed, hildon_banner_init)
431 (hildon_banner_real_show_information)
432 (hildon_banner_show_information_with_markup)
433 (hildon_banner_show_animation, hildon_banner_show_progress):
434 Set a different widget name to banners in portrait mode, for them
435 to be themed correctly.
437 2009-06-16 Alberto Garcia <agarcia@igalia.com>
439 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
440 Set a different widget name to notes in portrait mode, for them to
443 Partially fixes: NB#118401 (HildonNote causes unnecessary
446 2009-06-16 Alberto Garcia <agarcia@igalia.com>
448 * hildon/hildon-note.c (hildon_note_class_init)
449 (+hildon_note_size_request, screen_size_changed):
450 Always request the full width of the screen.
452 Fixes: NB#118375 (unnecessary rescaling of images)
454 2009-06-16 Alejandro G. Castro <alex@igalia.com>
456 * hildon/hildon-pannable-area.c,
457 (hildon_pannable_area_init),
458 (hildon_pannable_area_realize): Replaced old code adding flags in
459 the object init, now we add it with the other flags in the realize
462 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
464 * hildon/hildon-note.c: (hildon_note_class_init): Several
465 documentation improvements to the HildonNote widget.
467 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
469 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
471 Fixes: MB#4556 (HildonNoteType is undocumented)
473 2009-06-15 Alberto Garcia <agarcia@igalia.com>
475 * hildon/hildon-picker-button.c:
476 Explain how HildonPickerButton sets the title of its dialog
478 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
479 the title of its dialog)
481 2009-06-15 Alberto Garcia <agarcia@igalia.com>
483 * hildon/hildon-check-button.c:
484 Documentation updates
486 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
489 2009-06-15 Alberto Garcia <agarcia@igalia.com>
492 * hildon/hildon-edit-toolbar-private.h
493 * hildon/hildon-edit-toolbar.c
494 (+hildon_edit_toolbar_set_progress_indicator)
495 (hildon_edit_toolbar_init): Add progress indicator to the
498 * hildon/hildon-gtk.c
499 (hildon_gtk_window_set_progress_indicator):
500 If the window contains a HildonEditToolbar, enable the progress
503 * hildon/hildon-private.h
504 * hildon/hildon-private.c
505 (+hildon_private_create_animation)
506 * hildon/hildon-banner.c
507 (-hildon_banner_create_animation):
508 Moved to hildon-private.c
510 Fixes: NB#102373 (Progress indicator also for the Edit mode
513 2009-06-15 Alberto Garcia <agarcia@igalia.com>
515 * hildon/hildon-app-menu-private.h
516 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
517 (hildon_app_menu_add_filter, +menu_item_button_event)
518 (hildon_app_menu_button_release, hildon_app_menu_init):
519 Make sure that buttons receive 'button-release-event' in spite of
520 the grab held by HildonAppMenu
522 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
524 2009-06-15 Alberto Garcia <agarcia@igalia.com>
526 * hildon/hildon-app-menu.c
527 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
528 New style property to set the size of the group of filter buttons.
530 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
532 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
537 * configure.ac: Bump version.
538 * debian/changelog: Updates.
540 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
542 * hildon/hildon-main.c: Minor documentation fixes.
544 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
546 * doc/hildon-sections.txt:
547 * hildon/hildon-defines.h: Document the defines, organize them,
548 and mark deprecations as such.
550 Fixes: MB#4463 (Hildon size #defines are undocumented)
552 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
554 * hildon/hildon-animation-actor.c:
555 * hildon/hildon-app-menu.c:
556 * hildon/hildon-button.c:
557 * hildon/hildon-date-editor.c:
558 * hildon/hildon-dialog.c:
559 * hildon/hildon-edit-toolbar.c:
560 * hildon/hildon-entry.c:
561 * hildon/hildon-program.c:
562 * hildon/hildon-remote-texture.c:
563 * hildon/hildon-stackable-window.c:
564 * hildon/hildon-text-view.c:
565 * hildon/hildon-touch-selector.c:
566 * hildon/hildon-window-stack.c:
567 * hildon/hildon-window.c:
569 Remove redundant "represents" wording from most of the documentation.
571 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
573 2009-06-12 Alberto Garcia <agarcia@igalia.com>
578 * hildon/hildon-banner-private.h
579 * hildon/hildon-banner.c:
580 Move HildonBannerPrivate to hildon-banner.c and remove
581 hildon-banner-private.h
582 Use a bit field to store private booleans.
584 2009-06-12 Alberto Garcia <agarcia@igalia.com>
586 * hildon/hildon-app-menu.c (hildon_app_menu_map):
587 Don't install a new idle function if there's already one
592 2009-06-11 Alberto Garcia <agarcia@igalia.com>
594 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
595 (+legacy_menu_realized, +legacy_menu_unmapped)
596 (+set_legacy_menu_type):
597 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
598 they can be identified by the window manager.
600 Fixes: NB#101437 (Invoking CSM on the left side of page area is
601 displayed in wrong location)
603 Fixes: MB#4563 (Popup menu won't locate at the left side of the
606 2009-06-11 Alberto Garcia <agarcia@igalia.com>
608 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
610 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
613 2009-06-11 Alberto Garcia <agarcia@igalia.com>
615 * hildon/hildon-code-dialog.c
616 * hildon/hildon-date-editor.c
617 * hildon/hildon-number-editor.c
618 * hildon/hildon-seekbar.c
619 * hildon/hildon-stackable-window.c
620 * hildon/hildon-window.c:
621 Misc documentation updates
623 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
625 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
626 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
628 Fixes: NB#117931 (Theming issues in accounts dialogs)
630 2009-06-09 Alejandro G. Castro <alex@igalia.com>
632 * hildon/hildon-pannable-area.c,
633 (hildon_pannable_area_button_release_cb): Changed the coordinates
634 of the original release in case we want to discard the release,
635 some widgets in Fremantle do not handle the leave-notify.
637 2009-06-09 Alejandro G. Castro <alex@igalia.com>
639 * hildon/hildon-pannable-area.c,
640 (hildon_pannable_area_button_release_cb): Reviewed the logic of
641 the release using the last refactored functions and avoiding the
642 movement if an element was selected.
644 2009-06-09 Alejandro G. Castro <alex@igalia.com>
646 * hildon/hildon-pannable-area.c,
647 (hildon_pannable_area_check_move),
648 (hildon_pannable_area_handle_move),
649 (hildon_pannable_area_motion_notify_cb): Refactored the
650 motion_notify method using a couple of new functions.
652 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
654 * hildon/hildon-date-selector.c:
655 (hildon_date_selector_construct_ui):
656 * hildon/hildon-time-selector.c:
657 (hildon_time_selector_constructor):
658 * hildon/hildon-touch-selector-entry.c:
659 (hildon_touch_selector_entry_set_text_column),
660 (hildon_touch_selector_entry_get_text_column):
661 * hildon/hildon-touch-selector.c: (_default_print_func),
662 (hildon_touch_selector_new_text): Use
663 hildon_touch_selector_set/get_text_column() instead of
664 setting/getting the "text-column" property.
666 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
668 * doc/hildon-sections.txt: Add the new public methods below.
670 * examples/hildon-picker-button-multicolumn-example.c:
671 (create_touch_selector):
672 * examples/hildon-touch-selector-example.c: (create_selector):
673 * examples/hildon-touch-selector-multi-cells-example.c:
675 Use hildon_touch_selector_column_set_text_column()
677 * hildon/hildon-touch-selector-column.h:
678 * hildon/hildon-touch-selector.c:
679 (hildon_touch_selector_column_set_text_column),
680 (hildon_touch_selector_column_get_text_column):
681 Make hildon_touch_selector_column_set/get_column() public, use
682 them in the inline example, document them, and reference to them
685 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
687 * hildon/hildon-time-selector.c: Fix the docs for
688 hildon_time_selector_new_step().
690 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
692 * hildon/hildon-touch-selector.c: Improve the documentation for
693 hildon_touch_selector_append_column().
695 Fixes MB#4641 (Documentation:
696 hildon_touch_selector_append_column() ref-counting)
698 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
700 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
701 Comment out test 5, since the hildon_controlbar_set_range() range
702 check is broken and fixing it would have side effects. Also,
703 this finally fixes make distcheck.
705 Fixes: NB#101420 (Update unit tests and fix make distcheck)
707 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
709 * tests/TEST-CASES.txt: Remove other bogus test.
710 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
711 Remove bogus test that was setting/retrieving a valid value.
713 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
715 * tests/TEST-CASES.txt: Remove bogus tests.
716 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
717 Remove three bogus tests that were actually setting valid colors.
719 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
721 * configure.ac: post release version bump
722 * debian/changelog: post release version bump
724 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
729 * configure.ac: Bump version.
730 * debian/changelog: Updates.
732 2009-06-08 Christian Dywan <christian@lanedo.com>
736 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
737 Correct errors in hildon_format_file-size_for_display and use
738 translations from the hildon-fm package instead of osso-filemanager.
740 2009-06-08 Alejandro G. Castro <alex@igalia.com>
742 * hildon/hildon-pannable-area.c,
743 (hildon_pannable_area_init): Initialized new values to handle the
745 (hildon_pannable_area_adjust_value_changed): Check if the values
746 changed before even call the redraw function.
747 (hildon_pannable_area_size_allocate),
748 (hildon_pannable_axis_scroll),
749 (hildon_pannable_area_scroll),
750 (hildon_pannable_area_jump_to): Improved the diagonal movement
753 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
756 2009-06-08 Alberto Garcia <agarcia@igalia.com>
758 * examples/hildon-banner-example.c:
759 Several style updates
760 (on_animation_clicked, on_animation_idle)
761 (on_progress_clicked, on_progress_idle):
762 Add additional reference for the cases when the parent window is
765 2009-06-08 Alberto Garcia <agarcia@igalia.com>
767 * doc/hildon-sections.txt
768 * hildon/hildon-pannable-area.c
769 * hildon/hildon-banner.h
770 * hildon/hildon-banner.c: Documentation updates.
772 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
775 2009-06-05 Alejandro G. Castro <alex@igalia.com>
777 * hildon/hildon-calendar-popup.h:
778 * hildon/hildon-caption.h:
779 * hildon/hildon-code-dialog.h:
780 * hildon/hildon-controlbar.h:
781 * hildon/hildon-date-editor.h:
782 * hildon/hildon-dialog.h:
783 * hildon/hildon-get-password-dialog.h:
784 * hildon/hildon-hvolumebar.h:
785 * hildon/hildon-login-dialog.h:
786 * hildon/hildon-note.h:
787 * hildon/hildon-number-editor.h:
788 * hildon/hildon-range-editor.h:
789 * hildon/hildon-seekbar.h:
790 * hildon/hildon-set-password-dialog.h:
791 * hildon/hildon-sort-dialog.h:
792 * hildon/hildon-time-editor.h:
793 * hildon/hildon-time-picker.h:
794 * hildon/hildon-volumebar-range.h:
795 * hildon/hildon-volumebar.h:
796 * hildon/hildon-vvolumebar.h:
797 * hildon/hildon-weekday-picker.h:
798 * hildon/hildon-window.h:
799 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
800 macros with the current replacements
802 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
804 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
806 * hildon/hildon-color-button.c (hildon_color_button_init): Use
807 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
808 itself, to make it fit better with Fremantle style.
810 Fixes: NB#109878 (height and width of focus on color icon is not
811 consistent with other item in the application tool bar)
813 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
815 * hildon/hildon-touch-selector.c:
816 (hildon_touch_selector_optimal_size_request): use the current requisition
817 as the base, in order to include any possible extra widget, like the
818 hildon entry on HildonTouchSelectorEntry
820 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
822 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
824 * configure.ac: post release version bump
825 * debian/changelog: post release version bump
827 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
832 * configure.ac: Bump version.
833 * debian/changelog: Updates.
835 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
837 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
839 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
840 to ensure the banner contents are centered, instead of relying on
841 the expand and fill properties in GtkHBox.
842 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
844 Fixes: NB#108265 (Animation banner not properly centered)
846 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
848 * hildon/hildon-pannable-area.c
849 (hildon_pannable_area_initial_effect): Remove the initial_effect
850 management, check initial_hint
851 (hildon_pannable_are_expose_event): Remove the initial_hint management,
852 set initial_effect to FALSE
853 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
854 by launching the fade_timeout if the scrollbars state has changed and are
856 * examples/hildon-pannable-area-initial-hint-example.c
857 Modified to allow to remove rows too. Add and remove rows one by one.
859 2009-05-28 Alberto Garcia <agarcia@igalia.com>
861 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
862 Don't close the menu if there's an animation actor below it.
864 Fixes: NB#117927 (Application menu not usable with animation
867 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
869 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
870 "focus-on-click" from the dialog button, to avoid stealing the
871 focus from the entry.
873 Fixes: NB#118903 (Account setup wizard: Text in Search field
874 should be focused when "Region" touch list picker is reopened
877 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
879 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
880 (prepare_action_area): Completely hide the dialog separator.
882 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
884 * hildon/hildon-touch-selector-entry.c
885 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
886 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
887 now that the entry is exposed.
889 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
891 * hildon/hildon-touch-selector-entry.c
892 (hildon_touch_selector_entry_init): Change the entry's size
893 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
895 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
897 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
898 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
899 avoid unnecessary scaling.
901 2009-05-27 Alberto Garcia <agarcia@igalia.com>
903 * hildon/hildon-app-menu.c (hildon_app_menu_map):
904 Create grab transfer window before calling parent's map function.
906 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
907 "crushed" button(s) in the top left corner)
909 2009-05-26 Alberto Garcia <agarcia@igalia.com>
911 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
912 Check if the window is already realized when pushing it.
914 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
916 * configure.ac: post release version bump
917 * debian/changelog: post release version bump
919 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
924 * configure.ac: Bump version.
925 * debian/changelog: Updates.
927 2009-05-25 Alberto Garcia <agarcia@igalia.com>
929 * hildon/hildon-app-menu.c: Doc updates.
931 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
933 * hildon/hildon-banner.c: Remove leftover macro.
935 2009-05-25 Alejandro G. Castro <alex@igalia.com>
937 * hildon/hildon-pannable-area.c,
938 (hildon_pannable_area_scroll_indicator_fade),
939 (hildon_pannable_area_button_release_cb): Reviewed vmin
940 conditions, it could cause problems in the fadeout procedure.
942 2009-05-25 Alejandro G. Castro <alex@igalia.com>
944 * hildon/hildon-pannable-area.c
945 (hildon_pannable_area_button_release_cb): Added a threshold to
946 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
948 2009-05-25 Alejandro G. Castro <alex@igalia.com>
950 * hildon/hildon-pannable-area.c,
951 (hildon_pannable_area_set_property): Added code to sync the gtk
952 dnd threshold with the panning threshold.
954 2009-05-25 Alejandro G. Castro <alex@igalia.com>
956 * hildon/hildon-pannable-area.c,
957 (hildon_pannable_area_class_init): Changed some of the default
958 values, now it should be less responsive and more accurate.
960 2009-05-25 Alejandro G. Castro <alex@igalia.com>
962 * hildon/hildon-pannable-area.c,
963 (hildon_pannable_area_init),
964 (hildon_pannable_area_scroll_indicator_fade),
965 (hildon_pannable_area_button_press_cb),
966 (hildon_pannable_axis_scroll),
967 (hildon_pannable_area_timeout),
968 (hildon_pannable_area_motion_notify_cb),
969 (hildon_pannable_area_button_release_cb): Changed the name of the
970 clicked attribute to button_pressed, it is more clear about its use.
972 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
974 * src/hildon-pannable-area.c
975 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
977 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
978 vertical scrollbar visibility, and use the data on private section instead,
979 remove the initial_hint check
980 (hildon_pannable_area_expose_event): add the initial_hint check here
982 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
984 * src/hildon-pannable-area.c
985 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
986 if the fadeout effect was used
987 (hildon_pannable_area_expose_event): check if it is required to
988 manage the initial effect on the begining of the function. Previously
989 it was made at the end, but this doesn't ensure that the scrollbars
990 will be painted on the first show. Do not set to FALSE initial_effect,
991 to ensure that the initial hint is showed the first time the pannable
993 * examples/Makefile.am
994 * examples/hildon-pannable-area-initial-hint-example.c:
995 New example, to show that the initial-hint is showed when the widget
998 Fixes: NB#116607 (Pannable area should always have scrollbar visible
999 initially if the application can be scrolled)
1001 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1003 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1004 Resize table before adding new items to make sure that
1005 gtk_table_resize() is called just once.
1007 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1009 * hildon/hildon-app-menu-private.h
1010 * hildon/hildon-app-menu.c (item_visibility_changed)
1011 (filter_visibility_changed, hildon_app_menu_show_all)
1012 (hildon_app_menu_hide_all, hildon_app_menu_init):
1013 Rearrange items just once when gtk_widget_show_all()/hide_all()
1016 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1018 * hildon/hildon-app-menu.c
1019 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1020 Don't call gtk_widget_show() on added items.
1022 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1023 automatically when they're added)
1025 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1027 * hildon/hildon-banner.c
1028 (hildon_banner_realize, +hildon_banner_unrealize)
1029 (+screen_size_changed, hildon_banner_class_init):
1030 Redisplay the banner if the screen is rotated.
1032 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1033 on transition from landscape to portrait)
1035 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1037 * hildon/hildon-banner.[ch]:
1038 (hildon_banner_show_information_override_dnd): remove icon_name from the
1039 method definition as it is ignored.
1040 * examples/hildon-banner-dnd-example.c: updated with the change on
1043 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1045 * hildon/hildon-banner-private.h: new require_override_dnd and
1046 overrides_dnd variables
1047 * hildon/hildon-banner.h:
1048 (hildon_banner_show_information_override_dnd): new method, that shows
1049 the information but sets the override flag, in order to show important
1051 * hildon/hildon-banner.c
1052 (hildon_banner_show_information_override_dnd): new method
1053 (hildon_banner_set_override_flag): new utility function
1054 (hildon_banner_real_show_information): new utility function, in order to
1055 generalize the current hildon_banner_show_information_override_dnd and
1056 hildon_banner_show_information_override_dnd
1057 * examples/Makefile.am
1058 * examples/hildon-banner-dnd-example.c: New example that show how to
1059 use the new hildon_banner_show_information_override_dnd
1061 Fixes: NB#114874 (There is no possibility to show hildon banners with
1064 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1066 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1067 behind hildon_pannable_calculate_vel_factor().
1069 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1071 * hildon/hildon-pannable-area.c
1072 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1073 deceleration factors.
1075 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1077 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1078 Reduce the default value for 'scroll_time' to 1 second, since the
1079 current initial scrolling takes too much time.
1081 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1083 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1084 calculate velocity factor during initialization, since the properties
1087 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1089 * hildon/hildon-pannable-area.c
1090 (hildon_pannable_area_set_property): Calculate the velocity factor
1091 after setting the deceleration property and not after.
1093 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1095 * hildon/hildon-entry.c
1096 (hildon_entry_class_init, +set_property, hildon_entry_new)
1097 * hildon/hildon-check-button.c
1098 (hildon_check_button_class_init)
1099 (+set_property, hildon_check_button_new):
1100 Make the theme size a property.
1102 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1103 others) do too much in the _new function)
1105 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1107 * configure.ac: post release version bump
1108 * debian/changelog: post release version bump
1110 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1115 * configure.ac: Bump version.
1116 * debian/changelog: Updates.
1118 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1120 * hildon/hildon-gtk.h
1121 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1122 New API function to take a screenshot of a window
1124 Fixes: NB#106374 (Need API to take a loading screenshot)
1126 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1128 * hildon/hildon-time-selector.c
1129 (update_format_policy): prevent to use hours and minutes unitialized
1131 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1133 * hildon/hildon-window.c (hildon_window_size_request):
1134 Always request the full size of the screen (minus the title bar if
1135 not in fullscreen mode).
1137 Fixes: NB#107486 (HildonWindow should size itself properly)
1139 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1141 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1142 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1143 (on_show_cb), (sound_handling): Disconnect the idle handler for
1144 the sound when the note is finalized to avoid possible crashes.
1146 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1149 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1151 * src/hildon-animation-actor.c,
1152 * src/hildon-remote-texture.c:
1153 Added proper object cleanup to remove signal handler and object
1154 references as HildonAnimationActor and HildonRemoteTexture
1155 objects get destroyed.
1157 Fixes: NB#116682 (Destroying parented animation actors when
1158 parent in unmapped leads to crash)
1160 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1162 Based on a patch by Christian Dywan (christian@imendio.com)
1164 * doc/hildon-sections.txt:
1165 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1166 * hildon/hildon-helper.h: New file size formatting method.
1168 * debian/control: Depend on osso-filemanager l10n package for
1169 proper localization strings.
1171 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1173 * tests/Makefile.am: Include top_srcdir to make possible to build
1174 tests in a different builddir.
1175 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1176 on a different builddir.
1178 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1180 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1181 (hildon_touch_selector_remove): Disconnect model's signal handler
1184 Fixes: NB#116289 (Hildon home crashes while adding task
1187 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1189 * hildon/hildon-button.c
1190 (hildon_button_set_title, hildon_button_set_value):
1191 Hide labels containing an empty string.
1193 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1195 * configure.ac: post release version bump
1196 * debian/changelog: post release version bump
1198 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1203 * configure.ac: Bump version.
1204 * debian/changelog: Updates.
1206 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1208 * hildon/hildon-note-private.h: Removed sound_signal_handler
1209 * hildon/hildon-note.c
1210 (on_show_cb): new callback on note "show" event, this simply adds
1211 a idle, with the function sound_handling
1212 (sound_handling): removed the sound_signal_handler management
1213 (hildon_note_init): connect note "show" event to on_show_cb
1214 (hildon_note_realize): remove the connection to "expose-event"
1216 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1217 device?' confirmation note)
1219 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1221 * hildon/hildon-note.c
1222 (hildon_note_new_information_with_icon_name)
1223 (hildon_note_new_confirmation_with_icon_name):
1224 Terminate the list of parameters in g_object_set() calls
1226 Fixes: NB#115166 (Formatting memory card is not taking place)
1228 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1230 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1231 "dialog-information" role for the sound being played.
1233 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1235 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1236 Don't make the menu a modal window, it causes strange interactions
1237 with the pointer grab and it's not really needed.
1239 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1241 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1243 * hildon/hildon-touch-selector.[ch]
1244 (hildon_touch_selector_optimal_size_request): function added to get a
1245 optimal size request from the touch selector, when you want a dialog to
1246 show as much of the selector
1247 * hildon/hildon-picker-dialog.c:
1248 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1249 (hildon_app_menu_class_init):
1250 New "max-height-landscape" and "max-height-portrait" style properties
1251 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1252 (hildon_picker_dialog_get_max_height): returns the maximum height using
1253 the style properties defined and checking the current portrait/landscape
1255 (_hildon_picker_dialog_set_selector): removed the set_size_request
1257 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1259 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1261 * hildon/hildon-bread-crumb-trail.c:
1262 * hildon/hildon-bread-crumb.c:
1263 * hildon/hildon-seekbar.c:
1264 Add reference to replacements for these deprecated widgets.
1266 Fixes: MB#4461 (Documentation: All deprecations should mention
1269 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1271 * examples/hildon-remote-texture-example.c
1273 Change the include to the hildon-remote-texture in order to compile
1274 properly the examples on the installed libhildon1-examples package
1276 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1278 * tests/Makefile.am: Add check for HildonPickerButton.
1279 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1280 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1281 checks for the HildonPickerButton.
1282 * tests/check_test.c (configure_tests): Add the test suite.
1283 * tests/test_suites.h: likewise.
1285 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1287 * hildon/hildon-touch-selector.c
1288 (+on_row_changed): Emit HildonTouchSelector:changed when the
1289 contents of a selected row change.
1290 (_create_new_column), (_hildon_touch_selector_set_model): connect
1291 to GtkTreeModel:row-changed on a newly set model.
1293 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1295 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1297 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1299 * hildon/hildon-banner.c (hildon_banner_destroy)
1300 (hildon_banner_show_progress, hildon_banner_set_fraction):
1301 Remove the progress bar from HildonBanner and use a progress
1304 Fixes: NB#113761 (Update progress banner to use progress
1307 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1309 * hildon/hildon-banner.c:
1310 Calculate size of the banner label using the actual screen width
1311 rather than using a fixed value.
1313 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1316 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1318 * hildon/hildon-pannable-area.c,
1319 (hildon_pannable_area_class_init): Fixed signals documentation
1322 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1324 * configure.ac: post release version bump
1325 * debian/changelog: post release version bump
1327 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1332 * configure.ac: Bump version.
1333 * debian/changelog: Updates.
1335 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1337 * hildon/hildon-edit-toolbar.c
1338 (hildon_edit_toolbar_init):
1339 Don't let buttons in HildonEditToolbar receive focus.
1341 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1342 typing on an HW arrows key)
1344 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1346 * doc/Makefile.am: Fix build.
1348 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1350 * doc/Makefile.am: Do not redefine content_files.
1352 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1360 Renamed src/ to hildon/
1365 Include <hildon/hildon.h> directly in all examples.
1367 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1369 * src/hildon-sort-dialog.c
1370 (hildon_sort_dialog_add_sort_key_with_sorting)
1374 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1376 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1377 make distcheck passes.
1379 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1381 * Makefile.am: Enable gtk-doc during distcheck.
1383 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1385 * Makefile.am: Do not distribute the debian/ directory.
1387 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1389 * doc/Makefile.am: Add the extra SGML files to content_files,
1390 so that they are distributed properly.
1392 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1394 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1397 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1399 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1400 (hildon_note_new_information_with_icon_name): Set the "icon" property
1401 to preserve soundness.
1403 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-font-selection-dialog.c
1406 (hildon_font_selection_dialog_set_property): Fail when the "family"
1407 property is set to NULL.
1409 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1414 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1416 * src/hildon-time-selector.h:
1417 Added HildonTimeSelectorFormatPolicy
1418 * src/hildon-time-selector.c:
1419 Added PROP_TIME_FORMAT_POLICY
1420 (_check_ampm_format): renamed to check_automatic_ampm_format
1421 (update_format_policy), (update_format_dependant_columns): new functions
1422 (hildon_time_selector_class_init)
1423 (hildon_time_selector_contructor)
1424 (hildon_time_selector_init)
1425 (hildon_time_selector_get_property)
1426 (hildon_time_selector_set_property)
1427 (hildon_time_selector_get_time)
1428 (hildon_time_selector_set_time)
1429 * src/hildon-touch-selector.h: new file
1430 * src/hildon-touch-selector.c
1431 (hildon_touch_selector_emit_changed)
1432 (hildon_touch_selector_block_changed)
1433 (hildon_touch_selector_unblock_changed)
1434 Added functions to allow to block the emission of the "changed" signal
1435 * src/hildon-picker-dialog.c
1436 (hildon_picker_dialog_show): call the parent show before the custom code
1437 * examples/hildon-time-button-example.c
1438 Modified, so now you can configure the time format using the new property
1440 Added a new property "time-format-policy" that allow to choose the time
1441 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1442 case it uses gconf in order to check if the time selector must use
1445 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1448 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1450 * src/hildon-note.c (hildon_note_init):
1451 Label in HildonNote must be left aligned, not centered. This
1452 reverts the last commit in HildonNote.
1454 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1455 is connectivity dialog)
1457 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1462 * doc/hildon-sections.txt:
1463 Added hildon_gtk_window_set_do_not_disturb()
1465 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1467 * src/hildon-note.c (hildon_note_init): Center label.
1469 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1472 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1477 * configure.ac: Bump version.
1478 * debian/changelog: Updates.
1480 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1482 * src/hildon-note-private.h: Add button-width to the private data.
1483 * src/hildon-note.c (+resize_button),
1484 (+hildon_note_orientation_update): methods to repack widgets on orientation
1486 (screen_size_changed): Call above method for confirmation notes.
1487 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1488 (hildon_note_rebuild): Store the original width request from buttons.
1490 Fixes: NB#109635 (Confirmation notes do not support portrait)
1492 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1494 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1495 when it is a progress note.
1497 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1499 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1500 in the note, since there are no horizontally arranged contents.
1502 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1504 * src/hildon-gtk.c (+set_flag): new generic method to
1505 set/delay a flag setting in a window.
1506 (hildon_gtk_window_set_progress_indicator):
1507 (hildon_gtk_window_set_do_not_disturb),
1508 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1509 avoid code redundance.
1511 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1513 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1515 * src/hildon-gtk.c (set_clear_window_flag),
1516 (do_set_progress_indicator), (do_set_do_not_disturb),
1517 (do_set_portrait_flags),
1518 (hildon_gtk_window_set_progress_indicator),
1519 (hildon_gtk_window_set_do_not_disturb),
1520 (hildon_gtk_window_set_portrait_flags):
1521 Allow setting dnd-flag, progress indicator, and portrait flags
1522 when the window is not realized.
1524 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1526 * src/hildon-pannable-area.c,
1527 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1528 the size request policy function and defines.
1530 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1532 * doc/hildon-sections.txt: Add the new API.
1533 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1534 method to set the portrait flags.
1535 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1537 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1539 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1542 to allow using this method with other flags.
1543 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1544 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1546 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1548 * src/hildon-touch-selector.c
1549 (hildon_touch_selector_append_text_column):
1550 Make the cell renderer use the smallest width possible.
1552 Fixes: NB#108470 (Selected items in multiple selection are either
1553 having a tick that is cut or not visible at all.)
1555 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1557 * src/hildon-touch-selector.c
1558 (hildon_touch_selector_append_text_column):
1561 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1564 Use g_strdup_printf() instead of a fixed size buffer.
1566 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1568 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1569 Close banners when a HildonAppMenu is popped up.
1571 Fixes: NB#111027 (Title menu closed immediately if activated when
1572 "Invalid e-mail address" banner is shown)
1574 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1579 * configure.ac: Bump version.
1580 * debian/changelog: Updates.
1582 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1584 * src/hildon-banner.c (hildon_banner_realize):
1585 Mark HildonBanner as supporting portrait mode.
1586 Use GDK to set window properties insetad of direct Xlib calls.
1588 Fixes: NB#111830 (HildonBanner should be marked as supporting
1591 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-note.c (hildon_note_rebuild):
1594 Hide action area in information notes. Prevents text from being
1595 slightly aligned to the left.
1597 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1600 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1602 Patch by Mox Soini (ext-mox.soini@nokia.com)
1604 * src/hildon-banner.c (hildon_banner_create_animation):
1605 Use stylus-sized icons in animation banner.
1607 Fixes: NB#111206 (stylus sized icon for animation banner)
1609 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1613 (+hildon_gtk_window_set_do_not_disturb):
1614 New API to set the do-not-disturb flag.
1616 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1618 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1620 * examples/hildon-progress-indicator-example.c: Fix example
1622 * src/hildon-gtk.c (set_clear_window_flag)
1623 (hildon_gtk_window_set_progress_indicator):
1624 Create a generic function for setting flags to a window.
1625 Use GDK instead of direct Xlib calls.
1627 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1629 * src/hildon-button.c (hildon_button_set_arrangement):
1630 Due to NB#88126, if one of the labels is too long it will be
1631 painted outside the button. The 'value' label is more likely to be
1632 the longest one, so we change its packing options in order to
1633 truncate it if necessary. As a side effect, the 'title' label will
1634 no longer be truncated.
1636 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1638 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1643 * configure.ac: Bump version.
1644 * debian/changelog: Updates.
1646 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1648 Deprecation of the hildon_pannable_area_set_size_request_policy
1649 API, the only policy properly supported in gtk+ nowadays is the
1652 * src/hildon-pannable-area.c,
1653 (hildon_pannable_area_size_request): Added a workaround for the
1654 size_request to avoid the problems of huge pixmaps in case someone
1655 is still using the function.
1656 * src/hildon-pannable-area.h: Deprecated the enum with the
1659 Fixes: NB#110244 (Problems with the
1660 hildon_pannable_area_set_size_request_policy API)
1662 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1664 * src/hildon-pannable-area.c,
1665 (hildon_pannable_area_init),
1666 (hildon_pannable_area_size_request),
1667 (hildon_pannable_area_style_set),
1668 (hildon_pannable_draw_vscroll),
1669 (hildon_pannable_draw_hscroll),
1670 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1671 indicator_width to clarify the use of the attribute.
1673 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1678 * configure.ac: Bump version.
1679 * debian/changelog: Updates.
1681 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1683 * src/hildon-picker-dialog.c
1684 * src/hildon-touch-selector.c
1685 Reverting the change that tried to avoid the hardcoded height on
1686 the picker dialog, as causes problems on the hildon-touch-selector
1689 Fixes: NB#110029 (selectors not scrolling to selected value)
1691 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1693 * src/hildon-touch-selector.c: Fix typos
1695 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1697 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1698 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1699 request more motions after using it.
1701 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1703 * src/hildon-calendar.c (hildon_calendar_expose),
1704 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1705 Remove unused variables.
1707 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1709 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1710 variable assignment.
1712 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1715 Check the return value of gtk_tree_selection_get_selected()
1718 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1720 * src/hildon-animation-actor.c
1721 * src/hildon-button.c
1723 * src/hildon-pannable-area.c
1724 * src/hildon-picker-button.c
1725 * src/hildon-program.c
1726 * src/hildon-remote-texture.c
1727 * src/hildon-text-view.c
1728 * src/hildon-touch-selector.c
1729 * src/hildon-window-stack.c
1730 * src/hildon-window.c:
1731 Add missing 'Since: 2.2' tags.
1733 * doc/hildon-sections.txt:
1734 Add some missing symbols.
1736 * doc/hildon-docs.sgml:
1737 New 'Other' section for HildonAnimationActor and
1740 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1742 Patch by Iván Gómez (igomez@igalia.com)
1745 * doc/compiling.sgml
1746 * doc/hildon-docs.sgml
1747 * doc/hildon-sections.txt
1748 * doc/migration.sgml
1749 * doc/resources.sgml
1751 New chapters on using the Hildon library.
1752 Updated the general structure of the reference manual.
1753 Other minor documentation fixes.
1755 * src/hildon-calendar-popup.c
1756 * src/hildon-calendar.c
1757 * src/hildon-controlbar.c
1758 * src/hildon-date-editor.c
1759 * src/hildon-dialog.c
1760 * src/hildon-hvolumebar.c
1761 * src/hildon-number-editor.c
1762 * src/hildon-range-editor.c
1763 * src/hildon-sort-dialog.c
1764 * src/hildon-time-editor.c
1765 * src/hildon-time-picker.c
1766 * src/hildon-volumebar-range.c
1767 * src/hildon-volumebar.c
1768 * src/hildon-vvolumebar.c
1769 * src/hildon-weekday-picker.c:
1770 Add deprecation notes
1772 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1773 Document 'horizontal-movement' and 'vertical-movement' signals.
1775 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1780 * configure.ac: Bump version.
1781 * debian/changelog: Updates.
1783 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1785 * src/hildon-pannable-area.c,
1786 (hildon_pannable_area_class_init): increased the minimum velocity.
1787 (hildon_pannable_area_button_release_cb): Updated the
1788 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1789 setup. Review the code to control that last event.
1791 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1794 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1796 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1798 * src/hildon-get-password-dialog.c
1799 (hildon_get_password_set_property),
1800 (hildon_get_password_get_property), (create_contents):
1801 * src/hildon-login-dialog-private.h:
1802 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
1803 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
1804 (hildon_login_dialog_get_password):
1805 * src/hildon-set-password-dialog-private.h:
1806 * src/hildon-set-password-dialog.c
1807 (hildon_set_password_set_property),
1808 (hildon_set_password_get_property), (create_contents),
1809 (hildon_set_password_response_change),
1810 (hildon_set_password_response_set), (hildon_checkbox_toggled):
1812 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
1813 instead and look more Fremantle style.
1815 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
1817 2009-04-03 Alberto Garcia <agarcia@igalia.com>
1819 * doc/hildon-sections.txt
1820 * src/hildon-window-stack.h
1821 * src/hildon-window-stack.c
1822 (+hildon_window_stack_get_windows):
1823 New API to obtain the list of windows on a stack.
1825 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-app-menu.c (hildon_app_menu_popup)
1828 (hildon_app_menu_class_init, -hildon_app_menu_show):
1829 Remove hildon_app_menu_show() and move all its checks to
1830 hildon_app_menu_popup()
1832 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
1834 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
1835 (_hildon_picker_dialog_set_selector): removed call to
1836 gtk_widget_set_size_request
1837 * src/hildon-touch-selector.c
1838 (_create_new_column): change the pannable size request policy
1840 Avoid to use a hardcoded height for the hildon picker dialog. In order
1841 to get that, we needed to change the hildon pannable size request
1843 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1845 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-window.c (hildon_window_map): Check for vbox to be
1848 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
1851 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
1853 * debian/control: Depend on osso-system-lock localization package.
1854 * src/hildon-code-dialog.c: Obtain the secu_application_title
1855 translation from osso-system-lock.
1856 * src/hildon-get-password-dialog.c (create_contents): Do not mark
1857 for translation the atk related strings, that's not necessary.
1858 * src/hildon-set-password-dialog.c (create_contents): Ditto.
1859 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
1860 cancel button, it is not required.
1862 2009-04-02 Alejandro G. Castro <alex@igalia.com>
1864 * src/hildon-pannable-area.c,
1865 (hildon_pannable_area_class_init): Modified the default value of
1866 the overshooting max speed, we have reduced it.
1868 2009-04-02 Alberto Garcia <agarcia@igalia.com>
1870 * doc/hildon-sections.txt
1871 * src/hildon-window-private.h
1872 * src/hildon-window.h
1873 * src/hildon-window.c (hildon_window_class_init)
1874 (hildon_window_init, hildon_window_finalize)
1875 (hildon_window_realize, hildon_window_get_property)
1876 (hildon_window_set_property, hildon_window_update_markup)
1877 (hildon_window_get_markup, hildon_window_set_markup):
1878 New "markup" property and hildon_window_{get,set}_markup() methods.
1880 * examples/hildon-stackable-window-example.c (new_window):
1881 Update example to use hildon_window_set_markup()
1883 Fixes: NB#106375 (Need API to retitle a window with a title
1886 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1888 * src/hildon-pannable-area.c,
1889 (hildon_pannable_area_class_init): Changed the default value of
1890 the initial_hint to TRUE.
1891 (hildon_pannable_area_initial_effect): Changed the initial effect,
1892 not the effect is just the fade-out of the scrollbars.
1894 Fixes: NB#107775 (No scrollbars can be seen when several items are
1895 available in a dialog)
1897 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-program.c (hildon_program_update_top_most):
1902 Fixes: NB#109179 (Memory leak in Hildon program)
1904 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1906 * src/hildon-banner.c (-get_current_app_window):
1907 Remove unused function.
1909 2009-04-01 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c: Modified the documentation of the
1912 get adjustments functions to explain the problem of using the
1913 adjustment directly.
1914 (hildon_pannable_area_class_init): Improved the explanation about
1917 2009-04-01 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-app-menu-private.h
1920 * src/hildon-app-menu.c
1921 (hildon_app_menu_class_init):
1922 Bring back the 'external-border' style property
1923 (hildon_app_menu_class_init, hildon_app_menu_init)
1924 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
1925 Set a fixed width-request for the menu, independent of the number
1928 Fixes: NB#94957 (Smoothly opened application menu)
1930 2009-03-30 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
1934 * src/hildon-banner.c
1935 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
1937 Make sure that the banner is correctly placed the first time it's
1939 (hildon_banner_check_position, -check_fullscreen_state):
1940 Show the banner in the same place no matter if the window is in
1941 fullscreen mode or not.
1943 Fixes: NB#107386 (Odd stacking behaviour for information banners)
1945 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-touch-selector.c (_default_print_func): reorder
1948 concatenation for clarity.
1950 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
1952 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
1953 for multicolumn selectors.
1955 Fixes: NB#109099 (Memory leak in Hildon touch selector)
1957 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
1962 * configure.ac: Bump version.
1963 * debian/changelog: Updates.
1965 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
1970 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
1972 * configure.ac: removed libcangerra-gtk dependency
1973 * debian/control: removed libcanberra-gtk dependency
1974 * src/Makefile.am: removed libcanberra gtk related flags
1975 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
1976 context, and manage a global canberra context instead
1978 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
1980 2009-03-26 Alberto Garcia <agarcia@igalia.com>
1982 Patch by Daniel Borgmann (danielb@openismus.com)
1984 * src/hildon-edit-toolbar.c:
1985 Adjust the left padding.
1986 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
1987 Paint background of the edit toolbar.
1989 Fixes: NB#107897 (Patch to make editmodetoolbar background
1990 themeable and adjust margin)
1992 2009-03-25 Alberto Garcia <agarcia@igalia.com>
1994 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1996 * src/hildon-program.c (hildon_program_update_top_most):
1997 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
1999 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2000 change when the user tasks in/out of an application)
2002 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2004 * configure.ac: added libcangerra-gtk dependency
2005 * debian/control: added libcanberra-gtk dependency
2006 * src/Makefile.am: added libcanberra gtk related flags
2007 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2010 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2012 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-program.c (hildon_program_remove_window)
2015 (hildon_program_add_window): Add checks for the window
2016 parameter. Don't decrease the window counter if the window is not
2019 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2021 * src/hildon-pannable-area.c,
2022 (hildon_pannable_area_realize): Fixed position of the event_window
2023 in the realize method.
2025 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2027 * src/hildon-app-menu-private.h
2028 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2029 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2030 (hildon_app_menu_key_press, hildon_app_menu_init)
2031 (hildon_app_menu_finalize):
2032 Make sure that all idle functions are removed when the widget is
2035 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2037 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2042 * configure.ac: Bump version.
2043 * debian/changelog: Updates.
2045 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-entry.c
2048 (+hildon_entry_show_placeholder),
2049 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2050 that replace hildon_entry_update_contents().
2051 (hildon_entry_set_text),
2052 (hildon_entry_set_placeholder),
2053 (hildon_entry_focus_in_event),
2054 (hildon_entry_focus_out_event): Determine when it is needed
2055 either to show or hide the placeholder and call the above methods.
2057 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2058 when the placeholder text is already set)
2060 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2063 simple GdkPixbufAnim using the new icons for the banner.
2064 (hildon_banner_show_animation): Use the above mentioned method to
2065 create the animation widget.
2067 Fixes: NB#103564 (Make hildon animation banner use individual
2068 image files as the animation)
2070 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2072 * src/hildon-pannable-area.c,
2073 (hildon_pannable_leave_notify_event): Check if the child is NULL
2074 to avoid sending the leave.
2076 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2078 * src/hildon-pannable-area.c,
2079 (hildon_pannable_area_class_init),
2080 (hildon_pannable_leave_notify_event): Added a handler of the
2081 leave-notify-signal to consider when no motion notify before
2084 Fixes: NB#107494 (Items stay selected when clicking and moving
2085 away when inside pannable area)
2087 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2092 * configure.ac: Bump version.
2093 * debian/changelog: Updates.
2095 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2097 Patch by Alberto Garcia (agarcia@igalia.com)
2099 * src/hildon-date-button.c,
2100 (hildon_date_button_class_init),
2101 (hildon_date_button_init): Removed the construct property handling
2102 and created a default selector in the init method.
2103 * src/hildon-picker-button.c,
2104 (hildon_picker_button_class_init): Removed the construct flag of the
2107 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-main.c (hildon_init):
2110 Don't allow hildon_init() to be called more than once.
2112 Fixes: NB#106607 (hildon_init should issue error message upon
2115 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2117 * examples/hildon-pannable-area-touch-list-example.c
2118 * examples/hildon-pannagle-area-touch-grid-example.c
2119 * examples/hildon-edit-toolbar-example.c
2120 * examples/hildon-touch-selector-multi-cells-example.c
2121 Removed the call to gtk_rc_parse_string, as it is not required since
2124 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2126 * src/hildon-pannable-area.c,
2127 (hildon_pannable_area_class_init): Modified the default panning
2128 threshold of the widget to 6px.
2130 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2131 than the threshold value ) within the button is not sending the
2134 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2136 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2137 for the treeview in the new column. This way, the touch list will never
2140 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2141 be selected manually for the HW keys to work)
2143 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2145 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2146 comparison instead of using strcmp(). Fixes a compiler warning as well.
2148 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2150 * doc/hildon-docs.sgml: Do not set the library version in the
2151 document title, use the releaseinfo tag for that purpose instead.
2153 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2155 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2156 Do not jump to the first item if the text in the entry is removed.
2158 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2163 * configure.ac: Bump version.
2164 * debian/changelog: Updates.
2166 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2168 * src/hildon-entry.c (hildon_entry_refresh_contents):
2169 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2170 Use "ReversedSecondaryTextColor" for the placeholder text.
2172 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2174 * src/hildon-text-view.c: Fix compilation warning.
2176 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-button.c (hildon_button_class_init): Don't make
2179 "title" and "value" construction properties, to prevent them from
2180 overwriting labels set from derived classes.
2182 * src/hildon-picker-button.c
2183 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2184 (hildon_picker_button_class_init): Make touch-selector a
2185 construction property.
2187 * src/hildon-date-button.c (hildon_date_button_class_init)
2188 (+hildon_date_button_constructed): Add a default date selector if
2191 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-touch-selector.c: Small documentation fixes.
2195 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2197 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2199 * src/hildon-entry.c (hildon_entry_refresh_contents),
2200 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2201 widget name, set the logical color directly instead and a boolean
2202 showing_placeholder instead.
2203 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2204 use the widget name here either.
2206 Fixes: NB#105678 (HildonTextView should use logical colours
2207 instead of setting widget name)
2209 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2211 Patch by Daniel Elster (danielk@openismus.com)
2213 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2214 Add user_data parameter.
2215 (hildon_touch_selector_set_print_func_full): New function akin
2216 hildon_touch_selector_set_print_func() but with support for user
2217 data and a destroy callback.
2218 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2219 to clean up the print function user data.
2220 (hildon_touch_selector_class_init): Install dispose function.
2221 (HildonTouchSelectorPrivate::print_user_data),
2222 (HildonTouchSelectorPrivate::print_destroy_func): New private
2224 (hildon_touch_selector_init): Initialize new private members.
2225 (hildon_touch_selector_get_current_text): Pass along user data
2226 to the print function.
2227 (_default_print_func): Add dummy user_data to parameter list.
2228 * hildon-date-selector.c (_custom_print_func): ditto,
2229 * hildon-time-selector.c (_custom_print_func): ditto,
2230 * hildon-touch-selector-entry.c
2231 (hildon_touch_selector_entry_print_func): ditto.
2233 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2235 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2237 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2239 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2241 * src/hildon-pannable-area.c,
2242 (hildon_pannable_area_init),
2243 (hildon_pannable_area_button_press_cb),
2244 (hildon_pannable_area_motion_notify_cb): We have added code to
2245 handle the leave and enter events when using the motion events.
2247 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2249 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-date-button.c (hildon_date_button_get_date)
2252 (hildon_date_button_set_date): Make sure that the button has a
2255 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2257 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2259 * src/hildon-pannable-area.c,
2260 (hildon_pannable_area_class_init),
2261 (hildon_pannable_area_calculate_velocity): Modify the use of the
2262 force and adapt the value.
2264 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2267 (hildon_app_menu_class_init): Hide the menu if it receives a
2268 delete-event, but don't destroy it
2270 Fixes: NB#104485 (Not able to address the call when application
2271 menu is opened at background)
2273 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2275 * src/hildon-app-menu.c
2276 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2277 Remove the "external-border" style property, let the menu take its
2278 natural size (or the one set by the window manager)
2279 (hildon_app_menu_repack_items):
2280 Don't reshow the menu, avoid flickers.
2282 Partially fixes NB#94957 (Smoothly opened application menu)
2284 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: Bump version.
2290 * debian/changelog: Updates.
2292 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2294 * src/hildon-pannable-area.c,
2295 (hildon_pannable_area_motion_notify_cb): We control that the
2296 direction error margin is used just in case the movement is
2297 allowed in the other direction.
2299 Fixes: NB#105012 (buttons inside a pannable area not getting
2300 release event when dragging/releasing)
2302 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2304 * src/hildon-pannable-area.c,
2305 (hildon_pannable_area_class_init),
2306 (hildon_pannable_area_get_property),
2307 (hildon_pannable_area_set_property),
2308 (hildon_pannable_area_initial_effect),
2309 (hildon_pannable_axis_scroll),
2310 (hildon_pannable_area_button_release_cb): Reviewed the
2311 overshooting effect, now it has its own max
2312 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2313 speed when bouncing.
2315 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2320 * configure.ac: Bump version.
2321 * debian/changelog: Updates.
2323 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2325 * src/hildon-pannable-area.c,
2326 (hildon_pannable_area_class_init): Changed the max speed, now
2327 users can launch the widget very fast. Reduced the default force,
2328 that way it is easier to control the launch speed.
2330 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2332 * src/hildon-pannable-area.c,
2333 (hildon_pannable_area_button_release_cb): Removed this check
2334 because it causes problems when the device is overloaded.
2336 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2339 add a current_text field to store the text entered in the
2340 touch selector entry.
2341 (_clean_current_selection): clean up the current text as well.
2342 (_save_current_selection), (_restore_current_selection):
2343 Save/restore the text in the entry if the selector is a
2344 HildonTouchSelectorEntry.
2346 Fixes: NB#102541 (value entered in the touch selector entry is not
2347 shown when opened for second time)
2349 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2351 * doc/hildon-sections.txt:
2352 * src/hildon-touch-selector-entry.c
2353 (+hildon_touch_selector_entry_get_entry):
2354 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2356 Fixes: NB#104815 (I need accessor to the entry inside
2357 HildonTouchSelectorEntry)
2359 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2361 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2362 (hildon_app_menu_class_init):
2363 New "filter-vertical-spacing" style property.
2365 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-find-toolbar.c
2368 (hildon_find_toolbar_emit_close)
2369 (hildon_find_toolbar_emit_invalid_input)
2370 (hildon_find_toolbar_entry_activate):
2371 Use g_signal_emit() instead of g_signal_emit_by_name()
2373 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2375 Patch by Mox Soini (ext-mox.soini@nokia.com)
2377 * tests/TEST-CASES.txt
2378 * tests/check-hildon-banner.c
2379 * tests/check-hildon-note.c
2380 * src/hildon-banner.c
2381 * src/hildon-code-dialog.c
2382 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2383 * src/hildon-time-editor.c
2384 * examples/hildon-lookup-example.c (main):
2385 Replace obsolete icon names with new ones.
2387 * src/hildon-find-toolbar-private.h:
2388 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2389 (-hildon_find_toolbar_emit_search):
2390 Remove find button and change icon of close button.
2392 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2394 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-time-button.c (hildon_time_button_new_step):
2397 Use the "touch-selector" property to set the selector directly
2398 when creating the object.
2400 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2402 Added a new example application that allows tuning the pannable
2403 area and replaced defines with properties in order to simplify the
2404 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2405 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2406 PROP_DIRECTION_ERROR_MARGIN.
2408 * examples/hildon-pannable-area-tuning-example.c: New example
2410 * src/hildon-pannable-area.c,
2411 (hildon_pannable_area_class_init),
2412 (hildon_pannable_area_init),
2413 (hildon_pannable_area_get_property),
2414 (hildon_pannable_area_set_property),
2415 (hildon_pannable_area_launch_fade_timeout),
2416 (hildon_pannable_area_adjust_value_changed),
2417 (hildon_pannable_axis_scroll),
2418 (hildon_pannable_area_motion_notify_cb),
2419 (hildon_pannable_area_scroll_cb),
2420 (hildon_pannable_area_button_release_cb): We have converted some
2421 of the defines that control the widget to properties to simplify
2424 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2426 * src/hildon-app-menu.c (hildon_app_menu_map)
2427 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2428 so it's closed if a new window appears.
2430 Fixes: NB#104485 (Not able to address the call when application
2431 menu is opened at background)
2433 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2435 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2436 missing 'break' statement in in 'case' construct to avoid
2439 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2441 * src/hildon-touch-selector-entry.c
2442 (hildon_touch_selector_entry_get_property),
2443 (hildon_touch_selector_entry_set_property): Add missing 'break'
2444 statements in in 'case' constructs to avoid incorrect warnings.
2446 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-time-editor.c
2449 (hildon_time_editor_get_time_separators): Do not crash if
2450 the first label is NULL.
2452 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-date-selector.c (_month_days): Check for month to be
2455 strictly less than 12, since otherwise we may overrun the array.
2457 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2459 * src/hildon-date-button.c (+hildon_date_button_new_full)
2460 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2461 (hildon_date_button_init): Set the date selector using a
2462 construction property, to make it happen after HildonButton's
2463 "value" property is set.
2465 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2466 current date by default)
2468 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2470 * doc/hildon-sections.txt
2471 * src/hildon-program.c
2472 * src/hildon-stackable-window.c
2473 * src/hildon-window.c:
2474 Documentation updates
2476 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2478 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2479 (hildon_window_stack_new, +hildon_window_stack_set_property)
2480 (+hildon_window_stack_get_property)
2481 (hildon_window_stack_class_init)
2482 (+hildon_window_stack_set_window_group)
2483 (+hildon_window_stack_get_window_group):
2484 Make the window group a construction property.
2486 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2488 * doc/hildon-sections.txt
2489 * src/hildon-stackable-window-private.h
2490 * src/hildon-stackable-window.h
2491 * src/hildon-stackable-window.c
2492 (-hildon_stackable_window_set_app_menu)
2493 (-hildon_stackable_window_get_app_menu)
2494 (-hildon_stackable_window_toggle_menu)
2495 (-hildon_stackable_window_finalize)
2496 (hildon_stackable_window_class_init)
2497 (hildon_stackable_window_init)
2498 * src/hildon-window-private.h
2499 * src/hildon-window.h
2500 * src/hildon-window.c (hildon_window_init)
2501 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2502 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2503 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2504 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2505 Moved all HildonAppMenu code to HildonWindow. The menu does not
2506 require a HildonStackableWindow anymore.
2508 * src/hildon-app-menu.c
2509 * src/hildon-program.c
2510 * examples/hildon-app-menu-example.c (main):
2511 Update examples and documentation to reflect HildonAppMenu
2514 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2516 * src/hildon-remote-texture.c
2517 * src/hildon-animation-actor.c:
2518 Don't include unused private headers.
2520 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-program-private.h
2523 * src/hildon-program.c
2524 (hildon_program_set_common_menu)
2525 (hildon_program_get_common_menu)
2526 (hildon_program_set_common_app_menu)
2527 (hildon_program_get_common_app_menu):
2528 Change common menu pointers from GtkWidget* to GtkMenu* and
2529 HildonAppMenu* to avoid unnecessary casts.
2531 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2533 * src/hildon-window.c (hildon_window_set_main_menu):
2534 Removed incorrect 'Since:' tag
2536 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2538 * src/hildon-pannable-area.c,
2539 (hildon_pannable_area_calculate_velocity): We use now the
2540 RATIO_TOLERANCE here to check the distance, fixed typo in the
2542 (hildon_pannable_area_motion_notify_cb): We have to set the type
2543 and time even if we are not sending the motion.
2545 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2547 * doc/hildon-sections.txt
2548 * src/hildon-app-menu.h
2549 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2550 (+hildon_app_menu_get_filters): New methods to get the contents of
2553 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2556 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2558 * src/hildon-app-menu.c (hildon_app_menu_popup):
2561 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2563 * src/hildon-window.h
2564 * src/hildon-window.c (+hildon_window_get_main_menu)
2565 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2566 and deprecated hildon_window_get_menu().
2568 * src/hildon-stackable-window.h
2569 * src/hildon-stackable-window.c
2570 (+hildon_stackable_window_set_app_menu)
2571 (+hildon_stackable_window_get_app_menu)
2572 (hildon_stackable_window_set_main_menu): Created
2573 hildon_stackable_window_{get,set}_app_menu() and deprecated
2574 hildon_stackable_window_set_main_menu().
2576 * doc/hildon-sections.txt
2577 * examples/hildon-app-menu-example.c (main)
2578 * src/hildon-app-menu.c
2579 * src/hildon-program.c:
2580 Updated examples and documentation.
2582 Fixes: NB#103758 (No way to obtain a menu from a
2583 HildonStackableWindow)
2585 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2590 * configure.ac: Bump version.
2591 * debian/changelog: Updates.
2593 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2595 * examples/hildon-remote-texture-example.c: Include
2596 hildon-remote-texture.h explicitely.
2597 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2598 applications not defining _XOPEN_SOURCE which don't require this header.
2600 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2602 * doc/hildon-sections.txt
2603 * src/hildon-app-menu.h
2604 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2605 New function to pop up a HildonAppMenu
2607 * src/hildon-stackable-window.c
2608 (hildon_stackable_window_toggle_menu):
2609 Use hildon_app_menu_popup() to show the menu.
2611 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2613 * src/hildon-app-menu.c (hildon_app_menu_show)
2614 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2615 menu if there's another window between it and its parent window.
2617 Fixes: NB#100468 (Application menu window is launched even when a
2618 new secondary-window/dialog is pending to be shown/realized)
2620 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-window-stack.c (hildon_window_stack_push)
2623 (hildon_window_stack_pop_and_push):
2624 Don't forget to push/pop the first window.
2625 Reverse the window list before calling _push_list()
2627 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2629 * src/hildon-picker-button.h
2630 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2631 Remove "value_changed" slot to avoid ABI breakage
2633 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2635 * src/hildon-pannable-area.c,
2636 (hildon_pannable_area_realize),
2637 (hildon_pannable_area_unrealize),
2638 (hildon_pannable_draw_vscroll),
2639 (hildon_pannable_draw_hscroll): Changed the method to handle the
2640 GC used to draw the transparent scrollbar, this way we avoid
2641 creating the GC all the time when drawing the scrollbars.
2643 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2645 * src/hildon-pannable-area.c,
2646 (hildon_pannable_area_init),
2647 (hildon_pannable_area_remove): Removed some unnecessary casts.
2648 (hildon_pannable_area_dispose): Disconnected some signals before
2649 releasing the adjustments.
2651 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2653 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2654 Make sure that all widgets contained in the toolbar are shown.
2656 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2658 * doc/hildon-sections.txt
2659 * src/hildon-picker-button.h
2660 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2661 (_selection_changed, hildon_picker_button_on_dialog_response)
2662 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2663 New hildon_picker_button_value_changed() method.
2666 * src/hildon-picker-button-private.h
2667 * src/hildon-picker-button.c (hildon_picker_button_init)
2668 (+hildon_picker_button_disable_value_changed): Add protected
2669 function for disabling the "value-changed" signal.
2671 * src/hildon-date-button.c (hildon_date_button_set_date):
2672 Don't emit "value-changed" for each one of the three columns.
2674 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2675 before actual change of values)
2677 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2679 * src/hildon-pannable-area.c,
2680 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2681 for the treeview overshooting.
2683 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2685 * src/hildon-banner.c (+hildon_banner_bind_style):
2686 Renamed from hildon_banner_bind_label_style(), now naming the
2687 banner itself as well.
2688 (hildon_banner_show_information),
2689 (hildon_banner_show_information_with_markup),
2690 (hildon_banner_show_animation), (hildon_banner_show_progress):
2691 Name the widgets and labels, based on their type.
2693 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2696 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-note.c (hildon_note_set_property): call
2699 hildon_note_rename() on HildonNote:note-type set.
2700 (hildon_note_rename): Name the note and its label, based on the
2701 HildonNote:note-type property.
2703 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2706 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2708 * src/hildon-pannable-area.c,
2709 (hildon_pannable_area_class_init),
2710 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2711 panning parameters, increased SPS and deceleration factor. Added
2712 also a margin to control fake directions.
2714 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2716 Patch by Sven Herzberg (sven@imendio.com)
2718 * configure.ac: Add missing AM_PROG_CC_C_0
2719 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2721 See NB#101420 (Update unit tests and fix make check)
2723 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2725 This patch was applied before but reverted because it caused
2726 problems, we have changed the main condition and tested the
2727 regressions we detected before and they work ok. We have done a
2728 complete review of the topmost algorithm in order to get a more
2731 * src/hildon-pannable-area.c,
2732 (hildon_pannable_area_get_topmost): Added a new parameter to
2733 filter the the windows that do not include those events.
2734 (hildon_pannable_area_button_press_cb),
2735 (hildon_pannable_area_button_release_cb),
2736 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2737 topmost function, we have added the new parameter.
2739 Fixes: NB#97458 (Pannable area prevents propagation of button
2742 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2745 if all columns in the selector have an item selected.
2746 (_on_dialog_response): Stop "response" signal emission if there is
2747 any selector column without selected items.
2749 Fixes: NB#101889 (Picker dialog should not close when nothing is
2750 selected in multiple selection list)
2752 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-font-selection-dialog.c
2755 (hildon_font_selection_dialog_class_init),
2756 (hildon_font_selection_dialog_init): Remove the preview
2757 button and dialog, since previewing with default theming is likely
2758 to be overcomplicated. The :preview property has now no effect.
2759 Update documentation blurbs to inform about this.
2761 Fixes: NB#92297 (Preview content is not clearly visible for
2762 default colour text)
2764 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2766 Reviewed the geometry that handles the children size and
2767 scrollbar, now it tries a size and reviews the results depending
2768 on the scrollbars visibility.
2770 * src/hildon-pannable-area.c,
2771 (hildon_pannable_area_realize): Fixed a typo.
2772 (hildon_pannable_area_child_allocate_calculate): Added this
2773 function to calculate the child allocation.
2774 (hildon_pannable_area_size_allocate): Reviewed the allocation
2776 (hildon_pannable_area_check_scrollbars),
2777 (hildon_pannable_area_refresh): Refactored refresh function, this
2778 way we can call the code handling the scrollbars without causing a
2779 size_request, it is interesting in the allocate.
2780 (hildon_pannable_area_init): Replace the callbacks of the
2781 value_changed and changed signals to propertly deal with the
2783 (hildon_pannable_area_grab_notify),
2784 (hildon_pannable_area_initial_effect),
2785 (hildon_pannable_area_launch_fade_timeout),
2786 (hildon_pannable_area_adjust_changed),
2787 (hildon_pannable_area_adjust_value_changed),
2788 (hildon_pannable_area_redraw),
2789 (hildon_pannable_area_button_press_cb),
2790 (hildon_pannable_area_button_release_cb),
2791 (hildon_pannable_area_scroll_cb),
2792 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2793 code and use the new functions adjust_changed and
2794 adjust_value_changed.
2796 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2797 Contact editor dialog)
2799 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
2804 * configure.ac: Bump version.
2805 * debian/changelog: Updates.
2807 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2809 * src/hildon-pannable-area.c,
2810 (hildon_pannable_area_get_topmost),
2811 (hildon_pannable_area_button_press_cb),
2812 (hildon_pannable_area_button_release_cb),
2813 (hildon_pannable_get_child_widget_at): Reverted the patch for the
2814 topmost function adding the event mask. We have to try a
2815 differente approach because it is still causing problems (NB#9745,
2818 2009-02-19 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-banner.c:
2821 Update the maximum width of timed banners.
2822 (force_to_wrap_truncated): Enforce the maximum text width if the
2825 Fixes: NB#102413 (The text margins (wrapping) in information
2826 banner should be HILDON_MARGIN_TRIPLE)
2828 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2830 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
2832 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
2833 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
2834 bound when calculating the scroll indicator position.
2836 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
2837 treat ->lower correctly)
2839 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-caption.c (hildon_caption_class_init): Remove the
2842 expose event handling, since it is not necessary to draw the focus
2845 Fixes: NB#102467 (Do not show highlight on the text in
2848 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
2851 full height of the toolbar for the button and the label.
2853 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2855 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
2856 padding before the label and after the button.
2858 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
2862 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2863 Add a GtkVSeparator between the button and the back arrow.
2864 Let the button have automatic size.
2865 Set a name to the widget for theming handling.
2867 Fixes: NB#101793 (Make edit toolbar the same height as window
2868 title bar (use title area theming))
2870 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2872 * src/hildon-helper.c (attach_new_color_element): Fix memory
2875 Fixes: NB#102262 (memory leak in hildon_button_set_style())
2877 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2879 * examples/hildon-button-example.c (common_buttons_window): Don't
2882 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2884 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2885 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
2887 2009-02-18 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-gtk.c: Check that the window is realized.
2891 Fixes: NB#102225 (Crash setting the progress indicator to a non
2894 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
2897 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
2898 instead of modifying the one in the widget style.
2900 Fixes: NB#101043 (Second row of all the command button are
2901 displayed in transparent mode.)
2903 2009-02-17 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-date-button.c
2906 * src/hildon-time-button.c: Add gettext macros
2908 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-date-button.c (hildon_date_button_new):
2911 * src/hildon-time-button.c (hildon_time_button_new_step):
2912 Use new logical strings to set the button default title.
2914 Fixes: NB#99915 (Date and Time options are not localised in Date
2917 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2919 * src/hildon-pannable-area.c
2920 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
2921 the PANNING_THRESHOLD.
2923 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2925 * src/hildon-pannable-area.c,
2926 (hildon_pannable_area_class_init): Increased the maximum speed.
2927 (hildon_pannable_area_get_property),
2928 (hildon_pannable_area_set_property),
2929 (hildon_pannable_area_timeout): Added a new low friction mode, it
2930 allows the user avoid friction when launching the widget fast
2931 enough. It is interesting to traverse long lists.
2933 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
2936 (+hildon_stackable_window_delete_event): Ignore delete events if
2937 the window is not the topmost one.
2939 Fixes: NB#101698 (Back button long press and delete-event handling)
2941 2009-02-16 Alejandro G. Castro <alex@igalia.com>
2943 * src/hildon-pannable-area.c,
2944 (hildon_pannable_area_motion_notify_cb): Removed the use of the
2945 gtk-dnd-drag-threshold, it was too big. We have defined our own
2946 dnd define and set a smaller value: PANNIG_THRESHOLD.
2948 2009-02-16 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
2951 user-defined icons, use always the default one.
2953 Fixes: NB#101916 (Do not allow custom icons on animation banner)
2955 2009-02-13 Alejandro G. Castro <alex@igalia.com>
2957 This patch was applied before but reverted because it caused
2958 problems, we have changed the main condition and tested the
2959 regressions we detected before and they work ok.
2961 * src/hildon-pannable-area.c,
2962 (hildon_pannable_area_get_topmost): Added a new parameter to
2963 filter the the windows that do not include those events. Added
2964 also a condition when finding the window to filter windows that do
2965 not ask for those events.
2966 (hildon_pannable_area_button_press_cb),
2967 (hildon_pannable_area_button_release_cb),
2968 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2969 topmost function, we have added the new parameter.
2971 Fixes: NB#97458 (Pannable area prevents propagation of button
2974 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2976 * tests/check-hildon-color-button.c (START_TEST): do not leak
2979 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2981 * src/hildon-font-selection-dialog.c
2982 (hildon_font_selection_dialog_get_preview_text): Return NULL
2983 instead of FALSE on the g_return_val_if_fail().
2985 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-time-selector.c (hildon_time_selector_set_time):
2988 * src/hildon-date-selector.c
2989 (hildon_date_selector_select_current_date):
2990 Do not compare unsigned integers to be greater than or equal 0,
2991 because it's always TRUE.
2993 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
2995 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
2996 (hildon_date_selector_constructor): Do not select the current
2997 date until we are handle the "changed" signal, to avoid having bogus
2998 elements in the days model.
3000 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3002 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3003 for num_days, since _month_days() can return a negative value.
3005 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-caption.c (hildon_caption_size_allocate):
3008 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3009 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3011 Initialize allocation variables to 0, to avoid eventually using
3012 unitialized variables.
3014 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-bread-crumb-trail.c
3017 (hildon_bread_crumb_trail_size_allocate):
3018 * src/hildon-calendar.c (hildon_calendar_set_background):
3019 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3020 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3021 * src/hildon-seekbar.c (hildon_seekbar_init):
3022 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3023 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3024 * src/hildon-touch-selector-entry.c
3025 (hildon_touch_selector_get_text_from_model):
3026 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3027 * src/hildon-window.c (hildon_window_finalize):
3029 Remove many unused variables.
3031 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-seekbar.c: (hildon_seekbar_init),
3034 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3036 Remove unnecessary g_assert() calls.
3038 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-caption.c: (hildon_caption_expose),
3041 (hildon_caption_set_property), (hildon_caption_init),
3042 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3043 (hildon_caption_size_request), (hildon_caption_size_allocate),
3044 (hildon_caption_forall), (hildon_caption_set_separator),
3045 (hildon_caption_activate), (hildon_caption_set_child_expand),
3046 (hildon_caption_set_label_text),
3047 (hildon_caption_get_label_alignment):
3049 Remove unnecessary g_assert() calls.
3051 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-banner.c
3054 (hildon_banner_map, hildon_banner_init): Make banner temporary
3055 before mapping it to avoid closing other temporary windows, but
3056 make it non-temporary afterwards to avoid being closed by other
3057 non-temporary windows.
3058 (-hildon_banner_client_event, hildon_banner_init):
3059 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3061 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3064 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3069 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3071 * src/hildon-remote-texture.c
3072 * src/hildon-remote-texture.h
3073 * src/hildon-remote-texture-private.h
3074 * examples/hildon-remote-texture-example.c:
3075 Updates/fixes to remote-texture and its example.
3077 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3079 Patch by Mox Soini (ext-mox.soini@nokia.com)
3081 * src/hildon-code-dialog.c: Update logical id.
3082 * src/hildon-set-password-dialog.c: Update logical id.
3084 Fixes: NB#100646 (Logical strings is shown for ok in set
3085 password,Password needed dialogs)
3087 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3090 * src/hildon-remote-texture.c
3091 * src/hildon-remote-texture.h
3092 * src/hildon-remote-texture-private.h
3094 Added remote texture widget (for Clutter shared memory textures)
3096 * examples/hildon-remote-texture-example.c
3097 * examples/Makefile.am
3098 Added example file for remote texture usage
3100 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3102 * configure.ac: post release version bump.
3103 * debian/changelog: version bump.
3105 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3110 * configure.ac: Bump version.
3111 * debian/changelog: Updates.
3113 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-date-selector.c (hildon_date_selector_init)
3116 (hildon_date_selector_constructor): Don't connect to the "changed"
3117 signal until the selector is completely constructed.
3119 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3121 * src/hildon-touch-selector.c: (_create_new_column),
3122 (hildon_touch_selector_append_column),
3123 (hildon_touch_selector_set_column_selection_mode),
3124 (hildon_touch_selector_set_active),
3125 (hildon_touch_selector_select_iter):
3126 Emit the HildonTouchSelector::changed signal every time selection
3127 is changed in any of the methods above. This behavior was already
3128 documented but not fully functional.
3130 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3131 selection is programmatically changed)
3133 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3135 * doc/hildon-sections.txt: Remove obsolete icon
3136 sizes from here as well.
3138 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3140 * examples/hildon-stackable-window-example.c (add_window): Remove
3143 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-app-menu.c
3146 (hildon_app_menu_show): Check whether the parent window of a menu
3147 is topmost before popping it up.
3149 Fixes: NB#100468 (Application menu window is launched even when a
3150 new secondary-window/dialog is pending to be shown/realized.)
3152 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3154 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3157 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3159 Patch by Mox Soini (ext-mox.soini@nokia.com)
3161 * src/hildon-banner.c: (hildon_banner_show_animation):
3162 use stylus size instead of obsolete note size.
3163 * src/hildon-defines.h: Update icon sizes.
3165 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-touch-selector-entry.c:
3168 (hildon_touch_selector_entry_init): Disable unsupported
3170 (hildon_touch_selector_entry_get_text_column): Emit a warning
3171 if an unsupported input modes is used and explicitile state
3172 these modes in the documentation.
3174 Fixes: NB#99802 (Hildon touch selector entry not working properly
3175 for some of the input modes)
3177 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3179 * src/hildon-pannable-area.c,
3180 (hildon_pannable_area_init): Added the changed signal handlers of
3183 Fixes: NB#100320 (HildonPannableArea does not listen to
3184 GtkAdjustment "change" signals)
3186 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3188 * doc/hildon-sections.txt
3189 * src/hildon-window-private.h
3190 * src/hildon-window.h
3191 * src/hildon-window.c (hildon_window_init)
3192 (hildon_window_realize, hildon_window_unrealize)
3193 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3194 (hildon_window_size_request, hildon_window_size_allocate)
3195 (hildon_window_forall, hildon_window_show_all)
3196 (hildon_window_destroy, +paint_edit_toolbar)
3197 (+hildon_window_set_edit_toolbar):
3198 New hildon_window_set_edit_toolbar() method, to add a
3199 HildonEditToolbar to a window without having to pack it manually.
3201 Reorganize hildon_window_size_allocate()
3203 * src/hildon-edit-toolbar.c: Update documentation.
3205 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3206 example to use the new API.
3208 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3210 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3213 Remove from stack before calling parent's hide.
3215 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3217 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3218 window is removed from the middle of the stack, update the
3219 transiency of the previous one.
3221 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3224 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3227 block/unblock the signal handler if it's not actually being used.
3228 Fixes some critical warnings.
3230 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3232 Based on a patch by Iván Gómez (igomez@igalia.com)
3234 * src/hildon-banner.c
3238 * src/hildon-pannable-area.c
3239 * src/hildon-picker-dialog.c
3240 * src/hildon-wizard-dialog.h
3241 * src/hildon-wizard-dialog.c: Documentation updates.
3243 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3244 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3246 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3248 * configure.ac: post release version bump.
3249 * debian/changelog: version bump.
3251 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3256 * configure.ac: Bump version.
3257 * debian/changelog: Updates.
3259 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3261 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3262 a stock icon nor change the relief of the back arrow.
3264 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3265 graphics from theme)
3267 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-button.c (hildon_button_set_alignment): Use
3270 priv->alignment if the button has no child yet.
3272 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-button.c: (hildon_button_init): Set the
3275 button style during initialization to give it the proper
3278 Fixes: NB#99713 (HildonButton value label color is wrong)
3280 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3282 * src/hildon-touch-selector.c: Document
3283 hildon_touch_selector_center_on_selected()
3285 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3287 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3288 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3289 all menu items, but not the menu itself.
3290 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3291 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3292 items after adding them to the menu so keyboard accelerators work.
3293 (hildon_app_menu_show): Don't show the menu if it contains items
3294 but none of them are visible.
3296 * examples/hildon-app-menu-example.c (create_menu): Use
3297 gtk_widget_show_all() to show all menu items.
3299 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3301 * src/hildon-picker-dialog.c:
3302 (-_update_title_on_selector_changed_cb),
3303 (-_dialog_update_title): Removed.
3304 (_select_on_selector_changed_cb), (_on_dialog_response),
3305 (on_selector_columns_changed): Do not update the dialog title.
3306 (setup_interaction_mode): Do not connect to
3307 HildonTouchSelector::changed signal if there's a "done" button, as
3308 the dialog title doesn't need to be updated.
3310 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3313 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3315 Patch by Kristian Rietveld (kris@imendio.com)
3317 * src/hildon-touch-selector.c: (_create_new_column): Use new
3318 GtkTreeView::hildon-row-tapped signal to react to user interactions
3319 instead of ::changed.
3321 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3322 with some dynamic tree model)
3324 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3327 (+screen_size_changed, +label_size_request)
3328 (hildon_note_class_init): Make the Hildon information note have a
3329 minimum height, and make its text hvae a maximum width.
3331 Fixes: NB#98614 (Hildon information note (background) should have
3332 minimum height and maximum text width)
3334 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3336 * src/hildon-banner.h
3337 * src/hildon-banner.c (hildon_banner_show_information)
3338 (hildon_banner_show_informationf)
3339 (hildon_banner_show_information_with_markup): Update documentation
3340 to reflect that the icon_name parameter is not used anymore.
3341 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3342 Remove all code from these functions and mark them as deprecated.
3343 (hildon_banner_show_progress): Mark as deprecated.
3345 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3347 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3349 * src/hildon-pannable-area.c,
3350 (hildon_pannable_area_class_init),
3351 (tranparency_color),
3352 (hildon_pannable_draw_vscroll),
3353 (hildon_pannable_draw_hscroll),
3354 (hildon_pannable_area_expose_event): Added a new way to render the
3355 scrollbars of the pannable area avoiding using cairo at all. This
3356 way we improve the performance of the pannable area rendering. The
3357 cairo rendering procedure is still in the code, we can control
3358 which one to use changing the value of the define
3359 USE_CAIRO_SCROLLBARS.
3361 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3363 * configure.ac: post release version bump.
3364 * debian/changelog: version bump.
3366 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3371 * configure.ac: Bump version.
3372 * debian/changelog: Updates.
3374 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3376 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3377 banners instead of destroying them when they receive a button
3380 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3382 Reverted commit 34028, it was causing regressions, probably the
3383 topmost condition is not correct, we have to check it in more
3384 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3385 propagation of button press events)
3387 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3389 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3390 that the selection is not empty before attempting to retrieve the
3391 current ampm selection.
3393 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-picker-button.c:
3396 (hildon_picker_button_on_dialog_response): Directly update the
3397 button contents when required instead of calling _selection_changed.
3399 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-program.c (hildon_program_update_top_most): Update
3402 'is-topmost' property also when wm_hints is not set.
3404 Fixes: NB#98383 (is-topmost signal is not emitted when task
3405 switcher is clicked.)
3407 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3409 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3413 * src/hildon-animation-actor.c,
3414 * src/hildon-animation-actor.h: Added the animation actor class,
3415 this widget represents an animation actor for WM-assisted
3416 animation effects in the Hildon framework.
3418 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3420 * src/hildon-window-stack-private.h
3421 * src/hildon-window-stack.c
3422 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3423 Avoid calling gtk_widget_show() again indirectly from
3424 hildon_stackable_window_show()
3426 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3431 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3433 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3434 (hildon_time_selector_init): Move the construction of the hours and
3435 ampm columns to the constructor to preserve the order the columns
3438 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-picker-dialog.c:
3441 (hildon_picker_dialog_class_init): Connect a realize method.
3442 (+hildon_picker_dialog_realize): Setup the interaction mode here
3444 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3445 yet, do it during the realize instead.
3446 (_on_dialog_response):
3447 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3448 if the widget is not realized, to avoid the dialog response before it
3451 Avoid premature responses in the HildonPickerDialog that can cause it
3452 to be hidden before it's even shown.
3454 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3457 (on_selector_columns_changed), (requires_done_button),
3458 (+prepare_action_area), (setup_interaction_mode),
3459 (_hildon_picker_dialog_set_selector):
3461 Split the interaction mode setup into preparation of the
3462 action area (prepare_action_area()) and the connection of
3463 the signals in setup_interaction_mode() and update the code to
3466 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3468 * src/hildon-pannable-area.c,
3469 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3470 per second to 15, we will check if this is ok regarding
3473 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3475 * src/hildon-pannable-area.c,
3476 (hildon_pannable_axis_scroll): Avoid resize if we already have
3477 reached overshoot_max.
3479 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3481 * src/hildon-pannable-area.c,
3482 (hildon_pannable_area_init),
3483 (hildon_pannable_area_realize),
3484 (hildon_pannable_area_size_allocate),
3485 (hildon_pannable_area_map),
3486 (hildon_pannable_area_unmap),
3487 (hildon_pannable_draw_vscroll),
3488 (hildon_pannable_draw_hscroll),
3489 (hildon_pannable_area_expose_event),
3490 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3491 pannable are to avoid the expose events go to the window and
3492 redraw the window. We save this way that part of the stack and the
3493 paint_boxes. We had to change the positions of the elements when
3496 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3499 * src/hildon-color-chooser-dialog.c:
3500 (hildon_color_chooser_dialog_init):
3501 * src/hildon-font-selection-dialog.c:
3502 (hildon_font_selection_dialog_init),
3503 (hildon_font_selection_dialog_show_preview):
3504 * src/hildon-get-password-dialog.c:
3505 * src/hildon-login-dialog.c:
3506 * src/hildon-set-password-dialog.c:
3507 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3508 * src/hildon-time-picker.c: (hildon_time_picker_init):
3510 Remove obsolete logical string IDs and update to the appropriate ones.
3512 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3514 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3517 that happens if the window hasn't been realized yet.
3519 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3520 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3522 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3524 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3525 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3528 Fixes: NB#98537 (Device hangs in account settings dialog)
3530 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3532 * configure.ac: post release version bump.
3533 * debian/changelog: version bump
3535 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3540 * configure.ac: Bump version.
3541 * debian/changelog: Updates.
3543 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3545 Added a new function to the HildonTimeButton widget that allows to
3546 change the step of the minutes in the selector associated with the
3547 button: hildon_time_button_new_step
3549 * src/hildon-time-button.c,
3550 (hildon_time_button_init),
3551 (hildon_time_button_new),
3552 (hildon_time_button_new_step):
3553 * src/hildon-time-button.h: Added the new function and refactored
3555 * examples/hildon-time-button-example.c,
3556 (main): We have replaced the function without parameters with the
3557 function with the steps set to 5
3559 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3561 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3563 * src/hildon-time-selector.c,
3564 (hildon_time_selector_class_init),
3565 (hildon_time_selector_constructor),
3566 (hildon_time_selector_get_property),
3567 (hildon_time_selector_set_property),
3568 (_create_minutes_model),
3569 (hildon_time_selector_new_step),
3570 (hildon_time_selector_set_time),
3571 * src/hildon-time-selector.h: Added a new property to the
3572 HildonTimeSelector (minutes-step), we use that property to control
3573 the steps between the minutes in the list of the selector. We have
3574 added a new function to the API to create a widget changing the
3575 step: hildon_time_selector_new_step.
3577 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3579 * src/hildon-time-selector.c,
3580 (hildon_time_selector_class_init),
3581 (hildon_time_selector_constructor),
3582 (hildon_time_selector_init): Overrided the construct function when
3583 creating the time selector object. We have moved the minutes model
3584 handling code from the init to the new construction function:
3585 hildon_time_selector_constructor.
3587 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3589 * examples/hildon-date-button-example.c: (main): Use the new
3590 hildon_date_button_new_with_year_range() method in the example.
3591 * src/hildon-date-button.c:
3592 (+hildon_date_button_new_with_year_range): New public method
3593 to conveniently create a HildonDateButton with a custom year range
3594 in its HildonDateSelector.
3595 * src/hildon-date-button.h: Add the new public method definition.
3597 Fixes: NB#97908 (Not possible to change the year range in
3598 HildonDateSelector/HildonDateButton)
3600 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-date-selector.c:
3603 (+hildon_date_selector_set_property),
3604 (+hildon_date_selector_get_property),
3605 (hildon_date_selector_class_init): Install new properties "min-year"
3606 and "max-year" to define boundaries for the year column.
3607 (_create_year_model): Use the boundary properties to populate the model.
3608 (+hildon_date_selector_new_with_year_range): New public method to
3609 create a HildonDateSelector with a user defined year range.
3610 (hildon_date_selector_select_current_date): Use the new boundaries to
3611 calculate the iterator of current year.
3612 * src/hildon-date-selector.h: Add the new public method definition.
3614 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3617 Install a constructor method.
3618 (+hildon_date_selector_construct_ui): construct the widget.
3619 (+hildon_date_selector_constructor): new constructor.
3620 (+hildon_date_selector_init): move out widget construction code to
3621 the new constructor.
3623 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3625 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3626 that there's actually a month or year selected before obtaining them.
3627 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3628 of the HildonTouchSelector::changed signal, as it was emitted on every
3629 single item selection.
3631 Fix some warnings and possible crashers due to the selection restoring.
3633 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3635 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3636 the signal handlers only after creating the dialog instead of on every
3639 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-button.c (hildon_button_init)
3642 * src/hildon-check-button.c (hildon_check_button_init)
3643 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3644 focus when clicked by default.
3646 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3648 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3651 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3653 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3654 Alejandro G. Castro (alex@igalia.com)
3656 * src/hildon-picker-dialog.c:
3657 (hildon_picker_dialog_class_init): install new "center-on-show"
3659 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3660 (hildon_picker_dialog_set_property): add setter code for the new
3662 (hildon_picker_dialog_get_property): add getter code for the new
3664 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3665 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3668 Fixes: NB#92849 (Selected item is not always visible when
3669 HildonTouchSelector is shown)
3671 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3673 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3674 Alejandro G. Castro (alex@igalia.com)
3676 * src/hildon-touch-selector.c:
3677 (_create_new_column): Do not connect to the "realize" signal of the
3679 (hildon_touch_selector_append_column): center on the selected items
3680 when a new column is appended.
3681 (hildon_touch_selector_select_iter): Factor out the code to select a
3682 column to hildon_touch_selector_scroll_to().
3683 (+search_nearest_element): Method to retrieve the nearest selected
3684 element to the visible area of the pannable area in a column.
3685 (+on_realize_cb): scroll to the initially selected item.
3686 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3687 the pannable area is realized, otherwise delay this until it is.
3688 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3689 selected items of a given column.
3690 (+hildon_touch_selector_center_on_selected): Public method to center
3691 all columns on the nearest selected item.
3692 * src/hildon-touch-selector.h: Add definition for
3693 hildon_touch_selector_center_on_selected().
3695 Implement public API to ensure visibility of all selected items in
3696 a HildonTouchSelector.
3698 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3700 Fixed a problem in the fading when calling the scroll_to API, and
3701 improve scrollbar fading handling.
3703 * src/hildon-pannable-area.c,
3704 (hildon_pannable_area_grab_notify): avoid the timeout when the
3706 (hildon_pannable_area_button_press_cb),
3707 (hildon_pannable_area_motion_notify_cb): Code style changes.
3708 (hildon_pannable_area_button_release_cb): Review the conditions
3709 when releasing the mouse button to avoid unrequired fading
3711 (hildon_pannable_area_scroll_to): Do not calculate and set the
3712 velocity if the scroll is not required.
3714 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3717 Don't check whether the new selector is NULL: it cannot be.
3718 Hold a reference to the selector while doing the replacement.
3720 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3722 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3723 unnecessary size_request in a removed widget.
3725 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3728 an unnecessary reference tracking that was leaking.
3730 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3732 Added delayed motion notify event handling, this way we can
3733 discard redrawing if more than 25 events arrive per second.
3735 * src/hildon-pannable-area.c,
3736 (hildon_pannable_area_init): Initialized the new private atributes
3737 controlling this timeout
3738 (hildon_pannable_area_dispose): Remove the timeout that controls
3739 the motion notify events.
3740 (hildon_pannable_area_scroll): Added a condition to control the
3741 use of the acceleration.
3742 (hildon_pannable_area_motion_event_scroll_timeout),
3743 (hildon_pannable_area_motion_event_scroll): Added this two
3744 functions, they handle the motion notify events inside the
3746 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3747 to the scroll method with the new function.
3748 (hildon_pannable_area_button_release_cb): We have to remove the
3749 timeout handler and move to the last position if the last motion
3750 events were not handled.
3752 Fixes: NB#97028 (Pannable area updates on every motion event)
3754 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3756 * src/hildon-pannable-area.c,
3757 (hildon_pannable_area_get_topmost): Added a new parameter to
3758 filter the the windows that do not include those events. Added
3759 also a condition when finding the window to filter windows that do
3760 not ask for those events.
3761 (hildon_pannable_area_button_press_cb),
3762 (hildon_pannable_area_button_release_cb),
3763 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3764 topmost function, we have added the new parameter.
3766 Fixes: NB#97458 (Pannable area prevents propagation of button
3769 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3771 * src/hildon-pannable-area.c,
3772 (hildon_pannable_area_initial_effect): Added controls before
3773 launching the timeout and the idle functions.
3774 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3775 of the method, in some situations it can return with TRUE and 0 in
3777 (hildon_pannable_area_button_press_cb): We do not need to set
3778 DELAY for fading out here.
3780 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3782 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3785 post-cleaning if the selection is not NULL.
3787 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3790 all items before restoring the selection.
3792 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3794 * src/hildon-touch-selector.c:
3795 (+hildon_touch_selector_unselect_all):
3796 * src/hildon-touch-selector.h: New API to unselect all items in a
3797 column of the touch selector.
3799 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3801 * src/hildon-pannable-area.c,
3802 (hildon_pannable_area_redraw): Added a call to the refresh
3803 function inside the redraw because apparently in some cases the
3804 change in the adjustment does not imply a size allocate.
3806 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
3807 despite the view not being scrollable)
3809 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3811 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
3812 leak. Check for NULL before attempting to set the window title.
3814 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
3817 whether to show or not the 'Done' button each time the dialog is
3818 shown, as it depends on the HildonTouchSelector selection mode.
3820 Fixes: NB#96226 (In multiple selection mode Done button is shown
3821 sometimes in listpicker)
3823 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
3826 for the number of columns in the HildonTouchSelector more than once.
3828 2009-01-14 Alberto Garcia <agarcia@igalia.com>
3830 * src/hildon-touch-selector.c: Minor documentation fixes.
3832 * src/hildon-picker-dialog.c (+_dialog_update_title)
3833 (_select_on_selector_changed_cb)
3834 (_update_title_on_selector_changed_cb)
3835 (on_selector_columns_changed): Update dialog title when there's no
3836 'Done' button and also when the number of columns in the selector
3840 * src/hildon-picker-button.c (hildon_picker_button_finalize)
3841 (+_selection_changed, hildon_picker_button_on_dialog_response)
3842 (hildon_picker_button_selector_selection_changed)
3843 (+hildon_picker_button_selector_columns_changed)
3844 (hildon_picker_button_set_selector): Update button value and emit
3845 'value-changed' when the number of columns in the selector
3849 Fixes: NB#96225 (Dialog titles are not shown according to the
3850 values selected in the list picker)
3852 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
3855 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
3856 New "arrow-width" and "arrow-height" style properties to set the
3857 size of the arrow button.
3858 Set name of arrow button ("hildon-edit-toolbar-arrow").
3860 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3861 graphics from theme)
3863 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3865 * src/hildon-picker-button.c:
3866 (hildon_picker_button_selector_selection_changed): Use
3867 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
3868 the dialog is present.
3870 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
3871 the selection is accepted in the dialog)
3873 2009-01-13 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-color-chooser.h
3876 * src/hildon-color-chooser-dialog.h:
3877 Added G_BEGIN_DECLS and G_END_DECLS
3879 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3881 (_clean_current_selection): plug a leak in the list.
3883 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
3885 * src/hildon-picker-dialog.c:
3886 (+free_path_list): Method to free a GList of GtkTreePaths.
3887 (_clean_current_selection), (_save_current_selection),
3888 (_restore_current_selection): Save the current selection in
3889 as a list of lists, to support multiple selection properly.
3891 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3893 patch by Claudio Saavedra (csaavedra@igalia.com)
3895 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
3896 Store the press position.
3897 (+hildon_text_view_button_release_event): If the release position is
3898 close enough to the press position, move the cursor here. Otherwise,
3900 (hildon_text_view_class_init): Override GtkTextView press, release, and
3901 motion event handlers, disabling this way text selection through
3902 pointer interaction, and allowing the container widget to handle the
3905 Fixes: NB#95828 (HildonTextView functionality)
3907 2009-01-12 Alberto Garcia <agarcia@igalia.com>
3909 Based on a patch by Iván Gómez (igomez@igalia.com)
3911 * src/hildon-button.[ch]
3912 * src/hildon-calendar.c
3913 * src/hildon-check-button.c
3914 * src/hildon-date-editor.c
3915 * src/hildon-date-selector.c
3916 * src/hildon-picker-button.c
3917 * src/hildon-time-editor.c
3918 * src/hildon-time-selector.c
3919 * src/hildon-touch-selector.[ch]:
3920 Documentation updates
3922 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3924 * src/hildon-pannable-area.c,
3925 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
3926 threshold, it was required due to X events handling.
3928 2009-01-12 Alejandro G. Castro <alex@igalia.com>
3930 * src/hildon-pannable-area.c,
3931 (hildon_pannable_area_grab_notify),
3932 (hildon_pannable_area_initial_effect),
3933 (hildon_pannable_area_button_press_cb),
3934 (hildon_pannable_area_button_release_cb),
3935 (hildon_pannable_area_scroll_cb),
3936 (hildon_pannable_area_scroll_to): Review the timeout management of
3937 the scrollbar, the frecuency was incorrectly set.
3939 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
3941 * src/hildon-picker-button.c:
3942 (+hildon_picker_button_on_dialog_response),
3943 (hildon_picker_button_clicked): Present the dialog instead of
3944 running it with gtk_dialog_run().
3946 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
3949 2009-01-07 Alberto Garcia <agarcia@igalia.com>
3951 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
3952 (hildon_app_menu_finalize): When a window is hidden it doesn't
3953 emit notify::is-topmost, so make sure than the menu also
3954 disappears in that case.
3955 (parent_window_topmost_notify): Renamed from parent_window_hidden
3957 Fixes: NB#94460 (stackable window's menu is not closed when its
3960 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3962 * src/hildon-touch-selector-entry.c:
3963 (+hildon_touch_selector_entry_set_input_mode),
3964 (+hildon_touch_selector_entry_get_input_mode):
3965 * src/hildon-touch-selector-entry.h: New methods to access the input
3966 mode in the selector's entry.
3968 Fixes: NB#93410 (API required for setting IM mode in
3969 HildonTouchSelectorEntry)
3971 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3973 * configure.ac: post release version bump.
3974 * debian/changelog: version bump
3976 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
3981 * configure.ac: Bump version.
3982 * debian/changelog: Updates.
3984 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
3986 * src/hildon-touch-selector.c:
3987 (_hildon_touch_selector_has_multiple_selection): No need
3988 to initialize the variables here.
3990 2008-12-17 Alberto Garcia <agarcia@igalia.com>
3992 * src/hildon-note-private.h
3993 * src/hildon-note.c (event_box_press_event, hildon_note_init)
3994 (hildon_note_finalize, hildon_note_rebuild): Close information
3995 notes when they receive a button press.
3997 Fixes: NB#89890 (Information notes does not get disappeared after
4000 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4002 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4003 mark from the wizard title, as it's not really necessary. Also,
4004 do not display the page title if not set.
4006 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4008 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4009 (parent_window_hidden): Use the window's "is-topmost" property to
4010 detect when to hide the menu.
4012 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4015 (hildon_app_menu_finalize): If the parent window of the menu is
4016 hidden, hide the menu too.
4018 Fixes: NB#94460 (stackable window's menu is not closed when its
4021 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4024 * debian/libhildon1-examples.install
4026 * examples/Makefile.am:
4027 Use dh_install to install all examples.
4028 Use DEB_SRCDIR instead of defining SOURCE_DIR
4030 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4032 * configure.ac: post release version bump.
4033 * debian/changelog: version bump
4035 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4040 * configure.ac: bump version
4041 * debian/changelog: updates
4042 * debian/control: bump gtk+ dependency
4044 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4046 patch by Christian Dywan (christian@imendio.com)
4048 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4049 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4051 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-check-button.c (hildon_check_button_init)
4054 (hildon_check_button_class_init, hildon_check_button_style_set)
4055 (hildon_check_button_apply_style):
4056 New "checkbox-size" style property.
4058 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4059 larger / configurable size)
4061 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4063 * configure.ac: post release version bump.
4064 * debian/changelog: version bump
4066 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4071 * configure.ac: bump version
4072 * debian/changelog: updates
4074 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4076 * doc/hildon-sections.txt
4077 * src/hildon-pannable-area.c
4078 * src/hildon-program.c
4079 * src/hildon-time-editor.c
4080 * src/hildon-touch-selector-entry.c:
4082 More documentation updates.
4084 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4086 * doc/hildon-sections.txt
4087 * src/hildon-caption.c
4088 * src/hildon-code-dialog.c
4089 * src/hildon-color-button.c
4090 * src/hildon-controlbar.c
4091 * src/hildon-date-editor.c
4092 * src/hildon-date-selector.c
4093 * src/hildon-edit-toolbar.c
4094 * src/hildon-find-toolbar.c
4095 * src/hildon-font-selection-dialog.c
4097 * src/hildon-program.c
4098 * src/hildon-range-editor.c
4099 * src/hildon-seekbar.c
4100 * src/hildon-time-editor.c
4101 * src/hildon-time-selector.c
4102 * src/hildon-volumebar-range.c
4103 * src/hildon-volumebar.c
4104 * src/hildon-vvolumebar.c
4105 * src/hildon-weekday-picker.c
4106 * src/hildon-window.c
4107 * src/hildon-wizard-dialog.c:
4109 Lots of documentation fixes.
4111 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4113 Patch contributed by Iván Gómez (igomez@igalia.com)
4115 * src/hildon-check-button.c:
4116 * src/hildon-date-button.c:
4117 * src/hildon-date-selector.c:
4118 * src/hildon-dialog.c:
4119 * src/hildon-edit-toolbar.c:
4120 * src/hildon-entry.c:
4121 * src/hildon-picker-button.c:
4122 * src/hildon-program.c:
4123 * src/hildon-text-view.c:
4124 * src/hildon-time-button.c:
4125 * src/hildon-touch-selector-entry.c:
4126 * src/hildon-window-stack.c:
4128 Add more "since" tags to the new API.
4130 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4132 * doc/hildon-sections.txt: Add below method.
4133 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4134 version for the hildonized scale.
4135 * src/hildon-gtk.h: Add the definition.
4137 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4139 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4141 * doc/hildon-sections.txt: Add missing entries for new methods.
4143 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4145 Added API to pannable are in order to get its adjustments. We
4146 added two properties to manage the values we had in the private
4149 * src/hildon-pannable-area.c:
4150 (hildon_pannable_area_class_init): Added hadjustment and
4151 vadjustment properties in order to expose horizontal and vertical
4153 (hildon_pannable_area_get_property),
4154 (hildon_pannable_area_set_property): Added code to handle the new
4156 (hildon_pannable_area_get_hadjustment),
4157 (hildon_pannable_area_get_vadjustment): API functions to get the
4159 * src/hildon-pannable-area.h:
4160 (hildon_pannable_area_get_hadjustment),
4161 (hildon_pannable_area_get_vadjustment): API functions to get the
4164 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4166 Fixed some leaks, after valgrinding.
4168 * src/hildon-touch-selector.c:
4169 (_default_print_func): Fixed a leak.
4170 (hildon_touch_selector_append_column): Fixed a leak.
4171 * src/hildon-date-button.c:
4172 (hildon_date_button_init): Fixed a leak.
4173 * src/hildon-date-selector.c
4174 (hildon_date_selector_finalize): Fixed a leak.
4176 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4178 Based on a patch by Christian Dywan (christian@imendio.com)
4180 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4182 * src/hildon-gtk.h: Add definition.
4184 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4186 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-picker-button.c: (hildon_picker_button_init),
4189 (hildon_picker_button_new): Set the HildonButton::style property
4190 in the init method, to propagate the value to the derived classes.
4192 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/hildon-button.c: (hildon_button_class_init): Do not make
4195 the "style" property a construct property.
4197 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4199 * src/hildon-wizard-dialog.h
4200 * src/hildon-wizard-dialog.c
4201 (hildon_wizard_dialog_set_forward_page_func)
4202 * src/hildon-pannable-area.h
4203 * src/hildon-pannable-area.c
4204 (hildon_pannable_area_set_size_request_policy):
4205 Documentation fixes.
4207 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4209 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4211 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4213 * doc/hildon-sections.txt: Added sections file.
4215 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4218 * src/*.[ch]: Updates.
4220 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4222 * examples/hildon-progress-indicator-example.c: new file
4223 * examples/Makefile.am: include the new example program
4225 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4227 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4229 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4231 * configure.ac: post release version bump
4232 * debian/changelog: version bump
4234 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4239 * configure.ac: bump version
4240 * debian/changelog: updates
4241 * debian/control: bump gtk+ dependency
4243 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-dialog.c: Mark as deprecated.
4246 * src/hildon-dialog.h: Mark as deprecated.
4247 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4248 from HildonDialog and still work, even if
4249 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4250 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4252 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4253 maemo changes) instead)
4255 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4257 * src/hildon-pannable_area.h:
4258 * src/hildon-pannable_area.c:
4259 (hildon_pannable_area_class_init),
4260 (hildon_pannable_area_set_property),
4261 (hildon_pannable_area_get_property),
4262 (hildon_pannable_area_size_request),
4263 (hildon_pannable_area_get_size_request_policy),
4264 (hildon_pannable_area_set_size_request_policy): Added new API
4265 allowing applications to control the request policy. Now they can
4266 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4267 children allocation (HILDON_MOVEMENT_CHILDREN).
4269 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4273 (hildon_gtk_tree_view_set_ui_mode)
4274 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4275 mode of treeviews and iconviews.
4277 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4279 * src/hildon-touch-selector-entry.c:
4280 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4281 of a GtkEntry to get proper theming.
4283 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4284 widget, not GtkEntry)
4286 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4288 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4289 no HildonWizardDialogPageFunc.
4291 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4293 Patch contributed by Iván Gómez (igomez@igalia.com)
4295 * src/hildon-app-menu.c:
4296 * src/hildon-button.c:
4297 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4298 * src/hildon-stackable-window.c:
4299 * src/hildon-time-selector.c:
4300 * src/hildon-touch-selector.c:
4301 * src/hildon-window.c:
4303 Add more "since" tags to the new API in hildon 2.2.
4305 2008-12-05 Tim Janik <timj@imendio.com>
4307 Patch contributed by Christian Dywan (christian@imendio.com)
4309 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4310 HildonSizeType, which are supplied by Gtk+ now.
4312 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4314 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4315 (with maemo changes) instead)
4317 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4319 Patch contributed by Iván Gómez (igomez@igalia.com)
4321 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4324 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4326 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4327 (some_page_func), (main): Update the example to use a
4328 HildonWizardDialogPageFunc function.
4330 * src/hildon-wizard-dialog-private.h: Add private data for
4331 the HildonWizardDialogPageFunc function usage.
4333 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4334 (destroy), (hildon_wizard_dialog_init), (response),
4335 (hildon_wizard_dialog_set_forward_page_func):
4336 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4337 that applications can use to stop a HildonWizardDialog to jump to
4340 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4343 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4345 * src/hildon-program.h
4346 * src/hildon-program-private.h
4347 * src/hildon-program.c (hildon_program_init)
4348 (hildon_program_set_common_app_menu)
4349 (hildon_program_get_common_app_menu):
4350 New API for setting a common HildonAppMenu for all
4351 HildonStackableWindows registered with the HildonProgram.
4353 * src/hildon-stackable-window.c
4354 (hildon_stackable_window_toggle_menu):
4355 Use the common HildonAppMenu if a window doesn't have a specific
4358 * src/hildon-app-menu-private.h
4359 * src/hildon-app-menu.c
4360 (hildon_app_menu_get_parent_window):
4361 Function to obtain the window a HildonAppMenu is attached to.
4362 (hildon_app_menu_set_parent_window):
4363 Hide the menu if the parent window is set to NULL.
4365 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4368 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4369 search widget to popup.
4371 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4373 * configure.ac: post release version bump
4374 * debian/changelog: version bump
4376 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4381 * configure.ac: bump version
4382 * debian/changelog: updates
4384 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4386 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4388 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4389 (hildon_window_stack_window_realized)
4390 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4391 Set the leader GdkWindow when a window is stacked and realized,
4392 unset it when it's unstacked.
4393 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4395 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4397 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4399 * src/hildon-stackable-window.h
4400 * src/hildon-window-stack.h:
4401 Protect definition of HildonWindowStack using the preprocessor.
4403 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4406 Fix warning if all menu items are hidden.
4408 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4410 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4412 * src/hildon-controlbar.c:
4413 * src/hildon-hvolumebar.c:
4414 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4415 Multiple scale size defines updates.
4417 Fixes: NB#94322 (Scale Updates)
4419 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4421 * examples/hildon-app-menu-example.c (create_menu)
4422 Show items after adding them to the menu, as in the future the
4423 menu will no longer call gtk_widget_show() on the added items.
4425 * src/hildon-app-menu.c:
4426 Update example as explained above.
4428 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-app-menu.c
4431 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4432 Make sure that all menu items have finger height.
4434 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4436 * src/hildon-picker-dialog.c:
4437 (_on_dialog_response), (_save_current_selection),
4438 (_restore_current_selection), (_clean_current_selection),
4439 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4440 Defined new functions in order to save the current internal selector
4441 selection previous open the dialog, in case that the use cancel the
4442 interaction, so the widget restores the previous selection.
4444 Fixes: NB#92032 (In calendar application, date values in 'new event'
4447 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4449 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-button.c: Add a reference to the button examples in
4452 hildon-button-example.c
4454 * examples/hildon-button-example.c: Added examples of the most
4455 common button layouts.
4457 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4459 * src/hildon-app-menu.c (hildon_app_menu_show)
4460 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4462 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4464 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4466 * src/hildon-picker-dialog.c:
4467 (hildon_picker_dialog_init): Initialize the signal id for
4468 HildonTouchSelector::columns-changed.
4469 (+on_selector_columns_changed): Set up the interaction mode everytime a
4470 column is added or removed from the HildonTouchSelector.
4471 (_hildon_picker_dialog_set_selector): Connect to
4472 HildonTouchSelector::columns-changed and keep track of it.
4474 Make sure to update the interaction mode of the dialog everytime a
4475 column is added or removed in the HildonTouchSelector.
4477 Fixes: NB#93228 (Done button is not shown always in listpicker)
4479 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4482 a new ::columns-changed signal.
4483 (hildon_touch_selector_append_column): Emit ::columns-changed.
4484 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4486 Add a ::columns-changed signal, emitted when the number of columns in a
4487 HildonTouchSelector changes.
4489 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4491 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4492 (_hildon_picker_dialog_set_selector): Factor out the code
4493 to set up the dialog interaction mode.
4495 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4498 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4499 to signal_changed_id.
4501 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4506 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4508 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4509 Updated the logical ids related to ampm format, as now it is required to
4510 show it correctly localized even on languages with no default
4511 abbreviations for am or pm
4512 (_check_am_pm_format): check correctly the 24h format gconf property
4514 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4516 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4518 * src/hildon-button.c: Documentation updates.
4520 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4522 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4523 * src/hildon-caption.c: (hildon_caption_class_init):
4524 * src/hildon-color-button.c: (hildon_color_button_class_init):
4525 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4526 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4527 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4528 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4530 Remove deprecated GTK+ marshalers and replace them with the ones
4531 provided by GLib, for those available, add a marshaler for
4532 BOOLEAN:VOID, which is not available in GLib, and use it.
4534 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4537 the text from the previous column if there is no
4538 HildonTouchSelectorColumn::text-property set.
4540 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4542 * src/hildon-button.h
4543 * src/hildon-button.c (hildon_button_set_property)
4544 (hildon_button_get_property, hildon_button_class_init)
4545 (hildon_button_set_style, hildon_button_get_style):
4546 New "style" property to change the visual appearance of the
4549 * src/hildon-picker-button.c (hildon_picker_button_new):
4550 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4552 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4553 HildonButton look like PickerButton)
4555 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4558 column while building the default string.
4560 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4562 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4563 scroll indicator by default.
4565 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4567 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4569 * src/hildon-main.c: Fix the documentation for hildon_init()
4571 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4573 * doc/hildon-docs.sgml
4577 * src/hildon-window-stack-private.h
4578 * src/hildon-window-stack.h
4579 * src/hildon-window-stack.c:
4580 New HildonWindowStack object, that adds support for multiple
4581 stacks of windows per process.
4583 * src/hildon-stackable-window-private.h
4584 * src/hildon-stackable-window.h
4585 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4586 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4587 (hildon_stackable_window_show, hildon_stackable_window_hide)
4588 (hildon_stackable_window_class_init)
4589 (hildon_stackable_window_init):
4590 Use HildonWindowStack for stack management.
4592 * src/hildon-program.c (hildon_program_pop_window_stack)
4593 (hildon_program_peek_window_stack)
4594 (hildon_program_go_to_root_window):
4595 Add a fallback implementation to the deprecated functions using
4598 * examples/hildon-stackable-window-example.c:
4599 Use the new HildonWindowStack API.
4601 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4603 * src/hildon-stackable-window-private.h
4604 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4605 (hildon_stackable_window_hide, hildon_stackable_window_init):
4606 Remove all window stack management.
4608 * src/hildon-program-private.h
4609 * src/hildon-program.h
4610 * src/hildon-program.c (hildon_program_init)
4611 (hildon_program_pop_window_stack)
4612 (hildon_program_peek_window_stack)
4613 (hildon_program_go_to_root_window):
4614 Remove all window stack management and mark functions as
4617 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4619 * src/hildon-app-menu.c (hildon_app_menu_realize):
4620 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4622 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4624 * configure.ac: post release version bump
4625 * debian/changelog: version bump
4627 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4632 * configure.ac: bump version
4633 * debian/changelog: updates
4635 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4637 Based on initial code by Christian Dywan (christian@imendio.com)
4639 * doc/hildon-docs.sgml: Add section for hildon-main.
4640 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4641 * src/Makefile.am: Add new hildon-main.[ch]
4642 * src/hildon-defines.h: Update the icon sizes.
4643 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4644 new library initialization files and register icon sizes.
4645 * src/hildon-main.h: New declarations.
4646 * src/hildon.h: Include hildon-main.h
4648 Add new initialization functions to the library. These methods
4649 will register the hildon specific icon sizes and can be used in the
4650 future for other hildon specific bits.
4652 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4654 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4656 * src/hildon-window.c: (hildon_window_realize),
4657 (hildon_window_notify), (-hildon_window_update_title): Do not set
4658 the application name in the window title.
4660 Fixes: NB#89754 (Applications shouldn't display their names in the
4663 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4665 * src/hildon-note-private.h:
4666 * src/hildon-note.c: (hildon_note_set_property),
4667 (hildon_note_get_property), (hildon_note_class_init),
4668 (hildon_note_init), (hildon_note_finalize),
4669 (hildon_note_new_confirmation_with_icon_name),
4670 (hildon_note_new_information_with_icon_name):
4672 No need to mark as deprecated the actual code. Revert
4673 to avoid missing symbols in widgets using deprecated API.
4675 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4677 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4679 * src/hildon-volumebar.h
4680 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4681 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4683 * src/hildon-helper.h
4684 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4685 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4687 * examples/Makefile.am:
4688 Deprecate hildon-insensitive-example
4690 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4692 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4694 * examples/hildon-pannable-area-buttons-scroll-example.c:
4695 Make all buttons finger height
4697 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4699 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4701 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4702 update the day model only if it is really required, and to avoid the
4703 full-reconstruction aproach. Now it only add or remove the required days.
4705 The purpose of this is avoid superfluous HildonTouchSelector::changed
4708 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4709 with strange parameters)
4711 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4713 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4715 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4716 the WINDOW_TYPE property.
4718 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4720 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4723 Fix dependency to allow parallel compilation with make -jX
4725 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4727 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4728 color frame and some minor tweaks to make it more consistent with
4731 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4732 highlighted but not visible)
4734 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4736 * examples/Makefile.am: Fixed typo in the Makefile.am.
4738 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4740 Reviewed the use of MAEMO_GTK define, now we add the define in the
4741 compilation line, and we also add it to the pc file.
4743 * configure.ac: Added MAEMO_GTK define to the compilation command
4744 and removed it from the config.h.
4746 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4747 do not have to take care about this define if the library was
4751 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4753 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4755 * examples/Makefile.am,
4756 * examples/hildon-pannable-area-buttons-scroll-example.c,
4757 * examples/hildon-pannable-area-gesture-signals-example.c,
4758 * examples/hildon-pannable-area-scroll-jump-example.c,
4759 * examples/hildon-pannable-area-tree-view-example.c:
4760 Renamed the pannable area examples, now they have more meaningful
4763 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4765 * src/hildon-touch-selector.c:
4766 (hildon_touch_selector_set_column_selection_mode): Used of
4767 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4768 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4769 to avoid re-seting the same selection mode.
4771 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4772 breaks HildonPickerDialog)
4774 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4776 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4777 conditional in the Makefile.am
4779 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4781 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4782 Remove unused methods.
4784 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-button.c (hildon_button_init):
4787 Make button images center-aligned by default
4789 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4792 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4793 activated, we have to think about how to deal with both defines
4794 MAEMO_GTK and MAEMO_CHANGES.
4796 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4798 * examples/hildon-app-menu-example.c (create_menu): Make all
4799 buttons finger size.
4801 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4803 Fixed the compilation without maemo gtk adding ifdefs with
4804 MAEMO_GTK define to the code, we have to check this version more
4807 * examples/Makefile.am: Added control to avoid some examples that
4808 just make sense with maemo gtk.
4811 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
4812 hildon modes with the define.
4814 * examples/hildon-edit-toolbar-example.c,
4815 (create_icon_view): Create the icon view without hildon-gtk
4816 helpers if we are not using maemo gtk.
4818 * src/hildon-touch-selector.c,
4819 (_create_new_column): Create the treeview without hildon-gtk
4820 helpers if we are not using maemo gtk.
4822 2008-11-11 Alejandro G. Castro <alex@igalia.com>
4824 * src/hildon-pnnable-area.c,
4825 (hildon_pannable_area_dispose),
4826 (hildon_pannable_area_button_press_cb),
4827 (hildon_pannable_area_child_mapped),
4828 (hildon_pannable_area_add),
4829 (hildon_pannable_area_remove): Added code to control the position
4830 of the event_window when adding and removing children from the
4831 pannable. We have to raise the event window when the child is
4834 Fixes: NB#89811 (Not able to select first image thumbnail in multi
4835 selection mode using custom widget inside pannable)
4837 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4839 * configure.ac: post release version bump
4840 * debian/changelog: version bump
4842 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
4847 * configure.ac: bump version
4848 * debian/changelog: updates
4850 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
4852 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
4853 search mode, in order to avoid lose the focus on the treeview when
4854 a hw key (like enter) is pressed.
4856 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
4857 in HildonDateSelector dialog)
4859 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
4861 * debian/rules: Added --enable-maintainer-mode
4862 * Makefile.am: Added ACLOCAL_AMFLAGS
4864 This allows to properly regenerate the Makefiles if you modify the
4865 configure.ac or any Makefile.am.
4867 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4869 * examples/hildon-app-menu-example.c: (main): Do not set RC style
4870 properties, not needed at all.
4872 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4874 * src/hildon-note-private.h: Add strings for the icon and stock_icon
4876 * src/hildon-note.c: (hildon_note_set_property),
4877 (hildon_note_get_property), (hildon_note_class_init),
4878 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
4879 (hildon_note_new_confirmation_add_buttons): Remove icons.
4880 (hildon_note_new_confirmation_with_icon_name): Deprecate.
4881 (hildon_note_new_information_with_icon_name): Deprecate.
4882 (hildon_note_new_confirmation): Act directly, without calling
4883 the deprecated constructor.
4884 (hildon_note_new_information): Act directly, without calling
4885 the deprecated constructor.
4886 * src/hildon-note.h: Mark deprecate methods as such.
4887 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
4888 not run tests on the deprecated methods if built with deprecation
4891 Fixes: NB#91688 (Never show icons in information notes/confirmation
4894 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
4896 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
4897 (hildon_app_menu_key_press): Remove leftover usage of the
4898 private structure in HildonAppMenu struct.
4899 * src/hildon-app-menu.h: Remove leftover private structure
4900 from the HildonAppMenu struct.
4902 Fixes a crasher when using the HildonAppMenu.
4904 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-picker-dialog.c: Use appropriate logical id
4907 for the default "Done" text.
4909 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
4911 * configure.ac: post release version bump
4912 * debian/changelog: version bump
4914 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
4916 Modified the way to scroll to the current selection just when the touch
4917 selector is shown on the screen, avoiding a g_idle. Added too a property
4918 to configure this behaviour. See hildon_pannable_area_jump_to_child
4919 documentation for more information.
4921 * src/hildon-touch-selector.c
4922 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
4923 Added 'initial-scroll' property
4924 (hildon_touch_selector_set_property): Added
4925 (hildon_touch_selector_map): Removed as not required anymore
4926 (_hildon_touch_selector_on_selected_items): Modified in order to manage
4927 only a concrete column, instead of iterate along all the columns
4929 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4934 * configure.ac: bump version
4935 * debian/changelog: updates
4937 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4939 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
4940 compilation time warnings.
4942 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
4945 the default value for HildonPannableArea::mov-mode to
4946 HILDON_PANNABLE_AREA_MODE_VERT.
4948 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
4950 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4952 Reverting following commit:
4954 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4956 * src/hildon-app-menu-private.h
4957 * src/hildon-app-menu.[ch]
4958 * src/hildon-button.[ch]
4959 * src/hildon-check-button.[ch]
4960 * src/hildon-entry.[ch]
4961 * src/hildon-pannable-area.[ch]
4962 * src/hildon-text-view.[ch]:
4963 Added private field to the object's structure.
4965 because it causes an ABI breakage. We will need to introduce these
4966 changes later at some point. See NB#91636 for an extensive
4967 explanation and status.
4969 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
4971 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4973 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
4974 remove special cases that are no longer necessary.
4976 Fixes: NB#91016 (Change toolbar sizes, simplification)
4978 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4980 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
4981 is shown in the cancel note.
4983 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
4985 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
4986 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
4987 (hildon_seekbar_init): Remove steppers, remove expose event.
4988 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
4990 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
4992 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
4994 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
4995 label font to "SmallSystemFont" for vertically arranged buttons.
4997 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5000 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5002 * src/hildon-check-button.c
5003 (hildon_check_button_set_active, hildon_check_button_clicked):
5004 Don't access private parts directly, use getters instead.
5006 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5008 * src/hildon-check-button.c (hildon_check_button_new):
5009 Align the contents of the check button to the left.
5011 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5013 * src/hildon-pannable-area.c,
5014 (hildon_pannable_area_scroll_to),
5015 (hildon_pannable_area_jump_to),
5016 (hildon_pannable_area_scroll_to_child),
5017 (hildon_pannable_area_jump_to_child): Replace the mapped
5018 precondition of these functions with the realized, it is the
5019 correct state of the widget in this case. Changed the
5020 documentation according to this modification.
5022 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5024 Added a new EXTRA_CFLAGS option to add the deprecated define to
5025 the compilation command. This way we can avoid using the define in
5026 the documentation compilation.
5028 * configure.ac: Defined EXTRA_CFLAGS.
5030 * examples/Makefile.am:
5032 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5034 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5036 * src/hildon-picker-dialog.c:
5037 Defined a utility macro with the desired touch selector height
5038 Removed currently unused separator, and title_label variables from
5040 (hildon_picker_dialog_init): Removed code related to the creation
5041 of unused private variables title_label and separator.
5042 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5043 to ensure correct visualization of the touch selector inside the dialog.
5044 * src/hildon-touch-selector.c
5045 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5046 ensure a concrete height of the widget.
5048 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5051 * tests/Makefile.am:
5053 Remove spurious whitespaces.
5055 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5058 compilation warning after the cancel button removal.
5060 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5062 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5064 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5065 Makefile.am, that way we can choose not to compile some examples
5066 and tests of the deprecated widgets.
5068 * examples/Makefile.am: Divided the sources in deprecated and
5071 * src/Makefile.am: Added undef statement of the deprecated
5072 symbol to the enums file generation process.
5074 * src/hildon-color-chooser-dialog.c
5075 * src/hildon-color-chooser-dialog.h
5076 * src/hildon-color-button.c
5077 * src/hildon-color-button.h
5078 * src/hildon-color-chooser.c
5079 * src/hildon-color-chooser.h
5080 * src/hildon-controlbar.c
5081 * src/hildon-controlbar.h
5082 * src/hildon-date-editor.c
5083 * src/hildon-date-editor.h
5084 * src/hildon-hvolumebar.c
5085 * src/hildon-hvolumebar.h
5086 * src/hildon-private.c
5087 * src/hildon-private.h
5088 * src/hildon-range-editor.c
5089 * src/hildon-range-editor.h
5090 * src/hildon-seekbar.c
5091 * src/hildon-seekbar.h
5092 * src/hildon-time-editor.c
5093 * src/hildon-time-editor.h
5094 * src/hildon-time-picker.c
5095 * src/hildon-time-picker.h
5096 * src/hildon-volumebar.c
5097 * src/hildon-volumebar.h
5098 * src/hildon-vvolumebar.c
5099 * src/hildon-vvolumebar.h
5100 * src/hildon-bread-crumb-trail.h
5101 * src/hildon-bread-crumb-trail.c
5102 * src/hildon-calendar-popup.c
5103 * src/hildon-calendar-popup.h
5104 * src/hildon-weekday-picker.c:
5105 * src/hildon-weekday-picker.h:
5106 * src/hildon-bread-crumb-widget.c:
5107 * src/hildon-bread-crumb-widget.h:
5108 * src/hildon-bread-crumb.c:
5109 * src/hildon-bread-crumb.h:
5110 * src/hildon-calendar.c:
5111 * src/hildon-calendar.h:
5112 * src/hildon-caption.c:
5113 * src/hildon-code-dialog.c:
5114 * src/hildon-code-dialog.h:
5115 * src/hildon-font-selection-dialog.c:
5116 * src/hildon-font-selection-dialog.h:
5117 * src/hildon-get-password-dialog.c:
5118 * src/hildon-get-password-dialog.h:
5119 * src/hildon-login-dialog.c:
5120 * src/hildon-login-dialog.h:
5121 * src/hildon-number-editor.c:
5122 * src/hildon-number-editor.h:
5123 * src/hildon-set-password-dialog.c:
5124 * src/hildon-set-password-dialog.h:
5125 * src/hildon-sort-dialog.c:
5126 * src/hildon-sort-dialog.h: This is the list of deprecated
5129 * src/hildon-touch-selector.c:
5130 * src/hildon-window.c: Added undef statement to avoid compilation
5133 * tests/Makefile.am: Divided the sources in deprecated and
5136 * tests/check_test.c,
5137 (configure_tests): Marked the deprecated code that was adding
5138 suites with deprecated tests.
5140 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5142 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5144 * src/hildon-touch-selector.c: (_default_print_func): Do not
5145 duplicate a string returned by gtk_tree_model_get(), it is already
5148 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5151 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5153 * src/hildon-pannable-area.c
5154 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5155 method, it had problems when adding a widget with viewport the
5156 second time. Now checks if it already has a viewport and uses it.
5158 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5161 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5163 * src/hildon-pannable-area.c,
5164 (hildon_pannable_area_scroll_to),
5165 (hildon_pannable_area_jump_to),
5166 (hildon_pannable_area_scroll_to_child),
5167 (hildon_pannable_area_jump_to_child): Added a precondition to the
5168 scroll and jump to functions: the widget must be mapped before we
5169 can safely call these functions. We have also added documentation
5170 to the functions to explain how to use them in this situation.
5173 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5175 Reviewed the threading handling of the pannable widget, we have
5176 used the gdk_threads_add_timeout function instead of the usual
5177 glib handlers. This avoids some problems with the threads.
5179 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5180 (hildon_pannable_area_initial_effect),
5181 (hildon_pannable_area_scroll_indicator_fade),
5182 (hildon_pannable_area_button_press_cb),
5183 (hildon_pannable_area_timeout),
5184 (hildon_pannable_area_motion_notify_cb),
5185 (hildon_pannable_area_button_release_cb),
5186 (hildon_pannable_area_scroll_cb),
5187 (hildon_pannable_area_scroll_to): Removed the
5188 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5189 gdk_threads_add_timeout.
5191 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5193 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5198 * configure.ac: bump version
5199 * debian/changelog: updates
5201 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5203 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5204 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5205 * src/hildon-color-chooser-dialog.c:
5206 (hildon_color_chooser_dialog_init):
5207 * src/hildon-font-selection-dialog.c:
5208 (hildon_font_selection_dialog_init):
5209 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5211 Remove all cancel/close-like dialogs, as these are not going to be
5214 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-note.c: (hildon_note_rebuild),
5217 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5220 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5222 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5224 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5225 sure all buttons are shown, even the Cancel/Close-like ones.
5227 Fixes: NB#90861 (Custom Confirmation dialogs should be
5228 protected from cancel button removal)
5230 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5232 * debian/control: Change libhildon1-examples dependency from libhildon1
5234 * debian/libhildon1-examples.install
5236 * Makefile.am: Modified the final install directory for the examples on
5237 package libhildon1-examples
5238 * Makefile.static: Update clean target in order to remove all the binary
5241 Changes suggested by Claudio after review new libhildon1-examples package
5243 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5245 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5246 * src/hildon-touch-selector.c: Ditto.
5248 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5250 * debian/control: Added new package libhildon1-examples, in order to pack
5251 the current hildon examples as documentation
5252 * debian/rules: Not to compress .c files, modify some includes on the
5253 examples (as normally are compiled locally, but when installed it will
5254 require to include the installed libhildon1 library), and rename
5256 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5257 install all the example files on the new example package
5258 * examples/Makefile.static: Added static makefile that can be used to
5259 compile the examples, once installed the new example package
5260 * examples: Most of the examples were modified in order to grant that
5261 all use only '#include "hildon.h"', in order to be easy to prepare
5262 it on the example package
5264 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5267 * debian/libhildon1-dev.install
5268 * debian/libhildon1-doc.install:
5269 Move all gtk-doc files to a separate libhildon1-doc package.
5271 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5273 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5275 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5277 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5279 * debian/rules: Fixed a error in order to avoid unnecessary calls
5280 to autogen.sh on package building
5282 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5284 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5286 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5288 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5291 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5293 * src/hildon-picker-button.c
5294 (hildon_picker_button_finalize):
5295 Free priv->done_button_text
5297 * src/hildon-time-button.c
5298 (hildon_time_button_set_time)
5299 * src/hildon-picker-button.c
5300 (hildon_picker_button_clicked)
5301 (hildon_picker_button_selector_selection_changed)
5302 (hildon_picker_button_set_selector)
5303 * src/hildon-date-button.c
5304 (hildon_date_button_set_date):
5305 Free strings returned by hildon_touch_selector_get_current_text()
5307 * src/hildon-button.c (hildon_button_construct_child):
5308 Fix leaks in priv->image and priv->label_box
5310 Fixes: NB#90535 (Memory leak in picker button)
5312 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5314 * src/hildon-button.c: (hildon_button_get_property): Do not access
5315 private elements directly, use getters instead.
5317 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-app-menu-private.h
5320 * src/hildon-app-menu.c
5321 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5322 Store the menu's parent window.
5324 * src/hildon-stackable-window.c
5325 (hildon_stackable_window_toggle_menu)
5326 (hildon_stackable_window_finalize):
5327 Set the menu's parent window when the menu is shown, unset it when
5330 * src/hildon-app-menu.c
5331 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5332 (hildon_app_menu_class_init):
5333 Send unhandled keyboard accelerators to the parent window.
5335 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-stackable-window.c
5338 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5340 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5342 * configure.ac: post release version bump
5344 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5347 * configure.ac: Bump version
5348 * debian/changelog: Updates
5349 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5352 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5354 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5357 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5358 GtkMenu with Hildon style.
5360 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-picker-button.c:
5363 (hildon_picker_button_set_done_button_text): Set the dialog's
5364 done button text here as well.
5366 Fixes: NB#90232 (Picker button does not set the label on done button
5367 for the second time)
5369 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5371 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5374 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5376 * src/hildon-app-menu.c (hildon_app_menu_insert)
5377 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5378 the HildonAppMenu to be activatable using keyboard accelerators
5379 when the menu is not being shown.
5381 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5383 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5385 * src/hildon-stackable-window.c
5386 (hildon_stackable_window_show):
5387 Don't hide old windows automatically when new windows are shown:
5388 this is now a task for the window manager.
5389 (hildon_stackable_window_class_init)
5390 (hildon_stackable_window_hide):
5391 Remove windows from the stack everytime they're hidden.
5392 (hildon_stackable_window_realize):
5393 Don't change the _NET_WM_WINDOW_TYPE property. Use
5394 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5395 it as a stackable window.
5397 * src/hildon-program.c
5398 (hildon_program_pop_window_stack):
5399 Just hide the window to remove it from the stack.
5400 (hildon_program_go_to_root_window):
5401 Don't call gtk_widget_show(), this is now a task for the window
5404 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5406 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5408 * src/hildon-button.c
5409 (hildon_button_construct_child):
5410 Don't pack anything in the button until text or image are
5411 set. This allows adding a custom child after creating the button
5412 with hildon_button_new().
5413 (hildon_button_finalize, hildon_button_class_init)
5414 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5415 alignment and the label box even when they're not packed in the
5418 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5420 * src/hildon-touch-selector.h:
5421 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5422 currently the type definition was using GTK_TYPE_VBOX
5423 * src/hildon-touch-selector.c:
5424 Added some implementation notes in order to clarify that any other widget
5425 added without the column related API will not be included on the
5426 selection logic, and how the widget is freed, as some people ask about
5428 (hildon_touch_selector_remove): Reimplemented in order to free properly
5429 the column related data when you remove the private hbox.
5430 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5431 to get a proper HildonTouchSelectorColumn documentation
5433 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5435 * src/hildon-touch-selector-entry.c:
5436 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5437 text in the GtkEntry and there is no item selected. Fixes a
5440 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5442 * src/hildon-app-menu-private.h
5443 * src/hildon-app-menu.[ch]
5444 * src/hildon-button.[ch]
5445 * src/hildon-check-button.[ch]
5446 * src/hildon-entry.[ch]
5447 * src/hildon-pannable-area.[ch]
5448 * src/hildon-text-view.[ch]:
5449 Added private field to the object's structure.
5451 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5453 * configure.ac: post-release version bump
5455 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5459 * configure.ac: pre-release version bump
5461 * debian/changelog: updates.
5463 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5465 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5466 Disconnect the handler for HildonTouchSelector::changed.
5468 (hildon_picker_button_selector_selection_changed): Update the button
5469 value if the selection change was not triggered by the
5472 (hildon_picker_button_set_selector): connect to
5473 HildonTouchSelector::changed.
5475 Fixes: NB#89650 (Picker button is not updated, when selection in
5476 selector has changed)
5478 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5480 * src/hildon-picker-dialog.c
5481 (hildon_picker_dialog_realize): Removed as not required
5482 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5483 * src/hildon-picker-button.c
5484 (_current_selector_empty): New function, checks if the selector is empty
5485 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5486 if the current selector is empty, in order to avoid to show the dialog
5487 close the dialog in this case (and shows a g_warning).
5489 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5491 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5493 * src/hildon-pannable-area.c,
5494 (hildon_pannable_area_scroll): Added clause to stop movement when
5495 the child of pannable is smaller than one page.
5496 (hildon_pannable_area_scroll_to): Added conditions to avoid
5497 starting the scrolling movement if the child is smaller than one
5498 page, the complete child is in the screen, we do not have to move.
5500 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5502 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5504 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5505 this is managed automatically by the widget when the size of the
5508 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5510 * src/hildon-picker-button.c
5511 (hildon_picker_button_set_done_button_text): Make a copy of the
5512 text, and free the previous value.
5514 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5516 * src/hildon-touch-selector-entry.c:
5517 (hildon_touch_selector_entry_print_func): Return the selected row's
5518 text if the entry is empty.
5520 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5523 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5525 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5527 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5530 * src/hildon-check-button.h
5531 * src/hildon-check-button.c
5532 * examples/hildon-check-button-example.c:
5533 HildonCheckButton is now a new widget. 'toggled' signal added.
5535 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-program-private.h
5538 * src/hildon-program.c (hildon_program_init)
5539 (hildon_program_finalize): Removed unused variables group_leader
5540 and name from HildonProgramPrivate.
5542 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-check-button.c (hildon_check_button_set_active)
5545 (hildon_check_button_get_active, hildon_check_button_new): Use
5546 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5548 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5550 * src/hildon-touch-selector.h
5551 (hildon_touch_selector_set_column_attributes): added deprecation
5552 guard HILDON_DISABLE_DEPRECATED
5553 * src/hildon-time-selector.c
5554 (hildon_time_selector_set_time)
5555 (hildon_time_selector_get_time): Fixed a typo on documentation
5556 * src/hildon-touch-selector.c: update HildonTouchSelector and
5557 HildonTouchSelectorColumn documentation
5558 * src/hildon-touch-selector-entry.c: update "text-column" property
5560 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5561 to be added to the general documentation.
5563 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5565 * examples/hildon-pannable-area-example-4.c,
5567 * examples/hildon-pannable-area-example.c,
5568 (main): Modified the code in order to use the container add, with
5569 viewport treeviews could have problems if they are really big.
5571 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5573 * src/hildon-weekday-picker.c,
5574 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5575 the agreement regarding deprecation in the library.
5577 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5579 * examples/hildon-picker-button-multicolumn-example.c:
5580 (main): Use custom "done" button text.
5582 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5583 (hildon_picker_button_set_property),
5584 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5585 (hildon_picker_button_init),
5586 (+hildon_picker_button_get_done_button_text),
5587 (+hildon_picker_button_set_done_button_text): New methods to customize
5588 the "done" button label in the launched HildonPickerDialog. Also,
5591 * src/hildon-picker-button.h: add the public API.
5593 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5595 * src/hildon-date-selector.h:
5596 * src/hildon-picker-dialog.h:
5597 * src/hildon-time-selector.h:
5598 * src/hildon-touch-selector-column.h:
5599 * src/hildon-touch-selector.h:
5601 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5602 declarations. Fixes gtk-doc warnings.
5604 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5606 * src/hildon-picker-dialog.h
5607 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5608 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5610 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5611 long text is set as label for done button)
5613 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5615 * src/hildon-dialog.c (hildon_dialog_add_button):
5616 Set fixed width to all buttons in the HildonDialog.
5618 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5620 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5622 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5623 Set widget name using class name plus "-finger" or "-thumb".
5625 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5627 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5628 'clicked' when the state of the button is manually changed.
5630 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5632 * src/hildon-app-menu.c (hildon_app_menu_realize)
5633 (hildon_app_menu_unrealize, hildon_app_menu_init)
5634 (hildon_app_menu_class_init, item_visibility_changed):
5635 Change the menu layout when the size of the screen changes.
5636 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5637 Show warning only when changing the number of colums using the
5640 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5642 * debian/compat: Set to 5
5643 * debian/control: Update dependencies.
5644 * debian/libhildon1-dbg.install: Remove.
5645 * debian/libhildon1-dev.install: Update according to cdbs paths.
5646 * debian/libhildon1.install: Update according to cdbs paths.
5647 * debian/rules: Switch to cdbs.
5649 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5651 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5652 'item' variable renamed to 'filter'
5654 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5656 * src/hildon-app-menu.c (hildon_app_menu_insert)
5657 (hildon_app_menu_add_filter, remove_item_from_list)
5658 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5659 Don't leak hidden items when the menu is destroyed.
5661 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5663 * src/hildon-app-menu.c (hildon_app_menu_insert)
5664 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5665 (hildon_app_menu_set_columns, item_visibility_changed)
5666 (filter_visibility_changed, hildon_app_menu_repack_filters)
5667 (hildon_app_menu_repack_items):
5668 Repack items and filters separately.
5670 Don't repack all items, change only the ones that are needed to
5673 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5675 * src/Makefile.am: added hildon-touch-selector-column.h
5677 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5679 * src/hildon-touch-selector.c: added the property "text-column" to the
5680 class HildonTouchSelectorColumn, and related get/set functions
5681 (_default_printf_func): updated to use "text-column" property
5682 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5683 "text-column" in his documentation, as this is now included on
5684 HildonTouchSelectorColumn. The get/set_property can still be used,
5685 working as a wrapper to the concrete column "text-column" property
5686 (_text_column_modified): callback added in order to handle the signal
5687 "notify::text-column" of the concrete HildonTouchSelectorColumn
5688 (hildon_touch_selector_entry_get_text_column)
5689 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5690 modified in order to use the HildonTouchSelectorColumn "text-column"
5692 * src/hildon-time-selector.c:
5693 * src/hildon-date-selector.c:
5694 * examples/hildon-touch-selector-example.c
5695 * examples/hildon-touch-selector-multi-cells-example.c
5696 * examples/hildon-picker-button-multicolumn-example.c
5697 Set the right value to "text-column" property on the creation of a new
5698 column using hildon_touch_selector_append_column()
5700 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5702 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-app-menu.c
5705 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5706 updating the layout of the menu, don't create all widgets again,
5707 just repack the items in their new places.
5709 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5711 * src/hildon-time-selector.c
5712 (hildon_time_selector_get_time)
5713 (hildon_time_selector_set_time)
5714 Added documentation of these public methods
5716 * src/hildon-date-button.h
5717 * src/hildon-touch-selector-column.h
5718 * src/hildon-time-button.h
5719 * src/hildon-picker-dialog.h
5720 * src/hildon-time-selector.h
5721 * src/hildon-picker-button.h
5722 * src/hildon-touch-selector.h
5723 * src/hildon-time-picker.h
5724 * src/hildon-date-selector.h
5725 * src/hildon-touch-selector-entry.h
5726 Modified in order to use hildon-widgets code style
5728 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5730 Added deprecated support to the compilation process using
5731 HILDON_DISABLE_DEPRECATED
5733 * configure.ac: Added the --disable-deprecated to the configure
5736 * src/hildon-weekday-picker.c:
5737 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5738 to use the deprecated support. We will update the other deprecated
5739 widgets status in a new patch.
5741 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5743 * configure.ac: Fixed typo with fatal warnings support, the
5744 variable name was not correct
5746 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5748 * src/hildon-app-menu.c
5749 * src/hildon-program.c: Update documentation.
5751 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5753 * configure.ac: Post-release version bump.
5755 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5760 * configure.ac: Pre-release version bump.
5761 * debian/changelog: Updates.
5763 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5765 * NEWS: Update news for previous releases.
5767 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5769 * examples/hildon-touch-selector-multi-cells-example.c:
5770 (create_selector): Update the example to use
5771 hildon_touch_selector_append_column() with a NULL renderer and set
5772 the renderers later.
5773 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5774 passed a NULL renderer. This is documented behavior now.
5776 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5777 This must be used if the developer wants full control on the layout of
5778 the renderers to be added to the column.
5780 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5782 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5784 * src/hildon-touch-selector.c: Documentation fixes.
5786 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-wizard-dialog-private.h: Remove image and box.
5789 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5790 (hildon_wizard_dialog_set_property), (response): Completely remove
5791 image/icon support, and the containers required for the layout.
5793 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5795 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5797 * src/hildon-app-menu.c: Updated documentation.
5799 * src/hildon-stackable-window.c
5800 (hildon_stackable_window_set_main_menu): Unref the old menu after
5801 ref'ing the new one.
5803 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-stackable-window.c
5806 (hildon_stackable_window_set_main_menu): Unref the previous menu
5807 instead of destroying it.
5809 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
5810 floating reference and set has_user_ref_count to FALSE to make
5811 HildonAppMenu act like a normal ref-counted widget and not a
5814 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
5817 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
5819 * src/hildon-touch-selector-column.h: new file
5820 * src/hildon-touch-selector.h
5821 * src/hildon-touch-selector.c
5822 Implemented GtkCellLayout interface, in order to allow to configure
5823 the cell layout on each individual selector column
5824 (hildon_touch_selector_set_column_attributes): marked as deprecated
5825 * examples/hildon-touch-selector-multi-cells-example.c
5826 Example of how to use the GtkCellLayout interface on the selector
5828 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5830 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-app-menu.h
5833 * src/hildon-app-menu.c
5834 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
5835 (hildon_app_menu_append, hildon_app_menu_prepend):
5836 New methods to prepend, insert and move items in the menu.
5838 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-wizard-dialog.c:
5842 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
5844 (create_title): Update logical IDs and related code.
5845 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
5847 * src/hildon-wizard-dialog.h: Note that
5848 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
5849 point, as it is not used anymore.
5851 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
5853 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5855 * src/hildon-note.c:
5856 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
5857 shown. Do not display an icon in confirmation notes nor information
5859 (hildon_note_set_button_text): Update logical ID for cancel button.
5861 Fixes: NB#88850 (Update HildonNote button strings + signals)
5863 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5865 * src/hildon-stackable-window.c
5866 (hildon_stackable_window_set_main_menu): Fix compilation warning.
5868 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5870 * src/hildon-app-menu-private.h
5871 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
5872 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
5873 (hildon_app_menu_init, hildon_app_menu_class_init): Added
5874 temporary property 'columns' to change the number of columns.
5876 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
5878 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
5880 * examples/hildon-note-example.c: (on_information_clicked),
5881 (on_confirmation_clicked), (on_progress_clicked), (main): Add
5882 debugging information.
5883 * src/hildon-note-private.h: Remove close_if_pressed_outside,
5885 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
5886 (hildon_note_rebuild): Remove special handling of tapping outside/inside
5887 in order to close: this will be handled by the WM from now on.
5889 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
5891 2008-09-24 Alberto Garcia <agarcia@igalia.com>
5893 * src/hildon-app-menu-private.h
5894 * src/hildon-app-menu.c
5895 (hildon_app_menu_append, hildon_app_menu_add_filter)
5896 (button_visibility_changed, hildon_app_menu_apply_style)
5897 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
5898 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
5899 layout everytime a button (item or filter) is shown or hidden.
5901 * src/hildon-stackable-window.c
5902 (hildon_stackable_window_set_main_menu): Destroy the old menu when
5905 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
5907 * src/hildon-touch-selector.c:
5908 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
5909 that the treeview inside the touch selector is in fremantle hildon mode
5910 * examples/hildon-date-button-example.c
5911 * examples/hildon-picker-button-multicolumn-example.c
5912 * examples/hildon-touch-selector-entry-example.c
5913 * examples/hildon-touch-selector-example.c
5914 * examples/hildon-time-button-example.c
5915 * examples/hildon-picker-button-example.c:
5916 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
5918 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
5920 * examples/hildon-text-view-example.c: (main): Remove the
5921 gtkrc bits, now handled by the theme.
5923 2008-09-22 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-picker-button.c (hildon_picker_button_set_active):
5928 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5930 * po/Makefile.am: Install properly the mo files.
5931 * po/en_GB.po: Update translation, to ease testing purposes.
5933 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5935 * examples/hildon-picker-button-example.c: (main): Select an item
5936 in the selector before setting it to the button.
5938 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5940 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
5941 Update button's value if the selector has an item active.
5943 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
5944 'value' with the selector)
5946 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
5948 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
5949 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
5950 (hildon_picker_button_class_init): Plug the finalize method.
5951 (hildon_picker_button_set_selector): If there's a previously set
5952 selector, unref'it before setting a new one.
5954 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
5955 HildonTouchSelector)
5957 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
5959 * src/hildon-touch-selector-entry.c:
5960 (hildon_touch_selector_entry_changed): Check if there is no text
5961 selected before setting the entry text.
5964 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-touch-selector.h
5967 * src/hildon-touch-selector.c
5968 (hildon_touch_selector_get_active)
5969 (hildon_touch_selector_set_active): New methods to set/get the
5970 index of the selected item.
5972 * src/hildon-picker-button.h
5973 * src/hildon-picker-button.c
5974 (hildon_picker_button_get_active)
5975 (hildon_picker_button_set_active): New methods to set/get the
5976 index of the selected item.
5978 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5980 * configure.ac: post-release version bump.
5982 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
5986 * configure.ac: Pre-release version bump.
5987 * debian/changelog: Updates.
5988 * debian/control: Add myself as maintainer and depend on l10n
5991 2008-09-15 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-window.c
5994 (hildon_window_set_main_menu)
5995 * src/hildon-stackable-window.c
5996 (hildon_stackable_window_set_main_menu):
5997 Updated documentation.
5999 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6001 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6002 Don't free selector->priv manually.
6005 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6008 (hildon_gtk_window_set_progress_indicator):
6009 * src/hildon-gtk.h: Added the new API
6010 hildon_gtk_window_set_progress_indicator, it changes the state of
6011 the window progress hint.
6013 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6015 * src/hildon-button.c
6016 * src/hildon-stackable-window.c: Minor documentation updates.
6018 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-stackable-window.c: Updated documentation.
6022 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6024 * src/hildon-defines.h: Update margins definitions
6025 to the Fremantle sizes.
6028 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6030 * src/hildon-touch-selector.c,
6031 (_hildon_touch_selector_set_model): Cleaning the code after
6032 review, removed g_print and #if 0 from the code.
6034 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6036 * src/hildon-edit-toolbar.c: Update documentation.
6038 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6040 * src/hildon-check-button.h
6041 * src/hildon-check-button.c
6042 (hildon_check_button_set_label, hildon_check_button_get_label)
6043 * examples/hildon-check-button-example.c
6044 (button_clicked_cb):
6045 Removed deprecated methods.
6047 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-text-view.c:
6050 Add sample code to the documentation.
6052 * src/hildon-entry.h
6053 * src/hildon-text-view.h:
6054 Minor cosmetic changes.
6056 * src/hildon-entry.c:
6057 Add sample code to the documentation.
6058 (hildon_entry_init, hildon_entry_refresh_contents):
6059 Don't allow NULL values in the placeholder.
6061 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6063 * doc/hildon-docs.sgml
6065 * examples/Makefile.am
6066 * examples/hildon-text-view-example.c
6068 * src/hildon-text-view.c
6069 * src/hildon-text-view.h
6071 New HildonTextView widget, with example.
6073 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6075 * po/POTFILES.in: Add missing files with translatable strings.
6076 Partially fixes NB#88287.
6078 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6080 * examples/hildon-pannable-area-example-2.c: (main): No need to
6081 set the cellrenderer height inside hildon touch lists, the theme does
6084 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6086 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6087 they are integrated in the theme.
6089 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6091 * examples/hildon-entry-example.c: Update the example adding
6092 widgets to modify the text and the placeholder of the HildonEntry.
6094 * src/hildon-entry.c: Show the placeholder everytime the widget
6095 is empty and loses the focus.
6097 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6099 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6101 * src/hildon-pannable-area.c,
6102 (hildon_pannable_area_size_request): Fixed bug in height
6103 requisition, avoid increasing size and add border twice.
6105 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6107 * configure.ac: postrelease version bump.
6109 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6113 * configure.ac: Prerelease version bump.
6114 * debian/changelog: update.
6115 * debian/rules: make -dbg package contain useful debugging symbols.
6117 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6119 * src/hildon-dialog.h
6120 * src/hildon-dialog.c
6121 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6122 New methods to add buttons with finger size.
6123 (hildon_dialog_new_with_buttons):
6124 Create buttons with finger size.
6126 * examples/hildon-dialog-example.c (main): Use HildonDialog
6127 methods to add buttons.
6129 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6131 * src/hildon-entry.c: Updated HildonButton documentation.
6133 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6136 button value label with (FALSE, FALSE) to prevent NB#88126 from
6139 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6141 * examples/hildon-pannable-area-example.c,
6142 (main): Removed examples panning a vbox inside a pannable
6143 area. Check bug NB#87965
6145 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6147 Patch contributed by Kris Rietveld (kris@imendio.com)
6149 * src/hildon-pannable-area.c,
6150 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6151 get_size and get_position, this saves an X server roundtrip.
6153 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6155 * doc/hildon-docs.sgml
6157 * examples/Makefile.am
6158 * examples/hildon-entry-example.c
6160 * src/hildon-entry.c
6161 * src/hildon-entry.h
6163 New HildonEntry widget, with example.
6165 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6167 * src/hildon-button.c (hildon_button_construct_child): Pack the
6168 image with expand == fill == FALSE. This is a workaround for a bug
6171 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6173 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6174 labels for the text column, to make it more look more dynamic.
6176 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6178 * src/hildon-time-selector.c
6179 Define gettext auxiliar macro N_
6180 (_create_minutes_model)
6181 (_create_hours_model)
6182 (_create_ampm_model): use of strftime in order to fill the model
6183 * src/hildon-date-selector.c
6184 (hildon_date_selector_finalize):
6185 (_locales_init): remove the logic related to get the name of the months
6186 using nl_langinfo, as it is not required anymore
6188 (_create_year_model)
6189 (_create_month_model)
6190 (_update_day_model): use of strftime in order to fill the model properly
6193 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-button.h
6196 * src/hildon-button.c (hildon_button_get_image): New method to
6199 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6201 * src/hildon-touch-selector.c:
6202 (hildon_touch_selector_remove_column): Remove from the correct parent
6203 and also remove the list element and free it.
6206 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6208 * src/hildon-time-selector.c
6209 (_create_hours_model): change the range on 12h ampm format in order to use
6210 a 12-11 range instead of previous 01-12 range
6211 (hildon_time_selector_set_time): change the way to select the current time
6212 on 12h ampm format, due the change on the range
6213 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6216 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6218 * src/hildon-touch-selector.c
6219 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6220 in order to allow use this function on multiple row selection mode if
6221 the column is different that the first one
6224 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6226 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6227 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6229 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6231 * src/hildon-date-selector.h: clean some comments, now on the .c
6232 * src/hildon-date-selector.c
6233 (hildon_date_selector_select_month): first implementation
6234 (hildon_date_selector_select_day): added documentation, reimplemented
6235 using hildon_date_selector_select_current_date to avoid repeat code
6238 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6240 Reviewed interaction logic based on device experiences, refactored
6243 * src/hildon-pannable-area.c,
6244 (hildon_pannable_area_class_init): Updated default vmax speed.
6245 (hildon_pannable_area_calculate_velocity): Added this function, it
6246 avoids duplicate valocity calculation. Adjusted calculation to
6247 avoid problems with zero dist events.
6249 (hildon_pannable_area_motion_notify_cb): Now we use the
6250 calculate_velocity function.
6252 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6254 * src/hildon-date-selector.c
6255 (hildon_date_selector_select_current_date): fix the day range check
6256 as it failed using the last day of the current month
6259 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6261 * src/hildon-touch-selector.c
6262 (hildon_touch_selector_get_num_columns): added a parameter validation
6265 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6267 * examples/Makefile.am
6268 * examples/hildon-edit-toolbar-example.c: Example of the
6269 HildonEditToolbar widget.
6271 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6273 * configure.ac: postrelease version bump.
6275 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6279 * configure.ac: prerelease version bump.
6280 * debian/changelog: update.
6282 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6284 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6285 renderer to display stock icons in the touch list. Also, set the sizes
6286 to the recommended in the style guide.
6288 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6289 * src/hildon-touch-selector.h
6290 (hildon_touch_selector_set_active_iter): renamed, now is
6291 hildon_touch_selector_select_iter
6292 (hildon_touch_selector_get_active_iter): renamed, now is
6293 hildon_touch_selector_get_selected
6294 (hildon_touch_selector_unselect_iter): added
6295 * src/hildon-touch-selector.c
6296 Update after API modification (methods renamed)
6297 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6298 order to avoid problems selecting multiple elements on the column
6299 (hildon_touch_selector_unselect_iter): added the implementation
6300 * src/hildon-time-selector.c
6301 * src/hildon-date-selector.c
6302 * src/hildon-touch-selector-entry.c
6303 Update methods calls after hildon-touch-selector.h API modification (methods
6306 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-stackable-window.c
6309 (hildon_stackable_window_finalize): Call the parent class's finalize.
6311 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6313 * examples/hildon-touch-selector-example.c: (create_selector): Use
6314 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6317 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6319 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6320 set a cell background color, to respect theming.
6322 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6324 * doc/hildon-docs.sgml
6327 * src/hildon-edit-toolbar.c
6328 * src/hildon-edit-toolbar.h
6329 * src/hildon.h: New HildonEditToolbar widget.
6331 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6333 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6336 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6337 * src/hildon-touch-selector.c
6338 (_create_new_column): use g_object_set instead of two g_object_set_property
6340 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6341 * src/hildon-touch-selector.c
6342 (_create_new_column): use of hildon_gtk_tree_view_new to create
6343 the treeview, instead of use directly g_object_new
6344 (_create_new_column): update the property name "vindicator-mode" for the
6345 new one "vscrollbar-policy"
6346 * examples/hildon-date-button-example.c
6347 * examples/hildon-picker-button-multicolumn-example.c
6348 * examples/hildon-touch-selector-entry-example.c
6349 * examples/hildon-touch-selector-example.c
6350 * examples/hildon-time-button-example.c
6351 * examples/hildon-picker-button-example.c
6352 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6353 to all the treeviews inside a pannable area.
6355 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6357 * src/hildon-button.h
6358 * src/hildon-button.c (hildon_button_init)
6359 (hildon_button_set_arrangement, hildon_button_set_alignment)
6360 (hildon_button_set_title_alignment)
6361 (hildon_button_set_value_alignment)
6362 (hildon_button_set_image_alignment)
6363 (hildon_button_construct_child): New methods to set the alignment
6364 of the individual components of the button (title, value,
6365 image). Also, new method to alter the xscale and yscale properties
6366 of the GtkAlignment inside the button, so more complex layouts can
6369 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6371 * src/hildon-button.c (hildon_button_style_set)
6372 (hildon_button_class_init, hildon_button_set_arrangement)
6373 (hildon_button_construct_child): Apply style properties
6374 correctly. Use the 'image-spacing' style property too.
6376 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6378 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6379 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6382 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6384 * src/hildon-pannable-area.c,
6385 (hildon_pannable_area_size_request): Fixed problem with
6386 pannable-area size_request.
6388 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6390 Added management for the grab-focus to a child widget, like a
6391 range, we need to fade out the scrollbar when releasing.
6393 * src/hildon-pannable-area.c,
6394 (hildon_pannable_area_init): Connected the grab-focus signal to
6396 (hildon_pannable_area_grab_notify): Added this function in order
6397 to manage the situation when the grab-focus ends. We have to
6398 fade-out the scrollbar.
6400 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6402 * src/hildon-app-menu.c: Minor documentation update.
6404 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6406 * src/hildon-app-menu.c
6407 * examples/hildon-app-menu-example.c (create_menu): Update
6408 examples and documentation to explain how to connect callbacks.
6410 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6412 * examples/hildon-button-example.c
6413 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6414 hildon_stackable_window_new instead of gtk_window_new
6416 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6418 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6419 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6420 (hildon_pannable_area_set_property),
6421 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6422 (hildon_pannable_area_unrealize),
6423 (hildon_pannable_area_size_request),
6424 (hildon_pannable_area_size_allocate),
6425 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6426 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6427 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6428 (hildon_pannable_area_initial_effect),
6429 (hildon_pannable_area_redraw),
6430 (hildon_pannable_area_scroll_indicator_fade),
6431 (hildon_pannable_area_expose_event),
6432 (hildon_pannable_area_get_topmost), (synth_crossing),
6433 (hildon_pannable_area_button_press_cb),
6434 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6435 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6436 (hildon_pannable_area_motion_notify_cb),
6437 (hildon_pannable_area_button_release_cb),
6438 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6439 (hildon_pannable_area_remove),
6440 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6441 chage the code layout to a more GtkWidget like. Review the use of
6444 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6446 * examples/hildon-pannable-area-example-4.c,
6447 (main): Modified the name of the hindicator_mode to
6450 * src/hildon-pannable-area.c,
6451 (hildon_pannable_area_class_init),
6452 (hildon_pannable_area_motion_notify_cb),
6453 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6454 we have reduced the amount of signals and managed reviewed its
6455 rationale. Changed the default decelerate value.
6457 (hildon_pannable_area_add),
6458 (hildon_pannable_area_redraw): Refactored functions.
6460 (hildon_pannable_area_init),
6461 (hildon_pannable_area_get_property),
6462 (hildon_pannable_area_set_property):
6463 (hildon_pannable_draw_vscroll),
6464 (hildon_pannable_draw_hscroll),
6465 (hildon_pannable_area_initial_effect),
6466 (hildon_pannable_area_expose_event),
6467 (hildon_pannable_area_scroll),
6468 (hildon_pannable_area_button_press_cb),
6469 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6470 and vindicator_mode with hscrollbar_policy and
6471 vscrollbar_policy. Replaced hscroll and vscroll with
6472 hscroll_visible and vscroll_visible.
6474 (hildon_pannable_area_refresh): Refactor the function, remove
6475 variables and check the calls to this function, added resize
6476 conditions in case the children change their layout.
6478 (hildon_pannable_area_size_request): Added more detailed
6479 size_request calculation.
6482 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6484 * src/hildon-color-chooser.c
6485 (init_borders): use the correct gtk_border_free instead of g_free, to
6486 avoid a crash when this widget is used (ie: the three color selection
6489 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6491 * src/hildon-check-button.c,
6492 (hildon_check_button_set_active): Fixed problem when setting the
6493 active value, the widget was not redrawn.
6495 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6497 * src/hildon-pannable-area.c,
6498 (hildon_pannable_area_refresh),
6499 (hildon_pannable_area_scroll),
6500 (hildon_pannable_area_motion_notify_cb): Small code style change.
6502 (hildon_pannable_area_class_init): Default initial_hint set to
6503 FALSE, it is not in the specs.
6505 (hildon_pannable_area_initial_effect),
6506 (hildon_pannable_area_expose_event),
6507 (hildon_pannable_area_map),
6508 (hildon_pannable_area_init): Moved the launching point of the
6509 initial effect, it was in map but the sizes where not correct in
6510 that method so we do not know if we have the reproduce it. Now it
6511 is placed in the expose_event method and uses a variable to
6512 reproduce it just once.
6514 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6516 * src/hildon-pannable-area.c,
6517 (hildon_pannable_draw_vscroll),
6518 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6519 position allowed for the scrollbars.
6521 (hildon_pannable_area_size_allocate): Small style change.
6523 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6525 * src/hildon-pannable-area.c,
6526 (hildon_pannable_area_scroll_indicator_fade),
6527 (hildon_pannable_area_button_press_cb),
6528 (hildon_pannable_area_button_release_cb),
6529 (hildon_pannable_area_scroll_cb),
6530 (hildon_pannable_area_expose_event),
6531 (hildon_pannable_area_init): Added the define parameter
6532 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6533 and refactor the fade variable.
6535 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6537 * src/hildon-pannable-area.c,
6538 (hildon_pannable_area_redraw),
6539 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6540 lines, we were reimplemeting the redraw code.
6542 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6544 * src/hildon-pannable-area.c,
6545 (hildon_pannable_area_scroll_cb),
6546 (hildon_pannable_area_realize),
6547 (hildon_pannable_area_class_init): Added scroll_event management
6548 for pannable area, now we can scroll the usual desktop method.
6550 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6551 initialization of the parameters should depend on idle_id.
6553 (hildon_pannable_area_init),
6554 (hildon_pannable_area_map): Small code style modifications
6556 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6558 * src/hildon-pannable-area.c
6559 (hildon_pannable_area_button_press_cb),
6560 (hildon_pannable_area_motion_notify_cb),
6561 (hildon_pannable_area_button_release_cb),
6562 (hildon_pannable_area_size_allocate),
6563 (hildon_pannable_area_scroll_to): Improved the timeouts
6564 management, we avoid creating them each time.
6566 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6568 * src/hildon-pannable-area.c:
6569 (hildon_pannable_area_refresh),
6570 (hildon_pannable_area_motion_notify_cb),
6571 (hildon_pannable_area_class_init):
6572 * src/hildon-pannable-area.h:
6573 * src/hildon-touch-selector.c
6574 (_create_new_column):
6575 * examples/hildon-pannable-area-example-4.c:
6576 (horizontal_movement),
6577 (vertical_movement),
6579 Replaced the names of enums in the HildonPannableArea:
6580 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6581 HILDON_MOVEMENT_MODE_*
6582 - HILDON_PANNABLE_AREA_MOV_* ->
6584 - Removed HildonPannableAreaIndicatorMode, now we
6587 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6589 * examples/hildon-pannable-area-touch-grid-example.c
6590 * examples/hildon-pannable-area-touch-list-example.c: Fix
6591 compilation warnings.
6593 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6595 * src/hildon-gtk.c (hildon_gtk_button_new)
6596 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6597 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6598 images overriding the value of the "gtk-button-images" setting.
6600 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6602 * src/hildon-check-button.c (hildon_check_button_new):
6603 Instead of using a custom container, display the label and the
6604 checkbox using the standard GtkButton API.
6606 * examples/hildon-check-button-example.c (main): Don't use
6607 hildon_check_button_set_label() anymore
6609 * src/hildon-check-button.h
6610 * src/hildon-check-button.c
6611 (hildon_check_button_set_label, hildon_check_button_get_label):
6612 Set as deprecated, now we're using gtk_button_{get,set}_label()
6614 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6616 * src/hildon-pannable-area.c,
6617 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6618 GtkTreeview first line we detected it after the inclusion of the
6619 GtkWindowImpl in gtk+. We now check if the window is visible, not
6620 just if the pointer is over the window.
6621 (hildon_pannable_axis_scroll),
6622 (hildon_pannable_area_expose_event): Small style changes.
6624 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-button.c: Update documentation.
6628 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6630 * examples/hildon-button-example.c: Add a switch to show images in
6633 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6635 * doc/hildon-docs.sgml: Some docs reorganization.
6637 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6639 * examples/hildon-pannable-area-touch-list-example.c
6641 * examples/hildon-pannable-area-touch-grid-example.c
6642 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6643 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6644 Fix memory leak when setting the tree model.
6646 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6650 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6652 * doc/hildon.types: Remove duplicated hildon_window_get_type
6653 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6654 documentation comment.
6656 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6658 * doc/Makefile.am: Complete list of private headers.
6660 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6662 * doc/hildon-docs.sgml
6663 * src/hildon-app-menu.c
6664 * src/hildon-bread-crumb.c
6665 * src/hildon-button.c
6667 * src/hildon-program.c
6668 * src/hildon-stackable-window.c
6669 * src/hildon-window.c: Lots of documentation updates.
6671 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6673 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6675 * configure.ac: Require Gtk+ 2.12.9 at least
6677 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6679 * src/hildon-pannable-area.c
6680 (hildon_pannable_area_scroll_indicator_fade),
6681 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6682 to protect the return of this timeout callbacks, avoiding deadlocks.
6684 2008-08-12 Christian Dywan <christian@imendio.com>
6687 * src/hildon-*.h: Ensure a consistent include order,
6688 include <gtk/gtk.h> instead of particular files and
6689 only include the topmost header in the gtk stack. See NB #39857
6691 2008-08-12 Christian Dywan <christian@imendio.com>
6693 * src/hildon-picker-dialog.c
6694 * src/hildon-touch-selector.c: Fix warnings about unused and
6695 uninitialized variables.
6697 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6699 * examples/Makefile.am
6700 * examples/hildon-check-button-example.c: Example of the hildon
6703 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6705 * src/hildon-window.h
6706 * src/hildon-window.c (hildon_window_class_init)
6707 (hildon_window_unset_program): Don't make
6708 hildon_window_unset_program a virtual function anymore.
6710 * src/hildon-stackable-window.c: Update documentation
6712 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6715 * doc/hildon-docs.sgml
6716 * doc/visual_index.xml
6717 * src/hildon-defines.c
6719 * src/hildon-helper.c
6720 * src/hildon-range-editor.c: Lots of documentation fixes.
6722 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6724 * examples/hildon-picker-button-multicolumn-example.c
6725 (create_touch_selector): Fix compilation warning.
6727 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6730 (hildon_pannable_area_button_release_cb)
6731 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6733 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6735 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6738 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6740 * src/hildon-bread-crumb-trail.h
6741 * src/hildon-date-editor.c
6742 * src/hildon-date-selector.c
6743 * src/hildon-pannable-area.c
6744 * src/hildon-picker-dialog.c
6745 * src/hildon-time-selector.c
6746 * src/hildon-touch-selector-entry.c
6747 * src/hildon-touch-selector.c
6748 * src/hildon-touch-selector.h: Misc documentation fixes
6750 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6752 * examples/hildon-date-editor-example.c (main): Updated date
6755 * examples/hildon-note-example.c (on_confirmation_clicked):
6756 Updated confirmation note example.
6758 * src/hildon-date-editor.c
6759 * src/hildon-note.c: Updated sample programs in documentation.
6762 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6764 * src/hildon-date-button.h:
6765 * src/hildon-picker-button.h:
6766 * src/hildon-time-button.c:
6767 * src/hildon-time-button.h:
6769 Some declarations changes to allow gtk-doc to document the widgets
6772 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6774 * src/hildon-date-button.c: Document the widget.
6775 * src/hildon-time-button.c: Document the widget.
6777 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6779 * src/hildon-picker-button.c: Document the widget.
6780 * src/hildon-touch-selector-entry.c: Document the widget.
6782 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6784 * doc/hildon-docs.sgml
6787 * src/hildon-check-button.h
6788 * src/hildon-check-button.c: New functions to create the Hildon
6792 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6794 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6796 * src/hildon-button.h
6797 * src/hildon-button.c
6798 (hildon_button_add_title_size_group)
6799 (hildon_button_add_value_size_group)
6800 (hildon_button_add_image_size_group)
6801 (hildon_button_add_size_groups): New functions to set size groups
6802 for the button labels and image.
6803 (hildon_button_new_full): Removed
6805 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
6807 * src/hildon-time-selector.c
6808 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
6809 in order to avoid a crash if gconf is not available
6811 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6813 * src/hildon-button.c (hildon_button_set_arrangement)
6814 (hildon_button_construct_child): Don't construct the button child
6815 before setting the arrangement.
6817 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6819 * src/hildon-program-private.h
6820 * src/hildon-program.c
6821 * src/hildon-program.h
6822 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
6823 (hildon_program_peek_window_stack)
6824 (hildon_program_pop_window_stack)
6825 (hildon_program_go_to_root_window): HildonProgram now has a
6826 separate list for stackable windows. Functions are provided to
6827 manage that list with a stack-like API.
6829 * src/hildon-stackable-window.c: Stackable window management is
6830 now much simpler with the new HildonProgram API. Windows no
6831 longer need to be manually added to the program, they're
6832 automatically pushed to the top of the stack when shown.
6834 * examples/hildon-stackable-window-example.c: Updated example to
6835 reflect the API changes.
6837 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6839 * src/hildon-touch-selector.c: Comment out unimplemented
6840 hildon_touch_selector_insert_column() to avoid a compile warning.
6842 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
6844 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
6845 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
6846 (hildon_touch_selector_set_column_selection_mode),
6847 (_hildon_touch_selector_set_model),
6848 (hildon_touch_selector_set_model):
6850 Complete review of HildonTouchSelector documentation.
6852 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6854 * doc/hildon-docs.sgml
6858 * src/hildon-gtk.c: Convenience functions for standard Gtk
6859 widgets, used to easily perform frequent operations.
6861 * src/hildon-button-helpers.h
6862 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
6864 * src/hildon-helper.h
6865 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
6866 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
6868 * src/hildon-button.h
6869 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
6871 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6873 * src/hildon-button.c (hildon_button_init)
6874 (hildon_button_set_arrangement, hildon_button_construct_child):
6875 Pack the image and the labels inside the same GtkAlignment so
6876 gtk_button_set_alignment() can be used
6878 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6880 * src/hildon-button.h
6881 * src/hildon-button.c
6882 (hildon_button_init, hildon_button_set_image)
6883 (hildon_button_set_image_position)
6884 (hildon_button_construct_child): New functions to add an image to
6887 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6889 * src/hildon-date-button.c
6890 * src/hildon-picker-button.c
6891 * src/hildon-time-button.c
6892 * src/hildon-button.c:
6893 (hildon_button_class_init): "size-flags" renamed to "size"
6894 (hildon_button_set_title): Hide the title label if set to NULL.
6896 2008-08-07 Alberto Garcia <agarcia@igalia.com>
6898 HildonButtonFlags split into HildonButtonArrangement (to set the
6899 button layout) and HildonSizeType (which can be used for any
6902 * src/hildon-button.h
6903 * src/hildon-button.c
6904 (hildon_button_class_init)
6905 (hildon_button_set_arrangement)
6906 (hildon_button_set_property): New "size-flags"
6907 property. "arrangement-flags" renamed to "arrangement".
6908 (hildon_button_new, hildon_button_new_with_text)
6909 (hildon_button_new_full): Constructors updated to reflect type changes.
6911 * src/hildon-helper.h
6912 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
6913 to set the size of a widget.
6917 * src/hildon-button-helpers.c
6918 * src/hildon-button-helpers.h: New hildon-button-helpers module.
6920 * src/hildon-date-button.c
6921 * src/hildon-date-button.h
6922 * src/hildon-picker-button.c
6923 * src/hildon-picker-button.h
6924 * src/hildon-time-button.c
6925 * src/hildon-time-button.h: Updated widgets to reflect
6926 HildonButton API changes.
6928 * examples/hildon-button-example.c
6929 * examples/hildon-date-button-example.c
6930 * examples/hildon-picker-button-example.c
6931 * examples/hildon-picker-button-multicolumn-example.c
6932 * examples/hildon-time-button-example.c
6933 * examples/hildon-touch-selector-entry-example.c
6934 * examples/hildon-touch-selector-example.c: Updated examples to
6935 reflect HildonButton API changes.
6937 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6939 * doc/hildon-docs.sgml:
6941 * examples/Makefile.am:
6942 * examples/hildon-touch-selector-entry-example.c:
6944 * src/hildon-touch-selector-entry.c:
6945 * src/hildon-touch-selector-entry.h:
6948 Moved HildonTouchSelectorEntry from sandbox. Added its
6949 documentation and examples.
6951 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6953 * src/hildon-touch-selector.h:
6954 * examples/hildon-picker-button-multicolumn-example.c:
6955 (hildon_touch_selector_append_text_column): Add a gboolean
6956 parameter to determine if text must be centered in the column.
6958 * src/hildon-date-selector.c: (hildon_date_selector_init):
6959 * src/hildon-time-selector.c: (hildon_time_selector_init):
6960 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
6961 (create_touch_selector): Update widgets and example to reflect
6964 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
6966 * src/hildon-touch-selector.c:
6967 (hildon_touch_selector_set_active_iter): Set also the cursor in
6970 2008-08-06 Alberto Garcia <agarcia@igalia.com>
6972 * doc/hildon-docs.sgml
6975 * src/hildon-toggle-button.c
6976 * src/hildon-toggle-button.h
6977 * src/hildon.h: Removed HildonToggleButton widget, a derived
6978 class is not necessary for this.
6980 2008-08-06 Alejandro G. Castro <alex@igalia.com>
6982 * src/hildon-pannable-area.c,
6983 (hildon_pannable_area_realize),
6984 (hildon_pannable_area_size_allocate): Code refactoring, add tests
6987 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
6989 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
6990 "done" button the default widget for the dialog.
6992 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
6994 * src/hildon-touch-selector.c:
6995 (hildon_touch_selector_class_init),
6996 (hildon_touch_selector_get_property),
6997 (_hildon_touch_selector_set_model),
6998 (_hildon_touch_selector_has_multiple_selection),
6999 (hildon_touch_selector_has_multiple_selection):
7000 Add a "has-multiple-selection" property with a virtual
7001 has_multiple_selection() method to allow derived classes to
7002 override the default value for it. See the method and property
7003 documentation for details.
7005 * src/hildon-touch-selector.h: Add the new API.
7007 * src/hildon-picker-dialog.c: (requires_done_button): Call
7008 hildon_touch_selector_has_multiple_selection() instead of
7009 determining the need for a button itself.
7011 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7013 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7014 (_hildon_touch_selector_set_model),
7015 (hildon_touch_selector_set_model): Move working code to
7016 _hildon_touch_selector_set_mode(). Call the class method instead.
7018 * src/hildon-touch-selector.h: Add (*set_model) to
7019 HildonTouchSelectorClass.
7021 Make hildon_touch_selector_set_model() a virtual method, so that
7022 derived classes can extend it and do fancy stuff with the model.
7024 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7026 * configure.ac: Set back the tarname in AC_INIT to hildon.
7028 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7032 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7033 instead of libesd (NB#86876). Volume handling is still an open issue.
7035 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7038 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7040 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7041 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7042 derived class to ease placement of an entry widget in
7043 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7044 end, where the selector columns are packed now.
7046 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7048 * src/hildon-picker-button.c: Removed the simple _text() API.
7049 * src/hildon-picker-button.h: Likewise.
7051 * src/hildon-touch-selector.h:
7052 * src/hildon-touch-selector.c:
7053 (hildon_touch_selector_new_text),
7054 (hildon_touch_selector_append_text),
7055 (hildon_touch_selector_prepend_text),
7056 (hildon_touch_selector_insert_text):
7058 Moved the simple _text() API from HildonPickerButton to
7059 HildonTouchPicker, to provide better escalability and not to tie
7060 that API to HildonPickerButton.
7062 * examples/hildon-picker-button-example.c: (main): Example updated.
7064 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7066 * src/hildon-button.c: Updated documentation.
7068 * examples/hildon-button-example.c: Add the posibility to create
7069 the buttons using horizontal layout for title and value.
7071 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7073 * src/hildon-app-menu-private.h
7074 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7075 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7076 GtkSizeGroup for the filters, use the 'homogeneous' property of
7079 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7081 * examples/hildon-button-example.c: Updated example.
7083 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7085 * doc/hildon-docs.sgml:
7088 Update documentation.
7090 * examples/Makefile.am: Update renamed examples.
7092 * examples/hildon-picker-button-multicolumn-example.c:
7093 (create_touch_selector), (main): Update after the rename.
7095 * examples/hildon-touch-picker-example.c: Removed.
7096 * examples/hildon-touch-selector-example.c: (value_changed),
7097 (create_selector), (get_visible_content), (main): Renamed from
7098 hildon-touch-picker-example.c
7100 * src/Makefile.am: Updated renamed files.
7102 * src/hildon-date-button.c: (hildon_date_button_init),
7103 (hildon_date_button_get_date), (hildon_date_button_set_date):
7104 * src/hildon-date-selector.c: (hildon_date_selector_init),
7105 (_custom_print_func), (_update_day_model),
7106 (_manage_selector_change_cb),
7107 (hildon_date_selector_select_current_date),
7108 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7109 * src/hildon-date-selector.h:
7110 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7111 (hildon_picker_button_set_property),
7112 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7113 (hildon_picker_button_init), (hildon_picker_button_new_text),
7114 (hildon_picker_button_append_text),
7115 (hildon_picker_button_prepend_text),
7116 (hildon_picker_button_insert_text),
7117 (hildon_picker_button_set_selector),
7118 (hildon_picker_button_get_selector):
7119 * src/hildon-picker-button.h:
7120 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7121 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7122 (_update_title_on_selector_changed_cb), (requires_done_button),
7123 (_hildon_picker_dialog_set_selector),
7124 (hildon_picker_dialog_set_selector),
7125 (hildon_picker_dialog_get_selector):
7126 * src/hildon-picker-dialog.h:
7127 * src/hildon-time-button.c: (hildon_time_button_init),
7128 (hildon_time_button_get_time), (hildon_time_button_set_time):
7129 * src/hildon-time-selector.c: (hildon_time_selector_init),
7130 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7131 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7132 * src/hildon-time-selector.h:
7135 Massive code updates after the rename.
7137 * src/hildon-touch-picker.c: Removed.
7138 * src/hildon-touch-picker.h: Removed.
7140 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7141 (hildon_touch_selector_init), (hildon_touch_selector_map),
7142 (hildon_touch_selector_remove), (_default_print_func),
7143 (_selection_changed_cb), (_create_new_column),
7144 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7145 (hildon_touch_selector_append_text_column),
7146 (hildon_touch_selector_remove_column),
7147 (hildon_touch_selector_set_column_attributes),
7148 (hildon_touch_selector_insert_column),
7149 (hildon_touch_selector_get_num_columns),
7150 (hildon_touch_selector_get_column_selection_mode),
7151 (hildon_touch_selector_set_column_selection_mode),
7152 (hildon_touch_selector_set_print_func),
7153 (hildon_touch_selector_get_print_func),
7154 (hildon_touch_selector_get_active_iter),
7155 (hildon_touch_selector_set_active_iter),
7156 (hildon_touch_selector_get_selected_rows),
7157 (hildon_touch_selector_get_model),
7158 (hildon_touch_selector_set_model),
7159 (hildon_touch_selector_get_current_text),
7160 (_hildon_touch_selector_center_on_selected_items):
7161 * src/hildon-touch-selector.h: Renamed from
7162 hildon-touch-picker.[ch]
7164 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7165 references, code examples, and related documentation.
7167 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7169 * doc/hildon-docs.sgml
7172 * src/hildon-toggle-button.c
7173 * src/hildon-toggle-button.h
7174 * src/hildon.h: New HildonToggleButton widget.
7176 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7178 * src/hildon-button.c: Add API documentation.
7179 (hildon_button_set_size_groups): Check input parameters
7181 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7183 * src/hildon-pannable-area.c
7184 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7185 effect after reaching the movement thredshold. This way we start
7186 using the distance after passing the thredshold.
7188 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7190 * src/hildon-button.c: (hildon_button_set_property): Use the
7191 appropriate g_value_get_flags() method.
7193 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7195 * doc/hildon-docs.sgml:
7198 Add the touch pickers, picker dialogs, and picker button widgets
7199 to the documentation.
7201 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7203 * src/hildon-button.c: (hildon_button_set_property),
7204 (hildon_button_class_init): Make "arrangement-flags" a proper
7205 G_TYPE_FLAGS derived property.
7207 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7209 * examples/Makefile.am: Add below examples.
7210 * examples/hildon-date-button-example.c:
7211 * examples/hildon-picker-button-example.c:
7212 * examples/hildon-picker-button-multicolumn-example.c:
7213 * examples/hildon-time-button-example.c:
7214 * examples/hildon-touch-picker-example.c:
7216 Add examples for the recently added touch pickers,
7217 picker dialogs, and picker button widgets.
7219 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7221 * src/hildon-button.c: Add some API documentation
7223 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7225 * src/hildon-button.h
7226 * src/hildon-button.c
7228 (hildon_button_new_with_text): New constructor to create a button
7229 with no text at all.
7230 (hildon_button_init, hildon_button_set_arrangement)
7231 (hildon_button_set_title, hildon_button_set_value)
7232 (hildon_button_set_text)
7233 (hildon_button_construct_child): Hide the value when it's not used
7234 so the rest of the text is properly aligned.
7235 Allow creating buttons with arbitrary widgets inside (not just
7236 title/value labels).
7238 * examples/hildon-button-example.c (vertical_buttons_window)
7239 (horizontal_buttons_window): Update example to use new API.
7241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7243 * src/Makefile.am: Added HildonTimeButton.
7244 * src/hildon-time-button.c: Added missing LGPL header.
7245 * src/hildon-time-button.h: Added missing LGPL header.
7246 * src/hildon.h: Add hildon-time-button.h
7248 Copied HildonTimeButton 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 HildonDateButton.
7254 * src/hildon-date-button.c: Update includes.
7255 * src/hildon.h: Add hildon-date-button.h
7257 Copied HildonDateButton from sandbox to trunk. Future work on this
7258 widget must take place in trunk.
7260 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7262 * src/Makefile.am: Added HildonPickerButton.
7263 * src/hildon-picker-button.h: Update includes.
7264 * src/hildon.h: Add hildon-picker-button.h
7266 Copied HildonPickerButton from sandbox to trunk. Future work on
7267 this widget must take place in trunk.
7269 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7271 * src/Makefile.am: Added HildonPickerDialog.
7272 * src/hildon-picker-dialog.c: Update includes.
7273 * src/hildon.h: Add hildon-picker-dialog.h
7275 Copied HildonPickerDialog from sandbox to trunk. Future work
7276 on this widget must take place in trunk.
7278 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7280 * src/Makefile.am: Added HildonTimeSelector.
7281 * src/hildon.h: Add hildon-time-selector.h
7283 Copied HildonTimeSelector widget from sandbox to trunk. Future
7284 work on this widget must happen in trunk.
7286 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7288 * src/Makefile.am: Added HildonDateSelector.
7289 * src/hildon.h: Add hildon-date-selector.h
7291 Copied HildonDateSelector widget from sandbox to trunk. Future
7292 work on this widget must happen in trunk.
7294 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7296 * src/Makefile.am: Added HildonTouchPicker.
7297 * src/hildon-touch-picker.c: Update includes.
7298 * src/hildon.h: Add hildon-touch-picker.h
7300 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7301 on this widget must happen in trunk.
7303 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7305 * src/hildon-pannable-area.c:
7306 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7308 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7310 * examples/hildon-app-menu-example.c (main): Let the window
7313 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7315 * src/hildon-pannable-area.c
7316 (hildon_pannable_area_class_init): Set the min value of the
7317 overshoot properties to zero, which points out that not
7318 overshooting allowed.
7320 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7322 Modified the procedure to get the widget at a point inside the
7323 pannable area when using the movement type signals. Now the user
7324 has to call a function to get the child, that way we just
7325 calculate the child in case the user really want to use it and not
7328 * src/hildon-marshalers.list: Modified the marshallers, now we do
7329 not have the widget as a parameter.
7331 * src/hildon-pannable-area.c
7332 (hildon_pannable_area_motion_notify_cb),
7333 (hildon_pannable_area_class_init),
7334 (hildon_pannable_get_child_widget_at): Removed the widget
7335 parameter from the signal callback. We have also refactored the
7336 emission of the signals.
7338 * src/hildon-pannable-area.h: Added a new method to the API to
7339 calculate a widget at a point inside the pannable area,
7340 hildon_pannable_get_child_widget_at.
7342 * examples/hildon-pannable-area-example-4.c
7343 (horizontal_movement): Modified the example to use the new API,
7344 added condition to control which widget is under the event. This
7345 way we can avoid scrolling laterally over other widgets.
7347 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7349 * src/hildon-pannable-area.c
7350 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7351 modes, we stop getting the pointer events due to returning the
7352 callback without properly calling the get pointer again. Fixed
7353 also an error using the hscroll and vscroll.
7355 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7357 * src/hildon-app-menu-private.h
7358 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7359 (hildon_app_menu_button_release, hildon_app_menu_init)
7360 (hildon_app_menu_class_init): Don't hide the menu on button
7361 release if the user didn't press outside first.
7363 * src/hildon-window.h
7364 * src/hildon-window.c (hildon_window_toggle_menu)
7365 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7366 hildon_window_toggle_menu a virtual function for the stackable
7367 window to override it.
7369 * src/hildon-stackable-window.h
7370 * src/hildon-stackable-window-private.h
7371 * src/hildon-stackable-window.c
7372 (hildon_stackable_window_realize)
7373 (hildon_stackable_window_finalize)
7374 (hildon_stackable_window_class_init)
7375 (hildon_stackable_window_init)
7376 (hildon_stackable_window_set_main_menu): New function to set the
7377 app menu of a HildonStackableWindow.
7379 * examples/hildon-app-menu-example.c: Remove the button to show
7380 the app menu, now it'll be shown when clicking on the title bar
7383 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7385 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7386 set the widget name if the arrangement flags do not specify
7389 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7391 * src/hildon-button.c: (hildon_button_set_property),
7392 (hildon_button_class_init), (hildon_button_new_full),
7393 (hildon_button_set_arrangement): Added "arrangement-flags"
7396 Make the HildonButtonFlags a construction-only property, to allow
7397 subclasses to set them properly.
7399 2008-07-21 Tim Janik <timj@imendio.com>
7401 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7402 insertion position after backspace, so additional digits are appended,
7405 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7407 * src/hildon-pannable-area.c,
7408 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7409 TODO list, it was complete and removed the g_debug and g_print
7412 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7414 Added the movement modes to the hildon-pannable-area, with this
7415 modes the developers can control in which directions the widget
7416 can scroll. They can also connect to signals in order to do
7417 something when that happens, allowing applications scroll. There
7418 is an example uploaded showing how to use it.
7420 * examples/Makefile.am:
7421 * examples/hildon-pannable-area-example-4.c: Added this example of
7422 an application using the modes.
7424 * src/hildon-marshalers.list: Added a new marshaller for the new
7427 * src/hildon-pannable-area.h: Added new enumerations and flags in
7428 order to control the movement modes and the new signals to warn
7429 about the movements in the area.
7431 * src/hildon-pannable-area.c:
7432 (hildon_pannable_axis_scroll),
7433 (hildon_pannable_area_scroll),
7434 (hildon_pannable_area_motion_notify_cb),
7435 (hildon_pannable_area_get_property),
7436 (hildon_pannable_area_set_property),
7437 (hildon_pannable_area_map),
7438 (hildon_pannable_area_class_init),
7439 (hildon_pannable_area_init),
7440 (hildon_pannable_area_jump_to): Added the modes to control the
7441 movement in the widget. We have added properties to control it,
7442 signals to warn about the movements and refactored some code.
7444 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7446 Changes required in order to allow vfast_factor set to zero to
7449 * src/hildon-pannable-area.c:
7450 (hildon_pannable_area_button_press_cb): Changed the condition, it
7451 is required for not allowing click when vfast_factor is zero.
7452 (hildon_pannable_area_timeout): Initialized velocity variables
7453 when we stop moving, it was less than 1 but not zero and we need
7454 to check zero in some situations.
7455 (hildon_pannable_area_class_init): Changed the default value of
7456 the speed factor, now the button_press is just sent in case the
7457 speed is 2 per cent of the max speed.
7458 (hildon_pannable_area_init): Initialization with 0.
7460 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7462 * src/hildon-pannable-area.c,
7463 (hildon_pannable_area_get_topmost): replaced
7464 gdk_window_get_children with gdk_window_peek_children, this way we
7465 do not have to free the list because it is not a copy.
7467 (hildon_pannable_axis_scroll),
7468 (hildon_pannable_area_scroll),
7469 (hildon_pannable_area_timeout),
7470 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7471 two parameters that were only used inside the
7472 hildon_pannable_area_scroll function.
7474 * examples/hildon-pannable-area-example.c,
7475 (get_sawtooth_label): Fixed small memory leak.
7477 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7479 More checks for the case where the overshoot is bigger than the
7482 * src/hildon-pannable-area.c:
7483 (hildon_pannable_draw_vscroll),
7484 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7485 to draw the slider of the scrollbar under the other scrollbar.
7486 (hildon_pannable_area_expose_event): added new checks to control
7487 the drawing of the overshooting area rectangle, in case it is too
7488 big for the area of the widget.
7489 (hildon_pannable_area_size_allocate): add more checks to avoid
7490 setting a position to the child widget outside the area.
7492 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7494 * src/hildon-pannable-area.c
7495 (hildon_pannable_area_size_allocate): Added conditions to control
7496 when overshooting is bigger than the allocated space for the
7497 children, this avoids negative allocations.
7499 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7501 * doc/hildon-docs.sgml
7503 * examples/Makefile.am
7504 * examples/hildon-button-example.c
7506 * src/hildon-button.c
7507 * src/hildon-button.h
7508 * src/hildon.h: Initial version of the new HildonButton widget,
7511 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7513 * src/hildon-pannable-area.c:
7514 (hildon_pannable_area_button_press_cb),
7515 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7516 (hildon_pannable_area_motion_notify_cb),
7517 (hildon_pannable_area_button_release_cb),
7518 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7519 (hildon_pannable_area_jump_to_child):
7521 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7523 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7525 * examples/Makefile.am
7526 * examples/hildon-pannable-area-touch-grid-example.c
7527 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7528 the Hildon Touch List and Hildon Touch Grid using the
7529 HildonPannableArea widget.
7531 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7533 * src/hildon-pannable-area.c,
7534 (hildon_pannable_area_button_press_cb),
7535 (hildon_pannable_area_refresh),
7536 (hildon_pannable_area_scroll),
7537 (hildon_pannable_area_motion_notify_cb),
7538 (hildon_pannable_area_button_release_cb),
7539 (hildon_pannable_area_expose_event),
7540 (hildon_pannable_area_add),
7541 (hildon_pannable_area_remove),
7542 (hildon_pannable_area_realize),
7543 (hildon_pannable_area_size_allocate),
7544 (hildon_pannable_area_class_init),
7545 (hildon_pannable_area_init),
7546 (hildon_pannable_area_scroll_to_child),
7547 (hildon_pannable_area_jump_to_child): Fixed the problem of
7548 removing the child from the GtkBin, we have rearranged the widget
7549 hierarchy, now there is no GtkAlignment which was not doing
7550 anything interesting but breaking some of the assumptions of
7551 GtkContainer. Now developers if they want to add a GtkAlignment
7552 they could, but it is not inside the area.
7554 We had to review the whole allocation/expose process, now it is
7555 improved and we save at least three signals which would be saving
7556 some time when rendering the widget. The allocation of the
7557 scrollbars is now made in the allocate method as usual.
7559 We have also added some conditions in order to control when there
7560 is no child of the pannable area. Maybe we will need more work
7563 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7565 * src/hildon-pannable-area.c,
7566 (hildon_pannable_area_dispose): Released the fade-out timeout when
7567 disposing the widget.
7569 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7571 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7572 zero, we are going to use that property in order to deactivate the
7574 (hildon_pannable_axis_scroll),
7575 (hildon_pannable_area_size_allocate): Added conditions to control
7576 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7577 call, now it is called in all situations and we can remove calls
7578 in the allocate method.
7579 (hildon_pannable_area_map): Control the situation when
7580 overshoot_max is zero, we do not need the timeout.
7581 (hildon_pannable_area_class_init): Added documentation in order to
7582 point out that setting zero to overshoot_max means deactivate
7585 NOTE: removed trailing whitespaces from my previous comments of
7588 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7590 * src/hildon-pannable-area.c
7591 (hildon_pannable_area_get_property),
7592 (hildon_pannable_area_set_property),
7593 (hildon_pannable_area_map),
7594 (hildon_pannable_area_class_init),
7595 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7596 to cause the widget give a hint about its panning abilities upon
7599 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7601 * src/hildon-pannable-area.c: Several documentation improvements.
7603 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7605 * src/hildon-program.c
7606 * src/hildon-stackable-window.c: Update documentation.
7608 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7610 * src/hildon-stackable-window.c (get_previous_window_if_last):
7611 Renamed get_last_window()
7612 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7613 (hildon_stackable_window_unset_program):
7615 (get_previous_window_if_last):
7616 Detect if the window hasn't been added to a HildonProgram.
7618 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7620 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7622 * src/hildon-pannable-area.c
7623 (hildon_pannable_area_button_press_cb),
7624 (hildon_pannable_axis_scroll),
7625 (hildon_pannable_area_scroll),
7626 (hildon_pannable_area_timeout),
7627 (hildon_pannable_calculate_vel_factor),
7628 (hildon_pannable_area_get_property),
7629 (hildon_pannable_area_set_property),
7630 (hildon_pannable_area_class_init),
7631 (hildon_pannable_area_init),
7632 (hildon_pannable_area_scroll_to),
7633 (hildon_pannable_area_jump_to),
7634 (hildon_pannable_area_scroll_to_child),
7635 (hildon_pannable_area_jump_to_child):
7636 * src/hildon-pannable-area.h: Added the new API functions:
7637 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7638 hildon_pannable_area_scroll_to_child,
7639 hildon_pannable_area_jump_to_child
7642 * examples/Makefile.am
7643 * examples/hildon-pannable-area-example-2.c
7644 * examples/hildon-pannable-area-example-3.c: Added these two new
7645 examples in order to test and show how the new APIs work.
7647 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7649 * examples/hildon-stackable-window-example.c (new_window):
7650 * src/Makefile.am (noinst_HEADERS):
7651 * src/hildon-program.c (hildon_program_go_to_root_window):
7652 * src/hildon-program.h:
7653 * src/hildon-stackable-window-private.h:
7654 * src/hildon-stackable-window.c:
7655 * src/hildon-stackable-window.h:
7656 Create hildon-stackable-window-private.h
7657 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7659 * examples/hildon-app-menu-example.c (create_menu):
7660 * examples/hildon-hvolumebar-insensitive-example.c (main):
7661 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7662 * examples/hildon-toolbar-seekbar-example.c (main):
7663 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7664 * src/hildon-banner.c (hildon_banner_set_property):
7665 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7666 Fix compilation warnings
7668 * src/hildon-window.c:
7671 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7673 * src/hildon-stackable-window.c
7674 (hildon_stackable_window_unset_program):
7675 Calculate correctly whether to show the previous window if the
7676 last one is removed from the stack.
7677 (hildon_stackable_window_go_to_root_window):
7678 Send delete events starting from the topmost window.
7679 Stop if one of the windows is not destroyed.
7681 (hildon_stackable_window_delete_event)
7682 (hildon_stackable_window_class_init):
7683 Ignore the delete event if the window is not the topmost one.
7685 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7687 * src/hildon-pannable-area.c
7688 (hildon_pannable_area_expose_event): Fixed a problem when
7689 selecting the background color of the scrollbars.
7691 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7693 * examples/hildon-stackable-window-example.c
7694 * src/hildon-stackable-window.c
7695 * src/hildon-stackable-window.h
7696 hildon_stackable_window_go_home() renamed to
7697 hildon_stackable_window_go_to_root_window()
7698 Send delete events to windows rather than closing them with
7699 gtk_widget_destroy()
7701 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7703 * src/hildon-pannable-area.c
7704 (hildon_pannable_area_button_release_cb): Fix overshooting in
7707 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7709 * src/hildon-pannable-area.c
7710 (hildon_pannable_area_init): Initially show the scroll indicators.
7711 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7713 Add initial effect showing the widget is pannable.
7715 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7717 * src/hildon-pannable-area.c
7718 (hildon_pannable_area_class_init)
7719 (hildon_pannable_area_set_property)
7720 (hildon_pannable_area_get_property)
7721 (hildon_pannable_area_button_press_cb):
7722 New 'velocity_fast_factor' property to decide which velocity is
7725 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7727 * src/hildon-pannable-area.c
7728 (hildon_pannable_draw_hscroll)
7729 (hildon_pannable_draw_vscroll):
7730 Use float variables to calculate the size of the scrollbars to
7731 avoid error propagation and resizing during scrolling.
7733 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7735 * src/hildon-pannable-area.c
7736 (hildon_pannable_draw_vscroll)
7737 (hildon_pannable_draw_hscroll):
7738 Define a minimum size for the scroll bars
7740 * src/hildon-stackable-window.c
7741 (hildon_stackable_window_go_home): Fix compilation warning
7742 (get_last_window): Minor optimizations
7743 (hildon_stackable_window_class_init): Fix initialization of
7746 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7748 * src/hildon-stackable-window.c: Fixed typos in doc
7750 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7752 * src/hildon-pannable-area.c
7753 (hildon_pannable_area_scroll):
7754 Calculate here whether we need to scroll instead of using the booleans
7755 that tell us whether to /draw/ the scrolling bars.
7757 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7759 * src/hildon-app-menu.h
7761 * src/hildon-app-menu.c
7762 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7763 multiple filter groups related code and API. Now we support only
7765 * examples/hildon-app-menu-example.c:
7767 Update to reflect API changes.
7769 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7771 * src/hildon-stackable-window.c
7772 (hildon_stackable_window_class_init):
7773 Add hildon_stackable_window_realize.
7774 (hildon_stackable_window_realize):
7775 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7776 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7777 to apply theming and behavior specific to HildonStackableWindow
7780 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7782 * src/hildon-note.c (hildon_note_button_release):
7783 Close information notes also when tapping on them
7785 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7787 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7788 ELASTICITY, refactor and review, fix some issues with drawing
7791 * src/hildon-pannable-area.c:
7792 (hildon_pannable_area_button_press_cb): removed the conditions to
7793 avoid clicks when overshooting. It is not required
7795 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7796 define. Refatored and reviewed the code, now we do not need to
7797 manage velocity in motion_notify.
7799 (hildon_pannable_area_motion_notify_cb): We have moved the code
7800 that controls the area_scroll to the axis_scroll function and get
7801 rid of duplicated code.
7803 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
7805 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
7807 (hildon_pannable_draw_vscroll),
7808 (hildon_pannable_draw_hscroll): Fixed the problems with the
7809 scrollbar drawing, now we do not use two surfaces, it is easier
7810 and saves resources.
7812 (hildon_pannable_area_get_property): Style modification.
7814 (hildon_pannable_area_class_init): Changed some default values.
7816 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
7818 * src/hildon-stackable-window.c: Fix some typos in the
7821 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7823 * src/hildon-dialog.c:
7824 Change indentation style
7827 (hildon_note_button_release):
7828 Use root coordinates to check if the release event happened
7831 * src/hildon-app-menu.c
7832 (hildon_app_menu_button_release):
7833 Remove unnecessary check
7835 * examples/hildon-app-menu-example.c
7837 Add cast to fix warning
7839 * src/hildon-app-menu.c
7840 (hildon_app_menu_class_init):
7841 New inner-border style property.
7842 Set all default spacings to 16
7843 (hildon_app_menu_init):
7844 Use vertical-spacing to set the space between filter buttons and
7845 regular menu buttons.
7846 Set the default container border using the inner-border value.
7848 * examples/hildon-app-menu-example.c
7850 Don't set the menu border explicitly, now we have the inner-border
7851 style property for that.
7853 2008-06-11 Alberto Garcia <agarcia@igalia.com>
7855 * src/hildon-app-menu.c (hildon_app_menu_init):
7856 Make the window modal
7858 * src/hildon-note.c (hildon_note_map)
7859 * src/hildon-app-menu.c (hildon_app_menu_map):
7860 Destroy the grab window if we're unable to grab the pointer
7862 * src/hildon-app-menu-private.h
7863 * src/hildon-app-menu.c
7864 (hildon_app_menu_init, hildon_app_menu_finalize)
7865 (hildon_app_menu_map, hildon_app_menu_unmap)
7866 (hildon_app_menu_button_release)
7867 (grab_transfer_window_get):
7868 Bring back the grab window
7869 (hildon_app_menu_realize):
7870 Decorate the window, set WM hint for Matchbox
7872 * src/hildon-note.c (hildon_note_realize):
7873 * src/hildon-banner.c (hildon_banner_realize):
7874 Add WM hints for Matchbox
7876 2008-06-10 Alberto Garcia <agarcia@igalia.com>
7878 * src/hildon-app-menu-private.h
7879 * src/hildon-app-menu.c
7880 (hildon_app_menu_init, hildon_app_menu_finalize)
7881 (hildon_app_menu_map, hildon_app_menu_unmap)
7882 (hildon_app_menu_button_release):
7883 Remove the grab window, it's not needed anymore
7885 * src/hildon-program.c
7886 Fixed typo in documentation
7888 * src/hildon-app-menu.h
7889 * src/hildon-app-menu.c
7890 * examples/hildon-app-menu-example.c
7891 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
7893 2008-06-09 Alberto Garcia <agarcia@igalia.com>
7896 Added new transfer_window and close_if_pressed_outside private
7898 (hildon_note_rebuild):
7899 Don't add a cancel button to the information note. It will be
7900 closed when tapping outside
7901 Remove the comment about the OK button in the documentation
7902 (hildon_note_realize):
7903 Set the notification type hint
7904 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
7905 Grab/ungrab pointer and keyboard if the note has to be closed when
7907 (hildon_note_button_release):
7908 Close the note when tapping outside (if applicable)
7910 * src/hildon-app-menu.c
7911 Grab/ungrab pointer and keyboard on map/unmap
7912 (hildon_app_menu_button_release, hildon_app_menu_class_init):
7913 Close the menu on button release, not button press
7915 * src/hildon-banner.c
7916 (hildon_banner_set_property)
7917 (hildon_banner_check_position):
7918 Make the banner use the full width of the screen
7919 (hildon_banner_show_information)
7920 (hildon_banner_show_information_with_markup):
7921 Don't display an icon by default
7923 2008-06-09 Alejandro G. Castro <alex@igalia.com>
7925 Added fading scrollbars and adapted all the overshooting code to
7926 horizontal scrolling. We have also fixed bugs with overshooting
7927 and current fading implementation.
7929 * src/hildon-pannable-area.c
7930 (hildon_pannable_area_scroll_indicator_fade): Time out function
7931 used to change the transparency of the scrollbars.
7933 (hildon_pannable_area_button_press_cb): Added horizontal overshot
7934 control and fixed a problem with fading, we now remove the fade
7935 timeout before adding a new one.
7937 (hildon_pannable_axis_scroll):
7938 (hildon_pannable_area_scroll):
7939 (hildon_pannable_area_timeout): Added this functions so we can use
7940 the scroll code both for vertical and horizontal.
7942 (hildon_pannable_area_motion_notify_cb):
7943 (hildon_pannable_area_button_release_cb): Added the horizontal
7944 scrolling control, fixed a problem with the overshooting timeout.
7946 (rgb_from_gdkcolor): Added this function, it is used in the cairo
7947 painting of the scrolls.
7949 (hildon_pannable_draw_vscroll):
7950 (hildon_pannable_draw_hscroll):
7951 (hildon_pannable_area_expose_event):
7952 Draw both scrollbars and rectangles in the overshooting area.
7954 (hildon_pannable_area_get_property):
7955 (hildon_pannable_area_set_property):
7956 Modified the overshoot property to overshoot_max
7958 (hildon_pannable_area_map):
7959 Replaced the comments symbols.
7961 (hildon_pannable_area_size_allocate):
7962 (hildon_pannable_area_class_init):
7963 (hildon_pannable_area_init): Added horizontal scroll, fading
7964 effect properties, fixed a problem when overshooting in the bottom
7967 * examples/hildon-pannable-area-example.c:
7968 (get_sawtooth_label): Now we use smaller sawtooths, the effect
7969 looks better in the example.
7971 2008-06-03 Alberto Garcia <agarcia@igalia.com>
7973 * src/hildon-window.c
7974 * src/hildon-window.h
7975 (hildon_window_class_init)
7976 (hildon_window_unset_program)
7977 (hildon_window_unset_program_real):
7978 Make unset_program a virtual function
7980 * src/hildon-stackable-window.c
7981 * src/hildon-stackable-window.h
7982 Added hildon_stackable_window_go_home()
7984 * examples/Makefile.am
7985 * examples/hildon-stackable-window-example.c
7986 HildonStackableWindow example
7988 2008-06-03 Alejandro G. Castro <alex@igalia.com>
7990 * hildon-pannable-area.c: Added the overshoot property and removed
7991 the OVERSHOOT define. Fixed an indent style error.
7992 (hildon_pannable_area_motion_notify_cb):
7993 (hildon_pannable_area_get_property):
7994 (hildon_pannable_area_set_property): Add overshoot property.
7996 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
7999 (hildon_pannable_area_class_init): Installed the new property.
8001 * hildon-pannable-area-example.c: Added a sawtooth function, this
8002 way it is easier to check the movement in the pannable.
8003 (get_sawtooth_label): Added this function.
8004 (main): Now we get the labels from the new get_sawtooth_label
8007 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8009 * src/hildon-app-menu.h
8010 * src/hildon-app-menu.c
8011 Renamed API variables for consistency
8013 (hildon_app_menu_popup): Use also the default window size to
8014 decide where to place the menu
8016 (hildon_app_menu_init, hildon_app_menu_class_init): New
8017 external-border style property
8019 2008-05-26 Michael Natterer <mitch@imendio.com>
8021 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8022 widget_class->tap_and_hold_setup signal slot doesn't exist any
8023 longer, stop overriding it.
8025 (hildon_time_editor_init): g_signal_connect() to the
8026 tap-and-hold-setup signal instead.
8028 (hildon_time_editor_entry_keypress): add cast to fix warning.
8030 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8032 * doc/hildon-docs.sgml
8034 * examples/Makefile.am
8035 * examples/hildon-app-menu-example.c
8037 * src/hildon-app-menu-private.h
8038 * src/hildon-app-menu.c
8039 * src/hildon-app-menu.h
8041 New HildonAppMenu widget
8043 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8045 Rearranged the inheritance of the pannable area, now it inherits
8046 from GtkBin. This will allow us to control the event_window and
8047 the allocation process of the widget, required for some effects.
8049 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8050 GtkBin structures. * src/hildon-pannable-area.c: Added the
8051 event_window variable.
8052 (hildon_pannable_area_button_press_cb):
8053 (hildon_pannable_area_button_release_cb):
8054 (hildon_pannable_area_motion_notify_cb):
8055 Changed the signature of the method, now we override the event
8056 callback instead of connecting to the signal.
8058 (hildon_pannable_area_realize):
8059 (hildon_pannable_area_unrealize):
8060 (hildon_pannable_area_map):
8061 (hildon_pannable_area_unmap):
8062 (hildon_pannable_area_size_allocate):
8063 Added functions to control the widget construction. We add a
8064 INPUT_ONLY window and we put it over the widgets inside the
8065 container, this event_window handles the events.
8067 (hildon_pannable_area_class_init):
8068 Replaced the signal connections with overrides of the event
8071 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8073 Bouncing effect added when touching the borders, you can change
8074 the elasticity of the border changing the ELASTICITY define.
8076 * src/hildon-pannable-area.c: Added ELASTICITY define.
8077 (hildon_pannable_area_timeout): Added inverse velocity when
8078 touching the border of the child widget, that causes a bounce.
8080 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8082 Improved performance, we now do not go to the X server in order to
8083 get the list of window children. Apparently the effect is the
8084 same, we have to be careful and check if this breaks something in
8087 * src/hildon-pannable-area.c:
8088 (get_ordered_children): Removed this function.
8089 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8090 the children windows function with gdk_window_get_children.
8092 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8094 * src/hildon-pannable-area.c:
8095 (hildon_pannable_area_dispose): Fixed a crash when closing the
8096 window and kinetics is activated.
8098 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8100 * src/hildon-pannable-area.h
8101 * src/hildon-pannable-area.c
8102 Changed indentation style to meet the one used in Hildon
8104 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8106 Reviewed the interaction of the AUTO mode, now we use the time
8107 attribute of the events and calculate the velocity in the motion,
8108 doing a gimp like calculation. The velocity is calculated in each
8109 motion event using the last velocity and the current one, the
8110 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8112 * src/hildon-pannable-area.c: Replaced the time based algorithm
8114 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8115 timeout for the AUTO mode when we are still moving the cursor. We
8116 added also the velocity calculation in this function.
8117 (hildon_pannable_area_button_release_cb): launch the timeout in
8118 case we are in AUTO mode. There are still some constants here that
8119 come from the old implementation that should be reviewed and
8122 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8124 * doc/hildon-docs.sgml
8127 * src/hildon-stackable-window.c
8128 * src/hildon-stackable-window.h
8130 New HildonStackableWindow widget
8132 * examples/hildon-dialog-example.c
8133 * examples/hildon-pannable-area-example.c
8136 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8138 * src/hildon-dialog.c
8139 (hildon_dialog_new_with_buttons): New constructor.
8141 * examples/hildon-dialog-example.c
8142 (main): Update the example to use the new
8143 hildon_dialog_new_with_buttons().
8145 * examples/hildon-pannable-area-example.c
8146 (main): Update example.
8148 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8150 * doc/hildon-docs.sgml
8152 Added HildonPannableArea to the documentation.
8154 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8156 * doc/visual_index.xml
8157 Fix reference to HildonLoginDialog in documentation
8159 * doc/hildon-docs.sgml
8161 * examples/Makefile.am
8162 * examples/hildon-dialog-example.c
8164 * src/hildon-dialog.c
8165 * src/hildon-dialog.h
8167 New HildonDialog widget.
8169 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8171 * src/hildon-pannable-area.c
8172 Merge latest changes (r4318, r4342) from libmokoui trunk
8174 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8176 * examples/Makefile.am
8177 * examples/hildon-pannable-area-example.c
8179 * src/hildon-pannable-area.c
8180 * src/hildon-pannable-area.h
8182 New HildonPannableArea widget.
8184 2008-04-15 18:05:19 <timj@imendio.com>
8186 * src/hildon-banner.c: revert the recent change, that introduced
8187 gtk_window_present() calls. this reopens:
8188 Bug 78481 - [freetest] information banners are hidden under browser menu
8189 But resolves another variant of:
8190 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8192 2008-04-15 13:21:13 <timj@imendio.com>
8194 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8195 recreated its layout, spotted by Kris. this fixes all remaining
8196 artefacts and stability issues with the banner code. in particular:
8197 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8199 2008-04-14 16:52:59 <timj@imendio.com>
8201 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8202 operating on unrealized widgets, fixes:
8203 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8205 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8207 2008-04-09 Kristian Rietveld <kris@imendio.com>
8209 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8210 makes banner disappear.
8211 Fixes: NB#79182: info banner flickering with certain message lengts.
8213 * src/hildon-banner.c (hildon_banner_constructor),
8214 (hildon_banner_init), (hildon_banner_set_text),
8215 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8216 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8217 FALSE, reset size requests of label and banner,
8218 (force_to_wrap_truncated): when the text is too wide, always enforce
8219 the maximum possible width instead of recalculating it from the
8220 layout; enforce the maximum banner height of 3 lines,
8221 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8222 nicer wrapping and no truncated chars if space gets tight.
8224 * src/hildon-banner-private.h: add has_been_wrapped and
8225 has_been_truncated fields.
8227 2008-04-07 Sven Herzberg <sven@imendio.com>
8229 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8230 local values in hildon_date_editor_size_allocate
8232 * src/hildon-date-editor.c: moved the real allocation code into the
8235 2008-04-07 Sven Herzberg <sven@imendio.com>
8237 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8238 local values in hildon_date_editor_size_allocate
8240 * src/hildon-date-editor.c: merged the two if() branches together
8242 2008-04-07 Sven Herzberg <sven@imendio.com>
8244 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8245 local values in hildon_date_editor_size_allocate
8247 * src/hildon-date-editor.c: changed the arguments of the if()
8250 2008-04-07 Sven Herzberg <sven@imendio.com>
8252 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8253 local values in hildon_date_editor_size_allocate
8255 * src/hildon-date-editor.c: split the calculation of the allocation
8256 from the real allocation
8258 2008-03-27 Michael Natterer <mitch@imendio.com>
8260 Fixes: NB#81696: The passcode is not overwritten even after
8263 * src/hildon-code-dialog.c
8264 (hildon_code_dialog_button_clicked)
8265 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8266 because that doesn't overwrite selected text. Instead, emit the
8267 "commit" signal on the entry's im_context so the entry's normal
8268 insert logic is triggered. Set the cursor to the end of the entry
8269 after each insert operation so that we *only* insert in the middle
8270 of the text if something was selected.
8272 2008-03-27 Michael Natterer <mitch@imendio.com>
8274 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8275 selector cannot be opened
8277 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8278 when the popup color selector is created. Please connect to this
8279 signal in order to set the dialog's help ID.
8281 2008-03-25 Sven Herzberg <sven@imendio.com>
8283 Fixes: MB#1212: Hide info banners (infoprints) on click
8285 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8286 extracted the close event simulation into an extra function
8287 (hildon_banner_button_press_event): simulate a close event and destroy
8288 the widget if the event wasn't handled
8289 (hildon_banner_class_init): added the button_press_event handler
8290 (hildon_banner_init): added button-press events to the widget
8292 2008-03-25 Sven Herzberg <sven@imendio.com>
8294 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8295 Patch from: Mohammad Anwari <mdamt@maemo.org>
8297 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8298 instead of the right in RTL mode
8299 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8300 breadcrumb button list in RTL mode
8301 * src/hildon-caption.c: mirror the appearance of the caption widget in
8303 * src/hildon-date-editor.c: mirror appearance of the date editor in
8305 * src/hildon-time-editor.c: mirror appearance of the time editor in
8307 * src/hildon-window.c: fix the position of the popup in RTL mode
8309 2008-03-25 Sven Herzberg <sven@imendio.com>
8311 Amendment to the fix of NB#22072. Fix compilation.
8313 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8315 2008-03-19 Sven Herzberg <sven@imendio.com>
8317 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8320 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8321 timeout id properly when the timeout will disappear this leaves no
8322 artifacts around in the destroy(); there will only be the timeout
8323 created by hildon_banner_ensure_timeout() and adding a new timeout
8324 will also work if the timeout gets removed because the timeout_handler
8327 2008-03-19 Michael Natterer <mitch@imendio.com>
8329 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8331 * src/hildon-volumebar.c
8332 * src/hildon-vvolumebar.c
8333 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8334 the widget becomes focussable at all.
8336 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8337 set the focus to wither the mute button or the volumebar.
8339 Remove own "can-focus" property and instead listen to
8340 notify::can-focus in order to update the widget's state.
8342 Implement GtkWidget::focus() and make sure we can also *leave* the
8343 widget, not only enter it, depending on volumebar orientation and
8344 requested focus direction.
8346 Clean up set_mute() to cooperate nicely with all the above.
8348 2008-03-04 Michael Natterer <mitch@imendio.com>
8350 Fixes: NB#78481: information banners are hidden under browser menu
8352 * src/hildon-banner.c: call gtk_window_present() on the banners so
8353 they are risen if they are already visible.
8355 2008-03-03 Sven Herzberg <sven@imendio.com>
8357 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8359 * examples/hildon-window-menu-example.c: (main): extended the window
8360 menu example to serve as a testcase for automatically added
8361 accelerator groups, too
8362 * src/hildon-window.c: (hildon_window_add_accel_group),
8363 (hildon_window_set_menu): added patch by Tommi Komulainen
8365 2008-03-03 Sven Herzberg <sven@imendio.com>
8367 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8369 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8370 knowledge about the border allocators used within GTK+
8372 2008-02-26 Sven Herzberg <sven@imendio.com>
8374 Fixes: MB#2981: Build with asserts broken
8376 * src/hildon-date-editor.c,
8377 * src/hildon-number-editor.c,
8378 * src/hildon-time-editor.c,
8379 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8380 the proper GType instance check
8382 2008-02-25 Sven Herzberg <sven@imendio.com>
8384 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8386 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8387 * examples/hildon-window-menu-example.c: (main): explicitly show
8389 * src/hildon-window.c:
8390 (hildon_window_set_main_menu): moved most of the code from set_menu()
8391 to this place; skipped the call to gtk_widget_show_all(); also didn't
8392 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8393 (hildon_window_set_menu): removed most of the code, just keep the
8394 questionable gtk_widget_show_all()
8395 * src/hildon-window.h: added the new function and deprecate the old
8398 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8404 * debian/changelog: Updating.
8406 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8409 * pkgconfig/Makefile.am:
8410 * pkgconfig/hildon.pc.in:
8413 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8414 use newly created API_MAJOR_VERSION.
8416 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8422 * debian/changelog: Updating.
8424 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8426 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8428 Add outer_border style property, we use it but don't define it (!).
8432 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8434 * examples/hildon-bread-crumb-trail-example.c (main):
8438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8440 Fix logic for the bread crumb trail node removal.
8444 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8450 * debian/changelog: Updating.
8452 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8454 Patch by Alejandro to get/set passwords dialogs accesibility.
8456 * hildon-1/src/hildon-get-password-dialog.c:
8457 * hildon-1/src/hildon-set-password-dialog.c:
8458 Set atk_set_name to the passwd entries in order to allow
8459 accessibility by name on this entries.
8461 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8466 * debian/control: Updating gtk dep.
8468 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8470 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8471 USE_MAEMO_GTK is enabled.
8473 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8475 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8476 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8478 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8484 * debian/changelog: Updating.
8486 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8488 * examples/Makefile.am:
8489 * examples/hildon-logical-color-example.c:
8490 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8491 applied + adding a test case. Fixes: NB#71660.
8493 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8495 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8496 to be visible, fixes warning on map for windows without toolbars.
8498 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8500 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8501 2.11.0, add a check for that besides the MAEMO_GTK check.
8503 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8509 * debian/changelog: Updating.
8511 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8513 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8514 visibility. Fixes: NB#70842 and MB#615.
8516 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8518 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8519 set the separator as no-show-all so it doesn't unintentionally appear when
8520 someone does a show_all.
8522 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8524 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8525 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8526 toplevel item. Fixes: NB#62031
8528 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8530 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8531 fix the name of the function in the docs.
8533 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8539 * debian/changelog: Updating.
8541 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8543 * examples/hildon-banner-long-example.c: Adding a test-case for long
8546 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8548 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8550 * src/hildon-color-chooser-dialog.c:
8551 * src/hildon-color-chooser.c:
8552 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8553 memory leaks in font selector and color selector. Fixes: NB#70499 and
8556 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8558 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8560 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8562 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8563 little bit bigger. Fixes: #NB63694.
8565 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8571 * debian/changelog: Updating.
8573 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8576 * doc/hildon-docs.sgml:
8577 * doc/images/bread-crumb-trail.png:
8578 * doc/images/calendar-popup.png:
8579 * doc/images/caption.png:
8580 * doc/images/code-dialog.png:
8581 * doc/images/color-button.png:
8582 * doc/images/color-chooser-dialog.png:
8583 * doc/images/color-chooser.png:
8584 * doc/images/controlbar.png:
8585 * doc/images/date-editor.png:
8586 * doc/images/font-selection-dialog.png:
8587 * doc/images/get-password-dialog.png:
8588 * doc/images/hvolumebar.png:
8589 * doc/images/login-dialog.png:
8590 * doc/images/note.png:
8591 * doc/images/number-editor.png:
8592 * doc/images/range-editor.png:
8593 * doc/images/seekbar.png:
8594 * doc/images/set-password-dialog.png:
8595 * doc/images/sort-dialog.png:
8596 * doc/images/time-editor.png:
8597 * doc/images/time-picker.png:
8598 * doc/images/vvolumebar.png:
8599 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8600 Adding the bread-crumb-trial and helpers to the documentation.
8602 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8604 * examples/hildon-find-toolbar-example.c:
8605 * src/hildon-find-toolbar.c:
8606 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8607 actually continue firing the other handlers if connected. Adding a new
8609 hildon_find_toolbar_get_last_index that gets the index of the most
8610 recently added (last) item. Fixes: NB#52301.
8612 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8614 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8615 behaviour. Fixes: NB#68610.
8617 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8619 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8622 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8624 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8625 when realizing the banner. Should make the infonbanner effect a bit more
8628 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8630 * src/hildon-volumebar.c:
8631 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8632 hildon_volumebar_set_range_insensitive_message and
8633 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8635 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8637 * src/hildon-window.c: Fixing the border freeing on destroy.
8639 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8641 * src/hildon-code-dialog-private.h:
8642 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8643 kw keyboard support in HildonCodeDialog.
8645 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8651 * debian/changelog: Updating.
8653 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8655 * src/hildon-date-editor.c:
8656 * src/hildon-number-editor.c:
8657 * src/hildon-private.c:
8658 * src/hildon-private.h:
8659 * src/hildon-time-editor.c:
8660 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8661 handling in subclassed composite widgets. Fixes: NB#66628.
8663 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8665 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8666 from destroy_ callback as it introduces problems in async dbus signal
8667 handlers. Fixes NB#66673.
8669 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8671 * examples/hildon-hvolumebar-example.c:
8672 * src/hildon-volumebar.c: Improving the focus handling in the
8673 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8674 set_property accessor so that "mute" property can be actually set. I'm
8675 scared that nobody noticed it's totally broken.
8677 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8679 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8682 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8684 * src/hildon-calendar.c:
8685 * src/hildon-number-editor.c:
8686 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8687 matches the spec of 6 chars per second. Fixes: NB#60489.
8689 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8691 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8692 gtk_style_lookup_color sometime returns FALSE even though color was
8693 found and values were filled properly. Weird. Removing the warning for the
8696 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8698 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8699 expand vertically. Adding some extra space to the find toolbar buttons to
8700 make them thumbable. Fixes NB#66060.
8702 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8704 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8705 popup with "Ok" and "Cancel". Fixes NB#59299.
8707 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8709 * src/hildon-calendar.c: Process all window updates before executing next
8710 timeout. Fixes: NB#54146.
8712 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8718 * debian/changelog: Updating.
8720 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8722 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8723 the client event and ignore it, since we use the delete event to close
8726 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8728 * src/hildon-helper.c: Remove the bogus warning about color not being
8729 found. Fixes NB#58352.
8731 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8733 * examples/Makefile.am:
8734 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8735 HildonSeekbar widget inside a toolbar.
8737 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8739 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8740 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8741 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8742 don't want to be closed by non-temporary windows on map.
8744 Also use G_DEFINE_TYPE instead of manually typed code.
8746 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8753 * debian/rules: Updating.
8755 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8757 * examples/Makefile.am:
8758 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8759 bug NB#61128. Strangely it works.
8761 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8763 * src/hildon-date-editor.c: When the date editor entry has been changed
8764 but the numbers of characters < max, turn off the skip validation flag.
8765 Prevents a situation when we enter first a valid year and later re-write
8766 it with an invalid one. Fixes NB#60154.
8768 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8770 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8771 code dialog. Fixes NB#64355.
8773 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8776 switching the page. Fixes NB#49374.
8778 * examples/Makefile.am:
8779 * examples/hildon-wizard-dialog-example.c: Adding an example for
8780 HildonWizardDialog that shows how to handle manual sensitivity setting on
8783 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8787 * src/hildon-version.h.in:
8788 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8790 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8792 * src/hildon-volumebar.c: Updating the docs.
8794 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8800 * debian/changelog: Updating.
8802 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8804 * src/hildon-find-toolbar.c:
8805 * src/hildon-find-toolbar.h: Adding a few new functions to control the
8806 selected item: hildon_find_toolbar_set_active,
8807 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
8808 hildon_find_toolbar_get_active_iter . They correspond to respective
8809 GtkComboBox functions.
8811 * examples/Makefile.am:
8812 * examples/hildon-find-toolbar-example.c: Adding the example to test the
8815 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8817 * examples/Makefile.am:
8818 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
8821 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
8822 when font size > 32 and we pack a focusable widget inside. Actually using
8823 the default response would work too, but since we don't show default
8824 response state in any way (no theming) it would not be visible to the
8825 user. Fixes NB#63430.
8827 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * src/hildon-date-editor.c: Adding the missing variable setter in the
8830 set_property handler. Fixes NB#54182.
8832 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * src/hildon-window.h: Changing the long key press time from 1500ms to
8835 800ms as requested in NB#63700. I have a bad feeling about this, let's
8836 see... Fixes NB#63700.
8838 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
8840 * src/hildon-time-picker.c (hildon_time_picker_class_init,
8841 hildon_time_picker_map, hildon_time_picker_realize,
8842 hildon_time_picker_style_set): Split the contents of map to more
8843 appropriate functions; set window decorations on realize and update
8844 arrows' size requisitions on style-set. Avoids unnecessary resizing.
8846 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
8851 * debian/changelog: Updating.
8853 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
8855 * src/Makefile.am: fixed installation of the header files
8857 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * debian/changelog: Updating.
8865 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8867 * configure.ac: Removing some remaining of --enable-xan.
8869 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
8871 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
8872 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
8874 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
8875 2.10.12-osso6 because the move-focus signal needs to be available in
8878 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * examples/Makefile.am:
8881 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
8882 that makes a HildonVolumebar insensitive before mapping it. Seems to work
8883 fine. Prolly NB#61128 is fixed now.
8885 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8887 * src/hildon-volumebar.c:
8888 * src/hildon-volumebar.h: Adding the
8889 hildon_volumebar_set_range_insensitive_message and
8890 hildon_volumebar_set_range_insensitive_messagef functions to set
8891 insensitive message on the slider of the volumebar. Fixes NB#61129.
8893 * examples/Makefile.am:
8894 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
8895 test the new insensitive messsage functionality on HildonVolumebar.
8897 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
8899 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
8902 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
8904 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
8905 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
8906 button on after clearing the trail.
8908 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * src/hildon-code-dialog.c: Removing the separator from the dialog.
8912 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8914 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
8915 by splitting the installed headers in generated and non-generated groups. Use
8916 only the non-generated headers to create the hildon-enum-types.h file.
8918 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
8920 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8922 * src/hildon-window.c: Hide the window before performing the destroy.
8923 Should make the app closing a little tiny bit more snappy.
8925 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
8927 * src/hildon-seekbar.c: add gtkrange.h header
8928 * src/hildon-caption.c: remove unused variable
8930 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
8932 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
8935 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * debian/changelog: Updating.
8943 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
8945 * src/hildon-window.c (hildon_window_window_state_event,
8946 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
8947 escape timeout on focus-out-event rather than notify::is-topmost; the
8948 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
8950 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
8953 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
8955 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8957 * src/hildon-window: actually, you need to use the macro always, there's
8958 no private pointer in the instance structure. We should have cleaned this up
8959 when we had the chance...
8961 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
8963 * src/hildon-window.c: do not get the private date from HildonWindow before
8964 it passes the g_return_if_fail check. Once it's passed the test, there's no
8965 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
8966 if you are only going to access the data once. Whitespace cleanups.
8968 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
8970 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
8971 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
8973 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * debian/changelog: Updating.
8981 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8983 * src/hildon-window.c: When destroying the window, remove (if exists) the
8984 escape timeout handler. Fixes #NB59276.
8986 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8988 * src/hildon-banner.c: When realizing the widget, set the window
8989 transiency. Setting the transiency in the gobject constructor is not
8990 good, as the widget is not realized at that point. Fixes: #NB56624.
8992 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
8995 Add padding for future expansions.
8997 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
8999 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9000 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9001 will fake an activation on the previous to the last item of the trail, so
9002 the effect can be overrided by the developer as usual.
9003 Also change the callback for the back button to do the same thing, so its
9004 effect can be overrided too. Fixes: NB#58982
9006 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9008 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9009 HildonCaption. Fixes NB#52379.
9011 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9013 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9014 the internal state of the trail after the user has had the chance of executing
9015 his handler for the signal. Specifically, it may happen that the activated button
9016 is removed and the user still lets the default handler run. This would segfault
9019 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9022 scrollbar to the preview dialog. Fixes NB#54147.
9024 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9027 max/min year properties can be altered, so the client can modify it
9028 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9030 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9033 hildonlike by default. Fixing a problem with disappearing arrows when
9034 scrolling through months and years. Fixes NB#54127.
9036 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9038 * examples/hildon-date-editor-example.c: Adding error callback to the date
9041 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * configure.ac: Updating.
9049 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * configure.ac: Adding a special '--enable-xan' configure option that
9052 turns off the -Werror compilation setting. Usefull for development.
9054 * src/hildon-calendar.c:
9055 * src/hildon-number-editor.c:
9056 * src/hildon-time-picker.c: Adding the 5* multiplier to
9059 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9061 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9062 instead of g_object_ref + gtk_object_sink.
9064 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9070 * debian/changelog: Updating.
9072 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9074 * src/hildon-color-chooser-dialog.c:
9075 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9076 straight from Tommi labs.
9078 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * examples/hildon-finger-example.c: Correcting the header file path.
9082 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9083 the changed signal. Fixes a small memory leak.
9085 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * src/hildon-banner.c: Importing several usefull fixes from the
9090 ubuntu-mobile branch.
9092 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9094 * examples/Makefile.am:
9095 * examples/hildon-finger-example.c: Adding a finger-checking code
9098 * src/hildon-font-selection-dialog.c: Do not allocate the color
9099 structure using the g_new. Fixes NB#54061.
9101 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9103 * src/hildon-helper.c: Correcting tabs in file.
9105 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9107 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9108 control the visibility of the children.
9110 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9112 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * debian/changelog: Updating.
9120 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9122 * src/hildon-bread-crumb-trail.c:
9123 (hildon_bread_crumb_trail_size_allocate):
9125 Make the back button always a square.
9127 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9129 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9130 from the .c file as it's a private file.
9132 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9135 uses slightly bigger height.
9137 * src/hildon-font-selection-dialog.c: Adding some checks before
9138 freeing memory in the font selection dialog.
9140 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9142 * src/hildon-font-selection-dialog.c: Adding a small check when
9145 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9146 buttons sensitivity on page switching.
9148 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9150 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9151 internal details of adding a bread crumb to the trail.
9153 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9159 * debian/changelog: Updating.
9161 * src/hildon-bread-crumb-trail.h:
9162 * src/hildon-bread-crumb.h: Changing the API guard to
9163 HILDON_ENABLE_UNSTABLE_API.
9165 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * src/hildon-helper.h: Updating.
9175 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9183 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * src/hildon-helper.h: Small fix to make the package actually compile.
9189 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9191 * src/hildon-bread-crumb-trail.h:
9192 * src/hildon-bread-crumb.h:
9194 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9195 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9197 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9199 * examples/hildon-bread-crumb-trail-example.c:
9201 * src/hildon-bread-crumb-trail.c:
9202 * src/hildon-bread-crumb-trail.h:
9203 * src/hildon-bread-crumb.c:
9204 * src/hildon-bread-crumb.h:
9205 * src/hildon-marshalers.list:
9206 * src/hildon-bread-crumb-widget.c:
9207 * src/hildon-bread-crumb-widget.h:
9209 Slight change in the widget design. The bread crumb trail API is
9210 unchanged, but HildonBreadCrumb is now an interface. A *private*
9211 implementation, hildon-bread-crumb-widget, is provided and used
9212 internally by the trail for the push_text/push_icon functions.
9214 The generic push API is still available, so anyone can implement
9215 and use its own bread crumb widget.
9217 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * debian/rules: Fixing the shlibs.
9221 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-banner.c: Fixing a problem with timed banners having
9224 their parrent destroyed before they are.
9226 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9228 * src/hildon-bread-crumb.c:
9229 * src/hildon-bread-crumb.h:
9231 Make the get_natural_size function a vfunc.
9233 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9235 * src/hildon-bread-crumb.c:
9236 * src/hildon-bread-crumb-trail.c:
9240 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9247 * debian/changelog: Updating for release.
9249 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9251 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9252 don't leak the pango layout.
9254 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9257 * examples/hildon-bread-crumb-trail-example.c:
9261 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9263 * debian/changelog: Removing the bug-fixed entries that were actually
9264 resolved as WONTFIX.
9266 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9269 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9271 * src/hildon-bread-crumb-trail.c:
9272 * src/hildon-bread-crumb-trail.h:
9273 * src/hildon-bread-crumb.c:
9274 * src/hildon-bread-crumb.h:
9278 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9280 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9281 until it's passed the type check.
9283 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9285 * examples/hildon-bread-crumb-trail-example.c
9289 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9291 * examples/Makefile.am
9292 * examples/hildon-bread-crumb-trail-example.c
9294 * src/hildon-bread-crumb-trail.c
9295 * src/hildon-bread-crumb-trail.h
9296 * src/hildon-bread-crumb.c
9297 * src/hildon-bread-crumb.h
9299 New HildonBreadCrumbTrail widget.
9301 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9303 * src/hildon-range-editor.c (hildon_range_editor_init),
9304 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9305 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9306 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9307 hildon_time_editor_class_init, hildon_time_editor_init),
9308 src/hildon-get-password-dialog.c (invalid_input,
9309 hildon_get_password_set_property, hildon_get_password_get_property,
9310 create_contents, hildon_get_password_dialog_set_max_characters),
9311 src/hildon-set-password-dialog.c (create_contents),
9312 src/hildon-date-editor.c (hildon_date_editor_init),
9313 src/hildon-login-dialog.c (hildon_login_dialog_init),
9314 src/hildon-number-editor.c (hildon_number_editor_init),
9315 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9316 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9317 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9318 configure option and adding the respective checks in the code.
9319 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9320 hildon_calendar_drag_data_received): fixed some build warnings.
9322 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9324 * debian/changelog: A 1.0.0 release notes.