1 2009-09-07 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init): Increased max speed.
6 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
8 [2.2.0 Release Candidate 2]
11 * debian/changelog: bump version, updates
13 2009-09-07 Alejandro G. Castro <alex@igalia.com>
15 * hildon/hildon-pannable-area.c,
16 (hildon_pannable_area_class_init),
17 (hildon_pannable_area_button_release_cb): More tuning for the
20 2009-09-07 Alejandro G. Castro <alex@igalia.com>
22 * hildon/hildon-pannable-area.c,
23 (hildon_pannable_area_class_init):
24 Change the default value of the scrollbar_fade_delay.
26 Fixes: NB#127018 (Panning indicator fades out too slowly)
28 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
30 [2.2.0 Release Candidate 1]
33 * configure.ac: Bump version
34 * debian/changelog: updates
36 2009-09-04 Alejandro G. Castro <alex@igalia.com>
38 * hildon/hildon-pannable-area.c,
39 (hildon_pannable_area_init),
40 (hildon_pannable_area_button_press_cb),
41 (hildon_pannable_area_button_release_cb): Added a new acceleration
42 system to help traversing big lists, tuned the stop threshold.
44 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
46 2009-09-04 Alberto Garcia <agarcia@igalia.com>
48 * hildon/hildon-window.h:
49 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
51 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
53 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
57 * configure.ac: bump version
59 * debian/changelog: updates
61 2009-09-04 Alberto Garcia <agarcia@igalia.com>
63 * hildon/hildon-entry.c
64 * hildon/hildon-text-view.c:
67 2009-09-04 Alberto Garcia <agarcia@igalia.com>
69 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
70 Redraw menu when the number of items change.
72 Fixes: NB#131911 (Appmenu does not resize properly, when number of
75 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
77 * hildon/hildon-pannable-area.c:
78 (hildon_pannable_area_launch_fade_timeout),
79 (hildon_pannable_area_motion_event_scroll),
80 (hildon_pannable_area_check_move),
81 (hildon_pannable_area_button_release_cb),
82 (hildon_pannable_area_scroll_to):
84 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
85 area drawing operations, since this is the recommended for drawing
88 Fixes: NB#110894 (In event view containing very large description
89 field, application menu is displayed blank while panning)
90 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
93 2009-09-03 Alberto Garcia <agarcia@igalia.com>
95 * doc/hildon-sections.txt
96 * hildon/hildon-button.c
97 * hildon/hildon-edit-toolbar.c
98 * hildon/hildon-gtk.[ch]
99 * hildon/hildon-main.c
100 * hildon/hildon-program.c
101 * hildon/hildon-stackable-window.c:
102 Documentation updates
104 2009-08-28 Alberto Garcia <agarcia@igalia.com>
106 * hildon/hildon-app-menu.c
107 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
108 Close the menu if it receives a grab-notify signal.
110 Fixes: NB#134533 (UI freezes if we show a dialog with
111 gtk_dialog_run() while a menu is opened)
113 2009-08-27 Alejandro G. Castro <alex@igalia.com>
115 * hildon/hildon-pannable-area.c,
116 (hildon_pannable_area_class_init): Reverted tuning modifications:
117 "Pannign needs to be faster" and "Pannable kinetics in large lists
120 2009-08-26 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-sound.c (hildon_play_system_sound):
123 Set "module-stream-restore.id" to "x-maemo-system-sound" when
124 playing system sounds
126 Fixes: NB#133767 (Information and confirmation note sound should
127 follow system profile setting)
129 2009-08-26 Alejandro G. Castro <alex@igalia.com>
131 * hildon/hildon-pannable-area.c,
132 (hildon_pannable_area_class_init): Added more force and increased
133 the max speed threshold.
135 Fixes: NB#135344 (Pannign needs to be faster)
137 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
139 [Release 2.1.96, this time for real]
142 * debian/changelog: updates
144 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
146 * hildon/hildon-pannable-area.c
147 (hildon_pannable_area_get_topmost): change the computation of the
148 co-ordinates transformed when no one of the children is a topmost
150 Fixes: NB#133252 (Opening any feed item from RSS always opens the
151 first feed item in browser)
153 2009-08-26 Alejandro G. Castro <alex@igalia.com>
155 * hildon/hildon-pannable-area.c,
156 (hildon_pannable_area_remove_timeouts): Adding this new function
157 with the code that removes the timeouts of the widget.
158 (hildon_pannable_area_dispose),
159 (hildon_pannable_area_unrealize): Use the new remove function to
160 stop timeouts when unrealizing and disposing.
161 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
162 calculation to avoid negative values in some cases.
164 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
166 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
168 * examples/hildon-check-button-example.c: (button_toggled_cb):
169 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
170 (hildon_check_button_set_active), (hildon_check_button_new),
171 (hildon_check_button_clicked), (hildon_check_button_class_init):
172 * hildon/hildon-check-button.h:
173 * hildon/hildon-set-password-dialog.c: (create_contents),
174 (hildon_set_password_response_change), (hildon_checkbox_toggled):
176 Revert "Make HildonCheckButton derive from GtkToggleButton"
178 2009-08-21 Alberto Garcia <agarcia@igalia.com>
182 * configure.ac: bump version
184 * debian/changelog: updates
186 2009-08-21 Alberto Garcia <agarcia@igalia.com>
188 * hildon/hildon-check-button.h
189 * hildon/hildon-check-button.c
190 (hildon_check_button_clicked, hildon_check_button_class_init):
191 Make HildonCheckButton derive from GtkToggleButton
192 (hildon_check_button_toggled, hildon_check_button_set_active)
193 (hildon_check_button_get_active):
194 Deprecate unnecessary HildonCheckButton API and use the
195 one from GtkToggleButton instead.
197 * hildon/hildon-set-password-dialog.c (create_contents)
198 (hildon_set_password_response_change, hildon_checkbox_toggled)
199 * examples/hildon-check-button-example.c (button_toggled_cb):
200 Update to use the GtkToggleButton API
202 Fixes: MB#4739 (HildonCheckButton should inherit from
205 Fixes: NB#132661 (HildonCheckButton should inherit from
208 2009-08-20 Alberto Garcia <agarcia@igalia.com>
210 * hildon/hildon-pannable-area.c
211 (hildon_pannable_area_class_init):
212 Increase default value of HildonPannableArea:velocity_max to 2000
214 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
216 2009-08-18 Alberto Garcia <agarcia@igalia.com>
220 * configure.ac: bump version
222 * debian/changelog: updates
224 2009-08-11 Alejandro G. Castro <alex@igalia.com>
226 * hildon/hildon-pannable-area.c
227 (hildon_pannable_area_size_allocate): Checked the scrollbars
228 before the first try when defining the layout, avoids two
229 allocations in some situations.
231 Fixes: NB#131794 (pannable area produces unnecessary allocations
232 causing performance problems)
234 2009-08-11 Alejandro G. Castro <alex@igalia.com>
236 * hildon/hildon-pannable-area.c
237 (hildon_pannable_area_button_press_cb),
238 (hildon_pannable_area_motion_notify_cb),
239 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
240 the spurious ref added in the copy, fixes leak of window.
242 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
243 if it's realized without showing and then deleted)
245 2009-08-10 Alberto Garcia <agarcia@igalia.com>
249 * configure.ac: bump version
251 * debian/changelog: updates
253 2009-08-06 Alberto Garcia <agarcia@igalia.com>
255 * examples/hildon-hvolumebar-timer-example.c
257 * hildon/hildon-banner.c
258 (hildon_banner_timeout, hildon_banner_ensure_timeout)
259 * hildon/hildon-calendar.c
260 (calendar_timer, start_spinning)
261 * hildon/hildon-color-chooser.c
262 (inline_limited_expose)
263 * hildon/hildon-date-editor.c
264 (hildon_date_editor_entry_focus_in)
265 (hildon_date_editor_entry_validate)
266 (hildon_date_editor_entry_select_all)
267 * hildon/hildon-note.c
269 * hildon/hildon-number-editor.c
270 (hildon_number_editor_button_pressed)
271 (hildon_number_editor_start_timer, do_mouse_timeout),
272 (add_select_all_idle, hildon_number_editor_select_all)
273 * hildon/hildon-time-editor.c
274 (hildon_time_editor_entry_focus_in)
275 (highlight_callback, hildon_time_editor_validate)
276 (hildon_time_editor_entry_select_all)
277 * hildon/hildon-time-picker.c
278 (hildon_time_picker_arrow_press)
279 (hildon_time_picker_key_repeat_timeout)
280 * hildon/hildon-window.c
281 (hildon_window_key_press_event)
282 (hildon_window_escape_timeout):
283 Replace all calls to g_idle_add/g_timeout_add with their
284 gdk_threads counterparts.
286 Fixes: NB#126198 (gdk-threads API should be used to install idle
287 and timeout handlers)
289 2009-08-06 Alejandro G. Castro <alex@igalia.com>
291 * hildon/hildon-pannable-area.c,
292 (hildon_pannable_area_class_init): Increased the overshooting max
293 speed to get a faster effect.
294 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
295 deceleration of the overshooting
296 (hildon_pannable_area_button_release_cb): Calculate initial
297 overshooting speed when finger on the screen using the distance to
298 launch the effect faster.
300 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
301 lists with slow row renderers)
303 2009-08-05 Alberto Garcia <agarcia@igalia.com>
305 * doc/hildon-sections.txt: Add new functions
307 2009-08-05 Alberto Garcia <agarcia@igalia.com>
309 * hildon/hildon-text-view.[ch]
310 * hildon/hildon-entry.[ch]:
311 Add deprecation guards around deprecated functions.
313 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
315 * hildon/hildon-app-menu.c: Remove leftover function declaration.
317 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
319 Remove the grab from HildonAppMenu
321 * hildon/hildon-app-menu.c:
322 Now hildon-desktop places a blocker window behind the menu to handle
323 its closing, so the grab is no longer needed. This simplifies its
324 implementation and allows the system blanking to succeed.
326 Fixes: NB#130910 (Screen gets unlocked when menu is open)
328 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
332 * configure.ac: bump version
334 * debian/changelog: updates
335 * debian/control: raise debian dependency on GTK+
337 2009-08-04 Alberto Garcia <agarcia@igalia.com>
339 * hildon/hildon-text-view.c
340 * hildon/hildon-entry.c:
341 Remove all placeholder code from HildonEntry and HildonTextView
342 and use the API in GtkEntry and GtkTextView instead.
344 * examples/hildon-entry-example.c
345 * examples/hildon-text-view-example.c
346 * examples/hildon-wizard-dialog-example.c
347 * hildon/hildon-get-password-dialog.c
348 * hildon/hildon-login-dialog.c
349 * hildon/hildon-picker-dialog.c
350 * hildon/hildon-set-password-dialog.c
351 * hildon/hildon-touch-selector-entry.c:
352 Replace all deprecated calls to HildonEntry and HildonTextView
353 with their Gtk counterparts.
355 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
358 2009-08-03 Alejandro G. Castro <alex@igalia.com>
360 * hildon/hildon-pannable-area.c,
361 (hildon_pannable_area_check_move),
362 (hildon_pannable_area_button_release_cb),
363 (hildon_pannable_area_scroll_to): Reverted the priority change of
364 the timeout, in some situations, slow renderers, the click do not
365 make it to the mainloop on time.
367 Fixes NB#131013 (unable to stop panning file manager by tapping on
370 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
372 * configure.ac: bump version
374 * debian/changelog: updates
376 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
378 * hildon/hildon-touch-selector.[ch]
379 (hildon_touch_selector_center_on_index): New method that allows to center
380 on a item not selected
382 Fixes NB#130291 (New HildonTouchSelector API is required to center on
385 2009-07-29 Alberto Garcia <agarcia@igalia.com>
387 * hildon/hildon-text-view.c
388 (+set_logical_color, +hildon_text_view_style_set)
389 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
390 (hildon_text_view_init)
391 * hildon/hildon-entry.c
392 (+set_logical_color, +hildon_entry_style_set)
393 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
394 (hildon_entry_class_init, hildon_entry_init)
395 * hildon/hildon-button.c
396 (+set_logical_font, +set_logical_color)
397 (hildon_button_style_set, hildon_button_init)
398 (hildon_button_set_arrangement, hildon_button_set_style):
399 Remove all calls to hildon_helper_set_logical_font() and
400 hildon_helper_set_logical_color(), which are recursive, from
403 Fixes: NB#123409 (Showing dialog consumes significant amount of
406 2009-07-29 Alejandro G. Castro <alex@igalia.com>
408 * hildon/hildon-pannable-area.c,
409 (hildon_pannable_area_timeout): Added the process updates of the
410 scrollbars window in the pannable.
412 Fixes: NB#130043 (scrollindicator not smooth while panning)
414 2009-07-23 Alejandro G. Castro <alex@igalia.com>
416 * hildon/hildon-pannable-area.c,
417 (hildon_pannable_area_check_move),
418 (hildon_pannable_area_button_release_cb),
419 (hildon_pannable_area_scroll_to): Increased the priority of the
420 timeout this way it is going to be handled before the events.
422 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
426 * configure.ac: bump version
427 * debian/changelog: updates
429 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
431 * hildon/hildon-entry.c: (set_property): Do not allow to set
432 automatic height and use finger height instead, to prevent an to
433 have a smaller size than than its theme pixbuf.
435 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
437 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
439 * configure.ac: postrelease version bump.
440 * debian/changelog: post release version bump
442 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
447 * configure.ac: Bump version.
448 * debian/changelog: Updates.
450 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
452 * hildon/hildon-note.c: (label_size_request): Take the note
453 padding into account when setting the size request.
455 Fixes: NB#127896 (Information notes text truncated)
457 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
459 * configure.ac: postrelease version bump.
460 * debian/changelog: post release version bump
462 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
467 * configure.ac: Bump version.
468 * debian/changelog: Updates.
470 2009-07-16 Alejandro G. Castro <alex@igalia.com>
473 * hildon/hildon-text-view.c,
474 (hildon_text_view_button_press_event): Grabbed the focus in button
475 press, this way we are sure the widget has the focus in the
476 release event, required for HIM.
478 Fixes: NB#121445 (Virtual keyboard opening is not working in same
479 way for each text entry field)
481 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
483 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
484 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
485 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
486 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
487 (hildon_pannable_area_[gs]et_center_on_child_focus)
488 Redefined GtkContainer set-focus-child signal, in order to center
489 properly on a child when it receives the focus. Defined a new property
490 "center-on-child-focus" in order to activate this feature (deactivated
491 by default). Public get/set methods defined to manage the property.
493 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
495 2009-07-14 László Pere <lpere@blumsoft.eu>
497 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
498 the new size is applied.
500 Fixes: NB#124510 (The Application Menu is distorted when switched
501 between portrait and landscape mode)
502 Fixes: NB#115388 (Power key menu does not resize itself)
504 2009-07-01 Alberto Garcia <agarcia@igalia.com>
506 * hildon/hildon-banner.c (hildon_banner_map):
507 Set banner position after mapping.
509 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
511 * configure.ac: postrelease version bump.
512 * debian/changelog: post release version bump
514 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
519 * configure.ac: Bump version.
520 * debian/changelog: Updates.
522 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
524 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
527 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
529 * tests/check-hildon-banner.c
531 * tests/test_suites.h
532 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
533 were testing deprecated functions.
534 * examples/hildon-banner-example.c: typo on button3 type, that causes
535 a fail compiling with --with-examples but without --disable-deprecated
537 Missed commit in order to fix compilation using '--enable-fatal' and
538 '--disable-deprecated' (see previous commit)
540 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
542 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
543 functions with #ifndef HILDON_DISABLE_DEPRECATED
544 * examples/hildon-find-toolbar.c: Protect deprecated
545 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
546 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
547 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
548 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
550 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
551 to allow proper compilation of deprecated functions defined on the header
553 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
555 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
557 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
558 Cache the panning indicator color.,
559 (hildon_pannable_area_style_set): Query the color on style changes.
560 (hildon_pannable_draw_vscroll),
561 (hildon_pannable_draw_hscroll),
562 (hildon_pannable_area_expose_event): Use the cached panning indicator
563 color instead of looking it up on every expose and more.
565 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
567 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
568 (hildon_pannable_draw_hscroll),
569 (hildon_pannable_area_expose_event): Fix the panning indicator color,
570 so that it's "SecondaryTextColor", as desired.
572 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
574 * hildon/hildon-picker-dialog.c:
575 (selection_completed): take into account HILDON_UI_MODE_NORMAL
576 * hildon/hildon-touch-selector.c
577 (hildon_touch_selector_init): Initialize hildon-ui-mode
578 (hildon_touch_selector_row_activated): new callback for the
579 "row-activated" signal, in order to save the last activated
580 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
581 if the current hildon-ui-mode is coherent with the touch selector
582 (hildon_touch_selector_class_init)
583 (hildon_touch_selector_get_property)
584 (hildon_touch_selector_set_property)
585 Added "hildon-ui-mode" property
586 (disconnect_model_handlers): renamed to clean_column
587 (hildon_touch_selector_remove): use clean_column function
588 (_create_new_column): use the hildon-ui-mode to create the treeview, and
589 only select the first element on HILDON_UI_MODE_EDIT
590 (hildon_touch_selector_column_init): Initialize last_activate
591 (hildon_touch_selector_append_column): check that the touch selector
592 is coherent with the current hildon-ui-mode
593 (hildon_touch_selector_get_hildon_ui_mode)
594 (hildon_touch_selector_set_hildon_ui_mode)
595 Added a getter/setter for the hildon-ui-mode property
596 (hildon_touch_selector_get_last_activated_row): Added this method in
597 order to get the last activated row.
598 * examples/hildon-touch-selector-normal-mode-example.c
599 New example, that shows how to use the HildonTouchSelector in
600 HILDON_UI_MODE_NORMAL
602 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
603 Kristian Rietveld <kris@lanedo.com> advices
605 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
607 * hildon/hildon-time-selector.c: (update_format_policy): Do
608 not call update_format_dependant_columns() if not necessary.
609 (update_format_dependant_columns): Remove unnecessary check for
610 the number of columns.
612 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
614 * hildon/hildon-note.c (+hildon_note_constructor),
615 (hildon_note_class_init), (+hildon_note_set_padding),
616 (hildon_note_rebuild): Install a constructor where to set the
617 padding properties in the note, so that it actually works fine.
618 Use hildon_note_set_padding() for this, and also to set it during
621 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
623 * configure.ac: Bump GTK+ requirement to 2.14.3.
624 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
625 when using maemo-gtk to define proper margins for the notes.
627 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
628 with the dialog edge)
630 2009-06-24 Alberto Garcia <agarcia@igalia.com>
632 * hildon/hildon-banner.c
633 (hildon_banner_class_init):
635 (+hildon_banner_size_request):
636 Request always the full width of the screen.
637 (hildon_banner_realize)
638 (-hildon_banner_check_position, hildon_banner_map):
639 hildon_banner_check_position() is not needed in Hildon 2.2.
640 (-hildon_banner_reset_wrap_state)
641 (hildon_banner_constructor, hildon_banner_init):
642 Remove unnecessary calls to hildon_banner_reset_wrap_state()
643 (+banner_do_set_text)
644 (force_to_wrap_truncated):
645 Remove has_been_wrapped and has_been_truncated attributes.
646 (+reshow_banner, hildon_banner_real_show_information)
647 (hildon_banner_show_information_with_markup)
648 (hildon_banner_show_animation, hildon_banner_show_progress)
649 (hildon_banner_set_text, hildon_banner_set_markup):
650 Refactor code. Shrink banner vertically to use the minimum space
651 necessary everytime the text of the label is updated.
652 (screen_size_changed):
653 Call force_to_wrap_truncated() when the size of the screen
656 Fixes: NB#120500 (only device memory connect mmc in use info
657 banner is left aligned)
659 Fixes: NB#120613 (Size of HildonBanner varies depending on
660 previously opened banners)
662 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
664 * hildon/hildon-color-chooser.c
665 (hildon_color_chooser_pointer_motion): Take the widget allocation
668 Fixes: NB#124385 (Unable to select exact point in color mixing box
669 in color palette dialog)
671 2009-06-23 Alejandro G. Castro <alex@igalia.com>
673 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
674 (hildon_pannable_area_dispose)
675 (hildon_pannable_area_button_press_cb)
676 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
677 (hildon_pannable_area_button_release_cb)
678 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
679 New 'panning-started' and 'panning-finished' signals.
681 Fixes: NB#121732 (New feature request: Signal to pannable area
682 that informs when panning is stopped.)
684 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
686 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
687 instead of hardcoded colon.
689 Fixes: NB#124090 (New calendar wizard title is not using
690 ecdg_ti_caption_separator)
692 2009-06-22 David King <davidk@openismus.com>
694 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
695 constants and functions, as well as correct many typos throughout the
698 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
701 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
703 * configure.ac: postrelease version bump.
704 * debian/changelog: post release version bump
706 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
711 * configure.ac: Bump version.
712 * debian/changelog: Updates.
714 2009-06-18 Alberto Garcia <agarcia@igalia.com>
716 * hildon/hildon-window-stack.c
717 (hildon_window_stack_pop_and_push_list):
718 Prevent windows from having the same stack index
720 2009-06-18 Alberto Garcia <agarcia@igalia.com>
722 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
723 Use the index of the previous window rather than the stack length
724 to calculate the new index.
728 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
730 * hildon/hildon-date-selector.c
731 (hildon_date_selector_select_current_date)
732 (hildon_date_selector_get_date)
733 (hildon_date_selector_select_day):
734 Update the documentation: uses always the range (1-31), as it is obvious
735 that the final one will depend on the month and the year, but globally
736 the range is this, in a similar GtkCalendar approach
737 (hildon_date_selector_get_date):
738 Update the documentation: add NULL as a valid value for the day, month
741 Fix some details, after talk with David King on bug MB#4698
743 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
745 * hildon/hildon-touch-selector-entry.c
746 * hildon/hildon-touch-selector.c
747 Update the documentation of the "text-column" property
749 2009-06-18 David King <davidk@openismus.com>
751 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
752 several typos and errors throughout the documentation.
754 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
757 2009-06-18 Alberto Garcia <agarcia@igalia.com>
759 * hildon/hildon-note.c (hildon_note_realize):
760 Make HildonNote support portrait mode.
762 Fixes: NB#123448 (HildonNote is not portrait-friendly)
764 2009-06-17 Alberto Garcia <agarcia@igalia.com>
766 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
767 Document this function
769 2009-06-17 David King <davidk@openismus.com>
771 * hildon/hildon-date-selector.c
772 (hildon_date_selector_select_current_date)
773 (hildon_date_selector_get_date): Update documentation regarding days,
774 as the day of the month is dependent on both the month and the year.
775 (hildon_date_selector_get_date): Fix documentation of output arguments.
777 Fixes: MB#4698 (DateSelector documentation has bad output argument
778 description, and the day depends on both the month and the year)
780 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
782 * hildon/hildon-caption.c: Other documentation fixes to
785 2009-06-17 David King <davidk@openismus.com>
787 * hildon/hildon-caption.c: Minor documentation updates for
788 HildonCaption. Fixes MB#4697.
790 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
792 * doc/hildon-docs.sgml: Add hildon-version section.
793 * doc/hildon-sections.txt:
794 * hildon/hildon-version.h.in: Document versioning macros and
797 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
799 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
800 from HildonPickerDialog section.
802 2009-06-16 Alberto Garcia <agarcia@igalia.com>
804 * hildon/hildon-banner.c (hildon_banner_bind_style)
805 (screen_size_changed, hildon_banner_init)
806 (hildon_banner_real_show_information)
807 (hildon_banner_show_information_with_markup)
808 (hildon_banner_show_animation, hildon_banner_show_progress):
809 Set a different widget name to banners in portrait mode, for them
810 to be themed correctly.
812 2009-06-16 Alberto Garcia <agarcia@igalia.com>
814 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
815 Set a different widget name to notes in portrait mode, for them to
818 Partially fixes: NB#118401 (HildonNote causes unnecessary
821 2009-06-16 Alberto Garcia <agarcia@igalia.com>
823 * hildon/hildon-note.c (hildon_note_class_init)
824 (+hildon_note_size_request, screen_size_changed):
825 Always request the full width of the screen.
827 Fixes: NB#118375 (unnecessary rescaling of images)
829 2009-06-16 Alejandro G. Castro <alex@igalia.com>
831 * hildon/hildon-pannable-area.c,
832 (hildon_pannable_area_init),
833 (hildon_pannable_area_realize): Replaced old code adding flags in
834 the object init, now we add it with the other flags in the realize
837 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
839 * hildon/hildon-note.c: (hildon_note_class_init): Several
840 documentation improvements to the HildonNote widget.
842 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
844 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
846 Fixes: MB#4556 (HildonNoteType is undocumented)
848 2009-06-15 Alberto Garcia <agarcia@igalia.com>
850 * hildon/hildon-picker-button.c:
851 Explain how HildonPickerButton sets the title of its dialog
853 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
854 the title of its dialog)
856 2009-06-15 Alberto Garcia <agarcia@igalia.com>
858 * hildon/hildon-check-button.c:
859 Documentation updates
861 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
864 2009-06-15 Alberto Garcia <agarcia@igalia.com>
867 * hildon/hildon-edit-toolbar-private.h
868 * hildon/hildon-edit-toolbar.c
869 (+hildon_edit_toolbar_set_progress_indicator)
870 (hildon_edit_toolbar_init): Add progress indicator to the
873 * hildon/hildon-gtk.c
874 (hildon_gtk_window_set_progress_indicator):
875 If the window contains a HildonEditToolbar, enable the progress
878 * hildon/hildon-private.h
879 * hildon/hildon-private.c
880 (+hildon_private_create_animation)
881 * hildon/hildon-banner.c
882 (-hildon_banner_create_animation):
883 Moved to hildon-private.c
885 Fixes: NB#102373 (Progress indicator also for the Edit mode
888 2009-06-15 Alberto Garcia <agarcia@igalia.com>
890 * hildon/hildon-app-menu-private.h
891 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
892 (hildon_app_menu_add_filter, +menu_item_button_event)
893 (hildon_app_menu_button_release, hildon_app_menu_init):
894 Make sure that buttons receive 'button-release-event' in spite of
895 the grab held by HildonAppMenu
897 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
899 2009-06-15 Alberto Garcia <agarcia@igalia.com>
901 * hildon/hildon-app-menu.c
902 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
903 New style property to set the size of the group of filter buttons.
905 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
907 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
912 * configure.ac: Bump version.
913 * debian/changelog: Updates.
915 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
917 * hildon/hildon-main.c: Minor documentation fixes.
919 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
921 * doc/hildon-sections.txt:
922 * hildon/hildon-defines.h: Document the defines, organize them,
923 and mark deprecations as such.
925 Fixes: MB#4463 (Hildon size #defines are undocumented)
927 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
929 * hildon/hildon-animation-actor.c:
930 * hildon/hildon-app-menu.c:
931 * hildon/hildon-button.c:
932 * hildon/hildon-date-editor.c:
933 * hildon/hildon-dialog.c:
934 * hildon/hildon-edit-toolbar.c:
935 * hildon/hildon-entry.c:
936 * hildon/hildon-program.c:
937 * hildon/hildon-remote-texture.c:
938 * hildon/hildon-stackable-window.c:
939 * hildon/hildon-text-view.c:
940 * hildon/hildon-touch-selector.c:
941 * hildon/hildon-window-stack.c:
942 * hildon/hildon-window.c:
944 Remove redundant "represents" wording from most of the documentation.
946 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
948 2009-06-12 Alberto Garcia <agarcia@igalia.com>
953 * hildon/hildon-banner-private.h
954 * hildon/hildon-banner.c:
955 Move HildonBannerPrivate to hildon-banner.c and remove
956 hildon-banner-private.h
957 Use a bit field to store private booleans.
959 2009-06-12 Alberto Garcia <agarcia@igalia.com>
961 * hildon/hildon-app-menu.c (hildon_app_menu_map):
962 Don't install a new idle function if there's already one
967 2009-06-11 Alberto Garcia <agarcia@igalia.com>
969 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
970 (+legacy_menu_realized, +legacy_menu_unmapped)
971 (+set_legacy_menu_type):
972 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
973 they can be identified by the window manager.
975 Fixes: NB#101437 (Invoking CSM on the left side of page area is
976 displayed in wrong location)
978 Fixes: MB#4563 (Popup menu won't locate at the left side of the
981 2009-06-11 Alberto Garcia <agarcia@igalia.com>
983 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
985 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
988 2009-06-11 Alberto Garcia <agarcia@igalia.com>
990 * hildon/hildon-code-dialog.c
991 * hildon/hildon-date-editor.c
992 * hildon/hildon-number-editor.c
993 * hildon/hildon-seekbar.c
994 * hildon/hildon-stackable-window.c
995 * hildon/hildon-window.c:
996 Misc documentation updates
998 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1000 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1001 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1003 Fixes: NB#117931 (Theming issues in accounts dialogs)
1005 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1007 * hildon/hildon-pannable-area.c,
1008 (hildon_pannable_area_button_release_cb): Changed the coordinates
1009 of the original release in case we want to discard the release,
1010 some widgets in Fremantle do not handle the leave-notify.
1012 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1014 * hildon/hildon-pannable-area.c,
1015 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1016 the release using the last refactored functions and avoiding the
1017 movement if an element was selected.
1019 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1021 * hildon/hildon-pannable-area.c,
1022 (hildon_pannable_area_check_move),
1023 (hildon_pannable_area_handle_move),
1024 (hildon_pannable_area_motion_notify_cb): Refactored the
1025 motion_notify method using a couple of new functions.
1027 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1029 * hildon/hildon-date-selector.c:
1030 (hildon_date_selector_construct_ui):
1031 * hildon/hildon-time-selector.c:
1032 (hildon_time_selector_constructor):
1033 * hildon/hildon-touch-selector-entry.c:
1034 (hildon_touch_selector_entry_set_text_column),
1035 (hildon_touch_selector_entry_get_text_column):
1036 * hildon/hildon-touch-selector.c: (_default_print_func),
1037 (hildon_touch_selector_new_text): Use
1038 hildon_touch_selector_set/get_text_column() instead of
1039 setting/getting the "text-column" property.
1041 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1043 * doc/hildon-sections.txt: Add the new public methods below.
1045 * examples/hildon-picker-button-multicolumn-example.c:
1046 (create_touch_selector):
1047 * examples/hildon-touch-selector-example.c: (create_selector):
1048 * examples/hildon-touch-selector-multi-cells-example.c:
1050 Use hildon_touch_selector_column_set_text_column()
1052 * hildon/hildon-touch-selector-column.h:
1053 * hildon/hildon-touch-selector.c:
1054 (hildon_touch_selector_column_set_text_column),
1055 (hildon_touch_selector_column_get_text_column):
1056 Make hildon_touch_selector_column_set/get_column() public, use
1057 them in the inline example, document them, and reference to them
1060 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1062 * hildon/hildon-time-selector.c: Fix the docs for
1063 hildon_time_selector_new_step().
1065 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1067 * hildon/hildon-touch-selector.c: Improve the documentation for
1068 hildon_touch_selector_append_column().
1070 Fixes MB#4641 (Documentation:
1071 hildon_touch_selector_append_column() ref-counting)
1073 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1075 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1076 Comment out test 5, since the hildon_controlbar_set_range() range
1077 check is broken and fixing it would have side effects. Also,
1078 this finally fixes make distcheck.
1080 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1082 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1084 * tests/TEST-CASES.txt: Remove other bogus test.
1085 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1086 Remove bogus test that was setting/retrieving a valid value.
1088 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1090 * tests/TEST-CASES.txt: Remove bogus tests.
1091 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1092 Remove three bogus tests that were actually setting valid colors.
1094 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1096 * configure.ac: post release version bump
1097 * debian/changelog: post release version bump
1099 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1104 * configure.ac: Bump version.
1105 * debian/changelog: Updates.
1107 2009-06-08 Christian Dywan <christian@lanedo.com>
1111 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1112 Correct errors in hildon_format_file-size_for_display and use
1113 translations from the hildon-fm package instead of osso-filemanager.
1115 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1117 * hildon/hildon-pannable-area.c,
1118 (hildon_pannable_area_init): Initialized new values to handle the
1119 adjustment position.
1120 (hildon_pannable_area_adjust_value_changed): Check if the values
1121 changed before even call the redraw function.
1122 (hildon_pannable_area_size_allocate),
1123 (hildon_pannable_axis_scroll),
1124 (hildon_pannable_area_scroll),
1125 (hildon_pannable_area_jump_to): Improved the diagonal movement
1128 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1131 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1133 * examples/hildon-banner-example.c:
1134 Several style updates
1135 (on_animation_clicked, on_animation_idle)
1136 (on_progress_clicked, on_progress_idle):
1137 Add additional reference for the cases when the parent window is
1140 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1142 * doc/hildon-sections.txt
1143 * hildon/hildon-pannable-area.c
1144 * hildon/hildon-banner.h
1145 * hildon/hildon-banner.c: Documentation updates.
1147 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1150 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1152 * hildon/hildon-calendar-popup.h:
1153 * hildon/hildon-caption.h:
1154 * hildon/hildon-code-dialog.h:
1155 * hildon/hildon-controlbar.h:
1156 * hildon/hildon-date-editor.h:
1157 * hildon/hildon-dialog.h:
1158 * hildon/hildon-get-password-dialog.h:
1159 * hildon/hildon-hvolumebar.h:
1160 * hildon/hildon-login-dialog.h:
1161 * hildon/hildon-note.h:
1162 * hildon/hildon-number-editor.h:
1163 * hildon/hildon-range-editor.h:
1164 * hildon/hildon-seekbar.h:
1165 * hildon/hildon-set-password-dialog.h:
1166 * hildon/hildon-sort-dialog.h:
1167 * hildon/hildon-time-editor.h:
1168 * hildon/hildon-time-picker.h:
1169 * hildon/hildon-volumebar-range.h:
1170 * hildon/hildon-volumebar.h:
1171 * hildon/hildon-vvolumebar.h:
1172 * hildon/hildon-weekday-picker.h:
1173 * hildon/hildon-window.h:
1174 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1175 macros with the current replacements
1177 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1179 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1181 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1182 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1183 itself, to make it fit better with Fremantle style.
1185 Fixes: NB#109878 (height and width of focus on color icon is not
1186 consistent with other item in the application tool bar)
1188 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1190 * hildon/hildon-touch-selector.c:
1191 (hildon_touch_selector_optimal_size_request): use the current requisition
1192 as the base, in order to include any possible extra widget, like the
1193 hildon entry on HildonTouchSelectorEntry
1195 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1197 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1199 * configure.ac: post release version bump
1200 * debian/changelog: post release version bump
1202 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1207 * configure.ac: Bump version.
1208 * debian/changelog: Updates.
1210 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1212 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1214 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1215 to ensure the banner contents are centered, instead of relying on
1216 the expand and fill properties in GtkHBox.
1217 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1219 Fixes: NB#108265 (Animation banner not properly centered)
1221 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1223 * hildon/hildon-pannable-area.c
1224 (hildon_pannable_area_initial_effect): Remove the initial_effect
1225 management, check initial_hint
1226 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1227 set initial_effect to FALSE
1228 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1229 by launching the fade_timeout if the scrollbars state has changed and are
1231 * examples/hildon-pannable-area-initial-hint-example.c
1232 Modified to allow to remove rows too. Add and remove rows one by one.
1234 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1236 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1237 Don't close the menu if there's an animation actor below it.
1239 Fixes: NB#117927 (Application menu not usable with animation
1242 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1244 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1245 "focus-on-click" from the dialog button, to avoid stealing the
1246 focus from the entry.
1248 Fixes: NB#118903 (Account setup wizard: Text in Search field
1249 should be focused when "Region" touch list picker is reopened
1252 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1254 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1255 (prepare_action_area): Completely hide the dialog separator.
1257 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1259 * hildon/hildon-touch-selector-entry.c
1260 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1261 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1262 now that the entry is exposed.
1264 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1266 * hildon/hildon-touch-selector-entry.c
1267 (hildon_touch_selector_entry_init): Change the entry's size
1268 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1270 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1272 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1273 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1274 avoid unnecessary scaling.
1276 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1278 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1279 Create grab transfer window before calling parent's map function.
1281 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1282 "crushed" button(s) in the top left corner)
1284 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1286 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1287 Check if the window is already realized when pushing it.
1289 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1291 * configure.ac: post release version bump
1292 * debian/changelog: post release version bump
1294 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1299 * configure.ac: Bump version.
1300 * debian/changelog: Updates.
1302 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1304 * hildon/hildon-app-menu.c: Doc updates.
1306 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1308 * hildon/hildon-banner.c: Remove leftover macro.
1310 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1312 * hildon/hildon-pannable-area.c,
1313 (hildon_pannable_area_scroll_indicator_fade),
1314 (hildon_pannable_area_button_release_cb): Reviewed vmin
1315 conditions, it could cause problems in the fadeout procedure.
1317 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1319 * hildon/hildon-pannable-area.c
1320 (hildon_pannable_area_button_release_cb): Added a threshold to
1321 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1323 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1325 * hildon/hildon-pannable-area.c,
1326 (hildon_pannable_area_set_property): Added code to sync the gtk
1327 dnd threshold with the panning threshold.
1329 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1331 * hildon/hildon-pannable-area.c,
1332 (hildon_pannable_area_class_init): Changed some of the default
1333 values, now it should be less responsive and more accurate.
1335 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1337 * hildon/hildon-pannable-area.c,
1338 (hildon_pannable_area_init),
1339 (hildon_pannable_area_scroll_indicator_fade),
1340 (hildon_pannable_area_button_press_cb),
1341 (hildon_pannable_axis_scroll),
1342 (hildon_pannable_area_timeout),
1343 (hildon_pannable_area_motion_notify_cb),
1344 (hildon_pannable_area_button_release_cb): Changed the name of the
1345 clicked attribute to button_pressed, it is more clear about its use.
1347 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1349 * src/hildon-pannable-area.c
1350 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1352 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1353 vertical scrollbar visibility, and use the data on private section instead,
1354 remove the initial_hint check
1355 (hildon_pannable_area_expose_event): add the initial_hint check here
1357 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1359 * src/hildon-pannable-area.c
1360 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1361 if the fadeout effect was used
1362 (hildon_pannable_area_expose_event): check if it is required to
1363 manage the initial effect on the begining of the function. Previously
1364 it was made at the end, but this doesn't ensure that the scrollbars
1365 will be painted on the first show. Do not set to FALSE initial_effect,
1366 to ensure that the initial hint is showed the first time the pannable
1368 * examples/Makefile.am
1369 * examples/hildon-pannable-area-initial-hint-example.c:
1370 New example, to show that the initial-hint is showed when the widget
1373 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1374 initially if the application can be scrolled)
1376 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1378 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1379 Resize table before adding new items to make sure that
1380 gtk_table_resize() is called just once.
1382 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1384 * hildon/hildon-app-menu-private.h
1385 * hildon/hildon-app-menu.c (item_visibility_changed)
1386 (filter_visibility_changed, hildon_app_menu_show_all)
1387 (hildon_app_menu_hide_all, hildon_app_menu_init):
1388 Rearrange items just once when gtk_widget_show_all()/hide_all()
1391 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1393 * hildon/hildon-app-menu.c
1394 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1395 Don't call gtk_widget_show() on added items.
1397 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1398 automatically when they're added)
1400 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1402 * hildon/hildon-banner.c
1403 (hildon_banner_realize, +hildon_banner_unrealize)
1404 (+screen_size_changed, hildon_banner_class_init):
1405 Redisplay the banner if the screen is rotated.
1407 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1408 on transition from landscape to portrait)
1410 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1412 * hildon/hildon-banner.[ch]:
1413 (hildon_banner_show_information_override_dnd): remove icon_name from the
1414 method definition as it is ignored.
1415 * examples/hildon-banner-dnd-example.c: updated with the change on
1418 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1420 * hildon/hildon-banner-private.h: new require_override_dnd and
1421 overrides_dnd variables
1422 * hildon/hildon-banner.h:
1423 (hildon_banner_show_information_override_dnd): new method, that shows
1424 the information but sets the override flag, in order to show important
1426 * hildon/hildon-banner.c
1427 (hildon_banner_show_information_override_dnd): new method
1428 (hildon_banner_set_override_flag): new utility function
1429 (hildon_banner_real_show_information): new utility function, in order to
1430 generalize the current hildon_banner_show_information_override_dnd and
1431 hildon_banner_show_information_override_dnd
1432 * examples/Makefile.am
1433 * examples/hildon-banner-dnd-example.c: New example that show how to
1434 use the new hildon_banner_show_information_override_dnd
1436 Fixes: NB#114874 (There is no possibility to show hildon banners with
1439 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1441 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1442 behind hildon_pannable_calculate_vel_factor().
1444 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1446 * hildon/hildon-pannable-area.c
1447 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1448 deceleration factors.
1450 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1453 Reduce the default value for 'scroll_time' to 1 second, since the
1454 current initial scrolling takes too much time.
1456 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1458 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1459 calculate velocity factor during initialization, since the properties
1462 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1464 * hildon/hildon-pannable-area.c
1465 (hildon_pannable_area_set_property): Calculate the velocity factor
1466 after setting the deceleration property and not after.
1468 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1470 * hildon/hildon-entry.c
1471 (hildon_entry_class_init, +set_property, hildon_entry_new)
1472 * hildon/hildon-check-button.c
1473 (hildon_check_button_class_init)
1474 (+set_property, hildon_check_button_new):
1475 Make the theme size a property.
1477 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1478 others) do too much in the _new function)
1480 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1482 * configure.ac: post release version bump
1483 * debian/changelog: post release version bump
1485 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1490 * configure.ac: Bump version.
1491 * debian/changelog: Updates.
1493 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1495 * hildon/hildon-gtk.h
1496 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1497 New API function to take a screenshot of a window
1499 Fixes: NB#106374 (Need API to take a loading screenshot)
1501 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1503 * hildon/hildon-time-selector.c
1504 (update_format_policy): prevent to use hours and minutes unitialized
1506 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1508 * hildon/hildon-window.c (hildon_window_size_request):
1509 Always request the full size of the screen (minus the title bar if
1510 not in fullscreen mode).
1512 Fixes: NB#107486 (HildonWindow should size itself properly)
1514 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1516 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1517 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1518 (on_show_cb), (sound_handling): Disconnect the idle handler for
1519 the sound when the note is finalized to avoid possible crashes.
1521 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1524 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1526 * src/hildon-animation-actor.c,
1527 * src/hildon-remote-texture.c:
1528 Added proper object cleanup to remove signal handler and object
1529 references as HildonAnimationActor and HildonRemoteTexture
1530 objects get destroyed.
1532 Fixes: NB#116682 (Destroying parented animation actors when
1533 parent in unmapped leads to crash)
1535 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1537 Based on a patch by Christian Dywan (christian@imendio.com)
1539 * doc/hildon-sections.txt:
1540 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1541 * hildon/hildon-helper.h: New file size formatting method.
1543 * debian/control: Depend on osso-filemanager l10n package for
1544 proper localization strings.
1546 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1548 * tests/Makefile.am: Include top_srcdir to make possible to build
1549 tests in a different builddir.
1550 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1551 on a different builddir.
1553 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1555 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1556 (hildon_touch_selector_remove): Disconnect model's signal handler
1559 Fixes: NB#116289 (Hildon home crashes while adding task
1562 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1564 * hildon/hildon-button.c
1565 (hildon_button_set_title, hildon_button_set_value):
1566 Hide labels containing an empty string.
1568 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1570 * configure.ac: post release version bump
1571 * debian/changelog: post release version bump
1573 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1578 * configure.ac: Bump version.
1579 * debian/changelog: Updates.
1581 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1583 * hildon/hildon-note-private.h: Removed sound_signal_handler
1584 * hildon/hildon-note.c
1585 (on_show_cb): new callback on note "show" event, this simply adds
1586 a idle, with the function sound_handling
1587 (sound_handling): removed the sound_signal_handler management
1588 (hildon_note_init): connect note "show" event to on_show_cb
1589 (hildon_note_realize): remove the connection to "expose-event"
1591 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1592 device?' confirmation note)
1594 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1596 * hildon/hildon-note.c
1597 (hildon_note_new_information_with_icon_name)
1598 (hildon_note_new_confirmation_with_icon_name):
1599 Terminate the list of parameters in g_object_set() calls
1601 Fixes: NB#115166 (Formatting memory card is not taking place)
1603 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1605 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1606 "dialog-information" role for the sound being played.
1608 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1610 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1611 Don't make the menu a modal window, it causes strange interactions
1612 with the pointer grab and it's not really needed.
1614 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1616 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1618 * hildon/hildon-touch-selector.[ch]
1619 (hildon_touch_selector_optimal_size_request): function added to get a
1620 optimal size request from the touch selector, when you want a dialog to
1621 show as much of the selector
1622 * hildon/hildon-picker-dialog.c:
1623 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1624 (hildon_app_menu_class_init):
1625 New "max-height-landscape" and "max-height-portrait" style properties
1626 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1627 (hildon_picker_dialog_get_max_height): returns the maximum height using
1628 the style properties defined and checking the current portrait/landscape
1630 (_hildon_picker_dialog_set_selector): removed the set_size_request
1632 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1634 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1636 * hildon/hildon-bread-crumb-trail.c:
1637 * hildon/hildon-bread-crumb.c:
1638 * hildon/hildon-seekbar.c:
1639 Add reference to replacements for these deprecated widgets.
1641 Fixes: MB#4461 (Documentation: All deprecations should mention
1644 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1646 * examples/hildon-remote-texture-example.c
1648 Change the include to the hildon-remote-texture in order to compile
1649 properly the examples on the installed libhildon1-examples package
1651 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1653 * tests/Makefile.am: Add check for HildonPickerButton.
1654 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1655 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1656 checks for the HildonPickerButton.
1657 * tests/check_test.c (configure_tests): Add the test suite.
1658 * tests/test_suites.h: likewise.
1660 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1662 * hildon/hildon-touch-selector.c
1663 (+on_row_changed): Emit HildonTouchSelector:changed when the
1664 contents of a selected row change.
1665 (_create_new_column), (_hildon_touch_selector_set_model): connect
1666 to GtkTreeModel:row-changed on a newly set model.
1668 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1670 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1672 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1674 * hildon/hildon-banner.c (hildon_banner_destroy)
1675 (hildon_banner_show_progress, hildon_banner_set_fraction):
1676 Remove the progress bar from HildonBanner and use a progress
1679 Fixes: NB#113761 (Update progress banner to use progress
1682 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1684 * hildon/hildon-banner.c:
1685 Calculate size of the banner label using the actual screen width
1686 rather than using a fixed value.
1688 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1691 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1693 * hildon/hildon-pannable-area.c,
1694 (hildon_pannable_area_class_init): Fixed signals documentation
1697 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1699 * configure.ac: post release version bump
1700 * debian/changelog: post release version bump
1702 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1707 * configure.ac: Bump version.
1708 * debian/changelog: Updates.
1710 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1712 * hildon/hildon-edit-toolbar.c
1713 (hildon_edit_toolbar_init):
1714 Don't let buttons in HildonEditToolbar receive focus.
1716 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1717 typing on an HW arrows key)
1719 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1721 * doc/Makefile.am: Fix build.
1723 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1725 * doc/Makefile.am: Do not redefine content_files.
1727 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1735 Renamed src/ to hildon/
1740 Include <hildon/hildon.h> directly in all examples.
1742 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1744 * src/hildon-sort-dialog.c
1745 (hildon_sort_dialog_add_sort_key_with_sorting)
1749 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1752 make distcheck passes.
1754 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1756 * Makefile.am: Enable gtk-doc during distcheck.
1758 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1760 * Makefile.am: Do not distribute the debian/ directory.
1762 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1764 * doc/Makefile.am: Add the extra SGML files to content_files,
1765 so that they are distributed properly.
1767 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1769 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1772 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1774 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1775 (hildon_note_new_information_with_icon_name): Set the "icon" property
1776 to preserve soundness.
1778 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-font-selection-dialog.c
1781 (hildon_font_selection_dialog_set_property): Fail when the "family"
1782 property is set to NULL.
1784 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1786 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1789 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1791 * src/hildon-time-selector.h:
1792 Added HildonTimeSelectorFormatPolicy
1793 * src/hildon-time-selector.c:
1794 Added PROP_TIME_FORMAT_POLICY
1795 (_check_ampm_format): renamed to check_automatic_ampm_format
1796 (update_format_policy), (update_format_dependant_columns): new functions
1797 (hildon_time_selector_class_init)
1798 (hildon_time_selector_contructor)
1799 (hildon_time_selector_init)
1800 (hildon_time_selector_get_property)
1801 (hildon_time_selector_set_property)
1802 (hildon_time_selector_get_time)
1803 (hildon_time_selector_set_time)
1804 * src/hildon-touch-selector.h: new file
1805 * src/hildon-touch-selector.c
1806 (hildon_touch_selector_emit_changed)
1807 (hildon_touch_selector_block_changed)
1808 (hildon_touch_selector_unblock_changed)
1809 Added functions to allow to block the emission of the "changed" signal
1810 * src/hildon-picker-dialog.c
1811 (hildon_picker_dialog_show): call the parent show before the custom code
1812 * examples/hildon-time-button-example.c
1813 Modified, so now you can configure the time format using the new property
1815 Added a new property "time-format-policy" that allow to choose the time
1816 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1817 case it uses gconf in order to check if the time selector must use
1820 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1823 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1825 * src/hildon-note.c (hildon_note_init):
1826 Label in HildonNote must be left aligned, not centered. This
1827 reverts the last commit in HildonNote.
1829 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1830 is connectivity dialog)
1832 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1837 * doc/hildon-sections.txt:
1838 Added hildon_gtk_window_set_do_not_disturb()
1840 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1842 * src/hildon-note.c (hildon_note_init): Center label.
1844 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1847 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1852 * configure.ac: Bump version.
1853 * debian/changelog: Updates.
1855 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-note-private.h: Add button-width to the private data.
1858 * src/hildon-note.c (+resize_button),
1859 (+hildon_note_orientation_update): methods to repack widgets on orientation
1861 (screen_size_changed): Call above method for confirmation notes.
1862 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1863 (hildon_note_rebuild): Store the original width request from buttons.
1865 Fixes: NB#109635 (Confirmation notes do not support portrait)
1867 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1869 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1870 when it is a progress note.
1872 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1875 in the note, since there are no horizontally arranged contents.
1877 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1879 * src/hildon-gtk.c (+set_flag): new generic method to
1880 set/delay a flag setting in a window.
1881 (hildon_gtk_window_set_progress_indicator):
1882 (hildon_gtk_window_set_do_not_disturb),
1883 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1884 avoid code redundance.
1886 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1888 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1890 * src/hildon-gtk.c (set_clear_window_flag),
1891 (do_set_progress_indicator), (do_set_do_not_disturb),
1892 (do_set_portrait_flags),
1893 (hildon_gtk_window_set_progress_indicator),
1894 (hildon_gtk_window_set_do_not_disturb),
1895 (hildon_gtk_window_set_portrait_flags):
1896 Allow setting dnd-flag, progress indicator, and portrait flags
1897 when the window is not realized.
1899 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1901 * src/hildon-pannable-area.c,
1902 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1903 the size request policy function and defines.
1905 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1907 * doc/hildon-sections.txt: Add the new API.
1908 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1909 method to set the portrait flags.
1910 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1912 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1914 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1916 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1917 to allow using this method with other flags.
1918 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1919 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1921 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-touch-selector.c
1924 (hildon_touch_selector_append_text_column):
1925 Make the cell renderer use the smallest width possible.
1927 Fixes: NB#108470 (Selected items in multiple selection are either
1928 having a tick that is cut or not visible at all.)
1930 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-touch-selector.c
1933 (hildon_touch_selector_append_text_column):
1936 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1938 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1939 Use g_strdup_printf() instead of a fixed size buffer.
1941 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1944 Close banners when a HildonAppMenu is popped up.
1946 Fixes: NB#111027 (Title menu closed immediately if activated when
1947 "Invalid e-mail address" banner is shown)
1949 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1954 * configure.ac: Bump version.
1955 * debian/changelog: Updates.
1957 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-banner.c (hildon_banner_realize):
1960 Mark HildonBanner as supporting portrait mode.
1961 Use GDK to set window properties insetad of direct Xlib calls.
1963 Fixes: NB#111830 (HildonBanner should be marked as supporting
1966 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1968 * src/hildon-note.c (hildon_note_rebuild):
1969 Hide action area in information notes. Prevents text from being
1970 slightly aligned to the left.
1972 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1975 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1977 Patch by Mox Soini (ext-mox.soini@nokia.com)
1979 * src/hildon-banner.c (hildon_banner_create_animation):
1980 Use stylus-sized icons in animation banner.
1982 Fixes: NB#111206 (stylus sized icon for animation banner)
1984 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1988 (+hildon_gtk_window_set_do_not_disturb):
1989 New API to set the do-not-disturb flag.
1991 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1993 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1995 * examples/hildon-progress-indicator-example.c: Fix example
1997 * src/hildon-gtk.c (set_clear_window_flag)
1998 (hildon_gtk_window_set_progress_indicator):
1999 Create a generic function for setting flags to a window.
2000 Use GDK instead of direct Xlib calls.
2002 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2004 * src/hildon-button.c (hildon_button_set_arrangement):
2005 Due to NB#88126, if one of the labels is too long it will be
2006 painted outside the button. The 'value' label is more likely to be
2007 the longest one, so we change its packing options in order to
2008 truncate it if necessary. As a side effect, the 'title' label will
2009 no longer be truncated.
2011 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2013 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2018 * configure.ac: Bump version.
2019 * debian/changelog: Updates.
2021 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2023 Deprecation of the hildon_pannable_area_set_size_request_policy
2024 API, the only policy properly supported in gtk+ nowadays is the
2027 * src/hildon-pannable-area.c,
2028 (hildon_pannable_area_size_request): Added a workaround for the
2029 size_request to avoid the problems of huge pixmaps in case someone
2030 is still using the function.
2031 * src/hildon-pannable-area.h: Deprecated the enum with the
2034 Fixes: NB#110244 (Problems with the
2035 hildon_pannable_area_set_size_request_policy API)
2037 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2039 * src/hildon-pannable-area.c,
2040 (hildon_pannable_area_init),
2041 (hildon_pannable_area_size_request),
2042 (hildon_pannable_area_style_set),
2043 (hildon_pannable_draw_vscroll),
2044 (hildon_pannable_draw_hscroll),
2045 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2046 indicator_width to clarify the use of the attribute.
2048 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2053 * configure.ac: Bump version.
2054 * debian/changelog: Updates.
2056 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2058 * src/hildon-picker-dialog.c
2059 * src/hildon-touch-selector.c
2060 Reverting the change that tried to avoid the hardcoded height on
2061 the picker dialog, as causes problems on the hildon-touch-selector
2064 Fixes: NB#110029 (selectors not scrolling to selected value)
2066 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2068 * src/hildon-touch-selector.c: Fix typos
2070 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2073 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2074 request more motions after using it.
2076 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2078 * src/hildon-calendar.c (hildon_calendar_expose),
2079 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2080 Remove unused variables.
2082 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2084 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2085 variable assignment.
2087 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2090 Check the return value of gtk_tree_selection_get_selected()
2093 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-animation-actor.c
2096 * src/hildon-button.c
2098 * src/hildon-pannable-area.c
2099 * src/hildon-picker-button.c
2100 * src/hildon-program.c
2101 * src/hildon-remote-texture.c
2102 * src/hildon-text-view.c
2103 * src/hildon-touch-selector.c
2104 * src/hildon-window-stack.c
2105 * src/hildon-window.c:
2106 Add missing 'Since: 2.2' tags.
2108 * doc/hildon-sections.txt:
2109 Add some missing symbols.
2111 * doc/hildon-docs.sgml:
2112 New 'Other' section for HildonAnimationActor and
2115 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2117 Patch by Iván Gómez (igomez@igalia.com)
2120 * doc/compiling.sgml
2121 * doc/hildon-docs.sgml
2122 * doc/hildon-sections.txt
2123 * doc/migration.sgml
2124 * doc/resources.sgml
2126 New chapters on using the Hildon library.
2127 Updated the general structure of the reference manual.
2128 Other minor documentation fixes.
2130 * src/hildon-calendar-popup.c
2131 * src/hildon-calendar.c
2132 * src/hildon-controlbar.c
2133 * src/hildon-date-editor.c
2134 * src/hildon-dialog.c
2135 * src/hildon-hvolumebar.c
2136 * src/hildon-number-editor.c
2137 * src/hildon-range-editor.c
2138 * src/hildon-sort-dialog.c
2139 * src/hildon-time-editor.c
2140 * src/hildon-time-picker.c
2141 * src/hildon-volumebar-range.c
2142 * src/hildon-volumebar.c
2143 * src/hildon-vvolumebar.c
2144 * src/hildon-weekday-picker.c:
2145 Add deprecation notes
2147 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2148 Document 'horizontal-movement' and 'vertical-movement' signals.
2150 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2155 * configure.ac: Bump version.
2156 * debian/changelog: Updates.
2158 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2160 * src/hildon-pannable-area.c,
2161 (hildon_pannable_area_class_init): increased the minimum velocity.
2162 (hildon_pannable_area_button_release_cb): Updated the
2163 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2164 setup. Review the code to control that last event.
2166 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2169 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2171 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2173 * src/hildon-get-password-dialog.c
2174 (hildon_get_password_set_property),
2175 (hildon_get_password_get_property), (create_contents):
2176 * src/hildon-login-dialog-private.h:
2177 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2178 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2179 (hildon_login_dialog_get_password):
2180 * src/hildon-set-password-dialog-private.h:
2181 * src/hildon-set-password-dialog.c
2182 (hildon_set_password_set_property),
2183 (hildon_set_password_get_property), (create_contents),
2184 (hildon_set_password_response_change),
2185 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2187 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2188 instead and look more Fremantle style.
2190 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2192 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2194 * doc/hildon-sections.txt
2195 * src/hildon-window-stack.h
2196 * src/hildon-window-stack.c
2197 (+hildon_window_stack_get_windows):
2198 New API to obtain the list of windows on a stack.
2200 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2202 * src/hildon-app-menu.c (hildon_app_menu_popup)
2203 (hildon_app_menu_class_init, -hildon_app_menu_show):
2204 Remove hildon_app_menu_show() and move all its checks to
2205 hildon_app_menu_popup()
2207 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2209 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2210 (_hildon_picker_dialog_set_selector): removed call to
2211 gtk_widget_set_size_request
2212 * src/hildon-touch-selector.c
2213 (_create_new_column): change the pannable size request policy
2215 Avoid to use a hardcoded height for the hildon picker dialog. In order
2216 to get that, we needed to change the hildon pannable size request
2218 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2220 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2222 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2223 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2226 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2228 * debian/control: Depend on osso-system-lock localization package.
2229 * src/hildon-code-dialog.c: Obtain the secu_application_title
2230 translation from osso-system-lock.
2231 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2232 for translation the atk related strings, that's not necessary.
2233 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2234 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2235 cancel button, it is not required.
2237 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2239 * src/hildon-pannable-area.c,
2240 (hildon_pannable_area_class_init): Modified the default value of
2241 the overshooting max speed, we have reduced it.
2243 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2245 * doc/hildon-sections.txt
2246 * src/hildon-window-private.h
2247 * src/hildon-window.h
2248 * src/hildon-window.c (hildon_window_class_init)
2249 (hildon_window_init, hildon_window_finalize)
2250 (hildon_window_realize, hildon_window_get_property)
2251 (hildon_window_set_property, hildon_window_update_markup)
2252 (hildon_window_get_markup, hildon_window_set_markup):
2253 New "markup" property and hildon_window_{get,set}_markup() methods.
2255 * examples/hildon-stackable-window-example.c (new_window):
2256 Update example to use hildon_window_set_markup()
2258 Fixes: NB#106375 (Need API to retitle a window with a title
2261 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2263 * src/hildon-pannable-area.c,
2264 (hildon_pannable_area_class_init): Changed the default value of
2265 the initial_hint to TRUE.
2266 (hildon_pannable_area_initial_effect): Changed the initial effect,
2267 not the effect is just the fade-out of the scrollbars.
2269 Fixes: NB#107775 (No scrollbars can be seen when several items are
2270 available in a dialog)
2272 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2274 * src/hildon-program.c (hildon_program_update_top_most):
2277 Fixes: NB#109179 (Memory leak in Hildon program)
2279 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-banner.c (-get_current_app_window):
2282 Remove unused function.
2284 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2286 * src/hildon-pannable-area.c: Modified the documentation of the
2287 get adjustments functions to explain the problem of using the
2288 adjustment directly.
2289 (hildon_pannable_area_class_init): Improved the explanation about
2292 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-app-menu-private.h
2295 * src/hildon-app-menu.c
2296 (hildon_app_menu_class_init):
2297 Bring back the 'external-border' style property
2298 (hildon_app_menu_class_init, hildon_app_menu_init)
2299 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2300 Set a fixed width-request for the menu, independent of the number
2303 Fixes: NB#94957 (Smoothly opened application menu)
2305 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2309 * src/hildon-banner.c
2310 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2312 Make sure that the banner is correctly placed the first time it's
2314 (hildon_banner_check_position, -check_fullscreen_state):
2315 Show the banner in the same place no matter if the window is in
2316 fullscreen mode or not.
2318 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2320 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-touch-selector.c (_default_print_func): reorder
2323 concatenation for clarity.
2325 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2328 for multicolumn selectors.
2330 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2332 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2337 * configure.ac: Bump version.
2338 * debian/changelog: Updates.
2340 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2345 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2347 * configure.ac: removed libcangerra-gtk dependency
2348 * debian/control: removed libcanberra-gtk dependency
2349 * src/Makefile.am: removed libcanberra gtk related flags
2350 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2351 context, and manage a global canberra context instead
2353 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2355 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2357 Patch by Daniel Borgmann (danielb@openismus.com)
2359 * src/hildon-edit-toolbar.c:
2360 Adjust the left padding.
2361 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2362 Paint background of the edit toolbar.
2364 Fixes: NB#107897 (Patch to make editmodetoolbar background
2365 themeable and adjust margin)
2367 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2369 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2371 * src/hildon-program.c (hildon_program_update_top_most):
2372 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2374 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2375 change when the user tasks in/out of an application)
2377 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2379 * configure.ac: added libcangerra-gtk dependency
2380 * debian/control: added libcanberra-gtk dependency
2381 * src/Makefile.am: added libcanberra gtk related flags
2382 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2385 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2387 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2389 * src/hildon-program.c (hildon_program_remove_window)
2390 (hildon_program_add_window): Add checks for the window
2391 parameter. Don't decrease the window counter if the window is not
2394 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2396 * src/hildon-pannable-area.c,
2397 (hildon_pannable_area_realize): Fixed position of the event_window
2398 in the realize method.
2400 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2402 * src/hildon-app-menu-private.h
2403 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2404 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2405 (hildon_app_menu_key_press, hildon_app_menu_init)
2406 (hildon_app_menu_finalize):
2407 Make sure that all idle functions are removed when the widget is
2410 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2412 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2417 * configure.ac: Bump version.
2418 * debian/changelog: Updates.
2420 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-entry.c
2423 (+hildon_entry_show_placeholder),
2424 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2425 that replace hildon_entry_update_contents().
2426 (hildon_entry_set_text),
2427 (hildon_entry_set_placeholder),
2428 (hildon_entry_focus_in_event),
2429 (hildon_entry_focus_out_event): Determine when it is needed
2430 either to show or hide the placeholder and call the above methods.
2432 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2433 when the placeholder text is already set)
2435 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2437 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2438 simple GdkPixbufAnim using the new icons for the banner.
2439 (hildon_banner_show_animation): Use the above mentioned method to
2440 create the animation widget.
2442 Fixes: NB#103564 (Make hildon animation banner use individual
2443 image files as the animation)
2445 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2447 * src/hildon-pannable-area.c,
2448 (hildon_pannable_leave_notify_event): Check if the child is NULL
2449 to avoid sending the leave.
2451 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2453 * src/hildon-pannable-area.c,
2454 (hildon_pannable_area_class_init),
2455 (hildon_pannable_leave_notify_event): Added a handler of the
2456 leave-notify-signal to consider when no motion notify before
2459 Fixes: NB#107494 (Items stay selected when clicking and moving
2460 away when inside pannable area)
2462 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2467 * configure.ac: Bump version.
2468 * debian/changelog: Updates.
2470 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2472 Patch by Alberto Garcia (agarcia@igalia.com)
2474 * src/hildon-date-button.c,
2475 (hildon_date_button_class_init),
2476 (hildon_date_button_init): Removed the construct property handling
2477 and created a default selector in the init method.
2478 * src/hildon-picker-button.c,
2479 (hildon_picker_button_class_init): Removed the construct flag of the
2482 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2484 * src/hildon-main.c (hildon_init):
2485 Don't allow hildon_init() to be called more than once.
2487 Fixes: NB#106607 (hildon_init should issue error message upon
2490 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2492 * examples/hildon-pannable-area-touch-list-example.c
2493 * examples/hildon-pannagle-area-touch-grid-example.c
2494 * examples/hildon-edit-toolbar-example.c
2495 * examples/hildon-touch-selector-multi-cells-example.c
2496 Removed the call to gtk_rc_parse_string, as it is not required since
2499 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2501 * src/hildon-pannable-area.c,
2502 (hildon_pannable_area_class_init): Modified the default panning
2503 threshold of the widget to 6px.
2505 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2506 than the threshold value ) within the button is not sending the
2509 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2511 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2512 for the treeview in the new column. This way, the touch list will never
2515 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2516 be selected manually for the HW keys to work)
2518 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2520 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2521 comparison instead of using strcmp(). Fixes a compiler warning as well.
2523 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2525 * doc/hildon-docs.sgml: Do not set the library version in the
2526 document title, use the releaseinfo tag for that purpose instead.
2528 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2530 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2531 Do not jump to the first item if the text in the entry is removed.
2533 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2538 * configure.ac: Bump version.
2539 * debian/changelog: Updates.
2541 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-entry.c (hildon_entry_refresh_contents):
2544 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2545 Use "ReversedSecondaryTextColor" for the placeholder text.
2547 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2549 * src/hildon-text-view.c: Fix compilation warning.
2551 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2553 * src/hildon-button.c (hildon_button_class_init): Don't make
2554 "title" and "value" construction properties, to prevent them from
2555 overwriting labels set from derived classes.
2557 * src/hildon-picker-button.c
2558 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2559 (hildon_picker_button_class_init): Make touch-selector a
2560 construction property.
2562 * src/hildon-date-button.c (hildon_date_button_class_init)
2563 (+hildon_date_button_constructed): Add a default date selector if
2566 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2568 * src/hildon-touch-selector.c: Small documentation fixes.
2570 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2572 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2574 * src/hildon-entry.c (hildon_entry_refresh_contents),
2575 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2576 widget name, set the logical color directly instead and a boolean
2577 showing_placeholder instead.
2578 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2579 use the widget name here either.
2581 Fixes: NB#105678 (HildonTextView should use logical colours
2582 instead of setting widget name)
2584 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2586 Patch by Daniel Elster (danielk@openismus.com)
2588 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2589 Add user_data parameter.
2590 (hildon_touch_selector_set_print_func_full): New function akin
2591 hildon_touch_selector_set_print_func() but with support for user
2592 data and a destroy callback.
2593 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2594 to clean up the print function user data.
2595 (hildon_touch_selector_class_init): Install dispose function.
2596 (HildonTouchSelectorPrivate::print_user_data),
2597 (HildonTouchSelectorPrivate::print_destroy_func): New private
2599 (hildon_touch_selector_init): Initialize new private members.
2600 (hildon_touch_selector_get_current_text): Pass along user data
2601 to the print function.
2602 (_default_print_func): Add dummy user_data to parameter list.
2603 * hildon-date-selector.c (_custom_print_func): ditto,
2604 * hildon-time-selector.c (_custom_print_func): ditto,
2605 * hildon-touch-selector-entry.c
2606 (hildon_touch_selector_entry_print_func): ditto.
2608 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2610 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2612 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2614 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2616 * src/hildon-pannable-area.c,
2617 (hildon_pannable_area_init),
2618 (hildon_pannable_area_button_press_cb),
2619 (hildon_pannable_area_motion_notify_cb): We have added code to
2620 handle the leave and enter events when using the motion events.
2622 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2624 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-date-button.c (hildon_date_button_get_date)
2627 (hildon_date_button_set_date): Make sure that the button has a
2630 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2632 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2634 * src/hildon-pannable-area.c,
2635 (hildon_pannable_area_class_init),
2636 (hildon_pannable_area_calculate_velocity): Modify the use of the
2637 force and adapt the value.
2639 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2642 (hildon_app_menu_class_init): Hide the menu if it receives a
2643 delete-event, but don't destroy it
2645 Fixes: NB#104485 (Not able to address the call when application
2646 menu is opened at background)
2648 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2650 * src/hildon-app-menu.c
2651 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2652 Remove the "external-border" style property, let the menu take its
2653 natural size (or the one set by the window manager)
2654 (hildon_app_menu_repack_items):
2655 Don't reshow the menu, avoid flickers.
2657 Partially fixes NB#94957 (Smoothly opened application menu)
2659 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2664 * configure.ac: Bump version.
2665 * debian/changelog: Updates.
2667 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2669 * src/hildon-pannable-area.c,
2670 (hildon_pannable_area_motion_notify_cb): We control that the
2671 direction error margin is used just in case the movement is
2672 allowed in the other direction.
2674 Fixes: NB#105012 (buttons inside a pannable area not getting
2675 release event when dragging/releasing)
2677 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2679 * src/hildon-pannable-area.c,
2680 (hildon_pannable_area_class_init),
2681 (hildon_pannable_area_get_property),
2682 (hildon_pannable_area_set_property),
2683 (hildon_pannable_area_initial_effect),
2684 (hildon_pannable_axis_scroll),
2685 (hildon_pannable_area_button_release_cb): Reviewed the
2686 overshooting effect, now it has its own max
2687 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2688 speed when bouncing.
2690 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2695 * configure.ac: Bump version.
2696 * debian/changelog: Updates.
2698 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2700 * src/hildon-pannable-area.c,
2701 (hildon_pannable_area_class_init): Changed the max speed, now
2702 users can launch the widget very fast. Reduced the default force,
2703 that way it is easier to control the launch speed.
2705 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2707 * src/hildon-pannable-area.c,
2708 (hildon_pannable_area_button_release_cb): Removed this check
2709 because it causes problems when the device is overloaded.
2711 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2713 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2714 add a current_text field to store the text entered in the
2715 touch selector entry.
2716 (_clean_current_selection): clean up the current text as well.
2717 (_save_current_selection), (_restore_current_selection):
2718 Save/restore the text in the entry if the selector is a
2719 HildonTouchSelectorEntry.
2721 Fixes: NB#102541 (value entered in the touch selector entry is not
2722 shown when opened for second time)
2724 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2726 * doc/hildon-sections.txt:
2727 * src/hildon-touch-selector-entry.c
2728 (+hildon_touch_selector_entry_get_entry):
2729 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2731 Fixes: NB#104815 (I need accessor to the entry inside
2732 HildonTouchSelectorEntry)
2734 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2737 (hildon_app_menu_class_init):
2738 New "filter-vertical-spacing" style property.
2740 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2742 * src/hildon-find-toolbar.c
2743 (hildon_find_toolbar_emit_close)
2744 (hildon_find_toolbar_emit_invalid_input)
2745 (hildon_find_toolbar_entry_activate):
2746 Use g_signal_emit() instead of g_signal_emit_by_name()
2748 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2750 Patch by Mox Soini (ext-mox.soini@nokia.com)
2752 * tests/TEST-CASES.txt
2753 * tests/check-hildon-banner.c
2754 * tests/check-hildon-note.c
2755 * src/hildon-banner.c
2756 * src/hildon-code-dialog.c
2757 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2758 * src/hildon-time-editor.c
2759 * examples/hildon-lookup-example.c (main):
2760 Replace obsolete icon names with new ones.
2762 * src/hildon-find-toolbar-private.h:
2763 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2764 (-hildon_find_toolbar_emit_search):
2765 Remove find button and change icon of close button.
2767 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2769 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2771 * src/hildon-time-button.c (hildon_time_button_new_step):
2772 Use the "touch-selector" property to set the selector directly
2773 when creating the object.
2775 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2777 Added a new example application that allows tuning the pannable
2778 area and replaced defines with properties in order to simplify the
2779 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2780 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2781 PROP_DIRECTION_ERROR_MARGIN.
2783 * examples/hildon-pannable-area-tuning-example.c: New example
2785 * src/hildon-pannable-area.c,
2786 (hildon_pannable_area_class_init),
2787 (hildon_pannable_area_init),
2788 (hildon_pannable_area_get_property),
2789 (hildon_pannable_area_set_property),
2790 (hildon_pannable_area_launch_fade_timeout),
2791 (hildon_pannable_area_adjust_value_changed),
2792 (hildon_pannable_axis_scroll),
2793 (hildon_pannable_area_motion_notify_cb),
2794 (hildon_pannable_area_scroll_cb),
2795 (hildon_pannable_area_button_release_cb): We have converted some
2796 of the defines that control the widget to properties to simplify
2799 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-app-menu.c (hildon_app_menu_map)
2802 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2803 so it's closed if a new window appears.
2805 Fixes: NB#104485 (Not able to address the call when application
2806 menu is opened at background)
2808 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2811 missing 'break' statement in in 'case' construct to avoid
2814 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-touch-selector-entry.c
2817 (hildon_touch_selector_entry_get_property),
2818 (hildon_touch_selector_entry_set_property): Add missing 'break'
2819 statements in in 'case' constructs to avoid incorrect warnings.
2821 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2823 * src/hildon-time-editor.c
2824 (hildon_time_editor_get_time_separators): Do not crash if
2825 the first label is NULL.
2827 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-date-selector.c (_month_days): Check for month to be
2830 strictly less than 12, since otherwise we may overrun the array.
2832 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-date-button.c (+hildon_date_button_new_full)
2835 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2836 (hildon_date_button_init): Set the date selector using a
2837 construction property, to make it happen after HildonButton's
2838 "value" property is set.
2840 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2841 current date by default)
2843 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2845 * doc/hildon-sections.txt
2846 * src/hildon-program.c
2847 * src/hildon-stackable-window.c
2848 * src/hildon-window.c:
2849 Documentation updates
2851 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2853 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2854 (hildon_window_stack_new, +hildon_window_stack_set_property)
2855 (+hildon_window_stack_get_property)
2856 (hildon_window_stack_class_init)
2857 (+hildon_window_stack_set_window_group)
2858 (+hildon_window_stack_get_window_group):
2859 Make the window group a construction property.
2861 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2863 * doc/hildon-sections.txt
2864 * src/hildon-stackable-window-private.h
2865 * src/hildon-stackable-window.h
2866 * src/hildon-stackable-window.c
2867 (-hildon_stackable_window_set_app_menu)
2868 (-hildon_stackable_window_get_app_menu)
2869 (-hildon_stackable_window_toggle_menu)
2870 (-hildon_stackable_window_finalize)
2871 (hildon_stackable_window_class_init)
2872 (hildon_stackable_window_init)
2873 * src/hildon-window-private.h
2874 * src/hildon-window.h
2875 * src/hildon-window.c (hildon_window_init)
2876 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2877 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2878 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2879 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2880 Moved all HildonAppMenu code to HildonWindow. The menu does not
2881 require a HildonStackableWindow anymore.
2883 * src/hildon-app-menu.c
2884 * src/hildon-program.c
2885 * examples/hildon-app-menu-example.c (main):
2886 Update examples and documentation to reflect HildonAppMenu
2889 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2891 * src/hildon-remote-texture.c
2892 * src/hildon-animation-actor.c:
2893 Don't include unused private headers.
2895 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-program-private.h
2898 * src/hildon-program.c
2899 (hildon_program_set_common_menu)
2900 (hildon_program_get_common_menu)
2901 (hildon_program_set_common_app_menu)
2902 (hildon_program_get_common_app_menu):
2903 Change common menu pointers from GtkWidget* to GtkMenu* and
2904 HildonAppMenu* to avoid unnecessary casts.
2906 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2908 * src/hildon-window.c (hildon_window_set_main_menu):
2909 Removed incorrect 'Since:' tag
2911 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2913 * src/hildon-pannable-area.c,
2914 (hildon_pannable_area_calculate_velocity): We use now the
2915 RATIO_TOLERANCE here to check the distance, fixed typo in the
2917 (hildon_pannable_area_motion_notify_cb): We have to set the type
2918 and time even if we are not sending the motion.
2920 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2922 * doc/hildon-sections.txt
2923 * src/hildon-app-menu.h
2924 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2925 (+hildon_app_menu_get_filters): New methods to get the contents of
2928 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2931 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2933 * src/hildon-app-menu.c (hildon_app_menu_popup):
2936 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-window.h
2939 * src/hildon-window.c (+hildon_window_get_main_menu)
2940 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2941 and deprecated hildon_window_get_menu().
2943 * src/hildon-stackable-window.h
2944 * src/hildon-stackable-window.c
2945 (+hildon_stackable_window_set_app_menu)
2946 (+hildon_stackable_window_get_app_menu)
2947 (hildon_stackable_window_set_main_menu): Created
2948 hildon_stackable_window_{get,set}_app_menu() and deprecated
2949 hildon_stackable_window_set_main_menu().
2951 * doc/hildon-sections.txt
2952 * examples/hildon-app-menu-example.c (main)
2953 * src/hildon-app-menu.c
2954 * src/hildon-program.c:
2955 Updated examples and documentation.
2957 Fixes: NB#103758 (No way to obtain a menu from a
2958 HildonStackableWindow)
2960 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2965 * configure.ac: Bump version.
2966 * debian/changelog: Updates.
2968 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2970 * examples/hildon-remote-texture-example.c: Include
2971 hildon-remote-texture.h explicitely.
2972 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2973 applications not defining _XOPEN_SOURCE which don't require this header.
2975 2009-02-27 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_popup):
2980 New function to pop up a HildonAppMenu
2982 * src/hildon-stackable-window.c
2983 (hildon_stackable_window_toggle_menu):
2984 Use hildon_app_menu_popup() to show the menu.
2986 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-app-menu.c (hildon_app_menu_show)
2989 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2990 menu if there's another window between it and its parent window.
2992 Fixes: NB#100468 (Application menu window is launched even when a
2993 new secondary-window/dialog is pending to be shown/realized)
2995 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-window-stack.c (hildon_window_stack_push)
2998 (hildon_window_stack_pop_and_push):
2999 Don't forget to push/pop the first window.
3000 Reverse the window list before calling _push_list()
3002 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3004 * src/hildon-picker-button.h
3005 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3006 Remove "value_changed" slot to avoid ABI breakage
3008 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3010 * src/hildon-pannable-area.c,
3011 (hildon_pannable_area_realize),
3012 (hildon_pannable_area_unrealize),
3013 (hildon_pannable_draw_vscroll),
3014 (hildon_pannable_draw_hscroll): Changed the method to handle the
3015 GC used to draw the transparent scrollbar, this way we avoid
3016 creating the GC all the time when drawing the scrollbars.
3018 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3020 * src/hildon-pannable-area.c,
3021 (hildon_pannable_area_init),
3022 (hildon_pannable_area_remove): Removed some unnecessary casts.
3023 (hildon_pannable_area_dispose): Disconnected some signals before
3024 releasing the adjustments.
3026 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3029 Make sure that all widgets contained in the toolbar are shown.
3031 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3033 * doc/hildon-sections.txt
3034 * src/hildon-picker-button.h
3035 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3036 (_selection_changed, hildon_picker_button_on_dialog_response)
3037 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3038 New hildon_picker_button_value_changed() method.
3041 * src/hildon-picker-button-private.h
3042 * src/hildon-picker-button.c (hildon_picker_button_init)
3043 (+hildon_picker_button_disable_value_changed): Add protected
3044 function for disabling the "value-changed" signal.
3046 * src/hildon-date-button.c (hildon_date_button_set_date):
3047 Don't emit "value-changed" for each one of the three columns.
3049 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3050 before actual change of values)
3052 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3054 * src/hildon-pannable-area.c,
3055 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3056 for the treeview overshooting.
3058 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3060 * src/hildon-banner.c (+hildon_banner_bind_style):
3061 Renamed from hildon_banner_bind_label_style(), now naming the
3062 banner itself as well.
3063 (hildon_banner_show_information),
3064 (hildon_banner_show_information_with_markup),
3065 (hildon_banner_show_animation), (hildon_banner_show_progress):
3066 Name the widgets and labels, based on their type.
3068 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3071 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-note.c (hildon_note_set_property): call
3074 hildon_note_rename() on HildonNote:note-type set.
3075 (hildon_note_rename): Name the note and its label, based on the
3076 HildonNote:note-type property.
3078 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3081 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3083 * src/hildon-pannable-area.c,
3084 (hildon_pannable_area_class_init),
3085 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3086 panning parameters, increased SPS and deceleration factor. Added
3087 also a margin to control fake directions.
3089 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3091 Patch by Sven Herzberg (sven@imendio.com)
3093 * configure.ac: Add missing AM_PROG_CC_C_0
3094 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3096 See NB#101420 (Update unit tests and fix make check)
3098 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3100 This patch was applied before but reverted because it caused
3101 problems, we have changed the main condition and tested the
3102 regressions we detected before and they work ok. We have done a
3103 complete review of the topmost algorithm in order to get a more
3106 * src/hildon-pannable-area.c,
3107 (hildon_pannable_area_get_topmost): Added a new parameter to
3108 filter the the windows that do not include those events.
3109 (hildon_pannable_area_button_press_cb),
3110 (hildon_pannable_area_button_release_cb),
3111 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3112 topmost function, we have added the new parameter.
3114 Fixes: NB#97458 (Pannable area prevents propagation of button
3117 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3119 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3120 if all columns in the selector have an item selected.
3121 (_on_dialog_response): Stop "response" signal emission if there is
3122 any selector column without selected items.
3124 Fixes: NB#101889 (Picker dialog should not close when nothing is
3125 selected in multiple selection list)
3127 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3129 * src/hildon-font-selection-dialog.c
3130 (hildon_font_selection_dialog_class_init),
3131 (hildon_font_selection_dialog_init): Remove the preview
3132 button and dialog, since previewing with default theming is likely
3133 to be overcomplicated. The :preview property has now no effect.
3134 Update documentation blurbs to inform about this.
3136 Fixes: NB#92297 (Preview content is not clearly visible for
3137 default colour text)
3139 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3141 Reviewed the geometry that handles the children size and
3142 scrollbar, now it tries a size and reviews the results depending
3143 on the scrollbars visibility.
3145 * src/hildon-pannable-area.c,
3146 (hildon_pannable_area_realize): Fixed a typo.
3147 (hildon_pannable_area_child_allocate_calculate): Added this
3148 function to calculate the child allocation.
3149 (hildon_pannable_area_size_allocate): Reviewed the allocation
3151 (hildon_pannable_area_check_scrollbars),
3152 (hildon_pannable_area_refresh): Refactored refresh function, this
3153 way we can call the code handling the scrollbars without causing a
3154 size_request, it is interesting in the allocate.
3155 (hildon_pannable_area_init): Replace the callbacks of the
3156 value_changed and changed signals to propertly deal with the
3158 (hildon_pannable_area_grab_notify),
3159 (hildon_pannable_area_initial_effect),
3160 (hildon_pannable_area_launch_fade_timeout),
3161 (hildon_pannable_area_adjust_changed),
3162 (hildon_pannable_area_adjust_value_changed),
3163 (hildon_pannable_area_redraw),
3164 (hildon_pannable_area_button_press_cb),
3165 (hildon_pannable_area_button_release_cb),
3166 (hildon_pannable_area_scroll_cb),
3167 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3168 code and use the new functions adjust_changed and
3169 adjust_value_changed.
3171 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3172 Contact editor dialog)
3174 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3179 * configure.ac: Bump version.
3180 * debian/changelog: Updates.
3182 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3184 * src/hildon-pannable-area.c,
3185 (hildon_pannable_area_get_topmost),
3186 (hildon_pannable_area_button_press_cb),
3187 (hildon_pannable_area_button_release_cb),
3188 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3189 topmost function adding the event mask. We have to try a
3190 differente approach because it is still causing problems (NB#9745,
3193 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-banner.c:
3196 Update the maximum width of timed banners.
3197 (force_to_wrap_truncated): Enforce the maximum text width if the
3200 Fixes: NB#102413 (The text margins (wrapping) in information
3201 banner should be HILDON_MARGIN_TRIPLE)
3203 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3205 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3207 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3208 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3209 bound when calculating the scroll indicator position.
3211 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3212 treat ->lower correctly)
3214 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3216 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3217 expose event handling, since it is not necessary to draw the focus
3220 Fixes: NB#102467 (Do not show highlight on the text in
3223 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3226 full height of the toolbar for the button and the label.
3228 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3231 padding before the label and after the button.
3233 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3235 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3237 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3238 Add a GtkVSeparator between the button and the back arrow.
3239 Let the button have automatic size.
3240 Set a name to the widget for theming handling.
3242 Fixes: NB#101793 (Make edit toolbar the same height as window
3243 title bar (use title area theming))
3245 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3247 * src/hildon-helper.c (attach_new_color_element): Fix memory
3250 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3252 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3254 * examples/hildon-button-example.c (common_buttons_window): Don't
3257 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3260 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3262 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3264 * src/hildon-gtk.c: Check that the window is realized.
3266 Fixes: NB#102225 (Crash setting the progress indicator to a non
3269 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3272 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3273 instead of modifying the one in the widget style.
3275 Fixes: NB#101043 (Second row of all the command button are
3276 displayed in transparent mode.)
3278 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-date-button.c
3281 * src/hildon-time-button.c: Add gettext macros
3283 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3285 * src/hildon-date-button.c (hildon_date_button_new):
3286 * src/hildon-time-button.c (hildon_time_button_new_step):
3287 Use new logical strings to set the button default title.
3289 Fixes: NB#99915 (Date and Time options are not localised in Date
3292 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3294 * src/hildon-pannable-area.c
3295 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3296 the PANNING_THRESHOLD.
3298 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3300 * src/hildon-pannable-area.c,
3301 (hildon_pannable_area_class_init): Increased the maximum speed.
3302 (hildon_pannable_area_get_property),
3303 (hildon_pannable_area_set_property),
3304 (hildon_pannable_area_timeout): Added a new low friction mode, it
3305 allows the user avoid friction when launching the widget fast
3306 enough. It is interesting to traverse long lists.
3308 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3310 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3311 (+hildon_stackable_window_delete_event): Ignore delete events if
3312 the window is not the topmost one.
3314 Fixes: NB#101698 (Back button long press and delete-event handling)
3316 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3318 * src/hildon-pannable-area.c,
3319 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3320 gtk-dnd-drag-threshold, it was too big. We have defined our own
3321 dnd define and set a smaller value: PANNIG_THRESHOLD.
3323 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3326 user-defined icons, use always the default one.
3328 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3330 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3332 This patch was applied before but reverted because it caused
3333 problems, we have changed the main condition and tested the
3334 regressions we detected before and they work ok.
3336 * src/hildon-pannable-area.c,
3337 (hildon_pannable_area_get_topmost): Added a new parameter to
3338 filter the the windows that do not include those events. Added
3339 also a condition when finding the window to filter windows that do
3340 not ask for those events.
3341 (hildon_pannable_area_button_press_cb),
3342 (hildon_pannable_area_button_release_cb),
3343 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3344 topmost function, we have added the new parameter.
3346 Fixes: NB#97458 (Pannable area prevents propagation of button
3349 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3351 * tests/check-hildon-color-button.c (START_TEST): do not leak
3354 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3356 * src/hildon-font-selection-dialog.c
3357 (hildon_font_selection_dialog_get_preview_text): Return NULL
3358 instead of FALSE on the g_return_val_if_fail().
3360 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3363 * src/hildon-date-selector.c
3364 (hildon_date_selector_select_current_date):
3365 Do not compare unsigned integers to be greater than or equal 0,
3366 because it's always TRUE.
3368 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3371 (hildon_date_selector_constructor): Do not select the current
3372 date until we are handle the "changed" signal, to avoid having bogus
3373 elements in the days model.
3375 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3378 for num_days, since _month_days() can return a negative value.
3380 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3382 * src/hildon-caption.c (hildon_caption_size_allocate):
3383 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3384 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3386 Initialize allocation variables to 0, to avoid eventually using
3387 unitialized variables.
3389 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3391 * src/hildon-bread-crumb-trail.c
3392 (hildon_bread_crumb_trail_size_allocate):
3393 * src/hildon-calendar.c (hildon_calendar_set_background):
3394 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3395 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3396 * src/hildon-seekbar.c (hildon_seekbar_init):
3397 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3398 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3399 * src/hildon-touch-selector-entry.c
3400 (hildon_touch_selector_get_text_from_model):
3401 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3402 * src/hildon-window.c (hildon_window_finalize):
3404 Remove many unused variables.
3406 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3408 * src/hildon-seekbar.c: (hildon_seekbar_init),
3409 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3411 Remove unnecessary g_assert() calls.
3413 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3415 * src/hildon-caption.c: (hildon_caption_expose),
3416 (hildon_caption_set_property), (hildon_caption_init),
3417 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3418 (hildon_caption_size_request), (hildon_caption_size_allocate),
3419 (hildon_caption_forall), (hildon_caption_set_separator),
3420 (hildon_caption_activate), (hildon_caption_set_child_expand),
3421 (hildon_caption_set_label_text),
3422 (hildon_caption_get_label_alignment):
3424 Remove unnecessary g_assert() calls.
3426 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3428 * src/hildon-banner.c
3429 (hildon_banner_map, hildon_banner_init): Make banner temporary
3430 before mapping it to avoid closing other temporary windows, but
3431 make it non-temporary afterwards to avoid being closed by other
3432 non-temporary windows.
3433 (-hildon_banner_client_event, hildon_banner_init):
3434 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3436 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3439 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3444 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3446 * src/hildon-remote-texture.c
3447 * src/hildon-remote-texture.h
3448 * src/hildon-remote-texture-private.h
3449 * examples/hildon-remote-texture-example.c:
3450 Updates/fixes to remote-texture and its example.
3452 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3454 Patch by Mox Soini (ext-mox.soini@nokia.com)
3456 * src/hildon-code-dialog.c: Update logical id.
3457 * src/hildon-set-password-dialog.c: Update logical id.
3459 Fixes: NB#100646 (Logical strings is shown for ok in set
3460 password,Password needed dialogs)
3462 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3465 * src/hildon-remote-texture.c
3466 * src/hildon-remote-texture.h
3467 * src/hildon-remote-texture-private.h
3469 Added remote texture widget (for Clutter shared memory textures)
3471 * examples/hildon-remote-texture-example.c
3472 * examples/Makefile.am
3473 Added example file for remote texture usage
3475 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3477 * configure.ac: post release version bump.
3478 * debian/changelog: version bump.
3480 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3485 * configure.ac: Bump version.
3486 * debian/changelog: Updates.
3488 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3490 * src/hildon-date-selector.c (hildon_date_selector_init)
3491 (hildon_date_selector_constructor): Don't connect to the "changed"
3492 signal until the selector is completely constructed.
3494 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3496 * src/hildon-touch-selector.c: (_create_new_column),
3497 (hildon_touch_selector_append_column),
3498 (hildon_touch_selector_set_column_selection_mode),
3499 (hildon_touch_selector_set_active),
3500 (hildon_touch_selector_select_iter):
3501 Emit the HildonTouchSelector::changed signal every time selection
3502 is changed in any of the methods above. This behavior was already
3503 documented but not fully functional.
3505 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3506 selection is programmatically changed)
3508 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3510 * doc/hildon-sections.txt: Remove obsolete icon
3511 sizes from here as well.
3513 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3515 * examples/hildon-stackable-window-example.c (add_window): Remove
3518 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-app-menu.c
3521 (hildon_app_menu_show): Check whether the parent window of a menu
3522 is topmost before popping it up.
3524 Fixes: NB#100468 (Application menu window is launched even when a
3525 new secondary-window/dialog is pending to be shown/realized.)
3527 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3529 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3532 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3534 Patch by Mox Soini (ext-mox.soini@nokia.com)
3536 * src/hildon-banner.c: (hildon_banner_show_animation):
3537 use stylus size instead of obsolete note size.
3538 * src/hildon-defines.h: Update icon sizes.
3540 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3542 * src/hildon-touch-selector-entry.c:
3543 (hildon_touch_selector_entry_init): Disable unsupported
3545 (hildon_touch_selector_entry_get_text_column): Emit a warning
3546 if an unsupported input modes is used and explicitile state
3547 these modes in the documentation.
3549 Fixes: NB#99802 (Hildon touch selector entry not working properly
3550 for some of the input modes)
3552 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3554 * src/hildon-pannable-area.c,
3555 (hildon_pannable_area_init): Added the changed signal handlers of
3558 Fixes: NB#100320 (HildonPannableArea does not listen to
3559 GtkAdjustment "change" signals)
3561 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3563 * doc/hildon-sections.txt
3564 * src/hildon-window-private.h
3565 * src/hildon-window.h
3566 * src/hildon-window.c (hildon_window_init)
3567 (hildon_window_realize, hildon_window_unrealize)
3568 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3569 (hildon_window_size_request, hildon_window_size_allocate)
3570 (hildon_window_forall, hildon_window_show_all)
3571 (hildon_window_destroy, +paint_edit_toolbar)
3572 (+hildon_window_set_edit_toolbar):
3573 New hildon_window_set_edit_toolbar() method, to add a
3574 HildonEditToolbar to a window without having to pack it manually.
3576 Reorganize hildon_window_size_allocate()
3578 * src/hildon-edit-toolbar.c: Update documentation.
3580 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3581 example to use the new API.
3583 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3585 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3588 Remove from stack before calling parent's hide.
3590 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3593 window is removed from the middle of the stack, update the
3594 transiency of the previous one.
3596 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3599 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3601 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3602 block/unblock the signal handler if it's not actually being used.
3603 Fixes some critical warnings.
3605 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3607 Based on a patch by Iván Gómez (igomez@igalia.com)
3609 * src/hildon-banner.c
3613 * src/hildon-pannable-area.c
3614 * src/hildon-picker-dialog.c
3615 * src/hildon-wizard-dialog.h
3616 * src/hildon-wizard-dialog.c: Documentation updates.
3618 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3619 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3621 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3623 * configure.ac: post release version bump.
3624 * debian/changelog: version bump.
3626 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3631 * configure.ac: Bump version.
3632 * debian/changelog: Updates.
3634 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3636 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3637 a stock icon nor change the relief of the back arrow.
3639 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3640 graphics from theme)
3642 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3644 * src/hildon-button.c (hildon_button_set_alignment): Use
3645 priv->alignment if the button has no child yet.
3647 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-button.c: (hildon_button_init): Set the
3650 button style during initialization to give it the proper
3653 Fixes: NB#99713 (HildonButton value label color is wrong)
3655 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3657 * src/hildon-touch-selector.c: Document
3658 hildon_touch_selector_center_on_selected()
3660 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3663 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3664 all menu items, but not the menu itself.
3665 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3666 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3667 items after adding them to the menu so keyboard accelerators work.
3668 (hildon_app_menu_show): Don't show the menu if it contains items
3669 but none of them are visible.
3671 * examples/hildon-app-menu-example.c (create_menu): Use
3672 gtk_widget_show_all() to show all menu items.
3674 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3676 * src/hildon-picker-dialog.c:
3677 (-_update_title_on_selector_changed_cb),
3678 (-_dialog_update_title): Removed.
3679 (_select_on_selector_changed_cb), (_on_dialog_response),
3680 (on_selector_columns_changed): Do not update the dialog title.
3681 (setup_interaction_mode): Do not connect to
3682 HildonTouchSelector::changed signal if there's a "done" button, as
3683 the dialog title doesn't need to be updated.
3685 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3688 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3690 Patch by Kristian Rietveld (kris@imendio.com)
3692 * src/hildon-touch-selector.c: (_create_new_column): Use new
3693 GtkTreeView::hildon-row-tapped signal to react to user interactions
3694 instead of ::changed.
3696 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3697 with some dynamic tree model)
3699 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3701 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3702 (+screen_size_changed, +label_size_request)
3703 (hildon_note_class_init): Make the Hildon information note have a
3704 minimum height, and make its text hvae a maximum width.
3706 Fixes: NB#98614 (Hildon information note (background) should have
3707 minimum height and maximum text width)
3709 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-banner.h
3712 * src/hildon-banner.c (hildon_banner_show_information)
3713 (hildon_banner_show_informationf)
3714 (hildon_banner_show_information_with_markup): Update documentation
3715 to reflect that the icon_name parameter is not used anymore.
3716 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3717 Remove all code from these functions and mark them as deprecated.
3718 (hildon_banner_show_progress): Mark as deprecated.
3720 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3722 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3724 * src/hildon-pannable-area.c,
3725 (hildon_pannable_area_class_init),
3726 (tranparency_color),
3727 (hildon_pannable_draw_vscroll),
3728 (hildon_pannable_draw_hscroll),
3729 (hildon_pannable_area_expose_event): Added a new way to render the
3730 scrollbars of the pannable area avoiding using cairo at all. This
3731 way we improve the performance of the pannable area rendering. The
3732 cairo rendering procedure is still in the code, we can control
3733 which one to use changing the value of the define
3734 USE_CAIRO_SCROLLBARS.
3736 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3738 * configure.ac: post release version bump.
3739 * debian/changelog: version bump.
3741 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3746 * configure.ac: Bump version.
3747 * debian/changelog: Updates.
3749 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3752 banners instead of destroying them when they receive a button
3755 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3757 Reverted commit 34028, it was causing regressions, probably the
3758 topmost condition is not correct, we have to check it in more
3759 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3760 propagation of button press events)
3762 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3764 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3765 that the selection is not empty before attempting to retrieve the
3766 current ampm selection.
3768 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-picker-button.c:
3771 (hildon_picker_button_on_dialog_response): Directly update the
3772 button contents when required instead of calling _selection_changed.
3774 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3776 * src/hildon-program.c (hildon_program_update_top_most): Update
3777 'is-topmost' property also when wm_hints is not set.
3779 Fixes: NB#98383 (is-topmost signal is not emitted when task
3780 switcher is clicked.)
3782 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3784 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3788 * src/hildon-animation-actor.c,
3789 * src/hildon-animation-actor.h: Added the animation actor class,
3790 this widget represents an animation actor for WM-assisted
3791 animation effects in the Hildon framework.
3793 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3795 * src/hildon-window-stack-private.h
3796 * src/hildon-window-stack.c
3797 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3798 Avoid calling gtk_widget_show() again indirectly from
3799 hildon_stackable_window_show()
3801 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3806 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3809 (hildon_time_selector_init): Move the construction of the hours and
3810 ampm columns to the constructor to preserve the order the columns
3813 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3815 * src/hildon-picker-dialog.c:
3816 (hildon_picker_dialog_class_init): Connect a realize method.
3817 (+hildon_picker_dialog_realize): Setup the interaction mode here
3819 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3820 yet, do it during the realize instead.
3821 (_on_dialog_response):
3822 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3823 if the widget is not realized, to avoid the dialog response before it
3826 Avoid premature responses in the HildonPickerDialog that can cause it
3827 to be hidden before it's even shown.
3829 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3832 (on_selector_columns_changed), (requires_done_button),
3833 (+prepare_action_area), (setup_interaction_mode),
3834 (_hildon_picker_dialog_set_selector):
3836 Split the interaction mode setup into preparation of the
3837 action area (prepare_action_area()) and the connection of
3838 the signals in setup_interaction_mode() and update the code to
3841 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3843 * src/hildon-pannable-area.c,
3844 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3845 per second to 15, we will check if this is ok regarding
3848 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3850 * src/hildon-pannable-area.c,
3851 (hildon_pannable_axis_scroll): Avoid resize if we already have
3852 reached overshoot_max.
3854 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3856 * src/hildon-pannable-area.c,
3857 (hildon_pannable_area_init),
3858 (hildon_pannable_area_realize),
3859 (hildon_pannable_area_size_allocate),
3860 (hildon_pannable_area_map),
3861 (hildon_pannable_area_unmap),
3862 (hildon_pannable_draw_vscroll),
3863 (hildon_pannable_draw_hscroll),
3864 (hildon_pannable_area_expose_event),
3865 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3866 pannable are to avoid the expose events go to the window and
3867 redraw the window. We save this way that part of the stack and the
3868 paint_boxes. We had to change the positions of the elements when
3871 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3874 * src/hildon-color-chooser-dialog.c:
3875 (hildon_color_chooser_dialog_init):
3876 * src/hildon-font-selection-dialog.c:
3877 (hildon_font_selection_dialog_init),
3878 (hildon_font_selection_dialog_show_preview):
3879 * src/hildon-get-password-dialog.c:
3880 * src/hildon-login-dialog.c:
3881 * src/hildon-set-password-dialog.c:
3882 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3883 * src/hildon-time-picker.c: (hildon_time_picker_init):
3885 Remove obsolete logical string IDs and update to the appropriate ones.
3887 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3889 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3891 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3892 that happens if the window hasn't been realized yet.
3894 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3895 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3897 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3899 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3900 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3903 Fixes: NB#98537 (Device hangs in account settings dialog)
3905 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3907 * configure.ac: post release version bump.
3908 * debian/changelog: version bump
3910 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3915 * configure.ac: Bump version.
3916 * debian/changelog: Updates.
3918 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3920 Added a new function to the HildonTimeButton widget that allows to
3921 change the step of the minutes in the selector associated with the
3922 button: hildon_time_button_new_step
3924 * src/hildon-time-button.c,
3925 (hildon_time_button_init),
3926 (hildon_time_button_new),
3927 (hildon_time_button_new_step):
3928 * src/hildon-time-button.h: Added the new function and refactored
3930 * examples/hildon-time-button-example.c,
3931 (main): We have replaced the function without parameters with the
3932 function with the steps set to 5
3934 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3936 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3938 * src/hildon-time-selector.c,
3939 (hildon_time_selector_class_init),
3940 (hildon_time_selector_constructor),
3941 (hildon_time_selector_get_property),
3942 (hildon_time_selector_set_property),
3943 (_create_minutes_model),
3944 (hildon_time_selector_new_step),
3945 (hildon_time_selector_set_time),
3946 * src/hildon-time-selector.h: Added a new property to the
3947 HildonTimeSelector (minutes-step), we use that property to control
3948 the steps between the minutes in the list of the selector. We have
3949 added a new function to the API to create a widget changing the
3950 step: hildon_time_selector_new_step.
3952 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3954 * src/hildon-time-selector.c,
3955 (hildon_time_selector_class_init),
3956 (hildon_time_selector_constructor),
3957 (hildon_time_selector_init): Overrided the construct function when
3958 creating the time selector object. We have moved the minutes model
3959 handling code from the init to the new construction function:
3960 hildon_time_selector_constructor.
3962 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3964 * examples/hildon-date-button-example.c: (main): Use the new
3965 hildon_date_button_new_with_year_range() method in the example.
3966 * src/hildon-date-button.c:
3967 (+hildon_date_button_new_with_year_range): New public method
3968 to conveniently create a HildonDateButton with a custom year range
3969 in its HildonDateSelector.
3970 * src/hildon-date-button.h: Add the new public method definition.
3972 Fixes: NB#97908 (Not possible to change the year range in
3973 HildonDateSelector/HildonDateButton)
3975 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3977 * src/hildon-date-selector.c:
3978 (+hildon_date_selector_set_property),
3979 (+hildon_date_selector_get_property),
3980 (hildon_date_selector_class_init): Install new properties "min-year"
3981 and "max-year" to define boundaries for the year column.
3982 (_create_year_model): Use the boundary properties to populate the model.
3983 (+hildon_date_selector_new_with_year_range): New public method to
3984 create a HildonDateSelector with a user defined year range.
3985 (hildon_date_selector_select_current_date): Use the new boundaries to
3986 calculate the iterator of current year.
3987 * src/hildon-date-selector.h: Add the new public method definition.
3989 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3991 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3992 Install a constructor method.
3993 (+hildon_date_selector_construct_ui): construct the widget.
3994 (+hildon_date_selector_constructor): new constructor.
3995 (+hildon_date_selector_init): move out widget construction code to
3996 the new constructor.
3998 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4001 that there's actually a month or year selected before obtaining them.
4002 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4003 of the HildonTouchSelector::changed signal, as it was emitted on every
4004 single item selection.
4006 Fix some warnings and possible crashers due to the selection restoring.
4008 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4010 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4011 the signal handlers only after creating the dialog instead of on every
4014 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4016 * src/hildon-button.c (hildon_button_init)
4017 * src/hildon-check-button.c (hildon_check_button_init)
4018 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4019 focus when clicked by default.
4021 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4026 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4028 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4029 Alejandro G. Castro (alex@igalia.com)
4031 * src/hildon-picker-dialog.c:
4032 (hildon_picker_dialog_class_init): install new "center-on-show"
4034 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4035 (hildon_picker_dialog_set_property): add setter code for the new
4037 (hildon_picker_dialog_get_property): add getter code for the new
4039 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4040 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4043 Fixes: NB#92849 (Selected item is not always visible when
4044 HildonTouchSelector is shown)
4046 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4048 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4049 Alejandro G. Castro (alex@igalia.com)
4051 * src/hildon-touch-selector.c:
4052 (_create_new_column): Do not connect to the "realize" signal of the
4054 (hildon_touch_selector_append_column): center on the selected items
4055 when a new column is appended.
4056 (hildon_touch_selector_select_iter): Factor out the code to select a
4057 column to hildon_touch_selector_scroll_to().
4058 (+search_nearest_element): Method to retrieve the nearest selected
4059 element to the visible area of the pannable area in a column.
4060 (+on_realize_cb): scroll to the initially selected item.
4061 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4062 the pannable area is realized, otherwise delay this until it is.
4063 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4064 selected items of a given column.
4065 (+hildon_touch_selector_center_on_selected): Public method to center
4066 all columns on the nearest selected item.
4067 * src/hildon-touch-selector.h: Add definition for
4068 hildon_touch_selector_center_on_selected().
4070 Implement public API to ensure visibility of all selected items in
4071 a HildonTouchSelector.
4073 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4075 Fixed a problem in the fading when calling the scroll_to API, and
4076 improve scrollbar fading handling.
4078 * src/hildon-pannable-area.c,
4079 (hildon_pannable_area_grab_notify): avoid the timeout when the
4081 (hildon_pannable_area_button_press_cb),
4082 (hildon_pannable_area_motion_notify_cb): Code style changes.
4083 (hildon_pannable_area_button_release_cb): Review the conditions
4084 when releasing the mouse button to avoid unrequired fading
4086 (hildon_pannable_area_scroll_to): Do not calculate and set the
4087 velocity if the scroll is not required.
4089 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4092 Don't check whether the new selector is NULL: it cannot be.
4093 Hold a reference to the selector while doing the replacement.
4095 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4098 unnecessary size_request in a removed widget.
4100 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4102 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4103 an unnecessary reference tracking that was leaking.
4105 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4107 Added delayed motion notify event handling, this way we can
4108 discard redrawing if more than 25 events arrive per second.
4110 * src/hildon-pannable-area.c,
4111 (hildon_pannable_area_init): Initialized the new private atributes
4112 controlling this timeout
4113 (hildon_pannable_area_dispose): Remove the timeout that controls
4114 the motion notify events.
4115 (hildon_pannable_area_scroll): Added a condition to control the
4116 use of the acceleration.
4117 (hildon_pannable_area_motion_event_scroll_timeout),
4118 (hildon_pannable_area_motion_event_scroll): Added this two
4119 functions, they handle the motion notify events inside the
4121 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4122 to the scroll method with the new function.
4123 (hildon_pannable_area_button_release_cb): We have to remove the
4124 timeout handler and move to the last position if the last motion
4125 events were not handled.
4127 Fixes: NB#97028 (Pannable area updates on every motion event)
4129 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4131 * src/hildon-pannable-area.c,
4132 (hildon_pannable_area_get_topmost): Added a new parameter to
4133 filter the the windows that do not include those events. Added
4134 also a condition when finding the window to filter windows that do
4135 not ask for those events.
4136 (hildon_pannable_area_button_press_cb),
4137 (hildon_pannable_area_button_release_cb),
4138 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4139 topmost function, we have added the new parameter.
4141 Fixes: NB#97458 (Pannable area prevents propagation of button
4144 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4146 * src/hildon-pannable-area.c,
4147 (hildon_pannable_area_initial_effect): Added controls before
4148 launching the timeout and the idle functions.
4149 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4150 of the method, in some situations it can return with TRUE and 0 in
4152 (hildon_pannable_area_button_press_cb): We do not need to set
4153 DELAY for fading out here.
4155 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4157 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4160 post-cleaning if the selection is not NULL.
4162 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4164 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4165 all items before restoring the selection.
4167 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4169 * src/hildon-touch-selector.c:
4170 (+hildon_touch_selector_unselect_all):
4171 * src/hildon-touch-selector.h: New API to unselect all items in a
4172 column of the touch selector.
4174 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4176 * src/hildon-pannable-area.c,
4177 (hildon_pannable_area_redraw): Added a call to the refresh
4178 function inside the redraw because apparently in some cases the
4179 change in the adjustment does not imply a size allocate.
4181 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4182 despite the view not being scrollable)
4184 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4186 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4187 leak. Check for NULL before attempting to set the window title.
4189 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4191 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4192 whether to show or not the 'Done' button each time the dialog is
4193 shown, as it depends on the HildonTouchSelector selection mode.
4195 Fixes: NB#96226 (In multiple selection mode Done button is shown
4196 sometimes in listpicker)
4198 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4201 for the number of columns in the HildonTouchSelector more than once.
4203 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4205 * src/hildon-touch-selector.c: Minor documentation fixes.
4207 * src/hildon-picker-dialog.c (+_dialog_update_title)
4208 (_select_on_selector_changed_cb)
4209 (_update_title_on_selector_changed_cb)
4210 (on_selector_columns_changed): Update dialog title when there's no
4211 'Done' button and also when the number of columns in the selector
4215 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4216 (+_selection_changed, hildon_picker_button_on_dialog_response)
4217 (hildon_picker_button_selector_selection_changed)
4218 (+hildon_picker_button_selector_columns_changed)
4219 (hildon_picker_button_set_selector): Update button value and emit
4220 'value-changed' when the number of columns in the selector
4224 Fixes: NB#96225 (Dialog titles are not shown according to the
4225 values selected in the list picker)
4227 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4229 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4230 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4231 New "arrow-width" and "arrow-height" style properties to set the
4232 size of the arrow button.
4233 Set name of arrow button ("hildon-edit-toolbar-arrow").
4235 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4236 graphics from theme)
4238 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4240 * src/hildon-picker-button.c:
4241 (hildon_picker_button_selector_selection_changed): Use
4242 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4243 the dialog is present.
4245 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4246 the selection is accepted in the dialog)
4248 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4250 * src/hildon-color-chooser.h
4251 * src/hildon-color-chooser-dialog.h:
4252 Added G_BEGIN_DECLS and G_END_DECLS
4254 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4256 (_clean_current_selection): plug a leak in the list.
4258 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-picker-dialog.c:
4261 (+free_path_list): Method to free a GList of GtkTreePaths.
4262 (_clean_current_selection), (_save_current_selection),
4263 (_restore_current_selection): Save the current selection in
4264 as a list of lists, to support multiple selection properly.
4266 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4268 patch by Claudio Saavedra (csaavedra@igalia.com)
4270 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4271 Store the press position.
4272 (+hildon_text_view_button_release_event): If the release position is
4273 close enough to the press position, move the cursor here. Otherwise,
4275 (hildon_text_view_class_init): Override GtkTextView press, release, and
4276 motion event handlers, disabling this way text selection through
4277 pointer interaction, and allowing the container widget to handle the
4280 Fixes: NB#95828 (HildonTextView functionality)
4282 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4284 Based on a patch by Iván Gómez (igomez@igalia.com)
4286 * src/hildon-button.[ch]
4287 * src/hildon-calendar.c
4288 * src/hildon-check-button.c
4289 * src/hildon-date-editor.c
4290 * src/hildon-date-selector.c
4291 * src/hildon-picker-button.c
4292 * src/hildon-time-editor.c
4293 * src/hildon-time-selector.c
4294 * src/hildon-touch-selector.[ch]:
4295 Documentation updates
4297 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4299 * src/hildon-pannable-area.c,
4300 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4301 threshold, it was required due to X events handling.
4303 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4305 * src/hildon-pannable-area.c,
4306 (hildon_pannable_area_grab_notify),
4307 (hildon_pannable_area_initial_effect),
4308 (hildon_pannable_area_button_press_cb),
4309 (hildon_pannable_area_button_release_cb),
4310 (hildon_pannable_area_scroll_cb),
4311 (hildon_pannable_area_scroll_to): Review the timeout management of
4312 the scrollbar, the frecuency was incorrectly set.
4314 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4316 * src/hildon-picker-button.c:
4317 (+hildon_picker_button_on_dialog_response),
4318 (hildon_picker_button_clicked): Present the dialog instead of
4319 running it with gtk_dialog_run().
4321 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4324 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4326 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4327 (hildon_app_menu_finalize): When a window is hidden it doesn't
4328 emit notify::is-topmost, so make sure than the menu also
4329 disappears in that case.
4330 (parent_window_topmost_notify): Renamed from parent_window_hidden
4332 Fixes: NB#94460 (stackable window's menu is not closed when its
4335 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4337 * src/hildon-touch-selector-entry.c:
4338 (+hildon_touch_selector_entry_set_input_mode),
4339 (+hildon_touch_selector_entry_get_input_mode):
4340 * src/hildon-touch-selector-entry.h: New methods to access the input
4341 mode in the selector's entry.
4343 Fixes: NB#93410 (API required for setting IM mode in
4344 HildonTouchSelectorEntry)
4346 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4348 * configure.ac: post release version bump.
4349 * debian/changelog: version bump
4351 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4356 * configure.ac: Bump version.
4357 * debian/changelog: Updates.
4359 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-touch-selector.c:
4362 (_hildon_touch_selector_has_multiple_selection): No need
4363 to initialize the variables here.
4365 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4367 * src/hildon-note-private.h
4368 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4369 (hildon_note_finalize, hildon_note_rebuild): Close information
4370 notes when they receive a button press.
4372 Fixes: NB#89890 (Information notes does not get disappeared after
4375 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4378 mark from the wizard title, as it's not really necessary. Also,
4379 do not display the page title if not set.
4381 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4384 (parent_window_hidden): Use the window's "is-topmost" property to
4385 detect when to hide the menu.
4387 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4390 (hildon_app_menu_finalize): If the parent window of the menu is
4391 hidden, hide the menu too.
4393 Fixes: NB#94460 (stackable window's menu is not closed when its
4396 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4399 * debian/libhildon1-examples.install
4401 * examples/Makefile.am:
4402 Use dh_install to install all examples.
4403 Use DEB_SRCDIR instead of defining SOURCE_DIR
4405 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4407 * configure.ac: post release version bump.
4408 * debian/changelog: version bump
4410 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4415 * configure.ac: bump version
4416 * debian/changelog: updates
4417 * debian/control: bump gtk+ dependency
4419 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4421 patch by Christian Dywan (christian@imendio.com)
4423 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4424 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4426 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4428 * src/hildon-check-button.c (hildon_check_button_init)
4429 (hildon_check_button_class_init, hildon_check_button_style_set)
4430 (hildon_check_button_apply_style):
4431 New "checkbox-size" style property.
4433 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4434 larger / configurable size)
4436 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4438 * configure.ac: post release version bump.
4439 * debian/changelog: version bump
4441 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4446 * configure.ac: bump version
4447 * debian/changelog: updates
4449 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4451 * doc/hildon-sections.txt
4452 * src/hildon-pannable-area.c
4453 * src/hildon-program.c
4454 * src/hildon-time-editor.c
4455 * src/hildon-touch-selector-entry.c:
4457 More documentation updates.
4459 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4461 * doc/hildon-sections.txt
4462 * src/hildon-caption.c
4463 * src/hildon-code-dialog.c
4464 * src/hildon-color-button.c
4465 * src/hildon-controlbar.c
4466 * src/hildon-date-editor.c
4467 * src/hildon-date-selector.c
4468 * src/hildon-edit-toolbar.c
4469 * src/hildon-find-toolbar.c
4470 * src/hildon-font-selection-dialog.c
4472 * src/hildon-program.c
4473 * src/hildon-range-editor.c
4474 * src/hildon-seekbar.c
4475 * src/hildon-time-editor.c
4476 * src/hildon-time-selector.c
4477 * src/hildon-volumebar-range.c
4478 * src/hildon-volumebar.c
4479 * src/hildon-vvolumebar.c
4480 * src/hildon-weekday-picker.c
4481 * src/hildon-window.c
4482 * src/hildon-wizard-dialog.c:
4484 Lots of documentation fixes.
4486 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4488 Patch contributed by Iván Gómez (igomez@igalia.com)
4490 * src/hildon-check-button.c:
4491 * src/hildon-date-button.c:
4492 * src/hildon-date-selector.c:
4493 * src/hildon-dialog.c:
4494 * src/hildon-edit-toolbar.c:
4495 * src/hildon-entry.c:
4496 * src/hildon-picker-button.c:
4497 * src/hildon-program.c:
4498 * src/hildon-text-view.c:
4499 * src/hildon-time-button.c:
4500 * src/hildon-touch-selector-entry.c:
4501 * src/hildon-window-stack.c:
4503 Add more "since" tags to the new API.
4505 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4507 * doc/hildon-sections.txt: Add below method.
4508 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4509 version for the hildonized scale.
4510 * src/hildon-gtk.h: Add the definition.
4512 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4514 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4516 * doc/hildon-sections.txt: Add missing entries for new methods.
4518 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4520 Added API to pannable are in order to get its adjustments. We
4521 added two properties to manage the values we had in the private
4524 * src/hildon-pannable-area.c:
4525 (hildon_pannable_area_class_init): Added hadjustment and
4526 vadjustment properties in order to expose horizontal and vertical
4528 (hildon_pannable_area_get_property),
4529 (hildon_pannable_area_set_property): Added code to handle the new
4531 (hildon_pannable_area_get_hadjustment),
4532 (hildon_pannable_area_get_vadjustment): API functions to get the
4534 * src/hildon-pannable-area.h:
4535 (hildon_pannable_area_get_hadjustment),
4536 (hildon_pannable_area_get_vadjustment): API functions to get the
4539 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4541 Fixed some leaks, after valgrinding.
4543 * src/hildon-touch-selector.c:
4544 (_default_print_func): Fixed a leak.
4545 (hildon_touch_selector_append_column): Fixed a leak.
4546 * src/hildon-date-button.c:
4547 (hildon_date_button_init): Fixed a leak.
4548 * src/hildon-date-selector.c
4549 (hildon_date_selector_finalize): Fixed a leak.
4551 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4553 Based on a patch by Christian Dywan (christian@imendio.com)
4555 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4557 * src/hildon-gtk.h: Add definition.
4559 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4561 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4563 * src/hildon-picker-button.c: (hildon_picker_button_init),
4564 (hildon_picker_button_new): Set the HildonButton::style property
4565 in the init method, to propagate the value to the derived classes.
4567 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4569 * src/hildon-button.c: (hildon_button_class_init): Do not make
4570 the "style" property a construct property.
4572 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-wizard-dialog.h
4575 * src/hildon-wizard-dialog.c
4576 (hildon_wizard_dialog_set_forward_page_func)
4577 * src/hildon-pannable-area.h
4578 * src/hildon-pannable-area.c
4579 (hildon_pannable_area_set_size_request_policy):
4580 Documentation fixes.
4582 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4584 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4586 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4588 * doc/hildon-sections.txt: Added sections file.
4590 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/*.[ch]: Updates.
4595 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4597 * examples/hildon-progress-indicator-example.c: new file
4598 * examples/Makefile.am: include the new example program
4600 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4602 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4604 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4606 * configure.ac: post release version bump
4607 * debian/changelog: version bump
4609 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4614 * configure.ac: bump version
4615 * debian/changelog: updates
4616 * debian/control: bump gtk+ dependency
4618 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4620 * src/hildon-dialog.c: Mark as deprecated.
4621 * src/hildon-dialog.h: Mark as deprecated.
4622 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4623 from HildonDialog and still work, even if
4624 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4625 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4627 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4628 maemo changes) instead)
4630 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4632 * src/hildon-pannable_area.h:
4633 * src/hildon-pannable_area.c:
4634 (hildon_pannable_area_class_init),
4635 (hildon_pannable_area_set_property),
4636 (hildon_pannable_area_get_property),
4637 (hildon_pannable_area_size_request),
4638 (hildon_pannable_area_get_size_request_policy),
4639 (hildon_pannable_area_set_size_request_policy): Added new API
4640 allowing applications to control the request policy. Now they can
4641 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4642 children allocation (HILDON_MOVEMENT_CHILDREN).
4644 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4648 (hildon_gtk_tree_view_set_ui_mode)
4649 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4650 mode of treeviews and iconviews.
4652 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/hildon-touch-selector-entry.c:
4655 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4656 of a GtkEntry to get proper theming.
4658 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4659 widget, not GtkEntry)
4661 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4664 no HildonWizardDialogPageFunc.
4666 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4668 Patch contributed by Iván Gómez (igomez@igalia.com)
4670 * src/hildon-app-menu.c:
4671 * src/hildon-button.c:
4672 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4673 * src/hildon-stackable-window.c:
4674 * src/hildon-time-selector.c:
4675 * src/hildon-touch-selector.c:
4676 * src/hildon-window.c:
4678 Add more "since" tags to the new API in hildon 2.2.
4680 2008-12-05 Tim Janik <timj@imendio.com>
4682 Patch contributed by Christian Dywan (christian@imendio.com)
4684 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4685 HildonSizeType, which are supplied by Gtk+ now.
4687 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4689 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4690 (with maemo changes) instead)
4692 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4694 Patch contributed by Iván Gómez (igomez@igalia.com)
4696 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4699 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4701 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4702 (some_page_func), (main): Update the example to use a
4703 HildonWizardDialogPageFunc function.
4705 * src/hildon-wizard-dialog-private.h: Add private data for
4706 the HildonWizardDialogPageFunc function usage.
4708 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4709 (destroy), (hildon_wizard_dialog_init), (response),
4710 (hildon_wizard_dialog_set_forward_page_func):
4711 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4712 that applications can use to stop a HildonWizardDialog to jump to
4715 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4718 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4720 * src/hildon-program.h
4721 * src/hildon-program-private.h
4722 * src/hildon-program.c (hildon_program_init)
4723 (hildon_program_set_common_app_menu)
4724 (hildon_program_get_common_app_menu):
4725 New API for setting a common HildonAppMenu for all
4726 HildonStackableWindows registered with the HildonProgram.
4728 * src/hildon-stackable-window.c
4729 (hildon_stackable_window_toggle_menu):
4730 Use the common HildonAppMenu if a window doesn't have a specific
4733 * src/hildon-app-menu-private.h
4734 * src/hildon-app-menu.c
4735 (hildon_app_menu_get_parent_window):
4736 Function to obtain the window a HildonAppMenu is attached to.
4737 (hildon_app_menu_set_parent_window):
4738 Hide the menu if the parent window is set to NULL.
4740 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4743 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4744 search widget to popup.
4746 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4748 * configure.ac: post release version bump
4749 * debian/changelog: version bump
4751 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4756 * configure.ac: bump version
4757 * debian/changelog: updates
4759 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4761 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4763 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4764 (hildon_window_stack_window_realized)
4765 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4766 Set the leader GdkWindow when a window is stacked and realized,
4767 unset it when it's unstacked.
4768 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4770 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4772 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-stackable-window.h
4775 * src/hildon-window-stack.h:
4776 Protect definition of HildonWindowStack using the preprocessor.
4778 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4781 Fix warning if all menu items are hidden.
4783 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4785 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4787 * src/hildon-controlbar.c:
4788 * src/hildon-hvolumebar.c:
4789 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4790 Multiple scale size defines updates.
4792 Fixes: NB#94322 (Scale Updates)
4794 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4796 * examples/hildon-app-menu-example.c (create_menu)
4797 Show items after adding them to the menu, as in the future the
4798 menu will no longer call gtk_widget_show() on the added items.
4800 * src/hildon-app-menu.c:
4801 Update example as explained above.
4803 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-app-menu.c
4806 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4807 Make sure that all menu items have finger height.
4809 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4811 * src/hildon-picker-dialog.c:
4812 (_on_dialog_response), (_save_current_selection),
4813 (_restore_current_selection), (_clean_current_selection),
4814 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4815 Defined new functions in order to save the current internal selector
4816 selection previous open the dialog, in case that the use cancel the
4817 interaction, so the widget restores the previous selection.
4819 Fixes: NB#92032 (In calendar application, date values in 'new event'
4822 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4824 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-button.c: Add a reference to the button examples in
4827 hildon-button-example.c
4829 * examples/hildon-button-example.c: Added examples of the most
4830 common button layouts.
4832 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4834 * src/hildon-app-menu.c (hildon_app_menu_show)
4835 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4837 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4839 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4841 * src/hildon-picker-dialog.c:
4842 (hildon_picker_dialog_init): Initialize the signal id for
4843 HildonTouchSelector::columns-changed.
4844 (+on_selector_columns_changed): Set up the interaction mode everytime a
4845 column is added or removed from the HildonTouchSelector.
4846 (_hildon_picker_dialog_set_selector): Connect to
4847 HildonTouchSelector::columns-changed and keep track of it.
4849 Make sure to update the interaction mode of the dialog everytime a
4850 column is added or removed in the HildonTouchSelector.
4852 Fixes: NB#93228 (Done button is not shown always in listpicker)
4854 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4856 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4857 a new ::columns-changed signal.
4858 (hildon_touch_selector_append_column): Emit ::columns-changed.
4859 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4861 Add a ::columns-changed signal, emitted when the number of columns in a
4862 HildonTouchSelector changes.
4864 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4867 (_hildon_picker_dialog_set_selector): Factor out the code
4868 to set up the dialog interaction mode.
4870 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4873 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4874 to signal_changed_id.
4876 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4881 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4883 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4884 Updated the logical ids related to ampm format, as now it is required to
4885 show it correctly localized even on languages with no default
4886 abbreviations for am or pm
4887 (_check_am_pm_format): check correctly the 24h format gconf property
4889 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4891 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-button.c: Documentation updates.
4895 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4897 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4898 * src/hildon-caption.c: (hildon_caption_class_init):
4899 * src/hildon-color-button.c: (hildon_color_button_class_init):
4900 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4901 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4902 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4903 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4905 Remove deprecated GTK+ marshalers and replace them with the ones
4906 provided by GLib, for those available, add a marshaler for
4907 BOOLEAN:VOID, which is not available in GLib, and use it.
4909 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4911 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4912 the text from the previous column if there is no
4913 HildonTouchSelectorColumn::text-property set.
4915 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4917 * src/hildon-button.h
4918 * src/hildon-button.c (hildon_button_set_property)
4919 (hildon_button_get_property, hildon_button_class_init)
4920 (hildon_button_set_style, hildon_button_get_style):
4921 New "style" property to change the visual appearance of the
4924 * src/hildon-picker-button.c (hildon_picker_button_new):
4925 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4927 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4928 HildonButton look like PickerButton)
4930 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4933 column while building the default string.
4935 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4938 scroll indicator by default.
4940 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4942 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4944 * src/hildon-main.c: Fix the documentation for hildon_init()
4946 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4948 * doc/hildon-docs.sgml
4952 * src/hildon-window-stack-private.h
4953 * src/hildon-window-stack.h
4954 * src/hildon-window-stack.c:
4955 New HildonWindowStack object, that adds support for multiple
4956 stacks of windows per process.
4958 * src/hildon-stackable-window-private.h
4959 * src/hildon-stackable-window.h
4960 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4961 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4962 (hildon_stackable_window_show, hildon_stackable_window_hide)
4963 (hildon_stackable_window_class_init)
4964 (hildon_stackable_window_init):
4965 Use HildonWindowStack for stack management.
4967 * src/hildon-program.c (hildon_program_pop_window_stack)
4968 (hildon_program_peek_window_stack)
4969 (hildon_program_go_to_root_window):
4970 Add a fallback implementation to the deprecated functions using
4973 * examples/hildon-stackable-window-example.c:
4974 Use the new HildonWindowStack API.
4976 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-stackable-window-private.h
4979 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4980 (hildon_stackable_window_hide, hildon_stackable_window_init):
4981 Remove all window stack management.
4983 * src/hildon-program-private.h
4984 * src/hildon-program.h
4985 * src/hildon-program.c (hildon_program_init)
4986 (hildon_program_pop_window_stack)
4987 (hildon_program_peek_window_stack)
4988 (hildon_program_go_to_root_window):
4989 Remove all window stack management and mark functions as
4992 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4994 * src/hildon-app-menu.c (hildon_app_menu_realize):
4995 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4997 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4999 * configure.ac: post release version bump
5000 * debian/changelog: version bump
5002 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5007 * configure.ac: bump version
5008 * debian/changelog: updates
5010 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5012 Based on initial code by Christian Dywan (christian@imendio.com)
5014 * doc/hildon-docs.sgml: Add section for hildon-main.
5015 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5016 * src/Makefile.am: Add new hildon-main.[ch]
5017 * src/hildon-defines.h: Update the icon sizes.
5018 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5019 new library initialization files and register icon sizes.
5020 * src/hildon-main.h: New declarations.
5021 * src/hildon.h: Include hildon-main.h
5023 Add new initialization functions to the library. These methods
5024 will register the hildon specific icon sizes and can be used in the
5025 future for other hildon specific bits.
5027 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5029 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5031 * src/hildon-window.c: (hildon_window_realize),
5032 (hildon_window_notify), (-hildon_window_update_title): Do not set
5033 the application name in the window title.
5035 Fixes: NB#89754 (Applications shouldn't display their names in the
5038 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5040 * src/hildon-note-private.h:
5041 * src/hildon-note.c: (hildon_note_set_property),
5042 (hildon_note_get_property), (hildon_note_class_init),
5043 (hildon_note_init), (hildon_note_finalize),
5044 (hildon_note_new_confirmation_with_icon_name),
5045 (hildon_note_new_information_with_icon_name):
5047 No need to mark as deprecated the actual code. Revert
5048 to avoid missing symbols in widgets using deprecated API.
5050 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5052 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5054 * src/hildon-volumebar.h
5055 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5056 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5058 * src/hildon-helper.h
5059 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5060 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5062 * examples/Makefile.am:
5063 Deprecate hildon-insensitive-example
5065 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5067 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5069 * examples/hildon-pannable-area-buttons-scroll-example.c:
5070 Make all buttons finger height
5072 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5074 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5076 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5077 update the day model only if it is really required, and to avoid the
5078 full-reconstruction aproach. Now it only add or remove the required days.
5080 The purpose of this is avoid superfluous HildonTouchSelector::changed
5083 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5084 with strange parameters)
5086 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5088 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5090 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5091 the WINDOW_TYPE property.
5093 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5095 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5098 Fix dependency to allow parallel compilation with make -jX
5100 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5102 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5103 color frame and some minor tweaks to make it more consistent with
5106 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5107 highlighted but not visible)
5109 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5111 * examples/Makefile.am: Fixed typo in the Makefile.am.
5113 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5115 Reviewed the use of MAEMO_GTK define, now we add the define in the
5116 compilation line, and we also add it to the pc file.
5118 * configure.ac: Added MAEMO_GTK define to the compilation command
5119 and removed it from the config.h.
5121 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5122 do not have to take care about this define if the library was
5126 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5128 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5130 * examples/Makefile.am,
5131 * examples/hildon-pannable-area-buttons-scroll-example.c,
5132 * examples/hildon-pannable-area-gesture-signals-example.c,
5133 * examples/hildon-pannable-area-scroll-jump-example.c,
5134 * examples/hildon-pannable-area-tree-view-example.c:
5135 Renamed the pannable area examples, now they have more meaningful
5138 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5140 * src/hildon-touch-selector.c:
5141 (hildon_touch_selector_set_column_selection_mode): Used of
5142 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5143 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5144 to avoid re-seting the same selection mode.
5146 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5147 breaks HildonPickerDialog)
5149 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5151 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5152 conditional in the Makefile.am
5154 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5156 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5157 Remove unused methods.
5159 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5161 * src/hildon-button.c (hildon_button_init):
5162 Make button images center-aligned by default
5164 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5167 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5168 activated, we have to think about how to deal with both defines
5169 MAEMO_GTK and MAEMO_CHANGES.
5171 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5173 * examples/hildon-app-menu-example.c (create_menu): Make all
5174 buttons finger size.
5176 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5178 Fixed the compilation without maemo gtk adding ifdefs with
5179 MAEMO_GTK define to the code, we have to check this version more
5182 * examples/Makefile.am: Added control to avoid some examples that
5183 just make sense with maemo gtk.
5186 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5187 hildon modes with the define.
5189 * examples/hildon-edit-toolbar-example.c,
5190 (create_icon_view): Create the icon view without hildon-gtk
5191 helpers if we are not using maemo gtk.
5193 * src/hildon-touch-selector.c,
5194 (_create_new_column): Create the treeview without hildon-gtk
5195 helpers if we are not using maemo gtk.
5197 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5199 * src/hildon-pnnable-area.c,
5200 (hildon_pannable_area_dispose),
5201 (hildon_pannable_area_button_press_cb),
5202 (hildon_pannable_area_child_mapped),
5203 (hildon_pannable_area_add),
5204 (hildon_pannable_area_remove): Added code to control the position
5205 of the event_window when adding and removing children from the
5206 pannable. We have to raise the event window when the child is
5209 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5210 selection mode using custom widget inside pannable)
5212 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5214 * configure.ac: post release version bump
5215 * debian/changelog: version bump
5217 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5222 * configure.ac: bump version
5223 * debian/changelog: updates
5225 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5227 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5228 search mode, in order to avoid lose the focus on the treeview when
5229 a hw key (like enter) is pressed.
5231 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5232 in HildonDateSelector dialog)
5234 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5236 * debian/rules: Added --enable-maintainer-mode
5237 * Makefile.am: Added ACLOCAL_AMFLAGS
5239 This allows to properly regenerate the Makefiles if you modify the
5240 configure.ac or any Makefile.am.
5242 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5244 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5245 properties, not needed at all.
5247 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5249 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5251 * src/hildon-note.c: (hildon_note_set_property),
5252 (hildon_note_get_property), (hildon_note_class_init),
5253 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5254 (hildon_note_new_confirmation_add_buttons): Remove icons.
5255 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5256 (hildon_note_new_information_with_icon_name): Deprecate.
5257 (hildon_note_new_confirmation): Act directly, without calling
5258 the deprecated constructor.
5259 (hildon_note_new_information): Act directly, without calling
5260 the deprecated constructor.
5261 * src/hildon-note.h: Mark deprecate methods as such.
5262 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5263 not run tests on the deprecated methods if built with deprecation
5266 Fixes: NB#91688 (Never show icons in information notes/confirmation
5269 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5271 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5272 (hildon_app_menu_key_press): Remove leftover usage of the
5273 private structure in HildonAppMenu struct.
5274 * src/hildon-app-menu.h: Remove leftover private structure
5275 from the HildonAppMenu struct.
5277 Fixes a crasher when using the HildonAppMenu.
5279 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5281 * src/hildon-picker-dialog.c: Use appropriate logical id
5282 for the default "Done" text.
5284 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5286 * configure.ac: post release version bump
5287 * debian/changelog: version bump
5289 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5291 Modified the way to scroll to the current selection just when the touch
5292 selector is shown on the screen, avoiding a g_idle. Added too a property
5293 to configure this behaviour. See hildon_pannable_area_jump_to_child
5294 documentation for more information.
5296 * src/hildon-touch-selector.c
5297 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5298 Added 'initial-scroll' property
5299 (hildon_touch_selector_set_property): Added
5300 (hildon_touch_selector_map): Removed as not required anymore
5301 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5302 only a concrete column, instead of iterate along all the columns
5304 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5309 * configure.ac: bump version
5310 * debian/changelog: updates
5312 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5314 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5315 compilation time warnings.
5317 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5319 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5320 the default value for HildonPannableArea::mov-mode to
5321 HILDON_PANNABLE_AREA_MODE_VERT.
5323 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5325 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5327 Reverting following commit:
5329 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5331 * src/hildon-app-menu-private.h
5332 * src/hildon-app-menu.[ch]
5333 * src/hildon-button.[ch]
5334 * src/hildon-check-button.[ch]
5335 * src/hildon-entry.[ch]
5336 * src/hildon-pannable-area.[ch]
5337 * src/hildon-text-view.[ch]:
5338 Added private field to the object's structure.
5340 because it causes an ABI breakage. We will need to introduce these
5341 changes later at some point. See NB#91636 for an extensive
5342 explanation and status.
5344 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5346 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5348 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5349 remove special cases that are no longer necessary.
5351 Fixes: NB#91016 (Change toolbar sizes, simplification)
5353 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5355 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5356 is shown in the cancel note.
5358 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5360 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5361 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5362 (hildon_seekbar_init): Remove steppers, remove expose event.
5363 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5365 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5367 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5369 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5370 label font to "SmallSystemFont" for vertically arranged buttons.
5372 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5375 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5377 * src/hildon-check-button.c
5378 (hildon_check_button_set_active, hildon_check_button_clicked):
5379 Don't access private parts directly, use getters instead.
5381 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5383 * src/hildon-check-button.c (hildon_check_button_new):
5384 Align the contents of the check button to the left.
5386 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5388 * src/hildon-pannable-area.c,
5389 (hildon_pannable_area_scroll_to),
5390 (hildon_pannable_area_jump_to),
5391 (hildon_pannable_area_scroll_to_child),
5392 (hildon_pannable_area_jump_to_child): Replace the mapped
5393 precondition of these functions with the realized, it is the
5394 correct state of the widget in this case. Changed the
5395 documentation according to this modification.
5397 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5399 Added a new EXTRA_CFLAGS option to add the deprecated define to
5400 the compilation command. This way we can avoid using the define in
5401 the documentation compilation.
5403 * configure.ac: Defined EXTRA_CFLAGS.
5405 * examples/Makefile.am:
5407 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5409 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5411 * src/hildon-picker-dialog.c:
5412 Defined a utility macro with the desired touch selector height
5413 Removed currently unused separator, and title_label variables from
5415 (hildon_picker_dialog_init): Removed code related to the creation
5416 of unused private variables title_label and separator.
5417 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5418 to ensure correct visualization of the touch selector inside the dialog.
5419 * src/hildon-touch-selector.c
5420 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5421 ensure a concrete height of the widget.
5423 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5426 * tests/Makefile.am:
5428 Remove spurious whitespaces.
5430 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5432 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5433 compilation warning after the cancel button removal.
5435 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5437 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5439 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5440 Makefile.am, that way we can choose not to compile some examples
5441 and tests of the deprecated widgets.
5443 * examples/Makefile.am: Divided the sources in deprecated and
5446 * src/Makefile.am: Added undef statement of the deprecated
5447 symbol to the enums file generation process.
5449 * src/hildon-color-chooser-dialog.c
5450 * src/hildon-color-chooser-dialog.h
5451 * src/hildon-color-button.c
5452 * src/hildon-color-button.h
5453 * src/hildon-color-chooser.c
5454 * src/hildon-color-chooser.h
5455 * src/hildon-controlbar.c
5456 * src/hildon-controlbar.h
5457 * src/hildon-date-editor.c
5458 * src/hildon-date-editor.h
5459 * src/hildon-hvolumebar.c
5460 * src/hildon-hvolumebar.h
5461 * src/hildon-private.c
5462 * src/hildon-private.h
5463 * src/hildon-range-editor.c
5464 * src/hildon-range-editor.h
5465 * src/hildon-seekbar.c
5466 * src/hildon-seekbar.h
5467 * src/hildon-time-editor.c
5468 * src/hildon-time-editor.h
5469 * src/hildon-time-picker.c
5470 * src/hildon-time-picker.h
5471 * src/hildon-volumebar.c
5472 * src/hildon-volumebar.h
5473 * src/hildon-vvolumebar.c
5474 * src/hildon-vvolumebar.h
5475 * src/hildon-bread-crumb-trail.h
5476 * src/hildon-bread-crumb-trail.c
5477 * src/hildon-calendar-popup.c
5478 * src/hildon-calendar-popup.h
5479 * src/hildon-weekday-picker.c:
5480 * src/hildon-weekday-picker.h:
5481 * src/hildon-bread-crumb-widget.c:
5482 * src/hildon-bread-crumb-widget.h:
5483 * src/hildon-bread-crumb.c:
5484 * src/hildon-bread-crumb.h:
5485 * src/hildon-calendar.c:
5486 * src/hildon-calendar.h:
5487 * src/hildon-caption.c:
5488 * src/hildon-code-dialog.c:
5489 * src/hildon-code-dialog.h:
5490 * src/hildon-font-selection-dialog.c:
5491 * src/hildon-font-selection-dialog.h:
5492 * src/hildon-get-password-dialog.c:
5493 * src/hildon-get-password-dialog.h:
5494 * src/hildon-login-dialog.c:
5495 * src/hildon-login-dialog.h:
5496 * src/hildon-number-editor.c:
5497 * src/hildon-number-editor.h:
5498 * src/hildon-set-password-dialog.c:
5499 * src/hildon-set-password-dialog.h:
5500 * src/hildon-sort-dialog.c:
5501 * src/hildon-sort-dialog.h: This is the list of deprecated
5504 * src/hildon-touch-selector.c:
5505 * src/hildon-window.c: Added undef statement to avoid compilation
5508 * tests/Makefile.am: Divided the sources in deprecated and
5511 * tests/check_test.c,
5512 (configure_tests): Marked the deprecated code that was adding
5513 suites with deprecated tests.
5515 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5517 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5519 * src/hildon-touch-selector.c: (_default_print_func): Do not
5520 duplicate a string returned by gtk_tree_model_get(), it is already
5523 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5526 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5528 * src/hildon-pannable-area.c
5529 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5530 method, it had problems when adding a widget with viewport the
5531 second time. Now checks if it already has a viewport and uses it.
5533 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5536 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5538 * src/hildon-pannable-area.c,
5539 (hildon_pannable_area_scroll_to),
5540 (hildon_pannable_area_jump_to),
5541 (hildon_pannable_area_scroll_to_child),
5542 (hildon_pannable_area_jump_to_child): Added a precondition to the
5543 scroll and jump to functions: the widget must be mapped before we
5544 can safely call these functions. We have also added documentation
5545 to the functions to explain how to use them in this situation.
5548 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5550 Reviewed the threading handling of the pannable widget, we have
5551 used the gdk_threads_add_timeout function instead of the usual
5552 glib handlers. This avoids some problems with the threads.
5554 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5555 (hildon_pannable_area_initial_effect),
5556 (hildon_pannable_area_scroll_indicator_fade),
5557 (hildon_pannable_area_button_press_cb),
5558 (hildon_pannable_area_timeout),
5559 (hildon_pannable_area_motion_notify_cb),
5560 (hildon_pannable_area_button_release_cb),
5561 (hildon_pannable_area_scroll_cb),
5562 (hildon_pannable_area_scroll_to): Removed the
5563 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5564 gdk_threads_add_timeout.
5566 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5568 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5573 * configure.ac: bump version
5574 * debian/changelog: updates
5576 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5578 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5579 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5580 * src/hildon-color-chooser-dialog.c:
5581 (hildon_color_chooser_dialog_init):
5582 * src/hildon-font-selection-dialog.c:
5583 (hildon_font_selection_dialog_init):
5584 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5586 Remove all cancel/close-like dialogs, as these are not going to be
5589 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5591 * src/hildon-note.c: (hildon_note_rebuild),
5592 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5595 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5597 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5599 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5600 sure all buttons are shown, even the Cancel/Close-like ones.
5602 Fixes: NB#90861 (Custom Confirmation dialogs should be
5603 protected from cancel button removal)
5605 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5607 * debian/control: Change libhildon1-examples dependency from libhildon1
5609 * debian/libhildon1-examples.install
5611 * Makefile.am: Modified the final install directory for the examples on
5612 package libhildon1-examples
5613 * Makefile.static: Update clean target in order to remove all the binary
5616 Changes suggested by Claudio after review new libhildon1-examples package
5618 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5620 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5621 * src/hildon-touch-selector.c: Ditto.
5623 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5625 * debian/control: Added new package libhildon1-examples, in order to pack
5626 the current hildon examples as documentation
5627 * debian/rules: Not to compress .c files, modify some includes on the
5628 examples (as normally are compiled locally, but when installed it will
5629 require to include the installed libhildon1 library), and rename
5631 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5632 install all the example files on the new example package
5633 * examples/Makefile.static: Added static makefile that can be used to
5634 compile the examples, once installed the new example package
5635 * examples: Most of the examples were modified in order to grant that
5636 all use only '#include "hildon.h"', in order to be easy to prepare
5637 it on the example package
5639 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5642 * debian/libhildon1-dev.install
5643 * debian/libhildon1-doc.install:
5644 Move all gtk-doc files to a separate libhildon1-doc package.
5646 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5648 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5650 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5652 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5654 * debian/rules: Fixed a error in order to avoid unnecessary calls
5655 to autogen.sh on package building
5657 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5659 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5661 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5666 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-picker-button.c
5669 (hildon_picker_button_finalize):
5670 Free priv->done_button_text
5672 * src/hildon-time-button.c
5673 (hildon_time_button_set_time)
5674 * src/hildon-picker-button.c
5675 (hildon_picker_button_clicked)
5676 (hildon_picker_button_selector_selection_changed)
5677 (hildon_picker_button_set_selector)
5678 * src/hildon-date-button.c
5679 (hildon_date_button_set_date):
5680 Free strings returned by hildon_touch_selector_get_current_text()
5682 * src/hildon-button.c (hildon_button_construct_child):
5683 Fix leaks in priv->image and priv->label_box
5685 Fixes: NB#90535 (Memory leak in picker button)
5687 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/hildon-button.c: (hildon_button_get_property): Do not access
5690 private elements directly, use getters instead.
5692 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5694 * src/hildon-app-menu-private.h
5695 * src/hildon-app-menu.c
5696 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5697 Store the menu's parent window.
5699 * src/hildon-stackable-window.c
5700 (hildon_stackable_window_toggle_menu)
5701 (hildon_stackable_window_finalize):
5702 Set the menu's parent window when the menu is shown, unset it when
5705 * src/hildon-app-menu.c
5706 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5707 (hildon_app_menu_class_init):
5708 Send unhandled keyboard accelerators to the parent window.
5710 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5712 * src/hildon-stackable-window.c
5713 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5715 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5717 * configure.ac: post release version bump
5719 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5722 * configure.ac: Bump version
5723 * debian/changelog: Updates
5724 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5727 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5729 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5732 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5733 GtkMenu with Hildon style.
5735 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5737 * src/hildon-picker-button.c:
5738 (hildon_picker_button_set_done_button_text): Set the dialog's
5739 done button text here as well.
5741 Fixes: NB#90232 (Picker button does not set the label on done button
5742 for the second time)
5744 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5746 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5749 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-app-menu.c (hildon_app_menu_insert)
5752 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5753 the HildonAppMenu to be activatable using keyboard accelerators
5754 when the menu is not being shown.
5756 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5758 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-stackable-window.c
5761 (hildon_stackable_window_show):
5762 Don't hide old windows automatically when new windows are shown:
5763 this is now a task for the window manager.
5764 (hildon_stackable_window_class_init)
5765 (hildon_stackable_window_hide):
5766 Remove windows from the stack everytime they're hidden.
5767 (hildon_stackable_window_realize):
5768 Don't change the _NET_WM_WINDOW_TYPE property. Use
5769 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5770 it as a stackable window.
5772 * src/hildon-program.c
5773 (hildon_program_pop_window_stack):
5774 Just hide the window to remove it from the stack.
5775 (hildon_program_go_to_root_window):
5776 Don't call gtk_widget_show(), this is now a task for the window
5779 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5781 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-button.c
5784 (hildon_button_construct_child):
5785 Don't pack anything in the button until text or image are
5786 set. This allows adding a custom child after creating the button
5787 with hildon_button_new().
5788 (hildon_button_finalize, hildon_button_class_init)
5789 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5790 alignment and the label box even when they're not packed in the
5793 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5795 * src/hildon-touch-selector.h:
5796 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5797 currently the type definition was using GTK_TYPE_VBOX
5798 * src/hildon-touch-selector.c:
5799 Added some implementation notes in order to clarify that any other widget
5800 added without the column related API will not be included on the
5801 selection logic, and how the widget is freed, as some people ask about
5803 (hildon_touch_selector_remove): Reimplemented in order to free properly
5804 the column related data when you remove the private hbox.
5805 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5806 to get a proper HildonTouchSelectorColumn documentation
5808 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5810 * src/hildon-touch-selector-entry.c:
5811 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5812 text in the GtkEntry and there is no item selected. Fixes a
5815 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5817 * src/hildon-app-menu-private.h
5818 * src/hildon-app-menu.[ch]
5819 * src/hildon-button.[ch]
5820 * src/hildon-check-button.[ch]
5821 * src/hildon-entry.[ch]
5822 * src/hildon-pannable-area.[ch]
5823 * src/hildon-text-view.[ch]:
5824 Added private field to the object's structure.
5826 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5828 * configure.ac: post-release version bump
5830 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5834 * configure.ac: pre-release version bump
5836 * debian/changelog: updates.
5838 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5841 Disconnect the handler for HildonTouchSelector::changed.
5843 (hildon_picker_button_selector_selection_changed): Update the button
5844 value if the selection change was not triggered by the
5847 (hildon_picker_button_set_selector): connect to
5848 HildonTouchSelector::changed.
5850 Fixes: NB#89650 (Picker button is not updated, when selection in
5851 selector has changed)
5853 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5855 * src/hildon-picker-dialog.c
5856 (hildon_picker_dialog_realize): Removed as not required
5857 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5858 * src/hildon-picker-button.c
5859 (_current_selector_empty): New function, checks if the selector is empty
5860 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5861 if the current selector is empty, in order to avoid to show the dialog
5862 close the dialog in this case (and shows a g_warning).
5864 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5866 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5868 * src/hildon-pannable-area.c,
5869 (hildon_pannable_area_scroll): Added clause to stop movement when
5870 the child of pannable is smaller than one page.
5871 (hildon_pannable_area_scroll_to): Added conditions to avoid
5872 starting the scrolling movement if the child is smaller than one
5873 page, the complete child is in the screen, we do not have to move.
5875 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5877 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5880 this is managed automatically by the widget when the size of the
5883 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-picker-button.c
5886 (hildon_picker_button_set_done_button_text): Make a copy of the
5887 text, and free the previous value.
5889 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5891 * src/hildon-touch-selector-entry.c:
5892 (hildon_touch_selector_entry_print_func): Return the selected row's
5893 text if the entry is empty.
5895 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5898 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5900 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5902 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5905 * src/hildon-check-button.h
5906 * src/hildon-check-button.c
5907 * examples/hildon-check-button-example.c:
5908 HildonCheckButton is now a new widget. 'toggled' signal added.
5910 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5912 * src/hildon-program-private.h
5913 * src/hildon-program.c (hildon_program_init)
5914 (hildon_program_finalize): Removed unused variables group_leader
5915 and name from HildonProgramPrivate.
5917 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-check-button.c (hildon_check_button_set_active)
5920 (hildon_check_button_get_active, hildon_check_button_new): Use
5921 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5923 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5925 * src/hildon-touch-selector.h
5926 (hildon_touch_selector_set_column_attributes): added deprecation
5927 guard HILDON_DISABLE_DEPRECATED
5928 * src/hildon-time-selector.c
5929 (hildon_time_selector_set_time)
5930 (hildon_time_selector_get_time): Fixed a typo on documentation
5931 * src/hildon-touch-selector.c: update HildonTouchSelector and
5932 HildonTouchSelectorColumn documentation
5933 * src/hildon-touch-selector-entry.c: update "text-column" property
5935 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5936 to be added to the general documentation.
5938 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5940 * examples/hildon-pannable-area-example-4.c,
5942 * examples/hildon-pannable-area-example.c,
5943 (main): Modified the code in order to use the container add, with
5944 viewport treeviews could have problems if they are really big.
5946 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5948 * src/hildon-weekday-picker.c,
5949 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5950 the agreement regarding deprecation in the library.
5952 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5954 * examples/hildon-picker-button-multicolumn-example.c:
5955 (main): Use custom "done" button text.
5957 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5958 (hildon_picker_button_set_property),
5959 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5960 (hildon_picker_button_init),
5961 (+hildon_picker_button_get_done_button_text),
5962 (+hildon_picker_button_set_done_button_text): New methods to customize
5963 the "done" button label in the launched HildonPickerDialog. Also,
5966 * src/hildon-picker-button.h: add the public API.
5968 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5970 * src/hildon-date-selector.h:
5971 * src/hildon-picker-dialog.h:
5972 * src/hildon-time-selector.h:
5973 * src/hildon-touch-selector-column.h:
5974 * src/hildon-touch-selector.h:
5976 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5977 declarations. Fixes gtk-doc warnings.
5979 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-picker-dialog.h
5982 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5983 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5985 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5986 long text is set as label for done button)
5988 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-dialog.c (hildon_dialog_add_button):
5991 Set fixed width to all buttons in the HildonDialog.
5993 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5995 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5997 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5998 Set widget name using class name plus "-finger" or "-thumb".
6000 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6002 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6003 'clicked' when the state of the button is manually changed.
6005 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6007 * src/hildon-app-menu.c (hildon_app_menu_realize)
6008 (hildon_app_menu_unrealize, hildon_app_menu_init)
6009 (hildon_app_menu_class_init, item_visibility_changed):
6010 Change the menu layout when the size of the screen changes.
6011 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6012 Show warning only when changing the number of colums using the
6015 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6017 * debian/compat: Set to 5
6018 * debian/control: Update dependencies.
6019 * debian/libhildon1-dbg.install: Remove.
6020 * debian/libhildon1-dev.install: Update according to cdbs paths.
6021 * debian/libhildon1.install: Update according to cdbs paths.
6022 * debian/rules: Switch to cdbs.
6024 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6026 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6027 'item' variable renamed to 'filter'
6029 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6031 * src/hildon-app-menu.c (hildon_app_menu_insert)
6032 (hildon_app_menu_add_filter, remove_item_from_list)
6033 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6034 Don't leak hidden items when the menu is destroyed.
6036 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6038 * src/hildon-app-menu.c (hildon_app_menu_insert)
6039 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6040 (hildon_app_menu_set_columns, item_visibility_changed)
6041 (filter_visibility_changed, hildon_app_menu_repack_filters)
6042 (hildon_app_menu_repack_items):
6043 Repack items and filters separately.
6045 Don't repack all items, change only the ones that are needed to
6048 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6050 * src/Makefile.am: added hildon-touch-selector-column.h
6052 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6054 * src/hildon-touch-selector.c: added the property "text-column" to the
6055 class HildonTouchSelectorColumn, and related get/set functions
6056 (_default_printf_func): updated to use "text-column" property
6057 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6058 "text-column" in his documentation, as this is now included on
6059 HildonTouchSelectorColumn. The get/set_property can still be used,
6060 working as a wrapper to the concrete column "text-column" property
6061 (_text_column_modified): callback added in order to handle the signal
6062 "notify::text-column" of the concrete HildonTouchSelectorColumn
6063 (hildon_touch_selector_entry_get_text_column)
6064 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6065 modified in order to use the HildonTouchSelectorColumn "text-column"
6067 * src/hildon-time-selector.c:
6068 * src/hildon-date-selector.c:
6069 * examples/hildon-touch-selector-example.c
6070 * examples/hildon-touch-selector-multi-cells-example.c
6071 * examples/hildon-picker-button-multicolumn-example.c
6072 Set the right value to "text-column" property on the creation of a new
6073 column using hildon_touch_selector_append_column()
6075 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6077 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6079 * src/hildon-app-menu.c
6080 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6081 updating the layout of the menu, don't create all widgets again,
6082 just repack the items in their new places.
6084 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6086 * src/hildon-time-selector.c
6087 (hildon_time_selector_get_time)
6088 (hildon_time_selector_set_time)
6089 Added documentation of these public methods
6091 * src/hildon-date-button.h
6092 * src/hildon-touch-selector-column.h
6093 * src/hildon-time-button.h
6094 * src/hildon-picker-dialog.h
6095 * src/hildon-time-selector.h
6096 * src/hildon-picker-button.h
6097 * src/hildon-touch-selector.h
6098 * src/hildon-time-picker.h
6099 * src/hildon-date-selector.h
6100 * src/hildon-touch-selector-entry.h
6101 Modified in order to use hildon-widgets code style
6103 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6105 Added deprecated support to the compilation process using
6106 HILDON_DISABLE_DEPRECATED
6108 * configure.ac: Added the --disable-deprecated to the configure
6111 * src/hildon-weekday-picker.c:
6112 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6113 to use the deprecated support. We will update the other deprecated
6114 widgets status in a new patch.
6116 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6118 * configure.ac: Fixed typo with fatal warnings support, the
6119 variable name was not correct
6121 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6123 * src/hildon-app-menu.c
6124 * src/hildon-program.c: Update documentation.
6126 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6128 * configure.ac: Post-release version bump.
6130 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6135 * configure.ac: Pre-release version bump.
6136 * debian/changelog: Updates.
6138 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6140 * NEWS: Update news for previous releases.
6142 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6144 * examples/hildon-touch-selector-multi-cells-example.c:
6145 (create_selector): Update the example to use
6146 hildon_touch_selector_append_column() with a NULL renderer and set
6147 the renderers later.
6148 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6149 passed a NULL renderer. This is documented behavior now.
6151 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6152 This must be used if the developer wants full control on the layout of
6153 the renderers to be added to the column.
6155 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6157 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6159 * src/hildon-touch-selector.c: Documentation fixes.
6161 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6163 * src/hildon-wizard-dialog-private.h: Remove image and box.
6164 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6165 (hildon_wizard_dialog_set_property), (response): Completely remove
6166 image/icon support, and the containers required for the layout.
6168 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6170 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-app-menu.c: Updated documentation.
6174 * src/hildon-stackable-window.c
6175 (hildon_stackable_window_set_main_menu): Unref the old menu after
6176 ref'ing the new one.
6178 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-stackable-window.c
6181 (hildon_stackable_window_set_main_menu): Unref the previous menu
6182 instead of destroying it.
6184 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6185 floating reference and set has_user_ref_count to FALSE to make
6186 HildonAppMenu act like a normal ref-counted widget and not a
6189 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6192 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6194 * src/hildon-touch-selector-column.h: new file
6195 * src/hildon-touch-selector.h
6196 * src/hildon-touch-selector.c
6197 Implemented GtkCellLayout interface, in order to allow to configure
6198 the cell layout on each individual selector column
6199 (hildon_touch_selector_set_column_attributes): marked as deprecated
6200 * examples/hildon-touch-selector-multi-cells-example.c
6201 Example of how to use the GtkCellLayout interface on the selector
6203 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6205 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-app-menu.h
6208 * src/hildon-app-menu.c
6209 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6210 (hildon_app_menu_append, hildon_app_menu_prepend):
6211 New methods to prepend, insert and move items in the menu.
6213 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6215 * src/hildon-wizard-dialog.c:
6217 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6219 (create_title): Update logical IDs and related code.
6220 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6222 * src/hildon-wizard-dialog.h: Note that
6223 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6224 point, as it is not used anymore.
6226 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6228 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6230 * src/hildon-note.c:
6231 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6232 shown. Do not display an icon in confirmation notes nor information
6234 (hildon_note_set_button_text): Update logical ID for cancel button.
6236 Fixes: NB#88850 (Update HildonNote button strings + signals)
6238 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-stackable-window.c
6241 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6243 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6245 * src/hildon-app-menu-private.h
6246 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6247 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6248 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6249 temporary property 'columns' to change the number of columns.
6251 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6253 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6255 * examples/hildon-note-example.c: (on_information_clicked),
6256 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6257 debugging information.
6258 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6260 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6261 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6262 in order to close: this will be handled by the WM from now on.
6264 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6266 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-app-menu-private.h
6269 * src/hildon-app-menu.c
6270 (hildon_app_menu_append, hildon_app_menu_add_filter)
6271 (button_visibility_changed, hildon_app_menu_apply_style)
6272 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6273 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6274 layout everytime a button (item or filter) is shown or hidden.
6276 * src/hildon-stackable-window.c
6277 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6280 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6282 * src/hildon-touch-selector.c:
6283 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6284 that the treeview inside the touch selector is in fremantle hildon mode
6285 * examples/hildon-date-button-example.c
6286 * examples/hildon-picker-button-multicolumn-example.c
6287 * examples/hildon-touch-selector-entry-example.c
6288 * examples/hildon-touch-selector-example.c
6289 * examples/hildon-time-button-example.c
6290 * examples/hildon-picker-button-example.c:
6291 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6293 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6295 * examples/hildon-text-view-example.c: (main): Remove the
6296 gtkrc bits, now handled by the theme.
6298 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6300 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6303 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6305 * po/Makefile.am: Install properly the mo files.
6306 * po/en_GB.po: Update translation, to ease testing purposes.
6308 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6310 * examples/hildon-picker-button-example.c: (main): Select an item
6311 in the selector before setting it to the button.
6313 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6315 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6316 Update button's value if the selector has an item active.
6318 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6319 'value' with the selector)
6321 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6323 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6324 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6325 (hildon_picker_button_class_init): Plug the finalize method.
6326 (hildon_picker_button_set_selector): If there's a previously set
6327 selector, unref'it before setting a new one.
6329 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6330 HildonTouchSelector)
6332 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6334 * src/hildon-touch-selector-entry.c:
6335 (hildon_touch_selector_entry_changed): Check if there is no text
6336 selected before setting the entry text.
6339 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-touch-selector.h
6342 * src/hildon-touch-selector.c
6343 (hildon_touch_selector_get_active)
6344 (hildon_touch_selector_set_active): New methods to set/get the
6345 index of the selected item.
6347 * src/hildon-picker-button.h
6348 * src/hildon-picker-button.c
6349 (hildon_picker_button_get_active)
6350 (hildon_picker_button_set_active): New methods to set/get the
6351 index of the selected item.
6353 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6355 * configure.ac: post-release version bump.
6357 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6361 * configure.ac: Pre-release version bump.
6362 * debian/changelog: Updates.
6363 * debian/control: Add myself as maintainer and depend on l10n
6366 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-window.c
6369 (hildon_window_set_main_menu)
6370 * src/hildon-stackable-window.c
6371 (hildon_stackable_window_set_main_menu):
6372 Updated documentation.
6374 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6376 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6377 Don't free selector->priv manually.
6380 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6383 (hildon_gtk_window_set_progress_indicator):
6384 * src/hildon-gtk.h: Added the new API
6385 hildon_gtk_window_set_progress_indicator, it changes the state of
6386 the window progress hint.
6388 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6390 * src/hildon-button.c
6391 * src/hildon-stackable-window.c: Minor documentation updates.
6393 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6395 * src/hildon-stackable-window.c: Updated documentation.
6397 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6399 * src/hildon-defines.h: Update margins definitions
6400 to the Fremantle sizes.
6403 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6405 * src/hildon-touch-selector.c,
6406 (_hildon_touch_selector_set_model): Cleaning the code after
6407 review, removed g_print and #if 0 from the code.
6409 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6411 * src/hildon-edit-toolbar.c: Update documentation.
6413 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6415 * src/hildon-check-button.h
6416 * src/hildon-check-button.c
6417 (hildon_check_button_set_label, hildon_check_button_get_label)
6418 * examples/hildon-check-button-example.c
6419 (button_clicked_cb):
6420 Removed deprecated methods.
6422 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6424 * src/hildon-text-view.c:
6425 Add sample code to the documentation.
6427 * src/hildon-entry.h
6428 * src/hildon-text-view.h:
6429 Minor cosmetic changes.
6431 * src/hildon-entry.c:
6432 Add sample code to the documentation.
6433 (hildon_entry_init, hildon_entry_refresh_contents):
6434 Don't allow NULL values in the placeholder.
6436 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6438 * doc/hildon-docs.sgml
6440 * examples/Makefile.am
6441 * examples/hildon-text-view-example.c
6443 * src/hildon-text-view.c
6444 * src/hildon-text-view.h
6446 New HildonTextView widget, with example.
6448 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6450 * po/POTFILES.in: Add missing files with translatable strings.
6451 Partially fixes NB#88287.
6453 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6455 * examples/hildon-pannable-area-example-2.c: (main): No need to
6456 set the cellrenderer height inside hildon touch lists, the theme does
6459 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6461 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6462 they are integrated in the theme.
6464 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6466 * examples/hildon-entry-example.c: Update the example adding
6467 widgets to modify the text and the placeholder of the HildonEntry.
6469 * src/hildon-entry.c: Show the placeholder everytime the widget
6470 is empty and loses the focus.
6472 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6474 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6476 * src/hildon-pannable-area.c,
6477 (hildon_pannable_area_size_request): Fixed bug in height
6478 requisition, avoid increasing size and add border twice.
6480 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6482 * configure.ac: postrelease version bump.
6484 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6488 * configure.ac: Prerelease version bump.
6489 * debian/changelog: update.
6490 * debian/rules: make -dbg package contain useful debugging symbols.
6492 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6494 * src/hildon-dialog.h
6495 * src/hildon-dialog.c
6496 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6497 New methods to add buttons with finger size.
6498 (hildon_dialog_new_with_buttons):
6499 Create buttons with finger size.
6501 * examples/hildon-dialog-example.c (main): Use HildonDialog
6502 methods to add buttons.
6504 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6506 * src/hildon-entry.c: Updated HildonButton documentation.
6508 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6510 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6511 button value label with (FALSE, FALSE) to prevent NB#88126 from
6514 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6516 * examples/hildon-pannable-area-example.c,
6517 (main): Removed examples panning a vbox inside a pannable
6518 area. Check bug NB#87965
6520 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6522 Patch contributed by Kris Rietveld (kris@imendio.com)
6524 * src/hildon-pannable-area.c,
6525 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6526 get_size and get_position, this saves an X server roundtrip.
6528 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6530 * doc/hildon-docs.sgml
6532 * examples/Makefile.am
6533 * examples/hildon-entry-example.c
6535 * src/hildon-entry.c
6536 * src/hildon-entry.h
6538 New HildonEntry widget, with example.
6540 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6542 * src/hildon-button.c (hildon_button_construct_child): Pack the
6543 image with expand == fill == FALSE. This is a workaround for a bug
6546 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6548 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6549 labels for the text column, to make it more look more dynamic.
6551 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6553 * src/hildon-time-selector.c
6554 Define gettext auxiliar macro N_
6555 (_create_minutes_model)
6556 (_create_hours_model)
6557 (_create_ampm_model): use of strftime in order to fill the model
6558 * src/hildon-date-selector.c
6559 (hildon_date_selector_finalize):
6560 (_locales_init): remove the logic related to get the name of the months
6561 using nl_langinfo, as it is not required anymore
6563 (_create_year_model)
6564 (_create_month_model)
6565 (_update_day_model): use of strftime in order to fill the model properly
6568 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6570 * src/hildon-button.h
6571 * src/hildon-button.c (hildon_button_get_image): New method to
6574 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6576 * src/hildon-touch-selector.c:
6577 (hildon_touch_selector_remove_column): Remove from the correct parent
6578 and also remove the list element and free it.
6581 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6583 * src/hildon-time-selector.c
6584 (_create_hours_model): change the range on 12h ampm format in order to use
6585 a 12-11 range instead of previous 01-12 range
6586 (hildon_time_selector_set_time): change the way to select the current time
6587 on 12h ampm format, due the change on the range
6588 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6591 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6593 * src/hildon-touch-selector.c
6594 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6595 in order to allow use this function on multiple row selection mode if
6596 the column is different that the first one
6599 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6601 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6602 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6604 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6606 * src/hildon-date-selector.h: clean some comments, now on the .c
6607 * src/hildon-date-selector.c
6608 (hildon_date_selector_select_month): first implementation
6609 (hildon_date_selector_select_day): added documentation, reimplemented
6610 using hildon_date_selector_select_current_date to avoid repeat code
6613 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6615 Reviewed interaction logic based on device experiences, refactored
6618 * src/hildon-pannable-area.c,
6619 (hildon_pannable_area_class_init): Updated default vmax speed.
6620 (hildon_pannable_area_calculate_velocity): Added this function, it
6621 avoids duplicate valocity calculation. Adjusted calculation to
6622 avoid problems with zero dist events.
6624 (hildon_pannable_area_motion_notify_cb): Now we use the
6625 calculate_velocity function.
6627 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6629 * src/hildon-date-selector.c
6630 (hildon_date_selector_select_current_date): fix the day range check
6631 as it failed using the last day of the current month
6634 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6636 * src/hildon-touch-selector.c
6637 (hildon_touch_selector_get_num_columns): added a parameter validation
6640 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6642 * examples/Makefile.am
6643 * examples/hildon-edit-toolbar-example.c: Example of the
6644 HildonEditToolbar widget.
6646 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6648 * configure.ac: postrelease version bump.
6650 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6654 * configure.ac: prerelease version bump.
6655 * debian/changelog: update.
6657 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6659 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6660 renderer to display stock icons in the touch list. Also, set the sizes
6661 to the recommended in the style guide.
6663 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6664 * src/hildon-touch-selector.h
6665 (hildon_touch_selector_set_active_iter): renamed, now is
6666 hildon_touch_selector_select_iter
6667 (hildon_touch_selector_get_active_iter): renamed, now is
6668 hildon_touch_selector_get_selected
6669 (hildon_touch_selector_unselect_iter): added
6670 * src/hildon-touch-selector.c
6671 Update after API modification (methods renamed)
6672 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6673 order to avoid problems selecting multiple elements on the column
6674 (hildon_touch_selector_unselect_iter): added the implementation
6675 * src/hildon-time-selector.c
6676 * src/hildon-date-selector.c
6677 * src/hildon-touch-selector-entry.c
6678 Update methods calls after hildon-touch-selector.h API modification (methods
6681 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6683 * src/hildon-stackable-window.c
6684 (hildon_stackable_window_finalize): Call the parent class's finalize.
6686 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6688 * examples/hildon-touch-selector-example.c: (create_selector): Use
6689 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6692 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6694 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6695 set a cell background color, to respect theming.
6697 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6699 * doc/hildon-docs.sgml
6702 * src/hildon-edit-toolbar.c
6703 * src/hildon-edit-toolbar.h
6704 * src/hildon.h: New HildonEditToolbar widget.
6706 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6708 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6711 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6712 * src/hildon-touch-selector.c
6713 (_create_new_column): use g_object_set instead of two g_object_set_property
6715 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6716 * src/hildon-touch-selector.c
6717 (_create_new_column): use of hildon_gtk_tree_view_new to create
6718 the treeview, instead of use directly g_object_new
6719 (_create_new_column): update the property name "vindicator-mode" for the
6720 new one "vscrollbar-policy"
6721 * examples/hildon-date-button-example.c
6722 * examples/hildon-picker-button-multicolumn-example.c
6723 * examples/hildon-touch-selector-entry-example.c
6724 * examples/hildon-touch-selector-example.c
6725 * examples/hildon-time-button-example.c
6726 * examples/hildon-picker-button-example.c
6727 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6728 to all the treeviews inside a pannable area.
6730 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6732 * src/hildon-button.h
6733 * src/hildon-button.c (hildon_button_init)
6734 (hildon_button_set_arrangement, hildon_button_set_alignment)
6735 (hildon_button_set_title_alignment)
6736 (hildon_button_set_value_alignment)
6737 (hildon_button_set_image_alignment)
6738 (hildon_button_construct_child): New methods to set the alignment
6739 of the individual components of the button (title, value,
6740 image). Also, new method to alter the xscale and yscale properties
6741 of the GtkAlignment inside the button, so more complex layouts can
6744 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6746 * src/hildon-button.c (hildon_button_style_set)
6747 (hildon_button_class_init, hildon_button_set_arrangement)
6748 (hildon_button_construct_child): Apply style properties
6749 correctly. Use the 'image-spacing' style property too.
6751 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6753 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6754 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6757 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6759 * src/hildon-pannable-area.c,
6760 (hildon_pannable_area_size_request): Fixed problem with
6761 pannable-area size_request.
6763 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6765 Added management for the grab-focus to a child widget, like a
6766 range, we need to fade out the scrollbar when releasing.
6768 * src/hildon-pannable-area.c,
6769 (hildon_pannable_area_init): Connected the grab-focus signal to
6771 (hildon_pannable_area_grab_notify): Added this function in order
6772 to manage the situation when the grab-focus ends. We have to
6773 fade-out the scrollbar.
6775 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6777 * src/hildon-app-menu.c: Minor documentation update.
6779 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6781 * src/hildon-app-menu.c
6782 * examples/hildon-app-menu-example.c (create_menu): Update
6783 examples and documentation to explain how to connect callbacks.
6785 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6787 * examples/hildon-button-example.c
6788 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6789 hildon_stackable_window_new instead of gtk_window_new
6791 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6793 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6794 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6795 (hildon_pannable_area_set_property),
6796 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6797 (hildon_pannable_area_unrealize),
6798 (hildon_pannable_area_size_request),
6799 (hildon_pannable_area_size_allocate),
6800 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6801 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6802 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6803 (hildon_pannable_area_initial_effect),
6804 (hildon_pannable_area_redraw),
6805 (hildon_pannable_area_scroll_indicator_fade),
6806 (hildon_pannable_area_expose_event),
6807 (hildon_pannable_area_get_topmost), (synth_crossing),
6808 (hildon_pannable_area_button_press_cb),
6809 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6810 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6811 (hildon_pannable_area_motion_notify_cb),
6812 (hildon_pannable_area_button_release_cb),
6813 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6814 (hildon_pannable_area_remove),
6815 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6816 chage the code layout to a more GtkWidget like. Review the use of
6819 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6821 * examples/hildon-pannable-area-example-4.c,
6822 (main): Modified the name of the hindicator_mode to
6825 * src/hildon-pannable-area.c,
6826 (hildon_pannable_area_class_init),
6827 (hildon_pannable_area_motion_notify_cb),
6828 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6829 we have reduced the amount of signals and managed reviewed its
6830 rationale. Changed the default decelerate value.
6832 (hildon_pannable_area_add),
6833 (hildon_pannable_area_redraw): Refactored functions.
6835 (hildon_pannable_area_init),
6836 (hildon_pannable_area_get_property),
6837 (hildon_pannable_area_set_property):
6838 (hildon_pannable_draw_vscroll),
6839 (hildon_pannable_draw_hscroll),
6840 (hildon_pannable_area_initial_effect),
6841 (hildon_pannable_area_expose_event),
6842 (hildon_pannable_area_scroll),
6843 (hildon_pannable_area_button_press_cb),
6844 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6845 and vindicator_mode with hscrollbar_policy and
6846 vscrollbar_policy. Replaced hscroll and vscroll with
6847 hscroll_visible and vscroll_visible.
6849 (hildon_pannable_area_refresh): Refactor the function, remove
6850 variables and check the calls to this function, added resize
6851 conditions in case the children change their layout.
6853 (hildon_pannable_area_size_request): Added more detailed
6854 size_request calculation.
6857 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6859 * src/hildon-color-chooser.c
6860 (init_borders): use the correct gtk_border_free instead of g_free, to
6861 avoid a crash when this widget is used (ie: the three color selection
6864 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6866 * src/hildon-check-button.c,
6867 (hildon_check_button_set_active): Fixed problem when setting the
6868 active value, the widget was not redrawn.
6870 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6872 * src/hildon-pannable-area.c,
6873 (hildon_pannable_area_refresh),
6874 (hildon_pannable_area_scroll),
6875 (hildon_pannable_area_motion_notify_cb): Small code style change.
6877 (hildon_pannable_area_class_init): Default initial_hint set to
6878 FALSE, it is not in the specs.
6880 (hildon_pannable_area_initial_effect),
6881 (hildon_pannable_area_expose_event),
6882 (hildon_pannable_area_map),
6883 (hildon_pannable_area_init): Moved the launching point of the
6884 initial effect, it was in map but the sizes where not correct in
6885 that method so we do not know if we have the reproduce it. Now it
6886 is placed in the expose_event method and uses a variable to
6887 reproduce it just once.
6889 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6891 * src/hildon-pannable-area.c,
6892 (hildon_pannable_draw_vscroll),
6893 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6894 position allowed for the scrollbars.
6896 (hildon_pannable_area_size_allocate): Small style change.
6898 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6900 * src/hildon-pannable-area.c,
6901 (hildon_pannable_area_scroll_indicator_fade),
6902 (hildon_pannable_area_button_press_cb),
6903 (hildon_pannable_area_button_release_cb),
6904 (hildon_pannable_area_scroll_cb),
6905 (hildon_pannable_area_expose_event),
6906 (hildon_pannable_area_init): Added the define parameter
6907 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6908 and refactor the fade variable.
6910 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6912 * src/hildon-pannable-area.c,
6913 (hildon_pannable_area_redraw),
6914 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6915 lines, we were reimplemeting the redraw code.
6917 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6919 * src/hildon-pannable-area.c,
6920 (hildon_pannable_area_scroll_cb),
6921 (hildon_pannable_area_realize),
6922 (hildon_pannable_area_class_init): Added scroll_event management
6923 for pannable area, now we can scroll the usual desktop method.
6925 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6926 initialization of the parameters should depend on idle_id.
6928 (hildon_pannable_area_init),
6929 (hildon_pannable_area_map): Small code style modifications
6931 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6933 * src/hildon-pannable-area.c
6934 (hildon_pannable_area_button_press_cb),
6935 (hildon_pannable_area_motion_notify_cb),
6936 (hildon_pannable_area_button_release_cb),
6937 (hildon_pannable_area_size_allocate),
6938 (hildon_pannable_area_scroll_to): Improved the timeouts
6939 management, we avoid creating them each time.
6941 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6943 * src/hildon-pannable-area.c:
6944 (hildon_pannable_area_refresh),
6945 (hildon_pannable_area_motion_notify_cb),
6946 (hildon_pannable_area_class_init):
6947 * src/hildon-pannable-area.h:
6948 * src/hildon-touch-selector.c
6949 (_create_new_column):
6950 * examples/hildon-pannable-area-example-4.c:
6951 (horizontal_movement),
6952 (vertical_movement),
6954 Replaced the names of enums in the HildonPannableArea:
6955 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6956 HILDON_MOVEMENT_MODE_*
6957 - HILDON_PANNABLE_AREA_MOV_* ->
6959 - Removed HildonPannableAreaIndicatorMode, now we
6962 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6964 * examples/hildon-pannable-area-touch-grid-example.c
6965 * examples/hildon-pannable-area-touch-list-example.c: Fix
6966 compilation warnings.
6968 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6970 * src/hildon-gtk.c (hildon_gtk_button_new)
6971 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6972 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6973 images overriding the value of the "gtk-button-images" setting.
6975 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6977 * src/hildon-check-button.c (hildon_check_button_new):
6978 Instead of using a custom container, display the label and the
6979 checkbox using the standard GtkButton API.
6981 * examples/hildon-check-button-example.c (main): Don't use
6982 hildon_check_button_set_label() anymore
6984 * src/hildon-check-button.h
6985 * src/hildon-check-button.c
6986 (hildon_check_button_set_label, hildon_check_button_get_label):
6987 Set as deprecated, now we're using gtk_button_{get,set}_label()
6989 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6991 * src/hildon-pannable-area.c,
6992 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6993 GtkTreeview first line we detected it after the inclusion of the
6994 GtkWindowImpl in gtk+. We now check if the window is visible, not
6995 just if the pointer is over the window.
6996 (hildon_pannable_axis_scroll),
6997 (hildon_pannable_area_expose_event): Small style changes.
6999 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7001 * src/hildon-button.c: Update documentation.
7003 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7005 * examples/hildon-button-example.c: Add a switch to show images in
7008 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7010 * doc/hildon-docs.sgml: Some docs reorganization.
7012 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7014 * examples/hildon-pannable-area-touch-list-example.c
7016 * examples/hildon-pannable-area-touch-grid-example.c
7017 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7018 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7019 Fix memory leak when setting the tree model.
7021 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7025 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7027 * doc/hildon.types: Remove duplicated hildon_window_get_type
7028 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7029 documentation comment.
7031 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7033 * doc/Makefile.am: Complete list of private headers.
7035 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7037 * doc/hildon-docs.sgml
7038 * src/hildon-app-menu.c
7039 * src/hildon-bread-crumb.c
7040 * src/hildon-button.c
7042 * src/hildon-program.c
7043 * src/hildon-stackable-window.c
7044 * src/hildon-window.c: Lots of documentation updates.
7046 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7048 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7050 * configure.ac: Require Gtk+ 2.12.9 at least
7052 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7054 * src/hildon-pannable-area.c
7055 (hildon_pannable_area_scroll_indicator_fade),
7056 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7057 to protect the return of this timeout callbacks, avoiding deadlocks.
7059 2008-08-12 Christian Dywan <christian@imendio.com>
7062 * src/hildon-*.h: Ensure a consistent include order,
7063 include <gtk/gtk.h> instead of particular files and
7064 only include the topmost header in the gtk stack. See NB #39857
7066 2008-08-12 Christian Dywan <christian@imendio.com>
7068 * src/hildon-picker-dialog.c
7069 * src/hildon-touch-selector.c: Fix warnings about unused and
7070 uninitialized variables.
7072 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7074 * examples/Makefile.am
7075 * examples/hildon-check-button-example.c: Example of the hildon
7078 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7080 * src/hildon-window.h
7081 * src/hildon-window.c (hildon_window_class_init)
7082 (hildon_window_unset_program): Don't make
7083 hildon_window_unset_program a virtual function anymore.
7085 * src/hildon-stackable-window.c: Update documentation
7087 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7090 * doc/hildon-docs.sgml
7091 * doc/visual_index.xml
7092 * src/hildon-defines.c
7094 * src/hildon-helper.c
7095 * src/hildon-range-editor.c: Lots of documentation fixes.
7097 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7099 * examples/hildon-picker-button-multicolumn-example.c
7100 (create_touch_selector): Fix compilation warning.
7102 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7104 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7105 (hildon_pannable_area_button_release_cb)
7106 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7108 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7110 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7113 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7115 * src/hildon-bread-crumb-trail.h
7116 * src/hildon-date-editor.c
7117 * src/hildon-date-selector.c
7118 * src/hildon-pannable-area.c
7119 * src/hildon-picker-dialog.c
7120 * src/hildon-time-selector.c
7121 * src/hildon-touch-selector-entry.c
7122 * src/hildon-touch-selector.c
7123 * src/hildon-touch-selector.h: Misc documentation fixes
7125 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7127 * examples/hildon-date-editor-example.c (main): Updated date
7130 * examples/hildon-note-example.c (on_confirmation_clicked):
7131 Updated confirmation note example.
7133 * src/hildon-date-editor.c
7134 * src/hildon-note.c: Updated sample programs in documentation.
7137 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7139 * src/hildon-date-button.h:
7140 * src/hildon-picker-button.h:
7141 * src/hildon-time-button.c:
7142 * src/hildon-time-button.h:
7144 Some declarations changes to allow gtk-doc to document the widgets
7147 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7149 * src/hildon-date-button.c: Document the widget.
7150 * src/hildon-time-button.c: Document the widget.
7152 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7154 * src/hildon-picker-button.c: Document the widget.
7155 * src/hildon-touch-selector-entry.c: Document the widget.
7157 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7159 * doc/hildon-docs.sgml
7162 * src/hildon-check-button.h
7163 * src/hildon-check-button.c: New functions to create the Hildon
7167 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7169 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7171 * src/hildon-button.h
7172 * src/hildon-button.c
7173 (hildon_button_add_title_size_group)
7174 (hildon_button_add_value_size_group)
7175 (hildon_button_add_image_size_group)
7176 (hildon_button_add_size_groups): New functions to set size groups
7177 for the button labels and image.
7178 (hildon_button_new_full): Removed
7180 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7182 * src/hildon-time-selector.c
7183 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7184 in order to avoid a crash if gconf is not available
7186 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7188 * src/hildon-button.c (hildon_button_set_arrangement)
7189 (hildon_button_construct_child): Don't construct the button child
7190 before setting the arrangement.
7192 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7194 * src/hildon-program-private.h
7195 * src/hildon-program.c
7196 * src/hildon-program.h
7197 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7198 (hildon_program_peek_window_stack)
7199 (hildon_program_pop_window_stack)
7200 (hildon_program_go_to_root_window): HildonProgram now has a
7201 separate list for stackable windows. Functions are provided to
7202 manage that list with a stack-like API.
7204 * src/hildon-stackable-window.c: Stackable window management is
7205 now much simpler with the new HildonProgram API. Windows no
7206 longer need to be manually added to the program, they're
7207 automatically pushed to the top of the stack when shown.
7209 * examples/hildon-stackable-window-example.c: Updated example to
7210 reflect the API changes.
7212 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7214 * src/hildon-touch-selector.c: Comment out unimplemented
7215 hildon_touch_selector_insert_column() to avoid a compile warning.
7217 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7219 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7220 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7221 (hildon_touch_selector_set_column_selection_mode),
7222 (_hildon_touch_selector_set_model),
7223 (hildon_touch_selector_set_model):
7225 Complete review of HildonTouchSelector documentation.
7227 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7229 * doc/hildon-docs.sgml
7233 * src/hildon-gtk.c: Convenience functions for standard Gtk
7234 widgets, used to easily perform frequent operations.
7236 * src/hildon-button-helpers.h
7237 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7239 * src/hildon-helper.h
7240 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7241 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7243 * src/hildon-button.h
7244 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7246 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7248 * src/hildon-button.c (hildon_button_init)
7249 (hildon_button_set_arrangement, hildon_button_construct_child):
7250 Pack the image and the labels inside the same GtkAlignment so
7251 gtk_button_set_alignment() can be used
7253 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7255 * src/hildon-button.h
7256 * src/hildon-button.c
7257 (hildon_button_init, hildon_button_set_image)
7258 (hildon_button_set_image_position)
7259 (hildon_button_construct_child): New functions to add an image to
7262 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7264 * src/hildon-date-button.c
7265 * src/hildon-picker-button.c
7266 * src/hildon-time-button.c
7267 * src/hildon-button.c:
7268 (hildon_button_class_init): "size-flags" renamed to "size"
7269 (hildon_button_set_title): Hide the title label if set to NULL.
7271 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7273 HildonButtonFlags split into HildonButtonArrangement (to set the
7274 button layout) and HildonSizeType (which can be used for any
7277 * src/hildon-button.h
7278 * src/hildon-button.c
7279 (hildon_button_class_init)
7280 (hildon_button_set_arrangement)
7281 (hildon_button_set_property): New "size-flags"
7282 property. "arrangement-flags" renamed to "arrangement".
7283 (hildon_button_new, hildon_button_new_with_text)
7284 (hildon_button_new_full): Constructors updated to reflect type changes.
7286 * src/hildon-helper.h
7287 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7288 to set the size of a widget.
7292 * src/hildon-button-helpers.c
7293 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7295 * src/hildon-date-button.c
7296 * src/hildon-date-button.h
7297 * src/hildon-picker-button.c
7298 * src/hildon-picker-button.h
7299 * src/hildon-time-button.c
7300 * src/hildon-time-button.h: Updated widgets to reflect
7301 HildonButton API changes.
7303 * examples/hildon-button-example.c
7304 * examples/hildon-date-button-example.c
7305 * examples/hildon-picker-button-example.c
7306 * examples/hildon-picker-button-multicolumn-example.c
7307 * examples/hildon-time-button-example.c
7308 * examples/hildon-touch-selector-entry-example.c
7309 * examples/hildon-touch-selector-example.c: Updated examples to
7310 reflect HildonButton API changes.
7312 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7314 * doc/hildon-docs.sgml:
7316 * examples/Makefile.am:
7317 * examples/hildon-touch-selector-entry-example.c:
7319 * src/hildon-touch-selector-entry.c:
7320 * src/hildon-touch-selector-entry.h:
7323 Moved HildonTouchSelectorEntry from sandbox. Added its
7324 documentation and examples.
7326 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7328 * src/hildon-touch-selector.h:
7329 * examples/hildon-picker-button-multicolumn-example.c:
7330 (hildon_touch_selector_append_text_column): Add a gboolean
7331 parameter to determine if text must be centered in the column.
7333 * src/hildon-date-selector.c: (hildon_date_selector_init):
7334 * src/hildon-time-selector.c: (hildon_time_selector_init):
7335 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7336 (create_touch_selector): Update widgets and example to reflect
7339 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7341 * src/hildon-touch-selector.c:
7342 (hildon_touch_selector_set_active_iter): Set also the cursor in
7345 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7347 * doc/hildon-docs.sgml
7350 * src/hildon-toggle-button.c
7351 * src/hildon-toggle-button.h
7352 * src/hildon.h: Removed HildonToggleButton widget, a derived
7353 class is not necessary for this.
7355 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7357 * src/hildon-pannable-area.c,
7358 (hildon_pannable_area_realize),
7359 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7362 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7364 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7365 "done" button the default widget for the dialog.
7367 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7369 * src/hildon-touch-selector.c:
7370 (hildon_touch_selector_class_init),
7371 (hildon_touch_selector_get_property),
7372 (_hildon_touch_selector_set_model),
7373 (_hildon_touch_selector_has_multiple_selection),
7374 (hildon_touch_selector_has_multiple_selection):
7375 Add a "has-multiple-selection" property with a virtual
7376 has_multiple_selection() method to allow derived classes to
7377 override the default value for it. See the method and property
7378 documentation for details.
7380 * src/hildon-touch-selector.h: Add the new API.
7382 * src/hildon-picker-dialog.c: (requires_done_button): Call
7383 hildon_touch_selector_has_multiple_selection() instead of
7384 determining the need for a button itself.
7386 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7388 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7389 (_hildon_touch_selector_set_model),
7390 (hildon_touch_selector_set_model): Move working code to
7391 _hildon_touch_selector_set_mode(). Call the class method instead.
7393 * src/hildon-touch-selector.h: Add (*set_model) to
7394 HildonTouchSelectorClass.
7396 Make hildon_touch_selector_set_model() a virtual method, so that
7397 derived classes can extend it and do fancy stuff with the model.
7399 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7401 * configure.ac: Set back the tarname in AC_INIT to hildon.
7403 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7407 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7408 instead of libesd (NB#86876). Volume handling is still an open issue.
7410 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7413 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7415 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7416 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7417 derived class to ease placement of an entry widget in
7418 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7419 end, where the selector columns are packed now.
7421 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7423 * src/hildon-picker-button.c: Removed the simple _text() API.
7424 * src/hildon-picker-button.h: Likewise.
7426 * src/hildon-touch-selector.h:
7427 * src/hildon-touch-selector.c:
7428 (hildon_touch_selector_new_text),
7429 (hildon_touch_selector_append_text),
7430 (hildon_touch_selector_prepend_text),
7431 (hildon_touch_selector_insert_text):
7433 Moved the simple _text() API from HildonPickerButton to
7434 HildonTouchPicker, to provide better escalability and not to tie
7435 that API to HildonPickerButton.
7437 * examples/hildon-picker-button-example.c: (main): Example updated.
7439 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7441 * src/hildon-button.c: Updated documentation.
7443 * examples/hildon-button-example.c: Add the posibility to create
7444 the buttons using horizontal layout for title and value.
7446 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7448 * src/hildon-app-menu-private.h
7449 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7450 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7451 GtkSizeGroup for the filters, use the 'homogeneous' property of
7454 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7456 * examples/hildon-button-example.c: Updated example.
7458 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7460 * doc/hildon-docs.sgml:
7463 Update documentation.
7465 * examples/Makefile.am: Update renamed examples.
7467 * examples/hildon-picker-button-multicolumn-example.c:
7468 (create_touch_selector), (main): Update after the rename.
7470 * examples/hildon-touch-picker-example.c: Removed.
7471 * examples/hildon-touch-selector-example.c: (value_changed),
7472 (create_selector), (get_visible_content), (main): Renamed from
7473 hildon-touch-picker-example.c
7475 * src/Makefile.am: Updated renamed files.
7477 * src/hildon-date-button.c: (hildon_date_button_init),
7478 (hildon_date_button_get_date), (hildon_date_button_set_date):
7479 * src/hildon-date-selector.c: (hildon_date_selector_init),
7480 (_custom_print_func), (_update_day_model),
7481 (_manage_selector_change_cb),
7482 (hildon_date_selector_select_current_date),
7483 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7484 * src/hildon-date-selector.h:
7485 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7486 (hildon_picker_button_set_property),
7487 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7488 (hildon_picker_button_init), (hildon_picker_button_new_text),
7489 (hildon_picker_button_append_text),
7490 (hildon_picker_button_prepend_text),
7491 (hildon_picker_button_insert_text),
7492 (hildon_picker_button_set_selector),
7493 (hildon_picker_button_get_selector):
7494 * src/hildon-picker-button.h:
7495 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7496 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7497 (_update_title_on_selector_changed_cb), (requires_done_button),
7498 (_hildon_picker_dialog_set_selector),
7499 (hildon_picker_dialog_set_selector),
7500 (hildon_picker_dialog_get_selector):
7501 * src/hildon-picker-dialog.h:
7502 * src/hildon-time-button.c: (hildon_time_button_init),
7503 (hildon_time_button_get_time), (hildon_time_button_set_time):
7504 * src/hildon-time-selector.c: (hildon_time_selector_init),
7505 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7506 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7507 * src/hildon-time-selector.h:
7510 Massive code updates after the rename.
7512 * src/hildon-touch-picker.c: Removed.
7513 * src/hildon-touch-picker.h: Removed.
7515 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7516 (hildon_touch_selector_init), (hildon_touch_selector_map),
7517 (hildon_touch_selector_remove), (_default_print_func),
7518 (_selection_changed_cb), (_create_new_column),
7519 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7520 (hildon_touch_selector_append_text_column),
7521 (hildon_touch_selector_remove_column),
7522 (hildon_touch_selector_set_column_attributes),
7523 (hildon_touch_selector_insert_column),
7524 (hildon_touch_selector_get_num_columns),
7525 (hildon_touch_selector_get_column_selection_mode),
7526 (hildon_touch_selector_set_column_selection_mode),
7527 (hildon_touch_selector_set_print_func),
7528 (hildon_touch_selector_get_print_func),
7529 (hildon_touch_selector_get_active_iter),
7530 (hildon_touch_selector_set_active_iter),
7531 (hildon_touch_selector_get_selected_rows),
7532 (hildon_touch_selector_get_model),
7533 (hildon_touch_selector_set_model),
7534 (hildon_touch_selector_get_current_text),
7535 (_hildon_touch_selector_center_on_selected_items):
7536 * src/hildon-touch-selector.h: Renamed from
7537 hildon-touch-picker.[ch]
7539 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7540 references, code examples, and related documentation.
7542 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7544 * doc/hildon-docs.sgml
7547 * src/hildon-toggle-button.c
7548 * src/hildon-toggle-button.h
7549 * src/hildon.h: New HildonToggleButton widget.
7551 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7553 * src/hildon-button.c: Add API documentation.
7554 (hildon_button_set_size_groups): Check input parameters
7556 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7558 * src/hildon-pannable-area.c
7559 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7560 effect after reaching the movement thredshold. This way we start
7561 using the distance after passing the thredshold.
7563 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7565 * src/hildon-button.c: (hildon_button_set_property): Use the
7566 appropriate g_value_get_flags() method.
7568 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7570 * doc/hildon-docs.sgml:
7573 Add the touch pickers, picker dialogs, and picker button widgets
7574 to the documentation.
7576 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7578 * src/hildon-button.c: (hildon_button_set_property),
7579 (hildon_button_class_init): Make "arrangement-flags" a proper
7580 G_TYPE_FLAGS derived property.
7582 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7584 * examples/Makefile.am: Add below examples.
7585 * examples/hildon-date-button-example.c:
7586 * examples/hildon-picker-button-example.c:
7587 * examples/hildon-picker-button-multicolumn-example.c:
7588 * examples/hildon-time-button-example.c:
7589 * examples/hildon-touch-picker-example.c:
7591 Add examples for the recently added touch pickers,
7592 picker dialogs, and picker button widgets.
7594 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7596 * src/hildon-button.c: Add some API documentation
7598 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7600 * src/hildon-button.h
7601 * src/hildon-button.c
7603 (hildon_button_new_with_text): New constructor to create a button
7604 with no text at all.
7605 (hildon_button_init, hildon_button_set_arrangement)
7606 (hildon_button_set_title, hildon_button_set_value)
7607 (hildon_button_set_text)
7608 (hildon_button_construct_child): Hide the value when it's not used
7609 so the rest of the text is properly aligned.
7610 Allow creating buttons with arbitrary widgets inside (not just
7611 title/value labels).
7613 * examples/hildon-button-example.c (vertical_buttons_window)
7614 (horizontal_buttons_window): Update example to use new API.
7616 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7618 * src/Makefile.am: Added HildonTimeButton.
7619 * src/hildon-time-button.c: Added missing LGPL header.
7620 * src/hildon-time-button.h: Added missing LGPL header.
7621 * src/hildon.h: Add hildon-time-button.h
7623 Copied HildonTimeButton from sandbox to trunk. Future work on this
7624 widget must take place in trunk.
7626 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7628 * src/Makefile.am: Added HildonDateButton.
7629 * src/hildon-date-button.c: Update includes.
7630 * src/hildon.h: Add hildon-date-button.h
7632 Copied HildonDateButton from sandbox to trunk. Future work on this
7633 widget must take place in trunk.
7635 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7637 * src/Makefile.am: Added HildonPickerButton.
7638 * src/hildon-picker-button.h: Update includes.
7639 * src/hildon.h: Add hildon-picker-button.h
7641 Copied HildonPickerButton from sandbox to trunk. Future work on
7642 this widget must take place in trunk.
7644 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7646 * src/Makefile.am: Added HildonPickerDialog.
7647 * src/hildon-picker-dialog.c: Update includes.
7648 * src/hildon.h: Add hildon-picker-dialog.h
7650 Copied HildonPickerDialog from sandbox to trunk. Future work
7651 on this widget must take place in trunk.
7653 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7655 * src/Makefile.am: Added HildonTimeSelector.
7656 * src/hildon.h: Add hildon-time-selector.h
7658 Copied HildonTimeSelector widget from sandbox to trunk. Future
7659 work on this widget must happen in trunk.
7661 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7663 * src/Makefile.am: Added HildonDateSelector.
7664 * src/hildon.h: Add hildon-date-selector.h
7666 Copied HildonDateSelector widget from sandbox to trunk. Future
7667 work on this widget must happen in trunk.
7669 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7671 * src/Makefile.am: Added HildonTouchPicker.
7672 * src/hildon-touch-picker.c: Update includes.
7673 * src/hildon.h: Add hildon-touch-picker.h
7675 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7676 on this widget must happen in trunk.
7678 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7680 * src/hildon-pannable-area.c:
7681 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7683 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7685 * examples/hildon-app-menu-example.c (main): Let the window
7688 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7690 * src/hildon-pannable-area.c
7691 (hildon_pannable_area_class_init): Set the min value of the
7692 overshoot properties to zero, which points out that not
7693 overshooting allowed.
7695 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7697 Modified the procedure to get the widget at a point inside the
7698 pannable area when using the movement type signals. Now the user
7699 has to call a function to get the child, that way we just
7700 calculate the child in case the user really want to use it and not
7703 * src/hildon-marshalers.list: Modified the marshallers, now we do
7704 not have the widget as a parameter.
7706 * src/hildon-pannable-area.c
7707 (hildon_pannable_area_motion_notify_cb),
7708 (hildon_pannable_area_class_init),
7709 (hildon_pannable_get_child_widget_at): Removed the widget
7710 parameter from the signal callback. We have also refactored the
7711 emission of the signals.
7713 * src/hildon-pannable-area.h: Added a new method to the API to
7714 calculate a widget at a point inside the pannable area,
7715 hildon_pannable_get_child_widget_at.
7717 * examples/hildon-pannable-area-example-4.c
7718 (horizontal_movement): Modified the example to use the new API,
7719 added condition to control which widget is under the event. This
7720 way we can avoid scrolling laterally over other widgets.
7722 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7724 * src/hildon-pannable-area.c
7725 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7726 modes, we stop getting the pointer events due to returning the
7727 callback without properly calling the get pointer again. Fixed
7728 also an error using the hscroll and vscroll.
7730 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7732 * src/hildon-app-menu-private.h
7733 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7734 (hildon_app_menu_button_release, hildon_app_menu_init)
7735 (hildon_app_menu_class_init): Don't hide the menu on button
7736 release if the user didn't press outside first.
7738 * src/hildon-window.h
7739 * src/hildon-window.c (hildon_window_toggle_menu)
7740 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7741 hildon_window_toggle_menu a virtual function for the stackable
7742 window to override it.
7744 * src/hildon-stackable-window.h
7745 * src/hildon-stackable-window-private.h
7746 * src/hildon-stackable-window.c
7747 (hildon_stackable_window_realize)
7748 (hildon_stackable_window_finalize)
7749 (hildon_stackable_window_class_init)
7750 (hildon_stackable_window_init)
7751 (hildon_stackable_window_set_main_menu): New function to set the
7752 app menu of a HildonStackableWindow.
7754 * examples/hildon-app-menu-example.c: Remove the button to show
7755 the app menu, now it'll be shown when clicking on the title bar
7758 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7760 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7761 set the widget name if the arrangement flags do not specify
7764 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7766 * src/hildon-button.c: (hildon_button_set_property),
7767 (hildon_button_class_init), (hildon_button_new_full),
7768 (hildon_button_set_arrangement): Added "arrangement-flags"
7771 Make the HildonButtonFlags a construction-only property, to allow
7772 subclasses to set them properly.
7774 2008-07-21 Tim Janik <timj@imendio.com>
7776 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7777 insertion position after backspace, so additional digits are appended,
7780 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7782 * src/hildon-pannable-area.c,
7783 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7784 TODO list, it was complete and removed the g_debug and g_print
7787 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7789 Added the movement modes to the hildon-pannable-area, with this
7790 modes the developers can control in which directions the widget
7791 can scroll. They can also connect to signals in order to do
7792 something when that happens, allowing applications scroll. There
7793 is an example uploaded showing how to use it.
7795 * examples/Makefile.am:
7796 * examples/hildon-pannable-area-example-4.c: Added this example of
7797 an application using the modes.
7799 * src/hildon-marshalers.list: Added a new marshaller for the new
7802 * src/hildon-pannable-area.h: Added new enumerations and flags in
7803 order to control the movement modes and the new signals to warn
7804 about the movements in the area.
7806 * src/hildon-pannable-area.c:
7807 (hildon_pannable_axis_scroll),
7808 (hildon_pannable_area_scroll),
7809 (hildon_pannable_area_motion_notify_cb),
7810 (hildon_pannable_area_get_property),
7811 (hildon_pannable_area_set_property),
7812 (hildon_pannable_area_map),
7813 (hildon_pannable_area_class_init),
7814 (hildon_pannable_area_init),
7815 (hildon_pannable_area_jump_to): Added the modes to control the
7816 movement in the widget. We have added properties to control it,
7817 signals to warn about the movements and refactored some code.
7819 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7821 Changes required in order to allow vfast_factor set to zero to
7824 * src/hildon-pannable-area.c:
7825 (hildon_pannable_area_button_press_cb): Changed the condition, it
7826 is required for not allowing click when vfast_factor is zero.
7827 (hildon_pannable_area_timeout): Initialized velocity variables
7828 when we stop moving, it was less than 1 but not zero and we need
7829 to check zero in some situations.
7830 (hildon_pannable_area_class_init): Changed the default value of
7831 the speed factor, now the button_press is just sent in case the
7832 speed is 2 per cent of the max speed.
7833 (hildon_pannable_area_init): Initialization with 0.
7835 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7837 * src/hildon-pannable-area.c,
7838 (hildon_pannable_area_get_topmost): replaced
7839 gdk_window_get_children with gdk_window_peek_children, this way we
7840 do not have to free the list because it is not a copy.
7842 (hildon_pannable_axis_scroll),
7843 (hildon_pannable_area_scroll),
7844 (hildon_pannable_area_timeout),
7845 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7846 two parameters that were only used inside the
7847 hildon_pannable_area_scroll function.
7849 * examples/hildon-pannable-area-example.c,
7850 (get_sawtooth_label): Fixed small memory leak.
7852 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7854 More checks for the case where the overshoot is bigger than the
7857 * src/hildon-pannable-area.c:
7858 (hildon_pannable_draw_vscroll),
7859 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7860 to draw the slider of the scrollbar under the other scrollbar.
7861 (hildon_pannable_area_expose_event): added new checks to control
7862 the drawing of the overshooting area rectangle, in case it is too
7863 big for the area of the widget.
7864 (hildon_pannable_area_size_allocate): add more checks to avoid
7865 setting a position to the child widget outside the area.
7867 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7869 * src/hildon-pannable-area.c
7870 (hildon_pannable_area_size_allocate): Added conditions to control
7871 when overshooting is bigger than the allocated space for the
7872 children, this avoids negative allocations.
7874 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7876 * doc/hildon-docs.sgml
7878 * examples/Makefile.am
7879 * examples/hildon-button-example.c
7881 * src/hildon-button.c
7882 * src/hildon-button.h
7883 * src/hildon.h: Initial version of the new HildonButton widget,
7886 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7888 * src/hildon-pannable-area.c:
7889 (hildon_pannable_area_button_press_cb),
7890 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7891 (hildon_pannable_area_motion_notify_cb),
7892 (hildon_pannable_area_button_release_cb),
7893 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7894 (hildon_pannable_area_jump_to_child):
7896 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7898 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7900 * examples/Makefile.am
7901 * examples/hildon-pannable-area-touch-grid-example.c
7902 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7903 the Hildon Touch List and Hildon Touch Grid using the
7904 HildonPannableArea widget.
7906 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7908 * src/hildon-pannable-area.c,
7909 (hildon_pannable_area_button_press_cb),
7910 (hildon_pannable_area_refresh),
7911 (hildon_pannable_area_scroll),
7912 (hildon_pannable_area_motion_notify_cb),
7913 (hildon_pannable_area_button_release_cb),
7914 (hildon_pannable_area_expose_event),
7915 (hildon_pannable_area_add),
7916 (hildon_pannable_area_remove),
7917 (hildon_pannable_area_realize),
7918 (hildon_pannable_area_size_allocate),
7919 (hildon_pannable_area_class_init),
7920 (hildon_pannable_area_init),
7921 (hildon_pannable_area_scroll_to_child),
7922 (hildon_pannable_area_jump_to_child): Fixed the problem of
7923 removing the child from the GtkBin, we have rearranged the widget
7924 hierarchy, now there is no GtkAlignment which was not doing
7925 anything interesting but breaking some of the assumptions of
7926 GtkContainer. Now developers if they want to add a GtkAlignment
7927 they could, but it is not inside the area.
7929 We had to review the whole allocation/expose process, now it is
7930 improved and we save at least three signals which would be saving
7931 some time when rendering the widget. The allocation of the
7932 scrollbars is now made in the allocate method as usual.
7934 We have also added some conditions in order to control when there
7935 is no child of the pannable area. Maybe we will need more work
7938 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7940 * src/hildon-pannable-area.c,
7941 (hildon_pannable_area_dispose): Released the fade-out timeout when
7942 disposing the widget.
7944 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7946 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7947 zero, we are going to use that property in order to deactivate the
7949 (hildon_pannable_axis_scroll),
7950 (hildon_pannable_area_size_allocate): Added conditions to control
7951 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7952 call, now it is called in all situations and we can remove calls
7953 in the allocate method.
7954 (hildon_pannable_area_map): Control the situation when
7955 overshoot_max is zero, we do not need the timeout.
7956 (hildon_pannable_area_class_init): Added documentation in order to
7957 point out that setting zero to overshoot_max means deactivate
7960 NOTE: removed trailing whitespaces from my previous comments of
7963 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7965 * src/hildon-pannable-area.c
7966 (hildon_pannable_area_get_property),
7967 (hildon_pannable_area_set_property),
7968 (hildon_pannable_area_map),
7969 (hildon_pannable_area_class_init),
7970 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7971 to cause the widget give a hint about its panning abilities upon
7974 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7976 * src/hildon-pannable-area.c: Several documentation improvements.
7978 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7980 * src/hildon-program.c
7981 * src/hildon-stackable-window.c: Update documentation.
7983 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7985 * src/hildon-stackable-window.c (get_previous_window_if_last):
7986 Renamed get_last_window()
7987 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7988 (hildon_stackable_window_unset_program):
7990 (get_previous_window_if_last):
7991 Detect if the window hasn't been added to a HildonProgram.
7993 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7995 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7997 * src/hildon-pannable-area.c
7998 (hildon_pannable_area_button_press_cb),
7999 (hildon_pannable_axis_scroll),
8000 (hildon_pannable_area_scroll),
8001 (hildon_pannable_area_timeout),
8002 (hildon_pannable_calculate_vel_factor),
8003 (hildon_pannable_area_get_property),
8004 (hildon_pannable_area_set_property),
8005 (hildon_pannable_area_class_init),
8006 (hildon_pannable_area_init),
8007 (hildon_pannable_area_scroll_to),
8008 (hildon_pannable_area_jump_to),
8009 (hildon_pannable_area_scroll_to_child),
8010 (hildon_pannable_area_jump_to_child):
8011 * src/hildon-pannable-area.h: Added the new API functions:
8012 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8013 hildon_pannable_area_scroll_to_child,
8014 hildon_pannable_area_jump_to_child
8017 * examples/Makefile.am
8018 * examples/hildon-pannable-area-example-2.c
8019 * examples/hildon-pannable-area-example-3.c: Added these two new
8020 examples in order to test and show how the new APIs work.
8022 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8024 * examples/hildon-stackable-window-example.c (new_window):
8025 * src/Makefile.am (noinst_HEADERS):
8026 * src/hildon-program.c (hildon_program_go_to_root_window):
8027 * src/hildon-program.h:
8028 * src/hildon-stackable-window-private.h:
8029 * src/hildon-stackable-window.c:
8030 * src/hildon-stackable-window.h:
8031 Create hildon-stackable-window-private.h
8032 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8034 * examples/hildon-app-menu-example.c (create_menu):
8035 * examples/hildon-hvolumebar-insensitive-example.c (main):
8036 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8037 * examples/hildon-toolbar-seekbar-example.c (main):
8038 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8039 * src/hildon-banner.c (hildon_banner_set_property):
8040 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8041 Fix compilation warnings
8043 * src/hildon-window.c:
8046 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8048 * src/hildon-stackable-window.c
8049 (hildon_stackable_window_unset_program):
8050 Calculate correctly whether to show the previous window if the
8051 last one is removed from the stack.
8052 (hildon_stackable_window_go_to_root_window):
8053 Send delete events starting from the topmost window.
8054 Stop if one of the windows is not destroyed.
8056 (hildon_stackable_window_delete_event)
8057 (hildon_stackable_window_class_init):
8058 Ignore the delete event if the window is not the topmost one.
8060 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8062 * src/hildon-pannable-area.c
8063 (hildon_pannable_area_expose_event): Fixed a problem when
8064 selecting the background color of the scrollbars.
8066 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8068 * examples/hildon-stackable-window-example.c
8069 * src/hildon-stackable-window.c
8070 * src/hildon-stackable-window.h
8071 hildon_stackable_window_go_home() renamed to
8072 hildon_stackable_window_go_to_root_window()
8073 Send delete events to windows rather than closing them with
8074 gtk_widget_destroy()
8076 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8078 * src/hildon-pannable-area.c
8079 (hildon_pannable_area_button_release_cb): Fix overshooting in
8082 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8084 * src/hildon-pannable-area.c
8085 (hildon_pannable_area_init): Initially show the scroll indicators.
8086 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8088 Add initial effect showing the widget is pannable.
8090 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8092 * src/hildon-pannable-area.c
8093 (hildon_pannable_area_class_init)
8094 (hildon_pannable_area_set_property)
8095 (hildon_pannable_area_get_property)
8096 (hildon_pannable_area_button_press_cb):
8097 New 'velocity_fast_factor' property to decide which velocity is
8100 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8102 * src/hildon-pannable-area.c
8103 (hildon_pannable_draw_hscroll)
8104 (hildon_pannable_draw_vscroll):
8105 Use float variables to calculate the size of the scrollbars to
8106 avoid error propagation and resizing during scrolling.
8108 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8110 * src/hildon-pannable-area.c
8111 (hildon_pannable_draw_vscroll)
8112 (hildon_pannable_draw_hscroll):
8113 Define a minimum size for the scroll bars
8115 * src/hildon-stackable-window.c
8116 (hildon_stackable_window_go_home): Fix compilation warning
8117 (get_last_window): Minor optimizations
8118 (hildon_stackable_window_class_init): Fix initialization of
8121 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8123 * src/hildon-stackable-window.c: Fixed typos in doc
8125 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8127 * src/hildon-pannable-area.c
8128 (hildon_pannable_area_scroll):
8129 Calculate here whether we need to scroll instead of using the booleans
8130 that tell us whether to /draw/ the scrolling bars.
8132 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8134 * src/hildon-app-menu.h
8136 * src/hildon-app-menu.c
8137 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8138 multiple filter groups related code and API. Now we support only
8140 * examples/hildon-app-menu-example.c:
8142 Update to reflect API changes.
8144 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8146 * src/hildon-stackable-window.c
8147 (hildon_stackable_window_class_init):
8148 Add hildon_stackable_window_realize.
8149 (hildon_stackable_window_realize):
8150 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8151 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8152 to apply theming and behavior specific to HildonStackableWindow
8155 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8157 * src/hildon-note.c (hildon_note_button_release):
8158 Close information notes also when tapping on them
8160 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8162 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8163 ELASTICITY, refactor and review, fix some issues with drawing
8166 * src/hildon-pannable-area.c:
8167 (hildon_pannable_area_button_press_cb): removed the conditions to
8168 avoid clicks when overshooting. It is not required
8170 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8171 define. Refatored and reviewed the code, now we do not need to
8172 manage velocity in motion_notify.
8174 (hildon_pannable_area_motion_notify_cb): We have moved the code
8175 that controls the area_scroll to the axis_scroll function and get
8176 rid of duplicated code.
8178 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8180 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8182 (hildon_pannable_draw_vscroll),
8183 (hildon_pannable_draw_hscroll): Fixed the problems with the
8184 scrollbar drawing, now we do not use two surfaces, it is easier
8185 and saves resources.
8187 (hildon_pannable_area_get_property): Style modification.
8189 (hildon_pannable_area_class_init): Changed some default values.
8191 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8193 * src/hildon-stackable-window.c: Fix some typos in the
8196 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8198 * src/hildon-dialog.c:
8199 Change indentation style
8202 (hildon_note_button_release):
8203 Use root coordinates to check if the release event happened
8206 * src/hildon-app-menu.c
8207 (hildon_app_menu_button_release):
8208 Remove unnecessary check
8210 * examples/hildon-app-menu-example.c
8212 Add cast to fix warning
8214 * src/hildon-app-menu.c
8215 (hildon_app_menu_class_init):
8216 New inner-border style property.
8217 Set all default spacings to 16
8218 (hildon_app_menu_init):
8219 Use vertical-spacing to set the space between filter buttons and
8220 regular menu buttons.
8221 Set the default container border using the inner-border value.
8223 * examples/hildon-app-menu-example.c
8225 Don't set the menu border explicitly, now we have the inner-border
8226 style property for that.
8228 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8230 * src/hildon-app-menu.c (hildon_app_menu_init):
8231 Make the window modal
8233 * src/hildon-note.c (hildon_note_map)
8234 * src/hildon-app-menu.c (hildon_app_menu_map):
8235 Destroy the grab window if we're unable to grab the pointer
8237 * src/hildon-app-menu-private.h
8238 * src/hildon-app-menu.c
8239 (hildon_app_menu_init, hildon_app_menu_finalize)
8240 (hildon_app_menu_map, hildon_app_menu_unmap)
8241 (hildon_app_menu_button_release)
8242 (grab_transfer_window_get):
8243 Bring back the grab window
8244 (hildon_app_menu_realize):
8245 Decorate the window, set WM hint for Matchbox
8247 * src/hildon-note.c (hildon_note_realize):
8248 * src/hildon-banner.c (hildon_banner_realize):
8249 Add WM hints for Matchbox
8251 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8253 * src/hildon-app-menu-private.h
8254 * src/hildon-app-menu.c
8255 (hildon_app_menu_init, hildon_app_menu_finalize)
8256 (hildon_app_menu_map, hildon_app_menu_unmap)
8257 (hildon_app_menu_button_release):
8258 Remove the grab window, it's not needed anymore
8260 * src/hildon-program.c
8261 Fixed typo in documentation
8263 * src/hildon-app-menu.h
8264 * src/hildon-app-menu.c
8265 * examples/hildon-app-menu-example.c
8266 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8268 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8271 Added new transfer_window and close_if_pressed_outside private
8273 (hildon_note_rebuild):
8274 Don't add a cancel button to the information note. It will be
8275 closed when tapping outside
8276 Remove the comment about the OK button in the documentation
8277 (hildon_note_realize):
8278 Set the notification type hint
8279 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8280 Grab/ungrab pointer and keyboard if the note has to be closed when
8282 (hildon_note_button_release):
8283 Close the note when tapping outside (if applicable)
8285 * src/hildon-app-menu.c
8286 Grab/ungrab pointer and keyboard on map/unmap
8287 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8288 Close the menu on button release, not button press
8290 * src/hildon-banner.c
8291 (hildon_banner_set_property)
8292 (hildon_banner_check_position):
8293 Make the banner use the full width of the screen
8294 (hildon_banner_show_information)
8295 (hildon_banner_show_information_with_markup):
8296 Don't display an icon by default
8298 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8300 Added fading scrollbars and adapted all the overshooting code to
8301 horizontal scrolling. We have also fixed bugs with overshooting
8302 and current fading implementation.
8304 * src/hildon-pannable-area.c
8305 (hildon_pannable_area_scroll_indicator_fade): Time out function
8306 used to change the transparency of the scrollbars.
8308 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8309 control and fixed a problem with fading, we now remove the fade
8310 timeout before adding a new one.
8312 (hildon_pannable_axis_scroll):
8313 (hildon_pannable_area_scroll):
8314 (hildon_pannable_area_timeout): Added this functions so we can use
8315 the scroll code both for vertical and horizontal.
8317 (hildon_pannable_area_motion_notify_cb):
8318 (hildon_pannable_area_button_release_cb): Added the horizontal
8319 scrolling control, fixed a problem with the overshooting timeout.
8321 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8322 painting of the scrolls.
8324 (hildon_pannable_draw_vscroll):
8325 (hildon_pannable_draw_hscroll):
8326 (hildon_pannable_area_expose_event):
8327 Draw both scrollbars and rectangles in the overshooting area.
8329 (hildon_pannable_area_get_property):
8330 (hildon_pannable_area_set_property):
8331 Modified the overshoot property to overshoot_max
8333 (hildon_pannable_area_map):
8334 Replaced the comments symbols.
8336 (hildon_pannable_area_size_allocate):
8337 (hildon_pannable_area_class_init):
8338 (hildon_pannable_area_init): Added horizontal scroll, fading
8339 effect properties, fixed a problem when overshooting in the bottom
8342 * examples/hildon-pannable-area-example.c:
8343 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8344 looks better in the example.
8346 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8348 * src/hildon-window.c
8349 * src/hildon-window.h
8350 (hildon_window_class_init)
8351 (hildon_window_unset_program)
8352 (hildon_window_unset_program_real):
8353 Make unset_program a virtual function
8355 * src/hildon-stackable-window.c
8356 * src/hildon-stackable-window.h
8357 Added hildon_stackable_window_go_home()
8359 * examples/Makefile.am
8360 * examples/hildon-stackable-window-example.c
8361 HildonStackableWindow example
8363 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8365 * hildon-pannable-area.c: Added the overshoot property and removed
8366 the OVERSHOOT define. Fixed an indent style error.
8367 (hildon_pannable_area_motion_notify_cb):
8368 (hildon_pannable_area_get_property):
8369 (hildon_pannable_area_set_property): Add overshoot property.
8371 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8374 (hildon_pannable_area_class_init): Installed the new property.
8376 * hildon-pannable-area-example.c: Added a sawtooth function, this
8377 way it is easier to check the movement in the pannable.
8378 (get_sawtooth_label): Added this function.
8379 (main): Now we get the labels from the new get_sawtooth_label
8382 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8384 * src/hildon-app-menu.h
8385 * src/hildon-app-menu.c
8386 Renamed API variables for consistency
8388 (hildon_app_menu_popup): Use also the default window size to
8389 decide where to place the menu
8391 (hildon_app_menu_init, hildon_app_menu_class_init): New
8392 external-border style property
8394 2008-05-26 Michael Natterer <mitch@imendio.com>
8396 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8397 widget_class->tap_and_hold_setup signal slot doesn't exist any
8398 longer, stop overriding it.
8400 (hildon_time_editor_init): g_signal_connect() to the
8401 tap-and-hold-setup signal instead.
8403 (hildon_time_editor_entry_keypress): add cast to fix warning.
8405 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8407 * doc/hildon-docs.sgml
8409 * examples/Makefile.am
8410 * examples/hildon-app-menu-example.c
8412 * src/hildon-app-menu-private.h
8413 * src/hildon-app-menu.c
8414 * src/hildon-app-menu.h
8416 New HildonAppMenu widget
8418 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8420 Rearranged the inheritance of the pannable area, now it inherits
8421 from GtkBin. This will allow us to control the event_window and
8422 the allocation process of the widget, required for some effects.
8424 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8425 GtkBin structures. * src/hildon-pannable-area.c: Added the
8426 event_window variable.
8427 (hildon_pannable_area_button_press_cb):
8428 (hildon_pannable_area_button_release_cb):
8429 (hildon_pannable_area_motion_notify_cb):
8430 Changed the signature of the method, now we override the event
8431 callback instead of connecting to the signal.
8433 (hildon_pannable_area_realize):
8434 (hildon_pannable_area_unrealize):
8435 (hildon_pannable_area_map):
8436 (hildon_pannable_area_unmap):
8437 (hildon_pannable_area_size_allocate):
8438 Added functions to control the widget construction. We add a
8439 INPUT_ONLY window and we put it over the widgets inside the
8440 container, this event_window handles the events.
8442 (hildon_pannable_area_class_init):
8443 Replaced the signal connections with overrides of the event
8446 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8448 Bouncing effect added when touching the borders, you can change
8449 the elasticity of the border changing the ELASTICITY define.
8451 * src/hildon-pannable-area.c: Added ELASTICITY define.
8452 (hildon_pannable_area_timeout): Added inverse velocity when
8453 touching the border of the child widget, that causes a bounce.
8455 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8457 Improved performance, we now do not go to the X server in order to
8458 get the list of window children. Apparently the effect is the
8459 same, we have to be careful and check if this breaks something in
8462 * src/hildon-pannable-area.c:
8463 (get_ordered_children): Removed this function.
8464 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8465 the children windows function with gdk_window_get_children.
8467 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8469 * src/hildon-pannable-area.c:
8470 (hildon_pannable_area_dispose): Fixed a crash when closing the
8471 window and kinetics is activated.
8473 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8475 * src/hildon-pannable-area.h
8476 * src/hildon-pannable-area.c
8477 Changed indentation style to meet the one used in Hildon
8479 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8481 Reviewed the interaction of the AUTO mode, now we use the time
8482 attribute of the events and calculate the velocity in the motion,
8483 doing a gimp like calculation. The velocity is calculated in each
8484 motion event using the last velocity and the current one, the
8485 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8487 * src/hildon-pannable-area.c: Replaced the time based algorithm
8489 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8490 timeout for the AUTO mode when we are still moving the cursor. We
8491 added also the velocity calculation in this function.
8492 (hildon_pannable_area_button_release_cb): launch the timeout in
8493 case we are in AUTO mode. There are still some constants here that
8494 come from the old implementation that should be reviewed and
8497 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8499 * doc/hildon-docs.sgml
8502 * src/hildon-stackable-window.c
8503 * src/hildon-stackable-window.h
8505 New HildonStackableWindow widget
8507 * examples/hildon-dialog-example.c
8508 * examples/hildon-pannable-area-example.c
8511 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8513 * src/hildon-dialog.c
8514 (hildon_dialog_new_with_buttons): New constructor.
8516 * examples/hildon-dialog-example.c
8517 (main): Update the example to use the new
8518 hildon_dialog_new_with_buttons().
8520 * examples/hildon-pannable-area-example.c
8521 (main): Update example.
8523 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8525 * doc/hildon-docs.sgml
8527 Added HildonPannableArea to the documentation.
8529 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8531 * doc/visual_index.xml
8532 Fix reference to HildonLoginDialog in documentation
8534 * doc/hildon-docs.sgml
8536 * examples/Makefile.am
8537 * examples/hildon-dialog-example.c
8539 * src/hildon-dialog.c
8540 * src/hildon-dialog.h
8542 New HildonDialog widget.
8544 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8546 * src/hildon-pannable-area.c
8547 Merge latest changes (r4318, r4342) from libmokoui trunk
8549 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8551 * examples/Makefile.am
8552 * examples/hildon-pannable-area-example.c
8554 * src/hildon-pannable-area.c
8555 * src/hildon-pannable-area.h
8557 New HildonPannableArea widget.
8559 2008-04-15 18:05:19 <timj@imendio.com>
8561 * src/hildon-banner.c: revert the recent change, that introduced
8562 gtk_window_present() calls. this reopens:
8563 Bug 78481 - [freetest] information banners are hidden under browser menu
8564 But resolves another variant of:
8565 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8567 2008-04-15 13:21:13 <timj@imendio.com>
8569 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8570 recreated its layout, spotted by Kris. this fixes all remaining
8571 artefacts and stability issues with the banner code. in particular:
8572 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8574 2008-04-14 16:52:59 <timj@imendio.com>
8576 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8577 operating on unrealized widgets, fixes:
8578 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8580 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8582 2008-04-09 Kristian Rietveld <kris@imendio.com>
8584 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8585 makes banner disappear.
8586 Fixes: NB#79182: info banner flickering with certain message lengts.
8588 * src/hildon-banner.c (hildon_banner_constructor),
8589 (hildon_banner_init), (hildon_banner_set_text),
8590 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8591 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8592 FALSE, reset size requests of label and banner,
8593 (force_to_wrap_truncated): when the text is too wide, always enforce
8594 the maximum possible width instead of recalculating it from the
8595 layout; enforce the maximum banner height of 3 lines,
8596 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8597 nicer wrapping and no truncated chars if space gets tight.
8599 * src/hildon-banner-private.h: add has_been_wrapped and
8600 has_been_truncated fields.
8602 2008-04-07 Sven Herzberg <sven@imendio.com>
8604 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8605 local values in hildon_date_editor_size_allocate
8607 * src/hildon-date-editor.c: moved the real allocation code into the
8610 2008-04-07 Sven Herzberg <sven@imendio.com>
8612 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8613 local values in hildon_date_editor_size_allocate
8615 * src/hildon-date-editor.c: merged the two if() branches together
8617 2008-04-07 Sven Herzberg <sven@imendio.com>
8619 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8620 local values in hildon_date_editor_size_allocate
8622 * src/hildon-date-editor.c: changed the arguments of the if()
8625 2008-04-07 Sven Herzberg <sven@imendio.com>
8627 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8628 local values in hildon_date_editor_size_allocate
8630 * src/hildon-date-editor.c: split the calculation of the allocation
8631 from the real allocation
8633 2008-03-27 Michael Natterer <mitch@imendio.com>
8635 Fixes: NB#81696: The passcode is not overwritten even after
8638 * src/hildon-code-dialog.c
8639 (hildon_code_dialog_button_clicked)
8640 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8641 because that doesn't overwrite selected text. Instead, emit the
8642 "commit" signal on the entry's im_context so the entry's normal
8643 insert logic is triggered. Set the cursor to the end of the entry
8644 after each insert operation so that we *only* insert in the middle
8645 of the text if something was selected.
8647 2008-03-27 Michael Natterer <mitch@imendio.com>
8649 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8650 selector cannot be opened
8652 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8653 when the popup color selector is created. Please connect to this
8654 signal in order to set the dialog's help ID.
8656 2008-03-25 Sven Herzberg <sven@imendio.com>
8658 Fixes: MB#1212: Hide info banners (infoprints) on click
8660 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8661 extracted the close event simulation into an extra function
8662 (hildon_banner_button_press_event): simulate a close event and destroy
8663 the widget if the event wasn't handled
8664 (hildon_banner_class_init): added the button_press_event handler
8665 (hildon_banner_init): added button-press events to the widget
8667 2008-03-25 Sven Herzberg <sven@imendio.com>
8669 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8670 Patch from: Mohammad Anwari <mdamt@maemo.org>
8672 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8673 instead of the right in RTL mode
8674 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8675 breadcrumb button list in RTL mode
8676 * src/hildon-caption.c: mirror the appearance of the caption widget in
8678 * src/hildon-date-editor.c: mirror appearance of the date editor in
8680 * src/hildon-time-editor.c: mirror appearance of the time editor in
8682 * src/hildon-window.c: fix the position of the popup in RTL mode
8684 2008-03-25 Sven Herzberg <sven@imendio.com>
8686 Amendment to the fix of NB#22072. Fix compilation.
8688 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8690 2008-03-19 Sven Herzberg <sven@imendio.com>
8692 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8695 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8696 timeout id properly when the timeout will disappear this leaves no
8697 artifacts around in the destroy(); there will only be the timeout
8698 created by hildon_banner_ensure_timeout() and adding a new timeout
8699 will also work if the timeout gets removed because the timeout_handler
8702 2008-03-19 Michael Natterer <mitch@imendio.com>
8704 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8706 * src/hildon-volumebar.c
8707 * src/hildon-vvolumebar.c
8708 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8709 the widget becomes focussable at all.
8711 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8712 set the focus to wither the mute button or the volumebar.
8714 Remove own "can-focus" property and instead listen to
8715 notify::can-focus in order to update the widget's state.
8717 Implement GtkWidget::focus() and make sure we can also *leave* the
8718 widget, not only enter it, depending on volumebar orientation and
8719 requested focus direction.
8721 Clean up set_mute() to cooperate nicely with all the above.
8723 2008-03-04 Michael Natterer <mitch@imendio.com>
8725 Fixes: NB#78481: information banners are hidden under browser menu
8727 * src/hildon-banner.c: call gtk_window_present() on the banners so
8728 they are risen if they are already visible.
8730 2008-03-03 Sven Herzberg <sven@imendio.com>
8732 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8734 * examples/hildon-window-menu-example.c: (main): extended the window
8735 menu example to serve as a testcase for automatically added
8736 accelerator groups, too
8737 * src/hildon-window.c: (hildon_window_add_accel_group),
8738 (hildon_window_set_menu): added patch by Tommi Komulainen
8740 2008-03-03 Sven Herzberg <sven@imendio.com>
8742 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8744 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8745 knowledge about the border allocators used within GTK+
8747 2008-02-26 Sven Herzberg <sven@imendio.com>
8749 Fixes: MB#2981: Build with asserts broken
8751 * src/hildon-date-editor.c,
8752 * src/hildon-number-editor.c,
8753 * src/hildon-time-editor.c,
8754 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8755 the proper GType instance check
8757 2008-02-25 Sven Herzberg <sven@imendio.com>
8759 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8761 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8762 * examples/hildon-window-menu-example.c: (main): explicitly show
8764 * src/hildon-window.c:
8765 (hildon_window_set_main_menu): moved most of the code from set_menu()
8766 to this place; skipped the call to gtk_widget_show_all(); also didn't
8767 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8768 (hildon_window_set_menu): removed most of the code, just keep the
8769 questionable gtk_widget_show_all()
8770 * src/hildon-window.h: added the new function and deprecate the old
8773 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8779 * debian/changelog: Updating.
8781 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8784 * pkgconfig/Makefile.am:
8785 * pkgconfig/hildon.pc.in:
8788 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8789 use newly created API_MAJOR_VERSION.
8791 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8797 * debian/changelog: Updating.
8799 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8801 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8803 Add outer_border style property, we use it but don't define it (!).
8807 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8809 * examples/hildon-bread-crumb-trail-example.c (main):
8813 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8815 Fix logic for the bread crumb trail node removal.
8819 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8825 * debian/changelog: Updating.
8827 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 Patch by Alejandro to get/set passwords dialogs accesibility.
8831 * hildon-1/src/hildon-get-password-dialog.c:
8832 * hildon-1/src/hildon-set-password-dialog.c:
8833 Set atk_set_name to the passwd entries in order to allow
8834 accessibility by name on this entries.
8836 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8841 * debian/control: Updating gtk dep.
8843 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8845 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8846 USE_MAEMO_GTK is enabled.
8848 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8850 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8851 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8853 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * debian/changelog: Updating.
8861 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * examples/Makefile.am:
8864 * examples/hildon-logical-color-example.c:
8865 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8866 applied + adding a test case. Fixes: NB#71660.
8868 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8870 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8871 to be visible, fixes warning on map for windows without toolbars.
8873 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8875 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8876 2.11.0, add a check for that besides the MAEMO_GTK check.
8878 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 * debian/changelog: Updating.
8886 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8889 visibility. Fixes: NB#70842 and MB#615.
8891 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8893 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8894 set the separator as no-show-all so it doesn't unintentionally appear when
8895 someone does a show_all.
8897 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8899 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8900 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8901 toplevel item. Fixes: NB#62031
8903 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8905 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8906 fix the name of the function in the docs.
8908 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8914 * debian/changelog: Updating.
8916 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * examples/hildon-banner-long-example.c: Adding a test-case for long
8921 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8923 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * src/hildon-color-chooser-dialog.c:
8926 * src/hildon-color-chooser.c:
8927 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8928 memory leaks in font selector and color selector. Fixes: NB#70499 and
8931 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8933 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8935 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8938 little bit bigger. Fixes: #NB63694.
8940 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * debian/changelog: Updating.
8948 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * doc/hildon-docs.sgml:
8952 * doc/images/bread-crumb-trail.png:
8953 * doc/images/calendar-popup.png:
8954 * doc/images/caption.png:
8955 * doc/images/code-dialog.png:
8956 * doc/images/color-button.png:
8957 * doc/images/color-chooser-dialog.png:
8958 * doc/images/color-chooser.png:
8959 * doc/images/controlbar.png:
8960 * doc/images/date-editor.png:
8961 * doc/images/font-selection-dialog.png:
8962 * doc/images/get-password-dialog.png:
8963 * doc/images/hvolumebar.png:
8964 * doc/images/login-dialog.png:
8965 * doc/images/note.png:
8966 * doc/images/number-editor.png:
8967 * doc/images/range-editor.png:
8968 * doc/images/seekbar.png:
8969 * doc/images/set-password-dialog.png:
8970 * doc/images/sort-dialog.png:
8971 * doc/images/time-editor.png:
8972 * doc/images/time-picker.png:
8973 * doc/images/vvolumebar.png:
8974 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8975 Adding the bread-crumb-trial and helpers to the documentation.
8977 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8979 * examples/hildon-find-toolbar-example.c:
8980 * src/hildon-find-toolbar.c:
8981 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8982 actually continue firing the other handlers if connected. Adding a new
8984 hildon_find_toolbar_get_last_index that gets the index of the most
8985 recently added (last) item. Fixes: NB#52301.
8987 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8990 behaviour. Fixes: NB#68610.
8992 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8994 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8997 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9000 when realizing the banner. Should make the infonbanner effect a bit more
9003 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * src/hildon-volumebar.c:
9006 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9007 hildon_volumebar_set_range_insensitive_message and
9008 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9010 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9012 * src/hildon-window.c: Fixing the border freeing on destroy.
9014 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9016 * src/hildon-code-dialog-private.h:
9017 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9018 kw keyboard support in HildonCodeDialog.
9020 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * debian/changelog: Updating.
9028 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9030 * src/hildon-date-editor.c:
9031 * src/hildon-number-editor.c:
9032 * src/hildon-private.c:
9033 * src/hildon-private.h:
9034 * src/hildon-time-editor.c:
9035 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9036 handling in subclassed composite widgets. Fixes: NB#66628.
9038 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9040 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9041 from destroy_ callback as it introduces problems in async dbus signal
9042 handlers. Fixes NB#66673.
9044 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9046 * examples/hildon-hvolumebar-example.c:
9047 * src/hildon-volumebar.c: Improving the focus handling in the
9048 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9049 set_property accessor so that "mute" property can be actually set. I'm
9050 scared that nobody noticed it's totally broken.
9052 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9057 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * src/hildon-calendar.c:
9060 * src/hildon-number-editor.c:
9061 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9062 matches the spec of 6 chars per second. Fixes: NB#60489.
9064 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9067 gtk_style_lookup_color sometime returns FALSE even though color was
9068 found and values were filled properly. Weird. Removing the warning for the
9071 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9074 expand vertically. Adding some extra space to the find toolbar buttons to
9075 make them thumbable. Fixes NB#66060.
9077 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9079 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9080 popup with "Ok" and "Cancel". Fixes NB#59299.
9082 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * src/hildon-calendar.c: Process all window updates before executing next
9085 timeout. Fixes: NB#54146.
9087 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9093 * debian/changelog: Updating.
9095 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9097 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9098 the client event and ignore it, since we use the delete event to close
9101 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9103 * src/hildon-helper.c: Remove the bogus warning about color not being
9104 found. Fixes NB#58352.
9106 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9108 * examples/Makefile.am:
9109 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9110 HildonSeekbar widget inside a toolbar.
9112 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9114 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9115 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9116 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9117 don't want to be closed by non-temporary windows on map.
9119 Also use G_DEFINE_TYPE instead of manually typed code.
9121 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9128 * debian/rules: Updating.
9130 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * examples/Makefile.am:
9133 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9134 bug NB#61128. Strangely it works.
9136 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * src/hildon-date-editor.c: When the date editor entry has been changed
9139 but the numbers of characters < max, turn off the skip validation flag.
9140 Prevents a situation when we enter first a valid year and later re-write
9141 it with an invalid one. Fixes NB#60154.
9143 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9145 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9146 code dialog. Fixes NB#64355.
9148 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9151 switching the page. Fixes NB#49374.
9153 * examples/Makefile.am:
9154 * examples/hildon-wizard-dialog-example.c: Adding an example for
9155 HildonWizardDialog that shows how to handle manual sensitivity setting on
9158 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9162 * src/hildon-version.h.in:
9163 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9165 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * src/hildon-volumebar.c: Updating the docs.
9169 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9175 * debian/changelog: Updating.
9177 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9179 * src/hildon-find-toolbar.c:
9180 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9181 selected item: hildon_find_toolbar_set_active,
9182 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9183 hildon_find_toolbar_get_active_iter . They correspond to respective
9184 GtkComboBox functions.
9186 * examples/Makefile.am:
9187 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9190 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * examples/Makefile.am:
9193 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9196 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9197 when font size > 32 and we pack a focusable widget inside. Actually using
9198 the default response would work too, but since we don't show default
9199 response state in any way (no theming) it would not be visible to the
9200 user. Fixes NB#63430.
9202 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9204 * src/hildon-date-editor.c: Adding the missing variable setter in the
9205 set_property handler. Fixes NB#54182.
9207 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9209 * src/hildon-window.h: Changing the long key press time from 1500ms to
9210 800ms as requested in NB#63700. I have a bad feeling about this, let's
9211 see... Fixes NB#63700.
9213 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9215 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9216 hildon_time_picker_map, hildon_time_picker_realize,
9217 hildon_time_picker_style_set): Split the contents of map to more
9218 appropriate functions; set window decorations on realize and update
9219 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9221 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9226 * debian/changelog: Updating.
9228 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9230 * src/Makefile.am: fixed installation of the header files
9232 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9238 * debian/changelog: Updating.
9240 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * configure.ac: Removing some remaining of --enable-xan.
9244 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9246 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9247 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9249 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9250 2.10.12-osso6 because the move-focus signal needs to be available in
9253 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9255 * examples/Makefile.am:
9256 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9257 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9258 fine. Prolly NB#61128 is fixed now.
9260 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * src/hildon-volumebar.c:
9263 * src/hildon-volumebar.h: Adding the
9264 hildon_volumebar_set_range_insensitive_message and
9265 hildon_volumebar_set_range_insensitive_messagef functions to set
9266 insensitive message on the slider of the volumebar. Fixes NB#61129.
9268 * examples/Makefile.am:
9269 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9270 test the new insensitive messsage functionality on HildonVolumebar.
9272 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9274 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9277 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9279 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9280 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9281 button on after clearing the trail.
9283 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9285 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9287 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9289 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9290 by splitting the installed headers in generated and non-generated groups. Use
9291 only the non-generated headers to create the hildon-enum-types.h file.
9293 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9295 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9297 * src/hildon-window.c: Hide the window before performing the destroy.
9298 Should make the app closing a little tiny bit more snappy.
9300 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9302 * src/hildon-seekbar.c: add gtkrange.h header
9303 * src/hildon-caption.c: remove unused variable
9305 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9307 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9310 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * debian/changelog: Updating.
9318 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9320 * src/hildon-window.c (hildon_window_window_state_event,
9321 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9322 escape timeout on focus-out-event rather than notify::is-topmost; the
9323 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9325 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9327 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9328 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9330 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9332 * src/hildon-window: actually, you need to use the macro always, there's
9333 no private pointer in the instance structure. We should have cleaned this up
9334 when we had the chance...
9336 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9338 * src/hildon-window.c: do not get the private date from HildonWindow before
9339 it passes the g_return_if_fail check. Once it's passed the test, there's no
9340 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9341 if you are only going to access the data once. Whitespace cleanups.
9343 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9345 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9346 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9348 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9354 * debian/changelog: Updating.
9356 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9358 * src/hildon-window.c: When destroying the window, remove (if exists) the
9359 escape timeout handler. Fixes #NB59276.
9361 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9363 * src/hildon-banner.c: When realizing the widget, set the window
9364 transiency. Setting the transiency in the gobject constructor is not
9365 good, as the widget is not realized at that point. Fixes: #NB56624.
9367 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9369 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9370 Add padding for future expansions.
9372 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9374 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9375 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9376 will fake an activation on the previous to the last item of the trail, so
9377 the effect can be overrided by the developer as usual.
9378 Also change the callback for the back button to do the same thing, so its
9379 effect can be overrided too. Fixes: NB#58982
9381 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9383 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9384 HildonCaption. Fixes NB#52379.
9386 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9388 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9389 the internal state of the trail after the user has had the chance of executing
9390 his handler for the signal. Specifically, it may happen that the activated button
9391 is removed and the user still lets the default handler run. This would segfault
9394 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9396 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9397 scrollbar to the preview dialog. Fixes NB#54147.
9399 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9401 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9402 max/min year properties can be altered, so the client can modify it
9403 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9405 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9407 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9408 hildonlike by default. Fixing a problem with disappearing arrows when
9409 scrolling through months and years. Fixes NB#54127.
9411 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9413 * examples/hildon-date-editor-example.c: Adding error callback to the date
9416 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 * configure.ac: Updating.
9424 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9426 * configure.ac: Adding a special '--enable-xan' configure option that
9427 turns off the -Werror compilation setting. Usefull for development.
9429 * src/hildon-calendar.c:
9430 * src/hildon-number-editor.c:
9431 * src/hildon-time-picker.c: Adding the 5* multiplier to
9434 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9436 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9437 instead of g_object_ref + gtk_object_sink.
9439 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9445 * debian/changelog: Updating.
9447 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9449 * src/hildon-color-chooser-dialog.c:
9450 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9451 straight from Tommi labs.
9453 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * examples/hildon-finger-example.c: Correcting the header file path.
9457 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9458 the changed signal. Fixes a small memory leak.
9460 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9464 * src/hildon-banner.c: Importing several usefull fixes from the
9465 ubuntu-mobile branch.
9467 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9469 * examples/Makefile.am:
9470 * examples/hildon-finger-example.c: Adding a finger-checking code
9473 * src/hildon-font-selection-dialog.c: Do not allocate the color
9474 structure using the g_new. Fixes NB#54061.
9476 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9478 * src/hildon-helper.c: Correcting tabs in file.
9480 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9483 control the visibility of the children.
9485 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9487 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9493 * debian/changelog: Updating.
9495 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9497 * src/hildon-bread-crumb-trail.c:
9498 (hildon_bread_crumb_trail_size_allocate):
9500 Make the back button always a square.
9502 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9504 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9505 from the .c file as it's a private file.
9507 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9509 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9510 uses slightly bigger height.
9512 * src/hildon-font-selection-dialog.c: Adding some checks before
9513 freeing memory in the font selection dialog.
9515 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9517 * src/hildon-font-selection-dialog.c: Adding a small check when
9520 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9521 buttons sensitivity on page switching.
9523 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9525 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9526 internal details of adding a bread crumb to the trail.
9528 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9534 * debian/changelog: Updating.
9536 * src/hildon-bread-crumb-trail.h:
9537 * src/hildon-bread-crumb.h: Changing the API guard to
9538 HILDON_ENABLE_UNSTABLE_API.
9540 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9548 * src/hildon-helper.h: Updating.
9550 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9558 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9562 * src/hildon-helper.h: Small fix to make the package actually compile.
9564 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9566 * src/hildon-bread-crumb-trail.h:
9567 * src/hildon-bread-crumb.h:
9569 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9570 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9572 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9574 * examples/hildon-bread-crumb-trail-example.c:
9576 * src/hildon-bread-crumb-trail.c:
9577 * src/hildon-bread-crumb-trail.h:
9578 * src/hildon-bread-crumb.c:
9579 * src/hildon-bread-crumb.h:
9580 * src/hildon-marshalers.list:
9581 * src/hildon-bread-crumb-widget.c:
9582 * src/hildon-bread-crumb-widget.h:
9584 Slight change in the widget design. The bread crumb trail API is
9585 unchanged, but HildonBreadCrumb is now an interface. A *private*
9586 implementation, hildon-bread-crumb-widget, is provided and used
9587 internally by the trail for the push_text/push_icon functions.
9589 The generic push API is still available, so anyone can implement
9590 and use its own bread crumb widget.
9592 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9594 * debian/rules: Fixing the shlibs.
9596 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9598 * src/hildon-banner.c: Fixing a problem with timed banners having
9599 their parrent destroyed before they are.
9601 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9603 * src/hildon-bread-crumb.c:
9604 * src/hildon-bread-crumb.h:
9606 Make the get_natural_size function a vfunc.
9608 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9610 * src/hildon-bread-crumb.c:
9611 * src/hildon-bread-crumb-trail.c:
9615 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9622 * debian/changelog: Updating for release.
9624 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9626 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9627 don't leak the pango layout.
9629 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9632 * examples/hildon-bread-crumb-trail-example.c:
9636 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9638 * debian/changelog: Removing the bug-fixed entries that were actually
9639 resolved as WONTFIX.
9641 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9644 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9646 * src/hildon-bread-crumb-trail.c:
9647 * src/hildon-bread-crumb-trail.h:
9648 * src/hildon-bread-crumb.c:
9649 * src/hildon-bread-crumb.h:
9653 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9655 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9656 until it's passed the type check.
9658 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9660 * examples/hildon-bread-crumb-trail-example.c
9664 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9666 * examples/Makefile.am
9667 * examples/hildon-bread-crumb-trail-example.c
9669 * src/hildon-bread-crumb-trail.c
9670 * src/hildon-bread-crumb-trail.h
9671 * src/hildon-bread-crumb.c
9672 * src/hildon-bread-crumb.h
9674 New HildonBreadCrumbTrail widget.
9676 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9678 * src/hildon-range-editor.c (hildon_range_editor_init),
9679 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9680 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9681 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9682 hildon_time_editor_class_init, hildon_time_editor_init),
9683 src/hildon-get-password-dialog.c (invalid_input,
9684 hildon_get_password_set_property, hildon_get_password_get_property,
9685 create_contents, hildon_get_password_dialog_set_max_characters),
9686 src/hildon-set-password-dialog.c (create_contents),
9687 src/hildon-date-editor.c (hildon_date_editor_init),
9688 src/hildon-login-dialog.c (hildon_login_dialog_init),
9689 src/hildon-number-editor.c (hildon_number_editor_init),
9690 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9691 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9692 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9693 configure option and adding the respective checks in the code.
9694 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9695 hildon_calendar_drag_data_received): fixed some build warnings.
9697 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9699 * debian/changelog: A 1.0.0 release notes.