1 2009-09-04 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_init),
5 (hildon_pannable_area_button_press_cb),
6 (hildon_pannable_area_button_release_cb): Added a new acceleration
7 system to help traversing big lists, tuned the stop threshold.
9 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
11 2009-09-04 Alberto Garcia <agarcia@igalia.com>
13 * hildon/hildon-window.h:
14 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
16 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
18 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
22 * configure.ac: bump version
24 * debian/changelog: updates
26 2009-09-04 Alberto Garcia <agarcia@igalia.com>
28 * hildon/hildon-entry.c
29 * hildon/hildon-text-view.c:
32 2009-09-04 Alberto Garcia <agarcia@igalia.com>
34 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
35 Redraw menu when the number of items change.
37 Fixes: NB#131911 (Appmenu does not resize properly, when number of
40 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
42 * hildon/hildon-pannable-area.c:
43 (hildon_pannable_area_launch_fade_timeout),
44 (hildon_pannable_area_motion_event_scroll),
45 (hildon_pannable_area_check_move),
46 (hildon_pannable_area_button_release_cb),
47 (hildon_pannable_area_scroll_to):
49 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
50 area drawing operations, since this is the recommended for drawing
53 Fixes: NB#110894 (In event view containing very large description
54 field, application menu is displayed blank while panning)
55 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
58 2009-09-03 Alberto Garcia <agarcia@igalia.com>
60 * doc/hildon-sections.txt
61 * hildon/hildon-button.c
62 * hildon/hildon-edit-toolbar.c
63 * hildon/hildon-gtk.[ch]
64 * hildon/hildon-main.c
65 * hildon/hildon-program.c
66 * hildon/hildon-stackable-window.c:
69 2009-08-28 Alberto Garcia <agarcia@igalia.com>
71 * hildon/hildon-app-menu.c
72 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
73 Close the menu if it receives a grab-notify signal.
75 Fixes: NB#134533 (UI freezes if we show a dialog with
76 gtk_dialog_run() while a menu is opened)
78 2009-08-27 Alejandro G. Castro <alex@igalia.com>
80 * hildon/hildon-pannable-area.c,
81 (hildon_pannable_area_class_init): Reverted tuning modifications:
82 "Pannign needs to be faster" and "Pannable kinetics in large lists
85 2009-08-26 Alberto Garcia <agarcia@igalia.com>
87 * hildon/hildon-sound.c (hildon_play_system_sound):
88 Set "module-stream-restore.id" to "x-maemo-system-sound" when
91 Fixes: NB#133767 (Information and confirmation note sound should
92 follow system profile setting)
94 2009-08-26 Alejandro G. Castro <alex@igalia.com>
96 * hildon/hildon-pannable-area.c,
97 (hildon_pannable_area_class_init): Added more force and increased
98 the max speed threshold.
100 Fixes: NB#135344 (Pannign needs to be faster)
102 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
104 [Release 2.1.96, this time for real]
107 * debian/changelog: updates
109 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
111 * hildon/hildon-pannable-area.c
112 (hildon_pannable_area_get_topmost): change the computation of the
113 co-ordinates transformed when no one of the children is a topmost
115 Fixes: NB#133252 (Opening any feed item from RSS always opens the
116 first feed item in browser)
118 2009-08-26 Alejandro G. Castro <alex@igalia.com>
120 * hildon/hildon-pannable-area.c,
121 (hildon_pannable_area_remove_timeouts): Adding this new function
122 with the code that removes the timeouts of the widget.
123 (hildon_pannable_area_dispose),
124 (hildon_pannable_area_unrealize): Use the new remove function to
125 stop timeouts when unrealizing and disposing.
126 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
127 calculation to avoid negative values in some cases.
129 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
131 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
133 * examples/hildon-check-button-example.c: (button_toggled_cb):
134 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
135 (hildon_check_button_set_active), (hildon_check_button_new),
136 (hildon_check_button_clicked), (hildon_check_button_class_init):
137 * hildon/hildon-check-button.h:
138 * hildon/hildon-set-password-dialog.c: (create_contents),
139 (hildon_set_password_response_change), (hildon_checkbox_toggled):
141 Revert "Make HildonCheckButton derive from GtkToggleButton"
143 2009-08-21 Alberto Garcia <agarcia@igalia.com>
147 * configure.ac: bump version
149 * debian/changelog: updates
151 2009-08-21 Alberto Garcia <agarcia@igalia.com>
153 * hildon/hildon-check-button.h
154 * hildon/hildon-check-button.c
155 (hildon_check_button_clicked, hildon_check_button_class_init):
156 Make HildonCheckButton derive from GtkToggleButton
157 (hildon_check_button_toggled, hildon_check_button_set_active)
158 (hildon_check_button_get_active):
159 Deprecate unnecessary HildonCheckButton API and use the
160 one from GtkToggleButton instead.
162 * hildon/hildon-set-password-dialog.c (create_contents)
163 (hildon_set_password_response_change, hildon_checkbox_toggled)
164 * examples/hildon-check-button-example.c (button_toggled_cb):
165 Update to use the GtkToggleButton API
167 Fixes: MB#4739 (HildonCheckButton should inherit from
170 Fixes: NB#132661 (HildonCheckButton should inherit from
173 2009-08-20 Alberto Garcia <agarcia@igalia.com>
175 * hildon/hildon-pannable-area.c
176 (hildon_pannable_area_class_init):
177 Increase default value of HildonPannableArea:velocity_max to 2000
179 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
181 2009-08-18 Alberto Garcia <agarcia@igalia.com>
185 * configure.ac: bump version
187 * debian/changelog: updates
189 2009-08-11 Alejandro G. Castro <alex@igalia.com>
191 * hildon/hildon-pannable-area.c
192 (hildon_pannable_area_size_allocate): Checked the scrollbars
193 before the first try when defining the layout, avoids two
194 allocations in some situations.
196 Fixes: NB#131794 (pannable area produces unnecessary allocations
197 causing performance problems)
199 2009-08-11 Alejandro G. Castro <alex@igalia.com>
201 * hildon/hildon-pannable-area.c
202 (hildon_pannable_area_button_press_cb),
203 (hildon_pannable_area_motion_notify_cb),
204 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
205 the spurious ref added in the copy, fixes leak of window.
207 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
208 if it's realized without showing and then deleted)
210 2009-08-10 Alberto Garcia <agarcia@igalia.com>
214 * configure.ac: bump version
216 * debian/changelog: updates
218 2009-08-06 Alberto Garcia <agarcia@igalia.com>
220 * examples/hildon-hvolumebar-timer-example.c
222 * hildon/hildon-banner.c
223 (hildon_banner_timeout, hildon_banner_ensure_timeout)
224 * hildon/hildon-calendar.c
225 (calendar_timer, start_spinning)
226 * hildon/hildon-color-chooser.c
227 (inline_limited_expose)
228 * hildon/hildon-date-editor.c
229 (hildon_date_editor_entry_focus_in)
230 (hildon_date_editor_entry_validate)
231 (hildon_date_editor_entry_select_all)
232 * hildon/hildon-note.c
234 * hildon/hildon-number-editor.c
235 (hildon_number_editor_button_pressed)
236 (hildon_number_editor_start_timer, do_mouse_timeout),
237 (add_select_all_idle, hildon_number_editor_select_all)
238 * hildon/hildon-time-editor.c
239 (hildon_time_editor_entry_focus_in)
240 (highlight_callback, hildon_time_editor_validate)
241 (hildon_time_editor_entry_select_all)
242 * hildon/hildon-time-picker.c
243 (hildon_time_picker_arrow_press)
244 (hildon_time_picker_key_repeat_timeout)
245 * hildon/hildon-window.c
246 (hildon_window_key_press_event)
247 (hildon_window_escape_timeout):
248 Replace all calls to g_idle_add/g_timeout_add with their
249 gdk_threads counterparts.
251 Fixes: NB#126198 (gdk-threads API should be used to install idle
252 and timeout handlers)
254 2009-08-06 Alejandro G. Castro <alex@igalia.com>
256 * hildon/hildon-pannable-area.c,
257 (hildon_pannable_area_class_init): Increased the overshooting max
258 speed to get a faster effect.
259 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
260 deceleration of the overshooting
261 (hildon_pannable_area_button_release_cb): Calculate initial
262 overshooting speed when finger on the screen using the distance to
263 launch the effect faster.
265 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
266 lists with slow row renderers)
268 2009-08-05 Alberto Garcia <agarcia@igalia.com>
270 * doc/hildon-sections.txt: Add new functions
272 2009-08-05 Alberto Garcia <agarcia@igalia.com>
274 * hildon/hildon-text-view.[ch]
275 * hildon/hildon-entry.[ch]:
276 Add deprecation guards around deprecated functions.
278 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
280 * hildon/hildon-app-menu.c: Remove leftover function declaration.
282 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
284 Remove the grab from HildonAppMenu
286 * hildon/hildon-app-menu.c:
287 Now hildon-desktop places a blocker window behind the menu to handle
288 its closing, so the grab is no longer needed. This simplifies its
289 implementation and allows the system blanking to succeed.
291 Fixes: NB#130910 (Screen gets unlocked when menu is open)
293 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
297 * configure.ac: bump version
299 * debian/changelog: updates
300 * debian/control: raise debian dependency on GTK+
302 2009-08-04 Alberto Garcia <agarcia@igalia.com>
304 * hildon/hildon-text-view.c
305 * hildon/hildon-entry.c:
306 Remove all placeholder code from HildonEntry and HildonTextView
307 and use the API in GtkEntry and GtkTextView instead.
309 * examples/hildon-entry-example.c
310 * examples/hildon-text-view-example.c
311 * examples/hildon-wizard-dialog-example.c
312 * hildon/hildon-get-password-dialog.c
313 * hildon/hildon-login-dialog.c
314 * hildon/hildon-picker-dialog.c
315 * hildon/hildon-set-password-dialog.c
316 * hildon/hildon-touch-selector-entry.c:
317 Replace all deprecated calls to HildonEntry and HildonTextView
318 with their Gtk counterparts.
320 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
323 2009-08-03 Alejandro G. Castro <alex@igalia.com>
325 * hildon/hildon-pannable-area.c,
326 (hildon_pannable_area_check_move),
327 (hildon_pannable_area_button_release_cb),
328 (hildon_pannable_area_scroll_to): Reverted the priority change of
329 the timeout, in some situations, slow renderers, the click do not
330 make it to the mainloop on time.
332 Fixes NB#131013 (unable to stop panning file manager by tapping on
335 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
337 * configure.ac: bump version
339 * debian/changelog: updates
341 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
343 * hildon/hildon-touch-selector.[ch]
344 (hildon_touch_selector_center_on_index): New method that allows to center
345 on a item not selected
347 Fixes NB#130291 (New HildonTouchSelector API is required to center on
350 2009-07-29 Alberto Garcia <agarcia@igalia.com>
352 * hildon/hildon-text-view.c
353 (+set_logical_color, +hildon_text_view_style_set)
354 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
355 (hildon_text_view_init)
356 * hildon/hildon-entry.c
357 (+set_logical_color, +hildon_entry_style_set)
358 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
359 (hildon_entry_class_init, hildon_entry_init)
360 * hildon/hildon-button.c
361 (+set_logical_font, +set_logical_color)
362 (hildon_button_style_set, hildon_button_init)
363 (hildon_button_set_arrangement, hildon_button_set_style):
364 Remove all calls to hildon_helper_set_logical_font() and
365 hildon_helper_set_logical_color(), which are recursive, from
368 Fixes: NB#123409 (Showing dialog consumes significant amount of
371 2009-07-29 Alejandro G. Castro <alex@igalia.com>
373 * hildon/hildon-pannable-area.c,
374 (hildon_pannable_area_timeout): Added the process updates of the
375 scrollbars window in the pannable.
377 Fixes: NB#130043 (scrollindicator not smooth while panning)
379 2009-07-23 Alejandro G. Castro <alex@igalia.com>
381 * hildon/hildon-pannable-area.c,
382 (hildon_pannable_area_check_move),
383 (hildon_pannable_area_button_release_cb),
384 (hildon_pannable_area_scroll_to): Increased the priority of the
385 timeout this way it is going to be handled before the events.
387 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: bump version
392 * debian/changelog: updates
394 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
396 * hildon/hildon-entry.c: (set_property): Do not allow to set
397 automatic height and use finger height instead, to prevent an to
398 have a smaller size than than its theme pixbuf.
400 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
402 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
404 * configure.ac: postrelease version bump.
405 * debian/changelog: post release version bump
407 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
412 * configure.ac: Bump version.
413 * debian/changelog: Updates.
415 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
417 * hildon/hildon-note.c: (label_size_request): Take the note
418 padding into account when setting the size request.
420 Fixes: NB#127896 (Information notes text truncated)
422 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
424 * configure.ac: postrelease version bump.
425 * debian/changelog: post release version bump
427 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
432 * configure.ac: Bump version.
433 * debian/changelog: Updates.
435 2009-07-16 Alejandro G. Castro <alex@igalia.com>
438 * hildon/hildon-text-view.c,
439 (hildon_text_view_button_press_event): Grabbed the focus in button
440 press, this way we are sure the widget has the focus in the
441 release event, required for HIM.
443 Fixes: NB#121445 (Virtual keyboard opening is not working in same
444 way for each text entry field)
446 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
448 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
449 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
450 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
451 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
452 (hildon_pannable_area_[gs]et_center_on_child_focus)
453 Redefined GtkContainer set-focus-child signal, in order to center
454 properly on a child when it receives the focus. Defined a new property
455 "center-on-child-focus" in order to activate this feature (deactivated
456 by default). Public get/set methods defined to manage the property.
458 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
460 2009-07-14 László Pere <lpere@blumsoft.eu>
462 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
463 the new size is applied.
465 Fixes: NB#124510 (The Application Menu is distorted when switched
466 between portrait and landscape mode)
467 Fixes: NB#115388 (Power key menu does not resize itself)
469 2009-07-01 Alberto Garcia <agarcia@igalia.com>
471 * hildon/hildon-banner.c (hildon_banner_map):
472 Set banner position after mapping.
474 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
476 * configure.ac: postrelease version bump.
477 * debian/changelog: post release version bump
479 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
484 * configure.ac: Bump version.
485 * debian/changelog: Updates.
487 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
489 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
492 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
494 * tests/check-hildon-banner.c
496 * tests/test_suites.h
497 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
498 were testing deprecated functions.
499 * examples/hildon-banner-example.c: typo on button3 type, that causes
500 a fail compiling with --with-examples but without --disable-deprecated
502 Missed commit in order to fix compilation using '--enable-fatal' and
503 '--disable-deprecated' (see previous commit)
505 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
507 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
508 functions with #ifndef HILDON_DISABLE_DEPRECATED
509 * examples/hildon-find-toolbar.c: Protect deprecated
510 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
511 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
512 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
513 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
515 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
516 to allow proper compilation of deprecated functions defined on the header
518 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
520 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
522 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
523 Cache the panning indicator color.,
524 (hildon_pannable_area_style_set): Query the color on style changes.
525 (hildon_pannable_draw_vscroll),
526 (hildon_pannable_draw_hscroll),
527 (hildon_pannable_area_expose_event): Use the cached panning indicator
528 color instead of looking it up on every expose and more.
530 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
532 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
533 (hildon_pannable_draw_hscroll),
534 (hildon_pannable_area_expose_event): Fix the panning indicator color,
535 so that it's "SecondaryTextColor", as desired.
537 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
539 * hildon/hildon-picker-dialog.c:
540 (selection_completed): take into account HILDON_UI_MODE_NORMAL
541 * hildon/hildon-touch-selector.c
542 (hildon_touch_selector_init): Initialize hildon-ui-mode
543 (hildon_touch_selector_row_activated): new callback for the
544 "row-activated" signal, in order to save the last activated
545 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
546 if the current hildon-ui-mode is coherent with the touch selector
547 (hildon_touch_selector_class_init)
548 (hildon_touch_selector_get_property)
549 (hildon_touch_selector_set_property)
550 Added "hildon-ui-mode" property
551 (disconnect_model_handlers): renamed to clean_column
552 (hildon_touch_selector_remove): use clean_column function
553 (_create_new_column): use the hildon-ui-mode to create the treeview, and
554 only select the first element on HILDON_UI_MODE_EDIT
555 (hildon_touch_selector_column_init): Initialize last_activate
556 (hildon_touch_selector_append_column): check that the touch selector
557 is coherent with the current hildon-ui-mode
558 (hildon_touch_selector_get_hildon_ui_mode)
559 (hildon_touch_selector_set_hildon_ui_mode)
560 Added a getter/setter for the hildon-ui-mode property
561 (hildon_touch_selector_get_last_activated_row): Added this method in
562 order to get the last activated row.
563 * examples/hildon-touch-selector-normal-mode-example.c
564 New example, that shows how to use the HildonTouchSelector in
565 HILDON_UI_MODE_NORMAL
567 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
568 Kristian Rietveld <kris@lanedo.com> advices
570 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
572 * hildon/hildon-time-selector.c: (update_format_policy): Do
573 not call update_format_dependant_columns() if not necessary.
574 (update_format_dependant_columns): Remove unnecessary check for
575 the number of columns.
577 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
579 * hildon/hildon-note.c (+hildon_note_constructor),
580 (hildon_note_class_init), (+hildon_note_set_padding),
581 (hildon_note_rebuild): Install a constructor where to set the
582 padding properties in the note, so that it actually works fine.
583 Use hildon_note_set_padding() for this, and also to set it during
586 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
588 * configure.ac: Bump GTK+ requirement to 2.14.3.
589 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
590 when using maemo-gtk to define proper margins for the notes.
592 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
593 with the dialog edge)
595 2009-06-24 Alberto Garcia <agarcia@igalia.com>
597 * hildon/hildon-banner.c
598 (hildon_banner_class_init):
600 (+hildon_banner_size_request):
601 Request always the full width of the screen.
602 (hildon_banner_realize)
603 (-hildon_banner_check_position, hildon_banner_map):
604 hildon_banner_check_position() is not needed in Hildon 2.2.
605 (-hildon_banner_reset_wrap_state)
606 (hildon_banner_constructor, hildon_banner_init):
607 Remove unnecessary calls to hildon_banner_reset_wrap_state()
608 (+banner_do_set_text)
609 (force_to_wrap_truncated):
610 Remove has_been_wrapped and has_been_truncated attributes.
611 (+reshow_banner, hildon_banner_real_show_information)
612 (hildon_banner_show_information_with_markup)
613 (hildon_banner_show_animation, hildon_banner_show_progress)
614 (hildon_banner_set_text, hildon_banner_set_markup):
615 Refactor code. Shrink banner vertically to use the minimum space
616 necessary everytime the text of the label is updated.
617 (screen_size_changed):
618 Call force_to_wrap_truncated() when the size of the screen
621 Fixes: NB#120500 (only device memory connect mmc in use info
622 banner is left aligned)
624 Fixes: NB#120613 (Size of HildonBanner varies depending on
625 previously opened banners)
627 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
629 * hildon/hildon-color-chooser.c
630 (hildon_color_chooser_pointer_motion): Take the widget allocation
633 Fixes: NB#124385 (Unable to select exact point in color mixing box
634 in color palette dialog)
636 2009-06-23 Alejandro G. Castro <alex@igalia.com>
638 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
639 (hildon_pannable_area_dispose)
640 (hildon_pannable_area_button_press_cb)
641 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
642 (hildon_pannable_area_button_release_cb)
643 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
644 New 'panning-started' and 'panning-finished' signals.
646 Fixes: NB#121732 (New feature request: Signal to pannable area
647 that informs when panning is stopped.)
649 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
651 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
652 instead of hardcoded colon.
654 Fixes: NB#124090 (New calendar wizard title is not using
655 ecdg_ti_caption_separator)
657 2009-06-22 David King <davidk@openismus.com>
659 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
660 constants and functions, as well as correct many typos throughout the
663 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
666 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: postrelease version bump.
669 * debian/changelog: post release version bump
671 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: Bump version.
677 * debian/changelog: Updates.
679 2009-06-18 Alberto Garcia <agarcia@igalia.com>
681 * hildon/hildon-window-stack.c
682 (hildon_window_stack_pop_and_push_list):
683 Prevent windows from having the same stack index
685 2009-06-18 Alberto Garcia <agarcia@igalia.com>
687 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
688 Use the index of the previous window rather than the stack length
689 to calculate the new index.
693 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
695 * hildon/hildon-date-selector.c
696 (hildon_date_selector_select_current_date)
697 (hildon_date_selector_get_date)
698 (hildon_date_selector_select_day):
699 Update the documentation: uses always the range (1-31), as it is obvious
700 that the final one will depend on the month and the year, but globally
701 the range is this, in a similar GtkCalendar approach
702 (hildon_date_selector_get_date):
703 Update the documentation: add NULL as a valid value for the day, month
706 Fix some details, after talk with David King on bug MB#4698
708 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
710 * hildon/hildon-touch-selector-entry.c
711 * hildon/hildon-touch-selector.c
712 Update the documentation of the "text-column" property
714 2009-06-18 David King <davidk@openismus.com>
716 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
717 several typos and errors throughout the documentation.
719 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
722 2009-06-18 Alberto Garcia <agarcia@igalia.com>
724 * hildon/hildon-note.c (hildon_note_realize):
725 Make HildonNote support portrait mode.
727 Fixes: NB#123448 (HildonNote is not portrait-friendly)
729 2009-06-17 Alberto Garcia <agarcia@igalia.com>
731 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
732 Document this function
734 2009-06-17 David King <davidk@openismus.com>
736 * hildon/hildon-date-selector.c
737 (hildon_date_selector_select_current_date)
738 (hildon_date_selector_get_date): Update documentation regarding days,
739 as the day of the month is dependent on both the month and the year.
740 (hildon_date_selector_get_date): Fix documentation of output arguments.
742 Fixes: MB#4698 (DateSelector documentation has bad output argument
743 description, and the day depends on both the month and the year)
745 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
747 * hildon/hildon-caption.c: Other documentation fixes to
750 2009-06-17 David King <davidk@openismus.com>
752 * hildon/hildon-caption.c: Minor documentation updates for
753 HildonCaption. Fixes MB#4697.
755 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
757 * doc/hildon-docs.sgml: Add hildon-version section.
758 * doc/hildon-sections.txt:
759 * hildon/hildon-version.h.in: Document versioning macros and
762 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
764 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
765 from HildonPickerDialog section.
767 2009-06-16 Alberto Garcia <agarcia@igalia.com>
769 * hildon/hildon-banner.c (hildon_banner_bind_style)
770 (screen_size_changed, hildon_banner_init)
771 (hildon_banner_real_show_information)
772 (hildon_banner_show_information_with_markup)
773 (hildon_banner_show_animation, hildon_banner_show_progress):
774 Set a different widget name to banners in portrait mode, for them
775 to be themed correctly.
777 2009-06-16 Alberto Garcia <agarcia@igalia.com>
779 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
780 Set a different widget name to notes in portrait mode, for them to
783 Partially fixes: NB#118401 (HildonNote causes unnecessary
786 2009-06-16 Alberto Garcia <agarcia@igalia.com>
788 * hildon/hildon-note.c (hildon_note_class_init)
789 (+hildon_note_size_request, screen_size_changed):
790 Always request the full width of the screen.
792 Fixes: NB#118375 (unnecessary rescaling of images)
794 2009-06-16 Alejandro G. Castro <alex@igalia.com>
796 * hildon/hildon-pannable-area.c,
797 (hildon_pannable_area_init),
798 (hildon_pannable_area_realize): Replaced old code adding flags in
799 the object init, now we add it with the other flags in the realize
802 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
804 * hildon/hildon-note.c: (hildon_note_class_init): Several
805 documentation improvements to the HildonNote widget.
807 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
809 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
811 Fixes: MB#4556 (HildonNoteType is undocumented)
813 2009-06-15 Alberto Garcia <agarcia@igalia.com>
815 * hildon/hildon-picker-button.c:
816 Explain how HildonPickerButton sets the title of its dialog
818 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
819 the title of its dialog)
821 2009-06-15 Alberto Garcia <agarcia@igalia.com>
823 * hildon/hildon-check-button.c:
824 Documentation updates
826 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
829 2009-06-15 Alberto Garcia <agarcia@igalia.com>
832 * hildon/hildon-edit-toolbar-private.h
833 * hildon/hildon-edit-toolbar.c
834 (+hildon_edit_toolbar_set_progress_indicator)
835 (hildon_edit_toolbar_init): Add progress indicator to the
838 * hildon/hildon-gtk.c
839 (hildon_gtk_window_set_progress_indicator):
840 If the window contains a HildonEditToolbar, enable the progress
843 * hildon/hildon-private.h
844 * hildon/hildon-private.c
845 (+hildon_private_create_animation)
846 * hildon/hildon-banner.c
847 (-hildon_banner_create_animation):
848 Moved to hildon-private.c
850 Fixes: NB#102373 (Progress indicator also for the Edit mode
853 2009-06-15 Alberto Garcia <agarcia@igalia.com>
855 * hildon/hildon-app-menu-private.h
856 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
857 (hildon_app_menu_add_filter, +menu_item_button_event)
858 (hildon_app_menu_button_release, hildon_app_menu_init):
859 Make sure that buttons receive 'button-release-event' in spite of
860 the grab held by HildonAppMenu
862 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
864 2009-06-15 Alberto Garcia <agarcia@igalia.com>
866 * hildon/hildon-app-menu.c
867 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
868 New style property to set the size of the group of filter buttons.
870 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
872 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
877 * configure.ac: Bump version.
878 * debian/changelog: Updates.
880 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
882 * hildon/hildon-main.c: Minor documentation fixes.
884 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
886 * doc/hildon-sections.txt:
887 * hildon/hildon-defines.h: Document the defines, organize them,
888 and mark deprecations as such.
890 Fixes: MB#4463 (Hildon size #defines are undocumented)
892 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
894 * hildon/hildon-animation-actor.c:
895 * hildon/hildon-app-menu.c:
896 * hildon/hildon-button.c:
897 * hildon/hildon-date-editor.c:
898 * hildon/hildon-dialog.c:
899 * hildon/hildon-edit-toolbar.c:
900 * hildon/hildon-entry.c:
901 * hildon/hildon-program.c:
902 * hildon/hildon-remote-texture.c:
903 * hildon/hildon-stackable-window.c:
904 * hildon/hildon-text-view.c:
905 * hildon/hildon-touch-selector.c:
906 * hildon/hildon-window-stack.c:
907 * hildon/hildon-window.c:
909 Remove redundant "represents" wording from most of the documentation.
911 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
913 2009-06-12 Alberto Garcia <agarcia@igalia.com>
918 * hildon/hildon-banner-private.h
919 * hildon/hildon-banner.c:
920 Move HildonBannerPrivate to hildon-banner.c and remove
921 hildon-banner-private.h
922 Use a bit field to store private booleans.
924 2009-06-12 Alberto Garcia <agarcia@igalia.com>
926 * hildon/hildon-app-menu.c (hildon_app_menu_map):
927 Don't install a new idle function if there's already one
932 2009-06-11 Alberto Garcia <agarcia@igalia.com>
934 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
935 (+legacy_menu_realized, +legacy_menu_unmapped)
936 (+set_legacy_menu_type):
937 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
938 they can be identified by the window manager.
940 Fixes: NB#101437 (Invoking CSM on the left side of page area is
941 displayed in wrong location)
943 Fixes: MB#4563 (Popup menu won't locate at the left side of the
946 2009-06-11 Alberto Garcia <agarcia@igalia.com>
948 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
950 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
953 2009-06-11 Alberto Garcia <agarcia@igalia.com>
955 * hildon/hildon-code-dialog.c
956 * hildon/hildon-date-editor.c
957 * hildon/hildon-number-editor.c
958 * hildon/hildon-seekbar.c
959 * hildon/hildon-stackable-window.c
960 * hildon/hildon-window.c:
961 Misc documentation updates
963 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
965 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
966 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
968 Fixes: NB#117931 (Theming issues in accounts dialogs)
970 2009-06-09 Alejandro G. Castro <alex@igalia.com>
972 * hildon/hildon-pannable-area.c,
973 (hildon_pannable_area_button_release_cb): Changed the coordinates
974 of the original release in case we want to discard the release,
975 some widgets in Fremantle do not handle the leave-notify.
977 2009-06-09 Alejandro G. Castro <alex@igalia.com>
979 * hildon/hildon-pannable-area.c,
980 (hildon_pannable_area_button_release_cb): Reviewed the logic of
981 the release using the last refactored functions and avoiding the
982 movement if an element was selected.
984 2009-06-09 Alejandro G. Castro <alex@igalia.com>
986 * hildon/hildon-pannable-area.c,
987 (hildon_pannable_area_check_move),
988 (hildon_pannable_area_handle_move),
989 (hildon_pannable_area_motion_notify_cb): Refactored the
990 motion_notify method using a couple of new functions.
992 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
994 * hildon/hildon-date-selector.c:
995 (hildon_date_selector_construct_ui):
996 * hildon/hildon-time-selector.c:
997 (hildon_time_selector_constructor):
998 * hildon/hildon-touch-selector-entry.c:
999 (hildon_touch_selector_entry_set_text_column),
1000 (hildon_touch_selector_entry_get_text_column):
1001 * hildon/hildon-touch-selector.c: (_default_print_func),
1002 (hildon_touch_selector_new_text): Use
1003 hildon_touch_selector_set/get_text_column() instead of
1004 setting/getting the "text-column" property.
1006 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1008 * doc/hildon-sections.txt: Add the new public methods below.
1010 * examples/hildon-picker-button-multicolumn-example.c:
1011 (create_touch_selector):
1012 * examples/hildon-touch-selector-example.c: (create_selector):
1013 * examples/hildon-touch-selector-multi-cells-example.c:
1015 Use hildon_touch_selector_column_set_text_column()
1017 * hildon/hildon-touch-selector-column.h:
1018 * hildon/hildon-touch-selector.c:
1019 (hildon_touch_selector_column_set_text_column),
1020 (hildon_touch_selector_column_get_text_column):
1021 Make hildon_touch_selector_column_set/get_column() public, use
1022 them in the inline example, document them, and reference to them
1025 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1027 * hildon/hildon-time-selector.c: Fix the docs for
1028 hildon_time_selector_new_step().
1030 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1032 * hildon/hildon-touch-selector.c: Improve the documentation for
1033 hildon_touch_selector_append_column().
1035 Fixes MB#4641 (Documentation:
1036 hildon_touch_selector_append_column() ref-counting)
1038 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1040 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1041 Comment out test 5, since the hildon_controlbar_set_range() range
1042 check is broken and fixing it would have side effects. Also,
1043 this finally fixes make distcheck.
1045 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1047 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1049 * tests/TEST-CASES.txt: Remove other bogus test.
1050 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1051 Remove bogus test that was setting/retrieving a valid value.
1053 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1055 * tests/TEST-CASES.txt: Remove bogus tests.
1056 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1057 Remove three bogus tests that were actually setting valid colors.
1059 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1061 * configure.ac: post release version bump
1062 * debian/changelog: post release version bump
1064 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1069 * configure.ac: Bump version.
1070 * debian/changelog: Updates.
1072 2009-06-08 Christian Dywan <christian@lanedo.com>
1076 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1077 Correct errors in hildon_format_file-size_for_display and use
1078 translations from the hildon-fm package instead of osso-filemanager.
1080 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1082 * hildon/hildon-pannable-area.c,
1083 (hildon_pannable_area_init): Initialized new values to handle the
1084 adjustment position.
1085 (hildon_pannable_area_adjust_value_changed): Check if the values
1086 changed before even call the redraw function.
1087 (hildon_pannable_area_size_allocate),
1088 (hildon_pannable_axis_scroll),
1089 (hildon_pannable_area_scroll),
1090 (hildon_pannable_area_jump_to): Improved the diagonal movement
1093 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1096 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1098 * examples/hildon-banner-example.c:
1099 Several style updates
1100 (on_animation_clicked, on_animation_idle)
1101 (on_progress_clicked, on_progress_idle):
1102 Add additional reference for the cases when the parent window is
1105 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1107 * doc/hildon-sections.txt
1108 * hildon/hildon-pannable-area.c
1109 * hildon/hildon-banner.h
1110 * hildon/hildon-banner.c: Documentation updates.
1112 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1115 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1117 * hildon/hildon-calendar-popup.h:
1118 * hildon/hildon-caption.h:
1119 * hildon/hildon-code-dialog.h:
1120 * hildon/hildon-controlbar.h:
1121 * hildon/hildon-date-editor.h:
1122 * hildon/hildon-dialog.h:
1123 * hildon/hildon-get-password-dialog.h:
1124 * hildon/hildon-hvolumebar.h:
1125 * hildon/hildon-login-dialog.h:
1126 * hildon/hildon-note.h:
1127 * hildon/hildon-number-editor.h:
1128 * hildon/hildon-range-editor.h:
1129 * hildon/hildon-seekbar.h:
1130 * hildon/hildon-set-password-dialog.h:
1131 * hildon/hildon-sort-dialog.h:
1132 * hildon/hildon-time-editor.h:
1133 * hildon/hildon-time-picker.h:
1134 * hildon/hildon-volumebar-range.h:
1135 * hildon/hildon-volumebar.h:
1136 * hildon/hildon-vvolumebar.h:
1137 * hildon/hildon-weekday-picker.h:
1138 * hildon/hildon-window.h:
1139 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1140 macros with the current replacements
1142 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1144 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1146 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1147 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1148 itself, to make it fit better with Fremantle style.
1150 Fixes: NB#109878 (height and width of focus on color icon is not
1151 consistent with other item in the application tool bar)
1153 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1155 * hildon/hildon-touch-selector.c:
1156 (hildon_touch_selector_optimal_size_request): use the current requisition
1157 as the base, in order to include any possible extra widget, like the
1158 hildon entry on HildonTouchSelectorEntry
1160 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1162 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1164 * configure.ac: post release version bump
1165 * debian/changelog: post release version bump
1167 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1172 * configure.ac: Bump version.
1173 * debian/changelog: Updates.
1175 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1177 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1179 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1180 to ensure the banner contents are centered, instead of relying on
1181 the expand and fill properties in GtkHBox.
1182 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1184 Fixes: NB#108265 (Animation banner not properly centered)
1186 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1188 * hildon/hildon-pannable-area.c
1189 (hildon_pannable_area_initial_effect): Remove the initial_effect
1190 management, check initial_hint
1191 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1192 set initial_effect to FALSE
1193 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1194 by launching the fade_timeout if the scrollbars state has changed and are
1196 * examples/hildon-pannable-area-initial-hint-example.c
1197 Modified to allow to remove rows too. Add and remove rows one by one.
1199 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1201 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1202 Don't close the menu if there's an animation actor below it.
1204 Fixes: NB#117927 (Application menu not usable with animation
1207 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1209 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1210 "focus-on-click" from the dialog button, to avoid stealing the
1211 focus from the entry.
1213 Fixes: NB#118903 (Account setup wizard: Text in Search field
1214 should be focused when "Region" touch list picker is reopened
1217 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1219 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1220 (prepare_action_area): Completely hide the dialog separator.
1222 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1224 * hildon/hildon-touch-selector-entry.c
1225 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1226 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1227 now that the entry is exposed.
1229 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1231 * hildon/hildon-touch-selector-entry.c
1232 (hildon_touch_selector_entry_init): Change the entry's size
1233 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1235 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1237 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1238 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1239 avoid unnecessary scaling.
1241 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1243 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1244 Create grab transfer window before calling parent's map function.
1246 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1247 "crushed" button(s) in the top left corner)
1249 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1251 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1252 Check if the window is already realized when pushing it.
1254 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1256 * configure.ac: post release version bump
1257 * debian/changelog: post release version bump
1259 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1264 * configure.ac: Bump version.
1265 * debian/changelog: Updates.
1267 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1269 * hildon/hildon-app-menu.c: Doc updates.
1271 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1273 * hildon/hildon-banner.c: Remove leftover macro.
1275 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1277 * hildon/hildon-pannable-area.c,
1278 (hildon_pannable_area_scroll_indicator_fade),
1279 (hildon_pannable_area_button_release_cb): Reviewed vmin
1280 conditions, it could cause problems in the fadeout procedure.
1282 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1284 * hildon/hildon-pannable-area.c
1285 (hildon_pannable_area_button_release_cb): Added a threshold to
1286 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1288 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1290 * hildon/hildon-pannable-area.c,
1291 (hildon_pannable_area_set_property): Added code to sync the gtk
1292 dnd threshold with the panning threshold.
1294 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1296 * hildon/hildon-pannable-area.c,
1297 (hildon_pannable_area_class_init): Changed some of the default
1298 values, now it should be less responsive and more accurate.
1300 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1302 * hildon/hildon-pannable-area.c,
1303 (hildon_pannable_area_init),
1304 (hildon_pannable_area_scroll_indicator_fade),
1305 (hildon_pannable_area_button_press_cb),
1306 (hildon_pannable_axis_scroll),
1307 (hildon_pannable_area_timeout),
1308 (hildon_pannable_area_motion_notify_cb),
1309 (hildon_pannable_area_button_release_cb): Changed the name of the
1310 clicked attribute to button_pressed, it is more clear about its use.
1312 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1314 * src/hildon-pannable-area.c
1315 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1317 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1318 vertical scrollbar visibility, and use the data on private section instead,
1319 remove the initial_hint check
1320 (hildon_pannable_area_expose_event): add the initial_hint check here
1322 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1324 * src/hildon-pannable-area.c
1325 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1326 if the fadeout effect was used
1327 (hildon_pannable_area_expose_event): check if it is required to
1328 manage the initial effect on the begining of the function. Previously
1329 it was made at the end, but this doesn't ensure that the scrollbars
1330 will be painted on the first show. Do not set to FALSE initial_effect,
1331 to ensure that the initial hint is showed the first time the pannable
1333 * examples/Makefile.am
1334 * examples/hildon-pannable-area-initial-hint-example.c:
1335 New example, to show that the initial-hint is showed when the widget
1338 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1339 initially if the application can be scrolled)
1341 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1343 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1344 Resize table before adding new items to make sure that
1345 gtk_table_resize() is called just once.
1347 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1349 * hildon/hildon-app-menu-private.h
1350 * hildon/hildon-app-menu.c (item_visibility_changed)
1351 (filter_visibility_changed, hildon_app_menu_show_all)
1352 (hildon_app_menu_hide_all, hildon_app_menu_init):
1353 Rearrange items just once when gtk_widget_show_all()/hide_all()
1356 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1358 * hildon/hildon-app-menu.c
1359 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1360 Don't call gtk_widget_show() on added items.
1362 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1363 automatically when they're added)
1365 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1367 * hildon/hildon-banner.c
1368 (hildon_banner_realize, +hildon_banner_unrealize)
1369 (+screen_size_changed, hildon_banner_class_init):
1370 Redisplay the banner if the screen is rotated.
1372 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1373 on transition from landscape to portrait)
1375 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1377 * hildon/hildon-banner.[ch]:
1378 (hildon_banner_show_information_override_dnd): remove icon_name from the
1379 method definition as it is ignored.
1380 * examples/hildon-banner-dnd-example.c: updated with the change on
1383 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1385 * hildon/hildon-banner-private.h: new require_override_dnd and
1386 overrides_dnd variables
1387 * hildon/hildon-banner.h:
1388 (hildon_banner_show_information_override_dnd): new method, that shows
1389 the information but sets the override flag, in order to show important
1391 * hildon/hildon-banner.c
1392 (hildon_banner_show_information_override_dnd): new method
1393 (hildon_banner_set_override_flag): new utility function
1394 (hildon_banner_real_show_information): new utility function, in order to
1395 generalize the current hildon_banner_show_information_override_dnd and
1396 hildon_banner_show_information_override_dnd
1397 * examples/Makefile.am
1398 * examples/hildon-banner-dnd-example.c: New example that show how to
1399 use the new hildon_banner_show_information_override_dnd
1401 Fixes: NB#114874 (There is no possibility to show hildon banners with
1404 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1406 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1407 behind hildon_pannable_calculate_vel_factor().
1409 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1411 * hildon/hildon-pannable-area.c
1412 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1413 deceleration factors.
1415 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1417 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1418 Reduce the default value for 'scroll_time' to 1 second, since the
1419 current initial scrolling takes too much time.
1421 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1423 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1424 calculate velocity factor during initialization, since the properties
1427 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1429 * hildon/hildon-pannable-area.c
1430 (hildon_pannable_area_set_property): Calculate the velocity factor
1431 after setting the deceleration property and not after.
1433 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1435 * hildon/hildon-entry.c
1436 (hildon_entry_class_init, +set_property, hildon_entry_new)
1437 * hildon/hildon-check-button.c
1438 (hildon_check_button_class_init)
1439 (+set_property, hildon_check_button_new):
1440 Make the theme size a property.
1442 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1443 others) do too much in the _new function)
1445 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1447 * configure.ac: post release version bump
1448 * debian/changelog: post release version bump
1450 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: Bump version.
1456 * debian/changelog: Updates.
1458 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1460 * hildon/hildon-gtk.h
1461 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1462 New API function to take a screenshot of a window
1464 Fixes: NB#106374 (Need API to take a loading screenshot)
1466 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1468 * hildon/hildon-time-selector.c
1469 (update_format_policy): prevent to use hours and minutes unitialized
1471 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1473 * hildon/hildon-window.c (hildon_window_size_request):
1474 Always request the full size of the screen (minus the title bar if
1475 not in fullscreen mode).
1477 Fixes: NB#107486 (HildonWindow should size itself properly)
1479 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1481 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1482 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1483 (on_show_cb), (sound_handling): Disconnect the idle handler for
1484 the sound when the note is finalized to avoid possible crashes.
1486 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1489 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1491 * src/hildon-animation-actor.c,
1492 * src/hildon-remote-texture.c:
1493 Added proper object cleanup to remove signal handler and object
1494 references as HildonAnimationActor and HildonRemoteTexture
1495 objects get destroyed.
1497 Fixes: NB#116682 (Destroying parented animation actors when
1498 parent in unmapped leads to crash)
1500 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1502 Based on a patch by Christian Dywan (christian@imendio.com)
1504 * doc/hildon-sections.txt:
1505 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1506 * hildon/hildon-helper.h: New file size formatting method.
1508 * debian/control: Depend on osso-filemanager l10n package for
1509 proper localization strings.
1511 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1513 * tests/Makefile.am: Include top_srcdir to make possible to build
1514 tests in a different builddir.
1515 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1516 on a different builddir.
1518 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1520 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1521 (hildon_touch_selector_remove): Disconnect model's signal handler
1524 Fixes: NB#116289 (Hildon home crashes while adding task
1527 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1529 * hildon/hildon-button.c
1530 (hildon_button_set_title, hildon_button_set_value):
1531 Hide labels containing an empty string.
1533 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1535 * configure.ac: post release version bump
1536 * debian/changelog: post release version bump
1538 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1543 * configure.ac: Bump version.
1544 * debian/changelog: Updates.
1546 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1548 * hildon/hildon-note-private.h: Removed sound_signal_handler
1549 * hildon/hildon-note.c
1550 (on_show_cb): new callback on note "show" event, this simply adds
1551 a idle, with the function sound_handling
1552 (sound_handling): removed the sound_signal_handler management
1553 (hildon_note_init): connect note "show" event to on_show_cb
1554 (hildon_note_realize): remove the connection to "expose-event"
1556 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1557 device?' confirmation note)
1559 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1561 * hildon/hildon-note.c
1562 (hildon_note_new_information_with_icon_name)
1563 (hildon_note_new_confirmation_with_icon_name):
1564 Terminate the list of parameters in g_object_set() calls
1566 Fixes: NB#115166 (Formatting memory card is not taking place)
1568 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1570 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1571 "dialog-information" role for the sound being played.
1573 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1575 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1576 Don't make the menu a modal window, it causes strange interactions
1577 with the pointer grab and it's not really needed.
1579 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1581 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1583 * hildon/hildon-touch-selector.[ch]
1584 (hildon_touch_selector_optimal_size_request): function added to get a
1585 optimal size request from the touch selector, when you want a dialog to
1586 show as much of the selector
1587 * hildon/hildon-picker-dialog.c:
1588 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1589 (hildon_app_menu_class_init):
1590 New "max-height-landscape" and "max-height-portrait" style properties
1591 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1592 (hildon_picker_dialog_get_max_height): returns the maximum height using
1593 the style properties defined and checking the current portrait/landscape
1595 (_hildon_picker_dialog_set_selector): removed the set_size_request
1597 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1599 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1601 * hildon/hildon-bread-crumb-trail.c:
1602 * hildon/hildon-bread-crumb.c:
1603 * hildon/hildon-seekbar.c:
1604 Add reference to replacements for these deprecated widgets.
1606 Fixes: MB#4461 (Documentation: All deprecations should mention
1609 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1611 * examples/hildon-remote-texture-example.c
1613 Change the include to the hildon-remote-texture in order to compile
1614 properly the examples on the installed libhildon1-examples package
1616 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1618 * tests/Makefile.am: Add check for HildonPickerButton.
1619 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1620 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1621 checks for the HildonPickerButton.
1622 * tests/check_test.c (configure_tests): Add the test suite.
1623 * tests/test_suites.h: likewise.
1625 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1627 * hildon/hildon-touch-selector.c
1628 (+on_row_changed): Emit HildonTouchSelector:changed when the
1629 contents of a selected row change.
1630 (_create_new_column), (_hildon_touch_selector_set_model): connect
1631 to GtkTreeModel:row-changed on a newly set model.
1633 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1635 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1637 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1639 * hildon/hildon-banner.c (hildon_banner_destroy)
1640 (hildon_banner_show_progress, hildon_banner_set_fraction):
1641 Remove the progress bar from HildonBanner and use a progress
1644 Fixes: NB#113761 (Update progress banner to use progress
1647 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1649 * hildon/hildon-banner.c:
1650 Calculate size of the banner label using the actual screen width
1651 rather than using a fixed value.
1653 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1656 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1658 * hildon/hildon-pannable-area.c,
1659 (hildon_pannable_area_class_init): Fixed signals documentation
1662 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1664 * configure.ac: post release version bump
1665 * debian/changelog: post release version bump
1667 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1672 * configure.ac: Bump version.
1673 * debian/changelog: Updates.
1675 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1677 * hildon/hildon-edit-toolbar.c
1678 (hildon_edit_toolbar_init):
1679 Don't let buttons in HildonEditToolbar receive focus.
1681 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1682 typing on an HW arrows key)
1684 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1686 * doc/Makefile.am: Fix build.
1688 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1690 * doc/Makefile.am: Do not redefine content_files.
1692 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1700 Renamed src/ to hildon/
1705 Include <hildon/hildon.h> directly in all examples.
1707 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1709 * src/hildon-sort-dialog.c
1710 (hildon_sort_dialog_add_sort_key_with_sorting)
1714 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1716 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1717 make distcheck passes.
1719 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1721 * Makefile.am: Enable gtk-doc during distcheck.
1723 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1725 * Makefile.am: Do not distribute the debian/ directory.
1727 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1729 * doc/Makefile.am: Add the extra SGML files to content_files,
1730 so that they are distributed properly.
1732 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1734 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1737 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1740 (hildon_note_new_information_with_icon_name): Set the "icon" property
1741 to preserve soundness.
1743 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-font-selection-dialog.c
1746 (hildon_font_selection_dialog_set_property): Fail when the "family"
1747 property is set to NULL.
1749 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1754 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1756 * src/hildon-time-selector.h:
1757 Added HildonTimeSelectorFormatPolicy
1758 * src/hildon-time-selector.c:
1759 Added PROP_TIME_FORMAT_POLICY
1760 (_check_ampm_format): renamed to check_automatic_ampm_format
1761 (update_format_policy), (update_format_dependant_columns): new functions
1762 (hildon_time_selector_class_init)
1763 (hildon_time_selector_contructor)
1764 (hildon_time_selector_init)
1765 (hildon_time_selector_get_property)
1766 (hildon_time_selector_set_property)
1767 (hildon_time_selector_get_time)
1768 (hildon_time_selector_set_time)
1769 * src/hildon-touch-selector.h: new file
1770 * src/hildon-touch-selector.c
1771 (hildon_touch_selector_emit_changed)
1772 (hildon_touch_selector_block_changed)
1773 (hildon_touch_selector_unblock_changed)
1774 Added functions to allow to block the emission of the "changed" signal
1775 * src/hildon-picker-dialog.c
1776 (hildon_picker_dialog_show): call the parent show before the custom code
1777 * examples/hildon-time-button-example.c
1778 Modified, so now you can configure the time format using the new property
1780 Added a new property "time-format-policy" that allow to choose the time
1781 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1782 case it uses gconf in order to check if the time selector must use
1785 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1788 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-note.c (hildon_note_init):
1791 Label in HildonNote must be left aligned, not centered. This
1792 reverts the last commit in HildonNote.
1794 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1795 is connectivity dialog)
1797 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1802 * doc/hildon-sections.txt:
1803 Added hildon_gtk_window_set_do_not_disturb()
1805 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1807 * src/hildon-note.c (hildon_note_init): Center label.
1809 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1812 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1817 * configure.ac: Bump version.
1818 * debian/changelog: Updates.
1820 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1822 * src/hildon-note-private.h: Add button-width to the private data.
1823 * src/hildon-note.c (+resize_button),
1824 (+hildon_note_orientation_update): methods to repack widgets on orientation
1826 (screen_size_changed): Call above method for confirmation notes.
1827 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1828 (hildon_note_rebuild): Store the original width request from buttons.
1830 Fixes: NB#109635 (Confirmation notes do not support portrait)
1832 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1835 when it is a progress note.
1837 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1840 in the note, since there are no horizontally arranged contents.
1842 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1844 * src/hildon-gtk.c (+set_flag): new generic method to
1845 set/delay a flag setting in a window.
1846 (hildon_gtk_window_set_progress_indicator):
1847 (hildon_gtk_window_set_do_not_disturb),
1848 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1849 avoid code redundance.
1851 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1853 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1855 * src/hildon-gtk.c (set_clear_window_flag),
1856 (do_set_progress_indicator), (do_set_do_not_disturb),
1857 (do_set_portrait_flags),
1858 (hildon_gtk_window_set_progress_indicator),
1859 (hildon_gtk_window_set_do_not_disturb),
1860 (hildon_gtk_window_set_portrait_flags):
1861 Allow setting dnd-flag, progress indicator, and portrait flags
1862 when the window is not realized.
1864 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1866 * src/hildon-pannable-area.c,
1867 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1868 the size request policy function and defines.
1870 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1872 * doc/hildon-sections.txt: Add the new API.
1873 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1874 method to set the portrait flags.
1875 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1877 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1879 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1881 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1882 to allow using this method with other flags.
1883 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1884 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1886 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1888 * src/hildon-touch-selector.c
1889 (hildon_touch_selector_append_text_column):
1890 Make the cell renderer use the smallest width possible.
1892 Fixes: NB#108470 (Selected items in multiple selection are either
1893 having a tick that is cut or not visible at all.)
1895 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-touch-selector.c
1898 (hildon_touch_selector_append_text_column):
1901 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1904 Use g_strdup_printf() instead of a fixed size buffer.
1906 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1909 Close banners when a HildonAppMenu is popped up.
1911 Fixes: NB#111027 (Title menu closed immediately if activated when
1912 "Invalid e-mail address" banner is shown)
1914 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1919 * configure.ac: Bump version.
1920 * debian/changelog: Updates.
1922 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-banner.c (hildon_banner_realize):
1925 Mark HildonBanner as supporting portrait mode.
1926 Use GDK to set window properties insetad of direct Xlib calls.
1928 Fixes: NB#111830 (HildonBanner should be marked as supporting
1931 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1933 * src/hildon-note.c (hildon_note_rebuild):
1934 Hide action area in information notes. Prevents text from being
1935 slightly aligned to the left.
1937 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1940 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1942 Patch by Mox Soini (ext-mox.soini@nokia.com)
1944 * src/hildon-banner.c (hildon_banner_create_animation):
1945 Use stylus-sized icons in animation banner.
1947 Fixes: NB#111206 (stylus sized icon for animation banner)
1949 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1953 (+hildon_gtk_window_set_do_not_disturb):
1954 New API to set the do-not-disturb flag.
1956 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1958 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1960 * examples/hildon-progress-indicator-example.c: Fix example
1962 * src/hildon-gtk.c (set_clear_window_flag)
1963 (hildon_gtk_window_set_progress_indicator):
1964 Create a generic function for setting flags to a window.
1965 Use GDK instead of direct Xlib calls.
1967 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-button.c (hildon_button_set_arrangement):
1970 Due to NB#88126, if one of the labels is too long it will be
1971 painted outside the button. The 'value' label is more likely to be
1972 the longest one, so we change its packing options in order to
1973 truncate it if necessary. As a side effect, the 'title' label will
1974 no longer be truncated.
1976 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1978 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1983 * configure.ac: Bump version.
1984 * debian/changelog: Updates.
1986 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1988 Deprecation of the hildon_pannable_area_set_size_request_policy
1989 API, the only policy properly supported in gtk+ nowadays is the
1992 * src/hildon-pannable-area.c,
1993 (hildon_pannable_area_size_request): Added a workaround for the
1994 size_request to avoid the problems of huge pixmaps in case someone
1995 is still using the function.
1996 * src/hildon-pannable-area.h: Deprecated the enum with the
1999 Fixes: NB#110244 (Problems with the
2000 hildon_pannable_area_set_size_request_policy API)
2002 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2004 * src/hildon-pannable-area.c,
2005 (hildon_pannable_area_init),
2006 (hildon_pannable_area_size_request),
2007 (hildon_pannable_area_style_set),
2008 (hildon_pannable_draw_vscroll),
2009 (hildon_pannable_draw_hscroll),
2010 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2011 indicator_width to clarify the use of the attribute.
2013 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2018 * configure.ac: Bump version.
2019 * debian/changelog: Updates.
2021 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2023 * src/hildon-picker-dialog.c
2024 * src/hildon-touch-selector.c
2025 Reverting the change that tried to avoid the hardcoded height on
2026 the picker dialog, as causes problems on the hildon-touch-selector
2029 Fixes: NB#110029 (selectors not scrolling to selected value)
2031 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2033 * src/hildon-touch-selector.c: Fix typos
2035 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2037 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2038 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2039 request more motions after using it.
2041 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-calendar.c (hildon_calendar_expose),
2044 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2045 Remove unused variables.
2047 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2049 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2050 variable assignment.
2052 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2055 Check the return value of gtk_tree_selection_get_selected()
2058 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2060 * src/hildon-animation-actor.c
2061 * src/hildon-button.c
2063 * src/hildon-pannable-area.c
2064 * src/hildon-picker-button.c
2065 * src/hildon-program.c
2066 * src/hildon-remote-texture.c
2067 * src/hildon-text-view.c
2068 * src/hildon-touch-selector.c
2069 * src/hildon-window-stack.c
2070 * src/hildon-window.c:
2071 Add missing 'Since: 2.2' tags.
2073 * doc/hildon-sections.txt:
2074 Add some missing symbols.
2076 * doc/hildon-docs.sgml:
2077 New 'Other' section for HildonAnimationActor and
2080 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2082 Patch by Iván Gómez (igomez@igalia.com)
2085 * doc/compiling.sgml
2086 * doc/hildon-docs.sgml
2087 * doc/hildon-sections.txt
2088 * doc/migration.sgml
2089 * doc/resources.sgml
2091 New chapters on using the Hildon library.
2092 Updated the general structure of the reference manual.
2093 Other minor documentation fixes.
2095 * src/hildon-calendar-popup.c
2096 * src/hildon-calendar.c
2097 * src/hildon-controlbar.c
2098 * src/hildon-date-editor.c
2099 * src/hildon-dialog.c
2100 * src/hildon-hvolumebar.c
2101 * src/hildon-number-editor.c
2102 * src/hildon-range-editor.c
2103 * src/hildon-sort-dialog.c
2104 * src/hildon-time-editor.c
2105 * src/hildon-time-picker.c
2106 * src/hildon-volumebar-range.c
2107 * src/hildon-volumebar.c
2108 * src/hildon-vvolumebar.c
2109 * src/hildon-weekday-picker.c:
2110 Add deprecation notes
2112 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2113 Document 'horizontal-movement' and 'vertical-movement' signals.
2115 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2120 * configure.ac: Bump version.
2121 * debian/changelog: Updates.
2123 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2125 * src/hildon-pannable-area.c,
2126 (hildon_pannable_area_class_init): increased the minimum velocity.
2127 (hildon_pannable_area_button_release_cb): Updated the
2128 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2129 setup. Review the code to control that last event.
2131 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2134 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2136 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2138 * src/hildon-get-password-dialog.c
2139 (hildon_get_password_set_property),
2140 (hildon_get_password_get_property), (create_contents):
2141 * src/hildon-login-dialog-private.h:
2142 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2143 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2144 (hildon_login_dialog_get_password):
2145 * src/hildon-set-password-dialog-private.h:
2146 * src/hildon-set-password-dialog.c
2147 (hildon_set_password_set_property),
2148 (hildon_set_password_get_property), (create_contents),
2149 (hildon_set_password_response_change),
2150 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2152 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2153 instead and look more Fremantle style.
2155 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2157 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2159 * doc/hildon-sections.txt
2160 * src/hildon-window-stack.h
2161 * src/hildon-window-stack.c
2162 (+hildon_window_stack_get_windows):
2163 New API to obtain the list of windows on a stack.
2165 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2167 * src/hildon-app-menu.c (hildon_app_menu_popup)
2168 (hildon_app_menu_class_init, -hildon_app_menu_show):
2169 Remove hildon_app_menu_show() and move all its checks to
2170 hildon_app_menu_popup()
2172 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2174 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2175 (_hildon_picker_dialog_set_selector): removed call to
2176 gtk_widget_set_size_request
2177 * src/hildon-touch-selector.c
2178 (_create_new_column): change the pannable size request policy
2180 Avoid to use a hardcoded height for the hildon picker dialog. In order
2181 to get that, we needed to change the hildon pannable size request
2183 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2185 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2187 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2188 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2191 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2193 * debian/control: Depend on osso-system-lock localization package.
2194 * src/hildon-code-dialog.c: Obtain the secu_application_title
2195 translation from osso-system-lock.
2196 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2197 for translation the atk related strings, that's not necessary.
2198 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2199 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2200 cancel button, it is not required.
2202 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2204 * src/hildon-pannable-area.c,
2205 (hildon_pannable_area_class_init): Modified the default value of
2206 the overshooting max speed, we have reduced it.
2208 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2210 * doc/hildon-sections.txt
2211 * src/hildon-window-private.h
2212 * src/hildon-window.h
2213 * src/hildon-window.c (hildon_window_class_init)
2214 (hildon_window_init, hildon_window_finalize)
2215 (hildon_window_realize, hildon_window_get_property)
2216 (hildon_window_set_property, hildon_window_update_markup)
2217 (hildon_window_get_markup, hildon_window_set_markup):
2218 New "markup" property and hildon_window_{get,set}_markup() methods.
2220 * examples/hildon-stackable-window-example.c (new_window):
2221 Update example to use hildon_window_set_markup()
2223 Fixes: NB#106375 (Need API to retitle a window with a title
2226 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2228 * src/hildon-pannable-area.c,
2229 (hildon_pannable_area_class_init): Changed the default value of
2230 the initial_hint to TRUE.
2231 (hildon_pannable_area_initial_effect): Changed the initial effect,
2232 not the effect is just the fade-out of the scrollbars.
2234 Fixes: NB#107775 (No scrollbars can be seen when several items are
2235 available in a dialog)
2237 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-program.c (hildon_program_update_top_most):
2242 Fixes: NB#109179 (Memory leak in Hildon program)
2244 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2246 * src/hildon-banner.c (-get_current_app_window):
2247 Remove unused function.
2249 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2251 * src/hildon-pannable-area.c: Modified the documentation of the
2252 get adjustments functions to explain the problem of using the
2253 adjustment directly.
2254 (hildon_pannable_area_class_init): Improved the explanation about
2257 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2259 * src/hildon-app-menu-private.h
2260 * src/hildon-app-menu.c
2261 (hildon_app_menu_class_init):
2262 Bring back the 'external-border' style property
2263 (hildon_app_menu_class_init, hildon_app_menu_init)
2264 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2265 Set a fixed width-request for the menu, independent of the number
2268 Fixes: NB#94957 (Smoothly opened application menu)
2270 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2272 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2274 * src/hildon-banner.c
2275 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2277 Make sure that the banner is correctly placed the first time it's
2279 (hildon_banner_check_position, -check_fullscreen_state):
2280 Show the banner in the same place no matter if the window is in
2281 fullscreen mode or not.
2283 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2285 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2287 * src/hildon-touch-selector.c (_default_print_func): reorder
2288 concatenation for clarity.
2290 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2292 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2293 for multicolumn selectors.
2295 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2297 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2302 * configure.ac: Bump version.
2303 * debian/changelog: Updates.
2305 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2307 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2310 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2312 * configure.ac: removed libcangerra-gtk dependency
2313 * debian/control: removed libcanberra-gtk dependency
2314 * src/Makefile.am: removed libcanberra gtk related flags
2315 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2316 context, and manage a global canberra context instead
2318 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2320 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2322 Patch by Daniel Borgmann (danielb@openismus.com)
2324 * src/hildon-edit-toolbar.c:
2325 Adjust the left padding.
2326 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2327 Paint background of the edit toolbar.
2329 Fixes: NB#107897 (Patch to make editmodetoolbar background
2330 themeable and adjust margin)
2332 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2334 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2336 * src/hildon-program.c (hildon_program_update_top_most):
2337 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2339 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2340 change when the user tasks in/out of an application)
2342 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2344 * configure.ac: added libcangerra-gtk dependency
2345 * debian/control: added libcanberra-gtk dependency
2346 * src/Makefile.am: added libcanberra gtk related flags
2347 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2350 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2352 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-program.c (hildon_program_remove_window)
2355 (hildon_program_add_window): Add checks for the window
2356 parameter. Don't decrease the window counter if the window is not
2359 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2361 * src/hildon-pannable-area.c,
2362 (hildon_pannable_area_realize): Fixed position of the event_window
2363 in the realize method.
2365 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-app-menu-private.h
2368 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2369 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2370 (hildon_app_menu_key_press, hildon_app_menu_init)
2371 (hildon_app_menu_finalize):
2372 Make sure that all idle functions are removed when the widget is
2375 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2377 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2382 * configure.ac: Bump version.
2383 * debian/changelog: Updates.
2385 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-entry.c
2388 (+hildon_entry_show_placeholder),
2389 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2390 that replace hildon_entry_update_contents().
2391 (hildon_entry_set_text),
2392 (hildon_entry_set_placeholder),
2393 (hildon_entry_focus_in_event),
2394 (hildon_entry_focus_out_event): Determine when it is needed
2395 either to show or hide the placeholder and call the above methods.
2397 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2398 when the placeholder text is already set)
2400 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2403 simple GdkPixbufAnim using the new icons for the banner.
2404 (hildon_banner_show_animation): Use the above mentioned method to
2405 create the animation widget.
2407 Fixes: NB#103564 (Make hildon animation banner use individual
2408 image files as the animation)
2410 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2412 * src/hildon-pannable-area.c,
2413 (hildon_pannable_leave_notify_event): Check if the child is NULL
2414 to avoid sending the leave.
2416 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2418 * src/hildon-pannable-area.c,
2419 (hildon_pannable_area_class_init),
2420 (hildon_pannable_leave_notify_event): Added a handler of the
2421 leave-notify-signal to consider when no motion notify before
2424 Fixes: NB#107494 (Items stay selected when clicking and moving
2425 away when inside pannable area)
2427 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2432 * configure.ac: Bump version.
2433 * debian/changelog: Updates.
2435 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2437 Patch by Alberto Garcia (agarcia@igalia.com)
2439 * src/hildon-date-button.c,
2440 (hildon_date_button_class_init),
2441 (hildon_date_button_init): Removed the construct property handling
2442 and created a default selector in the init method.
2443 * src/hildon-picker-button.c,
2444 (hildon_picker_button_class_init): Removed the construct flag of the
2447 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-main.c (hildon_init):
2450 Don't allow hildon_init() to be called more than once.
2452 Fixes: NB#106607 (hildon_init should issue error message upon
2455 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2457 * examples/hildon-pannable-area-touch-list-example.c
2458 * examples/hildon-pannagle-area-touch-grid-example.c
2459 * examples/hildon-edit-toolbar-example.c
2460 * examples/hildon-touch-selector-multi-cells-example.c
2461 Removed the call to gtk_rc_parse_string, as it is not required since
2464 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pannable-area.c,
2467 (hildon_pannable_area_class_init): Modified the default panning
2468 threshold of the widget to 6px.
2470 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2471 than the threshold value ) within the button is not sending the
2474 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2477 for the treeview in the new column. This way, the touch list will never
2480 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2481 be selected manually for the HW keys to work)
2483 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2486 comparison instead of using strcmp(). Fixes a compiler warning as well.
2488 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2490 * doc/hildon-docs.sgml: Do not set the library version in the
2491 document title, use the releaseinfo tag for that purpose instead.
2493 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2496 Do not jump to the first item if the text in the entry is removed.
2498 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2503 * configure.ac: Bump version.
2504 * debian/changelog: Updates.
2506 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-entry.c (hildon_entry_refresh_contents):
2509 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2510 Use "ReversedSecondaryTextColor" for the placeholder text.
2512 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-text-view.c: Fix compilation warning.
2516 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2518 * src/hildon-button.c (hildon_button_class_init): Don't make
2519 "title" and "value" construction properties, to prevent them from
2520 overwriting labels set from derived classes.
2522 * src/hildon-picker-button.c
2523 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2524 (hildon_picker_button_class_init): Make touch-selector a
2525 construction property.
2527 * src/hildon-date-button.c (hildon_date_button_class_init)
2528 (+hildon_date_button_constructed): Add a default date selector if
2531 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-touch-selector.c: Small documentation fixes.
2535 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2537 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2539 * src/hildon-entry.c (hildon_entry_refresh_contents),
2540 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2541 widget name, set the logical color directly instead and a boolean
2542 showing_placeholder instead.
2543 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2544 use the widget name here either.
2546 Fixes: NB#105678 (HildonTextView should use logical colours
2547 instead of setting widget name)
2549 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2551 Patch by Daniel Elster (danielk@openismus.com)
2553 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2554 Add user_data parameter.
2555 (hildon_touch_selector_set_print_func_full): New function akin
2556 hildon_touch_selector_set_print_func() but with support for user
2557 data and a destroy callback.
2558 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2559 to clean up the print function user data.
2560 (hildon_touch_selector_class_init): Install dispose function.
2561 (HildonTouchSelectorPrivate::print_user_data),
2562 (HildonTouchSelectorPrivate::print_destroy_func): New private
2564 (hildon_touch_selector_init): Initialize new private members.
2565 (hildon_touch_selector_get_current_text): Pass along user data
2566 to the print function.
2567 (_default_print_func): Add dummy user_data to parameter list.
2568 * hildon-date-selector.c (_custom_print_func): ditto,
2569 * hildon-time-selector.c (_custom_print_func): ditto,
2570 * hildon-touch-selector-entry.c
2571 (hildon_touch_selector_entry_print_func): ditto.
2573 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2575 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2577 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2579 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_area_init),
2583 (hildon_pannable_area_button_press_cb),
2584 (hildon_pannable_area_motion_notify_cb): We have added code to
2585 handle the leave and enter events when using the motion events.
2587 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2589 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2591 * src/hildon-date-button.c (hildon_date_button_get_date)
2592 (hildon_date_button_set_date): Make sure that the button has a
2595 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2597 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2599 * src/hildon-pannable-area.c,
2600 (hildon_pannable_area_class_init),
2601 (hildon_pannable_area_calculate_velocity): Modify the use of the
2602 force and adapt the value.
2604 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2607 (hildon_app_menu_class_init): Hide the menu if it receives a
2608 delete-event, but don't destroy it
2610 Fixes: NB#104485 (Not able to address the call when application
2611 menu is opened at background)
2613 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2615 * src/hildon-app-menu.c
2616 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2617 Remove the "external-border" style property, let the menu take its
2618 natural size (or the one set by the window manager)
2619 (hildon_app_menu_repack_items):
2620 Don't reshow the menu, avoid flickers.
2622 Partially fixes NB#94957 (Smoothly opened application menu)
2624 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2629 * configure.ac: Bump version.
2630 * debian/changelog: Updates.
2632 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2634 * src/hildon-pannable-area.c,
2635 (hildon_pannable_area_motion_notify_cb): We control that the
2636 direction error margin is used just in case the movement is
2637 allowed in the other direction.
2639 Fixes: NB#105012 (buttons inside a pannable area not getting
2640 release event when dragging/releasing)
2642 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2644 * src/hildon-pannable-area.c,
2645 (hildon_pannable_area_class_init),
2646 (hildon_pannable_area_get_property),
2647 (hildon_pannable_area_set_property),
2648 (hildon_pannable_area_initial_effect),
2649 (hildon_pannable_axis_scroll),
2650 (hildon_pannable_area_button_release_cb): Reviewed the
2651 overshooting effect, now it has its own max
2652 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2653 speed when bouncing.
2655 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2660 * configure.ac: Bump version.
2661 * debian/changelog: Updates.
2663 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2665 * src/hildon-pannable-area.c,
2666 (hildon_pannable_area_class_init): Changed the max speed, now
2667 users can launch the widget very fast. Reduced the default force,
2668 that way it is easier to control the launch speed.
2670 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2672 * src/hildon-pannable-area.c,
2673 (hildon_pannable_area_button_release_cb): Removed this check
2674 because it causes problems when the device is overloaded.
2676 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2678 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2679 add a current_text field to store the text entered in the
2680 touch selector entry.
2681 (_clean_current_selection): clean up the current text as well.
2682 (_save_current_selection), (_restore_current_selection):
2683 Save/restore the text in the entry if the selector is a
2684 HildonTouchSelectorEntry.
2686 Fixes: NB#102541 (value entered in the touch selector entry is not
2687 shown when opened for second time)
2689 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2691 * doc/hildon-sections.txt:
2692 * src/hildon-touch-selector-entry.c
2693 (+hildon_touch_selector_entry_get_entry):
2694 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2696 Fixes: NB#104815 (I need accessor to the entry inside
2697 HildonTouchSelectorEntry)
2699 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2702 (hildon_app_menu_class_init):
2703 New "filter-vertical-spacing" style property.
2705 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2707 * src/hildon-find-toolbar.c
2708 (hildon_find_toolbar_emit_close)
2709 (hildon_find_toolbar_emit_invalid_input)
2710 (hildon_find_toolbar_entry_activate):
2711 Use g_signal_emit() instead of g_signal_emit_by_name()
2713 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2715 Patch by Mox Soini (ext-mox.soini@nokia.com)
2717 * tests/TEST-CASES.txt
2718 * tests/check-hildon-banner.c
2719 * tests/check-hildon-note.c
2720 * src/hildon-banner.c
2721 * src/hildon-code-dialog.c
2722 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2723 * src/hildon-time-editor.c
2724 * examples/hildon-lookup-example.c (main):
2725 Replace obsolete icon names with new ones.
2727 * src/hildon-find-toolbar-private.h:
2728 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2729 (-hildon_find_toolbar_emit_search):
2730 Remove find button and change icon of close button.
2732 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2734 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2736 * src/hildon-time-button.c (hildon_time_button_new_step):
2737 Use the "touch-selector" property to set the selector directly
2738 when creating the object.
2740 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2742 Added a new example application that allows tuning the pannable
2743 area and replaced defines with properties in order to simplify the
2744 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2745 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2746 PROP_DIRECTION_ERROR_MARGIN.
2748 * examples/hildon-pannable-area-tuning-example.c: New example
2750 * src/hildon-pannable-area.c,
2751 (hildon_pannable_area_class_init),
2752 (hildon_pannable_area_init),
2753 (hildon_pannable_area_get_property),
2754 (hildon_pannable_area_set_property),
2755 (hildon_pannable_area_launch_fade_timeout),
2756 (hildon_pannable_area_adjust_value_changed),
2757 (hildon_pannable_axis_scroll),
2758 (hildon_pannable_area_motion_notify_cb),
2759 (hildon_pannable_area_scroll_cb),
2760 (hildon_pannable_area_button_release_cb): We have converted some
2761 of the defines that control the widget to properties to simplify
2764 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2766 * src/hildon-app-menu.c (hildon_app_menu_map)
2767 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2768 so it's closed if a new window appears.
2770 Fixes: NB#104485 (Not able to address the call when application
2771 menu is opened at background)
2773 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2776 missing 'break' statement in in 'case' construct to avoid
2779 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2781 * src/hildon-touch-selector-entry.c
2782 (hildon_touch_selector_entry_get_property),
2783 (hildon_touch_selector_entry_set_property): Add missing 'break'
2784 statements in in 'case' constructs to avoid incorrect warnings.
2786 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-time-editor.c
2789 (hildon_time_editor_get_time_separators): Do not crash if
2790 the first label is NULL.
2792 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-date-selector.c (_month_days): Check for month to be
2795 strictly less than 12, since otherwise we may overrun the array.
2797 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-date-button.c (+hildon_date_button_new_full)
2800 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2801 (hildon_date_button_init): Set the date selector using a
2802 construction property, to make it happen after HildonButton's
2803 "value" property is set.
2805 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2806 current date by default)
2808 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2810 * doc/hildon-sections.txt
2811 * src/hildon-program.c
2812 * src/hildon-stackable-window.c
2813 * src/hildon-window.c:
2814 Documentation updates
2816 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2819 (hildon_window_stack_new, +hildon_window_stack_set_property)
2820 (+hildon_window_stack_get_property)
2821 (hildon_window_stack_class_init)
2822 (+hildon_window_stack_set_window_group)
2823 (+hildon_window_stack_get_window_group):
2824 Make the window group a construction property.
2826 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2828 * doc/hildon-sections.txt
2829 * src/hildon-stackable-window-private.h
2830 * src/hildon-stackable-window.h
2831 * src/hildon-stackable-window.c
2832 (-hildon_stackable_window_set_app_menu)
2833 (-hildon_stackable_window_get_app_menu)
2834 (-hildon_stackable_window_toggle_menu)
2835 (-hildon_stackable_window_finalize)
2836 (hildon_stackable_window_class_init)
2837 (hildon_stackable_window_init)
2838 * src/hildon-window-private.h
2839 * src/hildon-window.h
2840 * src/hildon-window.c (hildon_window_init)
2841 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2842 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2843 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2844 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2845 Moved all HildonAppMenu code to HildonWindow. The menu does not
2846 require a HildonStackableWindow anymore.
2848 * src/hildon-app-menu.c
2849 * src/hildon-program.c
2850 * examples/hildon-app-menu-example.c (main):
2851 Update examples and documentation to reflect HildonAppMenu
2854 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-remote-texture.c
2857 * src/hildon-animation-actor.c:
2858 Don't include unused private headers.
2860 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-program-private.h
2863 * src/hildon-program.c
2864 (hildon_program_set_common_menu)
2865 (hildon_program_get_common_menu)
2866 (hildon_program_set_common_app_menu)
2867 (hildon_program_get_common_app_menu):
2868 Change common menu pointers from GtkWidget* to GtkMenu* and
2869 HildonAppMenu* to avoid unnecessary casts.
2871 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2873 * src/hildon-window.c (hildon_window_set_main_menu):
2874 Removed incorrect 'Since:' tag
2876 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2878 * src/hildon-pannable-area.c,
2879 (hildon_pannable_area_calculate_velocity): We use now the
2880 RATIO_TOLERANCE here to check the distance, fixed typo in the
2882 (hildon_pannable_area_motion_notify_cb): We have to set the type
2883 and time even if we are not sending the motion.
2885 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2887 * doc/hildon-sections.txt
2888 * src/hildon-app-menu.h
2889 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2890 (+hildon_app_menu_get_filters): New methods to get the contents of
2893 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2896 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2898 * src/hildon-app-menu.c (hildon_app_menu_popup):
2901 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2903 * src/hildon-window.h
2904 * src/hildon-window.c (+hildon_window_get_main_menu)
2905 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2906 and deprecated hildon_window_get_menu().
2908 * src/hildon-stackable-window.h
2909 * src/hildon-stackable-window.c
2910 (+hildon_stackable_window_set_app_menu)
2911 (+hildon_stackable_window_get_app_menu)
2912 (hildon_stackable_window_set_main_menu): Created
2913 hildon_stackable_window_{get,set}_app_menu() and deprecated
2914 hildon_stackable_window_set_main_menu().
2916 * doc/hildon-sections.txt
2917 * examples/hildon-app-menu-example.c (main)
2918 * src/hildon-app-menu.c
2919 * src/hildon-program.c:
2920 Updated examples and documentation.
2922 Fixes: NB#103758 (No way to obtain a menu from a
2923 HildonStackableWindow)
2925 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2930 * configure.ac: Bump version.
2931 * debian/changelog: Updates.
2933 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2935 * examples/hildon-remote-texture-example.c: Include
2936 hildon-remote-texture.h explicitely.
2937 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2938 applications not defining _XOPEN_SOURCE which don't require this header.
2940 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2942 * doc/hildon-sections.txt
2943 * src/hildon-app-menu.h
2944 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2945 New function to pop up a HildonAppMenu
2947 * src/hildon-stackable-window.c
2948 (hildon_stackable_window_toggle_menu):
2949 Use hildon_app_menu_popup() to show the menu.
2951 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-app-menu.c (hildon_app_menu_show)
2954 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2955 menu if there's another window between it and its parent window.
2957 Fixes: NB#100468 (Application menu window is launched even when a
2958 new secondary-window/dialog is pending to be shown/realized)
2960 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-window-stack.c (hildon_window_stack_push)
2963 (hildon_window_stack_pop_and_push):
2964 Don't forget to push/pop the first window.
2965 Reverse the window list before calling _push_list()
2967 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2969 * src/hildon-picker-button.h
2970 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2971 Remove "value_changed" slot to avoid ABI breakage
2973 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2975 * src/hildon-pannable-area.c,
2976 (hildon_pannable_area_realize),
2977 (hildon_pannable_area_unrealize),
2978 (hildon_pannable_draw_vscroll),
2979 (hildon_pannable_draw_hscroll): Changed the method to handle the
2980 GC used to draw the transparent scrollbar, this way we avoid
2981 creating the GC all the time when drawing the scrollbars.
2983 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2985 * src/hildon-pannable-area.c,
2986 (hildon_pannable_area_init),
2987 (hildon_pannable_area_remove): Removed some unnecessary casts.
2988 (hildon_pannable_area_dispose): Disconnected some signals before
2989 releasing the adjustments.
2991 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2993 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2994 Make sure that all widgets contained in the toolbar are shown.
2996 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2998 * doc/hildon-sections.txt
2999 * src/hildon-picker-button.h
3000 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3001 (_selection_changed, hildon_picker_button_on_dialog_response)
3002 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3003 New hildon_picker_button_value_changed() method.
3006 * src/hildon-picker-button-private.h
3007 * src/hildon-picker-button.c (hildon_picker_button_init)
3008 (+hildon_picker_button_disable_value_changed): Add protected
3009 function for disabling the "value-changed" signal.
3011 * src/hildon-date-button.c (hildon_date_button_set_date):
3012 Don't emit "value-changed" for each one of the three columns.
3014 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3015 before actual change of values)
3017 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3019 * src/hildon-pannable-area.c,
3020 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3021 for the treeview overshooting.
3023 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-banner.c (+hildon_banner_bind_style):
3026 Renamed from hildon_banner_bind_label_style(), now naming the
3027 banner itself as well.
3028 (hildon_banner_show_information),
3029 (hildon_banner_show_information_with_markup),
3030 (hildon_banner_show_animation), (hildon_banner_show_progress):
3031 Name the widgets and labels, based on their type.
3033 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3036 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-note.c (hildon_note_set_property): call
3039 hildon_note_rename() on HildonNote:note-type set.
3040 (hildon_note_rename): Name the note and its label, based on the
3041 HildonNote:note-type property.
3043 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3046 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3048 * src/hildon-pannable-area.c,
3049 (hildon_pannable_area_class_init),
3050 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3051 panning parameters, increased SPS and deceleration factor. Added
3052 also a margin to control fake directions.
3054 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3056 Patch by Sven Herzberg (sven@imendio.com)
3058 * configure.ac: Add missing AM_PROG_CC_C_0
3059 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3061 See NB#101420 (Update unit tests and fix make check)
3063 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3065 This patch was applied before but reverted because it caused
3066 problems, we have changed the main condition and tested the
3067 regressions we detected before and they work ok. We have done a
3068 complete review of the topmost algorithm in order to get a more
3071 * src/hildon-pannable-area.c,
3072 (hildon_pannable_area_get_topmost): Added a new parameter to
3073 filter the the windows that do not include those events.
3074 (hildon_pannable_area_button_press_cb),
3075 (hildon_pannable_area_button_release_cb),
3076 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3077 topmost function, we have added the new parameter.
3079 Fixes: NB#97458 (Pannable area prevents propagation of button
3082 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3085 if all columns in the selector have an item selected.
3086 (_on_dialog_response): Stop "response" signal emission if there is
3087 any selector column without selected items.
3089 Fixes: NB#101889 (Picker dialog should not close when nothing is
3090 selected in multiple selection list)
3092 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-font-selection-dialog.c
3095 (hildon_font_selection_dialog_class_init),
3096 (hildon_font_selection_dialog_init): Remove the preview
3097 button and dialog, since previewing with default theming is likely
3098 to be overcomplicated. The :preview property has now no effect.
3099 Update documentation blurbs to inform about this.
3101 Fixes: NB#92297 (Preview content is not clearly visible for
3102 default colour text)
3104 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3106 Reviewed the geometry that handles the children size and
3107 scrollbar, now it tries a size and reviews the results depending
3108 on the scrollbars visibility.
3110 * src/hildon-pannable-area.c,
3111 (hildon_pannable_area_realize): Fixed a typo.
3112 (hildon_pannable_area_child_allocate_calculate): Added this
3113 function to calculate the child allocation.
3114 (hildon_pannable_area_size_allocate): Reviewed the allocation
3116 (hildon_pannable_area_check_scrollbars),
3117 (hildon_pannable_area_refresh): Refactored refresh function, this
3118 way we can call the code handling the scrollbars without causing a
3119 size_request, it is interesting in the allocate.
3120 (hildon_pannable_area_init): Replace the callbacks of the
3121 value_changed and changed signals to propertly deal with the
3123 (hildon_pannable_area_grab_notify),
3124 (hildon_pannable_area_initial_effect),
3125 (hildon_pannable_area_launch_fade_timeout),
3126 (hildon_pannable_area_adjust_changed),
3127 (hildon_pannable_area_adjust_value_changed),
3128 (hildon_pannable_area_redraw),
3129 (hildon_pannable_area_button_press_cb),
3130 (hildon_pannable_area_button_release_cb),
3131 (hildon_pannable_area_scroll_cb),
3132 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3133 code and use the new functions adjust_changed and
3134 adjust_value_changed.
3136 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3137 Contact editor dialog)
3139 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3144 * configure.ac: Bump version.
3145 * debian/changelog: Updates.
3147 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3149 * src/hildon-pannable-area.c,
3150 (hildon_pannable_area_get_topmost),
3151 (hildon_pannable_area_button_press_cb),
3152 (hildon_pannable_area_button_release_cb),
3153 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3154 topmost function adding the event mask. We have to try a
3155 differente approach because it is still causing problems (NB#9745,
3158 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-banner.c:
3161 Update the maximum width of timed banners.
3162 (force_to_wrap_truncated): Enforce the maximum text width if the
3165 Fixes: NB#102413 (The text margins (wrapping) in information
3166 banner should be HILDON_MARGIN_TRIPLE)
3168 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3170 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3172 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3173 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3174 bound when calculating the scroll indicator position.
3176 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3177 treat ->lower correctly)
3179 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3181 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3182 expose event handling, since it is not necessary to draw the focus
3185 Fixes: NB#102467 (Do not show highlight on the text in
3188 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3191 full height of the toolbar for the button and the label.
3193 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3196 padding before the label and after the button.
3198 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3200 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3202 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3203 Add a GtkVSeparator between the button and the back arrow.
3204 Let the button have automatic size.
3205 Set a name to the widget for theming handling.
3207 Fixes: NB#101793 (Make edit toolbar the same height as window
3208 title bar (use title area theming))
3210 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3212 * src/hildon-helper.c (attach_new_color_element): Fix memory
3215 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3217 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3219 * examples/hildon-button-example.c (common_buttons_window): Don't
3222 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3224 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3225 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3227 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-gtk.c: Check that the window is realized.
3231 Fixes: NB#102225 (Crash setting the progress indicator to a non
3234 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3236 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3237 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3238 instead of modifying the one in the widget style.
3240 Fixes: NB#101043 (Second row of all the command button are
3241 displayed in transparent mode.)
3243 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3245 * src/hildon-date-button.c
3246 * src/hildon-time-button.c: Add gettext macros
3248 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3250 * src/hildon-date-button.c (hildon_date_button_new):
3251 * src/hildon-time-button.c (hildon_time_button_new_step):
3252 Use new logical strings to set the button default title.
3254 Fixes: NB#99915 (Date and Time options are not localised in Date
3257 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3259 * src/hildon-pannable-area.c
3260 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3261 the PANNING_THRESHOLD.
3263 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3265 * src/hildon-pannable-area.c,
3266 (hildon_pannable_area_class_init): Increased the maximum speed.
3267 (hildon_pannable_area_get_property),
3268 (hildon_pannable_area_set_property),
3269 (hildon_pannable_area_timeout): Added a new low friction mode, it
3270 allows the user avoid friction when launching the widget fast
3271 enough. It is interesting to traverse long lists.
3273 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3275 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3276 (+hildon_stackable_window_delete_event): Ignore delete events if
3277 the window is not the topmost one.
3279 Fixes: NB#101698 (Back button long press and delete-event handling)
3281 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3283 * src/hildon-pannable-area.c,
3284 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3285 gtk-dnd-drag-threshold, it was too big. We have defined our own
3286 dnd define and set a smaller value: PANNIG_THRESHOLD.
3288 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3290 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3291 user-defined icons, use always the default one.
3293 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3295 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3297 This patch was applied before but reverted because it caused
3298 problems, we have changed the main condition and tested the
3299 regressions we detected before and they work ok.
3301 * src/hildon-pannable-area.c,
3302 (hildon_pannable_area_get_topmost): Added a new parameter to
3303 filter the the windows that do not include those events. Added
3304 also a condition when finding the window to filter windows that do
3305 not ask for those events.
3306 (hildon_pannable_area_button_press_cb),
3307 (hildon_pannable_area_button_release_cb),
3308 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3309 topmost function, we have added the new parameter.
3311 Fixes: NB#97458 (Pannable area prevents propagation of button
3314 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3316 * tests/check-hildon-color-button.c (START_TEST): do not leak
3319 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-font-selection-dialog.c
3322 (hildon_font_selection_dialog_get_preview_text): Return NULL
3323 instead of FALSE on the g_return_val_if_fail().
3325 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3327 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3328 * src/hildon-date-selector.c
3329 (hildon_date_selector_select_current_date):
3330 Do not compare unsigned integers to be greater than or equal 0,
3331 because it's always TRUE.
3333 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3336 (hildon_date_selector_constructor): Do not select the current
3337 date until we are handle the "changed" signal, to avoid having bogus
3338 elements in the days model.
3340 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3343 for num_days, since _month_days() can return a negative value.
3345 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3347 * src/hildon-caption.c (hildon_caption_size_allocate):
3348 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3349 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3351 Initialize allocation variables to 0, to avoid eventually using
3352 unitialized variables.
3354 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3356 * src/hildon-bread-crumb-trail.c
3357 (hildon_bread_crumb_trail_size_allocate):
3358 * src/hildon-calendar.c (hildon_calendar_set_background):
3359 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3360 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3361 * src/hildon-seekbar.c (hildon_seekbar_init):
3362 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3363 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3364 * src/hildon-touch-selector-entry.c
3365 (hildon_touch_selector_get_text_from_model):
3366 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3367 * src/hildon-window.c (hildon_window_finalize):
3369 Remove many unused variables.
3371 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-seekbar.c: (hildon_seekbar_init),
3374 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3376 Remove unnecessary g_assert() calls.
3378 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3380 * src/hildon-caption.c: (hildon_caption_expose),
3381 (hildon_caption_set_property), (hildon_caption_init),
3382 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3383 (hildon_caption_size_request), (hildon_caption_size_allocate),
3384 (hildon_caption_forall), (hildon_caption_set_separator),
3385 (hildon_caption_activate), (hildon_caption_set_child_expand),
3386 (hildon_caption_set_label_text),
3387 (hildon_caption_get_label_alignment):
3389 Remove unnecessary g_assert() calls.
3391 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3393 * src/hildon-banner.c
3394 (hildon_banner_map, hildon_banner_init): Make banner temporary
3395 before mapping it to avoid closing other temporary windows, but
3396 make it non-temporary afterwards to avoid being closed by other
3397 non-temporary windows.
3398 (-hildon_banner_client_event, hildon_banner_init):
3399 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3401 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3404 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3409 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3411 * src/hildon-remote-texture.c
3412 * src/hildon-remote-texture.h
3413 * src/hildon-remote-texture-private.h
3414 * examples/hildon-remote-texture-example.c:
3415 Updates/fixes to remote-texture and its example.
3417 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3419 Patch by Mox Soini (ext-mox.soini@nokia.com)
3421 * src/hildon-code-dialog.c: Update logical id.
3422 * src/hildon-set-password-dialog.c: Update logical id.
3424 Fixes: NB#100646 (Logical strings is shown for ok in set
3425 password,Password needed dialogs)
3427 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3430 * src/hildon-remote-texture.c
3431 * src/hildon-remote-texture.h
3432 * src/hildon-remote-texture-private.h
3434 Added remote texture widget (for Clutter shared memory textures)
3436 * examples/hildon-remote-texture-example.c
3437 * examples/Makefile.am
3438 Added example file for remote texture usage
3440 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3442 * configure.ac: post release version bump.
3443 * debian/changelog: version bump.
3445 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3450 * configure.ac: Bump version.
3451 * debian/changelog: Updates.
3453 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3455 * src/hildon-date-selector.c (hildon_date_selector_init)
3456 (hildon_date_selector_constructor): Don't connect to the "changed"
3457 signal until the selector is completely constructed.
3459 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3461 * src/hildon-touch-selector.c: (_create_new_column),
3462 (hildon_touch_selector_append_column),
3463 (hildon_touch_selector_set_column_selection_mode),
3464 (hildon_touch_selector_set_active),
3465 (hildon_touch_selector_select_iter):
3466 Emit the HildonTouchSelector::changed signal every time selection
3467 is changed in any of the methods above. This behavior was already
3468 documented but not fully functional.
3470 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3471 selection is programmatically changed)
3473 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3475 * doc/hildon-sections.txt: Remove obsolete icon
3476 sizes from here as well.
3478 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3480 * examples/hildon-stackable-window-example.c (add_window): Remove
3483 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-app-menu.c
3486 (hildon_app_menu_show): Check whether the parent window of a menu
3487 is topmost before popping it up.
3489 Fixes: NB#100468 (Application menu window is launched even when a
3490 new secondary-window/dialog is pending to be shown/realized.)
3492 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3494 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3497 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3499 Patch by Mox Soini (ext-mox.soini@nokia.com)
3501 * src/hildon-banner.c: (hildon_banner_show_animation):
3502 use stylus size instead of obsolete note size.
3503 * src/hildon-defines.h: Update icon sizes.
3505 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3507 * src/hildon-touch-selector-entry.c:
3508 (hildon_touch_selector_entry_init): Disable unsupported
3510 (hildon_touch_selector_entry_get_text_column): Emit a warning
3511 if an unsupported input modes is used and explicitile state
3512 these modes in the documentation.
3514 Fixes: NB#99802 (Hildon touch selector entry not working properly
3515 for some of the input modes)
3517 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3519 * src/hildon-pannable-area.c,
3520 (hildon_pannable_area_init): Added the changed signal handlers of
3523 Fixes: NB#100320 (HildonPannableArea does not listen to
3524 GtkAdjustment "change" signals)
3526 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3528 * doc/hildon-sections.txt
3529 * src/hildon-window-private.h
3530 * src/hildon-window.h
3531 * src/hildon-window.c (hildon_window_init)
3532 (hildon_window_realize, hildon_window_unrealize)
3533 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3534 (hildon_window_size_request, hildon_window_size_allocate)
3535 (hildon_window_forall, hildon_window_show_all)
3536 (hildon_window_destroy, +paint_edit_toolbar)
3537 (+hildon_window_set_edit_toolbar):
3538 New hildon_window_set_edit_toolbar() method, to add a
3539 HildonEditToolbar to a window without having to pack it manually.
3541 Reorganize hildon_window_size_allocate()
3543 * src/hildon-edit-toolbar.c: Update documentation.
3545 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3546 example to use the new API.
3548 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3550 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3552 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3553 Remove from stack before calling parent's hide.
3555 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3557 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3558 window is removed from the middle of the stack, update the
3559 transiency of the previous one.
3561 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3564 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3566 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3567 block/unblock the signal handler if it's not actually being used.
3568 Fixes some critical warnings.
3570 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3572 Based on a patch by Iván Gómez (igomez@igalia.com)
3574 * src/hildon-banner.c
3578 * src/hildon-pannable-area.c
3579 * src/hildon-picker-dialog.c
3580 * src/hildon-wizard-dialog.h
3581 * src/hildon-wizard-dialog.c: Documentation updates.
3583 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3584 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3586 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: post release version bump.
3589 * debian/changelog: version bump.
3591 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3596 * configure.ac: Bump version.
3597 * debian/changelog: Updates.
3599 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3602 a stock icon nor change the relief of the back arrow.
3604 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3605 graphics from theme)
3607 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3609 * src/hildon-button.c (hildon_button_set_alignment): Use
3610 priv->alignment if the button has no child yet.
3612 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3614 * src/hildon-button.c: (hildon_button_init): Set the
3615 button style during initialization to give it the proper
3618 Fixes: NB#99713 (HildonButton value label color is wrong)
3620 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-touch-selector.c: Document
3623 hildon_touch_selector_center_on_selected()
3625 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3628 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3629 all menu items, but not the menu itself.
3630 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3631 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3632 items after adding them to the menu so keyboard accelerators work.
3633 (hildon_app_menu_show): Don't show the menu if it contains items
3634 but none of them are visible.
3636 * examples/hildon-app-menu-example.c (create_menu): Use
3637 gtk_widget_show_all() to show all menu items.
3639 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3641 * src/hildon-picker-dialog.c:
3642 (-_update_title_on_selector_changed_cb),
3643 (-_dialog_update_title): Removed.
3644 (_select_on_selector_changed_cb), (_on_dialog_response),
3645 (on_selector_columns_changed): Do not update the dialog title.
3646 (setup_interaction_mode): Do not connect to
3647 HildonTouchSelector::changed signal if there's a "done" button, as
3648 the dialog title doesn't need to be updated.
3650 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3653 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3655 Patch by Kristian Rietveld (kris@imendio.com)
3657 * src/hildon-touch-selector.c: (_create_new_column): Use new
3658 GtkTreeView::hildon-row-tapped signal to react to user interactions
3659 instead of ::changed.
3661 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3662 with some dynamic tree model)
3664 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3667 (+screen_size_changed, +label_size_request)
3668 (hildon_note_class_init): Make the Hildon information note have a
3669 minimum height, and make its text hvae a maximum width.
3671 Fixes: NB#98614 (Hildon information note (background) should have
3672 minimum height and maximum text width)
3674 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-banner.h
3677 * src/hildon-banner.c (hildon_banner_show_information)
3678 (hildon_banner_show_informationf)
3679 (hildon_banner_show_information_with_markup): Update documentation
3680 to reflect that the icon_name parameter is not used anymore.
3681 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3682 Remove all code from these functions and mark them as deprecated.
3683 (hildon_banner_show_progress): Mark as deprecated.
3685 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3687 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3689 * src/hildon-pannable-area.c,
3690 (hildon_pannable_area_class_init),
3691 (tranparency_color),
3692 (hildon_pannable_draw_vscroll),
3693 (hildon_pannable_draw_hscroll),
3694 (hildon_pannable_area_expose_event): Added a new way to render the
3695 scrollbars of the pannable area avoiding using cairo at all. This
3696 way we improve the performance of the pannable area rendering. The
3697 cairo rendering procedure is still in the code, we can control
3698 which one to use changing the value of the define
3699 USE_CAIRO_SCROLLBARS.
3701 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3703 * configure.ac: post release version bump.
3704 * debian/changelog: version bump.
3706 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3711 * configure.ac: Bump version.
3712 * debian/changelog: Updates.
3714 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3717 banners instead of destroying them when they receive a button
3720 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3722 Reverted commit 34028, it was causing regressions, probably the
3723 topmost condition is not correct, we have to check it in more
3724 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3725 propagation of button press events)
3727 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3729 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3730 that the selection is not empty before attempting to retrieve the
3731 current ampm selection.
3733 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-picker-button.c:
3736 (hildon_picker_button_on_dialog_response): Directly update the
3737 button contents when required instead of calling _selection_changed.
3739 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3741 * src/hildon-program.c (hildon_program_update_top_most): Update
3742 'is-topmost' property also when wm_hints is not set.
3744 Fixes: NB#98383 (is-topmost signal is not emitted when task
3745 switcher is clicked.)
3747 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3749 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3753 * src/hildon-animation-actor.c,
3754 * src/hildon-animation-actor.h: Added the animation actor class,
3755 this widget represents an animation actor for WM-assisted
3756 animation effects in the Hildon framework.
3758 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3760 * src/hildon-window-stack-private.h
3761 * src/hildon-window-stack.c
3762 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3763 Avoid calling gtk_widget_show() again indirectly from
3764 hildon_stackable_window_show()
3766 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3768 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3771 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3773 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3774 (hildon_time_selector_init): Move the construction of the hours and
3775 ampm columns to the constructor to preserve the order the columns
3778 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3780 * src/hildon-picker-dialog.c:
3781 (hildon_picker_dialog_class_init): Connect a realize method.
3782 (+hildon_picker_dialog_realize): Setup the interaction mode here
3784 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3785 yet, do it during the realize instead.
3786 (_on_dialog_response):
3787 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3788 if the widget is not realized, to avoid the dialog response before it
3791 Avoid premature responses in the HildonPickerDialog that can cause it
3792 to be hidden before it's even shown.
3794 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3796 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3797 (on_selector_columns_changed), (requires_done_button),
3798 (+prepare_action_area), (setup_interaction_mode),
3799 (_hildon_picker_dialog_set_selector):
3801 Split the interaction mode setup into preparation of the
3802 action area (prepare_action_area()) and the connection of
3803 the signals in setup_interaction_mode() and update the code to
3806 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3808 * src/hildon-pannable-area.c,
3809 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3810 per second to 15, we will check if this is ok regarding
3813 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3815 * src/hildon-pannable-area.c,
3816 (hildon_pannable_axis_scroll): Avoid resize if we already have
3817 reached overshoot_max.
3819 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3821 * src/hildon-pannable-area.c,
3822 (hildon_pannable_area_init),
3823 (hildon_pannable_area_realize),
3824 (hildon_pannable_area_size_allocate),
3825 (hildon_pannable_area_map),
3826 (hildon_pannable_area_unmap),
3827 (hildon_pannable_draw_vscroll),
3828 (hildon_pannable_draw_hscroll),
3829 (hildon_pannable_area_expose_event),
3830 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3831 pannable are to avoid the expose events go to the window and
3832 redraw the window. We save this way that part of the stack and the
3833 paint_boxes. We had to change the positions of the elements when
3836 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3839 * src/hildon-color-chooser-dialog.c:
3840 (hildon_color_chooser_dialog_init):
3841 * src/hildon-font-selection-dialog.c:
3842 (hildon_font_selection_dialog_init),
3843 (hildon_font_selection_dialog_show_preview):
3844 * src/hildon-get-password-dialog.c:
3845 * src/hildon-login-dialog.c:
3846 * src/hildon-set-password-dialog.c:
3847 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3848 * src/hildon-time-picker.c: (hildon_time_picker_init):
3850 Remove obsolete logical string IDs and update to the appropriate ones.
3852 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3854 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3856 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3857 that happens if the window hasn't been realized yet.
3859 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3860 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3862 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3865 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3868 Fixes: NB#98537 (Device hangs in account settings dialog)
3870 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3872 * configure.ac: post release version bump.
3873 * debian/changelog: version bump
3875 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3880 * configure.ac: Bump version.
3881 * debian/changelog: Updates.
3883 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3885 Added a new function to the HildonTimeButton widget that allows to
3886 change the step of the minutes in the selector associated with the
3887 button: hildon_time_button_new_step
3889 * src/hildon-time-button.c,
3890 (hildon_time_button_init),
3891 (hildon_time_button_new),
3892 (hildon_time_button_new_step):
3893 * src/hildon-time-button.h: Added the new function and refactored
3895 * examples/hildon-time-button-example.c,
3896 (main): We have replaced the function without parameters with the
3897 function with the steps set to 5
3899 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3901 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3903 * src/hildon-time-selector.c,
3904 (hildon_time_selector_class_init),
3905 (hildon_time_selector_constructor),
3906 (hildon_time_selector_get_property),
3907 (hildon_time_selector_set_property),
3908 (_create_minutes_model),
3909 (hildon_time_selector_new_step),
3910 (hildon_time_selector_set_time),
3911 * src/hildon-time-selector.h: Added a new property to the
3912 HildonTimeSelector (minutes-step), we use that property to control
3913 the steps between the minutes in the list of the selector. We have
3914 added a new function to the API to create a widget changing the
3915 step: hildon_time_selector_new_step.
3917 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3919 * src/hildon-time-selector.c,
3920 (hildon_time_selector_class_init),
3921 (hildon_time_selector_constructor),
3922 (hildon_time_selector_init): Overrided the construct function when
3923 creating the time selector object. We have moved the minutes model
3924 handling code from the init to the new construction function:
3925 hildon_time_selector_constructor.
3927 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3929 * examples/hildon-date-button-example.c: (main): Use the new
3930 hildon_date_button_new_with_year_range() method in the example.
3931 * src/hildon-date-button.c:
3932 (+hildon_date_button_new_with_year_range): New public method
3933 to conveniently create a HildonDateButton with a custom year range
3934 in its HildonDateSelector.
3935 * src/hildon-date-button.h: Add the new public method definition.
3937 Fixes: NB#97908 (Not possible to change the year range in
3938 HildonDateSelector/HildonDateButton)
3940 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3942 * src/hildon-date-selector.c:
3943 (+hildon_date_selector_set_property),
3944 (+hildon_date_selector_get_property),
3945 (hildon_date_selector_class_init): Install new properties "min-year"
3946 and "max-year" to define boundaries for the year column.
3947 (_create_year_model): Use the boundary properties to populate the model.
3948 (+hildon_date_selector_new_with_year_range): New public method to
3949 create a HildonDateSelector with a user defined year range.
3950 (hildon_date_selector_select_current_date): Use the new boundaries to
3951 calculate the iterator of current year.
3952 * src/hildon-date-selector.h: Add the new public method definition.
3954 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3956 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3957 Install a constructor method.
3958 (+hildon_date_selector_construct_ui): construct the widget.
3959 (+hildon_date_selector_constructor): new constructor.
3960 (+hildon_date_selector_init): move out widget construction code to
3961 the new constructor.
3963 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3966 that there's actually a month or year selected before obtaining them.
3967 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3968 of the HildonTouchSelector::changed signal, as it was emitted on every
3969 single item selection.
3971 Fix some warnings and possible crashers due to the selection restoring.
3973 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3975 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3976 the signal handlers only after creating the dialog instead of on every
3979 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3981 * src/hildon-button.c (hildon_button_init)
3982 * src/hildon-check-button.c (hildon_check_button_init)
3983 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3984 focus when clicked by default.
3986 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3988 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3991 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3993 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3994 Alejandro G. Castro (alex@igalia.com)
3996 * src/hildon-picker-dialog.c:
3997 (hildon_picker_dialog_class_init): install new "center-on-show"
3999 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4000 (hildon_picker_dialog_set_property): add setter code for the new
4002 (hildon_picker_dialog_get_property): add getter code for the new
4004 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4005 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4008 Fixes: NB#92849 (Selected item is not always visible when
4009 HildonTouchSelector is shown)
4011 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4013 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4014 Alejandro G. Castro (alex@igalia.com)
4016 * src/hildon-touch-selector.c:
4017 (_create_new_column): Do not connect to the "realize" signal of the
4019 (hildon_touch_selector_append_column): center on the selected items
4020 when a new column is appended.
4021 (hildon_touch_selector_select_iter): Factor out the code to select a
4022 column to hildon_touch_selector_scroll_to().
4023 (+search_nearest_element): Method to retrieve the nearest selected
4024 element to the visible area of the pannable area in a column.
4025 (+on_realize_cb): scroll to the initially selected item.
4026 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4027 the pannable area is realized, otherwise delay this until it is.
4028 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4029 selected items of a given column.
4030 (+hildon_touch_selector_center_on_selected): Public method to center
4031 all columns on the nearest selected item.
4032 * src/hildon-touch-selector.h: Add definition for
4033 hildon_touch_selector_center_on_selected().
4035 Implement public API to ensure visibility of all selected items in
4036 a HildonTouchSelector.
4038 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4040 Fixed a problem in the fading when calling the scroll_to API, and
4041 improve scrollbar fading handling.
4043 * src/hildon-pannable-area.c,
4044 (hildon_pannable_area_grab_notify): avoid the timeout when the
4046 (hildon_pannable_area_button_press_cb),
4047 (hildon_pannable_area_motion_notify_cb): Code style changes.
4048 (hildon_pannable_area_button_release_cb): Review the conditions
4049 when releasing the mouse button to avoid unrequired fading
4051 (hildon_pannable_area_scroll_to): Do not calculate and set the
4052 velocity if the scroll is not required.
4054 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4056 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4057 Don't check whether the new selector is NULL: it cannot be.
4058 Hold a reference to the selector while doing the replacement.
4060 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4063 unnecessary size_request in a removed widget.
4065 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4068 an unnecessary reference tracking that was leaking.
4070 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4072 Added delayed motion notify event handling, this way we can
4073 discard redrawing if more than 25 events arrive per second.
4075 * src/hildon-pannable-area.c,
4076 (hildon_pannable_area_init): Initialized the new private atributes
4077 controlling this timeout
4078 (hildon_pannable_area_dispose): Remove the timeout that controls
4079 the motion notify events.
4080 (hildon_pannable_area_scroll): Added a condition to control the
4081 use of the acceleration.
4082 (hildon_pannable_area_motion_event_scroll_timeout),
4083 (hildon_pannable_area_motion_event_scroll): Added this two
4084 functions, they handle the motion notify events inside the
4086 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4087 to the scroll method with the new function.
4088 (hildon_pannable_area_button_release_cb): We have to remove the
4089 timeout handler and move to the last position if the last motion
4090 events were not handled.
4092 Fixes: NB#97028 (Pannable area updates on every motion event)
4094 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4096 * src/hildon-pannable-area.c,
4097 (hildon_pannable_area_get_topmost): Added a new parameter to
4098 filter the the windows that do not include those events. Added
4099 also a condition when finding the window to filter windows that do
4100 not ask for those events.
4101 (hildon_pannable_area_button_press_cb),
4102 (hildon_pannable_area_button_release_cb),
4103 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4104 topmost function, we have added the new parameter.
4106 Fixes: NB#97458 (Pannable area prevents propagation of button
4109 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4111 * src/hildon-pannable-area.c,
4112 (hildon_pannable_area_initial_effect): Added controls before
4113 launching the timeout and the idle functions.
4114 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4115 of the method, in some situations it can return with TRUE and 0 in
4117 (hildon_pannable_area_button_press_cb): We do not need to set
4118 DELAY for fading out here.
4120 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4122 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4125 post-cleaning if the selection is not NULL.
4127 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4129 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4130 all items before restoring the selection.
4132 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4134 * src/hildon-touch-selector.c:
4135 (+hildon_touch_selector_unselect_all):
4136 * src/hildon-touch-selector.h: New API to unselect all items in a
4137 column of the touch selector.
4139 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4141 * src/hildon-pannable-area.c,
4142 (hildon_pannable_area_redraw): Added a call to the refresh
4143 function inside the redraw because apparently in some cases the
4144 change in the adjustment does not imply a size allocate.
4146 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4147 despite the view not being scrollable)
4149 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4152 leak. Check for NULL before attempting to set the window title.
4154 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4156 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4157 whether to show or not the 'Done' button each time the dialog is
4158 shown, as it depends on the HildonTouchSelector selection mode.
4160 Fixes: NB#96226 (In multiple selection mode Done button is shown
4161 sometimes in listpicker)
4163 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4166 for the number of columns in the HildonTouchSelector more than once.
4168 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4170 * src/hildon-touch-selector.c: Minor documentation fixes.
4172 * src/hildon-picker-dialog.c (+_dialog_update_title)
4173 (_select_on_selector_changed_cb)
4174 (_update_title_on_selector_changed_cb)
4175 (on_selector_columns_changed): Update dialog title when there's no
4176 'Done' button and also when the number of columns in the selector
4180 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4181 (+_selection_changed, hildon_picker_button_on_dialog_response)
4182 (hildon_picker_button_selector_selection_changed)
4183 (+hildon_picker_button_selector_columns_changed)
4184 (hildon_picker_button_set_selector): Update button value and emit
4185 'value-changed' when the number of columns in the selector
4189 Fixes: NB#96225 (Dialog titles are not shown according to the
4190 values selected in the list picker)
4192 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4195 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4196 New "arrow-width" and "arrow-height" style properties to set the
4197 size of the arrow button.
4198 Set name of arrow button ("hildon-edit-toolbar-arrow").
4200 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4201 graphics from theme)
4203 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4205 * src/hildon-picker-button.c:
4206 (hildon_picker_button_selector_selection_changed): Use
4207 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4208 the dialog is present.
4210 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4211 the selection is accepted in the dialog)
4213 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4215 * src/hildon-color-chooser.h
4216 * src/hildon-color-chooser-dialog.h:
4217 Added G_BEGIN_DECLS and G_END_DECLS
4219 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4221 (_clean_current_selection): plug a leak in the list.
4223 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-picker-dialog.c:
4226 (+free_path_list): Method to free a GList of GtkTreePaths.
4227 (_clean_current_selection), (_save_current_selection),
4228 (_restore_current_selection): Save the current selection in
4229 as a list of lists, to support multiple selection properly.
4231 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4233 patch by Claudio Saavedra (csaavedra@igalia.com)
4235 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4236 Store the press position.
4237 (+hildon_text_view_button_release_event): If the release position is
4238 close enough to the press position, move the cursor here. Otherwise,
4240 (hildon_text_view_class_init): Override GtkTextView press, release, and
4241 motion event handlers, disabling this way text selection through
4242 pointer interaction, and allowing the container widget to handle the
4245 Fixes: NB#95828 (HildonTextView functionality)
4247 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4249 Based on a patch by Iván Gómez (igomez@igalia.com)
4251 * src/hildon-button.[ch]
4252 * src/hildon-calendar.c
4253 * src/hildon-check-button.c
4254 * src/hildon-date-editor.c
4255 * src/hildon-date-selector.c
4256 * src/hildon-picker-button.c
4257 * src/hildon-time-editor.c
4258 * src/hildon-time-selector.c
4259 * src/hildon-touch-selector.[ch]:
4260 Documentation updates
4262 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4264 * src/hildon-pannable-area.c,
4265 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4266 threshold, it was required due to X events handling.
4268 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4270 * src/hildon-pannable-area.c,
4271 (hildon_pannable_area_grab_notify),
4272 (hildon_pannable_area_initial_effect),
4273 (hildon_pannable_area_button_press_cb),
4274 (hildon_pannable_area_button_release_cb),
4275 (hildon_pannable_area_scroll_cb),
4276 (hildon_pannable_area_scroll_to): Review the timeout management of
4277 the scrollbar, the frecuency was incorrectly set.
4279 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4281 * src/hildon-picker-button.c:
4282 (+hildon_picker_button_on_dialog_response),
4283 (hildon_picker_button_clicked): Present the dialog instead of
4284 running it with gtk_dialog_run().
4286 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4289 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4291 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4292 (hildon_app_menu_finalize): When a window is hidden it doesn't
4293 emit notify::is-topmost, so make sure than the menu also
4294 disappears in that case.
4295 (parent_window_topmost_notify): Renamed from parent_window_hidden
4297 Fixes: NB#94460 (stackable window's menu is not closed when its
4300 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4302 * src/hildon-touch-selector-entry.c:
4303 (+hildon_touch_selector_entry_set_input_mode),
4304 (+hildon_touch_selector_entry_get_input_mode):
4305 * src/hildon-touch-selector-entry.h: New methods to access the input
4306 mode in the selector's entry.
4308 Fixes: NB#93410 (API required for setting IM mode in
4309 HildonTouchSelectorEntry)
4311 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4313 * configure.ac: post release version bump.
4314 * debian/changelog: version bump
4316 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4321 * configure.ac: Bump version.
4322 * debian/changelog: Updates.
4324 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-touch-selector.c:
4327 (_hildon_touch_selector_has_multiple_selection): No need
4328 to initialize the variables here.
4330 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4332 * src/hildon-note-private.h
4333 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4334 (hildon_note_finalize, hildon_note_rebuild): Close information
4335 notes when they receive a button press.
4337 Fixes: NB#89890 (Information notes does not get disappeared after
4340 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4342 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4343 mark from the wizard title, as it's not really necessary. Also,
4344 do not display the page title if not set.
4346 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4348 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4349 (parent_window_hidden): Use the window's "is-topmost" property to
4350 detect when to hide the menu.
4352 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4355 (hildon_app_menu_finalize): If the parent window of the menu is
4356 hidden, hide the menu too.
4358 Fixes: NB#94460 (stackable window's menu is not closed when its
4361 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4364 * debian/libhildon1-examples.install
4366 * examples/Makefile.am:
4367 Use dh_install to install all examples.
4368 Use DEB_SRCDIR instead of defining SOURCE_DIR
4370 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4372 * configure.ac: post release version bump.
4373 * debian/changelog: version bump
4375 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4380 * configure.ac: bump version
4381 * debian/changelog: updates
4382 * debian/control: bump gtk+ dependency
4384 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4386 patch by Christian Dywan (christian@imendio.com)
4388 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4389 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4391 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4393 * src/hildon-check-button.c (hildon_check_button_init)
4394 (hildon_check_button_class_init, hildon_check_button_style_set)
4395 (hildon_check_button_apply_style):
4396 New "checkbox-size" style property.
4398 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4399 larger / configurable size)
4401 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4403 * configure.ac: post release version bump.
4404 * debian/changelog: version bump
4406 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4411 * configure.ac: bump version
4412 * debian/changelog: updates
4414 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4416 * doc/hildon-sections.txt
4417 * src/hildon-pannable-area.c
4418 * src/hildon-program.c
4419 * src/hildon-time-editor.c
4420 * src/hildon-touch-selector-entry.c:
4422 More documentation updates.
4424 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4426 * doc/hildon-sections.txt
4427 * src/hildon-caption.c
4428 * src/hildon-code-dialog.c
4429 * src/hildon-color-button.c
4430 * src/hildon-controlbar.c
4431 * src/hildon-date-editor.c
4432 * src/hildon-date-selector.c
4433 * src/hildon-edit-toolbar.c
4434 * src/hildon-find-toolbar.c
4435 * src/hildon-font-selection-dialog.c
4437 * src/hildon-program.c
4438 * src/hildon-range-editor.c
4439 * src/hildon-seekbar.c
4440 * src/hildon-time-editor.c
4441 * src/hildon-time-selector.c
4442 * src/hildon-volumebar-range.c
4443 * src/hildon-volumebar.c
4444 * src/hildon-vvolumebar.c
4445 * src/hildon-weekday-picker.c
4446 * src/hildon-window.c
4447 * src/hildon-wizard-dialog.c:
4449 Lots of documentation fixes.
4451 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4453 Patch contributed by Iván Gómez (igomez@igalia.com)
4455 * src/hildon-check-button.c:
4456 * src/hildon-date-button.c:
4457 * src/hildon-date-selector.c:
4458 * src/hildon-dialog.c:
4459 * src/hildon-edit-toolbar.c:
4460 * src/hildon-entry.c:
4461 * src/hildon-picker-button.c:
4462 * src/hildon-program.c:
4463 * src/hildon-text-view.c:
4464 * src/hildon-time-button.c:
4465 * src/hildon-touch-selector-entry.c:
4466 * src/hildon-window-stack.c:
4468 Add more "since" tags to the new API.
4470 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4472 * doc/hildon-sections.txt: Add below method.
4473 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4474 version for the hildonized scale.
4475 * src/hildon-gtk.h: Add the definition.
4477 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4479 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4481 * doc/hildon-sections.txt: Add missing entries for new methods.
4483 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4485 Added API to pannable are in order to get its adjustments. We
4486 added two properties to manage the values we had in the private
4489 * src/hildon-pannable-area.c:
4490 (hildon_pannable_area_class_init): Added hadjustment and
4491 vadjustment properties in order to expose horizontal and vertical
4493 (hildon_pannable_area_get_property),
4494 (hildon_pannable_area_set_property): Added code to handle the new
4496 (hildon_pannable_area_get_hadjustment),
4497 (hildon_pannable_area_get_vadjustment): API functions to get the
4499 * src/hildon-pannable-area.h:
4500 (hildon_pannable_area_get_hadjustment),
4501 (hildon_pannable_area_get_vadjustment): API functions to get the
4504 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4506 Fixed some leaks, after valgrinding.
4508 * src/hildon-touch-selector.c:
4509 (_default_print_func): Fixed a leak.
4510 (hildon_touch_selector_append_column): Fixed a leak.
4511 * src/hildon-date-button.c:
4512 (hildon_date_button_init): Fixed a leak.
4513 * src/hildon-date-selector.c
4514 (hildon_date_selector_finalize): Fixed a leak.
4516 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4518 Based on a patch by Christian Dywan (christian@imendio.com)
4520 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4522 * src/hildon-gtk.h: Add definition.
4524 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4526 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4528 * src/hildon-picker-button.c: (hildon_picker_button_init),
4529 (hildon_picker_button_new): Set the HildonButton::style property
4530 in the init method, to propagate the value to the derived classes.
4532 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4534 * src/hildon-button.c: (hildon_button_class_init): Do not make
4535 the "style" property a construct property.
4537 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4539 * src/hildon-wizard-dialog.h
4540 * src/hildon-wizard-dialog.c
4541 (hildon_wizard_dialog_set_forward_page_func)
4542 * src/hildon-pannable-area.h
4543 * src/hildon-pannable-area.c
4544 (hildon_pannable_area_set_size_request_policy):
4545 Documentation fixes.
4547 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4549 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4551 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4553 * doc/hildon-sections.txt: Added sections file.
4555 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/*.[ch]: Updates.
4560 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4562 * examples/hildon-progress-indicator-example.c: new file
4563 * examples/Makefile.am: include the new example program
4565 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4567 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4569 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4571 * configure.ac: post release version bump
4572 * debian/changelog: version bump
4574 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: bump version
4580 * debian/changelog: updates
4581 * debian/control: bump gtk+ dependency
4583 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4585 * src/hildon-dialog.c: Mark as deprecated.
4586 * src/hildon-dialog.h: Mark as deprecated.
4587 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4588 from HildonDialog and still work, even if
4589 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4590 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4592 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4593 maemo changes) instead)
4595 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4597 * src/hildon-pannable_area.h:
4598 * src/hildon-pannable_area.c:
4599 (hildon_pannable_area_class_init),
4600 (hildon_pannable_area_set_property),
4601 (hildon_pannable_area_get_property),
4602 (hildon_pannable_area_size_request),
4603 (hildon_pannable_area_get_size_request_policy),
4604 (hildon_pannable_area_set_size_request_policy): Added new API
4605 allowing applications to control the request policy. Now they can
4606 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4607 children allocation (HILDON_MOVEMENT_CHILDREN).
4609 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4613 (hildon_gtk_tree_view_set_ui_mode)
4614 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4615 mode of treeviews and iconviews.
4617 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4619 * src/hildon-touch-selector-entry.c:
4620 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4621 of a GtkEntry to get proper theming.
4623 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4624 widget, not GtkEntry)
4626 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4629 no HildonWizardDialogPageFunc.
4631 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4633 Patch contributed by Iván Gómez (igomez@igalia.com)
4635 * src/hildon-app-menu.c:
4636 * src/hildon-button.c:
4637 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4638 * src/hildon-stackable-window.c:
4639 * src/hildon-time-selector.c:
4640 * src/hildon-touch-selector.c:
4641 * src/hildon-window.c:
4643 Add more "since" tags to the new API in hildon 2.2.
4645 2008-12-05 Tim Janik <timj@imendio.com>
4647 Patch contributed by Christian Dywan (christian@imendio.com)
4649 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4650 HildonSizeType, which are supplied by Gtk+ now.
4652 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4654 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4655 (with maemo changes) instead)
4657 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4659 Patch contributed by Iván Gómez (igomez@igalia.com)
4661 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4664 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4666 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4667 (some_page_func), (main): Update the example to use a
4668 HildonWizardDialogPageFunc function.
4670 * src/hildon-wizard-dialog-private.h: Add private data for
4671 the HildonWizardDialogPageFunc function usage.
4673 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4674 (destroy), (hildon_wizard_dialog_init), (response),
4675 (hildon_wizard_dialog_set_forward_page_func):
4676 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4677 that applications can use to stop a HildonWizardDialog to jump to
4680 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4683 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4685 * src/hildon-program.h
4686 * src/hildon-program-private.h
4687 * src/hildon-program.c (hildon_program_init)
4688 (hildon_program_set_common_app_menu)
4689 (hildon_program_get_common_app_menu):
4690 New API for setting a common HildonAppMenu for all
4691 HildonStackableWindows registered with the HildonProgram.
4693 * src/hildon-stackable-window.c
4694 (hildon_stackable_window_toggle_menu):
4695 Use the common HildonAppMenu if a window doesn't have a specific
4698 * src/hildon-app-menu-private.h
4699 * src/hildon-app-menu.c
4700 (hildon_app_menu_get_parent_window):
4701 Function to obtain the window a HildonAppMenu is attached to.
4702 (hildon_app_menu_set_parent_window):
4703 Hide the menu if the parent window is set to NULL.
4705 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4708 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4709 search widget to popup.
4711 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4713 * configure.ac: post release version bump
4714 * debian/changelog: version bump
4716 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4721 * configure.ac: bump version
4722 * debian/changelog: updates
4724 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4726 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4728 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4729 (hildon_window_stack_window_realized)
4730 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4731 Set the leader GdkWindow when a window is stacked and realized,
4732 unset it when it's unstacked.
4733 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4735 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4737 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4739 * src/hildon-stackable-window.h
4740 * src/hildon-window-stack.h:
4741 Protect definition of HildonWindowStack using the preprocessor.
4743 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4746 Fix warning if all menu items are hidden.
4748 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4750 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4752 * src/hildon-controlbar.c:
4753 * src/hildon-hvolumebar.c:
4754 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4755 Multiple scale size defines updates.
4757 Fixes: NB#94322 (Scale Updates)
4759 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4761 * examples/hildon-app-menu-example.c (create_menu)
4762 Show items after adding them to the menu, as in the future the
4763 menu will no longer call gtk_widget_show() on the added items.
4765 * src/hildon-app-menu.c:
4766 Update example as explained above.
4768 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4770 * src/hildon-app-menu.c
4771 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4772 Make sure that all menu items have finger height.
4774 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4776 * src/hildon-picker-dialog.c:
4777 (_on_dialog_response), (_save_current_selection),
4778 (_restore_current_selection), (_clean_current_selection),
4779 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4780 Defined new functions in order to save the current internal selector
4781 selection previous open the dialog, in case that the use cancel the
4782 interaction, so the widget restores the previous selection.
4784 Fixes: NB#92032 (In calendar application, date values in 'new event'
4787 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4789 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4791 * src/hildon-button.c: Add a reference to the button examples in
4792 hildon-button-example.c
4794 * examples/hildon-button-example.c: Added examples of the most
4795 common button layouts.
4797 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4799 * src/hildon-app-menu.c (hildon_app_menu_show)
4800 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4802 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4804 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-picker-dialog.c:
4807 (hildon_picker_dialog_init): Initialize the signal id for
4808 HildonTouchSelector::columns-changed.
4809 (+on_selector_columns_changed): Set up the interaction mode everytime a
4810 column is added or removed from the HildonTouchSelector.
4811 (_hildon_picker_dialog_set_selector): Connect to
4812 HildonTouchSelector::columns-changed and keep track of it.
4814 Make sure to update the interaction mode of the dialog everytime a
4815 column is added or removed in the HildonTouchSelector.
4817 Fixes: NB#93228 (Done button is not shown always in listpicker)
4819 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4822 a new ::columns-changed signal.
4823 (hildon_touch_selector_append_column): Emit ::columns-changed.
4824 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4826 Add a ::columns-changed signal, emitted when the number of columns in a
4827 HildonTouchSelector changes.
4829 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4832 (_hildon_picker_dialog_set_selector): Factor out the code
4833 to set up the dialog interaction mode.
4835 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4837 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4838 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4839 to signal_changed_id.
4841 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4846 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4848 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4849 Updated the logical ids related to ampm format, as now it is required to
4850 show it correctly localized even on languages with no default
4851 abbreviations for am or pm
4852 (_check_am_pm_format): check correctly the 24h format gconf property
4854 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4856 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4858 * src/hildon-button.c: Documentation updates.
4860 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4863 * src/hildon-caption.c: (hildon_caption_class_init):
4864 * src/hildon-color-button.c: (hildon_color_button_class_init):
4865 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4866 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4867 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4868 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4870 Remove deprecated GTK+ marshalers and replace them with the ones
4871 provided by GLib, for those available, add a marshaler for
4872 BOOLEAN:VOID, which is not available in GLib, and use it.
4874 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4876 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4877 the text from the previous column if there is no
4878 HildonTouchSelectorColumn::text-property set.
4880 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4882 * src/hildon-button.h
4883 * src/hildon-button.c (hildon_button_set_property)
4884 (hildon_button_get_property, hildon_button_class_init)
4885 (hildon_button_set_style, hildon_button_get_style):
4886 New "style" property to change the visual appearance of the
4889 * src/hildon-picker-button.c (hildon_picker_button_new):
4890 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4892 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4893 HildonButton look like PickerButton)
4895 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4897 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4898 column while building the default string.
4900 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4902 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4903 scroll indicator by default.
4905 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4907 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4909 * src/hildon-main.c: Fix the documentation for hildon_init()
4911 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4913 * doc/hildon-docs.sgml
4917 * src/hildon-window-stack-private.h
4918 * src/hildon-window-stack.h
4919 * src/hildon-window-stack.c:
4920 New HildonWindowStack object, that adds support for multiple
4921 stacks of windows per process.
4923 * src/hildon-stackable-window-private.h
4924 * src/hildon-stackable-window.h
4925 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4926 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4927 (hildon_stackable_window_show, hildon_stackable_window_hide)
4928 (hildon_stackable_window_class_init)
4929 (hildon_stackable_window_init):
4930 Use HildonWindowStack for stack management.
4932 * src/hildon-program.c (hildon_program_pop_window_stack)
4933 (hildon_program_peek_window_stack)
4934 (hildon_program_go_to_root_window):
4935 Add a fallback implementation to the deprecated functions using
4938 * examples/hildon-stackable-window-example.c:
4939 Use the new HildonWindowStack API.
4941 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4943 * src/hildon-stackable-window-private.h
4944 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4945 (hildon_stackable_window_hide, hildon_stackable_window_init):
4946 Remove all window stack management.
4948 * src/hildon-program-private.h
4949 * src/hildon-program.h
4950 * src/hildon-program.c (hildon_program_init)
4951 (hildon_program_pop_window_stack)
4952 (hildon_program_peek_window_stack)
4953 (hildon_program_go_to_root_window):
4954 Remove all window stack management and mark functions as
4957 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-app-menu.c (hildon_app_menu_realize):
4960 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4962 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4964 * configure.ac: post release version bump
4965 * debian/changelog: version bump
4967 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4972 * configure.ac: bump version
4973 * debian/changelog: updates
4975 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4977 Based on initial code by Christian Dywan (christian@imendio.com)
4979 * doc/hildon-docs.sgml: Add section for hildon-main.
4980 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4981 * src/Makefile.am: Add new hildon-main.[ch]
4982 * src/hildon-defines.h: Update the icon sizes.
4983 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4984 new library initialization files and register icon sizes.
4985 * src/hildon-main.h: New declarations.
4986 * src/hildon.h: Include hildon-main.h
4988 Add new initialization functions to the library. These methods
4989 will register the hildon specific icon sizes and can be used in the
4990 future for other hildon specific bits.
4992 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4994 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4996 * src/hildon-window.c: (hildon_window_realize),
4997 (hildon_window_notify), (-hildon_window_update_title): Do not set
4998 the application name in the window title.
5000 Fixes: NB#89754 (Applications shouldn't display their names in the
5003 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-note-private.h:
5006 * src/hildon-note.c: (hildon_note_set_property),
5007 (hildon_note_get_property), (hildon_note_class_init),
5008 (hildon_note_init), (hildon_note_finalize),
5009 (hildon_note_new_confirmation_with_icon_name),
5010 (hildon_note_new_information_with_icon_name):
5012 No need to mark as deprecated the actual code. Revert
5013 to avoid missing symbols in widgets using deprecated API.
5015 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5017 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5019 * src/hildon-volumebar.h
5020 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5021 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5023 * src/hildon-helper.h
5024 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5025 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5027 * examples/Makefile.am:
5028 Deprecate hildon-insensitive-example
5030 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5032 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5034 * examples/hildon-pannable-area-buttons-scroll-example.c:
5035 Make all buttons finger height
5037 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5039 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5041 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5042 update the day model only if it is really required, and to avoid the
5043 full-reconstruction aproach. Now it only add or remove the required days.
5045 The purpose of this is avoid superfluous HildonTouchSelector::changed
5048 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5049 with strange parameters)
5051 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5053 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5055 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5056 the WINDOW_TYPE property.
5058 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5060 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5063 Fix dependency to allow parallel compilation with make -jX
5065 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5068 color frame and some minor tweaks to make it more consistent with
5071 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5072 highlighted but not visible)
5074 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5076 * examples/Makefile.am: Fixed typo in the Makefile.am.
5078 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5080 Reviewed the use of MAEMO_GTK define, now we add the define in the
5081 compilation line, and we also add it to the pc file.
5083 * configure.ac: Added MAEMO_GTK define to the compilation command
5084 and removed it from the config.h.
5086 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5087 do not have to take care about this define if the library was
5091 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5093 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5095 * examples/Makefile.am,
5096 * examples/hildon-pannable-area-buttons-scroll-example.c,
5097 * examples/hildon-pannable-area-gesture-signals-example.c,
5098 * examples/hildon-pannable-area-scroll-jump-example.c,
5099 * examples/hildon-pannable-area-tree-view-example.c:
5100 Renamed the pannable area examples, now they have more meaningful
5103 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5105 * src/hildon-touch-selector.c:
5106 (hildon_touch_selector_set_column_selection_mode): Used of
5107 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5108 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5109 to avoid re-seting the same selection mode.
5111 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5112 breaks HildonPickerDialog)
5114 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5116 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5117 conditional in the Makefile.am
5119 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5122 Remove unused methods.
5124 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-button.c (hildon_button_init):
5127 Make button images center-aligned by default
5129 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5132 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5133 activated, we have to think about how to deal with both defines
5134 MAEMO_GTK and MAEMO_CHANGES.
5136 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5138 * examples/hildon-app-menu-example.c (create_menu): Make all
5139 buttons finger size.
5141 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5143 Fixed the compilation without maemo gtk adding ifdefs with
5144 MAEMO_GTK define to the code, we have to check this version more
5147 * examples/Makefile.am: Added control to avoid some examples that
5148 just make sense with maemo gtk.
5151 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5152 hildon modes with the define.
5154 * examples/hildon-edit-toolbar-example.c,
5155 (create_icon_view): Create the icon view without hildon-gtk
5156 helpers if we are not using maemo gtk.
5158 * src/hildon-touch-selector.c,
5159 (_create_new_column): Create the treeview without hildon-gtk
5160 helpers if we are not using maemo gtk.
5162 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5164 * src/hildon-pnnable-area.c,
5165 (hildon_pannable_area_dispose),
5166 (hildon_pannable_area_button_press_cb),
5167 (hildon_pannable_area_child_mapped),
5168 (hildon_pannable_area_add),
5169 (hildon_pannable_area_remove): Added code to control the position
5170 of the event_window when adding and removing children from the
5171 pannable. We have to raise the event window when the child is
5174 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5175 selection mode using custom widget inside pannable)
5177 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5179 * configure.ac: post release version bump
5180 * debian/changelog: version bump
5182 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5187 * configure.ac: bump version
5188 * debian/changelog: updates
5190 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5192 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5193 search mode, in order to avoid lose the focus on the treeview when
5194 a hw key (like enter) is pressed.
5196 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5197 in HildonDateSelector dialog)
5199 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5201 * debian/rules: Added --enable-maintainer-mode
5202 * Makefile.am: Added ACLOCAL_AMFLAGS
5204 This allows to properly regenerate the Makefiles if you modify the
5205 configure.ac or any Makefile.am.
5207 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5209 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5210 properties, not needed at all.
5212 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5214 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5216 * src/hildon-note.c: (hildon_note_set_property),
5217 (hildon_note_get_property), (hildon_note_class_init),
5218 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5219 (hildon_note_new_confirmation_add_buttons): Remove icons.
5220 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5221 (hildon_note_new_information_with_icon_name): Deprecate.
5222 (hildon_note_new_confirmation): Act directly, without calling
5223 the deprecated constructor.
5224 (hildon_note_new_information): Act directly, without calling
5225 the deprecated constructor.
5226 * src/hildon-note.h: Mark deprecate methods as such.
5227 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5228 not run tests on the deprecated methods if built with deprecation
5231 Fixes: NB#91688 (Never show icons in information notes/confirmation
5234 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5236 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5237 (hildon_app_menu_key_press): Remove leftover usage of the
5238 private structure in HildonAppMenu struct.
5239 * src/hildon-app-menu.h: Remove leftover private structure
5240 from the HildonAppMenu struct.
5242 Fixes a crasher when using the HildonAppMenu.
5244 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5246 * src/hildon-picker-dialog.c: Use appropriate logical id
5247 for the default "Done" text.
5249 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5251 * configure.ac: post release version bump
5252 * debian/changelog: version bump
5254 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5256 Modified the way to scroll to the current selection just when the touch
5257 selector is shown on the screen, avoiding a g_idle. Added too a property
5258 to configure this behaviour. See hildon_pannable_area_jump_to_child
5259 documentation for more information.
5261 * src/hildon-touch-selector.c
5262 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5263 Added 'initial-scroll' property
5264 (hildon_touch_selector_set_property): Added
5265 (hildon_touch_selector_map): Removed as not required anymore
5266 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5267 only a concrete column, instead of iterate along all the columns
5269 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5274 * configure.ac: bump version
5275 * debian/changelog: updates
5277 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5279 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5280 compilation time warnings.
5282 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5284 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5285 the default value for HildonPannableArea::mov-mode to
5286 HILDON_PANNABLE_AREA_MODE_VERT.
5288 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5290 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5292 Reverting following commit:
5294 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5296 * src/hildon-app-menu-private.h
5297 * src/hildon-app-menu.[ch]
5298 * src/hildon-button.[ch]
5299 * src/hildon-check-button.[ch]
5300 * src/hildon-entry.[ch]
5301 * src/hildon-pannable-area.[ch]
5302 * src/hildon-text-view.[ch]:
5303 Added private field to the object's structure.
5305 because it causes an ABI breakage. We will need to introduce these
5306 changes later at some point. See NB#91636 for an extensive
5307 explanation and status.
5309 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5311 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5313 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5314 remove special cases that are no longer necessary.
5316 Fixes: NB#91016 (Change toolbar sizes, simplification)
5318 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5321 is shown in the cancel note.
5323 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5325 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5326 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5327 (hildon_seekbar_init): Remove steppers, remove expose event.
5328 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5330 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5332 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5334 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5335 label font to "SmallSystemFont" for vertically arranged buttons.
5337 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5340 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5342 * src/hildon-check-button.c
5343 (hildon_check_button_set_active, hildon_check_button_clicked):
5344 Don't access private parts directly, use getters instead.
5346 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5348 * src/hildon-check-button.c (hildon_check_button_new):
5349 Align the contents of the check button to the left.
5351 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5353 * src/hildon-pannable-area.c,
5354 (hildon_pannable_area_scroll_to),
5355 (hildon_pannable_area_jump_to),
5356 (hildon_pannable_area_scroll_to_child),
5357 (hildon_pannable_area_jump_to_child): Replace the mapped
5358 precondition of these functions with the realized, it is the
5359 correct state of the widget in this case. Changed the
5360 documentation according to this modification.
5362 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5364 Added a new EXTRA_CFLAGS option to add the deprecated define to
5365 the compilation command. This way we can avoid using the define in
5366 the documentation compilation.
5368 * configure.ac: Defined EXTRA_CFLAGS.
5370 * examples/Makefile.am:
5372 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5374 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5376 * src/hildon-picker-dialog.c:
5377 Defined a utility macro with the desired touch selector height
5378 Removed currently unused separator, and title_label variables from
5380 (hildon_picker_dialog_init): Removed code related to the creation
5381 of unused private variables title_label and separator.
5382 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5383 to ensure correct visualization of the touch selector inside the dialog.
5384 * src/hildon-touch-selector.c
5385 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5386 ensure a concrete height of the widget.
5388 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5391 * tests/Makefile.am:
5393 Remove spurious whitespaces.
5395 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5397 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5398 compilation warning after the cancel button removal.
5400 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5402 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5404 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5405 Makefile.am, that way we can choose not to compile some examples
5406 and tests of the deprecated widgets.
5408 * examples/Makefile.am: Divided the sources in deprecated and
5411 * src/Makefile.am: Added undef statement of the deprecated
5412 symbol to the enums file generation process.
5414 * src/hildon-color-chooser-dialog.c
5415 * src/hildon-color-chooser-dialog.h
5416 * src/hildon-color-button.c
5417 * src/hildon-color-button.h
5418 * src/hildon-color-chooser.c
5419 * src/hildon-color-chooser.h
5420 * src/hildon-controlbar.c
5421 * src/hildon-controlbar.h
5422 * src/hildon-date-editor.c
5423 * src/hildon-date-editor.h
5424 * src/hildon-hvolumebar.c
5425 * src/hildon-hvolumebar.h
5426 * src/hildon-private.c
5427 * src/hildon-private.h
5428 * src/hildon-range-editor.c
5429 * src/hildon-range-editor.h
5430 * src/hildon-seekbar.c
5431 * src/hildon-seekbar.h
5432 * src/hildon-time-editor.c
5433 * src/hildon-time-editor.h
5434 * src/hildon-time-picker.c
5435 * src/hildon-time-picker.h
5436 * src/hildon-volumebar.c
5437 * src/hildon-volumebar.h
5438 * src/hildon-vvolumebar.c
5439 * src/hildon-vvolumebar.h
5440 * src/hildon-bread-crumb-trail.h
5441 * src/hildon-bread-crumb-trail.c
5442 * src/hildon-calendar-popup.c
5443 * src/hildon-calendar-popup.h
5444 * src/hildon-weekday-picker.c:
5445 * src/hildon-weekday-picker.h:
5446 * src/hildon-bread-crumb-widget.c:
5447 * src/hildon-bread-crumb-widget.h:
5448 * src/hildon-bread-crumb.c:
5449 * src/hildon-bread-crumb.h:
5450 * src/hildon-calendar.c:
5451 * src/hildon-calendar.h:
5452 * src/hildon-caption.c:
5453 * src/hildon-code-dialog.c:
5454 * src/hildon-code-dialog.h:
5455 * src/hildon-font-selection-dialog.c:
5456 * src/hildon-font-selection-dialog.h:
5457 * src/hildon-get-password-dialog.c:
5458 * src/hildon-get-password-dialog.h:
5459 * src/hildon-login-dialog.c:
5460 * src/hildon-login-dialog.h:
5461 * src/hildon-number-editor.c:
5462 * src/hildon-number-editor.h:
5463 * src/hildon-set-password-dialog.c:
5464 * src/hildon-set-password-dialog.h:
5465 * src/hildon-sort-dialog.c:
5466 * src/hildon-sort-dialog.h: This is the list of deprecated
5469 * src/hildon-touch-selector.c:
5470 * src/hildon-window.c: Added undef statement to avoid compilation
5473 * tests/Makefile.am: Divided the sources in deprecated and
5476 * tests/check_test.c,
5477 (configure_tests): Marked the deprecated code that was adding
5478 suites with deprecated tests.
5480 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5482 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5484 * src/hildon-touch-selector.c: (_default_print_func): Do not
5485 duplicate a string returned by gtk_tree_model_get(), it is already
5488 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5491 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5493 * src/hildon-pannable-area.c
5494 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5495 method, it had problems when adding a widget with viewport the
5496 second time. Now checks if it already has a viewport and uses it.
5498 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5501 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5503 * src/hildon-pannable-area.c,
5504 (hildon_pannable_area_scroll_to),
5505 (hildon_pannable_area_jump_to),
5506 (hildon_pannable_area_scroll_to_child),
5507 (hildon_pannable_area_jump_to_child): Added a precondition to the
5508 scroll and jump to functions: the widget must be mapped before we
5509 can safely call these functions. We have also added documentation
5510 to the functions to explain how to use them in this situation.
5513 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5515 Reviewed the threading handling of the pannable widget, we have
5516 used the gdk_threads_add_timeout function instead of the usual
5517 glib handlers. This avoids some problems with the threads.
5519 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5520 (hildon_pannable_area_initial_effect),
5521 (hildon_pannable_area_scroll_indicator_fade),
5522 (hildon_pannable_area_button_press_cb),
5523 (hildon_pannable_area_timeout),
5524 (hildon_pannable_area_motion_notify_cb),
5525 (hildon_pannable_area_button_release_cb),
5526 (hildon_pannable_area_scroll_cb),
5527 (hildon_pannable_area_scroll_to): Removed the
5528 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5529 gdk_threads_add_timeout.
5531 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5533 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5538 * configure.ac: bump version
5539 * debian/changelog: updates
5541 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5543 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5544 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5545 * src/hildon-color-chooser-dialog.c:
5546 (hildon_color_chooser_dialog_init):
5547 * src/hildon-font-selection-dialog.c:
5548 (hildon_font_selection_dialog_init):
5549 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5551 Remove all cancel/close-like dialogs, as these are not going to be
5554 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5556 * src/hildon-note.c: (hildon_note_rebuild),
5557 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5560 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5562 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5564 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5565 sure all buttons are shown, even the Cancel/Close-like ones.
5567 Fixes: NB#90861 (Custom Confirmation dialogs should be
5568 protected from cancel button removal)
5570 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5572 * debian/control: Change libhildon1-examples dependency from libhildon1
5574 * debian/libhildon1-examples.install
5576 * Makefile.am: Modified the final install directory for the examples on
5577 package libhildon1-examples
5578 * Makefile.static: Update clean target in order to remove all the binary
5581 Changes suggested by Claudio after review new libhildon1-examples package
5583 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5585 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5586 * src/hildon-touch-selector.c: Ditto.
5588 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5590 * debian/control: Added new package libhildon1-examples, in order to pack
5591 the current hildon examples as documentation
5592 * debian/rules: Not to compress .c files, modify some includes on the
5593 examples (as normally are compiled locally, but when installed it will
5594 require to include the installed libhildon1 library), and rename
5596 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5597 install all the example files on the new example package
5598 * examples/Makefile.static: Added static makefile that can be used to
5599 compile the examples, once installed the new example package
5600 * examples: Most of the examples were modified in order to grant that
5601 all use only '#include "hildon.h"', in order to be easy to prepare
5602 it on the example package
5604 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5607 * debian/libhildon1-dev.install
5608 * debian/libhildon1-doc.install:
5609 Move all gtk-doc files to a separate libhildon1-doc package.
5611 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5613 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5615 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5617 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5619 * debian/rules: Fixed a error in order to avoid unnecessary calls
5620 to autogen.sh on package building
5622 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5624 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5626 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5628 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5631 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-picker-button.c
5634 (hildon_picker_button_finalize):
5635 Free priv->done_button_text
5637 * src/hildon-time-button.c
5638 (hildon_time_button_set_time)
5639 * src/hildon-picker-button.c
5640 (hildon_picker_button_clicked)
5641 (hildon_picker_button_selector_selection_changed)
5642 (hildon_picker_button_set_selector)
5643 * src/hildon-date-button.c
5644 (hildon_date_button_set_date):
5645 Free strings returned by hildon_touch_selector_get_current_text()
5647 * src/hildon-button.c (hildon_button_construct_child):
5648 Fix leaks in priv->image and priv->label_box
5650 Fixes: NB#90535 (Memory leak in picker button)
5652 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5654 * src/hildon-button.c: (hildon_button_get_property): Do not access
5655 private elements directly, use getters instead.
5657 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5659 * src/hildon-app-menu-private.h
5660 * src/hildon-app-menu.c
5661 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5662 Store the menu's parent window.
5664 * src/hildon-stackable-window.c
5665 (hildon_stackable_window_toggle_menu)
5666 (hildon_stackable_window_finalize):
5667 Set the menu's parent window when the menu is shown, unset it when
5670 * src/hildon-app-menu.c
5671 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5672 (hildon_app_menu_class_init):
5673 Send unhandled keyboard accelerators to the parent window.
5675 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-stackable-window.c
5678 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5680 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5682 * configure.ac: post release version bump
5684 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5687 * configure.ac: Bump version
5688 * debian/changelog: Updates
5689 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5692 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5694 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5697 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5698 GtkMenu with Hildon style.
5700 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5702 * src/hildon-picker-button.c:
5703 (hildon_picker_button_set_done_button_text): Set the dialog's
5704 done button text here as well.
5706 Fixes: NB#90232 (Picker button does not set the label on done button
5707 for the second time)
5709 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5711 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5714 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5716 * src/hildon-app-menu.c (hildon_app_menu_insert)
5717 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5718 the HildonAppMenu to be activatable using keyboard accelerators
5719 when the menu is not being shown.
5721 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5723 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5725 * src/hildon-stackable-window.c
5726 (hildon_stackable_window_show):
5727 Don't hide old windows automatically when new windows are shown:
5728 this is now a task for the window manager.
5729 (hildon_stackable_window_class_init)
5730 (hildon_stackable_window_hide):
5731 Remove windows from the stack everytime they're hidden.
5732 (hildon_stackable_window_realize):
5733 Don't change the _NET_WM_WINDOW_TYPE property. Use
5734 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5735 it as a stackable window.
5737 * src/hildon-program.c
5738 (hildon_program_pop_window_stack):
5739 Just hide the window to remove it from the stack.
5740 (hildon_program_go_to_root_window):
5741 Don't call gtk_widget_show(), this is now a task for the window
5744 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5746 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5748 * src/hildon-button.c
5749 (hildon_button_construct_child):
5750 Don't pack anything in the button until text or image are
5751 set. This allows adding a custom child after creating the button
5752 with hildon_button_new().
5753 (hildon_button_finalize, hildon_button_class_init)
5754 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5755 alignment and the label box even when they're not packed in the
5758 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5760 * src/hildon-touch-selector.h:
5761 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5762 currently the type definition was using GTK_TYPE_VBOX
5763 * src/hildon-touch-selector.c:
5764 Added some implementation notes in order to clarify that any other widget
5765 added without the column related API will not be included on the
5766 selection logic, and how the widget is freed, as some people ask about
5768 (hildon_touch_selector_remove): Reimplemented in order to free properly
5769 the column related data when you remove the private hbox.
5770 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5771 to get a proper HildonTouchSelectorColumn documentation
5773 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5775 * src/hildon-touch-selector-entry.c:
5776 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5777 text in the GtkEntry and there is no item selected. Fixes a
5780 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5782 * src/hildon-app-menu-private.h
5783 * src/hildon-app-menu.[ch]
5784 * src/hildon-button.[ch]
5785 * src/hildon-check-button.[ch]
5786 * src/hildon-entry.[ch]
5787 * src/hildon-pannable-area.[ch]
5788 * src/hildon-text-view.[ch]:
5789 Added private field to the object's structure.
5791 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5793 * configure.ac: post-release version bump
5795 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5799 * configure.ac: pre-release version bump
5801 * debian/changelog: updates.
5803 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5805 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5806 Disconnect the handler for HildonTouchSelector::changed.
5808 (hildon_picker_button_selector_selection_changed): Update the button
5809 value if the selection change was not triggered by the
5812 (hildon_picker_button_set_selector): connect to
5813 HildonTouchSelector::changed.
5815 Fixes: NB#89650 (Picker button is not updated, when selection in
5816 selector has changed)
5818 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5820 * src/hildon-picker-dialog.c
5821 (hildon_picker_dialog_realize): Removed as not required
5822 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5823 * src/hildon-picker-button.c
5824 (_current_selector_empty): New function, checks if the selector is empty
5825 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5826 if the current selector is empty, in order to avoid to show the dialog
5827 close the dialog in this case (and shows a g_warning).
5829 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5831 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5833 * src/hildon-pannable-area.c,
5834 (hildon_pannable_area_scroll): Added clause to stop movement when
5835 the child of pannable is smaller than one page.
5836 (hildon_pannable_area_scroll_to): Added conditions to avoid
5837 starting the scrolling movement if the child is smaller than one
5838 page, the complete child is in the screen, we do not have to move.
5840 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5842 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5844 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5845 this is managed automatically by the widget when the size of the
5848 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5850 * src/hildon-picker-button.c
5851 (hildon_picker_button_set_done_button_text): Make a copy of the
5852 text, and free the previous value.
5854 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-touch-selector-entry.c:
5857 (hildon_touch_selector_entry_print_func): Return the selected row's
5858 text if the entry is empty.
5860 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5863 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5865 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5867 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5870 * src/hildon-check-button.h
5871 * src/hildon-check-button.c
5872 * examples/hildon-check-button-example.c:
5873 HildonCheckButton is now a new widget. 'toggled' signal added.
5875 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5877 * src/hildon-program-private.h
5878 * src/hildon-program.c (hildon_program_init)
5879 (hildon_program_finalize): Removed unused variables group_leader
5880 and name from HildonProgramPrivate.
5882 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5884 * src/hildon-check-button.c (hildon_check_button_set_active)
5885 (hildon_check_button_get_active, hildon_check_button_new): Use
5886 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5888 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5890 * src/hildon-touch-selector.h
5891 (hildon_touch_selector_set_column_attributes): added deprecation
5892 guard HILDON_DISABLE_DEPRECATED
5893 * src/hildon-time-selector.c
5894 (hildon_time_selector_set_time)
5895 (hildon_time_selector_get_time): Fixed a typo on documentation
5896 * src/hildon-touch-selector.c: update HildonTouchSelector and
5897 HildonTouchSelectorColumn documentation
5898 * src/hildon-touch-selector-entry.c: update "text-column" property
5900 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5901 to be added to the general documentation.
5903 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5905 * examples/hildon-pannable-area-example-4.c,
5907 * examples/hildon-pannable-area-example.c,
5908 (main): Modified the code in order to use the container add, with
5909 viewport treeviews could have problems if they are really big.
5911 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5913 * src/hildon-weekday-picker.c,
5914 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5915 the agreement regarding deprecation in the library.
5917 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5919 * examples/hildon-picker-button-multicolumn-example.c:
5920 (main): Use custom "done" button text.
5922 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5923 (hildon_picker_button_set_property),
5924 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5925 (hildon_picker_button_init),
5926 (+hildon_picker_button_get_done_button_text),
5927 (+hildon_picker_button_set_done_button_text): New methods to customize
5928 the "done" button label in the launched HildonPickerDialog. Also,
5931 * src/hildon-picker-button.h: add the public API.
5933 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5935 * src/hildon-date-selector.h:
5936 * src/hildon-picker-dialog.h:
5937 * src/hildon-time-selector.h:
5938 * src/hildon-touch-selector-column.h:
5939 * src/hildon-touch-selector.h:
5941 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5942 declarations. Fixes gtk-doc warnings.
5944 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-picker-dialog.h
5947 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5948 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5950 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5951 long text is set as label for done button)
5953 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-dialog.c (hildon_dialog_add_button):
5956 Set fixed width to all buttons in the HildonDialog.
5958 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5960 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5962 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5963 Set widget name using class name plus "-finger" or "-thumb".
5965 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5967 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5968 'clicked' when the state of the button is manually changed.
5970 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5972 * src/hildon-app-menu.c (hildon_app_menu_realize)
5973 (hildon_app_menu_unrealize, hildon_app_menu_init)
5974 (hildon_app_menu_class_init, item_visibility_changed):
5975 Change the menu layout when the size of the screen changes.
5976 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5977 Show warning only when changing the number of colums using the
5980 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5982 * debian/compat: Set to 5
5983 * debian/control: Update dependencies.
5984 * debian/libhildon1-dbg.install: Remove.
5985 * debian/libhildon1-dev.install: Update according to cdbs paths.
5986 * debian/libhildon1.install: Update according to cdbs paths.
5987 * debian/rules: Switch to cdbs.
5989 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5991 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5992 'item' variable renamed to 'filter'
5994 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-app-menu.c (hildon_app_menu_insert)
5997 (hildon_app_menu_add_filter, remove_item_from_list)
5998 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5999 Don't leak hidden items when the menu is destroyed.
6001 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6003 * src/hildon-app-menu.c (hildon_app_menu_insert)
6004 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6005 (hildon_app_menu_set_columns, item_visibility_changed)
6006 (filter_visibility_changed, hildon_app_menu_repack_filters)
6007 (hildon_app_menu_repack_items):
6008 Repack items and filters separately.
6010 Don't repack all items, change only the ones that are needed to
6013 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6015 * src/Makefile.am: added hildon-touch-selector-column.h
6017 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6019 * src/hildon-touch-selector.c: added the property "text-column" to the
6020 class HildonTouchSelectorColumn, and related get/set functions
6021 (_default_printf_func): updated to use "text-column" property
6022 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6023 "text-column" in his documentation, as this is now included on
6024 HildonTouchSelectorColumn. The get/set_property can still be used,
6025 working as a wrapper to the concrete column "text-column" property
6026 (_text_column_modified): callback added in order to handle the signal
6027 "notify::text-column" of the concrete HildonTouchSelectorColumn
6028 (hildon_touch_selector_entry_get_text_column)
6029 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6030 modified in order to use the HildonTouchSelectorColumn "text-column"
6032 * src/hildon-time-selector.c:
6033 * src/hildon-date-selector.c:
6034 * examples/hildon-touch-selector-example.c
6035 * examples/hildon-touch-selector-multi-cells-example.c
6036 * examples/hildon-picker-button-multicolumn-example.c
6037 Set the right value to "text-column" property on the creation of a new
6038 column using hildon_touch_selector_append_column()
6040 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6042 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-app-menu.c
6045 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6046 updating the layout of the menu, don't create all widgets again,
6047 just repack the items in their new places.
6049 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6051 * src/hildon-time-selector.c
6052 (hildon_time_selector_get_time)
6053 (hildon_time_selector_set_time)
6054 Added documentation of these public methods
6056 * src/hildon-date-button.h
6057 * src/hildon-touch-selector-column.h
6058 * src/hildon-time-button.h
6059 * src/hildon-picker-dialog.h
6060 * src/hildon-time-selector.h
6061 * src/hildon-picker-button.h
6062 * src/hildon-touch-selector.h
6063 * src/hildon-time-picker.h
6064 * src/hildon-date-selector.h
6065 * src/hildon-touch-selector-entry.h
6066 Modified in order to use hildon-widgets code style
6068 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6070 Added deprecated support to the compilation process using
6071 HILDON_DISABLE_DEPRECATED
6073 * configure.ac: Added the --disable-deprecated to the configure
6076 * src/hildon-weekday-picker.c:
6077 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6078 to use the deprecated support. We will update the other deprecated
6079 widgets status in a new patch.
6081 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6083 * configure.ac: Fixed typo with fatal warnings support, the
6084 variable name was not correct
6086 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-app-menu.c
6089 * src/hildon-program.c: Update documentation.
6091 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6093 * configure.ac: Post-release version bump.
6095 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6100 * configure.ac: Pre-release version bump.
6101 * debian/changelog: Updates.
6103 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6105 * NEWS: Update news for previous releases.
6107 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6109 * examples/hildon-touch-selector-multi-cells-example.c:
6110 (create_selector): Update the example to use
6111 hildon_touch_selector_append_column() with a NULL renderer and set
6112 the renderers later.
6113 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6114 passed a NULL renderer. This is documented behavior now.
6116 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6117 This must be used if the developer wants full control on the layout of
6118 the renderers to be added to the column.
6120 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6122 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6124 * src/hildon-touch-selector.c: Documentation fixes.
6126 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6128 * src/hildon-wizard-dialog-private.h: Remove image and box.
6129 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6130 (hildon_wizard_dialog_set_property), (response): Completely remove
6131 image/icon support, and the containers required for the layout.
6133 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6135 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6137 * src/hildon-app-menu.c: Updated documentation.
6139 * src/hildon-stackable-window.c
6140 (hildon_stackable_window_set_main_menu): Unref the old menu after
6141 ref'ing the new one.
6143 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6145 * src/hildon-stackable-window.c
6146 (hildon_stackable_window_set_main_menu): Unref the previous menu
6147 instead of destroying it.
6149 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6150 floating reference and set has_user_ref_count to FALSE to make
6151 HildonAppMenu act like a normal ref-counted widget and not a
6154 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6157 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6159 * src/hildon-touch-selector-column.h: new file
6160 * src/hildon-touch-selector.h
6161 * src/hildon-touch-selector.c
6162 Implemented GtkCellLayout interface, in order to allow to configure
6163 the cell layout on each individual selector column
6164 (hildon_touch_selector_set_column_attributes): marked as deprecated
6165 * examples/hildon-touch-selector-multi-cells-example.c
6166 Example of how to use the GtkCellLayout interface on the selector
6168 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6170 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-app-menu.h
6173 * src/hildon-app-menu.c
6174 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6175 (hildon_app_menu_append, hildon_app_menu_prepend):
6176 New methods to prepend, insert and move items in the menu.
6178 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6180 * src/hildon-wizard-dialog.c:
6182 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6184 (create_title): Update logical IDs and related code.
6185 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6187 * src/hildon-wizard-dialog.h: Note that
6188 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6189 point, as it is not used anymore.
6191 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6193 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6195 * src/hildon-note.c:
6196 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6197 shown. Do not display an icon in confirmation notes nor information
6199 (hildon_note_set_button_text): Update logical ID for cancel button.
6201 Fixes: NB#88850 (Update HildonNote button strings + signals)
6203 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6205 * src/hildon-stackable-window.c
6206 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6208 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6210 * src/hildon-app-menu-private.h
6211 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6212 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6213 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6214 temporary property 'columns' to change the number of columns.
6216 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6218 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6220 * examples/hildon-note-example.c: (on_information_clicked),
6221 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6222 debugging information.
6223 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6225 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6226 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6227 in order to close: this will be handled by the WM from now on.
6229 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6231 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6233 * src/hildon-app-menu-private.h
6234 * src/hildon-app-menu.c
6235 (hildon_app_menu_append, hildon_app_menu_add_filter)
6236 (button_visibility_changed, hildon_app_menu_apply_style)
6237 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6238 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6239 layout everytime a button (item or filter) is shown or hidden.
6241 * src/hildon-stackable-window.c
6242 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6245 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6247 * src/hildon-touch-selector.c:
6248 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6249 that the treeview inside the touch selector is in fremantle hildon mode
6250 * examples/hildon-date-button-example.c
6251 * examples/hildon-picker-button-multicolumn-example.c
6252 * examples/hildon-touch-selector-entry-example.c
6253 * examples/hildon-touch-selector-example.c
6254 * examples/hildon-time-button-example.c
6255 * examples/hildon-picker-button-example.c:
6256 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6258 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6260 * examples/hildon-text-view-example.c: (main): Remove the
6261 gtkrc bits, now handled by the theme.
6263 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6265 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6268 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6270 * po/Makefile.am: Install properly the mo files.
6271 * po/en_GB.po: Update translation, to ease testing purposes.
6273 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6275 * examples/hildon-picker-button-example.c: (main): Select an item
6276 in the selector before setting it to the button.
6278 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6280 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6281 Update button's value if the selector has an item active.
6283 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6284 'value' with the selector)
6286 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6288 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6289 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6290 (hildon_picker_button_class_init): Plug the finalize method.
6291 (hildon_picker_button_set_selector): If there's a previously set
6292 selector, unref'it before setting a new one.
6294 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6295 HildonTouchSelector)
6297 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6299 * src/hildon-touch-selector-entry.c:
6300 (hildon_touch_selector_entry_changed): Check if there is no text
6301 selected before setting the entry text.
6304 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6306 * src/hildon-touch-selector.h
6307 * src/hildon-touch-selector.c
6308 (hildon_touch_selector_get_active)
6309 (hildon_touch_selector_set_active): New methods to set/get the
6310 index of the selected item.
6312 * src/hildon-picker-button.h
6313 * src/hildon-picker-button.c
6314 (hildon_picker_button_get_active)
6315 (hildon_picker_button_set_active): New methods to set/get the
6316 index of the selected item.
6318 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6320 * configure.ac: post-release version bump.
6322 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6326 * configure.ac: Pre-release version bump.
6327 * debian/changelog: Updates.
6328 * debian/control: Add myself as maintainer and depend on l10n
6331 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6333 * src/hildon-window.c
6334 (hildon_window_set_main_menu)
6335 * src/hildon-stackable-window.c
6336 (hildon_stackable_window_set_main_menu):
6337 Updated documentation.
6339 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6342 Don't free selector->priv manually.
6345 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6348 (hildon_gtk_window_set_progress_indicator):
6349 * src/hildon-gtk.h: Added the new API
6350 hildon_gtk_window_set_progress_indicator, it changes the state of
6351 the window progress hint.
6353 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6355 * src/hildon-button.c
6356 * src/hildon-stackable-window.c: Minor documentation updates.
6358 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6360 * src/hildon-stackable-window.c: Updated documentation.
6362 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6364 * src/hildon-defines.h: Update margins definitions
6365 to the Fremantle sizes.
6368 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6370 * src/hildon-touch-selector.c,
6371 (_hildon_touch_selector_set_model): Cleaning the code after
6372 review, removed g_print and #if 0 from the code.
6374 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6376 * src/hildon-edit-toolbar.c: Update documentation.
6378 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6380 * src/hildon-check-button.h
6381 * src/hildon-check-button.c
6382 (hildon_check_button_set_label, hildon_check_button_get_label)
6383 * examples/hildon-check-button-example.c
6384 (button_clicked_cb):
6385 Removed deprecated methods.
6387 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6389 * src/hildon-text-view.c:
6390 Add sample code to the documentation.
6392 * src/hildon-entry.h
6393 * src/hildon-text-view.h:
6394 Minor cosmetic changes.
6396 * src/hildon-entry.c:
6397 Add sample code to the documentation.
6398 (hildon_entry_init, hildon_entry_refresh_contents):
6399 Don't allow NULL values in the placeholder.
6401 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6403 * doc/hildon-docs.sgml
6405 * examples/Makefile.am
6406 * examples/hildon-text-view-example.c
6408 * src/hildon-text-view.c
6409 * src/hildon-text-view.h
6411 New HildonTextView widget, with example.
6413 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6415 * po/POTFILES.in: Add missing files with translatable strings.
6416 Partially fixes NB#88287.
6418 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6420 * examples/hildon-pannable-area-example-2.c: (main): No need to
6421 set the cellrenderer height inside hildon touch lists, the theme does
6424 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6426 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6427 they are integrated in the theme.
6429 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6431 * examples/hildon-entry-example.c: Update the example adding
6432 widgets to modify the text and the placeholder of the HildonEntry.
6434 * src/hildon-entry.c: Show the placeholder everytime the widget
6435 is empty and loses the focus.
6437 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6439 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6441 * src/hildon-pannable-area.c,
6442 (hildon_pannable_area_size_request): Fixed bug in height
6443 requisition, avoid increasing size and add border twice.
6445 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6447 * configure.ac: postrelease version bump.
6449 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6453 * configure.ac: Prerelease version bump.
6454 * debian/changelog: update.
6455 * debian/rules: make -dbg package contain useful debugging symbols.
6457 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6459 * src/hildon-dialog.h
6460 * src/hildon-dialog.c
6461 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6462 New methods to add buttons with finger size.
6463 (hildon_dialog_new_with_buttons):
6464 Create buttons with finger size.
6466 * examples/hildon-dialog-example.c (main): Use HildonDialog
6467 methods to add buttons.
6469 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6471 * src/hildon-entry.c: Updated HildonButton documentation.
6473 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6475 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6476 button value label with (FALSE, FALSE) to prevent NB#88126 from
6479 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6481 * examples/hildon-pannable-area-example.c,
6482 (main): Removed examples panning a vbox inside a pannable
6483 area. Check bug NB#87965
6485 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6487 Patch contributed by Kris Rietveld (kris@imendio.com)
6489 * src/hildon-pannable-area.c,
6490 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6491 get_size and get_position, this saves an X server roundtrip.
6493 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6495 * doc/hildon-docs.sgml
6497 * examples/Makefile.am
6498 * examples/hildon-entry-example.c
6500 * src/hildon-entry.c
6501 * src/hildon-entry.h
6503 New HildonEntry widget, with example.
6505 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6507 * src/hildon-button.c (hildon_button_construct_child): Pack the
6508 image with expand == fill == FALSE. This is a workaround for a bug
6511 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6513 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6514 labels for the text column, to make it more look more dynamic.
6516 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6518 * src/hildon-time-selector.c
6519 Define gettext auxiliar macro N_
6520 (_create_minutes_model)
6521 (_create_hours_model)
6522 (_create_ampm_model): use of strftime in order to fill the model
6523 * src/hildon-date-selector.c
6524 (hildon_date_selector_finalize):
6525 (_locales_init): remove the logic related to get the name of the months
6526 using nl_langinfo, as it is not required anymore
6528 (_create_year_model)
6529 (_create_month_model)
6530 (_update_day_model): use of strftime in order to fill the model properly
6533 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6535 * src/hildon-button.h
6536 * src/hildon-button.c (hildon_button_get_image): New method to
6539 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6541 * src/hildon-touch-selector.c:
6542 (hildon_touch_selector_remove_column): Remove from the correct parent
6543 and also remove the list element and free it.
6546 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6548 * src/hildon-time-selector.c
6549 (_create_hours_model): change the range on 12h ampm format in order to use
6550 a 12-11 range instead of previous 01-12 range
6551 (hildon_time_selector_set_time): change the way to select the current time
6552 on 12h ampm format, due the change on the range
6553 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6556 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6558 * src/hildon-touch-selector.c
6559 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6560 in order to allow use this function on multiple row selection mode if
6561 the column is different that the first one
6564 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6566 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6567 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6569 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6571 * src/hildon-date-selector.h: clean some comments, now on the .c
6572 * src/hildon-date-selector.c
6573 (hildon_date_selector_select_month): first implementation
6574 (hildon_date_selector_select_day): added documentation, reimplemented
6575 using hildon_date_selector_select_current_date to avoid repeat code
6578 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6580 Reviewed interaction logic based on device experiences, refactored
6583 * src/hildon-pannable-area.c,
6584 (hildon_pannable_area_class_init): Updated default vmax speed.
6585 (hildon_pannable_area_calculate_velocity): Added this function, it
6586 avoids duplicate valocity calculation. Adjusted calculation to
6587 avoid problems with zero dist events.
6589 (hildon_pannable_area_motion_notify_cb): Now we use the
6590 calculate_velocity function.
6592 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6594 * src/hildon-date-selector.c
6595 (hildon_date_selector_select_current_date): fix the day range check
6596 as it failed using the last day of the current month
6599 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6601 * src/hildon-touch-selector.c
6602 (hildon_touch_selector_get_num_columns): added a parameter validation
6605 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6607 * examples/Makefile.am
6608 * examples/hildon-edit-toolbar-example.c: Example of the
6609 HildonEditToolbar widget.
6611 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6613 * configure.ac: postrelease version bump.
6615 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6619 * configure.ac: prerelease version bump.
6620 * debian/changelog: update.
6622 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6624 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6625 renderer to display stock icons in the touch list. Also, set the sizes
6626 to the recommended in the style guide.
6628 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6629 * src/hildon-touch-selector.h
6630 (hildon_touch_selector_set_active_iter): renamed, now is
6631 hildon_touch_selector_select_iter
6632 (hildon_touch_selector_get_active_iter): renamed, now is
6633 hildon_touch_selector_get_selected
6634 (hildon_touch_selector_unselect_iter): added
6635 * src/hildon-touch-selector.c
6636 Update after API modification (methods renamed)
6637 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6638 order to avoid problems selecting multiple elements on the column
6639 (hildon_touch_selector_unselect_iter): added the implementation
6640 * src/hildon-time-selector.c
6641 * src/hildon-date-selector.c
6642 * src/hildon-touch-selector-entry.c
6643 Update methods calls after hildon-touch-selector.h API modification (methods
6646 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6648 * src/hildon-stackable-window.c
6649 (hildon_stackable_window_finalize): Call the parent class's finalize.
6651 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6653 * examples/hildon-touch-selector-example.c: (create_selector): Use
6654 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6657 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6659 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6660 set a cell background color, to respect theming.
6662 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6664 * doc/hildon-docs.sgml
6667 * src/hildon-edit-toolbar.c
6668 * src/hildon-edit-toolbar.h
6669 * src/hildon.h: New HildonEditToolbar widget.
6671 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6673 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6676 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6677 * src/hildon-touch-selector.c
6678 (_create_new_column): use g_object_set instead of two g_object_set_property
6680 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6681 * src/hildon-touch-selector.c
6682 (_create_new_column): use of hildon_gtk_tree_view_new to create
6683 the treeview, instead of use directly g_object_new
6684 (_create_new_column): update the property name "vindicator-mode" for the
6685 new one "vscrollbar-policy"
6686 * examples/hildon-date-button-example.c
6687 * examples/hildon-picker-button-multicolumn-example.c
6688 * examples/hildon-touch-selector-entry-example.c
6689 * examples/hildon-touch-selector-example.c
6690 * examples/hildon-time-button-example.c
6691 * examples/hildon-picker-button-example.c
6692 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6693 to all the treeviews inside a pannable area.
6695 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6697 * src/hildon-button.h
6698 * src/hildon-button.c (hildon_button_init)
6699 (hildon_button_set_arrangement, hildon_button_set_alignment)
6700 (hildon_button_set_title_alignment)
6701 (hildon_button_set_value_alignment)
6702 (hildon_button_set_image_alignment)
6703 (hildon_button_construct_child): New methods to set the alignment
6704 of the individual components of the button (title, value,
6705 image). Also, new method to alter the xscale and yscale properties
6706 of the GtkAlignment inside the button, so more complex layouts can
6709 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6711 * src/hildon-button.c (hildon_button_style_set)
6712 (hildon_button_class_init, hildon_button_set_arrangement)
6713 (hildon_button_construct_child): Apply style properties
6714 correctly. Use the 'image-spacing' style property too.
6716 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6718 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6719 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6722 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6724 * src/hildon-pannable-area.c,
6725 (hildon_pannable_area_size_request): Fixed problem with
6726 pannable-area size_request.
6728 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6730 Added management for the grab-focus to a child widget, like a
6731 range, we need to fade out the scrollbar when releasing.
6733 * src/hildon-pannable-area.c,
6734 (hildon_pannable_area_init): Connected the grab-focus signal to
6736 (hildon_pannable_area_grab_notify): Added this function in order
6737 to manage the situation when the grab-focus ends. We have to
6738 fade-out the scrollbar.
6740 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6742 * src/hildon-app-menu.c: Minor documentation update.
6744 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6746 * src/hildon-app-menu.c
6747 * examples/hildon-app-menu-example.c (create_menu): Update
6748 examples and documentation to explain how to connect callbacks.
6750 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6752 * examples/hildon-button-example.c
6753 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6754 hildon_stackable_window_new instead of gtk_window_new
6756 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6758 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6759 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6760 (hildon_pannable_area_set_property),
6761 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6762 (hildon_pannable_area_unrealize),
6763 (hildon_pannable_area_size_request),
6764 (hildon_pannable_area_size_allocate),
6765 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6766 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6767 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6768 (hildon_pannable_area_initial_effect),
6769 (hildon_pannable_area_redraw),
6770 (hildon_pannable_area_scroll_indicator_fade),
6771 (hildon_pannable_area_expose_event),
6772 (hildon_pannable_area_get_topmost), (synth_crossing),
6773 (hildon_pannable_area_button_press_cb),
6774 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6775 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6776 (hildon_pannable_area_motion_notify_cb),
6777 (hildon_pannable_area_button_release_cb),
6778 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6779 (hildon_pannable_area_remove),
6780 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6781 chage the code layout to a more GtkWidget like. Review the use of
6784 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6786 * examples/hildon-pannable-area-example-4.c,
6787 (main): Modified the name of the hindicator_mode to
6790 * src/hildon-pannable-area.c,
6791 (hildon_pannable_area_class_init),
6792 (hildon_pannable_area_motion_notify_cb),
6793 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6794 we have reduced the amount of signals and managed reviewed its
6795 rationale. Changed the default decelerate value.
6797 (hildon_pannable_area_add),
6798 (hildon_pannable_area_redraw): Refactored functions.
6800 (hildon_pannable_area_init),
6801 (hildon_pannable_area_get_property),
6802 (hildon_pannable_area_set_property):
6803 (hildon_pannable_draw_vscroll),
6804 (hildon_pannable_draw_hscroll),
6805 (hildon_pannable_area_initial_effect),
6806 (hildon_pannable_area_expose_event),
6807 (hildon_pannable_area_scroll),
6808 (hildon_pannable_area_button_press_cb),
6809 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6810 and vindicator_mode with hscrollbar_policy and
6811 vscrollbar_policy. Replaced hscroll and vscroll with
6812 hscroll_visible and vscroll_visible.
6814 (hildon_pannable_area_refresh): Refactor the function, remove
6815 variables and check the calls to this function, added resize
6816 conditions in case the children change their layout.
6818 (hildon_pannable_area_size_request): Added more detailed
6819 size_request calculation.
6822 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6824 * src/hildon-color-chooser.c
6825 (init_borders): use the correct gtk_border_free instead of g_free, to
6826 avoid a crash when this widget is used (ie: the three color selection
6829 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6831 * src/hildon-check-button.c,
6832 (hildon_check_button_set_active): Fixed problem when setting the
6833 active value, the widget was not redrawn.
6835 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6837 * src/hildon-pannable-area.c,
6838 (hildon_pannable_area_refresh),
6839 (hildon_pannable_area_scroll),
6840 (hildon_pannable_area_motion_notify_cb): Small code style change.
6842 (hildon_pannable_area_class_init): Default initial_hint set to
6843 FALSE, it is not in the specs.
6845 (hildon_pannable_area_initial_effect),
6846 (hildon_pannable_area_expose_event),
6847 (hildon_pannable_area_map),
6848 (hildon_pannable_area_init): Moved the launching point of the
6849 initial effect, it was in map but the sizes where not correct in
6850 that method so we do not know if we have the reproduce it. Now it
6851 is placed in the expose_event method and uses a variable to
6852 reproduce it just once.
6854 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6856 * src/hildon-pannable-area.c,
6857 (hildon_pannable_draw_vscroll),
6858 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6859 position allowed for the scrollbars.
6861 (hildon_pannable_area_size_allocate): Small style change.
6863 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6865 * src/hildon-pannable-area.c,
6866 (hildon_pannable_area_scroll_indicator_fade),
6867 (hildon_pannable_area_button_press_cb),
6868 (hildon_pannable_area_button_release_cb),
6869 (hildon_pannable_area_scroll_cb),
6870 (hildon_pannable_area_expose_event),
6871 (hildon_pannable_area_init): Added the define parameter
6872 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6873 and refactor the fade variable.
6875 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6877 * src/hildon-pannable-area.c,
6878 (hildon_pannable_area_redraw),
6879 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6880 lines, we were reimplemeting the redraw code.
6882 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6884 * src/hildon-pannable-area.c,
6885 (hildon_pannable_area_scroll_cb),
6886 (hildon_pannable_area_realize),
6887 (hildon_pannable_area_class_init): Added scroll_event management
6888 for pannable area, now we can scroll the usual desktop method.
6890 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6891 initialization of the parameters should depend on idle_id.
6893 (hildon_pannable_area_init),
6894 (hildon_pannable_area_map): Small code style modifications
6896 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6898 * src/hildon-pannable-area.c
6899 (hildon_pannable_area_button_press_cb),
6900 (hildon_pannable_area_motion_notify_cb),
6901 (hildon_pannable_area_button_release_cb),
6902 (hildon_pannable_area_size_allocate),
6903 (hildon_pannable_area_scroll_to): Improved the timeouts
6904 management, we avoid creating them each time.
6906 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6908 * src/hildon-pannable-area.c:
6909 (hildon_pannable_area_refresh),
6910 (hildon_pannable_area_motion_notify_cb),
6911 (hildon_pannable_area_class_init):
6912 * src/hildon-pannable-area.h:
6913 * src/hildon-touch-selector.c
6914 (_create_new_column):
6915 * examples/hildon-pannable-area-example-4.c:
6916 (horizontal_movement),
6917 (vertical_movement),
6919 Replaced the names of enums in the HildonPannableArea:
6920 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6921 HILDON_MOVEMENT_MODE_*
6922 - HILDON_PANNABLE_AREA_MOV_* ->
6924 - Removed HildonPannableAreaIndicatorMode, now we
6927 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6929 * examples/hildon-pannable-area-touch-grid-example.c
6930 * examples/hildon-pannable-area-touch-list-example.c: Fix
6931 compilation warnings.
6933 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6935 * src/hildon-gtk.c (hildon_gtk_button_new)
6936 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6937 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6938 images overriding the value of the "gtk-button-images" setting.
6940 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6942 * src/hildon-check-button.c (hildon_check_button_new):
6943 Instead of using a custom container, display the label and the
6944 checkbox using the standard GtkButton API.
6946 * examples/hildon-check-button-example.c (main): Don't use
6947 hildon_check_button_set_label() anymore
6949 * src/hildon-check-button.h
6950 * src/hildon-check-button.c
6951 (hildon_check_button_set_label, hildon_check_button_get_label):
6952 Set as deprecated, now we're using gtk_button_{get,set}_label()
6954 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6956 * src/hildon-pannable-area.c,
6957 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6958 GtkTreeview first line we detected it after the inclusion of the
6959 GtkWindowImpl in gtk+. We now check if the window is visible, not
6960 just if the pointer is over the window.
6961 (hildon_pannable_axis_scroll),
6962 (hildon_pannable_area_expose_event): Small style changes.
6964 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6966 * src/hildon-button.c: Update documentation.
6968 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6970 * examples/hildon-button-example.c: Add a switch to show images in
6973 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6975 * doc/hildon-docs.sgml: Some docs reorganization.
6977 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6979 * examples/hildon-pannable-area-touch-list-example.c
6981 * examples/hildon-pannable-area-touch-grid-example.c
6982 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6983 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6984 Fix memory leak when setting the tree model.
6986 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6990 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6992 * doc/hildon.types: Remove duplicated hildon_window_get_type
6993 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6994 documentation comment.
6996 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6998 * doc/Makefile.am: Complete list of private headers.
7000 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7002 * doc/hildon-docs.sgml
7003 * src/hildon-app-menu.c
7004 * src/hildon-bread-crumb.c
7005 * src/hildon-button.c
7007 * src/hildon-program.c
7008 * src/hildon-stackable-window.c
7009 * src/hildon-window.c: Lots of documentation updates.
7011 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7013 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7015 * configure.ac: Require Gtk+ 2.12.9 at least
7017 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7019 * src/hildon-pannable-area.c
7020 (hildon_pannable_area_scroll_indicator_fade),
7021 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7022 to protect the return of this timeout callbacks, avoiding deadlocks.
7024 2008-08-12 Christian Dywan <christian@imendio.com>
7027 * src/hildon-*.h: Ensure a consistent include order,
7028 include <gtk/gtk.h> instead of particular files and
7029 only include the topmost header in the gtk stack. See NB #39857
7031 2008-08-12 Christian Dywan <christian@imendio.com>
7033 * src/hildon-picker-dialog.c
7034 * src/hildon-touch-selector.c: Fix warnings about unused and
7035 uninitialized variables.
7037 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7039 * examples/Makefile.am
7040 * examples/hildon-check-button-example.c: Example of the hildon
7043 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7045 * src/hildon-window.h
7046 * src/hildon-window.c (hildon_window_class_init)
7047 (hildon_window_unset_program): Don't make
7048 hildon_window_unset_program a virtual function anymore.
7050 * src/hildon-stackable-window.c: Update documentation
7052 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7055 * doc/hildon-docs.sgml
7056 * doc/visual_index.xml
7057 * src/hildon-defines.c
7059 * src/hildon-helper.c
7060 * src/hildon-range-editor.c: Lots of documentation fixes.
7062 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7064 * examples/hildon-picker-button-multicolumn-example.c
7065 (create_touch_selector): Fix compilation warning.
7067 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7069 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7070 (hildon_pannable_area_button_release_cb)
7071 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7073 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7075 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7078 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7080 * src/hildon-bread-crumb-trail.h
7081 * src/hildon-date-editor.c
7082 * src/hildon-date-selector.c
7083 * src/hildon-pannable-area.c
7084 * src/hildon-picker-dialog.c
7085 * src/hildon-time-selector.c
7086 * src/hildon-touch-selector-entry.c
7087 * src/hildon-touch-selector.c
7088 * src/hildon-touch-selector.h: Misc documentation fixes
7090 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7092 * examples/hildon-date-editor-example.c (main): Updated date
7095 * examples/hildon-note-example.c (on_confirmation_clicked):
7096 Updated confirmation note example.
7098 * src/hildon-date-editor.c
7099 * src/hildon-note.c: Updated sample programs in documentation.
7102 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7104 * src/hildon-date-button.h:
7105 * src/hildon-picker-button.h:
7106 * src/hildon-time-button.c:
7107 * src/hildon-time-button.h:
7109 Some declarations changes to allow gtk-doc to document the widgets
7112 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7114 * src/hildon-date-button.c: Document the widget.
7115 * src/hildon-time-button.c: Document the widget.
7117 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7119 * src/hildon-picker-button.c: Document the widget.
7120 * src/hildon-touch-selector-entry.c: Document the widget.
7122 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7124 * doc/hildon-docs.sgml
7127 * src/hildon-check-button.h
7128 * src/hildon-check-button.c: New functions to create the Hildon
7132 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7134 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7136 * src/hildon-button.h
7137 * src/hildon-button.c
7138 (hildon_button_add_title_size_group)
7139 (hildon_button_add_value_size_group)
7140 (hildon_button_add_image_size_group)
7141 (hildon_button_add_size_groups): New functions to set size groups
7142 for the button labels and image.
7143 (hildon_button_new_full): Removed
7145 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7147 * src/hildon-time-selector.c
7148 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7149 in order to avoid a crash if gconf is not available
7151 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7153 * src/hildon-button.c (hildon_button_set_arrangement)
7154 (hildon_button_construct_child): Don't construct the button child
7155 before setting the arrangement.
7157 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7159 * src/hildon-program-private.h
7160 * src/hildon-program.c
7161 * src/hildon-program.h
7162 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7163 (hildon_program_peek_window_stack)
7164 (hildon_program_pop_window_stack)
7165 (hildon_program_go_to_root_window): HildonProgram now has a
7166 separate list for stackable windows. Functions are provided to
7167 manage that list with a stack-like API.
7169 * src/hildon-stackable-window.c: Stackable window management is
7170 now much simpler with the new HildonProgram API. Windows no
7171 longer need to be manually added to the program, they're
7172 automatically pushed to the top of the stack when shown.
7174 * examples/hildon-stackable-window-example.c: Updated example to
7175 reflect the API changes.
7177 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7179 * src/hildon-touch-selector.c: Comment out unimplemented
7180 hildon_touch_selector_insert_column() to avoid a compile warning.
7182 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7184 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7185 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7186 (hildon_touch_selector_set_column_selection_mode),
7187 (_hildon_touch_selector_set_model),
7188 (hildon_touch_selector_set_model):
7190 Complete review of HildonTouchSelector documentation.
7192 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7194 * doc/hildon-docs.sgml
7198 * src/hildon-gtk.c: Convenience functions for standard Gtk
7199 widgets, used to easily perform frequent operations.
7201 * src/hildon-button-helpers.h
7202 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7204 * src/hildon-helper.h
7205 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7206 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7208 * src/hildon-button.h
7209 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7211 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7213 * src/hildon-button.c (hildon_button_init)
7214 (hildon_button_set_arrangement, hildon_button_construct_child):
7215 Pack the image and the labels inside the same GtkAlignment so
7216 gtk_button_set_alignment() can be used
7218 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7220 * src/hildon-button.h
7221 * src/hildon-button.c
7222 (hildon_button_init, hildon_button_set_image)
7223 (hildon_button_set_image_position)
7224 (hildon_button_construct_child): New functions to add an image to
7227 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7229 * src/hildon-date-button.c
7230 * src/hildon-picker-button.c
7231 * src/hildon-time-button.c
7232 * src/hildon-button.c:
7233 (hildon_button_class_init): "size-flags" renamed to "size"
7234 (hildon_button_set_title): Hide the title label if set to NULL.
7236 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7238 HildonButtonFlags split into HildonButtonArrangement (to set the
7239 button layout) and HildonSizeType (which can be used for any
7242 * src/hildon-button.h
7243 * src/hildon-button.c
7244 (hildon_button_class_init)
7245 (hildon_button_set_arrangement)
7246 (hildon_button_set_property): New "size-flags"
7247 property. "arrangement-flags" renamed to "arrangement".
7248 (hildon_button_new, hildon_button_new_with_text)
7249 (hildon_button_new_full): Constructors updated to reflect type changes.
7251 * src/hildon-helper.h
7252 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7253 to set the size of a widget.
7257 * src/hildon-button-helpers.c
7258 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7260 * src/hildon-date-button.c
7261 * src/hildon-date-button.h
7262 * src/hildon-picker-button.c
7263 * src/hildon-picker-button.h
7264 * src/hildon-time-button.c
7265 * src/hildon-time-button.h: Updated widgets to reflect
7266 HildonButton API changes.
7268 * examples/hildon-button-example.c
7269 * examples/hildon-date-button-example.c
7270 * examples/hildon-picker-button-example.c
7271 * examples/hildon-picker-button-multicolumn-example.c
7272 * examples/hildon-time-button-example.c
7273 * examples/hildon-touch-selector-entry-example.c
7274 * examples/hildon-touch-selector-example.c: Updated examples to
7275 reflect HildonButton API changes.
7277 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7279 * doc/hildon-docs.sgml:
7281 * examples/Makefile.am:
7282 * examples/hildon-touch-selector-entry-example.c:
7284 * src/hildon-touch-selector-entry.c:
7285 * src/hildon-touch-selector-entry.h:
7288 Moved HildonTouchSelectorEntry from sandbox. Added its
7289 documentation and examples.
7291 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7293 * src/hildon-touch-selector.h:
7294 * examples/hildon-picker-button-multicolumn-example.c:
7295 (hildon_touch_selector_append_text_column): Add a gboolean
7296 parameter to determine if text must be centered in the column.
7298 * src/hildon-date-selector.c: (hildon_date_selector_init):
7299 * src/hildon-time-selector.c: (hildon_time_selector_init):
7300 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7301 (create_touch_selector): Update widgets and example to reflect
7304 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7306 * src/hildon-touch-selector.c:
7307 (hildon_touch_selector_set_active_iter): Set also the cursor in
7310 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7312 * doc/hildon-docs.sgml
7315 * src/hildon-toggle-button.c
7316 * src/hildon-toggle-button.h
7317 * src/hildon.h: Removed HildonToggleButton widget, a derived
7318 class is not necessary for this.
7320 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7322 * src/hildon-pannable-area.c,
7323 (hildon_pannable_area_realize),
7324 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7327 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7329 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7330 "done" button the default widget for the dialog.
7332 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-touch-selector.c:
7335 (hildon_touch_selector_class_init),
7336 (hildon_touch_selector_get_property),
7337 (_hildon_touch_selector_set_model),
7338 (_hildon_touch_selector_has_multiple_selection),
7339 (hildon_touch_selector_has_multiple_selection):
7340 Add a "has-multiple-selection" property with a virtual
7341 has_multiple_selection() method to allow derived classes to
7342 override the default value for it. See the method and property
7343 documentation for details.
7345 * src/hildon-touch-selector.h: Add the new API.
7347 * src/hildon-picker-dialog.c: (requires_done_button): Call
7348 hildon_touch_selector_has_multiple_selection() instead of
7349 determining the need for a button itself.
7351 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7353 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7354 (_hildon_touch_selector_set_model),
7355 (hildon_touch_selector_set_model): Move working code to
7356 _hildon_touch_selector_set_mode(). Call the class method instead.
7358 * src/hildon-touch-selector.h: Add (*set_model) to
7359 HildonTouchSelectorClass.
7361 Make hildon_touch_selector_set_model() a virtual method, so that
7362 derived classes can extend it and do fancy stuff with the model.
7364 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7366 * configure.ac: Set back the tarname in AC_INIT to hildon.
7368 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7372 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7373 instead of libesd (NB#86876). Volume handling is still an open issue.
7375 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7378 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7380 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7381 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7382 derived class to ease placement of an entry widget in
7383 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7384 end, where the selector columns are packed now.
7386 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7388 * src/hildon-picker-button.c: Removed the simple _text() API.
7389 * src/hildon-picker-button.h: Likewise.
7391 * src/hildon-touch-selector.h:
7392 * src/hildon-touch-selector.c:
7393 (hildon_touch_selector_new_text),
7394 (hildon_touch_selector_append_text),
7395 (hildon_touch_selector_prepend_text),
7396 (hildon_touch_selector_insert_text):
7398 Moved the simple _text() API from HildonPickerButton to
7399 HildonTouchPicker, to provide better escalability and not to tie
7400 that API to HildonPickerButton.
7402 * examples/hildon-picker-button-example.c: (main): Example updated.
7404 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7406 * src/hildon-button.c: Updated documentation.
7408 * examples/hildon-button-example.c: Add the posibility to create
7409 the buttons using horizontal layout for title and value.
7411 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7413 * src/hildon-app-menu-private.h
7414 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7415 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7416 GtkSizeGroup for the filters, use the 'homogeneous' property of
7419 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7421 * examples/hildon-button-example.c: Updated example.
7423 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7425 * doc/hildon-docs.sgml:
7428 Update documentation.
7430 * examples/Makefile.am: Update renamed examples.
7432 * examples/hildon-picker-button-multicolumn-example.c:
7433 (create_touch_selector), (main): Update after the rename.
7435 * examples/hildon-touch-picker-example.c: Removed.
7436 * examples/hildon-touch-selector-example.c: (value_changed),
7437 (create_selector), (get_visible_content), (main): Renamed from
7438 hildon-touch-picker-example.c
7440 * src/Makefile.am: Updated renamed files.
7442 * src/hildon-date-button.c: (hildon_date_button_init),
7443 (hildon_date_button_get_date), (hildon_date_button_set_date):
7444 * src/hildon-date-selector.c: (hildon_date_selector_init),
7445 (_custom_print_func), (_update_day_model),
7446 (_manage_selector_change_cb),
7447 (hildon_date_selector_select_current_date),
7448 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7449 * src/hildon-date-selector.h:
7450 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7451 (hildon_picker_button_set_property),
7452 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7453 (hildon_picker_button_init), (hildon_picker_button_new_text),
7454 (hildon_picker_button_append_text),
7455 (hildon_picker_button_prepend_text),
7456 (hildon_picker_button_insert_text),
7457 (hildon_picker_button_set_selector),
7458 (hildon_picker_button_get_selector):
7459 * src/hildon-picker-button.h:
7460 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7461 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7462 (_update_title_on_selector_changed_cb), (requires_done_button),
7463 (_hildon_picker_dialog_set_selector),
7464 (hildon_picker_dialog_set_selector),
7465 (hildon_picker_dialog_get_selector):
7466 * src/hildon-picker-dialog.h:
7467 * src/hildon-time-button.c: (hildon_time_button_init),
7468 (hildon_time_button_get_time), (hildon_time_button_set_time):
7469 * src/hildon-time-selector.c: (hildon_time_selector_init),
7470 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7471 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7472 * src/hildon-time-selector.h:
7475 Massive code updates after the rename.
7477 * src/hildon-touch-picker.c: Removed.
7478 * src/hildon-touch-picker.h: Removed.
7480 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7481 (hildon_touch_selector_init), (hildon_touch_selector_map),
7482 (hildon_touch_selector_remove), (_default_print_func),
7483 (_selection_changed_cb), (_create_new_column),
7484 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7485 (hildon_touch_selector_append_text_column),
7486 (hildon_touch_selector_remove_column),
7487 (hildon_touch_selector_set_column_attributes),
7488 (hildon_touch_selector_insert_column),
7489 (hildon_touch_selector_get_num_columns),
7490 (hildon_touch_selector_get_column_selection_mode),
7491 (hildon_touch_selector_set_column_selection_mode),
7492 (hildon_touch_selector_set_print_func),
7493 (hildon_touch_selector_get_print_func),
7494 (hildon_touch_selector_get_active_iter),
7495 (hildon_touch_selector_set_active_iter),
7496 (hildon_touch_selector_get_selected_rows),
7497 (hildon_touch_selector_get_model),
7498 (hildon_touch_selector_set_model),
7499 (hildon_touch_selector_get_current_text),
7500 (_hildon_touch_selector_center_on_selected_items):
7501 * src/hildon-touch-selector.h: Renamed from
7502 hildon-touch-picker.[ch]
7504 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7505 references, code examples, and related documentation.
7507 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7509 * doc/hildon-docs.sgml
7512 * src/hildon-toggle-button.c
7513 * src/hildon-toggle-button.h
7514 * src/hildon.h: New HildonToggleButton widget.
7516 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7518 * src/hildon-button.c: Add API documentation.
7519 (hildon_button_set_size_groups): Check input parameters
7521 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7523 * src/hildon-pannable-area.c
7524 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7525 effect after reaching the movement thredshold. This way we start
7526 using the distance after passing the thredshold.
7528 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7530 * src/hildon-button.c: (hildon_button_set_property): Use the
7531 appropriate g_value_get_flags() method.
7533 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7535 * doc/hildon-docs.sgml:
7538 Add the touch pickers, picker dialogs, and picker button widgets
7539 to the documentation.
7541 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7543 * src/hildon-button.c: (hildon_button_set_property),
7544 (hildon_button_class_init): Make "arrangement-flags" a proper
7545 G_TYPE_FLAGS derived property.
7547 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7549 * examples/Makefile.am: Add below examples.
7550 * examples/hildon-date-button-example.c:
7551 * examples/hildon-picker-button-example.c:
7552 * examples/hildon-picker-button-multicolumn-example.c:
7553 * examples/hildon-time-button-example.c:
7554 * examples/hildon-touch-picker-example.c:
7556 Add examples for the recently added touch pickers,
7557 picker dialogs, and picker button widgets.
7559 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7561 * src/hildon-button.c: Add some API documentation
7563 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7565 * src/hildon-button.h
7566 * src/hildon-button.c
7568 (hildon_button_new_with_text): New constructor to create a button
7569 with no text at all.
7570 (hildon_button_init, hildon_button_set_arrangement)
7571 (hildon_button_set_title, hildon_button_set_value)
7572 (hildon_button_set_text)
7573 (hildon_button_construct_child): Hide the value when it's not used
7574 so the rest of the text is properly aligned.
7575 Allow creating buttons with arbitrary widgets inside (not just
7576 title/value labels).
7578 * examples/hildon-button-example.c (vertical_buttons_window)
7579 (horizontal_buttons_window): Update example to use new API.
7581 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7583 * src/Makefile.am: Added HildonTimeButton.
7584 * src/hildon-time-button.c: Added missing LGPL header.
7585 * src/hildon-time-button.h: Added missing LGPL header.
7586 * src/hildon.h: Add hildon-time-button.h
7588 Copied HildonTimeButton from sandbox to trunk. Future work on this
7589 widget must take place in trunk.
7591 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7593 * src/Makefile.am: Added HildonDateButton.
7594 * src/hildon-date-button.c: Update includes.
7595 * src/hildon.h: Add hildon-date-button.h
7597 Copied HildonDateButton from sandbox to trunk. Future work on this
7598 widget must take place in trunk.
7600 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7602 * src/Makefile.am: Added HildonPickerButton.
7603 * src/hildon-picker-button.h: Update includes.
7604 * src/hildon.h: Add hildon-picker-button.h
7606 Copied HildonPickerButton from sandbox to trunk. Future work on
7607 this widget must take place in trunk.
7609 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7611 * src/Makefile.am: Added HildonPickerDialog.
7612 * src/hildon-picker-dialog.c: Update includes.
7613 * src/hildon.h: Add hildon-picker-dialog.h
7615 Copied HildonPickerDialog from sandbox to trunk. Future work
7616 on this widget must take place in trunk.
7618 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7620 * src/Makefile.am: Added HildonTimeSelector.
7621 * src/hildon.h: Add hildon-time-selector.h
7623 Copied HildonTimeSelector widget from sandbox to trunk. Future
7624 work on this widget must happen in trunk.
7626 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7628 * src/Makefile.am: Added HildonDateSelector.
7629 * src/hildon.h: Add hildon-date-selector.h
7631 Copied HildonDateSelector widget from sandbox to trunk. Future
7632 work on this widget must happen in trunk.
7634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7636 * src/Makefile.am: Added HildonTouchPicker.
7637 * src/hildon-touch-picker.c: Update includes.
7638 * src/hildon.h: Add hildon-touch-picker.h
7640 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7641 on this widget must happen in trunk.
7643 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7645 * src/hildon-pannable-area.c:
7646 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7648 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7650 * examples/hildon-app-menu-example.c (main): Let the window
7653 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7655 * src/hildon-pannable-area.c
7656 (hildon_pannable_area_class_init): Set the min value of the
7657 overshoot properties to zero, which points out that not
7658 overshooting allowed.
7660 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7662 Modified the procedure to get the widget at a point inside the
7663 pannable area when using the movement type signals. Now the user
7664 has to call a function to get the child, that way we just
7665 calculate the child in case the user really want to use it and not
7668 * src/hildon-marshalers.list: Modified the marshallers, now we do
7669 not have the widget as a parameter.
7671 * src/hildon-pannable-area.c
7672 (hildon_pannable_area_motion_notify_cb),
7673 (hildon_pannable_area_class_init),
7674 (hildon_pannable_get_child_widget_at): Removed the widget
7675 parameter from the signal callback. We have also refactored the
7676 emission of the signals.
7678 * src/hildon-pannable-area.h: Added a new method to the API to
7679 calculate a widget at a point inside the pannable area,
7680 hildon_pannable_get_child_widget_at.
7682 * examples/hildon-pannable-area-example-4.c
7683 (horizontal_movement): Modified the example to use the new API,
7684 added condition to control which widget is under the event. This
7685 way we can avoid scrolling laterally over other widgets.
7687 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7689 * src/hildon-pannable-area.c
7690 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7691 modes, we stop getting the pointer events due to returning the
7692 callback without properly calling the get pointer again. Fixed
7693 also an error using the hscroll and vscroll.
7695 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7697 * src/hildon-app-menu-private.h
7698 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7699 (hildon_app_menu_button_release, hildon_app_menu_init)
7700 (hildon_app_menu_class_init): Don't hide the menu on button
7701 release if the user didn't press outside first.
7703 * src/hildon-window.h
7704 * src/hildon-window.c (hildon_window_toggle_menu)
7705 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7706 hildon_window_toggle_menu a virtual function for the stackable
7707 window to override it.
7709 * src/hildon-stackable-window.h
7710 * src/hildon-stackable-window-private.h
7711 * src/hildon-stackable-window.c
7712 (hildon_stackable_window_realize)
7713 (hildon_stackable_window_finalize)
7714 (hildon_stackable_window_class_init)
7715 (hildon_stackable_window_init)
7716 (hildon_stackable_window_set_main_menu): New function to set the
7717 app menu of a HildonStackableWindow.
7719 * examples/hildon-app-menu-example.c: Remove the button to show
7720 the app menu, now it'll be shown when clicking on the title bar
7723 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7725 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7726 set the widget name if the arrangement flags do not specify
7729 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7731 * src/hildon-button.c: (hildon_button_set_property),
7732 (hildon_button_class_init), (hildon_button_new_full),
7733 (hildon_button_set_arrangement): Added "arrangement-flags"
7736 Make the HildonButtonFlags a construction-only property, to allow
7737 subclasses to set them properly.
7739 2008-07-21 Tim Janik <timj@imendio.com>
7741 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7742 insertion position after backspace, so additional digits are appended,
7745 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7747 * src/hildon-pannable-area.c,
7748 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7749 TODO list, it was complete and removed the g_debug and g_print
7752 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7754 Added the movement modes to the hildon-pannable-area, with this
7755 modes the developers can control in which directions the widget
7756 can scroll. They can also connect to signals in order to do
7757 something when that happens, allowing applications scroll. There
7758 is an example uploaded showing how to use it.
7760 * examples/Makefile.am:
7761 * examples/hildon-pannable-area-example-4.c: Added this example of
7762 an application using the modes.
7764 * src/hildon-marshalers.list: Added a new marshaller for the new
7767 * src/hildon-pannable-area.h: Added new enumerations and flags in
7768 order to control the movement modes and the new signals to warn
7769 about the movements in the area.
7771 * src/hildon-pannable-area.c:
7772 (hildon_pannable_axis_scroll),
7773 (hildon_pannable_area_scroll),
7774 (hildon_pannable_area_motion_notify_cb),
7775 (hildon_pannable_area_get_property),
7776 (hildon_pannable_area_set_property),
7777 (hildon_pannable_area_map),
7778 (hildon_pannable_area_class_init),
7779 (hildon_pannable_area_init),
7780 (hildon_pannable_area_jump_to): Added the modes to control the
7781 movement in the widget. We have added properties to control it,
7782 signals to warn about the movements and refactored some code.
7784 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7786 Changes required in order to allow vfast_factor set to zero to
7789 * src/hildon-pannable-area.c:
7790 (hildon_pannable_area_button_press_cb): Changed the condition, it
7791 is required for not allowing click when vfast_factor is zero.
7792 (hildon_pannable_area_timeout): Initialized velocity variables
7793 when we stop moving, it was less than 1 but not zero and we need
7794 to check zero in some situations.
7795 (hildon_pannable_area_class_init): Changed the default value of
7796 the speed factor, now the button_press is just sent in case the
7797 speed is 2 per cent of the max speed.
7798 (hildon_pannable_area_init): Initialization with 0.
7800 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7802 * src/hildon-pannable-area.c,
7803 (hildon_pannable_area_get_topmost): replaced
7804 gdk_window_get_children with gdk_window_peek_children, this way we
7805 do not have to free the list because it is not a copy.
7807 (hildon_pannable_axis_scroll),
7808 (hildon_pannable_area_scroll),
7809 (hildon_pannable_area_timeout),
7810 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7811 two parameters that were only used inside the
7812 hildon_pannable_area_scroll function.
7814 * examples/hildon-pannable-area-example.c,
7815 (get_sawtooth_label): Fixed small memory leak.
7817 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7819 More checks for the case where the overshoot is bigger than the
7822 * src/hildon-pannable-area.c:
7823 (hildon_pannable_draw_vscroll),
7824 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7825 to draw the slider of the scrollbar under the other scrollbar.
7826 (hildon_pannable_area_expose_event): added new checks to control
7827 the drawing of the overshooting area rectangle, in case it is too
7828 big for the area of the widget.
7829 (hildon_pannable_area_size_allocate): add more checks to avoid
7830 setting a position to the child widget outside the area.
7832 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7834 * src/hildon-pannable-area.c
7835 (hildon_pannable_area_size_allocate): Added conditions to control
7836 when overshooting is bigger than the allocated space for the
7837 children, this avoids negative allocations.
7839 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7841 * doc/hildon-docs.sgml
7843 * examples/Makefile.am
7844 * examples/hildon-button-example.c
7846 * src/hildon-button.c
7847 * src/hildon-button.h
7848 * src/hildon.h: Initial version of the new HildonButton widget,
7851 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7853 * src/hildon-pannable-area.c:
7854 (hildon_pannable_area_button_press_cb),
7855 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7856 (hildon_pannable_area_motion_notify_cb),
7857 (hildon_pannable_area_button_release_cb),
7858 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7859 (hildon_pannable_area_jump_to_child):
7861 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7863 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7865 * examples/Makefile.am
7866 * examples/hildon-pannable-area-touch-grid-example.c
7867 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7868 the Hildon Touch List and Hildon Touch Grid using the
7869 HildonPannableArea widget.
7871 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7873 * src/hildon-pannable-area.c,
7874 (hildon_pannable_area_button_press_cb),
7875 (hildon_pannable_area_refresh),
7876 (hildon_pannable_area_scroll),
7877 (hildon_pannable_area_motion_notify_cb),
7878 (hildon_pannable_area_button_release_cb),
7879 (hildon_pannable_area_expose_event),
7880 (hildon_pannable_area_add),
7881 (hildon_pannable_area_remove),
7882 (hildon_pannable_area_realize),
7883 (hildon_pannable_area_size_allocate),
7884 (hildon_pannable_area_class_init),
7885 (hildon_pannable_area_init),
7886 (hildon_pannable_area_scroll_to_child),
7887 (hildon_pannable_area_jump_to_child): Fixed the problem of
7888 removing the child from the GtkBin, we have rearranged the widget
7889 hierarchy, now there is no GtkAlignment which was not doing
7890 anything interesting but breaking some of the assumptions of
7891 GtkContainer. Now developers if they want to add a GtkAlignment
7892 they could, but it is not inside the area.
7894 We had to review the whole allocation/expose process, now it is
7895 improved and we save at least three signals which would be saving
7896 some time when rendering the widget. The allocation of the
7897 scrollbars is now made in the allocate method as usual.
7899 We have also added some conditions in order to control when there
7900 is no child of the pannable area. Maybe we will need more work
7903 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7905 * src/hildon-pannable-area.c,
7906 (hildon_pannable_area_dispose): Released the fade-out timeout when
7907 disposing the widget.
7909 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7911 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7912 zero, we are going to use that property in order to deactivate the
7914 (hildon_pannable_axis_scroll),
7915 (hildon_pannable_area_size_allocate): Added conditions to control
7916 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7917 call, now it is called in all situations and we can remove calls
7918 in the allocate method.
7919 (hildon_pannable_area_map): Control the situation when
7920 overshoot_max is zero, we do not need the timeout.
7921 (hildon_pannable_area_class_init): Added documentation in order to
7922 point out that setting zero to overshoot_max means deactivate
7925 NOTE: removed trailing whitespaces from my previous comments of
7928 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7930 * src/hildon-pannable-area.c
7931 (hildon_pannable_area_get_property),
7932 (hildon_pannable_area_set_property),
7933 (hildon_pannable_area_map),
7934 (hildon_pannable_area_class_init),
7935 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7936 to cause the widget give a hint about its panning abilities upon
7939 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7941 * src/hildon-pannable-area.c: Several documentation improvements.
7943 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7945 * src/hildon-program.c
7946 * src/hildon-stackable-window.c: Update documentation.
7948 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7950 * src/hildon-stackable-window.c (get_previous_window_if_last):
7951 Renamed get_last_window()
7952 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7953 (hildon_stackable_window_unset_program):
7955 (get_previous_window_if_last):
7956 Detect if the window hasn't been added to a HildonProgram.
7958 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7960 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7962 * src/hildon-pannable-area.c
7963 (hildon_pannable_area_button_press_cb),
7964 (hildon_pannable_axis_scroll),
7965 (hildon_pannable_area_scroll),
7966 (hildon_pannable_area_timeout),
7967 (hildon_pannable_calculate_vel_factor),
7968 (hildon_pannable_area_get_property),
7969 (hildon_pannable_area_set_property),
7970 (hildon_pannable_area_class_init),
7971 (hildon_pannable_area_init),
7972 (hildon_pannable_area_scroll_to),
7973 (hildon_pannable_area_jump_to),
7974 (hildon_pannable_area_scroll_to_child),
7975 (hildon_pannable_area_jump_to_child):
7976 * src/hildon-pannable-area.h: Added the new API functions:
7977 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7978 hildon_pannable_area_scroll_to_child,
7979 hildon_pannable_area_jump_to_child
7982 * examples/Makefile.am
7983 * examples/hildon-pannable-area-example-2.c
7984 * examples/hildon-pannable-area-example-3.c: Added these two new
7985 examples in order to test and show how the new APIs work.
7987 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7989 * examples/hildon-stackable-window-example.c (new_window):
7990 * src/Makefile.am (noinst_HEADERS):
7991 * src/hildon-program.c (hildon_program_go_to_root_window):
7992 * src/hildon-program.h:
7993 * src/hildon-stackable-window-private.h:
7994 * src/hildon-stackable-window.c:
7995 * src/hildon-stackable-window.h:
7996 Create hildon-stackable-window-private.h
7997 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7999 * examples/hildon-app-menu-example.c (create_menu):
8000 * examples/hildon-hvolumebar-insensitive-example.c (main):
8001 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8002 * examples/hildon-toolbar-seekbar-example.c (main):
8003 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8004 * src/hildon-banner.c (hildon_banner_set_property):
8005 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8006 Fix compilation warnings
8008 * src/hildon-window.c:
8011 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8013 * src/hildon-stackable-window.c
8014 (hildon_stackable_window_unset_program):
8015 Calculate correctly whether to show the previous window if the
8016 last one is removed from the stack.
8017 (hildon_stackable_window_go_to_root_window):
8018 Send delete events starting from the topmost window.
8019 Stop if one of the windows is not destroyed.
8021 (hildon_stackable_window_delete_event)
8022 (hildon_stackable_window_class_init):
8023 Ignore the delete event if the window is not the topmost one.
8025 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8027 * src/hildon-pannable-area.c
8028 (hildon_pannable_area_expose_event): Fixed a problem when
8029 selecting the background color of the scrollbars.
8031 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8033 * examples/hildon-stackable-window-example.c
8034 * src/hildon-stackable-window.c
8035 * src/hildon-stackable-window.h
8036 hildon_stackable_window_go_home() renamed to
8037 hildon_stackable_window_go_to_root_window()
8038 Send delete events to windows rather than closing them with
8039 gtk_widget_destroy()
8041 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8043 * src/hildon-pannable-area.c
8044 (hildon_pannable_area_button_release_cb): Fix overshooting in
8047 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8049 * src/hildon-pannable-area.c
8050 (hildon_pannable_area_init): Initially show the scroll indicators.
8051 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8053 Add initial effect showing the widget is pannable.
8055 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8057 * src/hildon-pannable-area.c
8058 (hildon_pannable_area_class_init)
8059 (hildon_pannable_area_set_property)
8060 (hildon_pannable_area_get_property)
8061 (hildon_pannable_area_button_press_cb):
8062 New 'velocity_fast_factor' property to decide which velocity is
8065 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8067 * src/hildon-pannable-area.c
8068 (hildon_pannable_draw_hscroll)
8069 (hildon_pannable_draw_vscroll):
8070 Use float variables to calculate the size of the scrollbars to
8071 avoid error propagation and resizing during scrolling.
8073 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8075 * src/hildon-pannable-area.c
8076 (hildon_pannable_draw_vscroll)
8077 (hildon_pannable_draw_hscroll):
8078 Define a minimum size for the scroll bars
8080 * src/hildon-stackable-window.c
8081 (hildon_stackable_window_go_home): Fix compilation warning
8082 (get_last_window): Minor optimizations
8083 (hildon_stackable_window_class_init): Fix initialization of
8086 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8088 * src/hildon-stackable-window.c: Fixed typos in doc
8090 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8092 * src/hildon-pannable-area.c
8093 (hildon_pannable_area_scroll):
8094 Calculate here whether we need to scroll instead of using the booleans
8095 that tell us whether to /draw/ the scrolling bars.
8097 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8099 * src/hildon-app-menu.h
8101 * src/hildon-app-menu.c
8102 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8103 multiple filter groups related code and API. Now we support only
8105 * examples/hildon-app-menu-example.c:
8107 Update to reflect API changes.
8109 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8111 * src/hildon-stackable-window.c
8112 (hildon_stackable_window_class_init):
8113 Add hildon_stackable_window_realize.
8114 (hildon_stackable_window_realize):
8115 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8116 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8117 to apply theming and behavior specific to HildonStackableWindow
8120 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8122 * src/hildon-note.c (hildon_note_button_release):
8123 Close information notes also when tapping on them
8125 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8127 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8128 ELASTICITY, refactor and review, fix some issues with drawing
8131 * src/hildon-pannable-area.c:
8132 (hildon_pannable_area_button_press_cb): removed the conditions to
8133 avoid clicks when overshooting. It is not required
8135 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8136 define. Refatored and reviewed the code, now we do not need to
8137 manage velocity in motion_notify.
8139 (hildon_pannable_area_motion_notify_cb): We have moved the code
8140 that controls the area_scroll to the axis_scroll function and get
8141 rid of duplicated code.
8143 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8145 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8147 (hildon_pannable_draw_vscroll),
8148 (hildon_pannable_draw_hscroll): Fixed the problems with the
8149 scrollbar drawing, now we do not use two surfaces, it is easier
8150 and saves resources.
8152 (hildon_pannable_area_get_property): Style modification.
8154 (hildon_pannable_area_class_init): Changed some default values.
8156 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8158 * src/hildon-stackable-window.c: Fix some typos in the
8161 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8163 * src/hildon-dialog.c:
8164 Change indentation style
8167 (hildon_note_button_release):
8168 Use root coordinates to check if the release event happened
8171 * src/hildon-app-menu.c
8172 (hildon_app_menu_button_release):
8173 Remove unnecessary check
8175 * examples/hildon-app-menu-example.c
8177 Add cast to fix warning
8179 * src/hildon-app-menu.c
8180 (hildon_app_menu_class_init):
8181 New inner-border style property.
8182 Set all default spacings to 16
8183 (hildon_app_menu_init):
8184 Use vertical-spacing to set the space between filter buttons and
8185 regular menu buttons.
8186 Set the default container border using the inner-border value.
8188 * examples/hildon-app-menu-example.c
8190 Don't set the menu border explicitly, now we have the inner-border
8191 style property for that.
8193 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8195 * src/hildon-app-menu.c (hildon_app_menu_init):
8196 Make the window modal
8198 * src/hildon-note.c (hildon_note_map)
8199 * src/hildon-app-menu.c (hildon_app_menu_map):
8200 Destroy the grab window if we're unable to grab the pointer
8202 * src/hildon-app-menu-private.h
8203 * src/hildon-app-menu.c
8204 (hildon_app_menu_init, hildon_app_menu_finalize)
8205 (hildon_app_menu_map, hildon_app_menu_unmap)
8206 (hildon_app_menu_button_release)
8207 (grab_transfer_window_get):
8208 Bring back the grab window
8209 (hildon_app_menu_realize):
8210 Decorate the window, set WM hint for Matchbox
8212 * src/hildon-note.c (hildon_note_realize):
8213 * src/hildon-banner.c (hildon_banner_realize):
8214 Add WM hints for Matchbox
8216 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8218 * src/hildon-app-menu-private.h
8219 * src/hildon-app-menu.c
8220 (hildon_app_menu_init, hildon_app_menu_finalize)
8221 (hildon_app_menu_map, hildon_app_menu_unmap)
8222 (hildon_app_menu_button_release):
8223 Remove the grab window, it's not needed anymore
8225 * src/hildon-program.c
8226 Fixed typo in documentation
8228 * src/hildon-app-menu.h
8229 * src/hildon-app-menu.c
8230 * examples/hildon-app-menu-example.c
8231 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8233 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8236 Added new transfer_window and close_if_pressed_outside private
8238 (hildon_note_rebuild):
8239 Don't add a cancel button to the information note. It will be
8240 closed when tapping outside
8241 Remove the comment about the OK button in the documentation
8242 (hildon_note_realize):
8243 Set the notification type hint
8244 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8245 Grab/ungrab pointer and keyboard if the note has to be closed when
8247 (hildon_note_button_release):
8248 Close the note when tapping outside (if applicable)
8250 * src/hildon-app-menu.c
8251 Grab/ungrab pointer and keyboard on map/unmap
8252 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8253 Close the menu on button release, not button press
8255 * src/hildon-banner.c
8256 (hildon_banner_set_property)
8257 (hildon_banner_check_position):
8258 Make the banner use the full width of the screen
8259 (hildon_banner_show_information)
8260 (hildon_banner_show_information_with_markup):
8261 Don't display an icon by default
8263 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8265 Added fading scrollbars and adapted all the overshooting code to
8266 horizontal scrolling. We have also fixed bugs with overshooting
8267 and current fading implementation.
8269 * src/hildon-pannable-area.c
8270 (hildon_pannable_area_scroll_indicator_fade): Time out function
8271 used to change the transparency of the scrollbars.
8273 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8274 control and fixed a problem with fading, we now remove the fade
8275 timeout before adding a new one.
8277 (hildon_pannable_axis_scroll):
8278 (hildon_pannable_area_scroll):
8279 (hildon_pannable_area_timeout): Added this functions so we can use
8280 the scroll code both for vertical and horizontal.
8282 (hildon_pannable_area_motion_notify_cb):
8283 (hildon_pannable_area_button_release_cb): Added the horizontal
8284 scrolling control, fixed a problem with the overshooting timeout.
8286 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8287 painting of the scrolls.
8289 (hildon_pannable_draw_vscroll):
8290 (hildon_pannable_draw_hscroll):
8291 (hildon_pannable_area_expose_event):
8292 Draw both scrollbars and rectangles in the overshooting area.
8294 (hildon_pannable_area_get_property):
8295 (hildon_pannable_area_set_property):
8296 Modified the overshoot property to overshoot_max
8298 (hildon_pannable_area_map):
8299 Replaced the comments symbols.
8301 (hildon_pannable_area_size_allocate):
8302 (hildon_pannable_area_class_init):
8303 (hildon_pannable_area_init): Added horizontal scroll, fading
8304 effect properties, fixed a problem when overshooting in the bottom
8307 * examples/hildon-pannable-area-example.c:
8308 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8309 looks better in the example.
8311 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8313 * src/hildon-window.c
8314 * src/hildon-window.h
8315 (hildon_window_class_init)
8316 (hildon_window_unset_program)
8317 (hildon_window_unset_program_real):
8318 Make unset_program a virtual function
8320 * src/hildon-stackable-window.c
8321 * src/hildon-stackable-window.h
8322 Added hildon_stackable_window_go_home()
8324 * examples/Makefile.am
8325 * examples/hildon-stackable-window-example.c
8326 HildonStackableWindow example
8328 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8330 * hildon-pannable-area.c: Added the overshoot property and removed
8331 the OVERSHOOT define. Fixed an indent style error.
8332 (hildon_pannable_area_motion_notify_cb):
8333 (hildon_pannable_area_get_property):
8334 (hildon_pannable_area_set_property): Add overshoot property.
8336 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8339 (hildon_pannable_area_class_init): Installed the new property.
8341 * hildon-pannable-area-example.c: Added a sawtooth function, this
8342 way it is easier to check the movement in the pannable.
8343 (get_sawtooth_label): Added this function.
8344 (main): Now we get the labels from the new get_sawtooth_label
8347 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8349 * src/hildon-app-menu.h
8350 * src/hildon-app-menu.c
8351 Renamed API variables for consistency
8353 (hildon_app_menu_popup): Use also the default window size to
8354 decide where to place the menu
8356 (hildon_app_menu_init, hildon_app_menu_class_init): New
8357 external-border style property
8359 2008-05-26 Michael Natterer <mitch@imendio.com>
8361 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8362 widget_class->tap_and_hold_setup signal slot doesn't exist any
8363 longer, stop overriding it.
8365 (hildon_time_editor_init): g_signal_connect() to the
8366 tap-and-hold-setup signal instead.
8368 (hildon_time_editor_entry_keypress): add cast to fix warning.
8370 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8372 * doc/hildon-docs.sgml
8374 * examples/Makefile.am
8375 * examples/hildon-app-menu-example.c
8377 * src/hildon-app-menu-private.h
8378 * src/hildon-app-menu.c
8379 * src/hildon-app-menu.h
8381 New HildonAppMenu widget
8383 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8385 Rearranged the inheritance of the pannable area, now it inherits
8386 from GtkBin. This will allow us to control the event_window and
8387 the allocation process of the widget, required for some effects.
8389 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8390 GtkBin structures. * src/hildon-pannable-area.c: Added the
8391 event_window variable.
8392 (hildon_pannable_area_button_press_cb):
8393 (hildon_pannable_area_button_release_cb):
8394 (hildon_pannable_area_motion_notify_cb):
8395 Changed the signature of the method, now we override the event
8396 callback instead of connecting to the signal.
8398 (hildon_pannable_area_realize):
8399 (hildon_pannable_area_unrealize):
8400 (hildon_pannable_area_map):
8401 (hildon_pannable_area_unmap):
8402 (hildon_pannable_area_size_allocate):
8403 Added functions to control the widget construction. We add a
8404 INPUT_ONLY window and we put it over the widgets inside the
8405 container, this event_window handles the events.
8407 (hildon_pannable_area_class_init):
8408 Replaced the signal connections with overrides of the event
8411 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8413 Bouncing effect added when touching the borders, you can change
8414 the elasticity of the border changing the ELASTICITY define.
8416 * src/hildon-pannable-area.c: Added ELASTICITY define.
8417 (hildon_pannable_area_timeout): Added inverse velocity when
8418 touching the border of the child widget, that causes a bounce.
8420 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8422 Improved performance, we now do not go to the X server in order to
8423 get the list of window children. Apparently the effect is the
8424 same, we have to be careful and check if this breaks something in
8427 * src/hildon-pannable-area.c:
8428 (get_ordered_children): Removed this function.
8429 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8430 the children windows function with gdk_window_get_children.
8432 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8434 * src/hildon-pannable-area.c:
8435 (hildon_pannable_area_dispose): Fixed a crash when closing the
8436 window and kinetics is activated.
8438 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8440 * src/hildon-pannable-area.h
8441 * src/hildon-pannable-area.c
8442 Changed indentation style to meet the one used in Hildon
8444 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8446 Reviewed the interaction of the AUTO mode, now we use the time
8447 attribute of the events and calculate the velocity in the motion,
8448 doing a gimp like calculation. The velocity is calculated in each
8449 motion event using the last velocity and the current one, the
8450 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8452 * src/hildon-pannable-area.c: Replaced the time based algorithm
8454 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8455 timeout for the AUTO mode when we are still moving the cursor. We
8456 added also the velocity calculation in this function.
8457 (hildon_pannable_area_button_release_cb): launch the timeout in
8458 case we are in AUTO mode. There are still some constants here that
8459 come from the old implementation that should be reviewed and
8462 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8464 * doc/hildon-docs.sgml
8467 * src/hildon-stackable-window.c
8468 * src/hildon-stackable-window.h
8470 New HildonStackableWindow widget
8472 * examples/hildon-dialog-example.c
8473 * examples/hildon-pannable-area-example.c
8476 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8478 * src/hildon-dialog.c
8479 (hildon_dialog_new_with_buttons): New constructor.
8481 * examples/hildon-dialog-example.c
8482 (main): Update the example to use the new
8483 hildon_dialog_new_with_buttons().
8485 * examples/hildon-pannable-area-example.c
8486 (main): Update example.
8488 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8490 * doc/hildon-docs.sgml
8492 Added HildonPannableArea to the documentation.
8494 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8496 * doc/visual_index.xml
8497 Fix reference to HildonLoginDialog in documentation
8499 * doc/hildon-docs.sgml
8501 * examples/Makefile.am
8502 * examples/hildon-dialog-example.c
8504 * src/hildon-dialog.c
8505 * src/hildon-dialog.h
8507 New HildonDialog widget.
8509 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8511 * src/hildon-pannable-area.c
8512 Merge latest changes (r4318, r4342) from libmokoui trunk
8514 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8516 * examples/Makefile.am
8517 * examples/hildon-pannable-area-example.c
8519 * src/hildon-pannable-area.c
8520 * src/hildon-pannable-area.h
8522 New HildonPannableArea widget.
8524 2008-04-15 18:05:19 <timj@imendio.com>
8526 * src/hildon-banner.c: revert the recent change, that introduced
8527 gtk_window_present() calls. this reopens:
8528 Bug 78481 - [freetest] information banners are hidden under browser menu
8529 But resolves another variant of:
8530 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8532 2008-04-15 13:21:13 <timj@imendio.com>
8534 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8535 recreated its layout, spotted by Kris. this fixes all remaining
8536 artefacts and stability issues with the banner code. in particular:
8537 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8539 2008-04-14 16:52:59 <timj@imendio.com>
8541 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8542 operating on unrealized widgets, fixes:
8543 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8545 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8547 2008-04-09 Kristian Rietveld <kris@imendio.com>
8549 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8550 makes banner disappear.
8551 Fixes: NB#79182: info banner flickering with certain message lengts.
8553 * src/hildon-banner.c (hildon_banner_constructor),
8554 (hildon_banner_init), (hildon_banner_set_text),
8555 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8556 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8557 FALSE, reset size requests of label and banner,
8558 (force_to_wrap_truncated): when the text is too wide, always enforce
8559 the maximum possible width instead of recalculating it from the
8560 layout; enforce the maximum banner height of 3 lines,
8561 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8562 nicer wrapping and no truncated chars if space gets tight.
8564 * src/hildon-banner-private.h: add has_been_wrapped and
8565 has_been_truncated fields.
8567 2008-04-07 Sven Herzberg <sven@imendio.com>
8569 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8570 local values in hildon_date_editor_size_allocate
8572 * src/hildon-date-editor.c: moved the real allocation code into the
8575 2008-04-07 Sven Herzberg <sven@imendio.com>
8577 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8578 local values in hildon_date_editor_size_allocate
8580 * src/hildon-date-editor.c: merged the two if() branches together
8582 2008-04-07 Sven Herzberg <sven@imendio.com>
8584 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8585 local values in hildon_date_editor_size_allocate
8587 * src/hildon-date-editor.c: changed the arguments of the if()
8590 2008-04-07 Sven Herzberg <sven@imendio.com>
8592 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8593 local values in hildon_date_editor_size_allocate
8595 * src/hildon-date-editor.c: split the calculation of the allocation
8596 from the real allocation
8598 2008-03-27 Michael Natterer <mitch@imendio.com>
8600 Fixes: NB#81696: The passcode is not overwritten even after
8603 * src/hildon-code-dialog.c
8604 (hildon_code_dialog_button_clicked)
8605 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8606 because that doesn't overwrite selected text. Instead, emit the
8607 "commit" signal on the entry's im_context so the entry's normal
8608 insert logic is triggered. Set the cursor to the end of the entry
8609 after each insert operation so that we *only* insert in the middle
8610 of the text if something was selected.
8612 2008-03-27 Michael Natterer <mitch@imendio.com>
8614 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8615 selector cannot be opened
8617 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8618 when the popup color selector is created. Please connect to this
8619 signal in order to set the dialog's help ID.
8621 2008-03-25 Sven Herzberg <sven@imendio.com>
8623 Fixes: MB#1212: Hide info banners (infoprints) on click
8625 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8626 extracted the close event simulation into an extra function
8627 (hildon_banner_button_press_event): simulate a close event and destroy
8628 the widget if the event wasn't handled
8629 (hildon_banner_class_init): added the button_press_event handler
8630 (hildon_banner_init): added button-press events to the widget
8632 2008-03-25 Sven Herzberg <sven@imendio.com>
8634 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8635 Patch from: Mohammad Anwari <mdamt@maemo.org>
8637 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8638 instead of the right in RTL mode
8639 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8640 breadcrumb button list in RTL mode
8641 * src/hildon-caption.c: mirror the appearance of the caption widget in
8643 * src/hildon-date-editor.c: mirror appearance of the date editor in
8645 * src/hildon-time-editor.c: mirror appearance of the time editor in
8647 * src/hildon-window.c: fix the position of the popup in RTL mode
8649 2008-03-25 Sven Herzberg <sven@imendio.com>
8651 Amendment to the fix of NB#22072. Fix compilation.
8653 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8655 2008-03-19 Sven Herzberg <sven@imendio.com>
8657 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8660 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8661 timeout id properly when the timeout will disappear this leaves no
8662 artifacts around in the destroy(); there will only be the timeout
8663 created by hildon_banner_ensure_timeout() and adding a new timeout
8664 will also work if the timeout gets removed because the timeout_handler
8667 2008-03-19 Michael Natterer <mitch@imendio.com>
8669 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8671 * src/hildon-volumebar.c
8672 * src/hildon-vvolumebar.c
8673 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8674 the widget becomes focussable at all.
8676 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8677 set the focus to wither the mute button or the volumebar.
8679 Remove own "can-focus" property and instead listen to
8680 notify::can-focus in order to update the widget's state.
8682 Implement GtkWidget::focus() and make sure we can also *leave* the
8683 widget, not only enter it, depending on volumebar orientation and
8684 requested focus direction.
8686 Clean up set_mute() to cooperate nicely with all the above.
8688 2008-03-04 Michael Natterer <mitch@imendio.com>
8690 Fixes: NB#78481: information banners are hidden under browser menu
8692 * src/hildon-banner.c: call gtk_window_present() on the banners so
8693 they are risen if they are already visible.
8695 2008-03-03 Sven Herzberg <sven@imendio.com>
8697 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8699 * examples/hildon-window-menu-example.c: (main): extended the window
8700 menu example to serve as a testcase for automatically added
8701 accelerator groups, too
8702 * src/hildon-window.c: (hildon_window_add_accel_group),
8703 (hildon_window_set_menu): added patch by Tommi Komulainen
8705 2008-03-03 Sven Herzberg <sven@imendio.com>
8707 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8709 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8710 knowledge about the border allocators used within GTK+
8712 2008-02-26 Sven Herzberg <sven@imendio.com>
8714 Fixes: MB#2981: Build with asserts broken
8716 * src/hildon-date-editor.c,
8717 * src/hildon-number-editor.c,
8718 * src/hildon-time-editor.c,
8719 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8720 the proper GType instance check
8722 2008-02-25 Sven Herzberg <sven@imendio.com>
8724 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8726 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8727 * examples/hildon-window-menu-example.c: (main): explicitly show
8729 * src/hildon-window.c:
8730 (hildon_window_set_main_menu): moved most of the code from set_menu()
8731 to this place; skipped the call to gtk_widget_show_all(); also didn't
8732 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8733 (hildon_window_set_menu): removed most of the code, just keep the
8734 questionable gtk_widget_show_all()
8735 * src/hildon-window.h: added the new function and deprecate the old
8738 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8744 * debian/changelog: Updating.
8746 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8749 * pkgconfig/Makefile.am:
8750 * pkgconfig/hildon.pc.in:
8753 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8754 use newly created API_MAJOR_VERSION.
8756 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8762 * debian/changelog: Updating.
8764 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8766 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8768 Add outer_border style property, we use it but don't define it (!).
8772 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8774 * examples/hildon-bread-crumb-trail-example.c (main):
8778 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8780 Fix logic for the bread crumb trail node removal.
8784 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * debian/changelog: Updating.
8792 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8794 Patch by Alejandro to get/set passwords dialogs accesibility.
8796 * hildon-1/src/hildon-get-password-dialog.c:
8797 * hildon-1/src/hildon-set-password-dialog.c:
8798 Set atk_set_name to the passwd entries in order to allow
8799 accessibility by name on this entries.
8801 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * debian/control: Updating gtk dep.
8808 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8810 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8811 USE_MAEMO_GTK is enabled.
8813 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8815 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8816 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8818 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8824 * debian/changelog: Updating.
8826 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8828 * examples/Makefile.am:
8829 * examples/hildon-logical-color-example.c:
8830 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8831 applied + adding a test case. Fixes: NB#71660.
8833 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8835 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8836 to be visible, fixes warning on map for windows without toolbars.
8838 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8840 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8841 2.11.0, add a check for that besides the MAEMO_GTK check.
8843 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * debian/changelog: Updating.
8851 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8853 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8854 visibility. Fixes: NB#70842 and MB#615.
8856 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8858 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8859 set the separator as no-show-all so it doesn't unintentionally appear when
8860 someone does a show_all.
8862 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8864 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8865 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8866 toplevel item. Fixes: NB#62031
8868 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8870 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8871 fix the name of the function in the docs.
8873 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8879 * debian/changelog: Updating.
8881 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8883 * examples/hildon-banner-long-example.c: Adding a test-case for long
8886 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8888 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8890 * src/hildon-color-chooser-dialog.c:
8891 * src/hildon-color-chooser.c:
8892 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8893 memory leaks in font selector and color selector. Fixes: NB#70499 and
8896 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8898 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8900 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8903 little bit bigger. Fixes: #NB63694.
8905 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * debian/changelog: Updating.
8913 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * doc/hildon-docs.sgml:
8917 * doc/images/bread-crumb-trail.png:
8918 * doc/images/calendar-popup.png:
8919 * doc/images/caption.png:
8920 * doc/images/code-dialog.png:
8921 * doc/images/color-button.png:
8922 * doc/images/color-chooser-dialog.png:
8923 * doc/images/color-chooser.png:
8924 * doc/images/controlbar.png:
8925 * doc/images/date-editor.png:
8926 * doc/images/font-selection-dialog.png:
8927 * doc/images/get-password-dialog.png:
8928 * doc/images/hvolumebar.png:
8929 * doc/images/login-dialog.png:
8930 * doc/images/note.png:
8931 * doc/images/number-editor.png:
8932 * doc/images/range-editor.png:
8933 * doc/images/seekbar.png:
8934 * doc/images/set-password-dialog.png:
8935 * doc/images/sort-dialog.png:
8936 * doc/images/time-editor.png:
8937 * doc/images/time-picker.png:
8938 * doc/images/vvolumebar.png:
8939 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8940 Adding the bread-crumb-trial and helpers to the documentation.
8942 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8944 * examples/hildon-find-toolbar-example.c:
8945 * src/hildon-find-toolbar.c:
8946 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8947 actually continue firing the other handlers if connected. Adding a new
8949 hildon_find_toolbar_get_last_index that gets the index of the most
8950 recently added (last) item. Fixes: NB#52301.
8952 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8955 behaviour. Fixes: NB#68610.
8957 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8959 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8962 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8964 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8965 when realizing the banner. Should make the infonbanner effect a bit more
8968 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-volumebar.c:
8971 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8972 hildon_volumebar_set_range_insensitive_message and
8973 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8975 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8977 * src/hildon-window.c: Fixing the border freeing on destroy.
8979 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8981 * src/hildon-code-dialog-private.h:
8982 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8983 kw keyboard support in HildonCodeDialog.
8985 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8991 * debian/changelog: Updating.
8993 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * src/hildon-date-editor.c:
8996 * src/hildon-number-editor.c:
8997 * src/hildon-private.c:
8998 * src/hildon-private.h:
8999 * src/hildon-time-editor.c:
9000 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9001 handling in subclassed composite widgets. Fixes: NB#66628.
9003 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9006 from destroy_ callback as it introduces problems in async dbus signal
9007 handlers. Fixes NB#66673.
9009 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * examples/hildon-hvolumebar-example.c:
9012 * src/hildon-volumebar.c: Improving the focus handling in the
9013 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9014 set_property accessor so that "mute" property can be actually set. I'm
9015 scared that nobody noticed it's totally broken.
9017 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9022 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9024 * src/hildon-calendar.c:
9025 * src/hildon-number-editor.c:
9026 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9027 matches the spec of 6 chars per second. Fixes: NB#60489.
9029 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9032 gtk_style_lookup_color sometime returns FALSE even though color was
9033 found and values were filled properly. Weird. Removing the warning for the
9036 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9038 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9039 expand vertically. Adding some extra space to the find toolbar buttons to
9040 make them thumbable. Fixes NB#66060.
9042 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9044 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9045 popup with "Ok" and "Cancel". Fixes NB#59299.
9047 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9049 * src/hildon-calendar.c: Process all window updates before executing next
9050 timeout. Fixes: NB#54146.
9052 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9058 * debian/changelog: Updating.
9060 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9062 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9063 the client event and ignore it, since we use the delete event to close
9066 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * src/hildon-helper.c: Remove the bogus warning about color not being
9069 found. Fixes NB#58352.
9071 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * examples/Makefile.am:
9074 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9075 HildonSeekbar widget inside a toolbar.
9077 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9079 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9080 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9081 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9082 don't want to be closed by non-temporary windows on map.
9084 Also use G_DEFINE_TYPE instead of manually typed code.
9086 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9093 * debian/rules: Updating.
9095 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9097 * examples/Makefile.am:
9098 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9099 bug NB#61128. Strangely it works.
9101 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9103 * src/hildon-date-editor.c: When the date editor entry has been changed
9104 but the numbers of characters < max, turn off the skip validation flag.
9105 Prevents a situation when we enter first a valid year and later re-write
9106 it with an invalid one. Fixes NB#60154.
9108 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9111 code dialog. Fixes NB#64355.
9113 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9115 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9116 switching the page. Fixes NB#49374.
9118 * examples/Makefile.am:
9119 * examples/hildon-wizard-dialog-example.c: Adding an example for
9120 HildonWizardDialog that shows how to handle manual sensitivity setting on
9123 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * src/hildon-version.h.in:
9128 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9130 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9132 * src/hildon-volumebar.c: Updating the docs.
9134 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * debian/changelog: Updating.
9142 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * src/hildon-find-toolbar.c:
9145 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9146 selected item: hildon_find_toolbar_set_active,
9147 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9148 hildon_find_toolbar_get_active_iter . They correspond to respective
9149 GtkComboBox functions.
9151 * examples/Makefile.am:
9152 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9155 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * examples/Makefile.am:
9158 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9161 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9162 when font size > 32 and we pack a focusable widget inside. Actually using
9163 the default response would work too, but since we don't show default
9164 response state in any way (no theming) it would not be visible to the
9165 user. Fixes NB#63430.
9167 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * src/hildon-date-editor.c: Adding the missing variable setter in the
9170 set_property handler. Fixes NB#54182.
9172 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9174 * src/hildon-window.h: Changing the long key press time from 1500ms to
9175 800ms as requested in NB#63700. I have a bad feeling about this, let's
9176 see... Fixes NB#63700.
9178 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9180 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9181 hildon_time_picker_map, hildon_time_picker_realize,
9182 hildon_time_picker_style_set): Split the contents of map to more
9183 appropriate functions; set window decorations on realize and update
9184 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9186 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9191 * debian/changelog: Updating.
9193 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9195 * src/Makefile.am: fixed installation of the header files
9197 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9203 * debian/changelog: Updating.
9205 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9207 * configure.ac: Removing some remaining of --enable-xan.
9209 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9211 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9212 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9214 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9215 2.10.12-osso6 because the move-focus signal needs to be available in
9218 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9220 * examples/Makefile.am:
9221 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9222 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9223 fine. Prolly NB#61128 is fixed now.
9225 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9227 * src/hildon-volumebar.c:
9228 * src/hildon-volumebar.h: Adding the
9229 hildon_volumebar_set_range_insensitive_message and
9230 hildon_volumebar_set_range_insensitive_messagef functions to set
9231 insensitive message on the slider of the volumebar. Fixes NB#61129.
9233 * examples/Makefile.am:
9234 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9235 test the new insensitive messsage functionality on HildonVolumebar.
9237 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9239 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9242 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9244 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9245 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9246 button on after clearing the trail.
9248 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9252 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9254 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9255 by splitting the installed headers in generated and non-generated groups. Use
9256 only the non-generated headers to create the hildon-enum-types.h file.
9258 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9260 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9262 * src/hildon-window.c: Hide the window before performing the destroy.
9263 Should make the app closing a little tiny bit more snappy.
9265 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9267 * src/hildon-seekbar.c: add gtkrange.h header
9268 * src/hildon-caption.c: remove unused variable
9270 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9272 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9275 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9281 * debian/changelog: Updating.
9283 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9285 * src/hildon-window.c (hildon_window_window_state_event,
9286 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9287 escape timeout on focus-out-event rather than notify::is-topmost; the
9288 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9290 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9292 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9293 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9295 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9297 * src/hildon-window: actually, you need to use the macro always, there's
9298 no private pointer in the instance structure. We should have cleaned this up
9299 when we had the chance...
9301 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9303 * src/hildon-window.c: do not get the private date from HildonWindow before
9304 it passes the g_return_if_fail check. Once it's passed the test, there's no
9305 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9306 if you are only going to access the data once. Whitespace cleanups.
9308 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9310 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9311 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9313 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * debian/changelog: Updating.
9321 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9323 * src/hildon-window.c: When destroying the window, remove (if exists) the
9324 escape timeout handler. Fixes #NB59276.
9326 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * src/hildon-banner.c: When realizing the widget, set the window
9329 transiency. Setting the transiency in the gobject constructor is not
9330 good, as the widget is not realized at that point. Fixes: #NB56624.
9332 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9334 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9335 Add padding for future expansions.
9337 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9339 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9340 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9341 will fake an activation on the previous to the last item of the trail, so
9342 the effect can be overrided by the developer as usual.
9343 Also change the callback for the back button to do the same thing, so its
9344 effect can be overrided too. Fixes: NB#58982
9346 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9348 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9349 HildonCaption. Fixes NB#52379.
9351 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9353 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9354 the internal state of the trail after the user has had the chance of executing
9355 his handler for the signal. Specifically, it may happen that the activated button
9356 is removed and the user still lets the default handler run. This would segfault
9359 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9361 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9362 scrollbar to the preview dialog. Fixes NB#54147.
9364 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9367 max/min year properties can be altered, so the client can modify it
9368 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9370 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9372 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9373 hildonlike by default. Fixing a problem with disappearing arrows when
9374 scrolling through months and years. Fixes NB#54127.
9376 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9378 * examples/hildon-date-editor-example.c: Adding error callback to the date
9381 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9387 * configure.ac: Updating.
9389 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9391 * configure.ac: Adding a special '--enable-xan' configure option that
9392 turns off the -Werror compilation setting. Usefull for development.
9394 * src/hildon-calendar.c:
9395 * src/hildon-number-editor.c:
9396 * src/hildon-time-picker.c: Adding the 5* multiplier to
9399 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9401 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9402 instead of g_object_ref + gtk_object_sink.
9404 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9410 * debian/changelog: Updating.
9412 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9414 * src/hildon-color-chooser-dialog.c:
9415 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9416 straight from Tommi labs.
9418 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9420 * examples/hildon-finger-example.c: Correcting the header file path.
9422 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9423 the changed signal. Fixes a small memory leak.
9425 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * src/hildon-banner.c: Importing several usefull fixes from the
9430 ubuntu-mobile branch.
9432 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9434 * examples/Makefile.am:
9435 * examples/hildon-finger-example.c: Adding a finger-checking code
9438 * src/hildon-font-selection-dialog.c: Do not allocate the color
9439 structure using the g_new. Fixes NB#54061.
9441 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9443 * src/hildon-helper.c: Correcting tabs in file.
9445 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9447 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9448 control the visibility of the children.
9450 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9452 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9458 * debian/changelog: Updating.
9460 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9462 * src/hildon-bread-crumb-trail.c:
9463 (hildon_bread_crumb_trail_size_allocate):
9465 Make the back button always a square.
9467 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9469 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9470 from the .c file as it's a private file.
9472 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9474 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9475 uses slightly bigger height.
9477 * src/hildon-font-selection-dialog.c: Adding some checks before
9478 freeing memory in the font selection dialog.
9480 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * src/hildon-font-selection-dialog.c: Adding a small check when
9485 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9486 buttons sensitivity on page switching.
9488 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9490 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9491 internal details of adding a bread crumb to the trail.
9493 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9499 * debian/changelog: Updating.
9501 * src/hildon-bread-crumb-trail.h:
9502 * src/hildon-bread-crumb.h: Changing the API guard to
9503 HILDON_ENABLE_UNSTABLE_API.
9505 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9513 * src/hildon-helper.h: Updating.
9515 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9523 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9527 * src/hildon-helper.h: Small fix to make the package actually compile.
9529 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9531 * src/hildon-bread-crumb-trail.h:
9532 * src/hildon-bread-crumb.h:
9534 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9535 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9537 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9539 * examples/hildon-bread-crumb-trail-example.c:
9541 * src/hildon-bread-crumb-trail.c:
9542 * src/hildon-bread-crumb-trail.h:
9543 * src/hildon-bread-crumb.c:
9544 * src/hildon-bread-crumb.h:
9545 * src/hildon-marshalers.list:
9546 * src/hildon-bread-crumb-widget.c:
9547 * src/hildon-bread-crumb-widget.h:
9549 Slight change in the widget design. The bread crumb trail API is
9550 unchanged, but HildonBreadCrumb is now an interface. A *private*
9551 implementation, hildon-bread-crumb-widget, is provided and used
9552 internally by the trail for the push_text/push_icon functions.
9554 The generic push API is still available, so anyone can implement
9555 and use its own bread crumb widget.
9557 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9559 * debian/rules: Fixing the shlibs.
9561 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * src/hildon-banner.c: Fixing a problem with timed banners having
9564 their parrent destroyed before they are.
9566 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9568 * src/hildon-bread-crumb.c:
9569 * src/hildon-bread-crumb.h:
9571 Make the get_natural_size function a vfunc.
9573 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9575 * src/hildon-bread-crumb.c:
9576 * src/hildon-bread-crumb-trail.c:
9580 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9587 * debian/changelog: Updating for release.
9589 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9591 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9592 don't leak the pango layout.
9594 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9597 * examples/hildon-bread-crumb-trail-example.c:
9601 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9603 * debian/changelog: Removing the bug-fixed entries that were actually
9604 resolved as WONTFIX.
9606 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9609 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9611 * src/hildon-bread-crumb-trail.c:
9612 * src/hildon-bread-crumb-trail.h:
9613 * src/hildon-bread-crumb.c:
9614 * src/hildon-bread-crumb.h:
9618 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9620 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9621 until it's passed the type check.
9623 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9625 * examples/hildon-bread-crumb-trail-example.c
9629 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9631 * examples/Makefile.am
9632 * examples/hildon-bread-crumb-trail-example.c
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
9639 New HildonBreadCrumbTrail widget.
9641 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9643 * src/hildon-range-editor.c (hildon_range_editor_init),
9644 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9645 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9646 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9647 hildon_time_editor_class_init, hildon_time_editor_init),
9648 src/hildon-get-password-dialog.c (invalid_input,
9649 hildon_get_password_set_property, hildon_get_password_get_property,
9650 create_contents, hildon_get_password_dialog_set_max_characters),
9651 src/hildon-set-password-dialog.c (create_contents),
9652 src/hildon-date-editor.c (hildon_date_editor_init),
9653 src/hildon-login-dialog.c (hildon_login_dialog_init),
9654 src/hildon-number-editor.c (hildon_number_editor_init),
9655 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9656 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9657 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9658 configure option and adding the respective checks in the code.
9659 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9660 hildon_calendar_drag_data_received): fixed some build warnings.
9662 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9664 * debian/changelog: A 1.0.0 release notes.