1 2009-09-07 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init),
5 (hildon_pannable_area_button_release_cb): More tuning for the
8 2009-09-07 Alejandro G. Castro <alex@igalia.com>
10 * hildon/hildon-pannable-area.c,
11 (hildon_pannable_area_class_init):
12 Change the default value of the scrollbar_fade_delay.
14 Fixes: NB#127018 (Panning indicator fades out too slowly)
16 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
18 [2.2.0 Release Candidate 1]
21 * configure.ac: Bump version
22 * debian/changelog: updates
24 2009-09-04 Alejandro G. Castro <alex@igalia.com>
26 * hildon/hildon-pannable-area.c,
27 (hildon_pannable_area_init),
28 (hildon_pannable_area_button_press_cb),
29 (hildon_pannable_area_button_release_cb): Added a new acceleration
30 system to help traversing big lists, tuned the stop threshold.
32 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
34 2009-09-04 Alberto Garcia <agarcia@igalia.com>
36 * hildon/hildon-window.h:
37 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
39 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
41 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
45 * configure.ac: bump version
47 * debian/changelog: updates
49 2009-09-04 Alberto Garcia <agarcia@igalia.com>
51 * hildon/hildon-entry.c
52 * hildon/hildon-text-view.c:
55 2009-09-04 Alberto Garcia <agarcia@igalia.com>
57 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
58 Redraw menu when the number of items change.
60 Fixes: NB#131911 (Appmenu does not resize properly, when number of
63 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
65 * hildon/hildon-pannable-area.c:
66 (hildon_pannable_area_launch_fade_timeout),
67 (hildon_pannable_area_motion_event_scroll),
68 (hildon_pannable_area_check_move),
69 (hildon_pannable_area_button_release_cb),
70 (hildon_pannable_area_scroll_to):
72 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
73 area drawing operations, since this is the recommended for drawing
76 Fixes: NB#110894 (In event view containing very large description
77 field, application menu is displayed blank while panning)
78 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
81 2009-09-03 Alberto Garcia <agarcia@igalia.com>
83 * doc/hildon-sections.txt
84 * hildon/hildon-button.c
85 * hildon/hildon-edit-toolbar.c
86 * hildon/hildon-gtk.[ch]
87 * hildon/hildon-main.c
88 * hildon/hildon-program.c
89 * hildon/hildon-stackable-window.c:
92 2009-08-28 Alberto Garcia <agarcia@igalia.com>
94 * hildon/hildon-app-menu.c
95 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
96 Close the menu if it receives a grab-notify signal.
98 Fixes: NB#134533 (UI freezes if we show a dialog with
99 gtk_dialog_run() while a menu is opened)
101 2009-08-27 Alejandro G. Castro <alex@igalia.com>
103 * hildon/hildon-pannable-area.c,
104 (hildon_pannable_area_class_init): Reverted tuning modifications:
105 "Pannign needs to be faster" and "Pannable kinetics in large lists
108 2009-08-26 Alberto Garcia <agarcia@igalia.com>
110 * hildon/hildon-sound.c (hildon_play_system_sound):
111 Set "module-stream-restore.id" to "x-maemo-system-sound" when
112 playing system sounds
114 Fixes: NB#133767 (Information and confirmation note sound should
115 follow system profile setting)
117 2009-08-26 Alejandro G. Castro <alex@igalia.com>
119 * hildon/hildon-pannable-area.c,
120 (hildon_pannable_area_class_init): Added more force and increased
121 the max speed threshold.
123 Fixes: NB#135344 (Pannign needs to be faster)
125 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
127 [Release 2.1.96, this time for real]
130 * debian/changelog: updates
132 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
134 * hildon/hildon-pannable-area.c
135 (hildon_pannable_area_get_topmost): change the computation of the
136 co-ordinates transformed when no one of the children is a topmost
138 Fixes: NB#133252 (Opening any feed item from RSS always opens the
139 first feed item in browser)
141 2009-08-26 Alejandro G. Castro <alex@igalia.com>
143 * hildon/hildon-pannable-area.c,
144 (hildon_pannable_area_remove_timeouts): Adding this new function
145 with the code that removes the timeouts of the widget.
146 (hildon_pannable_area_dispose),
147 (hildon_pannable_area_unrealize): Use the new remove function to
148 stop timeouts when unrealizing and disposing.
149 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
150 calculation to avoid negative values in some cases.
152 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
154 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
156 * examples/hildon-check-button-example.c: (button_toggled_cb):
157 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
158 (hildon_check_button_set_active), (hildon_check_button_new),
159 (hildon_check_button_clicked), (hildon_check_button_class_init):
160 * hildon/hildon-check-button.h:
161 * hildon/hildon-set-password-dialog.c: (create_contents),
162 (hildon_set_password_response_change), (hildon_checkbox_toggled):
164 Revert "Make HildonCheckButton derive from GtkToggleButton"
166 2009-08-21 Alberto Garcia <agarcia@igalia.com>
170 * configure.ac: bump version
172 * debian/changelog: updates
174 2009-08-21 Alberto Garcia <agarcia@igalia.com>
176 * hildon/hildon-check-button.h
177 * hildon/hildon-check-button.c
178 (hildon_check_button_clicked, hildon_check_button_class_init):
179 Make HildonCheckButton derive from GtkToggleButton
180 (hildon_check_button_toggled, hildon_check_button_set_active)
181 (hildon_check_button_get_active):
182 Deprecate unnecessary HildonCheckButton API and use the
183 one from GtkToggleButton instead.
185 * hildon/hildon-set-password-dialog.c (create_contents)
186 (hildon_set_password_response_change, hildon_checkbox_toggled)
187 * examples/hildon-check-button-example.c (button_toggled_cb):
188 Update to use the GtkToggleButton API
190 Fixes: MB#4739 (HildonCheckButton should inherit from
193 Fixes: NB#132661 (HildonCheckButton should inherit from
196 2009-08-20 Alberto Garcia <agarcia@igalia.com>
198 * hildon/hildon-pannable-area.c
199 (hildon_pannable_area_class_init):
200 Increase default value of HildonPannableArea:velocity_max to 2000
202 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
204 2009-08-18 Alberto Garcia <agarcia@igalia.com>
208 * configure.ac: bump version
210 * debian/changelog: updates
212 2009-08-11 Alejandro G. Castro <alex@igalia.com>
214 * hildon/hildon-pannable-area.c
215 (hildon_pannable_area_size_allocate): Checked the scrollbars
216 before the first try when defining the layout, avoids two
217 allocations in some situations.
219 Fixes: NB#131794 (pannable area produces unnecessary allocations
220 causing performance problems)
222 2009-08-11 Alejandro G. Castro <alex@igalia.com>
224 * hildon/hildon-pannable-area.c
225 (hildon_pannable_area_button_press_cb),
226 (hildon_pannable_area_motion_notify_cb),
227 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
228 the spurious ref added in the copy, fixes leak of window.
230 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
231 if it's realized without showing and then deleted)
233 2009-08-10 Alberto Garcia <agarcia@igalia.com>
237 * configure.ac: bump version
239 * debian/changelog: updates
241 2009-08-06 Alberto Garcia <agarcia@igalia.com>
243 * examples/hildon-hvolumebar-timer-example.c
245 * hildon/hildon-banner.c
246 (hildon_banner_timeout, hildon_banner_ensure_timeout)
247 * hildon/hildon-calendar.c
248 (calendar_timer, start_spinning)
249 * hildon/hildon-color-chooser.c
250 (inline_limited_expose)
251 * hildon/hildon-date-editor.c
252 (hildon_date_editor_entry_focus_in)
253 (hildon_date_editor_entry_validate)
254 (hildon_date_editor_entry_select_all)
255 * hildon/hildon-note.c
257 * hildon/hildon-number-editor.c
258 (hildon_number_editor_button_pressed)
259 (hildon_number_editor_start_timer, do_mouse_timeout),
260 (add_select_all_idle, hildon_number_editor_select_all)
261 * hildon/hildon-time-editor.c
262 (hildon_time_editor_entry_focus_in)
263 (highlight_callback, hildon_time_editor_validate)
264 (hildon_time_editor_entry_select_all)
265 * hildon/hildon-time-picker.c
266 (hildon_time_picker_arrow_press)
267 (hildon_time_picker_key_repeat_timeout)
268 * hildon/hildon-window.c
269 (hildon_window_key_press_event)
270 (hildon_window_escape_timeout):
271 Replace all calls to g_idle_add/g_timeout_add with their
272 gdk_threads counterparts.
274 Fixes: NB#126198 (gdk-threads API should be used to install idle
275 and timeout handlers)
277 2009-08-06 Alejandro G. Castro <alex@igalia.com>
279 * hildon/hildon-pannable-area.c,
280 (hildon_pannable_area_class_init): Increased the overshooting max
281 speed to get a faster effect.
282 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
283 deceleration of the overshooting
284 (hildon_pannable_area_button_release_cb): Calculate initial
285 overshooting speed when finger on the screen using the distance to
286 launch the effect faster.
288 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
289 lists with slow row renderers)
291 2009-08-05 Alberto Garcia <agarcia@igalia.com>
293 * doc/hildon-sections.txt: Add new functions
295 2009-08-05 Alberto Garcia <agarcia@igalia.com>
297 * hildon/hildon-text-view.[ch]
298 * hildon/hildon-entry.[ch]:
299 Add deprecation guards around deprecated functions.
301 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
303 * hildon/hildon-app-menu.c: Remove leftover function declaration.
305 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
307 Remove the grab from HildonAppMenu
309 * hildon/hildon-app-menu.c:
310 Now hildon-desktop places a blocker window behind the menu to handle
311 its closing, so the grab is no longer needed. This simplifies its
312 implementation and allows the system blanking to succeed.
314 Fixes: NB#130910 (Screen gets unlocked when menu is open)
316 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
320 * configure.ac: bump version
322 * debian/changelog: updates
323 * debian/control: raise debian dependency on GTK+
325 2009-08-04 Alberto Garcia <agarcia@igalia.com>
327 * hildon/hildon-text-view.c
328 * hildon/hildon-entry.c:
329 Remove all placeholder code from HildonEntry and HildonTextView
330 and use the API in GtkEntry and GtkTextView instead.
332 * examples/hildon-entry-example.c
333 * examples/hildon-text-view-example.c
334 * examples/hildon-wizard-dialog-example.c
335 * hildon/hildon-get-password-dialog.c
336 * hildon/hildon-login-dialog.c
337 * hildon/hildon-picker-dialog.c
338 * hildon/hildon-set-password-dialog.c
339 * hildon/hildon-touch-selector-entry.c:
340 Replace all deprecated calls to HildonEntry and HildonTextView
341 with their Gtk counterparts.
343 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
346 2009-08-03 Alejandro G. Castro <alex@igalia.com>
348 * hildon/hildon-pannable-area.c,
349 (hildon_pannable_area_check_move),
350 (hildon_pannable_area_button_release_cb),
351 (hildon_pannable_area_scroll_to): Reverted the priority change of
352 the timeout, in some situations, slow renderers, the click do not
353 make it to the mainloop on time.
355 Fixes NB#131013 (unable to stop panning file manager by tapping on
358 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
360 * configure.ac: bump version
362 * debian/changelog: updates
364 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
366 * hildon/hildon-touch-selector.[ch]
367 (hildon_touch_selector_center_on_index): New method that allows to center
368 on a item not selected
370 Fixes NB#130291 (New HildonTouchSelector API is required to center on
373 2009-07-29 Alberto Garcia <agarcia@igalia.com>
375 * hildon/hildon-text-view.c
376 (+set_logical_color, +hildon_text_view_style_set)
377 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
378 (hildon_text_view_init)
379 * hildon/hildon-entry.c
380 (+set_logical_color, +hildon_entry_style_set)
381 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
382 (hildon_entry_class_init, hildon_entry_init)
383 * hildon/hildon-button.c
384 (+set_logical_font, +set_logical_color)
385 (hildon_button_style_set, hildon_button_init)
386 (hildon_button_set_arrangement, hildon_button_set_style):
387 Remove all calls to hildon_helper_set_logical_font() and
388 hildon_helper_set_logical_color(), which are recursive, from
391 Fixes: NB#123409 (Showing dialog consumes significant amount of
394 2009-07-29 Alejandro G. Castro <alex@igalia.com>
396 * hildon/hildon-pannable-area.c,
397 (hildon_pannable_area_timeout): Added the process updates of the
398 scrollbars window in the pannable.
400 Fixes: NB#130043 (scrollindicator not smooth while panning)
402 2009-07-23 Alejandro G. Castro <alex@igalia.com>
404 * hildon/hildon-pannable-area.c,
405 (hildon_pannable_area_check_move),
406 (hildon_pannable_area_button_release_cb),
407 (hildon_pannable_area_scroll_to): Increased the priority of the
408 timeout this way it is going to be handled before the events.
410 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
414 * configure.ac: bump version
415 * debian/changelog: updates
417 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
419 * hildon/hildon-entry.c: (set_property): Do not allow to set
420 automatic height and use finger height instead, to prevent an to
421 have a smaller size than than its theme pixbuf.
423 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
425 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
427 * configure.ac: postrelease version bump.
428 * debian/changelog: post release version bump
430 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
435 * configure.ac: Bump version.
436 * debian/changelog: Updates.
438 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
440 * hildon/hildon-note.c: (label_size_request): Take the note
441 padding into account when setting the size request.
443 Fixes: NB#127896 (Information notes text truncated)
445 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
447 * configure.ac: postrelease version bump.
448 * debian/changelog: post release version bump
450 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
455 * configure.ac: Bump version.
456 * debian/changelog: Updates.
458 2009-07-16 Alejandro G. Castro <alex@igalia.com>
461 * hildon/hildon-text-view.c,
462 (hildon_text_view_button_press_event): Grabbed the focus in button
463 press, this way we are sure the widget has the focus in the
464 release event, required for HIM.
466 Fixes: NB#121445 (Virtual keyboard opening is not working in same
467 way for each text entry field)
469 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
471 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
472 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
473 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
474 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
475 (hildon_pannable_area_[gs]et_center_on_child_focus)
476 Redefined GtkContainer set-focus-child signal, in order to center
477 properly on a child when it receives the focus. Defined a new property
478 "center-on-child-focus" in order to activate this feature (deactivated
479 by default). Public get/set methods defined to manage the property.
481 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
483 2009-07-14 László Pere <lpere@blumsoft.eu>
485 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
486 the new size is applied.
488 Fixes: NB#124510 (The Application Menu is distorted when switched
489 between portrait and landscape mode)
490 Fixes: NB#115388 (Power key menu does not resize itself)
492 2009-07-01 Alberto Garcia <agarcia@igalia.com>
494 * hildon/hildon-banner.c (hildon_banner_map):
495 Set banner position after mapping.
497 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
499 * configure.ac: postrelease version bump.
500 * debian/changelog: post release version bump
502 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
507 * configure.ac: Bump version.
508 * debian/changelog: Updates.
510 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
512 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
515 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
517 * tests/check-hildon-banner.c
519 * tests/test_suites.h
520 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
521 were testing deprecated functions.
522 * examples/hildon-banner-example.c: typo on button3 type, that causes
523 a fail compiling with --with-examples but without --disable-deprecated
525 Missed commit in order to fix compilation using '--enable-fatal' and
526 '--disable-deprecated' (see previous commit)
528 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
530 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
531 functions with #ifndef HILDON_DISABLE_DEPRECATED
532 * examples/hildon-find-toolbar.c: Protect deprecated
533 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
534 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
535 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
536 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
538 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
539 to allow proper compilation of deprecated functions defined on the header
541 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
543 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
545 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
546 Cache the panning indicator color.,
547 (hildon_pannable_area_style_set): Query the color on style changes.
548 (hildon_pannable_draw_vscroll),
549 (hildon_pannable_draw_hscroll),
550 (hildon_pannable_area_expose_event): Use the cached panning indicator
551 color instead of looking it up on every expose and more.
553 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
555 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
556 (hildon_pannable_draw_hscroll),
557 (hildon_pannable_area_expose_event): Fix the panning indicator color,
558 so that it's "SecondaryTextColor", as desired.
560 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
562 * hildon/hildon-picker-dialog.c:
563 (selection_completed): take into account HILDON_UI_MODE_NORMAL
564 * hildon/hildon-touch-selector.c
565 (hildon_touch_selector_init): Initialize hildon-ui-mode
566 (hildon_touch_selector_row_activated): new callback for the
567 "row-activated" signal, in order to save the last activated
568 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
569 if the current hildon-ui-mode is coherent with the touch selector
570 (hildon_touch_selector_class_init)
571 (hildon_touch_selector_get_property)
572 (hildon_touch_selector_set_property)
573 Added "hildon-ui-mode" property
574 (disconnect_model_handlers): renamed to clean_column
575 (hildon_touch_selector_remove): use clean_column function
576 (_create_new_column): use the hildon-ui-mode to create the treeview, and
577 only select the first element on HILDON_UI_MODE_EDIT
578 (hildon_touch_selector_column_init): Initialize last_activate
579 (hildon_touch_selector_append_column): check that the touch selector
580 is coherent with the current hildon-ui-mode
581 (hildon_touch_selector_get_hildon_ui_mode)
582 (hildon_touch_selector_set_hildon_ui_mode)
583 Added a getter/setter for the hildon-ui-mode property
584 (hildon_touch_selector_get_last_activated_row): Added this method in
585 order to get the last activated row.
586 * examples/hildon-touch-selector-normal-mode-example.c
587 New example, that shows how to use the HildonTouchSelector in
588 HILDON_UI_MODE_NORMAL
590 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
591 Kristian Rietveld <kris@lanedo.com> advices
593 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
595 * hildon/hildon-time-selector.c: (update_format_policy): Do
596 not call update_format_dependant_columns() if not necessary.
597 (update_format_dependant_columns): Remove unnecessary check for
598 the number of columns.
600 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
602 * hildon/hildon-note.c (+hildon_note_constructor),
603 (hildon_note_class_init), (+hildon_note_set_padding),
604 (hildon_note_rebuild): Install a constructor where to set the
605 padding properties in the note, so that it actually works fine.
606 Use hildon_note_set_padding() for this, and also to set it during
609 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
611 * configure.ac: Bump GTK+ requirement to 2.14.3.
612 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
613 when using maemo-gtk to define proper margins for the notes.
615 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
616 with the dialog edge)
618 2009-06-24 Alberto Garcia <agarcia@igalia.com>
620 * hildon/hildon-banner.c
621 (hildon_banner_class_init):
623 (+hildon_banner_size_request):
624 Request always the full width of the screen.
625 (hildon_banner_realize)
626 (-hildon_banner_check_position, hildon_banner_map):
627 hildon_banner_check_position() is not needed in Hildon 2.2.
628 (-hildon_banner_reset_wrap_state)
629 (hildon_banner_constructor, hildon_banner_init):
630 Remove unnecessary calls to hildon_banner_reset_wrap_state()
631 (+banner_do_set_text)
632 (force_to_wrap_truncated):
633 Remove has_been_wrapped and has_been_truncated attributes.
634 (+reshow_banner, hildon_banner_real_show_information)
635 (hildon_banner_show_information_with_markup)
636 (hildon_banner_show_animation, hildon_banner_show_progress)
637 (hildon_banner_set_text, hildon_banner_set_markup):
638 Refactor code. Shrink banner vertically to use the minimum space
639 necessary everytime the text of the label is updated.
640 (screen_size_changed):
641 Call force_to_wrap_truncated() when the size of the screen
644 Fixes: NB#120500 (only device memory connect mmc in use info
645 banner is left aligned)
647 Fixes: NB#120613 (Size of HildonBanner varies depending on
648 previously opened banners)
650 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
652 * hildon/hildon-color-chooser.c
653 (hildon_color_chooser_pointer_motion): Take the widget allocation
656 Fixes: NB#124385 (Unable to select exact point in color mixing box
657 in color palette dialog)
659 2009-06-23 Alejandro G. Castro <alex@igalia.com>
661 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
662 (hildon_pannable_area_dispose)
663 (hildon_pannable_area_button_press_cb)
664 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
665 (hildon_pannable_area_button_release_cb)
666 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
667 New 'panning-started' and 'panning-finished' signals.
669 Fixes: NB#121732 (New feature request: Signal to pannable area
670 that informs when panning is stopped.)
672 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
674 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
675 instead of hardcoded colon.
677 Fixes: NB#124090 (New calendar wizard title is not using
678 ecdg_ti_caption_separator)
680 2009-06-22 David King <davidk@openismus.com>
682 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
683 constants and functions, as well as correct many typos throughout the
686 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
689 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
691 * configure.ac: postrelease version bump.
692 * debian/changelog: post release version bump
694 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
699 * configure.ac: Bump version.
700 * debian/changelog: Updates.
702 2009-06-18 Alberto Garcia <agarcia@igalia.com>
704 * hildon/hildon-window-stack.c
705 (hildon_window_stack_pop_and_push_list):
706 Prevent windows from having the same stack index
708 2009-06-18 Alberto Garcia <agarcia@igalia.com>
710 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
711 Use the index of the previous window rather than the stack length
712 to calculate the new index.
716 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
718 * hildon/hildon-date-selector.c
719 (hildon_date_selector_select_current_date)
720 (hildon_date_selector_get_date)
721 (hildon_date_selector_select_day):
722 Update the documentation: uses always the range (1-31), as it is obvious
723 that the final one will depend on the month and the year, but globally
724 the range is this, in a similar GtkCalendar approach
725 (hildon_date_selector_get_date):
726 Update the documentation: add NULL as a valid value for the day, month
729 Fix some details, after talk with David King on bug MB#4698
731 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
733 * hildon/hildon-touch-selector-entry.c
734 * hildon/hildon-touch-selector.c
735 Update the documentation of the "text-column" property
737 2009-06-18 David King <davidk@openismus.com>
739 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
740 several typos and errors throughout the documentation.
742 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
745 2009-06-18 Alberto Garcia <agarcia@igalia.com>
747 * hildon/hildon-note.c (hildon_note_realize):
748 Make HildonNote support portrait mode.
750 Fixes: NB#123448 (HildonNote is not portrait-friendly)
752 2009-06-17 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
755 Document this function
757 2009-06-17 David King <davidk@openismus.com>
759 * hildon/hildon-date-selector.c
760 (hildon_date_selector_select_current_date)
761 (hildon_date_selector_get_date): Update documentation regarding days,
762 as the day of the month is dependent on both the month and the year.
763 (hildon_date_selector_get_date): Fix documentation of output arguments.
765 Fixes: MB#4698 (DateSelector documentation has bad output argument
766 description, and the day depends on both the month and the year)
768 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
770 * hildon/hildon-caption.c: Other documentation fixes to
773 2009-06-17 David King <davidk@openismus.com>
775 * hildon/hildon-caption.c: Minor documentation updates for
776 HildonCaption. Fixes MB#4697.
778 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
780 * doc/hildon-docs.sgml: Add hildon-version section.
781 * doc/hildon-sections.txt:
782 * hildon/hildon-version.h.in: Document versioning macros and
785 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
787 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
788 from HildonPickerDialog section.
790 2009-06-16 Alberto Garcia <agarcia@igalia.com>
792 * hildon/hildon-banner.c (hildon_banner_bind_style)
793 (screen_size_changed, hildon_banner_init)
794 (hildon_banner_real_show_information)
795 (hildon_banner_show_information_with_markup)
796 (hildon_banner_show_animation, hildon_banner_show_progress):
797 Set a different widget name to banners in portrait mode, for them
798 to be themed correctly.
800 2009-06-16 Alberto Garcia <agarcia@igalia.com>
802 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
803 Set a different widget name to notes in portrait mode, for them to
806 Partially fixes: NB#118401 (HildonNote causes unnecessary
809 2009-06-16 Alberto Garcia <agarcia@igalia.com>
811 * hildon/hildon-note.c (hildon_note_class_init)
812 (+hildon_note_size_request, screen_size_changed):
813 Always request the full width of the screen.
815 Fixes: NB#118375 (unnecessary rescaling of images)
817 2009-06-16 Alejandro G. Castro <alex@igalia.com>
819 * hildon/hildon-pannable-area.c,
820 (hildon_pannable_area_init),
821 (hildon_pannable_area_realize): Replaced old code adding flags in
822 the object init, now we add it with the other flags in the realize
825 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
827 * hildon/hildon-note.c: (hildon_note_class_init): Several
828 documentation improvements to the HildonNote widget.
830 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
832 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
834 Fixes: MB#4556 (HildonNoteType is undocumented)
836 2009-06-15 Alberto Garcia <agarcia@igalia.com>
838 * hildon/hildon-picker-button.c:
839 Explain how HildonPickerButton sets the title of its dialog
841 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
842 the title of its dialog)
844 2009-06-15 Alberto Garcia <agarcia@igalia.com>
846 * hildon/hildon-check-button.c:
847 Documentation updates
849 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
852 2009-06-15 Alberto Garcia <agarcia@igalia.com>
855 * hildon/hildon-edit-toolbar-private.h
856 * hildon/hildon-edit-toolbar.c
857 (+hildon_edit_toolbar_set_progress_indicator)
858 (hildon_edit_toolbar_init): Add progress indicator to the
861 * hildon/hildon-gtk.c
862 (hildon_gtk_window_set_progress_indicator):
863 If the window contains a HildonEditToolbar, enable the progress
866 * hildon/hildon-private.h
867 * hildon/hildon-private.c
868 (+hildon_private_create_animation)
869 * hildon/hildon-banner.c
870 (-hildon_banner_create_animation):
871 Moved to hildon-private.c
873 Fixes: NB#102373 (Progress indicator also for the Edit mode
876 2009-06-15 Alberto Garcia <agarcia@igalia.com>
878 * hildon/hildon-app-menu-private.h
879 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
880 (hildon_app_menu_add_filter, +menu_item_button_event)
881 (hildon_app_menu_button_release, hildon_app_menu_init):
882 Make sure that buttons receive 'button-release-event' in spite of
883 the grab held by HildonAppMenu
885 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
887 2009-06-15 Alberto Garcia <agarcia@igalia.com>
889 * hildon/hildon-app-menu.c
890 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
891 New style property to set the size of the group of filter buttons.
893 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
895 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
900 * configure.ac: Bump version.
901 * debian/changelog: Updates.
903 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
905 * hildon/hildon-main.c: Minor documentation fixes.
907 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
909 * doc/hildon-sections.txt:
910 * hildon/hildon-defines.h: Document the defines, organize them,
911 and mark deprecations as such.
913 Fixes: MB#4463 (Hildon size #defines are undocumented)
915 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
917 * hildon/hildon-animation-actor.c:
918 * hildon/hildon-app-menu.c:
919 * hildon/hildon-button.c:
920 * hildon/hildon-date-editor.c:
921 * hildon/hildon-dialog.c:
922 * hildon/hildon-edit-toolbar.c:
923 * hildon/hildon-entry.c:
924 * hildon/hildon-program.c:
925 * hildon/hildon-remote-texture.c:
926 * hildon/hildon-stackable-window.c:
927 * hildon/hildon-text-view.c:
928 * hildon/hildon-touch-selector.c:
929 * hildon/hildon-window-stack.c:
930 * hildon/hildon-window.c:
932 Remove redundant "represents" wording from most of the documentation.
934 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
936 2009-06-12 Alberto Garcia <agarcia@igalia.com>
941 * hildon/hildon-banner-private.h
942 * hildon/hildon-banner.c:
943 Move HildonBannerPrivate to hildon-banner.c and remove
944 hildon-banner-private.h
945 Use a bit field to store private booleans.
947 2009-06-12 Alberto Garcia <agarcia@igalia.com>
949 * hildon/hildon-app-menu.c (hildon_app_menu_map):
950 Don't install a new idle function if there's already one
955 2009-06-11 Alberto Garcia <agarcia@igalia.com>
957 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
958 (+legacy_menu_realized, +legacy_menu_unmapped)
959 (+set_legacy_menu_type):
960 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
961 they can be identified by the window manager.
963 Fixes: NB#101437 (Invoking CSM on the left side of page area is
964 displayed in wrong location)
966 Fixes: MB#4563 (Popup menu won't locate at the left side of the
969 2009-06-11 Alberto Garcia <agarcia@igalia.com>
971 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
973 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
976 2009-06-11 Alberto Garcia <agarcia@igalia.com>
978 * hildon/hildon-code-dialog.c
979 * hildon/hildon-date-editor.c
980 * hildon/hildon-number-editor.c
981 * hildon/hildon-seekbar.c
982 * hildon/hildon-stackable-window.c
983 * hildon/hildon-window.c:
984 Misc documentation updates
986 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
988 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
989 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
991 Fixes: NB#117931 (Theming issues in accounts dialogs)
993 2009-06-09 Alejandro G. Castro <alex@igalia.com>
995 * hildon/hildon-pannable-area.c,
996 (hildon_pannable_area_button_release_cb): Changed the coordinates
997 of the original release in case we want to discard the release,
998 some widgets in Fremantle do not handle the leave-notify.
1000 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1002 * hildon/hildon-pannable-area.c,
1003 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1004 the release using the last refactored functions and avoiding the
1005 movement if an element was selected.
1007 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1009 * hildon/hildon-pannable-area.c,
1010 (hildon_pannable_area_check_move),
1011 (hildon_pannable_area_handle_move),
1012 (hildon_pannable_area_motion_notify_cb): Refactored the
1013 motion_notify method using a couple of new functions.
1015 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1017 * hildon/hildon-date-selector.c:
1018 (hildon_date_selector_construct_ui):
1019 * hildon/hildon-time-selector.c:
1020 (hildon_time_selector_constructor):
1021 * hildon/hildon-touch-selector-entry.c:
1022 (hildon_touch_selector_entry_set_text_column),
1023 (hildon_touch_selector_entry_get_text_column):
1024 * hildon/hildon-touch-selector.c: (_default_print_func),
1025 (hildon_touch_selector_new_text): Use
1026 hildon_touch_selector_set/get_text_column() instead of
1027 setting/getting the "text-column" property.
1029 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1031 * doc/hildon-sections.txt: Add the new public methods below.
1033 * examples/hildon-picker-button-multicolumn-example.c:
1034 (create_touch_selector):
1035 * examples/hildon-touch-selector-example.c: (create_selector):
1036 * examples/hildon-touch-selector-multi-cells-example.c:
1038 Use hildon_touch_selector_column_set_text_column()
1040 * hildon/hildon-touch-selector-column.h:
1041 * hildon/hildon-touch-selector.c:
1042 (hildon_touch_selector_column_set_text_column),
1043 (hildon_touch_selector_column_get_text_column):
1044 Make hildon_touch_selector_column_set/get_column() public, use
1045 them in the inline example, document them, and reference to them
1048 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1050 * hildon/hildon-time-selector.c: Fix the docs for
1051 hildon_time_selector_new_step().
1053 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1055 * hildon/hildon-touch-selector.c: Improve the documentation for
1056 hildon_touch_selector_append_column().
1058 Fixes MB#4641 (Documentation:
1059 hildon_touch_selector_append_column() ref-counting)
1061 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1063 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1064 Comment out test 5, since the hildon_controlbar_set_range() range
1065 check is broken and fixing it would have side effects. Also,
1066 this finally fixes make distcheck.
1068 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1070 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1072 * tests/TEST-CASES.txt: Remove other bogus test.
1073 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1074 Remove bogus test that was setting/retrieving a valid value.
1076 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1078 * tests/TEST-CASES.txt: Remove bogus tests.
1079 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1080 Remove three bogus tests that were actually setting valid colors.
1082 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1084 * configure.ac: post release version bump
1085 * debian/changelog: post release version bump
1087 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: Bump version.
1093 * debian/changelog: Updates.
1095 2009-06-08 Christian Dywan <christian@lanedo.com>
1099 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1100 Correct errors in hildon_format_file-size_for_display and use
1101 translations from the hildon-fm package instead of osso-filemanager.
1103 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1105 * hildon/hildon-pannable-area.c,
1106 (hildon_pannable_area_init): Initialized new values to handle the
1107 adjustment position.
1108 (hildon_pannable_area_adjust_value_changed): Check if the values
1109 changed before even call the redraw function.
1110 (hildon_pannable_area_size_allocate),
1111 (hildon_pannable_axis_scroll),
1112 (hildon_pannable_area_scroll),
1113 (hildon_pannable_area_jump_to): Improved the diagonal movement
1116 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1119 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1121 * examples/hildon-banner-example.c:
1122 Several style updates
1123 (on_animation_clicked, on_animation_idle)
1124 (on_progress_clicked, on_progress_idle):
1125 Add additional reference for the cases when the parent window is
1128 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1130 * doc/hildon-sections.txt
1131 * hildon/hildon-pannable-area.c
1132 * hildon/hildon-banner.h
1133 * hildon/hildon-banner.c: Documentation updates.
1135 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1138 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1140 * hildon/hildon-calendar-popup.h:
1141 * hildon/hildon-caption.h:
1142 * hildon/hildon-code-dialog.h:
1143 * hildon/hildon-controlbar.h:
1144 * hildon/hildon-date-editor.h:
1145 * hildon/hildon-dialog.h:
1146 * hildon/hildon-get-password-dialog.h:
1147 * hildon/hildon-hvolumebar.h:
1148 * hildon/hildon-login-dialog.h:
1149 * hildon/hildon-note.h:
1150 * hildon/hildon-number-editor.h:
1151 * hildon/hildon-range-editor.h:
1152 * hildon/hildon-seekbar.h:
1153 * hildon/hildon-set-password-dialog.h:
1154 * hildon/hildon-sort-dialog.h:
1155 * hildon/hildon-time-editor.h:
1156 * hildon/hildon-time-picker.h:
1157 * hildon/hildon-volumebar-range.h:
1158 * hildon/hildon-volumebar.h:
1159 * hildon/hildon-vvolumebar.h:
1160 * hildon/hildon-weekday-picker.h:
1161 * hildon/hildon-window.h:
1162 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1163 macros with the current replacements
1165 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1167 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1169 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1170 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1171 itself, to make it fit better with Fremantle style.
1173 Fixes: NB#109878 (height and width of focus on color icon is not
1174 consistent with other item in the application tool bar)
1176 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1178 * hildon/hildon-touch-selector.c:
1179 (hildon_touch_selector_optimal_size_request): use the current requisition
1180 as the base, in order to include any possible extra widget, like the
1181 hildon entry on HildonTouchSelectorEntry
1183 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1185 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1187 * configure.ac: post release version bump
1188 * debian/changelog: post release version bump
1190 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1195 * configure.ac: Bump version.
1196 * debian/changelog: Updates.
1198 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1200 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1202 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1203 to ensure the banner contents are centered, instead of relying on
1204 the expand and fill properties in GtkHBox.
1205 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1207 Fixes: NB#108265 (Animation banner not properly centered)
1209 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1211 * hildon/hildon-pannable-area.c
1212 (hildon_pannable_area_initial_effect): Remove the initial_effect
1213 management, check initial_hint
1214 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1215 set initial_effect to FALSE
1216 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1217 by launching the fade_timeout if the scrollbars state has changed and are
1219 * examples/hildon-pannable-area-initial-hint-example.c
1220 Modified to allow to remove rows too. Add and remove rows one by one.
1222 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1224 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1225 Don't close the menu if there's an animation actor below it.
1227 Fixes: NB#117927 (Application menu not usable with animation
1230 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1232 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1233 "focus-on-click" from the dialog button, to avoid stealing the
1234 focus from the entry.
1236 Fixes: NB#118903 (Account setup wizard: Text in Search field
1237 should be focused when "Region" touch list picker is reopened
1240 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1242 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1243 (prepare_action_area): Completely hide the dialog separator.
1245 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1247 * hildon/hildon-touch-selector-entry.c
1248 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1249 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1250 now that the entry is exposed.
1252 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1254 * hildon/hildon-touch-selector-entry.c
1255 (hildon_touch_selector_entry_init): Change the entry's size
1256 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1258 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1260 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1261 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1262 avoid unnecessary scaling.
1264 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1266 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1267 Create grab transfer window before calling parent's map function.
1269 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1270 "crushed" button(s) in the top left corner)
1272 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1274 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1275 Check if the window is already realized when pushing it.
1277 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1279 * configure.ac: post release version bump
1280 * debian/changelog: post release version bump
1282 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1287 * configure.ac: Bump version.
1288 * debian/changelog: Updates.
1290 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1292 * hildon/hildon-app-menu.c: Doc updates.
1294 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1296 * hildon/hildon-banner.c: Remove leftover macro.
1298 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1300 * hildon/hildon-pannable-area.c,
1301 (hildon_pannable_area_scroll_indicator_fade),
1302 (hildon_pannable_area_button_release_cb): Reviewed vmin
1303 conditions, it could cause problems in the fadeout procedure.
1305 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1307 * hildon/hildon-pannable-area.c
1308 (hildon_pannable_area_button_release_cb): Added a threshold to
1309 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1311 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1313 * hildon/hildon-pannable-area.c,
1314 (hildon_pannable_area_set_property): Added code to sync the gtk
1315 dnd threshold with the panning threshold.
1317 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1319 * hildon/hildon-pannable-area.c,
1320 (hildon_pannable_area_class_init): Changed some of the default
1321 values, now it should be less responsive and more accurate.
1323 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1325 * hildon/hildon-pannable-area.c,
1326 (hildon_pannable_area_init),
1327 (hildon_pannable_area_scroll_indicator_fade),
1328 (hildon_pannable_area_button_press_cb),
1329 (hildon_pannable_axis_scroll),
1330 (hildon_pannable_area_timeout),
1331 (hildon_pannable_area_motion_notify_cb),
1332 (hildon_pannable_area_button_release_cb): Changed the name of the
1333 clicked attribute to button_pressed, it is more clear about its use.
1335 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1337 * src/hildon-pannable-area.c
1338 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1340 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1341 vertical scrollbar visibility, and use the data on private section instead,
1342 remove the initial_hint check
1343 (hildon_pannable_area_expose_event): add the initial_hint check here
1345 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1347 * src/hildon-pannable-area.c
1348 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1349 if the fadeout effect was used
1350 (hildon_pannable_area_expose_event): check if it is required to
1351 manage the initial effect on the begining of the function. Previously
1352 it was made at the end, but this doesn't ensure that the scrollbars
1353 will be painted on the first show. Do not set to FALSE initial_effect,
1354 to ensure that the initial hint is showed the first time the pannable
1356 * examples/Makefile.am
1357 * examples/hildon-pannable-area-initial-hint-example.c:
1358 New example, to show that the initial-hint is showed when the widget
1361 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1362 initially if the application can be scrolled)
1364 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1366 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1367 Resize table before adding new items to make sure that
1368 gtk_table_resize() is called just once.
1370 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1372 * hildon/hildon-app-menu-private.h
1373 * hildon/hildon-app-menu.c (item_visibility_changed)
1374 (filter_visibility_changed, hildon_app_menu_show_all)
1375 (hildon_app_menu_hide_all, hildon_app_menu_init):
1376 Rearrange items just once when gtk_widget_show_all()/hide_all()
1379 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1381 * hildon/hildon-app-menu.c
1382 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1383 Don't call gtk_widget_show() on added items.
1385 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1386 automatically when they're added)
1388 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1390 * hildon/hildon-banner.c
1391 (hildon_banner_realize, +hildon_banner_unrealize)
1392 (+screen_size_changed, hildon_banner_class_init):
1393 Redisplay the banner if the screen is rotated.
1395 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1396 on transition from landscape to portrait)
1398 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1400 * hildon/hildon-banner.[ch]:
1401 (hildon_banner_show_information_override_dnd): remove icon_name from the
1402 method definition as it is ignored.
1403 * examples/hildon-banner-dnd-example.c: updated with the change on
1406 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1408 * hildon/hildon-banner-private.h: new require_override_dnd and
1409 overrides_dnd variables
1410 * hildon/hildon-banner.h:
1411 (hildon_banner_show_information_override_dnd): new method, that shows
1412 the information but sets the override flag, in order to show important
1414 * hildon/hildon-banner.c
1415 (hildon_banner_show_information_override_dnd): new method
1416 (hildon_banner_set_override_flag): new utility function
1417 (hildon_banner_real_show_information): new utility function, in order to
1418 generalize the current hildon_banner_show_information_override_dnd and
1419 hildon_banner_show_information_override_dnd
1420 * examples/Makefile.am
1421 * examples/hildon-banner-dnd-example.c: New example that show how to
1422 use the new hildon_banner_show_information_override_dnd
1424 Fixes: NB#114874 (There is no possibility to show hildon banners with
1427 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1429 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1430 behind hildon_pannable_calculate_vel_factor().
1432 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1434 * hildon/hildon-pannable-area.c
1435 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1436 deceleration factors.
1438 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1440 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1441 Reduce the default value for 'scroll_time' to 1 second, since the
1442 current initial scrolling takes too much time.
1444 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1446 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1447 calculate velocity factor during initialization, since the properties
1450 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-pannable-area.c
1453 (hildon_pannable_area_set_property): Calculate the velocity factor
1454 after setting the deceleration property and not after.
1456 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1458 * hildon/hildon-entry.c
1459 (hildon_entry_class_init, +set_property, hildon_entry_new)
1460 * hildon/hildon-check-button.c
1461 (hildon_check_button_class_init)
1462 (+set_property, hildon_check_button_new):
1463 Make the theme size a property.
1465 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1466 others) do too much in the _new function)
1468 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1470 * configure.ac: post release version bump
1471 * debian/changelog: post release version bump
1473 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1478 * configure.ac: Bump version.
1479 * debian/changelog: Updates.
1481 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1483 * hildon/hildon-gtk.h
1484 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1485 New API function to take a screenshot of a window
1487 Fixes: NB#106374 (Need API to take a loading screenshot)
1489 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1491 * hildon/hildon-time-selector.c
1492 (update_format_policy): prevent to use hours and minutes unitialized
1494 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1496 * hildon/hildon-window.c (hildon_window_size_request):
1497 Always request the full size of the screen (minus the title bar if
1498 not in fullscreen mode).
1500 Fixes: NB#107486 (HildonWindow should size itself properly)
1502 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1504 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1505 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1506 (on_show_cb), (sound_handling): Disconnect the idle handler for
1507 the sound when the note is finalized to avoid possible crashes.
1509 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1512 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1514 * src/hildon-animation-actor.c,
1515 * src/hildon-remote-texture.c:
1516 Added proper object cleanup to remove signal handler and object
1517 references as HildonAnimationActor and HildonRemoteTexture
1518 objects get destroyed.
1520 Fixes: NB#116682 (Destroying parented animation actors when
1521 parent in unmapped leads to crash)
1523 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1525 Based on a patch by Christian Dywan (christian@imendio.com)
1527 * doc/hildon-sections.txt:
1528 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1529 * hildon/hildon-helper.h: New file size formatting method.
1531 * debian/control: Depend on osso-filemanager l10n package for
1532 proper localization strings.
1534 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1536 * tests/Makefile.am: Include top_srcdir to make possible to build
1537 tests in a different builddir.
1538 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1539 on a different builddir.
1541 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1543 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1544 (hildon_touch_selector_remove): Disconnect model's signal handler
1547 Fixes: NB#116289 (Hildon home crashes while adding task
1550 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1552 * hildon/hildon-button.c
1553 (hildon_button_set_title, hildon_button_set_value):
1554 Hide labels containing an empty string.
1556 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1558 * configure.ac: post release version bump
1559 * debian/changelog: post release version bump
1561 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1566 * configure.ac: Bump version.
1567 * debian/changelog: Updates.
1569 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1571 * hildon/hildon-note-private.h: Removed sound_signal_handler
1572 * hildon/hildon-note.c
1573 (on_show_cb): new callback on note "show" event, this simply adds
1574 a idle, with the function sound_handling
1575 (sound_handling): removed the sound_signal_handler management
1576 (hildon_note_init): connect note "show" event to on_show_cb
1577 (hildon_note_realize): remove the connection to "expose-event"
1579 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1580 device?' confirmation note)
1582 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1584 * hildon/hildon-note.c
1585 (hildon_note_new_information_with_icon_name)
1586 (hildon_note_new_confirmation_with_icon_name):
1587 Terminate the list of parameters in g_object_set() calls
1589 Fixes: NB#115166 (Formatting memory card is not taking place)
1591 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1593 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1594 "dialog-information" role for the sound being played.
1596 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1598 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1599 Don't make the menu a modal window, it causes strange interactions
1600 with the pointer grab and it's not really needed.
1602 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1604 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1606 * hildon/hildon-touch-selector.[ch]
1607 (hildon_touch_selector_optimal_size_request): function added to get a
1608 optimal size request from the touch selector, when you want a dialog to
1609 show as much of the selector
1610 * hildon/hildon-picker-dialog.c:
1611 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1612 (hildon_app_menu_class_init):
1613 New "max-height-landscape" and "max-height-portrait" style properties
1614 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1615 (hildon_picker_dialog_get_max_height): returns the maximum height using
1616 the style properties defined and checking the current portrait/landscape
1618 (_hildon_picker_dialog_set_selector): removed the set_size_request
1620 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1622 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1624 * hildon/hildon-bread-crumb-trail.c:
1625 * hildon/hildon-bread-crumb.c:
1626 * hildon/hildon-seekbar.c:
1627 Add reference to replacements for these deprecated widgets.
1629 Fixes: MB#4461 (Documentation: All deprecations should mention
1632 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1634 * examples/hildon-remote-texture-example.c
1636 Change the include to the hildon-remote-texture in order to compile
1637 properly the examples on the installed libhildon1-examples package
1639 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1641 * tests/Makefile.am: Add check for HildonPickerButton.
1642 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1643 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1644 checks for the HildonPickerButton.
1645 * tests/check_test.c (configure_tests): Add the test suite.
1646 * tests/test_suites.h: likewise.
1648 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1650 * hildon/hildon-touch-selector.c
1651 (+on_row_changed): Emit HildonTouchSelector:changed when the
1652 contents of a selected row change.
1653 (_create_new_column), (_hildon_touch_selector_set_model): connect
1654 to GtkTreeModel:row-changed on a newly set model.
1656 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1658 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1660 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1662 * hildon/hildon-banner.c (hildon_banner_destroy)
1663 (hildon_banner_show_progress, hildon_banner_set_fraction):
1664 Remove the progress bar from HildonBanner and use a progress
1667 Fixes: NB#113761 (Update progress banner to use progress
1670 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1672 * hildon/hildon-banner.c:
1673 Calculate size of the banner label using the actual screen width
1674 rather than using a fixed value.
1676 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1679 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1681 * hildon/hildon-pannable-area.c,
1682 (hildon_pannable_area_class_init): Fixed signals documentation
1685 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1687 * configure.ac: post release version bump
1688 * debian/changelog: post release version bump
1690 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1695 * configure.ac: Bump version.
1696 * debian/changelog: Updates.
1698 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1700 * hildon/hildon-edit-toolbar.c
1701 (hildon_edit_toolbar_init):
1702 Don't let buttons in HildonEditToolbar receive focus.
1704 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1705 typing on an HW arrows key)
1707 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1709 * doc/Makefile.am: Fix build.
1711 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1713 * doc/Makefile.am: Do not redefine content_files.
1715 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1723 Renamed src/ to hildon/
1728 Include <hildon/hildon.h> directly in all examples.
1730 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1732 * src/hildon-sort-dialog.c
1733 (hildon_sort_dialog_add_sort_key_with_sorting)
1737 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1740 make distcheck passes.
1742 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1744 * Makefile.am: Enable gtk-doc during distcheck.
1746 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1748 * Makefile.am: Do not distribute the debian/ directory.
1750 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1752 * doc/Makefile.am: Add the extra SGML files to content_files,
1753 so that they are distributed properly.
1755 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1757 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1760 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1762 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1763 (hildon_note_new_information_with_icon_name): Set the "icon" property
1764 to preserve soundness.
1766 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-font-selection-dialog.c
1769 (hildon_font_selection_dialog_set_property): Fail when the "family"
1770 property is set to NULL.
1772 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1774 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1777 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1779 * src/hildon-time-selector.h:
1780 Added HildonTimeSelectorFormatPolicy
1781 * src/hildon-time-selector.c:
1782 Added PROP_TIME_FORMAT_POLICY
1783 (_check_ampm_format): renamed to check_automatic_ampm_format
1784 (update_format_policy), (update_format_dependant_columns): new functions
1785 (hildon_time_selector_class_init)
1786 (hildon_time_selector_contructor)
1787 (hildon_time_selector_init)
1788 (hildon_time_selector_get_property)
1789 (hildon_time_selector_set_property)
1790 (hildon_time_selector_get_time)
1791 (hildon_time_selector_set_time)
1792 * src/hildon-touch-selector.h: new file
1793 * src/hildon-touch-selector.c
1794 (hildon_touch_selector_emit_changed)
1795 (hildon_touch_selector_block_changed)
1796 (hildon_touch_selector_unblock_changed)
1797 Added functions to allow to block the emission of the "changed" signal
1798 * src/hildon-picker-dialog.c
1799 (hildon_picker_dialog_show): call the parent show before the custom code
1800 * examples/hildon-time-button-example.c
1801 Modified, so now you can configure the time format using the new property
1803 Added a new property "time-format-policy" that allow to choose the time
1804 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1805 case it uses gconf in order to check if the time selector must use
1808 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1811 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-note.c (hildon_note_init):
1814 Label in HildonNote must be left aligned, not centered. This
1815 reverts the last commit in HildonNote.
1817 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1818 is connectivity dialog)
1820 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1825 * doc/hildon-sections.txt:
1826 Added hildon_gtk_window_set_do_not_disturb()
1828 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1830 * src/hildon-note.c (hildon_note_init): Center label.
1832 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1835 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1840 * configure.ac: Bump version.
1841 * debian/changelog: Updates.
1843 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1845 * src/hildon-note-private.h: Add button-width to the private data.
1846 * src/hildon-note.c (+resize_button),
1847 (+hildon_note_orientation_update): methods to repack widgets on orientation
1849 (screen_size_changed): Call above method for confirmation notes.
1850 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1851 (hildon_note_rebuild): Store the original width request from buttons.
1853 Fixes: NB#109635 (Confirmation notes do not support portrait)
1855 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1858 when it is a progress note.
1860 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1863 in the note, since there are no horizontally arranged contents.
1865 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-gtk.c (+set_flag): new generic method to
1868 set/delay a flag setting in a window.
1869 (hildon_gtk_window_set_progress_indicator):
1870 (hildon_gtk_window_set_do_not_disturb),
1871 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1872 avoid code redundance.
1874 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1876 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1878 * src/hildon-gtk.c (set_clear_window_flag),
1879 (do_set_progress_indicator), (do_set_do_not_disturb),
1880 (do_set_portrait_flags),
1881 (hildon_gtk_window_set_progress_indicator),
1882 (hildon_gtk_window_set_do_not_disturb),
1883 (hildon_gtk_window_set_portrait_flags):
1884 Allow setting dnd-flag, progress indicator, and portrait flags
1885 when the window is not realized.
1887 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1889 * src/hildon-pannable-area.c,
1890 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1891 the size request policy function and defines.
1893 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1895 * doc/hildon-sections.txt: Add the new API.
1896 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1897 method to set the portrait flags.
1898 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1900 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1902 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1904 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1905 to allow using this method with other flags.
1906 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1907 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1909 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-touch-selector.c
1912 (hildon_touch_selector_append_text_column):
1913 Make the cell renderer use the smallest width possible.
1915 Fixes: NB#108470 (Selected items in multiple selection are either
1916 having a tick that is cut or not visible at all.)
1918 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1920 * src/hildon-touch-selector.c
1921 (hildon_touch_selector_append_text_column):
1924 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1926 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1927 Use g_strdup_printf() instead of a fixed size buffer.
1929 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1932 Close banners when a HildonAppMenu is popped up.
1934 Fixes: NB#111027 (Title menu closed immediately if activated when
1935 "Invalid e-mail address" banner is shown)
1937 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1942 * configure.ac: Bump version.
1943 * debian/changelog: Updates.
1945 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-banner.c (hildon_banner_realize):
1948 Mark HildonBanner as supporting portrait mode.
1949 Use GDK to set window properties insetad of direct Xlib calls.
1951 Fixes: NB#111830 (HildonBanner should be marked as supporting
1954 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1956 * src/hildon-note.c (hildon_note_rebuild):
1957 Hide action area in information notes. Prevents text from being
1958 slightly aligned to the left.
1960 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1963 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1965 Patch by Mox Soini (ext-mox.soini@nokia.com)
1967 * src/hildon-banner.c (hildon_banner_create_animation):
1968 Use stylus-sized icons in animation banner.
1970 Fixes: NB#111206 (stylus sized icon for animation banner)
1972 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1976 (+hildon_gtk_window_set_do_not_disturb):
1977 New API to set the do-not-disturb flag.
1979 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1981 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1983 * examples/hildon-progress-indicator-example.c: Fix example
1985 * src/hildon-gtk.c (set_clear_window_flag)
1986 (hildon_gtk_window_set_progress_indicator):
1987 Create a generic function for setting flags to a window.
1988 Use GDK instead of direct Xlib calls.
1990 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-button.c (hildon_button_set_arrangement):
1993 Due to NB#88126, if one of the labels is too long it will be
1994 painted outside the button. The 'value' label is more likely to be
1995 the longest one, so we change its packing options in order to
1996 truncate it if necessary. As a side effect, the 'title' label will
1997 no longer be truncated.
1999 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2001 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2006 * configure.ac: Bump version.
2007 * debian/changelog: Updates.
2009 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2011 Deprecation of the hildon_pannable_area_set_size_request_policy
2012 API, the only policy properly supported in gtk+ nowadays is the
2015 * src/hildon-pannable-area.c,
2016 (hildon_pannable_area_size_request): Added a workaround for the
2017 size_request to avoid the problems of huge pixmaps in case someone
2018 is still using the function.
2019 * src/hildon-pannable-area.h: Deprecated the enum with the
2022 Fixes: NB#110244 (Problems with the
2023 hildon_pannable_area_set_size_request_policy API)
2025 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2027 * src/hildon-pannable-area.c,
2028 (hildon_pannable_area_init),
2029 (hildon_pannable_area_size_request),
2030 (hildon_pannable_area_style_set),
2031 (hildon_pannable_draw_vscroll),
2032 (hildon_pannable_draw_hscroll),
2033 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2034 indicator_width to clarify the use of the attribute.
2036 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2041 * configure.ac: Bump version.
2042 * debian/changelog: Updates.
2044 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2046 * src/hildon-picker-dialog.c
2047 * src/hildon-touch-selector.c
2048 Reverting the change that tried to avoid the hardcoded height on
2049 the picker dialog, as causes problems on the hildon-touch-selector
2052 Fixes: NB#110029 (selectors not scrolling to selected value)
2054 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2056 * src/hildon-touch-selector.c: Fix typos
2058 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2061 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2062 request more motions after using it.
2064 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-calendar.c (hildon_calendar_expose),
2067 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2068 Remove unused variables.
2070 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2072 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2073 variable assignment.
2075 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2077 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2078 Check the return value of gtk_tree_selection_get_selected()
2081 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2083 * src/hildon-animation-actor.c
2084 * src/hildon-button.c
2086 * src/hildon-pannable-area.c
2087 * src/hildon-picker-button.c
2088 * src/hildon-program.c
2089 * src/hildon-remote-texture.c
2090 * src/hildon-text-view.c
2091 * src/hildon-touch-selector.c
2092 * src/hildon-window-stack.c
2093 * src/hildon-window.c:
2094 Add missing 'Since: 2.2' tags.
2096 * doc/hildon-sections.txt:
2097 Add some missing symbols.
2099 * doc/hildon-docs.sgml:
2100 New 'Other' section for HildonAnimationActor and
2103 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2105 Patch by Iván Gómez (igomez@igalia.com)
2108 * doc/compiling.sgml
2109 * doc/hildon-docs.sgml
2110 * doc/hildon-sections.txt
2111 * doc/migration.sgml
2112 * doc/resources.sgml
2114 New chapters on using the Hildon library.
2115 Updated the general structure of the reference manual.
2116 Other minor documentation fixes.
2118 * src/hildon-calendar-popup.c
2119 * src/hildon-calendar.c
2120 * src/hildon-controlbar.c
2121 * src/hildon-date-editor.c
2122 * src/hildon-dialog.c
2123 * src/hildon-hvolumebar.c
2124 * src/hildon-number-editor.c
2125 * src/hildon-range-editor.c
2126 * src/hildon-sort-dialog.c
2127 * src/hildon-time-editor.c
2128 * src/hildon-time-picker.c
2129 * src/hildon-volumebar-range.c
2130 * src/hildon-volumebar.c
2131 * src/hildon-vvolumebar.c
2132 * src/hildon-weekday-picker.c:
2133 Add deprecation notes
2135 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2136 Document 'horizontal-movement' and 'vertical-movement' signals.
2138 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2143 * configure.ac: Bump version.
2144 * debian/changelog: Updates.
2146 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2148 * src/hildon-pannable-area.c,
2149 (hildon_pannable_area_class_init): increased the minimum velocity.
2150 (hildon_pannable_area_button_release_cb): Updated the
2151 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2152 setup. Review the code to control that last event.
2154 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2157 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2159 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2161 * src/hildon-get-password-dialog.c
2162 (hildon_get_password_set_property),
2163 (hildon_get_password_get_property), (create_contents):
2164 * src/hildon-login-dialog-private.h:
2165 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2166 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2167 (hildon_login_dialog_get_password):
2168 * src/hildon-set-password-dialog-private.h:
2169 * src/hildon-set-password-dialog.c
2170 (hildon_set_password_set_property),
2171 (hildon_set_password_get_property), (create_contents),
2172 (hildon_set_password_response_change),
2173 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2175 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2176 instead and look more Fremantle style.
2178 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2180 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2182 * doc/hildon-sections.txt
2183 * src/hildon-window-stack.h
2184 * src/hildon-window-stack.c
2185 (+hildon_window_stack_get_windows):
2186 New API to obtain the list of windows on a stack.
2188 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2190 * src/hildon-app-menu.c (hildon_app_menu_popup)
2191 (hildon_app_menu_class_init, -hildon_app_menu_show):
2192 Remove hildon_app_menu_show() and move all its checks to
2193 hildon_app_menu_popup()
2195 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2197 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2198 (_hildon_picker_dialog_set_selector): removed call to
2199 gtk_widget_set_size_request
2200 * src/hildon-touch-selector.c
2201 (_create_new_column): change the pannable size request policy
2203 Avoid to use a hardcoded height for the hildon picker dialog. In order
2204 to get that, we needed to change the hildon pannable size request
2206 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2208 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2210 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2211 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2214 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2216 * debian/control: Depend on osso-system-lock localization package.
2217 * src/hildon-code-dialog.c: Obtain the secu_application_title
2218 translation from osso-system-lock.
2219 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2220 for translation the atk related strings, that's not necessary.
2221 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2222 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2223 cancel button, it is not required.
2225 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2227 * src/hildon-pannable-area.c,
2228 (hildon_pannable_area_class_init): Modified the default value of
2229 the overshooting max speed, we have reduced it.
2231 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2233 * doc/hildon-sections.txt
2234 * src/hildon-window-private.h
2235 * src/hildon-window.h
2236 * src/hildon-window.c (hildon_window_class_init)
2237 (hildon_window_init, hildon_window_finalize)
2238 (hildon_window_realize, hildon_window_get_property)
2239 (hildon_window_set_property, hildon_window_update_markup)
2240 (hildon_window_get_markup, hildon_window_set_markup):
2241 New "markup" property and hildon_window_{get,set}_markup() methods.
2243 * examples/hildon-stackable-window-example.c (new_window):
2244 Update example to use hildon_window_set_markup()
2246 Fixes: NB#106375 (Need API to retitle a window with a title
2249 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2251 * src/hildon-pannable-area.c,
2252 (hildon_pannable_area_class_init): Changed the default value of
2253 the initial_hint to TRUE.
2254 (hildon_pannable_area_initial_effect): Changed the initial effect,
2255 not the effect is just the fade-out of the scrollbars.
2257 Fixes: NB#107775 (No scrollbars can be seen when several items are
2258 available in a dialog)
2260 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-program.c (hildon_program_update_top_most):
2265 Fixes: NB#109179 (Memory leak in Hildon program)
2267 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-banner.c (-get_current_app_window):
2270 Remove unused function.
2272 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2274 * src/hildon-pannable-area.c: Modified the documentation of the
2275 get adjustments functions to explain the problem of using the
2276 adjustment directly.
2277 (hildon_pannable_area_class_init): Improved the explanation about
2280 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2282 * src/hildon-app-menu-private.h
2283 * src/hildon-app-menu.c
2284 (hildon_app_menu_class_init):
2285 Bring back the 'external-border' style property
2286 (hildon_app_menu_class_init, hildon_app_menu_init)
2287 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2288 Set a fixed width-request for the menu, independent of the number
2291 Fixes: NB#94957 (Smoothly opened application menu)
2293 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2295 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2297 * src/hildon-banner.c
2298 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2300 Make sure that the banner is correctly placed the first time it's
2302 (hildon_banner_check_position, -check_fullscreen_state):
2303 Show the banner in the same place no matter if the window is in
2304 fullscreen mode or not.
2306 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2308 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2310 * src/hildon-touch-selector.c (_default_print_func): reorder
2311 concatenation for clarity.
2313 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2316 for multicolumn selectors.
2318 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2320 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2325 * configure.ac: Bump version.
2326 * debian/changelog: Updates.
2328 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2333 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2335 * configure.ac: removed libcangerra-gtk dependency
2336 * debian/control: removed libcanberra-gtk dependency
2337 * src/Makefile.am: removed libcanberra gtk related flags
2338 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2339 context, and manage a global canberra context instead
2341 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2343 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2345 Patch by Daniel Borgmann (danielb@openismus.com)
2347 * src/hildon-edit-toolbar.c:
2348 Adjust the left padding.
2349 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2350 Paint background of the edit toolbar.
2352 Fixes: NB#107897 (Patch to make editmodetoolbar background
2353 themeable and adjust margin)
2355 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2357 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2359 * src/hildon-program.c (hildon_program_update_top_most):
2360 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2362 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2363 change when the user tasks in/out of an application)
2365 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2367 * configure.ac: added libcangerra-gtk dependency
2368 * debian/control: added libcanberra-gtk dependency
2369 * src/Makefile.am: added libcanberra gtk related flags
2370 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2373 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2375 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-program.c (hildon_program_remove_window)
2378 (hildon_program_add_window): Add checks for the window
2379 parameter. Don't decrease the window counter if the window is not
2382 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2384 * src/hildon-pannable-area.c,
2385 (hildon_pannable_area_realize): Fixed position of the event_window
2386 in the realize method.
2388 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2390 * src/hildon-app-menu-private.h
2391 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2392 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2393 (hildon_app_menu_key_press, hildon_app_menu_init)
2394 (hildon_app_menu_finalize):
2395 Make sure that all idle functions are removed when the widget is
2398 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2400 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2405 * configure.ac: Bump version.
2406 * debian/changelog: Updates.
2408 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-entry.c
2411 (+hildon_entry_show_placeholder),
2412 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2413 that replace hildon_entry_update_contents().
2414 (hildon_entry_set_text),
2415 (hildon_entry_set_placeholder),
2416 (hildon_entry_focus_in_event),
2417 (hildon_entry_focus_out_event): Determine when it is needed
2418 either to show or hide the placeholder and call the above methods.
2420 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2421 when the placeholder text is already set)
2423 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2426 simple GdkPixbufAnim using the new icons for the banner.
2427 (hildon_banner_show_animation): Use the above mentioned method to
2428 create the animation widget.
2430 Fixes: NB#103564 (Make hildon animation banner use individual
2431 image files as the animation)
2433 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_leave_notify_event): Check if the child is NULL
2437 to avoid sending the leave.
2439 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2441 * src/hildon-pannable-area.c,
2442 (hildon_pannable_area_class_init),
2443 (hildon_pannable_leave_notify_event): Added a handler of the
2444 leave-notify-signal to consider when no motion notify before
2447 Fixes: NB#107494 (Items stay selected when clicking and moving
2448 away when inside pannable area)
2450 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2455 * configure.ac: Bump version.
2456 * debian/changelog: Updates.
2458 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2460 Patch by Alberto Garcia (agarcia@igalia.com)
2462 * src/hildon-date-button.c,
2463 (hildon_date_button_class_init),
2464 (hildon_date_button_init): Removed the construct property handling
2465 and created a default selector in the init method.
2466 * src/hildon-picker-button.c,
2467 (hildon_picker_button_class_init): Removed the construct flag of the
2470 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2472 * src/hildon-main.c (hildon_init):
2473 Don't allow hildon_init() to be called more than once.
2475 Fixes: NB#106607 (hildon_init should issue error message upon
2478 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2480 * examples/hildon-pannable-area-touch-list-example.c
2481 * examples/hildon-pannagle-area-touch-grid-example.c
2482 * examples/hildon-edit-toolbar-example.c
2483 * examples/hildon-touch-selector-multi-cells-example.c
2484 Removed the call to gtk_rc_parse_string, as it is not required since
2487 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2489 * src/hildon-pannable-area.c,
2490 (hildon_pannable_area_class_init): Modified the default panning
2491 threshold of the widget to 6px.
2493 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2494 than the threshold value ) within the button is not sending the
2497 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2499 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2500 for the treeview in the new column. This way, the touch list will never
2503 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2504 be selected manually for the HW keys to work)
2506 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2509 comparison instead of using strcmp(). Fixes a compiler warning as well.
2511 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2513 * doc/hildon-docs.sgml: Do not set the library version in the
2514 document title, use the releaseinfo tag for that purpose instead.
2516 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2519 Do not jump to the first item if the text in the entry is removed.
2521 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2526 * configure.ac: Bump version.
2527 * debian/changelog: Updates.
2529 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2531 * src/hildon-entry.c (hildon_entry_refresh_contents):
2532 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2533 Use "ReversedSecondaryTextColor" for the placeholder text.
2535 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2537 * src/hildon-text-view.c: Fix compilation warning.
2539 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2541 * src/hildon-button.c (hildon_button_class_init): Don't make
2542 "title" and "value" construction properties, to prevent them from
2543 overwriting labels set from derived classes.
2545 * src/hildon-picker-button.c
2546 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2547 (hildon_picker_button_class_init): Make touch-selector a
2548 construction property.
2550 * src/hildon-date-button.c (hildon_date_button_class_init)
2551 (+hildon_date_button_constructed): Add a default date selector if
2554 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2556 * src/hildon-touch-selector.c: Small documentation fixes.
2558 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2560 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2562 * src/hildon-entry.c (hildon_entry_refresh_contents),
2563 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2564 widget name, set the logical color directly instead and a boolean
2565 showing_placeholder instead.
2566 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2567 use the widget name here either.
2569 Fixes: NB#105678 (HildonTextView should use logical colours
2570 instead of setting widget name)
2572 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2574 Patch by Daniel Elster (danielk@openismus.com)
2576 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2577 Add user_data parameter.
2578 (hildon_touch_selector_set_print_func_full): New function akin
2579 hildon_touch_selector_set_print_func() but with support for user
2580 data and a destroy callback.
2581 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2582 to clean up the print function user data.
2583 (hildon_touch_selector_class_init): Install dispose function.
2584 (HildonTouchSelectorPrivate::print_user_data),
2585 (HildonTouchSelectorPrivate::print_destroy_func): New private
2587 (hildon_touch_selector_init): Initialize new private members.
2588 (hildon_touch_selector_get_current_text): Pass along user data
2589 to the print function.
2590 (_default_print_func): Add dummy user_data to parameter list.
2591 * hildon-date-selector.c (_custom_print_func): ditto,
2592 * hildon-time-selector.c (_custom_print_func): ditto,
2593 * hildon-touch-selector-entry.c
2594 (hildon_touch_selector_entry_print_func): ditto.
2596 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2598 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2600 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2602 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2604 * src/hildon-pannable-area.c,
2605 (hildon_pannable_area_init),
2606 (hildon_pannable_area_button_press_cb),
2607 (hildon_pannable_area_motion_notify_cb): We have added code to
2608 handle the leave and enter events when using the motion events.
2610 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2612 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-date-button.c (hildon_date_button_get_date)
2615 (hildon_date_button_set_date): Make sure that the button has a
2618 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2620 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2622 * src/hildon-pannable-area.c,
2623 (hildon_pannable_area_class_init),
2624 (hildon_pannable_area_calculate_velocity): Modify the use of the
2625 force and adapt the value.
2627 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2629 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2630 (hildon_app_menu_class_init): Hide the menu if it receives a
2631 delete-event, but don't destroy it
2633 Fixes: NB#104485 (Not able to address the call when application
2634 menu is opened at background)
2636 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2638 * src/hildon-app-menu.c
2639 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2640 Remove the "external-border" style property, let the menu take its
2641 natural size (or the one set by the window manager)
2642 (hildon_app_menu_repack_items):
2643 Don't reshow the menu, avoid flickers.
2645 Partially fixes NB#94957 (Smoothly opened application menu)
2647 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2652 * configure.ac: Bump version.
2653 * debian/changelog: Updates.
2655 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2657 * src/hildon-pannable-area.c,
2658 (hildon_pannable_area_motion_notify_cb): We control that the
2659 direction error margin is used just in case the movement is
2660 allowed in the other direction.
2662 Fixes: NB#105012 (buttons inside a pannable area not getting
2663 release event when dragging/releasing)
2665 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2667 * src/hildon-pannable-area.c,
2668 (hildon_pannable_area_class_init),
2669 (hildon_pannable_area_get_property),
2670 (hildon_pannable_area_set_property),
2671 (hildon_pannable_area_initial_effect),
2672 (hildon_pannable_axis_scroll),
2673 (hildon_pannable_area_button_release_cb): Reviewed the
2674 overshooting effect, now it has its own max
2675 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2676 speed when bouncing.
2678 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2683 * configure.ac: Bump version.
2684 * debian/changelog: Updates.
2686 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2688 * src/hildon-pannable-area.c,
2689 (hildon_pannable_area_class_init): Changed the max speed, now
2690 users can launch the widget very fast. Reduced the default force,
2691 that way it is easier to control the launch speed.
2693 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2695 * src/hildon-pannable-area.c,
2696 (hildon_pannable_area_button_release_cb): Removed this check
2697 because it causes problems when the device is overloaded.
2699 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2702 add a current_text field to store the text entered in the
2703 touch selector entry.
2704 (_clean_current_selection): clean up the current text as well.
2705 (_save_current_selection), (_restore_current_selection):
2706 Save/restore the text in the entry if the selector is a
2707 HildonTouchSelectorEntry.
2709 Fixes: NB#102541 (value entered in the touch selector entry is not
2710 shown when opened for second time)
2712 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2714 * doc/hildon-sections.txt:
2715 * src/hildon-touch-selector-entry.c
2716 (+hildon_touch_selector_entry_get_entry):
2717 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2719 Fixes: NB#104815 (I need accessor to the entry inside
2720 HildonTouchSelectorEntry)
2722 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2724 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2725 (hildon_app_menu_class_init):
2726 New "filter-vertical-spacing" style property.
2728 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2730 * src/hildon-find-toolbar.c
2731 (hildon_find_toolbar_emit_close)
2732 (hildon_find_toolbar_emit_invalid_input)
2733 (hildon_find_toolbar_entry_activate):
2734 Use g_signal_emit() instead of g_signal_emit_by_name()
2736 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2738 Patch by Mox Soini (ext-mox.soini@nokia.com)
2740 * tests/TEST-CASES.txt
2741 * tests/check-hildon-banner.c
2742 * tests/check-hildon-note.c
2743 * src/hildon-banner.c
2744 * src/hildon-code-dialog.c
2745 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2746 * src/hildon-time-editor.c
2747 * examples/hildon-lookup-example.c (main):
2748 Replace obsolete icon names with new ones.
2750 * src/hildon-find-toolbar-private.h:
2751 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2752 (-hildon_find_toolbar_emit_search):
2753 Remove find button and change icon of close button.
2755 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2757 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-time-button.c (hildon_time_button_new_step):
2760 Use the "touch-selector" property to set the selector directly
2761 when creating the object.
2763 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2765 Added a new example application that allows tuning the pannable
2766 area and replaced defines with properties in order to simplify the
2767 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2768 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2769 PROP_DIRECTION_ERROR_MARGIN.
2771 * examples/hildon-pannable-area-tuning-example.c: New example
2773 * src/hildon-pannable-area.c,
2774 (hildon_pannable_area_class_init),
2775 (hildon_pannable_area_init),
2776 (hildon_pannable_area_get_property),
2777 (hildon_pannable_area_set_property),
2778 (hildon_pannable_area_launch_fade_timeout),
2779 (hildon_pannable_area_adjust_value_changed),
2780 (hildon_pannable_axis_scroll),
2781 (hildon_pannable_area_motion_notify_cb),
2782 (hildon_pannable_area_scroll_cb),
2783 (hildon_pannable_area_button_release_cb): We have converted some
2784 of the defines that control the widget to properties to simplify
2787 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-app-menu.c (hildon_app_menu_map)
2790 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2791 so it's closed if a new window appears.
2793 Fixes: NB#104485 (Not able to address the call when application
2794 menu is opened at background)
2796 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2798 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2799 missing 'break' statement in in 'case' construct to avoid
2802 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2804 * src/hildon-touch-selector-entry.c
2805 (hildon_touch_selector_entry_get_property),
2806 (hildon_touch_selector_entry_set_property): Add missing 'break'
2807 statements in in 'case' constructs to avoid incorrect warnings.
2809 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-time-editor.c
2812 (hildon_time_editor_get_time_separators): Do not crash if
2813 the first label is NULL.
2815 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2817 * src/hildon-date-selector.c (_month_days): Check for month to be
2818 strictly less than 12, since otherwise we may overrun the array.
2820 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-date-button.c (+hildon_date_button_new_full)
2823 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2824 (hildon_date_button_init): Set the date selector using a
2825 construction property, to make it happen after HildonButton's
2826 "value" property is set.
2828 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2829 current date by default)
2831 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2833 * doc/hildon-sections.txt
2834 * src/hildon-program.c
2835 * src/hildon-stackable-window.c
2836 * src/hildon-window.c:
2837 Documentation updates
2839 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2842 (hildon_window_stack_new, +hildon_window_stack_set_property)
2843 (+hildon_window_stack_get_property)
2844 (hildon_window_stack_class_init)
2845 (+hildon_window_stack_set_window_group)
2846 (+hildon_window_stack_get_window_group):
2847 Make the window group a construction property.
2849 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2851 * doc/hildon-sections.txt
2852 * src/hildon-stackable-window-private.h
2853 * src/hildon-stackable-window.h
2854 * src/hildon-stackable-window.c
2855 (-hildon_stackable_window_set_app_menu)
2856 (-hildon_stackable_window_get_app_menu)
2857 (-hildon_stackable_window_toggle_menu)
2858 (-hildon_stackable_window_finalize)
2859 (hildon_stackable_window_class_init)
2860 (hildon_stackable_window_init)
2861 * src/hildon-window-private.h
2862 * src/hildon-window.h
2863 * src/hildon-window.c (hildon_window_init)
2864 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2865 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2866 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2867 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2868 Moved all HildonAppMenu code to HildonWindow. The menu does not
2869 require a HildonStackableWindow anymore.
2871 * src/hildon-app-menu.c
2872 * src/hildon-program.c
2873 * examples/hildon-app-menu-example.c (main):
2874 Update examples and documentation to reflect HildonAppMenu
2877 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2879 * src/hildon-remote-texture.c
2880 * src/hildon-animation-actor.c:
2881 Don't include unused private headers.
2883 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-program-private.h
2886 * src/hildon-program.c
2887 (hildon_program_set_common_menu)
2888 (hildon_program_get_common_menu)
2889 (hildon_program_set_common_app_menu)
2890 (hildon_program_get_common_app_menu):
2891 Change common menu pointers from GtkWidget* to GtkMenu* and
2892 HildonAppMenu* to avoid unnecessary casts.
2894 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-window.c (hildon_window_set_main_menu):
2897 Removed incorrect 'Since:' tag
2899 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2901 * src/hildon-pannable-area.c,
2902 (hildon_pannable_area_calculate_velocity): We use now the
2903 RATIO_TOLERANCE here to check the distance, fixed typo in the
2905 (hildon_pannable_area_motion_notify_cb): We have to set the type
2906 and time even if we are not sending the motion.
2908 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2910 * doc/hildon-sections.txt
2911 * src/hildon-app-menu.h
2912 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2913 (+hildon_app_menu_get_filters): New methods to get the contents of
2916 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2919 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2921 * src/hildon-app-menu.c (hildon_app_menu_popup):
2924 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2926 * src/hildon-window.h
2927 * src/hildon-window.c (+hildon_window_get_main_menu)
2928 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2929 and deprecated hildon_window_get_menu().
2931 * src/hildon-stackable-window.h
2932 * src/hildon-stackable-window.c
2933 (+hildon_stackable_window_set_app_menu)
2934 (+hildon_stackable_window_get_app_menu)
2935 (hildon_stackable_window_set_main_menu): Created
2936 hildon_stackable_window_{get,set}_app_menu() and deprecated
2937 hildon_stackable_window_set_main_menu().
2939 * doc/hildon-sections.txt
2940 * examples/hildon-app-menu-example.c (main)
2941 * src/hildon-app-menu.c
2942 * src/hildon-program.c:
2943 Updated examples and documentation.
2945 Fixes: NB#103758 (No way to obtain a menu from a
2946 HildonStackableWindow)
2948 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2953 * configure.ac: Bump version.
2954 * debian/changelog: Updates.
2956 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2958 * examples/hildon-remote-texture-example.c: Include
2959 hildon-remote-texture.h explicitely.
2960 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2961 applications not defining _XOPEN_SOURCE which don't require this header.
2963 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2965 * doc/hildon-sections.txt
2966 * src/hildon-app-menu.h
2967 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2968 New function to pop up a HildonAppMenu
2970 * src/hildon-stackable-window.c
2971 (hildon_stackable_window_toggle_menu):
2972 Use hildon_app_menu_popup() to show the menu.
2974 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2976 * src/hildon-app-menu.c (hildon_app_menu_show)
2977 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2978 menu if there's another window between it and its parent window.
2980 Fixes: NB#100468 (Application menu window is launched even when a
2981 new secondary-window/dialog is pending to be shown/realized)
2983 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-window-stack.c (hildon_window_stack_push)
2986 (hildon_window_stack_pop_and_push):
2987 Don't forget to push/pop the first window.
2988 Reverse the window list before calling _push_list()
2990 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2992 * src/hildon-picker-button.h
2993 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2994 Remove "value_changed" slot to avoid ABI breakage
2996 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2998 * src/hildon-pannable-area.c,
2999 (hildon_pannable_area_realize),
3000 (hildon_pannable_area_unrealize),
3001 (hildon_pannable_draw_vscroll),
3002 (hildon_pannable_draw_hscroll): Changed the method to handle the
3003 GC used to draw the transparent scrollbar, this way we avoid
3004 creating the GC all the time when drawing the scrollbars.
3006 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3008 * src/hildon-pannable-area.c,
3009 (hildon_pannable_area_init),
3010 (hildon_pannable_area_remove): Removed some unnecessary casts.
3011 (hildon_pannable_area_dispose): Disconnected some signals before
3012 releasing the adjustments.
3014 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3016 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3017 Make sure that all widgets contained in the toolbar are shown.
3019 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3021 * doc/hildon-sections.txt
3022 * src/hildon-picker-button.h
3023 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3024 (_selection_changed, hildon_picker_button_on_dialog_response)
3025 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3026 New hildon_picker_button_value_changed() method.
3029 * src/hildon-picker-button-private.h
3030 * src/hildon-picker-button.c (hildon_picker_button_init)
3031 (+hildon_picker_button_disable_value_changed): Add protected
3032 function for disabling the "value-changed" signal.
3034 * src/hildon-date-button.c (hildon_date_button_set_date):
3035 Don't emit "value-changed" for each one of the three columns.
3037 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3038 before actual change of values)
3040 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3042 * src/hildon-pannable-area.c,
3043 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3044 for the treeview overshooting.
3046 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3048 * src/hildon-banner.c (+hildon_banner_bind_style):
3049 Renamed from hildon_banner_bind_label_style(), now naming the
3050 banner itself as well.
3051 (hildon_banner_show_information),
3052 (hildon_banner_show_information_with_markup),
3053 (hildon_banner_show_animation), (hildon_banner_show_progress):
3054 Name the widgets and labels, based on their type.
3056 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3059 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3061 * src/hildon-note.c (hildon_note_set_property): call
3062 hildon_note_rename() on HildonNote:note-type set.
3063 (hildon_note_rename): Name the note and its label, based on the
3064 HildonNote:note-type property.
3066 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3069 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3071 * src/hildon-pannable-area.c,
3072 (hildon_pannable_area_class_init),
3073 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3074 panning parameters, increased SPS and deceleration factor. Added
3075 also a margin to control fake directions.
3077 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3079 Patch by Sven Herzberg (sven@imendio.com)
3081 * configure.ac: Add missing AM_PROG_CC_C_0
3082 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3084 See NB#101420 (Update unit tests and fix make check)
3086 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3088 This patch was applied before but reverted because it caused
3089 problems, we have changed the main condition and tested the
3090 regressions we detected before and they work ok. We have done a
3091 complete review of the topmost algorithm in order to get a more
3094 * src/hildon-pannable-area.c,
3095 (hildon_pannable_area_get_topmost): Added a new parameter to
3096 filter the the windows that do not include those events.
3097 (hildon_pannable_area_button_press_cb),
3098 (hildon_pannable_area_button_release_cb),
3099 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3100 topmost function, we have added the new parameter.
3102 Fixes: NB#97458 (Pannable area prevents propagation of button
3105 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3107 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3108 if all columns in the selector have an item selected.
3109 (_on_dialog_response): Stop "response" signal emission if there is
3110 any selector column without selected items.
3112 Fixes: NB#101889 (Picker dialog should not close when nothing is
3113 selected in multiple selection list)
3115 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3117 * src/hildon-font-selection-dialog.c
3118 (hildon_font_selection_dialog_class_init),
3119 (hildon_font_selection_dialog_init): Remove the preview
3120 button and dialog, since previewing with default theming is likely
3121 to be overcomplicated. The :preview property has now no effect.
3122 Update documentation blurbs to inform about this.
3124 Fixes: NB#92297 (Preview content is not clearly visible for
3125 default colour text)
3127 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3129 Reviewed the geometry that handles the children size and
3130 scrollbar, now it tries a size and reviews the results depending
3131 on the scrollbars visibility.
3133 * src/hildon-pannable-area.c,
3134 (hildon_pannable_area_realize): Fixed a typo.
3135 (hildon_pannable_area_child_allocate_calculate): Added this
3136 function to calculate the child allocation.
3137 (hildon_pannable_area_size_allocate): Reviewed the allocation
3139 (hildon_pannable_area_check_scrollbars),
3140 (hildon_pannable_area_refresh): Refactored refresh function, this
3141 way we can call the code handling the scrollbars without causing a
3142 size_request, it is interesting in the allocate.
3143 (hildon_pannable_area_init): Replace the callbacks of the
3144 value_changed and changed signals to propertly deal with the
3146 (hildon_pannable_area_grab_notify),
3147 (hildon_pannable_area_initial_effect),
3148 (hildon_pannable_area_launch_fade_timeout),
3149 (hildon_pannable_area_adjust_changed),
3150 (hildon_pannable_area_adjust_value_changed),
3151 (hildon_pannable_area_redraw),
3152 (hildon_pannable_area_button_press_cb),
3153 (hildon_pannable_area_button_release_cb),
3154 (hildon_pannable_area_scroll_cb),
3155 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3156 code and use the new functions adjust_changed and
3157 adjust_value_changed.
3159 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3160 Contact editor dialog)
3162 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3167 * configure.ac: Bump version.
3168 * debian/changelog: Updates.
3170 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3172 * src/hildon-pannable-area.c,
3173 (hildon_pannable_area_get_topmost),
3174 (hildon_pannable_area_button_press_cb),
3175 (hildon_pannable_area_button_release_cb),
3176 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3177 topmost function adding the event mask. We have to try a
3178 differente approach because it is still causing problems (NB#9745,
3181 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3183 * src/hildon-banner.c:
3184 Update the maximum width of timed banners.
3185 (force_to_wrap_truncated): Enforce the maximum text width if the
3188 Fixes: NB#102413 (The text margins (wrapping) in information
3189 banner should be HILDON_MARGIN_TRIPLE)
3191 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3193 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3195 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3196 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3197 bound when calculating the scroll indicator position.
3199 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3200 treat ->lower correctly)
3202 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3205 expose event handling, since it is not necessary to draw the focus
3208 Fixes: NB#102467 (Do not show highlight on the text in
3211 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3214 full height of the toolbar for the button and the label.
3216 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3218 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3219 padding before the label and after the button.
3221 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3225 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3226 Add a GtkVSeparator between the button and the back arrow.
3227 Let the button have automatic size.
3228 Set a name to the widget for theming handling.
3230 Fixes: NB#101793 (Make edit toolbar the same height as window
3231 title bar (use title area theming))
3233 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3235 * src/hildon-helper.c (attach_new_color_element): Fix memory
3238 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3240 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3242 * examples/hildon-button-example.c (common_buttons_window): Don't
3245 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3247 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3248 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3250 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3252 * src/hildon-gtk.c: Check that the window is realized.
3254 Fixes: NB#102225 (Crash setting the progress indicator to a non
3257 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3260 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3261 instead of modifying the one in the widget style.
3263 Fixes: NB#101043 (Second row of all the command button are
3264 displayed in transparent mode.)
3266 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3268 * src/hildon-date-button.c
3269 * src/hildon-time-button.c: Add gettext macros
3271 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3273 * src/hildon-date-button.c (hildon_date_button_new):
3274 * src/hildon-time-button.c (hildon_time_button_new_step):
3275 Use new logical strings to set the button default title.
3277 Fixes: NB#99915 (Date and Time options are not localised in Date
3280 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3282 * src/hildon-pannable-area.c
3283 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3284 the PANNING_THRESHOLD.
3286 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3288 * src/hildon-pannable-area.c,
3289 (hildon_pannable_area_class_init): Increased the maximum speed.
3290 (hildon_pannable_area_get_property),
3291 (hildon_pannable_area_set_property),
3292 (hildon_pannable_area_timeout): Added a new low friction mode, it
3293 allows the user avoid friction when launching the widget fast
3294 enough. It is interesting to traverse long lists.
3296 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3299 (+hildon_stackable_window_delete_event): Ignore delete events if
3300 the window is not the topmost one.
3302 Fixes: NB#101698 (Back button long press and delete-event handling)
3304 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3306 * src/hildon-pannable-area.c,
3307 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3308 gtk-dnd-drag-threshold, it was too big. We have defined our own
3309 dnd define and set a smaller value: PANNIG_THRESHOLD.
3311 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3314 user-defined icons, use always the default one.
3316 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3318 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3320 This patch was applied before but reverted because it caused
3321 problems, we have changed the main condition and tested the
3322 regressions we detected before and they work ok.
3324 * src/hildon-pannable-area.c,
3325 (hildon_pannable_area_get_topmost): Added a new parameter to
3326 filter the the windows that do not include those events. Added
3327 also a condition when finding the window to filter windows that do
3328 not ask for those events.
3329 (hildon_pannable_area_button_press_cb),
3330 (hildon_pannable_area_button_release_cb),
3331 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3332 topmost function, we have added the new parameter.
3334 Fixes: NB#97458 (Pannable area prevents propagation of button
3337 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3339 * tests/check-hildon-color-button.c (START_TEST): do not leak
3342 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3344 * src/hildon-font-selection-dialog.c
3345 (hildon_font_selection_dialog_get_preview_text): Return NULL
3346 instead of FALSE on the g_return_val_if_fail().
3348 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3350 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3351 * src/hildon-date-selector.c
3352 (hildon_date_selector_select_current_date):
3353 Do not compare unsigned integers to be greater than or equal 0,
3354 because it's always TRUE.
3356 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3358 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3359 (hildon_date_selector_constructor): Do not select the current
3360 date until we are handle the "changed" signal, to avoid having bogus
3361 elements in the days model.
3363 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3366 for num_days, since _month_days() can return a negative value.
3368 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-caption.c (hildon_caption_size_allocate):
3371 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3372 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3374 Initialize allocation variables to 0, to avoid eventually using
3375 unitialized variables.
3377 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-bread-crumb-trail.c
3380 (hildon_bread_crumb_trail_size_allocate):
3381 * src/hildon-calendar.c (hildon_calendar_set_background):
3382 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3383 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3384 * src/hildon-seekbar.c (hildon_seekbar_init):
3385 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3386 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3387 * src/hildon-touch-selector-entry.c
3388 (hildon_touch_selector_get_text_from_model):
3389 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3390 * src/hildon-window.c (hildon_window_finalize):
3392 Remove many unused variables.
3394 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-seekbar.c: (hildon_seekbar_init),
3397 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3399 Remove unnecessary g_assert() calls.
3401 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3403 * src/hildon-caption.c: (hildon_caption_expose),
3404 (hildon_caption_set_property), (hildon_caption_init),
3405 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3406 (hildon_caption_size_request), (hildon_caption_size_allocate),
3407 (hildon_caption_forall), (hildon_caption_set_separator),
3408 (hildon_caption_activate), (hildon_caption_set_child_expand),
3409 (hildon_caption_set_label_text),
3410 (hildon_caption_get_label_alignment):
3412 Remove unnecessary g_assert() calls.
3414 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3416 * src/hildon-banner.c
3417 (hildon_banner_map, hildon_banner_init): Make banner temporary
3418 before mapping it to avoid closing other temporary windows, but
3419 make it non-temporary afterwards to avoid being closed by other
3420 non-temporary windows.
3421 (-hildon_banner_client_event, hildon_banner_init):
3422 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3424 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3427 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3429 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3432 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3434 * src/hildon-remote-texture.c
3435 * src/hildon-remote-texture.h
3436 * src/hildon-remote-texture-private.h
3437 * examples/hildon-remote-texture-example.c:
3438 Updates/fixes to remote-texture and its example.
3440 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3442 Patch by Mox Soini (ext-mox.soini@nokia.com)
3444 * src/hildon-code-dialog.c: Update logical id.
3445 * src/hildon-set-password-dialog.c: Update logical id.
3447 Fixes: NB#100646 (Logical strings is shown for ok in set
3448 password,Password needed dialogs)
3450 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3453 * src/hildon-remote-texture.c
3454 * src/hildon-remote-texture.h
3455 * src/hildon-remote-texture-private.h
3457 Added remote texture widget (for Clutter shared memory textures)
3459 * examples/hildon-remote-texture-example.c
3460 * examples/Makefile.am
3461 Added example file for remote texture usage
3463 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3465 * configure.ac: post release version bump.
3466 * debian/changelog: version bump.
3468 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3473 * configure.ac: Bump version.
3474 * debian/changelog: Updates.
3476 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3478 * src/hildon-date-selector.c (hildon_date_selector_init)
3479 (hildon_date_selector_constructor): Don't connect to the "changed"
3480 signal until the selector is completely constructed.
3482 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3484 * src/hildon-touch-selector.c: (_create_new_column),
3485 (hildon_touch_selector_append_column),
3486 (hildon_touch_selector_set_column_selection_mode),
3487 (hildon_touch_selector_set_active),
3488 (hildon_touch_selector_select_iter):
3489 Emit the HildonTouchSelector::changed signal every time selection
3490 is changed in any of the methods above. This behavior was already
3491 documented but not fully functional.
3493 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3494 selection is programmatically changed)
3496 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3498 * doc/hildon-sections.txt: Remove obsolete icon
3499 sizes from here as well.
3501 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3503 * examples/hildon-stackable-window-example.c (add_window): Remove
3506 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-app-menu.c
3509 (hildon_app_menu_show): Check whether the parent window of a menu
3510 is topmost before popping it up.
3512 Fixes: NB#100468 (Application menu window is launched even when a
3513 new secondary-window/dialog is pending to be shown/realized.)
3515 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3517 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3520 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3522 Patch by Mox Soini (ext-mox.soini@nokia.com)
3524 * src/hildon-banner.c: (hildon_banner_show_animation):
3525 use stylus size instead of obsolete note size.
3526 * src/hildon-defines.h: Update icon sizes.
3528 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-touch-selector-entry.c:
3531 (hildon_touch_selector_entry_init): Disable unsupported
3533 (hildon_touch_selector_entry_get_text_column): Emit a warning
3534 if an unsupported input modes is used and explicitile state
3535 these modes in the documentation.
3537 Fixes: NB#99802 (Hildon touch selector entry not working properly
3538 for some of the input modes)
3540 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3542 * src/hildon-pannable-area.c,
3543 (hildon_pannable_area_init): Added the changed signal handlers of
3546 Fixes: NB#100320 (HildonPannableArea does not listen to
3547 GtkAdjustment "change" signals)
3549 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3551 * doc/hildon-sections.txt
3552 * src/hildon-window-private.h
3553 * src/hildon-window.h
3554 * src/hildon-window.c (hildon_window_init)
3555 (hildon_window_realize, hildon_window_unrealize)
3556 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3557 (hildon_window_size_request, hildon_window_size_allocate)
3558 (hildon_window_forall, hildon_window_show_all)
3559 (hildon_window_destroy, +paint_edit_toolbar)
3560 (+hildon_window_set_edit_toolbar):
3561 New hildon_window_set_edit_toolbar() method, to add a
3562 HildonEditToolbar to a window without having to pack it manually.
3564 Reorganize hildon_window_size_allocate()
3566 * src/hildon-edit-toolbar.c: Update documentation.
3568 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3569 example to use the new API.
3571 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3573 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3575 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3576 Remove from stack before calling parent's hide.
3578 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3580 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3581 window is removed from the middle of the stack, update the
3582 transiency of the previous one.
3584 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3587 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3589 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3590 block/unblock the signal handler if it's not actually being used.
3591 Fixes some critical warnings.
3593 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3595 Based on a patch by Iván Gómez (igomez@igalia.com)
3597 * src/hildon-banner.c
3601 * src/hildon-pannable-area.c
3602 * src/hildon-picker-dialog.c
3603 * src/hildon-wizard-dialog.h
3604 * src/hildon-wizard-dialog.c: Documentation updates.
3606 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3607 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3609 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3611 * configure.ac: post release version bump.
3612 * debian/changelog: version bump.
3614 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3619 * configure.ac: Bump version.
3620 * debian/changelog: Updates.
3622 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3624 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3625 a stock icon nor change the relief of the back arrow.
3627 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3628 graphics from theme)
3630 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-button.c (hildon_button_set_alignment): Use
3633 priv->alignment if the button has no child yet.
3635 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3637 * src/hildon-button.c: (hildon_button_init): Set the
3638 button style during initialization to give it the proper
3641 Fixes: NB#99713 (HildonButton value label color is wrong)
3643 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-touch-selector.c: Document
3646 hildon_touch_selector_center_on_selected()
3648 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3650 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3651 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3652 all menu items, but not the menu itself.
3653 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3654 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3655 items after adding them to the menu so keyboard accelerators work.
3656 (hildon_app_menu_show): Don't show the menu if it contains items
3657 but none of them are visible.
3659 * examples/hildon-app-menu-example.c (create_menu): Use
3660 gtk_widget_show_all() to show all menu items.
3662 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3664 * src/hildon-picker-dialog.c:
3665 (-_update_title_on_selector_changed_cb),
3666 (-_dialog_update_title): Removed.
3667 (_select_on_selector_changed_cb), (_on_dialog_response),
3668 (on_selector_columns_changed): Do not update the dialog title.
3669 (setup_interaction_mode): Do not connect to
3670 HildonTouchSelector::changed signal if there's a "done" button, as
3671 the dialog title doesn't need to be updated.
3673 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3676 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3678 Patch by Kristian Rietveld (kris@imendio.com)
3680 * src/hildon-touch-selector.c: (_create_new_column): Use new
3681 GtkTreeView::hildon-row-tapped signal to react to user interactions
3682 instead of ::changed.
3684 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3685 with some dynamic tree model)
3687 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3689 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3690 (+screen_size_changed, +label_size_request)
3691 (hildon_note_class_init): Make the Hildon information note have a
3692 minimum height, and make its text hvae a maximum width.
3694 Fixes: NB#98614 (Hildon information note (background) should have
3695 minimum height and maximum text width)
3697 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-banner.h
3700 * src/hildon-banner.c (hildon_banner_show_information)
3701 (hildon_banner_show_informationf)
3702 (hildon_banner_show_information_with_markup): Update documentation
3703 to reflect that the icon_name parameter is not used anymore.
3704 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3705 Remove all code from these functions and mark them as deprecated.
3706 (hildon_banner_show_progress): Mark as deprecated.
3708 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3710 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3712 * src/hildon-pannable-area.c,
3713 (hildon_pannable_area_class_init),
3714 (tranparency_color),
3715 (hildon_pannable_draw_vscroll),
3716 (hildon_pannable_draw_hscroll),
3717 (hildon_pannable_area_expose_event): Added a new way to render the
3718 scrollbars of the pannable area avoiding using cairo at all. This
3719 way we improve the performance of the pannable area rendering. The
3720 cairo rendering procedure is still in the code, we can control
3721 which one to use changing the value of the define
3722 USE_CAIRO_SCROLLBARS.
3724 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3726 * configure.ac: post release version bump.
3727 * debian/changelog: version bump.
3729 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3734 * configure.ac: Bump version.
3735 * debian/changelog: Updates.
3737 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3739 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3740 banners instead of destroying them when they receive a button
3743 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3745 Reverted commit 34028, it was causing regressions, probably the
3746 topmost condition is not correct, we have to check it in more
3747 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3748 propagation of button press events)
3750 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3752 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3753 that the selection is not empty before attempting to retrieve the
3754 current ampm selection.
3756 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-picker-button.c:
3759 (hildon_picker_button_on_dialog_response): Directly update the
3760 button contents when required instead of calling _selection_changed.
3762 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-program.c (hildon_program_update_top_most): Update
3765 'is-topmost' property also when wm_hints is not set.
3767 Fixes: NB#98383 (is-topmost signal is not emitted when task
3768 switcher is clicked.)
3770 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3772 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3776 * src/hildon-animation-actor.c,
3777 * src/hildon-animation-actor.h: Added the animation actor class,
3778 this widget represents an animation actor for WM-assisted
3779 animation effects in the Hildon framework.
3781 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-window-stack-private.h
3784 * src/hildon-window-stack.c
3785 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3786 Avoid calling gtk_widget_show() again indirectly from
3787 hildon_stackable_window_show()
3789 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3794 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3796 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3797 (hildon_time_selector_init): Move the construction of the hours and
3798 ampm columns to the constructor to preserve the order the columns
3801 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3803 * src/hildon-picker-dialog.c:
3804 (hildon_picker_dialog_class_init): Connect a realize method.
3805 (+hildon_picker_dialog_realize): Setup the interaction mode here
3807 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3808 yet, do it during the realize instead.
3809 (_on_dialog_response):
3810 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3811 if the widget is not realized, to avoid the dialog response before it
3814 Avoid premature responses in the HildonPickerDialog that can cause it
3815 to be hidden before it's even shown.
3817 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3819 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3820 (on_selector_columns_changed), (requires_done_button),
3821 (+prepare_action_area), (setup_interaction_mode),
3822 (_hildon_picker_dialog_set_selector):
3824 Split the interaction mode setup into preparation of the
3825 action area (prepare_action_area()) and the connection of
3826 the signals in setup_interaction_mode() and update the code to
3829 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3831 * src/hildon-pannable-area.c,
3832 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3833 per second to 15, we will check if this is ok regarding
3836 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3838 * src/hildon-pannable-area.c,
3839 (hildon_pannable_axis_scroll): Avoid resize if we already have
3840 reached overshoot_max.
3842 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3844 * src/hildon-pannable-area.c,
3845 (hildon_pannable_area_init),
3846 (hildon_pannable_area_realize),
3847 (hildon_pannable_area_size_allocate),
3848 (hildon_pannable_area_map),
3849 (hildon_pannable_area_unmap),
3850 (hildon_pannable_draw_vscroll),
3851 (hildon_pannable_draw_hscroll),
3852 (hildon_pannable_area_expose_event),
3853 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3854 pannable are to avoid the expose events go to the window and
3855 redraw the window. We save this way that part of the stack and the
3856 paint_boxes. We had to change the positions of the elements when
3859 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3861 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3862 * src/hildon-color-chooser-dialog.c:
3863 (hildon_color_chooser_dialog_init):
3864 * src/hildon-font-selection-dialog.c:
3865 (hildon_font_selection_dialog_init),
3866 (hildon_font_selection_dialog_show_preview):
3867 * src/hildon-get-password-dialog.c:
3868 * src/hildon-login-dialog.c:
3869 * src/hildon-set-password-dialog.c:
3870 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3871 * src/hildon-time-picker.c: (hildon_time_picker_init):
3873 Remove obsolete logical string IDs and update to the appropriate ones.
3875 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3877 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3880 that happens if the window hasn't been realized yet.
3882 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3883 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3885 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3888 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3891 Fixes: NB#98537 (Device hangs in account settings dialog)
3893 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3895 * configure.ac: post release version bump.
3896 * debian/changelog: version bump
3898 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3903 * configure.ac: Bump version.
3904 * debian/changelog: Updates.
3906 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3908 Added a new function to the HildonTimeButton widget that allows to
3909 change the step of the minutes in the selector associated with the
3910 button: hildon_time_button_new_step
3912 * src/hildon-time-button.c,
3913 (hildon_time_button_init),
3914 (hildon_time_button_new),
3915 (hildon_time_button_new_step):
3916 * src/hildon-time-button.h: Added the new function and refactored
3918 * examples/hildon-time-button-example.c,
3919 (main): We have replaced the function without parameters with the
3920 function with the steps set to 5
3922 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3924 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3926 * src/hildon-time-selector.c,
3927 (hildon_time_selector_class_init),
3928 (hildon_time_selector_constructor),
3929 (hildon_time_selector_get_property),
3930 (hildon_time_selector_set_property),
3931 (_create_minutes_model),
3932 (hildon_time_selector_new_step),
3933 (hildon_time_selector_set_time),
3934 * src/hildon-time-selector.h: Added a new property to the
3935 HildonTimeSelector (minutes-step), we use that property to control
3936 the steps between the minutes in the list of the selector. We have
3937 added a new function to the API to create a widget changing the
3938 step: hildon_time_selector_new_step.
3940 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3942 * src/hildon-time-selector.c,
3943 (hildon_time_selector_class_init),
3944 (hildon_time_selector_constructor),
3945 (hildon_time_selector_init): Overrided the construct function when
3946 creating the time selector object. We have moved the minutes model
3947 handling code from the init to the new construction function:
3948 hildon_time_selector_constructor.
3950 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3952 * examples/hildon-date-button-example.c: (main): Use the new
3953 hildon_date_button_new_with_year_range() method in the example.
3954 * src/hildon-date-button.c:
3955 (+hildon_date_button_new_with_year_range): New public method
3956 to conveniently create a HildonDateButton with a custom year range
3957 in its HildonDateSelector.
3958 * src/hildon-date-button.h: Add the new public method definition.
3960 Fixes: NB#97908 (Not possible to change the year range in
3961 HildonDateSelector/HildonDateButton)
3963 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-date-selector.c:
3966 (+hildon_date_selector_set_property),
3967 (+hildon_date_selector_get_property),
3968 (hildon_date_selector_class_init): Install new properties "min-year"
3969 and "max-year" to define boundaries for the year column.
3970 (_create_year_model): Use the boundary properties to populate the model.
3971 (+hildon_date_selector_new_with_year_range): New public method to
3972 create a HildonDateSelector with a user defined year range.
3973 (hildon_date_selector_select_current_date): Use the new boundaries to
3974 calculate the iterator of current year.
3975 * src/hildon-date-selector.h: Add the new public method definition.
3977 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3979 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3980 Install a constructor method.
3981 (+hildon_date_selector_construct_ui): construct the widget.
3982 (+hildon_date_selector_constructor): new constructor.
3983 (+hildon_date_selector_init): move out widget construction code to
3984 the new constructor.
3986 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3989 that there's actually a month or year selected before obtaining them.
3990 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3991 of the HildonTouchSelector::changed signal, as it was emitted on every
3992 single item selection.
3994 Fix some warnings and possible crashers due to the selection restoring.
3996 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3998 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3999 the signal handlers only after creating the dialog instead of on every
4002 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4004 * src/hildon-button.c (hildon_button_init)
4005 * src/hildon-check-button.c (hildon_check_button_init)
4006 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4007 focus when clicked by default.
4009 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4014 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4016 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4017 Alejandro G. Castro (alex@igalia.com)
4019 * src/hildon-picker-dialog.c:
4020 (hildon_picker_dialog_class_init): install new "center-on-show"
4022 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4023 (hildon_picker_dialog_set_property): add setter code for the new
4025 (hildon_picker_dialog_get_property): add getter code for the new
4027 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4028 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4031 Fixes: NB#92849 (Selected item is not always visible when
4032 HildonTouchSelector is shown)
4034 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4036 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4037 Alejandro G. Castro (alex@igalia.com)
4039 * src/hildon-touch-selector.c:
4040 (_create_new_column): Do not connect to the "realize" signal of the
4042 (hildon_touch_selector_append_column): center on the selected items
4043 when a new column is appended.
4044 (hildon_touch_selector_select_iter): Factor out the code to select a
4045 column to hildon_touch_selector_scroll_to().
4046 (+search_nearest_element): Method to retrieve the nearest selected
4047 element to the visible area of the pannable area in a column.
4048 (+on_realize_cb): scroll to the initially selected item.
4049 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4050 the pannable area is realized, otherwise delay this until it is.
4051 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4052 selected items of a given column.
4053 (+hildon_touch_selector_center_on_selected): Public method to center
4054 all columns on the nearest selected item.
4055 * src/hildon-touch-selector.h: Add definition for
4056 hildon_touch_selector_center_on_selected().
4058 Implement public API to ensure visibility of all selected items in
4059 a HildonTouchSelector.
4061 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4063 Fixed a problem in the fading when calling the scroll_to API, and
4064 improve scrollbar fading handling.
4066 * src/hildon-pannable-area.c,
4067 (hildon_pannable_area_grab_notify): avoid the timeout when the
4069 (hildon_pannable_area_button_press_cb),
4070 (hildon_pannable_area_motion_notify_cb): Code style changes.
4071 (hildon_pannable_area_button_release_cb): Review the conditions
4072 when releasing the mouse button to avoid unrequired fading
4074 (hildon_pannable_area_scroll_to): Do not calculate and set the
4075 velocity if the scroll is not required.
4077 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4079 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4080 Don't check whether the new selector is NULL: it cannot be.
4081 Hold a reference to the selector while doing the replacement.
4083 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4086 unnecessary size_request in a removed widget.
4088 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4091 an unnecessary reference tracking that was leaking.
4093 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4095 Added delayed motion notify event handling, this way we can
4096 discard redrawing if more than 25 events arrive per second.
4098 * src/hildon-pannable-area.c,
4099 (hildon_pannable_area_init): Initialized the new private atributes
4100 controlling this timeout
4101 (hildon_pannable_area_dispose): Remove the timeout that controls
4102 the motion notify events.
4103 (hildon_pannable_area_scroll): Added a condition to control the
4104 use of the acceleration.
4105 (hildon_pannable_area_motion_event_scroll_timeout),
4106 (hildon_pannable_area_motion_event_scroll): Added this two
4107 functions, they handle the motion notify events inside the
4109 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4110 to the scroll method with the new function.
4111 (hildon_pannable_area_button_release_cb): We have to remove the
4112 timeout handler and move to the last position if the last motion
4113 events were not handled.
4115 Fixes: NB#97028 (Pannable area updates on every motion event)
4117 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4119 * src/hildon-pannable-area.c,
4120 (hildon_pannable_area_get_topmost): Added a new parameter to
4121 filter the the windows that do not include those events. Added
4122 also a condition when finding the window to filter windows that do
4123 not ask for those events.
4124 (hildon_pannable_area_button_press_cb),
4125 (hildon_pannable_area_button_release_cb),
4126 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4127 topmost function, we have added the new parameter.
4129 Fixes: NB#97458 (Pannable area prevents propagation of button
4132 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4134 * src/hildon-pannable-area.c,
4135 (hildon_pannable_area_initial_effect): Added controls before
4136 launching the timeout and the idle functions.
4137 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4138 of the method, in some situations it can return with TRUE and 0 in
4140 (hildon_pannable_area_button_press_cb): We do not need to set
4141 DELAY for fading out here.
4143 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4145 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4147 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4148 post-cleaning if the selection is not NULL.
4150 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4152 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4153 all items before restoring the selection.
4155 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-touch-selector.c:
4158 (+hildon_touch_selector_unselect_all):
4159 * src/hildon-touch-selector.h: New API to unselect all items in a
4160 column of the touch selector.
4162 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4164 * src/hildon-pannable-area.c,
4165 (hildon_pannable_area_redraw): Added a call to the refresh
4166 function inside the redraw because apparently in some cases the
4167 change in the adjustment does not imply a size allocate.
4169 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4170 despite the view not being scrollable)
4172 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4175 leak. Check for NULL before attempting to set the window title.
4177 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4179 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4180 whether to show or not the 'Done' button each time the dialog is
4181 shown, as it depends on the HildonTouchSelector selection mode.
4183 Fixes: NB#96226 (In multiple selection mode Done button is shown
4184 sometimes in listpicker)
4186 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4189 for the number of columns in the HildonTouchSelector more than once.
4191 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4193 * src/hildon-touch-selector.c: Minor documentation fixes.
4195 * src/hildon-picker-dialog.c (+_dialog_update_title)
4196 (_select_on_selector_changed_cb)
4197 (_update_title_on_selector_changed_cb)
4198 (on_selector_columns_changed): Update dialog title when there's no
4199 'Done' button and also when the number of columns in the selector
4203 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4204 (+_selection_changed, hildon_picker_button_on_dialog_response)
4205 (hildon_picker_button_selector_selection_changed)
4206 (+hildon_picker_button_selector_columns_changed)
4207 (hildon_picker_button_set_selector): Update button value and emit
4208 'value-changed' when the number of columns in the selector
4212 Fixes: NB#96225 (Dialog titles are not shown according to the
4213 values selected in the list picker)
4215 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4217 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4218 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4219 New "arrow-width" and "arrow-height" style properties to set the
4220 size of the arrow button.
4221 Set name of arrow button ("hildon-edit-toolbar-arrow").
4223 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4224 graphics from theme)
4226 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4228 * src/hildon-picker-button.c:
4229 (hildon_picker_button_selector_selection_changed): Use
4230 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4231 the dialog is present.
4233 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4234 the selection is accepted in the dialog)
4236 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-color-chooser.h
4239 * src/hildon-color-chooser-dialog.h:
4240 Added G_BEGIN_DECLS and G_END_DECLS
4242 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4244 (_clean_current_selection): plug a leak in the list.
4246 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4248 * src/hildon-picker-dialog.c:
4249 (+free_path_list): Method to free a GList of GtkTreePaths.
4250 (_clean_current_selection), (_save_current_selection),
4251 (_restore_current_selection): Save the current selection in
4252 as a list of lists, to support multiple selection properly.
4254 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4256 patch by Claudio Saavedra (csaavedra@igalia.com)
4258 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4259 Store the press position.
4260 (+hildon_text_view_button_release_event): If the release position is
4261 close enough to the press position, move the cursor here. Otherwise,
4263 (hildon_text_view_class_init): Override GtkTextView press, release, and
4264 motion event handlers, disabling this way text selection through
4265 pointer interaction, and allowing the container widget to handle the
4268 Fixes: NB#95828 (HildonTextView functionality)
4270 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4272 Based on a patch by Iván Gómez (igomez@igalia.com)
4274 * src/hildon-button.[ch]
4275 * src/hildon-calendar.c
4276 * src/hildon-check-button.c
4277 * src/hildon-date-editor.c
4278 * src/hildon-date-selector.c
4279 * src/hildon-picker-button.c
4280 * src/hildon-time-editor.c
4281 * src/hildon-time-selector.c
4282 * src/hildon-touch-selector.[ch]:
4283 Documentation updates
4285 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4287 * src/hildon-pannable-area.c,
4288 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4289 threshold, it was required due to X events handling.
4291 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4293 * src/hildon-pannable-area.c,
4294 (hildon_pannable_area_grab_notify),
4295 (hildon_pannable_area_initial_effect),
4296 (hildon_pannable_area_button_press_cb),
4297 (hildon_pannable_area_button_release_cb),
4298 (hildon_pannable_area_scroll_cb),
4299 (hildon_pannable_area_scroll_to): Review the timeout management of
4300 the scrollbar, the frecuency was incorrectly set.
4302 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4304 * src/hildon-picker-button.c:
4305 (+hildon_picker_button_on_dialog_response),
4306 (hildon_picker_button_clicked): Present the dialog instead of
4307 running it with gtk_dialog_run().
4309 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4312 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4314 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4315 (hildon_app_menu_finalize): When a window is hidden it doesn't
4316 emit notify::is-topmost, so make sure than the menu also
4317 disappears in that case.
4318 (parent_window_topmost_notify): Renamed from parent_window_hidden
4320 Fixes: NB#94460 (stackable window's menu is not closed when its
4323 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4325 * src/hildon-touch-selector-entry.c:
4326 (+hildon_touch_selector_entry_set_input_mode),
4327 (+hildon_touch_selector_entry_get_input_mode):
4328 * src/hildon-touch-selector-entry.h: New methods to access the input
4329 mode in the selector's entry.
4331 Fixes: NB#93410 (API required for setting IM mode in
4332 HildonTouchSelectorEntry)
4334 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4336 * configure.ac: post release version bump.
4337 * debian/changelog: version bump
4339 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4344 * configure.ac: Bump version.
4345 * debian/changelog: Updates.
4347 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-touch-selector.c:
4350 (_hildon_touch_selector_has_multiple_selection): No need
4351 to initialize the variables here.
4353 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4355 * src/hildon-note-private.h
4356 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4357 (hildon_note_finalize, hildon_note_rebuild): Close information
4358 notes when they receive a button press.
4360 Fixes: NB#89890 (Information notes does not get disappeared after
4363 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4365 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4366 mark from the wizard title, as it's not really necessary. Also,
4367 do not display the page title if not set.
4369 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4371 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4372 (parent_window_hidden): Use the window's "is-topmost" property to
4373 detect when to hide the menu.
4375 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4377 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4378 (hildon_app_menu_finalize): If the parent window of the menu is
4379 hidden, hide the menu too.
4381 Fixes: NB#94460 (stackable window's menu is not closed when its
4384 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4387 * debian/libhildon1-examples.install
4389 * examples/Makefile.am:
4390 Use dh_install to install all examples.
4391 Use DEB_SRCDIR instead of defining SOURCE_DIR
4393 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4395 * configure.ac: post release version bump.
4396 * debian/changelog: version bump
4398 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4403 * configure.ac: bump version
4404 * debian/changelog: updates
4405 * debian/control: bump gtk+ dependency
4407 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4409 patch by Christian Dywan (christian@imendio.com)
4411 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4412 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4414 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4416 * src/hildon-check-button.c (hildon_check_button_init)
4417 (hildon_check_button_class_init, hildon_check_button_style_set)
4418 (hildon_check_button_apply_style):
4419 New "checkbox-size" style property.
4421 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4422 larger / configurable size)
4424 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4426 * configure.ac: post release version bump.
4427 * debian/changelog: version bump
4429 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4434 * configure.ac: bump version
4435 * debian/changelog: updates
4437 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4439 * doc/hildon-sections.txt
4440 * src/hildon-pannable-area.c
4441 * src/hildon-program.c
4442 * src/hildon-time-editor.c
4443 * src/hildon-touch-selector-entry.c:
4445 More documentation updates.
4447 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4449 * doc/hildon-sections.txt
4450 * src/hildon-caption.c
4451 * src/hildon-code-dialog.c
4452 * src/hildon-color-button.c
4453 * src/hildon-controlbar.c
4454 * src/hildon-date-editor.c
4455 * src/hildon-date-selector.c
4456 * src/hildon-edit-toolbar.c
4457 * src/hildon-find-toolbar.c
4458 * src/hildon-font-selection-dialog.c
4460 * src/hildon-program.c
4461 * src/hildon-range-editor.c
4462 * src/hildon-seekbar.c
4463 * src/hildon-time-editor.c
4464 * src/hildon-time-selector.c
4465 * src/hildon-volumebar-range.c
4466 * src/hildon-volumebar.c
4467 * src/hildon-vvolumebar.c
4468 * src/hildon-weekday-picker.c
4469 * src/hildon-window.c
4470 * src/hildon-wizard-dialog.c:
4472 Lots of documentation fixes.
4474 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4476 Patch contributed by Iván Gómez (igomez@igalia.com)
4478 * src/hildon-check-button.c:
4479 * src/hildon-date-button.c:
4480 * src/hildon-date-selector.c:
4481 * src/hildon-dialog.c:
4482 * src/hildon-edit-toolbar.c:
4483 * src/hildon-entry.c:
4484 * src/hildon-picker-button.c:
4485 * src/hildon-program.c:
4486 * src/hildon-text-view.c:
4487 * src/hildon-time-button.c:
4488 * src/hildon-touch-selector-entry.c:
4489 * src/hildon-window-stack.c:
4491 Add more "since" tags to the new API.
4493 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4495 * doc/hildon-sections.txt: Add below method.
4496 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4497 version for the hildonized scale.
4498 * src/hildon-gtk.h: Add the definition.
4500 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4502 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4504 * doc/hildon-sections.txt: Add missing entries for new methods.
4506 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4508 Added API to pannable are in order to get its adjustments. We
4509 added two properties to manage the values we had in the private
4512 * src/hildon-pannable-area.c:
4513 (hildon_pannable_area_class_init): Added hadjustment and
4514 vadjustment properties in order to expose horizontal and vertical
4516 (hildon_pannable_area_get_property),
4517 (hildon_pannable_area_set_property): Added code to handle the new
4519 (hildon_pannable_area_get_hadjustment),
4520 (hildon_pannable_area_get_vadjustment): API functions to get the
4522 * src/hildon-pannable-area.h:
4523 (hildon_pannable_area_get_hadjustment),
4524 (hildon_pannable_area_get_vadjustment): API functions to get the
4527 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4529 Fixed some leaks, after valgrinding.
4531 * src/hildon-touch-selector.c:
4532 (_default_print_func): Fixed a leak.
4533 (hildon_touch_selector_append_column): Fixed a leak.
4534 * src/hildon-date-button.c:
4535 (hildon_date_button_init): Fixed a leak.
4536 * src/hildon-date-selector.c
4537 (hildon_date_selector_finalize): Fixed a leak.
4539 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4541 Based on a patch by Christian Dywan (christian@imendio.com)
4543 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4545 * src/hildon-gtk.h: Add definition.
4547 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4549 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-picker-button.c: (hildon_picker_button_init),
4552 (hildon_picker_button_new): Set the HildonButton::style property
4553 in the init method, to propagate the value to the derived classes.
4555 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/hildon-button.c: (hildon_button_class_init): Do not make
4558 the "style" property a construct property.
4560 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4562 * src/hildon-wizard-dialog.h
4563 * src/hildon-wizard-dialog.c
4564 (hildon_wizard_dialog_set_forward_page_func)
4565 * src/hildon-pannable-area.h
4566 * src/hildon-pannable-area.c
4567 (hildon_pannable_area_set_size_request_policy):
4568 Documentation fixes.
4570 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4572 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4574 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4576 * doc/hildon-sections.txt: Added sections file.
4578 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4581 * src/*.[ch]: Updates.
4583 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4585 * examples/hildon-progress-indicator-example.c: new file
4586 * examples/Makefile.am: include the new example program
4588 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4592 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4594 * configure.ac: post release version bump
4595 * debian/changelog: version bump
4597 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4602 * configure.ac: bump version
4603 * debian/changelog: updates
4604 * debian/control: bump gtk+ dependency
4606 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-dialog.c: Mark as deprecated.
4609 * src/hildon-dialog.h: Mark as deprecated.
4610 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4611 from HildonDialog and still work, even if
4612 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4613 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4615 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4616 maemo changes) instead)
4618 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4620 * src/hildon-pannable_area.h:
4621 * src/hildon-pannable_area.c:
4622 (hildon_pannable_area_class_init),
4623 (hildon_pannable_area_set_property),
4624 (hildon_pannable_area_get_property),
4625 (hildon_pannable_area_size_request),
4626 (hildon_pannable_area_get_size_request_policy),
4627 (hildon_pannable_area_set_size_request_policy): Added new API
4628 allowing applications to control the request policy. Now they can
4629 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4630 children allocation (HILDON_MOVEMENT_CHILDREN).
4632 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4636 (hildon_gtk_tree_view_set_ui_mode)
4637 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4638 mode of treeviews and iconviews.
4640 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4642 * src/hildon-touch-selector-entry.c:
4643 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4644 of a GtkEntry to get proper theming.
4646 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4647 widget, not GtkEntry)
4649 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4651 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4652 no HildonWizardDialogPageFunc.
4654 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4656 Patch contributed by Iván Gómez (igomez@igalia.com)
4658 * src/hildon-app-menu.c:
4659 * src/hildon-button.c:
4660 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4661 * src/hildon-stackable-window.c:
4662 * src/hildon-time-selector.c:
4663 * src/hildon-touch-selector.c:
4664 * src/hildon-window.c:
4666 Add more "since" tags to the new API in hildon 2.2.
4668 2008-12-05 Tim Janik <timj@imendio.com>
4670 Patch contributed by Christian Dywan (christian@imendio.com)
4672 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4673 HildonSizeType, which are supplied by Gtk+ now.
4675 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4677 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4678 (with maemo changes) instead)
4680 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4682 Patch contributed by Iván Gómez (igomez@igalia.com)
4684 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4687 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4689 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4690 (some_page_func), (main): Update the example to use a
4691 HildonWizardDialogPageFunc function.
4693 * src/hildon-wizard-dialog-private.h: Add private data for
4694 the HildonWizardDialogPageFunc function usage.
4696 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4697 (destroy), (hildon_wizard_dialog_init), (response),
4698 (hildon_wizard_dialog_set_forward_page_func):
4699 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4700 that applications can use to stop a HildonWizardDialog to jump to
4703 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4706 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4708 * src/hildon-program.h
4709 * src/hildon-program-private.h
4710 * src/hildon-program.c (hildon_program_init)
4711 (hildon_program_set_common_app_menu)
4712 (hildon_program_get_common_app_menu):
4713 New API for setting a common HildonAppMenu for all
4714 HildonStackableWindows registered with the HildonProgram.
4716 * src/hildon-stackable-window.c
4717 (hildon_stackable_window_toggle_menu):
4718 Use the common HildonAppMenu if a window doesn't have a specific
4721 * src/hildon-app-menu-private.h
4722 * src/hildon-app-menu.c
4723 (hildon_app_menu_get_parent_window):
4724 Function to obtain the window a HildonAppMenu is attached to.
4725 (hildon_app_menu_set_parent_window):
4726 Hide the menu if the parent window is set to NULL.
4728 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4731 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4732 search widget to popup.
4734 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4736 * configure.ac: post release version bump
4737 * debian/changelog: version bump
4739 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4744 * configure.ac: bump version
4745 * debian/changelog: updates
4747 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4749 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4751 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4752 (hildon_window_stack_window_realized)
4753 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4754 Set the leader GdkWindow when a window is stacked and realized,
4755 unset it when it's unstacked.
4756 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4758 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4760 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4762 * src/hildon-stackable-window.h
4763 * src/hildon-window-stack.h:
4764 Protect definition of HildonWindowStack using the preprocessor.
4766 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4768 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4769 Fix warning if all menu items are hidden.
4771 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4773 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4775 * src/hildon-controlbar.c:
4776 * src/hildon-hvolumebar.c:
4777 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4778 Multiple scale size defines updates.
4780 Fixes: NB#94322 (Scale Updates)
4782 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4784 * examples/hildon-app-menu-example.c (create_menu)
4785 Show items after adding them to the menu, as in the future the
4786 menu will no longer call gtk_widget_show() on the added items.
4788 * src/hildon-app-menu.c:
4789 Update example as explained above.
4791 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4793 * src/hildon-app-menu.c
4794 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4795 Make sure that all menu items have finger height.
4797 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4799 * src/hildon-picker-dialog.c:
4800 (_on_dialog_response), (_save_current_selection),
4801 (_restore_current_selection), (_clean_current_selection),
4802 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4803 Defined new functions in order to save the current internal selector
4804 selection previous open the dialog, in case that the use cancel the
4805 interaction, so the widget restores the previous selection.
4807 Fixes: NB#92032 (In calendar application, date values in 'new event'
4810 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4812 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-button.c: Add a reference to the button examples in
4815 hildon-button-example.c
4817 * examples/hildon-button-example.c: Added examples of the most
4818 common button layouts.
4820 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4822 * src/hildon-app-menu.c (hildon_app_menu_show)
4823 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4825 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4827 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-picker-dialog.c:
4830 (hildon_picker_dialog_init): Initialize the signal id for
4831 HildonTouchSelector::columns-changed.
4832 (+on_selector_columns_changed): Set up the interaction mode everytime a
4833 column is added or removed from the HildonTouchSelector.
4834 (_hildon_picker_dialog_set_selector): Connect to
4835 HildonTouchSelector::columns-changed and keep track of it.
4837 Make sure to update the interaction mode of the dialog everytime a
4838 column is added or removed in the HildonTouchSelector.
4840 Fixes: NB#93228 (Done button is not shown always in listpicker)
4842 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4844 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4845 a new ::columns-changed signal.
4846 (hildon_touch_selector_append_column): Emit ::columns-changed.
4847 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4849 Add a ::columns-changed signal, emitted when the number of columns in a
4850 HildonTouchSelector changes.
4852 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4855 (_hildon_picker_dialog_set_selector): Factor out the code
4856 to set up the dialog interaction mode.
4858 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4861 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4862 to signal_changed_id.
4864 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4869 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4871 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4872 Updated the logical ids related to ampm format, as now it is required to
4873 show it correctly localized even on languages with no default
4874 abbreviations for am or pm
4875 (_check_am_pm_format): check correctly the 24h format gconf property
4877 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4879 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4881 * src/hildon-button.c: Documentation updates.
4883 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4885 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4886 * src/hildon-caption.c: (hildon_caption_class_init):
4887 * src/hildon-color-button.c: (hildon_color_button_class_init):
4888 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4889 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4890 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4891 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4893 Remove deprecated GTK+ marshalers and replace them with the ones
4894 provided by GLib, for those available, add a marshaler for
4895 BOOLEAN:VOID, which is not available in GLib, and use it.
4897 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4899 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4900 the text from the previous column if there is no
4901 HildonTouchSelectorColumn::text-property set.
4903 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-button.h
4906 * src/hildon-button.c (hildon_button_set_property)
4907 (hildon_button_get_property, hildon_button_class_init)
4908 (hildon_button_set_style, hildon_button_get_style):
4909 New "style" property to change the visual appearance of the
4912 * src/hildon-picker-button.c (hildon_picker_button_new):
4913 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4915 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4916 HildonButton look like PickerButton)
4918 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4920 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4921 column while building the default string.
4923 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4925 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4926 scroll indicator by default.
4928 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4930 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-main.c: Fix the documentation for hildon_init()
4934 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4936 * doc/hildon-docs.sgml
4940 * src/hildon-window-stack-private.h
4941 * src/hildon-window-stack.h
4942 * src/hildon-window-stack.c:
4943 New HildonWindowStack object, that adds support for multiple
4944 stacks of windows per process.
4946 * src/hildon-stackable-window-private.h
4947 * src/hildon-stackable-window.h
4948 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4949 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4950 (hildon_stackable_window_show, hildon_stackable_window_hide)
4951 (hildon_stackable_window_class_init)
4952 (hildon_stackable_window_init):
4953 Use HildonWindowStack for stack management.
4955 * src/hildon-program.c (hildon_program_pop_window_stack)
4956 (hildon_program_peek_window_stack)
4957 (hildon_program_go_to_root_window):
4958 Add a fallback implementation to the deprecated functions using
4961 * examples/hildon-stackable-window-example.c:
4962 Use the new HildonWindowStack API.
4964 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4966 * src/hildon-stackable-window-private.h
4967 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4968 (hildon_stackable_window_hide, hildon_stackable_window_init):
4969 Remove all window stack management.
4971 * src/hildon-program-private.h
4972 * src/hildon-program.h
4973 * src/hildon-program.c (hildon_program_init)
4974 (hildon_program_pop_window_stack)
4975 (hildon_program_peek_window_stack)
4976 (hildon_program_go_to_root_window):
4977 Remove all window stack management and mark functions as
4980 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4982 * src/hildon-app-menu.c (hildon_app_menu_realize):
4983 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4985 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4987 * configure.ac: post release version bump
4988 * debian/changelog: version bump
4990 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4995 * configure.ac: bump version
4996 * debian/changelog: updates
4998 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5000 Based on initial code by Christian Dywan (christian@imendio.com)
5002 * doc/hildon-docs.sgml: Add section for hildon-main.
5003 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5004 * src/Makefile.am: Add new hildon-main.[ch]
5005 * src/hildon-defines.h: Update the icon sizes.
5006 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5007 new library initialization files and register icon sizes.
5008 * src/hildon-main.h: New declarations.
5009 * src/hildon.h: Include hildon-main.h
5011 Add new initialization functions to the library. These methods
5012 will register the hildon specific icon sizes and can be used in the
5013 future for other hildon specific bits.
5015 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5017 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5019 * src/hildon-window.c: (hildon_window_realize),
5020 (hildon_window_notify), (-hildon_window_update_title): Do not set
5021 the application name in the window title.
5023 Fixes: NB#89754 (Applications shouldn't display their names in the
5026 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-note-private.h:
5029 * src/hildon-note.c: (hildon_note_set_property),
5030 (hildon_note_get_property), (hildon_note_class_init),
5031 (hildon_note_init), (hildon_note_finalize),
5032 (hildon_note_new_confirmation_with_icon_name),
5033 (hildon_note_new_information_with_icon_name):
5035 No need to mark as deprecated the actual code. Revert
5036 to avoid missing symbols in widgets using deprecated API.
5038 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5040 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5042 * src/hildon-volumebar.h
5043 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5044 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5046 * src/hildon-helper.h
5047 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5048 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5050 * examples/Makefile.am:
5051 Deprecate hildon-insensitive-example
5053 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5055 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5057 * examples/hildon-pannable-area-buttons-scroll-example.c:
5058 Make all buttons finger height
5060 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5062 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5064 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5065 update the day model only if it is really required, and to avoid the
5066 full-reconstruction aproach. Now it only add or remove the required days.
5068 The purpose of this is avoid superfluous HildonTouchSelector::changed
5071 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5072 with strange parameters)
5074 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5076 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5078 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5079 the WINDOW_TYPE property.
5081 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5083 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5086 Fix dependency to allow parallel compilation with make -jX
5088 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5090 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5091 color frame and some minor tweaks to make it more consistent with
5094 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5095 highlighted but not visible)
5097 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5099 * examples/Makefile.am: Fixed typo in the Makefile.am.
5101 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5103 Reviewed the use of MAEMO_GTK define, now we add the define in the
5104 compilation line, and we also add it to the pc file.
5106 * configure.ac: Added MAEMO_GTK define to the compilation command
5107 and removed it from the config.h.
5109 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5110 do not have to take care about this define if the library was
5114 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5116 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5118 * examples/Makefile.am,
5119 * examples/hildon-pannable-area-buttons-scroll-example.c,
5120 * examples/hildon-pannable-area-gesture-signals-example.c,
5121 * examples/hildon-pannable-area-scroll-jump-example.c,
5122 * examples/hildon-pannable-area-tree-view-example.c:
5123 Renamed the pannable area examples, now they have more meaningful
5126 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5128 * src/hildon-touch-selector.c:
5129 (hildon_touch_selector_set_column_selection_mode): Used of
5130 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5131 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5132 to avoid re-seting the same selection mode.
5134 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5135 breaks HildonPickerDialog)
5137 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5139 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5140 conditional in the Makefile.am
5142 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5144 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5145 Remove unused methods.
5147 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-button.c (hildon_button_init):
5150 Make button images center-aligned by default
5152 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5155 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5156 activated, we have to think about how to deal with both defines
5157 MAEMO_GTK and MAEMO_CHANGES.
5159 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5161 * examples/hildon-app-menu-example.c (create_menu): Make all
5162 buttons finger size.
5164 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5166 Fixed the compilation without maemo gtk adding ifdefs with
5167 MAEMO_GTK define to the code, we have to check this version more
5170 * examples/Makefile.am: Added control to avoid some examples that
5171 just make sense with maemo gtk.
5174 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5175 hildon modes with the define.
5177 * examples/hildon-edit-toolbar-example.c,
5178 (create_icon_view): Create the icon view without hildon-gtk
5179 helpers if we are not using maemo gtk.
5181 * src/hildon-touch-selector.c,
5182 (_create_new_column): Create the treeview without hildon-gtk
5183 helpers if we are not using maemo gtk.
5185 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5187 * src/hildon-pnnable-area.c,
5188 (hildon_pannable_area_dispose),
5189 (hildon_pannable_area_button_press_cb),
5190 (hildon_pannable_area_child_mapped),
5191 (hildon_pannable_area_add),
5192 (hildon_pannable_area_remove): Added code to control the position
5193 of the event_window when adding and removing children from the
5194 pannable. We have to raise the event window when the child is
5197 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5198 selection mode using custom widget inside pannable)
5200 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5202 * configure.ac: post release version bump
5203 * debian/changelog: version bump
5205 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5210 * configure.ac: bump version
5211 * debian/changelog: updates
5213 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5215 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5216 search mode, in order to avoid lose the focus on the treeview when
5217 a hw key (like enter) is pressed.
5219 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5220 in HildonDateSelector dialog)
5222 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5224 * debian/rules: Added --enable-maintainer-mode
5225 * Makefile.am: Added ACLOCAL_AMFLAGS
5227 This allows to properly regenerate the Makefiles if you modify the
5228 configure.ac or any Makefile.am.
5230 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5232 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5233 properties, not needed at all.
5235 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5237 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5239 * src/hildon-note.c: (hildon_note_set_property),
5240 (hildon_note_get_property), (hildon_note_class_init),
5241 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5242 (hildon_note_new_confirmation_add_buttons): Remove icons.
5243 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5244 (hildon_note_new_information_with_icon_name): Deprecate.
5245 (hildon_note_new_confirmation): Act directly, without calling
5246 the deprecated constructor.
5247 (hildon_note_new_information): Act directly, without calling
5248 the deprecated constructor.
5249 * src/hildon-note.h: Mark deprecate methods as such.
5250 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5251 not run tests on the deprecated methods if built with deprecation
5254 Fixes: NB#91688 (Never show icons in information notes/confirmation
5257 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5259 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5260 (hildon_app_menu_key_press): Remove leftover usage of the
5261 private structure in HildonAppMenu struct.
5262 * src/hildon-app-menu.h: Remove leftover private structure
5263 from the HildonAppMenu struct.
5265 Fixes a crasher when using the HildonAppMenu.
5267 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5269 * src/hildon-picker-dialog.c: Use appropriate logical id
5270 for the default "Done" text.
5272 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5274 * configure.ac: post release version bump
5275 * debian/changelog: version bump
5277 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5279 Modified the way to scroll to the current selection just when the touch
5280 selector is shown on the screen, avoiding a g_idle. Added too a property
5281 to configure this behaviour. See hildon_pannable_area_jump_to_child
5282 documentation for more information.
5284 * src/hildon-touch-selector.c
5285 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5286 Added 'initial-scroll' property
5287 (hildon_touch_selector_set_property): Added
5288 (hildon_touch_selector_map): Removed as not required anymore
5289 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5290 only a concrete column, instead of iterate along all the columns
5292 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5297 * configure.ac: bump version
5298 * debian/changelog: updates
5300 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5302 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5303 compilation time warnings.
5305 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5307 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5308 the default value for HildonPannableArea::mov-mode to
5309 HILDON_PANNABLE_AREA_MODE_VERT.
5311 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5313 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5315 Reverting following commit:
5317 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5319 * src/hildon-app-menu-private.h
5320 * src/hildon-app-menu.[ch]
5321 * src/hildon-button.[ch]
5322 * src/hildon-check-button.[ch]
5323 * src/hildon-entry.[ch]
5324 * src/hildon-pannable-area.[ch]
5325 * src/hildon-text-view.[ch]:
5326 Added private field to the object's structure.
5328 because it causes an ABI breakage. We will need to introduce these
5329 changes later at some point. See NB#91636 for an extensive
5330 explanation and status.
5332 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5334 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5336 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5337 remove special cases that are no longer necessary.
5339 Fixes: NB#91016 (Change toolbar sizes, simplification)
5341 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5343 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5344 is shown in the cancel note.
5346 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5348 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5349 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5350 (hildon_seekbar_init): Remove steppers, remove expose event.
5351 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5353 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5355 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5357 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5358 label font to "SmallSystemFont" for vertically arranged buttons.
5360 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5363 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5365 * src/hildon-check-button.c
5366 (hildon_check_button_set_active, hildon_check_button_clicked):
5367 Don't access private parts directly, use getters instead.
5369 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-check-button.c (hildon_check_button_new):
5372 Align the contents of the check button to the left.
5374 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5376 * src/hildon-pannable-area.c,
5377 (hildon_pannable_area_scroll_to),
5378 (hildon_pannable_area_jump_to),
5379 (hildon_pannable_area_scroll_to_child),
5380 (hildon_pannable_area_jump_to_child): Replace the mapped
5381 precondition of these functions with the realized, it is the
5382 correct state of the widget in this case. Changed the
5383 documentation according to this modification.
5385 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5387 Added a new EXTRA_CFLAGS option to add the deprecated define to
5388 the compilation command. This way we can avoid using the define in
5389 the documentation compilation.
5391 * configure.ac: Defined EXTRA_CFLAGS.
5393 * examples/Makefile.am:
5395 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5397 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5399 * src/hildon-picker-dialog.c:
5400 Defined a utility macro with the desired touch selector height
5401 Removed currently unused separator, and title_label variables from
5403 (hildon_picker_dialog_init): Removed code related to the creation
5404 of unused private variables title_label and separator.
5405 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5406 to ensure correct visualization of the touch selector inside the dialog.
5407 * src/hildon-touch-selector.c
5408 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5409 ensure a concrete height of the widget.
5411 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5414 * tests/Makefile.am:
5416 Remove spurious whitespaces.
5418 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5420 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5421 compilation warning after the cancel button removal.
5423 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5425 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5427 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5428 Makefile.am, that way we can choose not to compile some examples
5429 and tests of the deprecated widgets.
5431 * examples/Makefile.am: Divided the sources in deprecated and
5434 * src/Makefile.am: Added undef statement of the deprecated
5435 symbol to the enums file generation process.
5437 * src/hildon-color-chooser-dialog.c
5438 * src/hildon-color-chooser-dialog.h
5439 * src/hildon-color-button.c
5440 * src/hildon-color-button.h
5441 * src/hildon-color-chooser.c
5442 * src/hildon-color-chooser.h
5443 * src/hildon-controlbar.c
5444 * src/hildon-controlbar.h
5445 * src/hildon-date-editor.c
5446 * src/hildon-date-editor.h
5447 * src/hildon-hvolumebar.c
5448 * src/hildon-hvolumebar.h
5449 * src/hildon-private.c
5450 * src/hildon-private.h
5451 * src/hildon-range-editor.c
5452 * src/hildon-range-editor.h
5453 * src/hildon-seekbar.c
5454 * src/hildon-seekbar.h
5455 * src/hildon-time-editor.c
5456 * src/hildon-time-editor.h
5457 * src/hildon-time-picker.c
5458 * src/hildon-time-picker.h
5459 * src/hildon-volumebar.c
5460 * src/hildon-volumebar.h
5461 * src/hildon-vvolumebar.c
5462 * src/hildon-vvolumebar.h
5463 * src/hildon-bread-crumb-trail.h
5464 * src/hildon-bread-crumb-trail.c
5465 * src/hildon-calendar-popup.c
5466 * src/hildon-calendar-popup.h
5467 * src/hildon-weekday-picker.c:
5468 * src/hildon-weekday-picker.h:
5469 * src/hildon-bread-crumb-widget.c:
5470 * src/hildon-bread-crumb-widget.h:
5471 * src/hildon-bread-crumb.c:
5472 * src/hildon-bread-crumb.h:
5473 * src/hildon-calendar.c:
5474 * src/hildon-calendar.h:
5475 * src/hildon-caption.c:
5476 * src/hildon-code-dialog.c:
5477 * src/hildon-code-dialog.h:
5478 * src/hildon-font-selection-dialog.c:
5479 * src/hildon-font-selection-dialog.h:
5480 * src/hildon-get-password-dialog.c:
5481 * src/hildon-get-password-dialog.h:
5482 * src/hildon-login-dialog.c:
5483 * src/hildon-login-dialog.h:
5484 * src/hildon-number-editor.c:
5485 * src/hildon-number-editor.h:
5486 * src/hildon-set-password-dialog.c:
5487 * src/hildon-set-password-dialog.h:
5488 * src/hildon-sort-dialog.c:
5489 * src/hildon-sort-dialog.h: This is the list of deprecated
5492 * src/hildon-touch-selector.c:
5493 * src/hildon-window.c: Added undef statement to avoid compilation
5496 * tests/Makefile.am: Divided the sources in deprecated and
5499 * tests/check_test.c,
5500 (configure_tests): Marked the deprecated code that was adding
5501 suites with deprecated tests.
5503 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5505 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5507 * src/hildon-touch-selector.c: (_default_print_func): Do not
5508 duplicate a string returned by gtk_tree_model_get(), it is already
5511 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5514 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5516 * src/hildon-pannable-area.c
5517 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5518 method, it had problems when adding a widget with viewport the
5519 second time. Now checks if it already has a viewport and uses it.
5521 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5524 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5526 * src/hildon-pannable-area.c,
5527 (hildon_pannable_area_scroll_to),
5528 (hildon_pannable_area_jump_to),
5529 (hildon_pannable_area_scroll_to_child),
5530 (hildon_pannable_area_jump_to_child): Added a precondition to the
5531 scroll and jump to functions: the widget must be mapped before we
5532 can safely call these functions. We have also added documentation
5533 to the functions to explain how to use them in this situation.
5536 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5538 Reviewed the threading handling of the pannable widget, we have
5539 used the gdk_threads_add_timeout function instead of the usual
5540 glib handlers. This avoids some problems with the threads.
5542 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5543 (hildon_pannable_area_initial_effect),
5544 (hildon_pannable_area_scroll_indicator_fade),
5545 (hildon_pannable_area_button_press_cb),
5546 (hildon_pannable_area_timeout),
5547 (hildon_pannable_area_motion_notify_cb),
5548 (hildon_pannable_area_button_release_cb),
5549 (hildon_pannable_area_scroll_cb),
5550 (hildon_pannable_area_scroll_to): Removed the
5551 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5552 gdk_threads_add_timeout.
5554 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5556 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5561 * configure.ac: bump version
5562 * debian/changelog: updates
5564 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5566 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5567 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5568 * src/hildon-color-chooser-dialog.c:
5569 (hildon_color_chooser_dialog_init):
5570 * src/hildon-font-selection-dialog.c:
5571 (hildon_font_selection_dialog_init):
5572 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5574 Remove all cancel/close-like dialogs, as these are not going to be
5577 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5579 * src/hildon-note.c: (hildon_note_rebuild),
5580 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5583 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5585 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5587 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5588 sure all buttons are shown, even the Cancel/Close-like ones.
5590 Fixes: NB#90861 (Custom Confirmation dialogs should be
5591 protected from cancel button removal)
5593 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5595 * debian/control: Change libhildon1-examples dependency from libhildon1
5597 * debian/libhildon1-examples.install
5599 * Makefile.am: Modified the final install directory for the examples on
5600 package libhildon1-examples
5601 * Makefile.static: Update clean target in order to remove all the binary
5604 Changes suggested by Claudio after review new libhildon1-examples package
5606 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5608 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5609 * src/hildon-touch-selector.c: Ditto.
5611 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5613 * debian/control: Added new package libhildon1-examples, in order to pack
5614 the current hildon examples as documentation
5615 * debian/rules: Not to compress .c files, modify some includes on the
5616 examples (as normally are compiled locally, but when installed it will
5617 require to include the installed libhildon1 library), and rename
5619 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5620 install all the example files on the new example package
5621 * examples/Makefile.static: Added static makefile that can be used to
5622 compile the examples, once installed the new example package
5623 * examples: Most of the examples were modified in order to grant that
5624 all use only '#include "hildon.h"', in order to be easy to prepare
5625 it on the example package
5627 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5630 * debian/libhildon1-dev.install
5631 * debian/libhildon1-doc.install:
5632 Move all gtk-doc files to a separate libhildon1-doc package.
5634 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5636 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5638 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5640 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5642 * debian/rules: Fixed a error in order to avoid unnecessary calls
5643 to autogen.sh on package building
5645 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5647 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5649 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5651 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5654 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5656 * src/hildon-picker-button.c
5657 (hildon_picker_button_finalize):
5658 Free priv->done_button_text
5660 * src/hildon-time-button.c
5661 (hildon_time_button_set_time)
5662 * src/hildon-picker-button.c
5663 (hildon_picker_button_clicked)
5664 (hildon_picker_button_selector_selection_changed)
5665 (hildon_picker_button_set_selector)
5666 * src/hildon-date-button.c
5667 (hildon_date_button_set_date):
5668 Free strings returned by hildon_touch_selector_get_current_text()
5670 * src/hildon-button.c (hildon_button_construct_child):
5671 Fix leaks in priv->image and priv->label_box
5673 Fixes: NB#90535 (Memory leak in picker button)
5675 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5677 * src/hildon-button.c: (hildon_button_get_property): Do not access
5678 private elements directly, use getters instead.
5680 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5682 * src/hildon-app-menu-private.h
5683 * src/hildon-app-menu.c
5684 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5685 Store the menu's parent window.
5687 * src/hildon-stackable-window.c
5688 (hildon_stackable_window_toggle_menu)
5689 (hildon_stackable_window_finalize):
5690 Set the menu's parent window when the menu is shown, unset it when
5693 * src/hildon-app-menu.c
5694 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5695 (hildon_app_menu_class_init):
5696 Send unhandled keyboard accelerators to the parent window.
5698 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-stackable-window.c
5701 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5703 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5705 * configure.ac: post release version bump
5707 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5710 * configure.ac: Bump version
5711 * debian/changelog: Updates
5712 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5715 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5717 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5720 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5721 GtkMenu with Hildon style.
5723 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5725 * src/hildon-picker-button.c:
5726 (hildon_picker_button_set_done_button_text): Set the dialog's
5727 done button text here as well.
5729 Fixes: NB#90232 (Picker button does not set the label on done button
5730 for the second time)
5732 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5734 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5737 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5739 * src/hildon-app-menu.c (hildon_app_menu_insert)
5740 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5741 the HildonAppMenu to be activatable using keyboard accelerators
5742 when the menu is not being shown.
5744 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5746 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5748 * src/hildon-stackable-window.c
5749 (hildon_stackable_window_show):
5750 Don't hide old windows automatically when new windows are shown:
5751 this is now a task for the window manager.
5752 (hildon_stackable_window_class_init)
5753 (hildon_stackable_window_hide):
5754 Remove windows from the stack everytime they're hidden.
5755 (hildon_stackable_window_realize):
5756 Don't change the _NET_WM_WINDOW_TYPE property. Use
5757 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5758 it as a stackable window.
5760 * src/hildon-program.c
5761 (hildon_program_pop_window_stack):
5762 Just hide the window to remove it from the stack.
5763 (hildon_program_go_to_root_window):
5764 Don't call gtk_widget_show(), this is now a task for the window
5767 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5769 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5771 * src/hildon-button.c
5772 (hildon_button_construct_child):
5773 Don't pack anything in the button until text or image are
5774 set. This allows adding a custom child after creating the button
5775 with hildon_button_new().
5776 (hildon_button_finalize, hildon_button_class_init)
5777 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5778 alignment and the label box even when they're not packed in the
5781 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5783 * src/hildon-touch-selector.h:
5784 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5785 currently the type definition was using GTK_TYPE_VBOX
5786 * src/hildon-touch-selector.c:
5787 Added some implementation notes in order to clarify that any other widget
5788 added without the column related API will not be included on the
5789 selection logic, and how the widget is freed, as some people ask about
5791 (hildon_touch_selector_remove): Reimplemented in order to free properly
5792 the column related data when you remove the private hbox.
5793 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5794 to get a proper HildonTouchSelectorColumn documentation
5796 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5798 * src/hildon-touch-selector-entry.c:
5799 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5800 text in the GtkEntry and there is no item selected. Fixes a
5803 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-app-menu-private.h
5806 * src/hildon-app-menu.[ch]
5807 * src/hildon-button.[ch]
5808 * src/hildon-check-button.[ch]
5809 * src/hildon-entry.[ch]
5810 * src/hildon-pannable-area.[ch]
5811 * src/hildon-text-view.[ch]:
5812 Added private field to the object's structure.
5814 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5816 * configure.ac: post-release version bump
5818 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5822 * configure.ac: pre-release version bump
5824 * debian/changelog: updates.
5826 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5828 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5829 Disconnect the handler for HildonTouchSelector::changed.
5831 (hildon_picker_button_selector_selection_changed): Update the button
5832 value if the selection change was not triggered by the
5835 (hildon_picker_button_set_selector): connect to
5836 HildonTouchSelector::changed.
5838 Fixes: NB#89650 (Picker button is not updated, when selection in
5839 selector has changed)
5841 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5843 * src/hildon-picker-dialog.c
5844 (hildon_picker_dialog_realize): Removed as not required
5845 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5846 * src/hildon-picker-button.c
5847 (_current_selector_empty): New function, checks if the selector is empty
5848 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5849 if the current selector is empty, in order to avoid to show the dialog
5850 close the dialog in this case (and shows a g_warning).
5852 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5854 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5856 * src/hildon-pannable-area.c,
5857 (hildon_pannable_area_scroll): Added clause to stop movement when
5858 the child of pannable is smaller than one page.
5859 (hildon_pannable_area_scroll_to): Added conditions to avoid
5860 starting the scrolling movement if the child is smaller than one
5861 page, the complete child is in the screen, we do not have to move.
5863 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5865 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5868 this is managed automatically by the widget when the size of the
5871 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5873 * src/hildon-picker-button.c
5874 (hildon_picker_button_set_done_button_text): Make a copy of the
5875 text, and free the previous value.
5877 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5879 * src/hildon-touch-selector-entry.c:
5880 (hildon_touch_selector_entry_print_func): Return the selected row's
5881 text if the entry is empty.
5883 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5886 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5888 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5890 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5893 * src/hildon-check-button.h
5894 * src/hildon-check-button.c
5895 * examples/hildon-check-button-example.c:
5896 HildonCheckButton is now a new widget. 'toggled' signal added.
5898 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5900 * src/hildon-program-private.h
5901 * src/hildon-program.c (hildon_program_init)
5902 (hildon_program_finalize): Removed unused variables group_leader
5903 and name from HildonProgramPrivate.
5905 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5907 * src/hildon-check-button.c (hildon_check_button_set_active)
5908 (hildon_check_button_get_active, hildon_check_button_new): Use
5909 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5911 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5913 * src/hildon-touch-selector.h
5914 (hildon_touch_selector_set_column_attributes): added deprecation
5915 guard HILDON_DISABLE_DEPRECATED
5916 * src/hildon-time-selector.c
5917 (hildon_time_selector_set_time)
5918 (hildon_time_selector_get_time): Fixed a typo on documentation
5919 * src/hildon-touch-selector.c: update HildonTouchSelector and
5920 HildonTouchSelectorColumn documentation
5921 * src/hildon-touch-selector-entry.c: update "text-column" property
5923 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5924 to be added to the general documentation.
5926 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5928 * examples/hildon-pannable-area-example-4.c,
5930 * examples/hildon-pannable-area-example.c,
5931 (main): Modified the code in order to use the container add, with
5932 viewport treeviews could have problems if they are really big.
5934 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5936 * src/hildon-weekday-picker.c,
5937 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5938 the agreement regarding deprecation in the library.
5940 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5942 * examples/hildon-picker-button-multicolumn-example.c:
5943 (main): Use custom "done" button text.
5945 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5946 (hildon_picker_button_set_property),
5947 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5948 (hildon_picker_button_init),
5949 (+hildon_picker_button_get_done_button_text),
5950 (+hildon_picker_button_set_done_button_text): New methods to customize
5951 the "done" button label in the launched HildonPickerDialog. Also,
5954 * src/hildon-picker-button.h: add the public API.
5956 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5958 * src/hildon-date-selector.h:
5959 * src/hildon-picker-dialog.h:
5960 * src/hildon-time-selector.h:
5961 * src/hildon-touch-selector-column.h:
5962 * src/hildon-touch-selector.h:
5964 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5965 declarations. Fixes gtk-doc warnings.
5967 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5969 * src/hildon-picker-dialog.h
5970 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5971 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5973 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5974 long text is set as label for done button)
5976 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5978 * src/hildon-dialog.c (hildon_dialog_add_button):
5979 Set fixed width to all buttons in the HildonDialog.
5981 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5983 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5985 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5986 Set widget name using class name plus "-finger" or "-thumb".
5988 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5990 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5991 'clicked' when the state of the button is manually changed.
5993 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5995 * src/hildon-app-menu.c (hildon_app_menu_realize)
5996 (hildon_app_menu_unrealize, hildon_app_menu_init)
5997 (hildon_app_menu_class_init, item_visibility_changed):
5998 Change the menu layout when the size of the screen changes.
5999 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6000 Show warning only when changing the number of colums using the
6003 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6005 * debian/compat: Set to 5
6006 * debian/control: Update dependencies.
6007 * debian/libhildon1-dbg.install: Remove.
6008 * debian/libhildon1-dev.install: Update according to cdbs paths.
6009 * debian/libhildon1.install: Update according to cdbs paths.
6010 * debian/rules: Switch to cdbs.
6012 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6014 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6015 'item' variable renamed to 'filter'
6017 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6019 * src/hildon-app-menu.c (hildon_app_menu_insert)
6020 (hildon_app_menu_add_filter, remove_item_from_list)
6021 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6022 Don't leak hidden items when the menu is destroyed.
6024 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6026 * src/hildon-app-menu.c (hildon_app_menu_insert)
6027 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6028 (hildon_app_menu_set_columns, item_visibility_changed)
6029 (filter_visibility_changed, hildon_app_menu_repack_filters)
6030 (hildon_app_menu_repack_items):
6031 Repack items and filters separately.
6033 Don't repack all items, change only the ones that are needed to
6036 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6038 * src/Makefile.am: added hildon-touch-selector-column.h
6040 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6042 * src/hildon-touch-selector.c: added the property "text-column" to the
6043 class HildonTouchSelectorColumn, and related get/set functions
6044 (_default_printf_func): updated to use "text-column" property
6045 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6046 "text-column" in his documentation, as this is now included on
6047 HildonTouchSelectorColumn. The get/set_property can still be used,
6048 working as a wrapper to the concrete column "text-column" property
6049 (_text_column_modified): callback added in order to handle the signal
6050 "notify::text-column" of the concrete HildonTouchSelectorColumn
6051 (hildon_touch_selector_entry_get_text_column)
6052 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6053 modified in order to use the HildonTouchSelectorColumn "text-column"
6055 * src/hildon-time-selector.c:
6056 * src/hildon-date-selector.c:
6057 * examples/hildon-touch-selector-example.c
6058 * examples/hildon-touch-selector-multi-cells-example.c
6059 * examples/hildon-picker-button-multicolumn-example.c
6060 Set the right value to "text-column" property on the creation of a new
6061 column using hildon_touch_selector_append_column()
6063 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6065 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6067 * src/hildon-app-menu.c
6068 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6069 updating the layout of the menu, don't create all widgets again,
6070 just repack the items in their new places.
6072 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6074 * src/hildon-time-selector.c
6075 (hildon_time_selector_get_time)
6076 (hildon_time_selector_set_time)
6077 Added documentation of these public methods
6079 * src/hildon-date-button.h
6080 * src/hildon-touch-selector-column.h
6081 * src/hildon-time-button.h
6082 * src/hildon-picker-dialog.h
6083 * src/hildon-time-selector.h
6084 * src/hildon-picker-button.h
6085 * src/hildon-touch-selector.h
6086 * src/hildon-time-picker.h
6087 * src/hildon-date-selector.h
6088 * src/hildon-touch-selector-entry.h
6089 Modified in order to use hildon-widgets code style
6091 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6093 Added deprecated support to the compilation process using
6094 HILDON_DISABLE_DEPRECATED
6096 * configure.ac: Added the --disable-deprecated to the configure
6099 * src/hildon-weekday-picker.c:
6100 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6101 to use the deprecated support. We will update the other deprecated
6102 widgets status in a new patch.
6104 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6106 * configure.ac: Fixed typo with fatal warnings support, the
6107 variable name was not correct
6109 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6111 * src/hildon-app-menu.c
6112 * src/hildon-program.c: Update documentation.
6114 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6116 * configure.ac: Post-release version bump.
6118 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6123 * configure.ac: Pre-release version bump.
6124 * debian/changelog: Updates.
6126 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6128 * NEWS: Update news for previous releases.
6130 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6132 * examples/hildon-touch-selector-multi-cells-example.c:
6133 (create_selector): Update the example to use
6134 hildon_touch_selector_append_column() with a NULL renderer and set
6135 the renderers later.
6136 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6137 passed a NULL renderer. This is documented behavior now.
6139 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6140 This must be used if the developer wants full control on the layout of
6141 the renderers to be added to the column.
6143 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6145 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6147 * src/hildon-touch-selector.c: Documentation fixes.
6149 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6151 * src/hildon-wizard-dialog-private.h: Remove image and box.
6152 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6153 (hildon_wizard_dialog_set_property), (response): Completely remove
6154 image/icon support, and the containers required for the layout.
6156 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6158 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6160 * src/hildon-app-menu.c: Updated documentation.
6162 * src/hildon-stackable-window.c
6163 (hildon_stackable_window_set_main_menu): Unref the old menu after
6164 ref'ing the new one.
6166 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6168 * src/hildon-stackable-window.c
6169 (hildon_stackable_window_set_main_menu): Unref the previous menu
6170 instead of destroying it.
6172 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6173 floating reference and set has_user_ref_count to FALSE to make
6174 HildonAppMenu act like a normal ref-counted widget and not a
6177 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6180 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6182 * src/hildon-touch-selector-column.h: new file
6183 * src/hildon-touch-selector.h
6184 * src/hildon-touch-selector.c
6185 Implemented GtkCellLayout interface, in order to allow to configure
6186 the cell layout on each individual selector column
6187 (hildon_touch_selector_set_column_attributes): marked as deprecated
6188 * examples/hildon-touch-selector-multi-cells-example.c
6189 Example of how to use the GtkCellLayout interface on the selector
6191 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6193 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-app-menu.h
6196 * src/hildon-app-menu.c
6197 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6198 (hildon_app_menu_append, hildon_app_menu_prepend):
6199 New methods to prepend, insert and move items in the menu.
6201 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6203 * src/hildon-wizard-dialog.c:
6205 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6207 (create_title): Update logical IDs and related code.
6208 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6210 * src/hildon-wizard-dialog.h: Note that
6211 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6212 point, as it is not used anymore.
6214 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6216 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6218 * src/hildon-note.c:
6219 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6220 shown. Do not display an icon in confirmation notes nor information
6222 (hildon_note_set_button_text): Update logical ID for cancel button.
6224 Fixes: NB#88850 (Update HildonNote button strings + signals)
6226 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6228 * src/hildon-stackable-window.c
6229 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6231 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-app-menu-private.h
6234 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6235 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6236 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6237 temporary property 'columns' to change the number of columns.
6239 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6241 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6243 * examples/hildon-note-example.c: (on_information_clicked),
6244 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6245 debugging information.
6246 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6248 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6249 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6250 in order to close: this will be handled by the WM from now on.
6252 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6254 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6256 * src/hildon-app-menu-private.h
6257 * src/hildon-app-menu.c
6258 (hildon_app_menu_append, hildon_app_menu_add_filter)
6259 (button_visibility_changed, hildon_app_menu_apply_style)
6260 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6261 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6262 layout everytime a button (item or filter) is shown or hidden.
6264 * src/hildon-stackable-window.c
6265 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6268 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6270 * src/hildon-touch-selector.c:
6271 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6272 that the treeview inside the touch selector is in fremantle hildon mode
6273 * examples/hildon-date-button-example.c
6274 * examples/hildon-picker-button-multicolumn-example.c
6275 * examples/hildon-touch-selector-entry-example.c
6276 * examples/hildon-touch-selector-example.c
6277 * examples/hildon-time-button-example.c
6278 * examples/hildon-picker-button-example.c:
6279 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6281 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6283 * examples/hildon-text-view-example.c: (main): Remove the
6284 gtkrc bits, now handled by the theme.
6286 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6288 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6291 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6293 * po/Makefile.am: Install properly the mo files.
6294 * po/en_GB.po: Update translation, to ease testing purposes.
6296 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6298 * examples/hildon-picker-button-example.c: (main): Select an item
6299 in the selector before setting it to the button.
6301 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6303 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6304 Update button's value if the selector has an item active.
6306 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6307 'value' with the selector)
6309 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6311 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6312 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6313 (hildon_picker_button_class_init): Plug the finalize method.
6314 (hildon_picker_button_set_selector): If there's a previously set
6315 selector, unref'it before setting a new one.
6317 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6318 HildonTouchSelector)
6320 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6322 * src/hildon-touch-selector-entry.c:
6323 (hildon_touch_selector_entry_changed): Check if there is no text
6324 selected before setting the entry text.
6327 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-touch-selector.h
6330 * src/hildon-touch-selector.c
6331 (hildon_touch_selector_get_active)
6332 (hildon_touch_selector_set_active): New methods to set/get the
6333 index of the selected item.
6335 * src/hildon-picker-button.h
6336 * src/hildon-picker-button.c
6337 (hildon_picker_button_get_active)
6338 (hildon_picker_button_set_active): New methods to set/get the
6339 index of the selected item.
6341 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6343 * configure.ac: post-release version bump.
6345 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6349 * configure.ac: Pre-release version bump.
6350 * debian/changelog: Updates.
6351 * debian/control: Add myself as maintainer and depend on l10n
6354 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6356 * src/hildon-window.c
6357 (hildon_window_set_main_menu)
6358 * src/hildon-stackable-window.c
6359 (hildon_stackable_window_set_main_menu):
6360 Updated documentation.
6362 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6364 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6365 Don't free selector->priv manually.
6368 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6371 (hildon_gtk_window_set_progress_indicator):
6372 * src/hildon-gtk.h: Added the new API
6373 hildon_gtk_window_set_progress_indicator, it changes the state of
6374 the window progress hint.
6376 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6378 * src/hildon-button.c
6379 * src/hildon-stackable-window.c: Minor documentation updates.
6381 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6383 * src/hildon-stackable-window.c: Updated documentation.
6385 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6387 * src/hildon-defines.h: Update margins definitions
6388 to the Fremantle sizes.
6391 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6393 * src/hildon-touch-selector.c,
6394 (_hildon_touch_selector_set_model): Cleaning the code after
6395 review, removed g_print and #if 0 from the code.
6397 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6399 * src/hildon-edit-toolbar.c: Update documentation.
6401 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6403 * src/hildon-check-button.h
6404 * src/hildon-check-button.c
6405 (hildon_check_button_set_label, hildon_check_button_get_label)
6406 * examples/hildon-check-button-example.c
6407 (button_clicked_cb):
6408 Removed deprecated methods.
6410 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6412 * src/hildon-text-view.c:
6413 Add sample code to the documentation.
6415 * src/hildon-entry.h
6416 * src/hildon-text-view.h:
6417 Minor cosmetic changes.
6419 * src/hildon-entry.c:
6420 Add sample code to the documentation.
6421 (hildon_entry_init, hildon_entry_refresh_contents):
6422 Don't allow NULL values in the placeholder.
6424 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6426 * doc/hildon-docs.sgml
6428 * examples/Makefile.am
6429 * examples/hildon-text-view-example.c
6431 * src/hildon-text-view.c
6432 * src/hildon-text-view.h
6434 New HildonTextView widget, with example.
6436 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6438 * po/POTFILES.in: Add missing files with translatable strings.
6439 Partially fixes NB#88287.
6441 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6443 * examples/hildon-pannable-area-example-2.c: (main): No need to
6444 set the cellrenderer height inside hildon touch lists, the theme does
6447 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6449 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6450 they are integrated in the theme.
6452 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6454 * examples/hildon-entry-example.c: Update the example adding
6455 widgets to modify the text and the placeholder of the HildonEntry.
6457 * src/hildon-entry.c: Show the placeholder everytime the widget
6458 is empty and loses the focus.
6460 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6462 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6464 * src/hildon-pannable-area.c,
6465 (hildon_pannable_area_size_request): Fixed bug in height
6466 requisition, avoid increasing size and add border twice.
6468 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6470 * configure.ac: postrelease version bump.
6472 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6476 * configure.ac: Prerelease version bump.
6477 * debian/changelog: update.
6478 * debian/rules: make -dbg package contain useful debugging symbols.
6480 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6482 * src/hildon-dialog.h
6483 * src/hildon-dialog.c
6484 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6485 New methods to add buttons with finger size.
6486 (hildon_dialog_new_with_buttons):
6487 Create buttons with finger size.
6489 * examples/hildon-dialog-example.c (main): Use HildonDialog
6490 methods to add buttons.
6492 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6494 * src/hildon-entry.c: Updated HildonButton documentation.
6496 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6498 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6499 button value label with (FALSE, FALSE) to prevent NB#88126 from
6502 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6504 * examples/hildon-pannable-area-example.c,
6505 (main): Removed examples panning a vbox inside a pannable
6506 area. Check bug NB#87965
6508 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6510 Patch contributed by Kris Rietveld (kris@imendio.com)
6512 * src/hildon-pannable-area.c,
6513 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6514 get_size and get_position, this saves an X server roundtrip.
6516 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6518 * doc/hildon-docs.sgml
6520 * examples/Makefile.am
6521 * examples/hildon-entry-example.c
6523 * src/hildon-entry.c
6524 * src/hildon-entry.h
6526 New HildonEntry widget, with example.
6528 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6530 * src/hildon-button.c (hildon_button_construct_child): Pack the
6531 image with expand == fill == FALSE. This is a workaround for a bug
6534 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6536 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6537 labels for the text column, to make it more look more dynamic.
6539 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6541 * src/hildon-time-selector.c
6542 Define gettext auxiliar macro N_
6543 (_create_minutes_model)
6544 (_create_hours_model)
6545 (_create_ampm_model): use of strftime in order to fill the model
6546 * src/hildon-date-selector.c
6547 (hildon_date_selector_finalize):
6548 (_locales_init): remove the logic related to get the name of the months
6549 using nl_langinfo, as it is not required anymore
6551 (_create_year_model)
6552 (_create_month_model)
6553 (_update_day_model): use of strftime in order to fill the model properly
6556 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6558 * src/hildon-button.h
6559 * src/hildon-button.c (hildon_button_get_image): New method to
6562 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6564 * src/hildon-touch-selector.c:
6565 (hildon_touch_selector_remove_column): Remove from the correct parent
6566 and also remove the list element and free it.
6569 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6571 * src/hildon-time-selector.c
6572 (_create_hours_model): change the range on 12h ampm format in order to use
6573 a 12-11 range instead of previous 01-12 range
6574 (hildon_time_selector_set_time): change the way to select the current time
6575 on 12h ampm format, due the change on the range
6576 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6579 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6581 * src/hildon-touch-selector.c
6582 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6583 in order to allow use this function on multiple row selection mode if
6584 the column is different that the first one
6587 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6589 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6590 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6592 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6594 * src/hildon-date-selector.h: clean some comments, now on the .c
6595 * src/hildon-date-selector.c
6596 (hildon_date_selector_select_month): first implementation
6597 (hildon_date_selector_select_day): added documentation, reimplemented
6598 using hildon_date_selector_select_current_date to avoid repeat code
6601 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6603 Reviewed interaction logic based on device experiences, refactored
6606 * src/hildon-pannable-area.c,
6607 (hildon_pannable_area_class_init): Updated default vmax speed.
6608 (hildon_pannable_area_calculate_velocity): Added this function, it
6609 avoids duplicate valocity calculation. Adjusted calculation to
6610 avoid problems with zero dist events.
6612 (hildon_pannable_area_motion_notify_cb): Now we use the
6613 calculate_velocity function.
6615 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6617 * src/hildon-date-selector.c
6618 (hildon_date_selector_select_current_date): fix the day range check
6619 as it failed using the last day of the current month
6622 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6624 * src/hildon-touch-selector.c
6625 (hildon_touch_selector_get_num_columns): added a parameter validation
6628 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6630 * examples/Makefile.am
6631 * examples/hildon-edit-toolbar-example.c: Example of the
6632 HildonEditToolbar widget.
6634 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6636 * configure.ac: postrelease version bump.
6638 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6642 * configure.ac: prerelease version bump.
6643 * debian/changelog: update.
6645 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6647 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6648 renderer to display stock icons in the touch list. Also, set the sizes
6649 to the recommended in the style guide.
6651 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6652 * src/hildon-touch-selector.h
6653 (hildon_touch_selector_set_active_iter): renamed, now is
6654 hildon_touch_selector_select_iter
6655 (hildon_touch_selector_get_active_iter): renamed, now is
6656 hildon_touch_selector_get_selected
6657 (hildon_touch_selector_unselect_iter): added
6658 * src/hildon-touch-selector.c
6659 Update after API modification (methods renamed)
6660 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6661 order to avoid problems selecting multiple elements on the column
6662 (hildon_touch_selector_unselect_iter): added the implementation
6663 * src/hildon-time-selector.c
6664 * src/hildon-date-selector.c
6665 * src/hildon-touch-selector-entry.c
6666 Update methods calls after hildon-touch-selector.h API modification (methods
6669 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6671 * src/hildon-stackable-window.c
6672 (hildon_stackable_window_finalize): Call the parent class's finalize.
6674 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6676 * examples/hildon-touch-selector-example.c: (create_selector): Use
6677 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6680 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6682 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6683 set a cell background color, to respect theming.
6685 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6687 * doc/hildon-docs.sgml
6690 * src/hildon-edit-toolbar.c
6691 * src/hildon-edit-toolbar.h
6692 * src/hildon.h: New HildonEditToolbar widget.
6694 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6696 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6699 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6700 * src/hildon-touch-selector.c
6701 (_create_new_column): use g_object_set instead of two g_object_set_property
6703 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6704 * src/hildon-touch-selector.c
6705 (_create_new_column): use of hildon_gtk_tree_view_new to create
6706 the treeview, instead of use directly g_object_new
6707 (_create_new_column): update the property name "vindicator-mode" for the
6708 new one "vscrollbar-policy"
6709 * examples/hildon-date-button-example.c
6710 * examples/hildon-picker-button-multicolumn-example.c
6711 * examples/hildon-touch-selector-entry-example.c
6712 * examples/hildon-touch-selector-example.c
6713 * examples/hildon-time-button-example.c
6714 * examples/hildon-picker-button-example.c
6715 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6716 to all the treeviews inside a pannable area.
6718 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6720 * src/hildon-button.h
6721 * src/hildon-button.c (hildon_button_init)
6722 (hildon_button_set_arrangement, hildon_button_set_alignment)
6723 (hildon_button_set_title_alignment)
6724 (hildon_button_set_value_alignment)
6725 (hildon_button_set_image_alignment)
6726 (hildon_button_construct_child): New methods to set the alignment
6727 of the individual components of the button (title, value,
6728 image). Also, new method to alter the xscale and yscale properties
6729 of the GtkAlignment inside the button, so more complex layouts can
6732 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6734 * src/hildon-button.c (hildon_button_style_set)
6735 (hildon_button_class_init, hildon_button_set_arrangement)
6736 (hildon_button_construct_child): Apply style properties
6737 correctly. Use the 'image-spacing' style property too.
6739 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6741 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6742 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6745 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6747 * src/hildon-pannable-area.c,
6748 (hildon_pannable_area_size_request): Fixed problem with
6749 pannable-area size_request.
6751 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6753 Added management for the grab-focus to a child widget, like a
6754 range, we need to fade out the scrollbar when releasing.
6756 * src/hildon-pannable-area.c,
6757 (hildon_pannable_area_init): Connected the grab-focus signal to
6759 (hildon_pannable_area_grab_notify): Added this function in order
6760 to manage the situation when the grab-focus ends. We have to
6761 fade-out the scrollbar.
6763 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6765 * src/hildon-app-menu.c: Minor documentation update.
6767 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6769 * src/hildon-app-menu.c
6770 * examples/hildon-app-menu-example.c (create_menu): Update
6771 examples and documentation to explain how to connect callbacks.
6773 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6775 * examples/hildon-button-example.c
6776 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6777 hildon_stackable_window_new instead of gtk_window_new
6779 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6781 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6782 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6783 (hildon_pannable_area_set_property),
6784 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6785 (hildon_pannable_area_unrealize),
6786 (hildon_pannable_area_size_request),
6787 (hildon_pannable_area_size_allocate),
6788 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6789 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6790 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6791 (hildon_pannable_area_initial_effect),
6792 (hildon_pannable_area_redraw),
6793 (hildon_pannable_area_scroll_indicator_fade),
6794 (hildon_pannable_area_expose_event),
6795 (hildon_pannable_area_get_topmost), (synth_crossing),
6796 (hildon_pannable_area_button_press_cb),
6797 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6798 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6799 (hildon_pannable_area_motion_notify_cb),
6800 (hildon_pannable_area_button_release_cb),
6801 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6802 (hildon_pannable_area_remove),
6803 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6804 chage the code layout to a more GtkWidget like. Review the use of
6807 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6809 * examples/hildon-pannable-area-example-4.c,
6810 (main): Modified the name of the hindicator_mode to
6813 * src/hildon-pannable-area.c,
6814 (hildon_pannable_area_class_init),
6815 (hildon_pannable_area_motion_notify_cb),
6816 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6817 we have reduced the amount of signals and managed reviewed its
6818 rationale. Changed the default decelerate value.
6820 (hildon_pannable_area_add),
6821 (hildon_pannable_area_redraw): Refactored functions.
6823 (hildon_pannable_area_init),
6824 (hildon_pannable_area_get_property),
6825 (hildon_pannable_area_set_property):
6826 (hildon_pannable_draw_vscroll),
6827 (hildon_pannable_draw_hscroll),
6828 (hildon_pannable_area_initial_effect),
6829 (hildon_pannable_area_expose_event),
6830 (hildon_pannable_area_scroll),
6831 (hildon_pannable_area_button_press_cb),
6832 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6833 and vindicator_mode with hscrollbar_policy and
6834 vscrollbar_policy. Replaced hscroll and vscroll with
6835 hscroll_visible and vscroll_visible.
6837 (hildon_pannable_area_refresh): Refactor the function, remove
6838 variables and check the calls to this function, added resize
6839 conditions in case the children change their layout.
6841 (hildon_pannable_area_size_request): Added more detailed
6842 size_request calculation.
6845 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6847 * src/hildon-color-chooser.c
6848 (init_borders): use the correct gtk_border_free instead of g_free, to
6849 avoid a crash when this widget is used (ie: the three color selection
6852 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6854 * src/hildon-check-button.c,
6855 (hildon_check_button_set_active): Fixed problem when setting the
6856 active value, the widget was not redrawn.
6858 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6860 * src/hildon-pannable-area.c,
6861 (hildon_pannable_area_refresh),
6862 (hildon_pannable_area_scroll),
6863 (hildon_pannable_area_motion_notify_cb): Small code style change.
6865 (hildon_pannable_area_class_init): Default initial_hint set to
6866 FALSE, it is not in the specs.
6868 (hildon_pannable_area_initial_effect),
6869 (hildon_pannable_area_expose_event),
6870 (hildon_pannable_area_map),
6871 (hildon_pannable_area_init): Moved the launching point of the
6872 initial effect, it was in map but the sizes where not correct in
6873 that method so we do not know if we have the reproduce it. Now it
6874 is placed in the expose_event method and uses a variable to
6875 reproduce it just once.
6877 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6879 * src/hildon-pannable-area.c,
6880 (hildon_pannable_draw_vscroll),
6881 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6882 position allowed for the scrollbars.
6884 (hildon_pannable_area_size_allocate): Small style change.
6886 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6888 * src/hildon-pannable-area.c,
6889 (hildon_pannable_area_scroll_indicator_fade),
6890 (hildon_pannable_area_button_press_cb),
6891 (hildon_pannable_area_button_release_cb),
6892 (hildon_pannable_area_scroll_cb),
6893 (hildon_pannable_area_expose_event),
6894 (hildon_pannable_area_init): Added the define parameter
6895 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6896 and refactor the fade variable.
6898 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6900 * src/hildon-pannable-area.c,
6901 (hildon_pannable_area_redraw),
6902 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6903 lines, we were reimplemeting the redraw code.
6905 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6907 * src/hildon-pannable-area.c,
6908 (hildon_pannable_area_scroll_cb),
6909 (hildon_pannable_area_realize),
6910 (hildon_pannable_area_class_init): Added scroll_event management
6911 for pannable area, now we can scroll the usual desktop method.
6913 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6914 initialization of the parameters should depend on idle_id.
6916 (hildon_pannable_area_init),
6917 (hildon_pannable_area_map): Small code style modifications
6919 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6921 * src/hildon-pannable-area.c
6922 (hildon_pannable_area_button_press_cb),
6923 (hildon_pannable_area_motion_notify_cb),
6924 (hildon_pannable_area_button_release_cb),
6925 (hildon_pannable_area_size_allocate),
6926 (hildon_pannable_area_scroll_to): Improved the timeouts
6927 management, we avoid creating them each time.
6929 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6931 * src/hildon-pannable-area.c:
6932 (hildon_pannable_area_refresh),
6933 (hildon_pannable_area_motion_notify_cb),
6934 (hildon_pannable_area_class_init):
6935 * src/hildon-pannable-area.h:
6936 * src/hildon-touch-selector.c
6937 (_create_new_column):
6938 * examples/hildon-pannable-area-example-4.c:
6939 (horizontal_movement),
6940 (vertical_movement),
6942 Replaced the names of enums in the HildonPannableArea:
6943 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6944 HILDON_MOVEMENT_MODE_*
6945 - HILDON_PANNABLE_AREA_MOV_* ->
6947 - Removed HildonPannableAreaIndicatorMode, now we
6950 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6952 * examples/hildon-pannable-area-touch-grid-example.c
6953 * examples/hildon-pannable-area-touch-list-example.c: Fix
6954 compilation warnings.
6956 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6958 * src/hildon-gtk.c (hildon_gtk_button_new)
6959 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6960 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6961 images overriding the value of the "gtk-button-images" setting.
6963 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6965 * src/hildon-check-button.c (hildon_check_button_new):
6966 Instead of using a custom container, display the label and the
6967 checkbox using the standard GtkButton API.
6969 * examples/hildon-check-button-example.c (main): Don't use
6970 hildon_check_button_set_label() anymore
6972 * src/hildon-check-button.h
6973 * src/hildon-check-button.c
6974 (hildon_check_button_set_label, hildon_check_button_get_label):
6975 Set as deprecated, now we're using gtk_button_{get,set}_label()
6977 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6979 * src/hildon-pannable-area.c,
6980 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6981 GtkTreeview first line we detected it after the inclusion of the
6982 GtkWindowImpl in gtk+. We now check if the window is visible, not
6983 just if the pointer is over the window.
6984 (hildon_pannable_axis_scroll),
6985 (hildon_pannable_area_expose_event): Small style changes.
6987 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6989 * src/hildon-button.c: Update documentation.
6991 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6993 * examples/hildon-button-example.c: Add a switch to show images in
6996 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6998 * doc/hildon-docs.sgml: Some docs reorganization.
7000 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7002 * examples/hildon-pannable-area-touch-list-example.c
7004 * examples/hildon-pannable-area-touch-grid-example.c
7005 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7006 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7007 Fix memory leak when setting the tree model.
7009 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7013 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7015 * doc/hildon.types: Remove duplicated hildon_window_get_type
7016 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7017 documentation comment.
7019 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7021 * doc/Makefile.am: Complete list of private headers.
7023 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7025 * doc/hildon-docs.sgml
7026 * src/hildon-app-menu.c
7027 * src/hildon-bread-crumb.c
7028 * src/hildon-button.c
7030 * src/hildon-program.c
7031 * src/hildon-stackable-window.c
7032 * src/hildon-window.c: Lots of documentation updates.
7034 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7036 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7038 * configure.ac: Require Gtk+ 2.12.9 at least
7040 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7042 * src/hildon-pannable-area.c
7043 (hildon_pannable_area_scroll_indicator_fade),
7044 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7045 to protect the return of this timeout callbacks, avoiding deadlocks.
7047 2008-08-12 Christian Dywan <christian@imendio.com>
7050 * src/hildon-*.h: Ensure a consistent include order,
7051 include <gtk/gtk.h> instead of particular files and
7052 only include the topmost header in the gtk stack. See NB #39857
7054 2008-08-12 Christian Dywan <christian@imendio.com>
7056 * src/hildon-picker-dialog.c
7057 * src/hildon-touch-selector.c: Fix warnings about unused and
7058 uninitialized variables.
7060 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7062 * examples/Makefile.am
7063 * examples/hildon-check-button-example.c: Example of the hildon
7066 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7068 * src/hildon-window.h
7069 * src/hildon-window.c (hildon_window_class_init)
7070 (hildon_window_unset_program): Don't make
7071 hildon_window_unset_program a virtual function anymore.
7073 * src/hildon-stackable-window.c: Update documentation
7075 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7078 * doc/hildon-docs.sgml
7079 * doc/visual_index.xml
7080 * src/hildon-defines.c
7082 * src/hildon-helper.c
7083 * src/hildon-range-editor.c: Lots of documentation fixes.
7085 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7087 * examples/hildon-picker-button-multicolumn-example.c
7088 (create_touch_selector): Fix compilation warning.
7090 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7092 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7093 (hildon_pannable_area_button_release_cb)
7094 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7096 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7098 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7101 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7103 * src/hildon-bread-crumb-trail.h
7104 * src/hildon-date-editor.c
7105 * src/hildon-date-selector.c
7106 * src/hildon-pannable-area.c
7107 * src/hildon-picker-dialog.c
7108 * src/hildon-time-selector.c
7109 * src/hildon-touch-selector-entry.c
7110 * src/hildon-touch-selector.c
7111 * src/hildon-touch-selector.h: Misc documentation fixes
7113 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7115 * examples/hildon-date-editor-example.c (main): Updated date
7118 * examples/hildon-note-example.c (on_confirmation_clicked):
7119 Updated confirmation note example.
7121 * src/hildon-date-editor.c
7122 * src/hildon-note.c: Updated sample programs in documentation.
7125 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7127 * src/hildon-date-button.h:
7128 * src/hildon-picker-button.h:
7129 * src/hildon-time-button.c:
7130 * src/hildon-time-button.h:
7132 Some declarations changes to allow gtk-doc to document the widgets
7135 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7137 * src/hildon-date-button.c: Document the widget.
7138 * src/hildon-time-button.c: Document the widget.
7140 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7142 * src/hildon-picker-button.c: Document the widget.
7143 * src/hildon-touch-selector-entry.c: Document the widget.
7145 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7147 * doc/hildon-docs.sgml
7150 * src/hildon-check-button.h
7151 * src/hildon-check-button.c: New functions to create the Hildon
7155 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7157 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7159 * src/hildon-button.h
7160 * src/hildon-button.c
7161 (hildon_button_add_title_size_group)
7162 (hildon_button_add_value_size_group)
7163 (hildon_button_add_image_size_group)
7164 (hildon_button_add_size_groups): New functions to set size groups
7165 for the button labels and image.
7166 (hildon_button_new_full): Removed
7168 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7170 * src/hildon-time-selector.c
7171 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7172 in order to avoid a crash if gconf is not available
7174 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7176 * src/hildon-button.c (hildon_button_set_arrangement)
7177 (hildon_button_construct_child): Don't construct the button child
7178 before setting the arrangement.
7180 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7182 * src/hildon-program-private.h
7183 * src/hildon-program.c
7184 * src/hildon-program.h
7185 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7186 (hildon_program_peek_window_stack)
7187 (hildon_program_pop_window_stack)
7188 (hildon_program_go_to_root_window): HildonProgram now has a
7189 separate list for stackable windows. Functions are provided to
7190 manage that list with a stack-like API.
7192 * src/hildon-stackable-window.c: Stackable window management is
7193 now much simpler with the new HildonProgram API. Windows no
7194 longer need to be manually added to the program, they're
7195 automatically pushed to the top of the stack when shown.
7197 * examples/hildon-stackable-window-example.c: Updated example to
7198 reflect the API changes.
7200 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7202 * src/hildon-touch-selector.c: Comment out unimplemented
7203 hildon_touch_selector_insert_column() to avoid a compile warning.
7205 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7207 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7208 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7209 (hildon_touch_selector_set_column_selection_mode),
7210 (_hildon_touch_selector_set_model),
7211 (hildon_touch_selector_set_model):
7213 Complete review of HildonTouchSelector documentation.
7215 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7217 * doc/hildon-docs.sgml
7221 * src/hildon-gtk.c: Convenience functions for standard Gtk
7222 widgets, used to easily perform frequent operations.
7224 * src/hildon-button-helpers.h
7225 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7227 * src/hildon-helper.h
7228 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7229 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7231 * src/hildon-button.h
7232 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7234 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7236 * src/hildon-button.c (hildon_button_init)
7237 (hildon_button_set_arrangement, hildon_button_construct_child):
7238 Pack the image and the labels inside the same GtkAlignment so
7239 gtk_button_set_alignment() can be used
7241 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7243 * src/hildon-button.h
7244 * src/hildon-button.c
7245 (hildon_button_init, hildon_button_set_image)
7246 (hildon_button_set_image_position)
7247 (hildon_button_construct_child): New functions to add an image to
7250 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7252 * src/hildon-date-button.c
7253 * src/hildon-picker-button.c
7254 * src/hildon-time-button.c
7255 * src/hildon-button.c:
7256 (hildon_button_class_init): "size-flags" renamed to "size"
7257 (hildon_button_set_title): Hide the title label if set to NULL.
7259 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7261 HildonButtonFlags split into HildonButtonArrangement (to set the
7262 button layout) and HildonSizeType (which can be used for any
7265 * src/hildon-button.h
7266 * src/hildon-button.c
7267 (hildon_button_class_init)
7268 (hildon_button_set_arrangement)
7269 (hildon_button_set_property): New "size-flags"
7270 property. "arrangement-flags" renamed to "arrangement".
7271 (hildon_button_new, hildon_button_new_with_text)
7272 (hildon_button_new_full): Constructors updated to reflect type changes.
7274 * src/hildon-helper.h
7275 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7276 to set the size of a widget.
7280 * src/hildon-button-helpers.c
7281 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7283 * src/hildon-date-button.c
7284 * src/hildon-date-button.h
7285 * src/hildon-picker-button.c
7286 * src/hildon-picker-button.h
7287 * src/hildon-time-button.c
7288 * src/hildon-time-button.h: Updated widgets to reflect
7289 HildonButton API changes.
7291 * examples/hildon-button-example.c
7292 * examples/hildon-date-button-example.c
7293 * examples/hildon-picker-button-example.c
7294 * examples/hildon-picker-button-multicolumn-example.c
7295 * examples/hildon-time-button-example.c
7296 * examples/hildon-touch-selector-entry-example.c
7297 * examples/hildon-touch-selector-example.c: Updated examples to
7298 reflect HildonButton API changes.
7300 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7302 * doc/hildon-docs.sgml:
7304 * examples/Makefile.am:
7305 * examples/hildon-touch-selector-entry-example.c:
7307 * src/hildon-touch-selector-entry.c:
7308 * src/hildon-touch-selector-entry.h:
7311 Moved HildonTouchSelectorEntry from sandbox. Added its
7312 documentation and examples.
7314 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7316 * src/hildon-touch-selector.h:
7317 * examples/hildon-picker-button-multicolumn-example.c:
7318 (hildon_touch_selector_append_text_column): Add a gboolean
7319 parameter to determine if text must be centered in the column.
7321 * src/hildon-date-selector.c: (hildon_date_selector_init):
7322 * src/hildon-time-selector.c: (hildon_time_selector_init):
7323 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7324 (create_touch_selector): Update widgets and example to reflect
7327 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7329 * src/hildon-touch-selector.c:
7330 (hildon_touch_selector_set_active_iter): Set also the cursor in
7333 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7335 * doc/hildon-docs.sgml
7338 * src/hildon-toggle-button.c
7339 * src/hildon-toggle-button.h
7340 * src/hildon.h: Removed HildonToggleButton widget, a derived
7341 class is not necessary for this.
7343 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7345 * src/hildon-pannable-area.c,
7346 (hildon_pannable_area_realize),
7347 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7350 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7352 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7353 "done" button the default widget for the dialog.
7355 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7357 * src/hildon-touch-selector.c:
7358 (hildon_touch_selector_class_init),
7359 (hildon_touch_selector_get_property),
7360 (_hildon_touch_selector_set_model),
7361 (_hildon_touch_selector_has_multiple_selection),
7362 (hildon_touch_selector_has_multiple_selection):
7363 Add a "has-multiple-selection" property with a virtual
7364 has_multiple_selection() method to allow derived classes to
7365 override the default value for it. See the method and property
7366 documentation for details.
7368 * src/hildon-touch-selector.h: Add the new API.
7370 * src/hildon-picker-dialog.c: (requires_done_button): Call
7371 hildon_touch_selector_has_multiple_selection() instead of
7372 determining the need for a button itself.
7374 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7376 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7377 (_hildon_touch_selector_set_model),
7378 (hildon_touch_selector_set_model): Move working code to
7379 _hildon_touch_selector_set_mode(). Call the class method instead.
7381 * src/hildon-touch-selector.h: Add (*set_model) to
7382 HildonTouchSelectorClass.
7384 Make hildon_touch_selector_set_model() a virtual method, so that
7385 derived classes can extend it and do fancy stuff with the model.
7387 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7389 * configure.ac: Set back the tarname in AC_INIT to hildon.
7391 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7395 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7396 instead of libesd (NB#86876). Volume handling is still an open issue.
7398 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7401 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7403 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7404 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7405 derived class to ease placement of an entry widget in
7406 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7407 end, where the selector columns are packed now.
7409 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7411 * src/hildon-picker-button.c: Removed the simple _text() API.
7412 * src/hildon-picker-button.h: Likewise.
7414 * src/hildon-touch-selector.h:
7415 * src/hildon-touch-selector.c:
7416 (hildon_touch_selector_new_text),
7417 (hildon_touch_selector_append_text),
7418 (hildon_touch_selector_prepend_text),
7419 (hildon_touch_selector_insert_text):
7421 Moved the simple _text() API from HildonPickerButton to
7422 HildonTouchPicker, to provide better escalability and not to tie
7423 that API to HildonPickerButton.
7425 * examples/hildon-picker-button-example.c: (main): Example updated.
7427 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7429 * src/hildon-button.c: Updated documentation.
7431 * examples/hildon-button-example.c: Add the posibility to create
7432 the buttons using horizontal layout for title and value.
7434 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7436 * src/hildon-app-menu-private.h
7437 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7438 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7439 GtkSizeGroup for the filters, use the 'homogeneous' property of
7442 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7444 * examples/hildon-button-example.c: Updated example.
7446 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7448 * doc/hildon-docs.sgml:
7451 Update documentation.
7453 * examples/Makefile.am: Update renamed examples.
7455 * examples/hildon-picker-button-multicolumn-example.c:
7456 (create_touch_selector), (main): Update after the rename.
7458 * examples/hildon-touch-picker-example.c: Removed.
7459 * examples/hildon-touch-selector-example.c: (value_changed),
7460 (create_selector), (get_visible_content), (main): Renamed from
7461 hildon-touch-picker-example.c
7463 * src/Makefile.am: Updated renamed files.
7465 * src/hildon-date-button.c: (hildon_date_button_init),
7466 (hildon_date_button_get_date), (hildon_date_button_set_date):
7467 * src/hildon-date-selector.c: (hildon_date_selector_init),
7468 (_custom_print_func), (_update_day_model),
7469 (_manage_selector_change_cb),
7470 (hildon_date_selector_select_current_date),
7471 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7472 * src/hildon-date-selector.h:
7473 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7474 (hildon_picker_button_set_property),
7475 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7476 (hildon_picker_button_init), (hildon_picker_button_new_text),
7477 (hildon_picker_button_append_text),
7478 (hildon_picker_button_prepend_text),
7479 (hildon_picker_button_insert_text),
7480 (hildon_picker_button_set_selector),
7481 (hildon_picker_button_get_selector):
7482 * src/hildon-picker-button.h:
7483 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7484 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7485 (_update_title_on_selector_changed_cb), (requires_done_button),
7486 (_hildon_picker_dialog_set_selector),
7487 (hildon_picker_dialog_set_selector),
7488 (hildon_picker_dialog_get_selector):
7489 * src/hildon-picker-dialog.h:
7490 * src/hildon-time-button.c: (hildon_time_button_init),
7491 (hildon_time_button_get_time), (hildon_time_button_set_time):
7492 * src/hildon-time-selector.c: (hildon_time_selector_init),
7493 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7494 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7495 * src/hildon-time-selector.h:
7498 Massive code updates after the rename.
7500 * src/hildon-touch-picker.c: Removed.
7501 * src/hildon-touch-picker.h: Removed.
7503 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7504 (hildon_touch_selector_init), (hildon_touch_selector_map),
7505 (hildon_touch_selector_remove), (_default_print_func),
7506 (_selection_changed_cb), (_create_new_column),
7507 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7508 (hildon_touch_selector_append_text_column),
7509 (hildon_touch_selector_remove_column),
7510 (hildon_touch_selector_set_column_attributes),
7511 (hildon_touch_selector_insert_column),
7512 (hildon_touch_selector_get_num_columns),
7513 (hildon_touch_selector_get_column_selection_mode),
7514 (hildon_touch_selector_set_column_selection_mode),
7515 (hildon_touch_selector_set_print_func),
7516 (hildon_touch_selector_get_print_func),
7517 (hildon_touch_selector_get_active_iter),
7518 (hildon_touch_selector_set_active_iter),
7519 (hildon_touch_selector_get_selected_rows),
7520 (hildon_touch_selector_get_model),
7521 (hildon_touch_selector_set_model),
7522 (hildon_touch_selector_get_current_text),
7523 (_hildon_touch_selector_center_on_selected_items):
7524 * src/hildon-touch-selector.h: Renamed from
7525 hildon-touch-picker.[ch]
7527 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7528 references, code examples, and related documentation.
7530 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7532 * doc/hildon-docs.sgml
7535 * src/hildon-toggle-button.c
7536 * src/hildon-toggle-button.h
7537 * src/hildon.h: New HildonToggleButton widget.
7539 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7541 * src/hildon-button.c: Add API documentation.
7542 (hildon_button_set_size_groups): Check input parameters
7544 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7546 * src/hildon-pannable-area.c
7547 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7548 effect after reaching the movement thredshold. This way we start
7549 using the distance after passing the thredshold.
7551 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7553 * src/hildon-button.c: (hildon_button_set_property): Use the
7554 appropriate g_value_get_flags() method.
7556 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7558 * doc/hildon-docs.sgml:
7561 Add the touch pickers, picker dialogs, and picker button widgets
7562 to the documentation.
7564 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7566 * src/hildon-button.c: (hildon_button_set_property),
7567 (hildon_button_class_init): Make "arrangement-flags" a proper
7568 G_TYPE_FLAGS derived property.
7570 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7572 * examples/Makefile.am: Add below examples.
7573 * examples/hildon-date-button-example.c:
7574 * examples/hildon-picker-button-example.c:
7575 * examples/hildon-picker-button-multicolumn-example.c:
7576 * examples/hildon-time-button-example.c:
7577 * examples/hildon-touch-picker-example.c:
7579 Add examples for the recently added touch pickers,
7580 picker dialogs, and picker button widgets.
7582 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7584 * src/hildon-button.c: Add some API documentation
7586 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7588 * src/hildon-button.h
7589 * src/hildon-button.c
7591 (hildon_button_new_with_text): New constructor to create a button
7592 with no text at all.
7593 (hildon_button_init, hildon_button_set_arrangement)
7594 (hildon_button_set_title, hildon_button_set_value)
7595 (hildon_button_set_text)
7596 (hildon_button_construct_child): Hide the value when it's not used
7597 so the rest of the text is properly aligned.
7598 Allow creating buttons with arbitrary widgets inside (not just
7599 title/value labels).
7601 * examples/hildon-button-example.c (vertical_buttons_window)
7602 (horizontal_buttons_window): Update example to use new API.
7604 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7606 * src/Makefile.am: Added HildonTimeButton.
7607 * src/hildon-time-button.c: Added missing LGPL header.
7608 * src/hildon-time-button.h: Added missing LGPL header.
7609 * src/hildon.h: Add hildon-time-button.h
7611 Copied HildonTimeButton from sandbox to trunk. Future work on this
7612 widget must take place in trunk.
7614 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7616 * src/Makefile.am: Added HildonDateButton.
7617 * src/hildon-date-button.c: Update includes.
7618 * src/hildon.h: Add hildon-date-button.h
7620 Copied HildonDateButton from sandbox to trunk. Future work on this
7621 widget must take place in trunk.
7623 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7625 * src/Makefile.am: Added HildonPickerButton.
7626 * src/hildon-picker-button.h: Update includes.
7627 * src/hildon.h: Add hildon-picker-button.h
7629 Copied HildonPickerButton from sandbox to trunk. Future work on
7630 this widget must take place in trunk.
7632 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7634 * src/Makefile.am: Added HildonPickerDialog.
7635 * src/hildon-picker-dialog.c: Update includes.
7636 * src/hildon.h: Add hildon-picker-dialog.h
7638 Copied HildonPickerDialog from sandbox to trunk. Future work
7639 on this widget must take place in trunk.
7641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7643 * src/Makefile.am: Added HildonTimeSelector.
7644 * src/hildon.h: Add hildon-time-selector.h
7646 Copied HildonTimeSelector widget from sandbox to trunk. Future
7647 work on this widget must happen in trunk.
7649 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7651 * src/Makefile.am: Added HildonDateSelector.
7652 * src/hildon.h: Add hildon-date-selector.h
7654 Copied HildonDateSelector widget from sandbox to trunk. Future
7655 work on this widget must happen in trunk.
7657 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7659 * src/Makefile.am: Added HildonTouchPicker.
7660 * src/hildon-touch-picker.c: Update includes.
7661 * src/hildon.h: Add hildon-touch-picker.h
7663 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7664 on this widget must happen in trunk.
7666 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7668 * src/hildon-pannable-area.c:
7669 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7671 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7673 * examples/hildon-app-menu-example.c (main): Let the window
7676 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7678 * src/hildon-pannable-area.c
7679 (hildon_pannable_area_class_init): Set the min value of the
7680 overshoot properties to zero, which points out that not
7681 overshooting allowed.
7683 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7685 Modified the procedure to get the widget at a point inside the
7686 pannable area when using the movement type signals. Now the user
7687 has to call a function to get the child, that way we just
7688 calculate the child in case the user really want to use it and not
7691 * src/hildon-marshalers.list: Modified the marshallers, now we do
7692 not have the widget as a parameter.
7694 * src/hildon-pannable-area.c
7695 (hildon_pannable_area_motion_notify_cb),
7696 (hildon_pannable_area_class_init),
7697 (hildon_pannable_get_child_widget_at): Removed the widget
7698 parameter from the signal callback. We have also refactored the
7699 emission of the signals.
7701 * src/hildon-pannable-area.h: Added a new method to the API to
7702 calculate a widget at a point inside the pannable area,
7703 hildon_pannable_get_child_widget_at.
7705 * examples/hildon-pannable-area-example-4.c
7706 (horizontal_movement): Modified the example to use the new API,
7707 added condition to control which widget is under the event. This
7708 way we can avoid scrolling laterally over other widgets.
7710 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7712 * src/hildon-pannable-area.c
7713 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7714 modes, we stop getting the pointer events due to returning the
7715 callback without properly calling the get pointer again. Fixed
7716 also an error using the hscroll and vscroll.
7718 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7720 * src/hildon-app-menu-private.h
7721 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7722 (hildon_app_menu_button_release, hildon_app_menu_init)
7723 (hildon_app_menu_class_init): Don't hide the menu on button
7724 release if the user didn't press outside first.
7726 * src/hildon-window.h
7727 * src/hildon-window.c (hildon_window_toggle_menu)
7728 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7729 hildon_window_toggle_menu a virtual function for the stackable
7730 window to override it.
7732 * src/hildon-stackable-window.h
7733 * src/hildon-stackable-window-private.h
7734 * src/hildon-stackable-window.c
7735 (hildon_stackable_window_realize)
7736 (hildon_stackable_window_finalize)
7737 (hildon_stackable_window_class_init)
7738 (hildon_stackable_window_init)
7739 (hildon_stackable_window_set_main_menu): New function to set the
7740 app menu of a HildonStackableWindow.
7742 * examples/hildon-app-menu-example.c: Remove the button to show
7743 the app menu, now it'll be shown when clicking on the title bar
7746 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7748 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7749 set the widget name if the arrangement flags do not specify
7752 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7754 * src/hildon-button.c: (hildon_button_set_property),
7755 (hildon_button_class_init), (hildon_button_new_full),
7756 (hildon_button_set_arrangement): Added "arrangement-flags"
7759 Make the HildonButtonFlags a construction-only property, to allow
7760 subclasses to set them properly.
7762 2008-07-21 Tim Janik <timj@imendio.com>
7764 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7765 insertion position after backspace, so additional digits are appended,
7768 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7770 * src/hildon-pannable-area.c,
7771 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7772 TODO list, it was complete and removed the g_debug and g_print
7775 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7777 Added the movement modes to the hildon-pannable-area, with this
7778 modes the developers can control in which directions the widget
7779 can scroll. They can also connect to signals in order to do
7780 something when that happens, allowing applications scroll. There
7781 is an example uploaded showing how to use it.
7783 * examples/Makefile.am:
7784 * examples/hildon-pannable-area-example-4.c: Added this example of
7785 an application using the modes.
7787 * src/hildon-marshalers.list: Added a new marshaller for the new
7790 * src/hildon-pannable-area.h: Added new enumerations and flags in
7791 order to control the movement modes and the new signals to warn
7792 about the movements in the area.
7794 * src/hildon-pannable-area.c:
7795 (hildon_pannable_axis_scroll),
7796 (hildon_pannable_area_scroll),
7797 (hildon_pannable_area_motion_notify_cb),
7798 (hildon_pannable_area_get_property),
7799 (hildon_pannable_area_set_property),
7800 (hildon_pannable_area_map),
7801 (hildon_pannable_area_class_init),
7802 (hildon_pannable_area_init),
7803 (hildon_pannable_area_jump_to): Added the modes to control the
7804 movement in the widget. We have added properties to control it,
7805 signals to warn about the movements and refactored some code.
7807 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7809 Changes required in order to allow vfast_factor set to zero to
7812 * src/hildon-pannable-area.c:
7813 (hildon_pannable_area_button_press_cb): Changed the condition, it
7814 is required for not allowing click when vfast_factor is zero.
7815 (hildon_pannable_area_timeout): Initialized velocity variables
7816 when we stop moving, it was less than 1 but not zero and we need
7817 to check zero in some situations.
7818 (hildon_pannable_area_class_init): Changed the default value of
7819 the speed factor, now the button_press is just sent in case the
7820 speed is 2 per cent of the max speed.
7821 (hildon_pannable_area_init): Initialization with 0.
7823 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7825 * src/hildon-pannable-area.c,
7826 (hildon_pannable_area_get_topmost): replaced
7827 gdk_window_get_children with gdk_window_peek_children, this way we
7828 do not have to free the list because it is not a copy.
7830 (hildon_pannable_axis_scroll),
7831 (hildon_pannable_area_scroll),
7832 (hildon_pannable_area_timeout),
7833 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7834 two parameters that were only used inside the
7835 hildon_pannable_area_scroll function.
7837 * examples/hildon-pannable-area-example.c,
7838 (get_sawtooth_label): Fixed small memory leak.
7840 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7842 More checks for the case where the overshoot is bigger than the
7845 * src/hildon-pannable-area.c:
7846 (hildon_pannable_draw_vscroll),
7847 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7848 to draw the slider of the scrollbar under the other scrollbar.
7849 (hildon_pannable_area_expose_event): added new checks to control
7850 the drawing of the overshooting area rectangle, in case it is too
7851 big for the area of the widget.
7852 (hildon_pannable_area_size_allocate): add more checks to avoid
7853 setting a position to the child widget outside the area.
7855 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7857 * src/hildon-pannable-area.c
7858 (hildon_pannable_area_size_allocate): Added conditions to control
7859 when overshooting is bigger than the allocated space for the
7860 children, this avoids negative allocations.
7862 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7864 * doc/hildon-docs.sgml
7866 * examples/Makefile.am
7867 * examples/hildon-button-example.c
7869 * src/hildon-button.c
7870 * src/hildon-button.h
7871 * src/hildon.h: Initial version of the new HildonButton widget,
7874 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7876 * src/hildon-pannable-area.c:
7877 (hildon_pannable_area_button_press_cb),
7878 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7879 (hildon_pannable_area_motion_notify_cb),
7880 (hildon_pannable_area_button_release_cb),
7881 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7882 (hildon_pannable_area_jump_to_child):
7884 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7886 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7888 * examples/Makefile.am
7889 * examples/hildon-pannable-area-touch-grid-example.c
7890 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7891 the Hildon Touch List and Hildon Touch Grid using the
7892 HildonPannableArea widget.
7894 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7896 * src/hildon-pannable-area.c,
7897 (hildon_pannable_area_button_press_cb),
7898 (hildon_pannable_area_refresh),
7899 (hildon_pannable_area_scroll),
7900 (hildon_pannable_area_motion_notify_cb),
7901 (hildon_pannable_area_button_release_cb),
7902 (hildon_pannable_area_expose_event),
7903 (hildon_pannable_area_add),
7904 (hildon_pannable_area_remove),
7905 (hildon_pannable_area_realize),
7906 (hildon_pannable_area_size_allocate),
7907 (hildon_pannable_area_class_init),
7908 (hildon_pannable_area_init),
7909 (hildon_pannable_area_scroll_to_child),
7910 (hildon_pannable_area_jump_to_child): Fixed the problem of
7911 removing the child from the GtkBin, we have rearranged the widget
7912 hierarchy, now there is no GtkAlignment which was not doing
7913 anything interesting but breaking some of the assumptions of
7914 GtkContainer. Now developers if they want to add a GtkAlignment
7915 they could, but it is not inside the area.
7917 We had to review the whole allocation/expose process, now it is
7918 improved and we save at least three signals which would be saving
7919 some time when rendering the widget. The allocation of the
7920 scrollbars is now made in the allocate method as usual.
7922 We have also added some conditions in order to control when there
7923 is no child of the pannable area. Maybe we will need more work
7926 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7928 * src/hildon-pannable-area.c,
7929 (hildon_pannable_area_dispose): Released the fade-out timeout when
7930 disposing the widget.
7932 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7934 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7935 zero, we are going to use that property in order to deactivate the
7937 (hildon_pannable_axis_scroll),
7938 (hildon_pannable_area_size_allocate): Added conditions to control
7939 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7940 call, now it is called in all situations and we can remove calls
7941 in the allocate method.
7942 (hildon_pannable_area_map): Control the situation when
7943 overshoot_max is zero, we do not need the timeout.
7944 (hildon_pannable_area_class_init): Added documentation in order to
7945 point out that setting zero to overshoot_max means deactivate
7948 NOTE: removed trailing whitespaces from my previous comments of
7951 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7953 * src/hildon-pannable-area.c
7954 (hildon_pannable_area_get_property),
7955 (hildon_pannable_area_set_property),
7956 (hildon_pannable_area_map),
7957 (hildon_pannable_area_class_init),
7958 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7959 to cause the widget give a hint about its panning abilities upon
7962 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7964 * src/hildon-pannable-area.c: Several documentation improvements.
7966 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7968 * src/hildon-program.c
7969 * src/hildon-stackable-window.c: Update documentation.
7971 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7973 * src/hildon-stackable-window.c (get_previous_window_if_last):
7974 Renamed get_last_window()
7975 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7976 (hildon_stackable_window_unset_program):
7978 (get_previous_window_if_last):
7979 Detect if the window hasn't been added to a HildonProgram.
7981 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7983 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7985 * src/hildon-pannable-area.c
7986 (hildon_pannable_area_button_press_cb),
7987 (hildon_pannable_axis_scroll),
7988 (hildon_pannable_area_scroll),
7989 (hildon_pannable_area_timeout),
7990 (hildon_pannable_calculate_vel_factor),
7991 (hildon_pannable_area_get_property),
7992 (hildon_pannable_area_set_property),
7993 (hildon_pannable_area_class_init),
7994 (hildon_pannable_area_init),
7995 (hildon_pannable_area_scroll_to),
7996 (hildon_pannable_area_jump_to),
7997 (hildon_pannable_area_scroll_to_child),
7998 (hildon_pannable_area_jump_to_child):
7999 * src/hildon-pannable-area.h: Added the new API functions:
8000 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8001 hildon_pannable_area_scroll_to_child,
8002 hildon_pannable_area_jump_to_child
8005 * examples/Makefile.am
8006 * examples/hildon-pannable-area-example-2.c
8007 * examples/hildon-pannable-area-example-3.c: Added these two new
8008 examples in order to test and show how the new APIs work.
8010 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8012 * examples/hildon-stackable-window-example.c (new_window):
8013 * src/Makefile.am (noinst_HEADERS):
8014 * src/hildon-program.c (hildon_program_go_to_root_window):
8015 * src/hildon-program.h:
8016 * src/hildon-stackable-window-private.h:
8017 * src/hildon-stackable-window.c:
8018 * src/hildon-stackable-window.h:
8019 Create hildon-stackable-window-private.h
8020 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8022 * examples/hildon-app-menu-example.c (create_menu):
8023 * examples/hildon-hvolumebar-insensitive-example.c (main):
8024 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8025 * examples/hildon-toolbar-seekbar-example.c (main):
8026 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8027 * src/hildon-banner.c (hildon_banner_set_property):
8028 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8029 Fix compilation warnings
8031 * src/hildon-window.c:
8034 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8036 * src/hildon-stackable-window.c
8037 (hildon_stackable_window_unset_program):
8038 Calculate correctly whether to show the previous window if the
8039 last one is removed from the stack.
8040 (hildon_stackable_window_go_to_root_window):
8041 Send delete events starting from the topmost window.
8042 Stop if one of the windows is not destroyed.
8044 (hildon_stackable_window_delete_event)
8045 (hildon_stackable_window_class_init):
8046 Ignore the delete event if the window is not the topmost one.
8048 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8050 * src/hildon-pannable-area.c
8051 (hildon_pannable_area_expose_event): Fixed a problem when
8052 selecting the background color of the scrollbars.
8054 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8056 * examples/hildon-stackable-window-example.c
8057 * src/hildon-stackable-window.c
8058 * src/hildon-stackable-window.h
8059 hildon_stackable_window_go_home() renamed to
8060 hildon_stackable_window_go_to_root_window()
8061 Send delete events to windows rather than closing them with
8062 gtk_widget_destroy()
8064 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8066 * src/hildon-pannable-area.c
8067 (hildon_pannable_area_button_release_cb): Fix overshooting in
8070 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8072 * src/hildon-pannable-area.c
8073 (hildon_pannable_area_init): Initially show the scroll indicators.
8074 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8076 Add initial effect showing the widget is pannable.
8078 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8080 * src/hildon-pannable-area.c
8081 (hildon_pannable_area_class_init)
8082 (hildon_pannable_area_set_property)
8083 (hildon_pannable_area_get_property)
8084 (hildon_pannable_area_button_press_cb):
8085 New 'velocity_fast_factor' property to decide which velocity is
8088 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8090 * src/hildon-pannable-area.c
8091 (hildon_pannable_draw_hscroll)
8092 (hildon_pannable_draw_vscroll):
8093 Use float variables to calculate the size of the scrollbars to
8094 avoid error propagation and resizing during scrolling.
8096 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8098 * src/hildon-pannable-area.c
8099 (hildon_pannable_draw_vscroll)
8100 (hildon_pannable_draw_hscroll):
8101 Define a minimum size for the scroll bars
8103 * src/hildon-stackable-window.c
8104 (hildon_stackable_window_go_home): Fix compilation warning
8105 (get_last_window): Minor optimizations
8106 (hildon_stackable_window_class_init): Fix initialization of
8109 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8111 * src/hildon-stackable-window.c: Fixed typos in doc
8113 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8115 * src/hildon-pannable-area.c
8116 (hildon_pannable_area_scroll):
8117 Calculate here whether we need to scroll instead of using the booleans
8118 that tell us whether to /draw/ the scrolling bars.
8120 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8122 * src/hildon-app-menu.h
8124 * src/hildon-app-menu.c
8125 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8126 multiple filter groups related code and API. Now we support only
8128 * examples/hildon-app-menu-example.c:
8130 Update to reflect API changes.
8132 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8134 * src/hildon-stackable-window.c
8135 (hildon_stackable_window_class_init):
8136 Add hildon_stackable_window_realize.
8137 (hildon_stackable_window_realize):
8138 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8139 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8140 to apply theming and behavior specific to HildonStackableWindow
8143 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8145 * src/hildon-note.c (hildon_note_button_release):
8146 Close information notes also when tapping on them
8148 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8150 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8151 ELASTICITY, refactor and review, fix some issues with drawing
8154 * src/hildon-pannable-area.c:
8155 (hildon_pannable_area_button_press_cb): removed the conditions to
8156 avoid clicks when overshooting. It is not required
8158 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8159 define. Refatored and reviewed the code, now we do not need to
8160 manage velocity in motion_notify.
8162 (hildon_pannable_area_motion_notify_cb): We have moved the code
8163 that controls the area_scroll to the axis_scroll function and get
8164 rid of duplicated code.
8166 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8168 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8170 (hildon_pannable_draw_vscroll),
8171 (hildon_pannable_draw_hscroll): Fixed the problems with the
8172 scrollbar drawing, now we do not use two surfaces, it is easier
8173 and saves resources.
8175 (hildon_pannable_area_get_property): Style modification.
8177 (hildon_pannable_area_class_init): Changed some default values.
8179 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8181 * src/hildon-stackable-window.c: Fix some typos in the
8184 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8186 * src/hildon-dialog.c:
8187 Change indentation style
8190 (hildon_note_button_release):
8191 Use root coordinates to check if the release event happened
8194 * src/hildon-app-menu.c
8195 (hildon_app_menu_button_release):
8196 Remove unnecessary check
8198 * examples/hildon-app-menu-example.c
8200 Add cast to fix warning
8202 * src/hildon-app-menu.c
8203 (hildon_app_menu_class_init):
8204 New inner-border style property.
8205 Set all default spacings to 16
8206 (hildon_app_menu_init):
8207 Use vertical-spacing to set the space between filter buttons and
8208 regular menu buttons.
8209 Set the default container border using the inner-border value.
8211 * examples/hildon-app-menu-example.c
8213 Don't set the menu border explicitly, now we have the inner-border
8214 style property for that.
8216 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8218 * src/hildon-app-menu.c (hildon_app_menu_init):
8219 Make the window modal
8221 * src/hildon-note.c (hildon_note_map)
8222 * src/hildon-app-menu.c (hildon_app_menu_map):
8223 Destroy the grab window if we're unable to grab the pointer
8225 * src/hildon-app-menu-private.h
8226 * src/hildon-app-menu.c
8227 (hildon_app_menu_init, hildon_app_menu_finalize)
8228 (hildon_app_menu_map, hildon_app_menu_unmap)
8229 (hildon_app_menu_button_release)
8230 (grab_transfer_window_get):
8231 Bring back the grab window
8232 (hildon_app_menu_realize):
8233 Decorate the window, set WM hint for Matchbox
8235 * src/hildon-note.c (hildon_note_realize):
8236 * src/hildon-banner.c (hildon_banner_realize):
8237 Add WM hints for Matchbox
8239 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8241 * src/hildon-app-menu-private.h
8242 * src/hildon-app-menu.c
8243 (hildon_app_menu_init, hildon_app_menu_finalize)
8244 (hildon_app_menu_map, hildon_app_menu_unmap)
8245 (hildon_app_menu_button_release):
8246 Remove the grab window, it's not needed anymore
8248 * src/hildon-program.c
8249 Fixed typo in documentation
8251 * src/hildon-app-menu.h
8252 * src/hildon-app-menu.c
8253 * examples/hildon-app-menu-example.c
8254 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8256 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8259 Added new transfer_window and close_if_pressed_outside private
8261 (hildon_note_rebuild):
8262 Don't add a cancel button to the information note. It will be
8263 closed when tapping outside
8264 Remove the comment about the OK button in the documentation
8265 (hildon_note_realize):
8266 Set the notification type hint
8267 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8268 Grab/ungrab pointer and keyboard if the note has to be closed when
8270 (hildon_note_button_release):
8271 Close the note when tapping outside (if applicable)
8273 * src/hildon-app-menu.c
8274 Grab/ungrab pointer and keyboard on map/unmap
8275 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8276 Close the menu on button release, not button press
8278 * src/hildon-banner.c
8279 (hildon_banner_set_property)
8280 (hildon_banner_check_position):
8281 Make the banner use the full width of the screen
8282 (hildon_banner_show_information)
8283 (hildon_banner_show_information_with_markup):
8284 Don't display an icon by default
8286 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8288 Added fading scrollbars and adapted all the overshooting code to
8289 horizontal scrolling. We have also fixed bugs with overshooting
8290 and current fading implementation.
8292 * src/hildon-pannable-area.c
8293 (hildon_pannable_area_scroll_indicator_fade): Time out function
8294 used to change the transparency of the scrollbars.
8296 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8297 control and fixed a problem with fading, we now remove the fade
8298 timeout before adding a new one.
8300 (hildon_pannable_axis_scroll):
8301 (hildon_pannable_area_scroll):
8302 (hildon_pannable_area_timeout): Added this functions so we can use
8303 the scroll code both for vertical and horizontal.
8305 (hildon_pannable_area_motion_notify_cb):
8306 (hildon_pannable_area_button_release_cb): Added the horizontal
8307 scrolling control, fixed a problem with the overshooting timeout.
8309 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8310 painting of the scrolls.
8312 (hildon_pannable_draw_vscroll):
8313 (hildon_pannable_draw_hscroll):
8314 (hildon_pannable_area_expose_event):
8315 Draw both scrollbars and rectangles in the overshooting area.
8317 (hildon_pannable_area_get_property):
8318 (hildon_pannable_area_set_property):
8319 Modified the overshoot property to overshoot_max
8321 (hildon_pannable_area_map):
8322 Replaced the comments symbols.
8324 (hildon_pannable_area_size_allocate):
8325 (hildon_pannable_area_class_init):
8326 (hildon_pannable_area_init): Added horizontal scroll, fading
8327 effect properties, fixed a problem when overshooting in the bottom
8330 * examples/hildon-pannable-area-example.c:
8331 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8332 looks better in the example.
8334 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8336 * src/hildon-window.c
8337 * src/hildon-window.h
8338 (hildon_window_class_init)
8339 (hildon_window_unset_program)
8340 (hildon_window_unset_program_real):
8341 Make unset_program a virtual function
8343 * src/hildon-stackable-window.c
8344 * src/hildon-stackable-window.h
8345 Added hildon_stackable_window_go_home()
8347 * examples/Makefile.am
8348 * examples/hildon-stackable-window-example.c
8349 HildonStackableWindow example
8351 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8353 * hildon-pannable-area.c: Added the overshoot property and removed
8354 the OVERSHOOT define. Fixed an indent style error.
8355 (hildon_pannable_area_motion_notify_cb):
8356 (hildon_pannable_area_get_property):
8357 (hildon_pannable_area_set_property): Add overshoot property.
8359 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8362 (hildon_pannable_area_class_init): Installed the new property.
8364 * hildon-pannable-area-example.c: Added a sawtooth function, this
8365 way it is easier to check the movement in the pannable.
8366 (get_sawtooth_label): Added this function.
8367 (main): Now we get the labels from the new get_sawtooth_label
8370 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8372 * src/hildon-app-menu.h
8373 * src/hildon-app-menu.c
8374 Renamed API variables for consistency
8376 (hildon_app_menu_popup): Use also the default window size to
8377 decide where to place the menu
8379 (hildon_app_menu_init, hildon_app_menu_class_init): New
8380 external-border style property
8382 2008-05-26 Michael Natterer <mitch@imendio.com>
8384 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8385 widget_class->tap_and_hold_setup signal slot doesn't exist any
8386 longer, stop overriding it.
8388 (hildon_time_editor_init): g_signal_connect() to the
8389 tap-and-hold-setup signal instead.
8391 (hildon_time_editor_entry_keypress): add cast to fix warning.
8393 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8395 * doc/hildon-docs.sgml
8397 * examples/Makefile.am
8398 * examples/hildon-app-menu-example.c
8400 * src/hildon-app-menu-private.h
8401 * src/hildon-app-menu.c
8402 * src/hildon-app-menu.h
8404 New HildonAppMenu widget
8406 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8408 Rearranged the inheritance of the pannable area, now it inherits
8409 from GtkBin. This will allow us to control the event_window and
8410 the allocation process of the widget, required for some effects.
8412 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8413 GtkBin structures. * src/hildon-pannable-area.c: Added the
8414 event_window variable.
8415 (hildon_pannable_area_button_press_cb):
8416 (hildon_pannable_area_button_release_cb):
8417 (hildon_pannable_area_motion_notify_cb):
8418 Changed the signature of the method, now we override the event
8419 callback instead of connecting to the signal.
8421 (hildon_pannable_area_realize):
8422 (hildon_pannable_area_unrealize):
8423 (hildon_pannable_area_map):
8424 (hildon_pannable_area_unmap):
8425 (hildon_pannable_area_size_allocate):
8426 Added functions to control the widget construction. We add a
8427 INPUT_ONLY window and we put it over the widgets inside the
8428 container, this event_window handles the events.
8430 (hildon_pannable_area_class_init):
8431 Replaced the signal connections with overrides of the event
8434 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8436 Bouncing effect added when touching the borders, you can change
8437 the elasticity of the border changing the ELASTICITY define.
8439 * src/hildon-pannable-area.c: Added ELASTICITY define.
8440 (hildon_pannable_area_timeout): Added inverse velocity when
8441 touching the border of the child widget, that causes a bounce.
8443 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8445 Improved performance, we now do not go to the X server in order to
8446 get the list of window children. Apparently the effect is the
8447 same, we have to be careful and check if this breaks something in
8450 * src/hildon-pannable-area.c:
8451 (get_ordered_children): Removed this function.
8452 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8453 the children windows function with gdk_window_get_children.
8455 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8457 * src/hildon-pannable-area.c:
8458 (hildon_pannable_area_dispose): Fixed a crash when closing the
8459 window and kinetics is activated.
8461 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8463 * src/hildon-pannable-area.h
8464 * src/hildon-pannable-area.c
8465 Changed indentation style to meet the one used in Hildon
8467 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8469 Reviewed the interaction of the AUTO mode, now we use the time
8470 attribute of the events and calculate the velocity in the motion,
8471 doing a gimp like calculation. The velocity is calculated in each
8472 motion event using the last velocity and the current one, the
8473 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8475 * src/hildon-pannable-area.c: Replaced the time based algorithm
8477 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8478 timeout for the AUTO mode when we are still moving the cursor. We
8479 added also the velocity calculation in this function.
8480 (hildon_pannable_area_button_release_cb): launch the timeout in
8481 case we are in AUTO mode. There are still some constants here that
8482 come from the old implementation that should be reviewed and
8485 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8487 * doc/hildon-docs.sgml
8490 * src/hildon-stackable-window.c
8491 * src/hildon-stackable-window.h
8493 New HildonStackableWindow widget
8495 * examples/hildon-dialog-example.c
8496 * examples/hildon-pannable-area-example.c
8499 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8501 * src/hildon-dialog.c
8502 (hildon_dialog_new_with_buttons): New constructor.
8504 * examples/hildon-dialog-example.c
8505 (main): Update the example to use the new
8506 hildon_dialog_new_with_buttons().
8508 * examples/hildon-pannable-area-example.c
8509 (main): Update example.
8511 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8513 * doc/hildon-docs.sgml
8515 Added HildonPannableArea to the documentation.
8517 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8519 * doc/visual_index.xml
8520 Fix reference to HildonLoginDialog in documentation
8522 * doc/hildon-docs.sgml
8524 * examples/Makefile.am
8525 * examples/hildon-dialog-example.c
8527 * src/hildon-dialog.c
8528 * src/hildon-dialog.h
8530 New HildonDialog widget.
8532 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8534 * src/hildon-pannable-area.c
8535 Merge latest changes (r4318, r4342) from libmokoui trunk
8537 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8539 * examples/Makefile.am
8540 * examples/hildon-pannable-area-example.c
8542 * src/hildon-pannable-area.c
8543 * src/hildon-pannable-area.h
8545 New HildonPannableArea widget.
8547 2008-04-15 18:05:19 <timj@imendio.com>
8549 * src/hildon-banner.c: revert the recent change, that introduced
8550 gtk_window_present() calls. this reopens:
8551 Bug 78481 - [freetest] information banners are hidden under browser menu
8552 But resolves another variant of:
8553 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8555 2008-04-15 13:21:13 <timj@imendio.com>
8557 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8558 recreated its layout, spotted by Kris. this fixes all remaining
8559 artefacts and stability issues with the banner code. in particular:
8560 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8562 2008-04-14 16:52:59 <timj@imendio.com>
8564 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8565 operating on unrealized widgets, fixes:
8566 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8568 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8570 2008-04-09 Kristian Rietveld <kris@imendio.com>
8572 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8573 makes banner disappear.
8574 Fixes: NB#79182: info banner flickering with certain message lengts.
8576 * src/hildon-banner.c (hildon_banner_constructor),
8577 (hildon_banner_init), (hildon_banner_set_text),
8578 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8579 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8580 FALSE, reset size requests of label and banner,
8581 (force_to_wrap_truncated): when the text is too wide, always enforce
8582 the maximum possible width instead of recalculating it from the
8583 layout; enforce the maximum banner height of 3 lines,
8584 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8585 nicer wrapping and no truncated chars if space gets tight.
8587 * src/hildon-banner-private.h: add has_been_wrapped and
8588 has_been_truncated fields.
8590 2008-04-07 Sven Herzberg <sven@imendio.com>
8592 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8593 local values in hildon_date_editor_size_allocate
8595 * src/hildon-date-editor.c: moved the real allocation code into the
8598 2008-04-07 Sven Herzberg <sven@imendio.com>
8600 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8601 local values in hildon_date_editor_size_allocate
8603 * src/hildon-date-editor.c: merged the two if() branches together
8605 2008-04-07 Sven Herzberg <sven@imendio.com>
8607 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8608 local values in hildon_date_editor_size_allocate
8610 * src/hildon-date-editor.c: changed the arguments of the if()
8613 2008-04-07 Sven Herzberg <sven@imendio.com>
8615 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8616 local values in hildon_date_editor_size_allocate
8618 * src/hildon-date-editor.c: split the calculation of the allocation
8619 from the real allocation
8621 2008-03-27 Michael Natterer <mitch@imendio.com>
8623 Fixes: NB#81696: The passcode is not overwritten even after
8626 * src/hildon-code-dialog.c
8627 (hildon_code_dialog_button_clicked)
8628 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8629 because that doesn't overwrite selected text. Instead, emit the
8630 "commit" signal on the entry's im_context so the entry's normal
8631 insert logic is triggered. Set the cursor to the end of the entry
8632 after each insert operation so that we *only* insert in the middle
8633 of the text if something was selected.
8635 2008-03-27 Michael Natterer <mitch@imendio.com>
8637 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8638 selector cannot be opened
8640 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8641 when the popup color selector is created. Please connect to this
8642 signal in order to set the dialog's help ID.
8644 2008-03-25 Sven Herzberg <sven@imendio.com>
8646 Fixes: MB#1212: Hide info banners (infoprints) on click
8648 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8649 extracted the close event simulation into an extra function
8650 (hildon_banner_button_press_event): simulate a close event and destroy
8651 the widget if the event wasn't handled
8652 (hildon_banner_class_init): added the button_press_event handler
8653 (hildon_banner_init): added button-press events to the widget
8655 2008-03-25 Sven Herzberg <sven@imendio.com>
8657 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8658 Patch from: Mohammad Anwari <mdamt@maemo.org>
8660 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8661 instead of the right in RTL mode
8662 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8663 breadcrumb button list in RTL mode
8664 * src/hildon-caption.c: mirror the appearance of the caption widget in
8666 * src/hildon-date-editor.c: mirror appearance of the date editor in
8668 * src/hildon-time-editor.c: mirror appearance of the time editor in
8670 * src/hildon-window.c: fix the position of the popup in RTL mode
8672 2008-03-25 Sven Herzberg <sven@imendio.com>
8674 Amendment to the fix of NB#22072. Fix compilation.
8676 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8678 2008-03-19 Sven Herzberg <sven@imendio.com>
8680 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8683 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8684 timeout id properly when the timeout will disappear this leaves no
8685 artifacts around in the destroy(); there will only be the timeout
8686 created by hildon_banner_ensure_timeout() and adding a new timeout
8687 will also work if the timeout gets removed because the timeout_handler
8690 2008-03-19 Michael Natterer <mitch@imendio.com>
8692 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8694 * src/hildon-volumebar.c
8695 * src/hildon-vvolumebar.c
8696 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8697 the widget becomes focussable at all.
8699 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8700 set the focus to wither the mute button or the volumebar.
8702 Remove own "can-focus" property and instead listen to
8703 notify::can-focus in order to update the widget's state.
8705 Implement GtkWidget::focus() and make sure we can also *leave* the
8706 widget, not only enter it, depending on volumebar orientation and
8707 requested focus direction.
8709 Clean up set_mute() to cooperate nicely with all the above.
8711 2008-03-04 Michael Natterer <mitch@imendio.com>
8713 Fixes: NB#78481: information banners are hidden under browser menu
8715 * src/hildon-banner.c: call gtk_window_present() on the banners so
8716 they are risen if they are already visible.
8718 2008-03-03 Sven Herzberg <sven@imendio.com>
8720 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8722 * examples/hildon-window-menu-example.c: (main): extended the window
8723 menu example to serve as a testcase for automatically added
8724 accelerator groups, too
8725 * src/hildon-window.c: (hildon_window_add_accel_group),
8726 (hildon_window_set_menu): added patch by Tommi Komulainen
8728 2008-03-03 Sven Herzberg <sven@imendio.com>
8730 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8732 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8733 knowledge about the border allocators used within GTK+
8735 2008-02-26 Sven Herzberg <sven@imendio.com>
8737 Fixes: MB#2981: Build with asserts broken
8739 * src/hildon-date-editor.c,
8740 * src/hildon-number-editor.c,
8741 * src/hildon-time-editor.c,
8742 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8743 the proper GType instance check
8745 2008-02-25 Sven Herzberg <sven@imendio.com>
8747 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8749 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8750 * examples/hildon-window-menu-example.c: (main): explicitly show
8752 * src/hildon-window.c:
8753 (hildon_window_set_main_menu): moved most of the code from set_menu()
8754 to this place; skipped the call to gtk_widget_show_all(); also didn't
8755 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8756 (hildon_window_set_menu): removed most of the code, just keep the
8757 questionable gtk_widget_show_all()
8758 * src/hildon-window.h: added the new function and deprecate the old
8761 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8767 * debian/changelog: Updating.
8769 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8772 * pkgconfig/Makefile.am:
8773 * pkgconfig/hildon.pc.in:
8776 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8777 use newly created API_MAJOR_VERSION.
8779 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8785 * debian/changelog: Updating.
8787 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8789 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8791 Add outer_border style property, we use it but don't define it (!).
8795 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8797 * examples/hildon-bread-crumb-trail-example.c (main):
8801 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8803 Fix logic for the bread crumb trail node removal.
8807 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8813 * debian/changelog: Updating.
8815 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8817 Patch by Alejandro to get/set passwords dialogs accesibility.
8819 * hildon-1/src/hildon-get-password-dialog.c:
8820 * hildon-1/src/hildon-set-password-dialog.c:
8821 Set atk_set_name to the passwd entries in order to allow
8822 accessibility by name on this entries.
8824 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8829 * debian/control: Updating gtk dep.
8831 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8833 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8834 USE_MAEMO_GTK is enabled.
8836 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8838 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8839 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8841 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * debian/changelog: Updating.
8849 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * examples/Makefile.am:
8852 * examples/hildon-logical-color-example.c:
8853 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8854 applied + adding a test case. Fixes: NB#71660.
8856 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8858 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8859 to be visible, fixes warning on map for windows without toolbars.
8861 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8863 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8864 2.11.0, add a check for that besides the MAEMO_GTK check.
8866 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8872 * debian/changelog: Updating.
8874 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8876 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8877 visibility. Fixes: NB#70842 and MB#615.
8879 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8881 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8882 set the separator as no-show-all so it doesn't unintentionally appear when
8883 someone does a show_all.
8885 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8887 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8888 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8889 toplevel item. Fixes: NB#62031
8891 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8893 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8894 fix the name of the function in the docs.
8896 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * debian/changelog: Updating.
8904 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * examples/hildon-banner-long-example.c: Adding a test-case for long
8909 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8911 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * src/hildon-color-chooser-dialog.c:
8914 * src/hildon-color-chooser.c:
8915 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8916 memory leaks in font selector and color selector. Fixes: NB#70499 and
8919 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8921 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8923 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8926 little bit bigger. Fixes: #NB63694.
8928 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * debian/changelog: Updating.
8936 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * doc/hildon-docs.sgml:
8940 * doc/images/bread-crumb-trail.png:
8941 * doc/images/calendar-popup.png:
8942 * doc/images/caption.png:
8943 * doc/images/code-dialog.png:
8944 * doc/images/color-button.png:
8945 * doc/images/color-chooser-dialog.png:
8946 * doc/images/color-chooser.png:
8947 * doc/images/controlbar.png:
8948 * doc/images/date-editor.png:
8949 * doc/images/font-selection-dialog.png:
8950 * doc/images/get-password-dialog.png:
8951 * doc/images/hvolumebar.png:
8952 * doc/images/login-dialog.png:
8953 * doc/images/note.png:
8954 * doc/images/number-editor.png:
8955 * doc/images/range-editor.png:
8956 * doc/images/seekbar.png:
8957 * doc/images/set-password-dialog.png:
8958 * doc/images/sort-dialog.png:
8959 * doc/images/time-editor.png:
8960 * doc/images/time-picker.png:
8961 * doc/images/vvolumebar.png:
8962 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8963 Adding the bread-crumb-trial and helpers to the documentation.
8965 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * examples/hildon-find-toolbar-example.c:
8968 * src/hildon-find-toolbar.c:
8969 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8970 actually continue firing the other handlers if connected. Adding a new
8972 hildon_find_toolbar_get_last_index that gets the index of the most
8973 recently added (last) item. Fixes: NB#52301.
8975 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8977 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8978 behaviour. Fixes: NB#68610.
8980 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8982 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8985 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8987 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8988 when realizing the banner. Should make the infonbanner effect a bit more
8991 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 * src/hildon-volumebar.c:
8994 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8995 hildon_volumebar_set_range_insensitive_message and
8996 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8998 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-window.c: Fixing the border freeing on destroy.
9002 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * src/hildon-code-dialog-private.h:
9005 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9006 kw keyboard support in HildonCodeDialog.
9008 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * debian/changelog: Updating.
9016 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * src/hildon-date-editor.c:
9019 * src/hildon-number-editor.c:
9020 * src/hildon-private.c:
9021 * src/hildon-private.h:
9022 * src/hildon-time-editor.c:
9023 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9024 handling in subclassed composite widgets. Fixes: NB#66628.
9026 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9029 from destroy_ callback as it introduces problems in async dbus signal
9030 handlers. Fixes NB#66673.
9032 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * examples/hildon-hvolumebar-example.c:
9035 * src/hildon-volumebar.c: Improving the focus handling in the
9036 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9037 set_property accessor so that "mute" property can be actually set. I'm
9038 scared that nobody noticed it's totally broken.
9040 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9045 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-calendar.c:
9048 * src/hildon-number-editor.c:
9049 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9050 matches the spec of 6 chars per second. Fixes: NB#60489.
9052 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9055 gtk_style_lookup_color sometime returns FALSE even though color was
9056 found and values were filled properly. Weird. Removing the warning for the
9059 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9062 expand vertically. Adding some extra space to the find toolbar buttons to
9063 make them thumbable. Fixes NB#66060.
9065 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9067 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9068 popup with "Ok" and "Cancel". Fixes NB#59299.
9070 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * src/hildon-calendar.c: Process all window updates before executing next
9073 timeout. Fixes: NB#54146.
9075 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * debian/changelog: Updating.
9083 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9085 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9086 the client event and ignore it, since we use the delete event to close
9089 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9091 * src/hildon-helper.c: Remove the bogus warning about color not being
9092 found. Fixes NB#58352.
9094 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 * examples/Makefile.am:
9097 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9098 HildonSeekbar widget inside a toolbar.
9100 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9102 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9103 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9104 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9105 don't want to be closed by non-temporary windows on map.
9107 Also use G_DEFINE_TYPE instead of manually typed code.
9109 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9116 * debian/rules: Updating.
9118 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * examples/Makefile.am:
9121 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9122 bug NB#61128. Strangely it works.
9124 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * src/hildon-date-editor.c: When the date editor entry has been changed
9127 but the numbers of characters < max, turn off the skip validation flag.
9128 Prevents a situation when we enter first a valid year and later re-write
9129 it with an invalid one. Fixes NB#60154.
9131 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9133 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9134 code dialog. Fixes NB#64355.
9136 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9139 switching the page. Fixes NB#49374.
9141 * examples/Makefile.am:
9142 * examples/hildon-wizard-dialog-example.c: Adding an example for
9143 HildonWizardDialog that shows how to handle manual sensitivity setting on
9146 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-version.h.in:
9151 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9153 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9155 * src/hildon-volumebar.c: Updating the docs.
9157 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9163 * debian/changelog: Updating.
9165 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9167 * src/hildon-find-toolbar.c:
9168 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9169 selected item: hildon_find_toolbar_set_active,
9170 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9171 hildon_find_toolbar_get_active_iter . They correspond to respective
9172 GtkComboBox functions.
9174 * examples/Makefile.am:
9175 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9178 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9180 * examples/Makefile.am:
9181 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9184 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9185 when font size > 32 and we pack a focusable widget inside. Actually using
9186 the default response would work too, but since we don't show default
9187 response state in any way (no theming) it would not be visible to the
9188 user. Fixes NB#63430.
9190 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9192 * src/hildon-date-editor.c: Adding the missing variable setter in the
9193 set_property handler. Fixes NB#54182.
9195 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * src/hildon-window.h: Changing the long key press time from 1500ms to
9198 800ms as requested in NB#63700. I have a bad feeling about this, let's
9199 see... Fixes NB#63700.
9201 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9203 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9204 hildon_time_picker_map, hildon_time_picker_realize,
9205 hildon_time_picker_style_set): Split the contents of map to more
9206 appropriate functions; set window decorations on realize and update
9207 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9209 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9214 * debian/changelog: Updating.
9216 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9218 * src/Makefile.am: fixed installation of the header files
9220 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * debian/changelog: Updating.
9228 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * configure.ac: Removing some remaining of --enable-xan.
9232 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9234 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9235 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9237 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9238 2.10.12-osso6 because the move-focus signal needs to be available in
9241 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9243 * examples/Makefile.am:
9244 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9245 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9246 fine. Prolly NB#61128 is fixed now.
9248 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * src/hildon-volumebar.c:
9251 * src/hildon-volumebar.h: Adding the
9252 hildon_volumebar_set_range_insensitive_message and
9253 hildon_volumebar_set_range_insensitive_messagef functions to set
9254 insensitive message on the slider of the volumebar. Fixes NB#61129.
9256 * examples/Makefile.am:
9257 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9258 test the new insensitive messsage functionality on HildonVolumebar.
9260 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9262 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9265 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9267 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9268 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9269 button on after clearing the trail.
9271 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9275 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9277 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9278 by splitting the installed headers in generated and non-generated groups. Use
9279 only the non-generated headers to create the hildon-enum-types.h file.
9281 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9283 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9285 * src/hildon-window.c: Hide the window before performing the destroy.
9286 Should make the app closing a little tiny bit more snappy.
9288 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9290 * src/hildon-seekbar.c: add gtkrange.h header
9291 * src/hildon-caption.c: remove unused variable
9293 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9295 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9298 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * debian/changelog: Updating.
9306 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9308 * src/hildon-window.c (hildon_window_window_state_event,
9309 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9310 escape timeout on focus-out-event rather than notify::is-topmost; the
9311 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9313 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9315 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9316 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9318 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9320 * src/hildon-window: actually, you need to use the macro always, there's
9321 no private pointer in the instance structure. We should have cleaned this up
9322 when we had the chance...
9324 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9326 * src/hildon-window.c: do not get the private date from HildonWindow before
9327 it passes the g_return_if_fail check. Once it's passed the test, there's no
9328 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9329 if you are only going to access the data once. Whitespace cleanups.
9331 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9333 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9334 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9336 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * debian/changelog: Updating.
9344 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9346 * src/hildon-window.c: When destroying the window, remove (if exists) the
9347 escape timeout handler. Fixes #NB59276.
9349 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9351 * src/hildon-banner.c: When realizing the widget, set the window
9352 transiency. Setting the transiency in the gobject constructor is not
9353 good, as the widget is not realized at that point. Fixes: #NB56624.
9355 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9357 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9358 Add padding for future expansions.
9360 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9362 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9363 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9364 will fake an activation on the previous to the last item of the trail, so
9365 the effect can be overrided by the developer as usual.
9366 Also change the callback for the back button to do the same thing, so its
9367 effect can be overrided too. Fixes: NB#58982
9369 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9371 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9372 HildonCaption. Fixes NB#52379.
9374 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9376 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9377 the internal state of the trail after the user has had the chance of executing
9378 his handler for the signal. Specifically, it may happen that the activated button
9379 is removed and the user still lets the default handler run. This would segfault
9382 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9384 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9385 scrollbar to the preview dialog. Fixes NB#54147.
9387 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9390 max/min year properties can be altered, so the client can modify it
9391 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9393 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9395 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9396 hildonlike by default. Fixing a problem with disappearing arrows when
9397 scrolling through months and years. Fixes NB#54127.
9399 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9401 * examples/hildon-date-editor-example.c: Adding error callback to the date
9404 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9410 * configure.ac: Updating.
9412 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9414 * configure.ac: Adding a special '--enable-xan' configure option that
9415 turns off the -Werror compilation setting. Usefull for development.
9417 * src/hildon-calendar.c:
9418 * src/hildon-number-editor.c:
9419 * src/hildon-time-picker.c: Adding the 5* multiplier to
9422 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9424 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9425 instead of g_object_ref + gtk_object_sink.
9427 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9433 * debian/changelog: Updating.
9435 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9437 * src/hildon-color-chooser-dialog.c:
9438 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9439 straight from Tommi labs.
9441 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9443 * examples/hildon-finger-example.c: Correcting the header file path.
9445 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9446 the changed signal. Fixes a small memory leak.
9448 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9452 * src/hildon-banner.c: Importing several usefull fixes from the
9453 ubuntu-mobile branch.
9455 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9457 * examples/Makefile.am:
9458 * examples/hildon-finger-example.c: Adding a finger-checking code
9461 * src/hildon-font-selection-dialog.c: Do not allocate the color
9462 structure using the g_new. Fixes NB#54061.
9464 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * src/hildon-helper.c: Correcting tabs in file.
9468 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9470 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9471 control the visibility of the children.
9473 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9475 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9481 * debian/changelog: Updating.
9483 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9485 * src/hildon-bread-crumb-trail.c:
9486 (hildon_bread_crumb_trail_size_allocate):
9488 Make the back button always a square.
9490 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9492 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9493 from the .c file as it's a private file.
9495 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9497 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9498 uses slightly bigger height.
9500 * src/hildon-font-selection-dialog.c: Adding some checks before
9501 freeing memory in the font selection dialog.
9503 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9505 * src/hildon-font-selection-dialog.c: Adding a small check when
9508 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9509 buttons sensitivity on page switching.
9511 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9513 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9514 internal details of adding a bread crumb to the trail.
9516 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9522 * debian/changelog: Updating.
9524 * src/hildon-bread-crumb-trail.h:
9525 * src/hildon-bread-crumb.h: Changing the API guard to
9526 HILDON_ENABLE_UNSTABLE_API.
9528 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9536 * src/hildon-helper.h: Updating.
9538 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9546 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9550 * src/hildon-helper.h: Small fix to make the package actually compile.
9552 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9554 * src/hildon-bread-crumb-trail.h:
9555 * src/hildon-bread-crumb.h:
9557 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9558 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9560 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9562 * examples/hildon-bread-crumb-trail-example.c:
9564 * src/hildon-bread-crumb-trail.c:
9565 * src/hildon-bread-crumb-trail.h:
9566 * src/hildon-bread-crumb.c:
9567 * src/hildon-bread-crumb.h:
9568 * src/hildon-marshalers.list:
9569 * src/hildon-bread-crumb-widget.c:
9570 * src/hildon-bread-crumb-widget.h:
9572 Slight change in the widget design. The bread crumb trail API is
9573 unchanged, but HildonBreadCrumb is now an interface. A *private*
9574 implementation, hildon-bread-crumb-widget, is provided and used
9575 internally by the trail for the push_text/push_icon functions.
9577 The generic push API is still available, so anyone can implement
9578 and use its own bread crumb widget.
9580 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9582 * debian/rules: Fixing the shlibs.
9584 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9586 * src/hildon-banner.c: Fixing a problem with timed banners having
9587 their parrent destroyed before they are.
9589 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9591 * src/hildon-bread-crumb.c:
9592 * src/hildon-bread-crumb.h:
9594 Make the get_natural_size function a vfunc.
9596 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9598 * src/hildon-bread-crumb.c:
9599 * src/hildon-bread-crumb-trail.c:
9603 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9610 * debian/changelog: Updating for release.
9612 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9614 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9615 don't leak the pango layout.
9617 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9620 * examples/hildon-bread-crumb-trail-example.c:
9624 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9626 * debian/changelog: Removing the bug-fixed entries that were actually
9627 resolved as WONTFIX.
9629 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9632 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9634 * src/hildon-bread-crumb-trail.c:
9635 * src/hildon-bread-crumb-trail.h:
9636 * src/hildon-bread-crumb.c:
9637 * src/hildon-bread-crumb.h:
9641 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9643 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9644 until it's passed the type check.
9646 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9648 * examples/hildon-bread-crumb-trail-example.c
9652 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9654 * examples/Makefile.am
9655 * examples/hildon-bread-crumb-trail-example.c
9657 * src/hildon-bread-crumb-trail.c
9658 * src/hildon-bread-crumb-trail.h
9659 * src/hildon-bread-crumb.c
9660 * src/hildon-bread-crumb.h
9662 New HildonBreadCrumbTrail widget.
9664 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9666 * src/hildon-range-editor.c (hildon_range_editor_init),
9667 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9668 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9669 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9670 hildon_time_editor_class_init, hildon_time_editor_init),
9671 src/hildon-get-password-dialog.c (invalid_input,
9672 hildon_get_password_set_property, hildon_get_password_get_property,
9673 create_contents, hildon_get_password_dialog_set_max_characters),
9674 src/hildon-set-password-dialog.c (create_contents),
9675 src/hildon-date-editor.c (hildon_date_editor_init),
9676 src/hildon-login-dialog.c (hildon_login_dialog_init),
9677 src/hildon-number-editor.c (hildon_number_editor_init),
9678 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9679 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9680 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9681 configure option and adding the respective checks in the code.
9682 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9683 hildon_calendar_drag_data_received): fixed some build warnings.
9685 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9687 * debian/changelog: A 1.0.0 release notes.