1 2009-09-10 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-touch-selector.c:
6 Fixes: MB#5104 (HildonTouchSelector docs should say no
7 HildonPannableArea is necessary)
9 2009-09-08 Alejandro G. Castro <alex@igalia.com>
11 * hildon/hildon-pannable-area.c,
12 (hildon_pannable_area_timeout): Fixed problem with the timeout
13 function, we need to move before decelerating the first time or we
14 are loosing the first jump.
16 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
18 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
20 [2.2.0 Release Candidate 3]
22 * debian/changelog: updates
24 2009-09-07 Alejandro G. Castro <alex@igalia.com>
26 * hildon/hildon-pannable-area.c,
27 (hildon_pannable_area_class_init): Increased max speed.
29 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
31 [2.2.0 Release Candidate 2]
34 * debian/changelog: bump version, updates
36 2009-09-07 Alejandro G. Castro <alex@igalia.com>
38 * hildon/hildon-pannable-area.c,
39 (hildon_pannable_area_class_init),
40 (hildon_pannable_area_button_release_cb): More tuning for the
43 2009-09-07 Alejandro G. Castro <alex@igalia.com>
45 * hildon/hildon-pannable-area.c,
46 (hildon_pannable_area_class_init):
47 Change the default value of the scrollbar_fade_delay.
49 Fixes: NB#127018 (Panning indicator fades out too slowly)
51 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
53 [2.2.0 Release Candidate 1]
56 * configure.ac: Bump version
57 * debian/changelog: updates
59 2009-09-04 Alejandro G. Castro <alex@igalia.com>
61 * hildon/hildon-pannable-area.c,
62 (hildon_pannable_area_init),
63 (hildon_pannable_area_button_press_cb),
64 (hildon_pannable_area_button_release_cb): Added a new acceleration
65 system to help traversing big lists, tuned the stop threshold.
67 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
69 2009-09-04 Alberto Garcia <agarcia@igalia.com>
71 * hildon/hildon-window.h:
72 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
74 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
76 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
80 * configure.ac: bump version
82 * debian/changelog: updates
84 2009-09-04 Alberto Garcia <agarcia@igalia.com>
86 * hildon/hildon-entry.c
87 * hildon/hildon-text-view.c:
90 2009-09-04 Alberto Garcia <agarcia@igalia.com>
92 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
93 Redraw menu when the number of items change.
95 Fixes: NB#131911 (Appmenu does not resize properly, when number of
98 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
100 * hildon/hildon-pannable-area.c:
101 (hildon_pannable_area_launch_fade_timeout),
102 (hildon_pannable_area_motion_event_scroll),
103 (hildon_pannable_area_check_move),
104 (hildon_pannable_area_button_release_cb),
105 (hildon_pannable_area_scroll_to):
107 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
108 area drawing operations, since this is the recommended for drawing
111 Fixes: NB#110894 (In event view containing very large description
112 field, application menu is displayed blank while panning)
113 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
116 2009-09-03 Alberto Garcia <agarcia@igalia.com>
118 * doc/hildon-sections.txt
119 * hildon/hildon-button.c
120 * hildon/hildon-edit-toolbar.c
121 * hildon/hildon-gtk.[ch]
122 * hildon/hildon-main.c
123 * hildon/hildon-program.c
124 * hildon/hildon-stackable-window.c:
125 Documentation updates
127 2009-08-28 Alberto Garcia <agarcia@igalia.com>
129 * hildon/hildon-app-menu.c
130 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
131 Close the menu if it receives a grab-notify signal.
133 Fixes: NB#134533 (UI freezes if we show a dialog with
134 gtk_dialog_run() while a menu is opened)
136 2009-08-27 Alejandro G. Castro <alex@igalia.com>
138 * hildon/hildon-pannable-area.c,
139 (hildon_pannable_area_class_init): Reverted tuning modifications:
140 "Pannign needs to be faster" and "Pannable kinetics in large lists
143 2009-08-26 Alberto Garcia <agarcia@igalia.com>
145 * hildon/hildon-sound.c (hildon_play_system_sound):
146 Set "module-stream-restore.id" to "x-maemo-system-sound" when
147 playing system sounds
149 Fixes: NB#133767 (Information and confirmation note sound should
150 follow system profile setting)
152 2009-08-26 Alejandro G. Castro <alex@igalia.com>
154 * hildon/hildon-pannable-area.c,
155 (hildon_pannable_area_class_init): Added more force and increased
156 the max speed threshold.
158 Fixes: NB#135344 (Pannign needs to be faster)
160 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
162 [Release 2.1.96, this time for real]
165 * debian/changelog: updates
167 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
169 * hildon/hildon-pannable-area.c
170 (hildon_pannable_area_get_topmost): change the computation of the
171 co-ordinates transformed when no one of the children is a topmost
173 Fixes: NB#133252 (Opening any feed item from RSS always opens the
174 first feed item in browser)
176 2009-08-26 Alejandro G. Castro <alex@igalia.com>
178 * hildon/hildon-pannable-area.c,
179 (hildon_pannable_area_remove_timeouts): Adding this new function
180 with the code that removes the timeouts of the widget.
181 (hildon_pannable_area_dispose),
182 (hildon_pannable_area_unrealize): Use the new remove function to
183 stop timeouts when unrealizing and disposing.
184 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
185 calculation to avoid negative values in some cases.
187 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
189 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
191 * examples/hildon-check-button-example.c: (button_toggled_cb):
192 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
193 (hildon_check_button_set_active), (hildon_check_button_new),
194 (hildon_check_button_clicked), (hildon_check_button_class_init):
195 * hildon/hildon-check-button.h:
196 * hildon/hildon-set-password-dialog.c: (create_contents),
197 (hildon_set_password_response_change), (hildon_checkbox_toggled):
199 Revert "Make HildonCheckButton derive from GtkToggleButton"
201 2009-08-21 Alberto Garcia <agarcia@igalia.com>
205 * configure.ac: bump version
207 * debian/changelog: updates
209 2009-08-21 Alberto Garcia <agarcia@igalia.com>
211 * hildon/hildon-check-button.h
212 * hildon/hildon-check-button.c
213 (hildon_check_button_clicked, hildon_check_button_class_init):
214 Make HildonCheckButton derive from GtkToggleButton
215 (hildon_check_button_toggled, hildon_check_button_set_active)
216 (hildon_check_button_get_active):
217 Deprecate unnecessary HildonCheckButton API and use the
218 one from GtkToggleButton instead.
220 * hildon/hildon-set-password-dialog.c (create_contents)
221 (hildon_set_password_response_change, hildon_checkbox_toggled)
222 * examples/hildon-check-button-example.c (button_toggled_cb):
223 Update to use the GtkToggleButton API
225 Fixes: MB#4739 (HildonCheckButton should inherit from
228 Fixes: NB#132661 (HildonCheckButton should inherit from
231 2009-08-20 Alberto Garcia <agarcia@igalia.com>
233 * hildon/hildon-pannable-area.c
234 (hildon_pannable_area_class_init):
235 Increase default value of HildonPannableArea:velocity_max to 2000
237 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
239 2009-08-18 Alberto Garcia <agarcia@igalia.com>
243 * configure.ac: bump version
245 * debian/changelog: updates
247 2009-08-11 Alejandro G. Castro <alex@igalia.com>
249 * hildon/hildon-pannable-area.c
250 (hildon_pannable_area_size_allocate): Checked the scrollbars
251 before the first try when defining the layout, avoids two
252 allocations in some situations.
254 Fixes: NB#131794 (pannable area produces unnecessary allocations
255 causing performance problems)
257 2009-08-11 Alejandro G. Castro <alex@igalia.com>
259 * hildon/hildon-pannable-area.c
260 (hildon_pannable_area_button_press_cb),
261 (hildon_pannable_area_motion_notify_cb),
262 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
263 the spurious ref added in the copy, fixes leak of window.
265 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
266 if it's realized without showing and then deleted)
268 2009-08-10 Alberto Garcia <agarcia@igalia.com>
272 * configure.ac: bump version
274 * debian/changelog: updates
276 2009-08-06 Alberto Garcia <agarcia@igalia.com>
278 * examples/hildon-hvolumebar-timer-example.c
280 * hildon/hildon-banner.c
281 (hildon_banner_timeout, hildon_banner_ensure_timeout)
282 * hildon/hildon-calendar.c
283 (calendar_timer, start_spinning)
284 * hildon/hildon-color-chooser.c
285 (inline_limited_expose)
286 * hildon/hildon-date-editor.c
287 (hildon_date_editor_entry_focus_in)
288 (hildon_date_editor_entry_validate)
289 (hildon_date_editor_entry_select_all)
290 * hildon/hildon-note.c
292 * hildon/hildon-number-editor.c
293 (hildon_number_editor_button_pressed)
294 (hildon_number_editor_start_timer, do_mouse_timeout),
295 (add_select_all_idle, hildon_number_editor_select_all)
296 * hildon/hildon-time-editor.c
297 (hildon_time_editor_entry_focus_in)
298 (highlight_callback, hildon_time_editor_validate)
299 (hildon_time_editor_entry_select_all)
300 * hildon/hildon-time-picker.c
301 (hildon_time_picker_arrow_press)
302 (hildon_time_picker_key_repeat_timeout)
303 * hildon/hildon-window.c
304 (hildon_window_key_press_event)
305 (hildon_window_escape_timeout):
306 Replace all calls to g_idle_add/g_timeout_add with their
307 gdk_threads counterparts.
309 Fixes: NB#126198 (gdk-threads API should be used to install idle
310 and timeout handlers)
312 2009-08-06 Alejandro G. Castro <alex@igalia.com>
314 * hildon/hildon-pannable-area.c,
315 (hildon_pannable_area_class_init): Increased the overshooting max
316 speed to get a faster effect.
317 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
318 deceleration of the overshooting
319 (hildon_pannable_area_button_release_cb): Calculate initial
320 overshooting speed when finger on the screen using the distance to
321 launch the effect faster.
323 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
324 lists with slow row renderers)
326 2009-08-05 Alberto Garcia <agarcia@igalia.com>
328 * doc/hildon-sections.txt: Add new functions
330 2009-08-05 Alberto Garcia <agarcia@igalia.com>
332 * hildon/hildon-text-view.[ch]
333 * hildon/hildon-entry.[ch]:
334 Add deprecation guards around deprecated functions.
336 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
338 * hildon/hildon-app-menu.c: Remove leftover function declaration.
340 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
342 Remove the grab from HildonAppMenu
344 * hildon/hildon-app-menu.c:
345 Now hildon-desktop places a blocker window behind the menu to handle
346 its closing, so the grab is no longer needed. This simplifies its
347 implementation and allows the system blanking to succeed.
349 Fixes: NB#130910 (Screen gets unlocked when menu is open)
351 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
355 * configure.ac: bump version
357 * debian/changelog: updates
358 * debian/control: raise debian dependency on GTK+
360 2009-08-04 Alberto Garcia <agarcia@igalia.com>
362 * hildon/hildon-text-view.c
363 * hildon/hildon-entry.c:
364 Remove all placeholder code from HildonEntry and HildonTextView
365 and use the API in GtkEntry and GtkTextView instead.
367 * examples/hildon-entry-example.c
368 * examples/hildon-text-view-example.c
369 * examples/hildon-wizard-dialog-example.c
370 * hildon/hildon-get-password-dialog.c
371 * hildon/hildon-login-dialog.c
372 * hildon/hildon-picker-dialog.c
373 * hildon/hildon-set-password-dialog.c
374 * hildon/hildon-touch-selector-entry.c:
375 Replace all deprecated calls to HildonEntry and HildonTextView
376 with their Gtk counterparts.
378 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
381 2009-08-03 Alejandro G. Castro <alex@igalia.com>
383 * hildon/hildon-pannable-area.c,
384 (hildon_pannable_area_check_move),
385 (hildon_pannable_area_button_release_cb),
386 (hildon_pannable_area_scroll_to): Reverted the priority change of
387 the timeout, in some situations, slow renderers, the click do not
388 make it to the mainloop on time.
390 Fixes NB#131013 (unable to stop panning file manager by tapping on
393 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
395 * configure.ac: bump version
397 * debian/changelog: updates
399 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
401 * hildon/hildon-touch-selector.[ch]
402 (hildon_touch_selector_center_on_index): New method that allows to center
403 on a item not selected
405 Fixes NB#130291 (New HildonTouchSelector API is required to center on
408 2009-07-29 Alberto Garcia <agarcia@igalia.com>
410 * hildon/hildon-text-view.c
411 (+set_logical_color, +hildon_text_view_style_set)
412 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
413 (hildon_text_view_init)
414 * hildon/hildon-entry.c
415 (+set_logical_color, +hildon_entry_style_set)
416 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
417 (hildon_entry_class_init, hildon_entry_init)
418 * hildon/hildon-button.c
419 (+set_logical_font, +set_logical_color)
420 (hildon_button_style_set, hildon_button_init)
421 (hildon_button_set_arrangement, hildon_button_set_style):
422 Remove all calls to hildon_helper_set_logical_font() and
423 hildon_helper_set_logical_color(), which are recursive, from
426 Fixes: NB#123409 (Showing dialog consumes significant amount of
429 2009-07-29 Alejandro G. Castro <alex@igalia.com>
431 * hildon/hildon-pannable-area.c,
432 (hildon_pannable_area_timeout): Added the process updates of the
433 scrollbars window in the pannable.
435 Fixes: NB#130043 (scrollindicator not smooth while panning)
437 2009-07-23 Alejandro G. Castro <alex@igalia.com>
439 * hildon/hildon-pannable-area.c,
440 (hildon_pannable_area_check_move),
441 (hildon_pannable_area_button_release_cb),
442 (hildon_pannable_area_scroll_to): Increased the priority of the
443 timeout this way it is going to be handled before the events.
445 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
449 * configure.ac: bump version
450 * debian/changelog: updates
452 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
454 * hildon/hildon-entry.c: (set_property): Do not allow to set
455 automatic height and use finger height instead, to prevent an to
456 have a smaller size than than its theme pixbuf.
458 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
460 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: postrelease version bump.
463 * debian/changelog: post release version bump
465 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
470 * configure.ac: Bump version.
471 * debian/changelog: Updates.
473 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
475 * hildon/hildon-note.c: (label_size_request): Take the note
476 padding into account when setting the size request.
478 Fixes: NB#127896 (Information notes text truncated)
480 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
482 * configure.ac: postrelease version bump.
483 * debian/changelog: post release version bump
485 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
490 * configure.ac: Bump version.
491 * debian/changelog: Updates.
493 2009-07-16 Alejandro G. Castro <alex@igalia.com>
496 * hildon/hildon-text-view.c,
497 (hildon_text_view_button_press_event): Grabbed the focus in button
498 press, this way we are sure the widget has the focus in the
499 release event, required for HIM.
501 Fixes: NB#121445 (Virtual keyboard opening is not working in same
502 way for each text entry field)
504 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
506 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
507 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
508 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
509 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
510 (hildon_pannable_area_[gs]et_center_on_child_focus)
511 Redefined GtkContainer set-focus-child signal, in order to center
512 properly on a child when it receives the focus. Defined a new property
513 "center-on-child-focus" in order to activate this feature (deactivated
514 by default). Public get/set methods defined to manage the property.
516 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
518 2009-07-14 László Pere <lpere@blumsoft.eu>
520 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
521 the new size is applied.
523 Fixes: NB#124510 (The Application Menu is distorted when switched
524 between portrait and landscape mode)
525 Fixes: NB#115388 (Power key menu does not resize itself)
527 2009-07-01 Alberto Garcia <agarcia@igalia.com>
529 * hildon/hildon-banner.c (hildon_banner_map):
530 Set banner position after mapping.
532 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
534 * configure.ac: postrelease version bump.
535 * debian/changelog: post release version bump
537 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
542 * configure.ac: Bump version.
543 * debian/changelog: Updates.
545 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
547 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
550 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
552 * tests/check-hildon-banner.c
554 * tests/test_suites.h
555 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
556 were testing deprecated functions.
557 * examples/hildon-banner-example.c: typo on button3 type, that causes
558 a fail compiling with --with-examples but without --disable-deprecated
560 Missed commit in order to fix compilation using '--enable-fatal' and
561 '--disable-deprecated' (see previous commit)
563 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
565 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
566 functions with #ifndef HILDON_DISABLE_DEPRECATED
567 * examples/hildon-find-toolbar.c: Protect deprecated
568 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
569 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
570 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
571 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
573 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
574 to allow proper compilation of deprecated functions defined on the header
576 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
578 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
580 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
581 Cache the panning indicator color.,
582 (hildon_pannable_area_style_set): Query the color on style changes.
583 (hildon_pannable_draw_vscroll),
584 (hildon_pannable_draw_hscroll),
585 (hildon_pannable_area_expose_event): Use the cached panning indicator
586 color instead of looking it up on every expose and more.
588 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
590 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
591 (hildon_pannable_draw_hscroll),
592 (hildon_pannable_area_expose_event): Fix the panning indicator color,
593 so that it's "SecondaryTextColor", as desired.
595 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
597 * hildon/hildon-picker-dialog.c:
598 (selection_completed): take into account HILDON_UI_MODE_NORMAL
599 * hildon/hildon-touch-selector.c
600 (hildon_touch_selector_init): Initialize hildon-ui-mode
601 (hildon_touch_selector_row_activated): new callback for the
602 "row-activated" signal, in order to save the last activated
603 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
604 if the current hildon-ui-mode is coherent with the touch selector
605 (hildon_touch_selector_class_init)
606 (hildon_touch_selector_get_property)
607 (hildon_touch_selector_set_property)
608 Added "hildon-ui-mode" property
609 (disconnect_model_handlers): renamed to clean_column
610 (hildon_touch_selector_remove): use clean_column function
611 (_create_new_column): use the hildon-ui-mode to create the treeview, and
612 only select the first element on HILDON_UI_MODE_EDIT
613 (hildon_touch_selector_column_init): Initialize last_activate
614 (hildon_touch_selector_append_column): check that the touch selector
615 is coherent with the current hildon-ui-mode
616 (hildon_touch_selector_get_hildon_ui_mode)
617 (hildon_touch_selector_set_hildon_ui_mode)
618 Added a getter/setter for the hildon-ui-mode property
619 (hildon_touch_selector_get_last_activated_row): Added this method in
620 order to get the last activated row.
621 * examples/hildon-touch-selector-normal-mode-example.c
622 New example, that shows how to use the HildonTouchSelector in
623 HILDON_UI_MODE_NORMAL
625 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
626 Kristian Rietveld <kris@lanedo.com> advices
628 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
630 * hildon/hildon-time-selector.c: (update_format_policy): Do
631 not call update_format_dependant_columns() if not necessary.
632 (update_format_dependant_columns): Remove unnecessary check for
633 the number of columns.
635 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
637 * hildon/hildon-note.c (+hildon_note_constructor),
638 (hildon_note_class_init), (+hildon_note_set_padding),
639 (hildon_note_rebuild): Install a constructor where to set the
640 padding properties in the note, so that it actually works fine.
641 Use hildon_note_set_padding() for this, and also to set it during
644 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
646 * configure.ac: Bump GTK+ requirement to 2.14.3.
647 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
648 when using maemo-gtk to define proper margins for the notes.
650 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
651 with the dialog edge)
653 2009-06-24 Alberto Garcia <agarcia@igalia.com>
655 * hildon/hildon-banner.c
656 (hildon_banner_class_init):
658 (+hildon_banner_size_request):
659 Request always the full width of the screen.
660 (hildon_banner_realize)
661 (-hildon_banner_check_position, hildon_banner_map):
662 hildon_banner_check_position() is not needed in Hildon 2.2.
663 (-hildon_banner_reset_wrap_state)
664 (hildon_banner_constructor, hildon_banner_init):
665 Remove unnecessary calls to hildon_banner_reset_wrap_state()
666 (+banner_do_set_text)
667 (force_to_wrap_truncated):
668 Remove has_been_wrapped and has_been_truncated attributes.
669 (+reshow_banner, hildon_banner_real_show_information)
670 (hildon_banner_show_information_with_markup)
671 (hildon_banner_show_animation, hildon_banner_show_progress)
672 (hildon_banner_set_text, hildon_banner_set_markup):
673 Refactor code. Shrink banner vertically to use the minimum space
674 necessary everytime the text of the label is updated.
675 (screen_size_changed):
676 Call force_to_wrap_truncated() when the size of the screen
679 Fixes: NB#120500 (only device memory connect mmc in use info
680 banner is left aligned)
682 Fixes: NB#120613 (Size of HildonBanner varies depending on
683 previously opened banners)
685 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
687 * hildon/hildon-color-chooser.c
688 (hildon_color_chooser_pointer_motion): Take the widget allocation
691 Fixes: NB#124385 (Unable to select exact point in color mixing box
692 in color palette dialog)
694 2009-06-23 Alejandro G. Castro <alex@igalia.com>
696 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
697 (hildon_pannable_area_dispose)
698 (hildon_pannable_area_button_press_cb)
699 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
700 (hildon_pannable_area_button_release_cb)
701 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
702 New 'panning-started' and 'panning-finished' signals.
704 Fixes: NB#121732 (New feature request: Signal to pannable area
705 that informs when panning is stopped.)
707 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
709 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
710 instead of hardcoded colon.
712 Fixes: NB#124090 (New calendar wizard title is not using
713 ecdg_ti_caption_separator)
715 2009-06-22 David King <davidk@openismus.com>
717 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
718 constants and functions, as well as correct many typos throughout the
721 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
724 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
726 * configure.ac: postrelease version bump.
727 * debian/changelog: post release version bump
729 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
734 * configure.ac: Bump version.
735 * debian/changelog: Updates.
737 2009-06-18 Alberto Garcia <agarcia@igalia.com>
739 * hildon/hildon-window-stack.c
740 (hildon_window_stack_pop_and_push_list):
741 Prevent windows from having the same stack index
743 2009-06-18 Alberto Garcia <agarcia@igalia.com>
745 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
746 Use the index of the previous window rather than the stack length
747 to calculate the new index.
751 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
753 * hildon/hildon-date-selector.c
754 (hildon_date_selector_select_current_date)
755 (hildon_date_selector_get_date)
756 (hildon_date_selector_select_day):
757 Update the documentation: uses always the range (1-31), as it is obvious
758 that the final one will depend on the month and the year, but globally
759 the range is this, in a similar GtkCalendar approach
760 (hildon_date_selector_get_date):
761 Update the documentation: add NULL as a valid value for the day, month
764 Fix some details, after talk with David King on bug MB#4698
766 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
768 * hildon/hildon-touch-selector-entry.c
769 * hildon/hildon-touch-selector.c
770 Update the documentation of the "text-column" property
772 2009-06-18 David King <davidk@openismus.com>
774 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
775 several typos and errors throughout the documentation.
777 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
780 2009-06-18 Alberto Garcia <agarcia@igalia.com>
782 * hildon/hildon-note.c (hildon_note_realize):
783 Make HildonNote support portrait mode.
785 Fixes: NB#123448 (HildonNote is not portrait-friendly)
787 2009-06-17 Alberto Garcia <agarcia@igalia.com>
789 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
790 Document this function
792 2009-06-17 David King <davidk@openismus.com>
794 * hildon/hildon-date-selector.c
795 (hildon_date_selector_select_current_date)
796 (hildon_date_selector_get_date): Update documentation regarding days,
797 as the day of the month is dependent on both the month and the year.
798 (hildon_date_selector_get_date): Fix documentation of output arguments.
800 Fixes: MB#4698 (DateSelector documentation has bad output argument
801 description, and the day depends on both the month and the year)
803 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
805 * hildon/hildon-caption.c: Other documentation fixes to
808 2009-06-17 David King <davidk@openismus.com>
810 * hildon/hildon-caption.c: Minor documentation updates for
811 HildonCaption. Fixes MB#4697.
813 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
815 * doc/hildon-docs.sgml: Add hildon-version section.
816 * doc/hildon-sections.txt:
817 * hildon/hildon-version.h.in: Document versioning macros and
820 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
822 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
823 from HildonPickerDialog section.
825 2009-06-16 Alberto Garcia <agarcia@igalia.com>
827 * hildon/hildon-banner.c (hildon_banner_bind_style)
828 (screen_size_changed, hildon_banner_init)
829 (hildon_banner_real_show_information)
830 (hildon_banner_show_information_with_markup)
831 (hildon_banner_show_animation, hildon_banner_show_progress):
832 Set a different widget name to banners in portrait mode, for them
833 to be themed correctly.
835 2009-06-16 Alberto Garcia <agarcia@igalia.com>
837 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
838 Set a different widget name to notes in portrait mode, for them to
841 Partially fixes: NB#118401 (HildonNote causes unnecessary
844 2009-06-16 Alberto Garcia <agarcia@igalia.com>
846 * hildon/hildon-note.c (hildon_note_class_init)
847 (+hildon_note_size_request, screen_size_changed):
848 Always request the full width of the screen.
850 Fixes: NB#118375 (unnecessary rescaling of images)
852 2009-06-16 Alejandro G. Castro <alex@igalia.com>
854 * hildon/hildon-pannable-area.c,
855 (hildon_pannable_area_init),
856 (hildon_pannable_area_realize): Replaced old code adding flags in
857 the object init, now we add it with the other flags in the realize
860 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
862 * hildon/hildon-note.c: (hildon_note_class_init): Several
863 documentation improvements to the HildonNote widget.
865 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
867 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
869 Fixes: MB#4556 (HildonNoteType is undocumented)
871 2009-06-15 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-picker-button.c:
874 Explain how HildonPickerButton sets the title of its dialog
876 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
877 the title of its dialog)
879 2009-06-15 Alberto Garcia <agarcia@igalia.com>
881 * hildon/hildon-check-button.c:
882 Documentation updates
884 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
887 2009-06-15 Alberto Garcia <agarcia@igalia.com>
890 * hildon/hildon-edit-toolbar-private.h
891 * hildon/hildon-edit-toolbar.c
892 (+hildon_edit_toolbar_set_progress_indicator)
893 (hildon_edit_toolbar_init): Add progress indicator to the
896 * hildon/hildon-gtk.c
897 (hildon_gtk_window_set_progress_indicator):
898 If the window contains a HildonEditToolbar, enable the progress
901 * hildon/hildon-private.h
902 * hildon/hildon-private.c
903 (+hildon_private_create_animation)
904 * hildon/hildon-banner.c
905 (-hildon_banner_create_animation):
906 Moved to hildon-private.c
908 Fixes: NB#102373 (Progress indicator also for the Edit mode
911 2009-06-15 Alberto Garcia <agarcia@igalia.com>
913 * hildon/hildon-app-menu-private.h
914 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
915 (hildon_app_menu_add_filter, +menu_item_button_event)
916 (hildon_app_menu_button_release, hildon_app_menu_init):
917 Make sure that buttons receive 'button-release-event' in spite of
918 the grab held by HildonAppMenu
920 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
922 2009-06-15 Alberto Garcia <agarcia@igalia.com>
924 * hildon/hildon-app-menu.c
925 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
926 New style property to set the size of the group of filter buttons.
928 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
930 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
935 * configure.ac: Bump version.
936 * debian/changelog: Updates.
938 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
940 * hildon/hildon-main.c: Minor documentation fixes.
942 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
944 * doc/hildon-sections.txt:
945 * hildon/hildon-defines.h: Document the defines, organize them,
946 and mark deprecations as such.
948 Fixes: MB#4463 (Hildon size #defines are undocumented)
950 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
952 * hildon/hildon-animation-actor.c:
953 * hildon/hildon-app-menu.c:
954 * hildon/hildon-button.c:
955 * hildon/hildon-date-editor.c:
956 * hildon/hildon-dialog.c:
957 * hildon/hildon-edit-toolbar.c:
958 * hildon/hildon-entry.c:
959 * hildon/hildon-program.c:
960 * hildon/hildon-remote-texture.c:
961 * hildon/hildon-stackable-window.c:
962 * hildon/hildon-text-view.c:
963 * hildon/hildon-touch-selector.c:
964 * hildon/hildon-window-stack.c:
965 * hildon/hildon-window.c:
967 Remove redundant "represents" wording from most of the documentation.
969 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
971 2009-06-12 Alberto Garcia <agarcia@igalia.com>
976 * hildon/hildon-banner-private.h
977 * hildon/hildon-banner.c:
978 Move HildonBannerPrivate to hildon-banner.c and remove
979 hildon-banner-private.h
980 Use a bit field to store private booleans.
982 2009-06-12 Alberto Garcia <agarcia@igalia.com>
984 * hildon/hildon-app-menu.c (hildon_app_menu_map):
985 Don't install a new idle function if there's already one
990 2009-06-11 Alberto Garcia <agarcia@igalia.com>
992 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
993 (+legacy_menu_realized, +legacy_menu_unmapped)
994 (+set_legacy_menu_type):
995 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
996 they can be identified by the window manager.
998 Fixes: NB#101437 (Invoking CSM on the left side of page area is
999 displayed in wrong location)
1001 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1004 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1006 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1008 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1009 use gtk-doc support)
1011 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1013 * hildon/hildon-code-dialog.c
1014 * hildon/hildon-date-editor.c
1015 * hildon/hildon-number-editor.c
1016 * hildon/hildon-seekbar.c
1017 * hildon/hildon-stackable-window.c
1018 * hildon/hildon-window.c:
1019 Misc documentation updates
1021 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1023 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1024 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1026 Fixes: NB#117931 (Theming issues in accounts dialogs)
1028 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1030 * hildon/hildon-pannable-area.c,
1031 (hildon_pannable_area_button_release_cb): Changed the coordinates
1032 of the original release in case we want to discard the release,
1033 some widgets in Fremantle do not handle the leave-notify.
1035 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1037 * hildon/hildon-pannable-area.c,
1038 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1039 the release using the last refactored functions and avoiding the
1040 movement if an element was selected.
1042 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1044 * hildon/hildon-pannable-area.c,
1045 (hildon_pannable_area_check_move),
1046 (hildon_pannable_area_handle_move),
1047 (hildon_pannable_area_motion_notify_cb): Refactored the
1048 motion_notify method using a couple of new functions.
1050 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1052 * hildon/hildon-date-selector.c:
1053 (hildon_date_selector_construct_ui):
1054 * hildon/hildon-time-selector.c:
1055 (hildon_time_selector_constructor):
1056 * hildon/hildon-touch-selector-entry.c:
1057 (hildon_touch_selector_entry_set_text_column),
1058 (hildon_touch_selector_entry_get_text_column):
1059 * hildon/hildon-touch-selector.c: (_default_print_func),
1060 (hildon_touch_selector_new_text): Use
1061 hildon_touch_selector_set/get_text_column() instead of
1062 setting/getting the "text-column" property.
1064 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1066 * doc/hildon-sections.txt: Add the new public methods below.
1068 * examples/hildon-picker-button-multicolumn-example.c:
1069 (create_touch_selector):
1070 * examples/hildon-touch-selector-example.c: (create_selector):
1071 * examples/hildon-touch-selector-multi-cells-example.c:
1073 Use hildon_touch_selector_column_set_text_column()
1075 * hildon/hildon-touch-selector-column.h:
1076 * hildon/hildon-touch-selector.c:
1077 (hildon_touch_selector_column_set_text_column),
1078 (hildon_touch_selector_column_get_text_column):
1079 Make hildon_touch_selector_column_set/get_column() public, use
1080 them in the inline example, document them, and reference to them
1083 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1085 * hildon/hildon-time-selector.c: Fix the docs for
1086 hildon_time_selector_new_step().
1088 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1090 * hildon/hildon-touch-selector.c: Improve the documentation for
1091 hildon_touch_selector_append_column().
1093 Fixes MB#4641 (Documentation:
1094 hildon_touch_selector_append_column() ref-counting)
1096 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1098 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1099 Comment out test 5, since the hildon_controlbar_set_range() range
1100 check is broken and fixing it would have side effects. Also,
1101 this finally fixes make distcheck.
1103 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1105 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1107 * tests/TEST-CASES.txt: Remove other bogus test.
1108 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1109 Remove bogus test that was setting/retrieving a valid value.
1111 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1113 * tests/TEST-CASES.txt: Remove bogus tests.
1114 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1115 Remove three bogus tests that were actually setting valid colors.
1117 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1119 * configure.ac: post release version bump
1120 * debian/changelog: post release version bump
1122 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1127 * configure.ac: Bump version.
1128 * debian/changelog: Updates.
1130 2009-06-08 Christian Dywan <christian@lanedo.com>
1134 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1135 Correct errors in hildon_format_file-size_for_display and use
1136 translations from the hildon-fm package instead of osso-filemanager.
1138 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1140 * hildon/hildon-pannable-area.c,
1141 (hildon_pannable_area_init): Initialized new values to handle the
1142 adjustment position.
1143 (hildon_pannable_area_adjust_value_changed): Check if the values
1144 changed before even call the redraw function.
1145 (hildon_pannable_area_size_allocate),
1146 (hildon_pannable_axis_scroll),
1147 (hildon_pannable_area_scroll),
1148 (hildon_pannable_area_jump_to): Improved the diagonal movement
1151 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1154 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1156 * examples/hildon-banner-example.c:
1157 Several style updates
1158 (on_animation_clicked, on_animation_idle)
1159 (on_progress_clicked, on_progress_idle):
1160 Add additional reference for the cases when the parent window is
1163 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1165 * doc/hildon-sections.txt
1166 * hildon/hildon-pannable-area.c
1167 * hildon/hildon-banner.h
1168 * hildon/hildon-banner.c: Documentation updates.
1170 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1173 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1175 * hildon/hildon-calendar-popup.h:
1176 * hildon/hildon-caption.h:
1177 * hildon/hildon-code-dialog.h:
1178 * hildon/hildon-controlbar.h:
1179 * hildon/hildon-date-editor.h:
1180 * hildon/hildon-dialog.h:
1181 * hildon/hildon-get-password-dialog.h:
1182 * hildon/hildon-hvolumebar.h:
1183 * hildon/hildon-login-dialog.h:
1184 * hildon/hildon-note.h:
1185 * hildon/hildon-number-editor.h:
1186 * hildon/hildon-range-editor.h:
1187 * hildon/hildon-seekbar.h:
1188 * hildon/hildon-set-password-dialog.h:
1189 * hildon/hildon-sort-dialog.h:
1190 * hildon/hildon-time-editor.h:
1191 * hildon/hildon-time-picker.h:
1192 * hildon/hildon-volumebar-range.h:
1193 * hildon/hildon-volumebar.h:
1194 * hildon/hildon-vvolumebar.h:
1195 * hildon/hildon-weekday-picker.h:
1196 * hildon/hildon-window.h:
1197 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1198 macros with the current replacements
1200 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1202 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1204 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1205 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1206 itself, to make it fit better with Fremantle style.
1208 Fixes: NB#109878 (height and width of focus on color icon is not
1209 consistent with other item in the application tool bar)
1211 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1213 * hildon/hildon-touch-selector.c:
1214 (hildon_touch_selector_optimal_size_request): use the current requisition
1215 as the base, in order to include any possible extra widget, like the
1216 hildon entry on HildonTouchSelectorEntry
1218 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1220 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1222 * configure.ac: post release version bump
1223 * debian/changelog: post release version bump
1225 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1230 * configure.ac: Bump version.
1231 * debian/changelog: Updates.
1233 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1235 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1237 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1238 to ensure the banner contents are centered, instead of relying on
1239 the expand and fill properties in GtkHBox.
1240 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1242 Fixes: NB#108265 (Animation banner not properly centered)
1244 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1246 * hildon/hildon-pannable-area.c
1247 (hildon_pannable_area_initial_effect): Remove the initial_effect
1248 management, check initial_hint
1249 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1250 set initial_effect to FALSE
1251 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1252 by launching the fade_timeout if the scrollbars state has changed and are
1254 * examples/hildon-pannable-area-initial-hint-example.c
1255 Modified to allow to remove rows too. Add and remove rows one by one.
1257 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1259 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1260 Don't close the menu if there's an animation actor below it.
1262 Fixes: NB#117927 (Application menu not usable with animation
1265 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1268 "focus-on-click" from the dialog button, to avoid stealing the
1269 focus from the entry.
1271 Fixes: NB#118903 (Account setup wizard: Text in Search field
1272 should be focused when "Region" touch list picker is reopened
1275 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1277 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1278 (prepare_action_area): Completely hide the dialog separator.
1280 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1282 * hildon/hildon-touch-selector-entry.c
1283 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1284 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1285 now that the entry is exposed.
1287 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1289 * hildon/hildon-touch-selector-entry.c
1290 (hildon_touch_selector_entry_init): Change the entry's size
1291 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1293 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1295 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1296 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1297 avoid unnecessary scaling.
1299 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1301 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1302 Create grab transfer window before calling parent's map function.
1304 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1305 "crushed" button(s) in the top left corner)
1307 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1309 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1310 Check if the window is already realized when pushing it.
1312 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1314 * configure.ac: post release version bump
1315 * debian/changelog: post release version bump
1317 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1322 * configure.ac: Bump version.
1323 * debian/changelog: Updates.
1325 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1327 * hildon/hildon-app-menu.c: Doc updates.
1329 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1331 * hildon/hildon-banner.c: Remove leftover macro.
1333 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1335 * hildon/hildon-pannable-area.c,
1336 (hildon_pannable_area_scroll_indicator_fade),
1337 (hildon_pannable_area_button_release_cb): Reviewed vmin
1338 conditions, it could cause problems in the fadeout procedure.
1340 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1342 * hildon/hildon-pannable-area.c
1343 (hildon_pannable_area_button_release_cb): Added a threshold to
1344 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1346 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1348 * hildon/hildon-pannable-area.c,
1349 (hildon_pannable_area_set_property): Added code to sync the gtk
1350 dnd threshold with the panning threshold.
1352 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1354 * hildon/hildon-pannable-area.c,
1355 (hildon_pannable_area_class_init): Changed some of the default
1356 values, now it should be less responsive and more accurate.
1358 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1360 * hildon/hildon-pannable-area.c,
1361 (hildon_pannable_area_init),
1362 (hildon_pannable_area_scroll_indicator_fade),
1363 (hildon_pannable_area_button_press_cb),
1364 (hildon_pannable_axis_scroll),
1365 (hildon_pannable_area_timeout),
1366 (hildon_pannable_area_motion_notify_cb),
1367 (hildon_pannable_area_button_release_cb): Changed the name of the
1368 clicked attribute to button_pressed, it is more clear about its use.
1370 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1372 * src/hildon-pannable-area.c
1373 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1375 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1376 vertical scrollbar visibility, and use the data on private section instead,
1377 remove the initial_hint check
1378 (hildon_pannable_area_expose_event): add the initial_hint check here
1380 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1382 * src/hildon-pannable-area.c
1383 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1384 if the fadeout effect was used
1385 (hildon_pannable_area_expose_event): check if it is required to
1386 manage the initial effect on the begining of the function. Previously
1387 it was made at the end, but this doesn't ensure that the scrollbars
1388 will be painted on the first show. Do not set to FALSE initial_effect,
1389 to ensure that the initial hint is showed the first time the pannable
1391 * examples/Makefile.am
1392 * examples/hildon-pannable-area-initial-hint-example.c:
1393 New example, to show that the initial-hint is showed when the widget
1396 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1397 initially if the application can be scrolled)
1399 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1401 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1402 Resize table before adding new items to make sure that
1403 gtk_table_resize() is called just once.
1405 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1407 * hildon/hildon-app-menu-private.h
1408 * hildon/hildon-app-menu.c (item_visibility_changed)
1409 (filter_visibility_changed, hildon_app_menu_show_all)
1410 (hildon_app_menu_hide_all, hildon_app_menu_init):
1411 Rearrange items just once when gtk_widget_show_all()/hide_all()
1414 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1416 * hildon/hildon-app-menu.c
1417 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1418 Don't call gtk_widget_show() on added items.
1420 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1421 automatically when they're added)
1423 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1425 * hildon/hildon-banner.c
1426 (hildon_banner_realize, +hildon_banner_unrealize)
1427 (+screen_size_changed, hildon_banner_class_init):
1428 Redisplay the banner if the screen is rotated.
1430 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1431 on transition from landscape to portrait)
1433 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1435 * hildon/hildon-banner.[ch]:
1436 (hildon_banner_show_information_override_dnd): remove icon_name from the
1437 method definition as it is ignored.
1438 * examples/hildon-banner-dnd-example.c: updated with the change on
1441 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1443 * hildon/hildon-banner-private.h: new require_override_dnd and
1444 overrides_dnd variables
1445 * hildon/hildon-banner.h:
1446 (hildon_banner_show_information_override_dnd): new method, that shows
1447 the information but sets the override flag, in order to show important
1449 * hildon/hildon-banner.c
1450 (hildon_banner_show_information_override_dnd): new method
1451 (hildon_banner_set_override_flag): new utility function
1452 (hildon_banner_real_show_information): new utility function, in order to
1453 generalize the current hildon_banner_show_information_override_dnd and
1454 hildon_banner_show_information_override_dnd
1455 * examples/Makefile.am
1456 * examples/hildon-banner-dnd-example.c: New example that show how to
1457 use the new hildon_banner_show_information_override_dnd
1459 Fixes: NB#114874 (There is no possibility to show hildon banners with
1462 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1464 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1465 behind hildon_pannable_calculate_vel_factor().
1467 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1469 * hildon/hildon-pannable-area.c
1470 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1471 deceleration factors.
1473 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1475 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1476 Reduce the default value for 'scroll_time' to 1 second, since the
1477 current initial scrolling takes too much time.
1479 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1481 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1482 calculate velocity factor during initialization, since the properties
1485 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1487 * hildon/hildon-pannable-area.c
1488 (hildon_pannable_area_set_property): Calculate the velocity factor
1489 after setting the deceleration property and not after.
1491 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1493 * hildon/hildon-entry.c
1494 (hildon_entry_class_init, +set_property, hildon_entry_new)
1495 * hildon/hildon-check-button.c
1496 (hildon_check_button_class_init)
1497 (+set_property, hildon_check_button_new):
1498 Make the theme size a property.
1500 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1501 others) do too much in the _new function)
1503 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1505 * configure.ac: post release version bump
1506 * debian/changelog: post release version bump
1508 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1513 * configure.ac: Bump version.
1514 * debian/changelog: Updates.
1516 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1518 * hildon/hildon-gtk.h
1519 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1520 New API function to take a screenshot of a window
1522 Fixes: NB#106374 (Need API to take a loading screenshot)
1524 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1526 * hildon/hildon-time-selector.c
1527 (update_format_policy): prevent to use hours and minutes unitialized
1529 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1531 * hildon/hildon-window.c (hildon_window_size_request):
1532 Always request the full size of the screen (minus the title bar if
1533 not in fullscreen mode).
1535 Fixes: NB#107486 (HildonWindow should size itself properly)
1537 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1539 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1540 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1541 (on_show_cb), (sound_handling): Disconnect the idle handler for
1542 the sound when the note is finalized to avoid possible crashes.
1544 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1547 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1549 * src/hildon-animation-actor.c,
1550 * src/hildon-remote-texture.c:
1551 Added proper object cleanup to remove signal handler and object
1552 references as HildonAnimationActor and HildonRemoteTexture
1553 objects get destroyed.
1555 Fixes: NB#116682 (Destroying parented animation actors when
1556 parent in unmapped leads to crash)
1558 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1560 Based on a patch by Christian Dywan (christian@imendio.com)
1562 * doc/hildon-sections.txt:
1563 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1564 * hildon/hildon-helper.h: New file size formatting method.
1566 * debian/control: Depend on osso-filemanager l10n package for
1567 proper localization strings.
1569 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1571 * tests/Makefile.am: Include top_srcdir to make possible to build
1572 tests in a different builddir.
1573 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1574 on a different builddir.
1576 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1578 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1579 (hildon_touch_selector_remove): Disconnect model's signal handler
1582 Fixes: NB#116289 (Hildon home crashes while adding task
1585 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1587 * hildon/hildon-button.c
1588 (hildon_button_set_title, hildon_button_set_value):
1589 Hide labels containing an empty string.
1591 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1593 * configure.ac: post release version bump
1594 * debian/changelog: post release version bump
1596 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1601 * configure.ac: Bump version.
1602 * debian/changelog: Updates.
1604 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1606 * hildon/hildon-note-private.h: Removed sound_signal_handler
1607 * hildon/hildon-note.c
1608 (on_show_cb): new callback on note "show" event, this simply adds
1609 a idle, with the function sound_handling
1610 (sound_handling): removed the sound_signal_handler management
1611 (hildon_note_init): connect note "show" event to on_show_cb
1612 (hildon_note_realize): remove the connection to "expose-event"
1614 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1615 device?' confirmation note)
1617 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1619 * hildon/hildon-note.c
1620 (hildon_note_new_information_with_icon_name)
1621 (hildon_note_new_confirmation_with_icon_name):
1622 Terminate the list of parameters in g_object_set() calls
1624 Fixes: NB#115166 (Formatting memory card is not taking place)
1626 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1628 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1629 "dialog-information" role for the sound being played.
1631 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1633 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1634 Don't make the menu a modal window, it causes strange interactions
1635 with the pointer grab and it's not really needed.
1637 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1639 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1641 * hildon/hildon-touch-selector.[ch]
1642 (hildon_touch_selector_optimal_size_request): function added to get a
1643 optimal size request from the touch selector, when you want a dialog to
1644 show as much of the selector
1645 * hildon/hildon-picker-dialog.c:
1646 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1647 (hildon_app_menu_class_init):
1648 New "max-height-landscape" and "max-height-portrait" style properties
1649 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1650 (hildon_picker_dialog_get_max_height): returns the maximum height using
1651 the style properties defined and checking the current portrait/landscape
1653 (_hildon_picker_dialog_set_selector): removed the set_size_request
1655 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1657 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1659 * hildon/hildon-bread-crumb-trail.c:
1660 * hildon/hildon-bread-crumb.c:
1661 * hildon/hildon-seekbar.c:
1662 Add reference to replacements for these deprecated widgets.
1664 Fixes: MB#4461 (Documentation: All deprecations should mention
1667 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1669 * examples/hildon-remote-texture-example.c
1671 Change the include to the hildon-remote-texture in order to compile
1672 properly the examples on the installed libhildon1-examples package
1674 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1676 * tests/Makefile.am: Add check for HildonPickerButton.
1677 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1678 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1679 checks for the HildonPickerButton.
1680 * tests/check_test.c (configure_tests): Add the test suite.
1681 * tests/test_suites.h: likewise.
1683 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1685 * hildon/hildon-touch-selector.c
1686 (+on_row_changed): Emit HildonTouchSelector:changed when the
1687 contents of a selected row change.
1688 (_create_new_column), (_hildon_touch_selector_set_model): connect
1689 to GtkTreeModel:row-changed on a newly set model.
1691 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1693 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1695 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1697 * hildon/hildon-banner.c (hildon_banner_destroy)
1698 (hildon_banner_show_progress, hildon_banner_set_fraction):
1699 Remove the progress bar from HildonBanner and use a progress
1702 Fixes: NB#113761 (Update progress banner to use progress
1705 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1707 * hildon/hildon-banner.c:
1708 Calculate size of the banner label using the actual screen width
1709 rather than using a fixed value.
1711 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1714 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1716 * hildon/hildon-pannable-area.c,
1717 (hildon_pannable_area_class_init): Fixed signals documentation
1720 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1722 * configure.ac: post release version bump
1723 * debian/changelog: post release version bump
1725 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1730 * configure.ac: Bump version.
1731 * debian/changelog: Updates.
1733 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1735 * hildon/hildon-edit-toolbar.c
1736 (hildon_edit_toolbar_init):
1737 Don't let buttons in HildonEditToolbar receive focus.
1739 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1740 typing on an HW arrows key)
1742 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1744 * doc/Makefile.am: Fix build.
1746 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1748 * doc/Makefile.am: Do not redefine content_files.
1750 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1758 Renamed src/ to hildon/
1763 Include <hildon/hildon.h> directly in all examples.
1765 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1767 * src/hildon-sort-dialog.c
1768 (hildon_sort_dialog_add_sort_key_with_sorting)
1772 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1774 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1775 make distcheck passes.
1777 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1779 * Makefile.am: Enable gtk-doc during distcheck.
1781 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1783 * Makefile.am: Do not distribute the debian/ directory.
1785 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1787 * doc/Makefile.am: Add the extra SGML files to content_files,
1788 so that they are distributed properly.
1790 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1792 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1795 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1798 (hildon_note_new_information_with_icon_name): Set the "icon" property
1799 to preserve soundness.
1801 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-font-selection-dialog.c
1804 (hildon_font_selection_dialog_set_property): Fail when the "family"
1805 property is set to NULL.
1807 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1812 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1814 * src/hildon-time-selector.h:
1815 Added HildonTimeSelectorFormatPolicy
1816 * src/hildon-time-selector.c:
1817 Added PROP_TIME_FORMAT_POLICY
1818 (_check_ampm_format): renamed to check_automatic_ampm_format
1819 (update_format_policy), (update_format_dependant_columns): new functions
1820 (hildon_time_selector_class_init)
1821 (hildon_time_selector_contructor)
1822 (hildon_time_selector_init)
1823 (hildon_time_selector_get_property)
1824 (hildon_time_selector_set_property)
1825 (hildon_time_selector_get_time)
1826 (hildon_time_selector_set_time)
1827 * src/hildon-touch-selector.h: new file
1828 * src/hildon-touch-selector.c
1829 (hildon_touch_selector_emit_changed)
1830 (hildon_touch_selector_block_changed)
1831 (hildon_touch_selector_unblock_changed)
1832 Added functions to allow to block the emission of the "changed" signal
1833 * src/hildon-picker-dialog.c
1834 (hildon_picker_dialog_show): call the parent show before the custom code
1835 * examples/hildon-time-button-example.c
1836 Modified, so now you can configure the time format using the new property
1838 Added a new property "time-format-policy" that allow to choose the time
1839 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1840 case it uses gconf in order to check if the time selector must use
1843 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1846 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1848 * src/hildon-note.c (hildon_note_init):
1849 Label in HildonNote must be left aligned, not centered. This
1850 reverts the last commit in HildonNote.
1852 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1853 is connectivity dialog)
1855 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1860 * doc/hildon-sections.txt:
1861 Added hildon_gtk_window_set_do_not_disturb()
1863 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-note.c (hildon_note_init): Center label.
1867 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1870 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: Bump version.
1876 * debian/changelog: Updates.
1878 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-note-private.h: Add button-width to the private data.
1881 * src/hildon-note.c (+resize_button),
1882 (+hildon_note_orientation_update): methods to repack widgets on orientation
1884 (screen_size_changed): Call above method for confirmation notes.
1885 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1886 (hildon_note_rebuild): Store the original width request from buttons.
1888 Fixes: NB#109635 (Confirmation notes do not support portrait)
1890 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1893 when it is a progress note.
1895 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1897 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1898 in the note, since there are no horizontally arranged contents.
1900 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-gtk.c (+set_flag): new generic method to
1903 set/delay a flag setting in a window.
1904 (hildon_gtk_window_set_progress_indicator):
1905 (hildon_gtk_window_set_do_not_disturb),
1906 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1907 avoid code redundance.
1909 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1911 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1913 * src/hildon-gtk.c (set_clear_window_flag),
1914 (do_set_progress_indicator), (do_set_do_not_disturb),
1915 (do_set_portrait_flags),
1916 (hildon_gtk_window_set_progress_indicator),
1917 (hildon_gtk_window_set_do_not_disturb),
1918 (hildon_gtk_window_set_portrait_flags):
1919 Allow setting dnd-flag, progress indicator, and portrait flags
1920 when the window is not realized.
1922 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1924 * src/hildon-pannable-area.c,
1925 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1926 the size request policy function and defines.
1928 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1930 * doc/hildon-sections.txt: Add the new API.
1931 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1932 method to set the portrait flags.
1933 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1935 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1937 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1939 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1940 to allow using this method with other flags.
1941 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1942 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1944 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1946 * src/hildon-touch-selector.c
1947 (hildon_touch_selector_append_text_column):
1948 Make the cell renderer use the smallest width possible.
1950 Fixes: NB#108470 (Selected items in multiple selection are either
1951 having a tick that is cut or not visible at all.)
1953 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1955 * src/hildon-touch-selector.c
1956 (hildon_touch_selector_append_text_column):
1959 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1961 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1962 Use g_strdup_printf() instead of a fixed size buffer.
1964 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1967 Close banners when a HildonAppMenu is popped up.
1969 Fixes: NB#111027 (Title menu closed immediately if activated when
1970 "Invalid e-mail address" banner is shown)
1972 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1977 * configure.ac: Bump version.
1978 * debian/changelog: Updates.
1980 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1982 * src/hildon-banner.c (hildon_banner_realize):
1983 Mark HildonBanner as supporting portrait mode.
1984 Use GDK to set window properties insetad of direct Xlib calls.
1986 Fixes: NB#111830 (HildonBanner should be marked as supporting
1989 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1991 * src/hildon-note.c (hildon_note_rebuild):
1992 Hide action area in information notes. Prevents text from being
1993 slightly aligned to the left.
1995 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1998 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2000 Patch by Mox Soini (ext-mox.soini@nokia.com)
2002 * src/hildon-banner.c (hildon_banner_create_animation):
2003 Use stylus-sized icons in animation banner.
2005 Fixes: NB#111206 (stylus sized icon for animation banner)
2007 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2011 (+hildon_gtk_window_set_do_not_disturb):
2012 New API to set the do-not-disturb flag.
2014 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2016 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2018 * examples/hildon-progress-indicator-example.c: Fix example
2020 * src/hildon-gtk.c (set_clear_window_flag)
2021 (hildon_gtk_window_set_progress_indicator):
2022 Create a generic function for setting flags to a window.
2023 Use GDK instead of direct Xlib calls.
2025 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2027 * src/hildon-button.c (hildon_button_set_arrangement):
2028 Due to NB#88126, if one of the labels is too long it will be
2029 painted outside the button. The 'value' label is more likely to be
2030 the longest one, so we change its packing options in order to
2031 truncate it if necessary. As a side effect, the 'title' label will
2032 no longer be truncated.
2034 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2036 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2041 * configure.ac: Bump version.
2042 * debian/changelog: Updates.
2044 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2046 Deprecation of the hildon_pannable_area_set_size_request_policy
2047 API, the only policy properly supported in gtk+ nowadays is the
2050 * src/hildon-pannable-area.c,
2051 (hildon_pannable_area_size_request): Added a workaround for the
2052 size_request to avoid the problems of huge pixmaps in case someone
2053 is still using the function.
2054 * src/hildon-pannable-area.h: Deprecated the enum with the
2057 Fixes: NB#110244 (Problems with the
2058 hildon_pannable_area_set_size_request_policy API)
2060 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_init),
2064 (hildon_pannable_area_size_request),
2065 (hildon_pannable_area_style_set),
2066 (hildon_pannable_draw_vscroll),
2067 (hildon_pannable_draw_hscroll),
2068 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2069 indicator_width to clarify the use of the attribute.
2071 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2076 * configure.ac: Bump version.
2077 * debian/changelog: Updates.
2079 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2081 * src/hildon-picker-dialog.c
2082 * src/hildon-touch-selector.c
2083 Reverting the change that tried to avoid the hardcoded height on
2084 the picker dialog, as causes problems on the hildon-touch-selector
2087 Fixes: NB#110029 (selectors not scrolling to selected value)
2089 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-touch-selector.c: Fix typos
2093 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2096 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2097 request more motions after using it.
2099 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2101 * src/hildon-calendar.c (hildon_calendar_expose),
2102 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2103 Remove unused variables.
2105 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2107 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2108 variable assignment.
2110 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2113 Check the return value of gtk_tree_selection_get_selected()
2116 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2118 * src/hildon-animation-actor.c
2119 * src/hildon-button.c
2121 * src/hildon-pannable-area.c
2122 * src/hildon-picker-button.c
2123 * src/hildon-program.c
2124 * src/hildon-remote-texture.c
2125 * src/hildon-text-view.c
2126 * src/hildon-touch-selector.c
2127 * src/hildon-window-stack.c
2128 * src/hildon-window.c:
2129 Add missing 'Since: 2.2' tags.
2131 * doc/hildon-sections.txt:
2132 Add some missing symbols.
2134 * doc/hildon-docs.sgml:
2135 New 'Other' section for HildonAnimationActor and
2138 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2140 Patch by Iván Gómez (igomez@igalia.com)
2143 * doc/compiling.sgml
2144 * doc/hildon-docs.sgml
2145 * doc/hildon-sections.txt
2146 * doc/migration.sgml
2147 * doc/resources.sgml
2149 New chapters on using the Hildon library.
2150 Updated the general structure of the reference manual.
2151 Other minor documentation fixes.
2153 * src/hildon-calendar-popup.c
2154 * src/hildon-calendar.c
2155 * src/hildon-controlbar.c
2156 * src/hildon-date-editor.c
2157 * src/hildon-dialog.c
2158 * src/hildon-hvolumebar.c
2159 * src/hildon-number-editor.c
2160 * src/hildon-range-editor.c
2161 * src/hildon-sort-dialog.c
2162 * src/hildon-time-editor.c
2163 * src/hildon-time-picker.c
2164 * src/hildon-volumebar-range.c
2165 * src/hildon-volumebar.c
2166 * src/hildon-vvolumebar.c
2167 * src/hildon-weekday-picker.c:
2168 Add deprecation notes
2170 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2171 Document 'horizontal-movement' and 'vertical-movement' signals.
2173 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2178 * configure.ac: Bump version.
2179 * debian/changelog: Updates.
2181 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2183 * src/hildon-pannable-area.c,
2184 (hildon_pannable_area_class_init): increased the minimum velocity.
2185 (hildon_pannable_area_button_release_cb): Updated the
2186 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2187 setup. Review the code to control that last event.
2189 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2192 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2194 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2196 * src/hildon-get-password-dialog.c
2197 (hildon_get_password_set_property),
2198 (hildon_get_password_get_property), (create_contents):
2199 * src/hildon-login-dialog-private.h:
2200 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2201 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2202 (hildon_login_dialog_get_password):
2203 * src/hildon-set-password-dialog-private.h:
2204 * src/hildon-set-password-dialog.c
2205 (hildon_set_password_set_property),
2206 (hildon_set_password_get_property), (create_contents),
2207 (hildon_set_password_response_change),
2208 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2210 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2211 instead and look more Fremantle style.
2213 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2215 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2217 * doc/hildon-sections.txt
2218 * src/hildon-window-stack.h
2219 * src/hildon-window-stack.c
2220 (+hildon_window_stack_get_windows):
2221 New API to obtain the list of windows on a stack.
2223 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2225 * src/hildon-app-menu.c (hildon_app_menu_popup)
2226 (hildon_app_menu_class_init, -hildon_app_menu_show):
2227 Remove hildon_app_menu_show() and move all its checks to
2228 hildon_app_menu_popup()
2230 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2232 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2233 (_hildon_picker_dialog_set_selector): removed call to
2234 gtk_widget_set_size_request
2235 * src/hildon-touch-selector.c
2236 (_create_new_column): change the pannable size request policy
2238 Avoid to use a hardcoded height for the hildon picker dialog. In order
2239 to get that, we needed to change the hildon pannable size request
2241 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2243 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2246 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2249 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2251 * debian/control: Depend on osso-system-lock localization package.
2252 * src/hildon-code-dialog.c: Obtain the secu_application_title
2253 translation from osso-system-lock.
2254 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2255 for translation the atk related strings, that's not necessary.
2256 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2257 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2258 cancel button, it is not required.
2260 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2262 * src/hildon-pannable-area.c,
2263 (hildon_pannable_area_class_init): Modified the default value of
2264 the overshooting max speed, we have reduced it.
2266 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2268 * doc/hildon-sections.txt
2269 * src/hildon-window-private.h
2270 * src/hildon-window.h
2271 * src/hildon-window.c (hildon_window_class_init)
2272 (hildon_window_init, hildon_window_finalize)
2273 (hildon_window_realize, hildon_window_get_property)
2274 (hildon_window_set_property, hildon_window_update_markup)
2275 (hildon_window_get_markup, hildon_window_set_markup):
2276 New "markup" property and hildon_window_{get,set}_markup() methods.
2278 * examples/hildon-stackable-window-example.c (new_window):
2279 Update example to use hildon_window_set_markup()
2281 Fixes: NB#106375 (Need API to retitle a window with a title
2284 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2286 * src/hildon-pannable-area.c,
2287 (hildon_pannable_area_class_init): Changed the default value of
2288 the initial_hint to TRUE.
2289 (hildon_pannable_area_initial_effect): Changed the initial effect,
2290 not the effect is just the fade-out of the scrollbars.
2292 Fixes: NB#107775 (No scrollbars can be seen when several items are
2293 available in a dialog)
2295 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-program.c (hildon_program_update_top_most):
2300 Fixes: NB#109179 (Memory leak in Hildon program)
2302 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2304 * src/hildon-banner.c (-get_current_app_window):
2305 Remove unused function.
2307 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2309 * src/hildon-pannable-area.c: Modified the documentation of the
2310 get adjustments functions to explain the problem of using the
2311 adjustment directly.
2312 (hildon_pannable_area_class_init): Improved the explanation about
2315 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2317 * src/hildon-app-menu-private.h
2318 * src/hildon-app-menu.c
2319 (hildon_app_menu_class_init):
2320 Bring back the 'external-border' style property
2321 (hildon_app_menu_class_init, hildon_app_menu_init)
2322 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2323 Set a fixed width-request for the menu, independent of the number
2326 Fixes: NB#94957 (Smoothly opened application menu)
2328 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2332 * src/hildon-banner.c
2333 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2335 Make sure that the banner is correctly placed the first time it's
2337 (hildon_banner_check_position, -check_fullscreen_state):
2338 Show the banner in the same place no matter if the window is in
2339 fullscreen mode or not.
2341 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2343 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-touch-selector.c (_default_print_func): reorder
2346 concatenation for clarity.
2348 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2350 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2351 for multicolumn selectors.
2353 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2355 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2360 * configure.ac: Bump version.
2361 * debian/changelog: Updates.
2363 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2365 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2368 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2370 * configure.ac: removed libcangerra-gtk dependency
2371 * debian/control: removed libcanberra-gtk dependency
2372 * src/Makefile.am: removed libcanberra gtk related flags
2373 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2374 context, and manage a global canberra context instead
2376 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2378 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2380 Patch by Daniel Borgmann (danielb@openismus.com)
2382 * src/hildon-edit-toolbar.c:
2383 Adjust the left padding.
2384 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2385 Paint background of the edit toolbar.
2387 Fixes: NB#107897 (Patch to make editmodetoolbar background
2388 themeable and adjust margin)
2390 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2392 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2394 * src/hildon-program.c (hildon_program_update_top_most):
2395 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2397 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2398 change when the user tasks in/out of an application)
2400 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2402 * configure.ac: added libcangerra-gtk dependency
2403 * debian/control: added libcanberra-gtk dependency
2404 * src/Makefile.am: added libcanberra gtk related flags
2405 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2408 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2410 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-program.c (hildon_program_remove_window)
2413 (hildon_program_add_window): Add checks for the window
2414 parameter. Don't decrease the window counter if the window is not
2417 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2419 * src/hildon-pannable-area.c,
2420 (hildon_pannable_area_realize): Fixed position of the event_window
2421 in the realize method.
2423 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-app-menu-private.h
2426 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2427 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2428 (hildon_app_menu_key_press, hildon_app_menu_init)
2429 (hildon_app_menu_finalize):
2430 Make sure that all idle functions are removed when the widget is
2433 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2435 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2440 * configure.ac: Bump version.
2441 * debian/changelog: Updates.
2443 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2445 * src/hildon-entry.c
2446 (+hildon_entry_show_placeholder),
2447 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2448 that replace hildon_entry_update_contents().
2449 (hildon_entry_set_text),
2450 (hildon_entry_set_placeholder),
2451 (hildon_entry_focus_in_event),
2452 (hildon_entry_focus_out_event): Determine when it is needed
2453 either to show or hide the placeholder and call the above methods.
2455 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2456 when the placeholder text is already set)
2458 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2460 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2461 simple GdkPixbufAnim using the new icons for the banner.
2462 (hildon_banner_show_animation): Use the above mentioned method to
2463 create the animation widget.
2465 Fixes: NB#103564 (Make hildon animation banner use individual
2466 image files as the animation)
2468 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2470 * src/hildon-pannable-area.c,
2471 (hildon_pannable_leave_notify_event): Check if the child is NULL
2472 to avoid sending the leave.
2474 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2476 * src/hildon-pannable-area.c,
2477 (hildon_pannable_area_class_init),
2478 (hildon_pannable_leave_notify_event): Added a handler of the
2479 leave-notify-signal to consider when no motion notify before
2482 Fixes: NB#107494 (Items stay selected when clicking and moving
2483 away when inside pannable area)
2485 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2490 * configure.ac: Bump version.
2491 * debian/changelog: Updates.
2493 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2495 Patch by Alberto Garcia (agarcia@igalia.com)
2497 * src/hildon-date-button.c,
2498 (hildon_date_button_class_init),
2499 (hildon_date_button_init): Removed the construct property handling
2500 and created a default selector in the init method.
2501 * src/hildon-picker-button.c,
2502 (hildon_picker_button_class_init): Removed the construct flag of the
2505 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-main.c (hildon_init):
2508 Don't allow hildon_init() to be called more than once.
2510 Fixes: NB#106607 (hildon_init should issue error message upon
2513 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2515 * examples/hildon-pannable-area-touch-list-example.c
2516 * examples/hildon-pannagle-area-touch-grid-example.c
2517 * examples/hildon-edit-toolbar-example.c
2518 * examples/hildon-touch-selector-multi-cells-example.c
2519 Removed the call to gtk_rc_parse_string, as it is not required since
2522 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2524 * src/hildon-pannable-area.c,
2525 (hildon_pannable_area_class_init): Modified the default panning
2526 threshold of the widget to 6px.
2528 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2529 than the threshold value ) within the button is not sending the
2532 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2534 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2535 for the treeview in the new column. This way, the touch list will never
2538 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2539 be selected manually for the HW keys to work)
2541 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2544 comparison instead of using strcmp(). Fixes a compiler warning as well.
2546 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2548 * doc/hildon-docs.sgml: Do not set the library version in the
2549 document title, use the releaseinfo tag for that purpose instead.
2551 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2553 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2554 Do not jump to the first item if the text in the entry is removed.
2556 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2561 * configure.ac: Bump version.
2562 * debian/changelog: Updates.
2564 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-entry.c (hildon_entry_refresh_contents):
2567 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2568 Use "ReversedSecondaryTextColor" for the placeholder text.
2570 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2572 * src/hildon-text-view.c: Fix compilation warning.
2574 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-button.c (hildon_button_class_init): Don't make
2577 "title" and "value" construction properties, to prevent them from
2578 overwriting labels set from derived classes.
2580 * src/hildon-picker-button.c
2581 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2582 (hildon_picker_button_class_init): Make touch-selector a
2583 construction property.
2585 * src/hildon-date-button.c (hildon_date_button_class_init)
2586 (+hildon_date_button_constructed): Add a default date selector if
2589 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/hildon-touch-selector.c: Small documentation fixes.
2593 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2595 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2597 * src/hildon-entry.c (hildon_entry_refresh_contents),
2598 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2599 widget name, set the logical color directly instead and a boolean
2600 showing_placeholder instead.
2601 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2602 use the widget name here either.
2604 Fixes: NB#105678 (HildonTextView should use logical colours
2605 instead of setting widget name)
2607 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2609 Patch by Daniel Elster (danielk@openismus.com)
2611 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2612 Add user_data parameter.
2613 (hildon_touch_selector_set_print_func_full): New function akin
2614 hildon_touch_selector_set_print_func() but with support for user
2615 data and a destroy callback.
2616 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2617 to clean up the print function user data.
2618 (hildon_touch_selector_class_init): Install dispose function.
2619 (HildonTouchSelectorPrivate::print_user_data),
2620 (HildonTouchSelectorPrivate::print_destroy_func): New private
2622 (hildon_touch_selector_init): Initialize new private members.
2623 (hildon_touch_selector_get_current_text): Pass along user data
2624 to the print function.
2625 (_default_print_func): Add dummy user_data to parameter list.
2626 * hildon-date-selector.c (_custom_print_func): ditto,
2627 * hildon-time-selector.c (_custom_print_func): ditto,
2628 * hildon-touch-selector-entry.c
2629 (hildon_touch_selector_entry_print_func): ditto.
2631 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2633 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2635 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2637 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2639 * src/hildon-pannable-area.c,
2640 (hildon_pannable_area_init),
2641 (hildon_pannable_area_button_press_cb),
2642 (hildon_pannable_area_motion_notify_cb): We have added code to
2643 handle the leave and enter events when using the motion events.
2645 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2647 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-date-button.c (hildon_date_button_get_date)
2650 (hildon_date_button_set_date): Make sure that the button has a
2653 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2655 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2657 * src/hildon-pannable-area.c,
2658 (hildon_pannable_area_class_init),
2659 (hildon_pannable_area_calculate_velocity): Modify the use of the
2660 force and adapt the value.
2662 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2665 (hildon_app_menu_class_init): Hide the menu if it receives a
2666 delete-event, but don't destroy it
2668 Fixes: NB#104485 (Not able to address the call when application
2669 menu is opened at background)
2671 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-app-menu.c
2674 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2675 Remove the "external-border" style property, let the menu take its
2676 natural size (or the one set by the window manager)
2677 (hildon_app_menu_repack_items):
2678 Don't reshow the menu, avoid flickers.
2680 Partially fixes NB#94957 (Smoothly opened application menu)
2682 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2687 * configure.ac: Bump version.
2688 * debian/changelog: Updates.
2690 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2692 * src/hildon-pannable-area.c,
2693 (hildon_pannable_area_motion_notify_cb): We control that the
2694 direction error margin is used just in case the movement is
2695 allowed in the other direction.
2697 Fixes: NB#105012 (buttons inside a pannable area not getting
2698 release event when dragging/releasing)
2700 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2702 * src/hildon-pannable-area.c,
2703 (hildon_pannable_area_class_init),
2704 (hildon_pannable_area_get_property),
2705 (hildon_pannable_area_set_property),
2706 (hildon_pannable_area_initial_effect),
2707 (hildon_pannable_axis_scroll),
2708 (hildon_pannable_area_button_release_cb): Reviewed the
2709 overshooting effect, now it has its own max
2710 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2711 speed when bouncing.
2713 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2718 * configure.ac: Bump version.
2719 * debian/changelog: Updates.
2721 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2723 * src/hildon-pannable-area.c,
2724 (hildon_pannable_area_class_init): Changed the max speed, now
2725 users can launch the widget very fast. Reduced the default force,
2726 that way it is easier to control the launch speed.
2728 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2730 * src/hildon-pannable-area.c,
2731 (hildon_pannable_area_button_release_cb): Removed this check
2732 because it causes problems when the device is overloaded.
2734 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2737 add a current_text field to store the text entered in the
2738 touch selector entry.
2739 (_clean_current_selection): clean up the current text as well.
2740 (_save_current_selection), (_restore_current_selection):
2741 Save/restore the text in the entry if the selector is a
2742 HildonTouchSelectorEntry.
2744 Fixes: NB#102541 (value entered in the touch selector entry is not
2745 shown when opened for second time)
2747 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2749 * doc/hildon-sections.txt:
2750 * src/hildon-touch-selector-entry.c
2751 (+hildon_touch_selector_entry_get_entry):
2752 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2754 Fixes: NB#104815 (I need accessor to the entry inside
2755 HildonTouchSelectorEntry)
2757 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2760 (hildon_app_menu_class_init):
2761 New "filter-vertical-spacing" style property.
2763 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-find-toolbar.c
2766 (hildon_find_toolbar_emit_close)
2767 (hildon_find_toolbar_emit_invalid_input)
2768 (hildon_find_toolbar_entry_activate):
2769 Use g_signal_emit() instead of g_signal_emit_by_name()
2771 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2773 Patch by Mox Soini (ext-mox.soini@nokia.com)
2775 * tests/TEST-CASES.txt
2776 * tests/check-hildon-banner.c
2777 * tests/check-hildon-note.c
2778 * src/hildon-banner.c
2779 * src/hildon-code-dialog.c
2780 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2781 * src/hildon-time-editor.c
2782 * examples/hildon-lookup-example.c (main):
2783 Replace obsolete icon names with new ones.
2785 * src/hildon-find-toolbar-private.h:
2786 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2787 (-hildon_find_toolbar_emit_search):
2788 Remove find button and change icon of close button.
2790 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2792 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2794 * src/hildon-time-button.c (hildon_time_button_new_step):
2795 Use the "touch-selector" property to set the selector directly
2796 when creating the object.
2798 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2800 Added a new example application that allows tuning the pannable
2801 area and replaced defines with properties in order to simplify the
2802 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2803 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2804 PROP_DIRECTION_ERROR_MARGIN.
2806 * examples/hildon-pannable-area-tuning-example.c: New example
2808 * src/hildon-pannable-area.c,
2809 (hildon_pannable_area_class_init),
2810 (hildon_pannable_area_init),
2811 (hildon_pannable_area_get_property),
2812 (hildon_pannable_area_set_property),
2813 (hildon_pannable_area_launch_fade_timeout),
2814 (hildon_pannable_area_adjust_value_changed),
2815 (hildon_pannable_axis_scroll),
2816 (hildon_pannable_area_motion_notify_cb),
2817 (hildon_pannable_area_scroll_cb),
2818 (hildon_pannable_area_button_release_cb): We have converted some
2819 of the defines that control the widget to properties to simplify
2822 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-app-menu.c (hildon_app_menu_map)
2825 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2826 so it's closed if a new window appears.
2828 Fixes: NB#104485 (Not able to address the call when application
2829 menu is opened at background)
2831 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2834 missing 'break' statement in in 'case' construct to avoid
2837 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2839 * src/hildon-touch-selector-entry.c
2840 (hildon_touch_selector_entry_get_property),
2841 (hildon_touch_selector_entry_set_property): Add missing 'break'
2842 statements in in 'case' constructs to avoid incorrect warnings.
2844 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2846 * src/hildon-time-editor.c
2847 (hildon_time_editor_get_time_separators): Do not crash if
2848 the first label is NULL.
2850 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/hildon-date-selector.c (_month_days): Check for month to be
2853 strictly less than 12, since otherwise we may overrun the array.
2855 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-date-button.c (+hildon_date_button_new_full)
2858 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2859 (hildon_date_button_init): Set the date selector using a
2860 construction property, to make it happen after HildonButton's
2861 "value" property is set.
2863 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2864 current date by default)
2866 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2868 * doc/hildon-sections.txt
2869 * src/hildon-program.c
2870 * src/hildon-stackable-window.c
2871 * src/hildon-window.c:
2872 Documentation updates
2874 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2877 (hildon_window_stack_new, +hildon_window_stack_set_property)
2878 (+hildon_window_stack_get_property)
2879 (hildon_window_stack_class_init)
2880 (+hildon_window_stack_set_window_group)
2881 (+hildon_window_stack_get_window_group):
2882 Make the window group a construction property.
2884 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2886 * doc/hildon-sections.txt
2887 * src/hildon-stackable-window-private.h
2888 * src/hildon-stackable-window.h
2889 * src/hildon-stackable-window.c
2890 (-hildon_stackable_window_set_app_menu)
2891 (-hildon_stackable_window_get_app_menu)
2892 (-hildon_stackable_window_toggle_menu)
2893 (-hildon_stackable_window_finalize)
2894 (hildon_stackable_window_class_init)
2895 (hildon_stackable_window_init)
2896 * src/hildon-window-private.h
2897 * src/hildon-window.h
2898 * src/hildon-window.c (hildon_window_init)
2899 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2900 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2901 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2902 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2903 Moved all HildonAppMenu code to HildonWindow. The menu does not
2904 require a HildonStackableWindow anymore.
2906 * src/hildon-app-menu.c
2907 * src/hildon-program.c
2908 * examples/hildon-app-menu-example.c (main):
2909 Update examples and documentation to reflect HildonAppMenu
2912 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-remote-texture.c
2915 * src/hildon-animation-actor.c:
2916 Don't include unused private headers.
2918 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-program-private.h
2921 * src/hildon-program.c
2922 (hildon_program_set_common_menu)
2923 (hildon_program_get_common_menu)
2924 (hildon_program_set_common_app_menu)
2925 (hildon_program_get_common_app_menu):
2926 Change common menu pointers from GtkWidget* to GtkMenu* and
2927 HildonAppMenu* to avoid unnecessary casts.
2929 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2931 * src/hildon-window.c (hildon_window_set_main_menu):
2932 Removed incorrect 'Since:' tag
2934 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2936 * src/hildon-pannable-area.c,
2937 (hildon_pannable_area_calculate_velocity): We use now the
2938 RATIO_TOLERANCE here to check the distance, fixed typo in the
2940 (hildon_pannable_area_motion_notify_cb): We have to set the type
2941 and time even if we are not sending the motion.
2943 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2945 * doc/hildon-sections.txt
2946 * src/hildon-app-menu.h
2947 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2948 (+hildon_app_menu_get_filters): New methods to get the contents of
2951 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2954 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-app-menu.c (hildon_app_menu_popup):
2959 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-window.h
2962 * src/hildon-window.c (+hildon_window_get_main_menu)
2963 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2964 and deprecated hildon_window_get_menu().
2966 * src/hildon-stackable-window.h
2967 * src/hildon-stackable-window.c
2968 (+hildon_stackable_window_set_app_menu)
2969 (+hildon_stackable_window_get_app_menu)
2970 (hildon_stackable_window_set_main_menu): Created
2971 hildon_stackable_window_{get,set}_app_menu() and deprecated
2972 hildon_stackable_window_set_main_menu().
2974 * doc/hildon-sections.txt
2975 * examples/hildon-app-menu-example.c (main)
2976 * src/hildon-app-menu.c
2977 * src/hildon-program.c:
2978 Updated examples and documentation.
2980 Fixes: NB#103758 (No way to obtain a menu from a
2981 HildonStackableWindow)
2983 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2988 * configure.ac: Bump version.
2989 * debian/changelog: Updates.
2991 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2993 * examples/hildon-remote-texture-example.c: Include
2994 hildon-remote-texture.h explicitely.
2995 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2996 applications not defining _XOPEN_SOURCE which don't require this header.
2998 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3000 * doc/hildon-sections.txt
3001 * src/hildon-app-menu.h
3002 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3003 New function to pop up a HildonAppMenu
3005 * src/hildon-stackable-window.c
3006 (hildon_stackable_window_toggle_menu):
3007 Use hildon_app_menu_popup() to show the menu.
3009 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-app-menu.c (hildon_app_menu_show)
3012 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3013 menu if there's another window between it and its parent window.
3015 Fixes: NB#100468 (Application menu window is launched even when a
3016 new secondary-window/dialog is pending to be shown/realized)
3018 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3020 * src/hildon-window-stack.c (hildon_window_stack_push)
3021 (hildon_window_stack_pop_and_push):
3022 Don't forget to push/pop the first window.
3023 Reverse the window list before calling _push_list()
3025 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-picker-button.h
3028 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3029 Remove "value_changed" slot to avoid ABI breakage
3031 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3033 * src/hildon-pannable-area.c,
3034 (hildon_pannable_area_realize),
3035 (hildon_pannable_area_unrealize),
3036 (hildon_pannable_draw_vscroll),
3037 (hildon_pannable_draw_hscroll): Changed the method to handle the
3038 GC used to draw the transparent scrollbar, this way we avoid
3039 creating the GC all the time when drawing the scrollbars.
3041 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3043 * src/hildon-pannable-area.c,
3044 (hildon_pannable_area_init),
3045 (hildon_pannable_area_remove): Removed some unnecessary casts.
3046 (hildon_pannable_area_dispose): Disconnected some signals before
3047 releasing the adjustments.
3049 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3052 Make sure that all widgets contained in the toolbar are shown.
3054 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3056 * doc/hildon-sections.txt
3057 * src/hildon-picker-button.h
3058 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3059 (_selection_changed, hildon_picker_button_on_dialog_response)
3060 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3061 New hildon_picker_button_value_changed() method.
3064 * src/hildon-picker-button-private.h
3065 * src/hildon-picker-button.c (hildon_picker_button_init)
3066 (+hildon_picker_button_disable_value_changed): Add protected
3067 function for disabling the "value-changed" signal.
3069 * src/hildon-date-button.c (hildon_date_button_set_date):
3070 Don't emit "value-changed" for each one of the three columns.
3072 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3073 before actual change of values)
3075 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3077 * src/hildon-pannable-area.c,
3078 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3079 for the treeview overshooting.
3081 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-banner.c (+hildon_banner_bind_style):
3084 Renamed from hildon_banner_bind_label_style(), now naming the
3085 banner itself as well.
3086 (hildon_banner_show_information),
3087 (hildon_banner_show_information_with_markup),
3088 (hildon_banner_show_animation), (hildon_banner_show_progress):
3089 Name the widgets and labels, based on their type.
3091 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3094 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3096 * src/hildon-note.c (hildon_note_set_property): call
3097 hildon_note_rename() on HildonNote:note-type set.
3098 (hildon_note_rename): Name the note and its label, based on the
3099 HildonNote:note-type property.
3101 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3104 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3106 * src/hildon-pannable-area.c,
3107 (hildon_pannable_area_class_init),
3108 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3109 panning parameters, increased SPS and deceleration factor. Added
3110 also a margin to control fake directions.
3112 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3114 Patch by Sven Herzberg (sven@imendio.com)
3116 * configure.ac: Add missing AM_PROG_CC_C_0
3117 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3119 See NB#101420 (Update unit tests and fix make check)
3121 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3123 This patch was applied before but reverted because it caused
3124 problems, we have changed the main condition and tested the
3125 regressions we detected before and they work ok. We have done a
3126 complete review of the topmost algorithm in order to get a more
3129 * src/hildon-pannable-area.c,
3130 (hildon_pannable_area_get_topmost): Added a new parameter to
3131 filter the the windows that do not include those events.
3132 (hildon_pannable_area_button_press_cb),
3133 (hildon_pannable_area_button_release_cb),
3134 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3135 topmost function, we have added the new parameter.
3137 Fixes: NB#97458 (Pannable area prevents propagation of button
3140 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3143 if all columns in the selector have an item selected.
3144 (_on_dialog_response): Stop "response" signal emission if there is
3145 any selector column without selected items.
3147 Fixes: NB#101889 (Picker dialog should not close when nothing is
3148 selected in multiple selection list)
3150 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3152 * src/hildon-font-selection-dialog.c
3153 (hildon_font_selection_dialog_class_init),
3154 (hildon_font_selection_dialog_init): Remove the preview
3155 button and dialog, since previewing with default theming is likely
3156 to be overcomplicated. The :preview property has now no effect.
3157 Update documentation blurbs to inform about this.
3159 Fixes: NB#92297 (Preview content is not clearly visible for
3160 default colour text)
3162 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3164 Reviewed the geometry that handles the children size and
3165 scrollbar, now it tries a size and reviews the results depending
3166 on the scrollbars visibility.
3168 * src/hildon-pannable-area.c,
3169 (hildon_pannable_area_realize): Fixed a typo.
3170 (hildon_pannable_area_child_allocate_calculate): Added this
3171 function to calculate the child allocation.
3172 (hildon_pannable_area_size_allocate): Reviewed the allocation
3174 (hildon_pannable_area_check_scrollbars),
3175 (hildon_pannable_area_refresh): Refactored refresh function, this
3176 way we can call the code handling the scrollbars without causing a
3177 size_request, it is interesting in the allocate.
3178 (hildon_pannable_area_init): Replace the callbacks of the
3179 value_changed and changed signals to propertly deal with the
3181 (hildon_pannable_area_grab_notify),
3182 (hildon_pannable_area_initial_effect),
3183 (hildon_pannable_area_launch_fade_timeout),
3184 (hildon_pannable_area_adjust_changed),
3185 (hildon_pannable_area_adjust_value_changed),
3186 (hildon_pannable_area_redraw),
3187 (hildon_pannable_area_button_press_cb),
3188 (hildon_pannable_area_button_release_cb),
3189 (hildon_pannable_area_scroll_cb),
3190 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3191 code and use the new functions adjust_changed and
3192 adjust_value_changed.
3194 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3195 Contact editor dialog)
3197 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3202 * configure.ac: Bump version.
3203 * debian/changelog: Updates.
3205 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3207 * src/hildon-pannable-area.c,
3208 (hildon_pannable_area_get_topmost),
3209 (hildon_pannable_area_button_press_cb),
3210 (hildon_pannable_area_button_release_cb),
3211 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3212 topmost function adding the event mask. We have to try a
3213 differente approach because it is still causing problems (NB#9745,
3216 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3218 * src/hildon-banner.c:
3219 Update the maximum width of timed banners.
3220 (force_to_wrap_truncated): Enforce the maximum text width if the
3223 Fixes: NB#102413 (The text margins (wrapping) in information
3224 banner should be HILDON_MARGIN_TRIPLE)
3226 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3228 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3230 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3231 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3232 bound when calculating the scroll indicator position.
3234 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3235 treat ->lower correctly)
3237 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3239 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3240 expose event handling, since it is not necessary to draw the focus
3243 Fixes: NB#102467 (Do not show highlight on the text in
3246 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3248 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3249 full height of the toolbar for the button and the label.
3251 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3254 padding before the label and after the button.
3256 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3258 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3260 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3261 Add a GtkVSeparator between the button and the back arrow.
3262 Let the button have automatic size.
3263 Set a name to the widget for theming handling.
3265 Fixes: NB#101793 (Make edit toolbar the same height as window
3266 title bar (use title area theming))
3268 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-helper.c (attach_new_color_element): Fix memory
3273 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3275 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3277 * examples/hildon-button-example.c (common_buttons_window): Don't
3280 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3283 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3285 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3287 * src/hildon-gtk.c: Check that the window is realized.
3289 Fixes: NB#102225 (Crash setting the progress indicator to a non
3292 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3294 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3295 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3296 instead of modifying the one in the widget style.
3298 Fixes: NB#101043 (Second row of all the command button are
3299 displayed in transparent mode.)
3301 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3303 * src/hildon-date-button.c
3304 * src/hildon-time-button.c: Add gettext macros
3306 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-date-button.c (hildon_date_button_new):
3309 * src/hildon-time-button.c (hildon_time_button_new_step):
3310 Use new logical strings to set the button default title.
3312 Fixes: NB#99915 (Date and Time options are not localised in Date
3315 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3317 * src/hildon-pannable-area.c
3318 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3319 the PANNING_THRESHOLD.
3321 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3323 * src/hildon-pannable-area.c,
3324 (hildon_pannable_area_class_init): Increased the maximum speed.
3325 (hildon_pannable_area_get_property),
3326 (hildon_pannable_area_set_property),
3327 (hildon_pannable_area_timeout): Added a new low friction mode, it
3328 allows the user avoid friction when launching the widget fast
3329 enough. It is interesting to traverse long lists.
3331 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3333 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3334 (+hildon_stackable_window_delete_event): Ignore delete events if
3335 the window is not the topmost one.
3337 Fixes: NB#101698 (Back button long press and delete-event handling)
3339 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3341 * src/hildon-pannable-area.c,
3342 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3343 gtk-dnd-drag-threshold, it was too big. We have defined our own
3344 dnd define and set a smaller value: PANNIG_THRESHOLD.
3346 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3349 user-defined icons, use always the default one.
3351 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3353 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3355 This patch was applied before but reverted because it caused
3356 problems, we have changed the main condition and tested the
3357 regressions we detected before and they work ok.
3359 * src/hildon-pannable-area.c,
3360 (hildon_pannable_area_get_topmost): Added a new parameter to
3361 filter the the windows that do not include those events. Added
3362 also a condition when finding the window to filter windows that do
3363 not ask for those events.
3364 (hildon_pannable_area_button_press_cb),
3365 (hildon_pannable_area_button_release_cb),
3366 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3367 topmost function, we have added the new parameter.
3369 Fixes: NB#97458 (Pannable area prevents propagation of button
3372 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3374 * tests/check-hildon-color-button.c (START_TEST): do not leak
3377 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-font-selection-dialog.c
3380 (hildon_font_selection_dialog_get_preview_text): Return NULL
3381 instead of FALSE on the g_return_val_if_fail().
3383 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3386 * src/hildon-date-selector.c
3387 (hildon_date_selector_select_current_date):
3388 Do not compare unsigned integers to be greater than or equal 0,
3389 because it's always TRUE.
3391 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3394 (hildon_date_selector_constructor): Do not select the current
3395 date until we are handle the "changed" signal, to avoid having bogus
3396 elements in the days model.
3398 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3400 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3401 for num_days, since _month_days() can return a negative value.
3403 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3405 * src/hildon-caption.c (hildon_caption_size_allocate):
3406 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3407 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3409 Initialize allocation variables to 0, to avoid eventually using
3410 unitialized variables.
3412 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-bread-crumb-trail.c
3415 (hildon_bread_crumb_trail_size_allocate):
3416 * src/hildon-calendar.c (hildon_calendar_set_background):
3417 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3418 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3419 * src/hildon-seekbar.c (hildon_seekbar_init):
3420 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3421 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3422 * src/hildon-touch-selector-entry.c
3423 (hildon_touch_selector_get_text_from_model):
3424 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3425 * src/hildon-window.c (hildon_window_finalize):
3427 Remove many unused variables.
3429 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3431 * src/hildon-seekbar.c: (hildon_seekbar_init),
3432 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3434 Remove unnecessary g_assert() calls.
3436 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3438 * src/hildon-caption.c: (hildon_caption_expose),
3439 (hildon_caption_set_property), (hildon_caption_init),
3440 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3441 (hildon_caption_size_request), (hildon_caption_size_allocate),
3442 (hildon_caption_forall), (hildon_caption_set_separator),
3443 (hildon_caption_activate), (hildon_caption_set_child_expand),
3444 (hildon_caption_set_label_text),
3445 (hildon_caption_get_label_alignment):
3447 Remove unnecessary g_assert() calls.
3449 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-banner.c
3452 (hildon_banner_map, hildon_banner_init): Make banner temporary
3453 before mapping it to avoid closing other temporary windows, but
3454 make it non-temporary afterwards to avoid being closed by other
3455 non-temporary windows.
3456 (-hildon_banner_client_event, hildon_banner_init):
3457 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3459 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3462 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3467 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3469 * src/hildon-remote-texture.c
3470 * src/hildon-remote-texture.h
3471 * src/hildon-remote-texture-private.h
3472 * examples/hildon-remote-texture-example.c:
3473 Updates/fixes to remote-texture and its example.
3475 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3477 Patch by Mox Soini (ext-mox.soini@nokia.com)
3479 * src/hildon-code-dialog.c: Update logical id.
3480 * src/hildon-set-password-dialog.c: Update logical id.
3482 Fixes: NB#100646 (Logical strings is shown for ok in set
3483 password,Password needed dialogs)
3485 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3488 * src/hildon-remote-texture.c
3489 * src/hildon-remote-texture.h
3490 * src/hildon-remote-texture-private.h
3492 Added remote texture widget (for Clutter shared memory textures)
3494 * examples/hildon-remote-texture-example.c
3495 * examples/Makefile.am
3496 Added example file for remote texture usage
3498 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3500 * configure.ac: post release version bump.
3501 * debian/changelog: version bump.
3503 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3508 * configure.ac: Bump version.
3509 * debian/changelog: Updates.
3511 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3513 * src/hildon-date-selector.c (hildon_date_selector_init)
3514 (hildon_date_selector_constructor): Don't connect to the "changed"
3515 signal until the selector is completely constructed.
3517 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3519 * src/hildon-touch-selector.c: (_create_new_column),
3520 (hildon_touch_selector_append_column),
3521 (hildon_touch_selector_set_column_selection_mode),
3522 (hildon_touch_selector_set_active),
3523 (hildon_touch_selector_select_iter):
3524 Emit the HildonTouchSelector::changed signal every time selection
3525 is changed in any of the methods above. This behavior was already
3526 documented but not fully functional.
3528 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3529 selection is programmatically changed)
3531 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3533 * doc/hildon-sections.txt: Remove obsolete icon
3534 sizes from here as well.
3536 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3538 * examples/hildon-stackable-window-example.c (add_window): Remove
3541 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3543 * src/hildon-app-menu.c
3544 (hildon_app_menu_show): Check whether the parent window of a menu
3545 is topmost before popping it up.
3547 Fixes: NB#100468 (Application menu window is launched even when a
3548 new secondary-window/dialog is pending to be shown/realized.)
3550 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3552 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3555 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3557 Patch by Mox Soini (ext-mox.soini@nokia.com)
3559 * src/hildon-banner.c: (hildon_banner_show_animation):
3560 use stylus size instead of obsolete note size.
3561 * src/hildon-defines.h: Update icon sizes.
3563 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3565 * src/hildon-touch-selector-entry.c:
3566 (hildon_touch_selector_entry_init): Disable unsupported
3568 (hildon_touch_selector_entry_get_text_column): Emit a warning
3569 if an unsupported input modes is used and explicitile state
3570 these modes in the documentation.
3572 Fixes: NB#99802 (Hildon touch selector entry not working properly
3573 for some of the input modes)
3575 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3577 * src/hildon-pannable-area.c,
3578 (hildon_pannable_area_init): Added the changed signal handlers of
3581 Fixes: NB#100320 (HildonPannableArea does not listen to
3582 GtkAdjustment "change" signals)
3584 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3586 * doc/hildon-sections.txt
3587 * src/hildon-window-private.h
3588 * src/hildon-window.h
3589 * src/hildon-window.c (hildon_window_init)
3590 (hildon_window_realize, hildon_window_unrealize)
3591 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3592 (hildon_window_size_request, hildon_window_size_allocate)
3593 (hildon_window_forall, hildon_window_show_all)
3594 (hildon_window_destroy, +paint_edit_toolbar)
3595 (+hildon_window_set_edit_toolbar):
3596 New hildon_window_set_edit_toolbar() method, to add a
3597 HildonEditToolbar to a window without having to pack it manually.
3599 Reorganize hildon_window_size_allocate()
3601 * src/hildon-edit-toolbar.c: Update documentation.
3603 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3604 example to use the new API.
3606 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3608 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3610 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3611 Remove from stack before calling parent's hide.
3613 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3616 window is removed from the middle of the stack, update the
3617 transiency of the previous one.
3619 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3622 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3624 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3625 block/unblock the signal handler if it's not actually being used.
3626 Fixes some critical warnings.
3628 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3630 Based on a patch by Iván Gómez (igomez@igalia.com)
3632 * src/hildon-banner.c
3636 * src/hildon-pannable-area.c
3637 * src/hildon-picker-dialog.c
3638 * src/hildon-wizard-dialog.h
3639 * src/hildon-wizard-dialog.c: Documentation updates.
3641 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3642 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3644 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3646 * configure.ac: post release version bump.
3647 * debian/changelog: version bump.
3649 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3654 * configure.ac: Bump version.
3655 * debian/changelog: Updates.
3657 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3660 a stock icon nor change the relief of the back arrow.
3662 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3663 graphics from theme)
3665 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3667 * src/hildon-button.c (hildon_button_set_alignment): Use
3668 priv->alignment if the button has no child yet.
3670 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-button.c: (hildon_button_init): Set the
3673 button style during initialization to give it the proper
3676 Fixes: NB#99713 (HildonButton value label color is wrong)
3678 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3680 * src/hildon-touch-selector.c: Document
3681 hildon_touch_selector_center_on_selected()
3683 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3685 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3686 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3687 all menu items, but not the menu itself.
3688 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3689 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3690 items after adding them to the menu so keyboard accelerators work.
3691 (hildon_app_menu_show): Don't show the menu if it contains items
3692 but none of them are visible.
3694 * examples/hildon-app-menu-example.c (create_menu): Use
3695 gtk_widget_show_all() to show all menu items.
3697 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3699 * src/hildon-picker-dialog.c:
3700 (-_update_title_on_selector_changed_cb),
3701 (-_dialog_update_title): Removed.
3702 (_select_on_selector_changed_cb), (_on_dialog_response),
3703 (on_selector_columns_changed): Do not update the dialog title.
3704 (setup_interaction_mode): Do not connect to
3705 HildonTouchSelector::changed signal if there's a "done" button, as
3706 the dialog title doesn't need to be updated.
3708 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3711 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3713 Patch by Kristian Rietveld (kris@imendio.com)
3715 * src/hildon-touch-selector.c: (_create_new_column): Use new
3716 GtkTreeView::hildon-row-tapped signal to react to user interactions
3717 instead of ::changed.
3719 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3720 with some dynamic tree model)
3722 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3725 (+screen_size_changed, +label_size_request)
3726 (hildon_note_class_init): Make the Hildon information note have a
3727 minimum height, and make its text hvae a maximum width.
3729 Fixes: NB#98614 (Hildon information note (background) should have
3730 minimum height and maximum text width)
3732 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3734 * src/hildon-banner.h
3735 * src/hildon-banner.c (hildon_banner_show_information)
3736 (hildon_banner_show_informationf)
3737 (hildon_banner_show_information_with_markup): Update documentation
3738 to reflect that the icon_name parameter is not used anymore.
3739 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3740 Remove all code from these functions and mark them as deprecated.
3741 (hildon_banner_show_progress): Mark as deprecated.
3743 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3745 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3747 * src/hildon-pannable-area.c,
3748 (hildon_pannable_area_class_init),
3749 (tranparency_color),
3750 (hildon_pannable_draw_vscroll),
3751 (hildon_pannable_draw_hscroll),
3752 (hildon_pannable_area_expose_event): Added a new way to render the
3753 scrollbars of the pannable area avoiding using cairo at all. This
3754 way we improve the performance of the pannable area rendering. The
3755 cairo rendering procedure is still in the code, we can control
3756 which one to use changing the value of the define
3757 USE_CAIRO_SCROLLBARS.
3759 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3761 * configure.ac: post release version bump.
3762 * debian/changelog: version bump.
3764 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3769 * configure.ac: Bump version.
3770 * debian/changelog: Updates.
3772 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3775 banners instead of destroying them when they receive a button
3778 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3780 Reverted commit 34028, it was causing regressions, probably the
3781 topmost condition is not correct, we have to check it in more
3782 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3783 propagation of button press events)
3785 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3787 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3788 that the selection is not empty before attempting to retrieve the
3789 current ampm selection.
3791 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3793 * src/hildon-picker-button.c:
3794 (hildon_picker_button_on_dialog_response): Directly update the
3795 button contents when required instead of calling _selection_changed.
3797 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3799 * src/hildon-program.c (hildon_program_update_top_most): Update
3800 'is-topmost' property also when wm_hints is not set.
3802 Fixes: NB#98383 (is-topmost signal is not emitted when task
3803 switcher is clicked.)
3805 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3807 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3811 * src/hildon-animation-actor.c,
3812 * src/hildon-animation-actor.h: Added the animation actor class,
3813 this widget represents an animation actor for WM-assisted
3814 animation effects in the Hildon framework.
3816 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-window-stack-private.h
3819 * src/hildon-window-stack.c
3820 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3821 Avoid calling gtk_widget_show() again indirectly from
3822 hildon_stackable_window_show()
3824 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3826 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3829 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3832 (hildon_time_selector_init): Move the construction of the hours and
3833 ampm columns to the constructor to preserve the order the columns
3836 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-picker-dialog.c:
3839 (hildon_picker_dialog_class_init): Connect a realize method.
3840 (+hildon_picker_dialog_realize): Setup the interaction mode here
3842 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3843 yet, do it during the realize instead.
3844 (_on_dialog_response):
3845 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3846 if the widget is not realized, to avoid the dialog response before it
3849 Avoid premature responses in the HildonPickerDialog that can cause it
3850 to be hidden before it's even shown.
3852 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3854 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3855 (on_selector_columns_changed), (requires_done_button),
3856 (+prepare_action_area), (setup_interaction_mode),
3857 (_hildon_picker_dialog_set_selector):
3859 Split the interaction mode setup into preparation of the
3860 action area (prepare_action_area()) and the connection of
3861 the signals in setup_interaction_mode() and update the code to
3864 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3866 * src/hildon-pannable-area.c,
3867 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3868 per second to 15, we will check if this is ok regarding
3871 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3873 * src/hildon-pannable-area.c,
3874 (hildon_pannable_axis_scroll): Avoid resize if we already have
3875 reached overshoot_max.
3877 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3879 * src/hildon-pannable-area.c,
3880 (hildon_pannable_area_init),
3881 (hildon_pannable_area_realize),
3882 (hildon_pannable_area_size_allocate),
3883 (hildon_pannable_area_map),
3884 (hildon_pannable_area_unmap),
3885 (hildon_pannable_draw_vscroll),
3886 (hildon_pannable_draw_hscroll),
3887 (hildon_pannable_area_expose_event),
3888 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3889 pannable are to avoid the expose events go to the window and
3890 redraw the window. We save this way that part of the stack and the
3891 paint_boxes. We had to change the positions of the elements when
3894 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3896 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3897 * src/hildon-color-chooser-dialog.c:
3898 (hildon_color_chooser_dialog_init):
3899 * src/hildon-font-selection-dialog.c:
3900 (hildon_font_selection_dialog_init),
3901 (hildon_font_selection_dialog_show_preview):
3902 * src/hildon-get-password-dialog.c:
3903 * src/hildon-login-dialog.c:
3904 * src/hildon-set-password-dialog.c:
3905 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3906 * src/hildon-time-picker.c: (hildon_time_picker_init):
3908 Remove obsolete logical string IDs and update to the appropriate ones.
3910 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3912 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3915 that happens if the window hasn't been realized yet.
3917 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3918 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3920 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3922 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3923 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3926 Fixes: NB#98537 (Device hangs in account settings dialog)
3928 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3930 * configure.ac: post release version bump.
3931 * debian/changelog: version bump
3933 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3938 * configure.ac: Bump version.
3939 * debian/changelog: Updates.
3941 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3943 Added a new function to the HildonTimeButton widget that allows to
3944 change the step of the minutes in the selector associated with the
3945 button: hildon_time_button_new_step
3947 * src/hildon-time-button.c,
3948 (hildon_time_button_init),
3949 (hildon_time_button_new),
3950 (hildon_time_button_new_step):
3951 * src/hildon-time-button.h: Added the new function and refactored
3953 * examples/hildon-time-button-example.c,
3954 (main): We have replaced the function without parameters with the
3955 function with the steps set to 5
3957 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3959 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3961 * src/hildon-time-selector.c,
3962 (hildon_time_selector_class_init),
3963 (hildon_time_selector_constructor),
3964 (hildon_time_selector_get_property),
3965 (hildon_time_selector_set_property),
3966 (_create_minutes_model),
3967 (hildon_time_selector_new_step),
3968 (hildon_time_selector_set_time),
3969 * src/hildon-time-selector.h: Added a new property to the
3970 HildonTimeSelector (minutes-step), we use that property to control
3971 the steps between the minutes in the list of the selector. We have
3972 added a new function to the API to create a widget changing the
3973 step: hildon_time_selector_new_step.
3975 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3977 * src/hildon-time-selector.c,
3978 (hildon_time_selector_class_init),
3979 (hildon_time_selector_constructor),
3980 (hildon_time_selector_init): Overrided the construct function when
3981 creating the time selector object. We have moved the minutes model
3982 handling code from the init to the new construction function:
3983 hildon_time_selector_constructor.
3985 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3987 * examples/hildon-date-button-example.c: (main): Use the new
3988 hildon_date_button_new_with_year_range() method in the example.
3989 * src/hildon-date-button.c:
3990 (+hildon_date_button_new_with_year_range): New public method
3991 to conveniently create a HildonDateButton with a custom year range
3992 in its HildonDateSelector.
3993 * src/hildon-date-button.h: Add the new public method definition.
3995 Fixes: NB#97908 (Not possible to change the year range in
3996 HildonDateSelector/HildonDateButton)
3998 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-date-selector.c:
4001 (+hildon_date_selector_set_property),
4002 (+hildon_date_selector_get_property),
4003 (hildon_date_selector_class_init): Install new properties "min-year"
4004 and "max-year" to define boundaries for the year column.
4005 (_create_year_model): Use the boundary properties to populate the model.
4006 (+hildon_date_selector_new_with_year_range): New public method to
4007 create a HildonDateSelector with a user defined year range.
4008 (hildon_date_selector_select_current_date): Use the new boundaries to
4009 calculate the iterator of current year.
4010 * src/hildon-date-selector.h: Add the new public method definition.
4012 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4015 Install a constructor method.
4016 (+hildon_date_selector_construct_ui): construct the widget.
4017 (+hildon_date_selector_constructor): new constructor.
4018 (+hildon_date_selector_init): move out widget construction code to
4019 the new constructor.
4021 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4024 that there's actually a month or year selected before obtaining them.
4025 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4026 of the HildonTouchSelector::changed signal, as it was emitted on every
4027 single item selection.
4029 Fix some warnings and possible crashers due to the selection restoring.
4031 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4034 the signal handlers only after creating the dialog instead of on every
4037 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4039 * src/hildon-button.c (hildon_button_init)
4040 * src/hildon-check-button.c (hildon_check_button_init)
4041 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4042 focus when clicked by default.
4044 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4049 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4051 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4052 Alejandro G. Castro (alex@igalia.com)
4054 * src/hildon-picker-dialog.c:
4055 (hildon_picker_dialog_class_init): install new "center-on-show"
4057 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4058 (hildon_picker_dialog_set_property): add setter code for the new
4060 (hildon_picker_dialog_get_property): add getter code for the new
4062 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4063 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4066 Fixes: NB#92849 (Selected item is not always visible when
4067 HildonTouchSelector is shown)
4069 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4071 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4072 Alejandro G. Castro (alex@igalia.com)
4074 * src/hildon-touch-selector.c:
4075 (_create_new_column): Do not connect to the "realize" signal of the
4077 (hildon_touch_selector_append_column): center on the selected items
4078 when a new column is appended.
4079 (hildon_touch_selector_select_iter): Factor out the code to select a
4080 column to hildon_touch_selector_scroll_to().
4081 (+search_nearest_element): Method to retrieve the nearest selected
4082 element to the visible area of the pannable area in a column.
4083 (+on_realize_cb): scroll to the initially selected item.
4084 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4085 the pannable area is realized, otherwise delay this until it is.
4086 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4087 selected items of a given column.
4088 (+hildon_touch_selector_center_on_selected): Public method to center
4089 all columns on the nearest selected item.
4090 * src/hildon-touch-selector.h: Add definition for
4091 hildon_touch_selector_center_on_selected().
4093 Implement public API to ensure visibility of all selected items in
4094 a HildonTouchSelector.
4096 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4098 Fixed a problem in the fading when calling the scroll_to API, and
4099 improve scrollbar fading handling.
4101 * src/hildon-pannable-area.c,
4102 (hildon_pannable_area_grab_notify): avoid the timeout when the
4104 (hildon_pannable_area_button_press_cb),
4105 (hildon_pannable_area_motion_notify_cb): Code style changes.
4106 (hildon_pannable_area_button_release_cb): Review the conditions
4107 when releasing the mouse button to avoid unrequired fading
4109 (hildon_pannable_area_scroll_to): Do not calculate and set the
4110 velocity if the scroll is not required.
4112 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4115 Don't check whether the new selector is NULL: it cannot be.
4116 Hold a reference to the selector while doing the replacement.
4118 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4120 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4121 unnecessary size_request in a removed widget.
4123 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4125 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4126 an unnecessary reference tracking that was leaking.
4128 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4130 Added delayed motion notify event handling, this way we can
4131 discard redrawing if more than 25 events arrive per second.
4133 * src/hildon-pannable-area.c,
4134 (hildon_pannable_area_init): Initialized the new private atributes
4135 controlling this timeout
4136 (hildon_pannable_area_dispose): Remove the timeout that controls
4137 the motion notify events.
4138 (hildon_pannable_area_scroll): Added a condition to control the
4139 use of the acceleration.
4140 (hildon_pannable_area_motion_event_scroll_timeout),
4141 (hildon_pannable_area_motion_event_scroll): Added this two
4142 functions, they handle the motion notify events inside the
4144 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4145 to the scroll method with the new function.
4146 (hildon_pannable_area_button_release_cb): We have to remove the
4147 timeout handler and move to the last position if the last motion
4148 events were not handled.
4150 Fixes: NB#97028 (Pannable area updates on every motion event)
4152 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4154 * src/hildon-pannable-area.c,
4155 (hildon_pannable_area_get_topmost): Added a new parameter to
4156 filter the the windows that do not include those events. Added
4157 also a condition when finding the window to filter windows that do
4158 not ask for those events.
4159 (hildon_pannable_area_button_press_cb),
4160 (hildon_pannable_area_button_release_cb),
4161 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4162 topmost function, we have added the new parameter.
4164 Fixes: NB#97458 (Pannable area prevents propagation of button
4167 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4169 * src/hildon-pannable-area.c,
4170 (hildon_pannable_area_initial_effect): Added controls before
4171 launching the timeout and the idle functions.
4172 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4173 of the method, in some situations it can return with TRUE and 0 in
4175 (hildon_pannable_area_button_press_cb): We do not need to set
4176 DELAY for fading out here.
4178 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4180 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4182 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4183 post-cleaning if the selection is not NULL.
4185 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4187 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4188 all items before restoring the selection.
4190 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4192 * src/hildon-touch-selector.c:
4193 (+hildon_touch_selector_unselect_all):
4194 * src/hildon-touch-selector.h: New API to unselect all items in a
4195 column of the touch selector.
4197 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4199 * src/hildon-pannable-area.c,
4200 (hildon_pannable_area_redraw): Added a call to the refresh
4201 function inside the redraw because apparently in some cases the
4202 change in the adjustment does not imply a size allocate.
4204 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4205 despite the view not being scrollable)
4207 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4209 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4210 leak. Check for NULL before attempting to set the window title.
4212 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4214 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4215 whether to show or not the 'Done' button each time the dialog is
4216 shown, as it depends on the HildonTouchSelector selection mode.
4218 Fixes: NB#96226 (In multiple selection mode Done button is shown
4219 sometimes in listpicker)
4221 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4224 for the number of columns in the HildonTouchSelector more than once.
4226 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4228 * src/hildon-touch-selector.c: Minor documentation fixes.
4230 * src/hildon-picker-dialog.c (+_dialog_update_title)
4231 (_select_on_selector_changed_cb)
4232 (_update_title_on_selector_changed_cb)
4233 (on_selector_columns_changed): Update dialog title when there's no
4234 'Done' button and also when the number of columns in the selector
4238 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4239 (+_selection_changed, hildon_picker_button_on_dialog_response)
4240 (hildon_picker_button_selector_selection_changed)
4241 (+hildon_picker_button_selector_columns_changed)
4242 (hildon_picker_button_set_selector): Update button value and emit
4243 'value-changed' when the number of columns in the selector
4247 Fixes: NB#96225 (Dialog titles are not shown according to the
4248 values selected in the list picker)
4250 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4253 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4254 New "arrow-width" and "arrow-height" style properties to set the
4255 size of the arrow button.
4256 Set name of arrow button ("hildon-edit-toolbar-arrow").
4258 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4259 graphics from theme)
4261 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-picker-button.c:
4264 (hildon_picker_button_selector_selection_changed): Use
4265 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4266 the dialog is present.
4268 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4269 the selection is accepted in the dialog)
4271 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4273 * src/hildon-color-chooser.h
4274 * src/hildon-color-chooser-dialog.h:
4275 Added G_BEGIN_DECLS and G_END_DECLS
4277 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4279 (_clean_current_selection): plug a leak in the list.
4281 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4283 * src/hildon-picker-dialog.c:
4284 (+free_path_list): Method to free a GList of GtkTreePaths.
4285 (_clean_current_selection), (_save_current_selection),
4286 (_restore_current_selection): Save the current selection in
4287 as a list of lists, to support multiple selection properly.
4289 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4291 patch by Claudio Saavedra (csaavedra@igalia.com)
4293 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4294 Store the press position.
4295 (+hildon_text_view_button_release_event): If the release position is
4296 close enough to the press position, move the cursor here. Otherwise,
4298 (hildon_text_view_class_init): Override GtkTextView press, release, and
4299 motion event handlers, disabling this way text selection through
4300 pointer interaction, and allowing the container widget to handle the
4303 Fixes: NB#95828 (HildonTextView functionality)
4305 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4307 Based on a patch by Iván Gómez (igomez@igalia.com)
4309 * src/hildon-button.[ch]
4310 * src/hildon-calendar.c
4311 * src/hildon-check-button.c
4312 * src/hildon-date-editor.c
4313 * src/hildon-date-selector.c
4314 * src/hildon-picker-button.c
4315 * src/hildon-time-editor.c
4316 * src/hildon-time-selector.c
4317 * src/hildon-touch-selector.[ch]:
4318 Documentation updates
4320 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4322 * src/hildon-pannable-area.c,
4323 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4324 threshold, it was required due to X events handling.
4326 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4328 * src/hildon-pannable-area.c,
4329 (hildon_pannable_area_grab_notify),
4330 (hildon_pannable_area_initial_effect),
4331 (hildon_pannable_area_button_press_cb),
4332 (hildon_pannable_area_button_release_cb),
4333 (hildon_pannable_area_scroll_cb),
4334 (hildon_pannable_area_scroll_to): Review the timeout management of
4335 the scrollbar, the frecuency was incorrectly set.
4337 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-picker-button.c:
4340 (+hildon_picker_button_on_dialog_response),
4341 (hildon_picker_button_clicked): Present the dialog instead of
4342 running it with gtk_dialog_run().
4344 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4347 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4349 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4350 (hildon_app_menu_finalize): When a window is hidden it doesn't
4351 emit notify::is-topmost, so make sure than the menu also
4352 disappears in that case.
4353 (parent_window_topmost_notify): Renamed from parent_window_hidden
4355 Fixes: NB#94460 (stackable window's menu is not closed when its
4358 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4360 * src/hildon-touch-selector-entry.c:
4361 (+hildon_touch_selector_entry_set_input_mode),
4362 (+hildon_touch_selector_entry_get_input_mode):
4363 * src/hildon-touch-selector-entry.h: New methods to access the input
4364 mode in the selector's entry.
4366 Fixes: NB#93410 (API required for setting IM mode in
4367 HildonTouchSelectorEntry)
4369 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4371 * configure.ac: post release version bump.
4372 * debian/changelog: version bump
4374 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4379 * configure.ac: Bump version.
4380 * debian/changelog: Updates.
4382 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4384 * src/hildon-touch-selector.c:
4385 (_hildon_touch_selector_has_multiple_selection): No need
4386 to initialize the variables here.
4388 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4390 * src/hildon-note-private.h
4391 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4392 (hildon_note_finalize, hildon_note_rebuild): Close information
4393 notes when they receive a button press.
4395 Fixes: NB#89890 (Information notes does not get disappeared after
4398 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4400 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4401 mark from the wizard title, as it's not really necessary. Also,
4402 do not display the page title if not set.
4404 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4407 (parent_window_hidden): Use the window's "is-topmost" property to
4408 detect when to hide the menu.
4410 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4412 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4413 (hildon_app_menu_finalize): If the parent window of the menu is
4414 hidden, hide the menu too.
4416 Fixes: NB#94460 (stackable window's menu is not closed when its
4419 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4422 * debian/libhildon1-examples.install
4424 * examples/Makefile.am:
4425 Use dh_install to install all examples.
4426 Use DEB_SRCDIR instead of defining SOURCE_DIR
4428 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4430 * configure.ac: post release version bump.
4431 * debian/changelog: version bump
4433 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4438 * configure.ac: bump version
4439 * debian/changelog: updates
4440 * debian/control: bump gtk+ dependency
4442 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4444 patch by Christian Dywan (christian@imendio.com)
4446 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4447 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4449 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-check-button.c (hildon_check_button_init)
4452 (hildon_check_button_class_init, hildon_check_button_style_set)
4453 (hildon_check_button_apply_style):
4454 New "checkbox-size" style property.
4456 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4457 larger / configurable size)
4459 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4461 * configure.ac: post release version bump.
4462 * debian/changelog: version bump
4464 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4469 * configure.ac: bump version
4470 * debian/changelog: updates
4472 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4474 * doc/hildon-sections.txt
4475 * src/hildon-pannable-area.c
4476 * src/hildon-program.c
4477 * src/hildon-time-editor.c
4478 * src/hildon-touch-selector-entry.c:
4480 More documentation updates.
4482 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4484 * doc/hildon-sections.txt
4485 * src/hildon-caption.c
4486 * src/hildon-code-dialog.c
4487 * src/hildon-color-button.c
4488 * src/hildon-controlbar.c
4489 * src/hildon-date-editor.c
4490 * src/hildon-date-selector.c
4491 * src/hildon-edit-toolbar.c
4492 * src/hildon-find-toolbar.c
4493 * src/hildon-font-selection-dialog.c
4495 * src/hildon-program.c
4496 * src/hildon-range-editor.c
4497 * src/hildon-seekbar.c
4498 * src/hildon-time-editor.c
4499 * src/hildon-time-selector.c
4500 * src/hildon-volumebar-range.c
4501 * src/hildon-volumebar.c
4502 * src/hildon-vvolumebar.c
4503 * src/hildon-weekday-picker.c
4504 * src/hildon-window.c
4505 * src/hildon-wizard-dialog.c:
4507 Lots of documentation fixes.
4509 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4511 Patch contributed by Iván Gómez (igomez@igalia.com)
4513 * src/hildon-check-button.c:
4514 * src/hildon-date-button.c:
4515 * src/hildon-date-selector.c:
4516 * src/hildon-dialog.c:
4517 * src/hildon-edit-toolbar.c:
4518 * src/hildon-entry.c:
4519 * src/hildon-picker-button.c:
4520 * src/hildon-program.c:
4521 * src/hildon-text-view.c:
4522 * src/hildon-time-button.c:
4523 * src/hildon-touch-selector-entry.c:
4524 * src/hildon-window-stack.c:
4526 Add more "since" tags to the new API.
4528 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4530 * doc/hildon-sections.txt: Add below method.
4531 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4532 version for the hildonized scale.
4533 * src/hildon-gtk.h: Add the definition.
4535 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4537 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4539 * doc/hildon-sections.txt: Add missing entries for new methods.
4541 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4543 Added API to pannable are in order to get its adjustments. We
4544 added two properties to manage the values we had in the private
4547 * src/hildon-pannable-area.c:
4548 (hildon_pannable_area_class_init): Added hadjustment and
4549 vadjustment properties in order to expose horizontal and vertical
4551 (hildon_pannable_area_get_property),
4552 (hildon_pannable_area_set_property): Added code to handle the new
4554 (hildon_pannable_area_get_hadjustment),
4555 (hildon_pannable_area_get_vadjustment): API functions to get the
4557 * src/hildon-pannable-area.h:
4558 (hildon_pannable_area_get_hadjustment),
4559 (hildon_pannable_area_get_vadjustment): API functions to get the
4562 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4564 Fixed some leaks, after valgrinding.
4566 * src/hildon-touch-selector.c:
4567 (_default_print_func): Fixed a leak.
4568 (hildon_touch_selector_append_column): Fixed a leak.
4569 * src/hildon-date-button.c:
4570 (hildon_date_button_init): Fixed a leak.
4571 * src/hildon-date-selector.c
4572 (hildon_date_selector_finalize): Fixed a leak.
4574 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4576 Based on a patch by Christian Dywan (christian@imendio.com)
4578 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4580 * src/hildon-gtk.h: Add definition.
4582 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4584 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4586 * src/hildon-picker-button.c: (hildon_picker_button_init),
4587 (hildon_picker_button_new): Set the HildonButton::style property
4588 in the init method, to propagate the value to the derived classes.
4590 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4592 * src/hildon-button.c: (hildon_button_class_init): Do not make
4593 the "style" property a construct property.
4595 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-wizard-dialog.h
4598 * src/hildon-wizard-dialog.c
4599 (hildon_wizard_dialog_set_forward_page_func)
4600 * src/hildon-pannable-area.h
4601 * src/hildon-pannable-area.c
4602 (hildon_pannable_area_set_size_request_policy):
4603 Documentation fixes.
4605 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4607 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4609 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4611 * doc/hildon-sections.txt: Added sections file.
4613 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4616 * src/*.[ch]: Updates.
4618 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4620 * examples/hildon-progress-indicator-example.c: new file
4621 * examples/Makefile.am: include the new example program
4623 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4625 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4627 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4629 * configure.ac: post release version bump
4630 * debian/changelog: version bump
4632 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4637 * configure.ac: bump version
4638 * debian/changelog: updates
4639 * debian/control: bump gtk+ dependency
4641 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4643 * src/hildon-dialog.c: Mark as deprecated.
4644 * src/hildon-dialog.h: Mark as deprecated.
4645 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4646 from HildonDialog and still work, even if
4647 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4648 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4650 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4651 maemo changes) instead)
4653 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4655 * src/hildon-pannable_area.h:
4656 * src/hildon-pannable_area.c:
4657 (hildon_pannable_area_class_init),
4658 (hildon_pannable_area_set_property),
4659 (hildon_pannable_area_get_property),
4660 (hildon_pannable_area_size_request),
4661 (hildon_pannable_area_get_size_request_policy),
4662 (hildon_pannable_area_set_size_request_policy): Added new API
4663 allowing applications to control the request policy. Now they can
4664 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4665 children allocation (HILDON_MOVEMENT_CHILDREN).
4667 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4671 (hildon_gtk_tree_view_set_ui_mode)
4672 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4673 mode of treeviews and iconviews.
4675 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4677 * src/hildon-touch-selector-entry.c:
4678 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4679 of a GtkEntry to get proper theming.
4681 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4682 widget, not GtkEntry)
4684 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4686 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4687 no HildonWizardDialogPageFunc.
4689 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4691 Patch contributed by Iván Gómez (igomez@igalia.com)
4693 * src/hildon-app-menu.c:
4694 * src/hildon-button.c:
4695 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4696 * src/hildon-stackable-window.c:
4697 * src/hildon-time-selector.c:
4698 * src/hildon-touch-selector.c:
4699 * src/hildon-window.c:
4701 Add more "since" tags to the new API in hildon 2.2.
4703 2008-12-05 Tim Janik <timj@imendio.com>
4705 Patch contributed by Christian Dywan (christian@imendio.com)
4707 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4708 HildonSizeType, which are supplied by Gtk+ now.
4710 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4712 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4713 (with maemo changes) instead)
4715 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4717 Patch contributed by Iván Gómez (igomez@igalia.com)
4719 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4722 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4724 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4725 (some_page_func), (main): Update the example to use a
4726 HildonWizardDialogPageFunc function.
4728 * src/hildon-wizard-dialog-private.h: Add private data for
4729 the HildonWizardDialogPageFunc function usage.
4731 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4732 (destroy), (hildon_wizard_dialog_init), (response),
4733 (hildon_wizard_dialog_set_forward_page_func):
4734 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4735 that applications can use to stop a HildonWizardDialog to jump to
4738 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4741 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4743 * src/hildon-program.h
4744 * src/hildon-program-private.h
4745 * src/hildon-program.c (hildon_program_init)
4746 (hildon_program_set_common_app_menu)
4747 (hildon_program_get_common_app_menu):
4748 New API for setting a common HildonAppMenu for all
4749 HildonStackableWindows registered with the HildonProgram.
4751 * src/hildon-stackable-window.c
4752 (hildon_stackable_window_toggle_menu):
4753 Use the common HildonAppMenu if a window doesn't have a specific
4756 * src/hildon-app-menu-private.h
4757 * src/hildon-app-menu.c
4758 (hildon_app_menu_get_parent_window):
4759 Function to obtain the window a HildonAppMenu is attached to.
4760 (hildon_app_menu_set_parent_window):
4761 Hide the menu if the parent window is set to NULL.
4763 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4765 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4766 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4767 search widget to popup.
4769 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4771 * configure.ac: post release version bump
4772 * debian/changelog: version bump
4774 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4779 * configure.ac: bump version
4780 * debian/changelog: updates
4782 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4784 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4786 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4787 (hildon_window_stack_window_realized)
4788 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4789 Set the leader GdkWindow when a window is stacked and realized,
4790 unset it when it's unstacked.
4791 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4793 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4795 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4797 * src/hildon-stackable-window.h
4798 * src/hildon-window-stack.h:
4799 Protect definition of HildonWindowStack using the preprocessor.
4801 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4803 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4804 Fix warning if all menu items are hidden.
4806 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4808 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4810 * src/hildon-controlbar.c:
4811 * src/hildon-hvolumebar.c:
4812 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4813 Multiple scale size defines updates.
4815 Fixes: NB#94322 (Scale Updates)
4817 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4819 * examples/hildon-app-menu-example.c (create_menu)
4820 Show items after adding them to the menu, as in the future the
4821 menu will no longer call gtk_widget_show() on the added items.
4823 * src/hildon-app-menu.c:
4824 Update example as explained above.
4826 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-app-menu.c
4829 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4830 Make sure that all menu items have finger height.
4832 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4834 * src/hildon-picker-dialog.c:
4835 (_on_dialog_response), (_save_current_selection),
4836 (_restore_current_selection), (_clean_current_selection),
4837 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4838 Defined new functions in order to save the current internal selector
4839 selection previous open the dialog, in case that the use cancel the
4840 interaction, so the widget restores the previous selection.
4842 Fixes: NB#92032 (In calendar application, date values in 'new event'
4845 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4847 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-button.c: Add a reference to the button examples in
4850 hildon-button-example.c
4852 * examples/hildon-button-example.c: Added examples of the most
4853 common button layouts.
4855 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-app-menu.c (hildon_app_menu_show)
4858 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4860 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4862 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4864 * src/hildon-picker-dialog.c:
4865 (hildon_picker_dialog_init): Initialize the signal id for
4866 HildonTouchSelector::columns-changed.
4867 (+on_selector_columns_changed): Set up the interaction mode everytime a
4868 column is added or removed from the HildonTouchSelector.
4869 (_hildon_picker_dialog_set_selector): Connect to
4870 HildonTouchSelector::columns-changed and keep track of it.
4872 Make sure to update the interaction mode of the dialog everytime a
4873 column is added or removed in the HildonTouchSelector.
4875 Fixes: NB#93228 (Done button is not shown always in listpicker)
4877 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4879 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4880 a new ::columns-changed signal.
4881 (hildon_touch_selector_append_column): Emit ::columns-changed.
4882 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4884 Add a ::columns-changed signal, emitted when the number of columns in a
4885 HildonTouchSelector changes.
4887 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4889 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4890 (_hildon_picker_dialog_set_selector): Factor out the code
4891 to set up the dialog interaction mode.
4893 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4896 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4897 to signal_changed_id.
4899 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4901 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4904 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4906 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4907 Updated the logical ids related to ampm format, as now it is required to
4908 show it correctly localized even on languages with no default
4909 abbreviations for am or pm
4910 (_check_am_pm_format): check correctly the 24h format gconf property
4912 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4914 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4916 * src/hildon-button.c: Documentation updates.
4918 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4920 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4921 * src/hildon-caption.c: (hildon_caption_class_init):
4922 * src/hildon-color-button.c: (hildon_color_button_class_init):
4923 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4924 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4925 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4926 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4928 Remove deprecated GTK+ marshalers and replace them with the ones
4929 provided by GLib, for those available, add a marshaler for
4930 BOOLEAN:VOID, which is not available in GLib, and use it.
4932 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4934 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4935 the text from the previous column if there is no
4936 HildonTouchSelectorColumn::text-property set.
4938 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-button.h
4941 * src/hildon-button.c (hildon_button_set_property)
4942 (hildon_button_get_property, hildon_button_class_init)
4943 (hildon_button_set_style, hildon_button_get_style):
4944 New "style" property to change the visual appearance of the
4947 * src/hildon-picker-button.c (hildon_picker_button_new):
4948 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4950 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4951 HildonButton look like PickerButton)
4953 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4955 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4956 column while building the default string.
4958 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4960 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4961 scroll indicator by default.
4963 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4965 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4967 * src/hildon-main.c: Fix the documentation for hildon_init()
4969 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4971 * doc/hildon-docs.sgml
4975 * src/hildon-window-stack-private.h
4976 * src/hildon-window-stack.h
4977 * src/hildon-window-stack.c:
4978 New HildonWindowStack object, that adds support for multiple
4979 stacks of windows per process.
4981 * src/hildon-stackable-window-private.h
4982 * src/hildon-stackable-window.h
4983 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4984 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4985 (hildon_stackable_window_show, hildon_stackable_window_hide)
4986 (hildon_stackable_window_class_init)
4987 (hildon_stackable_window_init):
4988 Use HildonWindowStack for stack management.
4990 * src/hildon-program.c (hildon_program_pop_window_stack)
4991 (hildon_program_peek_window_stack)
4992 (hildon_program_go_to_root_window):
4993 Add a fallback implementation to the deprecated functions using
4996 * examples/hildon-stackable-window-example.c:
4997 Use the new HildonWindowStack API.
4999 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5001 * src/hildon-stackable-window-private.h
5002 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5003 (hildon_stackable_window_hide, hildon_stackable_window_init):
5004 Remove all window stack management.
5006 * src/hildon-program-private.h
5007 * src/hildon-program.h
5008 * src/hildon-program.c (hildon_program_init)
5009 (hildon_program_pop_window_stack)
5010 (hildon_program_peek_window_stack)
5011 (hildon_program_go_to_root_window):
5012 Remove all window stack management and mark functions as
5015 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5017 * src/hildon-app-menu.c (hildon_app_menu_realize):
5018 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5020 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5022 * configure.ac: post release version bump
5023 * debian/changelog: version bump
5025 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5030 * configure.ac: bump version
5031 * debian/changelog: updates
5033 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5035 Based on initial code by Christian Dywan (christian@imendio.com)
5037 * doc/hildon-docs.sgml: Add section for hildon-main.
5038 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5039 * src/Makefile.am: Add new hildon-main.[ch]
5040 * src/hildon-defines.h: Update the icon sizes.
5041 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5042 new library initialization files and register icon sizes.
5043 * src/hildon-main.h: New declarations.
5044 * src/hildon.h: Include hildon-main.h
5046 Add new initialization functions to the library. These methods
5047 will register the hildon specific icon sizes and can be used in the
5048 future for other hildon specific bits.
5050 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5052 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5054 * src/hildon-window.c: (hildon_window_realize),
5055 (hildon_window_notify), (-hildon_window_update_title): Do not set
5056 the application name in the window title.
5058 Fixes: NB#89754 (Applications shouldn't display their names in the
5061 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5063 * src/hildon-note-private.h:
5064 * src/hildon-note.c: (hildon_note_set_property),
5065 (hildon_note_get_property), (hildon_note_class_init),
5066 (hildon_note_init), (hildon_note_finalize),
5067 (hildon_note_new_confirmation_with_icon_name),
5068 (hildon_note_new_information_with_icon_name):
5070 No need to mark as deprecated the actual code. Revert
5071 to avoid missing symbols in widgets using deprecated API.
5073 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5075 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5077 * src/hildon-volumebar.h
5078 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5079 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5081 * src/hildon-helper.h
5082 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5083 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5085 * examples/Makefile.am:
5086 Deprecate hildon-insensitive-example
5088 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5090 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5092 * examples/hildon-pannable-area-buttons-scroll-example.c:
5093 Make all buttons finger height
5095 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5097 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5099 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5100 update the day model only if it is really required, and to avoid the
5101 full-reconstruction aproach. Now it only add or remove the required days.
5103 The purpose of this is avoid superfluous HildonTouchSelector::changed
5106 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5107 with strange parameters)
5109 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5111 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5113 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5114 the WINDOW_TYPE property.
5116 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5118 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5121 Fix dependency to allow parallel compilation with make -jX
5123 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5125 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5126 color frame and some minor tweaks to make it more consistent with
5129 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5130 highlighted but not visible)
5132 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5134 * examples/Makefile.am: Fixed typo in the Makefile.am.
5136 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5138 Reviewed the use of MAEMO_GTK define, now we add the define in the
5139 compilation line, and we also add it to the pc file.
5141 * configure.ac: Added MAEMO_GTK define to the compilation command
5142 and removed it from the config.h.
5144 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5145 do not have to take care about this define if the library was
5149 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5151 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5153 * examples/Makefile.am,
5154 * examples/hildon-pannable-area-buttons-scroll-example.c,
5155 * examples/hildon-pannable-area-gesture-signals-example.c,
5156 * examples/hildon-pannable-area-scroll-jump-example.c,
5157 * examples/hildon-pannable-area-tree-view-example.c:
5158 Renamed the pannable area examples, now they have more meaningful
5161 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5163 * src/hildon-touch-selector.c:
5164 (hildon_touch_selector_set_column_selection_mode): Used of
5165 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5166 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5167 to avoid re-seting the same selection mode.
5169 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5170 breaks HildonPickerDialog)
5172 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5174 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5175 conditional in the Makefile.am
5177 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5179 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5180 Remove unused methods.
5182 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5184 * src/hildon-button.c (hildon_button_init):
5185 Make button images center-aligned by default
5187 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5190 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5191 activated, we have to think about how to deal with both defines
5192 MAEMO_GTK and MAEMO_CHANGES.
5194 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5196 * examples/hildon-app-menu-example.c (create_menu): Make all
5197 buttons finger size.
5199 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5201 Fixed the compilation without maemo gtk adding ifdefs with
5202 MAEMO_GTK define to the code, we have to check this version more
5205 * examples/Makefile.am: Added control to avoid some examples that
5206 just make sense with maemo gtk.
5209 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5210 hildon modes with the define.
5212 * examples/hildon-edit-toolbar-example.c,
5213 (create_icon_view): Create the icon view without hildon-gtk
5214 helpers if we are not using maemo gtk.
5216 * src/hildon-touch-selector.c,
5217 (_create_new_column): Create the treeview without hildon-gtk
5218 helpers if we are not using maemo gtk.
5220 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5222 * src/hildon-pnnable-area.c,
5223 (hildon_pannable_area_dispose),
5224 (hildon_pannable_area_button_press_cb),
5225 (hildon_pannable_area_child_mapped),
5226 (hildon_pannable_area_add),
5227 (hildon_pannable_area_remove): Added code to control the position
5228 of the event_window when adding and removing children from the
5229 pannable. We have to raise the event window when the child is
5232 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5233 selection mode using custom widget inside pannable)
5235 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5237 * configure.ac: post release version bump
5238 * debian/changelog: version bump
5240 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5245 * configure.ac: bump version
5246 * debian/changelog: updates
5248 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5250 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5251 search mode, in order to avoid lose the focus on the treeview when
5252 a hw key (like enter) is pressed.
5254 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5255 in HildonDateSelector dialog)
5257 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5259 * debian/rules: Added --enable-maintainer-mode
5260 * Makefile.am: Added ACLOCAL_AMFLAGS
5262 This allows to properly regenerate the Makefiles if you modify the
5263 configure.ac or any Makefile.am.
5265 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5267 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5268 properties, not needed at all.
5270 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5272 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5274 * src/hildon-note.c: (hildon_note_set_property),
5275 (hildon_note_get_property), (hildon_note_class_init),
5276 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5277 (hildon_note_new_confirmation_add_buttons): Remove icons.
5278 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5279 (hildon_note_new_information_with_icon_name): Deprecate.
5280 (hildon_note_new_confirmation): Act directly, without calling
5281 the deprecated constructor.
5282 (hildon_note_new_information): Act directly, without calling
5283 the deprecated constructor.
5284 * src/hildon-note.h: Mark deprecate methods as such.
5285 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5286 not run tests on the deprecated methods if built with deprecation
5289 Fixes: NB#91688 (Never show icons in information notes/confirmation
5292 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5294 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5295 (hildon_app_menu_key_press): Remove leftover usage of the
5296 private structure in HildonAppMenu struct.
5297 * src/hildon-app-menu.h: Remove leftover private structure
5298 from the HildonAppMenu struct.
5300 Fixes a crasher when using the HildonAppMenu.
5302 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-picker-dialog.c: Use appropriate logical id
5305 for the default "Done" text.
5307 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5309 * configure.ac: post release version bump
5310 * debian/changelog: version bump
5312 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5314 Modified the way to scroll to the current selection just when the touch
5315 selector is shown on the screen, avoiding a g_idle. Added too a property
5316 to configure this behaviour. See hildon_pannable_area_jump_to_child
5317 documentation for more information.
5319 * src/hildon-touch-selector.c
5320 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5321 Added 'initial-scroll' property
5322 (hildon_touch_selector_set_property): Added
5323 (hildon_touch_selector_map): Removed as not required anymore
5324 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5325 only a concrete column, instead of iterate along all the columns
5327 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5332 * configure.ac: bump version
5333 * debian/changelog: updates
5335 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5337 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5338 compilation time warnings.
5340 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5342 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5343 the default value for HildonPannableArea::mov-mode to
5344 HILDON_PANNABLE_AREA_MODE_VERT.
5346 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5348 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5350 Reverting following commit:
5352 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-app-menu-private.h
5355 * src/hildon-app-menu.[ch]
5356 * src/hildon-button.[ch]
5357 * src/hildon-check-button.[ch]
5358 * src/hildon-entry.[ch]
5359 * src/hildon-pannable-area.[ch]
5360 * src/hildon-text-view.[ch]:
5361 Added private field to the object's structure.
5363 because it causes an ABI breakage. We will need to introduce these
5364 changes later at some point. See NB#91636 for an extensive
5365 explanation and status.
5367 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5369 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5371 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5372 remove special cases that are no longer necessary.
5374 Fixes: NB#91016 (Change toolbar sizes, simplification)
5376 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5378 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5379 is shown in the cancel note.
5381 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5384 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5385 (hildon_seekbar_init): Remove steppers, remove expose event.
5386 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5388 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5390 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5392 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5393 label font to "SmallSystemFont" for vertically arranged buttons.
5395 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5398 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-check-button.c
5401 (hildon_check_button_set_active, hildon_check_button_clicked):
5402 Don't access private parts directly, use getters instead.
5404 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5406 * src/hildon-check-button.c (hildon_check_button_new):
5407 Align the contents of the check button to the left.
5409 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5411 * src/hildon-pannable-area.c,
5412 (hildon_pannable_area_scroll_to),
5413 (hildon_pannable_area_jump_to),
5414 (hildon_pannable_area_scroll_to_child),
5415 (hildon_pannable_area_jump_to_child): Replace the mapped
5416 precondition of these functions with the realized, it is the
5417 correct state of the widget in this case. Changed the
5418 documentation according to this modification.
5420 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5422 Added a new EXTRA_CFLAGS option to add the deprecated define to
5423 the compilation command. This way we can avoid using the define in
5424 the documentation compilation.
5426 * configure.ac: Defined EXTRA_CFLAGS.
5428 * examples/Makefile.am:
5430 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5432 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5434 * src/hildon-picker-dialog.c:
5435 Defined a utility macro with the desired touch selector height
5436 Removed currently unused separator, and title_label variables from
5438 (hildon_picker_dialog_init): Removed code related to the creation
5439 of unused private variables title_label and separator.
5440 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5441 to ensure correct visualization of the touch selector inside the dialog.
5442 * src/hildon-touch-selector.c
5443 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5444 ensure a concrete height of the widget.
5446 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5449 * tests/Makefile.am:
5451 Remove spurious whitespaces.
5453 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5455 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5456 compilation warning after the cancel button removal.
5458 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5460 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5462 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5463 Makefile.am, that way we can choose not to compile some examples
5464 and tests of the deprecated widgets.
5466 * examples/Makefile.am: Divided the sources in deprecated and
5469 * src/Makefile.am: Added undef statement of the deprecated
5470 symbol to the enums file generation process.
5472 * src/hildon-color-chooser-dialog.c
5473 * src/hildon-color-chooser-dialog.h
5474 * src/hildon-color-button.c
5475 * src/hildon-color-button.h
5476 * src/hildon-color-chooser.c
5477 * src/hildon-color-chooser.h
5478 * src/hildon-controlbar.c
5479 * src/hildon-controlbar.h
5480 * src/hildon-date-editor.c
5481 * src/hildon-date-editor.h
5482 * src/hildon-hvolumebar.c
5483 * src/hildon-hvolumebar.h
5484 * src/hildon-private.c
5485 * src/hildon-private.h
5486 * src/hildon-range-editor.c
5487 * src/hildon-range-editor.h
5488 * src/hildon-seekbar.c
5489 * src/hildon-seekbar.h
5490 * src/hildon-time-editor.c
5491 * src/hildon-time-editor.h
5492 * src/hildon-time-picker.c
5493 * src/hildon-time-picker.h
5494 * src/hildon-volumebar.c
5495 * src/hildon-volumebar.h
5496 * src/hildon-vvolumebar.c
5497 * src/hildon-vvolumebar.h
5498 * src/hildon-bread-crumb-trail.h
5499 * src/hildon-bread-crumb-trail.c
5500 * src/hildon-calendar-popup.c
5501 * src/hildon-calendar-popup.h
5502 * src/hildon-weekday-picker.c:
5503 * src/hildon-weekday-picker.h:
5504 * src/hildon-bread-crumb-widget.c:
5505 * src/hildon-bread-crumb-widget.h:
5506 * src/hildon-bread-crumb.c:
5507 * src/hildon-bread-crumb.h:
5508 * src/hildon-calendar.c:
5509 * src/hildon-calendar.h:
5510 * src/hildon-caption.c:
5511 * src/hildon-code-dialog.c:
5512 * src/hildon-code-dialog.h:
5513 * src/hildon-font-selection-dialog.c:
5514 * src/hildon-font-selection-dialog.h:
5515 * src/hildon-get-password-dialog.c:
5516 * src/hildon-get-password-dialog.h:
5517 * src/hildon-login-dialog.c:
5518 * src/hildon-login-dialog.h:
5519 * src/hildon-number-editor.c:
5520 * src/hildon-number-editor.h:
5521 * src/hildon-set-password-dialog.c:
5522 * src/hildon-set-password-dialog.h:
5523 * src/hildon-sort-dialog.c:
5524 * src/hildon-sort-dialog.h: This is the list of deprecated
5527 * src/hildon-touch-selector.c:
5528 * src/hildon-window.c: Added undef statement to avoid compilation
5531 * tests/Makefile.am: Divided the sources in deprecated and
5534 * tests/check_test.c,
5535 (configure_tests): Marked the deprecated code that was adding
5536 suites with deprecated tests.
5538 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5540 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5542 * src/hildon-touch-selector.c: (_default_print_func): Do not
5543 duplicate a string returned by gtk_tree_model_get(), it is already
5546 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5549 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5551 * src/hildon-pannable-area.c
5552 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5553 method, it had problems when adding a widget with viewport the
5554 second time. Now checks if it already has a viewport and uses it.
5556 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5559 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5561 * src/hildon-pannable-area.c,
5562 (hildon_pannable_area_scroll_to),
5563 (hildon_pannable_area_jump_to),
5564 (hildon_pannable_area_scroll_to_child),
5565 (hildon_pannable_area_jump_to_child): Added a precondition to the
5566 scroll and jump to functions: the widget must be mapped before we
5567 can safely call these functions. We have also added documentation
5568 to the functions to explain how to use them in this situation.
5571 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5573 Reviewed the threading handling of the pannable widget, we have
5574 used the gdk_threads_add_timeout function instead of the usual
5575 glib handlers. This avoids some problems with the threads.
5577 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5578 (hildon_pannable_area_initial_effect),
5579 (hildon_pannable_area_scroll_indicator_fade),
5580 (hildon_pannable_area_button_press_cb),
5581 (hildon_pannable_area_timeout),
5582 (hildon_pannable_area_motion_notify_cb),
5583 (hildon_pannable_area_button_release_cb),
5584 (hildon_pannable_area_scroll_cb),
5585 (hildon_pannable_area_scroll_to): Removed the
5586 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5587 gdk_threads_add_timeout.
5589 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5591 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5596 * configure.ac: bump version
5597 * debian/changelog: updates
5599 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5601 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5602 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5603 * src/hildon-color-chooser-dialog.c:
5604 (hildon_color_chooser_dialog_init):
5605 * src/hildon-font-selection-dialog.c:
5606 (hildon_font_selection_dialog_init):
5607 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5609 Remove all cancel/close-like dialogs, as these are not going to be
5612 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5614 * src/hildon-note.c: (hildon_note_rebuild),
5615 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5618 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5620 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5622 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5623 sure all buttons are shown, even the Cancel/Close-like ones.
5625 Fixes: NB#90861 (Custom Confirmation dialogs should be
5626 protected from cancel button removal)
5628 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5630 * debian/control: Change libhildon1-examples dependency from libhildon1
5632 * debian/libhildon1-examples.install
5634 * Makefile.am: Modified the final install directory for the examples on
5635 package libhildon1-examples
5636 * Makefile.static: Update clean target in order to remove all the binary
5639 Changes suggested by Claudio after review new libhildon1-examples package
5641 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5644 * src/hildon-touch-selector.c: Ditto.
5646 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5648 * debian/control: Added new package libhildon1-examples, in order to pack
5649 the current hildon examples as documentation
5650 * debian/rules: Not to compress .c files, modify some includes on the
5651 examples (as normally are compiled locally, but when installed it will
5652 require to include the installed libhildon1 library), and rename
5654 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5655 install all the example files on the new example package
5656 * examples/Makefile.static: Added static makefile that can be used to
5657 compile the examples, once installed the new example package
5658 * examples: Most of the examples were modified in order to grant that
5659 all use only '#include "hildon.h"', in order to be easy to prepare
5660 it on the example package
5662 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5665 * debian/libhildon1-dev.install
5666 * debian/libhildon1-doc.install:
5667 Move all gtk-doc files to a separate libhildon1-doc package.
5669 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5671 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5673 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5675 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5677 * debian/rules: Fixed a error in order to avoid unnecessary calls
5678 to autogen.sh on package building
5680 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5682 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5684 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5686 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5689 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5691 * src/hildon-picker-button.c
5692 (hildon_picker_button_finalize):
5693 Free priv->done_button_text
5695 * src/hildon-time-button.c
5696 (hildon_time_button_set_time)
5697 * src/hildon-picker-button.c
5698 (hildon_picker_button_clicked)
5699 (hildon_picker_button_selector_selection_changed)
5700 (hildon_picker_button_set_selector)
5701 * src/hildon-date-button.c
5702 (hildon_date_button_set_date):
5703 Free strings returned by hildon_touch_selector_get_current_text()
5705 * src/hildon-button.c (hildon_button_construct_child):
5706 Fix leaks in priv->image and priv->label_box
5708 Fixes: NB#90535 (Memory leak in picker button)
5710 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-button.c: (hildon_button_get_property): Do not access
5713 private elements directly, use getters instead.
5715 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5717 * src/hildon-app-menu-private.h
5718 * src/hildon-app-menu.c
5719 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5720 Store the menu's parent window.
5722 * src/hildon-stackable-window.c
5723 (hildon_stackable_window_toggle_menu)
5724 (hildon_stackable_window_finalize):
5725 Set the menu's parent window when the menu is shown, unset it when
5728 * src/hildon-app-menu.c
5729 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5730 (hildon_app_menu_class_init):
5731 Send unhandled keyboard accelerators to the parent window.
5733 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5735 * src/hildon-stackable-window.c
5736 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5738 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5740 * configure.ac: post release version bump
5742 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5745 * configure.ac: Bump version
5746 * debian/changelog: Updates
5747 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5750 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5752 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5755 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5756 GtkMenu with Hildon style.
5758 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5760 * src/hildon-picker-button.c:
5761 (hildon_picker_button_set_done_button_text): Set the dialog's
5762 done button text here as well.
5764 Fixes: NB#90232 (Picker button does not set the label on done button
5765 for the second time)
5767 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5769 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5772 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-app-menu.c (hildon_app_menu_insert)
5775 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5776 the HildonAppMenu to be activatable using keyboard accelerators
5777 when the menu is not being shown.
5779 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5781 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-stackable-window.c
5784 (hildon_stackable_window_show):
5785 Don't hide old windows automatically when new windows are shown:
5786 this is now a task for the window manager.
5787 (hildon_stackable_window_class_init)
5788 (hildon_stackable_window_hide):
5789 Remove windows from the stack everytime they're hidden.
5790 (hildon_stackable_window_realize):
5791 Don't change the _NET_WM_WINDOW_TYPE property. Use
5792 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5793 it as a stackable window.
5795 * src/hildon-program.c
5796 (hildon_program_pop_window_stack):
5797 Just hide the window to remove it from the stack.
5798 (hildon_program_go_to_root_window):
5799 Don't call gtk_widget_show(), this is now a task for the window
5802 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5804 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-button.c
5807 (hildon_button_construct_child):
5808 Don't pack anything in the button until text or image are
5809 set. This allows adding a custom child after creating the button
5810 with hildon_button_new().
5811 (hildon_button_finalize, hildon_button_class_init)
5812 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5813 alignment and the label box even when they're not packed in the
5816 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5818 * src/hildon-touch-selector.h:
5819 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5820 currently the type definition was using GTK_TYPE_VBOX
5821 * src/hildon-touch-selector.c:
5822 Added some implementation notes in order to clarify that any other widget
5823 added without the column related API will not be included on the
5824 selection logic, and how the widget is freed, as some people ask about
5826 (hildon_touch_selector_remove): Reimplemented in order to free properly
5827 the column related data when you remove the private hbox.
5828 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5829 to get a proper HildonTouchSelectorColumn documentation
5831 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5833 * src/hildon-touch-selector-entry.c:
5834 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5835 text in the GtkEntry and there is no item selected. Fixes a
5838 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-app-menu-private.h
5841 * src/hildon-app-menu.[ch]
5842 * src/hildon-button.[ch]
5843 * src/hildon-check-button.[ch]
5844 * src/hildon-entry.[ch]
5845 * src/hildon-pannable-area.[ch]
5846 * src/hildon-text-view.[ch]:
5847 Added private field to the object's structure.
5849 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5851 * configure.ac: post-release version bump
5853 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5857 * configure.ac: pre-release version bump
5859 * debian/changelog: updates.
5861 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5863 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5864 Disconnect the handler for HildonTouchSelector::changed.
5866 (hildon_picker_button_selector_selection_changed): Update the button
5867 value if the selection change was not triggered by the
5870 (hildon_picker_button_set_selector): connect to
5871 HildonTouchSelector::changed.
5873 Fixes: NB#89650 (Picker button is not updated, when selection in
5874 selector has changed)
5876 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5878 * src/hildon-picker-dialog.c
5879 (hildon_picker_dialog_realize): Removed as not required
5880 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5881 * src/hildon-picker-button.c
5882 (_current_selector_empty): New function, checks if the selector is empty
5883 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5884 if the current selector is empty, in order to avoid to show the dialog
5885 close the dialog in this case (and shows a g_warning).
5887 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5889 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5891 * src/hildon-pannable-area.c,
5892 (hildon_pannable_area_scroll): Added clause to stop movement when
5893 the child of pannable is smaller than one page.
5894 (hildon_pannable_area_scroll_to): Added conditions to avoid
5895 starting the scrolling movement if the child is smaller than one
5896 page, the complete child is in the screen, we do not have to move.
5898 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5900 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5903 this is managed automatically by the widget when the size of the
5906 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5908 * src/hildon-picker-button.c
5909 (hildon_picker_button_set_done_button_text): Make a copy of the
5910 text, and free the previous value.
5912 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5914 * src/hildon-touch-selector-entry.c:
5915 (hildon_touch_selector_entry_print_func): Return the selected row's
5916 text if the entry is empty.
5918 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5921 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5923 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5925 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-check-button.h
5929 * src/hildon-check-button.c
5930 * examples/hildon-check-button-example.c:
5931 HildonCheckButton is now a new widget. 'toggled' signal added.
5933 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-program-private.h
5936 * src/hildon-program.c (hildon_program_init)
5937 (hildon_program_finalize): Removed unused variables group_leader
5938 and name from HildonProgramPrivate.
5940 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5942 * src/hildon-check-button.c (hildon_check_button_set_active)
5943 (hildon_check_button_get_active, hildon_check_button_new): Use
5944 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5946 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5948 * src/hildon-touch-selector.h
5949 (hildon_touch_selector_set_column_attributes): added deprecation
5950 guard HILDON_DISABLE_DEPRECATED
5951 * src/hildon-time-selector.c
5952 (hildon_time_selector_set_time)
5953 (hildon_time_selector_get_time): Fixed a typo on documentation
5954 * src/hildon-touch-selector.c: update HildonTouchSelector and
5955 HildonTouchSelectorColumn documentation
5956 * src/hildon-touch-selector-entry.c: update "text-column" property
5958 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5959 to be added to the general documentation.
5961 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5963 * examples/hildon-pannable-area-example-4.c,
5965 * examples/hildon-pannable-area-example.c,
5966 (main): Modified the code in order to use the container add, with
5967 viewport treeviews could have problems if they are really big.
5969 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5971 * src/hildon-weekday-picker.c,
5972 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5973 the agreement regarding deprecation in the library.
5975 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5977 * examples/hildon-picker-button-multicolumn-example.c:
5978 (main): Use custom "done" button text.
5980 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5981 (hildon_picker_button_set_property),
5982 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5983 (hildon_picker_button_init),
5984 (+hildon_picker_button_get_done_button_text),
5985 (+hildon_picker_button_set_done_button_text): New methods to customize
5986 the "done" button label in the launched HildonPickerDialog. Also,
5989 * src/hildon-picker-button.h: add the public API.
5991 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5993 * src/hildon-date-selector.h:
5994 * src/hildon-picker-dialog.h:
5995 * src/hildon-time-selector.h:
5996 * src/hildon-touch-selector-column.h:
5997 * src/hildon-touch-selector.h:
5999 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6000 declarations. Fixes gtk-doc warnings.
6002 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-picker-dialog.h
6005 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6006 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6008 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6009 long text is set as label for done button)
6011 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-dialog.c (hildon_dialog_add_button):
6014 Set fixed width to all buttons in the HildonDialog.
6016 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6018 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6020 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6021 Set widget name using class name plus "-finger" or "-thumb".
6023 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6025 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6026 'clicked' when the state of the button is manually changed.
6028 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-app-menu.c (hildon_app_menu_realize)
6031 (hildon_app_menu_unrealize, hildon_app_menu_init)
6032 (hildon_app_menu_class_init, item_visibility_changed):
6033 Change the menu layout when the size of the screen changes.
6034 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6035 Show warning only when changing the number of colums using the
6038 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6040 * debian/compat: Set to 5
6041 * debian/control: Update dependencies.
6042 * debian/libhildon1-dbg.install: Remove.
6043 * debian/libhildon1-dev.install: Update according to cdbs paths.
6044 * debian/libhildon1.install: Update according to cdbs paths.
6045 * debian/rules: Switch to cdbs.
6047 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6050 'item' variable renamed to 'filter'
6052 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-app-menu.c (hildon_app_menu_insert)
6055 (hildon_app_menu_add_filter, remove_item_from_list)
6056 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6057 Don't leak hidden items when the menu is destroyed.
6059 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-app-menu.c (hildon_app_menu_insert)
6062 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6063 (hildon_app_menu_set_columns, item_visibility_changed)
6064 (filter_visibility_changed, hildon_app_menu_repack_filters)
6065 (hildon_app_menu_repack_items):
6066 Repack items and filters separately.
6068 Don't repack all items, change only the ones that are needed to
6071 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6073 * src/Makefile.am: added hildon-touch-selector-column.h
6075 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6077 * src/hildon-touch-selector.c: added the property "text-column" to the
6078 class HildonTouchSelectorColumn, and related get/set functions
6079 (_default_printf_func): updated to use "text-column" property
6080 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6081 "text-column" in his documentation, as this is now included on
6082 HildonTouchSelectorColumn. The get/set_property can still be used,
6083 working as a wrapper to the concrete column "text-column" property
6084 (_text_column_modified): callback added in order to handle the signal
6085 "notify::text-column" of the concrete HildonTouchSelectorColumn
6086 (hildon_touch_selector_entry_get_text_column)
6087 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6088 modified in order to use the HildonTouchSelectorColumn "text-column"
6090 * src/hildon-time-selector.c:
6091 * src/hildon-date-selector.c:
6092 * examples/hildon-touch-selector-example.c
6093 * examples/hildon-touch-selector-multi-cells-example.c
6094 * examples/hildon-picker-button-multicolumn-example.c
6095 Set the right value to "text-column" property on the creation of a new
6096 column using hildon_touch_selector_append_column()
6098 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6100 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6102 * src/hildon-app-menu.c
6103 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6104 updating the layout of the menu, don't create all widgets again,
6105 just repack the items in their new places.
6107 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6109 * src/hildon-time-selector.c
6110 (hildon_time_selector_get_time)
6111 (hildon_time_selector_set_time)
6112 Added documentation of these public methods
6114 * src/hildon-date-button.h
6115 * src/hildon-touch-selector-column.h
6116 * src/hildon-time-button.h
6117 * src/hildon-picker-dialog.h
6118 * src/hildon-time-selector.h
6119 * src/hildon-picker-button.h
6120 * src/hildon-touch-selector.h
6121 * src/hildon-time-picker.h
6122 * src/hildon-date-selector.h
6123 * src/hildon-touch-selector-entry.h
6124 Modified in order to use hildon-widgets code style
6126 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6128 Added deprecated support to the compilation process using
6129 HILDON_DISABLE_DEPRECATED
6131 * configure.ac: Added the --disable-deprecated to the configure
6134 * src/hildon-weekday-picker.c:
6135 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6136 to use the deprecated support. We will update the other deprecated
6137 widgets status in a new patch.
6139 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6141 * configure.ac: Fixed typo with fatal warnings support, the
6142 variable name was not correct
6144 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6146 * src/hildon-app-menu.c
6147 * src/hildon-program.c: Update documentation.
6149 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6151 * configure.ac: Post-release version bump.
6153 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6158 * configure.ac: Pre-release version bump.
6159 * debian/changelog: Updates.
6161 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6163 * NEWS: Update news for previous releases.
6165 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6167 * examples/hildon-touch-selector-multi-cells-example.c:
6168 (create_selector): Update the example to use
6169 hildon_touch_selector_append_column() with a NULL renderer and set
6170 the renderers later.
6171 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6172 passed a NULL renderer. This is documented behavior now.
6174 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6175 This must be used if the developer wants full control on the layout of
6176 the renderers to be added to the column.
6178 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6180 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/hildon-touch-selector.c: Documentation fixes.
6184 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6186 * src/hildon-wizard-dialog-private.h: Remove image and box.
6187 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6188 (hildon_wizard_dialog_set_property), (response): Completely remove
6189 image/icon support, and the containers required for the layout.
6191 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6193 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-app-menu.c: Updated documentation.
6197 * src/hildon-stackable-window.c
6198 (hildon_stackable_window_set_main_menu): Unref the old menu after
6199 ref'ing the new one.
6201 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6203 * src/hildon-stackable-window.c
6204 (hildon_stackable_window_set_main_menu): Unref the previous menu
6205 instead of destroying it.
6207 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6208 floating reference and set has_user_ref_count to FALSE to make
6209 HildonAppMenu act like a normal ref-counted widget and not a
6212 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6215 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6217 * src/hildon-touch-selector-column.h: new file
6218 * src/hildon-touch-selector.h
6219 * src/hildon-touch-selector.c
6220 Implemented GtkCellLayout interface, in order to allow to configure
6221 the cell layout on each individual selector column
6222 (hildon_touch_selector_set_column_attributes): marked as deprecated
6223 * examples/hildon-touch-selector-multi-cells-example.c
6224 Example of how to use the GtkCellLayout interface on the selector
6226 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6228 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6230 * src/hildon-app-menu.h
6231 * src/hildon-app-menu.c
6232 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6233 (hildon_app_menu_append, hildon_app_menu_prepend):
6234 New methods to prepend, insert and move items in the menu.
6236 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6238 * src/hildon-wizard-dialog.c:
6240 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6242 (create_title): Update logical IDs and related code.
6243 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6245 * src/hildon-wizard-dialog.h: Note that
6246 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6247 point, as it is not used anymore.
6249 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6251 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6253 * src/hildon-note.c:
6254 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6255 shown. Do not display an icon in confirmation notes nor information
6257 (hildon_note_set_button_text): Update logical ID for cancel button.
6259 Fixes: NB#88850 (Update HildonNote button strings + signals)
6261 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6263 * src/hildon-stackable-window.c
6264 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6266 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-app-menu-private.h
6269 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6270 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6271 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6272 temporary property 'columns' to change the number of columns.
6274 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6276 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6278 * examples/hildon-note-example.c: (on_information_clicked),
6279 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6280 debugging information.
6281 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6283 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6284 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6285 in order to close: this will be handled by the WM from now on.
6287 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6289 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6291 * src/hildon-app-menu-private.h
6292 * src/hildon-app-menu.c
6293 (hildon_app_menu_append, hildon_app_menu_add_filter)
6294 (button_visibility_changed, hildon_app_menu_apply_style)
6295 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6296 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6297 layout everytime a button (item or filter) is shown or hidden.
6299 * src/hildon-stackable-window.c
6300 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6303 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6305 * src/hildon-touch-selector.c:
6306 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6307 that the treeview inside the touch selector is in fremantle hildon mode
6308 * examples/hildon-date-button-example.c
6309 * examples/hildon-picker-button-multicolumn-example.c
6310 * examples/hildon-touch-selector-entry-example.c
6311 * examples/hildon-touch-selector-example.c
6312 * examples/hildon-time-button-example.c
6313 * examples/hildon-picker-button-example.c:
6314 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6316 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6318 * examples/hildon-text-view-example.c: (main): Remove the
6319 gtkrc bits, now handled by the theme.
6321 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6323 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6326 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6328 * po/Makefile.am: Install properly the mo files.
6329 * po/en_GB.po: Update translation, to ease testing purposes.
6331 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6333 * examples/hildon-picker-button-example.c: (main): Select an item
6334 in the selector before setting it to the button.
6336 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6338 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6339 Update button's value if the selector has an item active.
6341 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6342 'value' with the selector)
6344 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6346 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6347 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6348 (hildon_picker_button_class_init): Plug the finalize method.
6349 (hildon_picker_button_set_selector): If there's a previously set
6350 selector, unref'it before setting a new one.
6352 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6353 HildonTouchSelector)
6355 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6357 * src/hildon-touch-selector-entry.c:
6358 (hildon_touch_selector_entry_changed): Check if there is no text
6359 selected before setting the entry text.
6362 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6364 * src/hildon-touch-selector.h
6365 * src/hildon-touch-selector.c
6366 (hildon_touch_selector_get_active)
6367 (hildon_touch_selector_set_active): New methods to set/get the
6368 index of the selected item.
6370 * src/hildon-picker-button.h
6371 * src/hildon-picker-button.c
6372 (hildon_picker_button_get_active)
6373 (hildon_picker_button_set_active): New methods to set/get the
6374 index of the selected item.
6376 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6378 * configure.ac: post-release version bump.
6380 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6384 * configure.ac: Pre-release version bump.
6385 * debian/changelog: Updates.
6386 * debian/control: Add myself as maintainer and depend on l10n
6389 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-window.c
6392 (hildon_window_set_main_menu)
6393 * src/hildon-stackable-window.c
6394 (hildon_stackable_window_set_main_menu):
6395 Updated documentation.
6397 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6399 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6400 Don't free selector->priv manually.
6403 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6406 (hildon_gtk_window_set_progress_indicator):
6407 * src/hildon-gtk.h: Added the new API
6408 hildon_gtk_window_set_progress_indicator, it changes the state of
6409 the window progress hint.
6411 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6413 * src/hildon-button.c
6414 * src/hildon-stackable-window.c: Minor documentation updates.
6416 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6418 * src/hildon-stackable-window.c: Updated documentation.
6420 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6422 * src/hildon-defines.h: Update margins definitions
6423 to the Fremantle sizes.
6426 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6428 * src/hildon-touch-selector.c,
6429 (_hildon_touch_selector_set_model): Cleaning the code after
6430 review, removed g_print and #if 0 from the code.
6432 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6434 * src/hildon-edit-toolbar.c: Update documentation.
6436 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6438 * src/hildon-check-button.h
6439 * src/hildon-check-button.c
6440 (hildon_check_button_set_label, hildon_check_button_get_label)
6441 * examples/hildon-check-button-example.c
6442 (button_clicked_cb):
6443 Removed deprecated methods.
6445 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6447 * src/hildon-text-view.c:
6448 Add sample code to the documentation.
6450 * src/hildon-entry.h
6451 * src/hildon-text-view.h:
6452 Minor cosmetic changes.
6454 * src/hildon-entry.c:
6455 Add sample code to the documentation.
6456 (hildon_entry_init, hildon_entry_refresh_contents):
6457 Don't allow NULL values in the placeholder.
6459 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6461 * doc/hildon-docs.sgml
6463 * examples/Makefile.am
6464 * examples/hildon-text-view-example.c
6466 * src/hildon-text-view.c
6467 * src/hildon-text-view.h
6469 New HildonTextView widget, with example.
6471 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6473 * po/POTFILES.in: Add missing files with translatable strings.
6474 Partially fixes NB#88287.
6476 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6478 * examples/hildon-pannable-area-example-2.c: (main): No need to
6479 set the cellrenderer height inside hildon touch lists, the theme does
6482 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6484 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6485 they are integrated in the theme.
6487 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6489 * examples/hildon-entry-example.c: Update the example adding
6490 widgets to modify the text and the placeholder of the HildonEntry.
6492 * src/hildon-entry.c: Show the placeholder everytime the widget
6493 is empty and loses the focus.
6495 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6497 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6499 * src/hildon-pannable-area.c,
6500 (hildon_pannable_area_size_request): Fixed bug in height
6501 requisition, avoid increasing size and add border twice.
6503 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6505 * configure.ac: postrelease version bump.
6507 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6511 * configure.ac: Prerelease version bump.
6512 * debian/changelog: update.
6513 * debian/rules: make -dbg package contain useful debugging symbols.
6515 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6517 * src/hildon-dialog.h
6518 * src/hildon-dialog.c
6519 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6520 New methods to add buttons with finger size.
6521 (hildon_dialog_new_with_buttons):
6522 Create buttons with finger size.
6524 * examples/hildon-dialog-example.c (main): Use HildonDialog
6525 methods to add buttons.
6527 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6529 * src/hildon-entry.c: Updated HildonButton documentation.
6531 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6533 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6534 button value label with (FALSE, FALSE) to prevent NB#88126 from
6537 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6539 * examples/hildon-pannable-area-example.c,
6540 (main): Removed examples panning a vbox inside a pannable
6541 area. Check bug NB#87965
6543 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6545 Patch contributed by Kris Rietveld (kris@imendio.com)
6547 * src/hildon-pannable-area.c,
6548 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6549 get_size and get_position, this saves an X server roundtrip.
6551 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6553 * doc/hildon-docs.sgml
6555 * examples/Makefile.am
6556 * examples/hildon-entry-example.c
6558 * src/hildon-entry.c
6559 * src/hildon-entry.h
6561 New HildonEntry widget, with example.
6563 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-button.c (hildon_button_construct_child): Pack the
6566 image with expand == fill == FALSE. This is a workaround for a bug
6569 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6571 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6572 labels for the text column, to make it more look more dynamic.
6574 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6576 * src/hildon-time-selector.c
6577 Define gettext auxiliar macro N_
6578 (_create_minutes_model)
6579 (_create_hours_model)
6580 (_create_ampm_model): use of strftime in order to fill the model
6581 * src/hildon-date-selector.c
6582 (hildon_date_selector_finalize):
6583 (_locales_init): remove the logic related to get the name of the months
6584 using nl_langinfo, as it is not required anymore
6586 (_create_year_model)
6587 (_create_month_model)
6588 (_update_day_model): use of strftime in order to fill the model properly
6591 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6593 * src/hildon-button.h
6594 * src/hildon-button.c (hildon_button_get_image): New method to
6597 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6599 * src/hildon-touch-selector.c:
6600 (hildon_touch_selector_remove_column): Remove from the correct parent
6601 and also remove the list element and free it.
6604 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6606 * src/hildon-time-selector.c
6607 (_create_hours_model): change the range on 12h ampm format in order to use
6608 a 12-11 range instead of previous 01-12 range
6609 (hildon_time_selector_set_time): change the way to select the current time
6610 on 12h ampm format, due the change on the range
6611 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6614 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6616 * src/hildon-touch-selector.c
6617 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6618 in order to allow use this function on multiple row selection mode if
6619 the column is different that the first one
6622 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6624 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6625 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6627 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6629 * src/hildon-date-selector.h: clean some comments, now on the .c
6630 * src/hildon-date-selector.c
6631 (hildon_date_selector_select_month): first implementation
6632 (hildon_date_selector_select_day): added documentation, reimplemented
6633 using hildon_date_selector_select_current_date to avoid repeat code
6636 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6638 Reviewed interaction logic based on device experiences, refactored
6641 * src/hildon-pannable-area.c,
6642 (hildon_pannable_area_class_init): Updated default vmax speed.
6643 (hildon_pannable_area_calculate_velocity): Added this function, it
6644 avoids duplicate valocity calculation. Adjusted calculation to
6645 avoid problems with zero dist events.
6647 (hildon_pannable_area_motion_notify_cb): Now we use the
6648 calculate_velocity function.
6650 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6652 * src/hildon-date-selector.c
6653 (hildon_date_selector_select_current_date): fix the day range check
6654 as it failed using the last day of the current month
6657 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6659 * src/hildon-touch-selector.c
6660 (hildon_touch_selector_get_num_columns): added a parameter validation
6663 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6665 * examples/Makefile.am
6666 * examples/hildon-edit-toolbar-example.c: Example of the
6667 HildonEditToolbar widget.
6669 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6671 * configure.ac: postrelease version bump.
6673 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6677 * configure.ac: prerelease version bump.
6678 * debian/changelog: update.
6680 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6682 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6683 renderer to display stock icons in the touch list. Also, set the sizes
6684 to the recommended in the style guide.
6686 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6687 * src/hildon-touch-selector.h
6688 (hildon_touch_selector_set_active_iter): renamed, now is
6689 hildon_touch_selector_select_iter
6690 (hildon_touch_selector_get_active_iter): renamed, now is
6691 hildon_touch_selector_get_selected
6692 (hildon_touch_selector_unselect_iter): added
6693 * src/hildon-touch-selector.c
6694 Update after API modification (methods renamed)
6695 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6696 order to avoid problems selecting multiple elements on the column
6697 (hildon_touch_selector_unselect_iter): added the implementation
6698 * src/hildon-time-selector.c
6699 * src/hildon-date-selector.c
6700 * src/hildon-touch-selector-entry.c
6701 Update methods calls after hildon-touch-selector.h API modification (methods
6704 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6706 * src/hildon-stackable-window.c
6707 (hildon_stackable_window_finalize): Call the parent class's finalize.
6709 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6711 * examples/hildon-touch-selector-example.c: (create_selector): Use
6712 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6715 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6717 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6718 set a cell background color, to respect theming.
6720 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6722 * doc/hildon-docs.sgml
6725 * src/hildon-edit-toolbar.c
6726 * src/hildon-edit-toolbar.h
6727 * src/hildon.h: New HildonEditToolbar widget.
6729 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6731 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6734 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6735 * src/hildon-touch-selector.c
6736 (_create_new_column): use g_object_set instead of two g_object_set_property
6738 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6739 * src/hildon-touch-selector.c
6740 (_create_new_column): use of hildon_gtk_tree_view_new to create
6741 the treeview, instead of use directly g_object_new
6742 (_create_new_column): update the property name "vindicator-mode" for the
6743 new one "vscrollbar-policy"
6744 * examples/hildon-date-button-example.c
6745 * examples/hildon-picker-button-multicolumn-example.c
6746 * examples/hildon-touch-selector-entry-example.c
6747 * examples/hildon-touch-selector-example.c
6748 * examples/hildon-time-button-example.c
6749 * examples/hildon-picker-button-example.c
6750 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6751 to all the treeviews inside a pannable area.
6753 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6755 * src/hildon-button.h
6756 * src/hildon-button.c (hildon_button_init)
6757 (hildon_button_set_arrangement, hildon_button_set_alignment)
6758 (hildon_button_set_title_alignment)
6759 (hildon_button_set_value_alignment)
6760 (hildon_button_set_image_alignment)
6761 (hildon_button_construct_child): New methods to set the alignment
6762 of the individual components of the button (title, value,
6763 image). Also, new method to alter the xscale and yscale properties
6764 of the GtkAlignment inside the button, so more complex layouts can
6767 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6769 * src/hildon-button.c (hildon_button_style_set)
6770 (hildon_button_class_init, hildon_button_set_arrangement)
6771 (hildon_button_construct_child): Apply style properties
6772 correctly. Use the 'image-spacing' style property too.
6774 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6776 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6777 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6780 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6782 * src/hildon-pannable-area.c,
6783 (hildon_pannable_area_size_request): Fixed problem with
6784 pannable-area size_request.
6786 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6788 Added management for the grab-focus to a child widget, like a
6789 range, we need to fade out the scrollbar when releasing.
6791 * src/hildon-pannable-area.c,
6792 (hildon_pannable_area_init): Connected the grab-focus signal to
6794 (hildon_pannable_area_grab_notify): Added this function in order
6795 to manage the situation when the grab-focus ends. We have to
6796 fade-out the scrollbar.
6798 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6800 * src/hildon-app-menu.c: Minor documentation update.
6802 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6804 * src/hildon-app-menu.c
6805 * examples/hildon-app-menu-example.c (create_menu): Update
6806 examples and documentation to explain how to connect callbacks.
6808 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6810 * examples/hildon-button-example.c
6811 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6812 hildon_stackable_window_new instead of gtk_window_new
6814 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6816 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6817 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6818 (hildon_pannable_area_set_property),
6819 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6820 (hildon_pannable_area_unrealize),
6821 (hildon_pannable_area_size_request),
6822 (hildon_pannable_area_size_allocate),
6823 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6824 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6825 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6826 (hildon_pannable_area_initial_effect),
6827 (hildon_pannable_area_redraw),
6828 (hildon_pannable_area_scroll_indicator_fade),
6829 (hildon_pannable_area_expose_event),
6830 (hildon_pannable_area_get_topmost), (synth_crossing),
6831 (hildon_pannable_area_button_press_cb),
6832 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6833 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6834 (hildon_pannable_area_motion_notify_cb),
6835 (hildon_pannable_area_button_release_cb),
6836 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6837 (hildon_pannable_area_remove),
6838 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6839 chage the code layout to a more GtkWidget like. Review the use of
6842 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6844 * examples/hildon-pannable-area-example-4.c,
6845 (main): Modified the name of the hindicator_mode to
6848 * src/hildon-pannable-area.c,
6849 (hildon_pannable_area_class_init),
6850 (hildon_pannable_area_motion_notify_cb),
6851 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6852 we have reduced the amount of signals and managed reviewed its
6853 rationale. Changed the default decelerate value.
6855 (hildon_pannable_area_add),
6856 (hildon_pannable_area_redraw): Refactored functions.
6858 (hildon_pannable_area_init),
6859 (hildon_pannable_area_get_property),
6860 (hildon_pannable_area_set_property):
6861 (hildon_pannable_draw_vscroll),
6862 (hildon_pannable_draw_hscroll),
6863 (hildon_pannable_area_initial_effect),
6864 (hildon_pannable_area_expose_event),
6865 (hildon_pannable_area_scroll),
6866 (hildon_pannable_area_button_press_cb),
6867 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6868 and vindicator_mode with hscrollbar_policy and
6869 vscrollbar_policy. Replaced hscroll and vscroll with
6870 hscroll_visible and vscroll_visible.
6872 (hildon_pannable_area_refresh): Refactor the function, remove
6873 variables and check the calls to this function, added resize
6874 conditions in case the children change their layout.
6876 (hildon_pannable_area_size_request): Added more detailed
6877 size_request calculation.
6880 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6882 * src/hildon-color-chooser.c
6883 (init_borders): use the correct gtk_border_free instead of g_free, to
6884 avoid a crash when this widget is used (ie: the three color selection
6887 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6889 * src/hildon-check-button.c,
6890 (hildon_check_button_set_active): Fixed problem when setting the
6891 active value, the widget was not redrawn.
6893 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6895 * src/hildon-pannable-area.c,
6896 (hildon_pannable_area_refresh),
6897 (hildon_pannable_area_scroll),
6898 (hildon_pannable_area_motion_notify_cb): Small code style change.
6900 (hildon_pannable_area_class_init): Default initial_hint set to
6901 FALSE, it is not in the specs.
6903 (hildon_pannable_area_initial_effect),
6904 (hildon_pannable_area_expose_event),
6905 (hildon_pannable_area_map),
6906 (hildon_pannable_area_init): Moved the launching point of the
6907 initial effect, it was in map but the sizes where not correct in
6908 that method so we do not know if we have the reproduce it. Now it
6909 is placed in the expose_event method and uses a variable to
6910 reproduce it just once.
6912 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6914 * src/hildon-pannable-area.c,
6915 (hildon_pannable_draw_vscroll),
6916 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6917 position allowed for the scrollbars.
6919 (hildon_pannable_area_size_allocate): Small style change.
6921 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6923 * src/hildon-pannable-area.c,
6924 (hildon_pannable_area_scroll_indicator_fade),
6925 (hildon_pannable_area_button_press_cb),
6926 (hildon_pannable_area_button_release_cb),
6927 (hildon_pannable_area_scroll_cb),
6928 (hildon_pannable_area_expose_event),
6929 (hildon_pannable_area_init): Added the define parameter
6930 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6931 and refactor the fade variable.
6933 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6935 * src/hildon-pannable-area.c,
6936 (hildon_pannable_area_redraw),
6937 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6938 lines, we were reimplemeting the redraw code.
6940 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6942 * src/hildon-pannable-area.c,
6943 (hildon_pannable_area_scroll_cb),
6944 (hildon_pannable_area_realize),
6945 (hildon_pannable_area_class_init): Added scroll_event management
6946 for pannable area, now we can scroll the usual desktop method.
6948 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6949 initialization of the parameters should depend on idle_id.
6951 (hildon_pannable_area_init),
6952 (hildon_pannable_area_map): Small code style modifications
6954 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6956 * src/hildon-pannable-area.c
6957 (hildon_pannable_area_button_press_cb),
6958 (hildon_pannable_area_motion_notify_cb),
6959 (hildon_pannable_area_button_release_cb),
6960 (hildon_pannable_area_size_allocate),
6961 (hildon_pannable_area_scroll_to): Improved the timeouts
6962 management, we avoid creating them each time.
6964 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6966 * src/hildon-pannable-area.c:
6967 (hildon_pannable_area_refresh),
6968 (hildon_pannable_area_motion_notify_cb),
6969 (hildon_pannable_area_class_init):
6970 * src/hildon-pannable-area.h:
6971 * src/hildon-touch-selector.c
6972 (_create_new_column):
6973 * examples/hildon-pannable-area-example-4.c:
6974 (horizontal_movement),
6975 (vertical_movement),
6977 Replaced the names of enums in the HildonPannableArea:
6978 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6979 HILDON_MOVEMENT_MODE_*
6980 - HILDON_PANNABLE_AREA_MOV_* ->
6982 - Removed HildonPannableAreaIndicatorMode, now we
6985 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6987 * examples/hildon-pannable-area-touch-grid-example.c
6988 * examples/hildon-pannable-area-touch-list-example.c: Fix
6989 compilation warnings.
6991 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6993 * src/hildon-gtk.c (hildon_gtk_button_new)
6994 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6995 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6996 images overriding the value of the "gtk-button-images" setting.
6998 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7000 * src/hildon-check-button.c (hildon_check_button_new):
7001 Instead of using a custom container, display the label and the
7002 checkbox using the standard GtkButton API.
7004 * examples/hildon-check-button-example.c (main): Don't use
7005 hildon_check_button_set_label() anymore
7007 * src/hildon-check-button.h
7008 * src/hildon-check-button.c
7009 (hildon_check_button_set_label, hildon_check_button_get_label):
7010 Set as deprecated, now we're using gtk_button_{get,set}_label()
7012 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7014 * src/hildon-pannable-area.c,
7015 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7016 GtkTreeview first line we detected it after the inclusion of the
7017 GtkWindowImpl in gtk+. We now check if the window is visible, not
7018 just if the pointer is over the window.
7019 (hildon_pannable_axis_scroll),
7020 (hildon_pannable_area_expose_event): Small style changes.
7022 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7024 * src/hildon-button.c: Update documentation.
7026 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7028 * examples/hildon-button-example.c: Add a switch to show images in
7031 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7033 * doc/hildon-docs.sgml: Some docs reorganization.
7035 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7037 * examples/hildon-pannable-area-touch-list-example.c
7039 * examples/hildon-pannable-area-touch-grid-example.c
7040 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7041 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7042 Fix memory leak when setting the tree model.
7044 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7048 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7050 * doc/hildon.types: Remove duplicated hildon_window_get_type
7051 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7052 documentation comment.
7054 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7056 * doc/Makefile.am: Complete list of private headers.
7058 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7060 * doc/hildon-docs.sgml
7061 * src/hildon-app-menu.c
7062 * src/hildon-bread-crumb.c
7063 * src/hildon-button.c
7065 * src/hildon-program.c
7066 * src/hildon-stackable-window.c
7067 * src/hildon-window.c: Lots of documentation updates.
7069 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7071 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7073 * configure.ac: Require Gtk+ 2.12.9 at least
7075 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7077 * src/hildon-pannable-area.c
7078 (hildon_pannable_area_scroll_indicator_fade),
7079 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7080 to protect the return of this timeout callbacks, avoiding deadlocks.
7082 2008-08-12 Christian Dywan <christian@imendio.com>
7085 * src/hildon-*.h: Ensure a consistent include order,
7086 include <gtk/gtk.h> instead of particular files and
7087 only include the topmost header in the gtk stack. See NB #39857
7089 2008-08-12 Christian Dywan <christian@imendio.com>
7091 * src/hildon-picker-dialog.c
7092 * src/hildon-touch-selector.c: Fix warnings about unused and
7093 uninitialized variables.
7095 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7097 * examples/Makefile.am
7098 * examples/hildon-check-button-example.c: Example of the hildon
7101 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7103 * src/hildon-window.h
7104 * src/hildon-window.c (hildon_window_class_init)
7105 (hildon_window_unset_program): Don't make
7106 hildon_window_unset_program a virtual function anymore.
7108 * src/hildon-stackable-window.c: Update documentation
7110 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7113 * doc/hildon-docs.sgml
7114 * doc/visual_index.xml
7115 * src/hildon-defines.c
7117 * src/hildon-helper.c
7118 * src/hildon-range-editor.c: Lots of documentation fixes.
7120 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7122 * examples/hildon-picker-button-multicolumn-example.c
7123 (create_touch_selector): Fix compilation warning.
7125 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7127 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7128 (hildon_pannable_area_button_release_cb)
7129 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7131 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7133 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7136 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7138 * src/hildon-bread-crumb-trail.h
7139 * src/hildon-date-editor.c
7140 * src/hildon-date-selector.c
7141 * src/hildon-pannable-area.c
7142 * src/hildon-picker-dialog.c
7143 * src/hildon-time-selector.c
7144 * src/hildon-touch-selector-entry.c
7145 * src/hildon-touch-selector.c
7146 * src/hildon-touch-selector.h: Misc documentation fixes
7148 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7150 * examples/hildon-date-editor-example.c (main): Updated date
7153 * examples/hildon-note-example.c (on_confirmation_clicked):
7154 Updated confirmation note example.
7156 * src/hildon-date-editor.c
7157 * src/hildon-note.c: Updated sample programs in documentation.
7160 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7162 * src/hildon-date-button.h:
7163 * src/hildon-picker-button.h:
7164 * src/hildon-time-button.c:
7165 * src/hildon-time-button.h:
7167 Some declarations changes to allow gtk-doc to document the widgets
7170 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7172 * src/hildon-date-button.c: Document the widget.
7173 * src/hildon-time-button.c: Document the widget.
7175 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7177 * src/hildon-picker-button.c: Document the widget.
7178 * src/hildon-touch-selector-entry.c: Document the widget.
7180 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7182 * doc/hildon-docs.sgml
7185 * src/hildon-check-button.h
7186 * src/hildon-check-button.c: New functions to create the Hildon
7190 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7192 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7194 * src/hildon-button.h
7195 * src/hildon-button.c
7196 (hildon_button_add_title_size_group)
7197 (hildon_button_add_value_size_group)
7198 (hildon_button_add_image_size_group)
7199 (hildon_button_add_size_groups): New functions to set size groups
7200 for the button labels and image.
7201 (hildon_button_new_full): Removed
7203 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7205 * src/hildon-time-selector.c
7206 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7207 in order to avoid a crash if gconf is not available
7209 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7211 * src/hildon-button.c (hildon_button_set_arrangement)
7212 (hildon_button_construct_child): Don't construct the button child
7213 before setting the arrangement.
7215 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7217 * src/hildon-program-private.h
7218 * src/hildon-program.c
7219 * src/hildon-program.h
7220 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7221 (hildon_program_peek_window_stack)
7222 (hildon_program_pop_window_stack)
7223 (hildon_program_go_to_root_window): HildonProgram now has a
7224 separate list for stackable windows. Functions are provided to
7225 manage that list with a stack-like API.
7227 * src/hildon-stackable-window.c: Stackable window management is
7228 now much simpler with the new HildonProgram API. Windows no
7229 longer need to be manually added to the program, they're
7230 automatically pushed to the top of the stack when shown.
7232 * examples/hildon-stackable-window-example.c: Updated example to
7233 reflect the API changes.
7235 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7237 * src/hildon-touch-selector.c: Comment out unimplemented
7238 hildon_touch_selector_insert_column() to avoid a compile warning.
7240 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7242 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7243 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7244 (hildon_touch_selector_set_column_selection_mode),
7245 (_hildon_touch_selector_set_model),
7246 (hildon_touch_selector_set_model):
7248 Complete review of HildonTouchSelector documentation.
7250 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7252 * doc/hildon-docs.sgml
7256 * src/hildon-gtk.c: Convenience functions for standard Gtk
7257 widgets, used to easily perform frequent operations.
7259 * src/hildon-button-helpers.h
7260 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7262 * src/hildon-helper.h
7263 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7264 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7266 * src/hildon-button.h
7267 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7269 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7271 * src/hildon-button.c (hildon_button_init)
7272 (hildon_button_set_arrangement, hildon_button_construct_child):
7273 Pack the image and the labels inside the same GtkAlignment so
7274 gtk_button_set_alignment() can be used
7276 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7278 * src/hildon-button.h
7279 * src/hildon-button.c
7280 (hildon_button_init, hildon_button_set_image)
7281 (hildon_button_set_image_position)
7282 (hildon_button_construct_child): New functions to add an image to
7285 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7287 * src/hildon-date-button.c
7288 * src/hildon-picker-button.c
7289 * src/hildon-time-button.c
7290 * src/hildon-button.c:
7291 (hildon_button_class_init): "size-flags" renamed to "size"
7292 (hildon_button_set_title): Hide the title label if set to NULL.
7294 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7296 HildonButtonFlags split into HildonButtonArrangement (to set the
7297 button layout) and HildonSizeType (which can be used for any
7300 * src/hildon-button.h
7301 * src/hildon-button.c
7302 (hildon_button_class_init)
7303 (hildon_button_set_arrangement)
7304 (hildon_button_set_property): New "size-flags"
7305 property. "arrangement-flags" renamed to "arrangement".
7306 (hildon_button_new, hildon_button_new_with_text)
7307 (hildon_button_new_full): Constructors updated to reflect type changes.
7309 * src/hildon-helper.h
7310 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7311 to set the size of a widget.
7315 * src/hildon-button-helpers.c
7316 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7318 * src/hildon-date-button.c
7319 * src/hildon-date-button.h
7320 * src/hildon-picker-button.c
7321 * src/hildon-picker-button.h
7322 * src/hildon-time-button.c
7323 * src/hildon-time-button.h: Updated widgets to reflect
7324 HildonButton API changes.
7326 * examples/hildon-button-example.c
7327 * examples/hildon-date-button-example.c
7328 * examples/hildon-picker-button-example.c
7329 * examples/hildon-picker-button-multicolumn-example.c
7330 * examples/hildon-time-button-example.c
7331 * examples/hildon-touch-selector-entry-example.c
7332 * examples/hildon-touch-selector-example.c: Updated examples to
7333 reflect HildonButton API changes.
7335 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7337 * doc/hildon-docs.sgml:
7339 * examples/Makefile.am:
7340 * examples/hildon-touch-selector-entry-example.c:
7342 * src/hildon-touch-selector-entry.c:
7343 * src/hildon-touch-selector-entry.h:
7346 Moved HildonTouchSelectorEntry from sandbox. Added its
7347 documentation and examples.
7349 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7351 * src/hildon-touch-selector.h:
7352 * examples/hildon-picker-button-multicolumn-example.c:
7353 (hildon_touch_selector_append_text_column): Add a gboolean
7354 parameter to determine if text must be centered in the column.
7356 * src/hildon-date-selector.c: (hildon_date_selector_init):
7357 * src/hildon-time-selector.c: (hildon_time_selector_init):
7358 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7359 (create_touch_selector): Update widgets and example to reflect
7362 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7364 * src/hildon-touch-selector.c:
7365 (hildon_touch_selector_set_active_iter): Set also the cursor in
7368 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7370 * doc/hildon-docs.sgml
7373 * src/hildon-toggle-button.c
7374 * src/hildon-toggle-button.h
7375 * src/hildon.h: Removed HildonToggleButton widget, a derived
7376 class is not necessary for this.
7378 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7380 * src/hildon-pannable-area.c,
7381 (hildon_pannable_area_realize),
7382 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7385 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7387 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7388 "done" button the default widget for the dialog.
7390 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7392 * src/hildon-touch-selector.c:
7393 (hildon_touch_selector_class_init),
7394 (hildon_touch_selector_get_property),
7395 (_hildon_touch_selector_set_model),
7396 (_hildon_touch_selector_has_multiple_selection),
7397 (hildon_touch_selector_has_multiple_selection):
7398 Add a "has-multiple-selection" property with a virtual
7399 has_multiple_selection() method to allow derived classes to
7400 override the default value for it. See the method and property
7401 documentation for details.
7403 * src/hildon-touch-selector.h: Add the new API.
7405 * src/hildon-picker-dialog.c: (requires_done_button): Call
7406 hildon_touch_selector_has_multiple_selection() instead of
7407 determining the need for a button itself.
7409 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7412 (_hildon_touch_selector_set_model),
7413 (hildon_touch_selector_set_model): Move working code to
7414 _hildon_touch_selector_set_mode(). Call the class method instead.
7416 * src/hildon-touch-selector.h: Add (*set_model) to
7417 HildonTouchSelectorClass.
7419 Make hildon_touch_selector_set_model() a virtual method, so that
7420 derived classes can extend it and do fancy stuff with the model.
7422 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7424 * configure.ac: Set back the tarname in AC_INIT to hildon.
7426 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7430 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7431 instead of libesd (NB#86876). Volume handling is still an open issue.
7433 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7436 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7438 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7439 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7440 derived class to ease placement of an entry widget in
7441 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7442 end, where the selector columns are packed now.
7444 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7446 * src/hildon-picker-button.c: Removed the simple _text() API.
7447 * src/hildon-picker-button.h: Likewise.
7449 * src/hildon-touch-selector.h:
7450 * src/hildon-touch-selector.c:
7451 (hildon_touch_selector_new_text),
7452 (hildon_touch_selector_append_text),
7453 (hildon_touch_selector_prepend_text),
7454 (hildon_touch_selector_insert_text):
7456 Moved the simple _text() API from HildonPickerButton to
7457 HildonTouchPicker, to provide better escalability and not to tie
7458 that API to HildonPickerButton.
7460 * examples/hildon-picker-button-example.c: (main): Example updated.
7462 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7464 * src/hildon-button.c: Updated documentation.
7466 * examples/hildon-button-example.c: Add the posibility to create
7467 the buttons using horizontal layout for title and value.
7469 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7471 * src/hildon-app-menu-private.h
7472 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7473 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7474 GtkSizeGroup for the filters, use the 'homogeneous' property of
7477 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7479 * examples/hildon-button-example.c: Updated example.
7481 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7483 * doc/hildon-docs.sgml:
7486 Update documentation.
7488 * examples/Makefile.am: Update renamed examples.
7490 * examples/hildon-picker-button-multicolumn-example.c:
7491 (create_touch_selector), (main): Update after the rename.
7493 * examples/hildon-touch-picker-example.c: Removed.
7494 * examples/hildon-touch-selector-example.c: (value_changed),
7495 (create_selector), (get_visible_content), (main): Renamed from
7496 hildon-touch-picker-example.c
7498 * src/Makefile.am: Updated renamed files.
7500 * src/hildon-date-button.c: (hildon_date_button_init),
7501 (hildon_date_button_get_date), (hildon_date_button_set_date):
7502 * src/hildon-date-selector.c: (hildon_date_selector_init),
7503 (_custom_print_func), (_update_day_model),
7504 (_manage_selector_change_cb),
7505 (hildon_date_selector_select_current_date),
7506 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7507 * src/hildon-date-selector.h:
7508 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7509 (hildon_picker_button_set_property),
7510 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7511 (hildon_picker_button_init), (hildon_picker_button_new_text),
7512 (hildon_picker_button_append_text),
7513 (hildon_picker_button_prepend_text),
7514 (hildon_picker_button_insert_text),
7515 (hildon_picker_button_set_selector),
7516 (hildon_picker_button_get_selector):
7517 * src/hildon-picker-button.h:
7518 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7519 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7520 (_update_title_on_selector_changed_cb), (requires_done_button),
7521 (_hildon_picker_dialog_set_selector),
7522 (hildon_picker_dialog_set_selector),
7523 (hildon_picker_dialog_get_selector):
7524 * src/hildon-picker-dialog.h:
7525 * src/hildon-time-button.c: (hildon_time_button_init),
7526 (hildon_time_button_get_time), (hildon_time_button_set_time):
7527 * src/hildon-time-selector.c: (hildon_time_selector_init),
7528 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7529 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7530 * src/hildon-time-selector.h:
7533 Massive code updates after the rename.
7535 * src/hildon-touch-picker.c: Removed.
7536 * src/hildon-touch-picker.h: Removed.
7538 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7539 (hildon_touch_selector_init), (hildon_touch_selector_map),
7540 (hildon_touch_selector_remove), (_default_print_func),
7541 (_selection_changed_cb), (_create_new_column),
7542 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7543 (hildon_touch_selector_append_text_column),
7544 (hildon_touch_selector_remove_column),
7545 (hildon_touch_selector_set_column_attributes),
7546 (hildon_touch_selector_insert_column),
7547 (hildon_touch_selector_get_num_columns),
7548 (hildon_touch_selector_get_column_selection_mode),
7549 (hildon_touch_selector_set_column_selection_mode),
7550 (hildon_touch_selector_set_print_func),
7551 (hildon_touch_selector_get_print_func),
7552 (hildon_touch_selector_get_active_iter),
7553 (hildon_touch_selector_set_active_iter),
7554 (hildon_touch_selector_get_selected_rows),
7555 (hildon_touch_selector_get_model),
7556 (hildon_touch_selector_set_model),
7557 (hildon_touch_selector_get_current_text),
7558 (_hildon_touch_selector_center_on_selected_items):
7559 * src/hildon-touch-selector.h: Renamed from
7560 hildon-touch-picker.[ch]
7562 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7563 references, code examples, and related documentation.
7565 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7567 * doc/hildon-docs.sgml
7570 * src/hildon-toggle-button.c
7571 * src/hildon-toggle-button.h
7572 * src/hildon.h: New HildonToggleButton widget.
7574 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7576 * src/hildon-button.c: Add API documentation.
7577 (hildon_button_set_size_groups): Check input parameters
7579 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7581 * src/hildon-pannable-area.c
7582 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7583 effect after reaching the movement thredshold. This way we start
7584 using the distance after passing the thredshold.
7586 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7588 * src/hildon-button.c: (hildon_button_set_property): Use the
7589 appropriate g_value_get_flags() method.
7591 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7593 * doc/hildon-docs.sgml:
7596 Add the touch pickers, picker dialogs, and picker button widgets
7597 to the documentation.
7599 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7601 * src/hildon-button.c: (hildon_button_set_property),
7602 (hildon_button_class_init): Make "arrangement-flags" a proper
7603 G_TYPE_FLAGS derived property.
7605 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7607 * examples/Makefile.am: Add below examples.
7608 * examples/hildon-date-button-example.c:
7609 * examples/hildon-picker-button-example.c:
7610 * examples/hildon-picker-button-multicolumn-example.c:
7611 * examples/hildon-time-button-example.c:
7612 * examples/hildon-touch-picker-example.c:
7614 Add examples for the recently added touch pickers,
7615 picker dialogs, and picker button widgets.
7617 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7619 * src/hildon-button.c: Add some API documentation
7621 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7623 * src/hildon-button.h
7624 * src/hildon-button.c
7626 (hildon_button_new_with_text): New constructor to create a button
7627 with no text at all.
7628 (hildon_button_init, hildon_button_set_arrangement)
7629 (hildon_button_set_title, hildon_button_set_value)
7630 (hildon_button_set_text)
7631 (hildon_button_construct_child): Hide the value when it's not used
7632 so the rest of the text is properly aligned.
7633 Allow creating buttons with arbitrary widgets inside (not just
7634 title/value labels).
7636 * examples/hildon-button-example.c (vertical_buttons_window)
7637 (horizontal_buttons_window): Update example to use new API.
7639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7641 * src/Makefile.am: Added HildonTimeButton.
7642 * src/hildon-time-button.c: Added missing LGPL header.
7643 * src/hildon-time-button.h: Added missing LGPL header.
7644 * src/hildon.h: Add hildon-time-button.h
7646 Copied HildonTimeButton from sandbox to trunk. Future work on this
7647 widget must take place in trunk.
7649 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7651 * src/Makefile.am: Added HildonDateButton.
7652 * src/hildon-date-button.c: Update includes.
7653 * src/hildon.h: Add hildon-date-button.h
7655 Copied HildonDateButton from sandbox to trunk. Future work on this
7656 widget must take place in trunk.
7658 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7660 * src/Makefile.am: Added HildonPickerButton.
7661 * src/hildon-picker-button.h: Update includes.
7662 * src/hildon.h: Add hildon-picker-button.h
7664 Copied HildonPickerButton from sandbox to trunk. Future work on
7665 this widget must take place in trunk.
7667 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7669 * src/Makefile.am: Added HildonPickerDialog.
7670 * src/hildon-picker-dialog.c: Update includes.
7671 * src/hildon.h: Add hildon-picker-dialog.h
7673 Copied HildonPickerDialog from sandbox to trunk. Future work
7674 on this widget must take place in trunk.
7676 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7678 * src/Makefile.am: Added HildonTimeSelector.
7679 * src/hildon.h: Add hildon-time-selector.h
7681 Copied HildonTimeSelector widget from sandbox to trunk. Future
7682 work on this widget must happen in trunk.
7684 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7686 * src/Makefile.am: Added HildonDateSelector.
7687 * src/hildon.h: Add hildon-date-selector.h
7689 Copied HildonDateSelector widget from sandbox to trunk. Future
7690 work on this widget must happen in trunk.
7692 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7694 * src/Makefile.am: Added HildonTouchPicker.
7695 * src/hildon-touch-picker.c: Update includes.
7696 * src/hildon.h: Add hildon-touch-picker.h
7698 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7699 on this widget must happen in trunk.
7701 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7703 * src/hildon-pannable-area.c:
7704 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7706 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7708 * examples/hildon-app-menu-example.c (main): Let the window
7711 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7713 * src/hildon-pannable-area.c
7714 (hildon_pannable_area_class_init): Set the min value of the
7715 overshoot properties to zero, which points out that not
7716 overshooting allowed.
7718 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7720 Modified the procedure to get the widget at a point inside the
7721 pannable area when using the movement type signals. Now the user
7722 has to call a function to get the child, that way we just
7723 calculate the child in case the user really want to use it and not
7726 * src/hildon-marshalers.list: Modified the marshallers, now we do
7727 not have the widget as a parameter.
7729 * src/hildon-pannable-area.c
7730 (hildon_pannable_area_motion_notify_cb),
7731 (hildon_pannable_area_class_init),
7732 (hildon_pannable_get_child_widget_at): Removed the widget
7733 parameter from the signal callback. We have also refactored the
7734 emission of the signals.
7736 * src/hildon-pannable-area.h: Added a new method to the API to
7737 calculate a widget at a point inside the pannable area,
7738 hildon_pannable_get_child_widget_at.
7740 * examples/hildon-pannable-area-example-4.c
7741 (horizontal_movement): Modified the example to use the new API,
7742 added condition to control which widget is under the event. This
7743 way we can avoid scrolling laterally over other widgets.
7745 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7747 * src/hildon-pannable-area.c
7748 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7749 modes, we stop getting the pointer events due to returning the
7750 callback without properly calling the get pointer again. Fixed
7751 also an error using the hscroll and vscroll.
7753 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7755 * src/hildon-app-menu-private.h
7756 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7757 (hildon_app_menu_button_release, hildon_app_menu_init)
7758 (hildon_app_menu_class_init): Don't hide the menu on button
7759 release if the user didn't press outside first.
7761 * src/hildon-window.h
7762 * src/hildon-window.c (hildon_window_toggle_menu)
7763 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7764 hildon_window_toggle_menu a virtual function for the stackable
7765 window to override it.
7767 * src/hildon-stackable-window.h
7768 * src/hildon-stackable-window-private.h
7769 * src/hildon-stackable-window.c
7770 (hildon_stackable_window_realize)
7771 (hildon_stackable_window_finalize)
7772 (hildon_stackable_window_class_init)
7773 (hildon_stackable_window_init)
7774 (hildon_stackable_window_set_main_menu): New function to set the
7775 app menu of a HildonStackableWindow.
7777 * examples/hildon-app-menu-example.c: Remove the button to show
7778 the app menu, now it'll be shown when clicking on the title bar
7781 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7783 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7784 set the widget name if the arrangement flags do not specify
7787 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7789 * src/hildon-button.c: (hildon_button_set_property),
7790 (hildon_button_class_init), (hildon_button_new_full),
7791 (hildon_button_set_arrangement): Added "arrangement-flags"
7794 Make the HildonButtonFlags a construction-only property, to allow
7795 subclasses to set them properly.
7797 2008-07-21 Tim Janik <timj@imendio.com>
7799 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7800 insertion position after backspace, so additional digits are appended,
7803 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7805 * src/hildon-pannable-area.c,
7806 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7807 TODO list, it was complete and removed the g_debug and g_print
7810 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7812 Added the movement modes to the hildon-pannable-area, with this
7813 modes the developers can control in which directions the widget
7814 can scroll. They can also connect to signals in order to do
7815 something when that happens, allowing applications scroll. There
7816 is an example uploaded showing how to use it.
7818 * examples/Makefile.am:
7819 * examples/hildon-pannable-area-example-4.c: Added this example of
7820 an application using the modes.
7822 * src/hildon-marshalers.list: Added a new marshaller for the new
7825 * src/hildon-pannable-area.h: Added new enumerations and flags in
7826 order to control the movement modes and the new signals to warn
7827 about the movements in the area.
7829 * src/hildon-pannable-area.c:
7830 (hildon_pannable_axis_scroll),
7831 (hildon_pannable_area_scroll),
7832 (hildon_pannable_area_motion_notify_cb),
7833 (hildon_pannable_area_get_property),
7834 (hildon_pannable_area_set_property),
7835 (hildon_pannable_area_map),
7836 (hildon_pannable_area_class_init),
7837 (hildon_pannable_area_init),
7838 (hildon_pannable_area_jump_to): Added the modes to control the
7839 movement in the widget. We have added properties to control it,
7840 signals to warn about the movements and refactored some code.
7842 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7844 Changes required in order to allow vfast_factor set to zero to
7847 * src/hildon-pannable-area.c:
7848 (hildon_pannable_area_button_press_cb): Changed the condition, it
7849 is required for not allowing click when vfast_factor is zero.
7850 (hildon_pannable_area_timeout): Initialized velocity variables
7851 when we stop moving, it was less than 1 but not zero and we need
7852 to check zero in some situations.
7853 (hildon_pannable_area_class_init): Changed the default value of
7854 the speed factor, now the button_press is just sent in case the
7855 speed is 2 per cent of the max speed.
7856 (hildon_pannable_area_init): Initialization with 0.
7858 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7860 * src/hildon-pannable-area.c,
7861 (hildon_pannable_area_get_topmost): replaced
7862 gdk_window_get_children with gdk_window_peek_children, this way we
7863 do not have to free the list because it is not a copy.
7865 (hildon_pannable_axis_scroll),
7866 (hildon_pannable_area_scroll),
7867 (hildon_pannable_area_timeout),
7868 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7869 two parameters that were only used inside the
7870 hildon_pannable_area_scroll function.
7872 * examples/hildon-pannable-area-example.c,
7873 (get_sawtooth_label): Fixed small memory leak.
7875 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7877 More checks for the case where the overshoot is bigger than the
7880 * src/hildon-pannable-area.c:
7881 (hildon_pannable_draw_vscroll),
7882 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7883 to draw the slider of the scrollbar under the other scrollbar.
7884 (hildon_pannable_area_expose_event): added new checks to control
7885 the drawing of the overshooting area rectangle, in case it is too
7886 big for the area of the widget.
7887 (hildon_pannable_area_size_allocate): add more checks to avoid
7888 setting a position to the child widget outside the area.
7890 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7892 * src/hildon-pannable-area.c
7893 (hildon_pannable_area_size_allocate): Added conditions to control
7894 when overshooting is bigger than the allocated space for the
7895 children, this avoids negative allocations.
7897 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7899 * doc/hildon-docs.sgml
7901 * examples/Makefile.am
7902 * examples/hildon-button-example.c
7904 * src/hildon-button.c
7905 * src/hildon-button.h
7906 * src/hildon.h: Initial version of the new HildonButton widget,
7909 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7911 * src/hildon-pannable-area.c:
7912 (hildon_pannable_area_button_press_cb),
7913 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7914 (hildon_pannable_area_motion_notify_cb),
7915 (hildon_pannable_area_button_release_cb),
7916 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7917 (hildon_pannable_area_jump_to_child):
7919 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7921 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7923 * examples/Makefile.am
7924 * examples/hildon-pannable-area-touch-grid-example.c
7925 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7926 the Hildon Touch List and Hildon Touch Grid using the
7927 HildonPannableArea widget.
7929 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7931 * src/hildon-pannable-area.c,
7932 (hildon_pannable_area_button_press_cb),
7933 (hildon_pannable_area_refresh),
7934 (hildon_pannable_area_scroll),
7935 (hildon_pannable_area_motion_notify_cb),
7936 (hildon_pannable_area_button_release_cb),
7937 (hildon_pannable_area_expose_event),
7938 (hildon_pannable_area_add),
7939 (hildon_pannable_area_remove),
7940 (hildon_pannable_area_realize),
7941 (hildon_pannable_area_size_allocate),
7942 (hildon_pannable_area_class_init),
7943 (hildon_pannable_area_init),
7944 (hildon_pannable_area_scroll_to_child),
7945 (hildon_pannable_area_jump_to_child): Fixed the problem of
7946 removing the child from the GtkBin, we have rearranged the widget
7947 hierarchy, now there is no GtkAlignment which was not doing
7948 anything interesting but breaking some of the assumptions of
7949 GtkContainer. Now developers if they want to add a GtkAlignment
7950 they could, but it is not inside the area.
7952 We had to review the whole allocation/expose process, now it is
7953 improved and we save at least three signals which would be saving
7954 some time when rendering the widget. The allocation of the
7955 scrollbars is now made in the allocate method as usual.
7957 We have also added some conditions in order to control when there
7958 is no child of the pannable area. Maybe we will need more work
7961 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7963 * src/hildon-pannable-area.c,
7964 (hildon_pannable_area_dispose): Released the fade-out timeout when
7965 disposing the widget.
7967 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7969 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7970 zero, we are going to use that property in order to deactivate the
7972 (hildon_pannable_axis_scroll),
7973 (hildon_pannable_area_size_allocate): Added conditions to control
7974 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7975 call, now it is called in all situations and we can remove calls
7976 in the allocate method.
7977 (hildon_pannable_area_map): Control the situation when
7978 overshoot_max is zero, we do not need the timeout.
7979 (hildon_pannable_area_class_init): Added documentation in order to
7980 point out that setting zero to overshoot_max means deactivate
7983 NOTE: removed trailing whitespaces from my previous comments of
7986 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7988 * src/hildon-pannable-area.c
7989 (hildon_pannable_area_get_property),
7990 (hildon_pannable_area_set_property),
7991 (hildon_pannable_area_map),
7992 (hildon_pannable_area_class_init),
7993 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7994 to cause the widget give a hint about its panning abilities upon
7997 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7999 * src/hildon-pannable-area.c: Several documentation improvements.
8001 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8003 * src/hildon-program.c
8004 * src/hildon-stackable-window.c: Update documentation.
8006 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8008 * src/hildon-stackable-window.c (get_previous_window_if_last):
8009 Renamed get_last_window()
8010 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8011 (hildon_stackable_window_unset_program):
8013 (get_previous_window_if_last):
8014 Detect if the window hasn't been added to a HildonProgram.
8016 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8018 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8020 * src/hildon-pannable-area.c
8021 (hildon_pannable_area_button_press_cb),
8022 (hildon_pannable_axis_scroll),
8023 (hildon_pannable_area_scroll),
8024 (hildon_pannable_area_timeout),
8025 (hildon_pannable_calculate_vel_factor),
8026 (hildon_pannable_area_get_property),
8027 (hildon_pannable_area_set_property),
8028 (hildon_pannable_area_class_init),
8029 (hildon_pannable_area_init),
8030 (hildon_pannable_area_scroll_to),
8031 (hildon_pannable_area_jump_to),
8032 (hildon_pannable_area_scroll_to_child),
8033 (hildon_pannable_area_jump_to_child):
8034 * src/hildon-pannable-area.h: Added the new API functions:
8035 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8036 hildon_pannable_area_scroll_to_child,
8037 hildon_pannable_area_jump_to_child
8040 * examples/Makefile.am
8041 * examples/hildon-pannable-area-example-2.c
8042 * examples/hildon-pannable-area-example-3.c: Added these two new
8043 examples in order to test and show how the new APIs work.
8045 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8047 * examples/hildon-stackable-window-example.c (new_window):
8048 * src/Makefile.am (noinst_HEADERS):
8049 * src/hildon-program.c (hildon_program_go_to_root_window):
8050 * src/hildon-program.h:
8051 * src/hildon-stackable-window-private.h:
8052 * src/hildon-stackable-window.c:
8053 * src/hildon-stackable-window.h:
8054 Create hildon-stackable-window-private.h
8055 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8057 * examples/hildon-app-menu-example.c (create_menu):
8058 * examples/hildon-hvolumebar-insensitive-example.c (main):
8059 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8060 * examples/hildon-toolbar-seekbar-example.c (main):
8061 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8062 * src/hildon-banner.c (hildon_banner_set_property):
8063 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8064 Fix compilation warnings
8066 * src/hildon-window.c:
8069 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8071 * src/hildon-stackable-window.c
8072 (hildon_stackable_window_unset_program):
8073 Calculate correctly whether to show the previous window if the
8074 last one is removed from the stack.
8075 (hildon_stackable_window_go_to_root_window):
8076 Send delete events starting from the topmost window.
8077 Stop if one of the windows is not destroyed.
8079 (hildon_stackable_window_delete_event)
8080 (hildon_stackable_window_class_init):
8081 Ignore the delete event if the window is not the topmost one.
8083 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8085 * src/hildon-pannable-area.c
8086 (hildon_pannable_area_expose_event): Fixed a problem when
8087 selecting the background color of the scrollbars.
8089 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8091 * examples/hildon-stackable-window-example.c
8092 * src/hildon-stackable-window.c
8093 * src/hildon-stackable-window.h
8094 hildon_stackable_window_go_home() renamed to
8095 hildon_stackable_window_go_to_root_window()
8096 Send delete events to windows rather than closing them with
8097 gtk_widget_destroy()
8099 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8101 * src/hildon-pannable-area.c
8102 (hildon_pannable_area_button_release_cb): Fix overshooting in
8105 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8107 * src/hildon-pannable-area.c
8108 (hildon_pannable_area_init): Initially show the scroll indicators.
8109 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8111 Add initial effect showing the widget is pannable.
8113 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8115 * src/hildon-pannable-area.c
8116 (hildon_pannable_area_class_init)
8117 (hildon_pannable_area_set_property)
8118 (hildon_pannable_area_get_property)
8119 (hildon_pannable_area_button_press_cb):
8120 New 'velocity_fast_factor' property to decide which velocity is
8123 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8125 * src/hildon-pannable-area.c
8126 (hildon_pannable_draw_hscroll)
8127 (hildon_pannable_draw_vscroll):
8128 Use float variables to calculate the size of the scrollbars to
8129 avoid error propagation and resizing during scrolling.
8131 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8133 * src/hildon-pannable-area.c
8134 (hildon_pannable_draw_vscroll)
8135 (hildon_pannable_draw_hscroll):
8136 Define a minimum size for the scroll bars
8138 * src/hildon-stackable-window.c
8139 (hildon_stackable_window_go_home): Fix compilation warning
8140 (get_last_window): Minor optimizations
8141 (hildon_stackable_window_class_init): Fix initialization of
8144 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8146 * src/hildon-stackable-window.c: Fixed typos in doc
8148 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8150 * src/hildon-pannable-area.c
8151 (hildon_pannable_area_scroll):
8152 Calculate here whether we need to scroll instead of using the booleans
8153 that tell us whether to /draw/ the scrolling bars.
8155 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8157 * src/hildon-app-menu.h
8159 * src/hildon-app-menu.c
8160 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8161 multiple filter groups related code and API. Now we support only
8163 * examples/hildon-app-menu-example.c:
8165 Update to reflect API changes.
8167 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8169 * src/hildon-stackable-window.c
8170 (hildon_stackable_window_class_init):
8171 Add hildon_stackable_window_realize.
8172 (hildon_stackable_window_realize):
8173 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8174 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8175 to apply theming and behavior specific to HildonStackableWindow
8178 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8180 * src/hildon-note.c (hildon_note_button_release):
8181 Close information notes also when tapping on them
8183 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8185 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8186 ELASTICITY, refactor and review, fix some issues with drawing
8189 * src/hildon-pannable-area.c:
8190 (hildon_pannable_area_button_press_cb): removed the conditions to
8191 avoid clicks when overshooting. It is not required
8193 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8194 define. Refatored and reviewed the code, now we do not need to
8195 manage velocity in motion_notify.
8197 (hildon_pannable_area_motion_notify_cb): We have moved the code
8198 that controls the area_scroll to the axis_scroll function and get
8199 rid of duplicated code.
8201 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8203 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8205 (hildon_pannable_draw_vscroll),
8206 (hildon_pannable_draw_hscroll): Fixed the problems with the
8207 scrollbar drawing, now we do not use two surfaces, it is easier
8208 and saves resources.
8210 (hildon_pannable_area_get_property): Style modification.
8212 (hildon_pannable_area_class_init): Changed some default values.
8214 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8216 * src/hildon-stackable-window.c: Fix some typos in the
8219 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8221 * src/hildon-dialog.c:
8222 Change indentation style
8225 (hildon_note_button_release):
8226 Use root coordinates to check if the release event happened
8229 * src/hildon-app-menu.c
8230 (hildon_app_menu_button_release):
8231 Remove unnecessary check
8233 * examples/hildon-app-menu-example.c
8235 Add cast to fix warning
8237 * src/hildon-app-menu.c
8238 (hildon_app_menu_class_init):
8239 New inner-border style property.
8240 Set all default spacings to 16
8241 (hildon_app_menu_init):
8242 Use vertical-spacing to set the space between filter buttons and
8243 regular menu buttons.
8244 Set the default container border using the inner-border value.
8246 * examples/hildon-app-menu-example.c
8248 Don't set the menu border explicitly, now we have the inner-border
8249 style property for that.
8251 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8253 * src/hildon-app-menu.c (hildon_app_menu_init):
8254 Make the window modal
8256 * src/hildon-note.c (hildon_note_map)
8257 * src/hildon-app-menu.c (hildon_app_menu_map):
8258 Destroy the grab window if we're unable to grab the pointer
8260 * src/hildon-app-menu-private.h
8261 * src/hildon-app-menu.c
8262 (hildon_app_menu_init, hildon_app_menu_finalize)
8263 (hildon_app_menu_map, hildon_app_menu_unmap)
8264 (hildon_app_menu_button_release)
8265 (grab_transfer_window_get):
8266 Bring back the grab window
8267 (hildon_app_menu_realize):
8268 Decorate the window, set WM hint for Matchbox
8270 * src/hildon-note.c (hildon_note_realize):
8271 * src/hildon-banner.c (hildon_banner_realize):
8272 Add WM hints for Matchbox
8274 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8276 * src/hildon-app-menu-private.h
8277 * src/hildon-app-menu.c
8278 (hildon_app_menu_init, hildon_app_menu_finalize)
8279 (hildon_app_menu_map, hildon_app_menu_unmap)
8280 (hildon_app_menu_button_release):
8281 Remove the grab window, it's not needed anymore
8283 * src/hildon-program.c
8284 Fixed typo in documentation
8286 * src/hildon-app-menu.h
8287 * src/hildon-app-menu.c
8288 * examples/hildon-app-menu-example.c
8289 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8291 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8294 Added new transfer_window and close_if_pressed_outside private
8296 (hildon_note_rebuild):
8297 Don't add a cancel button to the information note. It will be
8298 closed when tapping outside
8299 Remove the comment about the OK button in the documentation
8300 (hildon_note_realize):
8301 Set the notification type hint
8302 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8303 Grab/ungrab pointer and keyboard if the note has to be closed when
8305 (hildon_note_button_release):
8306 Close the note when tapping outside (if applicable)
8308 * src/hildon-app-menu.c
8309 Grab/ungrab pointer and keyboard on map/unmap
8310 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8311 Close the menu on button release, not button press
8313 * src/hildon-banner.c
8314 (hildon_banner_set_property)
8315 (hildon_banner_check_position):
8316 Make the banner use the full width of the screen
8317 (hildon_banner_show_information)
8318 (hildon_banner_show_information_with_markup):
8319 Don't display an icon by default
8321 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8323 Added fading scrollbars and adapted all the overshooting code to
8324 horizontal scrolling. We have also fixed bugs with overshooting
8325 and current fading implementation.
8327 * src/hildon-pannable-area.c
8328 (hildon_pannable_area_scroll_indicator_fade): Time out function
8329 used to change the transparency of the scrollbars.
8331 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8332 control and fixed a problem with fading, we now remove the fade
8333 timeout before adding a new one.
8335 (hildon_pannable_axis_scroll):
8336 (hildon_pannable_area_scroll):
8337 (hildon_pannable_area_timeout): Added this functions so we can use
8338 the scroll code both for vertical and horizontal.
8340 (hildon_pannable_area_motion_notify_cb):
8341 (hildon_pannable_area_button_release_cb): Added the horizontal
8342 scrolling control, fixed a problem with the overshooting timeout.
8344 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8345 painting of the scrolls.
8347 (hildon_pannable_draw_vscroll):
8348 (hildon_pannable_draw_hscroll):
8349 (hildon_pannable_area_expose_event):
8350 Draw both scrollbars and rectangles in the overshooting area.
8352 (hildon_pannable_area_get_property):
8353 (hildon_pannable_area_set_property):
8354 Modified the overshoot property to overshoot_max
8356 (hildon_pannable_area_map):
8357 Replaced the comments symbols.
8359 (hildon_pannable_area_size_allocate):
8360 (hildon_pannable_area_class_init):
8361 (hildon_pannable_area_init): Added horizontal scroll, fading
8362 effect properties, fixed a problem when overshooting in the bottom
8365 * examples/hildon-pannable-area-example.c:
8366 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8367 looks better in the example.
8369 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8371 * src/hildon-window.c
8372 * src/hildon-window.h
8373 (hildon_window_class_init)
8374 (hildon_window_unset_program)
8375 (hildon_window_unset_program_real):
8376 Make unset_program a virtual function
8378 * src/hildon-stackable-window.c
8379 * src/hildon-stackable-window.h
8380 Added hildon_stackable_window_go_home()
8382 * examples/Makefile.am
8383 * examples/hildon-stackable-window-example.c
8384 HildonStackableWindow example
8386 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8388 * hildon-pannable-area.c: Added the overshoot property and removed
8389 the OVERSHOOT define. Fixed an indent style error.
8390 (hildon_pannable_area_motion_notify_cb):
8391 (hildon_pannable_area_get_property):
8392 (hildon_pannable_area_set_property): Add overshoot property.
8394 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8397 (hildon_pannable_area_class_init): Installed the new property.
8399 * hildon-pannable-area-example.c: Added a sawtooth function, this
8400 way it is easier to check the movement in the pannable.
8401 (get_sawtooth_label): Added this function.
8402 (main): Now we get the labels from the new get_sawtooth_label
8405 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8407 * src/hildon-app-menu.h
8408 * src/hildon-app-menu.c
8409 Renamed API variables for consistency
8411 (hildon_app_menu_popup): Use also the default window size to
8412 decide where to place the menu
8414 (hildon_app_menu_init, hildon_app_menu_class_init): New
8415 external-border style property
8417 2008-05-26 Michael Natterer <mitch@imendio.com>
8419 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8420 widget_class->tap_and_hold_setup signal slot doesn't exist any
8421 longer, stop overriding it.
8423 (hildon_time_editor_init): g_signal_connect() to the
8424 tap-and-hold-setup signal instead.
8426 (hildon_time_editor_entry_keypress): add cast to fix warning.
8428 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8430 * doc/hildon-docs.sgml
8432 * examples/Makefile.am
8433 * examples/hildon-app-menu-example.c
8435 * src/hildon-app-menu-private.h
8436 * src/hildon-app-menu.c
8437 * src/hildon-app-menu.h
8439 New HildonAppMenu widget
8441 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8443 Rearranged the inheritance of the pannable area, now it inherits
8444 from GtkBin. This will allow us to control the event_window and
8445 the allocation process of the widget, required for some effects.
8447 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8448 GtkBin structures. * src/hildon-pannable-area.c: Added the
8449 event_window variable.
8450 (hildon_pannable_area_button_press_cb):
8451 (hildon_pannable_area_button_release_cb):
8452 (hildon_pannable_area_motion_notify_cb):
8453 Changed the signature of the method, now we override the event
8454 callback instead of connecting to the signal.
8456 (hildon_pannable_area_realize):
8457 (hildon_pannable_area_unrealize):
8458 (hildon_pannable_area_map):
8459 (hildon_pannable_area_unmap):
8460 (hildon_pannable_area_size_allocate):
8461 Added functions to control the widget construction. We add a
8462 INPUT_ONLY window and we put it over the widgets inside the
8463 container, this event_window handles the events.
8465 (hildon_pannable_area_class_init):
8466 Replaced the signal connections with overrides of the event
8469 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8471 Bouncing effect added when touching the borders, you can change
8472 the elasticity of the border changing the ELASTICITY define.
8474 * src/hildon-pannable-area.c: Added ELASTICITY define.
8475 (hildon_pannable_area_timeout): Added inverse velocity when
8476 touching the border of the child widget, that causes a bounce.
8478 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8480 Improved performance, we now do not go to the X server in order to
8481 get the list of window children. Apparently the effect is the
8482 same, we have to be careful and check if this breaks something in
8485 * src/hildon-pannable-area.c:
8486 (get_ordered_children): Removed this function.
8487 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8488 the children windows function with gdk_window_get_children.
8490 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8492 * src/hildon-pannable-area.c:
8493 (hildon_pannable_area_dispose): Fixed a crash when closing the
8494 window and kinetics is activated.
8496 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8498 * src/hildon-pannable-area.h
8499 * src/hildon-pannable-area.c
8500 Changed indentation style to meet the one used in Hildon
8502 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8504 Reviewed the interaction of the AUTO mode, now we use the time
8505 attribute of the events and calculate the velocity in the motion,
8506 doing a gimp like calculation. The velocity is calculated in each
8507 motion event using the last velocity and the current one, the
8508 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8510 * src/hildon-pannable-area.c: Replaced the time based algorithm
8512 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8513 timeout for the AUTO mode when we are still moving the cursor. We
8514 added also the velocity calculation in this function.
8515 (hildon_pannable_area_button_release_cb): launch the timeout in
8516 case we are in AUTO mode. There are still some constants here that
8517 come from the old implementation that should be reviewed and
8520 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8522 * doc/hildon-docs.sgml
8525 * src/hildon-stackable-window.c
8526 * src/hildon-stackable-window.h
8528 New HildonStackableWindow widget
8530 * examples/hildon-dialog-example.c
8531 * examples/hildon-pannable-area-example.c
8534 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8536 * src/hildon-dialog.c
8537 (hildon_dialog_new_with_buttons): New constructor.
8539 * examples/hildon-dialog-example.c
8540 (main): Update the example to use the new
8541 hildon_dialog_new_with_buttons().
8543 * examples/hildon-pannable-area-example.c
8544 (main): Update example.
8546 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8548 * doc/hildon-docs.sgml
8550 Added HildonPannableArea to the documentation.
8552 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8554 * doc/visual_index.xml
8555 Fix reference to HildonLoginDialog in documentation
8557 * doc/hildon-docs.sgml
8559 * examples/Makefile.am
8560 * examples/hildon-dialog-example.c
8562 * src/hildon-dialog.c
8563 * src/hildon-dialog.h
8565 New HildonDialog widget.
8567 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8569 * src/hildon-pannable-area.c
8570 Merge latest changes (r4318, r4342) from libmokoui trunk
8572 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8574 * examples/Makefile.am
8575 * examples/hildon-pannable-area-example.c
8577 * src/hildon-pannable-area.c
8578 * src/hildon-pannable-area.h
8580 New HildonPannableArea widget.
8582 2008-04-15 18:05:19 <timj@imendio.com>
8584 * src/hildon-banner.c: revert the recent change, that introduced
8585 gtk_window_present() calls. this reopens:
8586 Bug 78481 - [freetest] information banners are hidden under browser menu
8587 But resolves another variant of:
8588 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8590 2008-04-15 13:21:13 <timj@imendio.com>
8592 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8593 recreated its layout, spotted by Kris. this fixes all remaining
8594 artefacts and stability issues with the banner code. in particular:
8595 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8597 2008-04-14 16:52:59 <timj@imendio.com>
8599 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8600 operating on unrealized widgets, fixes:
8601 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8603 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8605 2008-04-09 Kristian Rietveld <kris@imendio.com>
8607 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8608 makes banner disappear.
8609 Fixes: NB#79182: info banner flickering with certain message lengts.
8611 * src/hildon-banner.c (hildon_banner_constructor),
8612 (hildon_banner_init), (hildon_banner_set_text),
8613 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8614 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8615 FALSE, reset size requests of label and banner,
8616 (force_to_wrap_truncated): when the text is too wide, always enforce
8617 the maximum possible width instead of recalculating it from the
8618 layout; enforce the maximum banner height of 3 lines,
8619 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8620 nicer wrapping and no truncated chars if space gets tight.
8622 * src/hildon-banner-private.h: add has_been_wrapped and
8623 has_been_truncated fields.
8625 2008-04-07 Sven Herzberg <sven@imendio.com>
8627 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8628 local values in hildon_date_editor_size_allocate
8630 * src/hildon-date-editor.c: moved the real allocation code into the
8633 2008-04-07 Sven Herzberg <sven@imendio.com>
8635 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8636 local values in hildon_date_editor_size_allocate
8638 * src/hildon-date-editor.c: merged the two if() branches together
8640 2008-04-07 Sven Herzberg <sven@imendio.com>
8642 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8643 local values in hildon_date_editor_size_allocate
8645 * src/hildon-date-editor.c: changed the arguments of the if()
8648 2008-04-07 Sven Herzberg <sven@imendio.com>
8650 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8651 local values in hildon_date_editor_size_allocate
8653 * src/hildon-date-editor.c: split the calculation of the allocation
8654 from the real allocation
8656 2008-03-27 Michael Natterer <mitch@imendio.com>
8658 Fixes: NB#81696: The passcode is not overwritten even after
8661 * src/hildon-code-dialog.c
8662 (hildon_code_dialog_button_clicked)
8663 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8664 because that doesn't overwrite selected text. Instead, emit the
8665 "commit" signal on the entry's im_context so the entry's normal
8666 insert logic is triggered. Set the cursor to the end of the entry
8667 after each insert operation so that we *only* insert in the middle
8668 of the text if something was selected.
8670 2008-03-27 Michael Natterer <mitch@imendio.com>
8672 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8673 selector cannot be opened
8675 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8676 when the popup color selector is created. Please connect to this
8677 signal in order to set the dialog's help ID.
8679 2008-03-25 Sven Herzberg <sven@imendio.com>
8681 Fixes: MB#1212: Hide info banners (infoprints) on click
8683 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8684 extracted the close event simulation into an extra function
8685 (hildon_banner_button_press_event): simulate a close event and destroy
8686 the widget if the event wasn't handled
8687 (hildon_banner_class_init): added the button_press_event handler
8688 (hildon_banner_init): added button-press events to the widget
8690 2008-03-25 Sven Herzberg <sven@imendio.com>
8692 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8693 Patch from: Mohammad Anwari <mdamt@maemo.org>
8695 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8696 instead of the right in RTL mode
8697 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8698 breadcrumb button list in RTL mode
8699 * src/hildon-caption.c: mirror the appearance of the caption widget in
8701 * src/hildon-date-editor.c: mirror appearance of the date editor in
8703 * src/hildon-time-editor.c: mirror appearance of the time editor in
8705 * src/hildon-window.c: fix the position of the popup in RTL mode
8707 2008-03-25 Sven Herzberg <sven@imendio.com>
8709 Amendment to the fix of NB#22072. Fix compilation.
8711 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8713 2008-03-19 Sven Herzberg <sven@imendio.com>
8715 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8718 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8719 timeout id properly when the timeout will disappear this leaves no
8720 artifacts around in the destroy(); there will only be the timeout
8721 created by hildon_banner_ensure_timeout() and adding a new timeout
8722 will also work if the timeout gets removed because the timeout_handler
8725 2008-03-19 Michael Natterer <mitch@imendio.com>
8727 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8729 * src/hildon-volumebar.c
8730 * src/hildon-vvolumebar.c
8731 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8732 the widget becomes focussable at all.
8734 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8735 set the focus to wither the mute button or the volumebar.
8737 Remove own "can-focus" property and instead listen to
8738 notify::can-focus in order to update the widget's state.
8740 Implement GtkWidget::focus() and make sure we can also *leave* the
8741 widget, not only enter it, depending on volumebar orientation and
8742 requested focus direction.
8744 Clean up set_mute() to cooperate nicely with all the above.
8746 2008-03-04 Michael Natterer <mitch@imendio.com>
8748 Fixes: NB#78481: information banners are hidden under browser menu
8750 * src/hildon-banner.c: call gtk_window_present() on the banners so
8751 they are risen if they are already visible.
8753 2008-03-03 Sven Herzberg <sven@imendio.com>
8755 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8757 * examples/hildon-window-menu-example.c: (main): extended the window
8758 menu example to serve as a testcase for automatically added
8759 accelerator groups, too
8760 * src/hildon-window.c: (hildon_window_add_accel_group),
8761 (hildon_window_set_menu): added patch by Tommi Komulainen
8763 2008-03-03 Sven Herzberg <sven@imendio.com>
8765 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8767 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8768 knowledge about the border allocators used within GTK+
8770 2008-02-26 Sven Herzberg <sven@imendio.com>
8772 Fixes: MB#2981: Build with asserts broken
8774 * src/hildon-date-editor.c,
8775 * src/hildon-number-editor.c,
8776 * src/hildon-time-editor.c,
8777 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8778 the proper GType instance check
8780 2008-02-25 Sven Herzberg <sven@imendio.com>
8782 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8784 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8785 * examples/hildon-window-menu-example.c: (main): explicitly show
8787 * src/hildon-window.c:
8788 (hildon_window_set_main_menu): moved most of the code from set_menu()
8789 to this place; skipped the call to gtk_widget_show_all(); also didn't
8790 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8791 (hildon_window_set_menu): removed most of the code, just keep the
8792 questionable gtk_widget_show_all()
8793 * src/hildon-window.h: added the new function and deprecate the old
8796 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8802 * debian/changelog: Updating.
8804 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8807 * pkgconfig/Makefile.am:
8808 * pkgconfig/hildon.pc.in:
8811 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8812 use newly created API_MAJOR_VERSION.
8814 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8820 * debian/changelog: Updating.
8822 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8824 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8826 Add outer_border style property, we use it but don't define it (!).
8830 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8832 * examples/hildon-bread-crumb-trail-example.c (main):
8836 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8838 Fix logic for the bread crumb trail node removal.
8842 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8848 * debian/changelog: Updating.
8850 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 Patch by Alejandro to get/set passwords dialogs accesibility.
8854 * hildon-1/src/hildon-get-password-dialog.c:
8855 * hildon-1/src/hildon-set-password-dialog.c:
8856 Set atk_set_name to the passwd entries in order to allow
8857 accessibility by name on this entries.
8859 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8864 * debian/control: Updating gtk dep.
8866 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8868 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8869 USE_MAEMO_GTK is enabled.
8871 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8873 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8874 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8876 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8882 * debian/changelog: Updating.
8884 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * examples/Makefile.am:
8887 * examples/hildon-logical-color-example.c:
8888 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8889 applied + adding a test case. Fixes: NB#71660.
8891 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8893 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8894 to be visible, fixes warning on map for windows without toolbars.
8896 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8898 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8899 2.11.0, add a check for that besides the MAEMO_GTK check.
8901 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * debian/changelog: Updating.
8909 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8912 visibility. Fixes: NB#70842 and MB#615.
8914 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8916 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8917 set the separator as no-show-all so it doesn't unintentionally appear when
8918 someone does a show_all.
8920 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8922 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8923 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8924 toplevel item. Fixes: NB#62031
8926 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8928 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8929 fix the name of the function in the docs.
8931 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * debian/changelog: Updating.
8939 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8941 * examples/hildon-banner-long-example.c: Adding a test-case for long
8944 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8946 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8948 * src/hildon-color-chooser-dialog.c:
8949 * src/hildon-color-chooser.c:
8950 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8951 memory leaks in font selector and color selector. Fixes: NB#70499 and
8954 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8956 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8958 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8961 little bit bigger. Fixes: #NB63694.
8963 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * debian/changelog: Updating.
8971 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * doc/hildon-docs.sgml:
8975 * doc/images/bread-crumb-trail.png:
8976 * doc/images/calendar-popup.png:
8977 * doc/images/caption.png:
8978 * doc/images/code-dialog.png:
8979 * doc/images/color-button.png:
8980 * doc/images/color-chooser-dialog.png:
8981 * doc/images/color-chooser.png:
8982 * doc/images/controlbar.png:
8983 * doc/images/date-editor.png:
8984 * doc/images/font-selection-dialog.png:
8985 * doc/images/get-password-dialog.png:
8986 * doc/images/hvolumebar.png:
8987 * doc/images/login-dialog.png:
8988 * doc/images/note.png:
8989 * doc/images/number-editor.png:
8990 * doc/images/range-editor.png:
8991 * doc/images/seekbar.png:
8992 * doc/images/set-password-dialog.png:
8993 * doc/images/sort-dialog.png:
8994 * doc/images/time-editor.png:
8995 * doc/images/time-picker.png:
8996 * doc/images/vvolumebar.png:
8997 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8998 Adding the bread-crumb-trial and helpers to the documentation.
9000 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * examples/hildon-find-toolbar-example.c:
9003 * src/hildon-find-toolbar.c:
9004 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9005 actually continue firing the other handlers if connected. Adding a new
9007 hildon_find_toolbar_get_last_index that gets the index of the most
9008 recently added (last) item. Fixes: NB#52301.
9010 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9013 behaviour. Fixes: NB#68610.
9015 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9020 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9023 when realizing the banner. Should make the infonbanner effect a bit more
9026 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * src/hildon-volumebar.c:
9029 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9030 hildon_volumebar_set_range_insensitive_message and
9031 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9033 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9035 * src/hildon-window.c: Fixing the border freeing on destroy.
9037 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-code-dialog-private.h:
9040 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9041 kw keyboard support in HildonCodeDialog.
9043 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * debian/changelog: Updating.
9051 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9053 * src/hildon-date-editor.c:
9054 * src/hildon-number-editor.c:
9055 * src/hildon-private.c:
9056 * src/hildon-private.h:
9057 * src/hildon-time-editor.c:
9058 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9059 handling in subclassed composite widgets. Fixes: NB#66628.
9061 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9063 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9064 from destroy_ callback as it introduces problems in async dbus signal
9065 handlers. Fixes NB#66673.
9067 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9069 * examples/hildon-hvolumebar-example.c:
9070 * src/hildon-volumebar.c: Improving the focus handling in the
9071 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9072 set_property accessor so that "mute" property can be actually set. I'm
9073 scared that nobody noticed it's totally broken.
9075 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9077 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9080 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9082 * src/hildon-calendar.c:
9083 * src/hildon-number-editor.c:
9084 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9085 matches the spec of 6 chars per second. Fixes: NB#60489.
9087 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9090 gtk_style_lookup_color sometime returns FALSE even though color was
9091 found and values were filled properly. Weird. Removing the warning for the
9094 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9097 expand vertically. Adding some extra space to the find toolbar buttons to
9098 make them thumbable. Fixes NB#66060.
9100 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9102 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9103 popup with "Ok" and "Cancel". Fixes NB#59299.
9105 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9107 * src/hildon-calendar.c: Process all window updates before executing next
9108 timeout. Fixes: NB#54146.
9110 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9116 * debian/changelog: Updating.
9118 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9120 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9121 the client event and ignore it, since we use the delete event to close
9124 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * src/hildon-helper.c: Remove the bogus warning about color not being
9127 found. Fixes NB#58352.
9129 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9131 * examples/Makefile.am:
9132 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9133 HildonSeekbar widget inside a toolbar.
9135 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9137 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9138 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9139 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9140 don't want to be closed by non-temporary windows on map.
9142 Also use G_DEFINE_TYPE instead of manually typed code.
9144 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * debian/rules: Updating.
9153 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9155 * examples/Makefile.am:
9156 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9157 bug NB#61128. Strangely it works.
9159 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9161 * src/hildon-date-editor.c: When the date editor entry has been changed
9162 but the numbers of characters < max, turn off the skip validation flag.
9163 Prevents a situation when we enter first a valid year and later re-write
9164 it with an invalid one. Fixes NB#60154.
9166 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9169 code dialog. Fixes NB#64355.
9171 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9174 switching the page. Fixes NB#49374.
9176 * examples/Makefile.am:
9177 * examples/hildon-wizard-dialog-example.c: Adding an example for
9178 HildonWizardDialog that shows how to handle manual sensitivity setting on
9181 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-version.h.in:
9186 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9188 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9190 * src/hildon-volumebar.c: Updating the docs.
9192 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * debian/changelog: Updating.
9200 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9202 * src/hildon-find-toolbar.c:
9203 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9204 selected item: hildon_find_toolbar_set_active,
9205 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9206 hildon_find_toolbar_get_active_iter . They correspond to respective
9207 GtkComboBox functions.
9209 * examples/Makefile.am:
9210 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9213 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * examples/Makefile.am:
9216 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9219 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9220 when font size > 32 and we pack a focusable widget inside. Actually using
9221 the default response would work too, but since we don't show default
9222 response state in any way (no theming) it would not be visible to the
9223 user. Fixes NB#63430.
9225 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9227 * src/hildon-date-editor.c: Adding the missing variable setter in the
9228 set_property handler. Fixes NB#54182.
9230 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9232 * src/hildon-window.h: Changing the long key press time from 1500ms to
9233 800ms as requested in NB#63700. I have a bad feeling about this, let's
9234 see... Fixes NB#63700.
9236 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9238 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9239 hildon_time_picker_map, hildon_time_picker_realize,
9240 hildon_time_picker_style_set): Split the contents of map to more
9241 appropriate functions; set window decorations on realize and update
9242 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9244 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9249 * debian/changelog: Updating.
9251 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9253 * src/Makefile.am: fixed installation of the header files
9255 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * debian/changelog: Updating.
9263 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * configure.ac: Removing some remaining of --enable-xan.
9267 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9269 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9270 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9272 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9273 2.10.12-osso6 because the move-focus signal needs to be available in
9276 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * examples/Makefile.am:
9279 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9280 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9281 fine. Prolly NB#61128 is fixed now.
9283 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9285 * src/hildon-volumebar.c:
9286 * src/hildon-volumebar.h: Adding the
9287 hildon_volumebar_set_range_insensitive_message and
9288 hildon_volumebar_set_range_insensitive_messagef functions to set
9289 insensitive message on the slider of the volumebar. Fixes NB#61129.
9291 * examples/Makefile.am:
9292 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9293 test the new insensitive messsage functionality on HildonVolumebar.
9295 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9297 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9300 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9302 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9303 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9304 button on after clearing the trail.
9306 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9308 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9310 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9312 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9313 by splitting the installed headers in generated and non-generated groups. Use
9314 only the non-generated headers to create the hildon-enum-types.h file.
9316 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9318 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9320 * src/hildon-window.c: Hide the window before performing the destroy.
9321 Should make the app closing a little tiny bit more snappy.
9323 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9325 * src/hildon-seekbar.c: add gtkrange.h header
9326 * src/hildon-caption.c: remove unused variable
9328 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9330 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9333 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9339 * debian/changelog: Updating.
9341 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9343 * src/hildon-window.c (hildon_window_window_state_event,
9344 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9345 escape timeout on focus-out-event rather than notify::is-topmost; the
9346 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9348 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9351 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9353 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9355 * src/hildon-window: actually, you need to use the macro always, there's
9356 no private pointer in the instance structure. We should have cleaned this up
9357 when we had the chance...
9359 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9361 * src/hildon-window.c: do not get the private date from HildonWindow before
9362 it passes the g_return_if_fail check. Once it's passed the test, there's no
9363 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9364 if you are only going to access the data once. Whitespace cleanups.
9366 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9368 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9369 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9371 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9377 * debian/changelog: Updating.
9379 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 * src/hildon-window.c: When destroying the window, remove (if exists) the
9382 escape timeout handler. Fixes #NB59276.
9384 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9386 * src/hildon-banner.c: When realizing the widget, set the window
9387 transiency. Setting the transiency in the gobject constructor is not
9388 good, as the widget is not realized at that point. Fixes: #NB56624.
9390 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9392 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9393 Add padding for future expansions.
9395 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9397 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9398 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9399 will fake an activation on the previous to the last item of the trail, so
9400 the effect can be overrided by the developer as usual.
9401 Also change the callback for the back button to do the same thing, so its
9402 effect can be overrided too. Fixes: NB#58982
9404 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9406 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9407 HildonCaption. Fixes NB#52379.
9409 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9411 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9412 the internal state of the trail after the user has had the chance of executing
9413 his handler for the signal. Specifically, it may happen that the activated button
9414 is removed and the user still lets the default handler run. This would segfault
9417 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9420 scrollbar to the preview dialog. Fixes NB#54147.
9422 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9424 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9425 max/min year properties can be altered, so the client can modify it
9426 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9428 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9430 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9431 hildonlike by default. Fixing a problem with disappearing arrows when
9432 scrolling through months and years. Fixes NB#54127.
9434 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9436 * examples/hildon-date-editor-example.c: Adding error callback to the date
9439 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9445 * configure.ac: Updating.
9447 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * configure.ac: Adding a special '--enable-xan' configure option that
9450 turns off the -Werror compilation setting. Usefull for development.
9452 * src/hildon-calendar.c:
9453 * src/hildon-number-editor.c:
9454 * src/hildon-time-picker.c: Adding the 5* multiplier to
9457 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9459 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9460 instead of g_object_ref + gtk_object_sink.
9462 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9468 * debian/changelog: Updating.
9470 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9472 * src/hildon-color-chooser-dialog.c:
9473 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9474 straight from Tommi labs.
9476 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9478 * examples/hildon-finger-example.c: Correcting the header file path.
9480 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9481 the changed signal. Fixes a small memory leak.
9483 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9487 * src/hildon-banner.c: Importing several usefull fixes from the
9488 ubuntu-mobile branch.
9490 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9492 * examples/Makefile.am:
9493 * examples/hildon-finger-example.c: Adding a finger-checking code
9496 * src/hildon-font-selection-dialog.c: Do not allocate the color
9497 structure using the g_new. Fixes NB#54061.
9499 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9501 * src/hildon-helper.c: Correcting tabs in file.
9503 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9505 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9506 control the visibility of the children.
9508 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9510 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9516 * debian/changelog: Updating.
9518 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9520 * src/hildon-bread-crumb-trail.c:
9521 (hildon_bread_crumb_trail_size_allocate):
9523 Make the back button always a square.
9525 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9527 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9528 from the .c file as it's a private file.
9530 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9532 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9533 uses slightly bigger height.
9535 * src/hildon-font-selection-dialog.c: Adding some checks before
9536 freeing memory in the font selection dialog.
9538 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9540 * src/hildon-font-selection-dialog.c: Adding a small check when
9543 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9544 buttons sensitivity on page switching.
9546 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9548 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9549 internal details of adding a bread crumb to the trail.
9551 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9557 * debian/changelog: Updating.
9559 * src/hildon-bread-crumb-trail.h:
9560 * src/hildon-bread-crumb.h: Changing the API guard to
9561 HILDON_ENABLE_UNSTABLE_API.
9563 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9571 * src/hildon-helper.h: Updating.
9573 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9581 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9585 * src/hildon-helper.h: Small fix to make the package actually compile.
9587 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9589 * src/hildon-bread-crumb-trail.h:
9590 * src/hildon-bread-crumb.h:
9592 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9593 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9595 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9597 * examples/hildon-bread-crumb-trail-example.c:
9599 * src/hildon-bread-crumb-trail.c:
9600 * src/hildon-bread-crumb-trail.h:
9601 * src/hildon-bread-crumb.c:
9602 * src/hildon-bread-crumb.h:
9603 * src/hildon-marshalers.list:
9604 * src/hildon-bread-crumb-widget.c:
9605 * src/hildon-bread-crumb-widget.h:
9607 Slight change in the widget design. The bread crumb trail API is
9608 unchanged, but HildonBreadCrumb is now an interface. A *private*
9609 implementation, hildon-bread-crumb-widget, is provided and used
9610 internally by the trail for the push_text/push_icon functions.
9612 The generic push API is still available, so anyone can implement
9613 and use its own bread crumb widget.
9615 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9617 * debian/rules: Fixing the shlibs.
9619 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9621 * src/hildon-banner.c: Fixing a problem with timed banners having
9622 their parrent destroyed before they are.
9624 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9626 * src/hildon-bread-crumb.c:
9627 * src/hildon-bread-crumb.h:
9629 Make the get_natural_size function a vfunc.
9631 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9633 * src/hildon-bread-crumb.c:
9634 * src/hildon-bread-crumb-trail.c:
9638 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9645 * debian/changelog: Updating for release.
9647 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9649 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9650 don't leak the pango layout.
9652 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9655 * examples/hildon-bread-crumb-trail-example.c:
9659 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9661 * debian/changelog: Removing the bug-fixed entries that were actually
9662 resolved as WONTFIX.
9664 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9667 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9669 * src/hildon-bread-crumb-trail.c:
9670 * src/hildon-bread-crumb-trail.h:
9671 * src/hildon-bread-crumb.c:
9672 * src/hildon-bread-crumb.h:
9676 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9678 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9679 until it's passed the type check.
9681 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9683 * examples/hildon-bread-crumb-trail-example.c
9687 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9689 * examples/Makefile.am
9690 * examples/hildon-bread-crumb-trail-example.c
9692 * src/hildon-bread-crumb-trail.c
9693 * src/hildon-bread-crumb-trail.h
9694 * src/hildon-bread-crumb.c
9695 * src/hildon-bread-crumb.h
9697 New HildonBreadCrumbTrail widget.
9699 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9701 * src/hildon-range-editor.c (hildon_range_editor_init),
9702 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9703 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9704 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9705 hildon_time_editor_class_init, hildon_time_editor_init),
9706 src/hildon-get-password-dialog.c (invalid_input,
9707 hildon_get_password_set_property, hildon_get_password_get_property,
9708 create_contents, hildon_get_password_dialog_set_max_characters),
9709 src/hildon-set-password-dialog.c (create_contents),
9710 src/hildon-date-editor.c (hildon_date_editor_init),
9711 src/hildon-login-dialog.c (hildon_login_dialog_init),
9712 src/hildon-number-editor.c (hildon_number_editor_init),
9713 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9714 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9715 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9716 configure option and adding the respective checks in the code.
9717 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9718 hildon_calendar_drag_data_received): fixed some build warnings.
9720 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9722 * debian/changelog: A 1.0.0 release notes.