1 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
5 * configure.ac: bump version
7 * debian/changelog: updates
9 2009-09-04 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-entry.c
12 * hildon/hildon-text-view.c:
15 2009-09-04 Alberto Garcia <agarcia@igalia.com>
17 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
18 Redraw menu when the number of items change.
20 Fixes: NB#131911 (Appmenu does not resize properly, when number of
23 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
25 * hildon/hildon-pannable-area.c:
26 (hildon_pannable_area_launch_fade_timeout),
27 (hildon_pannable_area_motion_event_scroll),
28 (hildon_pannable_area_check_move),
29 (hildon_pannable_area_button_release_cb),
30 (hildon_pannable_area_scroll_to):
32 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
33 area drawing operations, since this is the recommended for drawing
36 Fixes: NB#110894 (In event view containing very large description
37 field, application menu is displayed blank while panning)
38 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
41 2009-09-03 Alberto Garcia <agarcia@igalia.com>
43 * doc/hildon-sections.txt
44 * hildon/hildon-button.c
45 * hildon/hildon-edit-toolbar.c
46 * hildon/hildon-gtk.[ch]
47 * hildon/hildon-main.c
48 * hildon/hildon-program.c
49 * hildon/hildon-stackable-window.c:
52 2009-08-28 Alberto Garcia <agarcia@igalia.com>
54 * hildon/hildon-app-menu.c
55 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
56 Close the menu if it receives a grab-notify signal.
58 Fixes: NB#134533 (UI freezes if we show a dialog with
59 gtk_dialog_run() while a menu is opened)
61 2009-08-27 Alejandro G. Castro <alex@igalia.com>
63 * hildon/hildon-pannable-area.c,
64 (hildon_pannable_area_class_init): Reverted tuning modifications:
65 "Pannign needs to be faster" and "Pannable kinetics in large lists
68 2009-08-26 Alberto Garcia <agarcia@igalia.com>
70 * hildon/hildon-sound.c (hildon_play_system_sound):
71 Set "module-stream-restore.id" to "x-maemo-system-sound" when
74 Fixes: NB#133767 (Information and confirmation note sound should
75 follow system profile setting)
77 2009-08-26 Alejandro G. Castro <alex@igalia.com>
79 * hildon/hildon-pannable-area.c,
80 (hildon_pannable_area_class_init): Added more force and increased
81 the max speed threshold.
83 Fixes: NB#135344 (Pannign needs to be faster)
85 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
87 [Release 2.1.96, this time for real]
90 * debian/changelog: updates
92 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
94 * hildon/hildon-pannable-area.c
95 (hildon_pannable_area_get_topmost): change the computation of the
96 co-ordinates transformed when no one of the children is a topmost
98 Fixes: NB#133252 (Opening any feed item from RSS always opens the
99 first feed item in browser)
101 2009-08-26 Alejandro G. Castro <alex@igalia.com>
103 * hildon/hildon-pannable-area.c,
104 (hildon_pannable_area_remove_timeouts): Adding this new function
105 with the code that removes the timeouts of the widget.
106 (hildon_pannable_area_dispose),
107 (hildon_pannable_area_unrealize): Use the new remove function to
108 stop timeouts when unrealizing and disposing.
109 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
110 calculation to avoid negative values in some cases.
112 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
114 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
116 * examples/hildon-check-button-example.c: (button_toggled_cb):
117 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
118 (hildon_check_button_set_active), (hildon_check_button_new),
119 (hildon_check_button_clicked), (hildon_check_button_class_init):
120 * hildon/hildon-check-button.h:
121 * hildon/hildon-set-password-dialog.c: (create_contents),
122 (hildon_set_password_response_change), (hildon_checkbox_toggled):
124 Revert "Make HildonCheckButton derive from GtkToggleButton"
126 2009-08-21 Alberto Garcia <agarcia@igalia.com>
130 * configure.ac: bump version
132 * debian/changelog: updates
134 2009-08-21 Alberto Garcia <agarcia@igalia.com>
136 * hildon/hildon-check-button.h
137 * hildon/hildon-check-button.c
138 (hildon_check_button_clicked, hildon_check_button_class_init):
139 Make HildonCheckButton derive from GtkToggleButton
140 (hildon_check_button_toggled, hildon_check_button_set_active)
141 (hildon_check_button_get_active):
142 Deprecate unnecessary HildonCheckButton API and use the
143 one from GtkToggleButton instead.
145 * hildon/hildon-set-password-dialog.c (create_contents)
146 (hildon_set_password_response_change, hildon_checkbox_toggled)
147 * examples/hildon-check-button-example.c (button_toggled_cb):
148 Update to use the GtkToggleButton API
150 Fixes: MB#4739 (HildonCheckButton should inherit from
153 Fixes: NB#132661 (HildonCheckButton should inherit from
156 2009-08-20 Alberto Garcia <agarcia@igalia.com>
158 * hildon/hildon-pannable-area.c
159 (hildon_pannable_area_class_init):
160 Increase default value of HildonPannableArea:velocity_max to 2000
162 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
164 2009-08-18 Alberto Garcia <agarcia@igalia.com>
168 * configure.ac: bump version
170 * debian/changelog: updates
172 2009-08-11 Alejandro G. Castro <alex@igalia.com>
174 * hildon/hildon-pannable-area.c
175 (hildon_pannable_area_size_allocate): Checked the scrollbars
176 before the first try when defining the layout, avoids two
177 allocations in some situations.
179 Fixes: NB#131794 (pannable area produces unnecessary allocations
180 causing performance problems)
182 2009-08-11 Alejandro G. Castro <alex@igalia.com>
184 * hildon/hildon-pannable-area.c
185 (hildon_pannable_area_button_press_cb),
186 (hildon_pannable_area_motion_notify_cb),
187 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
188 the spurious ref added in the copy, fixes leak of window.
190 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
191 if it's realized without showing and then deleted)
193 2009-08-10 Alberto Garcia <agarcia@igalia.com>
197 * configure.ac: bump version
199 * debian/changelog: updates
201 2009-08-06 Alberto Garcia <agarcia@igalia.com>
203 * examples/hildon-hvolumebar-timer-example.c
205 * hildon/hildon-banner.c
206 (hildon_banner_timeout, hildon_banner_ensure_timeout)
207 * hildon/hildon-calendar.c
208 (calendar_timer, start_spinning)
209 * hildon/hildon-color-chooser.c
210 (inline_limited_expose)
211 * hildon/hildon-date-editor.c
212 (hildon_date_editor_entry_focus_in)
213 (hildon_date_editor_entry_validate)
214 (hildon_date_editor_entry_select_all)
215 * hildon/hildon-note.c
217 * hildon/hildon-number-editor.c
218 (hildon_number_editor_button_pressed)
219 (hildon_number_editor_start_timer, do_mouse_timeout),
220 (add_select_all_idle, hildon_number_editor_select_all)
221 * hildon/hildon-time-editor.c
222 (hildon_time_editor_entry_focus_in)
223 (highlight_callback, hildon_time_editor_validate)
224 (hildon_time_editor_entry_select_all)
225 * hildon/hildon-time-picker.c
226 (hildon_time_picker_arrow_press)
227 (hildon_time_picker_key_repeat_timeout)
228 * hildon/hildon-window.c
229 (hildon_window_key_press_event)
230 (hildon_window_escape_timeout):
231 Replace all calls to g_idle_add/g_timeout_add with their
232 gdk_threads counterparts.
234 Fixes: NB#126198 (gdk-threads API should be used to install idle
235 and timeout handlers)
237 2009-08-06 Alejandro G. Castro <alex@igalia.com>
239 * hildon/hildon-pannable-area.c,
240 (hildon_pannable_area_class_init): Increased the overshooting max
241 speed to get a faster effect.
242 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
243 deceleration of the overshooting
244 (hildon_pannable_area_button_release_cb): Calculate initial
245 overshooting speed when finger on the screen using the distance to
246 launch the effect faster.
248 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
249 lists with slow row renderers)
251 2009-08-05 Alberto Garcia <agarcia@igalia.com>
253 * doc/hildon-sections.txt: Add new functions
255 2009-08-05 Alberto Garcia <agarcia@igalia.com>
257 * hildon/hildon-text-view.[ch]
258 * hildon/hildon-entry.[ch]:
259 Add deprecation guards around deprecated functions.
261 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
263 * hildon/hildon-app-menu.c: Remove leftover function declaration.
265 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
267 Remove the grab from HildonAppMenu
269 * hildon/hildon-app-menu.c:
270 Now hildon-desktop places a blocker window behind the menu to handle
271 its closing, so the grab is no longer needed. This simplifies its
272 implementation and allows the system blanking to succeed.
274 Fixes: NB#130910 (Screen gets unlocked when menu is open)
276 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
280 * configure.ac: bump version
282 * debian/changelog: updates
283 * debian/control: raise debian dependency on GTK+
285 2009-08-04 Alberto Garcia <agarcia@igalia.com>
287 * hildon/hildon-text-view.c
288 * hildon/hildon-entry.c:
289 Remove all placeholder code from HildonEntry and HildonTextView
290 and use the API in GtkEntry and GtkTextView instead.
292 * examples/hildon-entry-example.c
293 * examples/hildon-text-view-example.c
294 * examples/hildon-wizard-dialog-example.c
295 * hildon/hildon-get-password-dialog.c
296 * hildon/hildon-login-dialog.c
297 * hildon/hildon-picker-dialog.c
298 * hildon/hildon-set-password-dialog.c
299 * hildon/hildon-touch-selector-entry.c:
300 Replace all deprecated calls to HildonEntry and HildonTextView
301 with their Gtk counterparts.
303 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
306 2009-08-03 Alejandro G. Castro <alex@igalia.com>
308 * hildon/hildon-pannable-area.c,
309 (hildon_pannable_area_check_move),
310 (hildon_pannable_area_button_release_cb),
311 (hildon_pannable_area_scroll_to): Reverted the priority change of
312 the timeout, in some situations, slow renderers, the click do not
313 make it to the mainloop on time.
315 Fixes NB#131013 (unable to stop panning file manager by tapping on
318 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
320 * configure.ac: bump version
322 * debian/changelog: updates
324 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
326 * hildon/hildon-touch-selector.[ch]
327 (hildon_touch_selector_center_on_index): New method that allows to center
328 on a item not selected
330 Fixes NB#130291 (New HildonTouchSelector API is required to center on
333 2009-07-29 Alberto Garcia <agarcia@igalia.com>
335 * hildon/hildon-text-view.c
336 (+set_logical_color, +hildon_text_view_style_set)
337 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
338 (hildon_text_view_init)
339 * hildon/hildon-entry.c
340 (+set_logical_color, +hildon_entry_style_set)
341 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
342 (hildon_entry_class_init, hildon_entry_init)
343 * hildon/hildon-button.c
344 (+set_logical_font, +set_logical_color)
345 (hildon_button_style_set, hildon_button_init)
346 (hildon_button_set_arrangement, hildon_button_set_style):
347 Remove all calls to hildon_helper_set_logical_font() and
348 hildon_helper_set_logical_color(), which are recursive, from
351 Fixes: NB#123409 (Showing dialog consumes significant amount of
354 2009-07-29 Alejandro G. Castro <alex@igalia.com>
356 * hildon/hildon-pannable-area.c,
357 (hildon_pannable_area_timeout): Added the process updates of the
358 scrollbars window in the pannable.
360 Fixes: NB#130043 (scrollindicator not smooth while panning)
362 2009-07-23 Alejandro G. Castro <alex@igalia.com>
364 * hildon/hildon-pannable-area.c,
365 (hildon_pannable_area_check_move),
366 (hildon_pannable_area_button_release_cb),
367 (hildon_pannable_area_scroll_to): Increased the priority of the
368 timeout this way it is going to be handled before the events.
370 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
374 * configure.ac: bump version
375 * debian/changelog: updates
377 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
379 * hildon/hildon-entry.c: (set_property): Do not allow to set
380 automatic height and use finger height instead, to prevent an to
381 have a smaller size than than its theme pixbuf.
383 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
385 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
387 * configure.ac: postrelease version bump.
388 * debian/changelog: post release version bump
390 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
395 * configure.ac: Bump version.
396 * debian/changelog: Updates.
398 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
400 * hildon/hildon-note.c: (label_size_request): Take the note
401 padding into account when setting the size request.
403 Fixes: NB#127896 (Information notes text truncated)
405 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
407 * configure.ac: postrelease version bump.
408 * debian/changelog: post release version bump
410 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
415 * configure.ac: Bump version.
416 * debian/changelog: Updates.
418 2009-07-16 Alejandro G. Castro <alex@igalia.com>
421 * hildon/hildon-text-view.c,
422 (hildon_text_view_button_press_event): Grabbed the focus in button
423 press, this way we are sure the widget has the focus in the
424 release event, required for HIM.
426 Fixes: NB#121445 (Virtual keyboard opening is not working in same
427 way for each text entry field)
429 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
431 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
432 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
433 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
434 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
435 (hildon_pannable_area_[gs]et_center_on_child_focus)
436 Redefined GtkContainer set-focus-child signal, in order to center
437 properly on a child when it receives the focus. Defined a new property
438 "center-on-child-focus" in order to activate this feature (deactivated
439 by default). Public get/set methods defined to manage the property.
441 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
443 2009-07-14 László Pere <lpere@blumsoft.eu>
445 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
446 the new size is applied.
448 Fixes: NB#124510 (The Application Menu is distorted when switched
449 between portrait and landscape mode)
450 Fixes: NB#115388 (Power key menu does not resize itself)
452 2009-07-01 Alberto Garcia <agarcia@igalia.com>
454 * hildon/hildon-banner.c (hildon_banner_map):
455 Set banner position after mapping.
457 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
459 * configure.ac: postrelease version bump.
460 * debian/changelog: post release version bump
462 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
467 * configure.ac: Bump version.
468 * debian/changelog: Updates.
470 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
472 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
475 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
477 * tests/check-hildon-banner.c
479 * tests/test_suites.h
480 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
481 were testing deprecated functions.
482 * examples/hildon-banner-example.c: typo on button3 type, that causes
483 a fail compiling with --with-examples but without --disable-deprecated
485 Missed commit in order to fix compilation using '--enable-fatal' and
486 '--disable-deprecated' (see previous commit)
488 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
490 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
491 functions with #ifndef HILDON_DISABLE_DEPRECATED
492 * examples/hildon-find-toolbar.c: Protect deprecated
493 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
494 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
495 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
496 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
498 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
499 to allow proper compilation of deprecated functions defined on the header
501 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
503 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
505 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
506 Cache the panning indicator color.,
507 (hildon_pannable_area_style_set): Query the color on style changes.
508 (hildon_pannable_draw_vscroll),
509 (hildon_pannable_draw_hscroll),
510 (hildon_pannable_area_expose_event): Use the cached panning indicator
511 color instead of looking it up on every expose and more.
513 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
515 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
516 (hildon_pannable_draw_hscroll),
517 (hildon_pannable_area_expose_event): Fix the panning indicator color,
518 so that it's "SecondaryTextColor", as desired.
520 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
522 * hildon/hildon-picker-dialog.c:
523 (selection_completed): take into account HILDON_UI_MODE_NORMAL
524 * hildon/hildon-touch-selector.c
525 (hildon_touch_selector_init): Initialize hildon-ui-mode
526 (hildon_touch_selector_row_activated): new callback for the
527 "row-activated" signal, in order to save the last activated
528 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
529 if the current hildon-ui-mode is coherent with the touch selector
530 (hildon_touch_selector_class_init)
531 (hildon_touch_selector_get_property)
532 (hildon_touch_selector_set_property)
533 Added "hildon-ui-mode" property
534 (disconnect_model_handlers): renamed to clean_column
535 (hildon_touch_selector_remove): use clean_column function
536 (_create_new_column): use the hildon-ui-mode to create the treeview, and
537 only select the first element on HILDON_UI_MODE_EDIT
538 (hildon_touch_selector_column_init): Initialize last_activate
539 (hildon_touch_selector_append_column): check that the touch selector
540 is coherent with the current hildon-ui-mode
541 (hildon_touch_selector_get_hildon_ui_mode)
542 (hildon_touch_selector_set_hildon_ui_mode)
543 Added a getter/setter for the hildon-ui-mode property
544 (hildon_touch_selector_get_last_activated_row): Added this method in
545 order to get the last activated row.
546 * examples/hildon-touch-selector-normal-mode-example.c
547 New example, that shows how to use the HildonTouchSelector in
548 HILDON_UI_MODE_NORMAL
550 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
551 Kristian Rietveld <kris@lanedo.com> advices
553 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
555 * hildon/hildon-time-selector.c: (update_format_policy): Do
556 not call update_format_dependant_columns() if not necessary.
557 (update_format_dependant_columns): Remove unnecessary check for
558 the number of columns.
560 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
562 * hildon/hildon-note.c (+hildon_note_constructor),
563 (hildon_note_class_init), (+hildon_note_set_padding),
564 (hildon_note_rebuild): Install a constructor where to set the
565 padding properties in the note, so that it actually works fine.
566 Use hildon_note_set_padding() for this, and also to set it during
569 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
571 * configure.ac: Bump GTK+ requirement to 2.14.3.
572 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
573 when using maemo-gtk to define proper margins for the notes.
575 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
576 with the dialog edge)
578 2009-06-24 Alberto Garcia <agarcia@igalia.com>
580 * hildon/hildon-banner.c
581 (hildon_banner_class_init):
583 (+hildon_banner_size_request):
584 Request always the full width of the screen.
585 (hildon_banner_realize)
586 (-hildon_banner_check_position, hildon_banner_map):
587 hildon_banner_check_position() is not needed in Hildon 2.2.
588 (-hildon_banner_reset_wrap_state)
589 (hildon_banner_constructor, hildon_banner_init):
590 Remove unnecessary calls to hildon_banner_reset_wrap_state()
591 (+banner_do_set_text)
592 (force_to_wrap_truncated):
593 Remove has_been_wrapped and has_been_truncated attributes.
594 (+reshow_banner, hildon_banner_real_show_information)
595 (hildon_banner_show_information_with_markup)
596 (hildon_banner_show_animation, hildon_banner_show_progress)
597 (hildon_banner_set_text, hildon_banner_set_markup):
598 Refactor code. Shrink banner vertically to use the minimum space
599 necessary everytime the text of the label is updated.
600 (screen_size_changed):
601 Call force_to_wrap_truncated() when the size of the screen
604 Fixes: NB#120500 (only device memory connect mmc in use info
605 banner is left aligned)
607 Fixes: NB#120613 (Size of HildonBanner varies depending on
608 previously opened banners)
610 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
612 * hildon/hildon-color-chooser.c
613 (hildon_color_chooser_pointer_motion): Take the widget allocation
616 Fixes: NB#124385 (Unable to select exact point in color mixing box
617 in color palette dialog)
619 2009-06-23 Alejandro G. Castro <alex@igalia.com>
621 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
622 (hildon_pannable_area_dispose)
623 (hildon_pannable_area_button_press_cb)
624 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
625 (hildon_pannable_area_button_release_cb)
626 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
627 New 'panning-started' and 'panning-finished' signals.
629 Fixes: NB#121732 (New feature request: Signal to pannable area
630 that informs when panning is stopped.)
632 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
634 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
635 instead of hardcoded colon.
637 Fixes: NB#124090 (New calendar wizard title is not using
638 ecdg_ti_caption_separator)
640 2009-06-22 David King <davidk@openismus.com>
642 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
643 constants and functions, as well as correct many typos throughout the
646 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
649 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
651 * configure.ac: postrelease version bump.
652 * debian/changelog: post release version bump
654 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
659 * configure.ac: Bump version.
660 * debian/changelog: Updates.
662 2009-06-18 Alberto Garcia <agarcia@igalia.com>
664 * hildon/hildon-window-stack.c
665 (hildon_window_stack_pop_and_push_list):
666 Prevent windows from having the same stack index
668 2009-06-18 Alberto Garcia <agarcia@igalia.com>
670 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
671 Use the index of the previous window rather than the stack length
672 to calculate the new index.
676 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
678 * hildon/hildon-date-selector.c
679 (hildon_date_selector_select_current_date)
680 (hildon_date_selector_get_date)
681 (hildon_date_selector_select_day):
682 Update the documentation: uses always the range (1-31), as it is obvious
683 that the final one will depend on the month and the year, but globally
684 the range is this, in a similar GtkCalendar approach
685 (hildon_date_selector_get_date):
686 Update the documentation: add NULL as a valid value for the day, month
689 Fix some details, after talk with David King on bug MB#4698
691 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
693 * hildon/hildon-touch-selector-entry.c
694 * hildon/hildon-touch-selector.c
695 Update the documentation of the "text-column" property
697 2009-06-18 David King <davidk@openismus.com>
699 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
700 several typos and errors throughout the documentation.
702 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
705 2009-06-18 Alberto Garcia <agarcia@igalia.com>
707 * hildon/hildon-note.c (hildon_note_realize):
708 Make HildonNote support portrait mode.
710 Fixes: NB#123448 (HildonNote is not portrait-friendly)
712 2009-06-17 Alberto Garcia <agarcia@igalia.com>
714 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
715 Document this function
717 2009-06-17 David King <davidk@openismus.com>
719 * hildon/hildon-date-selector.c
720 (hildon_date_selector_select_current_date)
721 (hildon_date_selector_get_date): Update documentation regarding days,
722 as the day of the month is dependent on both the month and the year.
723 (hildon_date_selector_get_date): Fix documentation of output arguments.
725 Fixes: MB#4698 (DateSelector documentation has bad output argument
726 description, and the day depends on both the month and the year)
728 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
730 * hildon/hildon-caption.c: Other documentation fixes to
733 2009-06-17 David King <davidk@openismus.com>
735 * hildon/hildon-caption.c: Minor documentation updates for
736 HildonCaption. Fixes MB#4697.
738 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
740 * doc/hildon-docs.sgml: Add hildon-version section.
741 * doc/hildon-sections.txt:
742 * hildon/hildon-version.h.in: Document versioning macros and
745 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
747 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
748 from HildonPickerDialog section.
750 2009-06-16 Alberto Garcia <agarcia@igalia.com>
752 * hildon/hildon-banner.c (hildon_banner_bind_style)
753 (screen_size_changed, hildon_banner_init)
754 (hildon_banner_real_show_information)
755 (hildon_banner_show_information_with_markup)
756 (hildon_banner_show_animation, hildon_banner_show_progress):
757 Set a different widget name to banners in portrait mode, for them
758 to be themed correctly.
760 2009-06-16 Alberto Garcia <agarcia@igalia.com>
762 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
763 Set a different widget name to notes in portrait mode, for them to
766 Partially fixes: NB#118401 (HildonNote causes unnecessary
769 2009-06-16 Alberto Garcia <agarcia@igalia.com>
771 * hildon/hildon-note.c (hildon_note_class_init)
772 (+hildon_note_size_request, screen_size_changed):
773 Always request the full width of the screen.
775 Fixes: NB#118375 (unnecessary rescaling of images)
777 2009-06-16 Alejandro G. Castro <alex@igalia.com>
779 * hildon/hildon-pannable-area.c,
780 (hildon_pannable_area_init),
781 (hildon_pannable_area_realize): Replaced old code adding flags in
782 the object init, now we add it with the other flags in the realize
785 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
787 * hildon/hildon-note.c: (hildon_note_class_init): Several
788 documentation improvements to the HildonNote widget.
790 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
792 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
794 Fixes: MB#4556 (HildonNoteType is undocumented)
796 2009-06-15 Alberto Garcia <agarcia@igalia.com>
798 * hildon/hildon-picker-button.c:
799 Explain how HildonPickerButton sets the title of its dialog
801 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
802 the title of its dialog)
804 2009-06-15 Alberto Garcia <agarcia@igalia.com>
806 * hildon/hildon-check-button.c:
807 Documentation updates
809 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
812 2009-06-15 Alberto Garcia <agarcia@igalia.com>
815 * hildon/hildon-edit-toolbar-private.h
816 * hildon/hildon-edit-toolbar.c
817 (+hildon_edit_toolbar_set_progress_indicator)
818 (hildon_edit_toolbar_init): Add progress indicator to the
821 * hildon/hildon-gtk.c
822 (hildon_gtk_window_set_progress_indicator):
823 If the window contains a HildonEditToolbar, enable the progress
826 * hildon/hildon-private.h
827 * hildon/hildon-private.c
828 (+hildon_private_create_animation)
829 * hildon/hildon-banner.c
830 (-hildon_banner_create_animation):
831 Moved to hildon-private.c
833 Fixes: NB#102373 (Progress indicator also for the Edit mode
836 2009-06-15 Alberto Garcia <agarcia@igalia.com>
838 * hildon/hildon-app-menu-private.h
839 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
840 (hildon_app_menu_add_filter, +menu_item_button_event)
841 (hildon_app_menu_button_release, hildon_app_menu_init):
842 Make sure that buttons receive 'button-release-event' in spite of
843 the grab held by HildonAppMenu
845 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
847 2009-06-15 Alberto Garcia <agarcia@igalia.com>
849 * hildon/hildon-app-menu.c
850 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
851 New style property to set the size of the group of filter buttons.
853 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
855 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
860 * configure.ac: Bump version.
861 * debian/changelog: Updates.
863 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
865 * hildon/hildon-main.c: Minor documentation fixes.
867 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
869 * doc/hildon-sections.txt:
870 * hildon/hildon-defines.h: Document the defines, organize them,
871 and mark deprecations as such.
873 Fixes: MB#4463 (Hildon size #defines are undocumented)
875 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
877 * hildon/hildon-animation-actor.c:
878 * hildon/hildon-app-menu.c:
879 * hildon/hildon-button.c:
880 * hildon/hildon-date-editor.c:
881 * hildon/hildon-dialog.c:
882 * hildon/hildon-edit-toolbar.c:
883 * hildon/hildon-entry.c:
884 * hildon/hildon-program.c:
885 * hildon/hildon-remote-texture.c:
886 * hildon/hildon-stackable-window.c:
887 * hildon/hildon-text-view.c:
888 * hildon/hildon-touch-selector.c:
889 * hildon/hildon-window-stack.c:
890 * hildon/hildon-window.c:
892 Remove redundant "represents" wording from most of the documentation.
894 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
896 2009-06-12 Alberto Garcia <agarcia@igalia.com>
901 * hildon/hildon-banner-private.h
902 * hildon/hildon-banner.c:
903 Move HildonBannerPrivate to hildon-banner.c and remove
904 hildon-banner-private.h
905 Use a bit field to store private booleans.
907 2009-06-12 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-app-menu.c (hildon_app_menu_map):
910 Don't install a new idle function if there's already one
915 2009-06-11 Alberto Garcia <agarcia@igalia.com>
917 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
918 (+legacy_menu_realized, +legacy_menu_unmapped)
919 (+set_legacy_menu_type):
920 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
921 they can be identified by the window manager.
923 Fixes: NB#101437 (Invoking CSM on the left side of page area is
924 displayed in wrong location)
926 Fixes: MB#4563 (Popup menu won't locate at the left side of the
929 2009-06-11 Alberto Garcia <agarcia@igalia.com>
931 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
933 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
936 2009-06-11 Alberto Garcia <agarcia@igalia.com>
938 * hildon/hildon-code-dialog.c
939 * hildon/hildon-date-editor.c
940 * hildon/hildon-number-editor.c
941 * hildon/hildon-seekbar.c
942 * hildon/hildon-stackable-window.c
943 * hildon/hildon-window.c:
944 Misc documentation updates
946 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
948 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
949 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
951 Fixes: NB#117931 (Theming issues in accounts dialogs)
953 2009-06-09 Alejandro G. Castro <alex@igalia.com>
955 * hildon/hildon-pannable-area.c,
956 (hildon_pannable_area_button_release_cb): Changed the coordinates
957 of the original release in case we want to discard the release,
958 some widgets in Fremantle do not handle the leave-notify.
960 2009-06-09 Alejandro G. Castro <alex@igalia.com>
962 * hildon/hildon-pannable-area.c,
963 (hildon_pannable_area_button_release_cb): Reviewed the logic of
964 the release using the last refactored functions and avoiding the
965 movement if an element was selected.
967 2009-06-09 Alejandro G. Castro <alex@igalia.com>
969 * hildon/hildon-pannable-area.c,
970 (hildon_pannable_area_check_move),
971 (hildon_pannable_area_handle_move),
972 (hildon_pannable_area_motion_notify_cb): Refactored the
973 motion_notify method using a couple of new functions.
975 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
977 * hildon/hildon-date-selector.c:
978 (hildon_date_selector_construct_ui):
979 * hildon/hildon-time-selector.c:
980 (hildon_time_selector_constructor):
981 * hildon/hildon-touch-selector-entry.c:
982 (hildon_touch_selector_entry_set_text_column),
983 (hildon_touch_selector_entry_get_text_column):
984 * hildon/hildon-touch-selector.c: (_default_print_func),
985 (hildon_touch_selector_new_text): Use
986 hildon_touch_selector_set/get_text_column() instead of
987 setting/getting the "text-column" property.
989 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
991 * doc/hildon-sections.txt: Add the new public methods below.
993 * examples/hildon-picker-button-multicolumn-example.c:
994 (create_touch_selector):
995 * examples/hildon-touch-selector-example.c: (create_selector):
996 * examples/hildon-touch-selector-multi-cells-example.c:
998 Use hildon_touch_selector_column_set_text_column()
1000 * hildon/hildon-touch-selector-column.h:
1001 * hildon/hildon-touch-selector.c:
1002 (hildon_touch_selector_column_set_text_column),
1003 (hildon_touch_selector_column_get_text_column):
1004 Make hildon_touch_selector_column_set/get_column() public, use
1005 them in the inline example, document them, and reference to them
1008 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1010 * hildon/hildon-time-selector.c: Fix the docs for
1011 hildon_time_selector_new_step().
1013 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1015 * hildon/hildon-touch-selector.c: Improve the documentation for
1016 hildon_touch_selector_append_column().
1018 Fixes MB#4641 (Documentation:
1019 hildon_touch_selector_append_column() ref-counting)
1021 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1023 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1024 Comment out test 5, since the hildon_controlbar_set_range() range
1025 check is broken and fixing it would have side effects. Also,
1026 this finally fixes make distcheck.
1028 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1030 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1032 * tests/TEST-CASES.txt: Remove other bogus test.
1033 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1034 Remove bogus test that was setting/retrieving a valid value.
1036 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1038 * tests/TEST-CASES.txt: Remove bogus tests.
1039 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1040 Remove three bogus tests that were actually setting valid colors.
1042 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1044 * configure.ac: post release version bump
1045 * debian/changelog: post release version bump
1047 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1052 * configure.ac: Bump version.
1053 * debian/changelog: Updates.
1055 2009-06-08 Christian Dywan <christian@lanedo.com>
1059 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1060 Correct errors in hildon_format_file-size_for_display and use
1061 translations from the hildon-fm package instead of osso-filemanager.
1063 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1065 * hildon/hildon-pannable-area.c,
1066 (hildon_pannable_area_init): Initialized new values to handle the
1067 adjustment position.
1068 (hildon_pannable_area_adjust_value_changed): Check if the values
1069 changed before even call the redraw function.
1070 (hildon_pannable_area_size_allocate),
1071 (hildon_pannable_axis_scroll),
1072 (hildon_pannable_area_scroll),
1073 (hildon_pannable_area_jump_to): Improved the diagonal movement
1076 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1079 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1081 * examples/hildon-banner-example.c:
1082 Several style updates
1083 (on_animation_clicked, on_animation_idle)
1084 (on_progress_clicked, on_progress_idle):
1085 Add additional reference for the cases when the parent window is
1088 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1090 * doc/hildon-sections.txt
1091 * hildon/hildon-pannable-area.c
1092 * hildon/hildon-banner.h
1093 * hildon/hildon-banner.c: Documentation updates.
1095 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1098 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1100 * hildon/hildon-calendar-popup.h:
1101 * hildon/hildon-caption.h:
1102 * hildon/hildon-code-dialog.h:
1103 * hildon/hildon-controlbar.h:
1104 * hildon/hildon-date-editor.h:
1105 * hildon/hildon-dialog.h:
1106 * hildon/hildon-get-password-dialog.h:
1107 * hildon/hildon-hvolumebar.h:
1108 * hildon/hildon-login-dialog.h:
1109 * hildon/hildon-note.h:
1110 * hildon/hildon-number-editor.h:
1111 * hildon/hildon-range-editor.h:
1112 * hildon/hildon-seekbar.h:
1113 * hildon/hildon-set-password-dialog.h:
1114 * hildon/hildon-sort-dialog.h:
1115 * hildon/hildon-time-editor.h:
1116 * hildon/hildon-time-picker.h:
1117 * hildon/hildon-volumebar-range.h:
1118 * hildon/hildon-volumebar.h:
1119 * hildon/hildon-vvolumebar.h:
1120 * hildon/hildon-weekday-picker.h:
1121 * hildon/hildon-window.h:
1122 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1123 macros with the current replacements
1125 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1127 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1129 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1130 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1131 itself, to make it fit better with Fremantle style.
1133 Fixes: NB#109878 (height and width of focus on color icon is not
1134 consistent with other item in the application tool bar)
1136 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1138 * hildon/hildon-touch-selector.c:
1139 (hildon_touch_selector_optimal_size_request): use the current requisition
1140 as the base, in order to include any possible extra widget, like the
1141 hildon entry on HildonTouchSelectorEntry
1143 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1145 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1147 * configure.ac: post release version bump
1148 * debian/changelog: post release version bump
1150 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1155 * configure.ac: Bump version.
1156 * debian/changelog: Updates.
1158 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1160 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1162 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1163 to ensure the banner contents are centered, instead of relying on
1164 the expand and fill properties in GtkHBox.
1165 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1167 Fixes: NB#108265 (Animation banner not properly centered)
1169 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1171 * hildon/hildon-pannable-area.c
1172 (hildon_pannable_area_initial_effect): Remove the initial_effect
1173 management, check initial_hint
1174 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1175 set initial_effect to FALSE
1176 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1177 by launching the fade_timeout if the scrollbars state has changed and are
1179 * examples/hildon-pannable-area-initial-hint-example.c
1180 Modified to allow to remove rows too. Add and remove rows one by one.
1182 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1184 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1185 Don't close the menu if there's an animation actor below it.
1187 Fixes: NB#117927 (Application menu not usable with animation
1190 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1192 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1193 "focus-on-click" from the dialog button, to avoid stealing the
1194 focus from the entry.
1196 Fixes: NB#118903 (Account setup wizard: Text in Search field
1197 should be focused when "Region" touch list picker is reopened
1200 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1202 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1203 (prepare_action_area): Completely hide the dialog separator.
1205 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1207 * hildon/hildon-touch-selector-entry.c
1208 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1209 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1210 now that the entry is exposed.
1212 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1214 * hildon/hildon-touch-selector-entry.c
1215 (hildon_touch_selector_entry_init): Change the entry's size
1216 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1218 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1220 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1221 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1222 avoid unnecessary scaling.
1224 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1226 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1227 Create grab transfer window before calling parent's map function.
1229 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1230 "crushed" button(s) in the top left corner)
1232 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1234 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1235 Check if the window is already realized when pushing it.
1237 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1239 * configure.ac: post release version bump
1240 * debian/changelog: post release version bump
1242 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1247 * configure.ac: Bump version.
1248 * debian/changelog: Updates.
1250 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1252 * hildon/hildon-app-menu.c: Doc updates.
1254 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1256 * hildon/hildon-banner.c: Remove leftover macro.
1258 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1260 * hildon/hildon-pannable-area.c,
1261 (hildon_pannable_area_scroll_indicator_fade),
1262 (hildon_pannable_area_button_release_cb): Reviewed vmin
1263 conditions, it could cause problems in the fadeout procedure.
1265 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1267 * hildon/hildon-pannable-area.c
1268 (hildon_pannable_area_button_release_cb): Added a threshold to
1269 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1271 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1273 * hildon/hildon-pannable-area.c,
1274 (hildon_pannable_area_set_property): Added code to sync the gtk
1275 dnd threshold with the panning threshold.
1277 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1279 * hildon/hildon-pannable-area.c,
1280 (hildon_pannable_area_class_init): Changed some of the default
1281 values, now it should be less responsive and more accurate.
1283 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1285 * hildon/hildon-pannable-area.c,
1286 (hildon_pannable_area_init),
1287 (hildon_pannable_area_scroll_indicator_fade),
1288 (hildon_pannable_area_button_press_cb),
1289 (hildon_pannable_axis_scroll),
1290 (hildon_pannable_area_timeout),
1291 (hildon_pannable_area_motion_notify_cb),
1292 (hildon_pannable_area_button_release_cb): Changed the name of the
1293 clicked attribute to button_pressed, it is more clear about its use.
1295 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1297 * src/hildon-pannable-area.c
1298 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1300 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1301 vertical scrollbar visibility, and use the data on private section instead,
1302 remove the initial_hint check
1303 (hildon_pannable_area_expose_event): add the initial_hint check here
1305 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1307 * src/hildon-pannable-area.c
1308 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1309 if the fadeout effect was used
1310 (hildon_pannable_area_expose_event): check if it is required to
1311 manage the initial effect on the begining of the function. Previously
1312 it was made at the end, but this doesn't ensure that the scrollbars
1313 will be painted on the first show. Do not set to FALSE initial_effect,
1314 to ensure that the initial hint is showed the first time the pannable
1316 * examples/Makefile.am
1317 * examples/hildon-pannable-area-initial-hint-example.c:
1318 New example, to show that the initial-hint is showed when the widget
1321 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1322 initially if the application can be scrolled)
1324 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1326 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1327 Resize table before adding new items to make sure that
1328 gtk_table_resize() is called just once.
1330 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1332 * hildon/hildon-app-menu-private.h
1333 * hildon/hildon-app-menu.c (item_visibility_changed)
1334 (filter_visibility_changed, hildon_app_menu_show_all)
1335 (hildon_app_menu_hide_all, hildon_app_menu_init):
1336 Rearrange items just once when gtk_widget_show_all()/hide_all()
1339 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1341 * hildon/hildon-app-menu.c
1342 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1343 Don't call gtk_widget_show() on added items.
1345 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1346 automatically when they're added)
1348 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1350 * hildon/hildon-banner.c
1351 (hildon_banner_realize, +hildon_banner_unrealize)
1352 (+screen_size_changed, hildon_banner_class_init):
1353 Redisplay the banner if the screen is rotated.
1355 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1356 on transition from landscape to portrait)
1358 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * hildon/hildon-banner.[ch]:
1361 (hildon_banner_show_information_override_dnd): remove icon_name from the
1362 method definition as it is ignored.
1363 * examples/hildon-banner-dnd-example.c: updated with the change on
1366 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1368 * hildon/hildon-banner-private.h: new require_override_dnd and
1369 overrides_dnd variables
1370 * hildon/hildon-banner.h:
1371 (hildon_banner_show_information_override_dnd): new method, that shows
1372 the information but sets the override flag, in order to show important
1374 * hildon/hildon-banner.c
1375 (hildon_banner_show_information_override_dnd): new method
1376 (hildon_banner_set_override_flag): new utility function
1377 (hildon_banner_real_show_information): new utility function, in order to
1378 generalize the current hildon_banner_show_information_override_dnd and
1379 hildon_banner_show_information_override_dnd
1380 * examples/Makefile.am
1381 * examples/hildon-banner-dnd-example.c: New example that show how to
1382 use the new hildon_banner_show_information_override_dnd
1384 Fixes: NB#114874 (There is no possibility to show hildon banners with
1387 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1389 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1390 behind hildon_pannable_calculate_vel_factor().
1392 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1394 * hildon/hildon-pannable-area.c
1395 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1396 deceleration factors.
1398 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1400 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1401 Reduce the default value for 'scroll_time' to 1 second, since the
1402 current initial scrolling takes too much time.
1404 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1406 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1407 calculate velocity factor during initialization, since the properties
1410 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1412 * hildon/hildon-pannable-area.c
1413 (hildon_pannable_area_set_property): Calculate the velocity factor
1414 after setting the deceleration property and not after.
1416 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1418 * hildon/hildon-entry.c
1419 (hildon_entry_class_init, +set_property, hildon_entry_new)
1420 * hildon/hildon-check-button.c
1421 (hildon_check_button_class_init)
1422 (+set_property, hildon_check_button_new):
1423 Make the theme size a property.
1425 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1426 others) do too much in the _new function)
1428 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1430 * configure.ac: post release version bump
1431 * debian/changelog: post release version bump
1433 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1438 * configure.ac: Bump version.
1439 * debian/changelog: Updates.
1441 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1443 * hildon/hildon-gtk.h
1444 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1445 New API function to take a screenshot of a window
1447 Fixes: NB#106374 (Need API to take a loading screenshot)
1449 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1451 * hildon/hildon-time-selector.c
1452 (update_format_policy): prevent to use hours and minutes unitialized
1454 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1456 * hildon/hildon-window.c (hildon_window_size_request):
1457 Always request the full size of the screen (minus the title bar if
1458 not in fullscreen mode).
1460 Fixes: NB#107486 (HildonWindow should size itself properly)
1462 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1464 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1465 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1466 (on_show_cb), (sound_handling): Disconnect the idle handler for
1467 the sound when the note is finalized to avoid possible crashes.
1469 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1472 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1474 * src/hildon-animation-actor.c,
1475 * src/hildon-remote-texture.c:
1476 Added proper object cleanup to remove signal handler and object
1477 references as HildonAnimationActor and HildonRemoteTexture
1478 objects get destroyed.
1480 Fixes: NB#116682 (Destroying parented animation actors when
1481 parent in unmapped leads to crash)
1483 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1485 Based on a patch by Christian Dywan (christian@imendio.com)
1487 * doc/hildon-sections.txt:
1488 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1489 * hildon/hildon-helper.h: New file size formatting method.
1491 * debian/control: Depend on osso-filemanager l10n package for
1492 proper localization strings.
1494 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1496 * tests/Makefile.am: Include top_srcdir to make possible to build
1497 tests in a different builddir.
1498 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1499 on a different builddir.
1501 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1503 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1504 (hildon_touch_selector_remove): Disconnect model's signal handler
1507 Fixes: NB#116289 (Hildon home crashes while adding task
1510 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1512 * hildon/hildon-button.c
1513 (hildon_button_set_title, hildon_button_set_value):
1514 Hide labels containing an empty string.
1516 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1518 * configure.ac: post release version bump
1519 * debian/changelog: post release version bump
1521 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1526 * configure.ac: Bump version.
1527 * debian/changelog: Updates.
1529 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1531 * hildon/hildon-note-private.h: Removed sound_signal_handler
1532 * hildon/hildon-note.c
1533 (on_show_cb): new callback on note "show" event, this simply adds
1534 a idle, with the function sound_handling
1535 (sound_handling): removed the sound_signal_handler management
1536 (hildon_note_init): connect note "show" event to on_show_cb
1537 (hildon_note_realize): remove the connection to "expose-event"
1539 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1540 device?' confirmation note)
1542 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1544 * hildon/hildon-note.c
1545 (hildon_note_new_information_with_icon_name)
1546 (hildon_note_new_confirmation_with_icon_name):
1547 Terminate the list of parameters in g_object_set() calls
1549 Fixes: NB#115166 (Formatting memory card is not taking place)
1551 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1553 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1554 "dialog-information" role for the sound being played.
1556 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1558 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1559 Don't make the menu a modal window, it causes strange interactions
1560 with the pointer grab and it's not really needed.
1562 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1564 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1566 * hildon/hildon-touch-selector.[ch]
1567 (hildon_touch_selector_optimal_size_request): function added to get a
1568 optimal size request from the touch selector, when you want a dialog to
1569 show as much of the selector
1570 * hildon/hildon-picker-dialog.c:
1571 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1572 (hildon_app_menu_class_init):
1573 New "max-height-landscape" and "max-height-portrait" style properties
1574 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1575 (hildon_picker_dialog_get_max_height): returns the maximum height using
1576 the style properties defined and checking the current portrait/landscape
1578 (_hildon_picker_dialog_set_selector): removed the set_size_request
1580 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1582 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1584 * hildon/hildon-bread-crumb-trail.c:
1585 * hildon/hildon-bread-crumb.c:
1586 * hildon/hildon-seekbar.c:
1587 Add reference to replacements for these deprecated widgets.
1589 Fixes: MB#4461 (Documentation: All deprecations should mention
1592 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1594 * examples/hildon-remote-texture-example.c
1596 Change the include to the hildon-remote-texture in order to compile
1597 properly the examples on the installed libhildon1-examples package
1599 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1601 * tests/Makefile.am: Add check for HildonPickerButton.
1602 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1603 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1604 checks for the HildonPickerButton.
1605 * tests/check_test.c (configure_tests): Add the test suite.
1606 * tests/test_suites.h: likewise.
1608 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1610 * hildon/hildon-touch-selector.c
1611 (+on_row_changed): Emit HildonTouchSelector:changed when the
1612 contents of a selected row change.
1613 (_create_new_column), (_hildon_touch_selector_set_model): connect
1614 to GtkTreeModel:row-changed on a newly set model.
1616 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1618 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1620 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1622 * hildon/hildon-banner.c (hildon_banner_destroy)
1623 (hildon_banner_show_progress, hildon_banner_set_fraction):
1624 Remove the progress bar from HildonBanner and use a progress
1627 Fixes: NB#113761 (Update progress banner to use progress
1630 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1632 * hildon/hildon-banner.c:
1633 Calculate size of the banner label using the actual screen width
1634 rather than using a fixed value.
1636 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1639 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1641 * hildon/hildon-pannable-area.c,
1642 (hildon_pannable_area_class_init): Fixed signals documentation
1645 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1647 * configure.ac: post release version bump
1648 * debian/changelog: post release version bump
1650 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1655 * configure.ac: Bump version.
1656 * debian/changelog: Updates.
1658 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1660 * hildon/hildon-edit-toolbar.c
1661 (hildon_edit_toolbar_init):
1662 Don't let buttons in HildonEditToolbar receive focus.
1664 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1665 typing on an HW arrows key)
1667 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1669 * doc/Makefile.am: Fix build.
1671 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1673 * doc/Makefile.am: Do not redefine content_files.
1675 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1683 Renamed src/ to hildon/
1688 Include <hildon/hildon.h> directly in all examples.
1690 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1692 * src/hildon-sort-dialog.c
1693 (hildon_sort_dialog_add_sort_key_with_sorting)
1697 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1699 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1700 make distcheck passes.
1702 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1704 * Makefile.am: Enable gtk-doc during distcheck.
1706 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1708 * Makefile.am: Do not distribute the debian/ directory.
1710 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1712 * doc/Makefile.am: Add the extra SGML files to content_files,
1713 so that they are distributed properly.
1715 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1717 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1720 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1722 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1723 (hildon_note_new_information_with_icon_name): Set the "icon" property
1724 to preserve soundness.
1726 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1728 * src/hildon-font-selection-dialog.c
1729 (hildon_font_selection_dialog_set_property): Fail when the "family"
1730 property is set to NULL.
1732 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1734 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1737 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1739 * src/hildon-time-selector.h:
1740 Added HildonTimeSelectorFormatPolicy
1741 * src/hildon-time-selector.c:
1742 Added PROP_TIME_FORMAT_POLICY
1743 (_check_ampm_format): renamed to check_automatic_ampm_format
1744 (update_format_policy), (update_format_dependant_columns): new functions
1745 (hildon_time_selector_class_init)
1746 (hildon_time_selector_contructor)
1747 (hildon_time_selector_init)
1748 (hildon_time_selector_get_property)
1749 (hildon_time_selector_set_property)
1750 (hildon_time_selector_get_time)
1751 (hildon_time_selector_set_time)
1752 * src/hildon-touch-selector.h: new file
1753 * src/hildon-touch-selector.c
1754 (hildon_touch_selector_emit_changed)
1755 (hildon_touch_selector_block_changed)
1756 (hildon_touch_selector_unblock_changed)
1757 Added functions to allow to block the emission of the "changed" signal
1758 * src/hildon-picker-dialog.c
1759 (hildon_picker_dialog_show): call the parent show before the custom code
1760 * examples/hildon-time-button-example.c
1761 Modified, so now you can configure the time format using the new property
1763 Added a new property "time-format-policy" that allow to choose the time
1764 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1765 case it uses gconf in order to check if the time selector must use
1768 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1771 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-note.c (hildon_note_init):
1774 Label in HildonNote must be left aligned, not centered. This
1775 reverts the last commit in HildonNote.
1777 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1778 is connectivity dialog)
1780 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1785 * doc/hildon-sections.txt:
1786 Added hildon_gtk_window_set_do_not_disturb()
1788 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-note.c (hildon_note_init): Center label.
1792 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1795 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1800 * configure.ac: Bump version.
1801 * debian/changelog: Updates.
1803 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-note-private.h: Add button-width to the private data.
1806 * src/hildon-note.c (+resize_button),
1807 (+hildon_note_orientation_update): methods to repack widgets on orientation
1809 (screen_size_changed): Call above method for confirmation notes.
1810 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1811 (hildon_note_rebuild): Store the original width request from buttons.
1813 Fixes: NB#109635 (Confirmation notes do not support portrait)
1815 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1818 when it is a progress note.
1820 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1822 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1823 in the note, since there are no horizontally arranged contents.
1825 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1827 * src/hildon-gtk.c (+set_flag): new generic method to
1828 set/delay a flag setting in a window.
1829 (hildon_gtk_window_set_progress_indicator):
1830 (hildon_gtk_window_set_do_not_disturb),
1831 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1832 avoid code redundance.
1834 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1836 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1838 * src/hildon-gtk.c (set_clear_window_flag),
1839 (do_set_progress_indicator), (do_set_do_not_disturb),
1840 (do_set_portrait_flags),
1841 (hildon_gtk_window_set_progress_indicator),
1842 (hildon_gtk_window_set_do_not_disturb),
1843 (hildon_gtk_window_set_portrait_flags):
1844 Allow setting dnd-flag, progress indicator, and portrait flags
1845 when the window is not realized.
1847 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1849 * src/hildon-pannable-area.c,
1850 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1851 the size request policy function and defines.
1853 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1855 * doc/hildon-sections.txt: Add the new API.
1856 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1857 method to set the portrait flags.
1858 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1860 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1862 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1864 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1865 to allow using this method with other flags.
1866 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1867 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1869 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1871 * src/hildon-touch-selector.c
1872 (hildon_touch_selector_append_text_column):
1873 Make the cell renderer use the smallest width possible.
1875 Fixes: NB#108470 (Selected items in multiple selection are either
1876 having a tick that is cut or not visible at all.)
1878 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1880 * src/hildon-touch-selector.c
1881 (hildon_touch_selector_append_text_column):
1884 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1887 Use g_strdup_printf() instead of a fixed size buffer.
1889 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1892 Close banners when a HildonAppMenu is popped up.
1894 Fixes: NB#111027 (Title menu closed immediately if activated when
1895 "Invalid e-mail address" banner is shown)
1897 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1902 * configure.ac: Bump version.
1903 * debian/changelog: Updates.
1905 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-banner.c (hildon_banner_realize):
1908 Mark HildonBanner as supporting portrait mode.
1909 Use GDK to set window properties insetad of direct Xlib calls.
1911 Fixes: NB#111830 (HildonBanner should be marked as supporting
1914 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-note.c (hildon_note_rebuild):
1917 Hide action area in information notes. Prevents text from being
1918 slightly aligned to the left.
1920 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1923 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1925 Patch by Mox Soini (ext-mox.soini@nokia.com)
1927 * src/hildon-banner.c (hildon_banner_create_animation):
1928 Use stylus-sized icons in animation banner.
1930 Fixes: NB#111206 (stylus sized icon for animation banner)
1932 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1936 (+hildon_gtk_window_set_do_not_disturb):
1937 New API to set the do-not-disturb flag.
1939 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1941 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1943 * examples/hildon-progress-indicator-example.c: Fix example
1945 * src/hildon-gtk.c (set_clear_window_flag)
1946 (hildon_gtk_window_set_progress_indicator):
1947 Create a generic function for setting flags to a window.
1948 Use GDK instead of direct Xlib calls.
1950 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-button.c (hildon_button_set_arrangement):
1953 Due to NB#88126, if one of the labels is too long it will be
1954 painted outside the button. The 'value' label is more likely to be
1955 the longest one, so we change its packing options in order to
1956 truncate it if necessary. As a side effect, the 'title' label will
1957 no longer be truncated.
1959 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1961 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1966 * configure.ac: Bump version.
1967 * debian/changelog: Updates.
1969 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1971 Deprecation of the hildon_pannable_area_set_size_request_policy
1972 API, the only policy properly supported in gtk+ nowadays is the
1975 * src/hildon-pannable-area.c,
1976 (hildon_pannable_area_size_request): Added a workaround for the
1977 size_request to avoid the problems of huge pixmaps in case someone
1978 is still using the function.
1979 * src/hildon-pannable-area.h: Deprecated the enum with the
1982 Fixes: NB#110244 (Problems with the
1983 hildon_pannable_area_set_size_request_policy API)
1985 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1987 * src/hildon-pannable-area.c,
1988 (hildon_pannable_area_init),
1989 (hildon_pannable_area_size_request),
1990 (hildon_pannable_area_style_set),
1991 (hildon_pannable_draw_vscroll),
1992 (hildon_pannable_draw_hscroll),
1993 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1994 indicator_width to clarify the use of the attribute.
1996 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2001 * configure.ac: Bump version.
2002 * debian/changelog: Updates.
2004 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2006 * src/hildon-picker-dialog.c
2007 * src/hildon-touch-selector.c
2008 Reverting the change that tried to avoid the hardcoded height on
2009 the picker dialog, as causes problems on the hildon-touch-selector
2012 Fixes: NB#110029 (selectors not scrolling to selected value)
2014 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2016 * src/hildon-touch-selector.c: Fix typos
2018 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2021 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2022 request more motions after using it.
2024 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2026 * src/hildon-calendar.c (hildon_calendar_expose),
2027 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2028 Remove unused variables.
2030 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2032 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2033 variable assignment.
2035 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2037 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2038 Check the return value of gtk_tree_selection_get_selected()
2041 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2043 * src/hildon-animation-actor.c
2044 * src/hildon-button.c
2046 * src/hildon-pannable-area.c
2047 * src/hildon-picker-button.c
2048 * src/hildon-program.c
2049 * src/hildon-remote-texture.c
2050 * src/hildon-text-view.c
2051 * src/hildon-touch-selector.c
2052 * src/hildon-window-stack.c
2053 * src/hildon-window.c:
2054 Add missing 'Since: 2.2' tags.
2056 * doc/hildon-sections.txt:
2057 Add some missing symbols.
2059 * doc/hildon-docs.sgml:
2060 New 'Other' section for HildonAnimationActor and
2063 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2065 Patch by Iván Gómez (igomez@igalia.com)
2068 * doc/compiling.sgml
2069 * doc/hildon-docs.sgml
2070 * doc/hildon-sections.txt
2071 * doc/migration.sgml
2072 * doc/resources.sgml
2074 New chapters on using the Hildon library.
2075 Updated the general structure of the reference manual.
2076 Other minor documentation fixes.
2078 * src/hildon-calendar-popup.c
2079 * src/hildon-calendar.c
2080 * src/hildon-controlbar.c
2081 * src/hildon-date-editor.c
2082 * src/hildon-dialog.c
2083 * src/hildon-hvolumebar.c
2084 * src/hildon-number-editor.c
2085 * src/hildon-range-editor.c
2086 * src/hildon-sort-dialog.c
2087 * src/hildon-time-editor.c
2088 * src/hildon-time-picker.c
2089 * src/hildon-volumebar-range.c
2090 * src/hildon-volumebar.c
2091 * src/hildon-vvolumebar.c
2092 * src/hildon-weekday-picker.c:
2093 Add deprecation notes
2095 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2096 Document 'horizontal-movement' and 'vertical-movement' signals.
2098 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2103 * configure.ac: Bump version.
2104 * debian/changelog: Updates.
2106 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2108 * src/hildon-pannable-area.c,
2109 (hildon_pannable_area_class_init): increased the minimum velocity.
2110 (hildon_pannable_area_button_release_cb): Updated the
2111 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2112 setup. Review the code to control that last event.
2114 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2117 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2119 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2121 * src/hildon-get-password-dialog.c
2122 (hildon_get_password_set_property),
2123 (hildon_get_password_get_property), (create_contents):
2124 * src/hildon-login-dialog-private.h:
2125 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2126 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2127 (hildon_login_dialog_get_password):
2128 * src/hildon-set-password-dialog-private.h:
2129 * src/hildon-set-password-dialog.c
2130 (hildon_set_password_set_property),
2131 (hildon_set_password_get_property), (create_contents),
2132 (hildon_set_password_response_change),
2133 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2135 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2136 instead and look more Fremantle style.
2138 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2140 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2142 * doc/hildon-sections.txt
2143 * src/hildon-window-stack.h
2144 * src/hildon-window-stack.c
2145 (+hildon_window_stack_get_windows):
2146 New API to obtain the list of windows on a stack.
2148 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-app-menu.c (hildon_app_menu_popup)
2151 (hildon_app_menu_class_init, -hildon_app_menu_show):
2152 Remove hildon_app_menu_show() and move all its checks to
2153 hildon_app_menu_popup()
2155 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2157 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2158 (_hildon_picker_dialog_set_selector): removed call to
2159 gtk_widget_set_size_request
2160 * src/hildon-touch-selector.c
2161 (_create_new_column): change the pannable size request policy
2163 Avoid to use a hardcoded height for the hildon picker dialog. In order
2164 to get that, we needed to change the hildon pannable size request
2166 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2168 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2170 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2171 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2174 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2176 * debian/control: Depend on osso-system-lock localization package.
2177 * src/hildon-code-dialog.c: Obtain the secu_application_title
2178 translation from osso-system-lock.
2179 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2180 for translation the atk related strings, that's not necessary.
2181 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2182 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2183 cancel button, it is not required.
2185 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2187 * src/hildon-pannable-area.c,
2188 (hildon_pannable_area_class_init): Modified the default value of
2189 the overshooting max speed, we have reduced it.
2191 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2193 * doc/hildon-sections.txt
2194 * src/hildon-window-private.h
2195 * src/hildon-window.h
2196 * src/hildon-window.c (hildon_window_class_init)
2197 (hildon_window_init, hildon_window_finalize)
2198 (hildon_window_realize, hildon_window_get_property)
2199 (hildon_window_set_property, hildon_window_update_markup)
2200 (hildon_window_get_markup, hildon_window_set_markup):
2201 New "markup" property and hildon_window_{get,set}_markup() methods.
2203 * examples/hildon-stackable-window-example.c (new_window):
2204 Update example to use hildon_window_set_markup()
2206 Fixes: NB#106375 (Need API to retitle a window with a title
2209 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2211 * src/hildon-pannable-area.c,
2212 (hildon_pannable_area_class_init): Changed the default value of
2213 the initial_hint to TRUE.
2214 (hildon_pannable_area_initial_effect): Changed the initial effect,
2215 not the effect is just the fade-out of the scrollbars.
2217 Fixes: NB#107775 (No scrollbars can be seen when several items are
2218 available in a dialog)
2220 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2222 * src/hildon-program.c (hildon_program_update_top_most):
2225 Fixes: NB#109179 (Memory leak in Hildon program)
2227 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-banner.c (-get_current_app_window):
2230 Remove unused function.
2232 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2234 * src/hildon-pannable-area.c: Modified the documentation of the
2235 get adjustments functions to explain the problem of using the
2236 adjustment directly.
2237 (hildon_pannable_area_class_init): Improved the explanation about
2240 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-app-menu-private.h
2243 * src/hildon-app-menu.c
2244 (hildon_app_menu_class_init):
2245 Bring back the 'external-border' style property
2246 (hildon_app_menu_class_init, hildon_app_menu_init)
2247 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2248 Set a fixed width-request for the menu, independent of the number
2251 Fixes: NB#94957 (Smoothly opened application menu)
2253 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2257 * src/hildon-banner.c
2258 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2260 Make sure that the banner is correctly placed the first time it's
2262 (hildon_banner_check_position, -check_fullscreen_state):
2263 Show the banner in the same place no matter if the window is in
2264 fullscreen mode or not.
2266 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2268 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2270 * src/hildon-touch-selector.c (_default_print_func): reorder
2271 concatenation for clarity.
2273 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2276 for multicolumn selectors.
2278 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2280 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2285 * configure.ac: Bump version.
2286 * debian/changelog: Updates.
2288 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2290 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2293 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2295 * configure.ac: removed libcangerra-gtk dependency
2296 * debian/control: removed libcanberra-gtk dependency
2297 * src/Makefile.am: removed libcanberra gtk related flags
2298 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2299 context, and manage a global canberra context instead
2301 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2303 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2305 Patch by Daniel Borgmann (danielb@openismus.com)
2307 * src/hildon-edit-toolbar.c:
2308 Adjust the left padding.
2309 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2310 Paint background of the edit toolbar.
2312 Fixes: NB#107897 (Patch to make editmodetoolbar background
2313 themeable and adjust margin)
2315 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2317 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2319 * src/hildon-program.c (hildon_program_update_top_most):
2320 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2322 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2323 change when the user tasks in/out of an application)
2325 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2327 * configure.ac: added libcangerra-gtk dependency
2328 * debian/control: added libcanberra-gtk dependency
2329 * src/Makefile.am: added libcanberra gtk related flags
2330 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2333 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2335 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2337 * src/hildon-program.c (hildon_program_remove_window)
2338 (hildon_program_add_window): Add checks for the window
2339 parameter. Don't decrease the window counter if the window is not
2342 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2344 * src/hildon-pannable-area.c,
2345 (hildon_pannable_area_realize): Fixed position of the event_window
2346 in the realize method.
2348 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2350 * src/hildon-app-menu-private.h
2351 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2352 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2353 (hildon_app_menu_key_press, hildon_app_menu_init)
2354 (hildon_app_menu_finalize):
2355 Make sure that all idle functions are removed when the widget is
2358 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2360 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2365 * configure.ac: Bump version.
2366 * debian/changelog: Updates.
2368 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2370 * src/hildon-entry.c
2371 (+hildon_entry_show_placeholder),
2372 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2373 that replace hildon_entry_update_contents().
2374 (hildon_entry_set_text),
2375 (hildon_entry_set_placeholder),
2376 (hildon_entry_focus_in_event),
2377 (hildon_entry_focus_out_event): Determine when it is needed
2378 either to show or hide the placeholder and call the above methods.
2380 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2381 when the placeholder text is already set)
2383 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2386 simple GdkPixbufAnim using the new icons for the banner.
2387 (hildon_banner_show_animation): Use the above mentioned method to
2388 create the animation widget.
2390 Fixes: NB#103564 (Make hildon animation banner use individual
2391 image files as the animation)
2393 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2395 * src/hildon-pannable-area.c,
2396 (hildon_pannable_leave_notify_event): Check if the child is NULL
2397 to avoid sending the leave.
2399 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2401 * src/hildon-pannable-area.c,
2402 (hildon_pannable_area_class_init),
2403 (hildon_pannable_leave_notify_event): Added a handler of the
2404 leave-notify-signal to consider when no motion notify before
2407 Fixes: NB#107494 (Items stay selected when clicking and moving
2408 away when inside pannable area)
2410 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2415 * configure.ac: Bump version.
2416 * debian/changelog: Updates.
2418 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2420 Patch by Alberto Garcia (agarcia@igalia.com)
2422 * src/hildon-date-button.c,
2423 (hildon_date_button_class_init),
2424 (hildon_date_button_init): Removed the construct property handling
2425 and created a default selector in the init method.
2426 * src/hildon-picker-button.c,
2427 (hildon_picker_button_class_init): Removed the construct flag of the
2430 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2432 * src/hildon-main.c (hildon_init):
2433 Don't allow hildon_init() to be called more than once.
2435 Fixes: NB#106607 (hildon_init should issue error message upon
2438 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2440 * examples/hildon-pannable-area-touch-list-example.c
2441 * examples/hildon-pannagle-area-touch-grid-example.c
2442 * examples/hildon-edit-toolbar-example.c
2443 * examples/hildon-touch-selector-multi-cells-example.c
2444 Removed the call to gtk_rc_parse_string, as it is not required since
2447 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2449 * src/hildon-pannable-area.c,
2450 (hildon_pannable_area_class_init): Modified the default panning
2451 threshold of the widget to 6px.
2453 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2454 than the threshold value ) within the button is not sending the
2457 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2459 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2460 for the treeview in the new column. This way, the touch list will never
2463 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2464 be selected manually for the HW keys to work)
2466 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2468 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2469 comparison instead of using strcmp(). Fixes a compiler warning as well.
2471 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2473 * doc/hildon-docs.sgml: Do not set the library version in the
2474 document title, use the releaseinfo tag for that purpose instead.
2476 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2478 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2479 Do not jump to the first item if the text in the entry is removed.
2481 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2486 * configure.ac: Bump version.
2487 * debian/changelog: Updates.
2489 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2491 * src/hildon-entry.c (hildon_entry_refresh_contents):
2492 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2493 Use "ReversedSecondaryTextColor" for the placeholder text.
2495 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-text-view.c: Fix compilation warning.
2499 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2501 * src/hildon-button.c (hildon_button_class_init): Don't make
2502 "title" and "value" construction properties, to prevent them from
2503 overwriting labels set from derived classes.
2505 * src/hildon-picker-button.c
2506 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2507 (hildon_picker_button_class_init): Make touch-selector a
2508 construction property.
2510 * src/hildon-date-button.c (hildon_date_button_class_init)
2511 (+hildon_date_button_constructed): Add a default date selector if
2514 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-touch-selector.c: Small documentation fixes.
2518 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2520 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2522 * src/hildon-entry.c (hildon_entry_refresh_contents),
2523 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2524 widget name, set the logical color directly instead and a boolean
2525 showing_placeholder instead.
2526 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2527 use the widget name here either.
2529 Fixes: NB#105678 (HildonTextView should use logical colours
2530 instead of setting widget name)
2532 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2534 Patch by Daniel Elster (danielk@openismus.com)
2536 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2537 Add user_data parameter.
2538 (hildon_touch_selector_set_print_func_full): New function akin
2539 hildon_touch_selector_set_print_func() but with support for user
2540 data and a destroy callback.
2541 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2542 to clean up the print function user data.
2543 (hildon_touch_selector_class_init): Install dispose function.
2544 (HildonTouchSelectorPrivate::print_user_data),
2545 (HildonTouchSelectorPrivate::print_destroy_func): New private
2547 (hildon_touch_selector_init): Initialize new private members.
2548 (hildon_touch_selector_get_current_text): Pass along user data
2549 to the print function.
2550 (_default_print_func): Add dummy user_data to parameter list.
2551 * hildon-date-selector.c (_custom_print_func): ditto,
2552 * hildon-time-selector.c (_custom_print_func): ditto,
2553 * hildon-touch-selector-entry.c
2554 (hildon_touch_selector_entry_print_func): ditto.
2556 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2558 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2560 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2562 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2564 * src/hildon-pannable-area.c,
2565 (hildon_pannable_area_init),
2566 (hildon_pannable_area_button_press_cb),
2567 (hildon_pannable_area_motion_notify_cb): We have added code to
2568 handle the leave and enter events when using the motion events.
2570 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2572 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2574 * src/hildon-date-button.c (hildon_date_button_get_date)
2575 (hildon_date_button_set_date): Make sure that the button has a
2578 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2580 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2582 * src/hildon-pannable-area.c,
2583 (hildon_pannable_area_class_init),
2584 (hildon_pannable_area_calculate_velocity): Modify the use of the
2585 force and adapt the value.
2587 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2589 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2590 (hildon_app_menu_class_init): Hide the menu if it receives a
2591 delete-event, but don't destroy it
2593 Fixes: NB#104485 (Not able to address the call when application
2594 menu is opened at background)
2596 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-app-menu.c
2599 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2600 Remove the "external-border" style property, let the menu take its
2601 natural size (or the one set by the window manager)
2602 (hildon_app_menu_repack_items):
2603 Don't reshow the menu, avoid flickers.
2605 Partially fixes NB#94957 (Smoothly opened application menu)
2607 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2612 * configure.ac: Bump version.
2613 * debian/changelog: Updates.
2615 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2617 * src/hildon-pannable-area.c,
2618 (hildon_pannable_area_motion_notify_cb): We control that the
2619 direction error margin is used just in case the movement is
2620 allowed in the other direction.
2622 Fixes: NB#105012 (buttons inside a pannable area not getting
2623 release event when dragging/releasing)
2625 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2627 * src/hildon-pannable-area.c,
2628 (hildon_pannable_area_class_init),
2629 (hildon_pannable_area_get_property),
2630 (hildon_pannable_area_set_property),
2631 (hildon_pannable_area_initial_effect),
2632 (hildon_pannable_axis_scroll),
2633 (hildon_pannable_area_button_release_cb): Reviewed the
2634 overshooting effect, now it has its own max
2635 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2636 speed when bouncing.
2638 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2643 * configure.ac: Bump version.
2644 * debian/changelog: Updates.
2646 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2648 * src/hildon-pannable-area.c,
2649 (hildon_pannable_area_class_init): Changed the max speed, now
2650 users can launch the widget very fast. Reduced the default force,
2651 that way it is easier to control the launch speed.
2653 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_button_release_cb): Removed this check
2657 because it causes problems when the device is overloaded.
2659 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2661 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2662 add a current_text field to store the text entered in the
2663 touch selector entry.
2664 (_clean_current_selection): clean up the current text as well.
2665 (_save_current_selection), (_restore_current_selection):
2666 Save/restore the text in the entry if the selector is a
2667 HildonTouchSelectorEntry.
2669 Fixes: NB#102541 (value entered in the touch selector entry is not
2670 shown when opened for second time)
2672 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2674 * doc/hildon-sections.txt:
2675 * src/hildon-touch-selector-entry.c
2676 (+hildon_touch_selector_entry_get_entry):
2677 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2679 Fixes: NB#104815 (I need accessor to the entry inside
2680 HildonTouchSelectorEntry)
2682 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2684 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2685 (hildon_app_menu_class_init):
2686 New "filter-vertical-spacing" style property.
2688 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-find-toolbar.c
2691 (hildon_find_toolbar_emit_close)
2692 (hildon_find_toolbar_emit_invalid_input)
2693 (hildon_find_toolbar_entry_activate):
2694 Use g_signal_emit() instead of g_signal_emit_by_name()
2696 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2698 Patch by Mox Soini (ext-mox.soini@nokia.com)
2700 * tests/TEST-CASES.txt
2701 * tests/check-hildon-banner.c
2702 * tests/check-hildon-note.c
2703 * src/hildon-banner.c
2704 * src/hildon-code-dialog.c
2705 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2706 * src/hildon-time-editor.c
2707 * examples/hildon-lookup-example.c (main):
2708 Replace obsolete icon names with new ones.
2710 * src/hildon-find-toolbar-private.h:
2711 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2712 (-hildon_find_toolbar_emit_search):
2713 Remove find button and change icon of close button.
2715 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2717 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2719 * src/hildon-time-button.c (hildon_time_button_new_step):
2720 Use the "touch-selector" property to set the selector directly
2721 when creating the object.
2723 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2725 Added a new example application that allows tuning the pannable
2726 area and replaced defines with properties in order to simplify the
2727 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2728 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2729 PROP_DIRECTION_ERROR_MARGIN.
2731 * examples/hildon-pannable-area-tuning-example.c: New example
2733 * src/hildon-pannable-area.c,
2734 (hildon_pannable_area_class_init),
2735 (hildon_pannable_area_init),
2736 (hildon_pannable_area_get_property),
2737 (hildon_pannable_area_set_property),
2738 (hildon_pannable_area_launch_fade_timeout),
2739 (hildon_pannable_area_adjust_value_changed),
2740 (hildon_pannable_axis_scroll),
2741 (hildon_pannable_area_motion_notify_cb),
2742 (hildon_pannable_area_scroll_cb),
2743 (hildon_pannable_area_button_release_cb): We have converted some
2744 of the defines that control the widget to properties to simplify
2747 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-app-menu.c (hildon_app_menu_map)
2750 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2751 so it's closed if a new window appears.
2753 Fixes: NB#104485 (Not able to address the call when application
2754 menu is opened at background)
2756 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2758 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2759 missing 'break' statement in in 'case' construct to avoid
2762 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-touch-selector-entry.c
2765 (hildon_touch_selector_entry_get_property),
2766 (hildon_touch_selector_entry_set_property): Add missing 'break'
2767 statements in in 'case' constructs to avoid incorrect warnings.
2769 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-time-editor.c
2772 (hildon_time_editor_get_time_separators): Do not crash if
2773 the first label is NULL.
2775 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2777 * src/hildon-date-selector.c (_month_days): Check for month to be
2778 strictly less than 12, since otherwise we may overrun the array.
2780 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-date-button.c (+hildon_date_button_new_full)
2783 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2784 (hildon_date_button_init): Set the date selector using a
2785 construction property, to make it happen after HildonButton's
2786 "value" property is set.
2788 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2789 current date by default)
2791 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2793 * doc/hildon-sections.txt
2794 * src/hildon-program.c
2795 * src/hildon-stackable-window.c
2796 * src/hildon-window.c:
2797 Documentation updates
2799 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2802 (hildon_window_stack_new, +hildon_window_stack_set_property)
2803 (+hildon_window_stack_get_property)
2804 (hildon_window_stack_class_init)
2805 (+hildon_window_stack_set_window_group)
2806 (+hildon_window_stack_get_window_group):
2807 Make the window group a construction property.
2809 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2811 * doc/hildon-sections.txt
2812 * src/hildon-stackable-window-private.h
2813 * src/hildon-stackable-window.h
2814 * src/hildon-stackable-window.c
2815 (-hildon_stackable_window_set_app_menu)
2816 (-hildon_stackable_window_get_app_menu)
2817 (-hildon_stackable_window_toggle_menu)
2818 (-hildon_stackable_window_finalize)
2819 (hildon_stackable_window_class_init)
2820 (hildon_stackable_window_init)
2821 * src/hildon-window-private.h
2822 * src/hildon-window.h
2823 * src/hildon-window.c (hildon_window_init)
2824 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2825 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2826 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2827 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2828 Moved all HildonAppMenu code to HildonWindow. The menu does not
2829 require a HildonStackableWindow anymore.
2831 * src/hildon-app-menu.c
2832 * src/hildon-program.c
2833 * examples/hildon-app-menu-example.c (main):
2834 Update examples and documentation to reflect HildonAppMenu
2837 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-remote-texture.c
2840 * src/hildon-animation-actor.c:
2841 Don't include unused private headers.
2843 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-program-private.h
2846 * src/hildon-program.c
2847 (hildon_program_set_common_menu)
2848 (hildon_program_get_common_menu)
2849 (hildon_program_set_common_app_menu)
2850 (hildon_program_get_common_app_menu):
2851 Change common menu pointers from GtkWidget* to GtkMenu* and
2852 HildonAppMenu* to avoid unnecessary casts.
2854 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-window.c (hildon_window_set_main_menu):
2857 Removed incorrect 'Since:' tag
2859 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2861 * src/hildon-pannable-area.c,
2862 (hildon_pannable_area_calculate_velocity): We use now the
2863 RATIO_TOLERANCE here to check the distance, fixed typo in the
2865 (hildon_pannable_area_motion_notify_cb): We have to set the type
2866 and time even if we are not sending the motion.
2868 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2870 * doc/hildon-sections.txt
2871 * src/hildon-app-menu.h
2872 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2873 (+hildon_app_menu_get_filters): New methods to get the contents of
2876 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2879 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2881 * src/hildon-app-menu.c (hildon_app_menu_popup):
2884 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2886 * src/hildon-window.h
2887 * src/hildon-window.c (+hildon_window_get_main_menu)
2888 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2889 and deprecated hildon_window_get_menu().
2891 * src/hildon-stackable-window.h
2892 * src/hildon-stackable-window.c
2893 (+hildon_stackable_window_set_app_menu)
2894 (+hildon_stackable_window_get_app_menu)
2895 (hildon_stackable_window_set_main_menu): Created
2896 hildon_stackable_window_{get,set}_app_menu() and deprecated
2897 hildon_stackable_window_set_main_menu().
2899 * doc/hildon-sections.txt
2900 * examples/hildon-app-menu-example.c (main)
2901 * src/hildon-app-menu.c
2902 * src/hildon-program.c:
2903 Updated examples and documentation.
2905 Fixes: NB#103758 (No way to obtain a menu from a
2906 HildonStackableWindow)
2908 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2913 * configure.ac: Bump version.
2914 * debian/changelog: Updates.
2916 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2918 * examples/hildon-remote-texture-example.c: Include
2919 hildon-remote-texture.h explicitely.
2920 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2921 applications not defining _XOPEN_SOURCE which don't require this header.
2923 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2925 * doc/hildon-sections.txt
2926 * src/hildon-app-menu.h
2927 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2928 New function to pop up a HildonAppMenu
2930 * src/hildon-stackable-window.c
2931 (hildon_stackable_window_toggle_menu):
2932 Use hildon_app_menu_popup() to show the menu.
2934 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-app-menu.c (hildon_app_menu_show)
2937 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2938 menu if there's another window between it and its parent window.
2940 Fixes: NB#100468 (Application menu window is launched even when a
2941 new secondary-window/dialog is pending to be shown/realized)
2943 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-window-stack.c (hildon_window_stack_push)
2946 (hildon_window_stack_pop_and_push):
2947 Don't forget to push/pop the first window.
2948 Reverse the window list before calling _push_list()
2950 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-picker-button.h
2953 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2954 Remove "value_changed" slot to avoid ABI breakage
2956 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2958 * src/hildon-pannable-area.c,
2959 (hildon_pannable_area_realize),
2960 (hildon_pannable_area_unrealize),
2961 (hildon_pannable_draw_vscroll),
2962 (hildon_pannable_draw_hscroll): Changed the method to handle the
2963 GC used to draw the transparent scrollbar, this way we avoid
2964 creating the GC all the time when drawing the scrollbars.
2966 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2968 * src/hildon-pannable-area.c,
2969 (hildon_pannable_area_init),
2970 (hildon_pannable_area_remove): Removed some unnecessary casts.
2971 (hildon_pannable_area_dispose): Disconnected some signals before
2972 releasing the adjustments.
2974 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2976 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2977 Make sure that all widgets contained in the toolbar are shown.
2979 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2981 * doc/hildon-sections.txt
2982 * src/hildon-picker-button.h
2983 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2984 (_selection_changed, hildon_picker_button_on_dialog_response)
2985 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2986 New hildon_picker_button_value_changed() method.
2989 * src/hildon-picker-button-private.h
2990 * src/hildon-picker-button.c (hildon_picker_button_init)
2991 (+hildon_picker_button_disable_value_changed): Add protected
2992 function for disabling the "value-changed" signal.
2994 * src/hildon-date-button.c (hildon_date_button_set_date):
2995 Don't emit "value-changed" for each one of the three columns.
2997 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2998 before actual change of values)
3000 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3002 * src/hildon-pannable-area.c,
3003 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3004 for the treeview overshooting.
3006 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/hildon-banner.c (+hildon_banner_bind_style):
3009 Renamed from hildon_banner_bind_label_style(), now naming the
3010 banner itself as well.
3011 (hildon_banner_show_information),
3012 (hildon_banner_show_information_with_markup),
3013 (hildon_banner_show_animation), (hildon_banner_show_progress):
3014 Name the widgets and labels, based on their type.
3016 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3019 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-note.c (hildon_note_set_property): call
3022 hildon_note_rename() on HildonNote:note-type set.
3023 (hildon_note_rename): Name the note and its label, based on the
3024 HildonNote:note-type property.
3026 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3029 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3031 * src/hildon-pannable-area.c,
3032 (hildon_pannable_area_class_init),
3033 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3034 panning parameters, increased SPS and deceleration factor. Added
3035 also a margin to control fake directions.
3037 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3039 Patch by Sven Herzberg (sven@imendio.com)
3041 * configure.ac: Add missing AM_PROG_CC_C_0
3042 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3044 See NB#101420 (Update unit tests and fix make check)
3046 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3048 This patch was applied before but reverted because it caused
3049 problems, we have changed the main condition and tested the
3050 regressions we detected before and they work ok. We have done a
3051 complete review of the topmost algorithm in order to get a more
3054 * src/hildon-pannable-area.c,
3055 (hildon_pannable_area_get_topmost): Added a new parameter to
3056 filter the the windows that do not include those events.
3057 (hildon_pannable_area_button_press_cb),
3058 (hildon_pannable_area_button_release_cb),
3059 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3060 topmost function, we have added the new parameter.
3062 Fixes: NB#97458 (Pannable area prevents propagation of button
3065 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3067 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3068 if all columns in the selector have an item selected.
3069 (_on_dialog_response): Stop "response" signal emission if there is
3070 any selector column without selected items.
3072 Fixes: NB#101889 (Picker dialog should not close when nothing is
3073 selected in multiple selection list)
3075 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-font-selection-dialog.c
3078 (hildon_font_selection_dialog_class_init),
3079 (hildon_font_selection_dialog_init): Remove the preview
3080 button and dialog, since previewing with default theming is likely
3081 to be overcomplicated. The :preview property has now no effect.
3082 Update documentation blurbs to inform about this.
3084 Fixes: NB#92297 (Preview content is not clearly visible for
3085 default colour text)
3087 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3089 Reviewed the geometry that handles the children size and
3090 scrollbar, now it tries a size and reviews the results depending
3091 on the scrollbars visibility.
3093 * src/hildon-pannable-area.c,
3094 (hildon_pannable_area_realize): Fixed a typo.
3095 (hildon_pannable_area_child_allocate_calculate): Added this
3096 function to calculate the child allocation.
3097 (hildon_pannable_area_size_allocate): Reviewed the allocation
3099 (hildon_pannable_area_check_scrollbars),
3100 (hildon_pannable_area_refresh): Refactored refresh function, this
3101 way we can call the code handling the scrollbars without causing a
3102 size_request, it is interesting in the allocate.
3103 (hildon_pannable_area_init): Replace the callbacks of the
3104 value_changed and changed signals to propertly deal with the
3106 (hildon_pannable_area_grab_notify),
3107 (hildon_pannable_area_initial_effect),
3108 (hildon_pannable_area_launch_fade_timeout),
3109 (hildon_pannable_area_adjust_changed),
3110 (hildon_pannable_area_adjust_value_changed),
3111 (hildon_pannable_area_redraw),
3112 (hildon_pannable_area_button_press_cb),
3113 (hildon_pannable_area_button_release_cb),
3114 (hildon_pannable_area_scroll_cb),
3115 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3116 code and use the new functions adjust_changed and
3117 adjust_value_changed.
3119 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3120 Contact editor dialog)
3122 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3127 * configure.ac: Bump version.
3128 * debian/changelog: Updates.
3130 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3132 * src/hildon-pannable-area.c,
3133 (hildon_pannable_area_get_topmost),
3134 (hildon_pannable_area_button_press_cb),
3135 (hildon_pannable_area_button_release_cb),
3136 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3137 topmost function adding the event mask. We have to try a
3138 differente approach because it is still causing problems (NB#9745,
3141 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3143 * src/hildon-banner.c:
3144 Update the maximum width of timed banners.
3145 (force_to_wrap_truncated): Enforce the maximum text width if the
3148 Fixes: NB#102413 (The text margins (wrapping) in information
3149 banner should be HILDON_MARGIN_TRIPLE)
3151 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3153 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3155 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3156 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3157 bound when calculating the scroll indicator position.
3159 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3160 treat ->lower correctly)
3162 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3165 expose event handling, since it is not necessary to draw the focus
3168 Fixes: NB#102467 (Do not show highlight on the text in
3171 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3173 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3174 full height of the toolbar for the button and the label.
3176 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3179 padding before the label and after the button.
3181 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3183 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3185 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3186 Add a GtkVSeparator between the button and the back arrow.
3187 Let the button have automatic size.
3188 Set a name to the widget for theming handling.
3190 Fixes: NB#101793 (Make edit toolbar the same height as window
3191 title bar (use title area theming))
3193 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-helper.c (attach_new_color_element): Fix memory
3198 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3200 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3202 * examples/hildon-button-example.c (common_buttons_window): Don't
3205 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3208 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3210 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-gtk.c: Check that the window is realized.
3214 Fixes: NB#102225 (Crash setting the progress indicator to a non
3217 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3219 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3220 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3221 instead of modifying the one in the widget style.
3223 Fixes: NB#101043 (Second row of all the command button are
3224 displayed in transparent mode.)
3226 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3228 * src/hildon-date-button.c
3229 * src/hildon-time-button.c: Add gettext macros
3231 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-date-button.c (hildon_date_button_new):
3234 * src/hildon-time-button.c (hildon_time_button_new_step):
3235 Use new logical strings to set the button default title.
3237 Fixes: NB#99915 (Date and Time options are not localised in Date
3240 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3242 * src/hildon-pannable-area.c
3243 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3244 the PANNING_THRESHOLD.
3246 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3248 * src/hildon-pannable-area.c,
3249 (hildon_pannable_area_class_init): Increased the maximum speed.
3250 (hildon_pannable_area_get_property),
3251 (hildon_pannable_area_set_property),
3252 (hildon_pannable_area_timeout): Added a new low friction mode, it
3253 allows the user avoid friction when launching the widget fast
3254 enough. It is interesting to traverse long lists.
3256 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3258 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3259 (+hildon_stackable_window_delete_event): Ignore delete events if
3260 the window is not the topmost one.
3262 Fixes: NB#101698 (Back button long press and delete-event handling)
3264 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3266 * src/hildon-pannable-area.c,
3267 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3268 gtk-dnd-drag-threshold, it was too big. We have defined our own
3269 dnd define and set a smaller value: PANNIG_THRESHOLD.
3271 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3273 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3274 user-defined icons, use always the default one.
3276 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3278 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3280 This patch was applied before but reverted because it caused
3281 problems, we have changed the main condition and tested the
3282 regressions we detected before and they work ok.
3284 * src/hildon-pannable-area.c,
3285 (hildon_pannable_area_get_topmost): Added a new parameter to
3286 filter the the windows that do not include those events. Added
3287 also a condition when finding the window to filter windows that do
3288 not ask for those events.
3289 (hildon_pannable_area_button_press_cb),
3290 (hildon_pannable_area_button_release_cb),
3291 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3292 topmost function, we have added the new parameter.
3294 Fixes: NB#97458 (Pannable area prevents propagation of button
3297 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3299 * tests/check-hildon-color-button.c (START_TEST): do not leak
3302 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-font-selection-dialog.c
3305 (hildon_font_selection_dialog_get_preview_text): Return NULL
3306 instead of FALSE on the g_return_val_if_fail().
3308 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3310 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3311 * src/hildon-date-selector.c
3312 (hildon_date_selector_select_current_date):
3313 Do not compare unsigned integers to be greater than or equal 0,
3314 because it's always TRUE.
3316 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3319 (hildon_date_selector_constructor): Do not select the current
3320 date until we are handle the "changed" signal, to avoid having bogus
3321 elements in the days model.
3323 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3326 for num_days, since _month_days() can return a negative value.
3328 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3330 * src/hildon-caption.c (hildon_caption_size_allocate):
3331 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3332 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3334 Initialize allocation variables to 0, to avoid eventually using
3335 unitialized variables.
3337 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3339 * src/hildon-bread-crumb-trail.c
3340 (hildon_bread_crumb_trail_size_allocate):
3341 * src/hildon-calendar.c (hildon_calendar_set_background):
3342 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3343 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3344 * src/hildon-seekbar.c (hildon_seekbar_init):
3345 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3346 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3347 * src/hildon-touch-selector-entry.c
3348 (hildon_touch_selector_get_text_from_model):
3349 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3350 * src/hildon-window.c (hildon_window_finalize):
3352 Remove many unused variables.
3354 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3356 * src/hildon-seekbar.c: (hildon_seekbar_init),
3357 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3359 Remove unnecessary g_assert() calls.
3361 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-caption.c: (hildon_caption_expose),
3364 (hildon_caption_set_property), (hildon_caption_init),
3365 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3366 (hildon_caption_size_request), (hildon_caption_size_allocate),
3367 (hildon_caption_forall), (hildon_caption_set_separator),
3368 (hildon_caption_activate), (hildon_caption_set_child_expand),
3369 (hildon_caption_set_label_text),
3370 (hildon_caption_get_label_alignment):
3372 Remove unnecessary g_assert() calls.
3374 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3376 * src/hildon-banner.c
3377 (hildon_banner_map, hildon_banner_init): Make banner temporary
3378 before mapping it to avoid closing other temporary windows, but
3379 make it non-temporary afterwards to avoid being closed by other
3380 non-temporary windows.
3381 (-hildon_banner_client_event, hildon_banner_init):
3382 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3384 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3387 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3389 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3392 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3394 * src/hildon-remote-texture.c
3395 * src/hildon-remote-texture.h
3396 * src/hildon-remote-texture-private.h
3397 * examples/hildon-remote-texture-example.c:
3398 Updates/fixes to remote-texture and its example.
3400 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3402 Patch by Mox Soini (ext-mox.soini@nokia.com)
3404 * src/hildon-code-dialog.c: Update logical id.
3405 * src/hildon-set-password-dialog.c: Update logical id.
3407 Fixes: NB#100646 (Logical strings is shown for ok in set
3408 password,Password needed dialogs)
3410 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3413 * src/hildon-remote-texture.c
3414 * src/hildon-remote-texture.h
3415 * src/hildon-remote-texture-private.h
3417 Added remote texture widget (for Clutter shared memory textures)
3419 * examples/hildon-remote-texture-example.c
3420 * examples/Makefile.am
3421 Added example file for remote texture usage
3423 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3425 * configure.ac: post release version bump.
3426 * debian/changelog: version bump.
3428 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3433 * configure.ac: Bump version.
3434 * debian/changelog: Updates.
3436 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-date-selector.c (hildon_date_selector_init)
3439 (hildon_date_selector_constructor): Don't connect to the "changed"
3440 signal until the selector is completely constructed.
3442 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3444 * src/hildon-touch-selector.c: (_create_new_column),
3445 (hildon_touch_selector_append_column),
3446 (hildon_touch_selector_set_column_selection_mode),
3447 (hildon_touch_selector_set_active),
3448 (hildon_touch_selector_select_iter):
3449 Emit the HildonTouchSelector::changed signal every time selection
3450 is changed in any of the methods above. This behavior was already
3451 documented but not fully functional.
3453 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3454 selection is programmatically changed)
3456 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3458 * doc/hildon-sections.txt: Remove obsolete icon
3459 sizes from here as well.
3461 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3463 * examples/hildon-stackable-window-example.c (add_window): Remove
3466 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-app-menu.c
3469 (hildon_app_menu_show): Check whether the parent window of a menu
3470 is topmost before popping it up.
3472 Fixes: NB#100468 (Application menu window is launched even when a
3473 new secondary-window/dialog is pending to be shown/realized.)
3475 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3477 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3480 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3482 Patch by Mox Soini (ext-mox.soini@nokia.com)
3484 * src/hildon-banner.c: (hildon_banner_show_animation):
3485 use stylus size instead of obsolete note size.
3486 * src/hildon-defines.h: Update icon sizes.
3488 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3490 * src/hildon-touch-selector-entry.c:
3491 (hildon_touch_selector_entry_init): Disable unsupported
3493 (hildon_touch_selector_entry_get_text_column): Emit a warning
3494 if an unsupported input modes is used and explicitile state
3495 these modes in the documentation.
3497 Fixes: NB#99802 (Hildon touch selector entry not working properly
3498 for some of the input modes)
3500 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3502 * src/hildon-pannable-area.c,
3503 (hildon_pannable_area_init): Added the changed signal handlers of
3506 Fixes: NB#100320 (HildonPannableArea does not listen to
3507 GtkAdjustment "change" signals)
3509 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3511 * doc/hildon-sections.txt
3512 * src/hildon-window-private.h
3513 * src/hildon-window.h
3514 * src/hildon-window.c (hildon_window_init)
3515 (hildon_window_realize, hildon_window_unrealize)
3516 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3517 (hildon_window_size_request, hildon_window_size_allocate)
3518 (hildon_window_forall, hildon_window_show_all)
3519 (hildon_window_destroy, +paint_edit_toolbar)
3520 (+hildon_window_set_edit_toolbar):
3521 New hildon_window_set_edit_toolbar() method, to add a
3522 HildonEditToolbar to a window without having to pack it manually.
3524 Reorganize hildon_window_size_allocate()
3526 * src/hildon-edit-toolbar.c: Update documentation.
3528 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3529 example to use the new API.
3531 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3533 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3536 Remove from stack before calling parent's hide.
3538 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3540 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3541 window is removed from the middle of the stack, update the
3542 transiency of the previous one.
3544 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3547 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3549 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3550 block/unblock the signal handler if it's not actually being used.
3551 Fixes some critical warnings.
3553 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3555 Based on a patch by Iván Gómez (igomez@igalia.com)
3557 * src/hildon-banner.c
3561 * src/hildon-pannable-area.c
3562 * src/hildon-picker-dialog.c
3563 * src/hildon-wizard-dialog.h
3564 * src/hildon-wizard-dialog.c: Documentation updates.
3566 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3567 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3569 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: post release version bump.
3572 * debian/changelog: version bump.
3574 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3579 * configure.ac: Bump version.
3580 * debian/changelog: Updates.
3582 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3585 a stock icon nor change the relief of the back arrow.
3587 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3588 graphics from theme)
3590 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-button.c (hildon_button_set_alignment): Use
3593 priv->alignment if the button has no child yet.
3595 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-button.c: (hildon_button_init): Set the
3598 button style during initialization to give it the proper
3601 Fixes: NB#99713 (HildonButton value label color is wrong)
3603 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-touch-selector.c: Document
3606 hildon_touch_selector_center_on_selected()
3608 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3610 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3611 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3612 all menu items, but not the menu itself.
3613 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3614 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3615 items after adding them to the menu so keyboard accelerators work.
3616 (hildon_app_menu_show): Don't show the menu if it contains items
3617 but none of them are visible.
3619 * examples/hildon-app-menu-example.c (create_menu): Use
3620 gtk_widget_show_all() to show all menu items.
3622 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3624 * src/hildon-picker-dialog.c:
3625 (-_update_title_on_selector_changed_cb),
3626 (-_dialog_update_title): Removed.
3627 (_select_on_selector_changed_cb), (_on_dialog_response),
3628 (on_selector_columns_changed): Do not update the dialog title.
3629 (setup_interaction_mode): Do not connect to
3630 HildonTouchSelector::changed signal if there's a "done" button, as
3631 the dialog title doesn't need to be updated.
3633 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3636 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3638 Patch by Kristian Rietveld (kris@imendio.com)
3640 * src/hildon-touch-selector.c: (_create_new_column): Use new
3641 GtkTreeView::hildon-row-tapped signal to react to user interactions
3642 instead of ::changed.
3644 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3645 with some dynamic tree model)
3647 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3650 (+screen_size_changed, +label_size_request)
3651 (hildon_note_class_init): Make the Hildon information note have a
3652 minimum height, and make its text hvae a maximum width.
3654 Fixes: NB#98614 (Hildon information note (background) should have
3655 minimum height and maximum text width)
3657 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-banner.h
3660 * src/hildon-banner.c (hildon_banner_show_information)
3661 (hildon_banner_show_informationf)
3662 (hildon_banner_show_information_with_markup): Update documentation
3663 to reflect that the icon_name parameter is not used anymore.
3664 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3665 Remove all code from these functions and mark them as deprecated.
3666 (hildon_banner_show_progress): Mark as deprecated.
3668 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3670 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3672 * src/hildon-pannable-area.c,
3673 (hildon_pannable_area_class_init),
3674 (tranparency_color),
3675 (hildon_pannable_draw_vscroll),
3676 (hildon_pannable_draw_hscroll),
3677 (hildon_pannable_area_expose_event): Added a new way to render the
3678 scrollbars of the pannable area avoiding using cairo at all. This
3679 way we improve the performance of the pannable area rendering. The
3680 cairo rendering procedure is still in the code, we can control
3681 which one to use changing the value of the define
3682 USE_CAIRO_SCROLLBARS.
3684 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3686 * configure.ac: post release version bump.
3687 * debian/changelog: version bump.
3689 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3694 * configure.ac: Bump version.
3695 * debian/changelog: Updates.
3697 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3700 banners instead of destroying them when they receive a button
3703 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3705 Reverted commit 34028, it was causing regressions, probably the
3706 topmost condition is not correct, we have to check it in more
3707 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3708 propagation of button press events)
3710 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3713 that the selection is not empty before attempting to retrieve the
3714 current ampm selection.
3716 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3718 * src/hildon-picker-button.c:
3719 (hildon_picker_button_on_dialog_response): Directly update the
3720 button contents when required instead of calling _selection_changed.
3722 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-program.c (hildon_program_update_top_most): Update
3725 'is-topmost' property also when wm_hints is not set.
3727 Fixes: NB#98383 (is-topmost signal is not emitted when task
3728 switcher is clicked.)
3730 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3732 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3736 * src/hildon-animation-actor.c,
3737 * src/hildon-animation-actor.h: Added the animation actor class,
3738 this widget represents an animation actor for WM-assisted
3739 animation effects in the Hildon framework.
3741 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3743 * src/hildon-window-stack-private.h
3744 * src/hildon-window-stack.c
3745 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3746 Avoid calling gtk_widget_show() again indirectly from
3747 hildon_stackable_window_show()
3749 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3754 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3756 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3757 (hildon_time_selector_init): Move the construction of the hours and
3758 ampm columns to the constructor to preserve the order the columns
3761 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3763 * src/hildon-picker-dialog.c:
3764 (hildon_picker_dialog_class_init): Connect a realize method.
3765 (+hildon_picker_dialog_realize): Setup the interaction mode here
3767 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3768 yet, do it during the realize instead.
3769 (_on_dialog_response):
3770 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3771 if the widget is not realized, to avoid the dialog response before it
3774 Avoid premature responses in the HildonPickerDialog that can cause it
3775 to be hidden before it's even shown.
3777 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3779 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3780 (on_selector_columns_changed), (requires_done_button),
3781 (+prepare_action_area), (setup_interaction_mode),
3782 (_hildon_picker_dialog_set_selector):
3784 Split the interaction mode setup into preparation of the
3785 action area (prepare_action_area()) and the connection of
3786 the signals in setup_interaction_mode() and update the code to
3789 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3791 * src/hildon-pannable-area.c,
3792 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3793 per second to 15, we will check if this is ok regarding
3796 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3798 * src/hildon-pannable-area.c,
3799 (hildon_pannable_axis_scroll): Avoid resize if we already have
3800 reached overshoot_max.
3802 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3804 * src/hildon-pannable-area.c,
3805 (hildon_pannable_area_init),
3806 (hildon_pannable_area_realize),
3807 (hildon_pannable_area_size_allocate),
3808 (hildon_pannable_area_map),
3809 (hildon_pannable_area_unmap),
3810 (hildon_pannable_draw_vscroll),
3811 (hildon_pannable_draw_hscroll),
3812 (hildon_pannable_area_expose_event),
3813 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3814 pannable are to avoid the expose events go to the window and
3815 redraw the window. We save this way that part of the stack and the
3816 paint_boxes. We had to change the positions of the elements when
3819 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3821 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3822 * src/hildon-color-chooser-dialog.c:
3823 (hildon_color_chooser_dialog_init):
3824 * src/hildon-font-selection-dialog.c:
3825 (hildon_font_selection_dialog_init),
3826 (hildon_font_selection_dialog_show_preview):
3827 * src/hildon-get-password-dialog.c:
3828 * src/hildon-login-dialog.c:
3829 * src/hildon-set-password-dialog.c:
3830 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3831 * src/hildon-time-picker.c: (hildon_time_picker_init):
3833 Remove obsolete logical string IDs and update to the appropriate ones.
3835 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3837 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3840 that happens if the window hasn't been realized yet.
3842 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3843 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3845 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3848 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3851 Fixes: NB#98537 (Device hangs in account settings dialog)
3853 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3855 * configure.ac: post release version bump.
3856 * debian/changelog: version bump
3858 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3863 * configure.ac: Bump version.
3864 * debian/changelog: Updates.
3866 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3868 Added a new function to the HildonTimeButton widget that allows to
3869 change the step of the minutes in the selector associated with the
3870 button: hildon_time_button_new_step
3872 * src/hildon-time-button.c,
3873 (hildon_time_button_init),
3874 (hildon_time_button_new),
3875 (hildon_time_button_new_step):
3876 * src/hildon-time-button.h: Added the new function and refactored
3878 * examples/hildon-time-button-example.c,
3879 (main): We have replaced the function without parameters with the
3880 function with the steps set to 5
3882 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3884 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3886 * src/hildon-time-selector.c,
3887 (hildon_time_selector_class_init),
3888 (hildon_time_selector_constructor),
3889 (hildon_time_selector_get_property),
3890 (hildon_time_selector_set_property),
3891 (_create_minutes_model),
3892 (hildon_time_selector_new_step),
3893 (hildon_time_selector_set_time),
3894 * src/hildon-time-selector.h: Added a new property to the
3895 HildonTimeSelector (minutes-step), we use that property to control
3896 the steps between the minutes in the list of the selector. We have
3897 added a new function to the API to create a widget changing the
3898 step: hildon_time_selector_new_step.
3900 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3902 * src/hildon-time-selector.c,
3903 (hildon_time_selector_class_init),
3904 (hildon_time_selector_constructor),
3905 (hildon_time_selector_init): Overrided the construct function when
3906 creating the time selector object. We have moved the minutes model
3907 handling code from the init to the new construction function:
3908 hildon_time_selector_constructor.
3910 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3912 * examples/hildon-date-button-example.c: (main): Use the new
3913 hildon_date_button_new_with_year_range() method in the example.
3914 * src/hildon-date-button.c:
3915 (+hildon_date_button_new_with_year_range): New public method
3916 to conveniently create a HildonDateButton with a custom year range
3917 in its HildonDateSelector.
3918 * src/hildon-date-button.h: Add the new public method definition.
3920 Fixes: NB#97908 (Not possible to change the year range in
3921 HildonDateSelector/HildonDateButton)
3923 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-date-selector.c:
3926 (+hildon_date_selector_set_property),
3927 (+hildon_date_selector_get_property),
3928 (hildon_date_selector_class_init): Install new properties "min-year"
3929 and "max-year" to define boundaries for the year column.
3930 (_create_year_model): Use the boundary properties to populate the model.
3931 (+hildon_date_selector_new_with_year_range): New public method to
3932 create a HildonDateSelector with a user defined year range.
3933 (hildon_date_selector_select_current_date): Use the new boundaries to
3934 calculate the iterator of current year.
3935 * src/hildon-date-selector.h: Add the new public method definition.
3937 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3939 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3940 Install a constructor method.
3941 (+hildon_date_selector_construct_ui): construct the widget.
3942 (+hildon_date_selector_constructor): new constructor.
3943 (+hildon_date_selector_init): move out widget construction code to
3944 the new constructor.
3946 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3948 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3949 that there's actually a month or year selected before obtaining them.
3950 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3951 of the HildonTouchSelector::changed signal, as it was emitted on every
3952 single item selection.
3954 Fix some warnings and possible crashers due to the selection restoring.
3956 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3959 the signal handlers only after creating the dialog instead of on every
3962 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3964 * src/hildon-button.c (hildon_button_init)
3965 * src/hildon-check-button.c (hildon_check_button_init)
3966 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3967 focus when clicked by default.
3969 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3974 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3976 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3977 Alejandro G. Castro (alex@igalia.com)
3979 * src/hildon-picker-dialog.c:
3980 (hildon_picker_dialog_class_init): install new "center-on-show"
3982 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3983 (hildon_picker_dialog_set_property): add setter code for the new
3985 (hildon_picker_dialog_get_property): add getter code for the new
3987 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3988 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3991 Fixes: NB#92849 (Selected item is not always visible when
3992 HildonTouchSelector is shown)
3994 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3996 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3997 Alejandro G. Castro (alex@igalia.com)
3999 * src/hildon-touch-selector.c:
4000 (_create_new_column): Do not connect to the "realize" signal of the
4002 (hildon_touch_selector_append_column): center on the selected items
4003 when a new column is appended.
4004 (hildon_touch_selector_select_iter): Factor out the code to select a
4005 column to hildon_touch_selector_scroll_to().
4006 (+search_nearest_element): Method to retrieve the nearest selected
4007 element to the visible area of the pannable area in a column.
4008 (+on_realize_cb): scroll to the initially selected item.
4009 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4010 the pannable area is realized, otherwise delay this until it is.
4011 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4012 selected items of a given column.
4013 (+hildon_touch_selector_center_on_selected): Public method to center
4014 all columns on the nearest selected item.
4015 * src/hildon-touch-selector.h: Add definition for
4016 hildon_touch_selector_center_on_selected().
4018 Implement public API to ensure visibility of all selected items in
4019 a HildonTouchSelector.
4021 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4023 Fixed a problem in the fading when calling the scroll_to API, and
4024 improve scrollbar fading handling.
4026 * src/hildon-pannable-area.c,
4027 (hildon_pannable_area_grab_notify): avoid the timeout when the
4029 (hildon_pannable_area_button_press_cb),
4030 (hildon_pannable_area_motion_notify_cb): Code style changes.
4031 (hildon_pannable_area_button_release_cb): Review the conditions
4032 when releasing the mouse button to avoid unrequired fading
4034 (hildon_pannable_area_scroll_to): Do not calculate and set the
4035 velocity if the scroll is not required.
4037 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4039 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4040 Don't check whether the new selector is NULL: it cannot be.
4041 Hold a reference to the selector while doing the replacement.
4043 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4046 unnecessary size_request in a removed widget.
4048 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4051 an unnecessary reference tracking that was leaking.
4053 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4055 Added delayed motion notify event handling, this way we can
4056 discard redrawing if more than 25 events arrive per second.
4058 * src/hildon-pannable-area.c,
4059 (hildon_pannable_area_init): Initialized the new private atributes
4060 controlling this timeout
4061 (hildon_pannable_area_dispose): Remove the timeout that controls
4062 the motion notify events.
4063 (hildon_pannable_area_scroll): Added a condition to control the
4064 use of the acceleration.
4065 (hildon_pannable_area_motion_event_scroll_timeout),
4066 (hildon_pannable_area_motion_event_scroll): Added this two
4067 functions, they handle the motion notify events inside the
4069 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4070 to the scroll method with the new function.
4071 (hildon_pannable_area_button_release_cb): We have to remove the
4072 timeout handler and move to the last position if the last motion
4073 events were not handled.
4075 Fixes: NB#97028 (Pannable area updates on every motion event)
4077 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4079 * src/hildon-pannable-area.c,
4080 (hildon_pannable_area_get_topmost): Added a new parameter to
4081 filter the the windows that do not include those events. Added
4082 also a condition when finding the window to filter windows that do
4083 not ask for those events.
4084 (hildon_pannable_area_button_press_cb),
4085 (hildon_pannable_area_button_release_cb),
4086 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4087 topmost function, we have added the new parameter.
4089 Fixes: NB#97458 (Pannable area prevents propagation of button
4092 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4094 * src/hildon-pannable-area.c,
4095 (hildon_pannable_area_initial_effect): Added controls before
4096 launching the timeout and the idle functions.
4097 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4098 of the method, in some situations it can return with TRUE and 0 in
4100 (hildon_pannable_area_button_press_cb): We do not need to set
4101 DELAY for fading out here.
4103 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4105 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4107 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4108 post-cleaning if the selection is not NULL.
4110 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4113 all items before restoring the selection.
4115 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-touch-selector.c:
4118 (+hildon_touch_selector_unselect_all):
4119 * src/hildon-touch-selector.h: New API to unselect all items in a
4120 column of the touch selector.
4122 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4124 * src/hildon-pannable-area.c,
4125 (hildon_pannable_area_redraw): Added a call to the refresh
4126 function inside the redraw because apparently in some cases the
4127 change in the adjustment does not imply a size allocate.
4129 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4130 despite the view not being scrollable)
4132 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4134 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4135 leak. Check for NULL before attempting to set the window title.
4137 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4139 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4140 whether to show or not the 'Done' button each time the dialog is
4141 shown, as it depends on the HildonTouchSelector selection mode.
4143 Fixes: NB#96226 (In multiple selection mode Done button is shown
4144 sometimes in listpicker)
4146 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4148 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4149 for the number of columns in the HildonTouchSelector more than once.
4151 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-touch-selector.c: Minor documentation fixes.
4155 * src/hildon-picker-dialog.c (+_dialog_update_title)
4156 (_select_on_selector_changed_cb)
4157 (_update_title_on_selector_changed_cb)
4158 (on_selector_columns_changed): Update dialog title when there's no
4159 'Done' button and also when the number of columns in the selector
4163 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4164 (+_selection_changed, hildon_picker_button_on_dialog_response)
4165 (hildon_picker_button_selector_selection_changed)
4166 (+hildon_picker_button_selector_columns_changed)
4167 (hildon_picker_button_set_selector): Update button value and emit
4168 'value-changed' when the number of columns in the selector
4172 Fixes: NB#96225 (Dialog titles are not shown according to the
4173 values selected in the list picker)
4175 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4177 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4178 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4179 New "arrow-width" and "arrow-height" style properties to set the
4180 size of the arrow button.
4181 Set name of arrow button ("hildon-edit-toolbar-arrow").
4183 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4184 graphics from theme)
4186 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-picker-button.c:
4189 (hildon_picker_button_selector_selection_changed): Use
4190 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4191 the dialog is present.
4193 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4194 the selection is accepted in the dialog)
4196 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4198 * src/hildon-color-chooser.h
4199 * src/hildon-color-chooser-dialog.h:
4200 Added G_BEGIN_DECLS and G_END_DECLS
4202 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4204 (_clean_current_selection): plug a leak in the list.
4206 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4208 * src/hildon-picker-dialog.c:
4209 (+free_path_list): Method to free a GList of GtkTreePaths.
4210 (_clean_current_selection), (_save_current_selection),
4211 (_restore_current_selection): Save the current selection in
4212 as a list of lists, to support multiple selection properly.
4214 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4216 patch by Claudio Saavedra (csaavedra@igalia.com)
4218 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4219 Store the press position.
4220 (+hildon_text_view_button_release_event): If the release position is
4221 close enough to the press position, move the cursor here. Otherwise,
4223 (hildon_text_view_class_init): Override GtkTextView press, release, and
4224 motion event handlers, disabling this way text selection through
4225 pointer interaction, and allowing the container widget to handle the
4228 Fixes: NB#95828 (HildonTextView functionality)
4230 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4232 Based on a patch by Iván Gómez (igomez@igalia.com)
4234 * src/hildon-button.[ch]
4235 * src/hildon-calendar.c
4236 * src/hildon-check-button.c
4237 * src/hildon-date-editor.c
4238 * src/hildon-date-selector.c
4239 * src/hildon-picker-button.c
4240 * src/hildon-time-editor.c
4241 * src/hildon-time-selector.c
4242 * src/hildon-touch-selector.[ch]:
4243 Documentation updates
4245 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4247 * src/hildon-pannable-area.c,
4248 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4249 threshold, it was required due to X events handling.
4251 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4253 * src/hildon-pannable-area.c,
4254 (hildon_pannable_area_grab_notify),
4255 (hildon_pannable_area_initial_effect),
4256 (hildon_pannable_area_button_press_cb),
4257 (hildon_pannable_area_button_release_cb),
4258 (hildon_pannable_area_scroll_cb),
4259 (hildon_pannable_area_scroll_to): Review the timeout management of
4260 the scrollbar, the frecuency was incorrectly set.
4262 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4264 * src/hildon-picker-button.c:
4265 (+hildon_picker_button_on_dialog_response),
4266 (hildon_picker_button_clicked): Present the dialog instead of
4267 running it with gtk_dialog_run().
4269 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4272 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4274 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4275 (hildon_app_menu_finalize): When a window is hidden it doesn't
4276 emit notify::is-topmost, so make sure than the menu also
4277 disappears in that case.
4278 (parent_window_topmost_notify): Renamed from parent_window_hidden
4280 Fixes: NB#94460 (stackable window's menu is not closed when its
4283 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-touch-selector-entry.c:
4286 (+hildon_touch_selector_entry_set_input_mode),
4287 (+hildon_touch_selector_entry_get_input_mode):
4288 * src/hildon-touch-selector-entry.h: New methods to access the input
4289 mode in the selector's entry.
4291 Fixes: NB#93410 (API required for setting IM mode in
4292 HildonTouchSelectorEntry)
4294 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4296 * configure.ac: post release version bump.
4297 * debian/changelog: version bump
4299 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4304 * configure.ac: Bump version.
4305 * debian/changelog: Updates.
4307 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4309 * src/hildon-touch-selector.c:
4310 (_hildon_touch_selector_has_multiple_selection): No need
4311 to initialize the variables here.
4313 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4315 * src/hildon-note-private.h
4316 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4317 (hildon_note_finalize, hildon_note_rebuild): Close information
4318 notes when they receive a button press.
4320 Fixes: NB#89890 (Information notes does not get disappeared after
4323 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4325 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4326 mark from the wizard title, as it's not really necessary. Also,
4327 do not display the page title if not set.
4329 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4331 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4332 (parent_window_hidden): Use the window's "is-topmost" property to
4333 detect when to hide the menu.
4335 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4337 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4338 (hildon_app_menu_finalize): If the parent window of the menu is
4339 hidden, hide the menu too.
4341 Fixes: NB#94460 (stackable window's menu is not closed when its
4344 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4347 * debian/libhildon1-examples.install
4349 * examples/Makefile.am:
4350 Use dh_install to install all examples.
4351 Use DEB_SRCDIR instead of defining SOURCE_DIR
4353 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4355 * configure.ac: post release version bump.
4356 * debian/changelog: version bump
4358 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4363 * configure.ac: bump version
4364 * debian/changelog: updates
4365 * debian/control: bump gtk+ dependency
4367 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4369 patch by Christian Dywan (christian@imendio.com)
4371 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4372 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4374 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-check-button.c (hildon_check_button_init)
4377 (hildon_check_button_class_init, hildon_check_button_style_set)
4378 (hildon_check_button_apply_style):
4379 New "checkbox-size" style property.
4381 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4382 larger / configurable size)
4384 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4386 * configure.ac: post release version bump.
4387 * debian/changelog: version bump
4389 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4394 * configure.ac: bump version
4395 * debian/changelog: updates
4397 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4399 * doc/hildon-sections.txt
4400 * src/hildon-pannable-area.c
4401 * src/hildon-program.c
4402 * src/hildon-time-editor.c
4403 * src/hildon-touch-selector-entry.c:
4405 More documentation updates.
4407 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4409 * doc/hildon-sections.txt
4410 * src/hildon-caption.c
4411 * src/hildon-code-dialog.c
4412 * src/hildon-color-button.c
4413 * src/hildon-controlbar.c
4414 * src/hildon-date-editor.c
4415 * src/hildon-date-selector.c
4416 * src/hildon-edit-toolbar.c
4417 * src/hildon-find-toolbar.c
4418 * src/hildon-font-selection-dialog.c
4420 * src/hildon-program.c
4421 * src/hildon-range-editor.c
4422 * src/hildon-seekbar.c
4423 * src/hildon-time-editor.c
4424 * src/hildon-time-selector.c
4425 * src/hildon-volumebar-range.c
4426 * src/hildon-volumebar.c
4427 * src/hildon-vvolumebar.c
4428 * src/hildon-weekday-picker.c
4429 * src/hildon-window.c
4430 * src/hildon-wizard-dialog.c:
4432 Lots of documentation fixes.
4434 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4436 Patch contributed by Iván Gómez (igomez@igalia.com)
4438 * src/hildon-check-button.c:
4439 * src/hildon-date-button.c:
4440 * src/hildon-date-selector.c:
4441 * src/hildon-dialog.c:
4442 * src/hildon-edit-toolbar.c:
4443 * src/hildon-entry.c:
4444 * src/hildon-picker-button.c:
4445 * src/hildon-program.c:
4446 * src/hildon-text-view.c:
4447 * src/hildon-time-button.c:
4448 * src/hildon-touch-selector-entry.c:
4449 * src/hildon-window-stack.c:
4451 Add more "since" tags to the new API.
4453 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4455 * doc/hildon-sections.txt: Add below method.
4456 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4457 version for the hildonized scale.
4458 * src/hildon-gtk.h: Add the definition.
4460 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4462 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4464 * doc/hildon-sections.txt: Add missing entries for new methods.
4466 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4468 Added API to pannable are in order to get its adjustments. We
4469 added two properties to manage the values we had in the private
4472 * src/hildon-pannable-area.c:
4473 (hildon_pannable_area_class_init): Added hadjustment and
4474 vadjustment properties in order to expose horizontal and vertical
4476 (hildon_pannable_area_get_property),
4477 (hildon_pannable_area_set_property): Added code to handle the new
4479 (hildon_pannable_area_get_hadjustment),
4480 (hildon_pannable_area_get_vadjustment): API functions to get the
4482 * src/hildon-pannable-area.h:
4483 (hildon_pannable_area_get_hadjustment),
4484 (hildon_pannable_area_get_vadjustment): API functions to get the
4487 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4489 Fixed some leaks, after valgrinding.
4491 * src/hildon-touch-selector.c:
4492 (_default_print_func): Fixed a leak.
4493 (hildon_touch_selector_append_column): Fixed a leak.
4494 * src/hildon-date-button.c:
4495 (hildon_date_button_init): Fixed a leak.
4496 * src/hildon-date-selector.c
4497 (hildon_date_selector_finalize): Fixed a leak.
4499 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4501 Based on a patch by Christian Dywan (christian@imendio.com)
4503 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4505 * src/hildon-gtk.h: Add definition.
4507 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4509 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4511 * src/hildon-picker-button.c: (hildon_picker_button_init),
4512 (hildon_picker_button_new): Set the HildonButton::style property
4513 in the init method, to propagate the value to the derived classes.
4515 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4517 * src/hildon-button.c: (hildon_button_class_init): Do not make
4518 the "style" property a construct property.
4520 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-wizard-dialog.h
4523 * src/hildon-wizard-dialog.c
4524 (hildon_wizard_dialog_set_forward_page_func)
4525 * src/hildon-pannable-area.h
4526 * src/hildon-pannable-area.c
4527 (hildon_pannable_area_set_size_request_policy):
4528 Documentation fixes.
4530 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4532 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4534 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4536 * doc/hildon-sections.txt: Added sections file.
4538 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4541 * src/*.[ch]: Updates.
4543 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4545 * examples/hildon-progress-indicator-example.c: new file
4546 * examples/Makefile.am: include the new example program
4548 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4550 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4552 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4554 * configure.ac: post release version bump
4555 * debian/changelog: version bump
4557 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4562 * configure.ac: bump version
4563 * debian/changelog: updates
4564 * debian/control: bump gtk+ dependency
4566 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-dialog.c: Mark as deprecated.
4569 * src/hildon-dialog.h: Mark as deprecated.
4570 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4571 from HildonDialog and still work, even if
4572 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4573 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4575 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4576 maemo changes) instead)
4578 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4580 * src/hildon-pannable_area.h:
4581 * src/hildon-pannable_area.c:
4582 (hildon_pannable_area_class_init),
4583 (hildon_pannable_area_set_property),
4584 (hildon_pannable_area_get_property),
4585 (hildon_pannable_area_size_request),
4586 (hildon_pannable_area_get_size_request_policy),
4587 (hildon_pannable_area_set_size_request_policy): Added new API
4588 allowing applications to control the request policy. Now they can
4589 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4590 children allocation (HILDON_MOVEMENT_CHILDREN).
4592 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4596 (hildon_gtk_tree_view_set_ui_mode)
4597 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4598 mode of treeviews and iconviews.
4600 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4602 * src/hildon-touch-selector-entry.c:
4603 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4604 of a GtkEntry to get proper theming.
4606 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4607 widget, not GtkEntry)
4609 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4611 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4612 no HildonWizardDialogPageFunc.
4614 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4616 Patch contributed by Iván Gómez (igomez@igalia.com)
4618 * src/hildon-app-menu.c:
4619 * src/hildon-button.c:
4620 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4621 * src/hildon-stackable-window.c:
4622 * src/hildon-time-selector.c:
4623 * src/hildon-touch-selector.c:
4624 * src/hildon-window.c:
4626 Add more "since" tags to the new API in hildon 2.2.
4628 2008-12-05 Tim Janik <timj@imendio.com>
4630 Patch contributed by Christian Dywan (christian@imendio.com)
4632 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4633 HildonSizeType, which are supplied by Gtk+ now.
4635 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4637 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4638 (with maemo changes) instead)
4640 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4642 Patch contributed by Iván Gómez (igomez@igalia.com)
4644 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4647 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4649 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4650 (some_page_func), (main): Update the example to use a
4651 HildonWizardDialogPageFunc function.
4653 * src/hildon-wizard-dialog-private.h: Add private data for
4654 the HildonWizardDialogPageFunc function usage.
4656 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4657 (destroy), (hildon_wizard_dialog_init), (response),
4658 (hildon_wizard_dialog_set_forward_page_func):
4659 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4660 that applications can use to stop a HildonWizardDialog to jump to
4663 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4666 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-program.h
4669 * src/hildon-program-private.h
4670 * src/hildon-program.c (hildon_program_init)
4671 (hildon_program_set_common_app_menu)
4672 (hildon_program_get_common_app_menu):
4673 New API for setting a common HildonAppMenu for all
4674 HildonStackableWindows registered with the HildonProgram.
4676 * src/hildon-stackable-window.c
4677 (hildon_stackable_window_toggle_menu):
4678 Use the common HildonAppMenu if a window doesn't have a specific
4681 * src/hildon-app-menu-private.h
4682 * src/hildon-app-menu.c
4683 (hildon_app_menu_get_parent_window):
4684 Function to obtain the window a HildonAppMenu is attached to.
4685 (hildon_app_menu_set_parent_window):
4686 Hide the menu if the parent window is set to NULL.
4688 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4691 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4692 search widget to popup.
4694 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4696 * configure.ac: post release version bump
4697 * debian/changelog: version bump
4699 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4704 * configure.ac: bump version
4705 * debian/changelog: updates
4707 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4709 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4711 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4712 (hildon_window_stack_window_realized)
4713 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4714 Set the leader GdkWindow when a window is stacked and realized,
4715 unset it when it's unstacked.
4716 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4718 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4720 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-stackable-window.h
4723 * src/hildon-window-stack.h:
4724 Protect definition of HildonWindowStack using the preprocessor.
4726 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4728 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4729 Fix warning if all menu items are hidden.
4731 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4733 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4735 * src/hildon-controlbar.c:
4736 * src/hildon-hvolumebar.c:
4737 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4738 Multiple scale size defines updates.
4740 Fixes: NB#94322 (Scale Updates)
4742 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4744 * examples/hildon-app-menu-example.c (create_menu)
4745 Show items after adding them to the menu, as in the future the
4746 menu will no longer call gtk_widget_show() on the added items.
4748 * src/hildon-app-menu.c:
4749 Update example as explained above.
4751 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4753 * src/hildon-app-menu.c
4754 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4755 Make sure that all menu items have finger height.
4757 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4759 * src/hildon-picker-dialog.c:
4760 (_on_dialog_response), (_save_current_selection),
4761 (_restore_current_selection), (_clean_current_selection),
4762 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4763 Defined new functions in order to save the current internal selector
4764 selection previous open the dialog, in case that the use cancel the
4765 interaction, so the widget restores the previous selection.
4767 Fixes: NB#92032 (In calendar application, date values in 'new event'
4770 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4772 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-button.c: Add a reference to the button examples in
4775 hildon-button-example.c
4777 * examples/hildon-button-example.c: Added examples of the most
4778 common button layouts.
4780 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4782 * src/hildon-app-menu.c (hildon_app_menu_show)
4783 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4785 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4787 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4789 * src/hildon-picker-dialog.c:
4790 (hildon_picker_dialog_init): Initialize the signal id for
4791 HildonTouchSelector::columns-changed.
4792 (+on_selector_columns_changed): Set up the interaction mode everytime a
4793 column is added or removed from the HildonTouchSelector.
4794 (_hildon_picker_dialog_set_selector): Connect to
4795 HildonTouchSelector::columns-changed and keep track of it.
4797 Make sure to update the interaction mode of the dialog everytime a
4798 column is added or removed in the HildonTouchSelector.
4800 Fixes: NB#93228 (Done button is not shown always in listpicker)
4802 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4804 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4805 a new ::columns-changed signal.
4806 (hildon_touch_selector_append_column): Emit ::columns-changed.
4807 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4809 Add a ::columns-changed signal, emitted when the number of columns in a
4810 HildonTouchSelector changes.
4812 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4815 (_hildon_picker_dialog_set_selector): Factor out the code
4816 to set up the dialog interaction mode.
4818 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4820 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4821 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4822 to signal_changed_id.
4824 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4826 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4829 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4831 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4832 Updated the logical ids related to ampm format, as now it is required to
4833 show it correctly localized even on languages with no default
4834 abbreviations for am or pm
4835 (_check_am_pm_format): check correctly the 24h format gconf property
4837 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4839 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-button.c: Documentation updates.
4843 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4845 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4846 * src/hildon-caption.c: (hildon_caption_class_init):
4847 * src/hildon-color-button.c: (hildon_color_button_class_init):
4848 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4849 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4850 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4851 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4853 Remove deprecated GTK+ marshalers and replace them with the ones
4854 provided by GLib, for those available, add a marshaler for
4855 BOOLEAN:VOID, which is not available in GLib, and use it.
4857 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4859 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4860 the text from the previous column if there is no
4861 HildonTouchSelectorColumn::text-property set.
4863 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4865 * src/hildon-button.h
4866 * src/hildon-button.c (hildon_button_set_property)
4867 (hildon_button_get_property, hildon_button_class_init)
4868 (hildon_button_set_style, hildon_button_get_style):
4869 New "style" property to change the visual appearance of the
4872 * src/hildon-picker-button.c (hildon_picker_button_new):
4873 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4875 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4876 HildonButton look like PickerButton)
4878 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4881 column while building the default string.
4883 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4885 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4886 scroll indicator by default.
4888 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4890 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4892 * src/hildon-main.c: Fix the documentation for hildon_init()
4894 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4896 * doc/hildon-docs.sgml
4900 * src/hildon-window-stack-private.h
4901 * src/hildon-window-stack.h
4902 * src/hildon-window-stack.c:
4903 New HildonWindowStack object, that adds support for multiple
4904 stacks of windows per process.
4906 * src/hildon-stackable-window-private.h
4907 * src/hildon-stackable-window.h
4908 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4909 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4910 (hildon_stackable_window_show, hildon_stackable_window_hide)
4911 (hildon_stackable_window_class_init)
4912 (hildon_stackable_window_init):
4913 Use HildonWindowStack for stack management.
4915 * src/hildon-program.c (hildon_program_pop_window_stack)
4916 (hildon_program_peek_window_stack)
4917 (hildon_program_go_to_root_window):
4918 Add a fallback implementation to the deprecated functions using
4921 * examples/hildon-stackable-window-example.c:
4922 Use the new HildonWindowStack API.
4924 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4926 * src/hildon-stackable-window-private.h
4927 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4928 (hildon_stackable_window_hide, hildon_stackable_window_init):
4929 Remove all window stack management.
4931 * src/hildon-program-private.h
4932 * src/hildon-program.h
4933 * src/hildon-program.c (hildon_program_init)
4934 (hildon_program_pop_window_stack)
4935 (hildon_program_peek_window_stack)
4936 (hildon_program_go_to_root_window):
4937 Remove all window stack management and mark functions as
4940 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-app-menu.c (hildon_app_menu_realize):
4943 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4945 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4947 * configure.ac: post release version bump
4948 * debian/changelog: version bump
4950 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4955 * configure.ac: bump version
4956 * debian/changelog: updates
4958 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4960 Based on initial code by Christian Dywan (christian@imendio.com)
4962 * doc/hildon-docs.sgml: Add section for hildon-main.
4963 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4964 * src/Makefile.am: Add new hildon-main.[ch]
4965 * src/hildon-defines.h: Update the icon sizes.
4966 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4967 new library initialization files and register icon sizes.
4968 * src/hildon-main.h: New declarations.
4969 * src/hildon.h: Include hildon-main.h
4971 Add new initialization functions to the library. These methods
4972 will register the hildon specific icon sizes and can be used in the
4973 future for other hildon specific bits.
4975 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4977 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4979 * src/hildon-window.c: (hildon_window_realize),
4980 (hildon_window_notify), (-hildon_window_update_title): Do not set
4981 the application name in the window title.
4983 Fixes: NB#89754 (Applications shouldn't display their names in the
4986 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4988 * src/hildon-note-private.h:
4989 * src/hildon-note.c: (hildon_note_set_property),
4990 (hildon_note_get_property), (hildon_note_class_init),
4991 (hildon_note_init), (hildon_note_finalize),
4992 (hildon_note_new_confirmation_with_icon_name),
4993 (hildon_note_new_information_with_icon_name):
4995 No need to mark as deprecated the actual code. Revert
4996 to avoid missing symbols in widgets using deprecated API.
4998 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5000 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5002 * src/hildon-volumebar.h
5003 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5004 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5006 * src/hildon-helper.h
5007 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5008 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5010 * examples/Makefile.am:
5011 Deprecate hildon-insensitive-example
5013 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5015 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5017 * examples/hildon-pannable-area-buttons-scroll-example.c:
5018 Make all buttons finger height
5020 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5022 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5024 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5025 update the day model only if it is really required, and to avoid the
5026 full-reconstruction aproach. Now it only add or remove the required days.
5028 The purpose of this is avoid superfluous HildonTouchSelector::changed
5031 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5032 with strange parameters)
5034 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5036 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5038 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5039 the WINDOW_TYPE property.
5041 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5043 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5046 Fix dependency to allow parallel compilation with make -jX
5048 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5050 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5051 color frame and some minor tweaks to make it more consistent with
5054 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5055 highlighted but not visible)
5057 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5059 * examples/Makefile.am: Fixed typo in the Makefile.am.
5061 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5063 Reviewed the use of MAEMO_GTK define, now we add the define in the
5064 compilation line, and we also add it to the pc file.
5066 * configure.ac: Added MAEMO_GTK define to the compilation command
5067 and removed it from the config.h.
5069 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5070 do not have to take care about this define if the library was
5074 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5076 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5078 * examples/Makefile.am,
5079 * examples/hildon-pannable-area-buttons-scroll-example.c,
5080 * examples/hildon-pannable-area-gesture-signals-example.c,
5081 * examples/hildon-pannable-area-scroll-jump-example.c,
5082 * examples/hildon-pannable-area-tree-view-example.c:
5083 Renamed the pannable area examples, now they have more meaningful
5086 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5088 * src/hildon-touch-selector.c:
5089 (hildon_touch_selector_set_column_selection_mode): Used of
5090 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5091 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5092 to avoid re-seting the same selection mode.
5094 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5095 breaks HildonPickerDialog)
5097 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5099 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5100 conditional in the Makefile.am
5102 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5105 Remove unused methods.
5107 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5109 * src/hildon-button.c (hildon_button_init):
5110 Make button images center-aligned by default
5112 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5115 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5116 activated, we have to think about how to deal with both defines
5117 MAEMO_GTK and MAEMO_CHANGES.
5119 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5121 * examples/hildon-app-menu-example.c (create_menu): Make all
5122 buttons finger size.
5124 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5126 Fixed the compilation without maemo gtk adding ifdefs with
5127 MAEMO_GTK define to the code, we have to check this version more
5130 * examples/Makefile.am: Added control to avoid some examples that
5131 just make sense with maemo gtk.
5134 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5135 hildon modes with the define.
5137 * examples/hildon-edit-toolbar-example.c,
5138 (create_icon_view): Create the icon view without hildon-gtk
5139 helpers if we are not using maemo gtk.
5141 * src/hildon-touch-selector.c,
5142 (_create_new_column): Create the treeview without hildon-gtk
5143 helpers if we are not using maemo gtk.
5145 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5147 * src/hildon-pnnable-area.c,
5148 (hildon_pannable_area_dispose),
5149 (hildon_pannable_area_button_press_cb),
5150 (hildon_pannable_area_child_mapped),
5151 (hildon_pannable_area_add),
5152 (hildon_pannable_area_remove): Added code to control the position
5153 of the event_window when adding and removing children from the
5154 pannable. We have to raise the event window when the child is
5157 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5158 selection mode using custom widget inside pannable)
5160 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5162 * configure.ac: post release version bump
5163 * debian/changelog: version bump
5165 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5170 * configure.ac: bump version
5171 * debian/changelog: updates
5173 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5175 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5176 search mode, in order to avoid lose the focus on the treeview when
5177 a hw key (like enter) is pressed.
5179 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5180 in HildonDateSelector dialog)
5182 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5184 * debian/rules: Added --enable-maintainer-mode
5185 * Makefile.am: Added ACLOCAL_AMFLAGS
5187 This allows to properly regenerate the Makefiles if you modify the
5188 configure.ac or any Makefile.am.
5190 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5192 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5193 properties, not needed at all.
5195 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5197 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5199 * src/hildon-note.c: (hildon_note_set_property),
5200 (hildon_note_get_property), (hildon_note_class_init),
5201 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5202 (hildon_note_new_confirmation_add_buttons): Remove icons.
5203 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5204 (hildon_note_new_information_with_icon_name): Deprecate.
5205 (hildon_note_new_confirmation): Act directly, without calling
5206 the deprecated constructor.
5207 (hildon_note_new_information): Act directly, without calling
5208 the deprecated constructor.
5209 * src/hildon-note.h: Mark deprecate methods as such.
5210 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5211 not run tests on the deprecated methods if built with deprecation
5214 Fixes: NB#91688 (Never show icons in information notes/confirmation
5217 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5220 (hildon_app_menu_key_press): Remove leftover usage of the
5221 private structure in HildonAppMenu struct.
5222 * src/hildon-app-menu.h: Remove leftover private structure
5223 from the HildonAppMenu struct.
5225 Fixes a crasher when using the HildonAppMenu.
5227 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5229 * src/hildon-picker-dialog.c: Use appropriate logical id
5230 for the default "Done" text.
5232 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5234 * configure.ac: post release version bump
5235 * debian/changelog: version bump
5237 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5239 Modified the way to scroll to the current selection just when the touch
5240 selector is shown on the screen, avoiding a g_idle. Added too a property
5241 to configure this behaviour. See hildon_pannable_area_jump_to_child
5242 documentation for more information.
5244 * src/hildon-touch-selector.c
5245 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5246 Added 'initial-scroll' property
5247 (hildon_touch_selector_set_property): Added
5248 (hildon_touch_selector_map): Removed as not required anymore
5249 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5250 only a concrete column, instead of iterate along all the columns
5252 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5257 * configure.ac: bump version
5258 * debian/changelog: updates
5260 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5262 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5263 compilation time warnings.
5265 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5267 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5268 the default value for HildonPannableArea::mov-mode to
5269 HILDON_PANNABLE_AREA_MODE_VERT.
5271 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5273 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5275 Reverting following commit:
5277 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5279 * src/hildon-app-menu-private.h
5280 * src/hildon-app-menu.[ch]
5281 * src/hildon-button.[ch]
5282 * src/hildon-check-button.[ch]
5283 * src/hildon-entry.[ch]
5284 * src/hildon-pannable-area.[ch]
5285 * src/hildon-text-view.[ch]:
5286 Added private field to the object's structure.
5288 because it causes an ABI breakage. We will need to introduce these
5289 changes later at some point. See NB#91636 for an extensive
5290 explanation and status.
5292 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5294 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5296 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5297 remove special cases that are no longer necessary.
5299 Fixes: NB#91016 (Change toolbar sizes, simplification)
5301 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5303 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5304 is shown in the cancel note.
5306 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5308 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5309 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5310 (hildon_seekbar_init): Remove steppers, remove expose event.
5311 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5313 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5315 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5317 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5318 label font to "SmallSystemFont" for vertically arranged buttons.
5320 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5323 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5325 * src/hildon-check-button.c
5326 (hildon_check_button_set_active, hildon_check_button_clicked):
5327 Don't access private parts directly, use getters instead.
5329 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5331 * src/hildon-check-button.c (hildon_check_button_new):
5332 Align the contents of the check button to the left.
5334 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5336 * src/hildon-pannable-area.c,
5337 (hildon_pannable_area_scroll_to),
5338 (hildon_pannable_area_jump_to),
5339 (hildon_pannable_area_scroll_to_child),
5340 (hildon_pannable_area_jump_to_child): Replace the mapped
5341 precondition of these functions with the realized, it is the
5342 correct state of the widget in this case. Changed the
5343 documentation according to this modification.
5345 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5347 Added a new EXTRA_CFLAGS option to add the deprecated define to
5348 the compilation command. This way we can avoid using the define in
5349 the documentation compilation.
5351 * configure.ac: Defined EXTRA_CFLAGS.
5353 * examples/Makefile.am:
5355 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5357 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5359 * src/hildon-picker-dialog.c:
5360 Defined a utility macro with the desired touch selector height
5361 Removed currently unused separator, and title_label variables from
5363 (hildon_picker_dialog_init): Removed code related to the creation
5364 of unused private variables title_label and separator.
5365 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5366 to ensure correct visualization of the touch selector inside the dialog.
5367 * src/hildon-touch-selector.c
5368 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5369 ensure a concrete height of the widget.
5371 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5374 * tests/Makefile.am:
5376 Remove spurious whitespaces.
5378 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5380 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5381 compilation warning after the cancel button removal.
5383 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5385 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5387 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5388 Makefile.am, that way we can choose not to compile some examples
5389 and tests of the deprecated widgets.
5391 * examples/Makefile.am: Divided the sources in deprecated and
5394 * src/Makefile.am: Added undef statement of the deprecated
5395 symbol to the enums file generation process.
5397 * src/hildon-color-chooser-dialog.c
5398 * src/hildon-color-chooser-dialog.h
5399 * src/hildon-color-button.c
5400 * src/hildon-color-button.h
5401 * src/hildon-color-chooser.c
5402 * src/hildon-color-chooser.h
5403 * src/hildon-controlbar.c
5404 * src/hildon-controlbar.h
5405 * src/hildon-date-editor.c
5406 * src/hildon-date-editor.h
5407 * src/hildon-hvolumebar.c
5408 * src/hildon-hvolumebar.h
5409 * src/hildon-private.c
5410 * src/hildon-private.h
5411 * src/hildon-range-editor.c
5412 * src/hildon-range-editor.h
5413 * src/hildon-seekbar.c
5414 * src/hildon-seekbar.h
5415 * src/hildon-time-editor.c
5416 * src/hildon-time-editor.h
5417 * src/hildon-time-picker.c
5418 * src/hildon-time-picker.h
5419 * src/hildon-volumebar.c
5420 * src/hildon-volumebar.h
5421 * src/hildon-vvolumebar.c
5422 * src/hildon-vvolumebar.h
5423 * src/hildon-bread-crumb-trail.h
5424 * src/hildon-bread-crumb-trail.c
5425 * src/hildon-calendar-popup.c
5426 * src/hildon-calendar-popup.h
5427 * src/hildon-weekday-picker.c:
5428 * src/hildon-weekday-picker.h:
5429 * src/hildon-bread-crumb-widget.c:
5430 * src/hildon-bread-crumb-widget.h:
5431 * src/hildon-bread-crumb.c:
5432 * src/hildon-bread-crumb.h:
5433 * src/hildon-calendar.c:
5434 * src/hildon-calendar.h:
5435 * src/hildon-caption.c:
5436 * src/hildon-code-dialog.c:
5437 * src/hildon-code-dialog.h:
5438 * src/hildon-font-selection-dialog.c:
5439 * src/hildon-font-selection-dialog.h:
5440 * src/hildon-get-password-dialog.c:
5441 * src/hildon-get-password-dialog.h:
5442 * src/hildon-login-dialog.c:
5443 * src/hildon-login-dialog.h:
5444 * src/hildon-number-editor.c:
5445 * src/hildon-number-editor.h:
5446 * src/hildon-set-password-dialog.c:
5447 * src/hildon-set-password-dialog.h:
5448 * src/hildon-sort-dialog.c:
5449 * src/hildon-sort-dialog.h: This is the list of deprecated
5452 * src/hildon-touch-selector.c:
5453 * src/hildon-window.c: Added undef statement to avoid compilation
5456 * tests/Makefile.am: Divided the sources in deprecated and
5459 * tests/check_test.c,
5460 (configure_tests): Marked the deprecated code that was adding
5461 suites with deprecated tests.
5463 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5465 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5467 * src/hildon-touch-selector.c: (_default_print_func): Do not
5468 duplicate a string returned by gtk_tree_model_get(), it is already
5471 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5474 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5476 * src/hildon-pannable-area.c
5477 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5478 method, it had problems when adding a widget with viewport the
5479 second time. Now checks if it already has a viewport and uses it.
5481 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5484 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5486 * src/hildon-pannable-area.c,
5487 (hildon_pannable_area_scroll_to),
5488 (hildon_pannable_area_jump_to),
5489 (hildon_pannable_area_scroll_to_child),
5490 (hildon_pannable_area_jump_to_child): Added a precondition to the
5491 scroll and jump to functions: the widget must be mapped before we
5492 can safely call these functions. We have also added documentation
5493 to the functions to explain how to use them in this situation.
5496 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5498 Reviewed the threading handling of the pannable widget, we have
5499 used the gdk_threads_add_timeout function instead of the usual
5500 glib handlers. This avoids some problems with the threads.
5502 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5503 (hildon_pannable_area_initial_effect),
5504 (hildon_pannable_area_scroll_indicator_fade),
5505 (hildon_pannable_area_button_press_cb),
5506 (hildon_pannable_area_timeout),
5507 (hildon_pannable_area_motion_notify_cb),
5508 (hildon_pannable_area_button_release_cb),
5509 (hildon_pannable_area_scroll_cb),
5510 (hildon_pannable_area_scroll_to): Removed the
5511 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5512 gdk_threads_add_timeout.
5514 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5516 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5521 * configure.ac: bump version
5522 * debian/changelog: updates
5524 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5526 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5527 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5528 * src/hildon-color-chooser-dialog.c:
5529 (hildon_color_chooser_dialog_init):
5530 * src/hildon-font-selection-dialog.c:
5531 (hildon_font_selection_dialog_init):
5532 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5534 Remove all cancel/close-like dialogs, as these are not going to be
5537 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5539 * src/hildon-note.c: (hildon_note_rebuild),
5540 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5543 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5545 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5548 sure all buttons are shown, even the Cancel/Close-like ones.
5550 Fixes: NB#90861 (Custom Confirmation dialogs should be
5551 protected from cancel button removal)
5553 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5555 * debian/control: Change libhildon1-examples dependency from libhildon1
5557 * debian/libhildon1-examples.install
5559 * Makefile.am: Modified the final install directory for the examples on
5560 package libhildon1-examples
5561 * Makefile.static: Update clean target in order to remove all the binary
5564 Changes suggested by Claudio after review new libhildon1-examples package
5566 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5568 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5569 * src/hildon-touch-selector.c: Ditto.
5571 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5573 * debian/control: Added new package libhildon1-examples, in order to pack
5574 the current hildon examples as documentation
5575 * debian/rules: Not to compress .c files, modify some includes on the
5576 examples (as normally are compiled locally, but when installed it will
5577 require to include the installed libhildon1 library), and rename
5579 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5580 install all the example files on the new example package
5581 * examples/Makefile.static: Added static makefile that can be used to
5582 compile the examples, once installed the new example package
5583 * examples: Most of the examples were modified in order to grant that
5584 all use only '#include "hildon.h"', in order to be easy to prepare
5585 it on the example package
5587 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5590 * debian/libhildon1-dev.install
5591 * debian/libhildon1-doc.install:
5592 Move all gtk-doc files to a separate libhildon1-doc package.
5594 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5596 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5598 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5600 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5602 * debian/rules: Fixed a error in order to avoid unnecessary calls
5603 to autogen.sh on package building
5605 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5607 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5609 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5611 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5614 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-picker-button.c
5617 (hildon_picker_button_finalize):
5618 Free priv->done_button_text
5620 * src/hildon-time-button.c
5621 (hildon_time_button_set_time)
5622 * src/hildon-picker-button.c
5623 (hildon_picker_button_clicked)
5624 (hildon_picker_button_selector_selection_changed)
5625 (hildon_picker_button_set_selector)
5626 * src/hildon-date-button.c
5627 (hildon_date_button_set_date):
5628 Free strings returned by hildon_touch_selector_get_current_text()
5630 * src/hildon-button.c (hildon_button_construct_child):
5631 Fix leaks in priv->image and priv->label_box
5633 Fixes: NB#90535 (Memory leak in picker button)
5635 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5637 * src/hildon-button.c: (hildon_button_get_property): Do not access
5638 private elements directly, use getters instead.
5640 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-app-menu-private.h
5643 * src/hildon-app-menu.c
5644 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5645 Store the menu's parent window.
5647 * src/hildon-stackable-window.c
5648 (hildon_stackable_window_toggle_menu)
5649 (hildon_stackable_window_finalize):
5650 Set the menu's parent window when the menu is shown, unset it when
5653 * src/hildon-app-menu.c
5654 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5655 (hildon_app_menu_class_init):
5656 Send unhandled keyboard accelerators to the parent window.
5658 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5660 * src/hildon-stackable-window.c
5661 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5663 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5665 * configure.ac: post release version bump
5667 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5670 * configure.ac: Bump version
5671 * debian/changelog: Updates
5672 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5675 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5677 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5680 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5681 GtkMenu with Hildon style.
5683 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5685 * src/hildon-picker-button.c:
5686 (hildon_picker_button_set_done_button_text): Set the dialog's
5687 done button text here as well.
5689 Fixes: NB#90232 (Picker button does not set the label on done button
5690 for the second time)
5692 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5694 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5697 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5699 * src/hildon-app-menu.c (hildon_app_menu_insert)
5700 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5701 the HildonAppMenu to be activatable using keyboard accelerators
5702 when the menu is not being shown.
5704 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5706 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5708 * src/hildon-stackable-window.c
5709 (hildon_stackable_window_show):
5710 Don't hide old windows automatically when new windows are shown:
5711 this is now a task for the window manager.
5712 (hildon_stackable_window_class_init)
5713 (hildon_stackable_window_hide):
5714 Remove windows from the stack everytime they're hidden.
5715 (hildon_stackable_window_realize):
5716 Don't change the _NET_WM_WINDOW_TYPE property. Use
5717 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5718 it as a stackable window.
5720 * src/hildon-program.c
5721 (hildon_program_pop_window_stack):
5722 Just hide the window to remove it from the stack.
5723 (hildon_program_go_to_root_window):
5724 Don't call gtk_widget_show(), this is now a task for the window
5727 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5729 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5731 * src/hildon-button.c
5732 (hildon_button_construct_child):
5733 Don't pack anything in the button until text or image are
5734 set. This allows adding a custom child after creating the button
5735 with hildon_button_new().
5736 (hildon_button_finalize, hildon_button_class_init)
5737 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5738 alignment and the label box even when they're not packed in the
5741 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5743 * src/hildon-touch-selector.h:
5744 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5745 currently the type definition was using GTK_TYPE_VBOX
5746 * src/hildon-touch-selector.c:
5747 Added some implementation notes in order to clarify that any other widget
5748 added without the column related API will not be included on the
5749 selection logic, and how the widget is freed, as some people ask about
5751 (hildon_touch_selector_remove): Reimplemented in order to free properly
5752 the column related data when you remove the private hbox.
5753 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5754 to get a proper HildonTouchSelectorColumn documentation
5756 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5758 * src/hildon-touch-selector-entry.c:
5759 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5760 text in the GtkEntry and there is no item selected. Fixes a
5763 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-app-menu-private.h
5766 * src/hildon-app-menu.[ch]
5767 * src/hildon-button.[ch]
5768 * src/hildon-check-button.[ch]
5769 * src/hildon-entry.[ch]
5770 * src/hildon-pannable-area.[ch]
5771 * src/hildon-text-view.[ch]:
5772 Added private field to the object's structure.
5774 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5776 * configure.ac: post-release version bump
5778 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5782 * configure.ac: pre-release version bump
5784 * debian/changelog: updates.
5786 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5789 Disconnect the handler for HildonTouchSelector::changed.
5791 (hildon_picker_button_selector_selection_changed): Update the button
5792 value if the selection change was not triggered by the
5795 (hildon_picker_button_set_selector): connect to
5796 HildonTouchSelector::changed.
5798 Fixes: NB#89650 (Picker button is not updated, when selection in
5799 selector has changed)
5801 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5803 * src/hildon-picker-dialog.c
5804 (hildon_picker_dialog_realize): Removed as not required
5805 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5806 * src/hildon-picker-button.c
5807 (_current_selector_empty): New function, checks if the selector is empty
5808 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5809 if the current selector is empty, in order to avoid to show the dialog
5810 close the dialog in this case (and shows a g_warning).
5812 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5814 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5816 * src/hildon-pannable-area.c,
5817 (hildon_pannable_area_scroll): Added clause to stop movement when
5818 the child of pannable is smaller than one page.
5819 (hildon_pannable_area_scroll_to): Added conditions to avoid
5820 starting the scrolling movement if the child is smaller than one
5821 page, the complete child is in the screen, we do not have to move.
5823 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5825 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5827 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5828 this is managed automatically by the widget when the size of the
5831 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5833 * src/hildon-picker-button.c
5834 (hildon_picker_button_set_done_button_text): Make a copy of the
5835 text, and free the previous value.
5837 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5839 * src/hildon-touch-selector-entry.c:
5840 (hildon_touch_selector_entry_print_func): Return the selected row's
5841 text if the entry is empty.
5843 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5846 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5848 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5850 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5853 * src/hildon-check-button.h
5854 * src/hildon-check-button.c
5855 * examples/hildon-check-button-example.c:
5856 HildonCheckButton is now a new widget. 'toggled' signal added.
5858 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-program-private.h
5861 * src/hildon-program.c (hildon_program_init)
5862 (hildon_program_finalize): Removed unused variables group_leader
5863 and name from HildonProgramPrivate.
5865 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-check-button.c (hildon_check_button_set_active)
5868 (hildon_check_button_get_active, hildon_check_button_new): Use
5869 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5871 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5873 * src/hildon-touch-selector.h
5874 (hildon_touch_selector_set_column_attributes): added deprecation
5875 guard HILDON_DISABLE_DEPRECATED
5876 * src/hildon-time-selector.c
5877 (hildon_time_selector_set_time)
5878 (hildon_time_selector_get_time): Fixed a typo on documentation
5879 * src/hildon-touch-selector.c: update HildonTouchSelector and
5880 HildonTouchSelectorColumn documentation
5881 * src/hildon-touch-selector-entry.c: update "text-column" property
5883 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5884 to be added to the general documentation.
5886 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5888 * examples/hildon-pannable-area-example-4.c,
5890 * examples/hildon-pannable-area-example.c,
5891 (main): Modified the code in order to use the container add, with
5892 viewport treeviews could have problems if they are really big.
5894 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5896 * src/hildon-weekday-picker.c,
5897 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5898 the agreement regarding deprecation in the library.
5900 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5902 * examples/hildon-picker-button-multicolumn-example.c:
5903 (main): Use custom "done" button text.
5905 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5906 (hildon_picker_button_set_property),
5907 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5908 (hildon_picker_button_init),
5909 (+hildon_picker_button_get_done_button_text),
5910 (+hildon_picker_button_set_done_button_text): New methods to customize
5911 the "done" button label in the launched HildonPickerDialog. Also,
5914 * src/hildon-picker-button.h: add the public API.
5916 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5918 * src/hildon-date-selector.h:
5919 * src/hildon-picker-dialog.h:
5920 * src/hildon-time-selector.h:
5921 * src/hildon-touch-selector-column.h:
5922 * src/hildon-touch-selector.h:
5924 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5925 declarations. Fixes gtk-doc warnings.
5927 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5929 * src/hildon-picker-dialog.h
5930 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5931 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5933 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5934 long text is set as label for done button)
5936 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5938 * src/hildon-dialog.c (hildon_dialog_add_button):
5939 Set fixed width to all buttons in the HildonDialog.
5941 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5943 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5945 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5946 Set widget name using class name plus "-finger" or "-thumb".
5948 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5950 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5951 'clicked' when the state of the button is manually changed.
5953 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-app-menu.c (hildon_app_menu_realize)
5956 (hildon_app_menu_unrealize, hildon_app_menu_init)
5957 (hildon_app_menu_class_init, item_visibility_changed):
5958 Change the menu layout when the size of the screen changes.
5959 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5960 Show warning only when changing the number of colums using the
5963 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5965 * debian/compat: Set to 5
5966 * debian/control: Update dependencies.
5967 * debian/libhildon1-dbg.install: Remove.
5968 * debian/libhildon1-dev.install: Update according to cdbs paths.
5969 * debian/libhildon1.install: Update according to cdbs paths.
5970 * debian/rules: Switch to cdbs.
5972 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5975 'item' variable renamed to 'filter'
5977 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5979 * src/hildon-app-menu.c (hildon_app_menu_insert)
5980 (hildon_app_menu_add_filter, remove_item_from_list)
5981 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5982 Don't leak hidden items when the menu is destroyed.
5984 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-app-menu.c (hildon_app_menu_insert)
5987 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5988 (hildon_app_menu_set_columns, item_visibility_changed)
5989 (filter_visibility_changed, hildon_app_menu_repack_filters)
5990 (hildon_app_menu_repack_items):
5991 Repack items and filters separately.
5993 Don't repack all items, change only the ones that are needed to
5996 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5998 * src/Makefile.am: added hildon-touch-selector-column.h
6000 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6002 * src/hildon-touch-selector.c: added the property "text-column" to the
6003 class HildonTouchSelectorColumn, and related get/set functions
6004 (_default_printf_func): updated to use "text-column" property
6005 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6006 "text-column" in his documentation, as this is now included on
6007 HildonTouchSelectorColumn. The get/set_property can still be used,
6008 working as a wrapper to the concrete column "text-column" property
6009 (_text_column_modified): callback added in order to handle the signal
6010 "notify::text-column" of the concrete HildonTouchSelectorColumn
6011 (hildon_touch_selector_entry_get_text_column)
6012 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6013 modified in order to use the HildonTouchSelectorColumn "text-column"
6015 * src/hildon-time-selector.c:
6016 * src/hildon-date-selector.c:
6017 * examples/hildon-touch-selector-example.c
6018 * examples/hildon-touch-selector-multi-cells-example.c
6019 * examples/hildon-picker-button-multicolumn-example.c
6020 Set the right value to "text-column" property on the creation of a new
6021 column using hildon_touch_selector_append_column()
6023 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6025 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6027 * src/hildon-app-menu.c
6028 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6029 updating the layout of the menu, don't create all widgets again,
6030 just repack the items in their new places.
6032 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6034 * src/hildon-time-selector.c
6035 (hildon_time_selector_get_time)
6036 (hildon_time_selector_set_time)
6037 Added documentation of these public methods
6039 * src/hildon-date-button.h
6040 * src/hildon-touch-selector-column.h
6041 * src/hildon-time-button.h
6042 * src/hildon-picker-dialog.h
6043 * src/hildon-time-selector.h
6044 * src/hildon-picker-button.h
6045 * src/hildon-touch-selector.h
6046 * src/hildon-time-picker.h
6047 * src/hildon-date-selector.h
6048 * src/hildon-touch-selector-entry.h
6049 Modified in order to use hildon-widgets code style
6051 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6053 Added deprecated support to the compilation process using
6054 HILDON_DISABLE_DEPRECATED
6056 * configure.ac: Added the --disable-deprecated to the configure
6059 * src/hildon-weekday-picker.c:
6060 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6061 to use the deprecated support. We will update the other deprecated
6062 widgets status in a new patch.
6064 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6066 * configure.ac: Fixed typo with fatal warnings support, the
6067 variable name was not correct
6069 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6071 * src/hildon-app-menu.c
6072 * src/hildon-program.c: Update documentation.
6074 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6076 * configure.ac: Post-release version bump.
6078 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * configure.ac: Pre-release version bump.
6084 * debian/changelog: Updates.
6086 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6088 * NEWS: Update news for previous releases.
6090 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6092 * examples/hildon-touch-selector-multi-cells-example.c:
6093 (create_selector): Update the example to use
6094 hildon_touch_selector_append_column() with a NULL renderer and set
6095 the renderers later.
6096 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6097 passed a NULL renderer. This is documented behavior now.
6099 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6100 This must be used if the developer wants full control on the layout of
6101 the renderers to be added to the column.
6103 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6105 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6107 * src/hildon-touch-selector.c: Documentation fixes.
6109 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6111 * src/hildon-wizard-dialog-private.h: Remove image and box.
6112 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6113 (hildon_wizard_dialog_set_property), (response): Completely remove
6114 image/icon support, and the containers required for the layout.
6116 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6118 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6120 * src/hildon-app-menu.c: Updated documentation.
6122 * src/hildon-stackable-window.c
6123 (hildon_stackable_window_set_main_menu): Unref the old menu after
6124 ref'ing the new one.
6126 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6128 * src/hildon-stackable-window.c
6129 (hildon_stackable_window_set_main_menu): Unref the previous menu
6130 instead of destroying it.
6132 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6133 floating reference and set has_user_ref_count to FALSE to make
6134 HildonAppMenu act like a normal ref-counted widget and not a
6137 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6140 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6142 * src/hildon-touch-selector-column.h: new file
6143 * src/hildon-touch-selector.h
6144 * src/hildon-touch-selector.c
6145 Implemented GtkCellLayout interface, in order to allow to configure
6146 the cell layout on each individual selector column
6147 (hildon_touch_selector_set_column_attributes): marked as deprecated
6148 * examples/hildon-touch-selector-multi-cells-example.c
6149 Example of how to use the GtkCellLayout interface on the selector
6151 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6153 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6155 * src/hildon-app-menu.h
6156 * src/hildon-app-menu.c
6157 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6158 (hildon_app_menu_append, hildon_app_menu_prepend):
6159 New methods to prepend, insert and move items in the menu.
6161 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-wizard-dialog.c:
6165 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6167 (create_title): Update logical IDs and related code.
6168 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6170 * src/hildon-wizard-dialog.h: Note that
6171 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6172 point, as it is not used anymore.
6174 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6176 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6178 * src/hildon-note.c:
6179 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6180 shown. Do not display an icon in confirmation notes nor information
6182 (hildon_note_set_button_text): Update logical ID for cancel button.
6184 Fixes: NB#88850 (Update HildonNote button strings + signals)
6186 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6188 * src/hildon-stackable-window.c
6189 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6191 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6193 * src/hildon-app-menu-private.h
6194 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6195 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6196 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6197 temporary property 'columns' to change the number of columns.
6199 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6201 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6203 * examples/hildon-note-example.c: (on_information_clicked),
6204 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6205 debugging information.
6206 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6208 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6209 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6210 in order to close: this will be handled by the WM from now on.
6212 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6214 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6216 * src/hildon-app-menu-private.h
6217 * src/hildon-app-menu.c
6218 (hildon_app_menu_append, hildon_app_menu_add_filter)
6219 (button_visibility_changed, hildon_app_menu_apply_style)
6220 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6221 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6222 layout everytime a button (item or filter) is shown or hidden.
6224 * src/hildon-stackable-window.c
6225 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6228 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6230 * src/hildon-touch-selector.c:
6231 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6232 that the treeview inside the touch selector is in fremantle hildon mode
6233 * examples/hildon-date-button-example.c
6234 * examples/hildon-picker-button-multicolumn-example.c
6235 * examples/hildon-touch-selector-entry-example.c
6236 * examples/hildon-touch-selector-example.c
6237 * examples/hildon-time-button-example.c
6238 * examples/hildon-picker-button-example.c:
6239 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6241 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6243 * examples/hildon-text-view-example.c: (main): Remove the
6244 gtkrc bits, now handled by the theme.
6246 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6248 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6251 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6253 * po/Makefile.am: Install properly the mo files.
6254 * po/en_GB.po: Update translation, to ease testing purposes.
6256 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6258 * examples/hildon-picker-button-example.c: (main): Select an item
6259 in the selector before setting it to the button.
6261 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6263 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6264 Update button's value if the selector has an item active.
6266 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6267 'value' with the selector)
6269 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6271 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6272 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6273 (hildon_picker_button_class_init): Plug the finalize method.
6274 (hildon_picker_button_set_selector): If there's a previously set
6275 selector, unref'it before setting a new one.
6277 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6278 HildonTouchSelector)
6280 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6282 * src/hildon-touch-selector-entry.c:
6283 (hildon_touch_selector_entry_changed): Check if there is no text
6284 selected before setting the entry text.
6287 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6289 * src/hildon-touch-selector.h
6290 * src/hildon-touch-selector.c
6291 (hildon_touch_selector_get_active)
6292 (hildon_touch_selector_set_active): New methods to set/get the
6293 index of the selected item.
6295 * src/hildon-picker-button.h
6296 * src/hildon-picker-button.c
6297 (hildon_picker_button_get_active)
6298 (hildon_picker_button_set_active): New methods to set/get the
6299 index of the selected item.
6301 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6303 * configure.ac: post-release version bump.
6305 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6309 * configure.ac: Pre-release version bump.
6310 * debian/changelog: Updates.
6311 * debian/control: Add myself as maintainer and depend on l10n
6314 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-window.c
6317 (hildon_window_set_main_menu)
6318 * src/hildon-stackable-window.c
6319 (hildon_stackable_window_set_main_menu):
6320 Updated documentation.
6322 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6324 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6325 Don't free selector->priv manually.
6328 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6331 (hildon_gtk_window_set_progress_indicator):
6332 * src/hildon-gtk.h: Added the new API
6333 hildon_gtk_window_set_progress_indicator, it changes the state of
6334 the window progress hint.
6336 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6338 * src/hildon-button.c
6339 * src/hildon-stackable-window.c: Minor documentation updates.
6341 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6343 * src/hildon-stackable-window.c: Updated documentation.
6345 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6347 * src/hildon-defines.h: Update margins definitions
6348 to the Fremantle sizes.
6351 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6353 * src/hildon-touch-selector.c,
6354 (_hildon_touch_selector_set_model): Cleaning the code after
6355 review, removed g_print and #if 0 from the code.
6357 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6359 * src/hildon-edit-toolbar.c: Update documentation.
6361 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6363 * src/hildon-check-button.h
6364 * src/hildon-check-button.c
6365 (hildon_check_button_set_label, hildon_check_button_get_label)
6366 * examples/hildon-check-button-example.c
6367 (button_clicked_cb):
6368 Removed deprecated methods.
6370 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6372 * src/hildon-text-view.c:
6373 Add sample code to the documentation.
6375 * src/hildon-entry.h
6376 * src/hildon-text-view.h:
6377 Minor cosmetic changes.
6379 * src/hildon-entry.c:
6380 Add sample code to the documentation.
6381 (hildon_entry_init, hildon_entry_refresh_contents):
6382 Don't allow NULL values in the placeholder.
6384 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6386 * doc/hildon-docs.sgml
6388 * examples/Makefile.am
6389 * examples/hildon-text-view-example.c
6391 * src/hildon-text-view.c
6392 * src/hildon-text-view.h
6394 New HildonTextView widget, with example.
6396 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6398 * po/POTFILES.in: Add missing files with translatable strings.
6399 Partially fixes NB#88287.
6401 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6403 * examples/hildon-pannable-area-example-2.c: (main): No need to
6404 set the cellrenderer height inside hildon touch lists, the theme does
6407 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6409 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6410 they are integrated in the theme.
6412 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6414 * examples/hildon-entry-example.c: Update the example adding
6415 widgets to modify the text and the placeholder of the HildonEntry.
6417 * src/hildon-entry.c: Show the placeholder everytime the widget
6418 is empty and loses the focus.
6420 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6422 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6424 * src/hildon-pannable-area.c,
6425 (hildon_pannable_area_size_request): Fixed bug in height
6426 requisition, avoid increasing size and add border twice.
6428 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6430 * configure.ac: postrelease version bump.
6432 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6436 * configure.ac: Prerelease version bump.
6437 * debian/changelog: update.
6438 * debian/rules: make -dbg package contain useful debugging symbols.
6440 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6442 * src/hildon-dialog.h
6443 * src/hildon-dialog.c
6444 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6445 New methods to add buttons with finger size.
6446 (hildon_dialog_new_with_buttons):
6447 Create buttons with finger size.
6449 * examples/hildon-dialog-example.c (main): Use HildonDialog
6450 methods to add buttons.
6452 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6454 * src/hildon-entry.c: Updated HildonButton documentation.
6456 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6458 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6459 button value label with (FALSE, FALSE) to prevent NB#88126 from
6462 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6464 * examples/hildon-pannable-area-example.c,
6465 (main): Removed examples panning a vbox inside a pannable
6466 area. Check bug NB#87965
6468 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6470 Patch contributed by Kris Rietveld (kris@imendio.com)
6472 * src/hildon-pannable-area.c,
6473 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6474 get_size and get_position, this saves an X server roundtrip.
6476 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6478 * doc/hildon-docs.sgml
6480 * examples/Makefile.am
6481 * examples/hildon-entry-example.c
6483 * src/hildon-entry.c
6484 * src/hildon-entry.h
6486 New HildonEntry widget, with example.
6488 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6490 * src/hildon-button.c (hildon_button_construct_child): Pack the
6491 image with expand == fill == FALSE. This is a workaround for a bug
6494 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6496 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6497 labels for the text column, to make it more look more dynamic.
6499 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6501 * src/hildon-time-selector.c
6502 Define gettext auxiliar macro N_
6503 (_create_minutes_model)
6504 (_create_hours_model)
6505 (_create_ampm_model): use of strftime in order to fill the model
6506 * src/hildon-date-selector.c
6507 (hildon_date_selector_finalize):
6508 (_locales_init): remove the logic related to get the name of the months
6509 using nl_langinfo, as it is not required anymore
6511 (_create_year_model)
6512 (_create_month_model)
6513 (_update_day_model): use of strftime in order to fill the model properly
6516 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6518 * src/hildon-button.h
6519 * src/hildon-button.c (hildon_button_get_image): New method to
6522 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6524 * src/hildon-touch-selector.c:
6525 (hildon_touch_selector_remove_column): Remove from the correct parent
6526 and also remove the list element and free it.
6529 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6531 * src/hildon-time-selector.c
6532 (_create_hours_model): change the range on 12h ampm format in order to use
6533 a 12-11 range instead of previous 01-12 range
6534 (hildon_time_selector_set_time): change the way to select the current time
6535 on 12h ampm format, due the change on the range
6536 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6539 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6541 * src/hildon-touch-selector.c
6542 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6543 in order to allow use this function on multiple row selection mode if
6544 the column is different that the first one
6547 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6549 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6550 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6552 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6554 * src/hildon-date-selector.h: clean some comments, now on the .c
6555 * src/hildon-date-selector.c
6556 (hildon_date_selector_select_month): first implementation
6557 (hildon_date_selector_select_day): added documentation, reimplemented
6558 using hildon_date_selector_select_current_date to avoid repeat code
6561 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6563 Reviewed interaction logic based on device experiences, refactored
6566 * src/hildon-pannable-area.c,
6567 (hildon_pannable_area_class_init): Updated default vmax speed.
6568 (hildon_pannable_area_calculate_velocity): Added this function, it
6569 avoids duplicate valocity calculation. Adjusted calculation to
6570 avoid problems with zero dist events.
6572 (hildon_pannable_area_motion_notify_cb): Now we use the
6573 calculate_velocity function.
6575 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6577 * src/hildon-date-selector.c
6578 (hildon_date_selector_select_current_date): fix the day range check
6579 as it failed using the last day of the current month
6582 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6584 * src/hildon-touch-selector.c
6585 (hildon_touch_selector_get_num_columns): added a parameter validation
6588 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6590 * examples/Makefile.am
6591 * examples/hildon-edit-toolbar-example.c: Example of the
6592 HildonEditToolbar widget.
6594 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6596 * configure.ac: postrelease version bump.
6598 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6602 * configure.ac: prerelease version bump.
6603 * debian/changelog: update.
6605 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6607 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6608 renderer to display stock icons in the touch list. Also, set the sizes
6609 to the recommended in the style guide.
6611 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6612 * src/hildon-touch-selector.h
6613 (hildon_touch_selector_set_active_iter): renamed, now is
6614 hildon_touch_selector_select_iter
6615 (hildon_touch_selector_get_active_iter): renamed, now is
6616 hildon_touch_selector_get_selected
6617 (hildon_touch_selector_unselect_iter): added
6618 * src/hildon-touch-selector.c
6619 Update after API modification (methods renamed)
6620 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6621 order to avoid problems selecting multiple elements on the column
6622 (hildon_touch_selector_unselect_iter): added the implementation
6623 * src/hildon-time-selector.c
6624 * src/hildon-date-selector.c
6625 * src/hildon-touch-selector-entry.c
6626 Update methods calls after hildon-touch-selector.h API modification (methods
6629 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6631 * src/hildon-stackable-window.c
6632 (hildon_stackable_window_finalize): Call the parent class's finalize.
6634 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6636 * examples/hildon-touch-selector-example.c: (create_selector): Use
6637 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6640 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6642 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6643 set a cell background color, to respect theming.
6645 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6647 * doc/hildon-docs.sgml
6650 * src/hildon-edit-toolbar.c
6651 * src/hildon-edit-toolbar.h
6652 * src/hildon.h: New HildonEditToolbar widget.
6654 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6656 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6659 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6660 * src/hildon-touch-selector.c
6661 (_create_new_column): use g_object_set instead of two g_object_set_property
6663 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6664 * src/hildon-touch-selector.c
6665 (_create_new_column): use of hildon_gtk_tree_view_new to create
6666 the treeview, instead of use directly g_object_new
6667 (_create_new_column): update the property name "vindicator-mode" for the
6668 new one "vscrollbar-policy"
6669 * examples/hildon-date-button-example.c
6670 * examples/hildon-picker-button-multicolumn-example.c
6671 * examples/hildon-touch-selector-entry-example.c
6672 * examples/hildon-touch-selector-example.c
6673 * examples/hildon-time-button-example.c
6674 * examples/hildon-picker-button-example.c
6675 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6676 to all the treeviews inside a pannable area.
6678 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6680 * src/hildon-button.h
6681 * src/hildon-button.c (hildon_button_init)
6682 (hildon_button_set_arrangement, hildon_button_set_alignment)
6683 (hildon_button_set_title_alignment)
6684 (hildon_button_set_value_alignment)
6685 (hildon_button_set_image_alignment)
6686 (hildon_button_construct_child): New methods to set the alignment
6687 of the individual components of the button (title, value,
6688 image). Also, new method to alter the xscale and yscale properties
6689 of the GtkAlignment inside the button, so more complex layouts can
6692 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6694 * src/hildon-button.c (hildon_button_style_set)
6695 (hildon_button_class_init, hildon_button_set_arrangement)
6696 (hildon_button_construct_child): Apply style properties
6697 correctly. Use the 'image-spacing' style property too.
6699 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6701 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6702 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6705 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6707 * src/hildon-pannable-area.c,
6708 (hildon_pannable_area_size_request): Fixed problem with
6709 pannable-area size_request.
6711 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6713 Added management for the grab-focus to a child widget, like a
6714 range, we need to fade out the scrollbar when releasing.
6716 * src/hildon-pannable-area.c,
6717 (hildon_pannable_area_init): Connected the grab-focus signal to
6719 (hildon_pannable_area_grab_notify): Added this function in order
6720 to manage the situation when the grab-focus ends. We have to
6721 fade-out the scrollbar.
6723 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6725 * src/hildon-app-menu.c: Minor documentation update.
6727 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6729 * src/hildon-app-menu.c
6730 * examples/hildon-app-menu-example.c (create_menu): Update
6731 examples and documentation to explain how to connect callbacks.
6733 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6735 * examples/hildon-button-example.c
6736 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6737 hildon_stackable_window_new instead of gtk_window_new
6739 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6741 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6742 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6743 (hildon_pannable_area_set_property),
6744 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6745 (hildon_pannable_area_unrealize),
6746 (hildon_pannable_area_size_request),
6747 (hildon_pannable_area_size_allocate),
6748 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6749 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6750 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6751 (hildon_pannable_area_initial_effect),
6752 (hildon_pannable_area_redraw),
6753 (hildon_pannable_area_scroll_indicator_fade),
6754 (hildon_pannable_area_expose_event),
6755 (hildon_pannable_area_get_topmost), (synth_crossing),
6756 (hildon_pannable_area_button_press_cb),
6757 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6758 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6759 (hildon_pannable_area_motion_notify_cb),
6760 (hildon_pannable_area_button_release_cb),
6761 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6762 (hildon_pannable_area_remove),
6763 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6764 chage the code layout to a more GtkWidget like. Review the use of
6767 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6769 * examples/hildon-pannable-area-example-4.c,
6770 (main): Modified the name of the hindicator_mode to
6773 * src/hildon-pannable-area.c,
6774 (hildon_pannable_area_class_init),
6775 (hildon_pannable_area_motion_notify_cb),
6776 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6777 we have reduced the amount of signals and managed reviewed its
6778 rationale. Changed the default decelerate value.
6780 (hildon_pannable_area_add),
6781 (hildon_pannable_area_redraw): Refactored functions.
6783 (hildon_pannable_area_init),
6784 (hildon_pannable_area_get_property),
6785 (hildon_pannable_area_set_property):
6786 (hildon_pannable_draw_vscroll),
6787 (hildon_pannable_draw_hscroll),
6788 (hildon_pannable_area_initial_effect),
6789 (hildon_pannable_area_expose_event),
6790 (hildon_pannable_area_scroll),
6791 (hildon_pannable_area_button_press_cb),
6792 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6793 and vindicator_mode with hscrollbar_policy and
6794 vscrollbar_policy. Replaced hscroll and vscroll with
6795 hscroll_visible and vscroll_visible.
6797 (hildon_pannable_area_refresh): Refactor the function, remove
6798 variables and check the calls to this function, added resize
6799 conditions in case the children change their layout.
6801 (hildon_pannable_area_size_request): Added more detailed
6802 size_request calculation.
6805 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6807 * src/hildon-color-chooser.c
6808 (init_borders): use the correct gtk_border_free instead of g_free, to
6809 avoid a crash when this widget is used (ie: the three color selection
6812 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6814 * src/hildon-check-button.c,
6815 (hildon_check_button_set_active): Fixed problem when setting the
6816 active value, the widget was not redrawn.
6818 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6820 * src/hildon-pannable-area.c,
6821 (hildon_pannable_area_refresh),
6822 (hildon_pannable_area_scroll),
6823 (hildon_pannable_area_motion_notify_cb): Small code style change.
6825 (hildon_pannable_area_class_init): Default initial_hint set to
6826 FALSE, it is not in the specs.
6828 (hildon_pannable_area_initial_effect),
6829 (hildon_pannable_area_expose_event),
6830 (hildon_pannable_area_map),
6831 (hildon_pannable_area_init): Moved the launching point of the
6832 initial effect, it was in map but the sizes where not correct in
6833 that method so we do not know if we have the reproduce it. Now it
6834 is placed in the expose_event method and uses a variable to
6835 reproduce it just once.
6837 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6839 * src/hildon-pannable-area.c,
6840 (hildon_pannable_draw_vscroll),
6841 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6842 position allowed for the scrollbars.
6844 (hildon_pannable_area_size_allocate): Small style change.
6846 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6848 * src/hildon-pannable-area.c,
6849 (hildon_pannable_area_scroll_indicator_fade),
6850 (hildon_pannable_area_button_press_cb),
6851 (hildon_pannable_area_button_release_cb),
6852 (hildon_pannable_area_scroll_cb),
6853 (hildon_pannable_area_expose_event),
6854 (hildon_pannable_area_init): Added the define parameter
6855 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6856 and refactor the fade variable.
6858 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6860 * src/hildon-pannable-area.c,
6861 (hildon_pannable_area_redraw),
6862 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6863 lines, we were reimplemeting the redraw code.
6865 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6867 * src/hildon-pannable-area.c,
6868 (hildon_pannable_area_scroll_cb),
6869 (hildon_pannable_area_realize),
6870 (hildon_pannable_area_class_init): Added scroll_event management
6871 for pannable area, now we can scroll the usual desktop method.
6873 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6874 initialization of the parameters should depend on idle_id.
6876 (hildon_pannable_area_init),
6877 (hildon_pannable_area_map): Small code style modifications
6879 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6881 * src/hildon-pannable-area.c
6882 (hildon_pannable_area_button_press_cb),
6883 (hildon_pannable_area_motion_notify_cb),
6884 (hildon_pannable_area_button_release_cb),
6885 (hildon_pannable_area_size_allocate),
6886 (hildon_pannable_area_scroll_to): Improved the timeouts
6887 management, we avoid creating them each time.
6889 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6891 * src/hildon-pannable-area.c:
6892 (hildon_pannable_area_refresh),
6893 (hildon_pannable_area_motion_notify_cb),
6894 (hildon_pannable_area_class_init):
6895 * src/hildon-pannable-area.h:
6896 * src/hildon-touch-selector.c
6897 (_create_new_column):
6898 * examples/hildon-pannable-area-example-4.c:
6899 (horizontal_movement),
6900 (vertical_movement),
6902 Replaced the names of enums in the HildonPannableArea:
6903 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6904 HILDON_MOVEMENT_MODE_*
6905 - HILDON_PANNABLE_AREA_MOV_* ->
6907 - Removed HildonPannableAreaIndicatorMode, now we
6910 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6912 * examples/hildon-pannable-area-touch-grid-example.c
6913 * examples/hildon-pannable-area-touch-list-example.c: Fix
6914 compilation warnings.
6916 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6918 * src/hildon-gtk.c (hildon_gtk_button_new)
6919 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6920 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6921 images overriding the value of the "gtk-button-images" setting.
6923 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6925 * src/hildon-check-button.c (hildon_check_button_new):
6926 Instead of using a custom container, display the label and the
6927 checkbox using the standard GtkButton API.
6929 * examples/hildon-check-button-example.c (main): Don't use
6930 hildon_check_button_set_label() anymore
6932 * src/hildon-check-button.h
6933 * src/hildon-check-button.c
6934 (hildon_check_button_set_label, hildon_check_button_get_label):
6935 Set as deprecated, now we're using gtk_button_{get,set}_label()
6937 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6939 * src/hildon-pannable-area.c,
6940 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6941 GtkTreeview first line we detected it after the inclusion of the
6942 GtkWindowImpl in gtk+. We now check if the window is visible, not
6943 just if the pointer is over the window.
6944 (hildon_pannable_axis_scroll),
6945 (hildon_pannable_area_expose_event): Small style changes.
6947 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6949 * src/hildon-button.c: Update documentation.
6951 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6953 * examples/hildon-button-example.c: Add a switch to show images in
6956 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6958 * doc/hildon-docs.sgml: Some docs reorganization.
6960 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6962 * examples/hildon-pannable-area-touch-list-example.c
6964 * examples/hildon-pannable-area-touch-grid-example.c
6965 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6966 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6967 Fix memory leak when setting the tree model.
6969 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6973 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6975 * doc/hildon.types: Remove duplicated hildon_window_get_type
6976 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6977 documentation comment.
6979 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6981 * doc/Makefile.am: Complete list of private headers.
6983 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6985 * doc/hildon-docs.sgml
6986 * src/hildon-app-menu.c
6987 * src/hildon-bread-crumb.c
6988 * src/hildon-button.c
6990 * src/hildon-program.c
6991 * src/hildon-stackable-window.c
6992 * src/hildon-window.c: Lots of documentation updates.
6994 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6996 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6998 * configure.ac: Require Gtk+ 2.12.9 at least
7000 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7002 * src/hildon-pannable-area.c
7003 (hildon_pannable_area_scroll_indicator_fade),
7004 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7005 to protect the return of this timeout callbacks, avoiding deadlocks.
7007 2008-08-12 Christian Dywan <christian@imendio.com>
7010 * src/hildon-*.h: Ensure a consistent include order,
7011 include <gtk/gtk.h> instead of particular files and
7012 only include the topmost header in the gtk stack. See NB #39857
7014 2008-08-12 Christian Dywan <christian@imendio.com>
7016 * src/hildon-picker-dialog.c
7017 * src/hildon-touch-selector.c: Fix warnings about unused and
7018 uninitialized variables.
7020 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7022 * examples/Makefile.am
7023 * examples/hildon-check-button-example.c: Example of the hildon
7026 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7028 * src/hildon-window.h
7029 * src/hildon-window.c (hildon_window_class_init)
7030 (hildon_window_unset_program): Don't make
7031 hildon_window_unset_program a virtual function anymore.
7033 * src/hildon-stackable-window.c: Update documentation
7035 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7038 * doc/hildon-docs.sgml
7039 * doc/visual_index.xml
7040 * src/hildon-defines.c
7042 * src/hildon-helper.c
7043 * src/hildon-range-editor.c: Lots of documentation fixes.
7045 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7047 * examples/hildon-picker-button-multicolumn-example.c
7048 (create_touch_selector): Fix compilation warning.
7050 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7053 (hildon_pannable_area_button_release_cb)
7054 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7056 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7058 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7061 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7063 * src/hildon-bread-crumb-trail.h
7064 * src/hildon-date-editor.c
7065 * src/hildon-date-selector.c
7066 * src/hildon-pannable-area.c
7067 * src/hildon-picker-dialog.c
7068 * src/hildon-time-selector.c
7069 * src/hildon-touch-selector-entry.c
7070 * src/hildon-touch-selector.c
7071 * src/hildon-touch-selector.h: Misc documentation fixes
7073 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7075 * examples/hildon-date-editor-example.c (main): Updated date
7078 * examples/hildon-note-example.c (on_confirmation_clicked):
7079 Updated confirmation note example.
7081 * src/hildon-date-editor.c
7082 * src/hildon-note.c: Updated sample programs in documentation.
7085 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7087 * src/hildon-date-button.h:
7088 * src/hildon-picker-button.h:
7089 * src/hildon-time-button.c:
7090 * src/hildon-time-button.h:
7092 Some declarations changes to allow gtk-doc to document the widgets
7095 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7097 * src/hildon-date-button.c: Document the widget.
7098 * src/hildon-time-button.c: Document the widget.
7100 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7102 * src/hildon-picker-button.c: Document the widget.
7103 * src/hildon-touch-selector-entry.c: Document the widget.
7105 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7107 * doc/hildon-docs.sgml
7110 * src/hildon-check-button.h
7111 * src/hildon-check-button.c: New functions to create the Hildon
7115 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7117 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7119 * src/hildon-button.h
7120 * src/hildon-button.c
7121 (hildon_button_add_title_size_group)
7122 (hildon_button_add_value_size_group)
7123 (hildon_button_add_image_size_group)
7124 (hildon_button_add_size_groups): New functions to set size groups
7125 for the button labels and image.
7126 (hildon_button_new_full): Removed
7128 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7130 * src/hildon-time-selector.c
7131 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7132 in order to avoid a crash if gconf is not available
7134 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7136 * src/hildon-button.c (hildon_button_set_arrangement)
7137 (hildon_button_construct_child): Don't construct the button child
7138 before setting the arrangement.
7140 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7142 * src/hildon-program-private.h
7143 * src/hildon-program.c
7144 * src/hildon-program.h
7145 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7146 (hildon_program_peek_window_stack)
7147 (hildon_program_pop_window_stack)
7148 (hildon_program_go_to_root_window): HildonProgram now has a
7149 separate list for stackable windows. Functions are provided to
7150 manage that list with a stack-like API.
7152 * src/hildon-stackable-window.c: Stackable window management is
7153 now much simpler with the new HildonProgram API. Windows no
7154 longer need to be manually added to the program, they're
7155 automatically pushed to the top of the stack when shown.
7157 * examples/hildon-stackable-window-example.c: Updated example to
7158 reflect the API changes.
7160 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7162 * src/hildon-touch-selector.c: Comment out unimplemented
7163 hildon_touch_selector_insert_column() to avoid a compile warning.
7165 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7167 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7168 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7169 (hildon_touch_selector_set_column_selection_mode),
7170 (_hildon_touch_selector_set_model),
7171 (hildon_touch_selector_set_model):
7173 Complete review of HildonTouchSelector documentation.
7175 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7177 * doc/hildon-docs.sgml
7181 * src/hildon-gtk.c: Convenience functions for standard Gtk
7182 widgets, used to easily perform frequent operations.
7184 * src/hildon-button-helpers.h
7185 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7187 * src/hildon-helper.h
7188 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7189 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7191 * src/hildon-button.h
7192 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7194 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7196 * src/hildon-button.c (hildon_button_init)
7197 (hildon_button_set_arrangement, hildon_button_construct_child):
7198 Pack the image and the labels inside the same GtkAlignment so
7199 gtk_button_set_alignment() can be used
7201 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7203 * src/hildon-button.h
7204 * src/hildon-button.c
7205 (hildon_button_init, hildon_button_set_image)
7206 (hildon_button_set_image_position)
7207 (hildon_button_construct_child): New functions to add an image to
7210 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7212 * src/hildon-date-button.c
7213 * src/hildon-picker-button.c
7214 * src/hildon-time-button.c
7215 * src/hildon-button.c:
7216 (hildon_button_class_init): "size-flags" renamed to "size"
7217 (hildon_button_set_title): Hide the title label if set to NULL.
7219 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7221 HildonButtonFlags split into HildonButtonArrangement (to set the
7222 button layout) and HildonSizeType (which can be used for any
7225 * src/hildon-button.h
7226 * src/hildon-button.c
7227 (hildon_button_class_init)
7228 (hildon_button_set_arrangement)
7229 (hildon_button_set_property): New "size-flags"
7230 property. "arrangement-flags" renamed to "arrangement".
7231 (hildon_button_new, hildon_button_new_with_text)
7232 (hildon_button_new_full): Constructors updated to reflect type changes.
7234 * src/hildon-helper.h
7235 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7236 to set the size of a widget.
7240 * src/hildon-button-helpers.c
7241 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7243 * src/hildon-date-button.c
7244 * src/hildon-date-button.h
7245 * src/hildon-picker-button.c
7246 * src/hildon-picker-button.h
7247 * src/hildon-time-button.c
7248 * src/hildon-time-button.h: Updated widgets to reflect
7249 HildonButton API changes.
7251 * examples/hildon-button-example.c
7252 * examples/hildon-date-button-example.c
7253 * examples/hildon-picker-button-example.c
7254 * examples/hildon-picker-button-multicolumn-example.c
7255 * examples/hildon-time-button-example.c
7256 * examples/hildon-touch-selector-entry-example.c
7257 * examples/hildon-touch-selector-example.c: Updated examples to
7258 reflect HildonButton API changes.
7260 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7262 * doc/hildon-docs.sgml:
7264 * examples/Makefile.am:
7265 * examples/hildon-touch-selector-entry-example.c:
7267 * src/hildon-touch-selector-entry.c:
7268 * src/hildon-touch-selector-entry.h:
7271 Moved HildonTouchSelectorEntry from sandbox. Added its
7272 documentation and examples.
7274 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7276 * src/hildon-touch-selector.h:
7277 * examples/hildon-picker-button-multicolumn-example.c:
7278 (hildon_touch_selector_append_text_column): Add a gboolean
7279 parameter to determine if text must be centered in the column.
7281 * src/hildon-date-selector.c: (hildon_date_selector_init):
7282 * src/hildon-time-selector.c: (hildon_time_selector_init):
7283 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7284 (create_touch_selector): Update widgets and example to reflect
7287 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7289 * src/hildon-touch-selector.c:
7290 (hildon_touch_selector_set_active_iter): Set also the cursor in
7293 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7295 * doc/hildon-docs.sgml
7298 * src/hildon-toggle-button.c
7299 * src/hildon-toggle-button.h
7300 * src/hildon.h: Removed HildonToggleButton widget, a derived
7301 class is not necessary for this.
7303 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7305 * src/hildon-pannable-area.c,
7306 (hildon_pannable_area_realize),
7307 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7310 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7312 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7313 "done" button the default widget for the dialog.
7315 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7317 * src/hildon-touch-selector.c:
7318 (hildon_touch_selector_class_init),
7319 (hildon_touch_selector_get_property),
7320 (_hildon_touch_selector_set_model),
7321 (_hildon_touch_selector_has_multiple_selection),
7322 (hildon_touch_selector_has_multiple_selection):
7323 Add a "has-multiple-selection" property with a virtual
7324 has_multiple_selection() method to allow derived classes to
7325 override the default value for it. See the method and property
7326 documentation for details.
7328 * src/hildon-touch-selector.h: Add the new API.
7330 * src/hildon-picker-dialog.c: (requires_done_button): Call
7331 hildon_touch_selector_has_multiple_selection() instead of
7332 determining the need for a button itself.
7334 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7336 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7337 (_hildon_touch_selector_set_model),
7338 (hildon_touch_selector_set_model): Move working code to
7339 _hildon_touch_selector_set_mode(). Call the class method instead.
7341 * src/hildon-touch-selector.h: Add (*set_model) to
7342 HildonTouchSelectorClass.
7344 Make hildon_touch_selector_set_model() a virtual method, so that
7345 derived classes can extend it and do fancy stuff with the model.
7347 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7349 * configure.ac: Set back the tarname in AC_INIT to hildon.
7351 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7355 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7356 instead of libesd (NB#86876). Volume handling is still an open issue.
7358 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7361 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7363 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7364 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7365 derived class to ease placement of an entry widget in
7366 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7367 end, where the selector columns are packed now.
7369 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7371 * src/hildon-picker-button.c: Removed the simple _text() API.
7372 * src/hildon-picker-button.h: Likewise.
7374 * src/hildon-touch-selector.h:
7375 * src/hildon-touch-selector.c:
7376 (hildon_touch_selector_new_text),
7377 (hildon_touch_selector_append_text),
7378 (hildon_touch_selector_prepend_text),
7379 (hildon_touch_selector_insert_text):
7381 Moved the simple _text() API from HildonPickerButton to
7382 HildonTouchPicker, to provide better escalability and not to tie
7383 that API to HildonPickerButton.
7385 * examples/hildon-picker-button-example.c: (main): Example updated.
7387 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7389 * src/hildon-button.c: Updated documentation.
7391 * examples/hildon-button-example.c: Add the posibility to create
7392 the buttons using horizontal layout for title and value.
7394 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7396 * src/hildon-app-menu-private.h
7397 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7398 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7399 GtkSizeGroup for the filters, use the 'homogeneous' property of
7402 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7404 * examples/hildon-button-example.c: Updated example.
7406 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7408 * doc/hildon-docs.sgml:
7411 Update documentation.
7413 * examples/Makefile.am: Update renamed examples.
7415 * examples/hildon-picker-button-multicolumn-example.c:
7416 (create_touch_selector), (main): Update after the rename.
7418 * examples/hildon-touch-picker-example.c: Removed.
7419 * examples/hildon-touch-selector-example.c: (value_changed),
7420 (create_selector), (get_visible_content), (main): Renamed from
7421 hildon-touch-picker-example.c
7423 * src/Makefile.am: Updated renamed files.
7425 * src/hildon-date-button.c: (hildon_date_button_init),
7426 (hildon_date_button_get_date), (hildon_date_button_set_date):
7427 * src/hildon-date-selector.c: (hildon_date_selector_init),
7428 (_custom_print_func), (_update_day_model),
7429 (_manage_selector_change_cb),
7430 (hildon_date_selector_select_current_date),
7431 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7432 * src/hildon-date-selector.h:
7433 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7434 (hildon_picker_button_set_property),
7435 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7436 (hildon_picker_button_init), (hildon_picker_button_new_text),
7437 (hildon_picker_button_append_text),
7438 (hildon_picker_button_prepend_text),
7439 (hildon_picker_button_insert_text),
7440 (hildon_picker_button_set_selector),
7441 (hildon_picker_button_get_selector):
7442 * src/hildon-picker-button.h:
7443 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7444 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7445 (_update_title_on_selector_changed_cb), (requires_done_button),
7446 (_hildon_picker_dialog_set_selector),
7447 (hildon_picker_dialog_set_selector),
7448 (hildon_picker_dialog_get_selector):
7449 * src/hildon-picker-dialog.h:
7450 * src/hildon-time-button.c: (hildon_time_button_init),
7451 (hildon_time_button_get_time), (hildon_time_button_set_time):
7452 * src/hildon-time-selector.c: (hildon_time_selector_init),
7453 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7454 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7455 * src/hildon-time-selector.h:
7458 Massive code updates after the rename.
7460 * src/hildon-touch-picker.c: Removed.
7461 * src/hildon-touch-picker.h: Removed.
7463 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7464 (hildon_touch_selector_init), (hildon_touch_selector_map),
7465 (hildon_touch_selector_remove), (_default_print_func),
7466 (_selection_changed_cb), (_create_new_column),
7467 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7468 (hildon_touch_selector_append_text_column),
7469 (hildon_touch_selector_remove_column),
7470 (hildon_touch_selector_set_column_attributes),
7471 (hildon_touch_selector_insert_column),
7472 (hildon_touch_selector_get_num_columns),
7473 (hildon_touch_selector_get_column_selection_mode),
7474 (hildon_touch_selector_set_column_selection_mode),
7475 (hildon_touch_selector_set_print_func),
7476 (hildon_touch_selector_get_print_func),
7477 (hildon_touch_selector_get_active_iter),
7478 (hildon_touch_selector_set_active_iter),
7479 (hildon_touch_selector_get_selected_rows),
7480 (hildon_touch_selector_get_model),
7481 (hildon_touch_selector_set_model),
7482 (hildon_touch_selector_get_current_text),
7483 (_hildon_touch_selector_center_on_selected_items):
7484 * src/hildon-touch-selector.h: Renamed from
7485 hildon-touch-picker.[ch]
7487 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7488 references, code examples, and related documentation.
7490 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7492 * doc/hildon-docs.sgml
7495 * src/hildon-toggle-button.c
7496 * src/hildon-toggle-button.h
7497 * src/hildon.h: New HildonToggleButton widget.
7499 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7501 * src/hildon-button.c: Add API documentation.
7502 (hildon_button_set_size_groups): Check input parameters
7504 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7506 * src/hildon-pannable-area.c
7507 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7508 effect after reaching the movement thredshold. This way we start
7509 using the distance after passing the thredshold.
7511 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7513 * src/hildon-button.c: (hildon_button_set_property): Use the
7514 appropriate g_value_get_flags() method.
7516 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7518 * doc/hildon-docs.sgml:
7521 Add the touch pickers, picker dialogs, and picker button widgets
7522 to the documentation.
7524 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7526 * src/hildon-button.c: (hildon_button_set_property),
7527 (hildon_button_class_init): Make "arrangement-flags" a proper
7528 G_TYPE_FLAGS derived property.
7530 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7532 * examples/Makefile.am: Add below examples.
7533 * examples/hildon-date-button-example.c:
7534 * examples/hildon-picker-button-example.c:
7535 * examples/hildon-picker-button-multicolumn-example.c:
7536 * examples/hildon-time-button-example.c:
7537 * examples/hildon-touch-picker-example.c:
7539 Add examples for the recently added touch pickers,
7540 picker dialogs, and picker button widgets.
7542 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7544 * src/hildon-button.c: Add some API documentation
7546 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7548 * src/hildon-button.h
7549 * src/hildon-button.c
7551 (hildon_button_new_with_text): New constructor to create a button
7552 with no text at all.
7553 (hildon_button_init, hildon_button_set_arrangement)
7554 (hildon_button_set_title, hildon_button_set_value)
7555 (hildon_button_set_text)
7556 (hildon_button_construct_child): Hide the value when it's not used
7557 so the rest of the text is properly aligned.
7558 Allow creating buttons with arbitrary widgets inside (not just
7559 title/value labels).
7561 * examples/hildon-button-example.c (vertical_buttons_window)
7562 (horizontal_buttons_window): Update example to use new API.
7564 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7566 * src/Makefile.am: Added HildonTimeButton.
7567 * src/hildon-time-button.c: Added missing LGPL header.
7568 * src/hildon-time-button.h: Added missing LGPL header.
7569 * src/hildon.h: Add hildon-time-button.h
7571 Copied HildonTimeButton from sandbox to trunk. Future work on this
7572 widget must take place in trunk.
7574 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7576 * src/Makefile.am: Added HildonDateButton.
7577 * src/hildon-date-button.c: Update includes.
7578 * src/hildon.h: Add hildon-date-button.h
7580 Copied HildonDateButton from sandbox to trunk. Future work on this
7581 widget must take place in trunk.
7583 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7585 * src/Makefile.am: Added HildonPickerButton.
7586 * src/hildon-picker-button.h: Update includes.
7587 * src/hildon.h: Add hildon-picker-button.h
7589 Copied HildonPickerButton from sandbox to trunk. Future work on
7590 this widget must take place in trunk.
7592 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7594 * src/Makefile.am: Added HildonPickerDialog.
7595 * src/hildon-picker-dialog.c: Update includes.
7596 * src/hildon.h: Add hildon-picker-dialog.h
7598 Copied HildonPickerDialog from sandbox to trunk. Future work
7599 on this widget must take place in trunk.
7601 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7603 * src/Makefile.am: Added HildonTimeSelector.
7604 * src/hildon.h: Add hildon-time-selector.h
7606 Copied HildonTimeSelector widget from sandbox to trunk. Future
7607 work on this widget must happen in trunk.
7609 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7611 * src/Makefile.am: Added HildonDateSelector.
7612 * src/hildon.h: Add hildon-date-selector.h
7614 Copied HildonDateSelector widget from sandbox to trunk. Future
7615 work on this widget must happen in trunk.
7617 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7619 * src/Makefile.am: Added HildonTouchPicker.
7620 * src/hildon-touch-picker.c: Update includes.
7621 * src/hildon.h: Add hildon-touch-picker.h
7623 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7624 on this widget must happen in trunk.
7626 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7628 * src/hildon-pannable-area.c:
7629 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7631 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7633 * examples/hildon-app-menu-example.c (main): Let the window
7636 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7638 * src/hildon-pannable-area.c
7639 (hildon_pannable_area_class_init): Set the min value of the
7640 overshoot properties to zero, which points out that not
7641 overshooting allowed.
7643 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7645 Modified the procedure to get the widget at a point inside the
7646 pannable area when using the movement type signals. Now the user
7647 has to call a function to get the child, that way we just
7648 calculate the child in case the user really want to use it and not
7651 * src/hildon-marshalers.list: Modified the marshallers, now we do
7652 not have the widget as a parameter.
7654 * src/hildon-pannable-area.c
7655 (hildon_pannable_area_motion_notify_cb),
7656 (hildon_pannable_area_class_init),
7657 (hildon_pannable_get_child_widget_at): Removed the widget
7658 parameter from the signal callback. We have also refactored the
7659 emission of the signals.
7661 * src/hildon-pannable-area.h: Added a new method to the API to
7662 calculate a widget at a point inside the pannable area,
7663 hildon_pannable_get_child_widget_at.
7665 * examples/hildon-pannable-area-example-4.c
7666 (horizontal_movement): Modified the example to use the new API,
7667 added condition to control which widget is under the event. This
7668 way we can avoid scrolling laterally over other widgets.
7670 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7672 * src/hildon-pannable-area.c
7673 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7674 modes, we stop getting the pointer events due to returning the
7675 callback without properly calling the get pointer again. Fixed
7676 also an error using the hscroll and vscroll.
7678 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7680 * src/hildon-app-menu-private.h
7681 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7682 (hildon_app_menu_button_release, hildon_app_menu_init)
7683 (hildon_app_menu_class_init): Don't hide the menu on button
7684 release if the user didn't press outside first.
7686 * src/hildon-window.h
7687 * src/hildon-window.c (hildon_window_toggle_menu)
7688 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7689 hildon_window_toggle_menu a virtual function for the stackable
7690 window to override it.
7692 * src/hildon-stackable-window.h
7693 * src/hildon-stackable-window-private.h
7694 * src/hildon-stackable-window.c
7695 (hildon_stackable_window_realize)
7696 (hildon_stackable_window_finalize)
7697 (hildon_stackable_window_class_init)
7698 (hildon_stackable_window_init)
7699 (hildon_stackable_window_set_main_menu): New function to set the
7700 app menu of a HildonStackableWindow.
7702 * examples/hildon-app-menu-example.c: Remove the button to show
7703 the app menu, now it'll be shown when clicking on the title bar
7706 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7708 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7709 set the widget name if the arrangement flags do not specify
7712 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7714 * src/hildon-button.c: (hildon_button_set_property),
7715 (hildon_button_class_init), (hildon_button_new_full),
7716 (hildon_button_set_arrangement): Added "arrangement-flags"
7719 Make the HildonButtonFlags a construction-only property, to allow
7720 subclasses to set them properly.
7722 2008-07-21 Tim Janik <timj@imendio.com>
7724 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7725 insertion position after backspace, so additional digits are appended,
7728 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7730 * src/hildon-pannable-area.c,
7731 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7732 TODO list, it was complete and removed the g_debug and g_print
7735 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7737 Added the movement modes to the hildon-pannable-area, with this
7738 modes the developers can control in which directions the widget
7739 can scroll. They can also connect to signals in order to do
7740 something when that happens, allowing applications scroll. There
7741 is an example uploaded showing how to use it.
7743 * examples/Makefile.am:
7744 * examples/hildon-pannable-area-example-4.c: Added this example of
7745 an application using the modes.
7747 * src/hildon-marshalers.list: Added a new marshaller for the new
7750 * src/hildon-pannable-area.h: Added new enumerations and flags in
7751 order to control the movement modes and the new signals to warn
7752 about the movements in the area.
7754 * src/hildon-pannable-area.c:
7755 (hildon_pannable_axis_scroll),
7756 (hildon_pannable_area_scroll),
7757 (hildon_pannable_area_motion_notify_cb),
7758 (hildon_pannable_area_get_property),
7759 (hildon_pannable_area_set_property),
7760 (hildon_pannable_area_map),
7761 (hildon_pannable_area_class_init),
7762 (hildon_pannable_area_init),
7763 (hildon_pannable_area_jump_to): Added the modes to control the
7764 movement in the widget. We have added properties to control it,
7765 signals to warn about the movements and refactored some code.
7767 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7769 Changes required in order to allow vfast_factor set to zero to
7772 * src/hildon-pannable-area.c:
7773 (hildon_pannable_area_button_press_cb): Changed the condition, it
7774 is required for not allowing click when vfast_factor is zero.
7775 (hildon_pannable_area_timeout): Initialized velocity variables
7776 when we stop moving, it was less than 1 but not zero and we need
7777 to check zero in some situations.
7778 (hildon_pannable_area_class_init): Changed the default value of
7779 the speed factor, now the button_press is just sent in case the
7780 speed is 2 per cent of the max speed.
7781 (hildon_pannable_area_init): Initialization with 0.
7783 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7785 * src/hildon-pannable-area.c,
7786 (hildon_pannable_area_get_topmost): replaced
7787 gdk_window_get_children with gdk_window_peek_children, this way we
7788 do not have to free the list because it is not a copy.
7790 (hildon_pannable_axis_scroll),
7791 (hildon_pannable_area_scroll),
7792 (hildon_pannable_area_timeout),
7793 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7794 two parameters that were only used inside the
7795 hildon_pannable_area_scroll function.
7797 * examples/hildon-pannable-area-example.c,
7798 (get_sawtooth_label): Fixed small memory leak.
7800 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7802 More checks for the case where the overshoot is bigger than the
7805 * src/hildon-pannable-area.c:
7806 (hildon_pannable_draw_vscroll),
7807 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7808 to draw the slider of the scrollbar under the other scrollbar.
7809 (hildon_pannable_area_expose_event): added new checks to control
7810 the drawing of the overshooting area rectangle, in case it is too
7811 big for the area of the widget.
7812 (hildon_pannable_area_size_allocate): add more checks to avoid
7813 setting a position to the child widget outside the area.
7815 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7817 * src/hildon-pannable-area.c
7818 (hildon_pannable_area_size_allocate): Added conditions to control
7819 when overshooting is bigger than the allocated space for the
7820 children, this avoids negative allocations.
7822 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7824 * doc/hildon-docs.sgml
7826 * examples/Makefile.am
7827 * examples/hildon-button-example.c
7829 * src/hildon-button.c
7830 * src/hildon-button.h
7831 * src/hildon.h: Initial version of the new HildonButton widget,
7834 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7836 * src/hildon-pannable-area.c:
7837 (hildon_pannable_area_button_press_cb),
7838 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7839 (hildon_pannable_area_motion_notify_cb),
7840 (hildon_pannable_area_button_release_cb),
7841 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7842 (hildon_pannable_area_jump_to_child):
7844 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7846 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7848 * examples/Makefile.am
7849 * examples/hildon-pannable-area-touch-grid-example.c
7850 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7851 the Hildon Touch List and Hildon Touch Grid using the
7852 HildonPannableArea widget.
7854 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7856 * src/hildon-pannable-area.c,
7857 (hildon_pannable_area_button_press_cb),
7858 (hildon_pannable_area_refresh),
7859 (hildon_pannable_area_scroll),
7860 (hildon_pannable_area_motion_notify_cb),
7861 (hildon_pannable_area_button_release_cb),
7862 (hildon_pannable_area_expose_event),
7863 (hildon_pannable_area_add),
7864 (hildon_pannable_area_remove),
7865 (hildon_pannable_area_realize),
7866 (hildon_pannable_area_size_allocate),
7867 (hildon_pannable_area_class_init),
7868 (hildon_pannable_area_init),
7869 (hildon_pannable_area_scroll_to_child),
7870 (hildon_pannable_area_jump_to_child): Fixed the problem of
7871 removing the child from the GtkBin, we have rearranged the widget
7872 hierarchy, now there is no GtkAlignment which was not doing
7873 anything interesting but breaking some of the assumptions of
7874 GtkContainer. Now developers if they want to add a GtkAlignment
7875 they could, but it is not inside the area.
7877 We had to review the whole allocation/expose process, now it is
7878 improved and we save at least three signals which would be saving
7879 some time when rendering the widget. The allocation of the
7880 scrollbars is now made in the allocate method as usual.
7882 We have also added some conditions in order to control when there
7883 is no child of the pannable area. Maybe we will need more work
7886 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7888 * src/hildon-pannable-area.c,
7889 (hildon_pannable_area_dispose): Released the fade-out timeout when
7890 disposing the widget.
7892 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7894 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7895 zero, we are going to use that property in order to deactivate the
7897 (hildon_pannable_axis_scroll),
7898 (hildon_pannable_area_size_allocate): Added conditions to control
7899 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7900 call, now it is called in all situations and we can remove calls
7901 in the allocate method.
7902 (hildon_pannable_area_map): Control the situation when
7903 overshoot_max is zero, we do not need the timeout.
7904 (hildon_pannable_area_class_init): Added documentation in order to
7905 point out that setting zero to overshoot_max means deactivate
7908 NOTE: removed trailing whitespaces from my previous comments of
7911 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7913 * src/hildon-pannable-area.c
7914 (hildon_pannable_area_get_property),
7915 (hildon_pannable_area_set_property),
7916 (hildon_pannable_area_map),
7917 (hildon_pannable_area_class_init),
7918 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7919 to cause the widget give a hint about its panning abilities upon
7922 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7924 * src/hildon-pannable-area.c: Several documentation improvements.
7926 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7928 * src/hildon-program.c
7929 * src/hildon-stackable-window.c: Update documentation.
7931 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7933 * src/hildon-stackable-window.c (get_previous_window_if_last):
7934 Renamed get_last_window()
7935 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7936 (hildon_stackable_window_unset_program):
7938 (get_previous_window_if_last):
7939 Detect if the window hasn't been added to a HildonProgram.
7941 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7943 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7945 * src/hildon-pannable-area.c
7946 (hildon_pannable_area_button_press_cb),
7947 (hildon_pannable_axis_scroll),
7948 (hildon_pannable_area_scroll),
7949 (hildon_pannable_area_timeout),
7950 (hildon_pannable_calculate_vel_factor),
7951 (hildon_pannable_area_get_property),
7952 (hildon_pannable_area_set_property),
7953 (hildon_pannable_area_class_init),
7954 (hildon_pannable_area_init),
7955 (hildon_pannable_area_scroll_to),
7956 (hildon_pannable_area_jump_to),
7957 (hildon_pannable_area_scroll_to_child),
7958 (hildon_pannable_area_jump_to_child):
7959 * src/hildon-pannable-area.h: Added the new API functions:
7960 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7961 hildon_pannable_area_scroll_to_child,
7962 hildon_pannable_area_jump_to_child
7965 * examples/Makefile.am
7966 * examples/hildon-pannable-area-example-2.c
7967 * examples/hildon-pannable-area-example-3.c: Added these two new
7968 examples in order to test and show how the new APIs work.
7970 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7972 * examples/hildon-stackable-window-example.c (new_window):
7973 * src/Makefile.am (noinst_HEADERS):
7974 * src/hildon-program.c (hildon_program_go_to_root_window):
7975 * src/hildon-program.h:
7976 * src/hildon-stackable-window-private.h:
7977 * src/hildon-stackable-window.c:
7978 * src/hildon-stackable-window.h:
7979 Create hildon-stackable-window-private.h
7980 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7982 * examples/hildon-app-menu-example.c (create_menu):
7983 * examples/hildon-hvolumebar-insensitive-example.c (main):
7984 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7985 * examples/hildon-toolbar-seekbar-example.c (main):
7986 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7987 * src/hildon-banner.c (hildon_banner_set_property):
7988 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7989 Fix compilation warnings
7991 * src/hildon-window.c:
7994 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7996 * src/hildon-stackable-window.c
7997 (hildon_stackable_window_unset_program):
7998 Calculate correctly whether to show the previous window if the
7999 last one is removed from the stack.
8000 (hildon_stackable_window_go_to_root_window):
8001 Send delete events starting from the topmost window.
8002 Stop if one of the windows is not destroyed.
8004 (hildon_stackable_window_delete_event)
8005 (hildon_stackable_window_class_init):
8006 Ignore the delete event if the window is not the topmost one.
8008 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8010 * src/hildon-pannable-area.c
8011 (hildon_pannable_area_expose_event): Fixed a problem when
8012 selecting the background color of the scrollbars.
8014 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8016 * examples/hildon-stackable-window-example.c
8017 * src/hildon-stackable-window.c
8018 * src/hildon-stackable-window.h
8019 hildon_stackable_window_go_home() renamed to
8020 hildon_stackable_window_go_to_root_window()
8021 Send delete events to windows rather than closing them with
8022 gtk_widget_destroy()
8024 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8026 * src/hildon-pannable-area.c
8027 (hildon_pannable_area_button_release_cb): Fix overshooting in
8030 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8032 * src/hildon-pannable-area.c
8033 (hildon_pannable_area_init): Initially show the scroll indicators.
8034 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8036 Add initial effect showing the widget is pannable.
8038 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8040 * src/hildon-pannable-area.c
8041 (hildon_pannable_area_class_init)
8042 (hildon_pannable_area_set_property)
8043 (hildon_pannable_area_get_property)
8044 (hildon_pannable_area_button_press_cb):
8045 New 'velocity_fast_factor' property to decide which velocity is
8048 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8050 * src/hildon-pannable-area.c
8051 (hildon_pannable_draw_hscroll)
8052 (hildon_pannable_draw_vscroll):
8053 Use float variables to calculate the size of the scrollbars to
8054 avoid error propagation and resizing during scrolling.
8056 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8058 * src/hildon-pannable-area.c
8059 (hildon_pannable_draw_vscroll)
8060 (hildon_pannable_draw_hscroll):
8061 Define a minimum size for the scroll bars
8063 * src/hildon-stackable-window.c
8064 (hildon_stackable_window_go_home): Fix compilation warning
8065 (get_last_window): Minor optimizations
8066 (hildon_stackable_window_class_init): Fix initialization of
8069 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8071 * src/hildon-stackable-window.c: Fixed typos in doc
8073 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8075 * src/hildon-pannable-area.c
8076 (hildon_pannable_area_scroll):
8077 Calculate here whether we need to scroll instead of using the booleans
8078 that tell us whether to /draw/ the scrolling bars.
8080 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8082 * src/hildon-app-menu.h
8084 * src/hildon-app-menu.c
8085 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8086 multiple filter groups related code and API. Now we support only
8088 * examples/hildon-app-menu-example.c:
8090 Update to reflect API changes.
8092 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8094 * src/hildon-stackable-window.c
8095 (hildon_stackable_window_class_init):
8096 Add hildon_stackable_window_realize.
8097 (hildon_stackable_window_realize):
8098 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8099 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8100 to apply theming and behavior specific to HildonStackableWindow
8103 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8105 * src/hildon-note.c (hildon_note_button_release):
8106 Close information notes also when tapping on them
8108 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8110 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8111 ELASTICITY, refactor and review, fix some issues with drawing
8114 * src/hildon-pannable-area.c:
8115 (hildon_pannable_area_button_press_cb): removed the conditions to
8116 avoid clicks when overshooting. It is not required
8118 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8119 define. Refatored and reviewed the code, now we do not need to
8120 manage velocity in motion_notify.
8122 (hildon_pannable_area_motion_notify_cb): We have moved the code
8123 that controls the area_scroll to the axis_scroll function and get
8124 rid of duplicated code.
8126 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8128 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8130 (hildon_pannable_draw_vscroll),
8131 (hildon_pannable_draw_hscroll): Fixed the problems with the
8132 scrollbar drawing, now we do not use two surfaces, it is easier
8133 and saves resources.
8135 (hildon_pannable_area_get_property): Style modification.
8137 (hildon_pannable_area_class_init): Changed some default values.
8139 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8141 * src/hildon-stackable-window.c: Fix some typos in the
8144 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8146 * src/hildon-dialog.c:
8147 Change indentation style
8150 (hildon_note_button_release):
8151 Use root coordinates to check if the release event happened
8154 * src/hildon-app-menu.c
8155 (hildon_app_menu_button_release):
8156 Remove unnecessary check
8158 * examples/hildon-app-menu-example.c
8160 Add cast to fix warning
8162 * src/hildon-app-menu.c
8163 (hildon_app_menu_class_init):
8164 New inner-border style property.
8165 Set all default spacings to 16
8166 (hildon_app_menu_init):
8167 Use vertical-spacing to set the space between filter buttons and
8168 regular menu buttons.
8169 Set the default container border using the inner-border value.
8171 * examples/hildon-app-menu-example.c
8173 Don't set the menu border explicitly, now we have the inner-border
8174 style property for that.
8176 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8178 * src/hildon-app-menu.c (hildon_app_menu_init):
8179 Make the window modal
8181 * src/hildon-note.c (hildon_note_map)
8182 * src/hildon-app-menu.c (hildon_app_menu_map):
8183 Destroy the grab window if we're unable to grab the pointer
8185 * src/hildon-app-menu-private.h
8186 * src/hildon-app-menu.c
8187 (hildon_app_menu_init, hildon_app_menu_finalize)
8188 (hildon_app_menu_map, hildon_app_menu_unmap)
8189 (hildon_app_menu_button_release)
8190 (grab_transfer_window_get):
8191 Bring back the grab window
8192 (hildon_app_menu_realize):
8193 Decorate the window, set WM hint for Matchbox
8195 * src/hildon-note.c (hildon_note_realize):
8196 * src/hildon-banner.c (hildon_banner_realize):
8197 Add WM hints for Matchbox
8199 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8201 * src/hildon-app-menu-private.h
8202 * src/hildon-app-menu.c
8203 (hildon_app_menu_init, hildon_app_menu_finalize)
8204 (hildon_app_menu_map, hildon_app_menu_unmap)
8205 (hildon_app_menu_button_release):
8206 Remove the grab window, it's not needed anymore
8208 * src/hildon-program.c
8209 Fixed typo in documentation
8211 * src/hildon-app-menu.h
8212 * src/hildon-app-menu.c
8213 * examples/hildon-app-menu-example.c
8214 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8216 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8219 Added new transfer_window and close_if_pressed_outside private
8221 (hildon_note_rebuild):
8222 Don't add a cancel button to the information note. It will be
8223 closed when tapping outside
8224 Remove the comment about the OK button in the documentation
8225 (hildon_note_realize):
8226 Set the notification type hint
8227 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8228 Grab/ungrab pointer and keyboard if the note has to be closed when
8230 (hildon_note_button_release):
8231 Close the note when tapping outside (if applicable)
8233 * src/hildon-app-menu.c
8234 Grab/ungrab pointer and keyboard on map/unmap
8235 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8236 Close the menu on button release, not button press
8238 * src/hildon-banner.c
8239 (hildon_banner_set_property)
8240 (hildon_banner_check_position):
8241 Make the banner use the full width of the screen
8242 (hildon_banner_show_information)
8243 (hildon_banner_show_information_with_markup):
8244 Don't display an icon by default
8246 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8248 Added fading scrollbars and adapted all the overshooting code to
8249 horizontal scrolling. We have also fixed bugs with overshooting
8250 and current fading implementation.
8252 * src/hildon-pannable-area.c
8253 (hildon_pannable_area_scroll_indicator_fade): Time out function
8254 used to change the transparency of the scrollbars.
8256 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8257 control and fixed a problem with fading, we now remove the fade
8258 timeout before adding a new one.
8260 (hildon_pannable_axis_scroll):
8261 (hildon_pannable_area_scroll):
8262 (hildon_pannable_area_timeout): Added this functions so we can use
8263 the scroll code both for vertical and horizontal.
8265 (hildon_pannable_area_motion_notify_cb):
8266 (hildon_pannable_area_button_release_cb): Added the horizontal
8267 scrolling control, fixed a problem with the overshooting timeout.
8269 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8270 painting of the scrolls.
8272 (hildon_pannable_draw_vscroll):
8273 (hildon_pannable_draw_hscroll):
8274 (hildon_pannable_area_expose_event):
8275 Draw both scrollbars and rectangles in the overshooting area.
8277 (hildon_pannable_area_get_property):
8278 (hildon_pannable_area_set_property):
8279 Modified the overshoot property to overshoot_max
8281 (hildon_pannable_area_map):
8282 Replaced the comments symbols.
8284 (hildon_pannable_area_size_allocate):
8285 (hildon_pannable_area_class_init):
8286 (hildon_pannable_area_init): Added horizontal scroll, fading
8287 effect properties, fixed a problem when overshooting in the bottom
8290 * examples/hildon-pannable-area-example.c:
8291 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8292 looks better in the example.
8294 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8296 * src/hildon-window.c
8297 * src/hildon-window.h
8298 (hildon_window_class_init)
8299 (hildon_window_unset_program)
8300 (hildon_window_unset_program_real):
8301 Make unset_program a virtual function
8303 * src/hildon-stackable-window.c
8304 * src/hildon-stackable-window.h
8305 Added hildon_stackable_window_go_home()
8307 * examples/Makefile.am
8308 * examples/hildon-stackable-window-example.c
8309 HildonStackableWindow example
8311 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8313 * hildon-pannable-area.c: Added the overshoot property and removed
8314 the OVERSHOOT define. Fixed an indent style error.
8315 (hildon_pannable_area_motion_notify_cb):
8316 (hildon_pannable_area_get_property):
8317 (hildon_pannable_area_set_property): Add overshoot property.
8319 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8322 (hildon_pannable_area_class_init): Installed the new property.
8324 * hildon-pannable-area-example.c: Added a sawtooth function, this
8325 way it is easier to check the movement in the pannable.
8326 (get_sawtooth_label): Added this function.
8327 (main): Now we get the labels from the new get_sawtooth_label
8330 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8332 * src/hildon-app-menu.h
8333 * src/hildon-app-menu.c
8334 Renamed API variables for consistency
8336 (hildon_app_menu_popup): Use also the default window size to
8337 decide where to place the menu
8339 (hildon_app_menu_init, hildon_app_menu_class_init): New
8340 external-border style property
8342 2008-05-26 Michael Natterer <mitch@imendio.com>
8344 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8345 widget_class->tap_and_hold_setup signal slot doesn't exist any
8346 longer, stop overriding it.
8348 (hildon_time_editor_init): g_signal_connect() to the
8349 tap-and-hold-setup signal instead.
8351 (hildon_time_editor_entry_keypress): add cast to fix warning.
8353 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8355 * doc/hildon-docs.sgml
8357 * examples/Makefile.am
8358 * examples/hildon-app-menu-example.c
8360 * src/hildon-app-menu-private.h
8361 * src/hildon-app-menu.c
8362 * src/hildon-app-menu.h
8364 New HildonAppMenu widget
8366 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8368 Rearranged the inheritance of the pannable area, now it inherits
8369 from GtkBin. This will allow us to control the event_window and
8370 the allocation process of the widget, required for some effects.
8372 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8373 GtkBin structures. * src/hildon-pannable-area.c: Added the
8374 event_window variable.
8375 (hildon_pannable_area_button_press_cb):
8376 (hildon_pannable_area_button_release_cb):
8377 (hildon_pannable_area_motion_notify_cb):
8378 Changed the signature of the method, now we override the event
8379 callback instead of connecting to the signal.
8381 (hildon_pannable_area_realize):
8382 (hildon_pannable_area_unrealize):
8383 (hildon_pannable_area_map):
8384 (hildon_pannable_area_unmap):
8385 (hildon_pannable_area_size_allocate):
8386 Added functions to control the widget construction. We add a
8387 INPUT_ONLY window and we put it over the widgets inside the
8388 container, this event_window handles the events.
8390 (hildon_pannable_area_class_init):
8391 Replaced the signal connections with overrides of the event
8394 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8396 Bouncing effect added when touching the borders, you can change
8397 the elasticity of the border changing the ELASTICITY define.
8399 * src/hildon-pannable-area.c: Added ELASTICITY define.
8400 (hildon_pannable_area_timeout): Added inverse velocity when
8401 touching the border of the child widget, that causes a bounce.
8403 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8405 Improved performance, we now do not go to the X server in order to
8406 get the list of window children. Apparently the effect is the
8407 same, we have to be careful and check if this breaks something in
8410 * src/hildon-pannable-area.c:
8411 (get_ordered_children): Removed this function.
8412 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8413 the children windows function with gdk_window_get_children.
8415 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8417 * src/hildon-pannable-area.c:
8418 (hildon_pannable_area_dispose): Fixed a crash when closing the
8419 window and kinetics is activated.
8421 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8423 * src/hildon-pannable-area.h
8424 * src/hildon-pannable-area.c
8425 Changed indentation style to meet the one used in Hildon
8427 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8429 Reviewed the interaction of the AUTO mode, now we use the time
8430 attribute of the events and calculate the velocity in the motion,
8431 doing a gimp like calculation. The velocity is calculated in each
8432 motion event using the last velocity and the current one, the
8433 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8435 * src/hildon-pannable-area.c: Replaced the time based algorithm
8437 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8438 timeout for the AUTO mode when we are still moving the cursor. We
8439 added also the velocity calculation in this function.
8440 (hildon_pannable_area_button_release_cb): launch the timeout in
8441 case we are in AUTO mode. There are still some constants here that
8442 come from the old implementation that should be reviewed and
8445 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8447 * doc/hildon-docs.sgml
8450 * src/hildon-stackable-window.c
8451 * src/hildon-stackable-window.h
8453 New HildonStackableWindow widget
8455 * examples/hildon-dialog-example.c
8456 * examples/hildon-pannable-area-example.c
8459 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8461 * src/hildon-dialog.c
8462 (hildon_dialog_new_with_buttons): New constructor.
8464 * examples/hildon-dialog-example.c
8465 (main): Update the example to use the new
8466 hildon_dialog_new_with_buttons().
8468 * examples/hildon-pannable-area-example.c
8469 (main): Update example.
8471 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8473 * doc/hildon-docs.sgml
8475 Added HildonPannableArea to the documentation.
8477 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8479 * doc/visual_index.xml
8480 Fix reference to HildonLoginDialog in documentation
8482 * doc/hildon-docs.sgml
8484 * examples/Makefile.am
8485 * examples/hildon-dialog-example.c
8487 * src/hildon-dialog.c
8488 * src/hildon-dialog.h
8490 New HildonDialog widget.
8492 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8494 * src/hildon-pannable-area.c
8495 Merge latest changes (r4318, r4342) from libmokoui trunk
8497 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8499 * examples/Makefile.am
8500 * examples/hildon-pannable-area-example.c
8502 * src/hildon-pannable-area.c
8503 * src/hildon-pannable-area.h
8505 New HildonPannableArea widget.
8507 2008-04-15 18:05:19 <timj@imendio.com>
8509 * src/hildon-banner.c: revert the recent change, that introduced
8510 gtk_window_present() calls. this reopens:
8511 Bug 78481 - [freetest] information banners are hidden under browser menu
8512 But resolves another variant of:
8513 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8515 2008-04-15 13:21:13 <timj@imendio.com>
8517 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8518 recreated its layout, spotted by Kris. this fixes all remaining
8519 artefacts and stability issues with the banner code. in particular:
8520 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8522 2008-04-14 16:52:59 <timj@imendio.com>
8524 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8525 operating on unrealized widgets, fixes:
8526 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8528 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8530 2008-04-09 Kristian Rietveld <kris@imendio.com>
8532 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8533 makes banner disappear.
8534 Fixes: NB#79182: info banner flickering with certain message lengts.
8536 * src/hildon-banner.c (hildon_banner_constructor),
8537 (hildon_banner_init), (hildon_banner_set_text),
8538 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8539 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8540 FALSE, reset size requests of label and banner,
8541 (force_to_wrap_truncated): when the text is too wide, always enforce
8542 the maximum possible width instead of recalculating it from the
8543 layout; enforce the maximum banner height of 3 lines,
8544 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8545 nicer wrapping and no truncated chars if space gets tight.
8547 * src/hildon-banner-private.h: add has_been_wrapped and
8548 has_been_truncated fields.
8550 2008-04-07 Sven Herzberg <sven@imendio.com>
8552 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8553 local values in hildon_date_editor_size_allocate
8555 * src/hildon-date-editor.c: moved the real allocation code into the
8558 2008-04-07 Sven Herzberg <sven@imendio.com>
8560 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8561 local values in hildon_date_editor_size_allocate
8563 * src/hildon-date-editor.c: merged the two if() branches together
8565 2008-04-07 Sven Herzberg <sven@imendio.com>
8567 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8568 local values in hildon_date_editor_size_allocate
8570 * src/hildon-date-editor.c: changed the arguments of the if()
8573 2008-04-07 Sven Herzberg <sven@imendio.com>
8575 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8576 local values in hildon_date_editor_size_allocate
8578 * src/hildon-date-editor.c: split the calculation of the allocation
8579 from the real allocation
8581 2008-03-27 Michael Natterer <mitch@imendio.com>
8583 Fixes: NB#81696: The passcode is not overwritten even after
8586 * src/hildon-code-dialog.c
8587 (hildon_code_dialog_button_clicked)
8588 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8589 because that doesn't overwrite selected text. Instead, emit the
8590 "commit" signal on the entry's im_context so the entry's normal
8591 insert logic is triggered. Set the cursor to the end of the entry
8592 after each insert operation so that we *only* insert in the middle
8593 of the text if something was selected.
8595 2008-03-27 Michael Natterer <mitch@imendio.com>
8597 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8598 selector cannot be opened
8600 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8601 when the popup color selector is created. Please connect to this
8602 signal in order to set the dialog's help ID.
8604 2008-03-25 Sven Herzberg <sven@imendio.com>
8606 Fixes: MB#1212: Hide info banners (infoprints) on click
8608 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8609 extracted the close event simulation into an extra function
8610 (hildon_banner_button_press_event): simulate a close event and destroy
8611 the widget if the event wasn't handled
8612 (hildon_banner_class_init): added the button_press_event handler
8613 (hildon_banner_init): added button-press events to the widget
8615 2008-03-25 Sven Herzberg <sven@imendio.com>
8617 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8618 Patch from: Mohammad Anwari <mdamt@maemo.org>
8620 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8621 instead of the right in RTL mode
8622 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8623 breadcrumb button list in RTL mode
8624 * src/hildon-caption.c: mirror the appearance of the caption widget in
8626 * src/hildon-date-editor.c: mirror appearance of the date editor in
8628 * src/hildon-time-editor.c: mirror appearance of the time editor in
8630 * src/hildon-window.c: fix the position of the popup in RTL mode
8632 2008-03-25 Sven Herzberg <sven@imendio.com>
8634 Amendment to the fix of NB#22072. Fix compilation.
8636 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8638 2008-03-19 Sven Herzberg <sven@imendio.com>
8640 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8643 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8644 timeout id properly when the timeout will disappear this leaves no
8645 artifacts around in the destroy(); there will only be the timeout
8646 created by hildon_banner_ensure_timeout() and adding a new timeout
8647 will also work if the timeout gets removed because the timeout_handler
8650 2008-03-19 Michael Natterer <mitch@imendio.com>
8652 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8654 * src/hildon-volumebar.c
8655 * src/hildon-vvolumebar.c
8656 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8657 the widget becomes focussable at all.
8659 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8660 set the focus to wither the mute button or the volumebar.
8662 Remove own "can-focus" property and instead listen to
8663 notify::can-focus in order to update the widget's state.
8665 Implement GtkWidget::focus() and make sure we can also *leave* the
8666 widget, not only enter it, depending on volumebar orientation and
8667 requested focus direction.
8669 Clean up set_mute() to cooperate nicely with all the above.
8671 2008-03-04 Michael Natterer <mitch@imendio.com>
8673 Fixes: NB#78481: information banners are hidden under browser menu
8675 * src/hildon-banner.c: call gtk_window_present() on the banners so
8676 they are risen if they are already visible.
8678 2008-03-03 Sven Herzberg <sven@imendio.com>
8680 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8682 * examples/hildon-window-menu-example.c: (main): extended the window
8683 menu example to serve as a testcase for automatically added
8684 accelerator groups, too
8685 * src/hildon-window.c: (hildon_window_add_accel_group),
8686 (hildon_window_set_menu): added patch by Tommi Komulainen
8688 2008-03-03 Sven Herzberg <sven@imendio.com>
8690 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8692 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8693 knowledge about the border allocators used within GTK+
8695 2008-02-26 Sven Herzberg <sven@imendio.com>
8697 Fixes: MB#2981: Build with asserts broken
8699 * src/hildon-date-editor.c,
8700 * src/hildon-number-editor.c,
8701 * src/hildon-time-editor.c,
8702 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8703 the proper GType instance check
8705 2008-02-25 Sven Herzberg <sven@imendio.com>
8707 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8709 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8710 * examples/hildon-window-menu-example.c: (main): explicitly show
8712 * src/hildon-window.c:
8713 (hildon_window_set_main_menu): moved most of the code from set_menu()
8714 to this place; skipped the call to gtk_widget_show_all(); also didn't
8715 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8716 (hildon_window_set_menu): removed most of the code, just keep the
8717 questionable gtk_widget_show_all()
8718 * src/hildon-window.h: added the new function and deprecate the old
8721 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8727 * debian/changelog: Updating.
8729 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8732 * pkgconfig/Makefile.am:
8733 * pkgconfig/hildon.pc.in:
8736 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8737 use newly created API_MAJOR_VERSION.
8739 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8745 * debian/changelog: Updating.
8747 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8749 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8751 Add outer_border style property, we use it but don't define it (!).
8755 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8757 * examples/hildon-bread-crumb-trail-example.c (main):
8761 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8763 Fix logic for the bread crumb trail node removal.
8767 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8773 * debian/changelog: Updating.
8775 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8777 Patch by Alejandro to get/set passwords dialogs accesibility.
8779 * hildon-1/src/hildon-get-password-dialog.c:
8780 * hildon-1/src/hildon-set-password-dialog.c:
8781 Set atk_set_name to the passwd entries in order to allow
8782 accessibility by name on this entries.
8784 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8789 * debian/control: Updating gtk dep.
8791 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8793 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8794 USE_MAEMO_GTK is enabled.
8796 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8798 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8799 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8801 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8807 * debian/changelog: Updating.
8809 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8811 * examples/Makefile.am:
8812 * examples/hildon-logical-color-example.c:
8813 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8814 applied + adding a test case. Fixes: NB#71660.
8816 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8818 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8819 to be visible, fixes warning on map for windows without toolbars.
8821 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8823 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8824 2.11.0, add a check for that besides the MAEMO_GTK check.
8826 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8832 * debian/changelog: Updating.
8834 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8837 visibility. Fixes: NB#70842 and MB#615.
8839 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8841 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8842 set the separator as no-show-all so it doesn't unintentionally appear when
8843 someone does a show_all.
8845 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8847 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8848 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8849 toplevel item. Fixes: NB#62031
8851 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8853 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8854 fix the name of the function in the docs.
8856 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8862 * debian/changelog: Updating.
8864 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8866 * examples/hildon-banner-long-example.c: Adding a test-case for long
8869 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8871 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8873 * src/hildon-color-chooser-dialog.c:
8874 * src/hildon-color-chooser.c:
8875 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8876 memory leaks in font selector and color selector. Fixes: NB#70499 and
8879 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8881 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8883 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8885 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8886 little bit bigger. Fixes: #NB63694.
8888 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * debian/changelog: Updating.
8896 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8899 * doc/hildon-docs.sgml:
8900 * doc/images/bread-crumb-trail.png:
8901 * doc/images/calendar-popup.png:
8902 * doc/images/caption.png:
8903 * doc/images/code-dialog.png:
8904 * doc/images/color-button.png:
8905 * doc/images/color-chooser-dialog.png:
8906 * doc/images/color-chooser.png:
8907 * doc/images/controlbar.png:
8908 * doc/images/date-editor.png:
8909 * doc/images/font-selection-dialog.png:
8910 * doc/images/get-password-dialog.png:
8911 * doc/images/hvolumebar.png:
8912 * doc/images/login-dialog.png:
8913 * doc/images/note.png:
8914 * doc/images/number-editor.png:
8915 * doc/images/range-editor.png:
8916 * doc/images/seekbar.png:
8917 * doc/images/set-password-dialog.png:
8918 * doc/images/sort-dialog.png:
8919 * doc/images/time-editor.png:
8920 * doc/images/time-picker.png:
8921 * doc/images/vvolumebar.png:
8922 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8923 Adding the bread-crumb-trial and helpers to the documentation.
8925 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * examples/hildon-find-toolbar-example.c:
8928 * src/hildon-find-toolbar.c:
8929 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8930 actually continue firing the other handlers if connected. Adding a new
8932 hildon_find_toolbar_get_last_index that gets the index of the most
8933 recently added (last) item. Fixes: NB#52301.
8935 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8938 behaviour. Fixes: NB#68610.
8940 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8945 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8948 when realizing the banner. Should make the infonbanner effect a bit more
8951 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8953 * src/hildon-volumebar.c:
8954 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8955 hildon_volumebar_set_range_insensitive_message and
8956 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8958 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-window.c: Fixing the border freeing on destroy.
8962 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8964 * src/hildon-code-dialog-private.h:
8965 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8966 kw keyboard support in HildonCodeDialog.
8968 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * debian/changelog: Updating.
8976 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 * src/hildon-date-editor.c:
8979 * src/hildon-number-editor.c:
8980 * src/hildon-private.c:
8981 * src/hildon-private.h:
8982 * src/hildon-time-editor.c:
8983 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8984 handling in subclassed composite widgets. Fixes: NB#66628.
8986 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8988 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8989 from destroy_ callback as it introduces problems in async dbus signal
8990 handlers. Fixes NB#66673.
8992 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * examples/hildon-hvolumebar-example.c:
8995 * src/hildon-volumebar.c: Improving the focus handling in the
8996 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8997 set_property accessor so that "mute" property can be actually set. I'm
8998 scared that nobody noticed it's totally broken.
9000 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9005 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * src/hildon-calendar.c:
9008 * src/hildon-number-editor.c:
9009 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9010 matches the spec of 6 chars per second. Fixes: NB#60489.
9012 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9015 gtk_style_lookup_color sometime returns FALSE even though color was
9016 found and values were filled properly. Weird. Removing the warning for the
9019 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9022 expand vertically. Adding some extra space to the find toolbar buttons to
9023 make them thumbable. Fixes NB#66060.
9025 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9028 popup with "Ok" and "Cancel". Fixes NB#59299.
9030 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * src/hildon-calendar.c: Process all window updates before executing next
9033 timeout. Fixes: NB#54146.
9035 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9041 * debian/changelog: Updating.
9043 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9045 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9046 the client event and ignore it, since we use the delete event to close
9049 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * src/hildon-helper.c: Remove the bogus warning about color not being
9052 found. Fixes NB#58352.
9054 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * examples/Makefile.am:
9057 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9058 HildonSeekbar widget inside a toolbar.
9060 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9062 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9063 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9064 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9065 don't want to be closed by non-temporary windows on map.
9067 Also use G_DEFINE_TYPE instead of manually typed code.
9069 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * debian/rules: Updating.
9078 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9080 * examples/Makefile.am:
9081 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9082 bug NB#61128. Strangely it works.
9084 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9086 * src/hildon-date-editor.c: When the date editor entry has been changed
9087 but the numbers of characters < max, turn off the skip validation flag.
9088 Prevents a situation when we enter first a valid year and later re-write
9089 it with an invalid one. Fixes NB#60154.
9091 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9093 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9094 code dialog. Fixes NB#64355.
9096 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9098 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9099 switching the page. Fixes NB#49374.
9101 * examples/Makefile.am:
9102 * examples/hildon-wizard-dialog-example.c: Adding an example for
9103 HildonWizardDialog that shows how to handle manual sensitivity setting on
9106 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * src/hildon-version.h.in:
9111 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9113 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9115 * src/hildon-volumebar.c: Updating the docs.
9117 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9123 * debian/changelog: Updating.
9125 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * src/hildon-find-toolbar.c:
9128 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9129 selected item: hildon_find_toolbar_set_active,
9130 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9131 hildon_find_toolbar_get_active_iter . They correspond to respective
9132 GtkComboBox functions.
9134 * examples/Makefile.am:
9135 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9138 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * examples/Makefile.am:
9141 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9144 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9145 when font size > 32 and we pack a focusable widget inside. Actually using
9146 the default response would work too, but since we don't show default
9147 response state in any way (no theming) it would not be visible to the
9148 user. Fixes NB#63430.
9150 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * src/hildon-date-editor.c: Adding the missing variable setter in the
9153 set_property handler. Fixes NB#54182.
9155 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * src/hildon-window.h: Changing the long key press time from 1500ms to
9158 800ms as requested in NB#63700. I have a bad feeling about this, let's
9159 see... Fixes NB#63700.
9161 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9163 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9164 hildon_time_picker_map, hildon_time_picker_realize,
9165 hildon_time_picker_style_set): Split the contents of map to more
9166 appropriate functions; set window decorations on realize and update
9167 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9169 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9174 * debian/changelog: Updating.
9176 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9178 * src/Makefile.am: fixed installation of the header files
9180 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9186 * debian/changelog: Updating.
9188 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * configure.ac: Removing some remaining of --enable-xan.
9192 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9194 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9195 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9197 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9198 2.10.12-osso6 because the move-focus signal needs to be available in
9201 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * examples/Makefile.am:
9204 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9205 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9206 fine. Prolly NB#61128 is fixed now.
9208 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * src/hildon-volumebar.c:
9211 * src/hildon-volumebar.h: Adding the
9212 hildon_volumebar_set_range_insensitive_message and
9213 hildon_volumebar_set_range_insensitive_messagef functions to set
9214 insensitive message on the slider of the volumebar. Fixes NB#61129.
9216 * examples/Makefile.am:
9217 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9218 test the new insensitive messsage functionality on HildonVolumebar.
9220 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9222 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9225 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9227 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9228 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9229 button on after clearing the trail.
9231 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9233 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9235 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9237 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9238 by splitting the installed headers in generated and non-generated groups. Use
9239 only the non-generated headers to create the hildon-enum-types.h file.
9241 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9243 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9245 * src/hildon-window.c: Hide the window before performing the destroy.
9246 Should make the app closing a little tiny bit more snappy.
9248 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9250 * src/hildon-seekbar.c: add gtkrange.h header
9251 * src/hildon-caption.c: remove unused variable
9253 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9255 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9258 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9264 * debian/changelog: Updating.
9266 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9268 * src/hildon-window.c (hildon_window_window_state_event,
9269 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9270 escape timeout on focus-out-event rather than notify::is-topmost; the
9271 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9273 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9275 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9276 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9278 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9280 * src/hildon-window: actually, you need to use the macro always, there's
9281 no private pointer in the instance structure. We should have cleaned this up
9282 when we had the chance...
9284 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9286 * src/hildon-window.c: do not get the private date from HildonWindow before
9287 it passes the g_return_if_fail check. Once it's passed the test, there's no
9288 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9289 if you are only going to access the data once. Whitespace cleanups.
9291 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9293 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9294 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9296 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9302 * debian/changelog: Updating.
9304 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9306 * src/hildon-window.c: When destroying the window, remove (if exists) the
9307 escape timeout handler. Fixes #NB59276.
9309 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9311 * src/hildon-banner.c: When realizing the widget, set the window
9312 transiency. Setting the transiency in the gobject constructor is not
9313 good, as the widget is not realized at that point. Fixes: #NB56624.
9315 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9317 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9318 Add padding for future expansions.
9320 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9322 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9323 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9324 will fake an activation on the previous to the last item of the trail, so
9325 the effect can be overrided by the developer as usual.
9326 Also change the callback for the back button to do the same thing, so its
9327 effect can be overrided too. Fixes: NB#58982
9329 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9332 HildonCaption. Fixes NB#52379.
9334 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9336 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9337 the internal state of the trail after the user has had the chance of executing
9338 his handler for the signal. Specifically, it may happen that the activated button
9339 is removed and the user still lets the default handler run. This would segfault
9342 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9344 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9345 scrollbar to the preview dialog. Fixes NB#54147.
9347 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9349 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9350 max/min year properties can be altered, so the client can modify it
9351 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9353 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9355 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9356 hildonlike by default. Fixing a problem with disappearing arrows when
9357 scrolling through months and years. Fixes NB#54127.
9359 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9361 * examples/hildon-date-editor-example.c: Adding error callback to the date
9364 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9370 * configure.ac: Updating.
9372 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9374 * configure.ac: Adding a special '--enable-xan' configure option that
9375 turns off the -Werror compilation setting. Usefull for development.
9377 * src/hildon-calendar.c:
9378 * src/hildon-number-editor.c:
9379 * src/hildon-time-picker.c: Adding the 5* multiplier to
9382 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9384 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9385 instead of g_object_ref + gtk_object_sink.
9387 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9393 * debian/changelog: Updating.
9395 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9397 * src/hildon-color-chooser-dialog.c:
9398 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9399 straight from Tommi labs.
9401 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9403 * examples/hildon-finger-example.c: Correcting the header file path.
9405 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9406 the changed signal. Fixes a small memory leak.
9408 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9412 * src/hildon-banner.c: Importing several usefull fixes from the
9413 ubuntu-mobile branch.
9415 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9417 * examples/Makefile.am:
9418 * examples/hildon-finger-example.c: Adding a finger-checking code
9421 * src/hildon-font-selection-dialog.c: Do not allocate the color
9422 structure using the g_new. Fixes NB#54061.
9424 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9426 * src/hildon-helper.c: Correcting tabs in file.
9428 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9430 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9431 control the visibility of the children.
9433 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9435 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9441 * debian/changelog: Updating.
9443 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9445 * src/hildon-bread-crumb-trail.c:
9446 (hildon_bread_crumb_trail_size_allocate):
9448 Make the back button always a square.
9450 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9452 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9453 from the .c file as it's a private file.
9455 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9458 uses slightly bigger height.
9460 * src/hildon-font-selection-dialog.c: Adding some checks before
9461 freeing memory in the font selection dialog.
9463 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9465 * src/hildon-font-selection-dialog.c: Adding a small check when
9468 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9469 buttons sensitivity on page switching.
9471 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9473 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9474 internal details of adding a bread crumb to the trail.
9476 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * debian/changelog: Updating.
9484 * src/hildon-bread-crumb-trail.h:
9485 * src/hildon-bread-crumb.h: Changing the API guard to
9486 HILDON_ENABLE_UNSTABLE_API.
9488 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9496 * src/hildon-helper.h: Updating.
9498 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9506 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9510 * src/hildon-helper.h: Small fix to make the package actually compile.
9512 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9514 * src/hildon-bread-crumb-trail.h:
9515 * src/hildon-bread-crumb.h:
9517 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9518 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9520 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9522 * examples/hildon-bread-crumb-trail-example.c:
9524 * src/hildon-bread-crumb-trail.c:
9525 * src/hildon-bread-crumb-trail.h:
9526 * src/hildon-bread-crumb.c:
9527 * src/hildon-bread-crumb.h:
9528 * src/hildon-marshalers.list:
9529 * src/hildon-bread-crumb-widget.c:
9530 * src/hildon-bread-crumb-widget.h:
9532 Slight change in the widget design. The bread crumb trail API is
9533 unchanged, but HildonBreadCrumb is now an interface. A *private*
9534 implementation, hildon-bread-crumb-widget, is provided and used
9535 internally by the trail for the push_text/push_icon functions.
9537 The generic push API is still available, so anyone can implement
9538 and use its own bread crumb widget.
9540 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9542 * debian/rules: Fixing the shlibs.
9544 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9546 * src/hildon-banner.c: Fixing a problem with timed banners having
9547 their parrent destroyed before they are.
9549 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9551 * src/hildon-bread-crumb.c:
9552 * src/hildon-bread-crumb.h:
9554 Make the get_natural_size function a vfunc.
9556 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9558 * src/hildon-bread-crumb.c:
9559 * src/hildon-bread-crumb-trail.c:
9563 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9570 * debian/changelog: Updating for release.
9572 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9574 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9575 don't leak the pango layout.
9577 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9580 * examples/hildon-bread-crumb-trail-example.c:
9584 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * debian/changelog: Removing the bug-fixed entries that were actually
9587 resolved as WONTFIX.
9589 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9592 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9594 * src/hildon-bread-crumb-trail.c:
9595 * src/hildon-bread-crumb-trail.h:
9596 * src/hildon-bread-crumb.c:
9597 * src/hildon-bread-crumb.h:
9601 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9603 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9604 until it's passed the type check.
9606 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9608 * examples/hildon-bread-crumb-trail-example.c
9612 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9614 * examples/Makefile.am
9615 * examples/hildon-bread-crumb-trail-example.c
9617 * src/hildon-bread-crumb-trail.c
9618 * src/hildon-bread-crumb-trail.h
9619 * src/hildon-bread-crumb.c
9620 * src/hildon-bread-crumb.h
9622 New HildonBreadCrumbTrail widget.
9624 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9626 * src/hildon-range-editor.c (hildon_range_editor_init),
9627 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9628 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9629 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9630 hildon_time_editor_class_init, hildon_time_editor_init),
9631 src/hildon-get-password-dialog.c (invalid_input,
9632 hildon_get_password_set_property, hildon_get_password_get_property,
9633 create_contents, hildon_get_password_dialog_set_max_characters),
9634 src/hildon-set-password-dialog.c (create_contents),
9635 src/hildon-date-editor.c (hildon_date_editor_init),
9636 src/hildon-login-dialog.c (hildon_login_dialog_init),
9637 src/hildon-number-editor.c (hildon_number_editor_init),
9638 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9639 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9640 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9641 configure option and adding the respective checks in the code.
9642 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9643 hildon_calendar_drag_data_received): fixed some build warnings.
9645 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9647 * debian/changelog: A 1.0.0 release notes.