1 2009-09-04 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-entry.c
4 * hildon/hildon-text-view.c:
7 2009-09-04 Alberto Garcia <agarcia@igalia.com>
9 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
10 Redraw menu when the number of items change.
12 Fixes: NB#131911 (Appmenu does not resize properly, when number of
15 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
17 * hildon/hildon-pannable-area.c:
18 (hildon_pannable_area_launch_fade_timeout),
19 (hildon_pannable_area_motion_event_scroll),
20 (hildon_pannable_area_check_move),
21 (hildon_pannable_area_button_release_cb),
22 (hildon_pannable_area_scroll_to):
24 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
25 area drawing operations, since this is the recommended for drawing
28 Fixes: NB#110894 (In event view containing very large description
29 field, application menu is displayed blank while panning)
30 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
33 2009-09-03 Alberto Garcia <agarcia@igalia.com>
35 * doc/hildon-sections.txt
36 * hildon/hildon-button.c
37 * hildon/hildon-edit-toolbar.c
38 * hildon/hildon-gtk.[ch]
39 * hildon/hildon-main.c
40 * hildon/hildon-program.c
41 * hildon/hildon-stackable-window.c:
44 2009-08-28 Alberto Garcia <agarcia@igalia.com>
46 * hildon/hildon-app-menu.c
47 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
48 Close the menu if it receives a grab-notify signal.
50 Fixes: NB#134533 (UI freezes if we show a dialog with
51 gtk_dialog_run() while a menu is opened)
53 2009-08-27 Alejandro G. Castro <alex@igalia.com>
55 * hildon/hildon-pannable-area.c,
56 (hildon_pannable_area_class_init): Reverted tuning modifications:
57 "Pannign needs to be faster" and "Pannable kinetics in large lists
60 2009-08-26 Alberto Garcia <agarcia@igalia.com>
62 * hildon/hildon-sound.c (hildon_play_system_sound):
63 Set "module-stream-restore.id" to "x-maemo-system-sound" when
66 Fixes: NB#133767 (Information and confirmation note sound should
67 follow system profile setting)
69 2009-08-26 Alejandro G. Castro <alex@igalia.com>
71 * hildon/hildon-pannable-area.c,
72 (hildon_pannable_area_class_init): Added more force and increased
73 the max speed threshold.
75 Fixes: NB#135344 (Pannign needs to be faster)
77 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
79 [Release 2.1.96, this time for real]
82 * debian/changelog: updates
84 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
86 * hildon/hildon-pannable-area.c
87 (hildon_pannable_area_get_topmost): change the computation of the
88 co-ordinates transformed when no one of the children is a topmost
90 Fixes: NB#133252 (Opening any feed item from RSS always opens the
91 first feed item in browser)
93 2009-08-26 Alejandro G. Castro <alex@igalia.com>
95 * hildon/hildon-pannable-area.c,
96 (hildon_pannable_area_remove_timeouts): Adding this new function
97 with the code that removes the timeouts of the widget.
98 (hildon_pannable_area_dispose),
99 (hildon_pannable_area_unrealize): Use the new remove function to
100 stop timeouts when unrealizing and disposing.
101 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
102 calculation to avoid negative values in some cases.
104 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
106 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
108 * examples/hildon-check-button-example.c: (button_toggled_cb):
109 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
110 (hildon_check_button_set_active), (hildon_check_button_new),
111 (hildon_check_button_clicked), (hildon_check_button_class_init):
112 * hildon/hildon-check-button.h:
113 * hildon/hildon-set-password-dialog.c: (create_contents),
114 (hildon_set_password_response_change), (hildon_checkbox_toggled):
116 Revert "Make HildonCheckButton derive from GtkToggleButton"
118 2009-08-21 Alberto Garcia <agarcia@igalia.com>
122 * configure.ac: bump version
124 * debian/changelog: updates
126 2009-08-21 Alberto Garcia <agarcia@igalia.com>
128 * hildon/hildon-check-button.h
129 * hildon/hildon-check-button.c
130 (hildon_check_button_clicked, hildon_check_button_class_init):
131 Make HildonCheckButton derive from GtkToggleButton
132 (hildon_check_button_toggled, hildon_check_button_set_active)
133 (hildon_check_button_get_active):
134 Deprecate unnecessary HildonCheckButton API and use the
135 one from GtkToggleButton instead.
137 * hildon/hildon-set-password-dialog.c (create_contents)
138 (hildon_set_password_response_change, hildon_checkbox_toggled)
139 * examples/hildon-check-button-example.c (button_toggled_cb):
140 Update to use the GtkToggleButton API
142 Fixes: MB#4739 (HildonCheckButton should inherit from
145 Fixes: NB#132661 (HildonCheckButton should inherit from
148 2009-08-20 Alberto Garcia <agarcia@igalia.com>
150 * hildon/hildon-pannable-area.c
151 (hildon_pannable_area_class_init):
152 Increase default value of HildonPannableArea:velocity_max to 2000
154 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
156 2009-08-18 Alberto Garcia <agarcia@igalia.com>
160 * configure.ac: bump version
162 * debian/changelog: updates
164 2009-08-11 Alejandro G. Castro <alex@igalia.com>
166 * hildon/hildon-pannable-area.c
167 (hildon_pannable_area_size_allocate): Checked the scrollbars
168 before the first try when defining the layout, avoids two
169 allocations in some situations.
171 Fixes: NB#131794 (pannable area produces unnecessary allocations
172 causing performance problems)
174 2009-08-11 Alejandro G. Castro <alex@igalia.com>
176 * hildon/hildon-pannable-area.c
177 (hildon_pannable_area_button_press_cb),
178 (hildon_pannable_area_motion_notify_cb),
179 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
180 the spurious ref added in the copy, fixes leak of window.
182 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
183 if it's realized without showing and then deleted)
185 2009-08-10 Alberto Garcia <agarcia@igalia.com>
189 * configure.ac: bump version
191 * debian/changelog: updates
193 2009-08-06 Alberto Garcia <agarcia@igalia.com>
195 * examples/hildon-hvolumebar-timer-example.c
197 * hildon/hildon-banner.c
198 (hildon_banner_timeout, hildon_banner_ensure_timeout)
199 * hildon/hildon-calendar.c
200 (calendar_timer, start_spinning)
201 * hildon/hildon-color-chooser.c
202 (inline_limited_expose)
203 * hildon/hildon-date-editor.c
204 (hildon_date_editor_entry_focus_in)
205 (hildon_date_editor_entry_validate)
206 (hildon_date_editor_entry_select_all)
207 * hildon/hildon-note.c
209 * hildon/hildon-number-editor.c
210 (hildon_number_editor_button_pressed)
211 (hildon_number_editor_start_timer, do_mouse_timeout),
212 (add_select_all_idle, hildon_number_editor_select_all)
213 * hildon/hildon-time-editor.c
214 (hildon_time_editor_entry_focus_in)
215 (highlight_callback, hildon_time_editor_validate)
216 (hildon_time_editor_entry_select_all)
217 * hildon/hildon-time-picker.c
218 (hildon_time_picker_arrow_press)
219 (hildon_time_picker_key_repeat_timeout)
220 * hildon/hildon-window.c
221 (hildon_window_key_press_event)
222 (hildon_window_escape_timeout):
223 Replace all calls to g_idle_add/g_timeout_add with their
224 gdk_threads counterparts.
226 Fixes: NB#126198 (gdk-threads API should be used to install idle
227 and timeout handlers)
229 2009-08-06 Alejandro G. Castro <alex@igalia.com>
231 * hildon/hildon-pannable-area.c,
232 (hildon_pannable_area_class_init): Increased the overshooting max
233 speed to get a faster effect.
234 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
235 deceleration of the overshooting
236 (hildon_pannable_area_button_release_cb): Calculate initial
237 overshooting speed when finger on the screen using the distance to
238 launch the effect faster.
240 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
241 lists with slow row renderers)
243 2009-08-05 Alberto Garcia <agarcia@igalia.com>
245 * doc/hildon-sections.txt: Add new functions
247 2009-08-05 Alberto Garcia <agarcia@igalia.com>
249 * hildon/hildon-text-view.[ch]
250 * hildon/hildon-entry.[ch]:
251 Add deprecation guards around deprecated functions.
253 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
255 * hildon/hildon-app-menu.c: Remove leftover function declaration.
257 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
259 Remove the grab from HildonAppMenu
261 * hildon/hildon-app-menu.c:
262 Now hildon-desktop places a blocker window behind the menu to handle
263 its closing, so the grab is no longer needed. This simplifies its
264 implementation and allows the system blanking to succeed.
266 Fixes: NB#130910 (Screen gets unlocked when menu is open)
268 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
272 * configure.ac: bump version
274 * debian/changelog: updates
275 * debian/control: raise debian dependency on GTK+
277 2009-08-04 Alberto Garcia <agarcia@igalia.com>
279 * hildon/hildon-text-view.c
280 * hildon/hildon-entry.c:
281 Remove all placeholder code from HildonEntry and HildonTextView
282 and use the API in GtkEntry and GtkTextView instead.
284 * examples/hildon-entry-example.c
285 * examples/hildon-text-view-example.c
286 * examples/hildon-wizard-dialog-example.c
287 * hildon/hildon-get-password-dialog.c
288 * hildon/hildon-login-dialog.c
289 * hildon/hildon-picker-dialog.c
290 * hildon/hildon-set-password-dialog.c
291 * hildon/hildon-touch-selector-entry.c:
292 Replace all deprecated calls to HildonEntry and HildonTextView
293 with their Gtk counterparts.
295 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
298 2009-08-03 Alejandro G. Castro <alex@igalia.com>
300 * hildon/hildon-pannable-area.c,
301 (hildon_pannable_area_check_move),
302 (hildon_pannable_area_button_release_cb),
303 (hildon_pannable_area_scroll_to): Reverted the priority change of
304 the timeout, in some situations, slow renderers, the click do not
305 make it to the mainloop on time.
307 Fixes NB#131013 (unable to stop panning file manager by tapping on
310 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
312 * configure.ac: bump version
314 * debian/changelog: updates
316 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
318 * hildon/hildon-touch-selector.[ch]
319 (hildon_touch_selector_center_on_index): New method that allows to center
320 on a item not selected
322 Fixes NB#130291 (New HildonTouchSelector API is required to center on
325 2009-07-29 Alberto Garcia <agarcia@igalia.com>
327 * hildon/hildon-text-view.c
328 (+set_logical_color, +hildon_text_view_style_set)
329 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
330 (hildon_text_view_init)
331 * hildon/hildon-entry.c
332 (+set_logical_color, +hildon_entry_style_set)
333 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
334 (hildon_entry_class_init, hildon_entry_init)
335 * hildon/hildon-button.c
336 (+set_logical_font, +set_logical_color)
337 (hildon_button_style_set, hildon_button_init)
338 (hildon_button_set_arrangement, hildon_button_set_style):
339 Remove all calls to hildon_helper_set_logical_font() and
340 hildon_helper_set_logical_color(), which are recursive, from
343 Fixes: NB#123409 (Showing dialog consumes significant amount of
346 2009-07-29 Alejandro G. Castro <alex@igalia.com>
348 * hildon/hildon-pannable-area.c,
349 (hildon_pannable_area_timeout): Added the process updates of the
350 scrollbars window in the pannable.
352 Fixes: NB#130043 (scrollindicator not smooth while panning)
354 2009-07-23 Alejandro G. Castro <alex@igalia.com>
356 * hildon/hildon-pannable-area.c,
357 (hildon_pannable_area_check_move),
358 (hildon_pannable_area_button_release_cb),
359 (hildon_pannable_area_scroll_to): Increased the priority of the
360 timeout this way it is going to be handled before the events.
362 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
366 * configure.ac: bump version
367 * debian/changelog: updates
369 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
371 * hildon/hildon-entry.c: (set_property): Do not allow to set
372 automatic height and use finger height instead, to prevent an to
373 have a smaller size than than its theme pixbuf.
375 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
377 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
379 * configure.ac: postrelease version bump.
380 * debian/changelog: post release version bump
382 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
387 * configure.ac: Bump version.
388 * debian/changelog: Updates.
390 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
392 * hildon/hildon-note.c: (label_size_request): Take the note
393 padding into account when setting the size request.
395 Fixes: NB#127896 (Information notes text truncated)
397 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: postrelease version bump.
400 * debian/changelog: post release version bump
402 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
407 * configure.ac: Bump version.
408 * debian/changelog: Updates.
410 2009-07-16 Alejandro G. Castro <alex@igalia.com>
413 * hildon/hildon-text-view.c,
414 (hildon_text_view_button_press_event): Grabbed the focus in button
415 press, this way we are sure the widget has the focus in the
416 release event, required for HIM.
418 Fixes: NB#121445 (Virtual keyboard opening is not working in same
419 way for each text entry field)
421 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
423 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
424 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
425 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
426 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
427 (hildon_pannable_area_[gs]et_center_on_child_focus)
428 Redefined GtkContainer set-focus-child signal, in order to center
429 properly on a child when it receives the focus. Defined a new property
430 "center-on-child-focus" in order to activate this feature (deactivated
431 by default). Public get/set methods defined to manage the property.
433 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
435 2009-07-14 László Pere <lpere@blumsoft.eu>
437 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
438 the new size is applied.
440 Fixes: NB#124510 (The Application Menu is distorted when switched
441 between portrait and landscape mode)
442 Fixes: NB#115388 (Power key menu does not resize itself)
444 2009-07-01 Alberto Garcia <agarcia@igalia.com>
446 * hildon/hildon-banner.c (hildon_banner_map):
447 Set banner position after mapping.
449 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
451 * configure.ac: postrelease version bump.
452 * debian/changelog: post release version bump
454 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
459 * configure.ac: Bump version.
460 * debian/changelog: Updates.
462 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
464 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
467 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
469 * tests/check-hildon-banner.c
471 * tests/test_suites.h
472 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
473 were testing deprecated functions.
474 * examples/hildon-banner-example.c: typo on button3 type, that causes
475 a fail compiling with --with-examples but without --disable-deprecated
477 Missed commit in order to fix compilation using '--enable-fatal' and
478 '--disable-deprecated' (see previous commit)
480 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
482 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
483 functions with #ifndef HILDON_DISABLE_DEPRECATED
484 * examples/hildon-find-toolbar.c: Protect deprecated
485 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
486 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
487 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
488 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
490 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
491 to allow proper compilation of deprecated functions defined on the header
493 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
495 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
497 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
498 Cache the panning indicator color.,
499 (hildon_pannable_area_style_set): Query the color on style changes.
500 (hildon_pannable_draw_vscroll),
501 (hildon_pannable_draw_hscroll),
502 (hildon_pannable_area_expose_event): Use the cached panning indicator
503 color instead of looking it up on every expose and more.
505 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
507 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
508 (hildon_pannable_draw_hscroll),
509 (hildon_pannable_area_expose_event): Fix the panning indicator color,
510 so that it's "SecondaryTextColor", as desired.
512 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
514 * hildon/hildon-picker-dialog.c:
515 (selection_completed): take into account HILDON_UI_MODE_NORMAL
516 * hildon/hildon-touch-selector.c
517 (hildon_touch_selector_init): Initialize hildon-ui-mode
518 (hildon_touch_selector_row_activated): new callback for the
519 "row-activated" signal, in order to save the last activated
520 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
521 if the current hildon-ui-mode is coherent with the touch selector
522 (hildon_touch_selector_class_init)
523 (hildon_touch_selector_get_property)
524 (hildon_touch_selector_set_property)
525 Added "hildon-ui-mode" property
526 (disconnect_model_handlers): renamed to clean_column
527 (hildon_touch_selector_remove): use clean_column function
528 (_create_new_column): use the hildon-ui-mode to create the treeview, and
529 only select the first element on HILDON_UI_MODE_EDIT
530 (hildon_touch_selector_column_init): Initialize last_activate
531 (hildon_touch_selector_append_column): check that the touch selector
532 is coherent with the current hildon-ui-mode
533 (hildon_touch_selector_get_hildon_ui_mode)
534 (hildon_touch_selector_set_hildon_ui_mode)
535 Added a getter/setter for the hildon-ui-mode property
536 (hildon_touch_selector_get_last_activated_row): Added this method in
537 order to get the last activated row.
538 * examples/hildon-touch-selector-normal-mode-example.c
539 New example, that shows how to use the HildonTouchSelector in
540 HILDON_UI_MODE_NORMAL
542 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
543 Kristian Rietveld <kris@lanedo.com> advices
545 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
547 * hildon/hildon-time-selector.c: (update_format_policy): Do
548 not call update_format_dependant_columns() if not necessary.
549 (update_format_dependant_columns): Remove unnecessary check for
550 the number of columns.
552 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
554 * hildon/hildon-note.c (+hildon_note_constructor),
555 (hildon_note_class_init), (+hildon_note_set_padding),
556 (hildon_note_rebuild): Install a constructor where to set the
557 padding properties in the note, so that it actually works fine.
558 Use hildon_note_set_padding() for this, and also to set it during
561 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
563 * configure.ac: Bump GTK+ requirement to 2.14.3.
564 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
565 when using maemo-gtk to define proper margins for the notes.
567 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
568 with the dialog edge)
570 2009-06-24 Alberto Garcia <agarcia@igalia.com>
572 * hildon/hildon-banner.c
573 (hildon_banner_class_init):
575 (+hildon_banner_size_request):
576 Request always the full width of the screen.
577 (hildon_banner_realize)
578 (-hildon_banner_check_position, hildon_banner_map):
579 hildon_banner_check_position() is not needed in Hildon 2.2.
580 (-hildon_banner_reset_wrap_state)
581 (hildon_banner_constructor, hildon_banner_init):
582 Remove unnecessary calls to hildon_banner_reset_wrap_state()
583 (+banner_do_set_text)
584 (force_to_wrap_truncated):
585 Remove has_been_wrapped and has_been_truncated attributes.
586 (+reshow_banner, hildon_banner_real_show_information)
587 (hildon_banner_show_information_with_markup)
588 (hildon_banner_show_animation, hildon_banner_show_progress)
589 (hildon_banner_set_text, hildon_banner_set_markup):
590 Refactor code. Shrink banner vertically to use the minimum space
591 necessary everytime the text of the label is updated.
592 (screen_size_changed):
593 Call force_to_wrap_truncated() when the size of the screen
596 Fixes: NB#120500 (only device memory connect mmc in use info
597 banner is left aligned)
599 Fixes: NB#120613 (Size of HildonBanner varies depending on
600 previously opened banners)
602 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
604 * hildon/hildon-color-chooser.c
605 (hildon_color_chooser_pointer_motion): Take the widget allocation
608 Fixes: NB#124385 (Unable to select exact point in color mixing box
609 in color palette dialog)
611 2009-06-23 Alejandro G. Castro <alex@igalia.com>
613 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
614 (hildon_pannable_area_dispose)
615 (hildon_pannable_area_button_press_cb)
616 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
617 (hildon_pannable_area_button_release_cb)
618 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
619 New 'panning-started' and 'panning-finished' signals.
621 Fixes: NB#121732 (New feature request: Signal to pannable area
622 that informs when panning is stopped.)
624 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
626 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
627 instead of hardcoded colon.
629 Fixes: NB#124090 (New calendar wizard title is not using
630 ecdg_ti_caption_separator)
632 2009-06-22 David King <davidk@openismus.com>
634 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
635 constants and functions, as well as correct many typos throughout the
638 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
641 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: postrelease version bump.
644 * debian/changelog: post release version bump
646 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
651 * configure.ac: Bump version.
652 * debian/changelog: Updates.
654 2009-06-18 Alberto Garcia <agarcia@igalia.com>
656 * hildon/hildon-window-stack.c
657 (hildon_window_stack_pop_and_push_list):
658 Prevent windows from having the same stack index
660 2009-06-18 Alberto Garcia <agarcia@igalia.com>
662 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
663 Use the index of the previous window rather than the stack length
664 to calculate the new index.
668 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
670 * hildon/hildon-date-selector.c
671 (hildon_date_selector_select_current_date)
672 (hildon_date_selector_get_date)
673 (hildon_date_selector_select_day):
674 Update the documentation: uses always the range (1-31), as it is obvious
675 that the final one will depend on the month and the year, but globally
676 the range is this, in a similar GtkCalendar approach
677 (hildon_date_selector_get_date):
678 Update the documentation: add NULL as a valid value for the day, month
681 Fix some details, after talk with David King on bug MB#4698
683 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
685 * hildon/hildon-touch-selector-entry.c
686 * hildon/hildon-touch-selector.c
687 Update the documentation of the "text-column" property
689 2009-06-18 David King <davidk@openismus.com>
691 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
692 several typos and errors throughout the documentation.
694 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
697 2009-06-18 Alberto Garcia <agarcia@igalia.com>
699 * hildon/hildon-note.c (hildon_note_realize):
700 Make HildonNote support portrait mode.
702 Fixes: NB#123448 (HildonNote is not portrait-friendly)
704 2009-06-17 Alberto Garcia <agarcia@igalia.com>
706 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
707 Document this function
709 2009-06-17 David King <davidk@openismus.com>
711 * hildon/hildon-date-selector.c
712 (hildon_date_selector_select_current_date)
713 (hildon_date_selector_get_date): Update documentation regarding days,
714 as the day of the month is dependent on both the month and the year.
715 (hildon_date_selector_get_date): Fix documentation of output arguments.
717 Fixes: MB#4698 (DateSelector documentation has bad output argument
718 description, and the day depends on both the month and the year)
720 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
722 * hildon/hildon-caption.c: Other documentation fixes to
725 2009-06-17 David King <davidk@openismus.com>
727 * hildon/hildon-caption.c: Minor documentation updates for
728 HildonCaption. Fixes MB#4697.
730 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
732 * doc/hildon-docs.sgml: Add hildon-version section.
733 * doc/hildon-sections.txt:
734 * hildon/hildon-version.h.in: Document versioning macros and
737 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
739 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
740 from HildonPickerDialog section.
742 2009-06-16 Alberto Garcia <agarcia@igalia.com>
744 * hildon/hildon-banner.c (hildon_banner_bind_style)
745 (screen_size_changed, hildon_banner_init)
746 (hildon_banner_real_show_information)
747 (hildon_banner_show_information_with_markup)
748 (hildon_banner_show_animation, hildon_banner_show_progress):
749 Set a different widget name to banners in portrait mode, for them
750 to be themed correctly.
752 2009-06-16 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
755 Set a different widget name to notes in portrait mode, for them to
758 Partially fixes: NB#118401 (HildonNote causes unnecessary
761 2009-06-16 Alberto Garcia <agarcia@igalia.com>
763 * hildon/hildon-note.c (hildon_note_class_init)
764 (+hildon_note_size_request, screen_size_changed):
765 Always request the full width of the screen.
767 Fixes: NB#118375 (unnecessary rescaling of images)
769 2009-06-16 Alejandro G. Castro <alex@igalia.com>
771 * hildon/hildon-pannable-area.c,
772 (hildon_pannable_area_init),
773 (hildon_pannable_area_realize): Replaced old code adding flags in
774 the object init, now we add it with the other flags in the realize
777 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
779 * hildon/hildon-note.c: (hildon_note_class_init): Several
780 documentation improvements to the HildonNote widget.
782 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
784 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
786 Fixes: MB#4556 (HildonNoteType is undocumented)
788 2009-06-15 Alberto Garcia <agarcia@igalia.com>
790 * hildon/hildon-picker-button.c:
791 Explain how HildonPickerButton sets the title of its dialog
793 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
794 the title of its dialog)
796 2009-06-15 Alberto Garcia <agarcia@igalia.com>
798 * hildon/hildon-check-button.c:
799 Documentation updates
801 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
804 2009-06-15 Alberto Garcia <agarcia@igalia.com>
807 * hildon/hildon-edit-toolbar-private.h
808 * hildon/hildon-edit-toolbar.c
809 (+hildon_edit_toolbar_set_progress_indicator)
810 (hildon_edit_toolbar_init): Add progress indicator to the
813 * hildon/hildon-gtk.c
814 (hildon_gtk_window_set_progress_indicator):
815 If the window contains a HildonEditToolbar, enable the progress
818 * hildon/hildon-private.h
819 * hildon/hildon-private.c
820 (+hildon_private_create_animation)
821 * hildon/hildon-banner.c
822 (-hildon_banner_create_animation):
823 Moved to hildon-private.c
825 Fixes: NB#102373 (Progress indicator also for the Edit mode
828 2009-06-15 Alberto Garcia <agarcia@igalia.com>
830 * hildon/hildon-app-menu-private.h
831 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
832 (hildon_app_menu_add_filter, +menu_item_button_event)
833 (hildon_app_menu_button_release, hildon_app_menu_init):
834 Make sure that buttons receive 'button-release-event' in spite of
835 the grab held by HildonAppMenu
837 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
839 2009-06-15 Alberto Garcia <agarcia@igalia.com>
841 * hildon/hildon-app-menu.c
842 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
843 New style property to set the size of the group of filter buttons.
845 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
847 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: Bump version.
853 * debian/changelog: Updates.
855 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
857 * hildon/hildon-main.c: Minor documentation fixes.
859 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
861 * doc/hildon-sections.txt:
862 * hildon/hildon-defines.h: Document the defines, organize them,
863 and mark deprecations as such.
865 Fixes: MB#4463 (Hildon size #defines are undocumented)
867 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
869 * hildon/hildon-animation-actor.c:
870 * hildon/hildon-app-menu.c:
871 * hildon/hildon-button.c:
872 * hildon/hildon-date-editor.c:
873 * hildon/hildon-dialog.c:
874 * hildon/hildon-edit-toolbar.c:
875 * hildon/hildon-entry.c:
876 * hildon/hildon-program.c:
877 * hildon/hildon-remote-texture.c:
878 * hildon/hildon-stackable-window.c:
879 * hildon/hildon-text-view.c:
880 * hildon/hildon-touch-selector.c:
881 * hildon/hildon-window-stack.c:
882 * hildon/hildon-window.c:
884 Remove redundant "represents" wording from most of the documentation.
886 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
888 2009-06-12 Alberto Garcia <agarcia@igalia.com>
893 * hildon/hildon-banner-private.h
894 * hildon/hildon-banner.c:
895 Move HildonBannerPrivate to hildon-banner.c and remove
896 hildon-banner-private.h
897 Use a bit field to store private booleans.
899 2009-06-12 Alberto Garcia <agarcia@igalia.com>
901 * hildon/hildon-app-menu.c (hildon_app_menu_map):
902 Don't install a new idle function if there's already one
907 2009-06-11 Alberto Garcia <agarcia@igalia.com>
909 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
910 (+legacy_menu_realized, +legacy_menu_unmapped)
911 (+set_legacy_menu_type):
912 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
913 they can be identified by the window manager.
915 Fixes: NB#101437 (Invoking CSM on the left side of page area is
916 displayed in wrong location)
918 Fixes: MB#4563 (Popup menu won't locate at the left side of the
921 2009-06-11 Alberto Garcia <agarcia@igalia.com>
923 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
925 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
928 2009-06-11 Alberto Garcia <agarcia@igalia.com>
930 * hildon/hildon-code-dialog.c
931 * hildon/hildon-date-editor.c
932 * hildon/hildon-number-editor.c
933 * hildon/hildon-seekbar.c
934 * hildon/hildon-stackable-window.c
935 * hildon/hildon-window.c:
936 Misc documentation updates
938 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
940 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
941 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
943 Fixes: NB#117931 (Theming issues in accounts dialogs)
945 2009-06-09 Alejandro G. Castro <alex@igalia.com>
947 * hildon/hildon-pannable-area.c,
948 (hildon_pannable_area_button_release_cb): Changed the coordinates
949 of the original release in case we want to discard the release,
950 some widgets in Fremantle do not handle the leave-notify.
952 2009-06-09 Alejandro G. Castro <alex@igalia.com>
954 * hildon/hildon-pannable-area.c,
955 (hildon_pannable_area_button_release_cb): Reviewed the logic of
956 the release using the last refactored functions and avoiding the
957 movement if an element was selected.
959 2009-06-09 Alejandro G. Castro <alex@igalia.com>
961 * hildon/hildon-pannable-area.c,
962 (hildon_pannable_area_check_move),
963 (hildon_pannable_area_handle_move),
964 (hildon_pannable_area_motion_notify_cb): Refactored the
965 motion_notify method using a couple of new functions.
967 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
969 * hildon/hildon-date-selector.c:
970 (hildon_date_selector_construct_ui):
971 * hildon/hildon-time-selector.c:
972 (hildon_time_selector_constructor):
973 * hildon/hildon-touch-selector-entry.c:
974 (hildon_touch_selector_entry_set_text_column),
975 (hildon_touch_selector_entry_get_text_column):
976 * hildon/hildon-touch-selector.c: (_default_print_func),
977 (hildon_touch_selector_new_text): Use
978 hildon_touch_selector_set/get_text_column() instead of
979 setting/getting the "text-column" property.
981 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
983 * doc/hildon-sections.txt: Add the new public methods below.
985 * examples/hildon-picker-button-multicolumn-example.c:
986 (create_touch_selector):
987 * examples/hildon-touch-selector-example.c: (create_selector):
988 * examples/hildon-touch-selector-multi-cells-example.c:
990 Use hildon_touch_selector_column_set_text_column()
992 * hildon/hildon-touch-selector-column.h:
993 * hildon/hildon-touch-selector.c:
994 (hildon_touch_selector_column_set_text_column),
995 (hildon_touch_selector_column_get_text_column):
996 Make hildon_touch_selector_column_set/get_column() public, use
997 them in the inline example, document them, and reference to them
1000 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1002 * hildon/hildon-time-selector.c: Fix the docs for
1003 hildon_time_selector_new_step().
1005 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1007 * hildon/hildon-touch-selector.c: Improve the documentation for
1008 hildon_touch_selector_append_column().
1010 Fixes MB#4641 (Documentation:
1011 hildon_touch_selector_append_column() ref-counting)
1013 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1015 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1016 Comment out test 5, since the hildon_controlbar_set_range() range
1017 check is broken and fixing it would have side effects. Also,
1018 this finally fixes make distcheck.
1020 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1022 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1024 * tests/TEST-CASES.txt: Remove other bogus test.
1025 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1026 Remove bogus test that was setting/retrieving a valid value.
1028 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1030 * tests/TEST-CASES.txt: Remove bogus tests.
1031 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1032 Remove three bogus tests that were actually setting valid colors.
1034 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1036 * configure.ac: post release version bump
1037 * debian/changelog: post release version bump
1039 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1044 * configure.ac: Bump version.
1045 * debian/changelog: Updates.
1047 2009-06-08 Christian Dywan <christian@lanedo.com>
1051 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1052 Correct errors in hildon_format_file-size_for_display and use
1053 translations from the hildon-fm package instead of osso-filemanager.
1055 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1057 * hildon/hildon-pannable-area.c,
1058 (hildon_pannable_area_init): Initialized new values to handle the
1059 adjustment position.
1060 (hildon_pannable_area_adjust_value_changed): Check if the values
1061 changed before even call the redraw function.
1062 (hildon_pannable_area_size_allocate),
1063 (hildon_pannable_axis_scroll),
1064 (hildon_pannable_area_scroll),
1065 (hildon_pannable_area_jump_to): Improved the diagonal movement
1068 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1071 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1073 * examples/hildon-banner-example.c:
1074 Several style updates
1075 (on_animation_clicked, on_animation_idle)
1076 (on_progress_clicked, on_progress_idle):
1077 Add additional reference for the cases when the parent window is
1080 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1082 * doc/hildon-sections.txt
1083 * hildon/hildon-pannable-area.c
1084 * hildon/hildon-banner.h
1085 * hildon/hildon-banner.c: Documentation updates.
1087 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1090 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1092 * hildon/hildon-calendar-popup.h:
1093 * hildon/hildon-caption.h:
1094 * hildon/hildon-code-dialog.h:
1095 * hildon/hildon-controlbar.h:
1096 * hildon/hildon-date-editor.h:
1097 * hildon/hildon-dialog.h:
1098 * hildon/hildon-get-password-dialog.h:
1099 * hildon/hildon-hvolumebar.h:
1100 * hildon/hildon-login-dialog.h:
1101 * hildon/hildon-note.h:
1102 * hildon/hildon-number-editor.h:
1103 * hildon/hildon-range-editor.h:
1104 * hildon/hildon-seekbar.h:
1105 * hildon/hildon-set-password-dialog.h:
1106 * hildon/hildon-sort-dialog.h:
1107 * hildon/hildon-time-editor.h:
1108 * hildon/hildon-time-picker.h:
1109 * hildon/hildon-volumebar-range.h:
1110 * hildon/hildon-volumebar.h:
1111 * hildon/hildon-vvolumebar.h:
1112 * hildon/hildon-weekday-picker.h:
1113 * hildon/hildon-window.h:
1114 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1115 macros with the current replacements
1117 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1119 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1121 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1122 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1123 itself, to make it fit better with Fremantle style.
1125 Fixes: NB#109878 (height and width of focus on color icon is not
1126 consistent with other item in the application tool bar)
1128 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1130 * hildon/hildon-touch-selector.c:
1131 (hildon_touch_selector_optimal_size_request): use the current requisition
1132 as the base, in order to include any possible extra widget, like the
1133 hildon entry on HildonTouchSelectorEntry
1135 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1137 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1139 * configure.ac: post release version bump
1140 * debian/changelog: post release version bump
1142 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1147 * configure.ac: Bump version.
1148 * debian/changelog: Updates.
1150 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1152 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1154 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1155 to ensure the banner contents are centered, instead of relying on
1156 the expand and fill properties in GtkHBox.
1157 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1159 Fixes: NB#108265 (Animation banner not properly centered)
1161 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1163 * hildon/hildon-pannable-area.c
1164 (hildon_pannable_area_initial_effect): Remove the initial_effect
1165 management, check initial_hint
1166 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1167 set initial_effect to FALSE
1168 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1169 by launching the fade_timeout if the scrollbars state has changed and are
1171 * examples/hildon-pannable-area-initial-hint-example.c
1172 Modified to allow to remove rows too. Add and remove rows one by one.
1174 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1176 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1177 Don't close the menu if there's an animation actor below it.
1179 Fixes: NB#117927 (Application menu not usable with animation
1182 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1184 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1185 "focus-on-click" from the dialog button, to avoid stealing the
1186 focus from the entry.
1188 Fixes: NB#118903 (Account setup wizard: Text in Search field
1189 should be focused when "Region" touch list picker is reopened
1192 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1194 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1195 (prepare_action_area): Completely hide the dialog separator.
1197 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1199 * hildon/hildon-touch-selector-entry.c
1200 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1201 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1202 now that the entry is exposed.
1204 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1206 * hildon/hildon-touch-selector-entry.c
1207 (hildon_touch_selector_entry_init): Change the entry's size
1208 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1210 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1212 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1213 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1214 avoid unnecessary scaling.
1216 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1218 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1219 Create grab transfer window before calling parent's map function.
1221 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1222 "crushed" button(s) in the top left corner)
1224 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1226 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1227 Check if the window is already realized when pushing it.
1229 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1231 * configure.ac: post release version bump
1232 * debian/changelog: post release version bump
1234 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1239 * configure.ac: Bump version.
1240 * debian/changelog: Updates.
1242 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1244 * hildon/hildon-app-menu.c: Doc updates.
1246 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1248 * hildon/hildon-banner.c: Remove leftover macro.
1250 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1252 * hildon/hildon-pannable-area.c,
1253 (hildon_pannable_area_scroll_indicator_fade),
1254 (hildon_pannable_area_button_release_cb): Reviewed vmin
1255 conditions, it could cause problems in the fadeout procedure.
1257 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1259 * hildon/hildon-pannable-area.c
1260 (hildon_pannable_area_button_release_cb): Added a threshold to
1261 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1263 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1265 * hildon/hildon-pannable-area.c,
1266 (hildon_pannable_area_set_property): Added code to sync the gtk
1267 dnd threshold with the panning threshold.
1269 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1271 * hildon/hildon-pannable-area.c,
1272 (hildon_pannable_area_class_init): Changed some of the default
1273 values, now it should be less responsive and more accurate.
1275 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1277 * hildon/hildon-pannable-area.c,
1278 (hildon_pannable_area_init),
1279 (hildon_pannable_area_scroll_indicator_fade),
1280 (hildon_pannable_area_button_press_cb),
1281 (hildon_pannable_axis_scroll),
1282 (hildon_pannable_area_timeout),
1283 (hildon_pannable_area_motion_notify_cb),
1284 (hildon_pannable_area_button_release_cb): Changed the name of the
1285 clicked attribute to button_pressed, it is more clear about its use.
1287 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1289 * src/hildon-pannable-area.c
1290 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1292 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1293 vertical scrollbar visibility, and use the data on private section instead,
1294 remove the initial_hint check
1295 (hildon_pannable_area_expose_event): add the initial_hint check here
1297 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1299 * src/hildon-pannable-area.c
1300 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1301 if the fadeout effect was used
1302 (hildon_pannable_area_expose_event): check if it is required to
1303 manage the initial effect on the begining of the function. Previously
1304 it was made at the end, but this doesn't ensure that the scrollbars
1305 will be painted on the first show. Do not set to FALSE initial_effect,
1306 to ensure that the initial hint is showed the first time the pannable
1308 * examples/Makefile.am
1309 * examples/hildon-pannable-area-initial-hint-example.c:
1310 New example, to show that the initial-hint is showed when the widget
1313 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1314 initially if the application can be scrolled)
1316 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1318 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1319 Resize table before adding new items to make sure that
1320 gtk_table_resize() is called just once.
1322 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1324 * hildon/hildon-app-menu-private.h
1325 * hildon/hildon-app-menu.c (item_visibility_changed)
1326 (filter_visibility_changed, hildon_app_menu_show_all)
1327 (hildon_app_menu_hide_all, hildon_app_menu_init):
1328 Rearrange items just once when gtk_widget_show_all()/hide_all()
1331 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1333 * hildon/hildon-app-menu.c
1334 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1335 Don't call gtk_widget_show() on added items.
1337 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1338 automatically when they're added)
1340 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1342 * hildon/hildon-banner.c
1343 (hildon_banner_realize, +hildon_banner_unrealize)
1344 (+screen_size_changed, hildon_banner_class_init):
1345 Redisplay the banner if the screen is rotated.
1347 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1348 on transition from landscape to portrait)
1350 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1352 * hildon/hildon-banner.[ch]:
1353 (hildon_banner_show_information_override_dnd): remove icon_name from the
1354 method definition as it is ignored.
1355 * examples/hildon-banner-dnd-example.c: updated with the change on
1358 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1360 * hildon/hildon-banner-private.h: new require_override_dnd and
1361 overrides_dnd variables
1362 * hildon/hildon-banner.h:
1363 (hildon_banner_show_information_override_dnd): new method, that shows
1364 the information but sets the override flag, in order to show important
1366 * hildon/hildon-banner.c
1367 (hildon_banner_show_information_override_dnd): new method
1368 (hildon_banner_set_override_flag): new utility function
1369 (hildon_banner_real_show_information): new utility function, in order to
1370 generalize the current hildon_banner_show_information_override_dnd and
1371 hildon_banner_show_information_override_dnd
1372 * examples/Makefile.am
1373 * examples/hildon-banner-dnd-example.c: New example that show how to
1374 use the new hildon_banner_show_information_override_dnd
1376 Fixes: NB#114874 (There is no possibility to show hildon banners with
1379 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1381 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1382 behind hildon_pannable_calculate_vel_factor().
1384 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1386 * hildon/hildon-pannable-area.c
1387 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1388 deceleration factors.
1390 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1392 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1393 Reduce the default value for 'scroll_time' to 1 second, since the
1394 current initial scrolling takes too much time.
1396 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1398 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1399 calculate velocity factor during initialization, since the properties
1402 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1404 * hildon/hildon-pannable-area.c
1405 (hildon_pannable_area_set_property): Calculate the velocity factor
1406 after setting the deceleration property and not after.
1408 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1410 * hildon/hildon-entry.c
1411 (hildon_entry_class_init, +set_property, hildon_entry_new)
1412 * hildon/hildon-check-button.c
1413 (hildon_check_button_class_init)
1414 (+set_property, hildon_check_button_new):
1415 Make the theme size a property.
1417 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1418 others) do too much in the _new function)
1420 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1422 * configure.ac: post release version bump
1423 * debian/changelog: post release version bump
1425 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1430 * configure.ac: Bump version.
1431 * debian/changelog: Updates.
1433 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1435 * hildon/hildon-gtk.h
1436 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1437 New API function to take a screenshot of a window
1439 Fixes: NB#106374 (Need API to take a loading screenshot)
1441 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1443 * hildon/hildon-time-selector.c
1444 (update_format_policy): prevent to use hours and minutes unitialized
1446 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1448 * hildon/hildon-window.c (hildon_window_size_request):
1449 Always request the full size of the screen (minus the title bar if
1450 not in fullscreen mode).
1452 Fixes: NB#107486 (HildonWindow should size itself properly)
1454 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1456 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1457 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1458 (on_show_cb), (sound_handling): Disconnect the idle handler for
1459 the sound when the note is finalized to avoid possible crashes.
1461 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1464 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1466 * src/hildon-animation-actor.c,
1467 * src/hildon-remote-texture.c:
1468 Added proper object cleanup to remove signal handler and object
1469 references as HildonAnimationActor and HildonRemoteTexture
1470 objects get destroyed.
1472 Fixes: NB#116682 (Destroying parented animation actors when
1473 parent in unmapped leads to crash)
1475 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1477 Based on a patch by Christian Dywan (christian@imendio.com)
1479 * doc/hildon-sections.txt:
1480 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1481 * hildon/hildon-helper.h: New file size formatting method.
1483 * debian/control: Depend on osso-filemanager l10n package for
1484 proper localization strings.
1486 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1488 * tests/Makefile.am: Include top_srcdir to make possible to build
1489 tests in a different builddir.
1490 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1491 on a different builddir.
1493 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1495 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1496 (hildon_touch_selector_remove): Disconnect model's signal handler
1499 Fixes: NB#116289 (Hildon home crashes while adding task
1502 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1504 * hildon/hildon-button.c
1505 (hildon_button_set_title, hildon_button_set_value):
1506 Hide labels containing an empty string.
1508 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1510 * configure.ac: post release version bump
1511 * debian/changelog: post release version bump
1513 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1518 * configure.ac: Bump version.
1519 * debian/changelog: Updates.
1521 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1523 * hildon/hildon-note-private.h: Removed sound_signal_handler
1524 * hildon/hildon-note.c
1525 (on_show_cb): new callback on note "show" event, this simply adds
1526 a idle, with the function sound_handling
1527 (sound_handling): removed the sound_signal_handler management
1528 (hildon_note_init): connect note "show" event to on_show_cb
1529 (hildon_note_realize): remove the connection to "expose-event"
1531 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1532 device?' confirmation note)
1534 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1536 * hildon/hildon-note.c
1537 (hildon_note_new_information_with_icon_name)
1538 (hildon_note_new_confirmation_with_icon_name):
1539 Terminate the list of parameters in g_object_set() calls
1541 Fixes: NB#115166 (Formatting memory card is not taking place)
1543 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1545 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1546 "dialog-information" role for the sound being played.
1548 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1550 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1551 Don't make the menu a modal window, it causes strange interactions
1552 with the pointer grab and it's not really needed.
1554 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1556 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1558 * hildon/hildon-touch-selector.[ch]
1559 (hildon_touch_selector_optimal_size_request): function added to get a
1560 optimal size request from the touch selector, when you want a dialog to
1561 show as much of the selector
1562 * hildon/hildon-picker-dialog.c:
1563 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1564 (hildon_app_menu_class_init):
1565 New "max-height-landscape" and "max-height-portrait" style properties
1566 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1567 (hildon_picker_dialog_get_max_height): returns the maximum height using
1568 the style properties defined and checking the current portrait/landscape
1570 (_hildon_picker_dialog_set_selector): removed the set_size_request
1572 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1574 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1576 * hildon/hildon-bread-crumb-trail.c:
1577 * hildon/hildon-bread-crumb.c:
1578 * hildon/hildon-seekbar.c:
1579 Add reference to replacements for these deprecated widgets.
1581 Fixes: MB#4461 (Documentation: All deprecations should mention
1584 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1586 * examples/hildon-remote-texture-example.c
1588 Change the include to the hildon-remote-texture in order to compile
1589 properly the examples on the installed libhildon1-examples package
1591 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1593 * tests/Makefile.am: Add check for HildonPickerButton.
1594 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1595 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1596 checks for the HildonPickerButton.
1597 * tests/check_test.c (configure_tests): Add the test suite.
1598 * tests/test_suites.h: likewise.
1600 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1602 * hildon/hildon-touch-selector.c
1603 (+on_row_changed): Emit HildonTouchSelector:changed when the
1604 contents of a selected row change.
1605 (_create_new_column), (_hildon_touch_selector_set_model): connect
1606 to GtkTreeModel:row-changed on a newly set model.
1608 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1610 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1612 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1614 * hildon/hildon-banner.c (hildon_banner_destroy)
1615 (hildon_banner_show_progress, hildon_banner_set_fraction):
1616 Remove the progress bar from HildonBanner and use a progress
1619 Fixes: NB#113761 (Update progress banner to use progress
1622 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1624 * hildon/hildon-banner.c:
1625 Calculate size of the banner label using the actual screen width
1626 rather than using a fixed value.
1628 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1631 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1633 * hildon/hildon-pannable-area.c,
1634 (hildon_pannable_area_class_init): Fixed signals documentation
1637 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1639 * configure.ac: post release version bump
1640 * debian/changelog: post release version bump
1642 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1647 * configure.ac: Bump version.
1648 * debian/changelog: Updates.
1650 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1652 * hildon/hildon-edit-toolbar.c
1653 (hildon_edit_toolbar_init):
1654 Don't let buttons in HildonEditToolbar receive focus.
1656 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1657 typing on an HW arrows key)
1659 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1661 * doc/Makefile.am: Fix build.
1663 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1665 * doc/Makefile.am: Do not redefine content_files.
1667 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1675 Renamed src/ to hildon/
1680 Include <hildon/hildon.h> directly in all examples.
1682 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1684 * src/hildon-sort-dialog.c
1685 (hildon_sort_dialog_add_sort_key_with_sorting)
1689 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1691 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1692 make distcheck passes.
1694 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1696 * Makefile.am: Enable gtk-doc during distcheck.
1698 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1700 * Makefile.am: Do not distribute the debian/ directory.
1702 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1704 * doc/Makefile.am: Add the extra SGML files to content_files,
1705 so that they are distributed properly.
1707 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1709 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1712 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1715 (hildon_note_new_information_with_icon_name): Set the "icon" property
1716 to preserve soundness.
1718 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-font-selection-dialog.c
1721 (hildon_font_selection_dialog_set_property): Fail when the "family"
1722 property is set to NULL.
1724 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1726 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1729 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1731 * src/hildon-time-selector.h:
1732 Added HildonTimeSelectorFormatPolicy
1733 * src/hildon-time-selector.c:
1734 Added PROP_TIME_FORMAT_POLICY
1735 (_check_ampm_format): renamed to check_automatic_ampm_format
1736 (update_format_policy), (update_format_dependant_columns): new functions
1737 (hildon_time_selector_class_init)
1738 (hildon_time_selector_contructor)
1739 (hildon_time_selector_init)
1740 (hildon_time_selector_get_property)
1741 (hildon_time_selector_set_property)
1742 (hildon_time_selector_get_time)
1743 (hildon_time_selector_set_time)
1744 * src/hildon-touch-selector.h: new file
1745 * src/hildon-touch-selector.c
1746 (hildon_touch_selector_emit_changed)
1747 (hildon_touch_selector_block_changed)
1748 (hildon_touch_selector_unblock_changed)
1749 Added functions to allow to block the emission of the "changed" signal
1750 * src/hildon-picker-dialog.c
1751 (hildon_picker_dialog_show): call the parent show before the custom code
1752 * examples/hildon-time-button-example.c
1753 Modified, so now you can configure the time format using the new property
1755 Added a new property "time-format-policy" that allow to choose the time
1756 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1757 case it uses gconf in order to check if the time selector must use
1760 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1763 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1765 * src/hildon-note.c (hildon_note_init):
1766 Label in HildonNote must be left aligned, not centered. This
1767 reverts the last commit in HildonNote.
1769 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1770 is connectivity dialog)
1772 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1777 * doc/hildon-sections.txt:
1778 Added hildon_gtk_window_set_do_not_disturb()
1780 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1782 * src/hildon-note.c (hildon_note_init): Center label.
1784 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1787 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1792 * configure.ac: Bump version.
1793 * debian/changelog: Updates.
1795 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-note-private.h: Add button-width to the private data.
1798 * src/hildon-note.c (+resize_button),
1799 (+hildon_note_orientation_update): methods to repack widgets on orientation
1801 (screen_size_changed): Call above method for confirmation notes.
1802 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1803 (hildon_note_rebuild): Store the original width request from buttons.
1805 Fixes: NB#109635 (Confirmation notes do not support portrait)
1807 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1810 when it is a progress note.
1812 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1814 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1815 in the note, since there are no horizontally arranged contents.
1817 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-gtk.c (+set_flag): new generic method to
1820 set/delay a flag setting in a window.
1821 (hildon_gtk_window_set_progress_indicator):
1822 (hildon_gtk_window_set_do_not_disturb),
1823 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1824 avoid code redundance.
1826 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1828 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1830 * src/hildon-gtk.c (set_clear_window_flag),
1831 (do_set_progress_indicator), (do_set_do_not_disturb),
1832 (do_set_portrait_flags),
1833 (hildon_gtk_window_set_progress_indicator),
1834 (hildon_gtk_window_set_do_not_disturb),
1835 (hildon_gtk_window_set_portrait_flags):
1836 Allow setting dnd-flag, progress indicator, and portrait flags
1837 when the window is not realized.
1839 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1841 * src/hildon-pannable-area.c,
1842 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1843 the size request policy function and defines.
1845 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1847 * doc/hildon-sections.txt: Add the new API.
1848 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1849 method to set the portrait flags.
1850 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1852 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1854 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1856 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1857 to allow using this method with other flags.
1858 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1859 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1861 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-touch-selector.c
1864 (hildon_touch_selector_append_text_column):
1865 Make the cell renderer use the smallest width possible.
1867 Fixes: NB#108470 (Selected items in multiple selection are either
1868 having a tick that is cut or not visible at all.)
1870 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1872 * src/hildon-touch-selector.c
1873 (hildon_touch_selector_append_text_column):
1876 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1878 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1879 Use g_strdup_printf() instead of a fixed size buffer.
1881 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1884 Close banners when a HildonAppMenu is popped up.
1886 Fixes: NB#111027 (Title menu closed immediately if activated when
1887 "Invalid e-mail address" banner is shown)
1889 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1894 * configure.ac: Bump version.
1895 * debian/changelog: Updates.
1897 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-banner.c (hildon_banner_realize):
1900 Mark HildonBanner as supporting portrait mode.
1901 Use GDK to set window properties insetad of direct Xlib calls.
1903 Fixes: NB#111830 (HildonBanner should be marked as supporting
1906 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-note.c (hildon_note_rebuild):
1909 Hide action area in information notes. Prevents text from being
1910 slightly aligned to the left.
1912 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1915 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1917 Patch by Mox Soini (ext-mox.soini@nokia.com)
1919 * src/hildon-banner.c (hildon_banner_create_animation):
1920 Use stylus-sized icons in animation banner.
1922 Fixes: NB#111206 (stylus sized icon for animation banner)
1924 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1928 (+hildon_gtk_window_set_do_not_disturb):
1929 New API to set the do-not-disturb flag.
1931 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1933 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1935 * examples/hildon-progress-indicator-example.c: Fix example
1937 * src/hildon-gtk.c (set_clear_window_flag)
1938 (hildon_gtk_window_set_progress_indicator):
1939 Create a generic function for setting flags to a window.
1940 Use GDK instead of direct Xlib calls.
1942 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1944 * src/hildon-button.c (hildon_button_set_arrangement):
1945 Due to NB#88126, if one of the labels is too long it will be
1946 painted outside the button. The 'value' label is more likely to be
1947 the longest one, so we change its packing options in order to
1948 truncate it if necessary. As a side effect, the 'title' label will
1949 no longer be truncated.
1951 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1953 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1958 * configure.ac: Bump version.
1959 * debian/changelog: Updates.
1961 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1963 Deprecation of the hildon_pannable_area_set_size_request_policy
1964 API, the only policy properly supported in gtk+ nowadays is the
1967 * src/hildon-pannable-area.c,
1968 (hildon_pannable_area_size_request): Added a workaround for the
1969 size_request to avoid the problems of huge pixmaps in case someone
1970 is still using the function.
1971 * src/hildon-pannable-area.h: Deprecated the enum with the
1974 Fixes: NB#110244 (Problems with the
1975 hildon_pannable_area_set_size_request_policy API)
1977 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1979 * src/hildon-pannable-area.c,
1980 (hildon_pannable_area_init),
1981 (hildon_pannable_area_size_request),
1982 (hildon_pannable_area_style_set),
1983 (hildon_pannable_draw_vscroll),
1984 (hildon_pannable_draw_hscroll),
1985 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1986 indicator_width to clarify the use of the attribute.
1988 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1993 * configure.ac: Bump version.
1994 * debian/changelog: Updates.
1996 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1998 * src/hildon-picker-dialog.c
1999 * src/hildon-touch-selector.c
2000 Reverting the change that tried to avoid the hardcoded height on
2001 the picker dialog, as causes problems on the hildon-touch-selector
2004 Fixes: NB#110029 (selectors not scrolling to selected value)
2006 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2008 * src/hildon-touch-selector.c: Fix typos
2010 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2013 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2014 request more motions after using it.
2016 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-calendar.c (hildon_calendar_expose),
2019 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2020 Remove unused variables.
2022 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2024 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2025 variable assignment.
2027 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2030 Check the return value of gtk_tree_selection_get_selected()
2033 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-animation-actor.c
2036 * src/hildon-button.c
2038 * src/hildon-pannable-area.c
2039 * src/hildon-picker-button.c
2040 * src/hildon-program.c
2041 * src/hildon-remote-texture.c
2042 * src/hildon-text-view.c
2043 * src/hildon-touch-selector.c
2044 * src/hildon-window-stack.c
2045 * src/hildon-window.c:
2046 Add missing 'Since: 2.2' tags.
2048 * doc/hildon-sections.txt:
2049 Add some missing symbols.
2051 * doc/hildon-docs.sgml:
2052 New 'Other' section for HildonAnimationActor and
2055 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2057 Patch by Iván Gómez (igomez@igalia.com)
2060 * doc/compiling.sgml
2061 * doc/hildon-docs.sgml
2062 * doc/hildon-sections.txt
2063 * doc/migration.sgml
2064 * doc/resources.sgml
2066 New chapters on using the Hildon library.
2067 Updated the general structure of the reference manual.
2068 Other minor documentation fixes.
2070 * src/hildon-calendar-popup.c
2071 * src/hildon-calendar.c
2072 * src/hildon-controlbar.c
2073 * src/hildon-date-editor.c
2074 * src/hildon-dialog.c
2075 * src/hildon-hvolumebar.c
2076 * src/hildon-number-editor.c
2077 * src/hildon-range-editor.c
2078 * src/hildon-sort-dialog.c
2079 * src/hildon-time-editor.c
2080 * src/hildon-time-picker.c
2081 * src/hildon-volumebar-range.c
2082 * src/hildon-volumebar.c
2083 * src/hildon-vvolumebar.c
2084 * src/hildon-weekday-picker.c:
2085 Add deprecation notes
2087 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2088 Document 'horizontal-movement' and 'vertical-movement' signals.
2090 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2095 * configure.ac: Bump version.
2096 * debian/changelog: Updates.
2098 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2100 * src/hildon-pannable-area.c,
2101 (hildon_pannable_area_class_init): increased the minimum velocity.
2102 (hildon_pannable_area_button_release_cb): Updated the
2103 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2104 setup. Review the code to control that last event.
2106 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2109 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2111 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2113 * src/hildon-get-password-dialog.c
2114 (hildon_get_password_set_property),
2115 (hildon_get_password_get_property), (create_contents):
2116 * src/hildon-login-dialog-private.h:
2117 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2118 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2119 (hildon_login_dialog_get_password):
2120 * src/hildon-set-password-dialog-private.h:
2121 * src/hildon-set-password-dialog.c
2122 (hildon_set_password_set_property),
2123 (hildon_set_password_get_property), (create_contents),
2124 (hildon_set_password_response_change),
2125 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2127 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2128 instead and look more Fremantle style.
2130 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2132 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2134 * doc/hildon-sections.txt
2135 * src/hildon-window-stack.h
2136 * src/hildon-window-stack.c
2137 (+hildon_window_stack_get_windows):
2138 New API to obtain the list of windows on a stack.
2140 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-app-menu.c (hildon_app_menu_popup)
2143 (hildon_app_menu_class_init, -hildon_app_menu_show):
2144 Remove hildon_app_menu_show() and move all its checks to
2145 hildon_app_menu_popup()
2147 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2149 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2150 (_hildon_picker_dialog_set_selector): removed call to
2151 gtk_widget_set_size_request
2152 * src/hildon-touch-selector.c
2153 (_create_new_column): change the pannable size request policy
2155 Avoid to use a hardcoded height for the hildon picker dialog. In order
2156 to get that, we needed to change the hildon pannable size request
2158 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2160 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2163 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2166 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2168 * debian/control: Depend on osso-system-lock localization package.
2169 * src/hildon-code-dialog.c: Obtain the secu_application_title
2170 translation from osso-system-lock.
2171 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2172 for translation the atk related strings, that's not necessary.
2173 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2174 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2175 cancel button, it is not required.
2177 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2179 * src/hildon-pannable-area.c,
2180 (hildon_pannable_area_class_init): Modified the default value of
2181 the overshooting max speed, we have reduced it.
2183 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2185 * doc/hildon-sections.txt
2186 * src/hildon-window-private.h
2187 * src/hildon-window.h
2188 * src/hildon-window.c (hildon_window_class_init)
2189 (hildon_window_init, hildon_window_finalize)
2190 (hildon_window_realize, hildon_window_get_property)
2191 (hildon_window_set_property, hildon_window_update_markup)
2192 (hildon_window_get_markup, hildon_window_set_markup):
2193 New "markup" property and hildon_window_{get,set}_markup() methods.
2195 * examples/hildon-stackable-window-example.c (new_window):
2196 Update example to use hildon_window_set_markup()
2198 Fixes: NB#106375 (Need API to retitle a window with a title
2201 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2203 * src/hildon-pannable-area.c,
2204 (hildon_pannable_area_class_init): Changed the default value of
2205 the initial_hint to TRUE.
2206 (hildon_pannable_area_initial_effect): Changed the initial effect,
2207 not the effect is just the fade-out of the scrollbars.
2209 Fixes: NB#107775 (No scrollbars can be seen when several items are
2210 available in a dialog)
2212 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2214 * src/hildon-program.c (hildon_program_update_top_most):
2217 Fixes: NB#109179 (Memory leak in Hildon program)
2219 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-banner.c (-get_current_app_window):
2222 Remove unused function.
2224 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2226 * src/hildon-pannable-area.c: Modified the documentation of the
2227 get adjustments functions to explain the problem of using the
2228 adjustment directly.
2229 (hildon_pannable_area_class_init): Improved the explanation about
2232 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-app-menu-private.h
2235 * src/hildon-app-menu.c
2236 (hildon_app_menu_class_init):
2237 Bring back the 'external-border' style property
2238 (hildon_app_menu_class_init, hildon_app_menu_init)
2239 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2240 Set a fixed width-request for the menu, independent of the number
2243 Fixes: NB#94957 (Smoothly opened application menu)
2245 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2249 * src/hildon-banner.c
2250 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2252 Make sure that the banner is correctly placed the first time it's
2254 (hildon_banner_check_position, -check_fullscreen_state):
2255 Show the banner in the same place no matter if the window is in
2256 fullscreen mode or not.
2258 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2260 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-touch-selector.c (_default_print_func): reorder
2263 concatenation for clarity.
2265 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2267 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2268 for multicolumn selectors.
2270 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2272 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2277 * configure.ac: Bump version.
2278 * debian/changelog: Updates.
2280 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2285 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2287 * configure.ac: removed libcangerra-gtk dependency
2288 * debian/control: removed libcanberra-gtk dependency
2289 * src/Makefile.am: removed libcanberra gtk related flags
2290 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2291 context, and manage a global canberra context instead
2293 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2295 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2297 Patch by Daniel Borgmann (danielb@openismus.com)
2299 * src/hildon-edit-toolbar.c:
2300 Adjust the left padding.
2301 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2302 Paint background of the edit toolbar.
2304 Fixes: NB#107897 (Patch to make editmodetoolbar background
2305 themeable and adjust margin)
2307 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2309 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2311 * src/hildon-program.c (hildon_program_update_top_most):
2312 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2314 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2315 change when the user tasks in/out of an application)
2317 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2319 * configure.ac: added libcangerra-gtk dependency
2320 * debian/control: added libcanberra-gtk dependency
2321 * src/Makefile.am: added libcanberra gtk related flags
2322 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2325 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2327 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2329 * src/hildon-program.c (hildon_program_remove_window)
2330 (hildon_program_add_window): Add checks for the window
2331 parameter. Don't decrease the window counter if the window is not
2334 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2336 * src/hildon-pannable-area.c,
2337 (hildon_pannable_area_realize): Fixed position of the event_window
2338 in the realize method.
2340 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2342 * src/hildon-app-menu-private.h
2343 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2344 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2345 (hildon_app_menu_key_press, hildon_app_menu_init)
2346 (hildon_app_menu_finalize):
2347 Make sure that all idle functions are removed when the widget is
2350 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2352 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2357 * configure.ac: Bump version.
2358 * debian/changelog: Updates.
2360 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2362 * src/hildon-entry.c
2363 (+hildon_entry_show_placeholder),
2364 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2365 that replace hildon_entry_update_contents().
2366 (hildon_entry_set_text),
2367 (hildon_entry_set_placeholder),
2368 (hildon_entry_focus_in_event),
2369 (hildon_entry_focus_out_event): Determine when it is needed
2370 either to show or hide the placeholder and call the above methods.
2372 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2373 when the placeholder text is already set)
2375 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2378 simple GdkPixbufAnim using the new icons for the banner.
2379 (hildon_banner_show_animation): Use the above mentioned method to
2380 create the animation widget.
2382 Fixes: NB#103564 (Make hildon animation banner use individual
2383 image files as the animation)
2385 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2387 * src/hildon-pannable-area.c,
2388 (hildon_pannable_leave_notify_event): Check if the child is NULL
2389 to avoid sending the leave.
2391 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2393 * src/hildon-pannable-area.c,
2394 (hildon_pannable_area_class_init),
2395 (hildon_pannable_leave_notify_event): Added a handler of the
2396 leave-notify-signal to consider when no motion notify before
2399 Fixes: NB#107494 (Items stay selected when clicking and moving
2400 away when inside pannable area)
2402 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2407 * configure.ac: Bump version.
2408 * debian/changelog: Updates.
2410 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2412 Patch by Alberto Garcia (agarcia@igalia.com)
2414 * src/hildon-date-button.c,
2415 (hildon_date_button_class_init),
2416 (hildon_date_button_init): Removed the construct property handling
2417 and created a default selector in the init method.
2418 * src/hildon-picker-button.c,
2419 (hildon_picker_button_class_init): Removed the construct flag of the
2422 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-main.c (hildon_init):
2425 Don't allow hildon_init() to be called more than once.
2427 Fixes: NB#106607 (hildon_init should issue error message upon
2430 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2432 * examples/hildon-pannable-area-touch-list-example.c
2433 * examples/hildon-pannagle-area-touch-grid-example.c
2434 * examples/hildon-edit-toolbar-example.c
2435 * examples/hildon-touch-selector-multi-cells-example.c
2436 Removed the call to gtk_rc_parse_string, as it is not required since
2439 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2441 * src/hildon-pannable-area.c,
2442 (hildon_pannable_area_class_init): Modified the default panning
2443 threshold of the widget to 6px.
2445 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2446 than the threshold value ) within the button is not sending the
2449 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2452 for the treeview in the new column. This way, the touch list will never
2455 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2456 be selected manually for the HW keys to work)
2458 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2460 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2461 comparison instead of using strcmp(). Fixes a compiler warning as well.
2463 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2465 * doc/hildon-docs.sgml: Do not set the library version in the
2466 document title, use the releaseinfo tag for that purpose instead.
2468 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2470 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2471 Do not jump to the first item if the text in the entry is removed.
2473 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2478 * configure.ac: Bump version.
2479 * debian/changelog: Updates.
2481 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2483 * src/hildon-entry.c (hildon_entry_refresh_contents):
2484 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2485 Use "ReversedSecondaryTextColor" for the placeholder text.
2487 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-text-view.c: Fix compilation warning.
2491 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-button.c (hildon_button_class_init): Don't make
2494 "title" and "value" construction properties, to prevent them from
2495 overwriting labels set from derived classes.
2497 * src/hildon-picker-button.c
2498 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2499 (hildon_picker_button_class_init): Make touch-selector a
2500 construction property.
2502 * src/hildon-date-button.c (hildon_date_button_class_init)
2503 (+hildon_date_button_constructed): Add a default date selector if
2506 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-touch-selector.c: Small documentation fixes.
2510 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2512 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2514 * src/hildon-entry.c (hildon_entry_refresh_contents),
2515 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2516 widget name, set the logical color directly instead and a boolean
2517 showing_placeholder instead.
2518 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2519 use the widget name here either.
2521 Fixes: NB#105678 (HildonTextView should use logical colours
2522 instead of setting widget name)
2524 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2526 Patch by Daniel Elster (danielk@openismus.com)
2528 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2529 Add user_data parameter.
2530 (hildon_touch_selector_set_print_func_full): New function akin
2531 hildon_touch_selector_set_print_func() but with support for user
2532 data and a destroy callback.
2533 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2534 to clean up the print function user data.
2535 (hildon_touch_selector_class_init): Install dispose function.
2536 (HildonTouchSelectorPrivate::print_user_data),
2537 (HildonTouchSelectorPrivate::print_destroy_func): New private
2539 (hildon_touch_selector_init): Initialize new private members.
2540 (hildon_touch_selector_get_current_text): Pass along user data
2541 to the print function.
2542 (_default_print_func): Add dummy user_data to parameter list.
2543 * hildon-date-selector.c (_custom_print_func): ditto,
2544 * hildon-time-selector.c (_custom_print_func): ditto,
2545 * hildon-touch-selector-entry.c
2546 (hildon_touch_selector_entry_print_func): ditto.
2548 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2550 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2552 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2554 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2556 * src/hildon-pannable-area.c,
2557 (hildon_pannable_area_init),
2558 (hildon_pannable_area_button_press_cb),
2559 (hildon_pannable_area_motion_notify_cb): We have added code to
2560 handle the leave and enter events when using the motion events.
2562 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2564 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2566 * src/hildon-date-button.c (hildon_date_button_get_date)
2567 (hildon_date_button_set_date): Make sure that the button has a
2570 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2572 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-pannable-area.c,
2575 (hildon_pannable_area_class_init),
2576 (hildon_pannable_area_calculate_velocity): Modify the use of the
2577 force and adapt the value.
2579 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2582 (hildon_app_menu_class_init): Hide the menu if it receives a
2583 delete-event, but don't destroy it
2585 Fixes: NB#104485 (Not able to address the call when application
2586 menu is opened at background)
2588 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-app-menu.c
2591 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2592 Remove the "external-border" style property, let the menu take its
2593 natural size (or the one set by the window manager)
2594 (hildon_app_menu_repack_items):
2595 Don't reshow the menu, avoid flickers.
2597 Partially fixes NB#94957 (Smoothly opened application menu)
2599 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2604 * configure.ac: Bump version.
2605 * debian/changelog: Updates.
2607 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2609 * src/hildon-pannable-area.c,
2610 (hildon_pannable_area_motion_notify_cb): We control that the
2611 direction error margin is used just in case the movement is
2612 allowed in the other direction.
2614 Fixes: NB#105012 (buttons inside a pannable area not getting
2615 release event when dragging/releasing)
2617 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2619 * src/hildon-pannable-area.c,
2620 (hildon_pannable_area_class_init),
2621 (hildon_pannable_area_get_property),
2622 (hildon_pannable_area_set_property),
2623 (hildon_pannable_area_initial_effect),
2624 (hildon_pannable_axis_scroll),
2625 (hildon_pannable_area_button_release_cb): Reviewed the
2626 overshooting effect, now it has its own max
2627 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2628 speed when bouncing.
2630 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2635 * configure.ac: Bump version.
2636 * debian/changelog: Updates.
2638 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable-area.c,
2641 (hildon_pannable_area_class_init): Changed the max speed, now
2642 users can launch the widget very fast. Reduced the default force,
2643 that way it is easier to control the launch speed.
2645 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2647 * src/hildon-pannable-area.c,
2648 (hildon_pannable_area_button_release_cb): Removed this check
2649 because it causes problems when the device is overloaded.
2651 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2653 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2654 add a current_text field to store the text entered in the
2655 touch selector entry.
2656 (_clean_current_selection): clean up the current text as well.
2657 (_save_current_selection), (_restore_current_selection):
2658 Save/restore the text in the entry if the selector is a
2659 HildonTouchSelectorEntry.
2661 Fixes: NB#102541 (value entered in the touch selector entry is not
2662 shown when opened for second time)
2664 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2666 * doc/hildon-sections.txt:
2667 * src/hildon-touch-selector-entry.c
2668 (+hildon_touch_selector_entry_get_entry):
2669 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2671 Fixes: NB#104815 (I need accessor to the entry inside
2672 HildonTouchSelectorEntry)
2674 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2677 (hildon_app_menu_class_init):
2678 New "filter-vertical-spacing" style property.
2680 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-find-toolbar.c
2683 (hildon_find_toolbar_emit_close)
2684 (hildon_find_toolbar_emit_invalid_input)
2685 (hildon_find_toolbar_entry_activate):
2686 Use g_signal_emit() instead of g_signal_emit_by_name()
2688 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2690 Patch by Mox Soini (ext-mox.soini@nokia.com)
2692 * tests/TEST-CASES.txt
2693 * tests/check-hildon-banner.c
2694 * tests/check-hildon-note.c
2695 * src/hildon-banner.c
2696 * src/hildon-code-dialog.c
2697 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2698 * src/hildon-time-editor.c
2699 * examples/hildon-lookup-example.c (main):
2700 Replace obsolete icon names with new ones.
2702 * src/hildon-find-toolbar-private.h:
2703 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2704 (-hildon_find_toolbar_emit_search):
2705 Remove find button and change icon of close button.
2707 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2709 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-time-button.c (hildon_time_button_new_step):
2712 Use the "touch-selector" property to set the selector directly
2713 when creating the object.
2715 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2717 Added a new example application that allows tuning the pannable
2718 area and replaced defines with properties in order to simplify the
2719 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2720 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2721 PROP_DIRECTION_ERROR_MARGIN.
2723 * examples/hildon-pannable-area-tuning-example.c: New example
2725 * src/hildon-pannable-area.c,
2726 (hildon_pannable_area_class_init),
2727 (hildon_pannable_area_init),
2728 (hildon_pannable_area_get_property),
2729 (hildon_pannable_area_set_property),
2730 (hildon_pannable_area_launch_fade_timeout),
2731 (hildon_pannable_area_adjust_value_changed),
2732 (hildon_pannable_axis_scroll),
2733 (hildon_pannable_area_motion_notify_cb),
2734 (hildon_pannable_area_scroll_cb),
2735 (hildon_pannable_area_button_release_cb): We have converted some
2736 of the defines that control the widget to properties to simplify
2739 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-app-menu.c (hildon_app_menu_map)
2742 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2743 so it's closed if a new window appears.
2745 Fixes: NB#104485 (Not able to address the call when application
2746 menu is opened at background)
2748 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2751 missing 'break' statement in in 'case' construct to avoid
2754 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2756 * src/hildon-touch-selector-entry.c
2757 (hildon_touch_selector_entry_get_property),
2758 (hildon_touch_selector_entry_set_property): Add missing 'break'
2759 statements in in 'case' constructs to avoid incorrect warnings.
2761 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2763 * src/hildon-time-editor.c
2764 (hildon_time_editor_get_time_separators): Do not crash if
2765 the first label is NULL.
2767 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-date-selector.c (_month_days): Check for month to be
2770 strictly less than 12, since otherwise we may overrun the array.
2772 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-date-button.c (+hildon_date_button_new_full)
2775 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2776 (hildon_date_button_init): Set the date selector using a
2777 construction property, to make it happen after HildonButton's
2778 "value" property is set.
2780 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2781 current date by default)
2783 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2785 * doc/hildon-sections.txt
2786 * src/hildon-program.c
2787 * src/hildon-stackable-window.c
2788 * src/hildon-window.c:
2789 Documentation updates
2791 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2794 (hildon_window_stack_new, +hildon_window_stack_set_property)
2795 (+hildon_window_stack_get_property)
2796 (hildon_window_stack_class_init)
2797 (+hildon_window_stack_set_window_group)
2798 (+hildon_window_stack_get_window_group):
2799 Make the window group a construction property.
2801 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2803 * doc/hildon-sections.txt
2804 * src/hildon-stackable-window-private.h
2805 * src/hildon-stackable-window.h
2806 * src/hildon-stackable-window.c
2807 (-hildon_stackable_window_set_app_menu)
2808 (-hildon_stackable_window_get_app_menu)
2809 (-hildon_stackable_window_toggle_menu)
2810 (-hildon_stackable_window_finalize)
2811 (hildon_stackable_window_class_init)
2812 (hildon_stackable_window_init)
2813 * src/hildon-window-private.h
2814 * src/hildon-window.h
2815 * src/hildon-window.c (hildon_window_init)
2816 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2817 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2818 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2819 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2820 Moved all HildonAppMenu code to HildonWindow. The menu does not
2821 require a HildonStackableWindow anymore.
2823 * src/hildon-app-menu.c
2824 * src/hildon-program.c
2825 * examples/hildon-app-menu-example.c (main):
2826 Update examples and documentation to reflect HildonAppMenu
2829 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2831 * src/hildon-remote-texture.c
2832 * src/hildon-animation-actor.c:
2833 Don't include unused private headers.
2835 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-program-private.h
2838 * src/hildon-program.c
2839 (hildon_program_set_common_menu)
2840 (hildon_program_get_common_menu)
2841 (hildon_program_set_common_app_menu)
2842 (hildon_program_get_common_app_menu):
2843 Change common menu pointers from GtkWidget* to GtkMenu* and
2844 HildonAppMenu* to avoid unnecessary casts.
2846 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2848 * src/hildon-window.c (hildon_window_set_main_menu):
2849 Removed incorrect 'Since:' tag
2851 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2853 * src/hildon-pannable-area.c,
2854 (hildon_pannable_area_calculate_velocity): We use now the
2855 RATIO_TOLERANCE here to check the distance, fixed typo in the
2857 (hildon_pannable_area_motion_notify_cb): We have to set the type
2858 and time even if we are not sending the motion.
2860 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2862 * doc/hildon-sections.txt
2863 * src/hildon-app-menu.h
2864 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2865 (+hildon_app_menu_get_filters): New methods to get the contents of
2868 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2871 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-app-menu.c (hildon_app_menu_popup):
2876 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-window.h
2879 * src/hildon-window.c (+hildon_window_get_main_menu)
2880 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2881 and deprecated hildon_window_get_menu().
2883 * src/hildon-stackable-window.h
2884 * src/hildon-stackable-window.c
2885 (+hildon_stackable_window_set_app_menu)
2886 (+hildon_stackable_window_get_app_menu)
2887 (hildon_stackable_window_set_main_menu): Created
2888 hildon_stackable_window_{get,set}_app_menu() and deprecated
2889 hildon_stackable_window_set_main_menu().
2891 * doc/hildon-sections.txt
2892 * examples/hildon-app-menu-example.c (main)
2893 * src/hildon-app-menu.c
2894 * src/hildon-program.c:
2895 Updated examples and documentation.
2897 Fixes: NB#103758 (No way to obtain a menu from a
2898 HildonStackableWindow)
2900 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2905 * configure.ac: Bump version.
2906 * debian/changelog: Updates.
2908 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2910 * examples/hildon-remote-texture-example.c: Include
2911 hildon-remote-texture.h explicitely.
2912 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2913 applications not defining _XOPEN_SOURCE which don't require this header.
2915 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2917 * doc/hildon-sections.txt
2918 * src/hildon-app-menu.h
2919 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2920 New function to pop up a HildonAppMenu
2922 * src/hildon-stackable-window.c
2923 (hildon_stackable_window_toggle_menu):
2924 Use hildon_app_menu_popup() to show the menu.
2926 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2928 * src/hildon-app-menu.c (hildon_app_menu_show)
2929 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2930 menu if there's another window between it and its parent window.
2932 Fixes: NB#100468 (Application menu window is launched even when a
2933 new secondary-window/dialog is pending to be shown/realized)
2935 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-window-stack.c (hildon_window_stack_push)
2938 (hildon_window_stack_pop_and_push):
2939 Don't forget to push/pop the first window.
2940 Reverse the window list before calling _push_list()
2942 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2944 * src/hildon-picker-button.h
2945 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2946 Remove "value_changed" slot to avoid ABI breakage
2948 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2950 * src/hildon-pannable-area.c,
2951 (hildon_pannable_area_realize),
2952 (hildon_pannable_area_unrealize),
2953 (hildon_pannable_draw_vscroll),
2954 (hildon_pannable_draw_hscroll): Changed the method to handle the
2955 GC used to draw the transparent scrollbar, this way we avoid
2956 creating the GC all the time when drawing the scrollbars.
2958 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2960 * src/hildon-pannable-area.c,
2961 (hildon_pannable_area_init),
2962 (hildon_pannable_area_remove): Removed some unnecessary casts.
2963 (hildon_pannable_area_dispose): Disconnected some signals before
2964 releasing the adjustments.
2966 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2968 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2969 Make sure that all widgets contained in the toolbar are shown.
2971 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2973 * doc/hildon-sections.txt
2974 * src/hildon-picker-button.h
2975 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2976 (_selection_changed, hildon_picker_button_on_dialog_response)
2977 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2978 New hildon_picker_button_value_changed() method.
2981 * src/hildon-picker-button-private.h
2982 * src/hildon-picker-button.c (hildon_picker_button_init)
2983 (+hildon_picker_button_disable_value_changed): Add protected
2984 function for disabling the "value-changed" signal.
2986 * src/hildon-date-button.c (hildon_date_button_set_date):
2987 Don't emit "value-changed" for each one of the three columns.
2989 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2990 before actual change of values)
2992 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2994 * src/hildon-pannable-area.c,
2995 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2996 for the treeview overshooting.
2998 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3000 * src/hildon-banner.c (+hildon_banner_bind_style):
3001 Renamed from hildon_banner_bind_label_style(), now naming the
3002 banner itself as well.
3003 (hildon_banner_show_information),
3004 (hildon_banner_show_information_with_markup),
3005 (hildon_banner_show_animation), (hildon_banner_show_progress):
3006 Name the widgets and labels, based on their type.
3008 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3011 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-note.c (hildon_note_set_property): call
3014 hildon_note_rename() on HildonNote:note-type set.
3015 (hildon_note_rename): Name the note and its label, based on the
3016 HildonNote:note-type property.
3018 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3021 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3023 * src/hildon-pannable-area.c,
3024 (hildon_pannable_area_class_init),
3025 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3026 panning parameters, increased SPS and deceleration factor. Added
3027 also a margin to control fake directions.
3029 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3031 Patch by Sven Herzberg (sven@imendio.com)
3033 * configure.ac: Add missing AM_PROG_CC_C_0
3034 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3036 See NB#101420 (Update unit tests and fix make check)
3038 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3040 This patch was applied before but reverted because it caused
3041 problems, we have changed the main condition and tested the
3042 regressions we detected before and they work ok. We have done a
3043 complete review of the topmost algorithm in order to get a more
3046 * src/hildon-pannable-area.c,
3047 (hildon_pannable_area_get_topmost): Added a new parameter to
3048 filter the the windows that do not include those events.
3049 (hildon_pannable_area_button_press_cb),
3050 (hildon_pannable_area_button_release_cb),
3051 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3052 topmost function, we have added the new parameter.
3054 Fixes: NB#97458 (Pannable area prevents propagation of button
3057 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3059 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3060 if all columns in the selector have an item selected.
3061 (_on_dialog_response): Stop "response" signal emission if there is
3062 any selector column without selected items.
3064 Fixes: NB#101889 (Picker dialog should not close when nothing is
3065 selected in multiple selection list)
3067 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3069 * src/hildon-font-selection-dialog.c
3070 (hildon_font_selection_dialog_class_init),
3071 (hildon_font_selection_dialog_init): Remove the preview
3072 button and dialog, since previewing with default theming is likely
3073 to be overcomplicated. The :preview property has now no effect.
3074 Update documentation blurbs to inform about this.
3076 Fixes: NB#92297 (Preview content is not clearly visible for
3077 default colour text)
3079 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3081 Reviewed the geometry that handles the children size and
3082 scrollbar, now it tries a size and reviews the results depending
3083 on the scrollbars visibility.
3085 * src/hildon-pannable-area.c,
3086 (hildon_pannable_area_realize): Fixed a typo.
3087 (hildon_pannable_area_child_allocate_calculate): Added this
3088 function to calculate the child allocation.
3089 (hildon_pannable_area_size_allocate): Reviewed the allocation
3091 (hildon_pannable_area_check_scrollbars),
3092 (hildon_pannable_area_refresh): Refactored refresh function, this
3093 way we can call the code handling the scrollbars without causing a
3094 size_request, it is interesting in the allocate.
3095 (hildon_pannable_area_init): Replace the callbacks of the
3096 value_changed and changed signals to propertly deal with the
3098 (hildon_pannable_area_grab_notify),
3099 (hildon_pannable_area_initial_effect),
3100 (hildon_pannable_area_launch_fade_timeout),
3101 (hildon_pannable_area_adjust_changed),
3102 (hildon_pannable_area_adjust_value_changed),
3103 (hildon_pannable_area_redraw),
3104 (hildon_pannable_area_button_press_cb),
3105 (hildon_pannable_area_button_release_cb),
3106 (hildon_pannable_area_scroll_cb),
3107 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3108 code and use the new functions adjust_changed and
3109 adjust_value_changed.
3111 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3112 Contact editor dialog)
3114 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3119 * configure.ac: Bump version.
3120 * debian/changelog: Updates.
3122 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3124 * src/hildon-pannable-area.c,
3125 (hildon_pannable_area_get_topmost),
3126 (hildon_pannable_area_button_press_cb),
3127 (hildon_pannable_area_button_release_cb),
3128 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3129 topmost function adding the event mask. We have to try a
3130 differente approach because it is still causing problems (NB#9745,
3133 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-banner.c:
3136 Update the maximum width of timed banners.
3137 (force_to_wrap_truncated): Enforce the maximum text width if the
3140 Fixes: NB#102413 (The text margins (wrapping) in information
3141 banner should be HILDON_MARGIN_TRIPLE)
3143 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3145 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3147 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3148 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3149 bound when calculating the scroll indicator position.
3151 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3152 treat ->lower correctly)
3154 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3157 expose event handling, since it is not necessary to draw the focus
3160 Fixes: NB#102467 (Do not show highlight on the text in
3163 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3166 full height of the toolbar for the button and the label.
3168 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3170 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3171 padding before the label and after the button.
3173 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3177 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3178 Add a GtkVSeparator between the button and the back arrow.
3179 Let the button have automatic size.
3180 Set a name to the widget for theming handling.
3182 Fixes: NB#101793 (Make edit toolbar the same height as window
3183 title bar (use title area theming))
3185 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-helper.c (attach_new_color_element): Fix memory
3190 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3192 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3194 * examples/hildon-button-example.c (common_buttons_window): Don't
3197 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3199 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3200 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3202 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3204 * src/hildon-gtk.c: Check that the window is realized.
3206 Fixes: NB#102225 (Crash setting the progress indicator to a non
3209 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3212 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3213 instead of modifying the one in the widget style.
3215 Fixes: NB#101043 (Second row of all the command button are
3216 displayed in transparent mode.)
3218 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-date-button.c
3221 * src/hildon-time-button.c: Add gettext macros
3223 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3225 * src/hildon-date-button.c (hildon_date_button_new):
3226 * src/hildon-time-button.c (hildon_time_button_new_step):
3227 Use new logical strings to set the button default title.
3229 Fixes: NB#99915 (Date and Time options are not localised in Date
3232 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3234 * src/hildon-pannable-area.c
3235 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3236 the PANNING_THRESHOLD.
3238 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3240 * src/hildon-pannable-area.c,
3241 (hildon_pannable_area_class_init): Increased the maximum speed.
3242 (hildon_pannable_area_get_property),
3243 (hildon_pannable_area_set_property),
3244 (hildon_pannable_area_timeout): Added a new low friction mode, it
3245 allows the user avoid friction when launching the widget fast
3246 enough. It is interesting to traverse long lists.
3248 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3251 (+hildon_stackable_window_delete_event): Ignore delete events if
3252 the window is not the topmost one.
3254 Fixes: NB#101698 (Back button long press and delete-event handling)
3256 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3258 * src/hildon-pannable-area.c,
3259 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3260 gtk-dnd-drag-threshold, it was too big. We have defined our own
3261 dnd define and set a smaller value: PANNIG_THRESHOLD.
3263 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3266 user-defined icons, use always the default one.
3268 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3270 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3272 This patch was applied before but reverted because it caused
3273 problems, we have changed the main condition and tested the
3274 regressions we detected before and they work ok.
3276 * src/hildon-pannable-area.c,
3277 (hildon_pannable_area_get_topmost): Added a new parameter to
3278 filter the the windows that do not include those events. Added
3279 also a condition when finding the window to filter windows that do
3280 not ask for those events.
3281 (hildon_pannable_area_button_press_cb),
3282 (hildon_pannable_area_button_release_cb),
3283 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3284 topmost function, we have added the new parameter.
3286 Fixes: NB#97458 (Pannable area prevents propagation of button
3289 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3291 * tests/check-hildon-color-button.c (START_TEST): do not leak
3294 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-font-selection-dialog.c
3297 (hildon_font_selection_dialog_get_preview_text): Return NULL
3298 instead of FALSE on the g_return_val_if_fail().
3300 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3303 * src/hildon-date-selector.c
3304 (hildon_date_selector_select_current_date):
3305 Do not compare unsigned integers to be greater than or equal 0,
3306 because it's always TRUE.
3308 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3310 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3311 (hildon_date_selector_constructor): Do not select the current
3312 date until we are handle the "changed" signal, to avoid having bogus
3313 elements in the days model.
3315 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3318 for num_days, since _month_days() can return a negative value.
3320 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3322 * src/hildon-caption.c (hildon_caption_size_allocate):
3323 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3324 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3326 Initialize allocation variables to 0, to avoid eventually using
3327 unitialized variables.
3329 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3331 * src/hildon-bread-crumb-trail.c
3332 (hildon_bread_crumb_trail_size_allocate):
3333 * src/hildon-calendar.c (hildon_calendar_set_background):
3334 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3335 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3336 * src/hildon-seekbar.c (hildon_seekbar_init):
3337 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3338 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3339 * src/hildon-touch-selector-entry.c
3340 (hildon_touch_selector_get_text_from_model):
3341 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3342 * src/hildon-window.c (hildon_window_finalize):
3344 Remove many unused variables.
3346 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3348 * src/hildon-seekbar.c: (hildon_seekbar_init),
3349 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3351 Remove unnecessary g_assert() calls.
3353 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3355 * src/hildon-caption.c: (hildon_caption_expose),
3356 (hildon_caption_set_property), (hildon_caption_init),
3357 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3358 (hildon_caption_size_request), (hildon_caption_size_allocate),
3359 (hildon_caption_forall), (hildon_caption_set_separator),
3360 (hildon_caption_activate), (hildon_caption_set_child_expand),
3361 (hildon_caption_set_label_text),
3362 (hildon_caption_get_label_alignment):
3364 Remove unnecessary g_assert() calls.
3366 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3368 * src/hildon-banner.c
3369 (hildon_banner_map, hildon_banner_init): Make banner temporary
3370 before mapping it to avoid closing other temporary windows, but
3371 make it non-temporary afterwards to avoid being closed by other
3372 non-temporary windows.
3373 (-hildon_banner_client_event, hildon_banner_init):
3374 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3376 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3379 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3384 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3386 * src/hildon-remote-texture.c
3387 * src/hildon-remote-texture.h
3388 * src/hildon-remote-texture-private.h
3389 * examples/hildon-remote-texture-example.c:
3390 Updates/fixes to remote-texture and its example.
3392 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3394 Patch by Mox Soini (ext-mox.soini@nokia.com)
3396 * src/hildon-code-dialog.c: Update logical id.
3397 * src/hildon-set-password-dialog.c: Update logical id.
3399 Fixes: NB#100646 (Logical strings is shown for ok in set
3400 password,Password needed dialogs)
3402 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3405 * src/hildon-remote-texture.c
3406 * src/hildon-remote-texture.h
3407 * src/hildon-remote-texture-private.h
3409 Added remote texture widget (for Clutter shared memory textures)
3411 * examples/hildon-remote-texture-example.c
3412 * examples/Makefile.am
3413 Added example file for remote texture usage
3415 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3417 * configure.ac: post release version bump.
3418 * debian/changelog: version bump.
3420 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3425 * configure.ac: Bump version.
3426 * debian/changelog: Updates.
3428 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-date-selector.c (hildon_date_selector_init)
3431 (hildon_date_selector_constructor): Don't connect to the "changed"
3432 signal until the selector is completely constructed.
3434 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3436 * src/hildon-touch-selector.c: (_create_new_column),
3437 (hildon_touch_selector_append_column),
3438 (hildon_touch_selector_set_column_selection_mode),
3439 (hildon_touch_selector_set_active),
3440 (hildon_touch_selector_select_iter):
3441 Emit the HildonTouchSelector::changed signal every time selection
3442 is changed in any of the methods above. This behavior was already
3443 documented but not fully functional.
3445 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3446 selection is programmatically changed)
3448 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3450 * doc/hildon-sections.txt: Remove obsolete icon
3451 sizes from here as well.
3453 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3455 * examples/hildon-stackable-window-example.c (add_window): Remove
3458 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3460 * src/hildon-app-menu.c
3461 (hildon_app_menu_show): Check whether the parent window of a menu
3462 is topmost before popping it up.
3464 Fixes: NB#100468 (Application menu window is launched even when a
3465 new secondary-window/dialog is pending to be shown/realized.)
3467 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3469 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3472 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3474 Patch by Mox Soini (ext-mox.soini@nokia.com)
3476 * src/hildon-banner.c: (hildon_banner_show_animation):
3477 use stylus size instead of obsolete note size.
3478 * src/hildon-defines.h: Update icon sizes.
3480 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-touch-selector-entry.c:
3483 (hildon_touch_selector_entry_init): Disable unsupported
3485 (hildon_touch_selector_entry_get_text_column): Emit a warning
3486 if an unsupported input modes is used and explicitile state
3487 these modes in the documentation.
3489 Fixes: NB#99802 (Hildon touch selector entry not working properly
3490 for some of the input modes)
3492 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3494 * src/hildon-pannable-area.c,
3495 (hildon_pannable_area_init): Added the changed signal handlers of
3498 Fixes: NB#100320 (HildonPannableArea does not listen to
3499 GtkAdjustment "change" signals)
3501 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3503 * doc/hildon-sections.txt
3504 * src/hildon-window-private.h
3505 * src/hildon-window.h
3506 * src/hildon-window.c (hildon_window_init)
3507 (hildon_window_realize, hildon_window_unrealize)
3508 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3509 (hildon_window_size_request, hildon_window_size_allocate)
3510 (hildon_window_forall, hildon_window_show_all)
3511 (hildon_window_destroy, +paint_edit_toolbar)
3512 (+hildon_window_set_edit_toolbar):
3513 New hildon_window_set_edit_toolbar() method, to add a
3514 HildonEditToolbar to a window without having to pack it manually.
3516 Reorganize hildon_window_size_allocate()
3518 * src/hildon-edit-toolbar.c: Update documentation.
3520 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3521 example to use the new API.
3523 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3525 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3527 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3528 Remove from stack before calling parent's hide.
3530 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3532 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3533 window is removed from the middle of the stack, update the
3534 transiency of the previous one.
3536 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3539 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3541 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3542 block/unblock the signal handler if it's not actually being used.
3543 Fixes some critical warnings.
3545 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3547 Based on a patch by Iván Gómez (igomez@igalia.com)
3549 * src/hildon-banner.c
3553 * src/hildon-pannable-area.c
3554 * src/hildon-picker-dialog.c
3555 * src/hildon-wizard-dialog.h
3556 * src/hildon-wizard-dialog.c: Documentation updates.
3558 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3559 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3561 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3563 * configure.ac: post release version bump.
3564 * debian/changelog: version bump.
3566 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3571 * configure.ac: Bump version.
3572 * debian/changelog: Updates.
3574 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3577 a stock icon nor change the relief of the back arrow.
3579 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3580 graphics from theme)
3582 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-button.c (hildon_button_set_alignment): Use
3585 priv->alignment if the button has no child yet.
3587 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-button.c: (hildon_button_init): Set the
3590 button style during initialization to give it the proper
3593 Fixes: NB#99713 (HildonButton value label color is wrong)
3595 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-touch-selector.c: Document
3598 hildon_touch_selector_center_on_selected()
3600 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3602 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3603 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3604 all menu items, but not the menu itself.
3605 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3606 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3607 items after adding them to the menu so keyboard accelerators work.
3608 (hildon_app_menu_show): Don't show the menu if it contains items
3609 but none of them are visible.
3611 * examples/hildon-app-menu-example.c (create_menu): Use
3612 gtk_widget_show_all() to show all menu items.
3614 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3616 * src/hildon-picker-dialog.c:
3617 (-_update_title_on_selector_changed_cb),
3618 (-_dialog_update_title): Removed.
3619 (_select_on_selector_changed_cb), (_on_dialog_response),
3620 (on_selector_columns_changed): Do not update the dialog title.
3621 (setup_interaction_mode): Do not connect to
3622 HildonTouchSelector::changed signal if there's a "done" button, as
3623 the dialog title doesn't need to be updated.
3625 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3628 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3630 Patch by Kristian Rietveld (kris@imendio.com)
3632 * src/hildon-touch-selector.c: (_create_new_column): Use new
3633 GtkTreeView::hildon-row-tapped signal to react to user interactions
3634 instead of ::changed.
3636 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3637 with some dynamic tree model)
3639 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3642 (+screen_size_changed, +label_size_request)
3643 (hildon_note_class_init): Make the Hildon information note have a
3644 minimum height, and make its text hvae a maximum width.
3646 Fixes: NB#98614 (Hildon information note (background) should have
3647 minimum height and maximum text width)
3649 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-banner.h
3652 * src/hildon-banner.c (hildon_banner_show_information)
3653 (hildon_banner_show_informationf)
3654 (hildon_banner_show_information_with_markup): Update documentation
3655 to reflect that the icon_name parameter is not used anymore.
3656 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3657 Remove all code from these functions and mark them as deprecated.
3658 (hildon_banner_show_progress): Mark as deprecated.
3660 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3662 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3664 * src/hildon-pannable-area.c,
3665 (hildon_pannable_area_class_init),
3666 (tranparency_color),
3667 (hildon_pannable_draw_vscroll),
3668 (hildon_pannable_draw_hscroll),
3669 (hildon_pannable_area_expose_event): Added a new way to render the
3670 scrollbars of the pannable area avoiding using cairo at all. This
3671 way we improve the performance of the pannable area rendering. The
3672 cairo rendering procedure is still in the code, we can control
3673 which one to use changing the value of the define
3674 USE_CAIRO_SCROLLBARS.
3676 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3678 * configure.ac: post release version bump.
3679 * debian/changelog: version bump.
3681 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3686 * configure.ac: Bump version.
3687 * debian/changelog: Updates.
3689 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3692 banners instead of destroying them when they receive a button
3695 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3697 Reverted commit 34028, it was causing regressions, probably the
3698 topmost condition is not correct, we have to check it in more
3699 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3700 propagation of button press events)
3702 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3705 that the selection is not empty before attempting to retrieve the
3706 current ampm selection.
3708 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3710 * src/hildon-picker-button.c:
3711 (hildon_picker_button_on_dialog_response): Directly update the
3712 button contents when required instead of calling _selection_changed.
3714 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-program.c (hildon_program_update_top_most): Update
3717 'is-topmost' property also when wm_hints is not set.
3719 Fixes: NB#98383 (is-topmost signal is not emitted when task
3720 switcher is clicked.)
3722 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3724 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3728 * src/hildon-animation-actor.c,
3729 * src/hildon-animation-actor.h: Added the animation actor class,
3730 this widget represents an animation actor for WM-assisted
3731 animation effects in the Hildon framework.
3733 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3735 * src/hildon-window-stack-private.h
3736 * src/hildon-window-stack.c
3737 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3738 Avoid calling gtk_widget_show() again indirectly from
3739 hildon_stackable_window_show()
3741 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3743 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3746 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3748 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3749 (hildon_time_selector_init): Move the construction of the hours and
3750 ampm columns to the constructor to preserve the order the columns
3753 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3755 * src/hildon-picker-dialog.c:
3756 (hildon_picker_dialog_class_init): Connect a realize method.
3757 (+hildon_picker_dialog_realize): Setup the interaction mode here
3759 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3760 yet, do it during the realize instead.
3761 (_on_dialog_response):
3762 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3763 if the widget is not realized, to avoid the dialog response before it
3766 Avoid premature responses in the HildonPickerDialog that can cause it
3767 to be hidden before it's even shown.
3769 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3771 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3772 (on_selector_columns_changed), (requires_done_button),
3773 (+prepare_action_area), (setup_interaction_mode),
3774 (_hildon_picker_dialog_set_selector):
3776 Split the interaction mode setup into preparation of the
3777 action area (prepare_action_area()) and the connection of
3778 the signals in setup_interaction_mode() and update the code to
3781 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3783 * src/hildon-pannable-area.c,
3784 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3785 per second to 15, we will check if this is ok regarding
3788 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3790 * src/hildon-pannable-area.c,
3791 (hildon_pannable_axis_scroll): Avoid resize if we already have
3792 reached overshoot_max.
3794 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3796 * src/hildon-pannable-area.c,
3797 (hildon_pannable_area_init),
3798 (hildon_pannable_area_realize),
3799 (hildon_pannable_area_size_allocate),
3800 (hildon_pannable_area_map),
3801 (hildon_pannable_area_unmap),
3802 (hildon_pannable_draw_vscroll),
3803 (hildon_pannable_draw_hscroll),
3804 (hildon_pannable_area_expose_event),
3805 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3806 pannable are to avoid the expose events go to the window and
3807 redraw the window. We save this way that part of the stack and the
3808 paint_boxes. We had to change the positions of the elements when
3811 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3813 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3814 * src/hildon-color-chooser-dialog.c:
3815 (hildon_color_chooser_dialog_init):
3816 * src/hildon-font-selection-dialog.c:
3817 (hildon_font_selection_dialog_init),
3818 (hildon_font_selection_dialog_show_preview):
3819 * src/hildon-get-password-dialog.c:
3820 * src/hildon-login-dialog.c:
3821 * src/hildon-set-password-dialog.c:
3822 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3823 * src/hildon-time-picker.c: (hildon_time_picker_init):
3825 Remove obsolete logical string IDs and update to the appropriate ones.
3827 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3829 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3832 that happens if the window hasn't been realized yet.
3834 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3835 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3837 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3840 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3843 Fixes: NB#98537 (Device hangs in account settings dialog)
3845 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3847 * configure.ac: post release version bump.
3848 * debian/changelog: version bump
3850 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3855 * configure.ac: Bump version.
3856 * debian/changelog: Updates.
3858 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3860 Added a new function to the HildonTimeButton widget that allows to
3861 change the step of the minutes in the selector associated with the
3862 button: hildon_time_button_new_step
3864 * src/hildon-time-button.c,
3865 (hildon_time_button_init),
3866 (hildon_time_button_new),
3867 (hildon_time_button_new_step):
3868 * src/hildon-time-button.h: Added the new function and refactored
3870 * examples/hildon-time-button-example.c,
3871 (main): We have replaced the function without parameters with the
3872 function with the steps set to 5
3874 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3876 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3878 * src/hildon-time-selector.c,
3879 (hildon_time_selector_class_init),
3880 (hildon_time_selector_constructor),
3881 (hildon_time_selector_get_property),
3882 (hildon_time_selector_set_property),
3883 (_create_minutes_model),
3884 (hildon_time_selector_new_step),
3885 (hildon_time_selector_set_time),
3886 * src/hildon-time-selector.h: Added a new property to the
3887 HildonTimeSelector (minutes-step), we use that property to control
3888 the steps between the minutes in the list of the selector. We have
3889 added a new function to the API to create a widget changing the
3890 step: hildon_time_selector_new_step.
3892 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3894 * src/hildon-time-selector.c,
3895 (hildon_time_selector_class_init),
3896 (hildon_time_selector_constructor),
3897 (hildon_time_selector_init): Overrided the construct function when
3898 creating the time selector object. We have moved the minutes model
3899 handling code from the init to the new construction function:
3900 hildon_time_selector_constructor.
3902 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3904 * examples/hildon-date-button-example.c: (main): Use the new
3905 hildon_date_button_new_with_year_range() method in the example.
3906 * src/hildon-date-button.c:
3907 (+hildon_date_button_new_with_year_range): New public method
3908 to conveniently create a HildonDateButton with a custom year range
3909 in its HildonDateSelector.
3910 * src/hildon-date-button.h: Add the new public method definition.
3912 Fixes: NB#97908 (Not possible to change the year range in
3913 HildonDateSelector/HildonDateButton)
3915 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-date-selector.c:
3918 (+hildon_date_selector_set_property),
3919 (+hildon_date_selector_get_property),
3920 (hildon_date_selector_class_init): Install new properties "min-year"
3921 and "max-year" to define boundaries for the year column.
3922 (_create_year_model): Use the boundary properties to populate the model.
3923 (+hildon_date_selector_new_with_year_range): New public method to
3924 create a HildonDateSelector with a user defined year range.
3925 (hildon_date_selector_select_current_date): Use the new boundaries to
3926 calculate the iterator of current year.
3927 * src/hildon-date-selector.h: Add the new public method definition.
3929 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3931 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3932 Install a constructor method.
3933 (+hildon_date_selector_construct_ui): construct the widget.
3934 (+hildon_date_selector_constructor): new constructor.
3935 (+hildon_date_selector_init): move out widget construction code to
3936 the new constructor.
3938 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3941 that there's actually a month or year selected before obtaining them.
3942 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3943 of the HildonTouchSelector::changed signal, as it was emitted on every
3944 single item selection.
3946 Fix some warnings and possible crashers due to the selection restoring.
3948 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3951 the signal handlers only after creating the dialog instead of on every
3954 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-button.c (hildon_button_init)
3957 * src/hildon-check-button.c (hildon_check_button_init)
3958 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3959 focus when clicked by default.
3961 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3966 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3968 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3969 Alejandro G. Castro (alex@igalia.com)
3971 * src/hildon-picker-dialog.c:
3972 (hildon_picker_dialog_class_init): install new "center-on-show"
3974 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3975 (hildon_picker_dialog_set_property): add setter code for the new
3977 (hildon_picker_dialog_get_property): add getter code for the new
3979 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3980 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3983 Fixes: NB#92849 (Selected item is not always visible when
3984 HildonTouchSelector is shown)
3986 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3988 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3989 Alejandro G. Castro (alex@igalia.com)
3991 * src/hildon-touch-selector.c:
3992 (_create_new_column): Do not connect to the "realize" signal of the
3994 (hildon_touch_selector_append_column): center on the selected items
3995 when a new column is appended.
3996 (hildon_touch_selector_select_iter): Factor out the code to select a
3997 column to hildon_touch_selector_scroll_to().
3998 (+search_nearest_element): Method to retrieve the nearest selected
3999 element to the visible area of the pannable area in a column.
4000 (+on_realize_cb): scroll to the initially selected item.
4001 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4002 the pannable area is realized, otherwise delay this until it is.
4003 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4004 selected items of a given column.
4005 (+hildon_touch_selector_center_on_selected): Public method to center
4006 all columns on the nearest selected item.
4007 * src/hildon-touch-selector.h: Add definition for
4008 hildon_touch_selector_center_on_selected().
4010 Implement public API to ensure visibility of all selected items in
4011 a HildonTouchSelector.
4013 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4015 Fixed a problem in the fading when calling the scroll_to API, and
4016 improve scrollbar fading handling.
4018 * src/hildon-pannable-area.c,
4019 (hildon_pannable_area_grab_notify): avoid the timeout when the
4021 (hildon_pannable_area_button_press_cb),
4022 (hildon_pannable_area_motion_notify_cb): Code style changes.
4023 (hildon_pannable_area_button_release_cb): Review the conditions
4024 when releasing the mouse button to avoid unrequired fading
4026 (hildon_pannable_area_scroll_to): Do not calculate and set the
4027 velocity if the scroll is not required.
4029 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4031 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4032 Don't check whether the new selector is NULL: it cannot be.
4033 Hold a reference to the selector while doing the replacement.
4035 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4037 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4038 unnecessary size_request in a removed widget.
4040 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4043 an unnecessary reference tracking that was leaking.
4045 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4047 Added delayed motion notify event handling, this way we can
4048 discard redrawing if more than 25 events arrive per second.
4050 * src/hildon-pannable-area.c,
4051 (hildon_pannable_area_init): Initialized the new private atributes
4052 controlling this timeout
4053 (hildon_pannable_area_dispose): Remove the timeout that controls
4054 the motion notify events.
4055 (hildon_pannable_area_scroll): Added a condition to control the
4056 use of the acceleration.
4057 (hildon_pannable_area_motion_event_scroll_timeout),
4058 (hildon_pannable_area_motion_event_scroll): Added this two
4059 functions, they handle the motion notify events inside the
4061 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4062 to the scroll method with the new function.
4063 (hildon_pannable_area_button_release_cb): We have to remove the
4064 timeout handler and move to the last position if the last motion
4065 events were not handled.
4067 Fixes: NB#97028 (Pannable area updates on every motion event)
4069 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4071 * src/hildon-pannable-area.c,
4072 (hildon_pannable_area_get_topmost): Added a new parameter to
4073 filter the the windows that do not include those events. Added
4074 also a condition when finding the window to filter windows that do
4075 not ask for those events.
4076 (hildon_pannable_area_button_press_cb),
4077 (hildon_pannable_area_button_release_cb),
4078 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4079 topmost function, we have added the new parameter.
4081 Fixes: NB#97458 (Pannable area prevents propagation of button
4084 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4086 * src/hildon-pannable-area.c,
4087 (hildon_pannable_area_initial_effect): Added controls before
4088 launching the timeout and the idle functions.
4089 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4090 of the method, in some situations it can return with TRUE and 0 in
4092 (hildon_pannable_area_button_press_cb): We do not need to set
4093 DELAY for fading out here.
4095 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4097 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4099 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4100 post-cleaning if the selection is not NULL.
4102 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4105 all items before restoring the selection.
4107 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-touch-selector.c:
4110 (+hildon_touch_selector_unselect_all):
4111 * src/hildon-touch-selector.h: New API to unselect all items in a
4112 column of the touch selector.
4114 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4116 * src/hildon-pannable-area.c,
4117 (hildon_pannable_area_redraw): Added a call to the refresh
4118 function inside the redraw because apparently in some cases the
4119 change in the adjustment does not imply a size allocate.
4121 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4122 despite the view not being scrollable)
4124 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4126 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4127 leak. Check for NULL before attempting to set the window title.
4129 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4132 whether to show or not the 'Done' button each time the dialog is
4133 shown, as it depends on the HildonTouchSelector selection mode.
4135 Fixes: NB#96226 (In multiple selection mode Done button is shown
4136 sometimes in listpicker)
4138 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4141 for the number of columns in the HildonTouchSelector more than once.
4143 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-touch-selector.c: Minor documentation fixes.
4147 * src/hildon-picker-dialog.c (+_dialog_update_title)
4148 (_select_on_selector_changed_cb)
4149 (_update_title_on_selector_changed_cb)
4150 (on_selector_columns_changed): Update dialog title when there's no
4151 'Done' button and also when the number of columns in the selector
4155 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4156 (+_selection_changed, hildon_picker_button_on_dialog_response)
4157 (hildon_picker_button_selector_selection_changed)
4158 (+hildon_picker_button_selector_columns_changed)
4159 (hildon_picker_button_set_selector): Update button value and emit
4160 'value-changed' when the number of columns in the selector
4164 Fixes: NB#96225 (Dialog titles are not shown according to the
4165 values selected in the list picker)
4167 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4169 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4170 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4171 New "arrow-width" and "arrow-height" style properties to set the
4172 size of the arrow button.
4173 Set name of arrow button ("hildon-edit-toolbar-arrow").
4175 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4176 graphics from theme)
4178 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-picker-button.c:
4181 (hildon_picker_button_selector_selection_changed): Use
4182 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4183 the dialog is present.
4185 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4186 the selection is accepted in the dialog)
4188 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-color-chooser.h
4191 * src/hildon-color-chooser-dialog.h:
4192 Added G_BEGIN_DECLS and G_END_DECLS
4194 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4196 (_clean_current_selection): plug a leak in the list.
4198 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-picker-dialog.c:
4201 (+free_path_list): Method to free a GList of GtkTreePaths.
4202 (_clean_current_selection), (_save_current_selection),
4203 (_restore_current_selection): Save the current selection in
4204 as a list of lists, to support multiple selection properly.
4206 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4208 patch by Claudio Saavedra (csaavedra@igalia.com)
4210 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4211 Store the press position.
4212 (+hildon_text_view_button_release_event): If the release position is
4213 close enough to the press position, move the cursor here. Otherwise,
4215 (hildon_text_view_class_init): Override GtkTextView press, release, and
4216 motion event handlers, disabling this way text selection through
4217 pointer interaction, and allowing the container widget to handle the
4220 Fixes: NB#95828 (HildonTextView functionality)
4222 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4224 Based on a patch by Iván Gómez (igomez@igalia.com)
4226 * src/hildon-button.[ch]
4227 * src/hildon-calendar.c
4228 * src/hildon-check-button.c
4229 * src/hildon-date-editor.c
4230 * src/hildon-date-selector.c
4231 * src/hildon-picker-button.c
4232 * src/hildon-time-editor.c
4233 * src/hildon-time-selector.c
4234 * src/hildon-touch-selector.[ch]:
4235 Documentation updates
4237 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4239 * src/hildon-pannable-area.c,
4240 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4241 threshold, it was required due to X events handling.
4243 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4245 * src/hildon-pannable-area.c,
4246 (hildon_pannable_area_grab_notify),
4247 (hildon_pannable_area_initial_effect),
4248 (hildon_pannable_area_button_press_cb),
4249 (hildon_pannable_area_button_release_cb),
4250 (hildon_pannable_area_scroll_cb),
4251 (hildon_pannable_area_scroll_to): Review the timeout management of
4252 the scrollbar, the frecuency was incorrectly set.
4254 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4256 * src/hildon-picker-button.c:
4257 (+hildon_picker_button_on_dialog_response),
4258 (hildon_picker_button_clicked): Present the dialog instead of
4259 running it with gtk_dialog_run().
4261 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4264 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4266 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4267 (hildon_app_menu_finalize): When a window is hidden it doesn't
4268 emit notify::is-topmost, so make sure than the menu also
4269 disappears in that case.
4270 (parent_window_topmost_notify): Renamed from parent_window_hidden
4272 Fixes: NB#94460 (stackable window's menu is not closed when its
4275 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4277 * src/hildon-touch-selector-entry.c:
4278 (+hildon_touch_selector_entry_set_input_mode),
4279 (+hildon_touch_selector_entry_get_input_mode):
4280 * src/hildon-touch-selector-entry.h: New methods to access the input
4281 mode in the selector's entry.
4283 Fixes: NB#93410 (API required for setting IM mode in
4284 HildonTouchSelectorEntry)
4286 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4288 * configure.ac: post release version bump.
4289 * debian/changelog: version bump
4291 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4296 * configure.ac: Bump version.
4297 * debian/changelog: Updates.
4299 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4301 * src/hildon-touch-selector.c:
4302 (_hildon_touch_selector_has_multiple_selection): No need
4303 to initialize the variables here.
4305 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-note-private.h
4308 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4309 (hildon_note_finalize, hildon_note_rebuild): Close information
4310 notes when they receive a button press.
4312 Fixes: NB#89890 (Information notes does not get disappeared after
4315 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4318 mark from the wizard title, as it's not really necessary. Also,
4319 do not display the page title if not set.
4321 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4323 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4324 (parent_window_hidden): Use the window's "is-topmost" property to
4325 detect when to hide the menu.
4327 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4329 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4330 (hildon_app_menu_finalize): If the parent window of the menu is
4331 hidden, hide the menu too.
4333 Fixes: NB#94460 (stackable window's menu is not closed when its
4336 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4339 * debian/libhildon1-examples.install
4341 * examples/Makefile.am:
4342 Use dh_install to install all examples.
4343 Use DEB_SRCDIR instead of defining SOURCE_DIR
4345 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4347 * configure.ac: post release version bump.
4348 * debian/changelog: version bump
4350 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4355 * configure.ac: bump version
4356 * debian/changelog: updates
4357 * debian/control: bump gtk+ dependency
4359 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4361 patch by Christian Dywan (christian@imendio.com)
4363 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4364 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4366 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4368 * src/hildon-check-button.c (hildon_check_button_init)
4369 (hildon_check_button_class_init, hildon_check_button_style_set)
4370 (hildon_check_button_apply_style):
4371 New "checkbox-size" style property.
4373 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4374 larger / configurable size)
4376 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4378 * configure.ac: post release version bump.
4379 * debian/changelog: version bump
4381 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4386 * configure.ac: bump version
4387 * debian/changelog: updates
4389 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4391 * doc/hildon-sections.txt
4392 * src/hildon-pannable-area.c
4393 * src/hildon-program.c
4394 * src/hildon-time-editor.c
4395 * src/hildon-touch-selector-entry.c:
4397 More documentation updates.
4399 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4401 * doc/hildon-sections.txt
4402 * src/hildon-caption.c
4403 * src/hildon-code-dialog.c
4404 * src/hildon-color-button.c
4405 * src/hildon-controlbar.c
4406 * src/hildon-date-editor.c
4407 * src/hildon-date-selector.c
4408 * src/hildon-edit-toolbar.c
4409 * src/hildon-find-toolbar.c
4410 * src/hildon-font-selection-dialog.c
4412 * src/hildon-program.c
4413 * src/hildon-range-editor.c
4414 * src/hildon-seekbar.c
4415 * src/hildon-time-editor.c
4416 * src/hildon-time-selector.c
4417 * src/hildon-volumebar-range.c
4418 * src/hildon-volumebar.c
4419 * src/hildon-vvolumebar.c
4420 * src/hildon-weekday-picker.c
4421 * src/hildon-window.c
4422 * src/hildon-wizard-dialog.c:
4424 Lots of documentation fixes.
4426 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4428 Patch contributed by Iván Gómez (igomez@igalia.com)
4430 * src/hildon-check-button.c:
4431 * src/hildon-date-button.c:
4432 * src/hildon-date-selector.c:
4433 * src/hildon-dialog.c:
4434 * src/hildon-edit-toolbar.c:
4435 * src/hildon-entry.c:
4436 * src/hildon-picker-button.c:
4437 * src/hildon-program.c:
4438 * src/hildon-text-view.c:
4439 * src/hildon-time-button.c:
4440 * src/hildon-touch-selector-entry.c:
4441 * src/hildon-window-stack.c:
4443 Add more "since" tags to the new API.
4445 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4447 * doc/hildon-sections.txt: Add below method.
4448 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4449 version for the hildonized scale.
4450 * src/hildon-gtk.h: Add the definition.
4452 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4454 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4456 * doc/hildon-sections.txt: Add missing entries for new methods.
4458 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4460 Added API to pannable are in order to get its adjustments. We
4461 added two properties to manage the values we had in the private
4464 * src/hildon-pannable-area.c:
4465 (hildon_pannable_area_class_init): Added hadjustment and
4466 vadjustment properties in order to expose horizontal and vertical
4468 (hildon_pannable_area_get_property),
4469 (hildon_pannable_area_set_property): Added code to handle the new
4471 (hildon_pannable_area_get_hadjustment),
4472 (hildon_pannable_area_get_vadjustment): API functions to get the
4474 * src/hildon-pannable-area.h:
4475 (hildon_pannable_area_get_hadjustment),
4476 (hildon_pannable_area_get_vadjustment): API functions to get the
4479 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4481 Fixed some leaks, after valgrinding.
4483 * src/hildon-touch-selector.c:
4484 (_default_print_func): Fixed a leak.
4485 (hildon_touch_selector_append_column): Fixed a leak.
4486 * src/hildon-date-button.c:
4487 (hildon_date_button_init): Fixed a leak.
4488 * src/hildon-date-selector.c
4489 (hildon_date_selector_finalize): Fixed a leak.
4491 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4493 Based on a patch by Christian Dywan (christian@imendio.com)
4495 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4497 * src/hildon-gtk.h: Add definition.
4499 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4501 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-picker-button.c: (hildon_picker_button_init),
4504 (hildon_picker_button_new): Set the HildonButton::style property
4505 in the init method, to propagate the value to the derived classes.
4507 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-button.c: (hildon_button_class_init): Do not make
4510 the "style" property a construct property.
4512 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4514 * src/hildon-wizard-dialog.h
4515 * src/hildon-wizard-dialog.c
4516 (hildon_wizard_dialog_set_forward_page_func)
4517 * src/hildon-pannable-area.h
4518 * src/hildon-pannable-area.c
4519 (hildon_pannable_area_set_size_request_policy):
4520 Documentation fixes.
4522 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4524 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4526 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4528 * doc/hildon-sections.txt: Added sections file.
4530 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4533 * src/*.[ch]: Updates.
4535 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4537 * examples/hildon-progress-indicator-example.c: new file
4538 * examples/Makefile.am: include the new example program
4540 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4542 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4544 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4546 * configure.ac: post release version bump
4547 * debian/changelog: version bump
4549 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4554 * configure.ac: bump version
4555 * debian/changelog: updates
4556 * debian/control: bump gtk+ dependency
4558 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4560 * src/hildon-dialog.c: Mark as deprecated.
4561 * src/hildon-dialog.h: Mark as deprecated.
4562 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4563 from HildonDialog and still work, even if
4564 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4565 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4567 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4568 maemo changes) instead)
4570 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4572 * src/hildon-pannable_area.h:
4573 * src/hildon-pannable_area.c:
4574 (hildon_pannable_area_class_init),
4575 (hildon_pannable_area_set_property),
4576 (hildon_pannable_area_get_property),
4577 (hildon_pannable_area_size_request),
4578 (hildon_pannable_area_get_size_request_policy),
4579 (hildon_pannable_area_set_size_request_policy): Added new API
4580 allowing applications to control the request policy. Now they can
4581 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4582 children allocation (HILDON_MOVEMENT_CHILDREN).
4584 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4588 (hildon_gtk_tree_view_set_ui_mode)
4589 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4590 mode of treeviews and iconviews.
4592 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4594 * src/hildon-touch-selector-entry.c:
4595 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4596 of a GtkEntry to get proper theming.
4598 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4599 widget, not GtkEntry)
4601 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4603 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4604 no HildonWizardDialogPageFunc.
4606 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4608 Patch contributed by Iván Gómez (igomez@igalia.com)
4610 * src/hildon-app-menu.c:
4611 * src/hildon-button.c:
4612 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4613 * src/hildon-stackable-window.c:
4614 * src/hildon-time-selector.c:
4615 * src/hildon-touch-selector.c:
4616 * src/hildon-window.c:
4618 Add more "since" tags to the new API in hildon 2.2.
4620 2008-12-05 Tim Janik <timj@imendio.com>
4622 Patch contributed by Christian Dywan (christian@imendio.com)
4624 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4625 HildonSizeType, which are supplied by Gtk+ now.
4627 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4629 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4630 (with maemo changes) instead)
4632 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4634 Patch contributed by Iván Gómez (igomez@igalia.com)
4636 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4639 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4641 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4642 (some_page_func), (main): Update the example to use a
4643 HildonWizardDialogPageFunc function.
4645 * src/hildon-wizard-dialog-private.h: Add private data for
4646 the HildonWizardDialogPageFunc function usage.
4648 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4649 (destroy), (hildon_wizard_dialog_init), (response),
4650 (hildon_wizard_dialog_set_forward_page_func):
4651 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4652 that applications can use to stop a HildonWizardDialog to jump to
4655 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4658 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4660 * src/hildon-program.h
4661 * src/hildon-program-private.h
4662 * src/hildon-program.c (hildon_program_init)
4663 (hildon_program_set_common_app_menu)
4664 (hildon_program_get_common_app_menu):
4665 New API for setting a common HildonAppMenu for all
4666 HildonStackableWindows registered with the HildonProgram.
4668 * src/hildon-stackable-window.c
4669 (hildon_stackable_window_toggle_menu):
4670 Use the common HildonAppMenu if a window doesn't have a specific
4673 * src/hildon-app-menu-private.h
4674 * src/hildon-app-menu.c
4675 (hildon_app_menu_get_parent_window):
4676 Function to obtain the window a HildonAppMenu is attached to.
4677 (hildon_app_menu_set_parent_window):
4678 Hide the menu if the parent window is set to NULL.
4680 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4682 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4683 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4684 search widget to popup.
4686 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4688 * configure.ac: post release version bump
4689 * debian/changelog: version bump
4691 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4696 * configure.ac: bump version
4697 * debian/changelog: updates
4699 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4701 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4703 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4704 (hildon_window_stack_window_realized)
4705 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4706 Set the leader GdkWindow when a window is stacked and realized,
4707 unset it when it's unstacked.
4708 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4710 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4712 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-stackable-window.h
4715 * src/hildon-window-stack.h:
4716 Protect definition of HildonWindowStack using the preprocessor.
4718 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4720 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4721 Fix warning if all menu items are hidden.
4723 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4725 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4727 * src/hildon-controlbar.c:
4728 * src/hildon-hvolumebar.c:
4729 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4730 Multiple scale size defines updates.
4732 Fixes: NB#94322 (Scale Updates)
4734 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4736 * examples/hildon-app-menu-example.c (create_menu)
4737 Show items after adding them to the menu, as in the future the
4738 menu will no longer call gtk_widget_show() on the added items.
4740 * src/hildon-app-menu.c:
4741 Update example as explained above.
4743 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-app-menu.c
4746 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4747 Make sure that all menu items have finger height.
4749 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4751 * src/hildon-picker-dialog.c:
4752 (_on_dialog_response), (_save_current_selection),
4753 (_restore_current_selection), (_clean_current_selection),
4754 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4755 Defined new functions in order to save the current internal selector
4756 selection previous open the dialog, in case that the use cancel the
4757 interaction, so the widget restores the previous selection.
4759 Fixes: NB#92032 (In calendar application, date values in 'new event'
4762 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4764 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4766 * src/hildon-button.c: Add a reference to the button examples in
4767 hildon-button-example.c
4769 * examples/hildon-button-example.c: Added examples of the most
4770 common button layouts.
4772 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-app-menu.c (hildon_app_menu_show)
4775 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4777 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4779 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4781 * src/hildon-picker-dialog.c:
4782 (hildon_picker_dialog_init): Initialize the signal id for
4783 HildonTouchSelector::columns-changed.
4784 (+on_selector_columns_changed): Set up the interaction mode everytime a
4785 column is added or removed from the HildonTouchSelector.
4786 (_hildon_picker_dialog_set_selector): Connect to
4787 HildonTouchSelector::columns-changed and keep track of it.
4789 Make sure to update the interaction mode of the dialog everytime a
4790 column is added or removed in the HildonTouchSelector.
4792 Fixes: NB#93228 (Done button is not shown always in listpicker)
4794 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4797 a new ::columns-changed signal.
4798 (hildon_touch_selector_append_column): Emit ::columns-changed.
4799 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4801 Add a ::columns-changed signal, emitted when the number of columns in a
4802 HildonTouchSelector changes.
4804 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4807 (_hildon_picker_dialog_set_selector): Factor out the code
4808 to set up the dialog interaction mode.
4810 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4812 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4813 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4814 to signal_changed_id.
4816 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4821 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4823 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4824 Updated the logical ids related to ampm format, as now it is required to
4825 show it correctly localized even on languages with no default
4826 abbreviations for am or pm
4827 (_check_am_pm_format): check correctly the 24h format gconf property
4829 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4831 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4833 * src/hildon-button.c: Documentation updates.
4835 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4837 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4838 * src/hildon-caption.c: (hildon_caption_class_init):
4839 * src/hildon-color-button.c: (hildon_color_button_class_init):
4840 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4841 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4842 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4843 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4845 Remove deprecated GTK+ marshalers and replace them with the ones
4846 provided by GLib, for those available, add a marshaler for
4847 BOOLEAN:VOID, which is not available in GLib, and use it.
4849 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4851 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4852 the text from the previous column if there is no
4853 HildonTouchSelectorColumn::text-property set.
4855 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-button.h
4858 * src/hildon-button.c (hildon_button_set_property)
4859 (hildon_button_get_property, hildon_button_class_init)
4860 (hildon_button_set_style, hildon_button_get_style):
4861 New "style" property to change the visual appearance of the
4864 * src/hildon-picker-button.c (hildon_picker_button_new):
4865 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4867 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4868 HildonButton look like PickerButton)
4870 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4873 column while building the default string.
4875 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4877 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4878 scroll indicator by default.
4880 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4882 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-main.c: Fix the documentation for hildon_init()
4886 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4888 * doc/hildon-docs.sgml
4892 * src/hildon-window-stack-private.h
4893 * src/hildon-window-stack.h
4894 * src/hildon-window-stack.c:
4895 New HildonWindowStack object, that adds support for multiple
4896 stacks of windows per process.
4898 * src/hildon-stackable-window-private.h
4899 * src/hildon-stackable-window.h
4900 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4901 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4902 (hildon_stackable_window_show, hildon_stackable_window_hide)
4903 (hildon_stackable_window_class_init)
4904 (hildon_stackable_window_init):
4905 Use HildonWindowStack for stack management.
4907 * src/hildon-program.c (hildon_program_pop_window_stack)
4908 (hildon_program_peek_window_stack)
4909 (hildon_program_go_to_root_window):
4910 Add a fallback implementation to the deprecated functions using
4913 * examples/hildon-stackable-window-example.c:
4914 Use the new HildonWindowStack API.
4916 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4918 * src/hildon-stackable-window-private.h
4919 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4920 (hildon_stackable_window_hide, hildon_stackable_window_init):
4921 Remove all window stack management.
4923 * src/hildon-program-private.h
4924 * src/hildon-program.h
4925 * src/hildon-program.c (hildon_program_init)
4926 (hildon_program_pop_window_stack)
4927 (hildon_program_peek_window_stack)
4928 (hildon_program_go_to_root_window):
4929 Remove all window stack management and mark functions as
4932 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4934 * src/hildon-app-menu.c (hildon_app_menu_realize):
4935 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4937 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4939 * configure.ac: post release version bump
4940 * debian/changelog: version bump
4942 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4947 * configure.ac: bump version
4948 * debian/changelog: updates
4950 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4952 Based on initial code by Christian Dywan (christian@imendio.com)
4954 * doc/hildon-docs.sgml: Add section for hildon-main.
4955 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4956 * src/Makefile.am: Add new hildon-main.[ch]
4957 * src/hildon-defines.h: Update the icon sizes.
4958 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4959 new library initialization files and register icon sizes.
4960 * src/hildon-main.h: New declarations.
4961 * src/hildon.h: Include hildon-main.h
4963 Add new initialization functions to the library. These methods
4964 will register the hildon specific icon sizes and can be used in the
4965 future for other hildon specific bits.
4967 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4969 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4971 * src/hildon-window.c: (hildon_window_realize),
4972 (hildon_window_notify), (-hildon_window_update_title): Do not set
4973 the application name in the window title.
4975 Fixes: NB#89754 (Applications shouldn't display their names in the
4978 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4980 * src/hildon-note-private.h:
4981 * src/hildon-note.c: (hildon_note_set_property),
4982 (hildon_note_get_property), (hildon_note_class_init),
4983 (hildon_note_init), (hildon_note_finalize),
4984 (hildon_note_new_confirmation_with_icon_name),
4985 (hildon_note_new_information_with_icon_name):
4987 No need to mark as deprecated the actual code. Revert
4988 to avoid missing symbols in widgets using deprecated API.
4990 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4992 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4994 * src/hildon-volumebar.h
4995 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4996 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4998 * src/hildon-helper.h
4999 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5000 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5002 * examples/Makefile.am:
5003 Deprecate hildon-insensitive-example
5005 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5007 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5009 * examples/hildon-pannable-area-buttons-scroll-example.c:
5010 Make all buttons finger height
5012 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5016 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5017 update the day model only if it is really required, and to avoid the
5018 full-reconstruction aproach. Now it only add or remove the required days.
5020 The purpose of this is avoid superfluous HildonTouchSelector::changed
5023 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5024 with strange parameters)
5026 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5028 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5030 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5031 the WINDOW_TYPE property.
5033 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5035 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5038 Fix dependency to allow parallel compilation with make -jX
5040 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5042 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5043 color frame and some minor tweaks to make it more consistent with
5046 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5047 highlighted but not visible)
5049 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5051 * examples/Makefile.am: Fixed typo in the Makefile.am.
5053 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5055 Reviewed the use of MAEMO_GTK define, now we add the define in the
5056 compilation line, and we also add it to the pc file.
5058 * configure.ac: Added MAEMO_GTK define to the compilation command
5059 and removed it from the config.h.
5061 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5062 do not have to take care about this define if the library was
5066 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5068 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5070 * examples/Makefile.am,
5071 * examples/hildon-pannable-area-buttons-scroll-example.c,
5072 * examples/hildon-pannable-area-gesture-signals-example.c,
5073 * examples/hildon-pannable-area-scroll-jump-example.c,
5074 * examples/hildon-pannable-area-tree-view-example.c:
5075 Renamed the pannable area examples, now they have more meaningful
5078 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5080 * src/hildon-touch-selector.c:
5081 (hildon_touch_selector_set_column_selection_mode): Used of
5082 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5083 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5084 to avoid re-seting the same selection mode.
5086 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5087 breaks HildonPickerDialog)
5089 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5091 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5092 conditional in the Makefile.am
5094 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5097 Remove unused methods.
5099 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-button.c (hildon_button_init):
5102 Make button images center-aligned by default
5104 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5107 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5108 activated, we have to think about how to deal with both defines
5109 MAEMO_GTK and MAEMO_CHANGES.
5111 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5113 * examples/hildon-app-menu-example.c (create_menu): Make all
5114 buttons finger size.
5116 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5118 Fixed the compilation without maemo gtk adding ifdefs with
5119 MAEMO_GTK define to the code, we have to check this version more
5122 * examples/Makefile.am: Added control to avoid some examples that
5123 just make sense with maemo gtk.
5126 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5127 hildon modes with the define.
5129 * examples/hildon-edit-toolbar-example.c,
5130 (create_icon_view): Create the icon view without hildon-gtk
5131 helpers if we are not using maemo gtk.
5133 * src/hildon-touch-selector.c,
5134 (_create_new_column): Create the treeview without hildon-gtk
5135 helpers if we are not using maemo gtk.
5137 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5139 * src/hildon-pnnable-area.c,
5140 (hildon_pannable_area_dispose),
5141 (hildon_pannable_area_button_press_cb),
5142 (hildon_pannable_area_child_mapped),
5143 (hildon_pannable_area_add),
5144 (hildon_pannable_area_remove): Added code to control the position
5145 of the event_window when adding and removing children from the
5146 pannable. We have to raise the event window when the child is
5149 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5150 selection mode using custom widget inside pannable)
5152 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5154 * configure.ac: post release version bump
5155 * debian/changelog: version bump
5157 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5162 * configure.ac: bump version
5163 * debian/changelog: updates
5165 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5167 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5168 search mode, in order to avoid lose the focus on the treeview when
5169 a hw key (like enter) is pressed.
5171 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5172 in HildonDateSelector dialog)
5174 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5176 * debian/rules: Added --enable-maintainer-mode
5177 * Makefile.am: Added ACLOCAL_AMFLAGS
5179 This allows to properly regenerate the Makefiles if you modify the
5180 configure.ac or any Makefile.am.
5182 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5184 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5185 properties, not needed at all.
5187 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5189 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5191 * src/hildon-note.c: (hildon_note_set_property),
5192 (hildon_note_get_property), (hildon_note_class_init),
5193 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5194 (hildon_note_new_confirmation_add_buttons): Remove icons.
5195 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5196 (hildon_note_new_information_with_icon_name): Deprecate.
5197 (hildon_note_new_confirmation): Act directly, without calling
5198 the deprecated constructor.
5199 (hildon_note_new_information): Act directly, without calling
5200 the deprecated constructor.
5201 * src/hildon-note.h: Mark deprecate methods as such.
5202 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5203 not run tests on the deprecated methods if built with deprecation
5206 Fixes: NB#91688 (Never show icons in information notes/confirmation
5209 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5211 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5212 (hildon_app_menu_key_press): Remove leftover usage of the
5213 private structure in HildonAppMenu struct.
5214 * src/hildon-app-menu.h: Remove leftover private structure
5215 from the HildonAppMenu struct.
5217 Fixes a crasher when using the HildonAppMenu.
5219 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5221 * src/hildon-picker-dialog.c: Use appropriate logical id
5222 for the default "Done" text.
5224 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5226 * configure.ac: post release version bump
5227 * debian/changelog: version bump
5229 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5231 Modified the way to scroll to the current selection just when the touch
5232 selector is shown on the screen, avoiding a g_idle. Added too a property
5233 to configure this behaviour. See hildon_pannable_area_jump_to_child
5234 documentation for more information.
5236 * src/hildon-touch-selector.c
5237 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5238 Added 'initial-scroll' property
5239 (hildon_touch_selector_set_property): Added
5240 (hildon_touch_selector_map): Removed as not required anymore
5241 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5242 only a concrete column, instead of iterate along all the columns
5244 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5249 * configure.ac: bump version
5250 * debian/changelog: updates
5252 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5254 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5255 compilation time warnings.
5257 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5259 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5260 the default value for HildonPannableArea::mov-mode to
5261 HILDON_PANNABLE_AREA_MODE_VERT.
5263 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5265 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5267 Reverting following commit:
5269 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-app-menu-private.h
5272 * src/hildon-app-menu.[ch]
5273 * src/hildon-button.[ch]
5274 * src/hildon-check-button.[ch]
5275 * src/hildon-entry.[ch]
5276 * src/hildon-pannable-area.[ch]
5277 * src/hildon-text-view.[ch]:
5278 Added private field to the object's structure.
5280 because it causes an ABI breakage. We will need to introduce these
5281 changes later at some point. See NB#91636 for an extensive
5282 explanation and status.
5284 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5286 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5288 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5289 remove special cases that are no longer necessary.
5291 Fixes: NB#91016 (Change toolbar sizes, simplification)
5293 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5295 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5296 is shown in the cancel note.
5298 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5301 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5302 (hildon_seekbar_init): Remove steppers, remove expose event.
5303 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5305 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5307 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5309 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5310 label font to "SmallSystemFont" for vertically arranged buttons.
5312 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5315 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5317 * src/hildon-check-button.c
5318 (hildon_check_button_set_active, hildon_check_button_clicked):
5319 Don't access private parts directly, use getters instead.
5321 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-check-button.c (hildon_check_button_new):
5324 Align the contents of the check button to the left.
5326 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5328 * src/hildon-pannable-area.c,
5329 (hildon_pannable_area_scroll_to),
5330 (hildon_pannable_area_jump_to),
5331 (hildon_pannable_area_scroll_to_child),
5332 (hildon_pannable_area_jump_to_child): Replace the mapped
5333 precondition of these functions with the realized, it is the
5334 correct state of the widget in this case. Changed the
5335 documentation according to this modification.
5337 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5339 Added a new EXTRA_CFLAGS option to add the deprecated define to
5340 the compilation command. This way we can avoid using the define in
5341 the documentation compilation.
5343 * configure.ac: Defined EXTRA_CFLAGS.
5345 * examples/Makefile.am:
5347 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5349 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5351 * src/hildon-picker-dialog.c:
5352 Defined a utility macro with the desired touch selector height
5353 Removed currently unused separator, and title_label variables from
5355 (hildon_picker_dialog_init): Removed code related to the creation
5356 of unused private variables title_label and separator.
5357 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5358 to ensure correct visualization of the touch selector inside the dialog.
5359 * src/hildon-touch-selector.c
5360 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5361 ensure a concrete height of the widget.
5363 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5366 * tests/Makefile.am:
5368 Remove spurious whitespaces.
5370 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5372 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5373 compilation warning after the cancel button removal.
5375 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5377 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5379 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5380 Makefile.am, that way we can choose not to compile some examples
5381 and tests of the deprecated widgets.
5383 * examples/Makefile.am: Divided the sources in deprecated and
5386 * src/Makefile.am: Added undef statement of the deprecated
5387 symbol to the enums file generation process.
5389 * src/hildon-color-chooser-dialog.c
5390 * src/hildon-color-chooser-dialog.h
5391 * src/hildon-color-button.c
5392 * src/hildon-color-button.h
5393 * src/hildon-color-chooser.c
5394 * src/hildon-color-chooser.h
5395 * src/hildon-controlbar.c
5396 * src/hildon-controlbar.h
5397 * src/hildon-date-editor.c
5398 * src/hildon-date-editor.h
5399 * src/hildon-hvolumebar.c
5400 * src/hildon-hvolumebar.h
5401 * src/hildon-private.c
5402 * src/hildon-private.h
5403 * src/hildon-range-editor.c
5404 * src/hildon-range-editor.h
5405 * src/hildon-seekbar.c
5406 * src/hildon-seekbar.h
5407 * src/hildon-time-editor.c
5408 * src/hildon-time-editor.h
5409 * src/hildon-time-picker.c
5410 * src/hildon-time-picker.h
5411 * src/hildon-volumebar.c
5412 * src/hildon-volumebar.h
5413 * src/hildon-vvolumebar.c
5414 * src/hildon-vvolumebar.h
5415 * src/hildon-bread-crumb-trail.h
5416 * src/hildon-bread-crumb-trail.c
5417 * src/hildon-calendar-popup.c
5418 * src/hildon-calendar-popup.h
5419 * src/hildon-weekday-picker.c:
5420 * src/hildon-weekday-picker.h:
5421 * src/hildon-bread-crumb-widget.c:
5422 * src/hildon-bread-crumb-widget.h:
5423 * src/hildon-bread-crumb.c:
5424 * src/hildon-bread-crumb.h:
5425 * src/hildon-calendar.c:
5426 * src/hildon-calendar.h:
5427 * src/hildon-caption.c:
5428 * src/hildon-code-dialog.c:
5429 * src/hildon-code-dialog.h:
5430 * src/hildon-font-selection-dialog.c:
5431 * src/hildon-font-selection-dialog.h:
5432 * src/hildon-get-password-dialog.c:
5433 * src/hildon-get-password-dialog.h:
5434 * src/hildon-login-dialog.c:
5435 * src/hildon-login-dialog.h:
5436 * src/hildon-number-editor.c:
5437 * src/hildon-number-editor.h:
5438 * src/hildon-set-password-dialog.c:
5439 * src/hildon-set-password-dialog.h:
5440 * src/hildon-sort-dialog.c:
5441 * src/hildon-sort-dialog.h: This is the list of deprecated
5444 * src/hildon-touch-selector.c:
5445 * src/hildon-window.c: Added undef statement to avoid compilation
5448 * tests/Makefile.am: Divided the sources in deprecated and
5451 * tests/check_test.c,
5452 (configure_tests): Marked the deprecated code that was adding
5453 suites with deprecated tests.
5455 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5457 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5459 * src/hildon-touch-selector.c: (_default_print_func): Do not
5460 duplicate a string returned by gtk_tree_model_get(), it is already
5463 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5466 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5468 * src/hildon-pannable-area.c
5469 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5470 method, it had problems when adding a widget with viewport the
5471 second time. Now checks if it already has a viewport and uses it.
5473 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5476 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5478 * src/hildon-pannable-area.c,
5479 (hildon_pannable_area_scroll_to),
5480 (hildon_pannable_area_jump_to),
5481 (hildon_pannable_area_scroll_to_child),
5482 (hildon_pannable_area_jump_to_child): Added a precondition to the
5483 scroll and jump to functions: the widget must be mapped before we
5484 can safely call these functions. We have also added documentation
5485 to the functions to explain how to use them in this situation.
5488 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5490 Reviewed the threading handling of the pannable widget, we have
5491 used the gdk_threads_add_timeout function instead of the usual
5492 glib handlers. This avoids some problems with the threads.
5494 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5495 (hildon_pannable_area_initial_effect),
5496 (hildon_pannable_area_scroll_indicator_fade),
5497 (hildon_pannable_area_button_press_cb),
5498 (hildon_pannable_area_timeout),
5499 (hildon_pannable_area_motion_notify_cb),
5500 (hildon_pannable_area_button_release_cb),
5501 (hildon_pannable_area_scroll_cb),
5502 (hildon_pannable_area_scroll_to): Removed the
5503 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5504 gdk_threads_add_timeout.
5506 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5508 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5513 * configure.ac: bump version
5514 * debian/changelog: updates
5516 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5518 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5519 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5520 * src/hildon-color-chooser-dialog.c:
5521 (hildon_color_chooser_dialog_init):
5522 * src/hildon-font-selection-dialog.c:
5523 (hildon_font_selection_dialog_init):
5524 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5526 Remove all cancel/close-like dialogs, as these are not going to be
5529 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5531 * src/hildon-note.c: (hildon_note_rebuild),
5532 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5535 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5537 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5539 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5540 sure all buttons are shown, even the Cancel/Close-like ones.
5542 Fixes: NB#90861 (Custom Confirmation dialogs should be
5543 protected from cancel button removal)
5545 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5547 * debian/control: Change libhildon1-examples dependency from libhildon1
5549 * debian/libhildon1-examples.install
5551 * Makefile.am: Modified the final install directory for the examples on
5552 package libhildon1-examples
5553 * Makefile.static: Update clean target in order to remove all the binary
5556 Changes suggested by Claudio after review new libhildon1-examples package
5558 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5561 * src/hildon-touch-selector.c: Ditto.
5563 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5565 * debian/control: Added new package libhildon1-examples, in order to pack
5566 the current hildon examples as documentation
5567 * debian/rules: Not to compress .c files, modify some includes on the
5568 examples (as normally are compiled locally, but when installed it will
5569 require to include the installed libhildon1 library), and rename
5571 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5572 install all the example files on the new example package
5573 * examples/Makefile.static: Added static makefile that can be used to
5574 compile the examples, once installed the new example package
5575 * examples: Most of the examples were modified in order to grant that
5576 all use only '#include "hildon.h"', in order to be easy to prepare
5577 it on the example package
5579 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5582 * debian/libhildon1-dev.install
5583 * debian/libhildon1-doc.install:
5584 Move all gtk-doc files to a separate libhildon1-doc package.
5586 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5588 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5590 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5592 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5594 * debian/rules: Fixed a error in order to avoid unnecessary calls
5595 to autogen.sh on package building
5597 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5599 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5601 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5606 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5608 * src/hildon-picker-button.c
5609 (hildon_picker_button_finalize):
5610 Free priv->done_button_text
5612 * src/hildon-time-button.c
5613 (hildon_time_button_set_time)
5614 * src/hildon-picker-button.c
5615 (hildon_picker_button_clicked)
5616 (hildon_picker_button_selector_selection_changed)
5617 (hildon_picker_button_set_selector)
5618 * src/hildon-date-button.c
5619 (hildon_date_button_set_date):
5620 Free strings returned by hildon_touch_selector_get_current_text()
5622 * src/hildon-button.c (hildon_button_construct_child):
5623 Fix leaks in priv->image and priv->label_box
5625 Fixes: NB#90535 (Memory leak in picker button)
5627 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5629 * src/hildon-button.c: (hildon_button_get_property): Do not access
5630 private elements directly, use getters instead.
5632 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5634 * src/hildon-app-menu-private.h
5635 * src/hildon-app-menu.c
5636 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5637 Store the menu's parent window.
5639 * src/hildon-stackable-window.c
5640 (hildon_stackable_window_toggle_menu)
5641 (hildon_stackable_window_finalize):
5642 Set the menu's parent window when the menu is shown, unset it when
5645 * src/hildon-app-menu.c
5646 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5647 (hildon_app_menu_class_init):
5648 Send unhandled keyboard accelerators to the parent window.
5650 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5652 * src/hildon-stackable-window.c
5653 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5655 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5657 * configure.ac: post release version bump
5659 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5662 * configure.ac: Bump version
5663 * debian/changelog: Updates
5664 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5667 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5669 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5672 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5673 GtkMenu with Hildon style.
5675 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5677 * src/hildon-picker-button.c:
5678 (hildon_picker_button_set_done_button_text): Set the dialog's
5679 done button text here as well.
5681 Fixes: NB#90232 (Picker button does not set the label on done button
5682 for the second time)
5684 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5686 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5689 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5691 * src/hildon-app-menu.c (hildon_app_menu_insert)
5692 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5693 the HildonAppMenu to be activatable using keyboard accelerators
5694 when the menu is not being shown.
5696 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5698 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-stackable-window.c
5701 (hildon_stackable_window_show):
5702 Don't hide old windows automatically when new windows are shown:
5703 this is now a task for the window manager.
5704 (hildon_stackable_window_class_init)
5705 (hildon_stackable_window_hide):
5706 Remove windows from the stack everytime they're hidden.
5707 (hildon_stackable_window_realize):
5708 Don't change the _NET_WM_WINDOW_TYPE property. Use
5709 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5710 it as a stackable window.
5712 * src/hildon-program.c
5713 (hildon_program_pop_window_stack):
5714 Just hide the window to remove it from the stack.
5715 (hildon_program_go_to_root_window):
5716 Don't call gtk_widget_show(), this is now a task for the window
5719 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5721 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5723 * src/hildon-button.c
5724 (hildon_button_construct_child):
5725 Don't pack anything in the button until text or image are
5726 set. This allows adding a custom child after creating the button
5727 with hildon_button_new().
5728 (hildon_button_finalize, hildon_button_class_init)
5729 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5730 alignment and the label box even when they're not packed in the
5733 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5735 * src/hildon-touch-selector.h:
5736 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5737 currently the type definition was using GTK_TYPE_VBOX
5738 * src/hildon-touch-selector.c:
5739 Added some implementation notes in order to clarify that any other widget
5740 added without the column related API will not be included on the
5741 selection logic, and how the widget is freed, as some people ask about
5743 (hildon_touch_selector_remove): Reimplemented in order to free properly
5744 the column related data when you remove the private hbox.
5745 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5746 to get a proper HildonTouchSelectorColumn documentation
5748 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5750 * src/hildon-touch-selector-entry.c:
5751 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5752 text in the GtkEntry and there is no item selected. Fixes a
5755 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-app-menu-private.h
5758 * src/hildon-app-menu.[ch]
5759 * src/hildon-button.[ch]
5760 * src/hildon-check-button.[ch]
5761 * src/hildon-entry.[ch]
5762 * src/hildon-pannable-area.[ch]
5763 * src/hildon-text-view.[ch]:
5764 Added private field to the object's structure.
5766 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5768 * configure.ac: post-release version bump
5770 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5774 * configure.ac: pre-release version bump
5776 * debian/changelog: updates.
5778 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5780 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5781 Disconnect the handler for HildonTouchSelector::changed.
5783 (hildon_picker_button_selector_selection_changed): Update the button
5784 value if the selection change was not triggered by the
5787 (hildon_picker_button_set_selector): connect to
5788 HildonTouchSelector::changed.
5790 Fixes: NB#89650 (Picker button is not updated, when selection in
5791 selector has changed)
5793 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5795 * src/hildon-picker-dialog.c
5796 (hildon_picker_dialog_realize): Removed as not required
5797 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5798 * src/hildon-picker-button.c
5799 (_current_selector_empty): New function, checks if the selector is empty
5800 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5801 if the current selector is empty, in order to avoid to show the dialog
5802 close the dialog in this case (and shows a g_warning).
5804 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5806 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5808 * src/hildon-pannable-area.c,
5809 (hildon_pannable_area_scroll): Added clause to stop movement when
5810 the child of pannable is smaller than one page.
5811 (hildon_pannable_area_scroll_to): Added conditions to avoid
5812 starting the scrolling movement if the child is smaller than one
5813 page, the complete child is in the screen, we do not have to move.
5815 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5817 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5820 this is managed automatically by the widget when the size of the
5823 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5825 * src/hildon-picker-button.c
5826 (hildon_picker_button_set_done_button_text): Make a copy of the
5827 text, and free the previous value.
5829 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5831 * src/hildon-touch-selector-entry.c:
5832 (hildon_touch_selector_entry_print_func): Return the selected row's
5833 text if the entry is empty.
5835 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5838 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5842 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5845 * src/hildon-check-button.h
5846 * src/hildon-check-button.c
5847 * examples/hildon-check-button-example.c:
5848 HildonCheckButton is now a new widget. 'toggled' signal added.
5850 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5852 * src/hildon-program-private.h
5853 * src/hildon-program.c (hildon_program_init)
5854 (hildon_program_finalize): Removed unused variables group_leader
5855 and name from HildonProgramPrivate.
5857 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5859 * src/hildon-check-button.c (hildon_check_button_set_active)
5860 (hildon_check_button_get_active, hildon_check_button_new): Use
5861 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5863 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5865 * src/hildon-touch-selector.h
5866 (hildon_touch_selector_set_column_attributes): added deprecation
5867 guard HILDON_DISABLE_DEPRECATED
5868 * src/hildon-time-selector.c
5869 (hildon_time_selector_set_time)
5870 (hildon_time_selector_get_time): Fixed a typo on documentation
5871 * src/hildon-touch-selector.c: update HildonTouchSelector and
5872 HildonTouchSelectorColumn documentation
5873 * src/hildon-touch-selector-entry.c: update "text-column" property
5875 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5876 to be added to the general documentation.
5878 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5880 * examples/hildon-pannable-area-example-4.c,
5882 * examples/hildon-pannable-area-example.c,
5883 (main): Modified the code in order to use the container add, with
5884 viewport treeviews could have problems if they are really big.
5886 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5888 * src/hildon-weekday-picker.c,
5889 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5890 the agreement regarding deprecation in the library.
5892 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5894 * examples/hildon-picker-button-multicolumn-example.c:
5895 (main): Use custom "done" button text.
5897 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5898 (hildon_picker_button_set_property),
5899 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5900 (hildon_picker_button_init),
5901 (+hildon_picker_button_get_done_button_text),
5902 (+hildon_picker_button_set_done_button_text): New methods to customize
5903 the "done" button label in the launched HildonPickerDialog. Also,
5906 * src/hildon-picker-button.h: add the public API.
5908 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5910 * src/hildon-date-selector.h:
5911 * src/hildon-picker-dialog.h:
5912 * src/hildon-time-selector.h:
5913 * src/hildon-touch-selector-column.h:
5914 * src/hildon-touch-selector.h:
5916 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5917 declarations. Fixes gtk-doc warnings.
5919 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5921 * src/hildon-picker-dialog.h
5922 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5923 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5925 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5926 long text is set as label for done button)
5928 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5930 * src/hildon-dialog.c (hildon_dialog_add_button):
5931 Set fixed width to all buttons in the HildonDialog.
5933 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5935 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5937 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5938 Set widget name using class name plus "-finger" or "-thumb".
5940 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5942 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5943 'clicked' when the state of the button is manually changed.
5945 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5947 * src/hildon-app-menu.c (hildon_app_menu_realize)
5948 (hildon_app_menu_unrealize, hildon_app_menu_init)
5949 (hildon_app_menu_class_init, item_visibility_changed):
5950 Change the menu layout when the size of the screen changes.
5951 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5952 Show warning only when changing the number of colums using the
5955 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5957 * debian/compat: Set to 5
5958 * debian/control: Update dependencies.
5959 * debian/libhildon1-dbg.install: Remove.
5960 * debian/libhildon1-dev.install: Update according to cdbs paths.
5961 * debian/libhildon1.install: Update according to cdbs paths.
5962 * debian/rules: Switch to cdbs.
5964 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5966 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5967 'item' variable renamed to 'filter'
5969 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5971 * src/hildon-app-menu.c (hildon_app_menu_insert)
5972 (hildon_app_menu_add_filter, remove_item_from_list)
5973 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5974 Don't leak hidden items when the menu is destroyed.
5976 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5978 * src/hildon-app-menu.c (hildon_app_menu_insert)
5979 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5980 (hildon_app_menu_set_columns, item_visibility_changed)
5981 (filter_visibility_changed, hildon_app_menu_repack_filters)
5982 (hildon_app_menu_repack_items):
5983 Repack items and filters separately.
5985 Don't repack all items, change only the ones that are needed to
5988 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5990 * src/Makefile.am: added hildon-touch-selector-column.h
5992 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5994 * src/hildon-touch-selector.c: added the property "text-column" to the
5995 class HildonTouchSelectorColumn, and related get/set functions
5996 (_default_printf_func): updated to use "text-column" property
5997 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5998 "text-column" in his documentation, as this is now included on
5999 HildonTouchSelectorColumn. The get/set_property can still be used,
6000 working as a wrapper to the concrete column "text-column" property
6001 (_text_column_modified): callback added in order to handle the signal
6002 "notify::text-column" of the concrete HildonTouchSelectorColumn
6003 (hildon_touch_selector_entry_get_text_column)
6004 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6005 modified in order to use the HildonTouchSelectorColumn "text-column"
6007 * src/hildon-time-selector.c:
6008 * src/hildon-date-selector.c:
6009 * examples/hildon-touch-selector-example.c
6010 * examples/hildon-touch-selector-multi-cells-example.c
6011 * examples/hildon-picker-button-multicolumn-example.c
6012 Set the right value to "text-column" property on the creation of a new
6013 column using hildon_touch_selector_append_column()
6015 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6017 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-app-menu.c
6020 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6021 updating the layout of the menu, don't create all widgets again,
6022 just repack the items in their new places.
6024 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6026 * src/hildon-time-selector.c
6027 (hildon_time_selector_get_time)
6028 (hildon_time_selector_set_time)
6029 Added documentation of these public methods
6031 * src/hildon-date-button.h
6032 * src/hildon-touch-selector-column.h
6033 * src/hildon-time-button.h
6034 * src/hildon-picker-dialog.h
6035 * src/hildon-time-selector.h
6036 * src/hildon-picker-button.h
6037 * src/hildon-touch-selector.h
6038 * src/hildon-time-picker.h
6039 * src/hildon-date-selector.h
6040 * src/hildon-touch-selector-entry.h
6041 Modified in order to use hildon-widgets code style
6043 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6045 Added deprecated support to the compilation process using
6046 HILDON_DISABLE_DEPRECATED
6048 * configure.ac: Added the --disable-deprecated to the configure
6051 * src/hildon-weekday-picker.c:
6052 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6053 to use the deprecated support. We will update the other deprecated
6054 widgets status in a new patch.
6056 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6058 * configure.ac: Fixed typo with fatal warnings support, the
6059 variable name was not correct
6061 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-app-menu.c
6064 * src/hildon-program.c: Update documentation.
6066 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6068 * configure.ac: Post-release version bump.
6070 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6075 * configure.ac: Pre-release version bump.
6076 * debian/changelog: Updates.
6078 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6080 * NEWS: Update news for previous releases.
6082 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6084 * examples/hildon-touch-selector-multi-cells-example.c:
6085 (create_selector): Update the example to use
6086 hildon_touch_selector_append_column() with a NULL renderer and set
6087 the renderers later.
6088 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6089 passed a NULL renderer. This is documented behavior now.
6091 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6092 This must be used if the developer wants full control on the layout of
6093 the renderers to be added to the column.
6095 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6097 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6099 * src/hildon-touch-selector.c: Documentation fixes.
6101 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6103 * src/hildon-wizard-dialog-private.h: Remove image and box.
6104 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6105 (hildon_wizard_dialog_set_property), (response): Completely remove
6106 image/icon support, and the containers required for the layout.
6108 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6110 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-app-menu.c: Updated documentation.
6114 * src/hildon-stackable-window.c
6115 (hildon_stackable_window_set_main_menu): Unref the old menu after
6116 ref'ing the new one.
6118 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6120 * src/hildon-stackable-window.c
6121 (hildon_stackable_window_set_main_menu): Unref the previous menu
6122 instead of destroying it.
6124 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6125 floating reference and set has_user_ref_count to FALSE to make
6126 HildonAppMenu act like a normal ref-counted widget and not a
6129 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6132 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6134 * src/hildon-touch-selector-column.h: new file
6135 * src/hildon-touch-selector.h
6136 * src/hildon-touch-selector.c
6137 Implemented GtkCellLayout interface, in order to allow to configure
6138 the cell layout on each individual selector column
6139 (hildon_touch_selector_set_column_attributes): marked as deprecated
6140 * examples/hildon-touch-selector-multi-cells-example.c
6141 Example of how to use the GtkCellLayout interface on the selector
6143 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6145 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6147 * src/hildon-app-menu.h
6148 * src/hildon-app-menu.c
6149 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6150 (hildon_app_menu_append, hildon_app_menu_prepend):
6151 New methods to prepend, insert and move items in the menu.
6153 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6155 * src/hildon-wizard-dialog.c:
6157 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6159 (create_title): Update logical IDs and related code.
6160 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6162 * src/hildon-wizard-dialog.h: Note that
6163 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6164 point, as it is not used anymore.
6166 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6168 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6170 * src/hildon-note.c:
6171 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6172 shown. Do not display an icon in confirmation notes nor information
6174 (hildon_note_set_button_text): Update logical ID for cancel button.
6176 Fixes: NB#88850 (Update HildonNote button strings + signals)
6178 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-stackable-window.c
6181 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6183 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6185 * src/hildon-app-menu-private.h
6186 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6187 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6188 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6189 temporary property 'columns' to change the number of columns.
6191 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6193 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6195 * examples/hildon-note-example.c: (on_information_clicked),
6196 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6197 debugging information.
6198 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6200 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6201 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6202 in order to close: this will be handled by the WM from now on.
6204 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6206 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6208 * src/hildon-app-menu-private.h
6209 * src/hildon-app-menu.c
6210 (hildon_app_menu_append, hildon_app_menu_add_filter)
6211 (button_visibility_changed, hildon_app_menu_apply_style)
6212 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6213 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6214 layout everytime a button (item or filter) is shown or hidden.
6216 * src/hildon-stackable-window.c
6217 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6220 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6222 * src/hildon-touch-selector.c:
6223 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6224 that the treeview inside the touch selector is in fremantle hildon mode
6225 * examples/hildon-date-button-example.c
6226 * examples/hildon-picker-button-multicolumn-example.c
6227 * examples/hildon-touch-selector-entry-example.c
6228 * examples/hildon-touch-selector-example.c
6229 * examples/hildon-time-button-example.c
6230 * examples/hildon-picker-button-example.c:
6231 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6233 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6235 * examples/hildon-text-view-example.c: (main): Remove the
6236 gtkrc bits, now handled by the theme.
6238 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6243 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6245 * po/Makefile.am: Install properly the mo files.
6246 * po/en_GB.po: Update translation, to ease testing purposes.
6248 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6250 * examples/hildon-picker-button-example.c: (main): Select an item
6251 in the selector before setting it to the button.
6253 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6255 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6256 Update button's value if the selector has an item active.
6258 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6259 'value' with the selector)
6261 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6263 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6264 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6265 (hildon_picker_button_class_init): Plug the finalize method.
6266 (hildon_picker_button_set_selector): If there's a previously set
6267 selector, unref'it before setting a new one.
6269 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6270 HildonTouchSelector)
6272 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6274 * src/hildon-touch-selector-entry.c:
6275 (hildon_touch_selector_entry_changed): Check if there is no text
6276 selected before setting the entry text.
6279 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6281 * src/hildon-touch-selector.h
6282 * src/hildon-touch-selector.c
6283 (hildon_touch_selector_get_active)
6284 (hildon_touch_selector_set_active): New methods to set/get the
6285 index of the selected item.
6287 * src/hildon-picker-button.h
6288 * src/hildon-picker-button.c
6289 (hildon_picker_button_get_active)
6290 (hildon_picker_button_set_active): New methods to set/get the
6291 index of the selected item.
6293 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6295 * configure.ac: post-release version bump.
6297 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6301 * configure.ac: Pre-release version bump.
6302 * debian/changelog: Updates.
6303 * debian/control: Add myself as maintainer and depend on l10n
6306 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-window.c
6309 (hildon_window_set_main_menu)
6310 * src/hildon-stackable-window.c
6311 (hildon_stackable_window_set_main_menu):
6312 Updated documentation.
6314 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6317 Don't free selector->priv manually.
6320 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6323 (hildon_gtk_window_set_progress_indicator):
6324 * src/hildon-gtk.h: Added the new API
6325 hildon_gtk_window_set_progress_indicator, it changes the state of
6326 the window progress hint.
6328 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6330 * src/hildon-button.c
6331 * src/hildon-stackable-window.c: Minor documentation updates.
6333 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6335 * src/hildon-stackable-window.c: Updated documentation.
6337 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6339 * src/hildon-defines.h: Update margins definitions
6340 to the Fremantle sizes.
6343 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6345 * src/hildon-touch-selector.c,
6346 (_hildon_touch_selector_set_model): Cleaning the code after
6347 review, removed g_print and #if 0 from the code.
6349 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6351 * src/hildon-edit-toolbar.c: Update documentation.
6353 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6355 * src/hildon-check-button.h
6356 * src/hildon-check-button.c
6357 (hildon_check_button_set_label, hildon_check_button_get_label)
6358 * examples/hildon-check-button-example.c
6359 (button_clicked_cb):
6360 Removed deprecated methods.
6362 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6364 * src/hildon-text-view.c:
6365 Add sample code to the documentation.
6367 * src/hildon-entry.h
6368 * src/hildon-text-view.h:
6369 Minor cosmetic changes.
6371 * src/hildon-entry.c:
6372 Add sample code to the documentation.
6373 (hildon_entry_init, hildon_entry_refresh_contents):
6374 Don't allow NULL values in the placeholder.
6376 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6378 * doc/hildon-docs.sgml
6380 * examples/Makefile.am
6381 * examples/hildon-text-view-example.c
6383 * src/hildon-text-view.c
6384 * src/hildon-text-view.h
6386 New HildonTextView widget, with example.
6388 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6390 * po/POTFILES.in: Add missing files with translatable strings.
6391 Partially fixes NB#88287.
6393 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6395 * examples/hildon-pannable-area-example-2.c: (main): No need to
6396 set the cellrenderer height inside hildon touch lists, the theme does
6399 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6401 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6402 they are integrated in the theme.
6404 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6406 * examples/hildon-entry-example.c: Update the example adding
6407 widgets to modify the text and the placeholder of the HildonEntry.
6409 * src/hildon-entry.c: Show the placeholder everytime the widget
6410 is empty and loses the focus.
6412 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6414 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6416 * src/hildon-pannable-area.c,
6417 (hildon_pannable_area_size_request): Fixed bug in height
6418 requisition, avoid increasing size and add border twice.
6420 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6422 * configure.ac: postrelease version bump.
6424 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6428 * configure.ac: Prerelease version bump.
6429 * debian/changelog: update.
6430 * debian/rules: make -dbg package contain useful debugging symbols.
6432 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6434 * src/hildon-dialog.h
6435 * src/hildon-dialog.c
6436 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6437 New methods to add buttons with finger size.
6438 (hildon_dialog_new_with_buttons):
6439 Create buttons with finger size.
6441 * examples/hildon-dialog-example.c (main): Use HildonDialog
6442 methods to add buttons.
6444 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6446 * src/hildon-entry.c: Updated HildonButton documentation.
6448 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6450 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6451 button value label with (FALSE, FALSE) to prevent NB#88126 from
6454 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6456 * examples/hildon-pannable-area-example.c,
6457 (main): Removed examples panning a vbox inside a pannable
6458 area. Check bug NB#87965
6460 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6462 Patch contributed by Kris Rietveld (kris@imendio.com)
6464 * src/hildon-pannable-area.c,
6465 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6466 get_size and get_position, this saves an X server roundtrip.
6468 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6470 * doc/hildon-docs.sgml
6472 * examples/Makefile.am
6473 * examples/hildon-entry-example.c
6475 * src/hildon-entry.c
6476 * src/hildon-entry.h
6478 New HildonEntry widget, with example.
6480 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6482 * src/hildon-button.c (hildon_button_construct_child): Pack the
6483 image with expand == fill == FALSE. This is a workaround for a bug
6486 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6488 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6489 labels for the text column, to make it more look more dynamic.
6491 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6493 * src/hildon-time-selector.c
6494 Define gettext auxiliar macro N_
6495 (_create_minutes_model)
6496 (_create_hours_model)
6497 (_create_ampm_model): use of strftime in order to fill the model
6498 * src/hildon-date-selector.c
6499 (hildon_date_selector_finalize):
6500 (_locales_init): remove the logic related to get the name of the months
6501 using nl_langinfo, as it is not required anymore
6503 (_create_year_model)
6504 (_create_month_model)
6505 (_update_day_model): use of strftime in order to fill the model properly
6508 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6510 * src/hildon-button.h
6511 * src/hildon-button.c (hildon_button_get_image): New method to
6514 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6516 * src/hildon-touch-selector.c:
6517 (hildon_touch_selector_remove_column): Remove from the correct parent
6518 and also remove the list element and free it.
6521 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6523 * src/hildon-time-selector.c
6524 (_create_hours_model): change the range on 12h ampm format in order to use
6525 a 12-11 range instead of previous 01-12 range
6526 (hildon_time_selector_set_time): change the way to select the current time
6527 on 12h ampm format, due the change on the range
6528 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6531 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6533 * src/hildon-touch-selector.c
6534 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6535 in order to allow use this function on multiple row selection mode if
6536 the column is different that the first one
6539 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6542 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6544 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6546 * src/hildon-date-selector.h: clean some comments, now on the .c
6547 * src/hildon-date-selector.c
6548 (hildon_date_selector_select_month): first implementation
6549 (hildon_date_selector_select_day): added documentation, reimplemented
6550 using hildon_date_selector_select_current_date to avoid repeat code
6553 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6555 Reviewed interaction logic based on device experiences, refactored
6558 * src/hildon-pannable-area.c,
6559 (hildon_pannable_area_class_init): Updated default vmax speed.
6560 (hildon_pannable_area_calculate_velocity): Added this function, it
6561 avoids duplicate valocity calculation. Adjusted calculation to
6562 avoid problems with zero dist events.
6564 (hildon_pannable_area_motion_notify_cb): Now we use the
6565 calculate_velocity function.
6567 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6569 * src/hildon-date-selector.c
6570 (hildon_date_selector_select_current_date): fix the day range check
6571 as it failed using the last day of the current month
6574 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6576 * src/hildon-touch-selector.c
6577 (hildon_touch_selector_get_num_columns): added a parameter validation
6580 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6582 * examples/Makefile.am
6583 * examples/hildon-edit-toolbar-example.c: Example of the
6584 HildonEditToolbar widget.
6586 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6588 * configure.ac: postrelease version bump.
6590 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6594 * configure.ac: prerelease version bump.
6595 * debian/changelog: update.
6597 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6599 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6600 renderer to display stock icons in the touch list. Also, set the sizes
6601 to the recommended in the style guide.
6603 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6604 * src/hildon-touch-selector.h
6605 (hildon_touch_selector_set_active_iter): renamed, now is
6606 hildon_touch_selector_select_iter
6607 (hildon_touch_selector_get_active_iter): renamed, now is
6608 hildon_touch_selector_get_selected
6609 (hildon_touch_selector_unselect_iter): added
6610 * src/hildon-touch-selector.c
6611 Update after API modification (methods renamed)
6612 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6613 order to avoid problems selecting multiple elements on the column
6614 (hildon_touch_selector_unselect_iter): added the implementation
6615 * src/hildon-time-selector.c
6616 * src/hildon-date-selector.c
6617 * src/hildon-touch-selector-entry.c
6618 Update methods calls after hildon-touch-selector.h API modification (methods
6621 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6623 * src/hildon-stackable-window.c
6624 (hildon_stackable_window_finalize): Call the parent class's finalize.
6626 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6628 * examples/hildon-touch-selector-example.c: (create_selector): Use
6629 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6632 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6634 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6635 set a cell background color, to respect theming.
6637 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6639 * doc/hildon-docs.sgml
6642 * src/hildon-edit-toolbar.c
6643 * src/hildon-edit-toolbar.h
6644 * src/hildon.h: New HildonEditToolbar widget.
6646 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6648 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6651 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6652 * src/hildon-touch-selector.c
6653 (_create_new_column): use g_object_set instead of two g_object_set_property
6655 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6656 * src/hildon-touch-selector.c
6657 (_create_new_column): use of hildon_gtk_tree_view_new to create
6658 the treeview, instead of use directly g_object_new
6659 (_create_new_column): update the property name "vindicator-mode" for the
6660 new one "vscrollbar-policy"
6661 * examples/hildon-date-button-example.c
6662 * examples/hildon-picker-button-multicolumn-example.c
6663 * examples/hildon-touch-selector-entry-example.c
6664 * examples/hildon-touch-selector-example.c
6665 * examples/hildon-time-button-example.c
6666 * examples/hildon-picker-button-example.c
6667 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6668 to all the treeviews inside a pannable area.
6670 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6672 * src/hildon-button.h
6673 * src/hildon-button.c (hildon_button_init)
6674 (hildon_button_set_arrangement, hildon_button_set_alignment)
6675 (hildon_button_set_title_alignment)
6676 (hildon_button_set_value_alignment)
6677 (hildon_button_set_image_alignment)
6678 (hildon_button_construct_child): New methods to set the alignment
6679 of the individual components of the button (title, value,
6680 image). Also, new method to alter the xscale and yscale properties
6681 of the GtkAlignment inside the button, so more complex layouts can
6684 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6686 * src/hildon-button.c (hildon_button_style_set)
6687 (hildon_button_class_init, hildon_button_set_arrangement)
6688 (hildon_button_construct_child): Apply style properties
6689 correctly. Use the 'image-spacing' style property too.
6691 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6693 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6694 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6697 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6699 * src/hildon-pannable-area.c,
6700 (hildon_pannable_area_size_request): Fixed problem with
6701 pannable-area size_request.
6703 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6705 Added management for the grab-focus to a child widget, like a
6706 range, we need to fade out the scrollbar when releasing.
6708 * src/hildon-pannable-area.c,
6709 (hildon_pannable_area_init): Connected the grab-focus signal to
6711 (hildon_pannable_area_grab_notify): Added this function in order
6712 to manage the situation when the grab-focus ends. We have to
6713 fade-out the scrollbar.
6715 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6717 * src/hildon-app-menu.c: Minor documentation update.
6719 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6721 * src/hildon-app-menu.c
6722 * examples/hildon-app-menu-example.c (create_menu): Update
6723 examples and documentation to explain how to connect callbacks.
6725 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6727 * examples/hildon-button-example.c
6728 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6729 hildon_stackable_window_new instead of gtk_window_new
6731 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6733 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6734 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6735 (hildon_pannable_area_set_property),
6736 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6737 (hildon_pannable_area_unrealize),
6738 (hildon_pannable_area_size_request),
6739 (hildon_pannable_area_size_allocate),
6740 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6741 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6742 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6743 (hildon_pannable_area_initial_effect),
6744 (hildon_pannable_area_redraw),
6745 (hildon_pannable_area_scroll_indicator_fade),
6746 (hildon_pannable_area_expose_event),
6747 (hildon_pannable_area_get_topmost), (synth_crossing),
6748 (hildon_pannable_area_button_press_cb),
6749 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6750 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6751 (hildon_pannable_area_motion_notify_cb),
6752 (hildon_pannable_area_button_release_cb),
6753 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6754 (hildon_pannable_area_remove),
6755 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6756 chage the code layout to a more GtkWidget like. Review the use of
6759 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6761 * examples/hildon-pannable-area-example-4.c,
6762 (main): Modified the name of the hindicator_mode to
6765 * src/hildon-pannable-area.c,
6766 (hildon_pannable_area_class_init),
6767 (hildon_pannable_area_motion_notify_cb),
6768 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6769 we have reduced the amount of signals and managed reviewed its
6770 rationale. Changed the default decelerate value.
6772 (hildon_pannable_area_add),
6773 (hildon_pannable_area_redraw): Refactored functions.
6775 (hildon_pannable_area_init),
6776 (hildon_pannable_area_get_property),
6777 (hildon_pannable_area_set_property):
6778 (hildon_pannable_draw_vscroll),
6779 (hildon_pannable_draw_hscroll),
6780 (hildon_pannable_area_initial_effect),
6781 (hildon_pannable_area_expose_event),
6782 (hildon_pannable_area_scroll),
6783 (hildon_pannable_area_button_press_cb),
6784 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6785 and vindicator_mode with hscrollbar_policy and
6786 vscrollbar_policy. Replaced hscroll and vscroll with
6787 hscroll_visible and vscroll_visible.
6789 (hildon_pannable_area_refresh): Refactor the function, remove
6790 variables and check the calls to this function, added resize
6791 conditions in case the children change their layout.
6793 (hildon_pannable_area_size_request): Added more detailed
6794 size_request calculation.
6797 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6799 * src/hildon-color-chooser.c
6800 (init_borders): use the correct gtk_border_free instead of g_free, to
6801 avoid a crash when this widget is used (ie: the three color selection
6804 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6806 * src/hildon-check-button.c,
6807 (hildon_check_button_set_active): Fixed problem when setting the
6808 active value, the widget was not redrawn.
6810 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6812 * src/hildon-pannable-area.c,
6813 (hildon_pannable_area_refresh),
6814 (hildon_pannable_area_scroll),
6815 (hildon_pannable_area_motion_notify_cb): Small code style change.
6817 (hildon_pannable_area_class_init): Default initial_hint set to
6818 FALSE, it is not in the specs.
6820 (hildon_pannable_area_initial_effect),
6821 (hildon_pannable_area_expose_event),
6822 (hildon_pannable_area_map),
6823 (hildon_pannable_area_init): Moved the launching point of the
6824 initial effect, it was in map but the sizes where not correct in
6825 that method so we do not know if we have the reproduce it. Now it
6826 is placed in the expose_event method and uses a variable to
6827 reproduce it just once.
6829 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6831 * src/hildon-pannable-area.c,
6832 (hildon_pannable_draw_vscroll),
6833 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6834 position allowed for the scrollbars.
6836 (hildon_pannable_area_size_allocate): Small style change.
6838 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6840 * src/hildon-pannable-area.c,
6841 (hildon_pannable_area_scroll_indicator_fade),
6842 (hildon_pannable_area_button_press_cb),
6843 (hildon_pannable_area_button_release_cb),
6844 (hildon_pannable_area_scroll_cb),
6845 (hildon_pannable_area_expose_event),
6846 (hildon_pannable_area_init): Added the define parameter
6847 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6848 and refactor the fade variable.
6850 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6852 * src/hildon-pannable-area.c,
6853 (hildon_pannable_area_redraw),
6854 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6855 lines, we were reimplemeting the redraw code.
6857 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6859 * src/hildon-pannable-area.c,
6860 (hildon_pannable_area_scroll_cb),
6861 (hildon_pannable_area_realize),
6862 (hildon_pannable_area_class_init): Added scroll_event management
6863 for pannable area, now we can scroll the usual desktop method.
6865 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6866 initialization of the parameters should depend on idle_id.
6868 (hildon_pannable_area_init),
6869 (hildon_pannable_area_map): Small code style modifications
6871 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6873 * src/hildon-pannable-area.c
6874 (hildon_pannable_area_button_press_cb),
6875 (hildon_pannable_area_motion_notify_cb),
6876 (hildon_pannable_area_button_release_cb),
6877 (hildon_pannable_area_size_allocate),
6878 (hildon_pannable_area_scroll_to): Improved the timeouts
6879 management, we avoid creating them each time.
6881 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6883 * src/hildon-pannable-area.c:
6884 (hildon_pannable_area_refresh),
6885 (hildon_pannable_area_motion_notify_cb),
6886 (hildon_pannable_area_class_init):
6887 * src/hildon-pannable-area.h:
6888 * src/hildon-touch-selector.c
6889 (_create_new_column):
6890 * examples/hildon-pannable-area-example-4.c:
6891 (horizontal_movement),
6892 (vertical_movement),
6894 Replaced the names of enums in the HildonPannableArea:
6895 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6896 HILDON_MOVEMENT_MODE_*
6897 - HILDON_PANNABLE_AREA_MOV_* ->
6899 - Removed HildonPannableAreaIndicatorMode, now we
6902 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6904 * examples/hildon-pannable-area-touch-grid-example.c
6905 * examples/hildon-pannable-area-touch-list-example.c: Fix
6906 compilation warnings.
6908 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6910 * src/hildon-gtk.c (hildon_gtk_button_new)
6911 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6912 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6913 images overriding the value of the "gtk-button-images" setting.
6915 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6917 * src/hildon-check-button.c (hildon_check_button_new):
6918 Instead of using a custom container, display the label and the
6919 checkbox using the standard GtkButton API.
6921 * examples/hildon-check-button-example.c (main): Don't use
6922 hildon_check_button_set_label() anymore
6924 * src/hildon-check-button.h
6925 * src/hildon-check-button.c
6926 (hildon_check_button_set_label, hildon_check_button_get_label):
6927 Set as deprecated, now we're using gtk_button_{get,set}_label()
6929 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6931 * src/hildon-pannable-area.c,
6932 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6933 GtkTreeview first line we detected it after the inclusion of the
6934 GtkWindowImpl in gtk+. We now check if the window is visible, not
6935 just if the pointer is over the window.
6936 (hildon_pannable_axis_scroll),
6937 (hildon_pannable_area_expose_event): Small style changes.
6939 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6941 * src/hildon-button.c: Update documentation.
6943 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6945 * examples/hildon-button-example.c: Add a switch to show images in
6948 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6950 * doc/hildon-docs.sgml: Some docs reorganization.
6952 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6954 * examples/hildon-pannable-area-touch-list-example.c
6956 * examples/hildon-pannable-area-touch-grid-example.c
6957 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6958 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6959 Fix memory leak when setting the tree model.
6961 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6965 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6967 * doc/hildon.types: Remove duplicated hildon_window_get_type
6968 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6969 documentation comment.
6971 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6973 * doc/Makefile.am: Complete list of private headers.
6975 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6977 * doc/hildon-docs.sgml
6978 * src/hildon-app-menu.c
6979 * src/hildon-bread-crumb.c
6980 * src/hildon-button.c
6982 * src/hildon-program.c
6983 * src/hildon-stackable-window.c
6984 * src/hildon-window.c: Lots of documentation updates.
6986 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6988 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6990 * configure.ac: Require Gtk+ 2.12.9 at least
6992 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6994 * src/hildon-pannable-area.c
6995 (hildon_pannable_area_scroll_indicator_fade),
6996 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6997 to protect the return of this timeout callbacks, avoiding deadlocks.
6999 2008-08-12 Christian Dywan <christian@imendio.com>
7002 * src/hildon-*.h: Ensure a consistent include order,
7003 include <gtk/gtk.h> instead of particular files and
7004 only include the topmost header in the gtk stack. See NB #39857
7006 2008-08-12 Christian Dywan <christian@imendio.com>
7008 * src/hildon-picker-dialog.c
7009 * src/hildon-touch-selector.c: Fix warnings about unused and
7010 uninitialized variables.
7012 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7014 * examples/Makefile.am
7015 * examples/hildon-check-button-example.c: Example of the hildon
7018 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7020 * src/hildon-window.h
7021 * src/hildon-window.c (hildon_window_class_init)
7022 (hildon_window_unset_program): Don't make
7023 hildon_window_unset_program a virtual function anymore.
7025 * src/hildon-stackable-window.c: Update documentation
7027 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7030 * doc/hildon-docs.sgml
7031 * doc/visual_index.xml
7032 * src/hildon-defines.c
7034 * src/hildon-helper.c
7035 * src/hildon-range-editor.c: Lots of documentation fixes.
7037 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7039 * examples/hildon-picker-button-multicolumn-example.c
7040 (create_touch_selector): Fix compilation warning.
7042 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7044 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7045 (hildon_pannable_area_button_release_cb)
7046 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7048 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7050 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7053 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7055 * src/hildon-bread-crumb-trail.h
7056 * src/hildon-date-editor.c
7057 * src/hildon-date-selector.c
7058 * src/hildon-pannable-area.c
7059 * src/hildon-picker-dialog.c
7060 * src/hildon-time-selector.c
7061 * src/hildon-touch-selector-entry.c
7062 * src/hildon-touch-selector.c
7063 * src/hildon-touch-selector.h: Misc documentation fixes
7065 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7067 * examples/hildon-date-editor-example.c (main): Updated date
7070 * examples/hildon-note-example.c (on_confirmation_clicked):
7071 Updated confirmation note example.
7073 * src/hildon-date-editor.c
7074 * src/hildon-note.c: Updated sample programs in documentation.
7077 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7079 * src/hildon-date-button.h:
7080 * src/hildon-picker-button.h:
7081 * src/hildon-time-button.c:
7082 * src/hildon-time-button.h:
7084 Some declarations changes to allow gtk-doc to document the widgets
7087 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7089 * src/hildon-date-button.c: Document the widget.
7090 * src/hildon-time-button.c: Document the widget.
7092 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7094 * src/hildon-picker-button.c: Document the widget.
7095 * src/hildon-touch-selector-entry.c: Document the widget.
7097 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7099 * doc/hildon-docs.sgml
7102 * src/hildon-check-button.h
7103 * src/hildon-check-button.c: New functions to create the Hildon
7107 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7109 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7111 * src/hildon-button.h
7112 * src/hildon-button.c
7113 (hildon_button_add_title_size_group)
7114 (hildon_button_add_value_size_group)
7115 (hildon_button_add_image_size_group)
7116 (hildon_button_add_size_groups): New functions to set size groups
7117 for the button labels and image.
7118 (hildon_button_new_full): Removed
7120 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7122 * src/hildon-time-selector.c
7123 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7124 in order to avoid a crash if gconf is not available
7126 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7128 * src/hildon-button.c (hildon_button_set_arrangement)
7129 (hildon_button_construct_child): Don't construct the button child
7130 before setting the arrangement.
7132 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7134 * src/hildon-program-private.h
7135 * src/hildon-program.c
7136 * src/hildon-program.h
7137 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7138 (hildon_program_peek_window_stack)
7139 (hildon_program_pop_window_stack)
7140 (hildon_program_go_to_root_window): HildonProgram now has a
7141 separate list for stackable windows. Functions are provided to
7142 manage that list with a stack-like API.
7144 * src/hildon-stackable-window.c: Stackable window management is
7145 now much simpler with the new HildonProgram API. Windows no
7146 longer need to be manually added to the program, they're
7147 automatically pushed to the top of the stack when shown.
7149 * examples/hildon-stackable-window-example.c: Updated example to
7150 reflect the API changes.
7152 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7154 * src/hildon-touch-selector.c: Comment out unimplemented
7155 hildon_touch_selector_insert_column() to avoid a compile warning.
7157 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7159 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7160 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7161 (hildon_touch_selector_set_column_selection_mode),
7162 (_hildon_touch_selector_set_model),
7163 (hildon_touch_selector_set_model):
7165 Complete review of HildonTouchSelector documentation.
7167 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7169 * doc/hildon-docs.sgml
7173 * src/hildon-gtk.c: Convenience functions for standard Gtk
7174 widgets, used to easily perform frequent operations.
7176 * src/hildon-button-helpers.h
7177 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7179 * src/hildon-helper.h
7180 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7181 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7183 * src/hildon-button.h
7184 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7186 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7188 * src/hildon-button.c (hildon_button_init)
7189 (hildon_button_set_arrangement, hildon_button_construct_child):
7190 Pack the image and the labels inside the same GtkAlignment so
7191 gtk_button_set_alignment() can be used
7193 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7195 * src/hildon-button.h
7196 * src/hildon-button.c
7197 (hildon_button_init, hildon_button_set_image)
7198 (hildon_button_set_image_position)
7199 (hildon_button_construct_child): New functions to add an image to
7202 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7204 * src/hildon-date-button.c
7205 * src/hildon-picker-button.c
7206 * src/hildon-time-button.c
7207 * src/hildon-button.c:
7208 (hildon_button_class_init): "size-flags" renamed to "size"
7209 (hildon_button_set_title): Hide the title label if set to NULL.
7211 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7213 HildonButtonFlags split into HildonButtonArrangement (to set the
7214 button layout) and HildonSizeType (which can be used for any
7217 * src/hildon-button.h
7218 * src/hildon-button.c
7219 (hildon_button_class_init)
7220 (hildon_button_set_arrangement)
7221 (hildon_button_set_property): New "size-flags"
7222 property. "arrangement-flags" renamed to "arrangement".
7223 (hildon_button_new, hildon_button_new_with_text)
7224 (hildon_button_new_full): Constructors updated to reflect type changes.
7226 * src/hildon-helper.h
7227 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7228 to set the size of a widget.
7232 * src/hildon-button-helpers.c
7233 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7235 * src/hildon-date-button.c
7236 * src/hildon-date-button.h
7237 * src/hildon-picker-button.c
7238 * src/hildon-picker-button.h
7239 * src/hildon-time-button.c
7240 * src/hildon-time-button.h: Updated widgets to reflect
7241 HildonButton API changes.
7243 * examples/hildon-button-example.c
7244 * examples/hildon-date-button-example.c
7245 * examples/hildon-picker-button-example.c
7246 * examples/hildon-picker-button-multicolumn-example.c
7247 * examples/hildon-time-button-example.c
7248 * examples/hildon-touch-selector-entry-example.c
7249 * examples/hildon-touch-selector-example.c: Updated examples to
7250 reflect HildonButton API changes.
7252 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7254 * doc/hildon-docs.sgml:
7256 * examples/Makefile.am:
7257 * examples/hildon-touch-selector-entry-example.c:
7259 * src/hildon-touch-selector-entry.c:
7260 * src/hildon-touch-selector-entry.h:
7263 Moved HildonTouchSelectorEntry from sandbox. Added its
7264 documentation and examples.
7266 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7268 * src/hildon-touch-selector.h:
7269 * examples/hildon-picker-button-multicolumn-example.c:
7270 (hildon_touch_selector_append_text_column): Add a gboolean
7271 parameter to determine if text must be centered in the column.
7273 * src/hildon-date-selector.c: (hildon_date_selector_init):
7274 * src/hildon-time-selector.c: (hildon_time_selector_init):
7275 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7276 (create_touch_selector): Update widgets and example to reflect
7279 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7281 * src/hildon-touch-selector.c:
7282 (hildon_touch_selector_set_active_iter): Set also the cursor in
7285 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7287 * doc/hildon-docs.sgml
7290 * src/hildon-toggle-button.c
7291 * src/hildon-toggle-button.h
7292 * src/hildon.h: Removed HildonToggleButton widget, a derived
7293 class is not necessary for this.
7295 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7297 * src/hildon-pannable-area.c,
7298 (hildon_pannable_area_realize),
7299 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7302 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7304 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7305 "done" button the default widget for the dialog.
7307 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7309 * src/hildon-touch-selector.c:
7310 (hildon_touch_selector_class_init),
7311 (hildon_touch_selector_get_property),
7312 (_hildon_touch_selector_set_model),
7313 (_hildon_touch_selector_has_multiple_selection),
7314 (hildon_touch_selector_has_multiple_selection):
7315 Add a "has-multiple-selection" property with a virtual
7316 has_multiple_selection() method to allow derived classes to
7317 override the default value for it. See the method and property
7318 documentation for details.
7320 * src/hildon-touch-selector.h: Add the new API.
7322 * src/hildon-picker-dialog.c: (requires_done_button): Call
7323 hildon_touch_selector_has_multiple_selection() instead of
7324 determining the need for a button itself.
7326 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7328 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7329 (_hildon_touch_selector_set_model),
7330 (hildon_touch_selector_set_model): Move working code to
7331 _hildon_touch_selector_set_mode(). Call the class method instead.
7333 * src/hildon-touch-selector.h: Add (*set_model) to
7334 HildonTouchSelectorClass.
7336 Make hildon_touch_selector_set_model() a virtual method, so that
7337 derived classes can extend it and do fancy stuff with the model.
7339 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7341 * configure.ac: Set back the tarname in AC_INIT to hildon.
7343 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7347 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7348 instead of libesd (NB#86876). Volume handling is still an open issue.
7350 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7353 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7355 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7356 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7357 derived class to ease placement of an entry widget in
7358 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7359 end, where the selector columns are packed now.
7361 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7363 * src/hildon-picker-button.c: Removed the simple _text() API.
7364 * src/hildon-picker-button.h: Likewise.
7366 * src/hildon-touch-selector.h:
7367 * src/hildon-touch-selector.c:
7368 (hildon_touch_selector_new_text),
7369 (hildon_touch_selector_append_text),
7370 (hildon_touch_selector_prepend_text),
7371 (hildon_touch_selector_insert_text):
7373 Moved the simple _text() API from HildonPickerButton to
7374 HildonTouchPicker, to provide better escalability and not to tie
7375 that API to HildonPickerButton.
7377 * examples/hildon-picker-button-example.c: (main): Example updated.
7379 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7381 * src/hildon-button.c: Updated documentation.
7383 * examples/hildon-button-example.c: Add the posibility to create
7384 the buttons using horizontal layout for title and value.
7386 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7388 * src/hildon-app-menu-private.h
7389 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7390 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7391 GtkSizeGroup for the filters, use the 'homogeneous' property of
7394 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7396 * examples/hildon-button-example.c: Updated example.
7398 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7400 * doc/hildon-docs.sgml:
7403 Update documentation.
7405 * examples/Makefile.am: Update renamed examples.
7407 * examples/hildon-picker-button-multicolumn-example.c:
7408 (create_touch_selector), (main): Update after the rename.
7410 * examples/hildon-touch-picker-example.c: Removed.
7411 * examples/hildon-touch-selector-example.c: (value_changed),
7412 (create_selector), (get_visible_content), (main): Renamed from
7413 hildon-touch-picker-example.c
7415 * src/Makefile.am: Updated renamed files.
7417 * src/hildon-date-button.c: (hildon_date_button_init),
7418 (hildon_date_button_get_date), (hildon_date_button_set_date):
7419 * src/hildon-date-selector.c: (hildon_date_selector_init),
7420 (_custom_print_func), (_update_day_model),
7421 (_manage_selector_change_cb),
7422 (hildon_date_selector_select_current_date),
7423 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7424 * src/hildon-date-selector.h:
7425 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7426 (hildon_picker_button_set_property),
7427 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7428 (hildon_picker_button_init), (hildon_picker_button_new_text),
7429 (hildon_picker_button_append_text),
7430 (hildon_picker_button_prepend_text),
7431 (hildon_picker_button_insert_text),
7432 (hildon_picker_button_set_selector),
7433 (hildon_picker_button_get_selector):
7434 * src/hildon-picker-button.h:
7435 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7436 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7437 (_update_title_on_selector_changed_cb), (requires_done_button),
7438 (_hildon_picker_dialog_set_selector),
7439 (hildon_picker_dialog_set_selector),
7440 (hildon_picker_dialog_get_selector):
7441 * src/hildon-picker-dialog.h:
7442 * src/hildon-time-button.c: (hildon_time_button_init),
7443 (hildon_time_button_get_time), (hildon_time_button_set_time):
7444 * src/hildon-time-selector.c: (hildon_time_selector_init),
7445 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7446 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7447 * src/hildon-time-selector.h:
7450 Massive code updates after the rename.
7452 * src/hildon-touch-picker.c: Removed.
7453 * src/hildon-touch-picker.h: Removed.
7455 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7456 (hildon_touch_selector_init), (hildon_touch_selector_map),
7457 (hildon_touch_selector_remove), (_default_print_func),
7458 (_selection_changed_cb), (_create_new_column),
7459 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7460 (hildon_touch_selector_append_text_column),
7461 (hildon_touch_selector_remove_column),
7462 (hildon_touch_selector_set_column_attributes),
7463 (hildon_touch_selector_insert_column),
7464 (hildon_touch_selector_get_num_columns),
7465 (hildon_touch_selector_get_column_selection_mode),
7466 (hildon_touch_selector_set_column_selection_mode),
7467 (hildon_touch_selector_set_print_func),
7468 (hildon_touch_selector_get_print_func),
7469 (hildon_touch_selector_get_active_iter),
7470 (hildon_touch_selector_set_active_iter),
7471 (hildon_touch_selector_get_selected_rows),
7472 (hildon_touch_selector_get_model),
7473 (hildon_touch_selector_set_model),
7474 (hildon_touch_selector_get_current_text),
7475 (_hildon_touch_selector_center_on_selected_items):
7476 * src/hildon-touch-selector.h: Renamed from
7477 hildon-touch-picker.[ch]
7479 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7480 references, code examples, and related documentation.
7482 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7484 * doc/hildon-docs.sgml
7487 * src/hildon-toggle-button.c
7488 * src/hildon-toggle-button.h
7489 * src/hildon.h: New HildonToggleButton widget.
7491 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7493 * src/hildon-button.c: Add API documentation.
7494 (hildon_button_set_size_groups): Check input parameters
7496 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7498 * src/hildon-pannable-area.c
7499 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7500 effect after reaching the movement thredshold. This way we start
7501 using the distance after passing the thredshold.
7503 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7505 * src/hildon-button.c: (hildon_button_set_property): Use the
7506 appropriate g_value_get_flags() method.
7508 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7510 * doc/hildon-docs.sgml:
7513 Add the touch pickers, picker dialogs, and picker button widgets
7514 to the documentation.
7516 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7518 * src/hildon-button.c: (hildon_button_set_property),
7519 (hildon_button_class_init): Make "arrangement-flags" a proper
7520 G_TYPE_FLAGS derived property.
7522 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7524 * examples/Makefile.am: Add below examples.
7525 * examples/hildon-date-button-example.c:
7526 * examples/hildon-picker-button-example.c:
7527 * examples/hildon-picker-button-multicolumn-example.c:
7528 * examples/hildon-time-button-example.c:
7529 * examples/hildon-touch-picker-example.c:
7531 Add examples for the recently added touch pickers,
7532 picker dialogs, and picker button widgets.
7534 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7536 * src/hildon-button.c: Add some API documentation
7538 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7540 * src/hildon-button.h
7541 * src/hildon-button.c
7543 (hildon_button_new_with_text): New constructor to create a button
7544 with no text at all.
7545 (hildon_button_init, hildon_button_set_arrangement)
7546 (hildon_button_set_title, hildon_button_set_value)
7547 (hildon_button_set_text)
7548 (hildon_button_construct_child): Hide the value when it's not used
7549 so the rest of the text is properly aligned.
7550 Allow creating buttons with arbitrary widgets inside (not just
7551 title/value labels).
7553 * examples/hildon-button-example.c (vertical_buttons_window)
7554 (horizontal_buttons_window): Update example to use new API.
7556 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7558 * src/Makefile.am: Added HildonTimeButton.
7559 * src/hildon-time-button.c: Added missing LGPL header.
7560 * src/hildon-time-button.h: Added missing LGPL header.
7561 * src/hildon.h: Add hildon-time-button.h
7563 Copied HildonTimeButton from sandbox to trunk. Future work on this
7564 widget must take place in trunk.
7566 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7568 * src/Makefile.am: Added HildonDateButton.
7569 * src/hildon-date-button.c: Update includes.
7570 * src/hildon.h: Add hildon-date-button.h
7572 Copied HildonDateButton from sandbox to trunk. Future work on this
7573 widget must take place in trunk.
7575 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7577 * src/Makefile.am: Added HildonPickerButton.
7578 * src/hildon-picker-button.h: Update includes.
7579 * src/hildon.h: Add hildon-picker-button.h
7581 Copied HildonPickerButton from sandbox to trunk. Future work on
7582 this widget must take place in trunk.
7584 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7586 * src/Makefile.am: Added HildonPickerDialog.
7587 * src/hildon-picker-dialog.c: Update includes.
7588 * src/hildon.h: Add hildon-picker-dialog.h
7590 Copied HildonPickerDialog from sandbox to trunk. Future work
7591 on this widget must take place in trunk.
7593 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7595 * src/Makefile.am: Added HildonTimeSelector.
7596 * src/hildon.h: Add hildon-time-selector.h
7598 Copied HildonTimeSelector widget from sandbox to trunk. Future
7599 work on this widget must happen in trunk.
7601 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7603 * src/Makefile.am: Added HildonDateSelector.
7604 * src/hildon.h: Add hildon-date-selector.h
7606 Copied HildonDateSelector 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 HildonTouchPicker.
7612 * src/hildon-touch-picker.c: Update includes.
7613 * src/hildon.h: Add hildon-touch-picker.h
7615 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7616 on this widget must happen in trunk.
7618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7620 * src/hildon-pannable-area.c:
7621 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7623 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7625 * examples/hildon-app-menu-example.c (main): Let the window
7628 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7630 * src/hildon-pannable-area.c
7631 (hildon_pannable_area_class_init): Set the min value of the
7632 overshoot properties to zero, which points out that not
7633 overshooting allowed.
7635 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7637 Modified the procedure to get the widget at a point inside the
7638 pannable area when using the movement type signals. Now the user
7639 has to call a function to get the child, that way we just
7640 calculate the child in case the user really want to use it and not
7643 * src/hildon-marshalers.list: Modified the marshallers, now we do
7644 not have the widget as a parameter.
7646 * src/hildon-pannable-area.c
7647 (hildon_pannable_area_motion_notify_cb),
7648 (hildon_pannable_area_class_init),
7649 (hildon_pannable_get_child_widget_at): Removed the widget
7650 parameter from the signal callback. We have also refactored the
7651 emission of the signals.
7653 * src/hildon-pannable-area.h: Added a new method to the API to
7654 calculate a widget at a point inside the pannable area,
7655 hildon_pannable_get_child_widget_at.
7657 * examples/hildon-pannable-area-example-4.c
7658 (horizontal_movement): Modified the example to use the new API,
7659 added condition to control which widget is under the event. This
7660 way we can avoid scrolling laterally over other widgets.
7662 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7664 * src/hildon-pannable-area.c
7665 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7666 modes, we stop getting the pointer events due to returning the
7667 callback without properly calling the get pointer again. Fixed
7668 also an error using the hscroll and vscroll.
7670 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7672 * src/hildon-app-menu-private.h
7673 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7674 (hildon_app_menu_button_release, hildon_app_menu_init)
7675 (hildon_app_menu_class_init): Don't hide the menu on button
7676 release if the user didn't press outside first.
7678 * src/hildon-window.h
7679 * src/hildon-window.c (hildon_window_toggle_menu)
7680 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7681 hildon_window_toggle_menu a virtual function for the stackable
7682 window to override it.
7684 * src/hildon-stackable-window.h
7685 * src/hildon-stackable-window-private.h
7686 * src/hildon-stackable-window.c
7687 (hildon_stackable_window_realize)
7688 (hildon_stackable_window_finalize)
7689 (hildon_stackable_window_class_init)
7690 (hildon_stackable_window_init)
7691 (hildon_stackable_window_set_main_menu): New function to set the
7692 app menu of a HildonStackableWindow.
7694 * examples/hildon-app-menu-example.c: Remove the button to show
7695 the app menu, now it'll be shown when clicking on the title bar
7698 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7700 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7701 set the widget name if the arrangement flags do not specify
7704 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7706 * src/hildon-button.c: (hildon_button_set_property),
7707 (hildon_button_class_init), (hildon_button_new_full),
7708 (hildon_button_set_arrangement): Added "arrangement-flags"
7711 Make the HildonButtonFlags a construction-only property, to allow
7712 subclasses to set them properly.
7714 2008-07-21 Tim Janik <timj@imendio.com>
7716 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7717 insertion position after backspace, so additional digits are appended,
7720 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7722 * src/hildon-pannable-area.c,
7723 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7724 TODO list, it was complete and removed the g_debug and g_print
7727 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7729 Added the movement modes to the hildon-pannable-area, with this
7730 modes the developers can control in which directions the widget
7731 can scroll. They can also connect to signals in order to do
7732 something when that happens, allowing applications scroll. There
7733 is an example uploaded showing how to use it.
7735 * examples/Makefile.am:
7736 * examples/hildon-pannable-area-example-4.c: Added this example of
7737 an application using the modes.
7739 * src/hildon-marshalers.list: Added a new marshaller for the new
7742 * src/hildon-pannable-area.h: Added new enumerations and flags in
7743 order to control the movement modes and the new signals to warn
7744 about the movements in the area.
7746 * src/hildon-pannable-area.c:
7747 (hildon_pannable_axis_scroll),
7748 (hildon_pannable_area_scroll),
7749 (hildon_pannable_area_motion_notify_cb),
7750 (hildon_pannable_area_get_property),
7751 (hildon_pannable_area_set_property),
7752 (hildon_pannable_area_map),
7753 (hildon_pannable_area_class_init),
7754 (hildon_pannable_area_init),
7755 (hildon_pannable_area_jump_to): Added the modes to control the
7756 movement in the widget. We have added properties to control it,
7757 signals to warn about the movements and refactored some code.
7759 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7761 Changes required in order to allow vfast_factor set to zero to
7764 * src/hildon-pannable-area.c:
7765 (hildon_pannable_area_button_press_cb): Changed the condition, it
7766 is required for not allowing click when vfast_factor is zero.
7767 (hildon_pannable_area_timeout): Initialized velocity variables
7768 when we stop moving, it was less than 1 but not zero and we need
7769 to check zero in some situations.
7770 (hildon_pannable_area_class_init): Changed the default value of
7771 the speed factor, now the button_press is just sent in case the
7772 speed is 2 per cent of the max speed.
7773 (hildon_pannable_area_init): Initialization with 0.
7775 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7777 * src/hildon-pannable-area.c,
7778 (hildon_pannable_area_get_topmost): replaced
7779 gdk_window_get_children with gdk_window_peek_children, this way we
7780 do not have to free the list because it is not a copy.
7782 (hildon_pannable_axis_scroll),
7783 (hildon_pannable_area_scroll),
7784 (hildon_pannable_area_timeout),
7785 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7786 two parameters that were only used inside the
7787 hildon_pannable_area_scroll function.
7789 * examples/hildon-pannable-area-example.c,
7790 (get_sawtooth_label): Fixed small memory leak.
7792 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7794 More checks for the case where the overshoot is bigger than the
7797 * src/hildon-pannable-area.c:
7798 (hildon_pannable_draw_vscroll),
7799 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7800 to draw the slider of the scrollbar under the other scrollbar.
7801 (hildon_pannable_area_expose_event): added new checks to control
7802 the drawing of the overshooting area rectangle, in case it is too
7803 big for the area of the widget.
7804 (hildon_pannable_area_size_allocate): add more checks to avoid
7805 setting a position to the child widget outside the area.
7807 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7809 * src/hildon-pannable-area.c
7810 (hildon_pannable_area_size_allocate): Added conditions to control
7811 when overshooting is bigger than the allocated space for the
7812 children, this avoids negative allocations.
7814 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7816 * doc/hildon-docs.sgml
7818 * examples/Makefile.am
7819 * examples/hildon-button-example.c
7821 * src/hildon-button.c
7822 * src/hildon-button.h
7823 * src/hildon.h: Initial version of the new HildonButton widget,
7826 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7828 * src/hildon-pannable-area.c:
7829 (hildon_pannable_area_button_press_cb),
7830 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7831 (hildon_pannable_area_motion_notify_cb),
7832 (hildon_pannable_area_button_release_cb),
7833 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7834 (hildon_pannable_area_jump_to_child):
7836 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7838 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7840 * examples/Makefile.am
7841 * examples/hildon-pannable-area-touch-grid-example.c
7842 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7843 the Hildon Touch List and Hildon Touch Grid using the
7844 HildonPannableArea widget.
7846 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7848 * src/hildon-pannable-area.c,
7849 (hildon_pannable_area_button_press_cb),
7850 (hildon_pannable_area_refresh),
7851 (hildon_pannable_area_scroll),
7852 (hildon_pannable_area_motion_notify_cb),
7853 (hildon_pannable_area_button_release_cb),
7854 (hildon_pannable_area_expose_event),
7855 (hildon_pannable_area_add),
7856 (hildon_pannable_area_remove),
7857 (hildon_pannable_area_realize),
7858 (hildon_pannable_area_size_allocate),
7859 (hildon_pannable_area_class_init),
7860 (hildon_pannable_area_init),
7861 (hildon_pannable_area_scroll_to_child),
7862 (hildon_pannable_area_jump_to_child): Fixed the problem of
7863 removing the child from the GtkBin, we have rearranged the widget
7864 hierarchy, now there is no GtkAlignment which was not doing
7865 anything interesting but breaking some of the assumptions of
7866 GtkContainer. Now developers if they want to add a GtkAlignment
7867 they could, but it is not inside the area.
7869 We had to review the whole allocation/expose process, now it is
7870 improved and we save at least three signals which would be saving
7871 some time when rendering the widget. The allocation of the
7872 scrollbars is now made in the allocate method as usual.
7874 We have also added some conditions in order to control when there
7875 is no child of the pannable area. Maybe we will need more work
7878 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7880 * src/hildon-pannable-area.c,
7881 (hildon_pannable_area_dispose): Released the fade-out timeout when
7882 disposing the widget.
7884 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7886 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7887 zero, we are going to use that property in order to deactivate the
7889 (hildon_pannable_axis_scroll),
7890 (hildon_pannable_area_size_allocate): Added conditions to control
7891 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7892 call, now it is called in all situations and we can remove calls
7893 in the allocate method.
7894 (hildon_pannable_area_map): Control the situation when
7895 overshoot_max is zero, we do not need the timeout.
7896 (hildon_pannable_area_class_init): Added documentation in order to
7897 point out that setting zero to overshoot_max means deactivate
7900 NOTE: removed trailing whitespaces from my previous comments of
7903 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7905 * src/hildon-pannable-area.c
7906 (hildon_pannable_area_get_property),
7907 (hildon_pannable_area_set_property),
7908 (hildon_pannable_area_map),
7909 (hildon_pannable_area_class_init),
7910 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7911 to cause the widget give a hint about its panning abilities upon
7914 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7916 * src/hildon-pannable-area.c: Several documentation improvements.
7918 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7920 * src/hildon-program.c
7921 * src/hildon-stackable-window.c: Update documentation.
7923 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7925 * src/hildon-stackable-window.c (get_previous_window_if_last):
7926 Renamed get_last_window()
7927 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7928 (hildon_stackable_window_unset_program):
7930 (get_previous_window_if_last):
7931 Detect if the window hasn't been added to a HildonProgram.
7933 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7935 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7937 * src/hildon-pannable-area.c
7938 (hildon_pannable_area_button_press_cb),
7939 (hildon_pannable_axis_scroll),
7940 (hildon_pannable_area_scroll),
7941 (hildon_pannable_area_timeout),
7942 (hildon_pannable_calculate_vel_factor),
7943 (hildon_pannable_area_get_property),
7944 (hildon_pannable_area_set_property),
7945 (hildon_pannable_area_class_init),
7946 (hildon_pannable_area_init),
7947 (hildon_pannable_area_scroll_to),
7948 (hildon_pannable_area_jump_to),
7949 (hildon_pannable_area_scroll_to_child),
7950 (hildon_pannable_area_jump_to_child):
7951 * src/hildon-pannable-area.h: Added the new API functions:
7952 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7953 hildon_pannable_area_scroll_to_child,
7954 hildon_pannable_area_jump_to_child
7957 * examples/Makefile.am
7958 * examples/hildon-pannable-area-example-2.c
7959 * examples/hildon-pannable-area-example-3.c: Added these two new
7960 examples in order to test and show how the new APIs work.
7962 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7964 * examples/hildon-stackable-window-example.c (new_window):
7965 * src/Makefile.am (noinst_HEADERS):
7966 * src/hildon-program.c (hildon_program_go_to_root_window):
7967 * src/hildon-program.h:
7968 * src/hildon-stackable-window-private.h:
7969 * src/hildon-stackable-window.c:
7970 * src/hildon-stackable-window.h:
7971 Create hildon-stackable-window-private.h
7972 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7974 * examples/hildon-app-menu-example.c (create_menu):
7975 * examples/hildon-hvolumebar-insensitive-example.c (main):
7976 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7977 * examples/hildon-toolbar-seekbar-example.c (main):
7978 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7979 * src/hildon-banner.c (hildon_banner_set_property):
7980 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7981 Fix compilation warnings
7983 * src/hildon-window.c:
7986 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7988 * src/hildon-stackable-window.c
7989 (hildon_stackable_window_unset_program):
7990 Calculate correctly whether to show the previous window if the
7991 last one is removed from the stack.
7992 (hildon_stackable_window_go_to_root_window):
7993 Send delete events starting from the topmost window.
7994 Stop if one of the windows is not destroyed.
7996 (hildon_stackable_window_delete_event)
7997 (hildon_stackable_window_class_init):
7998 Ignore the delete event if the window is not the topmost one.
8000 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8002 * src/hildon-pannable-area.c
8003 (hildon_pannable_area_expose_event): Fixed a problem when
8004 selecting the background color of the scrollbars.
8006 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8008 * examples/hildon-stackable-window-example.c
8009 * src/hildon-stackable-window.c
8010 * src/hildon-stackable-window.h
8011 hildon_stackable_window_go_home() renamed to
8012 hildon_stackable_window_go_to_root_window()
8013 Send delete events to windows rather than closing them with
8014 gtk_widget_destroy()
8016 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8018 * src/hildon-pannable-area.c
8019 (hildon_pannable_area_button_release_cb): Fix overshooting in
8022 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8024 * src/hildon-pannable-area.c
8025 (hildon_pannable_area_init): Initially show the scroll indicators.
8026 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8028 Add initial effect showing the widget is pannable.
8030 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8032 * src/hildon-pannable-area.c
8033 (hildon_pannable_area_class_init)
8034 (hildon_pannable_area_set_property)
8035 (hildon_pannable_area_get_property)
8036 (hildon_pannable_area_button_press_cb):
8037 New 'velocity_fast_factor' property to decide which velocity is
8040 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8042 * src/hildon-pannable-area.c
8043 (hildon_pannable_draw_hscroll)
8044 (hildon_pannable_draw_vscroll):
8045 Use float variables to calculate the size of the scrollbars to
8046 avoid error propagation and resizing during scrolling.
8048 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8050 * src/hildon-pannable-area.c
8051 (hildon_pannable_draw_vscroll)
8052 (hildon_pannable_draw_hscroll):
8053 Define a minimum size for the scroll bars
8055 * src/hildon-stackable-window.c
8056 (hildon_stackable_window_go_home): Fix compilation warning
8057 (get_last_window): Minor optimizations
8058 (hildon_stackable_window_class_init): Fix initialization of
8061 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8063 * src/hildon-stackable-window.c: Fixed typos in doc
8065 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8067 * src/hildon-pannable-area.c
8068 (hildon_pannable_area_scroll):
8069 Calculate here whether we need to scroll instead of using the booleans
8070 that tell us whether to /draw/ the scrolling bars.
8072 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8074 * src/hildon-app-menu.h
8076 * src/hildon-app-menu.c
8077 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8078 multiple filter groups related code and API. Now we support only
8080 * examples/hildon-app-menu-example.c:
8082 Update to reflect API changes.
8084 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8086 * src/hildon-stackable-window.c
8087 (hildon_stackable_window_class_init):
8088 Add hildon_stackable_window_realize.
8089 (hildon_stackable_window_realize):
8090 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8091 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8092 to apply theming and behavior specific to HildonStackableWindow
8095 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8097 * src/hildon-note.c (hildon_note_button_release):
8098 Close information notes also when tapping on them
8100 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8102 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8103 ELASTICITY, refactor and review, fix some issues with drawing
8106 * src/hildon-pannable-area.c:
8107 (hildon_pannable_area_button_press_cb): removed the conditions to
8108 avoid clicks when overshooting. It is not required
8110 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8111 define. Refatored and reviewed the code, now we do not need to
8112 manage velocity in motion_notify.
8114 (hildon_pannable_area_motion_notify_cb): We have moved the code
8115 that controls the area_scroll to the axis_scroll function and get
8116 rid of duplicated code.
8118 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8120 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8122 (hildon_pannable_draw_vscroll),
8123 (hildon_pannable_draw_hscroll): Fixed the problems with the
8124 scrollbar drawing, now we do not use two surfaces, it is easier
8125 and saves resources.
8127 (hildon_pannable_area_get_property): Style modification.
8129 (hildon_pannable_area_class_init): Changed some default values.
8131 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8133 * src/hildon-stackable-window.c: Fix some typos in the
8136 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8138 * src/hildon-dialog.c:
8139 Change indentation style
8142 (hildon_note_button_release):
8143 Use root coordinates to check if the release event happened
8146 * src/hildon-app-menu.c
8147 (hildon_app_menu_button_release):
8148 Remove unnecessary check
8150 * examples/hildon-app-menu-example.c
8152 Add cast to fix warning
8154 * src/hildon-app-menu.c
8155 (hildon_app_menu_class_init):
8156 New inner-border style property.
8157 Set all default spacings to 16
8158 (hildon_app_menu_init):
8159 Use vertical-spacing to set the space between filter buttons and
8160 regular menu buttons.
8161 Set the default container border using the inner-border value.
8163 * examples/hildon-app-menu-example.c
8165 Don't set the menu border explicitly, now we have the inner-border
8166 style property for that.
8168 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8170 * src/hildon-app-menu.c (hildon_app_menu_init):
8171 Make the window modal
8173 * src/hildon-note.c (hildon_note_map)
8174 * src/hildon-app-menu.c (hildon_app_menu_map):
8175 Destroy the grab window if we're unable to grab the pointer
8177 * src/hildon-app-menu-private.h
8178 * src/hildon-app-menu.c
8179 (hildon_app_menu_init, hildon_app_menu_finalize)
8180 (hildon_app_menu_map, hildon_app_menu_unmap)
8181 (hildon_app_menu_button_release)
8182 (grab_transfer_window_get):
8183 Bring back the grab window
8184 (hildon_app_menu_realize):
8185 Decorate the window, set WM hint for Matchbox
8187 * src/hildon-note.c (hildon_note_realize):
8188 * src/hildon-banner.c (hildon_banner_realize):
8189 Add WM hints for Matchbox
8191 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8193 * src/hildon-app-menu-private.h
8194 * src/hildon-app-menu.c
8195 (hildon_app_menu_init, hildon_app_menu_finalize)
8196 (hildon_app_menu_map, hildon_app_menu_unmap)
8197 (hildon_app_menu_button_release):
8198 Remove the grab window, it's not needed anymore
8200 * src/hildon-program.c
8201 Fixed typo in documentation
8203 * src/hildon-app-menu.h
8204 * src/hildon-app-menu.c
8205 * examples/hildon-app-menu-example.c
8206 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8208 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8211 Added new transfer_window and close_if_pressed_outside private
8213 (hildon_note_rebuild):
8214 Don't add a cancel button to the information note. It will be
8215 closed when tapping outside
8216 Remove the comment about the OK button in the documentation
8217 (hildon_note_realize):
8218 Set the notification type hint
8219 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8220 Grab/ungrab pointer and keyboard if the note has to be closed when
8222 (hildon_note_button_release):
8223 Close the note when tapping outside (if applicable)
8225 * src/hildon-app-menu.c
8226 Grab/ungrab pointer and keyboard on map/unmap
8227 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8228 Close the menu on button release, not button press
8230 * src/hildon-banner.c
8231 (hildon_banner_set_property)
8232 (hildon_banner_check_position):
8233 Make the banner use the full width of the screen
8234 (hildon_banner_show_information)
8235 (hildon_banner_show_information_with_markup):
8236 Don't display an icon by default
8238 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8240 Added fading scrollbars and adapted all the overshooting code to
8241 horizontal scrolling. We have also fixed bugs with overshooting
8242 and current fading implementation.
8244 * src/hildon-pannable-area.c
8245 (hildon_pannable_area_scroll_indicator_fade): Time out function
8246 used to change the transparency of the scrollbars.
8248 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8249 control and fixed a problem with fading, we now remove the fade
8250 timeout before adding a new one.
8252 (hildon_pannable_axis_scroll):
8253 (hildon_pannable_area_scroll):
8254 (hildon_pannable_area_timeout): Added this functions so we can use
8255 the scroll code both for vertical and horizontal.
8257 (hildon_pannable_area_motion_notify_cb):
8258 (hildon_pannable_area_button_release_cb): Added the horizontal
8259 scrolling control, fixed a problem with the overshooting timeout.
8261 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8262 painting of the scrolls.
8264 (hildon_pannable_draw_vscroll):
8265 (hildon_pannable_draw_hscroll):
8266 (hildon_pannable_area_expose_event):
8267 Draw both scrollbars and rectangles in the overshooting area.
8269 (hildon_pannable_area_get_property):
8270 (hildon_pannable_area_set_property):
8271 Modified the overshoot property to overshoot_max
8273 (hildon_pannable_area_map):
8274 Replaced the comments symbols.
8276 (hildon_pannable_area_size_allocate):
8277 (hildon_pannable_area_class_init):
8278 (hildon_pannable_area_init): Added horizontal scroll, fading
8279 effect properties, fixed a problem when overshooting in the bottom
8282 * examples/hildon-pannable-area-example.c:
8283 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8284 looks better in the example.
8286 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8288 * src/hildon-window.c
8289 * src/hildon-window.h
8290 (hildon_window_class_init)
8291 (hildon_window_unset_program)
8292 (hildon_window_unset_program_real):
8293 Make unset_program a virtual function
8295 * src/hildon-stackable-window.c
8296 * src/hildon-stackable-window.h
8297 Added hildon_stackable_window_go_home()
8299 * examples/Makefile.am
8300 * examples/hildon-stackable-window-example.c
8301 HildonStackableWindow example
8303 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8305 * hildon-pannable-area.c: Added the overshoot property and removed
8306 the OVERSHOOT define. Fixed an indent style error.
8307 (hildon_pannable_area_motion_notify_cb):
8308 (hildon_pannable_area_get_property):
8309 (hildon_pannable_area_set_property): Add overshoot property.
8311 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8314 (hildon_pannable_area_class_init): Installed the new property.
8316 * hildon-pannable-area-example.c: Added a sawtooth function, this
8317 way it is easier to check the movement in the pannable.
8318 (get_sawtooth_label): Added this function.
8319 (main): Now we get the labels from the new get_sawtooth_label
8322 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8324 * src/hildon-app-menu.h
8325 * src/hildon-app-menu.c
8326 Renamed API variables for consistency
8328 (hildon_app_menu_popup): Use also the default window size to
8329 decide where to place the menu
8331 (hildon_app_menu_init, hildon_app_menu_class_init): New
8332 external-border style property
8334 2008-05-26 Michael Natterer <mitch@imendio.com>
8336 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8337 widget_class->tap_and_hold_setup signal slot doesn't exist any
8338 longer, stop overriding it.
8340 (hildon_time_editor_init): g_signal_connect() to the
8341 tap-and-hold-setup signal instead.
8343 (hildon_time_editor_entry_keypress): add cast to fix warning.
8345 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8347 * doc/hildon-docs.sgml
8349 * examples/Makefile.am
8350 * examples/hildon-app-menu-example.c
8352 * src/hildon-app-menu-private.h
8353 * src/hildon-app-menu.c
8354 * src/hildon-app-menu.h
8356 New HildonAppMenu widget
8358 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8360 Rearranged the inheritance of the pannable area, now it inherits
8361 from GtkBin. This will allow us to control the event_window and
8362 the allocation process of the widget, required for some effects.
8364 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8365 GtkBin structures. * src/hildon-pannable-area.c: Added the
8366 event_window variable.
8367 (hildon_pannable_area_button_press_cb):
8368 (hildon_pannable_area_button_release_cb):
8369 (hildon_pannable_area_motion_notify_cb):
8370 Changed the signature of the method, now we override the event
8371 callback instead of connecting to the signal.
8373 (hildon_pannable_area_realize):
8374 (hildon_pannable_area_unrealize):
8375 (hildon_pannable_area_map):
8376 (hildon_pannable_area_unmap):
8377 (hildon_pannable_area_size_allocate):
8378 Added functions to control the widget construction. We add a
8379 INPUT_ONLY window and we put it over the widgets inside the
8380 container, this event_window handles the events.
8382 (hildon_pannable_area_class_init):
8383 Replaced the signal connections with overrides of the event
8386 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8388 Bouncing effect added when touching the borders, you can change
8389 the elasticity of the border changing the ELASTICITY define.
8391 * src/hildon-pannable-area.c: Added ELASTICITY define.
8392 (hildon_pannable_area_timeout): Added inverse velocity when
8393 touching the border of the child widget, that causes a bounce.
8395 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8397 Improved performance, we now do not go to the X server in order to
8398 get the list of window children. Apparently the effect is the
8399 same, we have to be careful and check if this breaks something in
8402 * src/hildon-pannable-area.c:
8403 (get_ordered_children): Removed this function.
8404 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8405 the children windows function with gdk_window_get_children.
8407 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8409 * src/hildon-pannable-area.c:
8410 (hildon_pannable_area_dispose): Fixed a crash when closing the
8411 window and kinetics is activated.
8413 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8415 * src/hildon-pannable-area.h
8416 * src/hildon-pannable-area.c
8417 Changed indentation style to meet the one used in Hildon
8419 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8421 Reviewed the interaction of the AUTO mode, now we use the time
8422 attribute of the events and calculate the velocity in the motion,
8423 doing a gimp like calculation. The velocity is calculated in each
8424 motion event using the last velocity and the current one, the
8425 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8427 * src/hildon-pannable-area.c: Replaced the time based algorithm
8429 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8430 timeout for the AUTO mode when we are still moving the cursor. We
8431 added also the velocity calculation in this function.
8432 (hildon_pannable_area_button_release_cb): launch the timeout in
8433 case we are in AUTO mode. There are still some constants here that
8434 come from the old implementation that should be reviewed and
8437 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8439 * doc/hildon-docs.sgml
8442 * src/hildon-stackable-window.c
8443 * src/hildon-stackable-window.h
8445 New HildonStackableWindow widget
8447 * examples/hildon-dialog-example.c
8448 * examples/hildon-pannable-area-example.c
8451 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8453 * src/hildon-dialog.c
8454 (hildon_dialog_new_with_buttons): New constructor.
8456 * examples/hildon-dialog-example.c
8457 (main): Update the example to use the new
8458 hildon_dialog_new_with_buttons().
8460 * examples/hildon-pannable-area-example.c
8461 (main): Update example.
8463 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8465 * doc/hildon-docs.sgml
8467 Added HildonPannableArea to the documentation.
8469 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8471 * doc/visual_index.xml
8472 Fix reference to HildonLoginDialog in documentation
8474 * doc/hildon-docs.sgml
8476 * examples/Makefile.am
8477 * examples/hildon-dialog-example.c
8479 * src/hildon-dialog.c
8480 * src/hildon-dialog.h
8482 New HildonDialog widget.
8484 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8486 * src/hildon-pannable-area.c
8487 Merge latest changes (r4318, r4342) from libmokoui trunk
8489 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8491 * examples/Makefile.am
8492 * examples/hildon-pannable-area-example.c
8494 * src/hildon-pannable-area.c
8495 * src/hildon-pannable-area.h
8497 New HildonPannableArea widget.
8499 2008-04-15 18:05:19 <timj@imendio.com>
8501 * src/hildon-banner.c: revert the recent change, that introduced
8502 gtk_window_present() calls. this reopens:
8503 Bug 78481 - [freetest] information banners are hidden under browser menu
8504 But resolves another variant of:
8505 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8507 2008-04-15 13:21:13 <timj@imendio.com>
8509 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8510 recreated its layout, spotted by Kris. this fixes all remaining
8511 artefacts and stability issues with the banner code. in particular:
8512 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8514 2008-04-14 16:52:59 <timj@imendio.com>
8516 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8517 operating on unrealized widgets, fixes:
8518 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8520 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8522 2008-04-09 Kristian Rietveld <kris@imendio.com>
8524 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8525 makes banner disappear.
8526 Fixes: NB#79182: info banner flickering with certain message lengts.
8528 * src/hildon-banner.c (hildon_banner_constructor),
8529 (hildon_banner_init), (hildon_banner_set_text),
8530 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8531 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8532 FALSE, reset size requests of label and banner,
8533 (force_to_wrap_truncated): when the text is too wide, always enforce
8534 the maximum possible width instead of recalculating it from the
8535 layout; enforce the maximum banner height of 3 lines,
8536 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8537 nicer wrapping and no truncated chars if space gets tight.
8539 * src/hildon-banner-private.h: add has_been_wrapped and
8540 has_been_truncated fields.
8542 2008-04-07 Sven Herzberg <sven@imendio.com>
8544 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8545 local values in hildon_date_editor_size_allocate
8547 * src/hildon-date-editor.c: moved the real allocation code into the
8550 2008-04-07 Sven Herzberg <sven@imendio.com>
8552 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8553 local values in hildon_date_editor_size_allocate
8555 * src/hildon-date-editor.c: merged the two if() branches together
8557 2008-04-07 Sven Herzberg <sven@imendio.com>
8559 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8560 local values in hildon_date_editor_size_allocate
8562 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
8571 from the real allocation
8573 2008-03-27 Michael Natterer <mitch@imendio.com>
8575 Fixes: NB#81696: The passcode is not overwritten even after
8578 * src/hildon-code-dialog.c
8579 (hildon_code_dialog_button_clicked)
8580 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8581 because that doesn't overwrite selected text. Instead, emit the
8582 "commit" signal on the entry's im_context so the entry's normal
8583 insert logic is triggered. Set the cursor to the end of the entry
8584 after each insert operation so that we *only* insert in the middle
8585 of the text if something was selected.
8587 2008-03-27 Michael Natterer <mitch@imendio.com>
8589 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8590 selector cannot be opened
8592 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8593 when the popup color selector is created. Please connect to this
8594 signal in order to set the dialog's help ID.
8596 2008-03-25 Sven Herzberg <sven@imendio.com>
8598 Fixes: MB#1212: Hide info banners (infoprints) on click
8600 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8601 extracted the close event simulation into an extra function
8602 (hildon_banner_button_press_event): simulate a close event and destroy
8603 the widget if the event wasn't handled
8604 (hildon_banner_class_init): added the button_press_event handler
8605 (hildon_banner_init): added button-press events to the widget
8607 2008-03-25 Sven Herzberg <sven@imendio.com>
8609 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8610 Patch from: Mohammad Anwari <mdamt@maemo.org>
8612 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8613 instead of the right in RTL mode
8614 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8615 breadcrumb button list in RTL mode
8616 * src/hildon-caption.c: mirror the appearance of the caption widget in
8618 * src/hildon-date-editor.c: mirror appearance of the date editor in
8620 * src/hildon-time-editor.c: mirror appearance of the time editor in
8622 * src/hildon-window.c: fix the position of the popup in RTL mode
8624 2008-03-25 Sven Herzberg <sven@imendio.com>
8626 Amendment to the fix of NB#22072. Fix compilation.
8628 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8630 2008-03-19 Sven Herzberg <sven@imendio.com>
8632 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8635 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8636 timeout id properly when the timeout will disappear this leaves no
8637 artifacts around in the destroy(); there will only be the timeout
8638 created by hildon_banner_ensure_timeout() and adding a new timeout
8639 will also work if the timeout gets removed because the timeout_handler
8642 2008-03-19 Michael Natterer <mitch@imendio.com>
8644 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8646 * src/hildon-volumebar.c
8647 * src/hildon-vvolumebar.c
8648 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8649 the widget becomes focussable at all.
8651 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8652 set the focus to wither the mute button or the volumebar.
8654 Remove own "can-focus" property and instead listen to
8655 notify::can-focus in order to update the widget's state.
8657 Implement GtkWidget::focus() and make sure we can also *leave* the
8658 widget, not only enter it, depending on volumebar orientation and
8659 requested focus direction.
8661 Clean up set_mute() to cooperate nicely with all the above.
8663 2008-03-04 Michael Natterer <mitch@imendio.com>
8665 Fixes: NB#78481: information banners are hidden under browser menu
8667 * src/hildon-banner.c: call gtk_window_present() on the banners so
8668 they are risen if they are already visible.
8670 2008-03-03 Sven Herzberg <sven@imendio.com>
8672 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8674 * examples/hildon-window-menu-example.c: (main): extended the window
8675 menu example to serve as a testcase for automatically added
8676 accelerator groups, too
8677 * src/hildon-window.c: (hildon_window_add_accel_group),
8678 (hildon_window_set_menu): added patch by Tommi Komulainen
8680 2008-03-03 Sven Herzberg <sven@imendio.com>
8682 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8684 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8685 knowledge about the border allocators used within GTK+
8687 2008-02-26 Sven Herzberg <sven@imendio.com>
8689 Fixes: MB#2981: Build with asserts broken
8691 * src/hildon-date-editor.c,
8692 * src/hildon-number-editor.c,
8693 * src/hildon-time-editor.c,
8694 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8695 the proper GType instance check
8697 2008-02-25 Sven Herzberg <sven@imendio.com>
8699 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8701 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8702 * examples/hildon-window-menu-example.c: (main): explicitly show
8704 * src/hildon-window.c:
8705 (hildon_window_set_main_menu): moved most of the code from set_menu()
8706 to this place; skipped the call to gtk_widget_show_all(); also didn't
8707 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8708 (hildon_window_set_menu): removed most of the code, just keep the
8709 questionable gtk_widget_show_all()
8710 * src/hildon-window.h: added the new function and deprecate the old
8713 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8719 * debian/changelog: Updating.
8721 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8724 * pkgconfig/Makefile.am:
8725 * pkgconfig/hildon.pc.in:
8728 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8729 use newly created API_MAJOR_VERSION.
8731 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8737 * debian/changelog: Updating.
8739 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8741 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8743 Add outer_border style property, we use it but don't define it (!).
8747 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8749 * examples/hildon-bread-crumb-trail-example.c (main):
8753 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8755 Fix logic for the bread crumb trail node removal.
8759 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8765 * debian/changelog: Updating.
8767 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8769 Patch by Alejandro to get/set passwords dialogs accesibility.
8771 * hildon-1/src/hildon-get-password-dialog.c:
8772 * hildon-1/src/hildon-set-password-dialog.c:
8773 Set atk_set_name to the passwd entries in order to allow
8774 accessibility by name on this entries.
8776 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * debian/control: Updating gtk dep.
8783 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8785 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8786 USE_MAEMO_GTK is enabled.
8788 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8790 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8791 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8793 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * debian/changelog: Updating.
8801 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8803 * examples/Makefile.am:
8804 * examples/hildon-logical-color-example.c:
8805 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8806 applied + adding a test case. Fixes: NB#71660.
8808 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8810 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8811 to be visible, fixes warning on map for windows without toolbars.
8813 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8815 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8816 2.11.0, add a check for that besides the MAEMO_GTK check.
8818 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8824 * debian/changelog: Updating.
8826 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8828 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8829 visibility. Fixes: NB#70842 and MB#615.
8831 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8833 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8834 set the separator as no-show-all so it doesn't unintentionally appear when
8835 someone does a show_all.
8837 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8839 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8840 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8841 toplevel item. Fixes: NB#62031
8843 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8845 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8846 fix the name of the function in the docs.
8848 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8854 * debian/changelog: Updating.
8856 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * examples/hildon-banner-long-example.c: Adding a test-case for long
8861 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8863 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * src/hildon-color-chooser-dialog.c:
8866 * src/hildon-color-chooser.c:
8867 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8868 memory leaks in font selector and color selector. Fixes: NB#70499 and
8871 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8873 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8875 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8878 little bit bigger. Fixes: #NB63694.
8880 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * debian/changelog: Updating.
8888 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8891 * doc/hildon-docs.sgml:
8892 * doc/images/bread-crumb-trail.png:
8893 * doc/images/calendar-popup.png:
8894 * doc/images/caption.png:
8895 * doc/images/code-dialog.png:
8896 * doc/images/color-button.png:
8897 * doc/images/color-chooser-dialog.png:
8898 * doc/images/color-chooser.png:
8899 * doc/images/controlbar.png:
8900 * doc/images/date-editor.png:
8901 * doc/images/font-selection-dialog.png:
8902 * doc/images/get-password-dialog.png:
8903 * doc/images/hvolumebar.png:
8904 * doc/images/login-dialog.png:
8905 * doc/images/note.png:
8906 * doc/images/number-editor.png:
8907 * doc/images/range-editor.png:
8908 * doc/images/seekbar.png:
8909 * doc/images/set-password-dialog.png:
8910 * doc/images/sort-dialog.png:
8911 * doc/images/time-editor.png:
8912 * doc/images/time-picker.png:
8913 * doc/images/vvolumebar.png:
8914 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8915 Adding the bread-crumb-trial and helpers to the documentation.
8917 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * examples/hildon-find-toolbar-example.c:
8920 * src/hildon-find-toolbar.c:
8921 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8922 actually continue firing the other handlers if connected. Adding a new
8924 hildon_find_toolbar_get_last_index that gets the index of the most
8925 recently added (last) item. Fixes: NB#52301.
8927 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8929 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8930 behaviour. Fixes: NB#68610.
8932 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8937 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8940 when realizing the banner. Should make the infonbanner effect a bit more
8943 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * src/hildon-volumebar.c:
8946 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8947 hildon_volumebar_set_range_insensitive_message and
8948 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8950 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * src/hildon-window.c: Fixing the border freeing on destroy.
8954 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * src/hildon-code-dialog-private.h:
8957 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8958 kw keyboard support in HildonCodeDialog.
8960 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8966 * debian/changelog: Updating.
8968 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-date-editor.c:
8971 * src/hildon-number-editor.c:
8972 * src/hildon-private.c:
8973 * src/hildon-private.h:
8974 * src/hildon-time-editor.c:
8975 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8976 handling in subclassed composite widgets. Fixes: NB#66628.
8978 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8981 from destroy_ callback as it introduces problems in async dbus signal
8982 handlers. Fixes NB#66673.
8984 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8986 * examples/hildon-hvolumebar-example.c:
8987 * src/hildon-volumebar.c: Improving the focus handling in the
8988 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8989 set_property accessor so that "mute" property can be actually set. I'm
8990 scared that nobody noticed it's totally broken.
8992 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8997 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * src/hildon-calendar.c:
9000 * src/hildon-number-editor.c:
9001 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9002 matches the spec of 6 chars per second. Fixes: NB#60489.
9004 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9006 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9007 gtk_style_lookup_color sometime returns FALSE even though color was
9008 found and values were filled properly. Weird. Removing the warning for the
9011 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9014 expand vertically. Adding some extra space to the find toolbar buttons to
9015 make them thumbable. Fixes NB#66060.
9017 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9020 popup with "Ok" and "Cancel". Fixes NB#59299.
9022 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9024 * src/hildon-calendar.c: Process all window updates before executing next
9025 timeout. Fixes: NB#54146.
9027 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9033 * debian/changelog: Updating.
9035 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9037 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9038 the client event and ignore it, since we use the delete event to close
9041 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9043 * src/hildon-helper.c: Remove the bogus warning about color not being
9044 found. Fixes NB#58352.
9046 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * examples/Makefile.am:
9049 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9050 HildonSeekbar widget inside a toolbar.
9052 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9054 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9055 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9056 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9057 don't want to be closed by non-temporary windows on map.
9059 Also use G_DEFINE_TYPE instead of manually typed code.
9061 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * debian/rules: Updating.
9070 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * examples/Makefile.am:
9073 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9074 bug NB#61128. Strangely it works.
9076 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 * src/hildon-date-editor.c: When the date editor entry has been changed
9079 but the numbers of characters < max, turn off the skip validation flag.
9080 Prevents a situation when we enter first a valid year and later re-write
9081 it with an invalid one. Fixes NB#60154.
9083 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9086 code dialog. Fixes NB#64355.
9088 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9091 switching the page. Fixes NB#49374.
9093 * examples/Makefile.am:
9094 * examples/hildon-wizard-dialog-example.c: Adding an example for
9095 HildonWizardDialog that shows how to handle manual sensitivity setting on
9098 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9102 * src/hildon-version.h.in:
9103 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9105 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * src/hildon-volumebar.c: Updating the docs.
9109 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9115 * debian/changelog: Updating.
9117 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * src/hildon-find-toolbar.c:
9120 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9121 selected item: hildon_find_toolbar_set_active,
9122 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9123 hildon_find_toolbar_get_active_iter . They correspond to respective
9124 GtkComboBox functions.
9126 * examples/Makefile.am:
9127 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9130 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * examples/Makefile.am:
9133 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9136 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9137 when font size > 32 and we pack a focusable widget inside. Actually using
9138 the default response would work too, but since we don't show default
9139 response state in any way (no theming) it would not be visible to the
9140 user. Fixes NB#63430.
9142 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * src/hildon-date-editor.c: Adding the missing variable setter in the
9145 set_property handler. Fixes NB#54182.
9147 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * src/hildon-window.h: Changing the long key press time from 1500ms to
9150 800ms as requested in NB#63700. I have a bad feeling about this, let's
9151 see... Fixes NB#63700.
9153 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9155 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9156 hildon_time_picker_map, hildon_time_picker_realize,
9157 hildon_time_picker_style_set): Split the contents of map to more
9158 appropriate functions; set window decorations on realize and update
9159 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9161 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9166 * debian/changelog: Updating.
9168 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9170 * src/Makefile.am: fixed installation of the header files
9172 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * debian/changelog: Updating.
9180 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * configure.ac: Removing some remaining of --enable-xan.
9184 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9186 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9187 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9189 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9190 2.10.12-osso6 because the move-focus signal needs to be available in
9193 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9195 * examples/Makefile.am:
9196 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9197 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9198 fine. Prolly NB#61128 is fixed now.
9200 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * src/hildon-volumebar.c:
9203 * src/hildon-volumebar.h: Adding the
9204 hildon_volumebar_set_range_insensitive_message and
9205 hildon_volumebar_set_range_insensitive_messagef functions to set
9206 insensitive message on the slider of the volumebar. Fixes NB#61129.
9208 * examples/Makefile.am:
9209 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9210 test the new insensitive messsage functionality on HildonVolumebar.
9212 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9214 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9217 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9219 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9220 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9221 button on after clearing the trail.
9223 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9225 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9227 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9229 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9230 by splitting the installed headers in generated and non-generated groups. Use
9231 only the non-generated headers to create the hildon-enum-types.h file.
9233 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9235 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9237 * src/hildon-window.c: Hide the window before performing the destroy.
9238 Should make the app closing a little tiny bit more snappy.
9240 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9242 * src/hildon-seekbar.c: add gtkrange.h header
9243 * src/hildon-caption.c: remove unused variable
9245 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9247 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9250 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9256 * debian/changelog: Updating.
9258 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9260 * src/hildon-window.c (hildon_window_window_state_event,
9261 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9262 escape timeout on focus-out-event rather than notify::is-topmost; the
9263 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9265 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9267 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9268 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9270 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9272 * src/hildon-window: actually, you need to use the macro always, there's
9273 no private pointer in the instance structure. We should have cleaned this up
9274 when we had the chance...
9276 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9278 * src/hildon-window.c: do not get the private date from HildonWindow before
9279 it passes the g_return_if_fail check. Once it's passed the test, there's no
9280 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9281 if you are only going to access the data once. Whitespace cleanups.
9283 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9285 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9286 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9288 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * debian/changelog: Updating.
9296 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9298 * src/hildon-window.c: When destroying the window, remove (if exists) the
9299 escape timeout handler. Fixes #NB59276.
9301 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * src/hildon-banner.c: When realizing the widget, set the window
9304 transiency. Setting the transiency in the gobject constructor is not
9305 good, as the widget is not realized at that point. Fixes: #NB56624.
9307 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9309 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9310 Add padding for future expansions.
9312 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9314 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9315 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9316 will fake an activation on the previous to the last item of the trail, so
9317 the effect can be overrided by the developer as usual.
9318 Also change the callback for the back button to do the same thing, so its
9319 effect can be overrided too. Fixes: NB#58982
9321 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9323 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9324 HildonCaption. Fixes NB#52379.
9326 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9328 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9329 the internal state of the trail after the user has had the chance of executing
9330 his handler for the signal. Specifically, it may happen that the activated button
9331 is removed and the user still lets the default handler run. This would segfault
9334 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9337 scrollbar to the preview dialog. Fixes NB#54147.
9339 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9342 max/min year properties can be altered, so the client can modify it
9343 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9345 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9347 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9348 hildonlike by default. Fixing a problem with disappearing arrows when
9349 scrolling through months and years. Fixes NB#54127.
9351 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9353 * examples/hildon-date-editor-example.c: Adding error callback to the date
9356 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9362 * configure.ac: Updating.
9364 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * configure.ac: Adding a special '--enable-xan' configure option that
9367 turns off the -Werror compilation setting. Usefull for development.
9369 * src/hildon-calendar.c:
9370 * src/hildon-number-editor.c:
9371 * src/hildon-time-picker.c: Adding the 5* multiplier to
9374 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9376 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9377 instead of g_object_ref + gtk_object_sink.
9379 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9385 * debian/changelog: Updating.
9387 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * src/hildon-color-chooser-dialog.c:
9390 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9391 straight from Tommi labs.
9393 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9395 * examples/hildon-finger-example.c: Correcting the header file path.
9397 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9398 the changed signal. Fixes a small memory leak.
9400 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9404 * src/hildon-banner.c: Importing several usefull fixes from the
9405 ubuntu-mobile branch.
9407 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9409 * examples/Makefile.am:
9410 * examples/hildon-finger-example.c: Adding a finger-checking code
9413 * src/hildon-font-selection-dialog.c: Do not allocate the color
9414 structure using the g_new. Fixes NB#54061.
9416 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9418 * src/hildon-helper.c: Correcting tabs in file.
9420 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9422 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9423 control the visibility of the children.
9425 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9427 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9433 * debian/changelog: Updating.
9435 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9437 * src/hildon-bread-crumb-trail.c:
9438 (hildon_bread_crumb_trail_size_allocate):
9440 Make the back button always a square.
9442 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9444 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9445 from the .c file as it's a private file.
9447 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9450 uses slightly bigger height.
9452 * src/hildon-font-selection-dialog.c: Adding some checks before
9453 freeing memory in the font selection dialog.
9455 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * src/hildon-font-selection-dialog.c: Adding a small check when
9460 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9461 buttons sensitivity on page switching.
9463 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9465 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9466 internal details of adding a bread crumb to the trail.
9468 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9474 * debian/changelog: Updating.
9476 * src/hildon-bread-crumb-trail.h:
9477 * src/hildon-bread-crumb.h: Changing the API guard to
9478 HILDON_ENABLE_UNSTABLE_API.
9480 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9488 * src/hildon-helper.h: Updating.
9490 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9498 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9502 * src/hildon-helper.h: Small fix to make the package actually compile.
9504 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9506 * src/hildon-bread-crumb-trail.h:
9507 * src/hildon-bread-crumb.h:
9509 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9510 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9512 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9514 * examples/hildon-bread-crumb-trail-example.c:
9516 * src/hildon-bread-crumb-trail.c:
9517 * src/hildon-bread-crumb-trail.h:
9518 * src/hildon-bread-crumb.c:
9519 * src/hildon-bread-crumb.h:
9520 * src/hildon-marshalers.list:
9521 * src/hildon-bread-crumb-widget.c:
9522 * src/hildon-bread-crumb-widget.h:
9524 Slight change in the widget design. The bread crumb trail API is
9525 unchanged, but HildonBreadCrumb is now an interface. A *private*
9526 implementation, hildon-bread-crumb-widget, is provided and used
9527 internally by the trail for the push_text/push_icon functions.
9529 The generic push API is still available, so anyone can implement
9530 and use its own bread crumb widget.
9532 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9534 * debian/rules: Fixing the shlibs.
9536 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9538 * src/hildon-banner.c: Fixing a problem with timed banners having
9539 their parrent destroyed before they are.
9541 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9543 * src/hildon-bread-crumb.c:
9544 * src/hildon-bread-crumb.h:
9546 Make the get_natural_size function a vfunc.
9548 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9550 * src/hildon-bread-crumb.c:
9551 * src/hildon-bread-crumb-trail.c:
9555 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9562 * debian/changelog: Updating for release.
9564 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9566 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9567 don't leak the pango layout.
9569 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9572 * examples/hildon-bread-crumb-trail-example.c:
9576 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9578 * debian/changelog: Removing the bug-fixed entries that were actually
9579 resolved as WONTFIX.
9581 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9584 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9586 * src/hildon-bread-crumb-trail.c:
9587 * src/hildon-bread-crumb-trail.h:
9588 * src/hildon-bread-crumb.c:
9589 * src/hildon-bread-crumb.h:
9593 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9595 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9596 until it's passed the type check.
9598 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9600 * examples/hildon-bread-crumb-trail-example.c
9604 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9606 * examples/Makefile.am
9607 * examples/hildon-bread-crumb-trail-example.c
9609 * src/hildon-bread-crumb-trail.c
9610 * src/hildon-bread-crumb-trail.h
9611 * src/hildon-bread-crumb.c
9612 * src/hildon-bread-crumb.h
9614 New HildonBreadCrumbTrail widget.
9616 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9618 * src/hildon-range-editor.c (hildon_range_editor_init),
9619 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9620 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9621 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9622 hildon_time_editor_class_init, hildon_time_editor_init),
9623 src/hildon-get-password-dialog.c (invalid_input,
9624 hildon_get_password_set_property, hildon_get_password_get_property,
9625 create_contents, hildon_get_password_dialog_set_max_characters),
9626 src/hildon-set-password-dialog.c (create_contents),
9627 src/hildon-date-editor.c (hildon_date_editor_init),
9628 src/hildon-login-dialog.c (hildon_login_dialog_init),
9629 src/hildon-number-editor.c (hildon_number_editor_init),
9630 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9631 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9632 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9633 configure option and adding the respective checks in the code.
9634 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9635 hildon_calendar_drag_data_received): fixed some build warnings.
9637 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9639 * debian/changelog: A 1.0.0 release notes.