1 2009-09-08 Claudio Saavedra <csaavedra@igalia.com>
3 Rename and move the methods to set flags to hildon-private.h
5 * hildon/hildon-gtk.c: (do_set_progress_indicator),
6 (do_set_do_not_disturb), (do_set_portrait_flags): call
7 the new private method hildon_gtk_window_set_clear_window_flag()
8 (hildon_gtk_window_set_progress_indicator),
9 (hildon_gtk_window_set_do_not_disturb),
10 (hildon_gtk_window_take_screenshot): hildon_gtk_window_set_flag()
11 * hildon/hildon-private.c: (+hildon_gtk_window_set_clear_window_flag),
12 (+hildon_gtk_window_set_flag): Move from hildon-gtk.c and rename
14 * hildon/hildon-private.h: Add the two new private methds.
16 2009-09-11 Alejandro G. Castro <alex@igalia.com>
18 * hildon/hildon-pannable-area.c,
19 (hildon_pannable_area_init),
20 (hildon_pannable_area_size_allocate),
21 (hildon_pannable_area_button_release_cb): More tuning of the
22 speed, adding a way to calculate the acceleration and fast-panning
23 based on the child size.
25 2009-09-10 Alberto Garcia <agarcia@igalia.com>
27 * hildon/hildon-touch-selector.c
28 (hildon_touch_selector_class_init):
33 2009-09-10 Alberto Garcia <agarcia@igalia.com>
35 * hildon/hildon-touch-selector.c:
38 Fixes: MB#5104 (HildonTouchSelector docs should say no
39 HildonPannableArea is necessary)
41 2009-09-08 Alejandro G. Castro <alex@igalia.com>
43 * hildon/hildon-pannable-area.c,
44 (hildon_pannable_area_timeout): Fixed problem with the timeout
45 function, we need to move before decelerating the first time or we
46 are loosing the first jump.
48 Fixes: NB#137604 (Pannable scroll_to does not move correctly)
50 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
52 [2.2.0 Release Candidate 3]
54 * debian/changelog: updates
56 2009-09-07 Alejandro G. Castro <alex@igalia.com>
58 * hildon/hildon-pannable-area.c,
59 (hildon_pannable_area_class_init): Increased max speed.
61 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
63 [2.2.0 Release Candidate 2]
66 * debian/changelog: bump version, updates
68 2009-09-07 Alejandro G. Castro <alex@igalia.com>
70 * hildon/hildon-pannable-area.c,
71 (hildon_pannable_area_class_init),
72 (hildon_pannable_area_button_release_cb): More tuning for the
75 2009-09-07 Alejandro G. Castro <alex@igalia.com>
77 * hildon/hildon-pannable-area.c,
78 (hildon_pannable_area_class_init):
79 Change the default value of the scrollbar_fade_delay.
81 Fixes: NB#127018 (Panning indicator fades out too slowly)
83 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
85 [2.2.0 Release Candidate 1]
88 * configure.ac: Bump version
89 * debian/changelog: updates
91 2009-09-04 Alejandro G. Castro <alex@igalia.com>
93 * hildon/hildon-pannable-area.c,
94 (hildon_pannable_area_init),
95 (hildon_pannable_area_button_press_cb),
96 (hildon_pannable_area_button_release_cb): Added a new acceleration
97 system to help traversing big lists, tuned the stop threshold.
99 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
101 2009-09-04 Alberto Garcia <agarcia@igalia.com>
103 * hildon/hildon-window.h:
104 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
106 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
108 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
112 * configure.ac: bump version
114 * debian/changelog: updates
116 2009-09-04 Alberto Garcia <agarcia@igalia.com>
118 * hildon/hildon-entry.c
119 * hildon/hildon-text-view.c:
120 Documentation updates
122 2009-09-04 Alberto Garcia <agarcia@igalia.com>
124 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
125 Redraw menu when the number of items change.
127 Fixes: NB#131911 (Appmenu does not resize properly, when number of
130 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
132 * hildon/hildon-pannable-area.c:
133 (hildon_pannable_area_launch_fade_timeout),
134 (hildon_pannable_area_motion_event_scroll),
135 (hildon_pannable_area_check_move),
136 (hildon_pannable_area_button_release_cb),
137 (hildon_pannable_area_scroll_to):
139 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
140 area drawing operations, since this is the recommended for drawing
143 Fixes: NB#110894 (In event view containing very large description
144 field, application menu is displayed blank while panning)
145 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
148 2009-09-03 Alberto Garcia <agarcia@igalia.com>
150 * doc/hildon-sections.txt
151 * hildon/hildon-button.c
152 * hildon/hildon-edit-toolbar.c
153 * hildon/hildon-gtk.[ch]
154 * hildon/hildon-main.c
155 * hildon/hildon-program.c
156 * hildon/hildon-stackable-window.c:
157 Documentation updates
159 2009-08-28 Alberto Garcia <agarcia@igalia.com>
161 * hildon/hildon-app-menu.c
162 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
163 Close the menu if it receives a grab-notify signal.
165 Fixes: NB#134533 (UI freezes if we show a dialog with
166 gtk_dialog_run() while a menu is opened)
168 2009-08-27 Alejandro G. Castro <alex@igalia.com>
170 * hildon/hildon-pannable-area.c,
171 (hildon_pannable_area_class_init): Reverted tuning modifications:
172 "Pannign needs to be faster" and "Pannable kinetics in large lists
175 2009-08-26 Alberto Garcia <agarcia@igalia.com>
177 * hildon/hildon-sound.c (hildon_play_system_sound):
178 Set "module-stream-restore.id" to "x-maemo-system-sound" when
179 playing system sounds
181 Fixes: NB#133767 (Information and confirmation note sound should
182 follow system profile setting)
184 2009-08-26 Alejandro G. Castro <alex@igalia.com>
186 * hildon/hildon-pannable-area.c,
187 (hildon_pannable_area_class_init): Added more force and increased
188 the max speed threshold.
190 Fixes: NB#135344 (Pannign needs to be faster)
192 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
194 [Release 2.1.96, this time for real]
197 * debian/changelog: updates
199 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
201 * hildon/hildon-pannable-area.c
202 (hildon_pannable_area_get_topmost): change the computation of the
203 co-ordinates transformed when no one of the children is a topmost
205 Fixes: NB#133252 (Opening any feed item from RSS always opens the
206 first feed item in browser)
208 2009-08-26 Alejandro G. Castro <alex@igalia.com>
210 * hildon/hildon-pannable-area.c,
211 (hildon_pannable_area_remove_timeouts): Adding this new function
212 with the code that removes the timeouts of the widget.
213 (hildon_pannable_area_dispose),
214 (hildon_pannable_area_unrealize): Use the new remove function to
215 stop timeouts when unrealizing and disposing.
216 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
217 calculation to avoid negative values in some cases.
219 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
221 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
223 * examples/hildon-check-button-example.c: (button_toggled_cb):
224 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
225 (hildon_check_button_set_active), (hildon_check_button_new),
226 (hildon_check_button_clicked), (hildon_check_button_class_init):
227 * hildon/hildon-check-button.h:
228 * hildon/hildon-set-password-dialog.c: (create_contents),
229 (hildon_set_password_response_change), (hildon_checkbox_toggled):
231 Revert "Make HildonCheckButton derive from GtkToggleButton"
233 2009-08-21 Alberto Garcia <agarcia@igalia.com>
237 * configure.ac: bump version
239 * debian/changelog: updates
241 2009-08-21 Alberto Garcia <agarcia@igalia.com>
243 * hildon/hildon-check-button.h
244 * hildon/hildon-check-button.c
245 (hildon_check_button_clicked, hildon_check_button_class_init):
246 Make HildonCheckButton derive from GtkToggleButton
247 (hildon_check_button_toggled, hildon_check_button_set_active)
248 (hildon_check_button_get_active):
249 Deprecate unnecessary HildonCheckButton API and use the
250 one from GtkToggleButton instead.
252 * hildon/hildon-set-password-dialog.c (create_contents)
253 (hildon_set_password_response_change, hildon_checkbox_toggled)
254 * examples/hildon-check-button-example.c (button_toggled_cb):
255 Update to use the GtkToggleButton API
257 Fixes: MB#4739 (HildonCheckButton should inherit from
260 Fixes: NB#132661 (HildonCheckButton should inherit from
263 2009-08-20 Alberto Garcia <agarcia@igalia.com>
265 * hildon/hildon-pannable-area.c
266 (hildon_pannable_area_class_init):
267 Increase default value of HildonPannableArea:velocity_max to 2000
269 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
271 2009-08-18 Alberto Garcia <agarcia@igalia.com>
275 * configure.ac: bump version
277 * debian/changelog: updates
279 2009-08-11 Alejandro G. Castro <alex@igalia.com>
281 * hildon/hildon-pannable-area.c
282 (hildon_pannable_area_size_allocate): Checked the scrollbars
283 before the first try when defining the layout, avoids two
284 allocations in some situations.
286 Fixes: NB#131794 (pannable area produces unnecessary allocations
287 causing performance problems)
289 2009-08-11 Alejandro G. Castro <alex@igalia.com>
291 * hildon/hildon-pannable-area.c
292 (hildon_pannable_area_button_press_cb),
293 (hildon_pannable_area_motion_notify_cb),
294 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
295 the spurious ref added in the copy, fixes leak of window.
297 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
298 if it's realized without showing and then deleted)
300 2009-08-10 Alberto Garcia <agarcia@igalia.com>
304 * configure.ac: bump version
306 * debian/changelog: updates
308 2009-08-06 Alberto Garcia <agarcia@igalia.com>
310 * examples/hildon-hvolumebar-timer-example.c
312 * hildon/hildon-banner.c
313 (hildon_banner_timeout, hildon_banner_ensure_timeout)
314 * hildon/hildon-calendar.c
315 (calendar_timer, start_spinning)
316 * hildon/hildon-color-chooser.c
317 (inline_limited_expose)
318 * hildon/hildon-date-editor.c
319 (hildon_date_editor_entry_focus_in)
320 (hildon_date_editor_entry_validate)
321 (hildon_date_editor_entry_select_all)
322 * hildon/hildon-note.c
324 * hildon/hildon-number-editor.c
325 (hildon_number_editor_button_pressed)
326 (hildon_number_editor_start_timer, do_mouse_timeout),
327 (add_select_all_idle, hildon_number_editor_select_all)
328 * hildon/hildon-time-editor.c
329 (hildon_time_editor_entry_focus_in)
330 (highlight_callback, hildon_time_editor_validate)
331 (hildon_time_editor_entry_select_all)
332 * hildon/hildon-time-picker.c
333 (hildon_time_picker_arrow_press)
334 (hildon_time_picker_key_repeat_timeout)
335 * hildon/hildon-window.c
336 (hildon_window_key_press_event)
337 (hildon_window_escape_timeout):
338 Replace all calls to g_idle_add/g_timeout_add with their
339 gdk_threads counterparts.
341 Fixes: NB#126198 (gdk-threads API should be used to install idle
342 and timeout handlers)
344 2009-08-06 Alejandro G. Castro <alex@igalia.com>
346 * hildon/hildon-pannable-area.c,
347 (hildon_pannable_area_class_init): Increased the overshooting max
348 speed to get a faster effect.
349 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
350 deceleration of the overshooting
351 (hildon_pannable_area_button_release_cb): Calculate initial
352 overshooting speed when finger on the screen using the distance to
353 launch the effect faster.
355 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
356 lists with slow row renderers)
358 2009-08-05 Alberto Garcia <agarcia@igalia.com>
360 * doc/hildon-sections.txt: Add new functions
362 2009-08-05 Alberto Garcia <agarcia@igalia.com>
364 * hildon/hildon-text-view.[ch]
365 * hildon/hildon-entry.[ch]:
366 Add deprecation guards around deprecated functions.
368 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
370 * hildon/hildon-app-menu.c: Remove leftover function declaration.
372 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
374 Remove the grab from HildonAppMenu
376 * hildon/hildon-app-menu.c:
377 Now hildon-desktop places a blocker window behind the menu to handle
378 its closing, so the grab is no longer needed. This simplifies its
379 implementation and allows the system blanking to succeed.
381 Fixes: NB#130910 (Screen gets unlocked when menu is open)
383 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
387 * configure.ac: bump version
389 * debian/changelog: updates
390 * debian/control: raise debian dependency on GTK+
392 2009-08-04 Alberto Garcia <agarcia@igalia.com>
394 * hildon/hildon-text-view.c
395 * hildon/hildon-entry.c:
396 Remove all placeholder code from HildonEntry and HildonTextView
397 and use the API in GtkEntry and GtkTextView instead.
399 * examples/hildon-entry-example.c
400 * examples/hildon-text-view-example.c
401 * examples/hildon-wizard-dialog-example.c
402 * hildon/hildon-get-password-dialog.c
403 * hildon/hildon-login-dialog.c
404 * hildon/hildon-picker-dialog.c
405 * hildon/hildon-set-password-dialog.c
406 * hildon/hildon-touch-selector-entry.c:
407 Replace all deprecated calls to HildonEntry and HildonTextView
408 with their Gtk counterparts.
410 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
413 2009-08-03 Alejandro G. Castro <alex@igalia.com>
415 * hildon/hildon-pannable-area.c,
416 (hildon_pannable_area_check_move),
417 (hildon_pannable_area_button_release_cb),
418 (hildon_pannable_area_scroll_to): Reverted the priority change of
419 the timeout, in some situations, slow renderers, the click do not
420 make it to the mainloop on time.
422 Fixes NB#131013 (unable to stop panning file manager by tapping on
425 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
427 * configure.ac: bump version
429 * debian/changelog: updates
431 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
433 * hildon/hildon-touch-selector.[ch]
434 (hildon_touch_selector_center_on_index): New method that allows to center
435 on a item not selected
437 Fixes NB#130291 (New HildonTouchSelector API is required to center on
440 2009-07-29 Alberto Garcia <agarcia@igalia.com>
442 * hildon/hildon-text-view.c
443 (+set_logical_color, +hildon_text_view_style_set)
444 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
445 (hildon_text_view_init)
446 * hildon/hildon-entry.c
447 (+set_logical_color, +hildon_entry_style_set)
448 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
449 (hildon_entry_class_init, hildon_entry_init)
450 * hildon/hildon-button.c
451 (+set_logical_font, +set_logical_color)
452 (hildon_button_style_set, hildon_button_init)
453 (hildon_button_set_arrangement, hildon_button_set_style):
454 Remove all calls to hildon_helper_set_logical_font() and
455 hildon_helper_set_logical_color(), which are recursive, from
458 Fixes: NB#123409 (Showing dialog consumes significant amount of
461 2009-07-29 Alejandro G. Castro <alex@igalia.com>
463 * hildon/hildon-pannable-area.c,
464 (hildon_pannable_area_timeout): Added the process updates of the
465 scrollbars window in the pannable.
467 Fixes: NB#130043 (scrollindicator not smooth while panning)
469 2009-07-23 Alejandro G. Castro <alex@igalia.com>
471 * hildon/hildon-pannable-area.c,
472 (hildon_pannable_area_check_move),
473 (hildon_pannable_area_button_release_cb),
474 (hildon_pannable_area_scroll_to): Increased the priority of the
475 timeout this way it is going to be handled before the events.
477 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
481 * configure.ac: bump version
482 * debian/changelog: updates
484 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
486 * hildon/hildon-entry.c: (set_property): Do not allow to set
487 automatic height and use finger height instead, to prevent an to
488 have a smaller size than than its theme pixbuf.
490 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
492 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
494 * configure.ac: postrelease version bump.
495 * debian/changelog: post release version bump
497 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
502 * configure.ac: Bump version.
503 * debian/changelog: Updates.
505 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
507 * hildon/hildon-note.c: (label_size_request): Take the note
508 padding into account when setting the size request.
510 Fixes: NB#127896 (Information notes text truncated)
512 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
514 * configure.ac: postrelease version bump.
515 * debian/changelog: post release version bump
517 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
522 * configure.ac: Bump version.
523 * debian/changelog: Updates.
525 2009-07-16 Alejandro G. Castro <alex@igalia.com>
528 * hildon/hildon-text-view.c,
529 (hildon_text_view_button_press_event): Grabbed the focus in button
530 press, this way we are sure the widget has the focus in the
531 release event, required for HIM.
533 Fixes: NB#121445 (Virtual keyboard opening is not working in same
534 way for each text entry field)
536 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
538 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
539 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
540 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
541 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
542 (hildon_pannable_area_[gs]et_center_on_child_focus)
543 Redefined GtkContainer set-focus-child signal, in order to center
544 properly on a child when it receives the focus. Defined a new property
545 "center-on-child-focus" in order to activate this feature (deactivated
546 by default). Public get/set methods defined to manage the property.
548 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
550 2009-07-14 László Pere <lpere@blumsoft.eu>
552 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
553 the new size is applied.
555 Fixes: NB#124510 (The Application Menu is distorted when switched
556 between portrait and landscape mode)
557 Fixes: NB#115388 (Power key menu does not resize itself)
559 2009-07-01 Alberto Garcia <agarcia@igalia.com>
561 * hildon/hildon-banner.c (hildon_banner_map):
562 Set banner position after mapping.
564 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
566 * configure.ac: postrelease version bump.
567 * debian/changelog: post release version bump
569 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
574 * configure.ac: Bump version.
575 * debian/changelog: Updates.
577 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
579 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
582 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
584 * tests/check-hildon-banner.c
586 * tests/test_suites.h
587 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
588 were testing deprecated functions.
589 * examples/hildon-banner-example.c: typo on button3 type, that causes
590 a fail compiling with --with-examples but without --disable-deprecated
592 Missed commit in order to fix compilation using '--enable-fatal' and
593 '--disable-deprecated' (see previous commit)
595 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
597 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
598 functions with #ifndef HILDON_DISABLE_DEPRECATED
599 * examples/hildon-find-toolbar.c: Protect deprecated
600 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
601 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
602 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
603 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
605 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
606 to allow proper compilation of deprecated functions defined on the header
608 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
610 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
612 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
613 Cache the panning indicator color.,
614 (hildon_pannable_area_style_set): Query the color on style changes.
615 (hildon_pannable_draw_vscroll),
616 (hildon_pannable_draw_hscroll),
617 (hildon_pannable_area_expose_event): Use the cached panning indicator
618 color instead of looking it up on every expose and more.
620 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
622 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
623 (hildon_pannable_draw_hscroll),
624 (hildon_pannable_area_expose_event): Fix the panning indicator color,
625 so that it's "SecondaryTextColor", as desired.
627 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
629 * hildon/hildon-picker-dialog.c:
630 (selection_completed): take into account HILDON_UI_MODE_NORMAL
631 * hildon/hildon-touch-selector.c
632 (hildon_touch_selector_init): Initialize hildon-ui-mode
633 (hildon_touch_selector_row_activated): new callback for the
634 "row-activated" signal, in order to save the last activated
635 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
636 if the current hildon-ui-mode is coherent with the touch selector
637 (hildon_touch_selector_class_init)
638 (hildon_touch_selector_get_property)
639 (hildon_touch_selector_set_property)
640 Added "hildon-ui-mode" property
641 (disconnect_model_handlers): renamed to clean_column
642 (hildon_touch_selector_remove): use clean_column function
643 (_create_new_column): use the hildon-ui-mode to create the treeview, and
644 only select the first element on HILDON_UI_MODE_EDIT
645 (hildon_touch_selector_column_init): Initialize last_activate
646 (hildon_touch_selector_append_column): check that the touch selector
647 is coherent with the current hildon-ui-mode
648 (hildon_touch_selector_get_hildon_ui_mode)
649 (hildon_touch_selector_set_hildon_ui_mode)
650 Added a getter/setter for the hildon-ui-mode property
651 (hildon_touch_selector_get_last_activated_row): Added this method in
652 order to get the last activated row.
653 * examples/hildon-touch-selector-normal-mode-example.c
654 New example, that shows how to use the HildonTouchSelector in
655 HILDON_UI_MODE_NORMAL
657 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
658 Kristian Rietveld <kris@lanedo.com> advices
660 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
662 * hildon/hildon-time-selector.c: (update_format_policy): Do
663 not call update_format_dependant_columns() if not necessary.
664 (update_format_dependant_columns): Remove unnecessary check for
665 the number of columns.
667 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
669 * hildon/hildon-note.c (+hildon_note_constructor),
670 (hildon_note_class_init), (+hildon_note_set_padding),
671 (hildon_note_rebuild): Install a constructor where to set the
672 padding properties in the note, so that it actually works fine.
673 Use hildon_note_set_padding() for this, and also to set it during
676 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
678 * configure.ac: Bump GTK+ requirement to 2.14.3.
679 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
680 when using maemo-gtk to define proper margins for the notes.
682 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
683 with the dialog edge)
685 2009-06-24 Alberto Garcia <agarcia@igalia.com>
687 * hildon/hildon-banner.c
688 (hildon_banner_class_init):
690 (+hildon_banner_size_request):
691 Request always the full width of the screen.
692 (hildon_banner_realize)
693 (-hildon_banner_check_position, hildon_banner_map):
694 hildon_banner_check_position() is not needed in Hildon 2.2.
695 (-hildon_banner_reset_wrap_state)
696 (hildon_banner_constructor, hildon_banner_init):
697 Remove unnecessary calls to hildon_banner_reset_wrap_state()
698 (+banner_do_set_text)
699 (force_to_wrap_truncated):
700 Remove has_been_wrapped and has_been_truncated attributes.
701 (+reshow_banner, hildon_banner_real_show_information)
702 (hildon_banner_show_information_with_markup)
703 (hildon_banner_show_animation, hildon_banner_show_progress)
704 (hildon_banner_set_text, hildon_banner_set_markup):
705 Refactor code. Shrink banner vertically to use the minimum space
706 necessary everytime the text of the label is updated.
707 (screen_size_changed):
708 Call force_to_wrap_truncated() when the size of the screen
711 Fixes: NB#120500 (only device memory connect mmc in use info
712 banner is left aligned)
714 Fixes: NB#120613 (Size of HildonBanner varies depending on
715 previously opened banners)
717 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
719 * hildon/hildon-color-chooser.c
720 (hildon_color_chooser_pointer_motion): Take the widget allocation
723 Fixes: NB#124385 (Unable to select exact point in color mixing box
724 in color palette dialog)
726 2009-06-23 Alejandro G. Castro <alex@igalia.com>
728 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
729 (hildon_pannable_area_dispose)
730 (hildon_pannable_area_button_press_cb)
731 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
732 (hildon_pannable_area_button_release_cb)
733 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
734 New 'panning-started' and 'panning-finished' signals.
736 Fixes: NB#121732 (New feature request: Signal to pannable area
737 that informs when panning is stopped.)
739 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
741 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
742 instead of hardcoded colon.
744 Fixes: NB#124090 (New calendar wizard title is not using
745 ecdg_ti_caption_separator)
747 2009-06-22 David King <davidk@openismus.com>
749 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
750 constants and functions, as well as correct many typos throughout the
753 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
756 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
758 * configure.ac: postrelease version bump.
759 * debian/changelog: post release version bump
761 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
766 * configure.ac: Bump version.
767 * debian/changelog: Updates.
769 2009-06-18 Alberto Garcia <agarcia@igalia.com>
771 * hildon/hildon-window-stack.c
772 (hildon_window_stack_pop_and_push_list):
773 Prevent windows from having the same stack index
775 2009-06-18 Alberto Garcia <agarcia@igalia.com>
777 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
778 Use the index of the previous window rather than the stack length
779 to calculate the new index.
783 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
785 * hildon/hildon-date-selector.c
786 (hildon_date_selector_select_current_date)
787 (hildon_date_selector_get_date)
788 (hildon_date_selector_select_day):
789 Update the documentation: uses always the range (1-31), as it is obvious
790 that the final one will depend on the month and the year, but globally
791 the range is this, in a similar GtkCalendar approach
792 (hildon_date_selector_get_date):
793 Update the documentation: add NULL as a valid value for the day, month
796 Fix some details, after talk with David King on bug MB#4698
798 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
800 * hildon/hildon-touch-selector-entry.c
801 * hildon/hildon-touch-selector.c
802 Update the documentation of the "text-column" property
804 2009-06-18 David King <davidk@openismus.com>
806 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
807 several typos and errors throughout the documentation.
809 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
812 2009-06-18 Alberto Garcia <agarcia@igalia.com>
814 * hildon/hildon-note.c (hildon_note_realize):
815 Make HildonNote support portrait mode.
817 Fixes: NB#123448 (HildonNote is not portrait-friendly)
819 2009-06-17 Alberto Garcia <agarcia@igalia.com>
821 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
822 Document this function
824 2009-06-17 David King <davidk@openismus.com>
826 * hildon/hildon-date-selector.c
827 (hildon_date_selector_select_current_date)
828 (hildon_date_selector_get_date): Update documentation regarding days,
829 as the day of the month is dependent on both the month and the year.
830 (hildon_date_selector_get_date): Fix documentation of output arguments.
832 Fixes: MB#4698 (DateSelector documentation has bad output argument
833 description, and the day depends on both the month and the year)
835 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
837 * hildon/hildon-caption.c: Other documentation fixes to
840 2009-06-17 David King <davidk@openismus.com>
842 * hildon/hildon-caption.c: Minor documentation updates for
843 HildonCaption. Fixes MB#4697.
845 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
847 * doc/hildon-docs.sgml: Add hildon-version section.
848 * doc/hildon-sections.txt:
849 * hildon/hildon-version.h.in: Document versioning macros and
852 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
854 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
855 from HildonPickerDialog section.
857 2009-06-16 Alberto Garcia <agarcia@igalia.com>
859 * hildon/hildon-banner.c (hildon_banner_bind_style)
860 (screen_size_changed, hildon_banner_init)
861 (hildon_banner_real_show_information)
862 (hildon_banner_show_information_with_markup)
863 (hildon_banner_show_animation, hildon_banner_show_progress):
864 Set a different widget name to banners in portrait mode, for them
865 to be themed correctly.
867 2009-06-16 Alberto Garcia <agarcia@igalia.com>
869 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
870 Set a different widget name to notes in portrait mode, for them to
873 Partially fixes: NB#118401 (HildonNote causes unnecessary
876 2009-06-16 Alberto Garcia <agarcia@igalia.com>
878 * hildon/hildon-note.c (hildon_note_class_init)
879 (+hildon_note_size_request, screen_size_changed):
880 Always request the full width of the screen.
882 Fixes: NB#118375 (unnecessary rescaling of images)
884 2009-06-16 Alejandro G. Castro <alex@igalia.com>
886 * hildon/hildon-pannable-area.c,
887 (hildon_pannable_area_init),
888 (hildon_pannable_area_realize): Replaced old code adding flags in
889 the object init, now we add it with the other flags in the realize
892 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-note.c: (hildon_note_class_init): Several
895 documentation improvements to the HildonNote widget.
897 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
899 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
901 Fixes: MB#4556 (HildonNoteType is undocumented)
903 2009-06-15 Alberto Garcia <agarcia@igalia.com>
905 * hildon/hildon-picker-button.c:
906 Explain how HildonPickerButton sets the title of its dialog
908 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
909 the title of its dialog)
911 2009-06-15 Alberto Garcia <agarcia@igalia.com>
913 * hildon/hildon-check-button.c:
914 Documentation updates
916 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
919 2009-06-15 Alberto Garcia <agarcia@igalia.com>
922 * hildon/hildon-edit-toolbar-private.h
923 * hildon/hildon-edit-toolbar.c
924 (+hildon_edit_toolbar_set_progress_indicator)
925 (hildon_edit_toolbar_init): Add progress indicator to the
928 * hildon/hildon-gtk.c
929 (hildon_gtk_window_set_progress_indicator):
930 If the window contains a HildonEditToolbar, enable the progress
933 * hildon/hildon-private.h
934 * hildon/hildon-private.c
935 (+hildon_private_create_animation)
936 * hildon/hildon-banner.c
937 (-hildon_banner_create_animation):
938 Moved to hildon-private.c
940 Fixes: NB#102373 (Progress indicator also for the Edit mode
943 2009-06-15 Alberto Garcia <agarcia@igalia.com>
945 * hildon/hildon-app-menu-private.h
946 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
947 (hildon_app_menu_add_filter, +menu_item_button_event)
948 (hildon_app_menu_button_release, hildon_app_menu_init):
949 Make sure that buttons receive 'button-release-event' in spite of
950 the grab held by HildonAppMenu
952 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
954 2009-06-15 Alberto Garcia <agarcia@igalia.com>
956 * hildon/hildon-app-menu.c
957 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
958 New style property to set the size of the group of filter buttons.
960 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
962 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
967 * configure.ac: Bump version.
968 * debian/changelog: Updates.
970 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
972 * hildon/hildon-main.c: Minor documentation fixes.
974 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
976 * doc/hildon-sections.txt:
977 * hildon/hildon-defines.h: Document the defines, organize them,
978 and mark deprecations as such.
980 Fixes: MB#4463 (Hildon size #defines are undocumented)
982 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-animation-actor.c:
985 * hildon/hildon-app-menu.c:
986 * hildon/hildon-button.c:
987 * hildon/hildon-date-editor.c:
988 * hildon/hildon-dialog.c:
989 * hildon/hildon-edit-toolbar.c:
990 * hildon/hildon-entry.c:
991 * hildon/hildon-program.c:
992 * hildon/hildon-remote-texture.c:
993 * hildon/hildon-stackable-window.c:
994 * hildon/hildon-text-view.c:
995 * hildon/hildon-touch-selector.c:
996 * hildon/hildon-window-stack.c:
997 * hildon/hildon-window.c:
999 Remove redundant "represents" wording from most of the documentation.
1001 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
1003 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1007 * hildon/Makefile.am
1008 * hildon/hildon-banner-private.h
1009 * hildon/hildon-banner.c:
1010 Move HildonBannerPrivate to hildon-banner.c and remove
1011 hildon-banner-private.h
1012 Use a bit field to store private booleans.
1014 2009-06-12 Alberto Garcia <agarcia@igalia.com>
1016 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1017 Don't install a new idle function if there's already one
1022 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1024 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
1025 (+legacy_menu_realized, +legacy_menu_unmapped)
1026 (+set_legacy_menu_type):
1027 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
1028 they can be identified by the window manager.
1030 Fixes: NB#101437 (Invoking CSM on the left side of page area is
1031 displayed in wrong location)
1033 Fixes: MB#4563 (Popup menu won't locate at the left side of the
1036 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1038 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
1040 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
1041 use gtk-doc support)
1043 2009-06-11 Alberto Garcia <agarcia@igalia.com>
1045 * hildon/hildon-code-dialog.c
1046 * hildon/hildon-date-editor.c
1047 * hildon/hildon-number-editor.c
1048 * hildon/hildon-seekbar.c
1049 * hildon/hildon-stackable-window.c
1050 * hildon/hildon-window.c:
1051 Misc documentation updates
1053 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1055 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1056 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1058 Fixes: NB#117931 (Theming issues in accounts dialogs)
1060 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1062 * hildon/hildon-pannable-area.c,
1063 (hildon_pannable_area_button_release_cb): Changed the coordinates
1064 of the original release in case we want to discard the release,
1065 some widgets in Fremantle do not handle the leave-notify.
1067 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1069 * hildon/hildon-pannable-area.c,
1070 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1071 the release using the last refactored functions and avoiding the
1072 movement if an element was selected.
1074 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1076 * hildon/hildon-pannable-area.c,
1077 (hildon_pannable_area_check_move),
1078 (hildon_pannable_area_handle_move),
1079 (hildon_pannable_area_motion_notify_cb): Refactored the
1080 motion_notify method using a couple of new functions.
1082 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1084 * hildon/hildon-date-selector.c:
1085 (hildon_date_selector_construct_ui):
1086 * hildon/hildon-time-selector.c:
1087 (hildon_time_selector_constructor):
1088 * hildon/hildon-touch-selector-entry.c:
1089 (hildon_touch_selector_entry_set_text_column),
1090 (hildon_touch_selector_entry_get_text_column):
1091 * hildon/hildon-touch-selector.c: (_default_print_func),
1092 (hildon_touch_selector_new_text): Use
1093 hildon_touch_selector_set/get_text_column() instead of
1094 setting/getting the "text-column" property.
1096 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1098 * doc/hildon-sections.txt: Add the new public methods below.
1100 * examples/hildon-picker-button-multicolumn-example.c:
1101 (create_touch_selector):
1102 * examples/hildon-touch-selector-example.c: (create_selector):
1103 * examples/hildon-touch-selector-multi-cells-example.c:
1105 Use hildon_touch_selector_column_set_text_column()
1107 * hildon/hildon-touch-selector-column.h:
1108 * hildon/hildon-touch-selector.c:
1109 (hildon_touch_selector_column_set_text_column),
1110 (hildon_touch_selector_column_get_text_column):
1111 Make hildon_touch_selector_column_set/get_column() public, use
1112 them in the inline example, document them, and reference to them
1115 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1117 * hildon/hildon-time-selector.c: Fix the docs for
1118 hildon_time_selector_new_step().
1120 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1122 * hildon/hildon-touch-selector.c: Improve the documentation for
1123 hildon_touch_selector_append_column().
1125 Fixes MB#4641 (Documentation:
1126 hildon_touch_selector_append_column() ref-counting)
1128 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1130 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1131 Comment out test 5, since the hildon_controlbar_set_range() range
1132 check is broken and fixing it would have side effects. Also,
1133 this finally fixes make distcheck.
1135 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1137 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1139 * tests/TEST-CASES.txt: Remove other bogus test.
1140 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1141 Remove bogus test that was setting/retrieving a valid value.
1143 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1145 * tests/TEST-CASES.txt: Remove bogus tests.
1146 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1147 Remove three bogus tests that were actually setting valid colors.
1149 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1151 * configure.ac: post release version bump
1152 * debian/changelog: post release version bump
1154 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1159 * configure.ac: Bump version.
1160 * debian/changelog: Updates.
1162 2009-06-08 Christian Dywan <christian@lanedo.com>
1166 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1167 Correct errors in hildon_format_file-size_for_display and use
1168 translations from the hildon-fm package instead of osso-filemanager.
1170 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1172 * hildon/hildon-pannable-area.c,
1173 (hildon_pannable_area_init): Initialized new values to handle the
1174 adjustment position.
1175 (hildon_pannable_area_adjust_value_changed): Check if the values
1176 changed before even call the redraw function.
1177 (hildon_pannable_area_size_allocate),
1178 (hildon_pannable_axis_scroll),
1179 (hildon_pannable_area_scroll),
1180 (hildon_pannable_area_jump_to): Improved the diagonal movement
1183 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1186 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1188 * examples/hildon-banner-example.c:
1189 Several style updates
1190 (on_animation_clicked, on_animation_idle)
1191 (on_progress_clicked, on_progress_idle):
1192 Add additional reference for the cases when the parent window is
1195 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1197 * doc/hildon-sections.txt
1198 * hildon/hildon-pannable-area.c
1199 * hildon/hildon-banner.h
1200 * hildon/hildon-banner.c: Documentation updates.
1202 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1205 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1207 * hildon/hildon-calendar-popup.h:
1208 * hildon/hildon-caption.h:
1209 * hildon/hildon-code-dialog.h:
1210 * hildon/hildon-controlbar.h:
1211 * hildon/hildon-date-editor.h:
1212 * hildon/hildon-dialog.h:
1213 * hildon/hildon-get-password-dialog.h:
1214 * hildon/hildon-hvolumebar.h:
1215 * hildon/hildon-login-dialog.h:
1216 * hildon/hildon-note.h:
1217 * hildon/hildon-number-editor.h:
1218 * hildon/hildon-range-editor.h:
1219 * hildon/hildon-seekbar.h:
1220 * hildon/hildon-set-password-dialog.h:
1221 * hildon/hildon-sort-dialog.h:
1222 * hildon/hildon-time-editor.h:
1223 * hildon/hildon-time-picker.h:
1224 * hildon/hildon-volumebar-range.h:
1225 * hildon/hildon-volumebar.h:
1226 * hildon/hildon-vvolumebar.h:
1227 * hildon/hildon-weekday-picker.h:
1228 * hildon/hildon-window.h:
1229 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1230 macros with the current replacements
1232 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1234 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1236 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1237 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1238 itself, to make it fit better with Fremantle style.
1240 Fixes: NB#109878 (height and width of focus on color icon is not
1241 consistent with other item in the application tool bar)
1243 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1245 * hildon/hildon-touch-selector.c:
1246 (hildon_touch_selector_optimal_size_request): use the current requisition
1247 as the base, in order to include any possible extra widget, like the
1248 hildon entry on HildonTouchSelectorEntry
1250 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1252 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1254 * configure.ac: post release version bump
1255 * debian/changelog: post release version bump
1257 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1262 * configure.ac: Bump version.
1263 * debian/changelog: Updates.
1265 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1267 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1269 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1270 to ensure the banner contents are centered, instead of relying on
1271 the expand and fill properties in GtkHBox.
1272 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1274 Fixes: NB#108265 (Animation banner not properly centered)
1276 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1278 * hildon/hildon-pannable-area.c
1279 (hildon_pannable_area_initial_effect): Remove the initial_effect
1280 management, check initial_hint
1281 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1282 set initial_effect to FALSE
1283 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1284 by launching the fade_timeout if the scrollbars state has changed and are
1286 * examples/hildon-pannable-area-initial-hint-example.c
1287 Modified to allow to remove rows too. Add and remove rows one by one.
1289 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1291 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1292 Don't close the menu if there's an animation actor below it.
1294 Fixes: NB#117927 (Application menu not usable with animation
1297 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1299 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1300 "focus-on-click" from the dialog button, to avoid stealing the
1301 focus from the entry.
1303 Fixes: NB#118903 (Account setup wizard: Text in Search field
1304 should be focused when "Region" touch list picker is reopened
1307 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1309 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1310 (prepare_action_area): Completely hide the dialog separator.
1312 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1314 * hildon/hildon-touch-selector-entry.c
1315 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1316 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1317 now that the entry is exposed.
1319 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1321 * hildon/hildon-touch-selector-entry.c
1322 (hildon_touch_selector_entry_init): Change the entry's size
1323 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1325 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1327 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1328 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1329 avoid unnecessary scaling.
1331 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1333 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1334 Create grab transfer window before calling parent's map function.
1336 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1337 "crushed" button(s) in the top left corner)
1339 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1341 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1342 Check if the window is already realized when pushing it.
1344 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1346 * configure.ac: post release version bump
1347 * debian/changelog: post release version bump
1349 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1354 * configure.ac: Bump version.
1355 * debian/changelog: Updates.
1357 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1359 * hildon/hildon-app-menu.c: Doc updates.
1361 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1363 * hildon/hildon-banner.c: Remove leftover macro.
1365 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1367 * hildon/hildon-pannable-area.c,
1368 (hildon_pannable_area_scroll_indicator_fade),
1369 (hildon_pannable_area_button_release_cb): Reviewed vmin
1370 conditions, it could cause problems in the fadeout procedure.
1372 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1374 * hildon/hildon-pannable-area.c
1375 (hildon_pannable_area_button_release_cb): Added a threshold to
1376 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1378 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1380 * hildon/hildon-pannable-area.c,
1381 (hildon_pannable_area_set_property): Added code to sync the gtk
1382 dnd threshold with the panning threshold.
1384 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1386 * hildon/hildon-pannable-area.c,
1387 (hildon_pannable_area_class_init): Changed some of the default
1388 values, now it should be less responsive and more accurate.
1390 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1392 * hildon/hildon-pannable-area.c,
1393 (hildon_pannable_area_init),
1394 (hildon_pannable_area_scroll_indicator_fade),
1395 (hildon_pannable_area_button_press_cb),
1396 (hildon_pannable_axis_scroll),
1397 (hildon_pannable_area_timeout),
1398 (hildon_pannable_area_motion_notify_cb),
1399 (hildon_pannable_area_button_release_cb): Changed the name of the
1400 clicked attribute to button_pressed, it is more clear about its use.
1402 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1404 * src/hildon-pannable-area.c
1405 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1407 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1408 vertical scrollbar visibility, and use the data on private section instead,
1409 remove the initial_hint check
1410 (hildon_pannable_area_expose_event): add the initial_hint check here
1412 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1414 * src/hildon-pannable-area.c
1415 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1416 if the fadeout effect was used
1417 (hildon_pannable_area_expose_event): check if it is required to
1418 manage the initial effect on the begining of the function. Previously
1419 it was made at the end, but this doesn't ensure that the scrollbars
1420 will be painted on the first show. Do not set to FALSE initial_effect,
1421 to ensure that the initial hint is showed the first time the pannable
1423 * examples/Makefile.am
1424 * examples/hildon-pannable-area-initial-hint-example.c:
1425 New example, to show that the initial-hint is showed when the widget
1428 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1429 initially if the application can be scrolled)
1431 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1433 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1434 Resize table before adding new items to make sure that
1435 gtk_table_resize() is called just once.
1437 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1439 * hildon/hildon-app-menu-private.h
1440 * hildon/hildon-app-menu.c (item_visibility_changed)
1441 (filter_visibility_changed, hildon_app_menu_show_all)
1442 (hildon_app_menu_hide_all, hildon_app_menu_init):
1443 Rearrange items just once when gtk_widget_show_all()/hide_all()
1446 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1448 * hildon/hildon-app-menu.c
1449 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1450 Don't call gtk_widget_show() on added items.
1452 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1453 automatically when they're added)
1455 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1457 * hildon/hildon-banner.c
1458 (hildon_banner_realize, +hildon_banner_unrealize)
1459 (+screen_size_changed, hildon_banner_class_init):
1460 Redisplay the banner if the screen is rotated.
1462 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1463 on transition from landscape to portrait)
1465 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1467 * hildon/hildon-banner.[ch]:
1468 (hildon_banner_show_information_override_dnd): remove icon_name from the
1469 method definition as it is ignored.
1470 * examples/hildon-banner-dnd-example.c: updated with the change on
1473 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1475 * hildon/hildon-banner-private.h: new require_override_dnd and
1476 overrides_dnd variables
1477 * hildon/hildon-banner.h:
1478 (hildon_banner_show_information_override_dnd): new method, that shows
1479 the information but sets the override flag, in order to show important
1481 * hildon/hildon-banner.c
1482 (hildon_banner_show_information_override_dnd): new method
1483 (hildon_banner_set_override_flag): new utility function
1484 (hildon_banner_real_show_information): new utility function, in order to
1485 generalize the current hildon_banner_show_information_override_dnd and
1486 hildon_banner_show_information_override_dnd
1487 * examples/Makefile.am
1488 * examples/hildon-banner-dnd-example.c: New example that show how to
1489 use the new hildon_banner_show_information_override_dnd
1491 Fixes: NB#114874 (There is no possibility to show hildon banners with
1494 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1496 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1497 behind hildon_pannable_calculate_vel_factor().
1499 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1501 * hildon/hildon-pannable-area.c
1502 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1503 deceleration factors.
1505 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1507 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1508 Reduce the default value for 'scroll_time' to 1 second, since the
1509 current initial scrolling takes too much time.
1511 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1513 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1514 calculate velocity factor during initialization, since the properties
1517 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1519 * hildon/hildon-pannable-area.c
1520 (hildon_pannable_area_set_property): Calculate the velocity factor
1521 after setting the deceleration property and not after.
1523 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1525 * hildon/hildon-entry.c
1526 (hildon_entry_class_init, +set_property, hildon_entry_new)
1527 * hildon/hildon-check-button.c
1528 (hildon_check_button_class_init)
1529 (+set_property, hildon_check_button_new):
1530 Make the theme size a property.
1532 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1533 others) do too much in the _new function)
1535 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1537 * configure.ac: post release version bump
1538 * debian/changelog: post release version bump
1540 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1545 * configure.ac: Bump version.
1546 * debian/changelog: Updates.
1548 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1550 * hildon/hildon-gtk.h
1551 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1552 New API function to take a screenshot of a window
1554 Fixes: NB#106374 (Need API to take a loading screenshot)
1556 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1558 * hildon/hildon-time-selector.c
1559 (update_format_policy): prevent to use hours and minutes unitialized
1561 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1563 * hildon/hildon-window.c (hildon_window_size_request):
1564 Always request the full size of the screen (minus the title bar if
1565 not in fullscreen mode).
1567 Fixes: NB#107486 (HildonWindow should size itself properly)
1569 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1571 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1572 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1573 (on_show_cb), (sound_handling): Disconnect the idle handler for
1574 the sound when the note is finalized to avoid possible crashes.
1576 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1579 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1581 * src/hildon-animation-actor.c,
1582 * src/hildon-remote-texture.c:
1583 Added proper object cleanup to remove signal handler and object
1584 references as HildonAnimationActor and HildonRemoteTexture
1585 objects get destroyed.
1587 Fixes: NB#116682 (Destroying parented animation actors when
1588 parent in unmapped leads to crash)
1590 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1592 Based on a patch by Christian Dywan (christian@imendio.com)
1594 * doc/hildon-sections.txt:
1595 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1596 * hildon/hildon-helper.h: New file size formatting method.
1598 * debian/control: Depend on osso-filemanager l10n package for
1599 proper localization strings.
1601 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1603 * tests/Makefile.am: Include top_srcdir to make possible to build
1604 tests in a different builddir.
1605 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1606 on a different builddir.
1608 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1610 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1611 (hildon_touch_selector_remove): Disconnect model's signal handler
1614 Fixes: NB#116289 (Hildon home crashes while adding task
1617 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1619 * hildon/hildon-button.c
1620 (hildon_button_set_title, hildon_button_set_value):
1621 Hide labels containing an empty string.
1623 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1625 * configure.ac: post release version bump
1626 * debian/changelog: post release version bump
1628 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1633 * configure.ac: Bump version.
1634 * debian/changelog: Updates.
1636 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1638 * hildon/hildon-note-private.h: Removed sound_signal_handler
1639 * hildon/hildon-note.c
1640 (on_show_cb): new callback on note "show" event, this simply adds
1641 a idle, with the function sound_handling
1642 (sound_handling): removed the sound_signal_handler management
1643 (hildon_note_init): connect note "show" event to on_show_cb
1644 (hildon_note_realize): remove the connection to "expose-event"
1646 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1647 device?' confirmation note)
1649 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1651 * hildon/hildon-note.c
1652 (hildon_note_new_information_with_icon_name)
1653 (hildon_note_new_confirmation_with_icon_name):
1654 Terminate the list of parameters in g_object_set() calls
1656 Fixes: NB#115166 (Formatting memory card is not taking place)
1658 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1660 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1661 "dialog-information" role for the sound being played.
1663 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1665 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1666 Don't make the menu a modal window, it causes strange interactions
1667 with the pointer grab and it's not really needed.
1669 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1671 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1673 * hildon/hildon-touch-selector.[ch]
1674 (hildon_touch_selector_optimal_size_request): function added to get a
1675 optimal size request from the touch selector, when you want a dialog to
1676 show as much of the selector
1677 * hildon/hildon-picker-dialog.c:
1678 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1679 (hildon_app_menu_class_init):
1680 New "max-height-landscape" and "max-height-portrait" style properties
1681 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1682 (hildon_picker_dialog_get_max_height): returns the maximum height using
1683 the style properties defined and checking the current portrait/landscape
1685 (_hildon_picker_dialog_set_selector): removed the set_size_request
1687 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1689 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1691 * hildon/hildon-bread-crumb-trail.c:
1692 * hildon/hildon-bread-crumb.c:
1693 * hildon/hildon-seekbar.c:
1694 Add reference to replacements for these deprecated widgets.
1696 Fixes: MB#4461 (Documentation: All deprecations should mention
1699 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1701 * examples/hildon-remote-texture-example.c
1703 Change the include to the hildon-remote-texture in order to compile
1704 properly the examples on the installed libhildon1-examples package
1706 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1708 * tests/Makefile.am: Add check for HildonPickerButton.
1709 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1710 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1711 checks for the HildonPickerButton.
1712 * tests/check_test.c (configure_tests): Add the test suite.
1713 * tests/test_suites.h: likewise.
1715 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1717 * hildon/hildon-touch-selector.c
1718 (+on_row_changed): Emit HildonTouchSelector:changed when the
1719 contents of a selected row change.
1720 (_create_new_column), (_hildon_touch_selector_set_model): connect
1721 to GtkTreeModel:row-changed on a newly set model.
1723 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1725 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1727 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1729 * hildon/hildon-banner.c (hildon_banner_destroy)
1730 (hildon_banner_show_progress, hildon_banner_set_fraction):
1731 Remove the progress bar from HildonBanner and use a progress
1734 Fixes: NB#113761 (Update progress banner to use progress
1737 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1739 * hildon/hildon-banner.c:
1740 Calculate size of the banner label using the actual screen width
1741 rather than using a fixed value.
1743 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1746 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1748 * hildon/hildon-pannable-area.c,
1749 (hildon_pannable_area_class_init): Fixed signals documentation
1752 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1754 * configure.ac: post release version bump
1755 * debian/changelog: post release version bump
1757 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1762 * configure.ac: Bump version.
1763 * debian/changelog: Updates.
1765 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1767 * hildon/hildon-edit-toolbar.c
1768 (hildon_edit_toolbar_init):
1769 Don't let buttons in HildonEditToolbar receive focus.
1771 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1772 typing on an HW arrows key)
1774 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1776 * doc/Makefile.am: Fix build.
1778 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1780 * doc/Makefile.am: Do not redefine content_files.
1782 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1790 Renamed src/ to hildon/
1795 Include <hildon/hildon.h> directly in all examples.
1797 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1799 * src/hildon-sort-dialog.c
1800 (hildon_sort_dialog_add_sort_key_with_sorting)
1804 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1807 make distcheck passes.
1809 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1811 * Makefile.am: Enable gtk-doc during distcheck.
1813 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1815 * Makefile.am: Do not distribute the debian/ directory.
1817 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1819 * doc/Makefile.am: Add the extra SGML files to content_files,
1820 so that they are distributed properly.
1822 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1824 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1827 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1830 (hildon_note_new_information_with_icon_name): Set the "icon" property
1831 to preserve soundness.
1833 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-font-selection-dialog.c
1836 (hildon_font_selection_dialog_set_property): Fail when the "family"
1837 property is set to NULL.
1839 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1844 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1846 * src/hildon-time-selector.h:
1847 Added HildonTimeSelectorFormatPolicy
1848 * src/hildon-time-selector.c:
1849 Added PROP_TIME_FORMAT_POLICY
1850 (_check_ampm_format): renamed to check_automatic_ampm_format
1851 (update_format_policy), (update_format_dependant_columns): new functions
1852 (hildon_time_selector_class_init)
1853 (hildon_time_selector_contructor)
1854 (hildon_time_selector_init)
1855 (hildon_time_selector_get_property)
1856 (hildon_time_selector_set_property)
1857 (hildon_time_selector_get_time)
1858 (hildon_time_selector_set_time)
1859 * src/hildon-touch-selector.h: new file
1860 * src/hildon-touch-selector.c
1861 (hildon_touch_selector_emit_changed)
1862 (hildon_touch_selector_block_changed)
1863 (hildon_touch_selector_unblock_changed)
1864 Added functions to allow to block the emission of the "changed" signal
1865 * src/hildon-picker-dialog.c
1866 (hildon_picker_dialog_show): call the parent show before the custom code
1867 * examples/hildon-time-button-example.c
1868 Modified, so now you can configure the time format using the new property
1870 Added a new property "time-format-policy" that allow to choose the time
1871 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1872 case it uses gconf in order to check if the time selector must use
1875 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1878 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1880 * src/hildon-note.c (hildon_note_init):
1881 Label in HildonNote must be left aligned, not centered. This
1882 reverts the last commit in HildonNote.
1884 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1885 is connectivity dialog)
1887 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1892 * doc/hildon-sections.txt:
1893 Added hildon_gtk_window_set_do_not_disturb()
1895 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-note.c (hildon_note_init): Center label.
1899 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1902 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1907 * configure.ac: Bump version.
1908 * debian/changelog: Updates.
1910 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1912 * src/hildon-note-private.h: Add button-width to the private data.
1913 * src/hildon-note.c (+resize_button),
1914 (+hildon_note_orientation_update): methods to repack widgets on orientation
1916 (screen_size_changed): Call above method for confirmation notes.
1917 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1918 (hildon_note_rebuild): Store the original width request from buttons.
1920 Fixes: NB#109635 (Confirmation notes do not support portrait)
1922 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1924 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1925 when it is a progress note.
1927 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1930 in the note, since there are no horizontally arranged contents.
1932 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-gtk.c (+set_flag): new generic method to
1935 set/delay a flag setting in a window.
1936 (hildon_gtk_window_set_progress_indicator):
1937 (hildon_gtk_window_set_do_not_disturb),
1938 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1939 avoid code redundance.
1941 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1943 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1945 * src/hildon-gtk.c (set_clear_window_flag),
1946 (do_set_progress_indicator), (do_set_do_not_disturb),
1947 (do_set_portrait_flags),
1948 (hildon_gtk_window_set_progress_indicator),
1949 (hildon_gtk_window_set_do_not_disturb),
1950 (hildon_gtk_window_set_portrait_flags):
1951 Allow setting dnd-flag, progress indicator, and portrait flags
1952 when the window is not realized.
1954 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1956 * src/hildon-pannable-area.c,
1957 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1958 the size request policy function and defines.
1960 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1962 * doc/hildon-sections.txt: Add the new API.
1963 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1964 method to set the portrait flags.
1965 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1967 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1969 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1971 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1972 to allow using this method with other flags.
1973 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1974 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1976 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1978 * src/hildon-touch-selector.c
1979 (hildon_touch_selector_append_text_column):
1980 Make the cell renderer use the smallest width possible.
1982 Fixes: NB#108470 (Selected items in multiple selection are either
1983 having a tick that is cut or not visible at all.)
1985 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-touch-selector.c
1988 (hildon_touch_selector_append_text_column):
1991 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1993 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1994 Use g_strdup_printf() instead of a fixed size buffer.
1996 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1998 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1999 Close banners when a HildonAppMenu is popped up.
2001 Fixes: NB#111027 (Title menu closed immediately if activated when
2002 "Invalid e-mail address" banner is shown)
2004 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
2009 * configure.ac: Bump version.
2010 * debian/changelog: Updates.
2012 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-banner.c (hildon_banner_realize):
2015 Mark HildonBanner as supporting portrait mode.
2016 Use GDK to set window properties insetad of direct Xlib calls.
2018 Fixes: NB#111830 (HildonBanner should be marked as supporting
2021 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-note.c (hildon_note_rebuild):
2024 Hide action area in information notes. Prevents text from being
2025 slightly aligned to the left.
2027 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
2030 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2032 Patch by Mox Soini (ext-mox.soini@nokia.com)
2034 * src/hildon-banner.c (hildon_banner_create_animation):
2035 Use stylus-sized icons in animation banner.
2037 Fixes: NB#111206 (stylus sized icon for animation banner)
2039 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2043 (+hildon_gtk_window_set_do_not_disturb):
2044 New API to set the do-not-disturb flag.
2046 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
2048 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2050 * examples/hildon-progress-indicator-example.c: Fix example
2052 * src/hildon-gtk.c (set_clear_window_flag)
2053 (hildon_gtk_window_set_progress_indicator):
2054 Create a generic function for setting flags to a window.
2055 Use GDK instead of direct Xlib calls.
2057 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-button.c (hildon_button_set_arrangement):
2060 Due to NB#88126, if one of the labels is too long it will be
2061 painted outside the button. The 'value' label is more likely to be
2062 the longest one, so we change its packing options in order to
2063 truncate it if necessary. As a side effect, the 'title' label will
2064 no longer be truncated.
2066 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2068 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2073 * configure.ac: Bump version.
2074 * debian/changelog: Updates.
2076 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2078 Deprecation of the hildon_pannable_area_set_size_request_policy
2079 API, the only policy properly supported in gtk+ nowadays is the
2082 * src/hildon-pannable-area.c,
2083 (hildon_pannable_area_size_request): Added a workaround for the
2084 size_request to avoid the problems of huge pixmaps in case someone
2085 is still using the function.
2086 * src/hildon-pannable-area.h: Deprecated the enum with the
2089 Fixes: NB#110244 (Problems with the
2090 hildon_pannable_area_set_size_request_policy API)
2092 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2094 * src/hildon-pannable-area.c,
2095 (hildon_pannable_area_init),
2096 (hildon_pannable_area_size_request),
2097 (hildon_pannable_area_style_set),
2098 (hildon_pannable_draw_vscroll),
2099 (hildon_pannable_draw_hscroll),
2100 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2101 indicator_width to clarify the use of the attribute.
2103 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2108 * configure.ac: Bump version.
2109 * debian/changelog: Updates.
2111 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2113 * src/hildon-picker-dialog.c
2114 * src/hildon-touch-selector.c
2115 Reverting the change that tried to avoid the hardcoded height on
2116 the picker dialog, as causes problems on the hildon-touch-selector
2119 Fixes: NB#110029 (selectors not scrolling to selected value)
2121 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2123 * src/hildon-touch-selector.c: Fix typos
2125 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2128 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2129 request more motions after using it.
2131 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-calendar.c (hildon_calendar_expose),
2134 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2135 Remove unused variables.
2137 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2139 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2140 variable assignment.
2142 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2144 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2145 Check the return value of gtk_tree_selection_get_selected()
2148 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-animation-actor.c
2151 * src/hildon-button.c
2153 * src/hildon-pannable-area.c
2154 * src/hildon-picker-button.c
2155 * src/hildon-program.c
2156 * src/hildon-remote-texture.c
2157 * src/hildon-text-view.c
2158 * src/hildon-touch-selector.c
2159 * src/hildon-window-stack.c
2160 * src/hildon-window.c:
2161 Add missing 'Since: 2.2' tags.
2163 * doc/hildon-sections.txt:
2164 Add some missing symbols.
2166 * doc/hildon-docs.sgml:
2167 New 'Other' section for HildonAnimationActor and
2170 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2172 Patch by Iván Gómez (igomez@igalia.com)
2175 * doc/compiling.sgml
2176 * doc/hildon-docs.sgml
2177 * doc/hildon-sections.txt
2178 * doc/migration.sgml
2179 * doc/resources.sgml
2181 New chapters on using the Hildon library.
2182 Updated the general structure of the reference manual.
2183 Other minor documentation fixes.
2185 * src/hildon-calendar-popup.c
2186 * src/hildon-calendar.c
2187 * src/hildon-controlbar.c
2188 * src/hildon-date-editor.c
2189 * src/hildon-dialog.c
2190 * src/hildon-hvolumebar.c
2191 * src/hildon-number-editor.c
2192 * src/hildon-range-editor.c
2193 * src/hildon-sort-dialog.c
2194 * src/hildon-time-editor.c
2195 * src/hildon-time-picker.c
2196 * src/hildon-volumebar-range.c
2197 * src/hildon-volumebar.c
2198 * src/hildon-vvolumebar.c
2199 * src/hildon-weekday-picker.c:
2200 Add deprecation notes
2202 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2203 Document 'horizontal-movement' and 'vertical-movement' signals.
2205 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2210 * configure.ac: Bump version.
2211 * debian/changelog: Updates.
2213 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2215 * src/hildon-pannable-area.c,
2216 (hildon_pannable_area_class_init): increased the minimum velocity.
2217 (hildon_pannable_area_button_release_cb): Updated the
2218 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2219 setup. Review the code to control that last event.
2221 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2224 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2226 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2228 * src/hildon-get-password-dialog.c
2229 (hildon_get_password_set_property),
2230 (hildon_get_password_get_property), (create_contents):
2231 * src/hildon-login-dialog-private.h:
2232 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2233 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2234 (hildon_login_dialog_get_password):
2235 * src/hildon-set-password-dialog-private.h:
2236 * src/hildon-set-password-dialog.c
2237 (hildon_set_password_set_property),
2238 (hildon_set_password_get_property), (create_contents),
2239 (hildon_set_password_response_change),
2240 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2242 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2243 instead and look more Fremantle style.
2245 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2247 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2249 * doc/hildon-sections.txt
2250 * src/hildon-window-stack.h
2251 * src/hildon-window-stack.c
2252 (+hildon_window_stack_get_windows):
2253 New API to obtain the list of windows on a stack.
2255 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2257 * src/hildon-app-menu.c (hildon_app_menu_popup)
2258 (hildon_app_menu_class_init, -hildon_app_menu_show):
2259 Remove hildon_app_menu_show() and move all its checks to
2260 hildon_app_menu_popup()
2262 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2264 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2265 (_hildon_picker_dialog_set_selector): removed call to
2266 gtk_widget_set_size_request
2267 * src/hildon-touch-selector.c
2268 (_create_new_column): change the pannable size request policy
2270 Avoid to use a hardcoded height for the hildon picker dialog. In order
2271 to get that, we needed to change the hildon pannable size request
2273 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2275 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2278 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2281 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2283 * debian/control: Depend on osso-system-lock localization package.
2284 * src/hildon-code-dialog.c: Obtain the secu_application_title
2285 translation from osso-system-lock.
2286 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2287 for translation the atk related strings, that's not necessary.
2288 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2289 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2290 cancel button, it is not required.
2292 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2294 * src/hildon-pannable-area.c,
2295 (hildon_pannable_area_class_init): Modified the default value of
2296 the overshooting max speed, we have reduced it.
2298 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2300 * doc/hildon-sections.txt
2301 * src/hildon-window-private.h
2302 * src/hildon-window.h
2303 * src/hildon-window.c (hildon_window_class_init)
2304 (hildon_window_init, hildon_window_finalize)
2305 (hildon_window_realize, hildon_window_get_property)
2306 (hildon_window_set_property, hildon_window_update_markup)
2307 (hildon_window_get_markup, hildon_window_set_markup):
2308 New "markup" property and hildon_window_{get,set}_markup() methods.
2310 * examples/hildon-stackable-window-example.c (new_window):
2311 Update example to use hildon_window_set_markup()
2313 Fixes: NB#106375 (Need API to retitle a window with a title
2316 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2318 * src/hildon-pannable-area.c,
2319 (hildon_pannable_area_class_init): Changed the default value of
2320 the initial_hint to TRUE.
2321 (hildon_pannable_area_initial_effect): Changed the initial effect,
2322 not the effect is just the fade-out of the scrollbars.
2324 Fixes: NB#107775 (No scrollbars can be seen when several items are
2325 available in a dialog)
2327 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2329 * src/hildon-program.c (hildon_program_update_top_most):
2332 Fixes: NB#109179 (Memory leak in Hildon program)
2334 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2336 * src/hildon-banner.c (-get_current_app_window):
2337 Remove unused function.
2339 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2341 * src/hildon-pannable-area.c: Modified the documentation of the
2342 get adjustments functions to explain the problem of using the
2343 adjustment directly.
2344 (hildon_pannable_area_class_init): Improved the explanation about
2347 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2349 * src/hildon-app-menu-private.h
2350 * src/hildon-app-menu.c
2351 (hildon_app_menu_class_init):
2352 Bring back the 'external-border' style property
2353 (hildon_app_menu_class_init, hildon_app_menu_init)
2354 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2355 Set a fixed width-request for the menu, independent of the number
2358 Fixes: NB#94957 (Smoothly opened application menu)
2360 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2362 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2364 * src/hildon-banner.c
2365 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2367 Make sure that the banner is correctly placed the first time it's
2369 (hildon_banner_check_position, -check_fullscreen_state):
2370 Show the banner in the same place no matter if the window is in
2371 fullscreen mode or not.
2373 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2375 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-touch-selector.c (_default_print_func): reorder
2378 concatenation for clarity.
2380 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2383 for multicolumn selectors.
2385 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2387 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: Bump version.
2393 * debian/changelog: Updates.
2395 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2400 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2402 * configure.ac: removed libcangerra-gtk dependency
2403 * debian/control: removed libcanberra-gtk dependency
2404 * src/Makefile.am: removed libcanberra gtk related flags
2405 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2406 context, and manage a global canberra context instead
2408 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2410 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2412 Patch by Daniel Borgmann (danielb@openismus.com)
2414 * src/hildon-edit-toolbar.c:
2415 Adjust the left padding.
2416 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2417 Paint background of the edit toolbar.
2419 Fixes: NB#107897 (Patch to make editmodetoolbar background
2420 themeable and adjust margin)
2422 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2424 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2426 * src/hildon-program.c (hildon_program_update_top_most):
2427 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2429 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2430 change when the user tasks in/out of an application)
2432 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2434 * configure.ac: added libcangerra-gtk dependency
2435 * debian/control: added libcanberra-gtk dependency
2436 * src/Makefile.am: added libcanberra gtk related flags
2437 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2440 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2442 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-program.c (hildon_program_remove_window)
2445 (hildon_program_add_window): Add checks for the window
2446 parameter. Don't decrease the window counter if the window is not
2449 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2451 * src/hildon-pannable-area.c,
2452 (hildon_pannable_area_realize): Fixed position of the event_window
2453 in the realize method.
2455 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-app-menu-private.h
2458 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2459 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2460 (hildon_app_menu_key_press, hildon_app_menu_init)
2461 (hildon_app_menu_finalize):
2462 Make sure that all idle functions are removed when the widget is
2465 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2467 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2472 * configure.ac: Bump version.
2473 * debian/changelog: Updates.
2475 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-entry.c
2478 (+hildon_entry_show_placeholder),
2479 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2480 that replace hildon_entry_update_contents().
2481 (hildon_entry_set_text),
2482 (hildon_entry_set_placeholder),
2483 (hildon_entry_focus_in_event),
2484 (hildon_entry_focus_out_event): Determine when it is needed
2485 either to show or hide the placeholder and call the above methods.
2487 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2488 when the placeholder text is already set)
2490 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2492 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2493 simple GdkPixbufAnim using the new icons for the banner.
2494 (hildon_banner_show_animation): Use the above mentioned method to
2495 create the animation widget.
2497 Fixes: NB#103564 (Make hildon animation banner use individual
2498 image files as the animation)
2500 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2502 * src/hildon-pannable-area.c,
2503 (hildon_pannable_leave_notify_event): Check if the child is NULL
2504 to avoid sending the leave.
2506 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_area_class_init),
2510 (hildon_pannable_leave_notify_event): Added a handler of the
2511 leave-notify-signal to consider when no motion notify before
2514 Fixes: NB#107494 (Items stay selected when clicking and moving
2515 away when inside pannable area)
2517 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2522 * configure.ac: Bump version.
2523 * debian/changelog: Updates.
2525 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2527 Patch by Alberto Garcia (agarcia@igalia.com)
2529 * src/hildon-date-button.c,
2530 (hildon_date_button_class_init),
2531 (hildon_date_button_init): Removed the construct property handling
2532 and created a default selector in the init method.
2533 * src/hildon-picker-button.c,
2534 (hildon_picker_button_class_init): Removed the construct flag of the
2537 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2539 * src/hildon-main.c (hildon_init):
2540 Don't allow hildon_init() to be called more than once.
2542 Fixes: NB#106607 (hildon_init should issue error message upon
2545 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2547 * examples/hildon-pannable-area-touch-list-example.c
2548 * examples/hildon-pannagle-area-touch-grid-example.c
2549 * examples/hildon-edit-toolbar-example.c
2550 * examples/hildon-touch-selector-multi-cells-example.c
2551 Removed the call to gtk_rc_parse_string, as it is not required since
2554 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2556 * src/hildon-pannable-area.c,
2557 (hildon_pannable_area_class_init): Modified the default panning
2558 threshold of the widget to 6px.
2560 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2561 than the threshold value ) within the button is not sending the
2564 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2567 for the treeview in the new column. This way, the touch list will never
2570 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2571 be selected manually for the HW keys to work)
2573 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2575 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2576 comparison instead of using strcmp(). Fixes a compiler warning as well.
2578 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2580 * doc/hildon-docs.sgml: Do not set the library version in the
2581 document title, use the releaseinfo tag for that purpose instead.
2583 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2586 Do not jump to the first item if the text in the entry is removed.
2588 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2593 * configure.ac: Bump version.
2594 * debian/changelog: Updates.
2596 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2598 * src/hildon-entry.c (hildon_entry_refresh_contents):
2599 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2600 Use "ReversedSecondaryTextColor" for the placeholder text.
2602 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2604 * src/hildon-text-view.c: Fix compilation warning.
2606 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2608 * src/hildon-button.c (hildon_button_class_init): Don't make
2609 "title" and "value" construction properties, to prevent them from
2610 overwriting labels set from derived classes.
2612 * src/hildon-picker-button.c
2613 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2614 (hildon_picker_button_class_init): Make touch-selector a
2615 construction property.
2617 * src/hildon-date-button.c (hildon_date_button_class_init)
2618 (+hildon_date_button_constructed): Add a default date selector if
2621 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2623 * src/hildon-touch-selector.c: Small documentation fixes.
2625 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2627 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2629 * src/hildon-entry.c (hildon_entry_refresh_contents),
2630 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2631 widget name, set the logical color directly instead and a boolean
2632 showing_placeholder instead.
2633 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2634 use the widget name here either.
2636 Fixes: NB#105678 (HildonTextView should use logical colours
2637 instead of setting widget name)
2639 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2641 Patch by Daniel Elster (danielk@openismus.com)
2643 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2644 Add user_data parameter.
2645 (hildon_touch_selector_set_print_func_full): New function akin
2646 hildon_touch_selector_set_print_func() but with support for user
2647 data and a destroy callback.
2648 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2649 to clean up the print function user data.
2650 (hildon_touch_selector_class_init): Install dispose function.
2651 (HildonTouchSelectorPrivate::print_user_data),
2652 (HildonTouchSelectorPrivate::print_destroy_func): New private
2654 (hildon_touch_selector_init): Initialize new private members.
2655 (hildon_touch_selector_get_current_text): Pass along user data
2656 to the print function.
2657 (_default_print_func): Add dummy user_data to parameter list.
2658 * hildon-date-selector.c (_custom_print_func): ditto,
2659 * hildon-time-selector.c (_custom_print_func): ditto,
2660 * hildon-touch-selector-entry.c
2661 (hildon_touch_selector_entry_print_func): ditto.
2663 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2665 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2667 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2669 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2671 * src/hildon-pannable-area.c,
2672 (hildon_pannable_area_init),
2673 (hildon_pannable_area_button_press_cb),
2674 (hildon_pannable_area_motion_notify_cb): We have added code to
2675 handle the leave and enter events when using the motion events.
2677 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2679 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-date-button.c (hildon_date_button_get_date)
2682 (hildon_date_button_set_date): Make sure that the button has a
2685 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2687 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2689 * src/hildon-pannable-area.c,
2690 (hildon_pannable_area_class_init),
2691 (hildon_pannable_area_calculate_velocity): Modify the use of the
2692 force and adapt the value.
2694 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2696 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2697 (hildon_app_menu_class_init): Hide the menu if it receives a
2698 delete-event, but don't destroy it
2700 Fixes: NB#104485 (Not able to address the call when application
2701 menu is opened at background)
2703 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-app-menu.c
2706 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2707 Remove the "external-border" style property, let the menu take its
2708 natural size (or the one set by the window manager)
2709 (hildon_app_menu_repack_items):
2710 Don't reshow the menu, avoid flickers.
2712 Partially fixes NB#94957 (Smoothly opened application menu)
2714 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2719 * configure.ac: Bump version.
2720 * debian/changelog: Updates.
2722 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2724 * src/hildon-pannable-area.c,
2725 (hildon_pannable_area_motion_notify_cb): We control that the
2726 direction error margin is used just in case the movement is
2727 allowed in the other direction.
2729 Fixes: NB#105012 (buttons inside a pannable area not getting
2730 release event when dragging/releasing)
2732 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2734 * src/hildon-pannable-area.c,
2735 (hildon_pannable_area_class_init),
2736 (hildon_pannable_area_get_property),
2737 (hildon_pannable_area_set_property),
2738 (hildon_pannable_area_initial_effect),
2739 (hildon_pannable_axis_scroll),
2740 (hildon_pannable_area_button_release_cb): Reviewed the
2741 overshooting effect, now it has its own max
2742 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2743 speed when bouncing.
2745 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2750 * configure.ac: Bump version.
2751 * debian/changelog: Updates.
2753 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2755 * src/hildon-pannable-area.c,
2756 (hildon_pannable_area_class_init): Changed the max speed, now
2757 users can launch the widget very fast. Reduced the default force,
2758 that way it is easier to control the launch speed.
2760 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2762 * src/hildon-pannable-area.c,
2763 (hildon_pannable_area_button_release_cb): Removed this check
2764 because it causes problems when the device is overloaded.
2766 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2769 add a current_text field to store the text entered in the
2770 touch selector entry.
2771 (_clean_current_selection): clean up the current text as well.
2772 (_save_current_selection), (_restore_current_selection):
2773 Save/restore the text in the entry if the selector is a
2774 HildonTouchSelectorEntry.
2776 Fixes: NB#102541 (value entered in the touch selector entry is not
2777 shown when opened for second time)
2779 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2781 * doc/hildon-sections.txt:
2782 * src/hildon-touch-selector-entry.c
2783 (+hildon_touch_selector_entry_get_entry):
2784 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2786 Fixes: NB#104815 (I need accessor to the entry inside
2787 HildonTouchSelectorEntry)
2789 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2792 (hildon_app_menu_class_init):
2793 New "filter-vertical-spacing" style property.
2795 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-find-toolbar.c
2798 (hildon_find_toolbar_emit_close)
2799 (hildon_find_toolbar_emit_invalid_input)
2800 (hildon_find_toolbar_entry_activate):
2801 Use g_signal_emit() instead of g_signal_emit_by_name()
2803 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2805 Patch by Mox Soini (ext-mox.soini@nokia.com)
2807 * tests/TEST-CASES.txt
2808 * tests/check-hildon-banner.c
2809 * tests/check-hildon-note.c
2810 * src/hildon-banner.c
2811 * src/hildon-code-dialog.c
2812 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2813 * src/hildon-time-editor.c
2814 * examples/hildon-lookup-example.c (main):
2815 Replace obsolete icon names with new ones.
2817 * src/hildon-find-toolbar-private.h:
2818 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2819 (-hildon_find_toolbar_emit_search):
2820 Remove find button and change icon of close button.
2822 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2824 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-time-button.c (hildon_time_button_new_step):
2827 Use the "touch-selector" property to set the selector directly
2828 when creating the object.
2830 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2832 Added a new example application that allows tuning the pannable
2833 area and replaced defines with properties in order to simplify the
2834 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2835 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2836 PROP_DIRECTION_ERROR_MARGIN.
2838 * examples/hildon-pannable-area-tuning-example.c: New example
2840 * src/hildon-pannable-area.c,
2841 (hildon_pannable_area_class_init),
2842 (hildon_pannable_area_init),
2843 (hildon_pannable_area_get_property),
2844 (hildon_pannable_area_set_property),
2845 (hildon_pannable_area_launch_fade_timeout),
2846 (hildon_pannable_area_adjust_value_changed),
2847 (hildon_pannable_axis_scroll),
2848 (hildon_pannable_area_motion_notify_cb),
2849 (hildon_pannable_area_scroll_cb),
2850 (hildon_pannable_area_button_release_cb): We have converted some
2851 of the defines that control the widget to properties to simplify
2854 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-app-menu.c (hildon_app_menu_map)
2857 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2858 so it's closed if a new window appears.
2860 Fixes: NB#104485 (Not able to address the call when application
2861 menu is opened at background)
2863 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2865 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2866 missing 'break' statement in in 'case' construct to avoid
2869 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-touch-selector-entry.c
2872 (hildon_touch_selector_entry_get_property),
2873 (hildon_touch_selector_entry_set_property): Add missing 'break'
2874 statements in in 'case' constructs to avoid incorrect warnings.
2876 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2878 * src/hildon-time-editor.c
2879 (hildon_time_editor_get_time_separators): Do not crash if
2880 the first label is NULL.
2882 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2884 * src/hildon-date-selector.c (_month_days): Check for month to be
2885 strictly less than 12, since otherwise we may overrun the array.
2887 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-date-button.c (+hildon_date_button_new_full)
2890 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2891 (hildon_date_button_init): Set the date selector using a
2892 construction property, to make it happen after HildonButton's
2893 "value" property is set.
2895 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2896 current date by default)
2898 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2900 * doc/hildon-sections.txt
2901 * src/hildon-program.c
2902 * src/hildon-stackable-window.c
2903 * src/hildon-window.c:
2904 Documentation updates
2906 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2908 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2909 (hildon_window_stack_new, +hildon_window_stack_set_property)
2910 (+hildon_window_stack_get_property)
2911 (hildon_window_stack_class_init)
2912 (+hildon_window_stack_set_window_group)
2913 (+hildon_window_stack_get_window_group):
2914 Make the window group a construction property.
2916 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2918 * doc/hildon-sections.txt
2919 * src/hildon-stackable-window-private.h
2920 * src/hildon-stackable-window.h
2921 * src/hildon-stackable-window.c
2922 (-hildon_stackable_window_set_app_menu)
2923 (-hildon_stackable_window_get_app_menu)
2924 (-hildon_stackable_window_toggle_menu)
2925 (-hildon_stackable_window_finalize)
2926 (hildon_stackable_window_class_init)
2927 (hildon_stackable_window_init)
2928 * src/hildon-window-private.h
2929 * src/hildon-window.h
2930 * src/hildon-window.c (hildon_window_init)
2931 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2932 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2933 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2934 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2935 Moved all HildonAppMenu code to HildonWindow. The menu does not
2936 require a HildonStackableWindow anymore.
2938 * src/hildon-app-menu.c
2939 * src/hildon-program.c
2940 * examples/hildon-app-menu-example.c (main):
2941 Update examples and documentation to reflect HildonAppMenu
2944 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2946 * src/hildon-remote-texture.c
2947 * src/hildon-animation-actor.c:
2948 Don't include unused private headers.
2950 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-program-private.h
2953 * src/hildon-program.c
2954 (hildon_program_set_common_menu)
2955 (hildon_program_get_common_menu)
2956 (hildon_program_set_common_app_menu)
2957 (hildon_program_get_common_app_menu):
2958 Change common menu pointers from GtkWidget* to GtkMenu* and
2959 HildonAppMenu* to avoid unnecessary casts.
2961 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2963 * src/hildon-window.c (hildon_window_set_main_menu):
2964 Removed incorrect 'Since:' tag
2966 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2968 * src/hildon-pannable-area.c,
2969 (hildon_pannable_area_calculate_velocity): We use now the
2970 RATIO_TOLERANCE here to check the distance, fixed typo in the
2972 (hildon_pannable_area_motion_notify_cb): We have to set the type
2973 and time even if we are not sending the motion.
2975 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2977 * doc/hildon-sections.txt
2978 * src/hildon-app-menu.h
2979 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2980 (+hildon_app_menu_get_filters): New methods to get the contents of
2983 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2986 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-app-menu.c (hildon_app_menu_popup):
2991 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2993 * src/hildon-window.h
2994 * src/hildon-window.c (+hildon_window_get_main_menu)
2995 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2996 and deprecated hildon_window_get_menu().
2998 * src/hildon-stackable-window.h
2999 * src/hildon-stackable-window.c
3000 (+hildon_stackable_window_set_app_menu)
3001 (+hildon_stackable_window_get_app_menu)
3002 (hildon_stackable_window_set_main_menu): Created
3003 hildon_stackable_window_{get,set}_app_menu() and deprecated
3004 hildon_stackable_window_set_main_menu().
3006 * doc/hildon-sections.txt
3007 * examples/hildon-app-menu-example.c (main)
3008 * src/hildon-app-menu.c
3009 * src/hildon-program.c:
3010 Updated examples and documentation.
3012 Fixes: NB#103758 (No way to obtain a menu from a
3013 HildonStackableWindow)
3015 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3020 * configure.ac: Bump version.
3021 * debian/changelog: Updates.
3023 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
3025 * examples/hildon-remote-texture-example.c: Include
3026 hildon-remote-texture.h explicitely.
3027 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
3028 applications not defining _XOPEN_SOURCE which don't require this header.
3030 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3032 * doc/hildon-sections.txt
3033 * src/hildon-app-menu.h
3034 * src/hildon-app-menu.c (+hildon_app_menu_popup):
3035 New function to pop up a HildonAppMenu
3037 * src/hildon-stackable-window.c
3038 (hildon_stackable_window_toggle_menu):
3039 Use hildon_app_menu_popup() to show the menu.
3041 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-app-menu.c (hildon_app_menu_show)
3044 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
3045 menu if there's another window between it and its parent window.
3047 Fixes: NB#100468 (Application menu window is launched even when a
3048 new secondary-window/dialog is pending to be shown/realized)
3050 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-window-stack.c (hildon_window_stack_push)
3053 (hildon_window_stack_pop_and_push):
3054 Don't forget to push/pop the first window.
3055 Reverse the window list before calling _push_list()
3057 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3059 * src/hildon-picker-button.h
3060 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3061 Remove "value_changed" slot to avoid ABI breakage
3063 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3065 * src/hildon-pannable-area.c,
3066 (hildon_pannable_area_realize),
3067 (hildon_pannable_area_unrealize),
3068 (hildon_pannable_draw_vscroll),
3069 (hildon_pannable_draw_hscroll): Changed the method to handle the
3070 GC used to draw the transparent scrollbar, this way we avoid
3071 creating the GC all the time when drawing the scrollbars.
3073 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3075 * src/hildon-pannable-area.c,
3076 (hildon_pannable_area_init),
3077 (hildon_pannable_area_remove): Removed some unnecessary casts.
3078 (hildon_pannable_area_dispose): Disconnected some signals before
3079 releasing the adjustments.
3081 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3084 Make sure that all widgets contained in the toolbar are shown.
3086 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3088 * doc/hildon-sections.txt
3089 * src/hildon-picker-button.h
3090 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3091 (_selection_changed, hildon_picker_button_on_dialog_response)
3092 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3093 New hildon_picker_button_value_changed() method.
3096 * src/hildon-picker-button-private.h
3097 * src/hildon-picker-button.c (hildon_picker_button_init)
3098 (+hildon_picker_button_disable_value_changed): Add protected
3099 function for disabling the "value-changed" signal.
3101 * src/hildon-date-button.c (hildon_date_button_set_date):
3102 Don't emit "value-changed" for each one of the three columns.
3104 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3105 before actual change of values)
3107 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3109 * src/hildon-pannable-area.c,
3110 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3111 for the treeview overshooting.
3113 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-banner.c (+hildon_banner_bind_style):
3116 Renamed from hildon_banner_bind_label_style(), now naming the
3117 banner itself as well.
3118 (hildon_banner_show_information),
3119 (hildon_banner_show_information_with_markup),
3120 (hildon_banner_show_animation), (hildon_banner_show_progress):
3121 Name the widgets and labels, based on their type.
3123 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3126 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-note.c (hildon_note_set_property): call
3129 hildon_note_rename() on HildonNote:note-type set.
3130 (hildon_note_rename): Name the note and its label, based on the
3131 HildonNote:note-type property.
3133 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3136 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3138 * src/hildon-pannable-area.c,
3139 (hildon_pannable_area_class_init),
3140 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3141 panning parameters, increased SPS and deceleration factor. Added
3142 also a margin to control fake directions.
3144 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3146 Patch by Sven Herzberg (sven@imendio.com)
3148 * configure.ac: Add missing AM_PROG_CC_C_0
3149 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3151 See NB#101420 (Update unit tests and fix make check)
3153 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3155 This patch was applied before but reverted because it caused
3156 problems, we have changed the main condition and tested the
3157 regressions we detected before and they work ok. We have done a
3158 complete review of the topmost algorithm in order to get a more
3161 * src/hildon-pannable-area.c,
3162 (hildon_pannable_area_get_topmost): Added a new parameter to
3163 filter the the windows that do not include those events.
3164 (hildon_pannable_area_button_press_cb),
3165 (hildon_pannable_area_button_release_cb),
3166 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3167 topmost function, we have added the new parameter.
3169 Fixes: NB#97458 (Pannable area prevents propagation of button
3172 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3174 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3175 if all columns in the selector have an item selected.
3176 (_on_dialog_response): Stop "response" signal emission if there is
3177 any selector column without selected items.
3179 Fixes: NB#101889 (Picker dialog should not close when nothing is
3180 selected in multiple selection list)
3182 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3184 * src/hildon-font-selection-dialog.c
3185 (hildon_font_selection_dialog_class_init),
3186 (hildon_font_selection_dialog_init): Remove the preview
3187 button and dialog, since previewing with default theming is likely
3188 to be overcomplicated. The :preview property has now no effect.
3189 Update documentation blurbs to inform about this.
3191 Fixes: NB#92297 (Preview content is not clearly visible for
3192 default colour text)
3194 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3196 Reviewed the geometry that handles the children size and
3197 scrollbar, now it tries a size and reviews the results depending
3198 on the scrollbars visibility.
3200 * src/hildon-pannable-area.c,
3201 (hildon_pannable_area_realize): Fixed a typo.
3202 (hildon_pannable_area_child_allocate_calculate): Added this
3203 function to calculate the child allocation.
3204 (hildon_pannable_area_size_allocate): Reviewed the allocation
3206 (hildon_pannable_area_check_scrollbars),
3207 (hildon_pannable_area_refresh): Refactored refresh function, this
3208 way we can call the code handling the scrollbars without causing a
3209 size_request, it is interesting in the allocate.
3210 (hildon_pannable_area_init): Replace the callbacks of the
3211 value_changed and changed signals to propertly deal with the
3213 (hildon_pannable_area_grab_notify),
3214 (hildon_pannable_area_initial_effect),
3215 (hildon_pannable_area_launch_fade_timeout),
3216 (hildon_pannable_area_adjust_changed),
3217 (hildon_pannable_area_adjust_value_changed),
3218 (hildon_pannable_area_redraw),
3219 (hildon_pannable_area_button_press_cb),
3220 (hildon_pannable_area_button_release_cb),
3221 (hildon_pannable_area_scroll_cb),
3222 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3223 code and use the new functions adjust_changed and
3224 adjust_value_changed.
3226 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3227 Contact editor dialog)
3229 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3234 * configure.ac: Bump version.
3235 * debian/changelog: Updates.
3237 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3239 * src/hildon-pannable-area.c,
3240 (hildon_pannable_area_get_topmost),
3241 (hildon_pannable_area_button_press_cb),
3242 (hildon_pannable_area_button_release_cb),
3243 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3244 topmost function adding the event mask. We have to try a
3245 differente approach because it is still causing problems (NB#9745,
3248 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-banner.c:
3251 Update the maximum width of timed banners.
3252 (force_to_wrap_truncated): Enforce the maximum text width if the
3255 Fixes: NB#102413 (The text margins (wrapping) in information
3256 banner should be HILDON_MARGIN_TRIPLE)
3258 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3260 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3262 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3263 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3264 bound when calculating the scroll indicator position.
3266 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3267 treat ->lower correctly)
3269 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3272 expose event handling, since it is not necessary to draw the focus
3275 Fixes: NB#102467 (Do not show highlight on the text in
3278 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3281 full height of the toolbar for the button and the label.
3283 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3285 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3286 padding before the label and after the button.
3288 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3292 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3293 Add a GtkVSeparator between the button and the back arrow.
3294 Let the button have automatic size.
3295 Set a name to the widget for theming handling.
3297 Fixes: NB#101793 (Make edit toolbar the same height as window
3298 title bar (use title area theming))
3300 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3302 * src/hildon-helper.c (attach_new_color_element): Fix memory
3305 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3307 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3309 * examples/hildon-button-example.c (common_buttons_window): Don't
3312 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3315 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3317 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-gtk.c: Check that the window is realized.
3321 Fixes: NB#102225 (Crash setting the progress indicator to a non
3324 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3327 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3328 instead of modifying the one in the widget style.
3330 Fixes: NB#101043 (Second row of all the command button are
3331 displayed in transparent mode.)
3333 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-date-button.c
3336 * src/hildon-time-button.c: Add gettext macros
3338 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-date-button.c (hildon_date_button_new):
3341 * src/hildon-time-button.c (hildon_time_button_new_step):
3342 Use new logical strings to set the button default title.
3344 Fixes: NB#99915 (Date and Time options are not localised in Date
3347 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3349 * src/hildon-pannable-area.c
3350 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3351 the PANNING_THRESHOLD.
3353 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3355 * src/hildon-pannable-area.c,
3356 (hildon_pannable_area_class_init): Increased the maximum speed.
3357 (hildon_pannable_area_get_property),
3358 (hildon_pannable_area_set_property),
3359 (hildon_pannable_area_timeout): Added a new low friction mode, it
3360 allows the user avoid friction when launching the widget fast
3361 enough. It is interesting to traverse long lists.
3363 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3366 (+hildon_stackable_window_delete_event): Ignore delete events if
3367 the window is not the topmost one.
3369 Fixes: NB#101698 (Back button long press and delete-event handling)
3371 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3373 * src/hildon-pannable-area.c,
3374 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3375 gtk-dnd-drag-threshold, it was too big. We have defined our own
3376 dnd define and set a smaller value: PANNIG_THRESHOLD.
3378 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3380 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3381 user-defined icons, use always the default one.
3383 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3385 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3387 This patch was applied before but reverted because it caused
3388 problems, we have changed the main condition and tested the
3389 regressions we detected before and they work ok.
3391 * src/hildon-pannable-area.c,
3392 (hildon_pannable_area_get_topmost): Added a new parameter to
3393 filter the the windows that do not include those events. Added
3394 also a condition when finding the window to filter windows that do
3395 not ask for those events.
3396 (hildon_pannable_area_button_press_cb),
3397 (hildon_pannable_area_button_release_cb),
3398 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3399 topmost function, we have added the new parameter.
3401 Fixes: NB#97458 (Pannable area prevents propagation of button
3404 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3406 * tests/check-hildon-color-button.c (START_TEST): do not leak
3409 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-font-selection-dialog.c
3412 (hildon_font_selection_dialog_get_preview_text): Return NULL
3413 instead of FALSE on the g_return_val_if_fail().
3415 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3417 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3418 * src/hildon-date-selector.c
3419 (hildon_date_selector_select_current_date):
3420 Do not compare unsigned integers to be greater than or equal 0,
3421 because it's always TRUE.
3423 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3425 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3426 (hildon_date_selector_constructor): Do not select the current
3427 date until we are handle the "changed" signal, to avoid having bogus
3428 elements in the days model.
3430 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3432 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3433 for num_days, since _month_days() can return a negative value.
3435 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3437 * src/hildon-caption.c (hildon_caption_size_allocate):
3438 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3439 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3441 Initialize allocation variables to 0, to avoid eventually using
3442 unitialized variables.
3444 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3446 * src/hildon-bread-crumb-trail.c
3447 (hildon_bread_crumb_trail_size_allocate):
3448 * src/hildon-calendar.c (hildon_calendar_set_background):
3449 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3450 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3451 * src/hildon-seekbar.c (hildon_seekbar_init):
3452 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3453 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3454 * src/hildon-touch-selector-entry.c
3455 (hildon_touch_selector_get_text_from_model):
3456 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3457 * src/hildon-window.c (hildon_window_finalize):
3459 Remove many unused variables.
3461 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-seekbar.c: (hildon_seekbar_init),
3464 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3466 Remove unnecessary g_assert() calls.
3468 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3470 * src/hildon-caption.c: (hildon_caption_expose),
3471 (hildon_caption_set_property), (hildon_caption_init),
3472 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3473 (hildon_caption_size_request), (hildon_caption_size_allocate),
3474 (hildon_caption_forall), (hildon_caption_set_separator),
3475 (hildon_caption_activate), (hildon_caption_set_child_expand),
3476 (hildon_caption_set_label_text),
3477 (hildon_caption_get_label_alignment):
3479 Remove unnecessary g_assert() calls.
3481 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3483 * src/hildon-banner.c
3484 (hildon_banner_map, hildon_banner_init): Make banner temporary
3485 before mapping it to avoid closing other temporary windows, but
3486 make it non-temporary afterwards to avoid being closed by other
3487 non-temporary windows.
3488 (-hildon_banner_client_event, hildon_banner_init):
3489 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3491 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3494 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3499 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3501 * src/hildon-remote-texture.c
3502 * src/hildon-remote-texture.h
3503 * src/hildon-remote-texture-private.h
3504 * examples/hildon-remote-texture-example.c:
3505 Updates/fixes to remote-texture and its example.
3507 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3509 Patch by Mox Soini (ext-mox.soini@nokia.com)
3511 * src/hildon-code-dialog.c: Update logical id.
3512 * src/hildon-set-password-dialog.c: Update logical id.
3514 Fixes: NB#100646 (Logical strings is shown for ok in set
3515 password,Password needed dialogs)
3517 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3520 * src/hildon-remote-texture.c
3521 * src/hildon-remote-texture.h
3522 * src/hildon-remote-texture-private.h
3524 Added remote texture widget (for Clutter shared memory textures)
3526 * examples/hildon-remote-texture-example.c
3527 * examples/Makefile.am
3528 Added example file for remote texture usage
3530 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3532 * configure.ac: post release version bump.
3533 * debian/changelog: version bump.
3535 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3540 * configure.ac: Bump version.
3541 * debian/changelog: Updates.
3543 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-date-selector.c (hildon_date_selector_init)
3546 (hildon_date_selector_constructor): Don't connect to the "changed"
3547 signal until the selector is completely constructed.
3549 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3551 * src/hildon-touch-selector.c: (_create_new_column),
3552 (hildon_touch_selector_append_column),
3553 (hildon_touch_selector_set_column_selection_mode),
3554 (hildon_touch_selector_set_active),
3555 (hildon_touch_selector_select_iter):
3556 Emit the HildonTouchSelector::changed signal every time selection
3557 is changed in any of the methods above. This behavior was already
3558 documented but not fully functional.
3560 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3561 selection is programmatically changed)
3563 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3565 * doc/hildon-sections.txt: Remove obsolete icon
3566 sizes from here as well.
3568 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3570 * examples/hildon-stackable-window-example.c (add_window): Remove
3573 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3575 * src/hildon-app-menu.c
3576 (hildon_app_menu_show): Check whether the parent window of a menu
3577 is topmost before popping it up.
3579 Fixes: NB#100468 (Application menu window is launched even when a
3580 new secondary-window/dialog is pending to be shown/realized.)
3582 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3584 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3587 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3589 Patch by Mox Soini (ext-mox.soini@nokia.com)
3591 * src/hildon-banner.c: (hildon_banner_show_animation):
3592 use stylus size instead of obsolete note size.
3593 * src/hildon-defines.h: Update icon sizes.
3595 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3597 * src/hildon-touch-selector-entry.c:
3598 (hildon_touch_selector_entry_init): Disable unsupported
3600 (hildon_touch_selector_entry_get_text_column): Emit a warning
3601 if an unsupported input modes is used and explicitile state
3602 these modes in the documentation.
3604 Fixes: NB#99802 (Hildon touch selector entry not working properly
3605 for some of the input modes)
3607 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3609 * src/hildon-pannable-area.c,
3610 (hildon_pannable_area_init): Added the changed signal handlers of
3613 Fixes: NB#100320 (HildonPannableArea does not listen to
3614 GtkAdjustment "change" signals)
3616 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3618 * doc/hildon-sections.txt
3619 * src/hildon-window-private.h
3620 * src/hildon-window.h
3621 * src/hildon-window.c (hildon_window_init)
3622 (hildon_window_realize, hildon_window_unrealize)
3623 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3624 (hildon_window_size_request, hildon_window_size_allocate)
3625 (hildon_window_forall, hildon_window_show_all)
3626 (hildon_window_destroy, +paint_edit_toolbar)
3627 (+hildon_window_set_edit_toolbar):
3628 New hildon_window_set_edit_toolbar() method, to add a
3629 HildonEditToolbar to a window without having to pack it manually.
3631 Reorganize hildon_window_size_allocate()
3633 * src/hildon-edit-toolbar.c: Update documentation.
3635 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3636 example to use the new API.
3638 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3640 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3642 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3643 Remove from stack before calling parent's hide.
3645 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3647 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3648 window is removed from the middle of the stack, update the
3649 transiency of the previous one.
3651 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3654 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3656 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3657 block/unblock the signal handler if it's not actually being used.
3658 Fixes some critical warnings.
3660 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3662 Based on a patch by Iván Gómez (igomez@igalia.com)
3664 * src/hildon-banner.c
3668 * src/hildon-pannable-area.c
3669 * src/hildon-picker-dialog.c
3670 * src/hildon-wizard-dialog.h
3671 * src/hildon-wizard-dialog.c: Documentation updates.
3673 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3674 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3676 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3678 * configure.ac: post release version bump.
3679 * debian/changelog: version bump.
3681 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3686 * configure.ac: Bump version.
3687 * debian/changelog: Updates.
3689 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3692 a stock icon nor change the relief of the back arrow.
3694 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3695 graphics from theme)
3697 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-button.c (hildon_button_set_alignment): Use
3700 priv->alignment if the button has no child yet.
3702 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-button.c: (hildon_button_init): Set the
3705 button style during initialization to give it the proper
3708 Fixes: NB#99713 (HildonButton value label color is wrong)
3710 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-touch-selector.c: Document
3713 hildon_touch_selector_center_on_selected()
3715 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3717 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3718 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3719 all menu items, but not the menu itself.
3720 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3721 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3722 items after adding them to the menu so keyboard accelerators work.
3723 (hildon_app_menu_show): Don't show the menu if it contains items
3724 but none of them are visible.
3726 * examples/hildon-app-menu-example.c (create_menu): Use
3727 gtk_widget_show_all() to show all menu items.
3729 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3731 * src/hildon-picker-dialog.c:
3732 (-_update_title_on_selector_changed_cb),
3733 (-_dialog_update_title): Removed.
3734 (_select_on_selector_changed_cb), (_on_dialog_response),
3735 (on_selector_columns_changed): Do not update the dialog title.
3736 (setup_interaction_mode): Do not connect to
3737 HildonTouchSelector::changed signal if there's a "done" button, as
3738 the dialog title doesn't need to be updated.
3740 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3743 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3745 Patch by Kristian Rietveld (kris@imendio.com)
3747 * src/hildon-touch-selector.c: (_create_new_column): Use new
3748 GtkTreeView::hildon-row-tapped signal to react to user interactions
3749 instead of ::changed.
3751 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3752 with some dynamic tree model)
3754 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3757 (+screen_size_changed, +label_size_request)
3758 (hildon_note_class_init): Make the Hildon information note have a
3759 minimum height, and make its text hvae a maximum width.
3761 Fixes: NB#98614 (Hildon information note (background) should have
3762 minimum height and maximum text width)
3764 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3766 * src/hildon-banner.h
3767 * src/hildon-banner.c (hildon_banner_show_information)
3768 (hildon_banner_show_informationf)
3769 (hildon_banner_show_information_with_markup): Update documentation
3770 to reflect that the icon_name parameter is not used anymore.
3771 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3772 Remove all code from these functions and mark them as deprecated.
3773 (hildon_banner_show_progress): Mark as deprecated.
3775 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3777 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3779 * src/hildon-pannable-area.c,
3780 (hildon_pannable_area_class_init),
3781 (tranparency_color),
3782 (hildon_pannable_draw_vscroll),
3783 (hildon_pannable_draw_hscroll),
3784 (hildon_pannable_area_expose_event): Added a new way to render the
3785 scrollbars of the pannable area avoiding using cairo at all. This
3786 way we improve the performance of the pannable area rendering. The
3787 cairo rendering procedure is still in the code, we can control
3788 which one to use changing the value of the define
3789 USE_CAIRO_SCROLLBARS.
3791 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3793 * configure.ac: post release version bump.
3794 * debian/changelog: version bump.
3796 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3801 * configure.ac: Bump version.
3802 * debian/changelog: Updates.
3804 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3807 banners instead of destroying them when they receive a button
3810 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3812 Reverted commit 34028, it was causing regressions, probably the
3813 topmost condition is not correct, we have to check it in more
3814 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3815 propagation of button press events)
3817 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3819 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3820 that the selection is not empty before attempting to retrieve the
3821 current ampm selection.
3823 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-picker-button.c:
3826 (hildon_picker_button_on_dialog_response): Directly update the
3827 button contents when required instead of calling _selection_changed.
3829 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-program.c (hildon_program_update_top_most): Update
3832 'is-topmost' property also when wm_hints is not set.
3834 Fixes: NB#98383 (is-topmost signal is not emitted when task
3835 switcher is clicked.)
3837 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3839 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3843 * src/hildon-animation-actor.c,
3844 * src/hildon-animation-actor.h: Added the animation actor class,
3845 this widget represents an animation actor for WM-assisted
3846 animation effects in the Hildon framework.
3848 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-window-stack-private.h
3851 * src/hildon-window-stack.c
3852 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3853 Avoid calling gtk_widget_show() again indirectly from
3854 hildon_stackable_window_show()
3856 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3861 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3863 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3864 (hildon_time_selector_init): Move the construction of the hours and
3865 ampm columns to the constructor to preserve the order the columns
3868 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3870 * src/hildon-picker-dialog.c:
3871 (hildon_picker_dialog_class_init): Connect a realize method.
3872 (+hildon_picker_dialog_realize): Setup the interaction mode here
3874 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3875 yet, do it during the realize instead.
3876 (_on_dialog_response):
3877 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3878 if the widget is not realized, to avoid the dialog response before it
3881 Avoid premature responses in the HildonPickerDialog that can cause it
3882 to be hidden before it's even shown.
3884 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3886 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3887 (on_selector_columns_changed), (requires_done_button),
3888 (+prepare_action_area), (setup_interaction_mode),
3889 (_hildon_picker_dialog_set_selector):
3891 Split the interaction mode setup into preparation of the
3892 action area (prepare_action_area()) and the connection of
3893 the signals in setup_interaction_mode() and update the code to
3896 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3898 * src/hildon-pannable-area.c,
3899 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3900 per second to 15, we will check if this is ok regarding
3903 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3905 * src/hildon-pannable-area.c,
3906 (hildon_pannable_axis_scroll): Avoid resize if we already have
3907 reached overshoot_max.
3909 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3911 * src/hildon-pannable-area.c,
3912 (hildon_pannable_area_init),
3913 (hildon_pannable_area_realize),
3914 (hildon_pannable_area_size_allocate),
3915 (hildon_pannable_area_map),
3916 (hildon_pannable_area_unmap),
3917 (hildon_pannable_draw_vscroll),
3918 (hildon_pannable_draw_hscroll),
3919 (hildon_pannable_area_expose_event),
3920 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3921 pannable are to avoid the expose events go to the window and
3922 redraw the window. We save this way that part of the stack and the
3923 paint_boxes. We had to change the positions of the elements when
3926 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3928 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3929 * src/hildon-color-chooser-dialog.c:
3930 (hildon_color_chooser_dialog_init):
3931 * src/hildon-font-selection-dialog.c:
3932 (hildon_font_selection_dialog_init),
3933 (hildon_font_selection_dialog_show_preview):
3934 * src/hildon-get-password-dialog.c:
3935 * src/hildon-login-dialog.c:
3936 * src/hildon-set-password-dialog.c:
3937 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3938 * src/hildon-time-picker.c: (hildon_time_picker_init):
3940 Remove obsolete logical string IDs and update to the appropriate ones.
3942 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3944 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3946 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3947 that happens if the window hasn't been realized yet.
3949 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3950 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3952 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3955 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3958 Fixes: NB#98537 (Device hangs in account settings dialog)
3960 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3962 * configure.ac: post release version bump.
3963 * debian/changelog: version bump
3965 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3970 * configure.ac: Bump version.
3971 * debian/changelog: Updates.
3973 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3975 Added a new function to the HildonTimeButton widget that allows to
3976 change the step of the minutes in the selector associated with the
3977 button: hildon_time_button_new_step
3979 * src/hildon-time-button.c,
3980 (hildon_time_button_init),
3981 (hildon_time_button_new),
3982 (hildon_time_button_new_step):
3983 * src/hildon-time-button.h: Added the new function and refactored
3985 * examples/hildon-time-button-example.c,
3986 (main): We have replaced the function without parameters with the
3987 function with the steps set to 5
3989 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3991 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3993 * src/hildon-time-selector.c,
3994 (hildon_time_selector_class_init),
3995 (hildon_time_selector_constructor),
3996 (hildon_time_selector_get_property),
3997 (hildon_time_selector_set_property),
3998 (_create_minutes_model),
3999 (hildon_time_selector_new_step),
4000 (hildon_time_selector_set_time),
4001 * src/hildon-time-selector.h: Added a new property to the
4002 HildonTimeSelector (minutes-step), we use that property to control
4003 the steps between the minutes in the list of the selector. We have
4004 added a new function to the API to create a widget changing the
4005 step: hildon_time_selector_new_step.
4007 2009-01-20 Alejandro G. Castro <alex@igalia.com>
4009 * src/hildon-time-selector.c,
4010 (hildon_time_selector_class_init),
4011 (hildon_time_selector_constructor),
4012 (hildon_time_selector_init): Overrided the construct function when
4013 creating the time selector object. We have moved the minutes model
4014 handling code from the init to the new construction function:
4015 hildon_time_selector_constructor.
4017 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4019 * examples/hildon-date-button-example.c: (main): Use the new
4020 hildon_date_button_new_with_year_range() method in the example.
4021 * src/hildon-date-button.c:
4022 (+hildon_date_button_new_with_year_range): New public method
4023 to conveniently create a HildonDateButton with a custom year range
4024 in its HildonDateSelector.
4025 * src/hildon-date-button.h: Add the new public method definition.
4027 Fixes: NB#97908 (Not possible to change the year range in
4028 HildonDateSelector/HildonDateButton)
4030 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4032 * src/hildon-date-selector.c:
4033 (+hildon_date_selector_set_property),
4034 (+hildon_date_selector_get_property),
4035 (hildon_date_selector_class_init): Install new properties "min-year"
4036 and "max-year" to define boundaries for the year column.
4037 (_create_year_model): Use the boundary properties to populate the model.
4038 (+hildon_date_selector_new_with_year_range): New public method to
4039 create a HildonDateSelector with a user defined year range.
4040 (hildon_date_selector_select_current_date): Use the new boundaries to
4041 calculate the iterator of current year.
4042 * src/hildon-date-selector.h: Add the new public method definition.
4044 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
4046 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
4047 Install a constructor method.
4048 (+hildon_date_selector_construct_ui): construct the widget.
4049 (+hildon_date_selector_constructor): new constructor.
4050 (+hildon_date_selector_init): move out widget construction code to
4051 the new constructor.
4053 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4055 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4056 that there's actually a month or year selected before obtaining them.
4057 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4058 of the HildonTouchSelector::changed signal, as it was emitted on every
4059 single item selection.
4061 Fix some warnings and possible crashers due to the selection restoring.
4063 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4065 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4066 the signal handlers only after creating the dialog instead of on every
4069 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-button.c (hildon_button_init)
4072 * src/hildon-check-button.c (hildon_check_button_init)
4073 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4074 focus when clicked by default.
4076 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4078 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4081 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4083 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4084 Alejandro G. Castro (alex@igalia.com)
4086 * src/hildon-picker-dialog.c:
4087 (hildon_picker_dialog_class_init): install new "center-on-show"
4089 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4090 (hildon_picker_dialog_set_property): add setter code for the new
4092 (hildon_picker_dialog_get_property): add getter code for the new
4094 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4095 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4098 Fixes: NB#92849 (Selected item is not always visible when
4099 HildonTouchSelector is shown)
4101 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4103 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4104 Alejandro G. Castro (alex@igalia.com)
4106 * src/hildon-touch-selector.c:
4107 (_create_new_column): Do not connect to the "realize" signal of the
4109 (hildon_touch_selector_append_column): center on the selected items
4110 when a new column is appended.
4111 (hildon_touch_selector_select_iter): Factor out the code to select a
4112 column to hildon_touch_selector_scroll_to().
4113 (+search_nearest_element): Method to retrieve the nearest selected
4114 element to the visible area of the pannable area in a column.
4115 (+on_realize_cb): scroll to the initially selected item.
4116 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4117 the pannable area is realized, otherwise delay this until it is.
4118 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4119 selected items of a given column.
4120 (+hildon_touch_selector_center_on_selected): Public method to center
4121 all columns on the nearest selected item.
4122 * src/hildon-touch-selector.h: Add definition for
4123 hildon_touch_selector_center_on_selected().
4125 Implement public API to ensure visibility of all selected items in
4126 a HildonTouchSelector.
4128 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4130 Fixed a problem in the fading when calling the scroll_to API, and
4131 improve scrollbar fading handling.
4133 * src/hildon-pannable-area.c,
4134 (hildon_pannable_area_grab_notify): avoid the timeout when the
4136 (hildon_pannable_area_button_press_cb),
4137 (hildon_pannable_area_motion_notify_cb): Code style changes.
4138 (hildon_pannable_area_button_release_cb): Review the conditions
4139 when releasing the mouse button to avoid unrequired fading
4141 (hildon_pannable_area_scroll_to): Do not calculate and set the
4142 velocity if the scroll is not required.
4144 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4146 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4147 Don't check whether the new selector is NULL: it cannot be.
4148 Hold a reference to the selector while doing the replacement.
4150 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4152 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4153 unnecessary size_request in a removed widget.
4155 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4158 an unnecessary reference tracking that was leaking.
4160 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4162 Added delayed motion notify event handling, this way we can
4163 discard redrawing if more than 25 events arrive per second.
4165 * src/hildon-pannable-area.c,
4166 (hildon_pannable_area_init): Initialized the new private atributes
4167 controlling this timeout
4168 (hildon_pannable_area_dispose): Remove the timeout that controls
4169 the motion notify events.
4170 (hildon_pannable_area_scroll): Added a condition to control the
4171 use of the acceleration.
4172 (hildon_pannable_area_motion_event_scroll_timeout),
4173 (hildon_pannable_area_motion_event_scroll): Added this two
4174 functions, they handle the motion notify events inside the
4176 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4177 to the scroll method with the new function.
4178 (hildon_pannable_area_button_release_cb): We have to remove the
4179 timeout handler and move to the last position if the last motion
4180 events were not handled.
4182 Fixes: NB#97028 (Pannable area updates on every motion event)
4184 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4186 * src/hildon-pannable-area.c,
4187 (hildon_pannable_area_get_topmost): Added a new parameter to
4188 filter the the windows that do not include those events. Added
4189 also a condition when finding the window to filter windows that do
4190 not ask for those events.
4191 (hildon_pannable_area_button_press_cb),
4192 (hildon_pannable_area_button_release_cb),
4193 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4194 topmost function, we have added the new parameter.
4196 Fixes: NB#97458 (Pannable area prevents propagation of button
4199 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4201 * src/hildon-pannable-area.c,
4202 (hildon_pannable_area_initial_effect): Added controls before
4203 launching the timeout and the idle functions.
4204 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4205 of the method, in some situations it can return with TRUE and 0 in
4207 (hildon_pannable_area_button_press_cb): We do not need to set
4208 DELAY for fading out here.
4210 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4212 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4214 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4215 post-cleaning if the selection is not NULL.
4217 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4219 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4220 all items before restoring the selection.
4222 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4224 * src/hildon-touch-selector.c:
4225 (+hildon_touch_selector_unselect_all):
4226 * src/hildon-touch-selector.h: New API to unselect all items in a
4227 column of the touch selector.
4229 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4231 * src/hildon-pannable-area.c,
4232 (hildon_pannable_area_redraw): Added a call to the refresh
4233 function inside the redraw because apparently in some cases the
4234 change in the adjustment does not imply a size allocate.
4236 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4237 despite the view not being scrollable)
4239 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4241 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4242 leak. Check for NULL before attempting to set the window title.
4244 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4246 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4247 whether to show or not the 'Done' button each time the dialog is
4248 shown, as it depends on the HildonTouchSelector selection mode.
4250 Fixes: NB#96226 (In multiple selection mode Done button is shown
4251 sometimes in listpicker)
4253 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4256 for the number of columns in the HildonTouchSelector more than once.
4258 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-touch-selector.c: Minor documentation fixes.
4262 * src/hildon-picker-dialog.c (+_dialog_update_title)
4263 (_select_on_selector_changed_cb)
4264 (_update_title_on_selector_changed_cb)
4265 (on_selector_columns_changed): Update dialog title when there's no
4266 'Done' button and also when the number of columns in the selector
4270 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4271 (+_selection_changed, hildon_picker_button_on_dialog_response)
4272 (hildon_picker_button_selector_selection_changed)
4273 (+hildon_picker_button_selector_columns_changed)
4274 (hildon_picker_button_set_selector): Update button value and emit
4275 'value-changed' when the number of columns in the selector
4279 Fixes: NB#96225 (Dialog titles are not shown according to the
4280 values selected in the list picker)
4282 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4284 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4285 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4286 New "arrow-width" and "arrow-height" style properties to set the
4287 size of the arrow button.
4288 Set name of arrow button ("hildon-edit-toolbar-arrow").
4290 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4291 graphics from theme)
4293 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-picker-button.c:
4296 (hildon_picker_button_selector_selection_changed): Use
4297 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4298 the dialog is present.
4300 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4301 the selection is accepted in the dialog)
4303 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-color-chooser.h
4306 * src/hildon-color-chooser-dialog.h:
4307 Added G_BEGIN_DECLS and G_END_DECLS
4309 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4311 (_clean_current_selection): plug a leak in the list.
4313 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4315 * src/hildon-picker-dialog.c:
4316 (+free_path_list): Method to free a GList of GtkTreePaths.
4317 (_clean_current_selection), (_save_current_selection),
4318 (_restore_current_selection): Save the current selection in
4319 as a list of lists, to support multiple selection properly.
4321 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4323 patch by Claudio Saavedra (csaavedra@igalia.com)
4325 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4326 Store the press position.
4327 (+hildon_text_view_button_release_event): If the release position is
4328 close enough to the press position, move the cursor here. Otherwise,
4330 (hildon_text_view_class_init): Override GtkTextView press, release, and
4331 motion event handlers, disabling this way text selection through
4332 pointer interaction, and allowing the container widget to handle the
4335 Fixes: NB#95828 (HildonTextView functionality)
4337 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4339 Based on a patch by Iván Gómez (igomez@igalia.com)
4341 * src/hildon-button.[ch]
4342 * src/hildon-calendar.c
4343 * src/hildon-check-button.c
4344 * src/hildon-date-editor.c
4345 * src/hildon-date-selector.c
4346 * src/hildon-picker-button.c
4347 * src/hildon-time-editor.c
4348 * src/hildon-time-selector.c
4349 * src/hildon-touch-selector.[ch]:
4350 Documentation updates
4352 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4354 * src/hildon-pannable-area.c,
4355 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4356 threshold, it was required due to X events handling.
4358 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4360 * src/hildon-pannable-area.c,
4361 (hildon_pannable_area_grab_notify),
4362 (hildon_pannable_area_initial_effect),
4363 (hildon_pannable_area_button_press_cb),
4364 (hildon_pannable_area_button_release_cb),
4365 (hildon_pannable_area_scroll_cb),
4366 (hildon_pannable_area_scroll_to): Review the timeout management of
4367 the scrollbar, the frecuency was incorrectly set.
4369 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4371 * src/hildon-picker-button.c:
4372 (+hildon_picker_button_on_dialog_response),
4373 (hildon_picker_button_clicked): Present the dialog instead of
4374 running it with gtk_dialog_run().
4376 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4379 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4381 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4382 (hildon_app_menu_finalize): When a window is hidden it doesn't
4383 emit notify::is-topmost, so make sure than the menu also
4384 disappears in that case.
4385 (parent_window_topmost_notify): Renamed from parent_window_hidden
4387 Fixes: NB#94460 (stackable window's menu is not closed when its
4390 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-touch-selector-entry.c:
4393 (+hildon_touch_selector_entry_set_input_mode),
4394 (+hildon_touch_selector_entry_get_input_mode):
4395 * src/hildon-touch-selector-entry.h: New methods to access the input
4396 mode in the selector's entry.
4398 Fixes: NB#93410 (API required for setting IM mode in
4399 HildonTouchSelectorEntry)
4401 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4403 * configure.ac: post release version bump.
4404 * debian/changelog: version bump
4406 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4411 * configure.ac: Bump version.
4412 * debian/changelog: Updates.
4414 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/hildon-touch-selector.c:
4417 (_hildon_touch_selector_has_multiple_selection): No need
4418 to initialize the variables here.
4420 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4422 * src/hildon-note-private.h
4423 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4424 (hildon_note_finalize, hildon_note_rebuild): Close information
4425 notes when they receive a button press.
4427 Fixes: NB#89890 (Information notes does not get disappeared after
4430 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4432 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4433 mark from the wizard title, as it's not really necessary. Also,
4434 do not display the page title if not set.
4436 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4439 (parent_window_hidden): Use the window's "is-topmost" property to
4440 detect when to hide the menu.
4442 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4445 (hildon_app_menu_finalize): If the parent window of the menu is
4446 hidden, hide the menu too.
4448 Fixes: NB#94460 (stackable window's menu is not closed when its
4451 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4454 * debian/libhildon1-examples.install
4456 * examples/Makefile.am:
4457 Use dh_install to install all examples.
4458 Use DEB_SRCDIR instead of defining SOURCE_DIR
4460 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4462 * configure.ac: post release version bump.
4463 * debian/changelog: version bump
4465 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4470 * configure.ac: bump version
4471 * debian/changelog: updates
4472 * debian/control: bump gtk+ dependency
4474 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4476 patch by Christian Dywan (christian@imendio.com)
4478 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4479 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4481 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4483 * src/hildon-check-button.c (hildon_check_button_init)
4484 (hildon_check_button_class_init, hildon_check_button_style_set)
4485 (hildon_check_button_apply_style):
4486 New "checkbox-size" style property.
4488 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4489 larger / configurable size)
4491 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4493 * configure.ac: post release version bump.
4494 * debian/changelog: version bump
4496 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4501 * configure.ac: bump version
4502 * debian/changelog: updates
4504 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4506 * doc/hildon-sections.txt
4507 * src/hildon-pannable-area.c
4508 * src/hildon-program.c
4509 * src/hildon-time-editor.c
4510 * src/hildon-touch-selector-entry.c:
4512 More documentation updates.
4514 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4516 * doc/hildon-sections.txt
4517 * src/hildon-caption.c
4518 * src/hildon-code-dialog.c
4519 * src/hildon-color-button.c
4520 * src/hildon-controlbar.c
4521 * src/hildon-date-editor.c
4522 * src/hildon-date-selector.c
4523 * src/hildon-edit-toolbar.c
4524 * src/hildon-find-toolbar.c
4525 * src/hildon-font-selection-dialog.c
4527 * src/hildon-program.c
4528 * src/hildon-range-editor.c
4529 * src/hildon-seekbar.c
4530 * src/hildon-time-editor.c
4531 * src/hildon-time-selector.c
4532 * src/hildon-volumebar-range.c
4533 * src/hildon-volumebar.c
4534 * src/hildon-vvolumebar.c
4535 * src/hildon-weekday-picker.c
4536 * src/hildon-window.c
4537 * src/hildon-wizard-dialog.c:
4539 Lots of documentation fixes.
4541 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4543 Patch contributed by Iván Gómez (igomez@igalia.com)
4545 * src/hildon-check-button.c:
4546 * src/hildon-date-button.c:
4547 * src/hildon-date-selector.c:
4548 * src/hildon-dialog.c:
4549 * src/hildon-edit-toolbar.c:
4550 * src/hildon-entry.c:
4551 * src/hildon-picker-button.c:
4552 * src/hildon-program.c:
4553 * src/hildon-text-view.c:
4554 * src/hildon-time-button.c:
4555 * src/hildon-touch-selector-entry.c:
4556 * src/hildon-window-stack.c:
4558 Add more "since" tags to the new API.
4560 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4562 * doc/hildon-sections.txt: Add below method.
4563 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4564 version for the hildonized scale.
4565 * src/hildon-gtk.h: Add the definition.
4567 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4569 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4571 * doc/hildon-sections.txt: Add missing entries for new methods.
4573 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4575 Added API to pannable are in order to get its adjustments. We
4576 added two properties to manage the values we had in the private
4579 * src/hildon-pannable-area.c:
4580 (hildon_pannable_area_class_init): Added hadjustment and
4581 vadjustment properties in order to expose horizontal and vertical
4583 (hildon_pannable_area_get_property),
4584 (hildon_pannable_area_set_property): Added code to handle the new
4586 (hildon_pannable_area_get_hadjustment),
4587 (hildon_pannable_area_get_vadjustment): API functions to get the
4589 * src/hildon-pannable-area.h:
4590 (hildon_pannable_area_get_hadjustment),
4591 (hildon_pannable_area_get_vadjustment): API functions to get the
4594 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4596 Fixed some leaks, after valgrinding.
4598 * src/hildon-touch-selector.c:
4599 (_default_print_func): Fixed a leak.
4600 (hildon_touch_selector_append_column): Fixed a leak.
4601 * src/hildon-date-button.c:
4602 (hildon_date_button_init): Fixed a leak.
4603 * src/hildon-date-selector.c
4604 (hildon_date_selector_finalize): Fixed a leak.
4606 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4608 Based on a patch by Christian Dywan (christian@imendio.com)
4610 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4612 * src/hildon-gtk.h: Add definition.
4614 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4616 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4618 * src/hildon-picker-button.c: (hildon_picker_button_init),
4619 (hildon_picker_button_new): Set the HildonButton::style property
4620 in the init method, to propagate the value to the derived classes.
4622 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4624 * src/hildon-button.c: (hildon_button_class_init): Do not make
4625 the "style" property a construct property.
4627 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4629 * src/hildon-wizard-dialog.h
4630 * src/hildon-wizard-dialog.c
4631 (hildon_wizard_dialog_set_forward_page_func)
4632 * src/hildon-pannable-area.h
4633 * src/hildon-pannable-area.c
4634 (hildon_pannable_area_set_size_request_policy):
4635 Documentation fixes.
4637 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4639 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4641 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4643 * doc/hildon-sections.txt: Added sections file.
4645 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4648 * src/*.[ch]: Updates.
4650 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4652 * examples/hildon-progress-indicator-example.c: new file
4653 * examples/Makefile.am: include the new example program
4655 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4659 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4661 * configure.ac: post release version bump
4662 * debian/changelog: version bump
4664 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4669 * configure.ac: bump version
4670 * debian/changelog: updates
4671 * debian/control: bump gtk+ dependency
4673 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4675 * src/hildon-dialog.c: Mark as deprecated.
4676 * src/hildon-dialog.h: Mark as deprecated.
4677 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4678 from HildonDialog and still work, even if
4679 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4680 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4682 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4683 maemo changes) instead)
4685 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4687 * src/hildon-pannable_area.h:
4688 * src/hildon-pannable_area.c:
4689 (hildon_pannable_area_class_init),
4690 (hildon_pannable_area_set_property),
4691 (hildon_pannable_area_get_property),
4692 (hildon_pannable_area_size_request),
4693 (hildon_pannable_area_get_size_request_policy),
4694 (hildon_pannable_area_set_size_request_policy): Added new API
4695 allowing applications to control the request policy. Now they can
4696 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4697 children allocation (HILDON_MOVEMENT_CHILDREN).
4699 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4703 (hildon_gtk_tree_view_set_ui_mode)
4704 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4705 mode of treeviews and iconviews.
4707 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4709 * src/hildon-touch-selector-entry.c:
4710 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4711 of a GtkEntry to get proper theming.
4713 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4714 widget, not GtkEntry)
4716 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4718 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4719 no HildonWizardDialogPageFunc.
4721 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4723 Patch contributed by Iván Gómez (igomez@igalia.com)
4725 * src/hildon-app-menu.c:
4726 * src/hildon-button.c:
4727 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4728 * src/hildon-stackable-window.c:
4729 * src/hildon-time-selector.c:
4730 * src/hildon-touch-selector.c:
4731 * src/hildon-window.c:
4733 Add more "since" tags to the new API in hildon 2.2.
4735 2008-12-05 Tim Janik <timj@imendio.com>
4737 Patch contributed by Christian Dywan (christian@imendio.com)
4739 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4740 HildonSizeType, which are supplied by Gtk+ now.
4742 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4744 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4745 (with maemo changes) instead)
4747 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4749 Patch contributed by Iván Gómez (igomez@igalia.com)
4751 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4754 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4756 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4757 (some_page_func), (main): Update the example to use a
4758 HildonWizardDialogPageFunc function.
4760 * src/hildon-wizard-dialog-private.h: Add private data for
4761 the HildonWizardDialogPageFunc function usage.
4763 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4764 (destroy), (hildon_wizard_dialog_init), (response),
4765 (hildon_wizard_dialog_set_forward_page_func):
4766 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4767 that applications can use to stop a HildonWizardDialog to jump to
4770 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4773 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4775 * src/hildon-program.h
4776 * src/hildon-program-private.h
4777 * src/hildon-program.c (hildon_program_init)
4778 (hildon_program_set_common_app_menu)
4779 (hildon_program_get_common_app_menu):
4780 New API for setting a common HildonAppMenu for all
4781 HildonStackableWindows registered with the HildonProgram.
4783 * src/hildon-stackable-window.c
4784 (hildon_stackable_window_toggle_menu):
4785 Use the common HildonAppMenu if a window doesn't have a specific
4788 * src/hildon-app-menu-private.h
4789 * src/hildon-app-menu.c
4790 (hildon_app_menu_get_parent_window):
4791 Function to obtain the window a HildonAppMenu is attached to.
4792 (hildon_app_menu_set_parent_window):
4793 Hide the menu if the parent window is set to NULL.
4795 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4797 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4798 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4799 search widget to popup.
4801 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4803 * configure.ac: post release version bump
4804 * debian/changelog: version bump
4806 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4811 * configure.ac: bump version
4812 * debian/changelog: updates
4814 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4816 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4818 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4819 (hildon_window_stack_window_realized)
4820 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4821 Set the leader GdkWindow when a window is stacked and realized,
4822 unset it when it's unstacked.
4823 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4825 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4827 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4829 * src/hildon-stackable-window.h
4830 * src/hildon-window-stack.h:
4831 Protect definition of HildonWindowStack using the preprocessor.
4833 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4835 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4836 Fix warning if all menu items are hidden.
4838 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4840 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4842 * src/hildon-controlbar.c:
4843 * src/hildon-hvolumebar.c:
4844 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4845 Multiple scale size defines updates.
4847 Fixes: NB#94322 (Scale Updates)
4849 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4851 * examples/hildon-app-menu-example.c (create_menu)
4852 Show items after adding them to the menu, as in the future the
4853 menu will no longer call gtk_widget_show() on the added items.
4855 * src/hildon-app-menu.c:
4856 Update example as explained above.
4858 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4860 * src/hildon-app-menu.c
4861 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4862 Make sure that all menu items have finger height.
4864 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4866 * src/hildon-picker-dialog.c:
4867 (_on_dialog_response), (_save_current_selection),
4868 (_restore_current_selection), (_clean_current_selection),
4869 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4870 Defined new functions in order to save the current internal selector
4871 selection previous open the dialog, in case that the use cancel the
4872 interaction, so the widget restores the previous selection.
4874 Fixes: NB#92032 (In calendar application, date values in 'new event'
4877 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4879 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4881 * src/hildon-button.c: Add a reference to the button examples in
4882 hildon-button-example.c
4884 * examples/hildon-button-example.c: Added examples of the most
4885 common button layouts.
4887 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4889 * src/hildon-app-menu.c (hildon_app_menu_show)
4890 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4892 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4894 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4896 * src/hildon-picker-dialog.c:
4897 (hildon_picker_dialog_init): Initialize the signal id for
4898 HildonTouchSelector::columns-changed.
4899 (+on_selector_columns_changed): Set up the interaction mode everytime a
4900 column is added or removed from the HildonTouchSelector.
4901 (_hildon_picker_dialog_set_selector): Connect to
4902 HildonTouchSelector::columns-changed and keep track of it.
4904 Make sure to update the interaction mode of the dialog everytime a
4905 column is added or removed in the HildonTouchSelector.
4907 Fixes: NB#93228 (Done button is not shown always in listpicker)
4909 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4911 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4912 a new ::columns-changed signal.
4913 (hildon_touch_selector_append_column): Emit ::columns-changed.
4914 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4916 Add a ::columns-changed signal, emitted when the number of columns in a
4917 HildonTouchSelector changes.
4919 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4922 (_hildon_picker_dialog_set_selector): Factor out the code
4923 to set up the dialog interaction mode.
4925 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4928 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4929 to signal_changed_id.
4931 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4933 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4936 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4938 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4939 Updated the logical ids related to ampm format, as now it is required to
4940 show it correctly localized even on languages with no default
4941 abbreviations for am or pm
4942 (_check_am_pm_format): check correctly the 24h format gconf property
4944 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4946 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4948 * src/hildon-button.c: Documentation updates.
4950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4952 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4953 * src/hildon-caption.c: (hildon_caption_class_init):
4954 * src/hildon-color-button.c: (hildon_color_button_class_init):
4955 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4956 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4957 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4958 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4960 Remove deprecated GTK+ marshalers and replace them with the ones
4961 provided by GLib, for those available, add a marshaler for
4962 BOOLEAN:VOID, which is not available in GLib, and use it.
4964 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4966 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4967 the text from the previous column if there is no
4968 HildonTouchSelectorColumn::text-property set.
4970 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-button.h
4973 * src/hildon-button.c (hildon_button_set_property)
4974 (hildon_button_get_property, hildon_button_class_init)
4975 (hildon_button_set_style, hildon_button_get_style):
4976 New "style" property to change the visual appearance of the
4979 * src/hildon-picker-button.c (hildon_picker_button_new):
4980 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4982 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4983 HildonButton look like PickerButton)
4985 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4987 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4988 column while building the default string.
4990 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4992 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4993 scroll indicator by default.
4995 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4997 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4999 * src/hildon-main.c: Fix the documentation for hildon_init()
5001 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5003 * doc/hildon-docs.sgml
5007 * src/hildon-window-stack-private.h
5008 * src/hildon-window-stack.h
5009 * src/hildon-window-stack.c:
5010 New HildonWindowStack object, that adds support for multiple
5011 stacks of windows per process.
5013 * src/hildon-stackable-window-private.h
5014 * src/hildon-stackable-window.h
5015 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
5016 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
5017 (hildon_stackable_window_show, hildon_stackable_window_hide)
5018 (hildon_stackable_window_class_init)
5019 (hildon_stackable_window_init):
5020 Use HildonWindowStack for stack management.
5022 * src/hildon-program.c (hildon_program_pop_window_stack)
5023 (hildon_program_peek_window_stack)
5024 (hildon_program_go_to_root_window):
5025 Add a fallback implementation to the deprecated functions using
5028 * examples/hildon-stackable-window-example.c:
5029 Use the new HildonWindowStack API.
5031 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-stackable-window-private.h
5034 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5035 (hildon_stackable_window_hide, hildon_stackable_window_init):
5036 Remove all window stack management.
5038 * src/hildon-program-private.h
5039 * src/hildon-program.h
5040 * src/hildon-program.c (hildon_program_init)
5041 (hildon_program_pop_window_stack)
5042 (hildon_program_peek_window_stack)
5043 (hildon_program_go_to_root_window):
5044 Remove all window stack management and mark functions as
5047 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-app-menu.c (hildon_app_menu_realize):
5050 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5052 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5054 * configure.ac: post release version bump
5055 * debian/changelog: version bump
5057 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5062 * configure.ac: bump version
5063 * debian/changelog: updates
5065 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5067 Based on initial code by Christian Dywan (christian@imendio.com)
5069 * doc/hildon-docs.sgml: Add section for hildon-main.
5070 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5071 * src/Makefile.am: Add new hildon-main.[ch]
5072 * src/hildon-defines.h: Update the icon sizes.
5073 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5074 new library initialization files and register icon sizes.
5075 * src/hildon-main.h: New declarations.
5076 * src/hildon.h: Include hildon-main.h
5078 Add new initialization functions to the library. These methods
5079 will register the hildon specific icon sizes and can be used in the
5080 future for other hildon specific bits.
5082 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5084 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5086 * src/hildon-window.c: (hildon_window_realize),
5087 (hildon_window_notify), (-hildon_window_update_title): Do not set
5088 the application name in the window title.
5090 Fixes: NB#89754 (Applications shouldn't display their names in the
5093 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5095 * src/hildon-note-private.h:
5096 * src/hildon-note.c: (hildon_note_set_property),
5097 (hildon_note_get_property), (hildon_note_class_init),
5098 (hildon_note_init), (hildon_note_finalize),
5099 (hildon_note_new_confirmation_with_icon_name),
5100 (hildon_note_new_information_with_icon_name):
5102 No need to mark as deprecated the actual code. Revert
5103 to avoid missing symbols in widgets using deprecated API.
5105 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5107 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5109 * src/hildon-volumebar.h
5110 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5111 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5113 * src/hildon-helper.h
5114 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5115 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5117 * examples/Makefile.am:
5118 Deprecate hildon-insensitive-example
5120 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5122 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5124 * examples/hildon-pannable-area-buttons-scroll-example.c:
5125 Make all buttons finger height
5127 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5129 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5131 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5132 update the day model only if it is really required, and to avoid the
5133 full-reconstruction aproach. Now it only add or remove the required days.
5135 The purpose of this is avoid superfluous HildonTouchSelector::changed
5138 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5139 with strange parameters)
5141 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5143 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5145 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5146 the WINDOW_TYPE property.
5148 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5150 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5153 Fix dependency to allow parallel compilation with make -jX
5155 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5157 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5158 color frame and some minor tweaks to make it more consistent with
5161 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5162 highlighted but not visible)
5164 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5166 * examples/Makefile.am: Fixed typo in the Makefile.am.
5168 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5170 Reviewed the use of MAEMO_GTK define, now we add the define in the
5171 compilation line, and we also add it to the pc file.
5173 * configure.ac: Added MAEMO_GTK define to the compilation command
5174 and removed it from the config.h.
5176 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5177 do not have to take care about this define if the library was
5181 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5183 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5185 * examples/Makefile.am,
5186 * examples/hildon-pannable-area-buttons-scroll-example.c,
5187 * examples/hildon-pannable-area-gesture-signals-example.c,
5188 * examples/hildon-pannable-area-scroll-jump-example.c,
5189 * examples/hildon-pannable-area-tree-view-example.c:
5190 Renamed the pannable area examples, now they have more meaningful
5193 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5195 * src/hildon-touch-selector.c:
5196 (hildon_touch_selector_set_column_selection_mode): Used of
5197 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5198 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5199 to avoid re-seting the same selection mode.
5201 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5202 breaks HildonPickerDialog)
5204 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5206 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5207 conditional in the Makefile.am
5209 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5211 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5212 Remove unused methods.
5214 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5216 * src/hildon-button.c (hildon_button_init):
5217 Make button images center-aligned by default
5219 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5222 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5223 activated, we have to think about how to deal with both defines
5224 MAEMO_GTK and MAEMO_CHANGES.
5226 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5228 * examples/hildon-app-menu-example.c (create_menu): Make all
5229 buttons finger size.
5231 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5233 Fixed the compilation without maemo gtk adding ifdefs with
5234 MAEMO_GTK define to the code, we have to check this version more
5237 * examples/Makefile.am: Added control to avoid some examples that
5238 just make sense with maemo gtk.
5241 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5242 hildon modes with the define.
5244 * examples/hildon-edit-toolbar-example.c,
5245 (create_icon_view): Create the icon view without hildon-gtk
5246 helpers if we are not using maemo gtk.
5248 * src/hildon-touch-selector.c,
5249 (_create_new_column): Create the treeview without hildon-gtk
5250 helpers if we are not using maemo gtk.
5252 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5254 * src/hildon-pnnable-area.c,
5255 (hildon_pannable_area_dispose),
5256 (hildon_pannable_area_button_press_cb),
5257 (hildon_pannable_area_child_mapped),
5258 (hildon_pannable_area_add),
5259 (hildon_pannable_area_remove): Added code to control the position
5260 of the event_window when adding and removing children from the
5261 pannable. We have to raise the event window when the child is
5264 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5265 selection mode using custom widget inside pannable)
5267 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5269 * configure.ac: post release version bump
5270 * debian/changelog: version bump
5272 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5277 * configure.ac: bump version
5278 * debian/changelog: updates
5280 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5282 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5283 search mode, in order to avoid lose the focus on the treeview when
5284 a hw key (like enter) is pressed.
5286 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5287 in HildonDateSelector dialog)
5289 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5291 * debian/rules: Added --enable-maintainer-mode
5292 * Makefile.am: Added ACLOCAL_AMFLAGS
5294 This allows to properly regenerate the Makefiles if you modify the
5295 configure.ac or any Makefile.am.
5297 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5299 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5300 properties, not needed at all.
5302 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5306 * src/hildon-note.c: (hildon_note_set_property),
5307 (hildon_note_get_property), (hildon_note_class_init),
5308 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5309 (hildon_note_new_confirmation_add_buttons): Remove icons.
5310 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5311 (hildon_note_new_information_with_icon_name): Deprecate.
5312 (hildon_note_new_confirmation): Act directly, without calling
5313 the deprecated constructor.
5314 (hildon_note_new_information): Act directly, without calling
5315 the deprecated constructor.
5316 * src/hildon-note.h: Mark deprecate methods as such.
5317 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5318 not run tests on the deprecated methods if built with deprecation
5321 Fixes: NB#91688 (Never show icons in information notes/confirmation
5324 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5326 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5327 (hildon_app_menu_key_press): Remove leftover usage of the
5328 private structure in HildonAppMenu struct.
5329 * src/hildon-app-menu.h: Remove leftover private structure
5330 from the HildonAppMenu struct.
5332 Fixes a crasher when using the HildonAppMenu.
5334 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5336 * src/hildon-picker-dialog.c: Use appropriate logical id
5337 for the default "Done" text.
5339 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5341 * configure.ac: post release version bump
5342 * debian/changelog: version bump
5344 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5346 Modified the way to scroll to the current selection just when the touch
5347 selector is shown on the screen, avoiding a g_idle. Added too a property
5348 to configure this behaviour. See hildon_pannable_area_jump_to_child
5349 documentation for more information.
5351 * src/hildon-touch-selector.c
5352 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5353 Added 'initial-scroll' property
5354 (hildon_touch_selector_set_property): Added
5355 (hildon_touch_selector_map): Removed as not required anymore
5356 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5357 only a concrete column, instead of iterate along all the columns
5359 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5364 * configure.ac: bump version
5365 * debian/changelog: updates
5367 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5369 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5370 compilation time warnings.
5372 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5374 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5375 the default value for HildonPannableArea::mov-mode to
5376 HILDON_PANNABLE_AREA_MODE_VERT.
5378 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5380 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5382 Reverting following commit:
5384 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5386 * src/hildon-app-menu-private.h
5387 * src/hildon-app-menu.[ch]
5388 * src/hildon-button.[ch]
5389 * src/hildon-check-button.[ch]
5390 * src/hildon-entry.[ch]
5391 * src/hildon-pannable-area.[ch]
5392 * src/hildon-text-view.[ch]:
5393 Added private field to the object's structure.
5395 because it causes an ABI breakage. We will need to introduce these
5396 changes later at some point. See NB#91636 for an extensive
5397 explanation and status.
5399 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5401 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5403 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5404 remove special cases that are no longer necessary.
5406 Fixes: NB#91016 (Change toolbar sizes, simplification)
5408 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5410 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5411 is shown in the cancel note.
5413 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5415 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5416 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5417 (hildon_seekbar_init): Remove steppers, remove expose event.
5418 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5420 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5422 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5424 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5425 label font to "SmallSystemFont" for vertically arranged buttons.
5427 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5430 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-check-button.c
5433 (hildon_check_button_set_active, hildon_check_button_clicked):
5434 Don't access private parts directly, use getters instead.
5436 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5438 * src/hildon-check-button.c (hildon_check_button_new):
5439 Align the contents of the check button to the left.
5441 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5443 * src/hildon-pannable-area.c,
5444 (hildon_pannable_area_scroll_to),
5445 (hildon_pannable_area_jump_to),
5446 (hildon_pannable_area_scroll_to_child),
5447 (hildon_pannable_area_jump_to_child): Replace the mapped
5448 precondition of these functions with the realized, it is the
5449 correct state of the widget in this case. Changed the
5450 documentation according to this modification.
5452 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5454 Added a new EXTRA_CFLAGS option to add the deprecated define to
5455 the compilation command. This way we can avoid using the define in
5456 the documentation compilation.
5458 * configure.ac: Defined EXTRA_CFLAGS.
5460 * examples/Makefile.am:
5462 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5464 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5466 * src/hildon-picker-dialog.c:
5467 Defined a utility macro with the desired touch selector height
5468 Removed currently unused separator, and title_label variables from
5470 (hildon_picker_dialog_init): Removed code related to the creation
5471 of unused private variables title_label and separator.
5472 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5473 to ensure correct visualization of the touch selector inside the dialog.
5474 * src/hildon-touch-selector.c
5475 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5476 ensure a concrete height of the widget.
5478 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5481 * tests/Makefile.am:
5483 Remove spurious whitespaces.
5485 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5488 compilation warning after the cancel button removal.
5490 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5492 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5494 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5495 Makefile.am, that way we can choose not to compile some examples
5496 and tests of the deprecated widgets.
5498 * examples/Makefile.am: Divided the sources in deprecated and
5501 * src/Makefile.am: Added undef statement of the deprecated
5502 symbol to the enums file generation process.
5504 * src/hildon-color-chooser-dialog.c
5505 * src/hildon-color-chooser-dialog.h
5506 * src/hildon-color-button.c
5507 * src/hildon-color-button.h
5508 * src/hildon-color-chooser.c
5509 * src/hildon-color-chooser.h
5510 * src/hildon-controlbar.c
5511 * src/hildon-controlbar.h
5512 * src/hildon-date-editor.c
5513 * src/hildon-date-editor.h
5514 * src/hildon-hvolumebar.c
5515 * src/hildon-hvolumebar.h
5516 * src/hildon-private.c
5517 * src/hildon-private.h
5518 * src/hildon-range-editor.c
5519 * src/hildon-range-editor.h
5520 * src/hildon-seekbar.c
5521 * src/hildon-seekbar.h
5522 * src/hildon-time-editor.c
5523 * src/hildon-time-editor.h
5524 * src/hildon-time-picker.c
5525 * src/hildon-time-picker.h
5526 * src/hildon-volumebar.c
5527 * src/hildon-volumebar.h
5528 * src/hildon-vvolumebar.c
5529 * src/hildon-vvolumebar.h
5530 * src/hildon-bread-crumb-trail.h
5531 * src/hildon-bread-crumb-trail.c
5532 * src/hildon-calendar-popup.c
5533 * src/hildon-calendar-popup.h
5534 * src/hildon-weekday-picker.c:
5535 * src/hildon-weekday-picker.h:
5536 * src/hildon-bread-crumb-widget.c:
5537 * src/hildon-bread-crumb-widget.h:
5538 * src/hildon-bread-crumb.c:
5539 * src/hildon-bread-crumb.h:
5540 * src/hildon-calendar.c:
5541 * src/hildon-calendar.h:
5542 * src/hildon-caption.c:
5543 * src/hildon-code-dialog.c:
5544 * src/hildon-code-dialog.h:
5545 * src/hildon-font-selection-dialog.c:
5546 * src/hildon-font-selection-dialog.h:
5547 * src/hildon-get-password-dialog.c:
5548 * src/hildon-get-password-dialog.h:
5549 * src/hildon-login-dialog.c:
5550 * src/hildon-login-dialog.h:
5551 * src/hildon-number-editor.c:
5552 * src/hildon-number-editor.h:
5553 * src/hildon-set-password-dialog.c:
5554 * src/hildon-set-password-dialog.h:
5555 * src/hildon-sort-dialog.c:
5556 * src/hildon-sort-dialog.h: This is the list of deprecated
5559 * src/hildon-touch-selector.c:
5560 * src/hildon-window.c: Added undef statement to avoid compilation
5563 * tests/Makefile.am: Divided the sources in deprecated and
5566 * tests/check_test.c,
5567 (configure_tests): Marked the deprecated code that was adding
5568 suites with deprecated tests.
5570 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5572 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5574 * src/hildon-touch-selector.c: (_default_print_func): Do not
5575 duplicate a string returned by gtk_tree_model_get(), it is already
5578 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5581 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5583 * src/hildon-pannable-area.c
5584 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5585 method, it had problems when adding a widget with viewport the
5586 second time. Now checks if it already has a viewport and uses it.
5588 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5591 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5593 * src/hildon-pannable-area.c,
5594 (hildon_pannable_area_scroll_to),
5595 (hildon_pannable_area_jump_to),
5596 (hildon_pannable_area_scroll_to_child),
5597 (hildon_pannable_area_jump_to_child): Added a precondition to the
5598 scroll and jump to functions: the widget must be mapped before we
5599 can safely call these functions. We have also added documentation
5600 to the functions to explain how to use them in this situation.
5603 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5605 Reviewed the threading handling of the pannable widget, we have
5606 used the gdk_threads_add_timeout function instead of the usual
5607 glib handlers. This avoids some problems with the threads.
5609 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5610 (hildon_pannable_area_initial_effect),
5611 (hildon_pannable_area_scroll_indicator_fade),
5612 (hildon_pannable_area_button_press_cb),
5613 (hildon_pannable_area_timeout),
5614 (hildon_pannable_area_motion_notify_cb),
5615 (hildon_pannable_area_button_release_cb),
5616 (hildon_pannable_area_scroll_cb),
5617 (hildon_pannable_area_scroll_to): Removed the
5618 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5619 gdk_threads_add_timeout.
5621 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5623 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5628 * configure.ac: bump version
5629 * debian/changelog: updates
5631 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5633 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5634 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5635 * src/hildon-color-chooser-dialog.c:
5636 (hildon_color_chooser_dialog_init):
5637 * src/hildon-font-selection-dialog.c:
5638 (hildon_font_selection_dialog_init):
5639 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5641 Remove all cancel/close-like dialogs, as these are not going to be
5644 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5646 * src/hildon-note.c: (hildon_note_rebuild),
5647 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5650 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5652 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5654 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5655 sure all buttons are shown, even the Cancel/Close-like ones.
5657 Fixes: NB#90861 (Custom Confirmation dialogs should be
5658 protected from cancel button removal)
5660 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5662 * debian/control: Change libhildon1-examples dependency from libhildon1
5664 * debian/libhildon1-examples.install
5666 * Makefile.am: Modified the final install directory for the examples on
5667 package libhildon1-examples
5668 * Makefile.static: Update clean target in order to remove all the binary
5671 Changes suggested by Claudio after review new libhildon1-examples package
5673 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5675 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5676 * src/hildon-touch-selector.c: Ditto.
5678 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5680 * debian/control: Added new package libhildon1-examples, in order to pack
5681 the current hildon examples as documentation
5682 * debian/rules: Not to compress .c files, modify some includes on the
5683 examples (as normally are compiled locally, but when installed it will
5684 require to include the installed libhildon1 library), and rename
5686 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5687 install all the example files on the new example package
5688 * examples/Makefile.static: Added static makefile that can be used to
5689 compile the examples, once installed the new example package
5690 * examples: Most of the examples were modified in order to grant that
5691 all use only '#include "hildon.h"', in order to be easy to prepare
5692 it on the example package
5694 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5697 * debian/libhildon1-dev.install
5698 * debian/libhildon1-doc.install:
5699 Move all gtk-doc files to a separate libhildon1-doc package.
5701 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5703 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5705 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5707 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5709 * debian/rules: Fixed a error in order to avoid unnecessary calls
5710 to autogen.sh on package building
5712 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5714 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5716 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5718 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5721 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5723 * src/hildon-picker-button.c
5724 (hildon_picker_button_finalize):
5725 Free priv->done_button_text
5727 * src/hildon-time-button.c
5728 (hildon_time_button_set_time)
5729 * src/hildon-picker-button.c
5730 (hildon_picker_button_clicked)
5731 (hildon_picker_button_selector_selection_changed)
5732 (hildon_picker_button_set_selector)
5733 * src/hildon-date-button.c
5734 (hildon_date_button_set_date):
5735 Free strings returned by hildon_touch_selector_get_current_text()
5737 * src/hildon-button.c (hildon_button_construct_child):
5738 Fix leaks in priv->image and priv->label_box
5740 Fixes: NB#90535 (Memory leak in picker button)
5742 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5744 * src/hildon-button.c: (hildon_button_get_property): Do not access
5745 private elements directly, use getters instead.
5747 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5749 * src/hildon-app-menu-private.h
5750 * src/hildon-app-menu.c
5751 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5752 Store the menu's parent window.
5754 * src/hildon-stackable-window.c
5755 (hildon_stackable_window_toggle_menu)
5756 (hildon_stackable_window_finalize):
5757 Set the menu's parent window when the menu is shown, unset it when
5760 * src/hildon-app-menu.c
5761 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5762 (hildon_app_menu_class_init):
5763 Send unhandled keyboard accelerators to the parent window.
5765 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5767 * src/hildon-stackable-window.c
5768 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5770 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5772 * configure.ac: post release version bump
5774 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5777 * configure.ac: Bump version
5778 * debian/changelog: Updates
5779 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5782 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5784 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5787 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5788 GtkMenu with Hildon style.
5790 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5792 * src/hildon-picker-button.c:
5793 (hildon_picker_button_set_done_button_text): Set the dialog's
5794 done button text here as well.
5796 Fixes: NB#90232 (Picker button does not set the label on done button
5797 for the second time)
5799 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5801 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5804 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5806 * src/hildon-app-menu.c (hildon_app_menu_insert)
5807 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5808 the HildonAppMenu to be activatable using keyboard accelerators
5809 when the menu is not being shown.
5811 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5813 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5815 * src/hildon-stackable-window.c
5816 (hildon_stackable_window_show):
5817 Don't hide old windows automatically when new windows are shown:
5818 this is now a task for the window manager.
5819 (hildon_stackable_window_class_init)
5820 (hildon_stackable_window_hide):
5821 Remove windows from the stack everytime they're hidden.
5822 (hildon_stackable_window_realize):
5823 Don't change the _NET_WM_WINDOW_TYPE property. Use
5824 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5825 it as a stackable window.
5827 * src/hildon-program.c
5828 (hildon_program_pop_window_stack):
5829 Just hide the window to remove it from the stack.
5830 (hildon_program_go_to_root_window):
5831 Don't call gtk_widget_show(), this is now a task for the window
5834 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5836 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-button.c
5839 (hildon_button_construct_child):
5840 Don't pack anything in the button until text or image are
5841 set. This allows adding a custom child after creating the button
5842 with hildon_button_new().
5843 (hildon_button_finalize, hildon_button_class_init)
5844 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5845 alignment and the label box even when they're not packed in the
5848 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5850 * src/hildon-touch-selector.h:
5851 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5852 currently the type definition was using GTK_TYPE_VBOX
5853 * src/hildon-touch-selector.c:
5854 Added some implementation notes in order to clarify that any other widget
5855 added without the column related API will not be included on the
5856 selection logic, and how the widget is freed, as some people ask about
5858 (hildon_touch_selector_remove): Reimplemented in order to free properly
5859 the column related data when you remove the private hbox.
5860 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5861 to get a proper HildonTouchSelectorColumn documentation
5863 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5865 * src/hildon-touch-selector-entry.c:
5866 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5867 text in the GtkEntry and there is no item selected. Fixes a
5870 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-app-menu-private.h
5873 * src/hildon-app-menu.[ch]
5874 * src/hildon-button.[ch]
5875 * src/hildon-check-button.[ch]
5876 * src/hildon-entry.[ch]
5877 * src/hildon-pannable-area.[ch]
5878 * src/hildon-text-view.[ch]:
5879 Added private field to the object's structure.
5881 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5883 * configure.ac: post-release version bump
5885 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5889 * configure.ac: pre-release version bump
5891 * debian/changelog: updates.
5893 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5895 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5896 Disconnect the handler for HildonTouchSelector::changed.
5898 (hildon_picker_button_selector_selection_changed): Update the button
5899 value if the selection change was not triggered by the
5902 (hildon_picker_button_set_selector): connect to
5903 HildonTouchSelector::changed.
5905 Fixes: NB#89650 (Picker button is not updated, when selection in
5906 selector has changed)
5908 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5910 * src/hildon-picker-dialog.c
5911 (hildon_picker_dialog_realize): Removed as not required
5912 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5913 * src/hildon-picker-button.c
5914 (_current_selector_empty): New function, checks if the selector is empty
5915 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5916 if the current selector is empty, in order to avoid to show the dialog
5917 close the dialog in this case (and shows a g_warning).
5919 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5921 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5923 * src/hildon-pannable-area.c,
5924 (hildon_pannable_area_scroll): Added clause to stop movement when
5925 the child of pannable is smaller than one page.
5926 (hildon_pannable_area_scroll_to): Added conditions to avoid
5927 starting the scrolling movement if the child is smaller than one
5928 page, the complete child is in the screen, we do not have to move.
5930 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5932 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5934 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5935 this is managed automatically by the widget when the size of the
5938 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5940 * src/hildon-picker-button.c
5941 (hildon_picker_button_set_done_button_text): Make a copy of the
5942 text, and free the previous value.
5944 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5946 * src/hildon-touch-selector-entry.c:
5947 (hildon_touch_selector_entry_print_func): Return the selected row's
5948 text if the entry is empty.
5950 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5953 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5955 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5957 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5960 * src/hildon-check-button.h
5961 * src/hildon-check-button.c
5962 * examples/hildon-check-button-example.c:
5963 HildonCheckButton is now a new widget. 'toggled' signal added.
5965 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-program-private.h
5968 * src/hildon-program.c (hildon_program_init)
5969 (hildon_program_finalize): Removed unused variables group_leader
5970 and name from HildonProgramPrivate.
5972 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5974 * src/hildon-check-button.c (hildon_check_button_set_active)
5975 (hildon_check_button_get_active, hildon_check_button_new): Use
5976 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5978 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5980 * src/hildon-touch-selector.h
5981 (hildon_touch_selector_set_column_attributes): added deprecation
5982 guard HILDON_DISABLE_DEPRECATED
5983 * src/hildon-time-selector.c
5984 (hildon_time_selector_set_time)
5985 (hildon_time_selector_get_time): Fixed a typo on documentation
5986 * src/hildon-touch-selector.c: update HildonTouchSelector and
5987 HildonTouchSelectorColumn documentation
5988 * src/hildon-touch-selector-entry.c: update "text-column" property
5990 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5991 to be added to the general documentation.
5993 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5995 * examples/hildon-pannable-area-example-4.c,
5997 * examples/hildon-pannable-area-example.c,
5998 (main): Modified the code in order to use the container add, with
5999 viewport treeviews could have problems if they are really big.
6001 2008-10-06 Alejandro G. Castro <alex@igalia.com>
6003 * src/hildon-weekday-picker.c,
6004 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
6005 the agreement regarding deprecation in the library.
6007 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6009 * examples/hildon-picker-button-multicolumn-example.c:
6010 (main): Use custom "done" button text.
6012 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
6013 (hildon_picker_button_set_property),
6014 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
6015 (hildon_picker_button_init),
6016 (+hildon_picker_button_get_done_button_text),
6017 (+hildon_picker_button_set_done_button_text): New methods to customize
6018 the "done" button label in the launched HildonPickerDialog. Also,
6021 * src/hildon-picker-button.h: add the public API.
6023 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
6025 * src/hildon-date-selector.h:
6026 * src/hildon-picker-dialog.h:
6027 * src/hildon-time-selector.h:
6028 * src/hildon-touch-selector-column.h:
6029 * src/hildon-touch-selector.h:
6031 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
6032 declarations. Fixes gtk-doc warnings.
6034 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6036 * src/hildon-picker-dialog.h
6037 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
6038 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
6040 Fixes: NB#89329 (selectors in picker dialog are not visible when a
6041 long text is set as label for done button)
6043 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6045 * src/hildon-dialog.c (hildon_dialog_add_button):
6046 Set fixed width to all buttons in the HildonDialog.
6048 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6050 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6052 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6053 Set widget name using class name plus "-finger" or "-thumb".
6055 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6058 'clicked' when the state of the button is manually changed.
6060 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-app-menu.c (hildon_app_menu_realize)
6063 (hildon_app_menu_unrealize, hildon_app_menu_init)
6064 (hildon_app_menu_class_init, item_visibility_changed):
6065 Change the menu layout when the size of the screen changes.
6066 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6067 Show warning only when changing the number of colums using the
6070 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6072 * debian/compat: Set to 5
6073 * debian/control: Update dependencies.
6074 * debian/libhildon1-dbg.install: Remove.
6075 * debian/libhildon1-dev.install: Update according to cdbs paths.
6076 * debian/libhildon1.install: Update according to cdbs paths.
6077 * debian/rules: Switch to cdbs.
6079 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6081 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6082 'item' variable renamed to 'filter'
6084 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6086 * src/hildon-app-menu.c (hildon_app_menu_insert)
6087 (hildon_app_menu_add_filter, remove_item_from_list)
6088 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6089 Don't leak hidden items when the menu is destroyed.
6091 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6093 * src/hildon-app-menu.c (hildon_app_menu_insert)
6094 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6095 (hildon_app_menu_set_columns, item_visibility_changed)
6096 (filter_visibility_changed, hildon_app_menu_repack_filters)
6097 (hildon_app_menu_repack_items):
6098 Repack items and filters separately.
6100 Don't repack all items, change only the ones that are needed to
6103 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6105 * src/Makefile.am: added hildon-touch-selector-column.h
6107 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6109 * src/hildon-touch-selector.c: added the property "text-column" to the
6110 class HildonTouchSelectorColumn, and related get/set functions
6111 (_default_printf_func): updated to use "text-column" property
6112 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6113 "text-column" in his documentation, as this is now included on
6114 HildonTouchSelectorColumn. The get/set_property can still be used,
6115 working as a wrapper to the concrete column "text-column" property
6116 (_text_column_modified): callback added in order to handle the signal
6117 "notify::text-column" of the concrete HildonTouchSelectorColumn
6118 (hildon_touch_selector_entry_get_text_column)
6119 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6120 modified in order to use the HildonTouchSelectorColumn "text-column"
6122 * src/hildon-time-selector.c:
6123 * src/hildon-date-selector.c:
6124 * examples/hildon-touch-selector-example.c
6125 * examples/hildon-touch-selector-multi-cells-example.c
6126 * examples/hildon-picker-button-multicolumn-example.c
6127 Set the right value to "text-column" property on the creation of a new
6128 column using hildon_touch_selector_append_column()
6130 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6132 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6134 * src/hildon-app-menu.c
6135 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6136 updating the layout of the menu, don't create all widgets again,
6137 just repack the items in their new places.
6139 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6141 * src/hildon-time-selector.c
6142 (hildon_time_selector_get_time)
6143 (hildon_time_selector_set_time)
6144 Added documentation of these public methods
6146 * src/hildon-date-button.h
6147 * src/hildon-touch-selector-column.h
6148 * src/hildon-time-button.h
6149 * src/hildon-picker-dialog.h
6150 * src/hildon-time-selector.h
6151 * src/hildon-picker-button.h
6152 * src/hildon-touch-selector.h
6153 * src/hildon-time-picker.h
6154 * src/hildon-date-selector.h
6155 * src/hildon-touch-selector-entry.h
6156 Modified in order to use hildon-widgets code style
6158 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6160 Added deprecated support to the compilation process using
6161 HILDON_DISABLE_DEPRECATED
6163 * configure.ac: Added the --disable-deprecated to the configure
6166 * src/hildon-weekday-picker.c:
6167 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6168 to use the deprecated support. We will update the other deprecated
6169 widgets status in a new patch.
6171 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6173 * configure.ac: Fixed typo with fatal warnings support, the
6174 variable name was not correct
6176 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-app-menu.c
6179 * src/hildon-program.c: Update documentation.
6181 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6183 * configure.ac: Post-release version bump.
6185 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6190 * configure.ac: Pre-release version bump.
6191 * debian/changelog: Updates.
6193 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6195 * NEWS: Update news for previous releases.
6197 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6199 * examples/hildon-touch-selector-multi-cells-example.c:
6200 (create_selector): Update the example to use
6201 hildon_touch_selector_append_column() with a NULL renderer and set
6202 the renderers later.
6203 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6204 passed a NULL renderer. This is documented behavior now.
6206 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6207 This must be used if the developer wants full control on the layout of
6208 the renderers to be added to the column.
6210 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6212 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6214 * src/hildon-touch-selector.c: Documentation fixes.
6216 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6218 * src/hildon-wizard-dialog-private.h: Remove image and box.
6219 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6220 (hildon_wizard_dialog_set_property), (response): Completely remove
6221 image/icon support, and the containers required for the layout.
6223 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6225 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6227 * src/hildon-app-menu.c: Updated documentation.
6229 * src/hildon-stackable-window.c
6230 (hildon_stackable_window_set_main_menu): Unref the old menu after
6231 ref'ing the new one.
6233 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6235 * src/hildon-stackable-window.c
6236 (hildon_stackable_window_set_main_menu): Unref the previous menu
6237 instead of destroying it.
6239 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6240 floating reference and set has_user_ref_count to FALSE to make
6241 HildonAppMenu act like a normal ref-counted widget and not a
6244 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6247 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6249 * src/hildon-touch-selector-column.h: new file
6250 * src/hildon-touch-selector.h
6251 * src/hildon-touch-selector.c
6252 Implemented GtkCellLayout interface, in order to allow to configure
6253 the cell layout on each individual selector column
6254 (hildon_touch_selector_set_column_attributes): marked as deprecated
6255 * examples/hildon-touch-selector-multi-cells-example.c
6256 Example of how to use the GtkCellLayout interface on the selector
6258 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6260 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-app-menu.h
6263 * src/hildon-app-menu.c
6264 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6265 (hildon_app_menu_append, hildon_app_menu_prepend):
6266 New methods to prepend, insert and move items in the menu.
6268 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6270 * src/hildon-wizard-dialog.c:
6272 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6274 (create_title): Update logical IDs and related code.
6275 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6277 * src/hildon-wizard-dialog.h: Note that
6278 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6279 point, as it is not used anymore.
6281 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6283 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6285 * src/hildon-note.c:
6286 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6287 shown. Do not display an icon in confirmation notes nor information
6289 (hildon_note_set_button_text): Update logical ID for cancel button.
6291 Fixes: NB#88850 (Update HildonNote button strings + signals)
6293 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-stackable-window.c
6296 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6298 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6300 * src/hildon-app-menu-private.h
6301 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6302 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6303 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6304 temporary property 'columns' to change the number of columns.
6306 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6308 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6310 * examples/hildon-note-example.c: (on_information_clicked),
6311 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6312 debugging information.
6313 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6315 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6316 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6317 in order to close: this will be handled by the WM from now on.
6319 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6321 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6323 * src/hildon-app-menu-private.h
6324 * src/hildon-app-menu.c
6325 (hildon_app_menu_append, hildon_app_menu_add_filter)
6326 (button_visibility_changed, hildon_app_menu_apply_style)
6327 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6328 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6329 layout everytime a button (item or filter) is shown or hidden.
6331 * src/hildon-stackable-window.c
6332 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6335 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6337 * src/hildon-touch-selector.c:
6338 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6339 that the treeview inside the touch selector is in fremantle hildon mode
6340 * examples/hildon-date-button-example.c
6341 * examples/hildon-picker-button-multicolumn-example.c
6342 * examples/hildon-touch-selector-entry-example.c
6343 * examples/hildon-touch-selector-example.c
6344 * examples/hildon-time-button-example.c
6345 * examples/hildon-picker-button-example.c:
6346 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6348 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6350 * examples/hildon-text-view-example.c: (main): Remove the
6351 gtkrc bits, now handled by the theme.
6353 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6355 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6358 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6360 * po/Makefile.am: Install properly the mo files.
6361 * po/en_GB.po: Update translation, to ease testing purposes.
6363 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6365 * examples/hildon-picker-button-example.c: (main): Select an item
6366 in the selector before setting it to the button.
6368 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6370 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6371 Update button's value if the selector has an item active.
6373 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6374 'value' with the selector)
6376 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6378 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6379 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6380 (hildon_picker_button_class_init): Plug the finalize method.
6381 (hildon_picker_button_set_selector): If there's a previously set
6382 selector, unref'it before setting a new one.
6384 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6385 HildonTouchSelector)
6387 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6389 * src/hildon-touch-selector-entry.c:
6390 (hildon_touch_selector_entry_changed): Check if there is no text
6391 selected before setting the entry text.
6394 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-touch-selector.h
6397 * src/hildon-touch-selector.c
6398 (hildon_touch_selector_get_active)
6399 (hildon_touch_selector_set_active): New methods to set/get the
6400 index of the selected item.
6402 * src/hildon-picker-button.h
6403 * src/hildon-picker-button.c
6404 (hildon_picker_button_get_active)
6405 (hildon_picker_button_set_active): New methods to set/get the
6406 index of the selected item.
6408 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6410 * configure.ac: post-release version bump.
6412 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6416 * configure.ac: Pre-release version bump.
6417 * debian/changelog: Updates.
6418 * debian/control: Add myself as maintainer and depend on l10n
6421 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-window.c
6424 (hildon_window_set_main_menu)
6425 * src/hildon-stackable-window.c
6426 (hildon_stackable_window_set_main_menu):
6427 Updated documentation.
6429 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6431 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6432 Don't free selector->priv manually.
6435 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6438 (hildon_gtk_window_set_progress_indicator):
6439 * src/hildon-gtk.h: Added the new API
6440 hildon_gtk_window_set_progress_indicator, it changes the state of
6441 the window progress hint.
6443 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6445 * src/hildon-button.c
6446 * src/hildon-stackable-window.c: Minor documentation updates.
6448 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6450 * src/hildon-stackable-window.c: Updated documentation.
6452 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6454 * src/hildon-defines.h: Update margins definitions
6455 to the Fremantle sizes.
6458 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6460 * src/hildon-touch-selector.c,
6461 (_hildon_touch_selector_set_model): Cleaning the code after
6462 review, removed g_print and #if 0 from the code.
6464 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6466 * src/hildon-edit-toolbar.c: Update documentation.
6468 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6470 * src/hildon-check-button.h
6471 * src/hildon-check-button.c
6472 (hildon_check_button_set_label, hildon_check_button_get_label)
6473 * examples/hildon-check-button-example.c
6474 (button_clicked_cb):
6475 Removed deprecated methods.
6477 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6479 * src/hildon-text-view.c:
6480 Add sample code to the documentation.
6482 * src/hildon-entry.h
6483 * src/hildon-text-view.h:
6484 Minor cosmetic changes.
6486 * src/hildon-entry.c:
6487 Add sample code to the documentation.
6488 (hildon_entry_init, hildon_entry_refresh_contents):
6489 Don't allow NULL values in the placeholder.
6491 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6493 * doc/hildon-docs.sgml
6495 * examples/Makefile.am
6496 * examples/hildon-text-view-example.c
6498 * src/hildon-text-view.c
6499 * src/hildon-text-view.h
6501 New HildonTextView widget, with example.
6503 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6505 * po/POTFILES.in: Add missing files with translatable strings.
6506 Partially fixes NB#88287.
6508 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6510 * examples/hildon-pannable-area-example-2.c: (main): No need to
6511 set the cellrenderer height inside hildon touch lists, the theme does
6514 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6516 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6517 they are integrated in the theme.
6519 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6521 * examples/hildon-entry-example.c: Update the example adding
6522 widgets to modify the text and the placeholder of the HildonEntry.
6524 * src/hildon-entry.c: Show the placeholder everytime the widget
6525 is empty and loses the focus.
6527 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6529 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6531 * src/hildon-pannable-area.c,
6532 (hildon_pannable_area_size_request): Fixed bug in height
6533 requisition, avoid increasing size and add border twice.
6535 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6537 * configure.ac: postrelease version bump.
6539 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6543 * configure.ac: Prerelease version bump.
6544 * debian/changelog: update.
6545 * debian/rules: make -dbg package contain useful debugging symbols.
6547 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6549 * src/hildon-dialog.h
6550 * src/hildon-dialog.c
6551 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6552 New methods to add buttons with finger size.
6553 (hildon_dialog_new_with_buttons):
6554 Create buttons with finger size.
6556 * examples/hildon-dialog-example.c (main): Use HildonDialog
6557 methods to add buttons.
6559 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6561 * src/hildon-entry.c: Updated HildonButton documentation.
6563 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6566 button value label with (FALSE, FALSE) to prevent NB#88126 from
6569 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6571 * examples/hildon-pannable-area-example.c,
6572 (main): Removed examples panning a vbox inside a pannable
6573 area. Check bug NB#87965
6575 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6577 Patch contributed by Kris Rietveld (kris@imendio.com)
6579 * src/hildon-pannable-area.c,
6580 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6581 get_size and get_position, this saves an X server roundtrip.
6583 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6585 * doc/hildon-docs.sgml
6587 * examples/Makefile.am
6588 * examples/hildon-entry-example.c
6590 * src/hildon-entry.c
6591 * src/hildon-entry.h
6593 New HildonEntry widget, with example.
6595 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6597 * src/hildon-button.c (hildon_button_construct_child): Pack the
6598 image with expand == fill == FALSE. This is a workaround for a bug
6601 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6603 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6604 labels for the text column, to make it more look more dynamic.
6606 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6608 * src/hildon-time-selector.c
6609 Define gettext auxiliar macro N_
6610 (_create_minutes_model)
6611 (_create_hours_model)
6612 (_create_ampm_model): use of strftime in order to fill the model
6613 * src/hildon-date-selector.c
6614 (hildon_date_selector_finalize):
6615 (_locales_init): remove the logic related to get the name of the months
6616 using nl_langinfo, as it is not required anymore
6618 (_create_year_model)
6619 (_create_month_model)
6620 (_update_day_model): use of strftime in order to fill the model properly
6623 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6625 * src/hildon-button.h
6626 * src/hildon-button.c (hildon_button_get_image): New method to
6629 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6631 * src/hildon-touch-selector.c:
6632 (hildon_touch_selector_remove_column): Remove from the correct parent
6633 and also remove the list element and free it.
6636 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6638 * src/hildon-time-selector.c
6639 (_create_hours_model): change the range on 12h ampm format in order to use
6640 a 12-11 range instead of previous 01-12 range
6641 (hildon_time_selector_set_time): change the way to select the current time
6642 on 12h ampm format, due the change on the range
6643 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6646 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6648 * src/hildon-touch-selector.c
6649 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6650 in order to allow use this function on multiple row selection mode if
6651 the column is different that the first one
6654 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6656 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6657 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6659 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6661 * src/hildon-date-selector.h: clean some comments, now on the .c
6662 * src/hildon-date-selector.c
6663 (hildon_date_selector_select_month): first implementation
6664 (hildon_date_selector_select_day): added documentation, reimplemented
6665 using hildon_date_selector_select_current_date to avoid repeat code
6668 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6670 Reviewed interaction logic based on device experiences, refactored
6673 * src/hildon-pannable-area.c,
6674 (hildon_pannable_area_class_init): Updated default vmax speed.
6675 (hildon_pannable_area_calculate_velocity): Added this function, it
6676 avoids duplicate valocity calculation. Adjusted calculation to
6677 avoid problems with zero dist events.
6679 (hildon_pannable_area_motion_notify_cb): Now we use the
6680 calculate_velocity function.
6682 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6684 * src/hildon-date-selector.c
6685 (hildon_date_selector_select_current_date): fix the day range check
6686 as it failed using the last day of the current month
6689 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6691 * src/hildon-touch-selector.c
6692 (hildon_touch_selector_get_num_columns): added a parameter validation
6695 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6697 * examples/Makefile.am
6698 * examples/hildon-edit-toolbar-example.c: Example of the
6699 HildonEditToolbar widget.
6701 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6703 * configure.ac: postrelease version bump.
6705 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6709 * configure.ac: prerelease version bump.
6710 * debian/changelog: update.
6712 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6714 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6715 renderer to display stock icons in the touch list. Also, set the sizes
6716 to the recommended in the style guide.
6718 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6719 * src/hildon-touch-selector.h
6720 (hildon_touch_selector_set_active_iter): renamed, now is
6721 hildon_touch_selector_select_iter
6722 (hildon_touch_selector_get_active_iter): renamed, now is
6723 hildon_touch_selector_get_selected
6724 (hildon_touch_selector_unselect_iter): added
6725 * src/hildon-touch-selector.c
6726 Update after API modification (methods renamed)
6727 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6728 order to avoid problems selecting multiple elements on the column
6729 (hildon_touch_selector_unselect_iter): added the implementation
6730 * src/hildon-time-selector.c
6731 * src/hildon-date-selector.c
6732 * src/hildon-touch-selector-entry.c
6733 Update methods calls after hildon-touch-selector.h API modification (methods
6736 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6738 * src/hildon-stackable-window.c
6739 (hildon_stackable_window_finalize): Call the parent class's finalize.
6741 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6743 * examples/hildon-touch-selector-example.c: (create_selector): Use
6744 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6747 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6749 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6750 set a cell background color, to respect theming.
6752 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6754 * doc/hildon-docs.sgml
6757 * src/hildon-edit-toolbar.c
6758 * src/hildon-edit-toolbar.h
6759 * src/hildon.h: New HildonEditToolbar widget.
6761 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6763 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6766 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6767 * src/hildon-touch-selector.c
6768 (_create_new_column): use g_object_set instead of two g_object_set_property
6770 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6771 * src/hildon-touch-selector.c
6772 (_create_new_column): use of hildon_gtk_tree_view_new to create
6773 the treeview, instead of use directly g_object_new
6774 (_create_new_column): update the property name "vindicator-mode" for the
6775 new one "vscrollbar-policy"
6776 * examples/hildon-date-button-example.c
6777 * examples/hildon-picker-button-multicolumn-example.c
6778 * examples/hildon-touch-selector-entry-example.c
6779 * examples/hildon-touch-selector-example.c
6780 * examples/hildon-time-button-example.c
6781 * examples/hildon-picker-button-example.c
6782 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6783 to all the treeviews inside a pannable area.
6785 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6787 * src/hildon-button.h
6788 * src/hildon-button.c (hildon_button_init)
6789 (hildon_button_set_arrangement, hildon_button_set_alignment)
6790 (hildon_button_set_title_alignment)
6791 (hildon_button_set_value_alignment)
6792 (hildon_button_set_image_alignment)
6793 (hildon_button_construct_child): New methods to set the alignment
6794 of the individual components of the button (title, value,
6795 image). Also, new method to alter the xscale and yscale properties
6796 of the GtkAlignment inside the button, so more complex layouts can
6799 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6801 * src/hildon-button.c (hildon_button_style_set)
6802 (hildon_button_class_init, hildon_button_set_arrangement)
6803 (hildon_button_construct_child): Apply style properties
6804 correctly. Use the 'image-spacing' style property too.
6806 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6808 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6809 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6812 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6814 * src/hildon-pannable-area.c,
6815 (hildon_pannable_area_size_request): Fixed problem with
6816 pannable-area size_request.
6818 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6820 Added management for the grab-focus to a child widget, like a
6821 range, we need to fade out the scrollbar when releasing.
6823 * src/hildon-pannable-area.c,
6824 (hildon_pannable_area_init): Connected the grab-focus signal to
6826 (hildon_pannable_area_grab_notify): Added this function in order
6827 to manage the situation when the grab-focus ends. We have to
6828 fade-out the scrollbar.
6830 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6832 * src/hildon-app-menu.c: Minor documentation update.
6834 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6836 * src/hildon-app-menu.c
6837 * examples/hildon-app-menu-example.c (create_menu): Update
6838 examples and documentation to explain how to connect callbacks.
6840 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6842 * examples/hildon-button-example.c
6843 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6844 hildon_stackable_window_new instead of gtk_window_new
6846 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6848 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6849 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6850 (hildon_pannable_area_set_property),
6851 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6852 (hildon_pannable_area_unrealize),
6853 (hildon_pannable_area_size_request),
6854 (hildon_pannable_area_size_allocate),
6855 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6856 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6857 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6858 (hildon_pannable_area_initial_effect),
6859 (hildon_pannable_area_redraw),
6860 (hildon_pannable_area_scroll_indicator_fade),
6861 (hildon_pannable_area_expose_event),
6862 (hildon_pannable_area_get_topmost), (synth_crossing),
6863 (hildon_pannable_area_button_press_cb),
6864 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6865 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6866 (hildon_pannable_area_motion_notify_cb),
6867 (hildon_pannable_area_button_release_cb),
6868 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6869 (hildon_pannable_area_remove),
6870 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6871 chage the code layout to a more GtkWidget like. Review the use of
6874 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6876 * examples/hildon-pannable-area-example-4.c,
6877 (main): Modified the name of the hindicator_mode to
6880 * src/hildon-pannable-area.c,
6881 (hildon_pannable_area_class_init),
6882 (hildon_pannable_area_motion_notify_cb),
6883 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6884 we have reduced the amount of signals and managed reviewed its
6885 rationale. Changed the default decelerate value.
6887 (hildon_pannable_area_add),
6888 (hildon_pannable_area_redraw): Refactored functions.
6890 (hildon_pannable_area_init),
6891 (hildon_pannable_area_get_property),
6892 (hildon_pannable_area_set_property):
6893 (hildon_pannable_draw_vscroll),
6894 (hildon_pannable_draw_hscroll),
6895 (hildon_pannable_area_initial_effect),
6896 (hildon_pannable_area_expose_event),
6897 (hildon_pannable_area_scroll),
6898 (hildon_pannable_area_button_press_cb),
6899 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6900 and vindicator_mode with hscrollbar_policy and
6901 vscrollbar_policy. Replaced hscroll and vscroll with
6902 hscroll_visible and vscroll_visible.
6904 (hildon_pannable_area_refresh): Refactor the function, remove
6905 variables and check the calls to this function, added resize
6906 conditions in case the children change their layout.
6908 (hildon_pannable_area_size_request): Added more detailed
6909 size_request calculation.
6912 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6914 * src/hildon-color-chooser.c
6915 (init_borders): use the correct gtk_border_free instead of g_free, to
6916 avoid a crash when this widget is used (ie: the three color selection
6919 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6921 * src/hildon-check-button.c,
6922 (hildon_check_button_set_active): Fixed problem when setting the
6923 active value, the widget was not redrawn.
6925 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6927 * src/hildon-pannable-area.c,
6928 (hildon_pannable_area_refresh),
6929 (hildon_pannable_area_scroll),
6930 (hildon_pannable_area_motion_notify_cb): Small code style change.
6932 (hildon_pannable_area_class_init): Default initial_hint set to
6933 FALSE, it is not in the specs.
6935 (hildon_pannable_area_initial_effect),
6936 (hildon_pannable_area_expose_event),
6937 (hildon_pannable_area_map),
6938 (hildon_pannable_area_init): Moved the launching point of the
6939 initial effect, it was in map but the sizes where not correct in
6940 that method so we do not know if we have the reproduce it. Now it
6941 is placed in the expose_event method and uses a variable to
6942 reproduce it just once.
6944 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6946 * src/hildon-pannable-area.c,
6947 (hildon_pannable_draw_vscroll),
6948 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6949 position allowed for the scrollbars.
6951 (hildon_pannable_area_size_allocate): Small style change.
6953 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6955 * src/hildon-pannable-area.c,
6956 (hildon_pannable_area_scroll_indicator_fade),
6957 (hildon_pannable_area_button_press_cb),
6958 (hildon_pannable_area_button_release_cb),
6959 (hildon_pannable_area_scroll_cb),
6960 (hildon_pannable_area_expose_event),
6961 (hildon_pannable_area_init): Added the define parameter
6962 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6963 and refactor the fade variable.
6965 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6967 * src/hildon-pannable-area.c,
6968 (hildon_pannable_area_redraw),
6969 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6970 lines, we were reimplemeting the redraw code.
6972 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6974 * src/hildon-pannable-area.c,
6975 (hildon_pannable_area_scroll_cb),
6976 (hildon_pannable_area_realize),
6977 (hildon_pannable_area_class_init): Added scroll_event management
6978 for pannable area, now we can scroll the usual desktop method.
6980 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6981 initialization of the parameters should depend on idle_id.
6983 (hildon_pannable_area_init),
6984 (hildon_pannable_area_map): Small code style modifications
6986 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6988 * src/hildon-pannable-area.c
6989 (hildon_pannable_area_button_press_cb),
6990 (hildon_pannable_area_motion_notify_cb),
6991 (hildon_pannable_area_button_release_cb),
6992 (hildon_pannable_area_size_allocate),
6993 (hildon_pannable_area_scroll_to): Improved the timeouts
6994 management, we avoid creating them each time.
6996 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6998 * src/hildon-pannable-area.c:
6999 (hildon_pannable_area_refresh),
7000 (hildon_pannable_area_motion_notify_cb),
7001 (hildon_pannable_area_class_init):
7002 * src/hildon-pannable-area.h:
7003 * src/hildon-touch-selector.c
7004 (_create_new_column):
7005 * examples/hildon-pannable-area-example-4.c:
7006 (horizontal_movement),
7007 (vertical_movement),
7009 Replaced the names of enums in the HildonPannableArea:
7010 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
7011 HILDON_MOVEMENT_MODE_*
7012 - HILDON_PANNABLE_AREA_MOV_* ->
7014 - Removed HildonPannableAreaIndicatorMode, now we
7017 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7019 * examples/hildon-pannable-area-touch-grid-example.c
7020 * examples/hildon-pannable-area-touch-list-example.c: Fix
7021 compilation warnings.
7023 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7025 * src/hildon-gtk.c (hildon_gtk_button_new)
7026 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
7027 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
7028 images overriding the value of the "gtk-button-images" setting.
7030 2008-08-14 Alberto Garcia <agarcia@igalia.com>
7032 * src/hildon-check-button.c (hildon_check_button_new):
7033 Instead of using a custom container, display the label and the
7034 checkbox using the standard GtkButton API.
7036 * examples/hildon-check-button-example.c (main): Don't use
7037 hildon_check_button_set_label() anymore
7039 * src/hildon-check-button.h
7040 * src/hildon-check-button.c
7041 (hildon_check_button_set_label, hildon_check_button_get_label):
7042 Set as deprecated, now we're using gtk_button_{get,set}_label()
7044 2008-08-14 Alejandro G. Castro <alex@igalia.com>
7046 * src/hildon-pannable-area.c,
7047 (hildon_pannable_area_get_topmost): Fixed bug with click in the
7048 GtkTreeview first line we detected it after the inclusion of the
7049 GtkWindowImpl in gtk+. We now check if the window is visible, not
7050 just if the pointer is over the window.
7051 (hildon_pannable_axis_scroll),
7052 (hildon_pannable_area_expose_event): Small style changes.
7054 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7056 * src/hildon-button.c: Update documentation.
7058 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7060 * examples/hildon-button-example.c: Add a switch to show images in
7063 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7065 * doc/hildon-docs.sgml: Some docs reorganization.
7067 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7069 * examples/hildon-pannable-area-touch-list-example.c
7071 * examples/hildon-pannable-area-touch-grid-example.c
7072 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7073 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7074 Fix memory leak when setting the tree model.
7076 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7080 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7082 * doc/hildon.types: Remove duplicated hildon_window_get_type
7083 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7084 documentation comment.
7086 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7088 * doc/Makefile.am: Complete list of private headers.
7090 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7092 * doc/hildon-docs.sgml
7093 * src/hildon-app-menu.c
7094 * src/hildon-bread-crumb.c
7095 * src/hildon-button.c
7097 * src/hildon-program.c
7098 * src/hildon-stackable-window.c
7099 * src/hildon-window.c: Lots of documentation updates.
7101 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7103 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7105 * configure.ac: Require Gtk+ 2.12.9 at least
7107 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7109 * src/hildon-pannable-area.c
7110 (hildon_pannable_area_scroll_indicator_fade),
7111 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7112 to protect the return of this timeout callbacks, avoiding deadlocks.
7114 2008-08-12 Christian Dywan <christian@imendio.com>
7117 * src/hildon-*.h: Ensure a consistent include order,
7118 include <gtk/gtk.h> instead of particular files and
7119 only include the topmost header in the gtk stack. See NB #39857
7121 2008-08-12 Christian Dywan <christian@imendio.com>
7123 * src/hildon-picker-dialog.c
7124 * src/hildon-touch-selector.c: Fix warnings about unused and
7125 uninitialized variables.
7127 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7129 * examples/Makefile.am
7130 * examples/hildon-check-button-example.c: Example of the hildon
7133 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7135 * src/hildon-window.h
7136 * src/hildon-window.c (hildon_window_class_init)
7137 (hildon_window_unset_program): Don't make
7138 hildon_window_unset_program a virtual function anymore.
7140 * src/hildon-stackable-window.c: Update documentation
7142 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7145 * doc/hildon-docs.sgml
7146 * doc/visual_index.xml
7147 * src/hildon-defines.c
7149 * src/hildon-helper.c
7150 * src/hildon-range-editor.c: Lots of documentation fixes.
7152 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7154 * examples/hildon-picker-button-multicolumn-example.c
7155 (create_touch_selector): Fix compilation warning.
7157 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7159 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7160 (hildon_pannable_area_button_release_cb)
7161 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7163 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7165 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7170 * src/hildon-bread-crumb-trail.h
7171 * src/hildon-date-editor.c
7172 * src/hildon-date-selector.c
7173 * src/hildon-pannable-area.c
7174 * src/hildon-picker-dialog.c
7175 * src/hildon-time-selector.c
7176 * src/hildon-touch-selector-entry.c
7177 * src/hildon-touch-selector.c
7178 * src/hildon-touch-selector.h: Misc documentation fixes
7180 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7182 * examples/hildon-date-editor-example.c (main): Updated date
7185 * examples/hildon-note-example.c (on_confirmation_clicked):
7186 Updated confirmation note example.
7188 * src/hildon-date-editor.c
7189 * src/hildon-note.c: Updated sample programs in documentation.
7192 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7194 * src/hildon-date-button.h:
7195 * src/hildon-picker-button.h:
7196 * src/hildon-time-button.c:
7197 * src/hildon-time-button.h:
7199 Some declarations changes to allow gtk-doc to document the widgets
7202 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7204 * src/hildon-date-button.c: Document the widget.
7205 * src/hildon-time-button.c: Document the widget.
7207 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/hildon-picker-button.c: Document the widget.
7210 * src/hildon-touch-selector-entry.c: Document the widget.
7212 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7214 * doc/hildon-docs.sgml
7217 * src/hildon-check-button.h
7218 * src/hildon-check-button.c: New functions to create the Hildon
7222 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7224 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7226 * src/hildon-button.h
7227 * src/hildon-button.c
7228 (hildon_button_add_title_size_group)
7229 (hildon_button_add_value_size_group)
7230 (hildon_button_add_image_size_group)
7231 (hildon_button_add_size_groups): New functions to set size groups
7232 for the button labels and image.
7233 (hildon_button_new_full): Removed
7235 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7237 * src/hildon-time-selector.c
7238 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7239 in order to avoid a crash if gconf is not available
7241 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-button.c (hildon_button_set_arrangement)
7244 (hildon_button_construct_child): Don't construct the button child
7245 before setting the arrangement.
7247 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7249 * src/hildon-program-private.h
7250 * src/hildon-program.c
7251 * src/hildon-program.h
7252 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7253 (hildon_program_peek_window_stack)
7254 (hildon_program_pop_window_stack)
7255 (hildon_program_go_to_root_window): HildonProgram now has a
7256 separate list for stackable windows. Functions are provided to
7257 manage that list with a stack-like API.
7259 * src/hildon-stackable-window.c: Stackable window management is
7260 now much simpler with the new HildonProgram API. Windows no
7261 longer need to be manually added to the program, they're
7262 automatically pushed to the top of the stack when shown.
7264 * examples/hildon-stackable-window-example.c: Updated example to
7265 reflect the API changes.
7267 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7269 * src/hildon-touch-selector.c: Comment out unimplemented
7270 hildon_touch_selector_insert_column() to avoid a compile warning.
7272 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7274 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7275 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7276 (hildon_touch_selector_set_column_selection_mode),
7277 (_hildon_touch_selector_set_model),
7278 (hildon_touch_selector_set_model):
7280 Complete review of HildonTouchSelector documentation.
7282 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7284 * doc/hildon-docs.sgml
7288 * src/hildon-gtk.c: Convenience functions for standard Gtk
7289 widgets, used to easily perform frequent operations.
7291 * src/hildon-button-helpers.h
7292 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7294 * src/hildon-helper.h
7295 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7296 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7298 * src/hildon-button.h
7299 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7301 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7303 * src/hildon-button.c (hildon_button_init)
7304 (hildon_button_set_arrangement, hildon_button_construct_child):
7305 Pack the image and the labels inside the same GtkAlignment so
7306 gtk_button_set_alignment() can be used
7308 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7310 * src/hildon-button.h
7311 * src/hildon-button.c
7312 (hildon_button_init, hildon_button_set_image)
7313 (hildon_button_set_image_position)
7314 (hildon_button_construct_child): New functions to add an image to
7317 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7319 * src/hildon-date-button.c
7320 * src/hildon-picker-button.c
7321 * src/hildon-time-button.c
7322 * src/hildon-button.c:
7323 (hildon_button_class_init): "size-flags" renamed to "size"
7324 (hildon_button_set_title): Hide the title label if set to NULL.
7326 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7328 HildonButtonFlags split into HildonButtonArrangement (to set the
7329 button layout) and HildonSizeType (which can be used for any
7332 * src/hildon-button.h
7333 * src/hildon-button.c
7334 (hildon_button_class_init)
7335 (hildon_button_set_arrangement)
7336 (hildon_button_set_property): New "size-flags"
7337 property. "arrangement-flags" renamed to "arrangement".
7338 (hildon_button_new, hildon_button_new_with_text)
7339 (hildon_button_new_full): Constructors updated to reflect type changes.
7341 * src/hildon-helper.h
7342 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7343 to set the size of a widget.
7347 * src/hildon-button-helpers.c
7348 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7350 * src/hildon-date-button.c
7351 * src/hildon-date-button.h
7352 * src/hildon-picker-button.c
7353 * src/hildon-picker-button.h
7354 * src/hildon-time-button.c
7355 * src/hildon-time-button.h: Updated widgets to reflect
7356 HildonButton API changes.
7358 * examples/hildon-button-example.c
7359 * examples/hildon-date-button-example.c
7360 * examples/hildon-picker-button-example.c
7361 * examples/hildon-picker-button-multicolumn-example.c
7362 * examples/hildon-time-button-example.c
7363 * examples/hildon-touch-selector-entry-example.c
7364 * examples/hildon-touch-selector-example.c: Updated examples to
7365 reflect HildonButton API changes.
7367 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7369 * doc/hildon-docs.sgml:
7371 * examples/Makefile.am:
7372 * examples/hildon-touch-selector-entry-example.c:
7374 * src/hildon-touch-selector-entry.c:
7375 * src/hildon-touch-selector-entry.h:
7378 Moved HildonTouchSelectorEntry from sandbox. Added its
7379 documentation and examples.
7381 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7383 * src/hildon-touch-selector.h:
7384 * examples/hildon-picker-button-multicolumn-example.c:
7385 (hildon_touch_selector_append_text_column): Add a gboolean
7386 parameter to determine if text must be centered in the column.
7388 * src/hildon-date-selector.c: (hildon_date_selector_init):
7389 * src/hildon-time-selector.c: (hildon_time_selector_init):
7390 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7391 (create_touch_selector): Update widgets and example to reflect
7394 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7396 * src/hildon-touch-selector.c:
7397 (hildon_touch_selector_set_active_iter): Set also the cursor in
7400 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7402 * doc/hildon-docs.sgml
7405 * src/hildon-toggle-button.c
7406 * src/hildon-toggle-button.h
7407 * src/hildon.h: Removed HildonToggleButton widget, a derived
7408 class is not necessary for this.
7410 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7412 * src/hildon-pannable-area.c,
7413 (hildon_pannable_area_realize),
7414 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7417 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7419 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7420 "done" button the default widget for the dialog.
7422 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7424 * src/hildon-touch-selector.c:
7425 (hildon_touch_selector_class_init),
7426 (hildon_touch_selector_get_property),
7427 (_hildon_touch_selector_set_model),
7428 (_hildon_touch_selector_has_multiple_selection),
7429 (hildon_touch_selector_has_multiple_selection):
7430 Add a "has-multiple-selection" property with a virtual
7431 has_multiple_selection() method to allow derived classes to
7432 override the default value for it. See the method and property
7433 documentation for details.
7435 * src/hildon-touch-selector.h: Add the new API.
7437 * src/hildon-picker-dialog.c: (requires_done_button): Call
7438 hildon_touch_selector_has_multiple_selection() instead of
7439 determining the need for a button itself.
7441 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7443 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7444 (_hildon_touch_selector_set_model),
7445 (hildon_touch_selector_set_model): Move working code to
7446 _hildon_touch_selector_set_mode(). Call the class method instead.
7448 * src/hildon-touch-selector.h: Add (*set_model) to
7449 HildonTouchSelectorClass.
7451 Make hildon_touch_selector_set_model() a virtual method, so that
7452 derived classes can extend it and do fancy stuff with the model.
7454 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7456 * configure.ac: Set back the tarname in AC_INIT to hildon.
7458 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7462 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7463 instead of libesd (NB#86876). Volume handling is still an open issue.
7465 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7468 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7470 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7471 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7472 derived class to ease placement of an entry widget in
7473 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7474 end, where the selector columns are packed now.
7476 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7478 * src/hildon-picker-button.c: Removed the simple _text() API.
7479 * src/hildon-picker-button.h: Likewise.
7481 * src/hildon-touch-selector.h:
7482 * src/hildon-touch-selector.c:
7483 (hildon_touch_selector_new_text),
7484 (hildon_touch_selector_append_text),
7485 (hildon_touch_selector_prepend_text),
7486 (hildon_touch_selector_insert_text):
7488 Moved the simple _text() API from HildonPickerButton to
7489 HildonTouchPicker, to provide better escalability and not to tie
7490 that API to HildonPickerButton.
7492 * examples/hildon-picker-button-example.c: (main): Example updated.
7494 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7496 * src/hildon-button.c: Updated documentation.
7498 * examples/hildon-button-example.c: Add the posibility to create
7499 the buttons using horizontal layout for title and value.
7501 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7503 * src/hildon-app-menu-private.h
7504 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7505 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7506 GtkSizeGroup for the filters, use the 'homogeneous' property of
7509 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7511 * examples/hildon-button-example.c: Updated example.
7513 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7515 * doc/hildon-docs.sgml:
7518 Update documentation.
7520 * examples/Makefile.am: Update renamed examples.
7522 * examples/hildon-picker-button-multicolumn-example.c:
7523 (create_touch_selector), (main): Update after the rename.
7525 * examples/hildon-touch-picker-example.c: Removed.
7526 * examples/hildon-touch-selector-example.c: (value_changed),
7527 (create_selector), (get_visible_content), (main): Renamed from
7528 hildon-touch-picker-example.c
7530 * src/Makefile.am: Updated renamed files.
7532 * src/hildon-date-button.c: (hildon_date_button_init),
7533 (hildon_date_button_get_date), (hildon_date_button_set_date):
7534 * src/hildon-date-selector.c: (hildon_date_selector_init),
7535 (_custom_print_func), (_update_day_model),
7536 (_manage_selector_change_cb),
7537 (hildon_date_selector_select_current_date),
7538 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7539 * src/hildon-date-selector.h:
7540 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7541 (hildon_picker_button_set_property),
7542 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7543 (hildon_picker_button_init), (hildon_picker_button_new_text),
7544 (hildon_picker_button_append_text),
7545 (hildon_picker_button_prepend_text),
7546 (hildon_picker_button_insert_text),
7547 (hildon_picker_button_set_selector),
7548 (hildon_picker_button_get_selector):
7549 * src/hildon-picker-button.h:
7550 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7551 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7552 (_update_title_on_selector_changed_cb), (requires_done_button),
7553 (_hildon_picker_dialog_set_selector),
7554 (hildon_picker_dialog_set_selector),
7555 (hildon_picker_dialog_get_selector):
7556 * src/hildon-picker-dialog.h:
7557 * src/hildon-time-button.c: (hildon_time_button_init),
7558 (hildon_time_button_get_time), (hildon_time_button_set_time):
7559 * src/hildon-time-selector.c: (hildon_time_selector_init),
7560 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7561 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7562 * src/hildon-time-selector.h:
7565 Massive code updates after the rename.
7567 * src/hildon-touch-picker.c: Removed.
7568 * src/hildon-touch-picker.h: Removed.
7570 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7571 (hildon_touch_selector_init), (hildon_touch_selector_map),
7572 (hildon_touch_selector_remove), (_default_print_func),
7573 (_selection_changed_cb), (_create_new_column),
7574 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7575 (hildon_touch_selector_append_text_column),
7576 (hildon_touch_selector_remove_column),
7577 (hildon_touch_selector_set_column_attributes),
7578 (hildon_touch_selector_insert_column),
7579 (hildon_touch_selector_get_num_columns),
7580 (hildon_touch_selector_get_column_selection_mode),
7581 (hildon_touch_selector_set_column_selection_mode),
7582 (hildon_touch_selector_set_print_func),
7583 (hildon_touch_selector_get_print_func),
7584 (hildon_touch_selector_get_active_iter),
7585 (hildon_touch_selector_set_active_iter),
7586 (hildon_touch_selector_get_selected_rows),
7587 (hildon_touch_selector_get_model),
7588 (hildon_touch_selector_set_model),
7589 (hildon_touch_selector_get_current_text),
7590 (_hildon_touch_selector_center_on_selected_items):
7591 * src/hildon-touch-selector.h: Renamed from
7592 hildon-touch-picker.[ch]
7594 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7595 references, code examples, and related documentation.
7597 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7599 * doc/hildon-docs.sgml
7602 * src/hildon-toggle-button.c
7603 * src/hildon-toggle-button.h
7604 * src/hildon.h: New HildonToggleButton widget.
7606 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7608 * src/hildon-button.c: Add API documentation.
7609 (hildon_button_set_size_groups): Check input parameters
7611 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7613 * src/hildon-pannable-area.c
7614 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7615 effect after reaching the movement thredshold. This way we start
7616 using the distance after passing the thredshold.
7618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7620 * src/hildon-button.c: (hildon_button_set_property): Use the
7621 appropriate g_value_get_flags() method.
7623 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7625 * doc/hildon-docs.sgml:
7628 Add the touch pickers, picker dialogs, and picker button widgets
7629 to the documentation.
7631 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7633 * src/hildon-button.c: (hildon_button_set_property),
7634 (hildon_button_class_init): Make "arrangement-flags" a proper
7635 G_TYPE_FLAGS derived property.
7637 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7639 * examples/Makefile.am: Add below examples.
7640 * examples/hildon-date-button-example.c:
7641 * examples/hildon-picker-button-example.c:
7642 * examples/hildon-picker-button-multicolumn-example.c:
7643 * examples/hildon-time-button-example.c:
7644 * examples/hildon-touch-picker-example.c:
7646 Add examples for the recently added touch pickers,
7647 picker dialogs, and picker button widgets.
7649 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7651 * src/hildon-button.c: Add some API documentation
7653 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7655 * src/hildon-button.h
7656 * src/hildon-button.c
7658 (hildon_button_new_with_text): New constructor to create a button
7659 with no text at all.
7660 (hildon_button_init, hildon_button_set_arrangement)
7661 (hildon_button_set_title, hildon_button_set_value)
7662 (hildon_button_set_text)
7663 (hildon_button_construct_child): Hide the value when it's not used
7664 so the rest of the text is properly aligned.
7665 Allow creating buttons with arbitrary widgets inside (not just
7666 title/value labels).
7668 * examples/hildon-button-example.c (vertical_buttons_window)
7669 (horizontal_buttons_window): Update example to use new API.
7671 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7673 * src/Makefile.am: Added HildonTimeButton.
7674 * src/hildon-time-button.c: Added missing LGPL header.
7675 * src/hildon-time-button.h: Added missing LGPL header.
7676 * src/hildon.h: Add hildon-time-button.h
7678 Copied HildonTimeButton from sandbox to trunk. Future work on this
7679 widget must take place in trunk.
7681 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7683 * src/Makefile.am: Added HildonDateButton.
7684 * src/hildon-date-button.c: Update includes.
7685 * src/hildon.h: Add hildon-date-button.h
7687 Copied HildonDateButton from sandbox to trunk. Future work on this
7688 widget must take place in trunk.
7690 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7692 * src/Makefile.am: Added HildonPickerButton.
7693 * src/hildon-picker-button.h: Update includes.
7694 * src/hildon.h: Add hildon-picker-button.h
7696 Copied HildonPickerButton from sandbox to trunk. Future work on
7697 this widget must take place in trunk.
7699 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7701 * src/Makefile.am: Added HildonPickerDialog.
7702 * src/hildon-picker-dialog.c: Update includes.
7703 * src/hildon.h: Add hildon-picker-dialog.h
7705 Copied HildonPickerDialog from sandbox to trunk. Future work
7706 on this widget must take place in trunk.
7708 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7710 * src/Makefile.am: Added HildonTimeSelector.
7711 * src/hildon.h: Add hildon-time-selector.h
7713 Copied HildonTimeSelector widget from sandbox to trunk. Future
7714 work on this widget must happen in trunk.
7716 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7718 * src/Makefile.am: Added HildonDateSelector.
7719 * src/hildon.h: Add hildon-date-selector.h
7721 Copied HildonDateSelector widget from sandbox to trunk. Future
7722 work on this widget must happen in trunk.
7724 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7726 * src/Makefile.am: Added HildonTouchPicker.
7727 * src/hildon-touch-picker.c: Update includes.
7728 * src/hildon.h: Add hildon-touch-picker.h
7730 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7731 on this widget must happen in trunk.
7733 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7735 * src/hildon-pannable-area.c:
7736 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7738 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7740 * examples/hildon-app-menu-example.c (main): Let the window
7743 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7745 * src/hildon-pannable-area.c
7746 (hildon_pannable_area_class_init): Set the min value of the
7747 overshoot properties to zero, which points out that not
7748 overshooting allowed.
7750 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7752 Modified the procedure to get the widget at a point inside the
7753 pannable area when using the movement type signals. Now the user
7754 has to call a function to get the child, that way we just
7755 calculate the child in case the user really want to use it and not
7758 * src/hildon-marshalers.list: Modified the marshallers, now we do
7759 not have the widget as a parameter.
7761 * src/hildon-pannable-area.c
7762 (hildon_pannable_area_motion_notify_cb),
7763 (hildon_pannable_area_class_init),
7764 (hildon_pannable_get_child_widget_at): Removed the widget
7765 parameter from the signal callback. We have also refactored the
7766 emission of the signals.
7768 * src/hildon-pannable-area.h: Added a new method to the API to
7769 calculate a widget at a point inside the pannable area,
7770 hildon_pannable_get_child_widget_at.
7772 * examples/hildon-pannable-area-example-4.c
7773 (horizontal_movement): Modified the example to use the new API,
7774 added condition to control which widget is under the event. This
7775 way we can avoid scrolling laterally over other widgets.
7777 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7779 * src/hildon-pannable-area.c
7780 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7781 modes, we stop getting the pointer events due to returning the
7782 callback without properly calling the get pointer again. Fixed
7783 also an error using the hscroll and vscroll.
7785 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7787 * src/hildon-app-menu-private.h
7788 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7789 (hildon_app_menu_button_release, hildon_app_menu_init)
7790 (hildon_app_menu_class_init): Don't hide the menu on button
7791 release if the user didn't press outside first.
7793 * src/hildon-window.h
7794 * src/hildon-window.c (hildon_window_toggle_menu)
7795 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7796 hildon_window_toggle_menu a virtual function for the stackable
7797 window to override it.
7799 * src/hildon-stackable-window.h
7800 * src/hildon-stackable-window-private.h
7801 * src/hildon-stackable-window.c
7802 (hildon_stackable_window_realize)
7803 (hildon_stackable_window_finalize)
7804 (hildon_stackable_window_class_init)
7805 (hildon_stackable_window_init)
7806 (hildon_stackable_window_set_main_menu): New function to set the
7807 app menu of a HildonStackableWindow.
7809 * examples/hildon-app-menu-example.c: Remove the button to show
7810 the app menu, now it'll be shown when clicking on the title bar
7813 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7815 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7816 set the widget name if the arrangement flags do not specify
7819 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7821 * src/hildon-button.c: (hildon_button_set_property),
7822 (hildon_button_class_init), (hildon_button_new_full),
7823 (hildon_button_set_arrangement): Added "arrangement-flags"
7826 Make the HildonButtonFlags a construction-only property, to allow
7827 subclasses to set them properly.
7829 2008-07-21 Tim Janik <timj@imendio.com>
7831 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7832 insertion position after backspace, so additional digits are appended,
7835 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7837 * src/hildon-pannable-area.c,
7838 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7839 TODO list, it was complete and removed the g_debug and g_print
7842 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7844 Added the movement modes to the hildon-pannable-area, with this
7845 modes the developers can control in which directions the widget
7846 can scroll. They can also connect to signals in order to do
7847 something when that happens, allowing applications scroll. There
7848 is an example uploaded showing how to use it.
7850 * examples/Makefile.am:
7851 * examples/hildon-pannable-area-example-4.c: Added this example of
7852 an application using the modes.
7854 * src/hildon-marshalers.list: Added a new marshaller for the new
7857 * src/hildon-pannable-area.h: Added new enumerations and flags in
7858 order to control the movement modes and the new signals to warn
7859 about the movements in the area.
7861 * src/hildon-pannable-area.c:
7862 (hildon_pannable_axis_scroll),
7863 (hildon_pannable_area_scroll),
7864 (hildon_pannable_area_motion_notify_cb),
7865 (hildon_pannable_area_get_property),
7866 (hildon_pannable_area_set_property),
7867 (hildon_pannable_area_map),
7868 (hildon_pannable_area_class_init),
7869 (hildon_pannable_area_init),
7870 (hildon_pannable_area_jump_to): Added the modes to control the
7871 movement in the widget. We have added properties to control it,
7872 signals to warn about the movements and refactored some code.
7874 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7876 Changes required in order to allow vfast_factor set to zero to
7879 * src/hildon-pannable-area.c:
7880 (hildon_pannable_area_button_press_cb): Changed the condition, it
7881 is required for not allowing click when vfast_factor is zero.
7882 (hildon_pannable_area_timeout): Initialized velocity variables
7883 when we stop moving, it was less than 1 but not zero and we need
7884 to check zero in some situations.
7885 (hildon_pannable_area_class_init): Changed the default value of
7886 the speed factor, now the button_press is just sent in case the
7887 speed is 2 per cent of the max speed.
7888 (hildon_pannable_area_init): Initialization with 0.
7890 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7892 * src/hildon-pannable-area.c,
7893 (hildon_pannable_area_get_topmost): replaced
7894 gdk_window_get_children with gdk_window_peek_children, this way we
7895 do not have to free the list because it is not a copy.
7897 (hildon_pannable_axis_scroll),
7898 (hildon_pannable_area_scroll),
7899 (hildon_pannable_area_timeout),
7900 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7901 two parameters that were only used inside the
7902 hildon_pannable_area_scroll function.
7904 * examples/hildon-pannable-area-example.c,
7905 (get_sawtooth_label): Fixed small memory leak.
7907 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7909 More checks for the case where the overshoot is bigger than the
7912 * src/hildon-pannable-area.c:
7913 (hildon_pannable_draw_vscroll),
7914 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7915 to draw the slider of the scrollbar under the other scrollbar.
7916 (hildon_pannable_area_expose_event): added new checks to control
7917 the drawing of the overshooting area rectangle, in case it is too
7918 big for the area of the widget.
7919 (hildon_pannable_area_size_allocate): add more checks to avoid
7920 setting a position to the child widget outside the area.
7922 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7924 * src/hildon-pannable-area.c
7925 (hildon_pannable_area_size_allocate): Added conditions to control
7926 when overshooting is bigger than the allocated space for the
7927 children, this avoids negative allocations.
7929 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7931 * doc/hildon-docs.sgml
7933 * examples/Makefile.am
7934 * examples/hildon-button-example.c
7936 * src/hildon-button.c
7937 * src/hildon-button.h
7938 * src/hildon.h: Initial version of the new HildonButton widget,
7941 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7943 * src/hildon-pannable-area.c:
7944 (hildon_pannable_area_button_press_cb),
7945 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7946 (hildon_pannable_area_motion_notify_cb),
7947 (hildon_pannable_area_button_release_cb),
7948 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7949 (hildon_pannable_area_jump_to_child):
7951 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7953 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7955 * examples/Makefile.am
7956 * examples/hildon-pannable-area-touch-grid-example.c
7957 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7958 the Hildon Touch List and Hildon Touch Grid using the
7959 HildonPannableArea widget.
7961 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7963 * src/hildon-pannable-area.c,
7964 (hildon_pannable_area_button_press_cb),
7965 (hildon_pannable_area_refresh),
7966 (hildon_pannable_area_scroll),
7967 (hildon_pannable_area_motion_notify_cb),
7968 (hildon_pannable_area_button_release_cb),
7969 (hildon_pannable_area_expose_event),
7970 (hildon_pannable_area_add),
7971 (hildon_pannable_area_remove),
7972 (hildon_pannable_area_realize),
7973 (hildon_pannable_area_size_allocate),
7974 (hildon_pannable_area_class_init),
7975 (hildon_pannable_area_init),
7976 (hildon_pannable_area_scroll_to_child),
7977 (hildon_pannable_area_jump_to_child): Fixed the problem of
7978 removing the child from the GtkBin, we have rearranged the widget
7979 hierarchy, now there is no GtkAlignment which was not doing
7980 anything interesting but breaking some of the assumptions of
7981 GtkContainer. Now developers if they want to add a GtkAlignment
7982 they could, but it is not inside the area.
7984 We had to review the whole allocation/expose process, now it is
7985 improved and we save at least three signals which would be saving
7986 some time when rendering the widget. The allocation of the
7987 scrollbars is now made in the allocate method as usual.
7989 We have also added some conditions in order to control when there
7990 is no child of the pannable area. Maybe we will need more work
7993 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7995 * src/hildon-pannable-area.c,
7996 (hildon_pannable_area_dispose): Released the fade-out timeout when
7997 disposing the widget.
7999 2008-06-27 Alejandro G. Castro <alex@igalia.com>
8001 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
8002 zero, we are going to use that property in order to deactivate the
8004 (hildon_pannable_axis_scroll),
8005 (hildon_pannable_area_size_allocate): Added conditions to control
8006 when overshoot_max is zero. Moved the gtk_adjustment_set_value
8007 call, now it is called in all situations and we can remove calls
8008 in the allocate method.
8009 (hildon_pannable_area_map): Control the situation when
8010 overshoot_max is zero, we do not need the timeout.
8011 (hildon_pannable_area_class_init): Added documentation in order to
8012 point out that setting zero to overshoot_max means deactivate
8015 NOTE: removed trailing whitespaces from my previous comments of
8018 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8020 * src/hildon-pannable-area.c
8021 (hildon_pannable_area_get_property),
8022 (hildon_pannable_area_set_property),
8023 (hildon_pannable_area_map),
8024 (hildon_pannable_area_class_init),
8025 (hildon_pannable_area_init): Add a boolean "initial-hint" property
8026 to cause the widget give a hint about its panning abilities upon
8029 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
8031 * src/hildon-pannable-area.c: Several documentation improvements.
8033 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8035 * src/hildon-program.c
8036 * src/hildon-stackable-window.c: Update documentation.
8038 2008-06-26 Alberto Garcia <agarcia@igalia.com>
8040 * src/hildon-stackable-window.c (get_previous_window_if_last):
8041 Renamed get_last_window()
8042 (hildon_stackable_window_map, hildon_stackable_window_unmap)
8043 (hildon_stackable_window_unset_program):
8045 (get_previous_window_if_last):
8046 Detect if the window hasn't been added to a HildonProgram.
8048 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8050 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8052 * src/hildon-pannable-area.c
8053 (hildon_pannable_area_button_press_cb),
8054 (hildon_pannable_axis_scroll),
8055 (hildon_pannable_area_scroll),
8056 (hildon_pannable_area_timeout),
8057 (hildon_pannable_calculate_vel_factor),
8058 (hildon_pannable_area_get_property),
8059 (hildon_pannable_area_set_property),
8060 (hildon_pannable_area_class_init),
8061 (hildon_pannable_area_init),
8062 (hildon_pannable_area_scroll_to),
8063 (hildon_pannable_area_jump_to),
8064 (hildon_pannable_area_scroll_to_child),
8065 (hildon_pannable_area_jump_to_child):
8066 * src/hildon-pannable-area.h: Added the new API functions:
8067 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8068 hildon_pannable_area_scroll_to_child,
8069 hildon_pannable_area_jump_to_child
8072 * examples/Makefile.am
8073 * examples/hildon-pannable-area-example-2.c
8074 * examples/hildon-pannable-area-example-3.c: Added these two new
8075 examples in order to test and show how the new APIs work.
8077 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8079 * examples/hildon-stackable-window-example.c (new_window):
8080 * src/Makefile.am (noinst_HEADERS):
8081 * src/hildon-program.c (hildon_program_go_to_root_window):
8082 * src/hildon-program.h:
8083 * src/hildon-stackable-window-private.h:
8084 * src/hildon-stackable-window.c:
8085 * src/hildon-stackable-window.h:
8086 Create hildon-stackable-window-private.h
8087 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8089 * examples/hildon-app-menu-example.c (create_menu):
8090 * examples/hildon-hvolumebar-insensitive-example.c (main):
8091 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8092 * examples/hildon-toolbar-seekbar-example.c (main):
8093 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8094 * src/hildon-banner.c (hildon_banner_set_property):
8095 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8096 Fix compilation warnings
8098 * src/hildon-window.c:
8101 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8103 * src/hildon-stackable-window.c
8104 (hildon_stackable_window_unset_program):
8105 Calculate correctly whether to show the previous window if the
8106 last one is removed from the stack.
8107 (hildon_stackable_window_go_to_root_window):
8108 Send delete events starting from the topmost window.
8109 Stop if one of the windows is not destroyed.
8111 (hildon_stackable_window_delete_event)
8112 (hildon_stackable_window_class_init):
8113 Ignore the delete event if the window is not the topmost one.
8115 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8117 * src/hildon-pannable-area.c
8118 (hildon_pannable_area_expose_event): Fixed a problem when
8119 selecting the background color of the scrollbars.
8121 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8123 * examples/hildon-stackable-window-example.c
8124 * src/hildon-stackable-window.c
8125 * src/hildon-stackable-window.h
8126 hildon_stackable_window_go_home() renamed to
8127 hildon_stackable_window_go_to_root_window()
8128 Send delete events to windows rather than closing them with
8129 gtk_widget_destroy()
8131 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8133 * src/hildon-pannable-area.c
8134 (hildon_pannable_area_button_release_cb): Fix overshooting in
8137 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8139 * src/hildon-pannable-area.c
8140 (hildon_pannable_area_init): Initially show the scroll indicators.
8141 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8143 Add initial effect showing the widget is pannable.
8145 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8147 * src/hildon-pannable-area.c
8148 (hildon_pannable_area_class_init)
8149 (hildon_pannable_area_set_property)
8150 (hildon_pannable_area_get_property)
8151 (hildon_pannable_area_button_press_cb):
8152 New 'velocity_fast_factor' property to decide which velocity is
8155 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8157 * src/hildon-pannable-area.c
8158 (hildon_pannable_draw_hscroll)
8159 (hildon_pannable_draw_vscroll):
8160 Use float variables to calculate the size of the scrollbars to
8161 avoid error propagation and resizing during scrolling.
8163 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8165 * src/hildon-pannable-area.c
8166 (hildon_pannable_draw_vscroll)
8167 (hildon_pannable_draw_hscroll):
8168 Define a minimum size for the scroll bars
8170 * src/hildon-stackable-window.c
8171 (hildon_stackable_window_go_home): Fix compilation warning
8172 (get_last_window): Minor optimizations
8173 (hildon_stackable_window_class_init): Fix initialization of
8176 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8178 * src/hildon-stackable-window.c: Fixed typos in doc
8180 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8182 * src/hildon-pannable-area.c
8183 (hildon_pannable_area_scroll):
8184 Calculate here whether we need to scroll instead of using the booleans
8185 that tell us whether to /draw/ the scrolling bars.
8187 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8189 * src/hildon-app-menu.h
8191 * src/hildon-app-menu.c
8192 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8193 multiple filter groups related code and API. Now we support only
8195 * examples/hildon-app-menu-example.c:
8197 Update to reflect API changes.
8199 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8201 * src/hildon-stackable-window.c
8202 (hildon_stackable_window_class_init):
8203 Add hildon_stackable_window_realize.
8204 (hildon_stackable_window_realize):
8205 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8206 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8207 to apply theming and behavior specific to HildonStackableWindow
8210 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8212 * src/hildon-note.c (hildon_note_button_release):
8213 Close information notes also when tapping on them
8215 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8217 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8218 ELASTICITY, refactor and review, fix some issues with drawing
8221 * src/hildon-pannable-area.c:
8222 (hildon_pannable_area_button_press_cb): removed the conditions to
8223 avoid clicks when overshooting. It is not required
8225 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8226 define. Refatored and reviewed the code, now we do not need to
8227 manage velocity in motion_notify.
8229 (hildon_pannable_area_motion_notify_cb): We have moved the code
8230 that controls the area_scroll to the axis_scroll function and get
8231 rid of duplicated code.
8233 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8235 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8237 (hildon_pannable_draw_vscroll),
8238 (hildon_pannable_draw_hscroll): Fixed the problems with the
8239 scrollbar drawing, now we do not use two surfaces, it is easier
8240 and saves resources.
8242 (hildon_pannable_area_get_property): Style modification.
8244 (hildon_pannable_area_class_init): Changed some default values.
8246 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8248 * src/hildon-stackable-window.c: Fix some typos in the
8251 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8253 * src/hildon-dialog.c:
8254 Change indentation style
8257 (hildon_note_button_release):
8258 Use root coordinates to check if the release event happened
8261 * src/hildon-app-menu.c
8262 (hildon_app_menu_button_release):
8263 Remove unnecessary check
8265 * examples/hildon-app-menu-example.c
8267 Add cast to fix warning
8269 * src/hildon-app-menu.c
8270 (hildon_app_menu_class_init):
8271 New inner-border style property.
8272 Set all default spacings to 16
8273 (hildon_app_menu_init):
8274 Use vertical-spacing to set the space between filter buttons and
8275 regular menu buttons.
8276 Set the default container border using the inner-border value.
8278 * examples/hildon-app-menu-example.c
8280 Don't set the menu border explicitly, now we have the inner-border
8281 style property for that.
8283 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8285 * src/hildon-app-menu.c (hildon_app_menu_init):
8286 Make the window modal
8288 * src/hildon-note.c (hildon_note_map)
8289 * src/hildon-app-menu.c (hildon_app_menu_map):
8290 Destroy the grab window if we're unable to grab the pointer
8292 * src/hildon-app-menu-private.h
8293 * src/hildon-app-menu.c
8294 (hildon_app_menu_init, hildon_app_menu_finalize)
8295 (hildon_app_menu_map, hildon_app_menu_unmap)
8296 (hildon_app_menu_button_release)
8297 (grab_transfer_window_get):
8298 Bring back the grab window
8299 (hildon_app_menu_realize):
8300 Decorate the window, set WM hint for Matchbox
8302 * src/hildon-note.c (hildon_note_realize):
8303 * src/hildon-banner.c (hildon_banner_realize):
8304 Add WM hints for Matchbox
8306 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8308 * src/hildon-app-menu-private.h
8309 * src/hildon-app-menu.c
8310 (hildon_app_menu_init, hildon_app_menu_finalize)
8311 (hildon_app_menu_map, hildon_app_menu_unmap)
8312 (hildon_app_menu_button_release):
8313 Remove the grab window, it's not needed anymore
8315 * src/hildon-program.c
8316 Fixed typo in documentation
8318 * src/hildon-app-menu.h
8319 * src/hildon-app-menu.c
8320 * examples/hildon-app-menu-example.c
8321 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8323 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8326 Added new transfer_window and close_if_pressed_outside private
8328 (hildon_note_rebuild):
8329 Don't add a cancel button to the information note. It will be
8330 closed when tapping outside
8331 Remove the comment about the OK button in the documentation
8332 (hildon_note_realize):
8333 Set the notification type hint
8334 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8335 Grab/ungrab pointer and keyboard if the note has to be closed when
8337 (hildon_note_button_release):
8338 Close the note when tapping outside (if applicable)
8340 * src/hildon-app-menu.c
8341 Grab/ungrab pointer and keyboard on map/unmap
8342 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8343 Close the menu on button release, not button press
8345 * src/hildon-banner.c
8346 (hildon_banner_set_property)
8347 (hildon_banner_check_position):
8348 Make the banner use the full width of the screen
8349 (hildon_banner_show_information)
8350 (hildon_banner_show_information_with_markup):
8351 Don't display an icon by default
8353 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8355 Added fading scrollbars and adapted all the overshooting code to
8356 horizontal scrolling. We have also fixed bugs with overshooting
8357 and current fading implementation.
8359 * src/hildon-pannable-area.c
8360 (hildon_pannable_area_scroll_indicator_fade): Time out function
8361 used to change the transparency of the scrollbars.
8363 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8364 control and fixed a problem with fading, we now remove the fade
8365 timeout before adding a new one.
8367 (hildon_pannable_axis_scroll):
8368 (hildon_pannable_area_scroll):
8369 (hildon_pannable_area_timeout): Added this functions so we can use
8370 the scroll code both for vertical and horizontal.
8372 (hildon_pannable_area_motion_notify_cb):
8373 (hildon_pannable_area_button_release_cb): Added the horizontal
8374 scrolling control, fixed a problem with the overshooting timeout.
8376 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8377 painting of the scrolls.
8379 (hildon_pannable_draw_vscroll):
8380 (hildon_pannable_draw_hscroll):
8381 (hildon_pannable_area_expose_event):
8382 Draw both scrollbars and rectangles in the overshooting area.
8384 (hildon_pannable_area_get_property):
8385 (hildon_pannable_area_set_property):
8386 Modified the overshoot property to overshoot_max
8388 (hildon_pannable_area_map):
8389 Replaced the comments symbols.
8391 (hildon_pannable_area_size_allocate):
8392 (hildon_pannable_area_class_init):
8393 (hildon_pannable_area_init): Added horizontal scroll, fading
8394 effect properties, fixed a problem when overshooting in the bottom
8397 * examples/hildon-pannable-area-example.c:
8398 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8399 looks better in the example.
8401 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8403 * src/hildon-window.c
8404 * src/hildon-window.h
8405 (hildon_window_class_init)
8406 (hildon_window_unset_program)
8407 (hildon_window_unset_program_real):
8408 Make unset_program a virtual function
8410 * src/hildon-stackable-window.c
8411 * src/hildon-stackable-window.h
8412 Added hildon_stackable_window_go_home()
8414 * examples/Makefile.am
8415 * examples/hildon-stackable-window-example.c
8416 HildonStackableWindow example
8418 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8420 * hildon-pannable-area.c: Added the overshoot property and removed
8421 the OVERSHOOT define. Fixed an indent style error.
8422 (hildon_pannable_area_motion_notify_cb):
8423 (hildon_pannable_area_get_property):
8424 (hildon_pannable_area_set_property): Add overshoot property.
8426 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8429 (hildon_pannable_area_class_init): Installed the new property.
8431 * hildon-pannable-area-example.c: Added a sawtooth function, this
8432 way it is easier to check the movement in the pannable.
8433 (get_sawtooth_label): Added this function.
8434 (main): Now we get the labels from the new get_sawtooth_label
8437 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8439 * src/hildon-app-menu.h
8440 * src/hildon-app-menu.c
8441 Renamed API variables for consistency
8443 (hildon_app_menu_popup): Use also the default window size to
8444 decide where to place the menu
8446 (hildon_app_menu_init, hildon_app_menu_class_init): New
8447 external-border style property
8449 2008-05-26 Michael Natterer <mitch@imendio.com>
8451 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8452 widget_class->tap_and_hold_setup signal slot doesn't exist any
8453 longer, stop overriding it.
8455 (hildon_time_editor_init): g_signal_connect() to the
8456 tap-and-hold-setup signal instead.
8458 (hildon_time_editor_entry_keypress): add cast to fix warning.
8460 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8462 * doc/hildon-docs.sgml
8464 * examples/Makefile.am
8465 * examples/hildon-app-menu-example.c
8467 * src/hildon-app-menu-private.h
8468 * src/hildon-app-menu.c
8469 * src/hildon-app-menu.h
8471 New HildonAppMenu widget
8473 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8475 Rearranged the inheritance of the pannable area, now it inherits
8476 from GtkBin. This will allow us to control the event_window and
8477 the allocation process of the widget, required for some effects.
8479 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8480 GtkBin structures. * src/hildon-pannable-area.c: Added the
8481 event_window variable.
8482 (hildon_pannable_area_button_press_cb):
8483 (hildon_pannable_area_button_release_cb):
8484 (hildon_pannable_area_motion_notify_cb):
8485 Changed the signature of the method, now we override the event
8486 callback instead of connecting to the signal.
8488 (hildon_pannable_area_realize):
8489 (hildon_pannable_area_unrealize):
8490 (hildon_pannable_area_map):
8491 (hildon_pannable_area_unmap):
8492 (hildon_pannable_area_size_allocate):
8493 Added functions to control the widget construction. We add a
8494 INPUT_ONLY window and we put it over the widgets inside the
8495 container, this event_window handles the events.
8497 (hildon_pannable_area_class_init):
8498 Replaced the signal connections with overrides of the event
8501 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8503 Bouncing effect added when touching the borders, you can change
8504 the elasticity of the border changing the ELASTICITY define.
8506 * src/hildon-pannable-area.c: Added ELASTICITY define.
8507 (hildon_pannable_area_timeout): Added inverse velocity when
8508 touching the border of the child widget, that causes a bounce.
8510 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8512 Improved performance, we now do not go to the X server in order to
8513 get the list of window children. Apparently the effect is the
8514 same, we have to be careful and check if this breaks something in
8517 * src/hildon-pannable-area.c:
8518 (get_ordered_children): Removed this function.
8519 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8520 the children windows function with gdk_window_get_children.
8522 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8524 * src/hildon-pannable-area.c:
8525 (hildon_pannable_area_dispose): Fixed a crash when closing the
8526 window and kinetics is activated.
8528 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8530 * src/hildon-pannable-area.h
8531 * src/hildon-pannable-area.c
8532 Changed indentation style to meet the one used in Hildon
8534 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8536 Reviewed the interaction of the AUTO mode, now we use the time
8537 attribute of the events and calculate the velocity in the motion,
8538 doing a gimp like calculation. The velocity is calculated in each
8539 motion event using the last velocity and the current one, the
8540 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8542 * src/hildon-pannable-area.c: Replaced the time based algorithm
8544 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8545 timeout for the AUTO mode when we are still moving the cursor. We
8546 added also the velocity calculation in this function.
8547 (hildon_pannable_area_button_release_cb): launch the timeout in
8548 case we are in AUTO mode. There are still some constants here that
8549 come from the old implementation that should be reviewed and
8552 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8554 * doc/hildon-docs.sgml
8557 * src/hildon-stackable-window.c
8558 * src/hildon-stackable-window.h
8560 New HildonStackableWindow widget
8562 * examples/hildon-dialog-example.c
8563 * examples/hildon-pannable-area-example.c
8566 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8568 * src/hildon-dialog.c
8569 (hildon_dialog_new_with_buttons): New constructor.
8571 * examples/hildon-dialog-example.c
8572 (main): Update the example to use the new
8573 hildon_dialog_new_with_buttons().
8575 * examples/hildon-pannable-area-example.c
8576 (main): Update example.
8578 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8580 * doc/hildon-docs.sgml
8582 Added HildonPannableArea to the documentation.
8584 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8586 * doc/visual_index.xml
8587 Fix reference to HildonLoginDialog in documentation
8589 * doc/hildon-docs.sgml
8591 * examples/Makefile.am
8592 * examples/hildon-dialog-example.c
8594 * src/hildon-dialog.c
8595 * src/hildon-dialog.h
8597 New HildonDialog widget.
8599 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8601 * src/hildon-pannable-area.c
8602 Merge latest changes (r4318, r4342) from libmokoui trunk
8604 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8606 * examples/Makefile.am
8607 * examples/hildon-pannable-area-example.c
8609 * src/hildon-pannable-area.c
8610 * src/hildon-pannable-area.h
8612 New HildonPannableArea widget.
8614 2008-04-15 18:05:19 <timj@imendio.com>
8616 * src/hildon-banner.c: revert the recent change, that introduced
8617 gtk_window_present() calls. this reopens:
8618 Bug 78481 - [freetest] information banners are hidden under browser menu
8619 But resolves another variant of:
8620 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8622 2008-04-15 13:21:13 <timj@imendio.com>
8624 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8625 recreated its layout, spotted by Kris. this fixes all remaining
8626 artefacts and stability issues with the banner code. in particular:
8627 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8629 2008-04-14 16:52:59 <timj@imendio.com>
8631 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8632 operating on unrealized widgets, fixes:
8633 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8635 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8637 2008-04-09 Kristian Rietveld <kris@imendio.com>
8639 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8640 makes banner disappear.
8641 Fixes: NB#79182: info banner flickering with certain message lengts.
8643 * src/hildon-banner.c (hildon_banner_constructor),
8644 (hildon_banner_init), (hildon_banner_set_text),
8645 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8646 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8647 FALSE, reset size requests of label and banner,
8648 (force_to_wrap_truncated): when the text is too wide, always enforce
8649 the maximum possible width instead of recalculating it from the
8650 layout; enforce the maximum banner height of 3 lines,
8651 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8652 nicer wrapping and no truncated chars if space gets tight.
8654 * src/hildon-banner-private.h: add has_been_wrapped and
8655 has_been_truncated fields.
8657 2008-04-07 Sven Herzberg <sven@imendio.com>
8659 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8660 local values in hildon_date_editor_size_allocate
8662 * src/hildon-date-editor.c: moved the real allocation code into the
8665 2008-04-07 Sven Herzberg <sven@imendio.com>
8667 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8668 local values in hildon_date_editor_size_allocate
8670 * src/hildon-date-editor.c: merged the two if() branches together
8672 2008-04-07 Sven Herzberg <sven@imendio.com>
8674 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8675 local values in hildon_date_editor_size_allocate
8677 * src/hildon-date-editor.c: changed the arguments of the if()
8680 2008-04-07 Sven Herzberg <sven@imendio.com>
8682 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8683 local values in hildon_date_editor_size_allocate
8685 * src/hildon-date-editor.c: split the calculation of the allocation
8686 from the real allocation
8688 2008-03-27 Michael Natterer <mitch@imendio.com>
8690 Fixes: NB#81696: The passcode is not overwritten even after
8693 * src/hildon-code-dialog.c
8694 (hildon_code_dialog_button_clicked)
8695 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8696 because that doesn't overwrite selected text. Instead, emit the
8697 "commit" signal on the entry's im_context so the entry's normal
8698 insert logic is triggered. Set the cursor to the end of the entry
8699 after each insert operation so that we *only* insert in the middle
8700 of the text if something was selected.
8702 2008-03-27 Michael Natterer <mitch@imendio.com>
8704 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8705 selector cannot be opened
8707 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8708 when the popup color selector is created. Please connect to this
8709 signal in order to set the dialog's help ID.
8711 2008-03-25 Sven Herzberg <sven@imendio.com>
8713 Fixes: MB#1212: Hide info banners (infoprints) on click
8715 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8716 extracted the close event simulation into an extra function
8717 (hildon_banner_button_press_event): simulate a close event and destroy
8718 the widget if the event wasn't handled
8719 (hildon_banner_class_init): added the button_press_event handler
8720 (hildon_banner_init): added button-press events to the widget
8722 2008-03-25 Sven Herzberg <sven@imendio.com>
8724 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8725 Patch from: Mohammad Anwari <mdamt@maemo.org>
8727 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8728 instead of the right in RTL mode
8729 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8730 breadcrumb button list in RTL mode
8731 * src/hildon-caption.c: mirror the appearance of the caption widget in
8733 * src/hildon-date-editor.c: mirror appearance of the date editor in
8735 * src/hildon-time-editor.c: mirror appearance of the time editor in
8737 * src/hildon-window.c: fix the position of the popup in RTL mode
8739 2008-03-25 Sven Herzberg <sven@imendio.com>
8741 Amendment to the fix of NB#22072. Fix compilation.
8743 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8745 2008-03-19 Sven Herzberg <sven@imendio.com>
8747 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8750 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8751 timeout id properly when the timeout will disappear this leaves no
8752 artifacts around in the destroy(); there will only be the timeout
8753 created by hildon_banner_ensure_timeout() and adding a new timeout
8754 will also work if the timeout gets removed because the timeout_handler
8757 2008-03-19 Michael Natterer <mitch@imendio.com>
8759 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8761 * src/hildon-volumebar.c
8762 * src/hildon-vvolumebar.c
8763 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8764 the widget becomes focussable at all.
8766 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8767 set the focus to wither the mute button or the volumebar.
8769 Remove own "can-focus" property and instead listen to
8770 notify::can-focus in order to update the widget's state.
8772 Implement GtkWidget::focus() and make sure we can also *leave* the
8773 widget, not only enter it, depending on volumebar orientation and
8774 requested focus direction.
8776 Clean up set_mute() to cooperate nicely with all the above.
8778 2008-03-04 Michael Natterer <mitch@imendio.com>
8780 Fixes: NB#78481: information banners are hidden under browser menu
8782 * src/hildon-banner.c: call gtk_window_present() on the banners so
8783 they are risen if they are already visible.
8785 2008-03-03 Sven Herzberg <sven@imendio.com>
8787 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8789 * examples/hildon-window-menu-example.c: (main): extended the window
8790 menu example to serve as a testcase for automatically added
8791 accelerator groups, too
8792 * src/hildon-window.c: (hildon_window_add_accel_group),
8793 (hildon_window_set_menu): added patch by Tommi Komulainen
8795 2008-03-03 Sven Herzberg <sven@imendio.com>
8797 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8799 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8800 knowledge about the border allocators used within GTK+
8802 2008-02-26 Sven Herzberg <sven@imendio.com>
8804 Fixes: MB#2981: Build with asserts broken
8806 * src/hildon-date-editor.c,
8807 * src/hildon-number-editor.c,
8808 * src/hildon-time-editor.c,
8809 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8810 the proper GType instance check
8812 2008-02-25 Sven Herzberg <sven@imendio.com>
8814 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8816 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8817 * examples/hildon-window-menu-example.c: (main): explicitly show
8819 * src/hildon-window.c:
8820 (hildon_window_set_main_menu): moved most of the code from set_menu()
8821 to this place; skipped the call to gtk_widget_show_all(); also didn't
8822 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8823 (hildon_window_set_menu): removed most of the code, just keep the
8824 questionable gtk_widget_show_all()
8825 * src/hildon-window.h: added the new function and deprecate the old
8828 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8834 * debian/changelog: Updating.
8836 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8839 * pkgconfig/Makefile.am:
8840 * pkgconfig/hildon.pc.in:
8843 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8844 use newly created API_MAJOR_VERSION.
8846 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8852 * debian/changelog: Updating.
8854 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8856 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8858 Add outer_border style property, we use it but don't define it (!).
8862 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8864 * examples/hildon-bread-crumb-trail-example.c (main):
8868 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8870 Fix logic for the bread crumb trail node removal.
8874 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * debian/changelog: Updating.
8882 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 Patch by Alejandro to get/set passwords dialogs accesibility.
8886 * hildon-1/src/hildon-get-password-dialog.c:
8887 * hildon-1/src/hildon-set-password-dialog.c:
8888 Set atk_set_name to the passwd entries in order to allow
8889 accessibility by name on this entries.
8891 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * debian/control: Updating gtk dep.
8898 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8900 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8901 USE_MAEMO_GTK is enabled.
8903 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8905 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8906 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8908 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * debian/changelog: Updating.
8916 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * examples/Makefile.am:
8919 * examples/hildon-logical-color-example.c:
8920 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8921 applied + adding a test case. Fixes: NB#71660.
8923 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8925 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8926 to be visible, fixes warning on map for windows without toolbars.
8928 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8930 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8931 2.11.0, add a check for that besides the MAEMO_GTK check.
8933 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * debian/changelog: Updating.
8941 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8944 visibility. Fixes: NB#70842 and MB#615.
8946 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8948 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8949 set the separator as no-show-all so it doesn't unintentionally appear when
8950 someone does a show_all.
8952 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8954 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8955 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8956 toplevel item. Fixes: NB#62031
8958 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8960 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8961 fix the name of the function in the docs.
8963 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8969 * debian/changelog: Updating.
8971 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8973 * examples/hildon-banner-long-example.c: Adding a test-case for long
8976 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8978 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * src/hildon-color-chooser-dialog.c:
8981 * src/hildon-color-chooser.c:
8982 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8983 memory leaks in font selector and color selector. Fixes: NB#70499 and
8986 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8988 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8990 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8992 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8993 little bit bigger. Fixes: #NB63694.
8995 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9001 * debian/changelog: Updating.
9003 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9006 * doc/hildon-docs.sgml:
9007 * doc/images/bread-crumb-trail.png:
9008 * doc/images/calendar-popup.png:
9009 * doc/images/caption.png:
9010 * doc/images/code-dialog.png:
9011 * doc/images/color-button.png:
9012 * doc/images/color-chooser-dialog.png:
9013 * doc/images/color-chooser.png:
9014 * doc/images/controlbar.png:
9015 * doc/images/date-editor.png:
9016 * doc/images/font-selection-dialog.png:
9017 * doc/images/get-password-dialog.png:
9018 * doc/images/hvolumebar.png:
9019 * doc/images/login-dialog.png:
9020 * doc/images/note.png:
9021 * doc/images/number-editor.png:
9022 * doc/images/range-editor.png:
9023 * doc/images/seekbar.png:
9024 * doc/images/set-password-dialog.png:
9025 * doc/images/sort-dialog.png:
9026 * doc/images/time-editor.png:
9027 * doc/images/time-picker.png:
9028 * doc/images/vvolumebar.png:
9029 * doc/images/weekday-picker.png: Adding the new generated widget shots.
9030 Adding the bread-crumb-trial and helpers to the documentation.
9032 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * examples/hildon-find-toolbar-example.c:
9035 * src/hildon-find-toolbar.c:
9036 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
9037 actually continue firing the other handlers if connected. Adding a new
9039 hildon_find_toolbar_get_last_index that gets the index of the most
9040 recently added (last) item. Fixes: NB#52301.
9042 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
9045 behaviour. Fixes: NB#68610.
9047 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9052 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9055 when realizing the banner. Should make the infonbanner effect a bit more
9058 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-volumebar.c:
9061 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9062 hildon_volumebar_set_range_insensitive_message and
9063 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9065 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * src/hildon-window.c: Fixing the border freeing on destroy.
9069 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * src/hildon-code-dialog-private.h:
9072 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9073 kw keyboard support in HildonCodeDialog.
9075 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * debian/changelog: Updating.
9083 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-date-editor.c:
9086 * src/hildon-number-editor.c:
9087 * src/hildon-private.c:
9088 * src/hildon-private.h:
9089 * src/hildon-time-editor.c:
9090 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9091 handling in subclassed composite widgets. Fixes: NB#66628.
9093 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9095 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9096 from destroy_ callback as it introduces problems in async dbus signal
9097 handlers. Fixes NB#66673.
9099 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * examples/hildon-hvolumebar-example.c:
9102 * src/hildon-volumebar.c: Improving the focus handling in the
9103 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9104 set_property accessor so that "mute" property can be actually set. I'm
9105 scared that nobody noticed it's totally broken.
9107 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9112 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * src/hildon-calendar.c:
9115 * src/hildon-number-editor.c:
9116 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9117 matches the spec of 6 chars per second. Fixes: NB#60489.
9119 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9121 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9122 gtk_style_lookup_color sometime returns FALSE even though color was
9123 found and values were filled properly. Weird. Removing the warning for the
9126 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9129 expand vertically. Adding some extra space to the find toolbar buttons to
9130 make them thumbable. Fixes NB#66060.
9132 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9135 popup with "Ok" and "Cancel". Fixes NB#59299.
9137 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9139 * src/hildon-calendar.c: Process all window updates before executing next
9140 timeout. Fixes: NB#54146.
9142 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * debian/changelog: Updating.
9150 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9152 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9153 the client event and ignore it, since we use the delete event to close
9156 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9158 * src/hildon-helper.c: Remove the bogus warning about color not being
9159 found. Fixes NB#58352.
9161 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9163 * examples/Makefile.am:
9164 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9165 HildonSeekbar widget inside a toolbar.
9167 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9169 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9170 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9171 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9172 don't want to be closed by non-temporary windows on map.
9174 Also use G_DEFINE_TYPE instead of manually typed code.
9176 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9183 * debian/rules: Updating.
9185 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9187 * examples/Makefile.am:
9188 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9189 bug NB#61128. Strangely it works.
9191 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * src/hildon-date-editor.c: When the date editor entry has been changed
9194 but the numbers of characters < max, turn off the skip validation flag.
9195 Prevents a situation when we enter first a valid year and later re-write
9196 it with an invalid one. Fixes NB#60154.
9198 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9200 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9201 code dialog. Fixes NB#64355.
9203 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9205 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9206 switching the page. Fixes NB#49374.
9208 * examples/Makefile.am:
9209 * examples/hildon-wizard-dialog-example.c: Adding an example for
9210 HildonWizardDialog that shows how to handle manual sensitivity setting on
9213 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * src/hildon-version.h.in:
9218 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9220 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * src/hildon-volumebar.c: Updating the docs.
9224 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * debian/changelog: Updating.
9232 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9234 * src/hildon-find-toolbar.c:
9235 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9236 selected item: hildon_find_toolbar_set_active,
9237 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9238 hildon_find_toolbar_get_active_iter . They correspond to respective
9239 GtkComboBox functions.
9241 * examples/Makefile.am:
9242 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9245 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9247 * examples/Makefile.am:
9248 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9251 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9252 when font size > 32 and we pack a focusable widget inside. Actually using
9253 the default response would work too, but since we don't show default
9254 response state in any way (no theming) it would not be visible to the
9255 user. Fixes NB#63430.
9257 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9259 * src/hildon-date-editor.c: Adding the missing variable setter in the
9260 set_property handler. Fixes NB#54182.
9262 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9264 * src/hildon-window.h: Changing the long key press time from 1500ms to
9265 800ms as requested in NB#63700. I have a bad feeling about this, let's
9266 see... Fixes NB#63700.
9268 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9270 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9271 hildon_time_picker_map, hildon_time_picker_realize,
9272 hildon_time_picker_style_set): Split the contents of map to more
9273 appropriate functions; set window decorations on realize and update
9274 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9276 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9281 * debian/changelog: Updating.
9283 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9285 * src/Makefile.am: fixed installation of the header files
9287 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9293 * debian/changelog: Updating.
9295 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9297 * configure.ac: Removing some remaining of --enable-xan.
9299 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9301 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9302 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9304 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9305 2.10.12-osso6 because the move-focus signal needs to be available in
9308 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * examples/Makefile.am:
9311 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9312 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9313 fine. Prolly NB#61128 is fixed now.
9315 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9317 * src/hildon-volumebar.c:
9318 * src/hildon-volumebar.h: Adding the
9319 hildon_volumebar_set_range_insensitive_message and
9320 hildon_volumebar_set_range_insensitive_messagef functions to set
9321 insensitive message on the slider of the volumebar. Fixes NB#61129.
9323 * examples/Makefile.am:
9324 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9325 test the new insensitive messsage functionality on HildonVolumebar.
9327 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9329 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9332 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9334 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9335 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9336 button on after clearing the trail.
9338 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9340 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9342 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9344 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9345 by splitting the installed headers in generated and non-generated groups. Use
9346 only the non-generated headers to create the hildon-enum-types.h file.
9348 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9350 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9352 * src/hildon-window.c: Hide the window before performing the destroy.
9353 Should make the app closing a little tiny bit more snappy.
9355 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9357 * src/hildon-seekbar.c: add gtkrange.h header
9358 * src/hildon-caption.c: remove unused variable
9360 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9362 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9365 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9371 * debian/changelog: Updating.
9373 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9375 * src/hildon-window.c (hildon_window_window_state_event,
9376 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9377 escape timeout on focus-out-event rather than notify::is-topmost; the
9378 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9380 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9382 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9383 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9385 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9387 * src/hildon-window: actually, you need to use the macro always, there's
9388 no private pointer in the instance structure. We should have cleaned this up
9389 when we had the chance...
9391 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9393 * src/hildon-window.c: do not get the private date from HildonWindow before
9394 it passes the g_return_if_fail check. Once it's passed the test, there's no
9395 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9396 if you are only going to access the data once. Whitespace cleanups.
9398 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9400 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9401 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9403 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9409 * debian/changelog: Updating.
9411 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9413 * src/hildon-window.c: When destroying the window, remove (if exists) the
9414 escape timeout handler. Fixes #NB59276.
9416 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9418 * src/hildon-banner.c: When realizing the widget, set the window
9419 transiency. Setting the transiency in the gobject constructor is not
9420 good, as the widget is not realized at that point. Fixes: #NB56624.
9422 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9424 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9425 Add padding for future expansions.
9427 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9429 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9430 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9431 will fake an activation on the previous to the last item of the trail, so
9432 the effect can be overrided by the developer as usual.
9433 Also change the callback for the back button to do the same thing, so its
9434 effect can be overrided too. Fixes: NB#58982
9436 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9438 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9439 HildonCaption. Fixes NB#52379.
9441 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9443 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9444 the internal state of the trail after the user has had the chance of executing
9445 his handler for the signal. Specifically, it may happen that the activated button
9446 is removed and the user still lets the default handler run. This would segfault
9449 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9451 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9452 scrollbar to the preview dialog. Fixes NB#54147.
9454 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9456 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9457 max/min year properties can be altered, so the client can modify it
9458 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9460 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9462 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9463 hildonlike by default. Fixing a problem with disappearing arrows when
9464 scrolling through months and years. Fixes NB#54127.
9466 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9468 * examples/hildon-date-editor-example.c: Adding error callback to the date
9471 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9477 * configure.ac: Updating.
9479 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9481 * configure.ac: Adding a special '--enable-xan' configure option that
9482 turns off the -Werror compilation setting. Usefull for development.
9484 * src/hildon-calendar.c:
9485 * src/hildon-number-editor.c:
9486 * src/hildon-time-picker.c: Adding the 5* multiplier to
9489 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9491 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9492 instead of g_object_ref + gtk_object_sink.
9494 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9500 * debian/changelog: Updating.
9502 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9504 * src/hildon-color-chooser-dialog.c:
9505 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9506 straight from Tommi labs.
9508 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9510 * examples/hildon-finger-example.c: Correcting the header file path.
9512 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9513 the changed signal. Fixes a small memory leak.
9515 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9519 * src/hildon-banner.c: Importing several usefull fixes from the
9520 ubuntu-mobile branch.
9522 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9524 * examples/Makefile.am:
9525 * examples/hildon-finger-example.c: Adding a finger-checking code
9528 * src/hildon-font-selection-dialog.c: Do not allocate the color
9529 structure using the g_new. Fixes NB#54061.
9531 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9533 * src/hildon-helper.c: Correcting tabs in file.
9535 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9537 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9538 control the visibility of the children.
9540 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9542 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9548 * debian/changelog: Updating.
9550 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9552 * src/hildon-bread-crumb-trail.c:
9553 (hildon_bread_crumb_trail_size_allocate):
9555 Make the back button always a square.
9557 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9559 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9560 from the .c file as it's a private file.
9562 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9564 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9565 uses slightly bigger height.
9567 * src/hildon-font-selection-dialog.c: Adding some checks before
9568 freeing memory in the font selection dialog.
9570 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9572 * src/hildon-font-selection-dialog.c: Adding a small check when
9575 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9576 buttons sensitivity on page switching.
9578 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9580 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9581 internal details of adding a bread crumb to the trail.
9583 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9589 * debian/changelog: Updating.
9591 * src/hildon-bread-crumb-trail.h:
9592 * src/hildon-bread-crumb.h: Changing the API guard to
9593 HILDON_ENABLE_UNSTABLE_API.
9595 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9603 * src/hildon-helper.h: Updating.
9605 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9613 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9617 * src/hildon-helper.h: Small fix to make the package actually compile.
9619 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9621 * src/hildon-bread-crumb-trail.h:
9622 * src/hildon-bread-crumb.h:
9624 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9625 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9627 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9629 * examples/hildon-bread-crumb-trail-example.c:
9631 * src/hildon-bread-crumb-trail.c:
9632 * src/hildon-bread-crumb-trail.h:
9633 * src/hildon-bread-crumb.c:
9634 * src/hildon-bread-crumb.h:
9635 * src/hildon-marshalers.list:
9636 * src/hildon-bread-crumb-widget.c:
9637 * src/hildon-bread-crumb-widget.h:
9639 Slight change in the widget design. The bread crumb trail API is
9640 unchanged, but HildonBreadCrumb is now an interface. A *private*
9641 implementation, hildon-bread-crumb-widget, is provided and used
9642 internally by the trail for the push_text/push_icon functions.
9644 The generic push API is still available, so anyone can implement
9645 and use its own bread crumb widget.
9647 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9649 * debian/rules: Fixing the shlibs.
9651 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9653 * src/hildon-banner.c: Fixing a problem with timed banners having
9654 their parrent destroyed before they are.
9656 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9658 * src/hildon-bread-crumb.c:
9659 * src/hildon-bread-crumb.h:
9661 Make the get_natural_size function a vfunc.
9663 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9665 * src/hildon-bread-crumb.c:
9666 * src/hildon-bread-crumb-trail.c:
9670 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9677 * debian/changelog: Updating for release.
9679 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9681 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9682 don't leak the pango layout.
9684 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9687 * examples/hildon-bread-crumb-trail-example.c:
9691 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9693 * debian/changelog: Removing the bug-fixed entries that were actually
9694 resolved as WONTFIX.
9696 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9699 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9701 * src/hildon-bread-crumb-trail.c:
9702 * src/hildon-bread-crumb-trail.h:
9703 * src/hildon-bread-crumb.c:
9704 * src/hildon-bread-crumb.h:
9708 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9710 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9711 until it's passed the type check.
9713 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9715 * examples/hildon-bread-crumb-trail-example.c
9719 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9721 * examples/Makefile.am
9722 * examples/hildon-bread-crumb-trail-example.c
9724 * src/hildon-bread-crumb-trail.c
9725 * src/hildon-bread-crumb-trail.h
9726 * src/hildon-bread-crumb.c
9727 * src/hildon-bread-crumb.h
9729 New HildonBreadCrumbTrail widget.
9731 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9733 * src/hildon-range-editor.c (hildon_range_editor_init),
9734 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9735 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9736 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9737 hildon_time_editor_class_init, hildon_time_editor_init),
9738 src/hildon-get-password-dialog.c (invalid_input,
9739 hildon_get_password_set_property, hildon_get_password_get_property,
9740 create_contents, hildon_get_password_dialog_set_max_characters),
9741 src/hildon-set-password-dialog.c (create_contents),
9742 src/hildon-date-editor.c (hildon_date_editor_init),
9743 src/hildon-login-dialog.c (hildon_login_dialog_init),
9744 src/hildon-number-editor.c (hildon_number_editor_init),
9745 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9746 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9747 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9748 configure option and adding the respective checks in the code.
9749 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9750 hildon_calendar_drag_data_received): fixed some build warnings.
9752 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9754 * debian/changelog: A 1.0.0 release notes.