1 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
3 [2.2.0 Release Candidate 1]
6 * configure.ac: Bump version
7 * debian/changelog: updates
9 2009-09-04 Alejandro G. Castro <alex@igalia.com>
11 * hildon/hildon-pannable-area.c,
12 (hildon_pannable_area_init),
13 (hildon_pannable_area_button_press_cb),
14 (hildon_pannable_area_button_release_cb): Added a new acceleration
15 system to help traversing big lists, tuned the stop threshold.
17 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
19 2009-09-04 Alberto Garcia <agarcia@igalia.com>
21 * hildon/hildon-window.h:
22 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
24 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
26 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
30 * configure.ac: bump version
32 * debian/changelog: updates
34 2009-09-04 Alberto Garcia <agarcia@igalia.com>
36 * hildon/hildon-entry.c
37 * hildon/hildon-text-view.c:
40 2009-09-04 Alberto Garcia <agarcia@igalia.com>
42 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
43 Redraw menu when the number of items change.
45 Fixes: NB#131911 (Appmenu does not resize properly, when number of
48 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
50 * hildon/hildon-pannable-area.c:
51 (hildon_pannable_area_launch_fade_timeout),
52 (hildon_pannable_area_motion_event_scroll),
53 (hildon_pannable_area_check_move),
54 (hildon_pannable_area_button_release_cb),
55 (hildon_pannable_area_scroll_to):
57 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
58 area drawing operations, since this is the recommended for drawing
61 Fixes: NB#110894 (In event view containing very large description
62 field, application menu is displayed blank while panning)
63 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
66 2009-09-03 Alberto Garcia <agarcia@igalia.com>
68 * doc/hildon-sections.txt
69 * hildon/hildon-button.c
70 * hildon/hildon-edit-toolbar.c
71 * hildon/hildon-gtk.[ch]
72 * hildon/hildon-main.c
73 * hildon/hildon-program.c
74 * hildon/hildon-stackable-window.c:
77 2009-08-28 Alberto Garcia <agarcia@igalia.com>
79 * hildon/hildon-app-menu.c
80 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
81 Close the menu if it receives a grab-notify signal.
83 Fixes: NB#134533 (UI freezes if we show a dialog with
84 gtk_dialog_run() while a menu is opened)
86 2009-08-27 Alejandro G. Castro <alex@igalia.com>
88 * hildon/hildon-pannable-area.c,
89 (hildon_pannable_area_class_init): Reverted tuning modifications:
90 "Pannign needs to be faster" and "Pannable kinetics in large lists
93 2009-08-26 Alberto Garcia <agarcia@igalia.com>
95 * hildon/hildon-sound.c (hildon_play_system_sound):
96 Set "module-stream-restore.id" to "x-maemo-system-sound" when
99 Fixes: NB#133767 (Information and confirmation note sound should
100 follow system profile setting)
102 2009-08-26 Alejandro G. Castro <alex@igalia.com>
104 * hildon/hildon-pannable-area.c,
105 (hildon_pannable_area_class_init): Added more force and increased
106 the max speed threshold.
108 Fixes: NB#135344 (Pannign needs to be faster)
110 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
112 [Release 2.1.96, this time for real]
115 * debian/changelog: updates
117 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
119 * hildon/hildon-pannable-area.c
120 (hildon_pannable_area_get_topmost): change the computation of the
121 co-ordinates transformed when no one of the children is a topmost
123 Fixes: NB#133252 (Opening any feed item from RSS always opens the
124 first feed item in browser)
126 2009-08-26 Alejandro G. Castro <alex@igalia.com>
128 * hildon/hildon-pannable-area.c,
129 (hildon_pannable_area_remove_timeouts): Adding this new function
130 with the code that removes the timeouts of the widget.
131 (hildon_pannable_area_dispose),
132 (hildon_pannable_area_unrealize): Use the new remove function to
133 stop timeouts when unrealizing and disposing.
134 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
135 calculation to avoid negative values in some cases.
137 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
139 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
141 * examples/hildon-check-button-example.c: (button_toggled_cb):
142 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
143 (hildon_check_button_set_active), (hildon_check_button_new),
144 (hildon_check_button_clicked), (hildon_check_button_class_init):
145 * hildon/hildon-check-button.h:
146 * hildon/hildon-set-password-dialog.c: (create_contents),
147 (hildon_set_password_response_change), (hildon_checkbox_toggled):
149 Revert "Make HildonCheckButton derive from GtkToggleButton"
151 2009-08-21 Alberto Garcia <agarcia@igalia.com>
155 * configure.ac: bump version
157 * debian/changelog: updates
159 2009-08-21 Alberto Garcia <agarcia@igalia.com>
161 * hildon/hildon-check-button.h
162 * hildon/hildon-check-button.c
163 (hildon_check_button_clicked, hildon_check_button_class_init):
164 Make HildonCheckButton derive from GtkToggleButton
165 (hildon_check_button_toggled, hildon_check_button_set_active)
166 (hildon_check_button_get_active):
167 Deprecate unnecessary HildonCheckButton API and use the
168 one from GtkToggleButton instead.
170 * hildon/hildon-set-password-dialog.c (create_contents)
171 (hildon_set_password_response_change, hildon_checkbox_toggled)
172 * examples/hildon-check-button-example.c (button_toggled_cb):
173 Update to use the GtkToggleButton API
175 Fixes: MB#4739 (HildonCheckButton should inherit from
178 Fixes: NB#132661 (HildonCheckButton should inherit from
181 2009-08-20 Alberto Garcia <agarcia@igalia.com>
183 * hildon/hildon-pannable-area.c
184 (hildon_pannable_area_class_init):
185 Increase default value of HildonPannableArea:velocity_max to 2000
187 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
189 2009-08-18 Alberto Garcia <agarcia@igalia.com>
193 * configure.ac: bump version
195 * debian/changelog: updates
197 2009-08-11 Alejandro G. Castro <alex@igalia.com>
199 * hildon/hildon-pannable-area.c
200 (hildon_pannable_area_size_allocate): Checked the scrollbars
201 before the first try when defining the layout, avoids two
202 allocations in some situations.
204 Fixes: NB#131794 (pannable area produces unnecessary allocations
205 causing performance problems)
207 2009-08-11 Alejandro G. Castro <alex@igalia.com>
209 * hildon/hildon-pannable-area.c
210 (hildon_pannable_area_button_press_cb),
211 (hildon_pannable_area_motion_notify_cb),
212 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
213 the spurious ref added in the copy, fixes leak of window.
215 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
216 if it's realized without showing and then deleted)
218 2009-08-10 Alberto Garcia <agarcia@igalia.com>
222 * configure.ac: bump version
224 * debian/changelog: updates
226 2009-08-06 Alberto Garcia <agarcia@igalia.com>
228 * examples/hildon-hvolumebar-timer-example.c
230 * hildon/hildon-banner.c
231 (hildon_banner_timeout, hildon_banner_ensure_timeout)
232 * hildon/hildon-calendar.c
233 (calendar_timer, start_spinning)
234 * hildon/hildon-color-chooser.c
235 (inline_limited_expose)
236 * hildon/hildon-date-editor.c
237 (hildon_date_editor_entry_focus_in)
238 (hildon_date_editor_entry_validate)
239 (hildon_date_editor_entry_select_all)
240 * hildon/hildon-note.c
242 * hildon/hildon-number-editor.c
243 (hildon_number_editor_button_pressed)
244 (hildon_number_editor_start_timer, do_mouse_timeout),
245 (add_select_all_idle, hildon_number_editor_select_all)
246 * hildon/hildon-time-editor.c
247 (hildon_time_editor_entry_focus_in)
248 (highlight_callback, hildon_time_editor_validate)
249 (hildon_time_editor_entry_select_all)
250 * hildon/hildon-time-picker.c
251 (hildon_time_picker_arrow_press)
252 (hildon_time_picker_key_repeat_timeout)
253 * hildon/hildon-window.c
254 (hildon_window_key_press_event)
255 (hildon_window_escape_timeout):
256 Replace all calls to g_idle_add/g_timeout_add with their
257 gdk_threads counterparts.
259 Fixes: NB#126198 (gdk-threads API should be used to install idle
260 and timeout handlers)
262 2009-08-06 Alejandro G. Castro <alex@igalia.com>
264 * hildon/hildon-pannable-area.c,
265 (hildon_pannable_area_class_init): Increased the overshooting max
266 speed to get a faster effect.
267 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
268 deceleration of the overshooting
269 (hildon_pannable_area_button_release_cb): Calculate initial
270 overshooting speed when finger on the screen using the distance to
271 launch the effect faster.
273 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
274 lists with slow row renderers)
276 2009-08-05 Alberto Garcia <agarcia@igalia.com>
278 * doc/hildon-sections.txt: Add new functions
280 2009-08-05 Alberto Garcia <agarcia@igalia.com>
282 * hildon/hildon-text-view.[ch]
283 * hildon/hildon-entry.[ch]:
284 Add deprecation guards around deprecated functions.
286 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
288 * hildon/hildon-app-menu.c: Remove leftover function declaration.
290 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
292 Remove the grab from HildonAppMenu
294 * hildon/hildon-app-menu.c:
295 Now hildon-desktop places a blocker window behind the menu to handle
296 its closing, so the grab is no longer needed. This simplifies its
297 implementation and allows the system blanking to succeed.
299 Fixes: NB#130910 (Screen gets unlocked when menu is open)
301 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
305 * configure.ac: bump version
307 * debian/changelog: updates
308 * debian/control: raise debian dependency on GTK+
310 2009-08-04 Alberto Garcia <agarcia@igalia.com>
312 * hildon/hildon-text-view.c
313 * hildon/hildon-entry.c:
314 Remove all placeholder code from HildonEntry and HildonTextView
315 and use the API in GtkEntry and GtkTextView instead.
317 * examples/hildon-entry-example.c
318 * examples/hildon-text-view-example.c
319 * examples/hildon-wizard-dialog-example.c
320 * hildon/hildon-get-password-dialog.c
321 * hildon/hildon-login-dialog.c
322 * hildon/hildon-picker-dialog.c
323 * hildon/hildon-set-password-dialog.c
324 * hildon/hildon-touch-selector-entry.c:
325 Replace all deprecated calls to HildonEntry and HildonTextView
326 with their Gtk counterparts.
328 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
331 2009-08-03 Alejandro G. Castro <alex@igalia.com>
333 * hildon/hildon-pannable-area.c,
334 (hildon_pannable_area_check_move),
335 (hildon_pannable_area_button_release_cb),
336 (hildon_pannable_area_scroll_to): Reverted the priority change of
337 the timeout, in some situations, slow renderers, the click do not
338 make it to the mainloop on time.
340 Fixes NB#131013 (unable to stop panning file manager by tapping on
343 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
345 * configure.ac: bump version
347 * debian/changelog: updates
349 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
351 * hildon/hildon-touch-selector.[ch]
352 (hildon_touch_selector_center_on_index): New method that allows to center
353 on a item not selected
355 Fixes NB#130291 (New HildonTouchSelector API is required to center on
358 2009-07-29 Alberto Garcia <agarcia@igalia.com>
360 * hildon/hildon-text-view.c
361 (+set_logical_color, +hildon_text_view_style_set)
362 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
363 (hildon_text_view_init)
364 * hildon/hildon-entry.c
365 (+set_logical_color, +hildon_entry_style_set)
366 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
367 (hildon_entry_class_init, hildon_entry_init)
368 * hildon/hildon-button.c
369 (+set_logical_font, +set_logical_color)
370 (hildon_button_style_set, hildon_button_init)
371 (hildon_button_set_arrangement, hildon_button_set_style):
372 Remove all calls to hildon_helper_set_logical_font() and
373 hildon_helper_set_logical_color(), which are recursive, from
376 Fixes: NB#123409 (Showing dialog consumes significant amount of
379 2009-07-29 Alejandro G. Castro <alex@igalia.com>
381 * hildon/hildon-pannable-area.c,
382 (hildon_pannable_area_timeout): Added the process updates of the
383 scrollbars window in the pannable.
385 Fixes: NB#130043 (scrollindicator not smooth while panning)
387 2009-07-23 Alejandro G. Castro <alex@igalia.com>
389 * hildon/hildon-pannable-area.c,
390 (hildon_pannable_area_check_move),
391 (hildon_pannable_area_button_release_cb),
392 (hildon_pannable_area_scroll_to): Increased the priority of the
393 timeout this way it is going to be handled before the events.
395 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
399 * configure.ac: bump version
400 * debian/changelog: updates
402 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
404 * hildon/hildon-entry.c: (set_property): Do not allow to set
405 automatic height and use finger height instead, to prevent an to
406 have a smaller size than than its theme pixbuf.
408 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
410 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
412 * configure.ac: postrelease version bump.
413 * debian/changelog: post release version bump
415 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
420 * configure.ac: Bump version.
421 * debian/changelog: Updates.
423 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
425 * hildon/hildon-note.c: (label_size_request): Take the note
426 padding into account when setting the size request.
428 Fixes: NB#127896 (Information notes text truncated)
430 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
432 * configure.ac: postrelease version bump.
433 * debian/changelog: post release version bump
435 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
440 * configure.ac: Bump version.
441 * debian/changelog: Updates.
443 2009-07-16 Alejandro G. Castro <alex@igalia.com>
446 * hildon/hildon-text-view.c,
447 (hildon_text_view_button_press_event): Grabbed the focus in button
448 press, this way we are sure the widget has the focus in the
449 release event, required for HIM.
451 Fixes: NB#121445 (Virtual keyboard opening is not working in same
452 way for each text entry field)
454 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
456 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
457 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
458 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
459 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
460 (hildon_pannable_area_[gs]et_center_on_child_focus)
461 Redefined GtkContainer set-focus-child signal, in order to center
462 properly on a child when it receives the focus. Defined a new property
463 "center-on-child-focus" in order to activate this feature (deactivated
464 by default). Public get/set methods defined to manage the property.
466 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
468 2009-07-14 László Pere <lpere@blumsoft.eu>
470 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
471 the new size is applied.
473 Fixes: NB#124510 (The Application Menu is distorted when switched
474 between portrait and landscape mode)
475 Fixes: NB#115388 (Power key menu does not resize itself)
477 2009-07-01 Alberto Garcia <agarcia@igalia.com>
479 * hildon/hildon-banner.c (hildon_banner_map):
480 Set banner position after mapping.
482 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
484 * configure.ac: postrelease version bump.
485 * debian/changelog: post release version bump
487 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
492 * configure.ac: Bump version.
493 * debian/changelog: Updates.
495 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
497 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
500 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
502 * tests/check-hildon-banner.c
504 * tests/test_suites.h
505 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
506 were testing deprecated functions.
507 * examples/hildon-banner-example.c: typo on button3 type, that causes
508 a fail compiling with --with-examples but without --disable-deprecated
510 Missed commit in order to fix compilation using '--enable-fatal' and
511 '--disable-deprecated' (see previous commit)
513 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
515 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
516 functions with #ifndef HILDON_DISABLE_DEPRECATED
517 * examples/hildon-find-toolbar.c: Protect deprecated
518 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
519 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
520 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
521 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
523 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
524 to allow proper compilation of deprecated functions defined on the header
526 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
528 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
530 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
531 Cache the panning indicator color.,
532 (hildon_pannable_area_style_set): Query the color on style changes.
533 (hildon_pannable_draw_vscroll),
534 (hildon_pannable_draw_hscroll),
535 (hildon_pannable_area_expose_event): Use the cached panning indicator
536 color instead of looking it up on every expose and more.
538 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
540 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
541 (hildon_pannable_draw_hscroll),
542 (hildon_pannable_area_expose_event): Fix the panning indicator color,
543 so that it's "SecondaryTextColor", as desired.
545 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
547 * hildon/hildon-picker-dialog.c:
548 (selection_completed): take into account HILDON_UI_MODE_NORMAL
549 * hildon/hildon-touch-selector.c
550 (hildon_touch_selector_init): Initialize hildon-ui-mode
551 (hildon_touch_selector_row_activated): new callback for the
552 "row-activated" signal, in order to save the last activated
553 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
554 if the current hildon-ui-mode is coherent with the touch selector
555 (hildon_touch_selector_class_init)
556 (hildon_touch_selector_get_property)
557 (hildon_touch_selector_set_property)
558 Added "hildon-ui-mode" property
559 (disconnect_model_handlers): renamed to clean_column
560 (hildon_touch_selector_remove): use clean_column function
561 (_create_new_column): use the hildon-ui-mode to create the treeview, and
562 only select the first element on HILDON_UI_MODE_EDIT
563 (hildon_touch_selector_column_init): Initialize last_activate
564 (hildon_touch_selector_append_column): check that the touch selector
565 is coherent with the current hildon-ui-mode
566 (hildon_touch_selector_get_hildon_ui_mode)
567 (hildon_touch_selector_set_hildon_ui_mode)
568 Added a getter/setter for the hildon-ui-mode property
569 (hildon_touch_selector_get_last_activated_row): Added this method in
570 order to get the last activated row.
571 * examples/hildon-touch-selector-normal-mode-example.c
572 New example, that shows how to use the HildonTouchSelector in
573 HILDON_UI_MODE_NORMAL
575 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
576 Kristian Rietveld <kris@lanedo.com> advices
578 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
580 * hildon/hildon-time-selector.c: (update_format_policy): Do
581 not call update_format_dependant_columns() if not necessary.
582 (update_format_dependant_columns): Remove unnecessary check for
583 the number of columns.
585 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
587 * hildon/hildon-note.c (+hildon_note_constructor),
588 (hildon_note_class_init), (+hildon_note_set_padding),
589 (hildon_note_rebuild): Install a constructor where to set the
590 padding properties in the note, so that it actually works fine.
591 Use hildon_note_set_padding() for this, and also to set it during
594 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
596 * configure.ac: Bump GTK+ requirement to 2.14.3.
597 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
598 when using maemo-gtk to define proper margins for the notes.
600 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
601 with the dialog edge)
603 2009-06-24 Alberto Garcia <agarcia@igalia.com>
605 * hildon/hildon-banner.c
606 (hildon_banner_class_init):
608 (+hildon_banner_size_request):
609 Request always the full width of the screen.
610 (hildon_banner_realize)
611 (-hildon_banner_check_position, hildon_banner_map):
612 hildon_banner_check_position() is not needed in Hildon 2.2.
613 (-hildon_banner_reset_wrap_state)
614 (hildon_banner_constructor, hildon_banner_init):
615 Remove unnecessary calls to hildon_banner_reset_wrap_state()
616 (+banner_do_set_text)
617 (force_to_wrap_truncated):
618 Remove has_been_wrapped and has_been_truncated attributes.
619 (+reshow_banner, hildon_banner_real_show_information)
620 (hildon_banner_show_information_with_markup)
621 (hildon_banner_show_animation, hildon_banner_show_progress)
622 (hildon_banner_set_text, hildon_banner_set_markup):
623 Refactor code. Shrink banner vertically to use the minimum space
624 necessary everytime the text of the label is updated.
625 (screen_size_changed):
626 Call force_to_wrap_truncated() when the size of the screen
629 Fixes: NB#120500 (only device memory connect mmc in use info
630 banner is left aligned)
632 Fixes: NB#120613 (Size of HildonBanner varies depending on
633 previously opened banners)
635 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
637 * hildon/hildon-color-chooser.c
638 (hildon_color_chooser_pointer_motion): Take the widget allocation
641 Fixes: NB#124385 (Unable to select exact point in color mixing box
642 in color palette dialog)
644 2009-06-23 Alejandro G. Castro <alex@igalia.com>
646 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
647 (hildon_pannable_area_dispose)
648 (hildon_pannable_area_button_press_cb)
649 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
650 (hildon_pannable_area_button_release_cb)
651 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
652 New 'panning-started' and 'panning-finished' signals.
654 Fixes: NB#121732 (New feature request: Signal to pannable area
655 that informs when panning is stopped.)
657 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
659 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
660 instead of hardcoded colon.
662 Fixes: NB#124090 (New calendar wizard title is not using
663 ecdg_ti_caption_separator)
665 2009-06-22 David King <davidk@openismus.com>
667 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
668 constants and functions, as well as correct many typos throughout the
671 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
674 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: postrelease version bump.
677 * debian/changelog: post release version bump
679 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: Bump version.
685 * debian/changelog: Updates.
687 2009-06-18 Alberto Garcia <agarcia@igalia.com>
689 * hildon/hildon-window-stack.c
690 (hildon_window_stack_pop_and_push_list):
691 Prevent windows from having the same stack index
693 2009-06-18 Alberto Garcia <agarcia@igalia.com>
695 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
696 Use the index of the previous window rather than the stack length
697 to calculate the new index.
701 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
703 * hildon/hildon-date-selector.c
704 (hildon_date_selector_select_current_date)
705 (hildon_date_selector_get_date)
706 (hildon_date_selector_select_day):
707 Update the documentation: uses always the range (1-31), as it is obvious
708 that the final one will depend on the month and the year, but globally
709 the range is this, in a similar GtkCalendar approach
710 (hildon_date_selector_get_date):
711 Update the documentation: add NULL as a valid value for the day, month
714 Fix some details, after talk with David King on bug MB#4698
716 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
718 * hildon/hildon-touch-selector-entry.c
719 * hildon/hildon-touch-selector.c
720 Update the documentation of the "text-column" property
722 2009-06-18 David King <davidk@openismus.com>
724 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
725 several typos and errors throughout the documentation.
727 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
730 2009-06-18 Alberto Garcia <agarcia@igalia.com>
732 * hildon/hildon-note.c (hildon_note_realize):
733 Make HildonNote support portrait mode.
735 Fixes: NB#123448 (HildonNote is not portrait-friendly)
737 2009-06-17 Alberto Garcia <agarcia@igalia.com>
739 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
740 Document this function
742 2009-06-17 David King <davidk@openismus.com>
744 * hildon/hildon-date-selector.c
745 (hildon_date_selector_select_current_date)
746 (hildon_date_selector_get_date): Update documentation regarding days,
747 as the day of the month is dependent on both the month and the year.
748 (hildon_date_selector_get_date): Fix documentation of output arguments.
750 Fixes: MB#4698 (DateSelector documentation has bad output argument
751 description, and the day depends on both the month and the year)
753 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
755 * hildon/hildon-caption.c: Other documentation fixes to
758 2009-06-17 David King <davidk@openismus.com>
760 * hildon/hildon-caption.c: Minor documentation updates for
761 HildonCaption. Fixes MB#4697.
763 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
765 * doc/hildon-docs.sgml: Add hildon-version section.
766 * doc/hildon-sections.txt:
767 * hildon/hildon-version.h.in: Document versioning macros and
770 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
772 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
773 from HildonPickerDialog section.
775 2009-06-16 Alberto Garcia <agarcia@igalia.com>
777 * hildon/hildon-banner.c (hildon_banner_bind_style)
778 (screen_size_changed, hildon_banner_init)
779 (hildon_banner_real_show_information)
780 (hildon_banner_show_information_with_markup)
781 (hildon_banner_show_animation, hildon_banner_show_progress):
782 Set a different widget name to banners in portrait mode, for them
783 to be themed correctly.
785 2009-06-16 Alberto Garcia <agarcia@igalia.com>
787 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
788 Set a different widget name to notes in portrait mode, for them to
791 Partially fixes: NB#118401 (HildonNote causes unnecessary
794 2009-06-16 Alberto Garcia <agarcia@igalia.com>
796 * hildon/hildon-note.c (hildon_note_class_init)
797 (+hildon_note_size_request, screen_size_changed):
798 Always request the full width of the screen.
800 Fixes: NB#118375 (unnecessary rescaling of images)
802 2009-06-16 Alejandro G. Castro <alex@igalia.com>
804 * hildon/hildon-pannable-area.c,
805 (hildon_pannable_area_init),
806 (hildon_pannable_area_realize): Replaced old code adding flags in
807 the object init, now we add it with the other flags in the realize
810 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
812 * hildon/hildon-note.c: (hildon_note_class_init): Several
813 documentation improvements to the HildonNote widget.
815 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
817 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
819 Fixes: MB#4556 (HildonNoteType is undocumented)
821 2009-06-15 Alberto Garcia <agarcia@igalia.com>
823 * hildon/hildon-picker-button.c:
824 Explain how HildonPickerButton sets the title of its dialog
826 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
827 the title of its dialog)
829 2009-06-15 Alberto Garcia <agarcia@igalia.com>
831 * hildon/hildon-check-button.c:
832 Documentation updates
834 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
837 2009-06-15 Alberto Garcia <agarcia@igalia.com>
840 * hildon/hildon-edit-toolbar-private.h
841 * hildon/hildon-edit-toolbar.c
842 (+hildon_edit_toolbar_set_progress_indicator)
843 (hildon_edit_toolbar_init): Add progress indicator to the
846 * hildon/hildon-gtk.c
847 (hildon_gtk_window_set_progress_indicator):
848 If the window contains a HildonEditToolbar, enable the progress
851 * hildon/hildon-private.h
852 * hildon/hildon-private.c
853 (+hildon_private_create_animation)
854 * hildon/hildon-banner.c
855 (-hildon_banner_create_animation):
856 Moved to hildon-private.c
858 Fixes: NB#102373 (Progress indicator also for the Edit mode
861 2009-06-15 Alberto Garcia <agarcia@igalia.com>
863 * hildon/hildon-app-menu-private.h
864 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
865 (hildon_app_menu_add_filter, +menu_item_button_event)
866 (hildon_app_menu_button_release, hildon_app_menu_init):
867 Make sure that buttons receive 'button-release-event' in spite of
868 the grab held by HildonAppMenu
870 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
872 2009-06-15 Alberto Garcia <agarcia@igalia.com>
874 * hildon/hildon-app-menu.c
875 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
876 New style property to set the size of the group of filter buttons.
878 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
880 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
885 * configure.ac: Bump version.
886 * debian/changelog: Updates.
888 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
890 * hildon/hildon-main.c: Minor documentation fixes.
892 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
894 * doc/hildon-sections.txt:
895 * hildon/hildon-defines.h: Document the defines, organize them,
896 and mark deprecations as such.
898 Fixes: MB#4463 (Hildon size #defines are undocumented)
900 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
902 * hildon/hildon-animation-actor.c:
903 * hildon/hildon-app-menu.c:
904 * hildon/hildon-button.c:
905 * hildon/hildon-date-editor.c:
906 * hildon/hildon-dialog.c:
907 * hildon/hildon-edit-toolbar.c:
908 * hildon/hildon-entry.c:
909 * hildon/hildon-program.c:
910 * hildon/hildon-remote-texture.c:
911 * hildon/hildon-stackable-window.c:
912 * hildon/hildon-text-view.c:
913 * hildon/hildon-touch-selector.c:
914 * hildon/hildon-window-stack.c:
915 * hildon/hildon-window.c:
917 Remove redundant "represents" wording from most of the documentation.
919 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
921 2009-06-12 Alberto Garcia <agarcia@igalia.com>
926 * hildon/hildon-banner-private.h
927 * hildon/hildon-banner.c:
928 Move HildonBannerPrivate to hildon-banner.c and remove
929 hildon-banner-private.h
930 Use a bit field to store private booleans.
932 2009-06-12 Alberto Garcia <agarcia@igalia.com>
934 * hildon/hildon-app-menu.c (hildon_app_menu_map):
935 Don't install a new idle function if there's already one
940 2009-06-11 Alberto Garcia <agarcia@igalia.com>
942 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
943 (+legacy_menu_realized, +legacy_menu_unmapped)
944 (+set_legacy_menu_type):
945 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
946 they can be identified by the window manager.
948 Fixes: NB#101437 (Invoking CSM on the left side of page area is
949 displayed in wrong location)
951 Fixes: MB#4563 (Popup menu won't locate at the left side of the
954 2009-06-11 Alberto Garcia <agarcia@igalia.com>
956 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
958 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
961 2009-06-11 Alberto Garcia <agarcia@igalia.com>
963 * hildon/hildon-code-dialog.c
964 * hildon/hildon-date-editor.c
965 * hildon/hildon-number-editor.c
966 * hildon/hildon-seekbar.c
967 * hildon/hildon-stackable-window.c
968 * hildon/hildon-window.c:
969 Misc documentation updates
971 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
973 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
974 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
976 Fixes: NB#117931 (Theming issues in accounts dialogs)
978 2009-06-09 Alejandro G. Castro <alex@igalia.com>
980 * hildon/hildon-pannable-area.c,
981 (hildon_pannable_area_button_release_cb): Changed the coordinates
982 of the original release in case we want to discard the release,
983 some widgets in Fremantle do not handle the leave-notify.
985 2009-06-09 Alejandro G. Castro <alex@igalia.com>
987 * hildon/hildon-pannable-area.c,
988 (hildon_pannable_area_button_release_cb): Reviewed the logic of
989 the release using the last refactored functions and avoiding the
990 movement if an element was selected.
992 2009-06-09 Alejandro G. Castro <alex@igalia.com>
994 * hildon/hildon-pannable-area.c,
995 (hildon_pannable_area_check_move),
996 (hildon_pannable_area_handle_move),
997 (hildon_pannable_area_motion_notify_cb): Refactored the
998 motion_notify method using a couple of new functions.
1000 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1002 * hildon/hildon-date-selector.c:
1003 (hildon_date_selector_construct_ui):
1004 * hildon/hildon-time-selector.c:
1005 (hildon_time_selector_constructor):
1006 * hildon/hildon-touch-selector-entry.c:
1007 (hildon_touch_selector_entry_set_text_column),
1008 (hildon_touch_selector_entry_get_text_column):
1009 * hildon/hildon-touch-selector.c: (_default_print_func),
1010 (hildon_touch_selector_new_text): Use
1011 hildon_touch_selector_set/get_text_column() instead of
1012 setting/getting the "text-column" property.
1014 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1016 * doc/hildon-sections.txt: Add the new public methods below.
1018 * examples/hildon-picker-button-multicolumn-example.c:
1019 (create_touch_selector):
1020 * examples/hildon-touch-selector-example.c: (create_selector):
1021 * examples/hildon-touch-selector-multi-cells-example.c:
1023 Use hildon_touch_selector_column_set_text_column()
1025 * hildon/hildon-touch-selector-column.h:
1026 * hildon/hildon-touch-selector.c:
1027 (hildon_touch_selector_column_set_text_column),
1028 (hildon_touch_selector_column_get_text_column):
1029 Make hildon_touch_selector_column_set/get_column() public, use
1030 them in the inline example, document them, and reference to them
1033 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1035 * hildon/hildon-time-selector.c: Fix the docs for
1036 hildon_time_selector_new_step().
1038 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1040 * hildon/hildon-touch-selector.c: Improve the documentation for
1041 hildon_touch_selector_append_column().
1043 Fixes MB#4641 (Documentation:
1044 hildon_touch_selector_append_column() ref-counting)
1046 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1048 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1049 Comment out test 5, since the hildon_controlbar_set_range() range
1050 check is broken and fixing it would have side effects. Also,
1051 this finally fixes make distcheck.
1053 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1055 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1057 * tests/TEST-CASES.txt: Remove other bogus test.
1058 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1059 Remove bogus test that was setting/retrieving a valid value.
1061 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1063 * tests/TEST-CASES.txt: Remove bogus tests.
1064 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1065 Remove three bogus tests that were actually setting valid colors.
1067 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1069 * configure.ac: post release version bump
1070 * debian/changelog: post release version bump
1072 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1077 * configure.ac: Bump version.
1078 * debian/changelog: Updates.
1080 2009-06-08 Christian Dywan <christian@lanedo.com>
1084 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1085 Correct errors in hildon_format_file-size_for_display and use
1086 translations from the hildon-fm package instead of osso-filemanager.
1088 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1090 * hildon/hildon-pannable-area.c,
1091 (hildon_pannable_area_init): Initialized new values to handle the
1092 adjustment position.
1093 (hildon_pannable_area_adjust_value_changed): Check if the values
1094 changed before even call the redraw function.
1095 (hildon_pannable_area_size_allocate),
1096 (hildon_pannable_axis_scroll),
1097 (hildon_pannable_area_scroll),
1098 (hildon_pannable_area_jump_to): Improved the diagonal movement
1101 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1104 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1106 * examples/hildon-banner-example.c:
1107 Several style updates
1108 (on_animation_clicked, on_animation_idle)
1109 (on_progress_clicked, on_progress_idle):
1110 Add additional reference for the cases when the parent window is
1113 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1115 * doc/hildon-sections.txt
1116 * hildon/hildon-pannable-area.c
1117 * hildon/hildon-banner.h
1118 * hildon/hildon-banner.c: Documentation updates.
1120 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1123 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1125 * hildon/hildon-calendar-popup.h:
1126 * hildon/hildon-caption.h:
1127 * hildon/hildon-code-dialog.h:
1128 * hildon/hildon-controlbar.h:
1129 * hildon/hildon-date-editor.h:
1130 * hildon/hildon-dialog.h:
1131 * hildon/hildon-get-password-dialog.h:
1132 * hildon/hildon-hvolumebar.h:
1133 * hildon/hildon-login-dialog.h:
1134 * hildon/hildon-note.h:
1135 * hildon/hildon-number-editor.h:
1136 * hildon/hildon-range-editor.h:
1137 * hildon/hildon-seekbar.h:
1138 * hildon/hildon-set-password-dialog.h:
1139 * hildon/hildon-sort-dialog.h:
1140 * hildon/hildon-time-editor.h:
1141 * hildon/hildon-time-picker.h:
1142 * hildon/hildon-volumebar-range.h:
1143 * hildon/hildon-volumebar.h:
1144 * hildon/hildon-vvolumebar.h:
1145 * hildon/hildon-weekday-picker.h:
1146 * hildon/hildon-window.h:
1147 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1148 macros with the current replacements
1150 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1152 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1154 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1155 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1156 itself, to make it fit better with Fremantle style.
1158 Fixes: NB#109878 (height and width of focus on color icon is not
1159 consistent with other item in the application tool bar)
1161 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1163 * hildon/hildon-touch-selector.c:
1164 (hildon_touch_selector_optimal_size_request): use the current requisition
1165 as the base, in order to include any possible extra widget, like the
1166 hildon entry on HildonTouchSelectorEntry
1168 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1170 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1172 * configure.ac: post release version bump
1173 * debian/changelog: post release version bump
1175 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1180 * configure.ac: Bump version.
1181 * debian/changelog: Updates.
1183 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1185 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1187 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1188 to ensure the banner contents are centered, instead of relying on
1189 the expand and fill properties in GtkHBox.
1190 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1192 Fixes: NB#108265 (Animation banner not properly centered)
1194 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1196 * hildon/hildon-pannable-area.c
1197 (hildon_pannable_area_initial_effect): Remove the initial_effect
1198 management, check initial_hint
1199 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1200 set initial_effect to FALSE
1201 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1202 by launching the fade_timeout if the scrollbars state has changed and are
1204 * examples/hildon-pannable-area-initial-hint-example.c
1205 Modified to allow to remove rows too. Add and remove rows one by one.
1207 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1209 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1210 Don't close the menu if there's an animation actor below it.
1212 Fixes: NB#117927 (Application menu not usable with animation
1215 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1217 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1218 "focus-on-click" from the dialog button, to avoid stealing the
1219 focus from the entry.
1221 Fixes: NB#118903 (Account setup wizard: Text in Search field
1222 should be focused when "Region" touch list picker is reopened
1225 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1227 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1228 (prepare_action_area): Completely hide the dialog separator.
1230 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1232 * hildon/hildon-touch-selector-entry.c
1233 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1234 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1235 now that the entry is exposed.
1237 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1239 * hildon/hildon-touch-selector-entry.c
1240 (hildon_touch_selector_entry_init): Change the entry's size
1241 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1243 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1245 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1246 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1247 avoid unnecessary scaling.
1249 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1251 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1252 Create grab transfer window before calling parent's map function.
1254 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1255 "crushed" button(s) in the top left corner)
1257 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1259 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1260 Check if the window is already realized when pushing it.
1262 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1264 * configure.ac: post release version bump
1265 * debian/changelog: post release version bump
1267 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1272 * configure.ac: Bump version.
1273 * debian/changelog: Updates.
1275 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1277 * hildon/hildon-app-menu.c: Doc updates.
1279 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1281 * hildon/hildon-banner.c: Remove leftover macro.
1283 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1285 * hildon/hildon-pannable-area.c,
1286 (hildon_pannable_area_scroll_indicator_fade),
1287 (hildon_pannable_area_button_release_cb): Reviewed vmin
1288 conditions, it could cause problems in the fadeout procedure.
1290 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1292 * hildon/hildon-pannable-area.c
1293 (hildon_pannable_area_button_release_cb): Added a threshold to
1294 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1296 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1298 * hildon/hildon-pannable-area.c,
1299 (hildon_pannable_area_set_property): Added code to sync the gtk
1300 dnd threshold with the panning threshold.
1302 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1304 * hildon/hildon-pannable-area.c,
1305 (hildon_pannable_area_class_init): Changed some of the default
1306 values, now it should be less responsive and more accurate.
1308 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1310 * hildon/hildon-pannable-area.c,
1311 (hildon_pannable_area_init),
1312 (hildon_pannable_area_scroll_indicator_fade),
1313 (hildon_pannable_area_button_press_cb),
1314 (hildon_pannable_axis_scroll),
1315 (hildon_pannable_area_timeout),
1316 (hildon_pannable_area_motion_notify_cb),
1317 (hildon_pannable_area_button_release_cb): Changed the name of the
1318 clicked attribute to button_pressed, it is more clear about its use.
1320 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1322 * src/hildon-pannable-area.c
1323 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1325 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1326 vertical scrollbar visibility, and use the data on private section instead,
1327 remove the initial_hint check
1328 (hildon_pannable_area_expose_event): add the initial_hint check here
1330 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1332 * src/hildon-pannable-area.c
1333 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1334 if the fadeout effect was used
1335 (hildon_pannable_area_expose_event): check if it is required to
1336 manage the initial effect on the begining of the function. Previously
1337 it was made at the end, but this doesn't ensure that the scrollbars
1338 will be painted on the first show. Do not set to FALSE initial_effect,
1339 to ensure that the initial hint is showed the first time the pannable
1341 * examples/Makefile.am
1342 * examples/hildon-pannable-area-initial-hint-example.c:
1343 New example, to show that the initial-hint is showed when the widget
1346 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1347 initially if the application can be scrolled)
1349 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1351 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1352 Resize table before adding new items to make sure that
1353 gtk_table_resize() is called just once.
1355 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1357 * hildon/hildon-app-menu-private.h
1358 * hildon/hildon-app-menu.c (item_visibility_changed)
1359 (filter_visibility_changed, hildon_app_menu_show_all)
1360 (hildon_app_menu_hide_all, hildon_app_menu_init):
1361 Rearrange items just once when gtk_widget_show_all()/hide_all()
1364 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1366 * hildon/hildon-app-menu.c
1367 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1368 Don't call gtk_widget_show() on added items.
1370 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1371 automatically when they're added)
1373 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1375 * hildon/hildon-banner.c
1376 (hildon_banner_realize, +hildon_banner_unrealize)
1377 (+screen_size_changed, hildon_banner_class_init):
1378 Redisplay the banner if the screen is rotated.
1380 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1381 on transition from landscape to portrait)
1383 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1385 * hildon/hildon-banner.[ch]:
1386 (hildon_banner_show_information_override_dnd): remove icon_name from the
1387 method definition as it is ignored.
1388 * examples/hildon-banner-dnd-example.c: updated with the change on
1391 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1393 * hildon/hildon-banner-private.h: new require_override_dnd and
1394 overrides_dnd variables
1395 * hildon/hildon-banner.h:
1396 (hildon_banner_show_information_override_dnd): new method, that shows
1397 the information but sets the override flag, in order to show important
1399 * hildon/hildon-banner.c
1400 (hildon_banner_show_information_override_dnd): new method
1401 (hildon_banner_set_override_flag): new utility function
1402 (hildon_banner_real_show_information): new utility function, in order to
1403 generalize the current hildon_banner_show_information_override_dnd and
1404 hildon_banner_show_information_override_dnd
1405 * examples/Makefile.am
1406 * examples/hildon-banner-dnd-example.c: New example that show how to
1407 use the new hildon_banner_show_information_override_dnd
1409 Fixes: NB#114874 (There is no possibility to show hildon banners with
1412 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1414 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1415 behind hildon_pannable_calculate_vel_factor().
1417 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1419 * hildon/hildon-pannable-area.c
1420 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1421 deceleration factors.
1423 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1425 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1426 Reduce the default value for 'scroll_time' to 1 second, since the
1427 current initial scrolling takes too much time.
1429 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1431 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1432 calculate velocity factor during initialization, since the properties
1435 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1437 * hildon/hildon-pannable-area.c
1438 (hildon_pannable_area_set_property): Calculate the velocity factor
1439 after setting the deceleration property and not after.
1441 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1443 * hildon/hildon-entry.c
1444 (hildon_entry_class_init, +set_property, hildon_entry_new)
1445 * hildon/hildon-check-button.c
1446 (hildon_check_button_class_init)
1447 (+set_property, hildon_check_button_new):
1448 Make the theme size a property.
1450 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1451 others) do too much in the _new function)
1453 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: post release version bump
1456 * debian/changelog: post release version bump
1458 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1463 * configure.ac: Bump version.
1464 * debian/changelog: Updates.
1466 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1468 * hildon/hildon-gtk.h
1469 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1470 New API function to take a screenshot of a window
1472 Fixes: NB#106374 (Need API to take a loading screenshot)
1474 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1476 * hildon/hildon-time-selector.c
1477 (update_format_policy): prevent to use hours and minutes unitialized
1479 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1481 * hildon/hildon-window.c (hildon_window_size_request):
1482 Always request the full size of the screen (minus the title bar if
1483 not in fullscreen mode).
1485 Fixes: NB#107486 (HildonWindow should size itself properly)
1487 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1489 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1490 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1491 (on_show_cb), (sound_handling): Disconnect the idle handler for
1492 the sound when the note is finalized to avoid possible crashes.
1494 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1497 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1499 * src/hildon-animation-actor.c,
1500 * src/hildon-remote-texture.c:
1501 Added proper object cleanup to remove signal handler and object
1502 references as HildonAnimationActor and HildonRemoteTexture
1503 objects get destroyed.
1505 Fixes: NB#116682 (Destroying parented animation actors when
1506 parent in unmapped leads to crash)
1508 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1510 Based on a patch by Christian Dywan (christian@imendio.com)
1512 * doc/hildon-sections.txt:
1513 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1514 * hildon/hildon-helper.h: New file size formatting method.
1516 * debian/control: Depend on osso-filemanager l10n package for
1517 proper localization strings.
1519 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1521 * tests/Makefile.am: Include top_srcdir to make possible to build
1522 tests in a different builddir.
1523 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1524 on a different builddir.
1526 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1528 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1529 (hildon_touch_selector_remove): Disconnect model's signal handler
1532 Fixes: NB#116289 (Hildon home crashes while adding task
1535 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1537 * hildon/hildon-button.c
1538 (hildon_button_set_title, hildon_button_set_value):
1539 Hide labels containing an empty string.
1541 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1543 * configure.ac: post release version bump
1544 * debian/changelog: post release version bump
1546 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1551 * configure.ac: Bump version.
1552 * debian/changelog: Updates.
1554 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1556 * hildon/hildon-note-private.h: Removed sound_signal_handler
1557 * hildon/hildon-note.c
1558 (on_show_cb): new callback on note "show" event, this simply adds
1559 a idle, with the function sound_handling
1560 (sound_handling): removed the sound_signal_handler management
1561 (hildon_note_init): connect note "show" event to on_show_cb
1562 (hildon_note_realize): remove the connection to "expose-event"
1564 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1565 device?' confirmation note)
1567 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1569 * hildon/hildon-note.c
1570 (hildon_note_new_information_with_icon_name)
1571 (hildon_note_new_confirmation_with_icon_name):
1572 Terminate the list of parameters in g_object_set() calls
1574 Fixes: NB#115166 (Formatting memory card is not taking place)
1576 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1578 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1579 "dialog-information" role for the sound being played.
1581 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1583 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1584 Don't make the menu a modal window, it causes strange interactions
1585 with the pointer grab and it's not really needed.
1587 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1589 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1591 * hildon/hildon-touch-selector.[ch]
1592 (hildon_touch_selector_optimal_size_request): function added to get a
1593 optimal size request from the touch selector, when you want a dialog to
1594 show as much of the selector
1595 * hildon/hildon-picker-dialog.c:
1596 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1597 (hildon_app_menu_class_init):
1598 New "max-height-landscape" and "max-height-portrait" style properties
1599 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1600 (hildon_picker_dialog_get_max_height): returns the maximum height using
1601 the style properties defined and checking the current portrait/landscape
1603 (_hildon_picker_dialog_set_selector): removed the set_size_request
1605 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1607 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1609 * hildon/hildon-bread-crumb-trail.c:
1610 * hildon/hildon-bread-crumb.c:
1611 * hildon/hildon-seekbar.c:
1612 Add reference to replacements for these deprecated widgets.
1614 Fixes: MB#4461 (Documentation: All deprecations should mention
1617 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1619 * examples/hildon-remote-texture-example.c
1621 Change the include to the hildon-remote-texture in order to compile
1622 properly the examples on the installed libhildon1-examples package
1624 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1626 * tests/Makefile.am: Add check for HildonPickerButton.
1627 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1628 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1629 checks for the HildonPickerButton.
1630 * tests/check_test.c (configure_tests): Add the test suite.
1631 * tests/test_suites.h: likewise.
1633 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1635 * hildon/hildon-touch-selector.c
1636 (+on_row_changed): Emit HildonTouchSelector:changed when the
1637 contents of a selected row change.
1638 (_create_new_column), (_hildon_touch_selector_set_model): connect
1639 to GtkTreeModel:row-changed on a newly set model.
1641 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1643 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1645 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1647 * hildon/hildon-banner.c (hildon_banner_destroy)
1648 (hildon_banner_show_progress, hildon_banner_set_fraction):
1649 Remove the progress bar from HildonBanner and use a progress
1652 Fixes: NB#113761 (Update progress banner to use progress
1655 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1657 * hildon/hildon-banner.c:
1658 Calculate size of the banner label using the actual screen width
1659 rather than using a fixed value.
1661 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1664 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1666 * hildon/hildon-pannable-area.c,
1667 (hildon_pannable_area_class_init): Fixed signals documentation
1670 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1672 * configure.ac: post release version bump
1673 * debian/changelog: post release version bump
1675 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1680 * configure.ac: Bump version.
1681 * debian/changelog: Updates.
1683 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1685 * hildon/hildon-edit-toolbar.c
1686 (hildon_edit_toolbar_init):
1687 Don't let buttons in HildonEditToolbar receive focus.
1689 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1690 typing on an HW arrows key)
1692 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1694 * doc/Makefile.am: Fix build.
1696 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1698 * doc/Makefile.am: Do not redefine content_files.
1700 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1708 Renamed src/ to hildon/
1713 Include <hildon/hildon.h> directly in all examples.
1715 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1717 * src/hildon-sort-dialog.c
1718 (hildon_sort_dialog_add_sort_key_with_sorting)
1722 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1724 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1725 make distcheck passes.
1727 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1729 * Makefile.am: Enable gtk-doc during distcheck.
1731 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1733 * Makefile.am: Do not distribute the debian/ directory.
1735 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1737 * doc/Makefile.am: Add the extra SGML files to content_files,
1738 so that they are distributed properly.
1740 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1742 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1745 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1747 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1748 (hildon_note_new_information_with_icon_name): Set the "icon" property
1749 to preserve soundness.
1751 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-font-selection-dialog.c
1754 (hildon_font_selection_dialog_set_property): Fail when the "family"
1755 property is set to NULL.
1757 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1762 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1764 * src/hildon-time-selector.h:
1765 Added HildonTimeSelectorFormatPolicy
1766 * src/hildon-time-selector.c:
1767 Added PROP_TIME_FORMAT_POLICY
1768 (_check_ampm_format): renamed to check_automatic_ampm_format
1769 (update_format_policy), (update_format_dependant_columns): new functions
1770 (hildon_time_selector_class_init)
1771 (hildon_time_selector_contructor)
1772 (hildon_time_selector_init)
1773 (hildon_time_selector_get_property)
1774 (hildon_time_selector_set_property)
1775 (hildon_time_selector_get_time)
1776 (hildon_time_selector_set_time)
1777 * src/hildon-touch-selector.h: new file
1778 * src/hildon-touch-selector.c
1779 (hildon_touch_selector_emit_changed)
1780 (hildon_touch_selector_block_changed)
1781 (hildon_touch_selector_unblock_changed)
1782 Added functions to allow to block the emission of the "changed" signal
1783 * src/hildon-picker-dialog.c
1784 (hildon_picker_dialog_show): call the parent show before the custom code
1785 * examples/hildon-time-button-example.c
1786 Modified, so now you can configure the time format using the new property
1788 Added a new property "time-format-policy" that allow to choose the time
1789 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1790 case it uses gconf in order to check if the time selector must use
1793 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1796 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-note.c (hildon_note_init):
1799 Label in HildonNote must be left aligned, not centered. This
1800 reverts the last commit in HildonNote.
1802 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1803 is connectivity dialog)
1805 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1810 * doc/hildon-sections.txt:
1811 Added hildon_gtk_window_set_do_not_disturb()
1813 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1815 * src/hildon-note.c (hildon_note_init): Center label.
1817 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1820 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1825 * configure.ac: Bump version.
1826 * debian/changelog: Updates.
1828 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-note-private.h: Add button-width to the private data.
1831 * src/hildon-note.c (+resize_button),
1832 (+hildon_note_orientation_update): methods to repack widgets on orientation
1834 (screen_size_changed): Call above method for confirmation notes.
1835 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1836 (hildon_note_rebuild): Store the original width request from buttons.
1838 Fixes: NB#109635 (Confirmation notes do not support portrait)
1840 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1842 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1843 when it is a progress note.
1845 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1848 in the note, since there are no horizontally arranged contents.
1850 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-gtk.c (+set_flag): new generic method to
1853 set/delay a flag setting in a window.
1854 (hildon_gtk_window_set_progress_indicator):
1855 (hildon_gtk_window_set_do_not_disturb),
1856 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1857 avoid code redundance.
1859 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1861 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1863 * src/hildon-gtk.c (set_clear_window_flag),
1864 (do_set_progress_indicator), (do_set_do_not_disturb),
1865 (do_set_portrait_flags),
1866 (hildon_gtk_window_set_progress_indicator),
1867 (hildon_gtk_window_set_do_not_disturb),
1868 (hildon_gtk_window_set_portrait_flags):
1869 Allow setting dnd-flag, progress indicator, and portrait flags
1870 when the window is not realized.
1872 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1874 * src/hildon-pannable-area.c,
1875 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1876 the size request policy function and defines.
1878 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1880 * doc/hildon-sections.txt: Add the new API.
1881 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1882 method to set the portrait flags.
1883 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1885 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1887 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1889 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1890 to allow using this method with other flags.
1891 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1892 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1894 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-touch-selector.c
1897 (hildon_touch_selector_append_text_column):
1898 Make the cell renderer use the smallest width possible.
1900 Fixes: NB#108470 (Selected items in multiple selection are either
1901 having a tick that is cut or not visible at all.)
1903 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1905 * src/hildon-touch-selector.c
1906 (hildon_touch_selector_append_text_column):
1909 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1912 Use g_strdup_printf() instead of a fixed size buffer.
1914 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1917 Close banners when a HildonAppMenu is popped up.
1919 Fixes: NB#111027 (Title menu closed immediately if activated when
1920 "Invalid e-mail address" banner is shown)
1922 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1927 * configure.ac: Bump version.
1928 * debian/changelog: Updates.
1930 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-banner.c (hildon_banner_realize):
1933 Mark HildonBanner as supporting portrait mode.
1934 Use GDK to set window properties insetad of direct Xlib calls.
1936 Fixes: NB#111830 (HildonBanner should be marked as supporting
1939 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1941 * src/hildon-note.c (hildon_note_rebuild):
1942 Hide action area in information notes. Prevents text from being
1943 slightly aligned to the left.
1945 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1948 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1950 Patch by Mox Soini (ext-mox.soini@nokia.com)
1952 * src/hildon-banner.c (hildon_banner_create_animation):
1953 Use stylus-sized icons in animation banner.
1955 Fixes: NB#111206 (stylus sized icon for animation banner)
1957 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1961 (+hildon_gtk_window_set_do_not_disturb):
1962 New API to set the do-not-disturb flag.
1964 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1966 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1968 * examples/hildon-progress-indicator-example.c: Fix example
1970 * src/hildon-gtk.c (set_clear_window_flag)
1971 (hildon_gtk_window_set_progress_indicator):
1972 Create a generic function for setting flags to a window.
1973 Use GDK instead of direct Xlib calls.
1975 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1977 * src/hildon-button.c (hildon_button_set_arrangement):
1978 Due to NB#88126, if one of the labels is too long it will be
1979 painted outside the button. The 'value' label is more likely to be
1980 the longest one, so we change its packing options in order to
1981 truncate it if necessary. As a side effect, the 'title' label will
1982 no longer be truncated.
1984 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1986 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1991 * configure.ac: Bump version.
1992 * debian/changelog: Updates.
1994 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1996 Deprecation of the hildon_pannable_area_set_size_request_policy
1997 API, the only policy properly supported in gtk+ nowadays is the
2000 * src/hildon-pannable-area.c,
2001 (hildon_pannable_area_size_request): Added a workaround for the
2002 size_request to avoid the problems of huge pixmaps in case someone
2003 is still using the function.
2004 * src/hildon-pannable-area.h: Deprecated the enum with the
2007 Fixes: NB#110244 (Problems with the
2008 hildon_pannable_area_set_size_request_policy API)
2010 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2012 * src/hildon-pannable-area.c,
2013 (hildon_pannable_area_init),
2014 (hildon_pannable_area_size_request),
2015 (hildon_pannable_area_style_set),
2016 (hildon_pannable_draw_vscroll),
2017 (hildon_pannable_draw_hscroll),
2018 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2019 indicator_width to clarify the use of the attribute.
2021 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2026 * configure.ac: Bump version.
2027 * debian/changelog: Updates.
2029 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2031 * src/hildon-picker-dialog.c
2032 * src/hildon-touch-selector.c
2033 Reverting the change that tried to avoid the hardcoded height on
2034 the picker dialog, as causes problems on the hildon-touch-selector
2037 Fixes: NB#110029 (selectors not scrolling to selected value)
2039 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-touch-selector.c: Fix typos
2043 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2045 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2046 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2047 request more motions after using it.
2049 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2051 * src/hildon-calendar.c (hildon_calendar_expose),
2052 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2053 Remove unused variables.
2055 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2057 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2058 variable assignment.
2060 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2062 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2063 Check the return value of gtk_tree_selection_get_selected()
2066 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2068 * src/hildon-animation-actor.c
2069 * src/hildon-button.c
2071 * src/hildon-pannable-area.c
2072 * src/hildon-picker-button.c
2073 * src/hildon-program.c
2074 * src/hildon-remote-texture.c
2075 * src/hildon-text-view.c
2076 * src/hildon-touch-selector.c
2077 * src/hildon-window-stack.c
2078 * src/hildon-window.c:
2079 Add missing 'Since: 2.2' tags.
2081 * doc/hildon-sections.txt:
2082 Add some missing symbols.
2084 * doc/hildon-docs.sgml:
2085 New 'Other' section for HildonAnimationActor and
2088 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2090 Patch by Iván Gómez (igomez@igalia.com)
2093 * doc/compiling.sgml
2094 * doc/hildon-docs.sgml
2095 * doc/hildon-sections.txt
2096 * doc/migration.sgml
2097 * doc/resources.sgml
2099 New chapters on using the Hildon library.
2100 Updated the general structure of the reference manual.
2101 Other minor documentation fixes.
2103 * src/hildon-calendar-popup.c
2104 * src/hildon-calendar.c
2105 * src/hildon-controlbar.c
2106 * src/hildon-date-editor.c
2107 * src/hildon-dialog.c
2108 * src/hildon-hvolumebar.c
2109 * src/hildon-number-editor.c
2110 * src/hildon-range-editor.c
2111 * src/hildon-sort-dialog.c
2112 * src/hildon-time-editor.c
2113 * src/hildon-time-picker.c
2114 * src/hildon-volumebar-range.c
2115 * src/hildon-volumebar.c
2116 * src/hildon-vvolumebar.c
2117 * src/hildon-weekday-picker.c:
2118 Add deprecation notes
2120 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2121 Document 'horizontal-movement' and 'vertical-movement' signals.
2123 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2128 * configure.ac: Bump version.
2129 * debian/changelog: Updates.
2131 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2133 * src/hildon-pannable-area.c,
2134 (hildon_pannable_area_class_init): increased the minimum velocity.
2135 (hildon_pannable_area_button_release_cb): Updated the
2136 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2137 setup. Review the code to control that last event.
2139 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2142 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2144 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2146 * src/hildon-get-password-dialog.c
2147 (hildon_get_password_set_property),
2148 (hildon_get_password_get_property), (create_contents):
2149 * src/hildon-login-dialog-private.h:
2150 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2151 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2152 (hildon_login_dialog_get_password):
2153 * src/hildon-set-password-dialog-private.h:
2154 * src/hildon-set-password-dialog.c
2155 (hildon_set_password_set_property),
2156 (hildon_set_password_get_property), (create_contents),
2157 (hildon_set_password_response_change),
2158 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2160 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2161 instead and look more Fremantle style.
2163 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2165 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2167 * doc/hildon-sections.txt
2168 * src/hildon-window-stack.h
2169 * src/hildon-window-stack.c
2170 (+hildon_window_stack_get_windows):
2171 New API to obtain the list of windows on a stack.
2173 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2175 * src/hildon-app-menu.c (hildon_app_menu_popup)
2176 (hildon_app_menu_class_init, -hildon_app_menu_show):
2177 Remove hildon_app_menu_show() and move all its checks to
2178 hildon_app_menu_popup()
2180 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2182 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2183 (_hildon_picker_dialog_set_selector): removed call to
2184 gtk_widget_set_size_request
2185 * src/hildon-touch-selector.c
2186 (_create_new_column): change the pannable size request policy
2188 Avoid to use a hardcoded height for the hildon picker dialog. In order
2189 to get that, we needed to change the hildon pannable size request
2191 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2193 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2195 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2196 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2199 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2201 * debian/control: Depend on osso-system-lock localization package.
2202 * src/hildon-code-dialog.c: Obtain the secu_application_title
2203 translation from osso-system-lock.
2204 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2205 for translation the atk related strings, that's not necessary.
2206 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2207 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2208 cancel button, it is not required.
2210 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2212 * src/hildon-pannable-area.c,
2213 (hildon_pannable_area_class_init): Modified the default value of
2214 the overshooting max speed, we have reduced it.
2216 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2218 * doc/hildon-sections.txt
2219 * src/hildon-window-private.h
2220 * src/hildon-window.h
2221 * src/hildon-window.c (hildon_window_class_init)
2222 (hildon_window_init, hildon_window_finalize)
2223 (hildon_window_realize, hildon_window_get_property)
2224 (hildon_window_set_property, hildon_window_update_markup)
2225 (hildon_window_get_markup, hildon_window_set_markup):
2226 New "markup" property and hildon_window_{get,set}_markup() methods.
2228 * examples/hildon-stackable-window-example.c (new_window):
2229 Update example to use hildon_window_set_markup()
2231 Fixes: NB#106375 (Need API to retitle a window with a title
2234 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2236 * src/hildon-pannable-area.c,
2237 (hildon_pannable_area_class_init): Changed the default value of
2238 the initial_hint to TRUE.
2239 (hildon_pannable_area_initial_effect): Changed the initial effect,
2240 not the effect is just the fade-out of the scrollbars.
2242 Fixes: NB#107775 (No scrollbars can be seen when several items are
2243 available in a dialog)
2245 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2247 * src/hildon-program.c (hildon_program_update_top_most):
2250 Fixes: NB#109179 (Memory leak in Hildon program)
2252 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2254 * src/hildon-banner.c (-get_current_app_window):
2255 Remove unused function.
2257 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2259 * src/hildon-pannable-area.c: Modified the documentation of the
2260 get adjustments functions to explain the problem of using the
2261 adjustment directly.
2262 (hildon_pannable_area_class_init): Improved the explanation about
2265 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2267 * src/hildon-app-menu-private.h
2268 * src/hildon-app-menu.c
2269 (hildon_app_menu_class_init):
2270 Bring back the 'external-border' style property
2271 (hildon_app_menu_class_init, hildon_app_menu_init)
2272 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2273 Set a fixed width-request for the menu, independent of the number
2276 Fixes: NB#94957 (Smoothly opened application menu)
2278 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2282 * src/hildon-banner.c
2283 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2285 Make sure that the banner is correctly placed the first time it's
2287 (hildon_banner_check_position, -check_fullscreen_state):
2288 Show the banner in the same place no matter if the window is in
2289 fullscreen mode or not.
2291 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2293 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2295 * src/hildon-touch-selector.c (_default_print_func): reorder
2296 concatenation for clarity.
2298 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2300 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2301 for multicolumn selectors.
2303 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2305 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2310 * configure.ac: Bump version.
2311 * debian/changelog: Updates.
2313 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2318 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2320 * configure.ac: removed libcangerra-gtk dependency
2321 * debian/control: removed libcanberra-gtk dependency
2322 * src/Makefile.am: removed libcanberra gtk related flags
2323 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2324 context, and manage a global canberra context instead
2326 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2328 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2330 Patch by Daniel Borgmann (danielb@openismus.com)
2332 * src/hildon-edit-toolbar.c:
2333 Adjust the left padding.
2334 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2335 Paint background of the edit toolbar.
2337 Fixes: NB#107897 (Patch to make editmodetoolbar background
2338 themeable and adjust margin)
2340 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2342 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2344 * src/hildon-program.c (hildon_program_update_top_most):
2345 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2347 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2348 change when the user tasks in/out of an application)
2350 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2352 * configure.ac: added libcangerra-gtk dependency
2353 * debian/control: added libcanberra-gtk dependency
2354 * src/Makefile.am: added libcanberra gtk related flags
2355 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2358 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2360 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2362 * src/hildon-program.c (hildon_program_remove_window)
2363 (hildon_program_add_window): Add checks for the window
2364 parameter. Don't decrease the window counter if the window is not
2367 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2369 * src/hildon-pannable-area.c,
2370 (hildon_pannable_area_realize): Fixed position of the event_window
2371 in the realize method.
2373 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-app-menu-private.h
2376 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2377 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2378 (hildon_app_menu_key_press, hildon_app_menu_init)
2379 (hildon_app_menu_finalize):
2380 Make sure that all idle functions are removed when the widget is
2383 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2385 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2390 * configure.ac: Bump version.
2391 * debian/changelog: Updates.
2393 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-entry.c
2396 (+hildon_entry_show_placeholder),
2397 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2398 that replace hildon_entry_update_contents().
2399 (hildon_entry_set_text),
2400 (hildon_entry_set_placeholder),
2401 (hildon_entry_focus_in_event),
2402 (hildon_entry_focus_out_event): Determine when it is needed
2403 either to show or hide the placeholder and call the above methods.
2405 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2406 when the placeholder text is already set)
2408 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2411 simple GdkPixbufAnim using the new icons for the banner.
2412 (hildon_banner_show_animation): Use the above mentioned method to
2413 create the animation widget.
2415 Fixes: NB#103564 (Make hildon animation banner use individual
2416 image files as the animation)
2418 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2420 * src/hildon-pannable-area.c,
2421 (hildon_pannable_leave_notify_event): Check if the child is NULL
2422 to avoid sending the leave.
2424 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2426 * src/hildon-pannable-area.c,
2427 (hildon_pannable_area_class_init),
2428 (hildon_pannable_leave_notify_event): Added a handler of the
2429 leave-notify-signal to consider when no motion notify before
2432 Fixes: NB#107494 (Items stay selected when clicking and moving
2433 away when inside pannable area)
2435 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2440 * configure.ac: Bump version.
2441 * debian/changelog: Updates.
2443 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2445 Patch by Alberto Garcia (agarcia@igalia.com)
2447 * src/hildon-date-button.c,
2448 (hildon_date_button_class_init),
2449 (hildon_date_button_init): Removed the construct property handling
2450 and created a default selector in the init method.
2451 * src/hildon-picker-button.c,
2452 (hildon_picker_button_class_init): Removed the construct flag of the
2455 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2457 * src/hildon-main.c (hildon_init):
2458 Don't allow hildon_init() to be called more than once.
2460 Fixes: NB#106607 (hildon_init should issue error message upon
2463 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2465 * examples/hildon-pannable-area-touch-list-example.c
2466 * examples/hildon-pannagle-area-touch-grid-example.c
2467 * examples/hildon-edit-toolbar-example.c
2468 * examples/hildon-touch-selector-multi-cells-example.c
2469 Removed the call to gtk_rc_parse_string, as it is not required since
2472 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2474 * src/hildon-pannable-area.c,
2475 (hildon_pannable_area_class_init): Modified the default panning
2476 threshold of the widget to 6px.
2478 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2479 than the threshold value ) within the button is not sending the
2482 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2484 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2485 for the treeview in the new column. This way, the touch list will never
2488 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2489 be selected manually for the HW keys to work)
2491 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2493 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2494 comparison instead of using strcmp(). Fixes a compiler warning as well.
2496 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2498 * doc/hildon-docs.sgml: Do not set the library version in the
2499 document title, use the releaseinfo tag for that purpose instead.
2501 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2504 Do not jump to the first item if the text in the entry is removed.
2506 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2511 * configure.ac: Bump version.
2512 * debian/changelog: Updates.
2514 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-entry.c (hildon_entry_refresh_contents):
2517 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2518 Use "ReversedSecondaryTextColor" for the placeholder text.
2520 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-text-view.c: Fix compilation warning.
2524 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2526 * src/hildon-button.c (hildon_button_class_init): Don't make
2527 "title" and "value" construction properties, to prevent them from
2528 overwriting labels set from derived classes.
2530 * src/hildon-picker-button.c
2531 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2532 (hildon_picker_button_class_init): Make touch-selector a
2533 construction property.
2535 * src/hildon-date-button.c (hildon_date_button_class_init)
2536 (+hildon_date_button_constructed): Add a default date selector if
2539 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-touch-selector.c: Small documentation fixes.
2543 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2545 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2547 * src/hildon-entry.c (hildon_entry_refresh_contents),
2548 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2549 widget name, set the logical color directly instead and a boolean
2550 showing_placeholder instead.
2551 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2552 use the widget name here either.
2554 Fixes: NB#105678 (HildonTextView should use logical colours
2555 instead of setting widget name)
2557 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2559 Patch by Daniel Elster (danielk@openismus.com)
2561 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2562 Add user_data parameter.
2563 (hildon_touch_selector_set_print_func_full): New function akin
2564 hildon_touch_selector_set_print_func() but with support for user
2565 data and a destroy callback.
2566 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2567 to clean up the print function user data.
2568 (hildon_touch_selector_class_init): Install dispose function.
2569 (HildonTouchSelectorPrivate::print_user_data),
2570 (HildonTouchSelectorPrivate::print_destroy_func): New private
2572 (hildon_touch_selector_init): Initialize new private members.
2573 (hildon_touch_selector_get_current_text): Pass along user data
2574 to the print function.
2575 (_default_print_func): Add dummy user_data to parameter list.
2576 * hildon-date-selector.c (_custom_print_func): ditto,
2577 * hildon-time-selector.c (_custom_print_func): ditto,
2578 * hildon-touch-selector-entry.c
2579 (hildon_touch_selector_entry_print_func): ditto.
2581 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2583 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2585 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2587 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2589 * src/hildon-pannable-area.c,
2590 (hildon_pannable_area_init),
2591 (hildon_pannable_area_button_press_cb),
2592 (hildon_pannable_area_motion_notify_cb): We have added code to
2593 handle the leave and enter events when using the motion events.
2595 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2597 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-date-button.c (hildon_date_button_get_date)
2600 (hildon_date_button_set_date): Make sure that the button has a
2603 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2605 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2607 * src/hildon-pannable-area.c,
2608 (hildon_pannable_area_class_init),
2609 (hildon_pannable_area_calculate_velocity): Modify the use of the
2610 force and adapt the value.
2612 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2615 (hildon_app_menu_class_init): Hide the menu if it receives a
2616 delete-event, but don't destroy it
2618 Fixes: NB#104485 (Not able to address the call when application
2619 menu is opened at background)
2621 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-app-menu.c
2624 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2625 Remove the "external-border" style property, let the menu take its
2626 natural size (or the one set by the window manager)
2627 (hildon_app_menu_repack_items):
2628 Don't reshow the menu, avoid flickers.
2630 Partially fixes NB#94957 (Smoothly opened application menu)
2632 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2637 * configure.ac: Bump version.
2638 * debian/changelog: Updates.
2640 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2642 * src/hildon-pannable-area.c,
2643 (hildon_pannable_area_motion_notify_cb): We control that the
2644 direction error margin is used just in case the movement is
2645 allowed in the other direction.
2647 Fixes: NB#105012 (buttons inside a pannable area not getting
2648 release event when dragging/releasing)
2650 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2652 * src/hildon-pannable-area.c,
2653 (hildon_pannable_area_class_init),
2654 (hildon_pannable_area_get_property),
2655 (hildon_pannable_area_set_property),
2656 (hildon_pannable_area_initial_effect),
2657 (hildon_pannable_axis_scroll),
2658 (hildon_pannable_area_button_release_cb): Reviewed the
2659 overshooting effect, now it has its own max
2660 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2661 speed when bouncing.
2663 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2668 * configure.ac: Bump version.
2669 * debian/changelog: Updates.
2671 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2673 * src/hildon-pannable-area.c,
2674 (hildon_pannable_area_class_init): Changed the max speed, now
2675 users can launch the widget very fast. Reduced the default force,
2676 that way it is easier to control the launch speed.
2678 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2680 * src/hildon-pannable-area.c,
2681 (hildon_pannable_area_button_release_cb): Removed this check
2682 because it causes problems when the device is overloaded.
2684 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2687 add a current_text field to store the text entered in the
2688 touch selector entry.
2689 (_clean_current_selection): clean up the current text as well.
2690 (_save_current_selection), (_restore_current_selection):
2691 Save/restore the text in the entry if the selector is a
2692 HildonTouchSelectorEntry.
2694 Fixes: NB#102541 (value entered in the touch selector entry is not
2695 shown when opened for second time)
2697 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2699 * doc/hildon-sections.txt:
2700 * src/hildon-touch-selector-entry.c
2701 (+hildon_touch_selector_entry_get_entry):
2702 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2704 Fixes: NB#104815 (I need accessor to the entry inside
2705 HildonTouchSelectorEntry)
2707 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2710 (hildon_app_menu_class_init):
2711 New "filter-vertical-spacing" style property.
2713 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2715 * src/hildon-find-toolbar.c
2716 (hildon_find_toolbar_emit_close)
2717 (hildon_find_toolbar_emit_invalid_input)
2718 (hildon_find_toolbar_entry_activate):
2719 Use g_signal_emit() instead of g_signal_emit_by_name()
2721 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2723 Patch by Mox Soini (ext-mox.soini@nokia.com)
2725 * tests/TEST-CASES.txt
2726 * tests/check-hildon-banner.c
2727 * tests/check-hildon-note.c
2728 * src/hildon-banner.c
2729 * src/hildon-code-dialog.c
2730 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2731 * src/hildon-time-editor.c
2732 * examples/hildon-lookup-example.c (main):
2733 Replace obsolete icon names with new ones.
2735 * src/hildon-find-toolbar-private.h:
2736 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2737 (-hildon_find_toolbar_emit_search):
2738 Remove find button and change icon of close button.
2740 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2742 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-time-button.c (hildon_time_button_new_step):
2745 Use the "touch-selector" property to set the selector directly
2746 when creating the object.
2748 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2750 Added a new example application that allows tuning the pannable
2751 area and replaced defines with properties in order to simplify the
2752 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2753 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2754 PROP_DIRECTION_ERROR_MARGIN.
2756 * examples/hildon-pannable-area-tuning-example.c: New example
2758 * src/hildon-pannable-area.c,
2759 (hildon_pannable_area_class_init),
2760 (hildon_pannable_area_init),
2761 (hildon_pannable_area_get_property),
2762 (hildon_pannable_area_set_property),
2763 (hildon_pannable_area_launch_fade_timeout),
2764 (hildon_pannable_area_adjust_value_changed),
2765 (hildon_pannable_axis_scroll),
2766 (hildon_pannable_area_motion_notify_cb),
2767 (hildon_pannable_area_scroll_cb),
2768 (hildon_pannable_area_button_release_cb): We have converted some
2769 of the defines that control the widget to properties to simplify
2772 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-app-menu.c (hildon_app_menu_map)
2775 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2776 so it's closed if a new window appears.
2778 Fixes: NB#104485 (Not able to address the call when application
2779 menu is opened at background)
2781 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2783 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2784 missing 'break' statement in in 'case' construct to avoid
2787 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-touch-selector-entry.c
2790 (hildon_touch_selector_entry_get_property),
2791 (hildon_touch_selector_entry_set_property): Add missing 'break'
2792 statements in in 'case' constructs to avoid incorrect warnings.
2794 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2796 * src/hildon-time-editor.c
2797 (hildon_time_editor_get_time_separators): Do not crash if
2798 the first label is NULL.
2800 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2802 * src/hildon-date-selector.c (_month_days): Check for month to be
2803 strictly less than 12, since otherwise we may overrun the array.
2805 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-date-button.c (+hildon_date_button_new_full)
2808 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2809 (hildon_date_button_init): Set the date selector using a
2810 construction property, to make it happen after HildonButton's
2811 "value" property is set.
2813 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2814 current date by default)
2816 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2818 * doc/hildon-sections.txt
2819 * src/hildon-program.c
2820 * src/hildon-stackable-window.c
2821 * src/hildon-window.c:
2822 Documentation updates
2824 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2827 (hildon_window_stack_new, +hildon_window_stack_set_property)
2828 (+hildon_window_stack_get_property)
2829 (hildon_window_stack_class_init)
2830 (+hildon_window_stack_set_window_group)
2831 (+hildon_window_stack_get_window_group):
2832 Make the window group a construction property.
2834 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2836 * doc/hildon-sections.txt
2837 * src/hildon-stackable-window-private.h
2838 * src/hildon-stackable-window.h
2839 * src/hildon-stackable-window.c
2840 (-hildon_stackable_window_set_app_menu)
2841 (-hildon_stackable_window_get_app_menu)
2842 (-hildon_stackable_window_toggle_menu)
2843 (-hildon_stackable_window_finalize)
2844 (hildon_stackable_window_class_init)
2845 (hildon_stackable_window_init)
2846 * src/hildon-window-private.h
2847 * src/hildon-window.h
2848 * src/hildon-window.c (hildon_window_init)
2849 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2850 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2851 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2852 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2853 Moved all HildonAppMenu code to HildonWindow. The menu does not
2854 require a HildonStackableWindow anymore.
2856 * src/hildon-app-menu.c
2857 * src/hildon-program.c
2858 * examples/hildon-app-menu-example.c (main):
2859 Update examples and documentation to reflect HildonAppMenu
2862 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-remote-texture.c
2865 * src/hildon-animation-actor.c:
2866 Don't include unused private headers.
2868 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-program-private.h
2871 * src/hildon-program.c
2872 (hildon_program_set_common_menu)
2873 (hildon_program_get_common_menu)
2874 (hildon_program_set_common_app_menu)
2875 (hildon_program_get_common_app_menu):
2876 Change common menu pointers from GtkWidget* to GtkMenu* and
2877 HildonAppMenu* to avoid unnecessary casts.
2879 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2881 * src/hildon-window.c (hildon_window_set_main_menu):
2882 Removed incorrect 'Since:' tag
2884 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2886 * src/hildon-pannable-area.c,
2887 (hildon_pannable_area_calculate_velocity): We use now the
2888 RATIO_TOLERANCE here to check the distance, fixed typo in the
2890 (hildon_pannable_area_motion_notify_cb): We have to set the type
2891 and time even if we are not sending the motion.
2893 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2895 * doc/hildon-sections.txt
2896 * src/hildon-app-menu.h
2897 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2898 (+hildon_app_menu_get_filters): New methods to get the contents of
2901 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2904 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-app-menu.c (hildon_app_menu_popup):
2909 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-window.h
2912 * src/hildon-window.c (+hildon_window_get_main_menu)
2913 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2914 and deprecated hildon_window_get_menu().
2916 * src/hildon-stackable-window.h
2917 * src/hildon-stackable-window.c
2918 (+hildon_stackable_window_set_app_menu)
2919 (+hildon_stackable_window_get_app_menu)
2920 (hildon_stackable_window_set_main_menu): Created
2921 hildon_stackable_window_{get,set}_app_menu() and deprecated
2922 hildon_stackable_window_set_main_menu().
2924 * doc/hildon-sections.txt
2925 * examples/hildon-app-menu-example.c (main)
2926 * src/hildon-app-menu.c
2927 * src/hildon-program.c:
2928 Updated examples and documentation.
2930 Fixes: NB#103758 (No way to obtain a menu from a
2931 HildonStackableWindow)
2933 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2938 * configure.ac: Bump version.
2939 * debian/changelog: Updates.
2941 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2943 * examples/hildon-remote-texture-example.c: Include
2944 hildon-remote-texture.h explicitely.
2945 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2946 applications not defining _XOPEN_SOURCE which don't require this header.
2948 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2950 * doc/hildon-sections.txt
2951 * src/hildon-app-menu.h
2952 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2953 New function to pop up a HildonAppMenu
2955 * src/hildon-stackable-window.c
2956 (hildon_stackable_window_toggle_menu):
2957 Use hildon_app_menu_popup() to show the menu.
2959 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-app-menu.c (hildon_app_menu_show)
2962 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2963 menu if there's another window between it and its parent window.
2965 Fixes: NB#100468 (Application menu window is launched even when a
2966 new secondary-window/dialog is pending to be shown/realized)
2968 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2970 * src/hildon-window-stack.c (hildon_window_stack_push)
2971 (hildon_window_stack_pop_and_push):
2972 Don't forget to push/pop the first window.
2973 Reverse the window list before calling _push_list()
2975 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-picker-button.h
2978 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2979 Remove "value_changed" slot to avoid ABI breakage
2981 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2983 * src/hildon-pannable-area.c,
2984 (hildon_pannable_area_realize),
2985 (hildon_pannable_area_unrealize),
2986 (hildon_pannable_draw_vscroll),
2987 (hildon_pannable_draw_hscroll): Changed the method to handle the
2988 GC used to draw the transparent scrollbar, this way we avoid
2989 creating the GC all the time when drawing the scrollbars.
2991 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2993 * src/hildon-pannable-area.c,
2994 (hildon_pannable_area_init),
2995 (hildon_pannable_area_remove): Removed some unnecessary casts.
2996 (hildon_pannable_area_dispose): Disconnected some signals before
2997 releasing the adjustments.
2999 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3001 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3002 Make sure that all widgets contained in the toolbar are shown.
3004 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3006 * doc/hildon-sections.txt
3007 * src/hildon-picker-button.h
3008 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3009 (_selection_changed, hildon_picker_button_on_dialog_response)
3010 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3011 New hildon_picker_button_value_changed() method.
3014 * src/hildon-picker-button-private.h
3015 * src/hildon-picker-button.c (hildon_picker_button_init)
3016 (+hildon_picker_button_disable_value_changed): Add protected
3017 function for disabling the "value-changed" signal.
3019 * src/hildon-date-button.c (hildon_date_button_set_date):
3020 Don't emit "value-changed" for each one of the three columns.
3022 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3023 before actual change of values)
3025 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3027 * src/hildon-pannable-area.c,
3028 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3029 for the treeview overshooting.
3031 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-banner.c (+hildon_banner_bind_style):
3034 Renamed from hildon_banner_bind_label_style(), now naming the
3035 banner itself as well.
3036 (hildon_banner_show_information),
3037 (hildon_banner_show_information_with_markup),
3038 (hildon_banner_show_animation), (hildon_banner_show_progress):
3039 Name the widgets and labels, based on their type.
3041 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3044 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-note.c (hildon_note_set_property): call
3047 hildon_note_rename() on HildonNote:note-type set.
3048 (hildon_note_rename): Name the note and its label, based on the
3049 HildonNote:note-type property.
3051 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3054 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3056 * src/hildon-pannable-area.c,
3057 (hildon_pannable_area_class_init),
3058 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3059 panning parameters, increased SPS and deceleration factor. Added
3060 also a margin to control fake directions.
3062 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3064 Patch by Sven Herzberg (sven@imendio.com)
3066 * configure.ac: Add missing AM_PROG_CC_C_0
3067 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3069 See NB#101420 (Update unit tests and fix make check)
3071 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3073 This patch was applied before but reverted because it caused
3074 problems, we have changed the main condition and tested the
3075 regressions we detected before and they work ok. We have done a
3076 complete review of the topmost algorithm in order to get a more
3079 * src/hildon-pannable-area.c,
3080 (hildon_pannable_area_get_topmost): Added a new parameter to
3081 filter the the windows that do not include those events.
3082 (hildon_pannable_area_button_press_cb),
3083 (hildon_pannable_area_button_release_cb),
3084 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3085 topmost function, we have added the new parameter.
3087 Fixes: NB#97458 (Pannable area prevents propagation of button
3090 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3093 if all columns in the selector have an item selected.
3094 (_on_dialog_response): Stop "response" signal emission if there is
3095 any selector column without selected items.
3097 Fixes: NB#101889 (Picker dialog should not close when nothing is
3098 selected in multiple selection list)
3100 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3102 * src/hildon-font-selection-dialog.c
3103 (hildon_font_selection_dialog_class_init),
3104 (hildon_font_selection_dialog_init): Remove the preview
3105 button and dialog, since previewing with default theming is likely
3106 to be overcomplicated. The :preview property has now no effect.
3107 Update documentation blurbs to inform about this.
3109 Fixes: NB#92297 (Preview content is not clearly visible for
3110 default colour text)
3112 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3114 Reviewed the geometry that handles the children size and
3115 scrollbar, now it tries a size and reviews the results depending
3116 on the scrollbars visibility.
3118 * src/hildon-pannable-area.c,
3119 (hildon_pannable_area_realize): Fixed a typo.
3120 (hildon_pannable_area_child_allocate_calculate): Added this
3121 function to calculate the child allocation.
3122 (hildon_pannable_area_size_allocate): Reviewed the allocation
3124 (hildon_pannable_area_check_scrollbars),
3125 (hildon_pannable_area_refresh): Refactored refresh function, this
3126 way we can call the code handling the scrollbars without causing a
3127 size_request, it is interesting in the allocate.
3128 (hildon_pannable_area_init): Replace the callbacks of the
3129 value_changed and changed signals to propertly deal with the
3131 (hildon_pannable_area_grab_notify),
3132 (hildon_pannable_area_initial_effect),
3133 (hildon_pannable_area_launch_fade_timeout),
3134 (hildon_pannable_area_adjust_changed),
3135 (hildon_pannable_area_adjust_value_changed),
3136 (hildon_pannable_area_redraw),
3137 (hildon_pannable_area_button_press_cb),
3138 (hildon_pannable_area_button_release_cb),
3139 (hildon_pannable_area_scroll_cb),
3140 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3141 code and use the new functions adjust_changed and
3142 adjust_value_changed.
3144 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3145 Contact editor dialog)
3147 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3152 * configure.ac: Bump version.
3153 * debian/changelog: Updates.
3155 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3157 * src/hildon-pannable-area.c,
3158 (hildon_pannable_area_get_topmost),
3159 (hildon_pannable_area_button_press_cb),
3160 (hildon_pannable_area_button_release_cb),
3161 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3162 topmost function adding the event mask. We have to try a
3163 differente approach because it is still causing problems (NB#9745,
3166 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-banner.c:
3169 Update the maximum width of timed banners.
3170 (force_to_wrap_truncated): Enforce the maximum text width if the
3173 Fixes: NB#102413 (The text margins (wrapping) in information
3174 banner should be HILDON_MARGIN_TRIPLE)
3176 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3178 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3180 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3181 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3182 bound when calculating the scroll indicator position.
3184 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3185 treat ->lower correctly)
3187 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3190 expose event handling, since it is not necessary to draw the focus
3193 Fixes: NB#102467 (Do not show highlight on the text in
3196 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3199 full height of the toolbar for the button and the label.
3201 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3204 padding before the label and after the button.
3206 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3208 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3210 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3211 Add a GtkVSeparator between the button and the back arrow.
3212 Let the button have automatic size.
3213 Set a name to the widget for theming handling.
3215 Fixes: NB#101793 (Make edit toolbar the same height as window
3216 title bar (use title area theming))
3218 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-helper.c (attach_new_color_element): Fix memory
3223 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3225 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3227 * examples/hildon-button-example.c (common_buttons_window): Don't
3230 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3233 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3235 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3237 * src/hildon-gtk.c: Check that the window is realized.
3239 Fixes: NB#102225 (Crash setting the progress indicator to a non
3242 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3245 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3246 instead of modifying the one in the widget style.
3248 Fixes: NB#101043 (Second row of all the command button are
3249 displayed in transparent mode.)
3251 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-date-button.c
3254 * src/hildon-time-button.c: Add gettext macros
3256 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-date-button.c (hildon_date_button_new):
3259 * src/hildon-time-button.c (hildon_time_button_new_step):
3260 Use new logical strings to set the button default title.
3262 Fixes: NB#99915 (Date and Time options are not localised in Date
3265 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3267 * src/hildon-pannable-area.c
3268 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3269 the PANNING_THRESHOLD.
3271 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3273 * src/hildon-pannable-area.c,
3274 (hildon_pannable_area_class_init): Increased the maximum speed.
3275 (hildon_pannable_area_get_property),
3276 (hildon_pannable_area_set_property),
3277 (hildon_pannable_area_timeout): Added a new low friction mode, it
3278 allows the user avoid friction when launching the widget fast
3279 enough. It is interesting to traverse long lists.
3281 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3283 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3284 (+hildon_stackable_window_delete_event): Ignore delete events if
3285 the window is not the topmost one.
3287 Fixes: NB#101698 (Back button long press and delete-event handling)
3289 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3291 * src/hildon-pannable-area.c,
3292 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3293 gtk-dnd-drag-threshold, it was too big. We have defined our own
3294 dnd define and set a smaller value: PANNIG_THRESHOLD.
3296 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3299 user-defined icons, use always the default one.
3301 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3303 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3305 This patch was applied before but reverted because it caused
3306 problems, we have changed the main condition and tested the
3307 regressions we detected before and they work ok.
3309 * src/hildon-pannable-area.c,
3310 (hildon_pannable_area_get_topmost): Added a new parameter to
3311 filter the the windows that do not include those events. Added
3312 also a condition when finding the window to filter windows that do
3313 not ask for those events.
3314 (hildon_pannable_area_button_press_cb),
3315 (hildon_pannable_area_button_release_cb),
3316 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3317 topmost function, we have added the new parameter.
3319 Fixes: NB#97458 (Pannable area prevents propagation of button
3322 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3324 * tests/check-hildon-color-button.c (START_TEST): do not leak
3327 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-font-selection-dialog.c
3330 (hildon_font_selection_dialog_get_preview_text): Return NULL
3331 instead of FALSE on the g_return_val_if_fail().
3333 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3335 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3336 * src/hildon-date-selector.c
3337 (hildon_date_selector_select_current_date):
3338 Do not compare unsigned integers to be greater than or equal 0,
3339 because it's always TRUE.
3341 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3343 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3344 (hildon_date_selector_constructor): Do not select the current
3345 date until we are handle the "changed" signal, to avoid having bogus
3346 elements in the days model.
3348 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3350 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3351 for num_days, since _month_days() can return a negative value.
3353 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3355 * src/hildon-caption.c (hildon_caption_size_allocate):
3356 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3357 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3359 Initialize allocation variables to 0, to avoid eventually using
3360 unitialized variables.
3362 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-bread-crumb-trail.c
3365 (hildon_bread_crumb_trail_size_allocate):
3366 * src/hildon-calendar.c (hildon_calendar_set_background):
3367 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3368 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3369 * src/hildon-seekbar.c (hildon_seekbar_init):
3370 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3371 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3372 * src/hildon-touch-selector-entry.c
3373 (hildon_touch_selector_get_text_from_model):
3374 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3375 * src/hildon-window.c (hildon_window_finalize):
3377 Remove many unused variables.
3379 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3381 * src/hildon-seekbar.c: (hildon_seekbar_init),
3382 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3384 Remove unnecessary g_assert() calls.
3386 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-caption.c: (hildon_caption_expose),
3389 (hildon_caption_set_property), (hildon_caption_init),
3390 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3391 (hildon_caption_size_request), (hildon_caption_size_allocate),
3392 (hildon_caption_forall), (hildon_caption_set_separator),
3393 (hildon_caption_activate), (hildon_caption_set_child_expand),
3394 (hildon_caption_set_label_text),
3395 (hildon_caption_get_label_alignment):
3397 Remove unnecessary g_assert() calls.
3399 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-banner.c
3402 (hildon_banner_map, hildon_banner_init): Make banner temporary
3403 before mapping it to avoid closing other temporary windows, but
3404 make it non-temporary afterwards to avoid being closed by other
3405 non-temporary windows.
3406 (-hildon_banner_client_event, hildon_banner_init):
3407 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3409 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3412 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3414 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3417 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3419 * src/hildon-remote-texture.c
3420 * src/hildon-remote-texture.h
3421 * src/hildon-remote-texture-private.h
3422 * examples/hildon-remote-texture-example.c:
3423 Updates/fixes to remote-texture and its example.
3425 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3427 Patch by Mox Soini (ext-mox.soini@nokia.com)
3429 * src/hildon-code-dialog.c: Update logical id.
3430 * src/hildon-set-password-dialog.c: Update logical id.
3432 Fixes: NB#100646 (Logical strings is shown for ok in set
3433 password,Password needed dialogs)
3435 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3438 * src/hildon-remote-texture.c
3439 * src/hildon-remote-texture.h
3440 * src/hildon-remote-texture-private.h
3442 Added remote texture widget (for Clutter shared memory textures)
3444 * examples/hildon-remote-texture-example.c
3445 * examples/Makefile.am
3446 Added example file for remote texture usage
3448 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3450 * configure.ac: post release version bump.
3451 * debian/changelog: version bump.
3453 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: Bump version.
3459 * debian/changelog: Updates.
3461 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-date-selector.c (hildon_date_selector_init)
3464 (hildon_date_selector_constructor): Don't connect to the "changed"
3465 signal until the selector is completely constructed.
3467 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-touch-selector.c: (_create_new_column),
3470 (hildon_touch_selector_append_column),
3471 (hildon_touch_selector_set_column_selection_mode),
3472 (hildon_touch_selector_set_active),
3473 (hildon_touch_selector_select_iter):
3474 Emit the HildonTouchSelector::changed signal every time selection
3475 is changed in any of the methods above. This behavior was already
3476 documented but not fully functional.
3478 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3479 selection is programmatically changed)
3481 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3483 * doc/hildon-sections.txt: Remove obsolete icon
3484 sizes from here as well.
3486 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3488 * examples/hildon-stackable-window-example.c (add_window): Remove
3491 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3493 * src/hildon-app-menu.c
3494 (hildon_app_menu_show): Check whether the parent window of a menu
3495 is topmost before popping it up.
3497 Fixes: NB#100468 (Application menu window is launched even when a
3498 new secondary-window/dialog is pending to be shown/realized.)
3500 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3502 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3505 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3507 Patch by Mox Soini (ext-mox.soini@nokia.com)
3509 * src/hildon-banner.c: (hildon_banner_show_animation):
3510 use stylus size instead of obsolete note size.
3511 * src/hildon-defines.h: Update icon sizes.
3513 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3515 * src/hildon-touch-selector-entry.c:
3516 (hildon_touch_selector_entry_init): Disable unsupported
3518 (hildon_touch_selector_entry_get_text_column): Emit a warning
3519 if an unsupported input modes is used and explicitile state
3520 these modes in the documentation.
3522 Fixes: NB#99802 (Hildon touch selector entry not working properly
3523 for some of the input modes)
3525 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3527 * src/hildon-pannable-area.c,
3528 (hildon_pannable_area_init): Added the changed signal handlers of
3531 Fixes: NB#100320 (HildonPannableArea does not listen to
3532 GtkAdjustment "change" signals)
3534 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3536 * doc/hildon-sections.txt
3537 * src/hildon-window-private.h
3538 * src/hildon-window.h
3539 * src/hildon-window.c (hildon_window_init)
3540 (hildon_window_realize, hildon_window_unrealize)
3541 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3542 (hildon_window_size_request, hildon_window_size_allocate)
3543 (hildon_window_forall, hildon_window_show_all)
3544 (hildon_window_destroy, +paint_edit_toolbar)
3545 (+hildon_window_set_edit_toolbar):
3546 New hildon_window_set_edit_toolbar() method, to add a
3547 HildonEditToolbar to a window without having to pack it manually.
3549 Reorganize hildon_window_size_allocate()
3551 * src/hildon-edit-toolbar.c: Update documentation.
3553 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3554 example to use the new API.
3556 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3558 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3560 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3561 Remove from stack before calling parent's hide.
3563 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3566 window is removed from the middle of the stack, update the
3567 transiency of the previous one.
3569 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3572 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3574 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3575 block/unblock the signal handler if it's not actually being used.
3576 Fixes some critical warnings.
3578 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3580 Based on a patch by Iván Gómez (igomez@igalia.com)
3582 * src/hildon-banner.c
3586 * src/hildon-pannable-area.c
3587 * src/hildon-picker-dialog.c
3588 * src/hildon-wizard-dialog.h
3589 * src/hildon-wizard-dialog.c: Documentation updates.
3591 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3592 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3594 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3596 * configure.ac: post release version bump.
3597 * debian/changelog: version bump.
3599 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3604 * configure.ac: Bump version.
3605 * debian/changelog: Updates.
3607 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3609 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3610 a stock icon nor change the relief of the back arrow.
3612 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3613 graphics from theme)
3615 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3617 * src/hildon-button.c (hildon_button_set_alignment): Use
3618 priv->alignment if the button has no child yet.
3620 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-button.c: (hildon_button_init): Set the
3623 button style during initialization to give it the proper
3626 Fixes: NB#99713 (HildonButton value label color is wrong)
3628 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3630 * src/hildon-touch-selector.c: Document
3631 hildon_touch_selector_center_on_selected()
3633 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3636 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3637 all menu items, but not the menu itself.
3638 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3639 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3640 items after adding them to the menu so keyboard accelerators work.
3641 (hildon_app_menu_show): Don't show the menu if it contains items
3642 but none of them are visible.
3644 * examples/hildon-app-menu-example.c (create_menu): Use
3645 gtk_widget_show_all() to show all menu items.
3647 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-picker-dialog.c:
3650 (-_update_title_on_selector_changed_cb),
3651 (-_dialog_update_title): Removed.
3652 (_select_on_selector_changed_cb), (_on_dialog_response),
3653 (on_selector_columns_changed): Do not update the dialog title.
3654 (setup_interaction_mode): Do not connect to
3655 HildonTouchSelector::changed signal if there's a "done" button, as
3656 the dialog title doesn't need to be updated.
3658 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3661 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3663 Patch by Kristian Rietveld (kris@imendio.com)
3665 * src/hildon-touch-selector.c: (_create_new_column): Use new
3666 GtkTreeView::hildon-row-tapped signal to react to user interactions
3667 instead of ::changed.
3669 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3670 with some dynamic tree model)
3672 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3674 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3675 (+screen_size_changed, +label_size_request)
3676 (hildon_note_class_init): Make the Hildon information note have a
3677 minimum height, and make its text hvae a maximum width.
3679 Fixes: NB#98614 (Hildon information note (background) should have
3680 minimum height and maximum text width)
3682 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-banner.h
3685 * src/hildon-banner.c (hildon_banner_show_information)
3686 (hildon_banner_show_informationf)
3687 (hildon_banner_show_information_with_markup): Update documentation
3688 to reflect that the icon_name parameter is not used anymore.
3689 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3690 Remove all code from these functions and mark them as deprecated.
3691 (hildon_banner_show_progress): Mark as deprecated.
3693 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3695 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3697 * src/hildon-pannable-area.c,
3698 (hildon_pannable_area_class_init),
3699 (tranparency_color),
3700 (hildon_pannable_draw_vscroll),
3701 (hildon_pannable_draw_hscroll),
3702 (hildon_pannable_area_expose_event): Added a new way to render the
3703 scrollbars of the pannable area avoiding using cairo at all. This
3704 way we improve the performance of the pannable area rendering. The
3705 cairo rendering procedure is still in the code, we can control
3706 which one to use changing the value of the define
3707 USE_CAIRO_SCROLLBARS.
3709 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3711 * configure.ac: post release version bump.
3712 * debian/changelog: version bump.
3714 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3719 * configure.ac: Bump version.
3720 * debian/changelog: Updates.
3722 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3725 banners instead of destroying them when they receive a button
3728 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3730 Reverted commit 34028, it was causing regressions, probably the
3731 topmost condition is not correct, we have to check it in more
3732 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3733 propagation of button press events)
3735 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3738 that the selection is not empty before attempting to retrieve the
3739 current ampm selection.
3741 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-picker-button.c:
3744 (hildon_picker_button_on_dialog_response): Directly update the
3745 button contents when required instead of calling _selection_changed.
3747 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3749 * src/hildon-program.c (hildon_program_update_top_most): Update
3750 'is-topmost' property also when wm_hints is not set.
3752 Fixes: NB#98383 (is-topmost signal is not emitted when task
3753 switcher is clicked.)
3755 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3757 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3761 * src/hildon-animation-actor.c,
3762 * src/hildon-animation-actor.h: Added the animation actor class,
3763 this widget represents an animation actor for WM-assisted
3764 animation effects in the Hildon framework.
3766 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3768 * src/hildon-window-stack-private.h
3769 * src/hildon-window-stack.c
3770 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3771 Avoid calling gtk_widget_show() again indirectly from
3772 hildon_stackable_window_show()
3774 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3776 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3779 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3781 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3782 (hildon_time_selector_init): Move the construction of the hours and
3783 ampm columns to the constructor to preserve the order the columns
3786 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3788 * src/hildon-picker-dialog.c:
3789 (hildon_picker_dialog_class_init): Connect a realize method.
3790 (+hildon_picker_dialog_realize): Setup the interaction mode here
3792 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3793 yet, do it during the realize instead.
3794 (_on_dialog_response):
3795 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3796 if the widget is not realized, to avoid the dialog response before it
3799 Avoid premature responses in the HildonPickerDialog that can cause it
3800 to be hidden before it's even shown.
3802 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3805 (on_selector_columns_changed), (requires_done_button),
3806 (+prepare_action_area), (setup_interaction_mode),
3807 (_hildon_picker_dialog_set_selector):
3809 Split the interaction mode setup into preparation of the
3810 action area (prepare_action_area()) and the connection of
3811 the signals in setup_interaction_mode() and update the code to
3814 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3816 * src/hildon-pannable-area.c,
3817 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3818 per second to 15, we will check if this is ok regarding
3821 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3823 * src/hildon-pannable-area.c,
3824 (hildon_pannable_axis_scroll): Avoid resize if we already have
3825 reached overshoot_max.
3827 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3829 * src/hildon-pannable-area.c,
3830 (hildon_pannable_area_init),
3831 (hildon_pannable_area_realize),
3832 (hildon_pannable_area_size_allocate),
3833 (hildon_pannable_area_map),
3834 (hildon_pannable_area_unmap),
3835 (hildon_pannable_draw_vscroll),
3836 (hildon_pannable_draw_hscroll),
3837 (hildon_pannable_area_expose_event),
3838 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3839 pannable are to avoid the expose events go to the window and
3840 redraw the window. We save this way that part of the stack and the
3841 paint_boxes. We had to change the positions of the elements when
3844 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3846 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3847 * src/hildon-color-chooser-dialog.c:
3848 (hildon_color_chooser_dialog_init):
3849 * src/hildon-font-selection-dialog.c:
3850 (hildon_font_selection_dialog_init),
3851 (hildon_font_selection_dialog_show_preview):
3852 * src/hildon-get-password-dialog.c:
3853 * src/hildon-login-dialog.c:
3854 * src/hildon-set-password-dialog.c:
3855 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3856 * src/hildon-time-picker.c: (hildon_time_picker_init):
3858 Remove obsolete logical string IDs and update to the appropriate ones.
3860 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3862 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3865 that happens if the window hasn't been realized yet.
3867 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3868 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3870 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3872 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3873 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3876 Fixes: NB#98537 (Device hangs in account settings dialog)
3878 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3880 * configure.ac: post release version bump.
3881 * debian/changelog: version bump
3883 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3888 * configure.ac: Bump version.
3889 * debian/changelog: Updates.
3891 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3893 Added a new function to the HildonTimeButton widget that allows to
3894 change the step of the minutes in the selector associated with the
3895 button: hildon_time_button_new_step
3897 * src/hildon-time-button.c,
3898 (hildon_time_button_init),
3899 (hildon_time_button_new),
3900 (hildon_time_button_new_step):
3901 * src/hildon-time-button.h: Added the new function and refactored
3903 * examples/hildon-time-button-example.c,
3904 (main): We have replaced the function without parameters with the
3905 function with the steps set to 5
3907 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3909 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3911 * src/hildon-time-selector.c,
3912 (hildon_time_selector_class_init),
3913 (hildon_time_selector_constructor),
3914 (hildon_time_selector_get_property),
3915 (hildon_time_selector_set_property),
3916 (_create_minutes_model),
3917 (hildon_time_selector_new_step),
3918 (hildon_time_selector_set_time),
3919 * src/hildon-time-selector.h: Added a new property to the
3920 HildonTimeSelector (minutes-step), we use that property to control
3921 the steps between the minutes in the list of the selector. We have
3922 added a new function to the API to create a widget changing the
3923 step: hildon_time_selector_new_step.
3925 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3927 * src/hildon-time-selector.c,
3928 (hildon_time_selector_class_init),
3929 (hildon_time_selector_constructor),
3930 (hildon_time_selector_init): Overrided the construct function when
3931 creating the time selector object. We have moved the minutes model
3932 handling code from the init to the new construction function:
3933 hildon_time_selector_constructor.
3935 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3937 * examples/hildon-date-button-example.c: (main): Use the new
3938 hildon_date_button_new_with_year_range() method in the example.
3939 * src/hildon-date-button.c:
3940 (+hildon_date_button_new_with_year_range): New public method
3941 to conveniently create a HildonDateButton with a custom year range
3942 in its HildonDateSelector.
3943 * src/hildon-date-button.h: Add the new public method definition.
3945 Fixes: NB#97908 (Not possible to change the year range in
3946 HildonDateSelector/HildonDateButton)
3948 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3950 * src/hildon-date-selector.c:
3951 (+hildon_date_selector_set_property),
3952 (+hildon_date_selector_get_property),
3953 (hildon_date_selector_class_init): Install new properties "min-year"
3954 and "max-year" to define boundaries for the year column.
3955 (_create_year_model): Use the boundary properties to populate the model.
3956 (+hildon_date_selector_new_with_year_range): New public method to
3957 create a HildonDateSelector with a user defined year range.
3958 (hildon_date_selector_select_current_date): Use the new boundaries to
3959 calculate the iterator of current year.
3960 * src/hildon-date-selector.h: Add the new public method definition.
3962 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3965 Install a constructor method.
3966 (+hildon_date_selector_construct_ui): construct the widget.
3967 (+hildon_date_selector_constructor): new constructor.
3968 (+hildon_date_selector_init): move out widget construction code to
3969 the new constructor.
3971 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3973 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3974 that there's actually a month or year selected before obtaining them.
3975 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3976 of the HildonTouchSelector::changed signal, as it was emitted on every
3977 single item selection.
3979 Fix some warnings and possible crashers due to the selection restoring.
3981 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3983 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3984 the signal handlers only after creating the dialog instead of on every
3987 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3989 * src/hildon-button.c (hildon_button_init)
3990 * src/hildon-check-button.c (hildon_check_button_init)
3991 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3992 focus when clicked by default.
3994 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3999 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4001 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4002 Alejandro G. Castro (alex@igalia.com)
4004 * src/hildon-picker-dialog.c:
4005 (hildon_picker_dialog_class_init): install new "center-on-show"
4007 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4008 (hildon_picker_dialog_set_property): add setter code for the new
4010 (hildon_picker_dialog_get_property): add getter code for the new
4012 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4013 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4016 Fixes: NB#92849 (Selected item is not always visible when
4017 HildonTouchSelector is shown)
4019 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4021 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4022 Alejandro G. Castro (alex@igalia.com)
4024 * src/hildon-touch-selector.c:
4025 (_create_new_column): Do not connect to the "realize" signal of the
4027 (hildon_touch_selector_append_column): center on the selected items
4028 when a new column is appended.
4029 (hildon_touch_selector_select_iter): Factor out the code to select a
4030 column to hildon_touch_selector_scroll_to().
4031 (+search_nearest_element): Method to retrieve the nearest selected
4032 element to the visible area of the pannable area in a column.
4033 (+on_realize_cb): scroll to the initially selected item.
4034 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4035 the pannable area is realized, otherwise delay this until it is.
4036 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4037 selected items of a given column.
4038 (+hildon_touch_selector_center_on_selected): Public method to center
4039 all columns on the nearest selected item.
4040 * src/hildon-touch-selector.h: Add definition for
4041 hildon_touch_selector_center_on_selected().
4043 Implement public API to ensure visibility of all selected items in
4044 a HildonTouchSelector.
4046 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4048 Fixed a problem in the fading when calling the scroll_to API, and
4049 improve scrollbar fading handling.
4051 * src/hildon-pannable-area.c,
4052 (hildon_pannable_area_grab_notify): avoid the timeout when the
4054 (hildon_pannable_area_button_press_cb),
4055 (hildon_pannable_area_motion_notify_cb): Code style changes.
4056 (hildon_pannable_area_button_release_cb): Review the conditions
4057 when releasing the mouse button to avoid unrequired fading
4059 (hildon_pannable_area_scroll_to): Do not calculate and set the
4060 velocity if the scroll is not required.
4062 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4064 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4065 Don't check whether the new selector is NULL: it cannot be.
4066 Hold a reference to the selector while doing the replacement.
4068 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4070 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4071 unnecessary size_request in a removed widget.
4073 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4076 an unnecessary reference tracking that was leaking.
4078 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4080 Added delayed motion notify event handling, this way we can
4081 discard redrawing if more than 25 events arrive per second.
4083 * src/hildon-pannable-area.c,
4084 (hildon_pannable_area_init): Initialized the new private atributes
4085 controlling this timeout
4086 (hildon_pannable_area_dispose): Remove the timeout that controls
4087 the motion notify events.
4088 (hildon_pannable_area_scroll): Added a condition to control the
4089 use of the acceleration.
4090 (hildon_pannable_area_motion_event_scroll_timeout),
4091 (hildon_pannable_area_motion_event_scroll): Added this two
4092 functions, they handle the motion notify events inside the
4094 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4095 to the scroll method with the new function.
4096 (hildon_pannable_area_button_release_cb): We have to remove the
4097 timeout handler and move to the last position if the last motion
4098 events were not handled.
4100 Fixes: NB#97028 (Pannable area updates on every motion event)
4102 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4104 * src/hildon-pannable-area.c,
4105 (hildon_pannable_area_get_topmost): Added a new parameter to
4106 filter the the windows that do not include those events. Added
4107 also a condition when finding the window to filter windows that do
4108 not ask for those events.
4109 (hildon_pannable_area_button_press_cb),
4110 (hildon_pannable_area_button_release_cb),
4111 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4112 topmost function, we have added the new parameter.
4114 Fixes: NB#97458 (Pannable area prevents propagation of button
4117 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4119 * src/hildon-pannable-area.c,
4120 (hildon_pannable_area_initial_effect): Added controls before
4121 launching the timeout and the idle functions.
4122 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4123 of the method, in some situations it can return with TRUE and 0 in
4125 (hildon_pannable_area_button_press_cb): We do not need to set
4126 DELAY for fading out here.
4128 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4130 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4133 post-cleaning if the selection is not NULL.
4135 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4137 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4138 all items before restoring the selection.
4140 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-touch-selector.c:
4143 (+hildon_touch_selector_unselect_all):
4144 * src/hildon-touch-selector.h: New API to unselect all items in a
4145 column of the touch selector.
4147 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4149 * src/hildon-pannable-area.c,
4150 (hildon_pannable_area_redraw): Added a call to the refresh
4151 function inside the redraw because apparently in some cases the
4152 change in the adjustment does not imply a size allocate.
4154 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4155 despite the view not being scrollable)
4157 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4159 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4160 leak. Check for NULL before attempting to set the window title.
4162 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4164 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4165 whether to show or not the 'Done' button each time the dialog is
4166 shown, as it depends on the HildonTouchSelector selection mode.
4168 Fixes: NB#96226 (In multiple selection mode Done button is shown
4169 sometimes in listpicker)
4171 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4173 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4174 for the number of columns in the HildonTouchSelector more than once.
4176 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4178 * src/hildon-touch-selector.c: Minor documentation fixes.
4180 * src/hildon-picker-dialog.c (+_dialog_update_title)
4181 (_select_on_selector_changed_cb)
4182 (_update_title_on_selector_changed_cb)
4183 (on_selector_columns_changed): Update dialog title when there's no
4184 'Done' button and also when the number of columns in the selector
4188 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4189 (+_selection_changed, hildon_picker_button_on_dialog_response)
4190 (hildon_picker_button_selector_selection_changed)
4191 (+hildon_picker_button_selector_columns_changed)
4192 (hildon_picker_button_set_selector): Update button value and emit
4193 'value-changed' when the number of columns in the selector
4197 Fixes: NB#96225 (Dialog titles are not shown according to the
4198 values selected in the list picker)
4200 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4202 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4203 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4204 New "arrow-width" and "arrow-height" style properties to set the
4205 size of the arrow button.
4206 Set name of arrow button ("hildon-edit-toolbar-arrow").
4208 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4209 graphics from theme)
4211 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4213 * src/hildon-picker-button.c:
4214 (hildon_picker_button_selector_selection_changed): Use
4215 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4216 the dialog is present.
4218 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4219 the selection is accepted in the dialog)
4221 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4223 * src/hildon-color-chooser.h
4224 * src/hildon-color-chooser-dialog.h:
4225 Added G_BEGIN_DECLS and G_END_DECLS
4227 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4229 (_clean_current_selection): plug a leak in the list.
4231 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-picker-dialog.c:
4234 (+free_path_list): Method to free a GList of GtkTreePaths.
4235 (_clean_current_selection), (_save_current_selection),
4236 (_restore_current_selection): Save the current selection in
4237 as a list of lists, to support multiple selection properly.
4239 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4241 patch by Claudio Saavedra (csaavedra@igalia.com)
4243 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4244 Store the press position.
4245 (+hildon_text_view_button_release_event): If the release position is
4246 close enough to the press position, move the cursor here. Otherwise,
4248 (hildon_text_view_class_init): Override GtkTextView press, release, and
4249 motion event handlers, disabling this way text selection through
4250 pointer interaction, and allowing the container widget to handle the
4253 Fixes: NB#95828 (HildonTextView functionality)
4255 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4257 Based on a patch by Iván Gómez (igomez@igalia.com)
4259 * src/hildon-button.[ch]
4260 * src/hildon-calendar.c
4261 * src/hildon-check-button.c
4262 * src/hildon-date-editor.c
4263 * src/hildon-date-selector.c
4264 * src/hildon-picker-button.c
4265 * src/hildon-time-editor.c
4266 * src/hildon-time-selector.c
4267 * src/hildon-touch-selector.[ch]:
4268 Documentation updates
4270 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4272 * src/hildon-pannable-area.c,
4273 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4274 threshold, it was required due to X events handling.
4276 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4278 * src/hildon-pannable-area.c,
4279 (hildon_pannable_area_grab_notify),
4280 (hildon_pannable_area_initial_effect),
4281 (hildon_pannable_area_button_press_cb),
4282 (hildon_pannable_area_button_release_cb),
4283 (hildon_pannable_area_scroll_cb),
4284 (hildon_pannable_area_scroll_to): Review the timeout management of
4285 the scrollbar, the frecuency was incorrectly set.
4287 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-picker-button.c:
4290 (+hildon_picker_button_on_dialog_response),
4291 (hildon_picker_button_clicked): Present the dialog instead of
4292 running it with gtk_dialog_run().
4294 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4297 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4299 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4300 (hildon_app_menu_finalize): When a window is hidden it doesn't
4301 emit notify::is-topmost, so make sure than the menu also
4302 disappears in that case.
4303 (parent_window_topmost_notify): Renamed from parent_window_hidden
4305 Fixes: NB#94460 (stackable window's menu is not closed when its
4308 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4310 * src/hildon-touch-selector-entry.c:
4311 (+hildon_touch_selector_entry_set_input_mode),
4312 (+hildon_touch_selector_entry_get_input_mode):
4313 * src/hildon-touch-selector-entry.h: New methods to access the input
4314 mode in the selector's entry.
4316 Fixes: NB#93410 (API required for setting IM mode in
4317 HildonTouchSelectorEntry)
4319 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4321 * configure.ac: post release version bump.
4322 * debian/changelog: version bump
4324 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4329 * configure.ac: Bump version.
4330 * debian/changelog: Updates.
4332 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-touch-selector.c:
4335 (_hildon_touch_selector_has_multiple_selection): No need
4336 to initialize the variables here.
4338 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-note-private.h
4341 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4342 (hildon_note_finalize, hildon_note_rebuild): Close information
4343 notes when they receive a button press.
4345 Fixes: NB#89890 (Information notes does not get disappeared after
4348 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4350 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4351 mark from the wizard title, as it's not really necessary. Also,
4352 do not display the page title if not set.
4354 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4356 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4357 (parent_window_hidden): Use the window's "is-topmost" property to
4358 detect when to hide the menu.
4360 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4363 (hildon_app_menu_finalize): If the parent window of the menu is
4364 hidden, hide the menu too.
4366 Fixes: NB#94460 (stackable window's menu is not closed when its
4369 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4372 * debian/libhildon1-examples.install
4374 * examples/Makefile.am:
4375 Use dh_install to install all examples.
4376 Use DEB_SRCDIR instead of defining SOURCE_DIR
4378 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4380 * configure.ac: post release version bump.
4381 * debian/changelog: version bump
4383 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4388 * configure.ac: bump version
4389 * debian/changelog: updates
4390 * debian/control: bump gtk+ dependency
4392 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4394 patch by Christian Dywan (christian@imendio.com)
4396 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4397 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4399 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4401 * src/hildon-check-button.c (hildon_check_button_init)
4402 (hildon_check_button_class_init, hildon_check_button_style_set)
4403 (hildon_check_button_apply_style):
4404 New "checkbox-size" style property.
4406 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4407 larger / configurable size)
4409 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4411 * configure.ac: post release version bump.
4412 * debian/changelog: version bump
4414 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4419 * configure.ac: bump version
4420 * debian/changelog: updates
4422 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4424 * doc/hildon-sections.txt
4425 * src/hildon-pannable-area.c
4426 * src/hildon-program.c
4427 * src/hildon-time-editor.c
4428 * src/hildon-touch-selector-entry.c:
4430 More documentation updates.
4432 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4434 * doc/hildon-sections.txt
4435 * src/hildon-caption.c
4436 * src/hildon-code-dialog.c
4437 * src/hildon-color-button.c
4438 * src/hildon-controlbar.c
4439 * src/hildon-date-editor.c
4440 * src/hildon-date-selector.c
4441 * src/hildon-edit-toolbar.c
4442 * src/hildon-find-toolbar.c
4443 * src/hildon-font-selection-dialog.c
4445 * src/hildon-program.c
4446 * src/hildon-range-editor.c
4447 * src/hildon-seekbar.c
4448 * src/hildon-time-editor.c
4449 * src/hildon-time-selector.c
4450 * src/hildon-volumebar-range.c
4451 * src/hildon-volumebar.c
4452 * src/hildon-vvolumebar.c
4453 * src/hildon-weekday-picker.c
4454 * src/hildon-window.c
4455 * src/hildon-wizard-dialog.c:
4457 Lots of documentation fixes.
4459 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4461 Patch contributed by Iván Gómez (igomez@igalia.com)
4463 * src/hildon-check-button.c:
4464 * src/hildon-date-button.c:
4465 * src/hildon-date-selector.c:
4466 * src/hildon-dialog.c:
4467 * src/hildon-edit-toolbar.c:
4468 * src/hildon-entry.c:
4469 * src/hildon-picker-button.c:
4470 * src/hildon-program.c:
4471 * src/hildon-text-view.c:
4472 * src/hildon-time-button.c:
4473 * src/hildon-touch-selector-entry.c:
4474 * src/hildon-window-stack.c:
4476 Add more "since" tags to the new API.
4478 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4480 * doc/hildon-sections.txt: Add below method.
4481 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4482 version for the hildonized scale.
4483 * src/hildon-gtk.h: Add the definition.
4485 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4487 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4489 * doc/hildon-sections.txt: Add missing entries for new methods.
4491 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4493 Added API to pannable are in order to get its adjustments. We
4494 added two properties to manage the values we had in the private
4497 * src/hildon-pannable-area.c:
4498 (hildon_pannable_area_class_init): Added hadjustment and
4499 vadjustment properties in order to expose horizontal and vertical
4501 (hildon_pannable_area_get_property),
4502 (hildon_pannable_area_set_property): Added code to handle the new
4504 (hildon_pannable_area_get_hadjustment),
4505 (hildon_pannable_area_get_vadjustment): API functions to get the
4507 * src/hildon-pannable-area.h:
4508 (hildon_pannable_area_get_hadjustment),
4509 (hildon_pannable_area_get_vadjustment): API functions to get the
4512 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4514 Fixed some leaks, after valgrinding.
4516 * src/hildon-touch-selector.c:
4517 (_default_print_func): Fixed a leak.
4518 (hildon_touch_selector_append_column): Fixed a leak.
4519 * src/hildon-date-button.c:
4520 (hildon_date_button_init): Fixed a leak.
4521 * src/hildon-date-selector.c
4522 (hildon_date_selector_finalize): Fixed a leak.
4524 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4526 Based on a patch by Christian Dywan (christian@imendio.com)
4528 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4530 * src/hildon-gtk.h: Add definition.
4532 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4534 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-picker-button.c: (hildon_picker_button_init),
4537 (hildon_picker_button_new): Set the HildonButton::style property
4538 in the init method, to propagate the value to the derived classes.
4540 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4542 * src/hildon-button.c: (hildon_button_class_init): Do not make
4543 the "style" property a construct property.
4545 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-wizard-dialog.h
4548 * src/hildon-wizard-dialog.c
4549 (hildon_wizard_dialog_set_forward_page_func)
4550 * src/hildon-pannable-area.h
4551 * src/hildon-pannable-area.c
4552 (hildon_pannable_area_set_size_request_policy):
4553 Documentation fixes.
4555 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4557 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4559 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4561 * doc/hildon-sections.txt: Added sections file.
4563 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4566 * src/*.[ch]: Updates.
4568 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4570 * examples/hildon-progress-indicator-example.c: new file
4571 * examples/Makefile.am: include the new example program
4573 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4575 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4577 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: post release version bump
4580 * debian/changelog: version bump
4582 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4587 * configure.ac: bump version
4588 * debian/changelog: updates
4589 * debian/control: bump gtk+ dependency
4591 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/hildon-dialog.c: Mark as deprecated.
4594 * src/hildon-dialog.h: Mark as deprecated.
4595 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4596 from HildonDialog and still work, even if
4597 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4598 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4600 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4601 maemo changes) instead)
4603 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4605 * src/hildon-pannable_area.h:
4606 * src/hildon-pannable_area.c:
4607 (hildon_pannable_area_class_init),
4608 (hildon_pannable_area_set_property),
4609 (hildon_pannable_area_get_property),
4610 (hildon_pannable_area_size_request),
4611 (hildon_pannable_area_get_size_request_policy),
4612 (hildon_pannable_area_set_size_request_policy): Added new API
4613 allowing applications to control the request policy. Now they can
4614 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4615 children allocation (HILDON_MOVEMENT_CHILDREN).
4617 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4621 (hildon_gtk_tree_view_set_ui_mode)
4622 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4623 mode of treeviews and iconviews.
4625 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4627 * src/hildon-touch-selector-entry.c:
4628 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4629 of a GtkEntry to get proper theming.
4631 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4632 widget, not GtkEntry)
4634 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4637 no HildonWizardDialogPageFunc.
4639 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4641 Patch contributed by Iván Gómez (igomez@igalia.com)
4643 * src/hildon-app-menu.c:
4644 * src/hildon-button.c:
4645 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4646 * src/hildon-stackable-window.c:
4647 * src/hildon-time-selector.c:
4648 * src/hildon-touch-selector.c:
4649 * src/hildon-window.c:
4651 Add more "since" tags to the new API in hildon 2.2.
4653 2008-12-05 Tim Janik <timj@imendio.com>
4655 Patch contributed by Christian Dywan (christian@imendio.com)
4657 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4658 HildonSizeType, which are supplied by Gtk+ now.
4660 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4662 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4663 (with maemo changes) instead)
4665 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4667 Patch contributed by Iván Gómez (igomez@igalia.com)
4669 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4672 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4674 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4675 (some_page_func), (main): Update the example to use a
4676 HildonWizardDialogPageFunc function.
4678 * src/hildon-wizard-dialog-private.h: Add private data for
4679 the HildonWizardDialogPageFunc function usage.
4681 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4682 (destroy), (hildon_wizard_dialog_init), (response),
4683 (hildon_wizard_dialog_set_forward_page_func):
4684 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4685 that applications can use to stop a HildonWizardDialog to jump to
4688 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4691 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4693 * src/hildon-program.h
4694 * src/hildon-program-private.h
4695 * src/hildon-program.c (hildon_program_init)
4696 (hildon_program_set_common_app_menu)
4697 (hildon_program_get_common_app_menu):
4698 New API for setting a common HildonAppMenu for all
4699 HildonStackableWindows registered with the HildonProgram.
4701 * src/hildon-stackable-window.c
4702 (hildon_stackable_window_toggle_menu):
4703 Use the common HildonAppMenu if a window doesn't have a specific
4706 * src/hildon-app-menu-private.h
4707 * src/hildon-app-menu.c
4708 (hildon_app_menu_get_parent_window):
4709 Function to obtain the window a HildonAppMenu is attached to.
4710 (hildon_app_menu_set_parent_window):
4711 Hide the menu if the parent window is set to NULL.
4713 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4716 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4717 search widget to popup.
4719 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4721 * configure.ac: post release version bump
4722 * debian/changelog: version bump
4724 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4729 * configure.ac: bump version
4730 * debian/changelog: updates
4732 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4734 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4736 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4737 (hildon_window_stack_window_realized)
4738 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4739 Set the leader GdkWindow when a window is stacked and realized,
4740 unset it when it's unstacked.
4741 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4743 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4745 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4747 * src/hildon-stackable-window.h
4748 * src/hildon-window-stack.h:
4749 Protect definition of HildonWindowStack using the preprocessor.
4751 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4753 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4754 Fix warning if all menu items are hidden.
4756 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4758 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4760 * src/hildon-controlbar.c:
4761 * src/hildon-hvolumebar.c:
4762 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4763 Multiple scale size defines updates.
4765 Fixes: NB#94322 (Scale Updates)
4767 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4769 * examples/hildon-app-menu-example.c (create_menu)
4770 Show items after adding them to the menu, as in the future the
4771 menu will no longer call gtk_widget_show() on the added items.
4773 * src/hildon-app-menu.c:
4774 Update example as explained above.
4776 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4778 * src/hildon-app-menu.c
4779 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4780 Make sure that all menu items have finger height.
4782 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4784 * src/hildon-picker-dialog.c:
4785 (_on_dialog_response), (_save_current_selection),
4786 (_restore_current_selection), (_clean_current_selection),
4787 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4788 Defined new functions in order to save the current internal selector
4789 selection previous open the dialog, in case that the use cancel the
4790 interaction, so the widget restores the previous selection.
4792 Fixes: NB#92032 (In calendar application, date values in 'new event'
4795 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4797 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4799 * src/hildon-button.c: Add a reference to the button examples in
4800 hildon-button-example.c
4802 * examples/hildon-button-example.c: Added examples of the most
4803 common button layouts.
4805 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4807 * src/hildon-app-menu.c (hildon_app_menu_show)
4808 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4810 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4812 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-picker-dialog.c:
4815 (hildon_picker_dialog_init): Initialize the signal id for
4816 HildonTouchSelector::columns-changed.
4817 (+on_selector_columns_changed): Set up the interaction mode everytime a
4818 column is added or removed from the HildonTouchSelector.
4819 (_hildon_picker_dialog_set_selector): Connect to
4820 HildonTouchSelector::columns-changed and keep track of it.
4822 Make sure to update the interaction mode of the dialog everytime a
4823 column is added or removed in the HildonTouchSelector.
4825 Fixes: NB#93228 (Done button is not shown always in listpicker)
4827 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4830 a new ::columns-changed signal.
4831 (hildon_touch_selector_append_column): Emit ::columns-changed.
4832 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4834 Add a ::columns-changed signal, emitted when the number of columns in a
4835 HildonTouchSelector changes.
4837 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4839 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4840 (_hildon_picker_dialog_set_selector): Factor out the code
4841 to set up the dialog interaction mode.
4843 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4845 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4846 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4847 to signal_changed_id.
4849 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4851 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4854 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4856 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4857 Updated the logical ids related to ampm format, as now it is required to
4858 show it correctly localized even on languages with no default
4859 abbreviations for am or pm
4860 (_check_am_pm_format): check correctly the 24h format gconf property
4862 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4864 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-button.c: Documentation updates.
4868 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4870 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4871 * src/hildon-caption.c: (hildon_caption_class_init):
4872 * src/hildon-color-button.c: (hildon_color_button_class_init):
4873 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4874 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4875 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4876 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4878 Remove deprecated GTK+ marshalers and replace them with the ones
4879 provided by GLib, for those available, add a marshaler for
4880 BOOLEAN:VOID, which is not available in GLib, and use it.
4882 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4885 the text from the previous column if there is no
4886 HildonTouchSelectorColumn::text-property set.
4888 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4890 * src/hildon-button.h
4891 * src/hildon-button.c (hildon_button_set_property)
4892 (hildon_button_get_property, hildon_button_class_init)
4893 (hildon_button_set_style, hildon_button_get_style):
4894 New "style" property to change the visual appearance of the
4897 * src/hildon-picker-button.c (hildon_picker_button_new):
4898 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4900 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4901 HildonButton look like PickerButton)
4903 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4905 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4906 column while building the default string.
4908 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4910 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4911 scroll indicator by default.
4913 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4915 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4917 * src/hildon-main.c: Fix the documentation for hildon_init()
4919 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4921 * doc/hildon-docs.sgml
4925 * src/hildon-window-stack-private.h
4926 * src/hildon-window-stack.h
4927 * src/hildon-window-stack.c:
4928 New HildonWindowStack object, that adds support for multiple
4929 stacks of windows per process.
4931 * src/hildon-stackable-window-private.h
4932 * src/hildon-stackable-window.h
4933 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4934 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4935 (hildon_stackable_window_show, hildon_stackable_window_hide)
4936 (hildon_stackable_window_class_init)
4937 (hildon_stackable_window_init):
4938 Use HildonWindowStack for stack management.
4940 * src/hildon-program.c (hildon_program_pop_window_stack)
4941 (hildon_program_peek_window_stack)
4942 (hildon_program_go_to_root_window):
4943 Add a fallback implementation to the deprecated functions using
4946 * examples/hildon-stackable-window-example.c:
4947 Use the new HildonWindowStack API.
4949 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4951 * src/hildon-stackable-window-private.h
4952 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4953 (hildon_stackable_window_hide, hildon_stackable_window_init):
4954 Remove all window stack management.
4956 * src/hildon-program-private.h
4957 * src/hildon-program.h
4958 * src/hildon-program.c (hildon_program_init)
4959 (hildon_program_pop_window_stack)
4960 (hildon_program_peek_window_stack)
4961 (hildon_program_go_to_root_window):
4962 Remove all window stack management and mark functions as
4965 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-app-menu.c (hildon_app_menu_realize):
4968 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4970 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4972 * configure.ac: post release version bump
4973 * debian/changelog: version bump
4975 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4980 * configure.ac: bump version
4981 * debian/changelog: updates
4983 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4985 Based on initial code by Christian Dywan (christian@imendio.com)
4987 * doc/hildon-docs.sgml: Add section for hildon-main.
4988 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4989 * src/Makefile.am: Add new hildon-main.[ch]
4990 * src/hildon-defines.h: Update the icon sizes.
4991 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4992 new library initialization files and register icon sizes.
4993 * src/hildon-main.h: New declarations.
4994 * src/hildon.h: Include hildon-main.h
4996 Add new initialization functions to the library. These methods
4997 will register the hildon specific icon sizes and can be used in the
4998 future for other hildon specific bits.
5000 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5002 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-window.c: (hildon_window_realize),
5005 (hildon_window_notify), (-hildon_window_update_title): Do not set
5006 the application name in the window title.
5008 Fixes: NB#89754 (Applications shouldn't display their names in the
5011 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5013 * src/hildon-note-private.h:
5014 * src/hildon-note.c: (hildon_note_set_property),
5015 (hildon_note_get_property), (hildon_note_class_init),
5016 (hildon_note_init), (hildon_note_finalize),
5017 (hildon_note_new_confirmation_with_icon_name),
5018 (hildon_note_new_information_with_icon_name):
5020 No need to mark as deprecated the actual code. Revert
5021 to avoid missing symbols in widgets using deprecated API.
5023 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5025 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5027 * src/hildon-volumebar.h
5028 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5029 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5031 * src/hildon-helper.h
5032 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5033 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5035 * examples/Makefile.am:
5036 Deprecate hildon-insensitive-example
5038 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5040 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5042 * examples/hildon-pannable-area-buttons-scroll-example.c:
5043 Make all buttons finger height
5045 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5047 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5049 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5050 update the day model only if it is really required, and to avoid the
5051 full-reconstruction aproach. Now it only add or remove the required days.
5053 The purpose of this is avoid superfluous HildonTouchSelector::changed
5056 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5057 with strange parameters)
5059 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5061 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5063 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5064 the WINDOW_TYPE property.
5066 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5068 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5071 Fix dependency to allow parallel compilation with make -jX
5073 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5075 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5076 color frame and some minor tweaks to make it more consistent with
5079 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5080 highlighted but not visible)
5082 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5084 * examples/Makefile.am: Fixed typo in the Makefile.am.
5086 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5088 Reviewed the use of MAEMO_GTK define, now we add the define in the
5089 compilation line, and we also add it to the pc file.
5091 * configure.ac: Added MAEMO_GTK define to the compilation command
5092 and removed it from the config.h.
5094 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5095 do not have to take care about this define if the library was
5099 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5101 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5103 * examples/Makefile.am,
5104 * examples/hildon-pannable-area-buttons-scroll-example.c,
5105 * examples/hildon-pannable-area-gesture-signals-example.c,
5106 * examples/hildon-pannable-area-scroll-jump-example.c,
5107 * examples/hildon-pannable-area-tree-view-example.c:
5108 Renamed the pannable area examples, now they have more meaningful
5111 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5113 * src/hildon-touch-selector.c:
5114 (hildon_touch_selector_set_column_selection_mode): Used of
5115 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5116 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5117 to avoid re-seting the same selection mode.
5119 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5120 breaks HildonPickerDialog)
5122 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5124 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5125 conditional in the Makefile.am
5127 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5130 Remove unused methods.
5132 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5134 * src/hildon-button.c (hildon_button_init):
5135 Make button images center-aligned by default
5137 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5140 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5141 activated, we have to think about how to deal with both defines
5142 MAEMO_GTK and MAEMO_CHANGES.
5144 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5146 * examples/hildon-app-menu-example.c (create_menu): Make all
5147 buttons finger size.
5149 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5151 Fixed the compilation without maemo gtk adding ifdefs with
5152 MAEMO_GTK define to the code, we have to check this version more
5155 * examples/Makefile.am: Added control to avoid some examples that
5156 just make sense with maemo gtk.
5159 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5160 hildon modes with the define.
5162 * examples/hildon-edit-toolbar-example.c,
5163 (create_icon_view): Create the icon view without hildon-gtk
5164 helpers if we are not using maemo gtk.
5166 * src/hildon-touch-selector.c,
5167 (_create_new_column): Create the treeview without hildon-gtk
5168 helpers if we are not using maemo gtk.
5170 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5172 * src/hildon-pnnable-area.c,
5173 (hildon_pannable_area_dispose),
5174 (hildon_pannable_area_button_press_cb),
5175 (hildon_pannable_area_child_mapped),
5176 (hildon_pannable_area_add),
5177 (hildon_pannable_area_remove): Added code to control the position
5178 of the event_window when adding and removing children from the
5179 pannable. We have to raise the event window when the child is
5182 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5183 selection mode using custom widget inside pannable)
5185 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5187 * configure.ac: post release version bump
5188 * debian/changelog: version bump
5190 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5195 * configure.ac: bump version
5196 * debian/changelog: updates
5198 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5200 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5201 search mode, in order to avoid lose the focus on the treeview when
5202 a hw key (like enter) is pressed.
5204 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5205 in HildonDateSelector dialog)
5207 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5209 * debian/rules: Added --enable-maintainer-mode
5210 * Makefile.am: Added ACLOCAL_AMFLAGS
5212 This allows to properly regenerate the Makefiles if you modify the
5213 configure.ac or any Makefile.am.
5215 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5217 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5218 properties, not needed at all.
5220 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5222 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5224 * src/hildon-note.c: (hildon_note_set_property),
5225 (hildon_note_get_property), (hildon_note_class_init),
5226 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5227 (hildon_note_new_confirmation_add_buttons): Remove icons.
5228 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5229 (hildon_note_new_information_with_icon_name): Deprecate.
5230 (hildon_note_new_confirmation): Act directly, without calling
5231 the deprecated constructor.
5232 (hildon_note_new_information): Act directly, without calling
5233 the deprecated constructor.
5234 * src/hildon-note.h: Mark deprecate methods as such.
5235 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5236 not run tests on the deprecated methods if built with deprecation
5239 Fixes: NB#91688 (Never show icons in information notes/confirmation
5242 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5244 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5245 (hildon_app_menu_key_press): Remove leftover usage of the
5246 private structure in HildonAppMenu struct.
5247 * src/hildon-app-menu.h: Remove leftover private structure
5248 from the HildonAppMenu struct.
5250 Fixes a crasher when using the HildonAppMenu.
5252 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5254 * src/hildon-picker-dialog.c: Use appropriate logical id
5255 for the default "Done" text.
5257 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5259 * configure.ac: post release version bump
5260 * debian/changelog: version bump
5262 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5264 Modified the way to scroll to the current selection just when the touch
5265 selector is shown on the screen, avoiding a g_idle. Added too a property
5266 to configure this behaviour. See hildon_pannable_area_jump_to_child
5267 documentation for more information.
5269 * src/hildon-touch-selector.c
5270 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5271 Added 'initial-scroll' property
5272 (hildon_touch_selector_set_property): Added
5273 (hildon_touch_selector_map): Removed as not required anymore
5274 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5275 only a concrete column, instead of iterate along all the columns
5277 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5282 * configure.ac: bump version
5283 * debian/changelog: updates
5285 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5288 compilation time warnings.
5290 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5292 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5293 the default value for HildonPannableArea::mov-mode to
5294 HILDON_PANNABLE_AREA_MODE_VERT.
5296 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5298 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5300 Reverting following commit:
5302 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5304 * src/hildon-app-menu-private.h
5305 * src/hildon-app-menu.[ch]
5306 * src/hildon-button.[ch]
5307 * src/hildon-check-button.[ch]
5308 * src/hildon-entry.[ch]
5309 * src/hildon-pannable-area.[ch]
5310 * src/hildon-text-view.[ch]:
5311 Added private field to the object's structure.
5313 because it causes an ABI breakage. We will need to introduce these
5314 changes later at some point. See NB#91636 for an extensive
5315 explanation and status.
5317 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5319 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5321 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5322 remove special cases that are no longer necessary.
5324 Fixes: NB#91016 (Change toolbar sizes, simplification)
5326 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5328 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5329 is shown in the cancel note.
5331 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5333 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5334 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5335 (hildon_seekbar_init): Remove steppers, remove expose event.
5336 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5338 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5340 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5342 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5343 label font to "SmallSystemFont" for vertically arranged buttons.
5345 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5348 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5350 * src/hildon-check-button.c
5351 (hildon_check_button_set_active, hildon_check_button_clicked):
5352 Don't access private parts directly, use getters instead.
5354 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5356 * src/hildon-check-button.c (hildon_check_button_new):
5357 Align the contents of the check button to the left.
5359 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5361 * src/hildon-pannable-area.c,
5362 (hildon_pannable_area_scroll_to),
5363 (hildon_pannable_area_jump_to),
5364 (hildon_pannable_area_scroll_to_child),
5365 (hildon_pannable_area_jump_to_child): Replace the mapped
5366 precondition of these functions with the realized, it is the
5367 correct state of the widget in this case. Changed the
5368 documentation according to this modification.
5370 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5372 Added a new EXTRA_CFLAGS option to add the deprecated define to
5373 the compilation command. This way we can avoid using the define in
5374 the documentation compilation.
5376 * configure.ac: Defined EXTRA_CFLAGS.
5378 * examples/Makefile.am:
5380 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5382 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5384 * src/hildon-picker-dialog.c:
5385 Defined a utility macro with the desired touch selector height
5386 Removed currently unused separator, and title_label variables from
5388 (hildon_picker_dialog_init): Removed code related to the creation
5389 of unused private variables title_label and separator.
5390 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5391 to ensure correct visualization of the touch selector inside the dialog.
5392 * src/hildon-touch-selector.c
5393 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5394 ensure a concrete height of the widget.
5396 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5399 * tests/Makefile.am:
5401 Remove spurious whitespaces.
5403 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5405 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5406 compilation warning after the cancel button removal.
5408 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5410 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5412 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5413 Makefile.am, that way we can choose not to compile some examples
5414 and tests of the deprecated widgets.
5416 * examples/Makefile.am: Divided the sources in deprecated and
5419 * src/Makefile.am: Added undef statement of the deprecated
5420 symbol to the enums file generation process.
5422 * src/hildon-color-chooser-dialog.c
5423 * src/hildon-color-chooser-dialog.h
5424 * src/hildon-color-button.c
5425 * src/hildon-color-button.h
5426 * src/hildon-color-chooser.c
5427 * src/hildon-color-chooser.h
5428 * src/hildon-controlbar.c
5429 * src/hildon-controlbar.h
5430 * src/hildon-date-editor.c
5431 * src/hildon-date-editor.h
5432 * src/hildon-hvolumebar.c
5433 * src/hildon-hvolumebar.h
5434 * src/hildon-private.c
5435 * src/hildon-private.h
5436 * src/hildon-range-editor.c
5437 * src/hildon-range-editor.h
5438 * src/hildon-seekbar.c
5439 * src/hildon-seekbar.h
5440 * src/hildon-time-editor.c
5441 * src/hildon-time-editor.h
5442 * src/hildon-time-picker.c
5443 * src/hildon-time-picker.h
5444 * src/hildon-volumebar.c
5445 * src/hildon-volumebar.h
5446 * src/hildon-vvolumebar.c
5447 * src/hildon-vvolumebar.h
5448 * src/hildon-bread-crumb-trail.h
5449 * src/hildon-bread-crumb-trail.c
5450 * src/hildon-calendar-popup.c
5451 * src/hildon-calendar-popup.h
5452 * src/hildon-weekday-picker.c:
5453 * src/hildon-weekday-picker.h:
5454 * src/hildon-bread-crumb-widget.c:
5455 * src/hildon-bread-crumb-widget.h:
5456 * src/hildon-bread-crumb.c:
5457 * src/hildon-bread-crumb.h:
5458 * src/hildon-calendar.c:
5459 * src/hildon-calendar.h:
5460 * src/hildon-caption.c:
5461 * src/hildon-code-dialog.c:
5462 * src/hildon-code-dialog.h:
5463 * src/hildon-font-selection-dialog.c:
5464 * src/hildon-font-selection-dialog.h:
5465 * src/hildon-get-password-dialog.c:
5466 * src/hildon-get-password-dialog.h:
5467 * src/hildon-login-dialog.c:
5468 * src/hildon-login-dialog.h:
5469 * src/hildon-number-editor.c:
5470 * src/hildon-number-editor.h:
5471 * src/hildon-set-password-dialog.c:
5472 * src/hildon-set-password-dialog.h:
5473 * src/hildon-sort-dialog.c:
5474 * src/hildon-sort-dialog.h: This is the list of deprecated
5477 * src/hildon-touch-selector.c:
5478 * src/hildon-window.c: Added undef statement to avoid compilation
5481 * tests/Makefile.am: Divided the sources in deprecated and
5484 * tests/check_test.c,
5485 (configure_tests): Marked the deprecated code that was adding
5486 suites with deprecated tests.
5488 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5490 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5492 * src/hildon-touch-selector.c: (_default_print_func): Do not
5493 duplicate a string returned by gtk_tree_model_get(), it is already
5496 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5499 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5501 * src/hildon-pannable-area.c
5502 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5503 method, it had problems when adding a widget with viewport the
5504 second time. Now checks if it already has a viewport and uses it.
5506 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5509 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5511 * src/hildon-pannable-area.c,
5512 (hildon_pannable_area_scroll_to),
5513 (hildon_pannable_area_jump_to),
5514 (hildon_pannable_area_scroll_to_child),
5515 (hildon_pannable_area_jump_to_child): Added a precondition to the
5516 scroll and jump to functions: the widget must be mapped before we
5517 can safely call these functions. We have also added documentation
5518 to the functions to explain how to use them in this situation.
5521 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5523 Reviewed the threading handling of the pannable widget, we have
5524 used the gdk_threads_add_timeout function instead of the usual
5525 glib handlers. This avoids some problems with the threads.
5527 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5528 (hildon_pannable_area_initial_effect),
5529 (hildon_pannable_area_scroll_indicator_fade),
5530 (hildon_pannable_area_button_press_cb),
5531 (hildon_pannable_area_timeout),
5532 (hildon_pannable_area_motion_notify_cb),
5533 (hildon_pannable_area_button_release_cb),
5534 (hildon_pannable_area_scroll_cb),
5535 (hildon_pannable_area_scroll_to): Removed the
5536 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5537 gdk_threads_add_timeout.
5539 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5541 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5546 * configure.ac: bump version
5547 * debian/changelog: updates
5549 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5551 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5552 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5553 * src/hildon-color-chooser-dialog.c:
5554 (hildon_color_chooser_dialog_init):
5555 * src/hildon-font-selection-dialog.c:
5556 (hildon_font_selection_dialog_init):
5557 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5559 Remove all cancel/close-like dialogs, as these are not going to be
5562 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5564 * src/hildon-note.c: (hildon_note_rebuild),
5565 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5568 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5570 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5572 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5573 sure all buttons are shown, even the Cancel/Close-like ones.
5575 Fixes: NB#90861 (Custom Confirmation dialogs should be
5576 protected from cancel button removal)
5578 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * debian/control: Change libhildon1-examples dependency from libhildon1
5582 * debian/libhildon1-examples.install
5584 * Makefile.am: Modified the final install directory for the examples on
5585 package libhildon1-examples
5586 * Makefile.static: Update clean target in order to remove all the binary
5589 Changes suggested by Claudio after review new libhildon1-examples package
5591 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5593 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5594 * src/hildon-touch-selector.c: Ditto.
5596 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5598 * debian/control: Added new package libhildon1-examples, in order to pack
5599 the current hildon examples as documentation
5600 * debian/rules: Not to compress .c files, modify some includes on the
5601 examples (as normally are compiled locally, but when installed it will
5602 require to include the installed libhildon1 library), and rename
5604 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5605 install all the example files on the new example package
5606 * examples/Makefile.static: Added static makefile that can be used to
5607 compile the examples, once installed the new example package
5608 * examples: Most of the examples were modified in order to grant that
5609 all use only '#include "hildon.h"', in order to be easy to prepare
5610 it on the example package
5612 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5615 * debian/libhildon1-dev.install
5616 * debian/libhildon1-doc.install:
5617 Move all gtk-doc files to a separate libhildon1-doc package.
5619 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5621 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5623 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5625 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5627 * debian/rules: Fixed a error in order to avoid unnecessary calls
5628 to autogen.sh on package building
5630 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5632 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5634 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5636 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5639 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5641 * src/hildon-picker-button.c
5642 (hildon_picker_button_finalize):
5643 Free priv->done_button_text
5645 * src/hildon-time-button.c
5646 (hildon_time_button_set_time)
5647 * src/hildon-picker-button.c
5648 (hildon_picker_button_clicked)
5649 (hildon_picker_button_selector_selection_changed)
5650 (hildon_picker_button_set_selector)
5651 * src/hildon-date-button.c
5652 (hildon_date_button_set_date):
5653 Free strings returned by hildon_touch_selector_get_current_text()
5655 * src/hildon-button.c (hildon_button_construct_child):
5656 Fix leaks in priv->image and priv->label_box
5658 Fixes: NB#90535 (Memory leak in picker button)
5660 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5662 * src/hildon-button.c: (hildon_button_get_property): Do not access
5663 private elements directly, use getters instead.
5665 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-app-menu-private.h
5668 * src/hildon-app-menu.c
5669 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5670 Store the menu's parent window.
5672 * src/hildon-stackable-window.c
5673 (hildon_stackable_window_toggle_menu)
5674 (hildon_stackable_window_finalize):
5675 Set the menu's parent window when the menu is shown, unset it when
5678 * src/hildon-app-menu.c
5679 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5680 (hildon_app_menu_class_init):
5681 Send unhandled keyboard accelerators to the parent window.
5683 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5685 * src/hildon-stackable-window.c
5686 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5688 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5690 * configure.ac: post release version bump
5692 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5695 * configure.ac: Bump version
5696 * debian/changelog: Updates
5697 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5700 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5702 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5705 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5706 GtkMenu with Hildon style.
5708 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5710 * src/hildon-picker-button.c:
5711 (hildon_picker_button_set_done_button_text): Set the dialog's
5712 done button text here as well.
5714 Fixes: NB#90232 (Picker button does not set the label on done button
5715 for the second time)
5717 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5722 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5724 * src/hildon-app-menu.c (hildon_app_menu_insert)
5725 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5726 the HildonAppMenu to be activatable using keyboard accelerators
5727 when the menu is not being shown.
5729 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5731 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5733 * src/hildon-stackable-window.c
5734 (hildon_stackable_window_show):
5735 Don't hide old windows automatically when new windows are shown:
5736 this is now a task for the window manager.
5737 (hildon_stackable_window_class_init)
5738 (hildon_stackable_window_hide):
5739 Remove windows from the stack everytime they're hidden.
5740 (hildon_stackable_window_realize):
5741 Don't change the _NET_WM_WINDOW_TYPE property. Use
5742 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5743 it as a stackable window.
5745 * src/hildon-program.c
5746 (hildon_program_pop_window_stack):
5747 Just hide the window to remove it from the stack.
5748 (hildon_program_go_to_root_window):
5749 Don't call gtk_widget_show(), this is now a task for the window
5752 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5754 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5756 * src/hildon-button.c
5757 (hildon_button_construct_child):
5758 Don't pack anything in the button until text or image are
5759 set. This allows adding a custom child after creating the button
5760 with hildon_button_new().
5761 (hildon_button_finalize, hildon_button_class_init)
5762 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5763 alignment and the label box even when they're not packed in the
5766 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5768 * src/hildon-touch-selector.h:
5769 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5770 currently the type definition was using GTK_TYPE_VBOX
5771 * src/hildon-touch-selector.c:
5772 Added some implementation notes in order to clarify that any other widget
5773 added without the column related API will not be included on the
5774 selection logic, and how the widget is freed, as some people ask about
5776 (hildon_touch_selector_remove): Reimplemented in order to free properly
5777 the column related data when you remove the private hbox.
5778 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5779 to get a proper HildonTouchSelectorColumn documentation
5781 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5783 * src/hildon-touch-selector-entry.c:
5784 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5785 text in the GtkEntry and there is no item selected. Fixes a
5788 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5790 * src/hildon-app-menu-private.h
5791 * src/hildon-app-menu.[ch]
5792 * src/hildon-button.[ch]
5793 * src/hildon-check-button.[ch]
5794 * src/hildon-entry.[ch]
5795 * src/hildon-pannable-area.[ch]
5796 * src/hildon-text-view.[ch]:
5797 Added private field to the object's structure.
5799 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5801 * configure.ac: post-release version bump
5803 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5807 * configure.ac: pre-release version bump
5809 * debian/changelog: updates.
5811 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5813 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5814 Disconnect the handler for HildonTouchSelector::changed.
5816 (hildon_picker_button_selector_selection_changed): Update the button
5817 value if the selection change was not triggered by the
5820 (hildon_picker_button_set_selector): connect to
5821 HildonTouchSelector::changed.
5823 Fixes: NB#89650 (Picker button is not updated, when selection in
5824 selector has changed)
5826 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5828 * src/hildon-picker-dialog.c
5829 (hildon_picker_dialog_realize): Removed as not required
5830 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5831 * src/hildon-picker-button.c
5832 (_current_selector_empty): New function, checks if the selector is empty
5833 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5834 if the current selector is empty, in order to avoid to show the dialog
5835 close the dialog in this case (and shows a g_warning).
5837 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5839 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5841 * src/hildon-pannable-area.c,
5842 (hildon_pannable_area_scroll): Added clause to stop movement when
5843 the child of pannable is smaller than one page.
5844 (hildon_pannable_area_scroll_to): Added conditions to avoid
5845 starting the scrolling movement if the child is smaller than one
5846 page, the complete child is in the screen, we do not have to move.
5848 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5850 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5852 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5853 this is managed automatically by the widget when the size of the
5856 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5858 * src/hildon-picker-button.c
5859 (hildon_picker_button_set_done_button_text): Make a copy of the
5860 text, and free the previous value.
5862 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5864 * src/hildon-touch-selector-entry.c:
5865 (hildon_touch_selector_entry_print_func): Return the selected row's
5866 text if the entry is empty.
5868 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5871 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5873 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5875 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-check-button.h
5879 * src/hildon-check-button.c
5880 * examples/hildon-check-button-example.c:
5881 HildonCheckButton is now a new widget. 'toggled' signal added.
5883 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-program-private.h
5886 * src/hildon-program.c (hildon_program_init)
5887 (hildon_program_finalize): Removed unused variables group_leader
5888 and name from HildonProgramPrivate.
5890 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5892 * src/hildon-check-button.c (hildon_check_button_set_active)
5893 (hildon_check_button_get_active, hildon_check_button_new): Use
5894 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5896 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5898 * src/hildon-touch-selector.h
5899 (hildon_touch_selector_set_column_attributes): added deprecation
5900 guard HILDON_DISABLE_DEPRECATED
5901 * src/hildon-time-selector.c
5902 (hildon_time_selector_set_time)
5903 (hildon_time_selector_get_time): Fixed a typo on documentation
5904 * src/hildon-touch-selector.c: update HildonTouchSelector and
5905 HildonTouchSelectorColumn documentation
5906 * src/hildon-touch-selector-entry.c: update "text-column" property
5908 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5909 to be added to the general documentation.
5911 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5913 * examples/hildon-pannable-area-example-4.c,
5915 * examples/hildon-pannable-area-example.c,
5916 (main): Modified the code in order to use the container add, with
5917 viewport treeviews could have problems if they are really big.
5919 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5921 * src/hildon-weekday-picker.c,
5922 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5923 the agreement regarding deprecation in the library.
5925 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5927 * examples/hildon-picker-button-multicolumn-example.c:
5928 (main): Use custom "done" button text.
5930 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5931 (hildon_picker_button_set_property),
5932 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5933 (hildon_picker_button_init),
5934 (+hildon_picker_button_get_done_button_text),
5935 (+hildon_picker_button_set_done_button_text): New methods to customize
5936 the "done" button label in the launched HildonPickerDialog. Also,
5939 * src/hildon-picker-button.h: add the public API.
5941 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5943 * src/hildon-date-selector.h:
5944 * src/hildon-picker-dialog.h:
5945 * src/hildon-time-selector.h:
5946 * src/hildon-touch-selector-column.h:
5947 * src/hildon-touch-selector.h:
5949 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5950 declarations. Fixes gtk-doc warnings.
5952 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5954 * src/hildon-picker-dialog.h
5955 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5956 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5958 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5959 long text is set as label for done button)
5961 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-dialog.c (hildon_dialog_add_button):
5964 Set fixed width to all buttons in the HildonDialog.
5966 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5968 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5970 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5971 Set widget name using class name plus "-finger" or "-thumb".
5973 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5975 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5976 'clicked' when the state of the button is manually changed.
5978 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5980 * src/hildon-app-menu.c (hildon_app_menu_realize)
5981 (hildon_app_menu_unrealize, hildon_app_menu_init)
5982 (hildon_app_menu_class_init, item_visibility_changed):
5983 Change the menu layout when the size of the screen changes.
5984 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5985 Show warning only when changing the number of colums using the
5988 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5990 * debian/compat: Set to 5
5991 * debian/control: Update dependencies.
5992 * debian/libhildon1-dbg.install: Remove.
5993 * debian/libhildon1-dev.install: Update according to cdbs paths.
5994 * debian/libhildon1.install: Update according to cdbs paths.
5995 * debian/rules: Switch to cdbs.
5997 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5999 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6000 'item' variable renamed to 'filter'
6002 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-app-menu.c (hildon_app_menu_insert)
6005 (hildon_app_menu_add_filter, remove_item_from_list)
6006 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6007 Don't leak hidden items when the menu is destroyed.
6009 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6011 * src/hildon-app-menu.c (hildon_app_menu_insert)
6012 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6013 (hildon_app_menu_set_columns, item_visibility_changed)
6014 (filter_visibility_changed, hildon_app_menu_repack_filters)
6015 (hildon_app_menu_repack_items):
6016 Repack items and filters separately.
6018 Don't repack all items, change only the ones that are needed to
6021 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6023 * src/Makefile.am: added hildon-touch-selector-column.h
6025 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6027 * src/hildon-touch-selector.c: added the property "text-column" to the
6028 class HildonTouchSelectorColumn, and related get/set functions
6029 (_default_printf_func): updated to use "text-column" property
6030 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6031 "text-column" in his documentation, as this is now included on
6032 HildonTouchSelectorColumn. The get/set_property can still be used,
6033 working as a wrapper to the concrete column "text-column" property
6034 (_text_column_modified): callback added in order to handle the signal
6035 "notify::text-column" of the concrete HildonTouchSelectorColumn
6036 (hildon_touch_selector_entry_get_text_column)
6037 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6038 modified in order to use the HildonTouchSelectorColumn "text-column"
6040 * src/hildon-time-selector.c:
6041 * src/hildon-date-selector.c:
6042 * examples/hildon-touch-selector-example.c
6043 * examples/hildon-touch-selector-multi-cells-example.c
6044 * examples/hildon-picker-button-multicolumn-example.c
6045 Set the right value to "text-column" property on the creation of a new
6046 column using hildon_touch_selector_append_column()
6048 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6050 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-app-menu.c
6053 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6054 updating the layout of the menu, don't create all widgets again,
6055 just repack the items in their new places.
6057 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6059 * src/hildon-time-selector.c
6060 (hildon_time_selector_get_time)
6061 (hildon_time_selector_set_time)
6062 Added documentation of these public methods
6064 * src/hildon-date-button.h
6065 * src/hildon-touch-selector-column.h
6066 * src/hildon-time-button.h
6067 * src/hildon-picker-dialog.h
6068 * src/hildon-time-selector.h
6069 * src/hildon-picker-button.h
6070 * src/hildon-touch-selector.h
6071 * src/hildon-time-picker.h
6072 * src/hildon-date-selector.h
6073 * src/hildon-touch-selector-entry.h
6074 Modified in order to use hildon-widgets code style
6076 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6078 Added deprecated support to the compilation process using
6079 HILDON_DISABLE_DEPRECATED
6081 * configure.ac: Added the --disable-deprecated to the configure
6084 * src/hildon-weekday-picker.c:
6085 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6086 to use the deprecated support. We will update the other deprecated
6087 widgets status in a new patch.
6089 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6091 * configure.ac: Fixed typo with fatal warnings support, the
6092 variable name was not correct
6094 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6096 * src/hildon-app-menu.c
6097 * src/hildon-program.c: Update documentation.
6099 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6101 * configure.ac: Post-release version bump.
6103 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6108 * configure.ac: Pre-release version bump.
6109 * debian/changelog: Updates.
6111 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6113 * NEWS: Update news for previous releases.
6115 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6117 * examples/hildon-touch-selector-multi-cells-example.c:
6118 (create_selector): Update the example to use
6119 hildon_touch_selector_append_column() with a NULL renderer and set
6120 the renderers later.
6121 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6122 passed a NULL renderer. This is documented behavior now.
6124 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6125 This must be used if the developer wants full control on the layout of
6126 the renderers to be added to the column.
6128 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6130 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6132 * src/hildon-touch-selector.c: Documentation fixes.
6134 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6136 * src/hildon-wizard-dialog-private.h: Remove image and box.
6137 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6138 (hildon_wizard_dialog_set_property), (response): Completely remove
6139 image/icon support, and the containers required for the layout.
6141 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6143 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6145 * src/hildon-app-menu.c: Updated documentation.
6147 * src/hildon-stackable-window.c
6148 (hildon_stackable_window_set_main_menu): Unref the old menu after
6149 ref'ing the new one.
6151 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6153 * src/hildon-stackable-window.c
6154 (hildon_stackable_window_set_main_menu): Unref the previous menu
6155 instead of destroying it.
6157 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6158 floating reference and set has_user_ref_count to FALSE to make
6159 HildonAppMenu act like a normal ref-counted widget and not a
6162 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6165 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6167 * src/hildon-touch-selector-column.h: new file
6168 * src/hildon-touch-selector.h
6169 * src/hildon-touch-selector.c
6170 Implemented GtkCellLayout interface, in order to allow to configure
6171 the cell layout on each individual selector column
6172 (hildon_touch_selector_set_column_attributes): marked as deprecated
6173 * examples/hildon-touch-selector-multi-cells-example.c
6174 Example of how to use the GtkCellLayout interface on the selector
6176 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6178 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-app-menu.h
6181 * src/hildon-app-menu.c
6182 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6183 (hildon_app_menu_append, hildon_app_menu_prepend):
6184 New methods to prepend, insert and move items in the menu.
6186 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6188 * src/hildon-wizard-dialog.c:
6190 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6192 (create_title): Update logical IDs and related code.
6193 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6195 * src/hildon-wizard-dialog.h: Note that
6196 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6197 point, as it is not used anymore.
6199 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6201 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6203 * src/hildon-note.c:
6204 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6205 shown. Do not display an icon in confirmation notes nor information
6207 (hildon_note_set_button_text): Update logical ID for cancel button.
6209 Fixes: NB#88850 (Update HildonNote button strings + signals)
6211 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-stackable-window.c
6214 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6216 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-app-menu-private.h
6219 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6220 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6221 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6222 temporary property 'columns' to change the number of columns.
6224 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6226 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6228 * examples/hildon-note-example.c: (on_information_clicked),
6229 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6230 debugging information.
6231 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6233 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6234 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6235 in order to close: this will be handled by the WM from now on.
6237 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6239 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6241 * src/hildon-app-menu-private.h
6242 * src/hildon-app-menu.c
6243 (hildon_app_menu_append, hildon_app_menu_add_filter)
6244 (button_visibility_changed, hildon_app_menu_apply_style)
6245 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6246 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6247 layout everytime a button (item or filter) is shown or hidden.
6249 * src/hildon-stackable-window.c
6250 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6253 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6255 * src/hildon-touch-selector.c:
6256 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6257 that the treeview inside the touch selector is in fremantle hildon mode
6258 * examples/hildon-date-button-example.c
6259 * examples/hildon-picker-button-multicolumn-example.c
6260 * examples/hildon-touch-selector-entry-example.c
6261 * examples/hildon-touch-selector-example.c
6262 * examples/hildon-time-button-example.c
6263 * examples/hildon-picker-button-example.c:
6264 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6266 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6268 * examples/hildon-text-view-example.c: (main): Remove the
6269 gtkrc bits, now handled by the theme.
6271 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6273 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6276 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6278 * po/Makefile.am: Install properly the mo files.
6279 * po/en_GB.po: Update translation, to ease testing purposes.
6281 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6283 * examples/hildon-picker-button-example.c: (main): Select an item
6284 in the selector before setting it to the button.
6286 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6288 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6289 Update button's value if the selector has an item active.
6291 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6292 'value' with the selector)
6294 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6297 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6298 (hildon_picker_button_class_init): Plug the finalize method.
6299 (hildon_picker_button_set_selector): If there's a previously set
6300 selector, unref'it before setting a new one.
6302 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6303 HildonTouchSelector)
6305 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6307 * src/hildon-touch-selector-entry.c:
6308 (hildon_touch_selector_entry_changed): Check if there is no text
6309 selected before setting the entry text.
6312 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6314 * src/hildon-touch-selector.h
6315 * src/hildon-touch-selector.c
6316 (hildon_touch_selector_get_active)
6317 (hildon_touch_selector_set_active): New methods to set/get the
6318 index of the selected item.
6320 * src/hildon-picker-button.h
6321 * src/hildon-picker-button.c
6322 (hildon_picker_button_get_active)
6323 (hildon_picker_button_set_active): New methods to set/get the
6324 index of the selected item.
6326 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6328 * configure.ac: post-release version bump.
6330 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6334 * configure.ac: Pre-release version bump.
6335 * debian/changelog: Updates.
6336 * debian/control: Add myself as maintainer and depend on l10n
6339 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-window.c
6342 (hildon_window_set_main_menu)
6343 * src/hildon-stackable-window.c
6344 (hildon_stackable_window_set_main_menu):
6345 Updated documentation.
6347 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6349 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6350 Don't free selector->priv manually.
6353 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6356 (hildon_gtk_window_set_progress_indicator):
6357 * src/hildon-gtk.h: Added the new API
6358 hildon_gtk_window_set_progress_indicator, it changes the state of
6359 the window progress hint.
6361 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6363 * src/hildon-button.c
6364 * src/hildon-stackable-window.c: Minor documentation updates.
6366 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-stackable-window.c: Updated documentation.
6370 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6372 * src/hildon-defines.h: Update margins definitions
6373 to the Fremantle sizes.
6376 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6378 * src/hildon-touch-selector.c,
6379 (_hildon_touch_selector_set_model): Cleaning the code after
6380 review, removed g_print and #if 0 from the code.
6382 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6384 * src/hildon-edit-toolbar.c: Update documentation.
6386 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6388 * src/hildon-check-button.h
6389 * src/hildon-check-button.c
6390 (hildon_check_button_set_label, hildon_check_button_get_label)
6391 * examples/hildon-check-button-example.c
6392 (button_clicked_cb):
6393 Removed deprecated methods.
6395 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6397 * src/hildon-text-view.c:
6398 Add sample code to the documentation.
6400 * src/hildon-entry.h
6401 * src/hildon-text-view.h:
6402 Minor cosmetic changes.
6404 * src/hildon-entry.c:
6405 Add sample code to the documentation.
6406 (hildon_entry_init, hildon_entry_refresh_contents):
6407 Don't allow NULL values in the placeholder.
6409 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6411 * doc/hildon-docs.sgml
6413 * examples/Makefile.am
6414 * examples/hildon-text-view-example.c
6416 * src/hildon-text-view.c
6417 * src/hildon-text-view.h
6419 New HildonTextView widget, with example.
6421 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6423 * po/POTFILES.in: Add missing files with translatable strings.
6424 Partially fixes NB#88287.
6426 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6428 * examples/hildon-pannable-area-example-2.c: (main): No need to
6429 set the cellrenderer height inside hildon touch lists, the theme does
6432 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6434 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6435 they are integrated in the theme.
6437 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6439 * examples/hildon-entry-example.c: Update the example adding
6440 widgets to modify the text and the placeholder of the HildonEntry.
6442 * src/hildon-entry.c: Show the placeholder everytime the widget
6443 is empty and loses the focus.
6445 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6447 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6449 * src/hildon-pannable-area.c,
6450 (hildon_pannable_area_size_request): Fixed bug in height
6451 requisition, avoid increasing size and add border twice.
6453 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6455 * configure.ac: postrelease version bump.
6457 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6461 * configure.ac: Prerelease version bump.
6462 * debian/changelog: update.
6463 * debian/rules: make -dbg package contain useful debugging symbols.
6465 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6467 * src/hildon-dialog.h
6468 * src/hildon-dialog.c
6469 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6470 New methods to add buttons with finger size.
6471 (hildon_dialog_new_with_buttons):
6472 Create buttons with finger size.
6474 * examples/hildon-dialog-example.c (main): Use HildonDialog
6475 methods to add buttons.
6477 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6479 * src/hildon-entry.c: Updated HildonButton documentation.
6481 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6483 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6484 button value label with (FALSE, FALSE) to prevent NB#88126 from
6487 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6489 * examples/hildon-pannable-area-example.c,
6490 (main): Removed examples panning a vbox inside a pannable
6491 area. Check bug NB#87965
6493 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6495 Patch contributed by Kris Rietveld (kris@imendio.com)
6497 * src/hildon-pannable-area.c,
6498 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6499 get_size and get_position, this saves an X server roundtrip.
6501 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6503 * doc/hildon-docs.sgml
6505 * examples/Makefile.am
6506 * examples/hildon-entry-example.c
6508 * src/hildon-entry.c
6509 * src/hildon-entry.h
6511 New HildonEntry widget, with example.
6513 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6515 * src/hildon-button.c (hildon_button_construct_child): Pack the
6516 image with expand == fill == FALSE. This is a workaround for a bug
6519 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6521 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6522 labels for the text column, to make it more look more dynamic.
6524 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6526 * src/hildon-time-selector.c
6527 Define gettext auxiliar macro N_
6528 (_create_minutes_model)
6529 (_create_hours_model)
6530 (_create_ampm_model): use of strftime in order to fill the model
6531 * src/hildon-date-selector.c
6532 (hildon_date_selector_finalize):
6533 (_locales_init): remove the logic related to get the name of the months
6534 using nl_langinfo, as it is not required anymore
6536 (_create_year_model)
6537 (_create_month_model)
6538 (_update_day_model): use of strftime in order to fill the model properly
6541 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6543 * src/hildon-button.h
6544 * src/hildon-button.c (hildon_button_get_image): New method to
6547 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6549 * src/hildon-touch-selector.c:
6550 (hildon_touch_selector_remove_column): Remove from the correct parent
6551 and also remove the list element and free it.
6554 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6556 * src/hildon-time-selector.c
6557 (_create_hours_model): change the range on 12h ampm format in order to use
6558 a 12-11 range instead of previous 01-12 range
6559 (hildon_time_selector_set_time): change the way to select the current time
6560 on 12h ampm format, due the change on the range
6561 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6564 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6566 * src/hildon-touch-selector.c
6567 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6568 in order to allow use this function on multiple row selection mode if
6569 the column is different that the first one
6572 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6574 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6575 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6577 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6579 * src/hildon-date-selector.h: clean some comments, now on the .c
6580 * src/hildon-date-selector.c
6581 (hildon_date_selector_select_month): first implementation
6582 (hildon_date_selector_select_day): added documentation, reimplemented
6583 using hildon_date_selector_select_current_date to avoid repeat code
6586 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6588 Reviewed interaction logic based on device experiences, refactored
6591 * src/hildon-pannable-area.c,
6592 (hildon_pannable_area_class_init): Updated default vmax speed.
6593 (hildon_pannable_area_calculate_velocity): Added this function, it
6594 avoids duplicate valocity calculation. Adjusted calculation to
6595 avoid problems with zero dist events.
6597 (hildon_pannable_area_motion_notify_cb): Now we use the
6598 calculate_velocity function.
6600 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6602 * src/hildon-date-selector.c
6603 (hildon_date_selector_select_current_date): fix the day range check
6604 as it failed using the last day of the current month
6607 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6609 * src/hildon-touch-selector.c
6610 (hildon_touch_selector_get_num_columns): added a parameter validation
6613 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6615 * examples/Makefile.am
6616 * examples/hildon-edit-toolbar-example.c: Example of the
6617 HildonEditToolbar widget.
6619 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6621 * configure.ac: postrelease version bump.
6623 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6627 * configure.ac: prerelease version bump.
6628 * debian/changelog: update.
6630 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6632 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6633 renderer to display stock icons in the touch list. Also, set the sizes
6634 to the recommended in the style guide.
6636 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6637 * src/hildon-touch-selector.h
6638 (hildon_touch_selector_set_active_iter): renamed, now is
6639 hildon_touch_selector_select_iter
6640 (hildon_touch_selector_get_active_iter): renamed, now is
6641 hildon_touch_selector_get_selected
6642 (hildon_touch_selector_unselect_iter): added
6643 * src/hildon-touch-selector.c
6644 Update after API modification (methods renamed)
6645 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6646 order to avoid problems selecting multiple elements on the column
6647 (hildon_touch_selector_unselect_iter): added the implementation
6648 * src/hildon-time-selector.c
6649 * src/hildon-date-selector.c
6650 * src/hildon-touch-selector-entry.c
6651 Update methods calls after hildon-touch-selector.h API modification (methods
6654 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6656 * src/hildon-stackable-window.c
6657 (hildon_stackable_window_finalize): Call the parent class's finalize.
6659 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6661 * examples/hildon-touch-selector-example.c: (create_selector): Use
6662 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6665 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6667 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6668 set a cell background color, to respect theming.
6670 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6672 * doc/hildon-docs.sgml
6675 * src/hildon-edit-toolbar.c
6676 * src/hildon-edit-toolbar.h
6677 * src/hildon.h: New HildonEditToolbar widget.
6679 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6681 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6684 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6685 * src/hildon-touch-selector.c
6686 (_create_new_column): use g_object_set instead of two g_object_set_property
6688 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6689 * src/hildon-touch-selector.c
6690 (_create_new_column): use of hildon_gtk_tree_view_new to create
6691 the treeview, instead of use directly g_object_new
6692 (_create_new_column): update the property name "vindicator-mode" for the
6693 new one "vscrollbar-policy"
6694 * examples/hildon-date-button-example.c
6695 * examples/hildon-picker-button-multicolumn-example.c
6696 * examples/hildon-touch-selector-entry-example.c
6697 * examples/hildon-touch-selector-example.c
6698 * examples/hildon-time-button-example.c
6699 * examples/hildon-picker-button-example.c
6700 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6701 to all the treeviews inside a pannable area.
6703 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6705 * src/hildon-button.h
6706 * src/hildon-button.c (hildon_button_init)
6707 (hildon_button_set_arrangement, hildon_button_set_alignment)
6708 (hildon_button_set_title_alignment)
6709 (hildon_button_set_value_alignment)
6710 (hildon_button_set_image_alignment)
6711 (hildon_button_construct_child): New methods to set the alignment
6712 of the individual components of the button (title, value,
6713 image). Also, new method to alter the xscale and yscale properties
6714 of the GtkAlignment inside the button, so more complex layouts can
6717 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6719 * src/hildon-button.c (hildon_button_style_set)
6720 (hildon_button_class_init, hildon_button_set_arrangement)
6721 (hildon_button_construct_child): Apply style properties
6722 correctly. Use the 'image-spacing' style property too.
6724 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6726 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6727 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6730 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6732 * src/hildon-pannable-area.c,
6733 (hildon_pannable_area_size_request): Fixed problem with
6734 pannable-area size_request.
6736 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6738 Added management for the grab-focus to a child widget, like a
6739 range, we need to fade out the scrollbar when releasing.
6741 * src/hildon-pannable-area.c,
6742 (hildon_pannable_area_init): Connected the grab-focus signal to
6744 (hildon_pannable_area_grab_notify): Added this function in order
6745 to manage the situation when the grab-focus ends. We have to
6746 fade-out the scrollbar.
6748 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6750 * src/hildon-app-menu.c: Minor documentation update.
6752 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6754 * src/hildon-app-menu.c
6755 * examples/hildon-app-menu-example.c (create_menu): Update
6756 examples and documentation to explain how to connect callbacks.
6758 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6760 * examples/hildon-button-example.c
6761 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6762 hildon_stackable_window_new instead of gtk_window_new
6764 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6766 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6767 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6768 (hildon_pannable_area_set_property),
6769 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6770 (hildon_pannable_area_unrealize),
6771 (hildon_pannable_area_size_request),
6772 (hildon_pannable_area_size_allocate),
6773 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6774 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6775 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6776 (hildon_pannable_area_initial_effect),
6777 (hildon_pannable_area_redraw),
6778 (hildon_pannable_area_scroll_indicator_fade),
6779 (hildon_pannable_area_expose_event),
6780 (hildon_pannable_area_get_topmost), (synth_crossing),
6781 (hildon_pannable_area_button_press_cb),
6782 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6783 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6784 (hildon_pannable_area_motion_notify_cb),
6785 (hildon_pannable_area_button_release_cb),
6786 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6787 (hildon_pannable_area_remove),
6788 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6789 chage the code layout to a more GtkWidget like. Review the use of
6792 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6794 * examples/hildon-pannable-area-example-4.c,
6795 (main): Modified the name of the hindicator_mode to
6798 * src/hildon-pannable-area.c,
6799 (hildon_pannable_area_class_init),
6800 (hildon_pannable_area_motion_notify_cb),
6801 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6802 we have reduced the amount of signals and managed reviewed its
6803 rationale. Changed the default decelerate value.
6805 (hildon_pannable_area_add),
6806 (hildon_pannable_area_redraw): Refactored functions.
6808 (hildon_pannable_area_init),
6809 (hildon_pannable_area_get_property),
6810 (hildon_pannable_area_set_property):
6811 (hildon_pannable_draw_vscroll),
6812 (hildon_pannable_draw_hscroll),
6813 (hildon_pannable_area_initial_effect),
6814 (hildon_pannable_area_expose_event),
6815 (hildon_pannable_area_scroll),
6816 (hildon_pannable_area_button_press_cb),
6817 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6818 and vindicator_mode with hscrollbar_policy and
6819 vscrollbar_policy. Replaced hscroll and vscroll with
6820 hscroll_visible and vscroll_visible.
6822 (hildon_pannable_area_refresh): Refactor the function, remove
6823 variables and check the calls to this function, added resize
6824 conditions in case the children change their layout.
6826 (hildon_pannable_area_size_request): Added more detailed
6827 size_request calculation.
6830 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6832 * src/hildon-color-chooser.c
6833 (init_borders): use the correct gtk_border_free instead of g_free, to
6834 avoid a crash when this widget is used (ie: the three color selection
6837 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6839 * src/hildon-check-button.c,
6840 (hildon_check_button_set_active): Fixed problem when setting the
6841 active value, the widget was not redrawn.
6843 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6845 * src/hildon-pannable-area.c,
6846 (hildon_pannable_area_refresh),
6847 (hildon_pannable_area_scroll),
6848 (hildon_pannable_area_motion_notify_cb): Small code style change.
6850 (hildon_pannable_area_class_init): Default initial_hint set to
6851 FALSE, it is not in the specs.
6853 (hildon_pannable_area_initial_effect),
6854 (hildon_pannable_area_expose_event),
6855 (hildon_pannable_area_map),
6856 (hildon_pannable_area_init): Moved the launching point of the
6857 initial effect, it was in map but the sizes where not correct in
6858 that method so we do not know if we have the reproduce it. Now it
6859 is placed in the expose_event method and uses a variable to
6860 reproduce it just once.
6862 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6864 * src/hildon-pannable-area.c,
6865 (hildon_pannable_draw_vscroll),
6866 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6867 position allowed for the scrollbars.
6869 (hildon_pannable_area_size_allocate): Small style change.
6871 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6873 * src/hildon-pannable-area.c,
6874 (hildon_pannable_area_scroll_indicator_fade),
6875 (hildon_pannable_area_button_press_cb),
6876 (hildon_pannable_area_button_release_cb),
6877 (hildon_pannable_area_scroll_cb),
6878 (hildon_pannable_area_expose_event),
6879 (hildon_pannable_area_init): Added the define parameter
6880 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6881 and refactor the fade variable.
6883 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6885 * src/hildon-pannable-area.c,
6886 (hildon_pannable_area_redraw),
6887 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6888 lines, we were reimplemeting the redraw code.
6890 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6892 * src/hildon-pannable-area.c,
6893 (hildon_pannable_area_scroll_cb),
6894 (hildon_pannable_area_realize),
6895 (hildon_pannable_area_class_init): Added scroll_event management
6896 for pannable area, now we can scroll the usual desktop method.
6898 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6899 initialization of the parameters should depend on idle_id.
6901 (hildon_pannable_area_init),
6902 (hildon_pannable_area_map): Small code style modifications
6904 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6906 * src/hildon-pannable-area.c
6907 (hildon_pannable_area_button_press_cb),
6908 (hildon_pannable_area_motion_notify_cb),
6909 (hildon_pannable_area_button_release_cb),
6910 (hildon_pannable_area_size_allocate),
6911 (hildon_pannable_area_scroll_to): Improved the timeouts
6912 management, we avoid creating them each time.
6914 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6916 * src/hildon-pannable-area.c:
6917 (hildon_pannable_area_refresh),
6918 (hildon_pannable_area_motion_notify_cb),
6919 (hildon_pannable_area_class_init):
6920 * src/hildon-pannable-area.h:
6921 * src/hildon-touch-selector.c
6922 (_create_new_column):
6923 * examples/hildon-pannable-area-example-4.c:
6924 (horizontal_movement),
6925 (vertical_movement),
6927 Replaced the names of enums in the HildonPannableArea:
6928 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6929 HILDON_MOVEMENT_MODE_*
6930 - HILDON_PANNABLE_AREA_MOV_* ->
6932 - Removed HildonPannableAreaIndicatorMode, now we
6935 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6937 * examples/hildon-pannable-area-touch-grid-example.c
6938 * examples/hildon-pannable-area-touch-list-example.c: Fix
6939 compilation warnings.
6941 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6943 * src/hildon-gtk.c (hildon_gtk_button_new)
6944 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6945 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6946 images overriding the value of the "gtk-button-images" setting.
6948 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6950 * src/hildon-check-button.c (hildon_check_button_new):
6951 Instead of using a custom container, display the label and the
6952 checkbox using the standard GtkButton API.
6954 * examples/hildon-check-button-example.c (main): Don't use
6955 hildon_check_button_set_label() anymore
6957 * src/hildon-check-button.h
6958 * src/hildon-check-button.c
6959 (hildon_check_button_set_label, hildon_check_button_get_label):
6960 Set as deprecated, now we're using gtk_button_{get,set}_label()
6962 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6964 * src/hildon-pannable-area.c,
6965 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6966 GtkTreeview first line we detected it after the inclusion of the
6967 GtkWindowImpl in gtk+. We now check if the window is visible, not
6968 just if the pointer is over the window.
6969 (hildon_pannable_axis_scroll),
6970 (hildon_pannable_area_expose_event): Small style changes.
6972 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6974 * src/hildon-button.c: Update documentation.
6976 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6978 * examples/hildon-button-example.c: Add a switch to show images in
6981 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6983 * doc/hildon-docs.sgml: Some docs reorganization.
6985 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6987 * examples/hildon-pannable-area-touch-list-example.c
6989 * examples/hildon-pannable-area-touch-grid-example.c
6990 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6991 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6992 Fix memory leak when setting the tree model.
6994 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6998 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7000 * doc/hildon.types: Remove duplicated hildon_window_get_type
7001 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7002 documentation comment.
7004 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7006 * doc/Makefile.am: Complete list of private headers.
7008 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7010 * doc/hildon-docs.sgml
7011 * src/hildon-app-menu.c
7012 * src/hildon-bread-crumb.c
7013 * src/hildon-button.c
7015 * src/hildon-program.c
7016 * src/hildon-stackable-window.c
7017 * src/hildon-window.c: Lots of documentation updates.
7019 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7021 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7023 * configure.ac: Require Gtk+ 2.12.9 at least
7025 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7027 * src/hildon-pannable-area.c
7028 (hildon_pannable_area_scroll_indicator_fade),
7029 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7030 to protect the return of this timeout callbacks, avoiding deadlocks.
7032 2008-08-12 Christian Dywan <christian@imendio.com>
7035 * src/hildon-*.h: Ensure a consistent include order,
7036 include <gtk/gtk.h> instead of particular files and
7037 only include the topmost header in the gtk stack. See NB #39857
7039 2008-08-12 Christian Dywan <christian@imendio.com>
7041 * src/hildon-picker-dialog.c
7042 * src/hildon-touch-selector.c: Fix warnings about unused and
7043 uninitialized variables.
7045 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7047 * examples/Makefile.am
7048 * examples/hildon-check-button-example.c: Example of the hildon
7051 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7053 * src/hildon-window.h
7054 * src/hildon-window.c (hildon_window_class_init)
7055 (hildon_window_unset_program): Don't make
7056 hildon_window_unset_program a virtual function anymore.
7058 * src/hildon-stackable-window.c: Update documentation
7060 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7063 * doc/hildon-docs.sgml
7064 * doc/visual_index.xml
7065 * src/hildon-defines.c
7067 * src/hildon-helper.c
7068 * src/hildon-range-editor.c: Lots of documentation fixes.
7070 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7072 * examples/hildon-picker-button-multicolumn-example.c
7073 (create_touch_selector): Fix compilation warning.
7075 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7077 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7078 (hildon_pannable_area_button_release_cb)
7079 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7081 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7083 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7086 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7088 * src/hildon-bread-crumb-trail.h
7089 * src/hildon-date-editor.c
7090 * src/hildon-date-selector.c
7091 * src/hildon-pannable-area.c
7092 * src/hildon-picker-dialog.c
7093 * src/hildon-time-selector.c
7094 * src/hildon-touch-selector-entry.c
7095 * src/hildon-touch-selector.c
7096 * src/hildon-touch-selector.h: Misc documentation fixes
7098 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7100 * examples/hildon-date-editor-example.c (main): Updated date
7103 * examples/hildon-note-example.c (on_confirmation_clicked):
7104 Updated confirmation note example.
7106 * src/hildon-date-editor.c
7107 * src/hildon-note.c: Updated sample programs in documentation.
7110 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7112 * src/hildon-date-button.h:
7113 * src/hildon-picker-button.h:
7114 * src/hildon-time-button.c:
7115 * src/hildon-time-button.h:
7117 Some declarations changes to allow gtk-doc to document the widgets
7120 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7122 * src/hildon-date-button.c: Document the widget.
7123 * src/hildon-time-button.c: Document the widget.
7125 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7127 * src/hildon-picker-button.c: Document the widget.
7128 * src/hildon-touch-selector-entry.c: Document the widget.
7130 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7132 * doc/hildon-docs.sgml
7135 * src/hildon-check-button.h
7136 * src/hildon-check-button.c: New functions to create the Hildon
7140 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7142 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7144 * src/hildon-button.h
7145 * src/hildon-button.c
7146 (hildon_button_add_title_size_group)
7147 (hildon_button_add_value_size_group)
7148 (hildon_button_add_image_size_group)
7149 (hildon_button_add_size_groups): New functions to set size groups
7150 for the button labels and image.
7151 (hildon_button_new_full): Removed
7153 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7155 * src/hildon-time-selector.c
7156 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7157 in order to avoid a crash if gconf is not available
7159 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7161 * src/hildon-button.c (hildon_button_set_arrangement)
7162 (hildon_button_construct_child): Don't construct the button child
7163 before setting the arrangement.
7165 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7167 * src/hildon-program-private.h
7168 * src/hildon-program.c
7169 * src/hildon-program.h
7170 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7171 (hildon_program_peek_window_stack)
7172 (hildon_program_pop_window_stack)
7173 (hildon_program_go_to_root_window): HildonProgram now has a
7174 separate list for stackable windows. Functions are provided to
7175 manage that list with a stack-like API.
7177 * src/hildon-stackable-window.c: Stackable window management is
7178 now much simpler with the new HildonProgram API. Windows no
7179 longer need to be manually added to the program, they're
7180 automatically pushed to the top of the stack when shown.
7182 * examples/hildon-stackable-window-example.c: Updated example to
7183 reflect the API changes.
7185 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7187 * src/hildon-touch-selector.c: Comment out unimplemented
7188 hildon_touch_selector_insert_column() to avoid a compile warning.
7190 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7192 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7193 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7194 (hildon_touch_selector_set_column_selection_mode),
7195 (_hildon_touch_selector_set_model),
7196 (hildon_touch_selector_set_model):
7198 Complete review of HildonTouchSelector documentation.
7200 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7202 * doc/hildon-docs.sgml
7206 * src/hildon-gtk.c: Convenience functions for standard Gtk
7207 widgets, used to easily perform frequent operations.
7209 * src/hildon-button-helpers.h
7210 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7212 * src/hildon-helper.h
7213 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7214 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7216 * src/hildon-button.h
7217 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7219 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7221 * src/hildon-button.c (hildon_button_init)
7222 (hildon_button_set_arrangement, hildon_button_construct_child):
7223 Pack the image and the labels inside the same GtkAlignment so
7224 gtk_button_set_alignment() can be used
7226 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7228 * src/hildon-button.h
7229 * src/hildon-button.c
7230 (hildon_button_init, hildon_button_set_image)
7231 (hildon_button_set_image_position)
7232 (hildon_button_construct_child): New functions to add an image to
7235 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7237 * src/hildon-date-button.c
7238 * src/hildon-picker-button.c
7239 * src/hildon-time-button.c
7240 * src/hildon-button.c:
7241 (hildon_button_class_init): "size-flags" renamed to "size"
7242 (hildon_button_set_title): Hide the title label if set to NULL.
7244 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7246 HildonButtonFlags split into HildonButtonArrangement (to set the
7247 button layout) and HildonSizeType (which can be used for any
7250 * src/hildon-button.h
7251 * src/hildon-button.c
7252 (hildon_button_class_init)
7253 (hildon_button_set_arrangement)
7254 (hildon_button_set_property): New "size-flags"
7255 property. "arrangement-flags" renamed to "arrangement".
7256 (hildon_button_new, hildon_button_new_with_text)
7257 (hildon_button_new_full): Constructors updated to reflect type changes.
7259 * src/hildon-helper.h
7260 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7261 to set the size of a widget.
7265 * src/hildon-button-helpers.c
7266 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7268 * src/hildon-date-button.c
7269 * src/hildon-date-button.h
7270 * src/hildon-picker-button.c
7271 * src/hildon-picker-button.h
7272 * src/hildon-time-button.c
7273 * src/hildon-time-button.h: Updated widgets to reflect
7274 HildonButton API changes.
7276 * examples/hildon-button-example.c
7277 * examples/hildon-date-button-example.c
7278 * examples/hildon-picker-button-example.c
7279 * examples/hildon-picker-button-multicolumn-example.c
7280 * examples/hildon-time-button-example.c
7281 * examples/hildon-touch-selector-entry-example.c
7282 * examples/hildon-touch-selector-example.c: Updated examples to
7283 reflect HildonButton API changes.
7285 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7287 * doc/hildon-docs.sgml:
7289 * examples/Makefile.am:
7290 * examples/hildon-touch-selector-entry-example.c:
7292 * src/hildon-touch-selector-entry.c:
7293 * src/hildon-touch-selector-entry.h:
7296 Moved HildonTouchSelectorEntry from sandbox. Added its
7297 documentation and examples.
7299 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7301 * src/hildon-touch-selector.h:
7302 * examples/hildon-picker-button-multicolumn-example.c:
7303 (hildon_touch_selector_append_text_column): Add a gboolean
7304 parameter to determine if text must be centered in the column.
7306 * src/hildon-date-selector.c: (hildon_date_selector_init):
7307 * src/hildon-time-selector.c: (hildon_time_selector_init):
7308 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7309 (create_touch_selector): Update widgets and example to reflect
7312 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7314 * src/hildon-touch-selector.c:
7315 (hildon_touch_selector_set_active_iter): Set also the cursor in
7318 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7320 * doc/hildon-docs.sgml
7323 * src/hildon-toggle-button.c
7324 * src/hildon-toggle-button.h
7325 * src/hildon.h: Removed HildonToggleButton widget, a derived
7326 class is not necessary for this.
7328 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7330 * src/hildon-pannable-area.c,
7331 (hildon_pannable_area_realize),
7332 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7335 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7337 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7338 "done" button the default widget for the dialog.
7340 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7342 * src/hildon-touch-selector.c:
7343 (hildon_touch_selector_class_init),
7344 (hildon_touch_selector_get_property),
7345 (_hildon_touch_selector_set_model),
7346 (_hildon_touch_selector_has_multiple_selection),
7347 (hildon_touch_selector_has_multiple_selection):
7348 Add a "has-multiple-selection" property with a virtual
7349 has_multiple_selection() method to allow derived classes to
7350 override the default value for it. See the method and property
7351 documentation for details.
7353 * src/hildon-touch-selector.h: Add the new API.
7355 * src/hildon-picker-dialog.c: (requires_done_button): Call
7356 hildon_touch_selector_has_multiple_selection() instead of
7357 determining the need for a button itself.
7359 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7361 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7362 (_hildon_touch_selector_set_model),
7363 (hildon_touch_selector_set_model): Move working code to
7364 _hildon_touch_selector_set_mode(). Call the class method instead.
7366 * src/hildon-touch-selector.h: Add (*set_model) to
7367 HildonTouchSelectorClass.
7369 Make hildon_touch_selector_set_model() a virtual method, so that
7370 derived classes can extend it and do fancy stuff with the model.
7372 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7374 * configure.ac: Set back the tarname in AC_INIT to hildon.
7376 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7380 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7381 instead of libesd (NB#86876). Volume handling is still an open issue.
7383 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7386 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7388 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7389 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7390 derived class to ease placement of an entry widget in
7391 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7392 end, where the selector columns are packed now.
7394 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7396 * src/hildon-picker-button.c: Removed the simple _text() API.
7397 * src/hildon-picker-button.h: Likewise.
7399 * src/hildon-touch-selector.h:
7400 * src/hildon-touch-selector.c:
7401 (hildon_touch_selector_new_text),
7402 (hildon_touch_selector_append_text),
7403 (hildon_touch_selector_prepend_text),
7404 (hildon_touch_selector_insert_text):
7406 Moved the simple _text() API from HildonPickerButton to
7407 HildonTouchPicker, to provide better escalability and not to tie
7408 that API to HildonPickerButton.
7410 * examples/hildon-picker-button-example.c: (main): Example updated.
7412 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7414 * src/hildon-button.c: Updated documentation.
7416 * examples/hildon-button-example.c: Add the posibility to create
7417 the buttons using horizontal layout for title and value.
7419 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7421 * src/hildon-app-menu-private.h
7422 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7423 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7424 GtkSizeGroup for the filters, use the 'homogeneous' property of
7427 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7429 * examples/hildon-button-example.c: Updated example.
7431 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7433 * doc/hildon-docs.sgml:
7436 Update documentation.
7438 * examples/Makefile.am: Update renamed examples.
7440 * examples/hildon-picker-button-multicolumn-example.c:
7441 (create_touch_selector), (main): Update after the rename.
7443 * examples/hildon-touch-picker-example.c: Removed.
7444 * examples/hildon-touch-selector-example.c: (value_changed),
7445 (create_selector), (get_visible_content), (main): Renamed from
7446 hildon-touch-picker-example.c
7448 * src/Makefile.am: Updated renamed files.
7450 * src/hildon-date-button.c: (hildon_date_button_init),
7451 (hildon_date_button_get_date), (hildon_date_button_set_date):
7452 * src/hildon-date-selector.c: (hildon_date_selector_init),
7453 (_custom_print_func), (_update_day_model),
7454 (_manage_selector_change_cb),
7455 (hildon_date_selector_select_current_date),
7456 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7457 * src/hildon-date-selector.h:
7458 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7459 (hildon_picker_button_set_property),
7460 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7461 (hildon_picker_button_init), (hildon_picker_button_new_text),
7462 (hildon_picker_button_append_text),
7463 (hildon_picker_button_prepend_text),
7464 (hildon_picker_button_insert_text),
7465 (hildon_picker_button_set_selector),
7466 (hildon_picker_button_get_selector):
7467 * src/hildon-picker-button.h:
7468 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7469 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7470 (_update_title_on_selector_changed_cb), (requires_done_button),
7471 (_hildon_picker_dialog_set_selector),
7472 (hildon_picker_dialog_set_selector),
7473 (hildon_picker_dialog_get_selector):
7474 * src/hildon-picker-dialog.h:
7475 * src/hildon-time-button.c: (hildon_time_button_init),
7476 (hildon_time_button_get_time), (hildon_time_button_set_time):
7477 * src/hildon-time-selector.c: (hildon_time_selector_init),
7478 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7479 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7480 * src/hildon-time-selector.h:
7483 Massive code updates after the rename.
7485 * src/hildon-touch-picker.c: Removed.
7486 * src/hildon-touch-picker.h: Removed.
7488 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7489 (hildon_touch_selector_init), (hildon_touch_selector_map),
7490 (hildon_touch_selector_remove), (_default_print_func),
7491 (_selection_changed_cb), (_create_new_column),
7492 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7493 (hildon_touch_selector_append_text_column),
7494 (hildon_touch_selector_remove_column),
7495 (hildon_touch_selector_set_column_attributes),
7496 (hildon_touch_selector_insert_column),
7497 (hildon_touch_selector_get_num_columns),
7498 (hildon_touch_selector_get_column_selection_mode),
7499 (hildon_touch_selector_set_column_selection_mode),
7500 (hildon_touch_selector_set_print_func),
7501 (hildon_touch_selector_get_print_func),
7502 (hildon_touch_selector_get_active_iter),
7503 (hildon_touch_selector_set_active_iter),
7504 (hildon_touch_selector_get_selected_rows),
7505 (hildon_touch_selector_get_model),
7506 (hildon_touch_selector_set_model),
7507 (hildon_touch_selector_get_current_text),
7508 (_hildon_touch_selector_center_on_selected_items):
7509 * src/hildon-touch-selector.h: Renamed from
7510 hildon-touch-picker.[ch]
7512 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7513 references, code examples, and related documentation.
7515 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7517 * doc/hildon-docs.sgml
7520 * src/hildon-toggle-button.c
7521 * src/hildon-toggle-button.h
7522 * src/hildon.h: New HildonToggleButton widget.
7524 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7526 * src/hildon-button.c: Add API documentation.
7527 (hildon_button_set_size_groups): Check input parameters
7529 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7531 * src/hildon-pannable-area.c
7532 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7533 effect after reaching the movement thredshold. This way we start
7534 using the distance after passing the thredshold.
7536 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7538 * src/hildon-button.c: (hildon_button_set_property): Use the
7539 appropriate g_value_get_flags() method.
7541 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7543 * doc/hildon-docs.sgml:
7546 Add the touch pickers, picker dialogs, and picker button widgets
7547 to the documentation.
7549 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7551 * src/hildon-button.c: (hildon_button_set_property),
7552 (hildon_button_class_init): Make "arrangement-flags" a proper
7553 G_TYPE_FLAGS derived property.
7555 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7557 * examples/Makefile.am: Add below examples.
7558 * examples/hildon-date-button-example.c:
7559 * examples/hildon-picker-button-example.c:
7560 * examples/hildon-picker-button-multicolumn-example.c:
7561 * examples/hildon-time-button-example.c:
7562 * examples/hildon-touch-picker-example.c:
7564 Add examples for the recently added touch pickers,
7565 picker dialogs, and picker button widgets.
7567 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7569 * src/hildon-button.c: Add some API documentation
7571 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7573 * src/hildon-button.h
7574 * src/hildon-button.c
7576 (hildon_button_new_with_text): New constructor to create a button
7577 with no text at all.
7578 (hildon_button_init, hildon_button_set_arrangement)
7579 (hildon_button_set_title, hildon_button_set_value)
7580 (hildon_button_set_text)
7581 (hildon_button_construct_child): Hide the value when it's not used
7582 so the rest of the text is properly aligned.
7583 Allow creating buttons with arbitrary widgets inside (not just
7584 title/value labels).
7586 * examples/hildon-button-example.c (vertical_buttons_window)
7587 (horizontal_buttons_window): Update example to use new API.
7589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7591 * src/Makefile.am: Added HildonTimeButton.
7592 * src/hildon-time-button.c: Added missing LGPL header.
7593 * src/hildon-time-button.h: Added missing LGPL header.
7594 * src/hildon.h: Add hildon-time-button.h
7596 Copied HildonTimeButton from sandbox to trunk. Future work on this
7597 widget must take place in trunk.
7599 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7601 * src/Makefile.am: Added HildonDateButton.
7602 * src/hildon-date-button.c: Update includes.
7603 * src/hildon.h: Add hildon-date-button.h
7605 Copied HildonDateButton from sandbox to trunk. Future work on this
7606 widget must take place in trunk.
7608 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7610 * src/Makefile.am: Added HildonPickerButton.
7611 * src/hildon-picker-button.h: Update includes.
7612 * src/hildon.h: Add hildon-picker-button.h
7614 Copied HildonPickerButton from sandbox to trunk. Future work on
7615 this widget must take place in trunk.
7617 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7619 * src/Makefile.am: Added HildonPickerDialog.
7620 * src/hildon-picker-dialog.c: Update includes.
7621 * src/hildon.h: Add hildon-picker-dialog.h
7623 Copied HildonPickerDialog from sandbox to trunk. Future work
7624 on this widget must take place in trunk.
7626 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7628 * src/Makefile.am: Added HildonTimeSelector.
7629 * src/hildon.h: Add hildon-time-selector.h
7631 Copied HildonTimeSelector 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 HildonDateSelector.
7637 * src/hildon.h: Add hildon-date-selector.h
7639 Copied HildonDateSelector widget from sandbox to trunk. Future
7640 work on this widget must happen in trunk.
7642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7644 * src/Makefile.am: Added HildonTouchPicker.
7645 * src/hildon-touch-picker.c: Update includes.
7646 * src/hildon.h: Add hildon-touch-picker.h
7648 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7649 on this widget must happen in trunk.
7651 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7653 * src/hildon-pannable-area.c:
7654 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7656 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7658 * examples/hildon-app-menu-example.c (main): Let the window
7661 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7663 * src/hildon-pannable-area.c
7664 (hildon_pannable_area_class_init): Set the min value of the
7665 overshoot properties to zero, which points out that not
7666 overshooting allowed.
7668 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7670 Modified the procedure to get the widget at a point inside the
7671 pannable area when using the movement type signals. Now the user
7672 has to call a function to get the child, that way we just
7673 calculate the child in case the user really want to use it and not
7676 * src/hildon-marshalers.list: Modified the marshallers, now we do
7677 not have the widget as a parameter.
7679 * src/hildon-pannable-area.c
7680 (hildon_pannable_area_motion_notify_cb),
7681 (hildon_pannable_area_class_init),
7682 (hildon_pannable_get_child_widget_at): Removed the widget
7683 parameter from the signal callback. We have also refactored the
7684 emission of the signals.
7686 * src/hildon-pannable-area.h: Added a new method to the API to
7687 calculate a widget at a point inside the pannable area,
7688 hildon_pannable_get_child_widget_at.
7690 * examples/hildon-pannable-area-example-4.c
7691 (horizontal_movement): Modified the example to use the new API,
7692 added condition to control which widget is under the event. This
7693 way we can avoid scrolling laterally over other widgets.
7695 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7697 * src/hildon-pannable-area.c
7698 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7699 modes, we stop getting the pointer events due to returning the
7700 callback without properly calling the get pointer again. Fixed
7701 also an error using the hscroll and vscroll.
7703 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7705 * src/hildon-app-menu-private.h
7706 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7707 (hildon_app_menu_button_release, hildon_app_menu_init)
7708 (hildon_app_menu_class_init): Don't hide the menu on button
7709 release if the user didn't press outside first.
7711 * src/hildon-window.h
7712 * src/hildon-window.c (hildon_window_toggle_menu)
7713 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7714 hildon_window_toggle_menu a virtual function for the stackable
7715 window to override it.
7717 * src/hildon-stackable-window.h
7718 * src/hildon-stackable-window-private.h
7719 * src/hildon-stackable-window.c
7720 (hildon_stackable_window_realize)
7721 (hildon_stackable_window_finalize)
7722 (hildon_stackable_window_class_init)
7723 (hildon_stackable_window_init)
7724 (hildon_stackable_window_set_main_menu): New function to set the
7725 app menu of a HildonStackableWindow.
7727 * examples/hildon-app-menu-example.c: Remove the button to show
7728 the app menu, now it'll be shown when clicking on the title bar
7731 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7733 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7734 set the widget name if the arrangement flags do not specify
7737 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7739 * src/hildon-button.c: (hildon_button_set_property),
7740 (hildon_button_class_init), (hildon_button_new_full),
7741 (hildon_button_set_arrangement): Added "arrangement-flags"
7744 Make the HildonButtonFlags a construction-only property, to allow
7745 subclasses to set them properly.
7747 2008-07-21 Tim Janik <timj@imendio.com>
7749 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7750 insertion position after backspace, so additional digits are appended,
7753 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7755 * src/hildon-pannable-area.c,
7756 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7757 TODO list, it was complete and removed the g_debug and g_print
7760 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7762 Added the movement modes to the hildon-pannable-area, with this
7763 modes the developers can control in which directions the widget
7764 can scroll. They can also connect to signals in order to do
7765 something when that happens, allowing applications scroll. There
7766 is an example uploaded showing how to use it.
7768 * examples/Makefile.am:
7769 * examples/hildon-pannable-area-example-4.c: Added this example of
7770 an application using the modes.
7772 * src/hildon-marshalers.list: Added a new marshaller for the new
7775 * src/hildon-pannable-area.h: Added new enumerations and flags in
7776 order to control the movement modes and the new signals to warn
7777 about the movements in the area.
7779 * src/hildon-pannable-area.c:
7780 (hildon_pannable_axis_scroll),
7781 (hildon_pannable_area_scroll),
7782 (hildon_pannable_area_motion_notify_cb),
7783 (hildon_pannable_area_get_property),
7784 (hildon_pannable_area_set_property),
7785 (hildon_pannable_area_map),
7786 (hildon_pannable_area_class_init),
7787 (hildon_pannable_area_init),
7788 (hildon_pannable_area_jump_to): Added the modes to control the
7789 movement in the widget. We have added properties to control it,
7790 signals to warn about the movements and refactored some code.
7792 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7794 Changes required in order to allow vfast_factor set to zero to
7797 * src/hildon-pannable-area.c:
7798 (hildon_pannable_area_button_press_cb): Changed the condition, it
7799 is required for not allowing click when vfast_factor is zero.
7800 (hildon_pannable_area_timeout): Initialized velocity variables
7801 when we stop moving, it was less than 1 but not zero and we need
7802 to check zero in some situations.
7803 (hildon_pannable_area_class_init): Changed the default value of
7804 the speed factor, now the button_press is just sent in case the
7805 speed is 2 per cent of the max speed.
7806 (hildon_pannable_area_init): Initialization with 0.
7808 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7810 * src/hildon-pannable-area.c,
7811 (hildon_pannable_area_get_topmost): replaced
7812 gdk_window_get_children with gdk_window_peek_children, this way we
7813 do not have to free the list because it is not a copy.
7815 (hildon_pannable_axis_scroll),
7816 (hildon_pannable_area_scroll),
7817 (hildon_pannable_area_timeout),
7818 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7819 two parameters that were only used inside the
7820 hildon_pannable_area_scroll function.
7822 * examples/hildon-pannable-area-example.c,
7823 (get_sawtooth_label): Fixed small memory leak.
7825 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7827 More checks for the case where the overshoot is bigger than the
7830 * src/hildon-pannable-area.c:
7831 (hildon_pannable_draw_vscroll),
7832 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7833 to draw the slider of the scrollbar under the other scrollbar.
7834 (hildon_pannable_area_expose_event): added new checks to control
7835 the drawing of the overshooting area rectangle, in case it is too
7836 big for the area of the widget.
7837 (hildon_pannable_area_size_allocate): add more checks to avoid
7838 setting a position to the child widget outside the area.
7840 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7842 * src/hildon-pannable-area.c
7843 (hildon_pannable_area_size_allocate): Added conditions to control
7844 when overshooting is bigger than the allocated space for the
7845 children, this avoids negative allocations.
7847 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7849 * doc/hildon-docs.sgml
7851 * examples/Makefile.am
7852 * examples/hildon-button-example.c
7854 * src/hildon-button.c
7855 * src/hildon-button.h
7856 * src/hildon.h: Initial version of the new HildonButton widget,
7859 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7861 * src/hildon-pannable-area.c:
7862 (hildon_pannable_area_button_press_cb),
7863 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7864 (hildon_pannable_area_motion_notify_cb),
7865 (hildon_pannable_area_button_release_cb),
7866 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7867 (hildon_pannable_area_jump_to_child):
7869 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7871 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7873 * examples/Makefile.am
7874 * examples/hildon-pannable-area-touch-grid-example.c
7875 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7876 the Hildon Touch List and Hildon Touch Grid using the
7877 HildonPannableArea widget.
7879 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7881 * src/hildon-pannable-area.c,
7882 (hildon_pannable_area_button_press_cb),
7883 (hildon_pannable_area_refresh),
7884 (hildon_pannable_area_scroll),
7885 (hildon_pannable_area_motion_notify_cb),
7886 (hildon_pannable_area_button_release_cb),
7887 (hildon_pannable_area_expose_event),
7888 (hildon_pannable_area_add),
7889 (hildon_pannable_area_remove),
7890 (hildon_pannable_area_realize),
7891 (hildon_pannable_area_size_allocate),
7892 (hildon_pannable_area_class_init),
7893 (hildon_pannable_area_init),
7894 (hildon_pannable_area_scroll_to_child),
7895 (hildon_pannable_area_jump_to_child): Fixed the problem of
7896 removing the child from the GtkBin, we have rearranged the widget
7897 hierarchy, now there is no GtkAlignment which was not doing
7898 anything interesting but breaking some of the assumptions of
7899 GtkContainer. Now developers if they want to add a GtkAlignment
7900 they could, but it is not inside the area.
7902 We had to review the whole allocation/expose process, now it is
7903 improved and we save at least three signals which would be saving
7904 some time when rendering the widget. The allocation of the
7905 scrollbars is now made in the allocate method as usual.
7907 We have also added some conditions in order to control when there
7908 is no child of the pannable area. Maybe we will need more work
7911 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7913 * src/hildon-pannable-area.c,
7914 (hildon_pannable_area_dispose): Released the fade-out timeout when
7915 disposing the widget.
7917 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7919 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7920 zero, we are going to use that property in order to deactivate the
7922 (hildon_pannable_axis_scroll),
7923 (hildon_pannable_area_size_allocate): Added conditions to control
7924 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7925 call, now it is called in all situations and we can remove calls
7926 in the allocate method.
7927 (hildon_pannable_area_map): Control the situation when
7928 overshoot_max is zero, we do not need the timeout.
7929 (hildon_pannable_area_class_init): Added documentation in order to
7930 point out that setting zero to overshoot_max means deactivate
7933 NOTE: removed trailing whitespaces from my previous comments of
7936 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7938 * src/hildon-pannable-area.c
7939 (hildon_pannable_area_get_property),
7940 (hildon_pannable_area_set_property),
7941 (hildon_pannable_area_map),
7942 (hildon_pannable_area_class_init),
7943 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7944 to cause the widget give a hint about its panning abilities upon
7947 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7949 * src/hildon-pannable-area.c: Several documentation improvements.
7951 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7953 * src/hildon-program.c
7954 * src/hildon-stackable-window.c: Update documentation.
7956 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7958 * src/hildon-stackable-window.c (get_previous_window_if_last):
7959 Renamed get_last_window()
7960 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7961 (hildon_stackable_window_unset_program):
7963 (get_previous_window_if_last):
7964 Detect if the window hasn't been added to a HildonProgram.
7966 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7968 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7970 * src/hildon-pannable-area.c
7971 (hildon_pannable_area_button_press_cb),
7972 (hildon_pannable_axis_scroll),
7973 (hildon_pannable_area_scroll),
7974 (hildon_pannable_area_timeout),
7975 (hildon_pannable_calculate_vel_factor),
7976 (hildon_pannable_area_get_property),
7977 (hildon_pannable_area_set_property),
7978 (hildon_pannable_area_class_init),
7979 (hildon_pannable_area_init),
7980 (hildon_pannable_area_scroll_to),
7981 (hildon_pannable_area_jump_to),
7982 (hildon_pannable_area_scroll_to_child),
7983 (hildon_pannable_area_jump_to_child):
7984 * src/hildon-pannable-area.h: Added the new API functions:
7985 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7986 hildon_pannable_area_scroll_to_child,
7987 hildon_pannable_area_jump_to_child
7990 * examples/Makefile.am
7991 * examples/hildon-pannable-area-example-2.c
7992 * examples/hildon-pannable-area-example-3.c: Added these two new
7993 examples in order to test and show how the new APIs work.
7995 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7997 * examples/hildon-stackable-window-example.c (new_window):
7998 * src/Makefile.am (noinst_HEADERS):
7999 * src/hildon-program.c (hildon_program_go_to_root_window):
8000 * src/hildon-program.h:
8001 * src/hildon-stackable-window-private.h:
8002 * src/hildon-stackable-window.c:
8003 * src/hildon-stackable-window.h:
8004 Create hildon-stackable-window-private.h
8005 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8007 * examples/hildon-app-menu-example.c (create_menu):
8008 * examples/hildon-hvolumebar-insensitive-example.c (main):
8009 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8010 * examples/hildon-toolbar-seekbar-example.c (main):
8011 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8012 * src/hildon-banner.c (hildon_banner_set_property):
8013 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8014 Fix compilation warnings
8016 * src/hildon-window.c:
8019 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8021 * src/hildon-stackable-window.c
8022 (hildon_stackable_window_unset_program):
8023 Calculate correctly whether to show the previous window if the
8024 last one is removed from the stack.
8025 (hildon_stackable_window_go_to_root_window):
8026 Send delete events starting from the topmost window.
8027 Stop if one of the windows is not destroyed.
8029 (hildon_stackable_window_delete_event)
8030 (hildon_stackable_window_class_init):
8031 Ignore the delete event if the window is not the topmost one.
8033 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8035 * src/hildon-pannable-area.c
8036 (hildon_pannable_area_expose_event): Fixed a problem when
8037 selecting the background color of the scrollbars.
8039 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8041 * examples/hildon-stackable-window-example.c
8042 * src/hildon-stackable-window.c
8043 * src/hildon-stackable-window.h
8044 hildon_stackable_window_go_home() renamed to
8045 hildon_stackable_window_go_to_root_window()
8046 Send delete events to windows rather than closing them with
8047 gtk_widget_destroy()
8049 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8051 * src/hildon-pannable-area.c
8052 (hildon_pannable_area_button_release_cb): Fix overshooting in
8055 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8057 * src/hildon-pannable-area.c
8058 (hildon_pannable_area_init): Initially show the scroll indicators.
8059 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8061 Add initial effect showing the widget is pannable.
8063 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8065 * src/hildon-pannable-area.c
8066 (hildon_pannable_area_class_init)
8067 (hildon_pannable_area_set_property)
8068 (hildon_pannable_area_get_property)
8069 (hildon_pannable_area_button_press_cb):
8070 New 'velocity_fast_factor' property to decide which velocity is
8073 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8075 * src/hildon-pannable-area.c
8076 (hildon_pannable_draw_hscroll)
8077 (hildon_pannable_draw_vscroll):
8078 Use float variables to calculate the size of the scrollbars to
8079 avoid error propagation and resizing during scrolling.
8081 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8083 * src/hildon-pannable-area.c
8084 (hildon_pannable_draw_vscroll)
8085 (hildon_pannable_draw_hscroll):
8086 Define a minimum size for the scroll bars
8088 * src/hildon-stackable-window.c
8089 (hildon_stackable_window_go_home): Fix compilation warning
8090 (get_last_window): Minor optimizations
8091 (hildon_stackable_window_class_init): Fix initialization of
8094 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8096 * src/hildon-stackable-window.c: Fixed typos in doc
8098 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8100 * src/hildon-pannable-area.c
8101 (hildon_pannable_area_scroll):
8102 Calculate here whether we need to scroll instead of using the booleans
8103 that tell us whether to /draw/ the scrolling bars.
8105 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8107 * src/hildon-app-menu.h
8109 * src/hildon-app-menu.c
8110 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8111 multiple filter groups related code and API. Now we support only
8113 * examples/hildon-app-menu-example.c:
8115 Update to reflect API changes.
8117 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8119 * src/hildon-stackable-window.c
8120 (hildon_stackable_window_class_init):
8121 Add hildon_stackable_window_realize.
8122 (hildon_stackable_window_realize):
8123 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8124 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8125 to apply theming and behavior specific to HildonStackableWindow
8128 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8130 * src/hildon-note.c (hildon_note_button_release):
8131 Close information notes also when tapping on them
8133 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8135 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8136 ELASTICITY, refactor and review, fix some issues with drawing
8139 * src/hildon-pannable-area.c:
8140 (hildon_pannable_area_button_press_cb): removed the conditions to
8141 avoid clicks when overshooting. It is not required
8143 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8144 define. Refatored and reviewed the code, now we do not need to
8145 manage velocity in motion_notify.
8147 (hildon_pannable_area_motion_notify_cb): We have moved the code
8148 that controls the area_scroll to the axis_scroll function and get
8149 rid of duplicated code.
8151 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8153 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8155 (hildon_pannable_draw_vscroll),
8156 (hildon_pannable_draw_hscroll): Fixed the problems with the
8157 scrollbar drawing, now we do not use two surfaces, it is easier
8158 and saves resources.
8160 (hildon_pannable_area_get_property): Style modification.
8162 (hildon_pannable_area_class_init): Changed some default values.
8164 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8166 * src/hildon-stackable-window.c: Fix some typos in the
8169 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8171 * src/hildon-dialog.c:
8172 Change indentation style
8175 (hildon_note_button_release):
8176 Use root coordinates to check if the release event happened
8179 * src/hildon-app-menu.c
8180 (hildon_app_menu_button_release):
8181 Remove unnecessary check
8183 * examples/hildon-app-menu-example.c
8185 Add cast to fix warning
8187 * src/hildon-app-menu.c
8188 (hildon_app_menu_class_init):
8189 New inner-border style property.
8190 Set all default spacings to 16
8191 (hildon_app_menu_init):
8192 Use vertical-spacing to set the space between filter buttons and
8193 regular menu buttons.
8194 Set the default container border using the inner-border value.
8196 * examples/hildon-app-menu-example.c
8198 Don't set the menu border explicitly, now we have the inner-border
8199 style property for that.
8201 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8203 * src/hildon-app-menu.c (hildon_app_menu_init):
8204 Make the window modal
8206 * src/hildon-note.c (hildon_note_map)
8207 * src/hildon-app-menu.c (hildon_app_menu_map):
8208 Destroy the grab window if we're unable to grab the pointer
8210 * src/hildon-app-menu-private.h
8211 * src/hildon-app-menu.c
8212 (hildon_app_menu_init, hildon_app_menu_finalize)
8213 (hildon_app_menu_map, hildon_app_menu_unmap)
8214 (hildon_app_menu_button_release)
8215 (grab_transfer_window_get):
8216 Bring back the grab window
8217 (hildon_app_menu_realize):
8218 Decorate the window, set WM hint for Matchbox
8220 * src/hildon-note.c (hildon_note_realize):
8221 * src/hildon-banner.c (hildon_banner_realize):
8222 Add WM hints for Matchbox
8224 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8226 * src/hildon-app-menu-private.h
8227 * src/hildon-app-menu.c
8228 (hildon_app_menu_init, hildon_app_menu_finalize)
8229 (hildon_app_menu_map, hildon_app_menu_unmap)
8230 (hildon_app_menu_button_release):
8231 Remove the grab window, it's not needed anymore
8233 * src/hildon-program.c
8234 Fixed typo in documentation
8236 * src/hildon-app-menu.h
8237 * src/hildon-app-menu.c
8238 * examples/hildon-app-menu-example.c
8239 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8241 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8244 Added new transfer_window and close_if_pressed_outside private
8246 (hildon_note_rebuild):
8247 Don't add a cancel button to the information note. It will be
8248 closed when tapping outside
8249 Remove the comment about the OK button in the documentation
8250 (hildon_note_realize):
8251 Set the notification type hint
8252 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8253 Grab/ungrab pointer and keyboard if the note has to be closed when
8255 (hildon_note_button_release):
8256 Close the note when tapping outside (if applicable)
8258 * src/hildon-app-menu.c
8259 Grab/ungrab pointer and keyboard on map/unmap
8260 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8261 Close the menu on button release, not button press
8263 * src/hildon-banner.c
8264 (hildon_banner_set_property)
8265 (hildon_banner_check_position):
8266 Make the banner use the full width of the screen
8267 (hildon_banner_show_information)
8268 (hildon_banner_show_information_with_markup):
8269 Don't display an icon by default
8271 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8273 Added fading scrollbars and adapted all the overshooting code to
8274 horizontal scrolling. We have also fixed bugs with overshooting
8275 and current fading implementation.
8277 * src/hildon-pannable-area.c
8278 (hildon_pannable_area_scroll_indicator_fade): Time out function
8279 used to change the transparency of the scrollbars.
8281 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8282 control and fixed a problem with fading, we now remove the fade
8283 timeout before adding a new one.
8285 (hildon_pannable_axis_scroll):
8286 (hildon_pannable_area_scroll):
8287 (hildon_pannable_area_timeout): Added this functions so we can use
8288 the scroll code both for vertical and horizontal.
8290 (hildon_pannable_area_motion_notify_cb):
8291 (hildon_pannable_area_button_release_cb): Added the horizontal
8292 scrolling control, fixed a problem with the overshooting timeout.
8294 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8295 painting of the scrolls.
8297 (hildon_pannable_draw_vscroll):
8298 (hildon_pannable_draw_hscroll):
8299 (hildon_pannable_area_expose_event):
8300 Draw both scrollbars and rectangles in the overshooting area.
8302 (hildon_pannable_area_get_property):
8303 (hildon_pannable_area_set_property):
8304 Modified the overshoot property to overshoot_max
8306 (hildon_pannable_area_map):
8307 Replaced the comments symbols.
8309 (hildon_pannable_area_size_allocate):
8310 (hildon_pannable_area_class_init):
8311 (hildon_pannable_area_init): Added horizontal scroll, fading
8312 effect properties, fixed a problem when overshooting in the bottom
8315 * examples/hildon-pannable-area-example.c:
8316 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8317 looks better in the example.
8319 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8321 * src/hildon-window.c
8322 * src/hildon-window.h
8323 (hildon_window_class_init)
8324 (hildon_window_unset_program)
8325 (hildon_window_unset_program_real):
8326 Make unset_program a virtual function
8328 * src/hildon-stackable-window.c
8329 * src/hildon-stackable-window.h
8330 Added hildon_stackable_window_go_home()
8332 * examples/Makefile.am
8333 * examples/hildon-stackable-window-example.c
8334 HildonStackableWindow example
8336 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8338 * hildon-pannable-area.c: Added the overshoot property and removed
8339 the OVERSHOOT define. Fixed an indent style error.
8340 (hildon_pannable_area_motion_notify_cb):
8341 (hildon_pannable_area_get_property):
8342 (hildon_pannable_area_set_property): Add overshoot property.
8344 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8347 (hildon_pannable_area_class_init): Installed the new property.
8349 * hildon-pannable-area-example.c: Added a sawtooth function, this
8350 way it is easier to check the movement in the pannable.
8351 (get_sawtooth_label): Added this function.
8352 (main): Now we get the labels from the new get_sawtooth_label
8355 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8357 * src/hildon-app-menu.h
8358 * src/hildon-app-menu.c
8359 Renamed API variables for consistency
8361 (hildon_app_menu_popup): Use also the default window size to
8362 decide where to place the menu
8364 (hildon_app_menu_init, hildon_app_menu_class_init): New
8365 external-border style property
8367 2008-05-26 Michael Natterer <mitch@imendio.com>
8369 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8370 widget_class->tap_and_hold_setup signal slot doesn't exist any
8371 longer, stop overriding it.
8373 (hildon_time_editor_init): g_signal_connect() to the
8374 tap-and-hold-setup signal instead.
8376 (hildon_time_editor_entry_keypress): add cast to fix warning.
8378 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8380 * doc/hildon-docs.sgml
8382 * examples/Makefile.am
8383 * examples/hildon-app-menu-example.c
8385 * src/hildon-app-menu-private.h
8386 * src/hildon-app-menu.c
8387 * src/hildon-app-menu.h
8389 New HildonAppMenu widget
8391 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8393 Rearranged the inheritance of the pannable area, now it inherits
8394 from GtkBin. This will allow us to control the event_window and
8395 the allocation process of the widget, required for some effects.
8397 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8398 GtkBin structures. * src/hildon-pannable-area.c: Added the
8399 event_window variable.
8400 (hildon_pannable_area_button_press_cb):
8401 (hildon_pannable_area_button_release_cb):
8402 (hildon_pannable_area_motion_notify_cb):
8403 Changed the signature of the method, now we override the event
8404 callback instead of connecting to the signal.
8406 (hildon_pannable_area_realize):
8407 (hildon_pannable_area_unrealize):
8408 (hildon_pannable_area_map):
8409 (hildon_pannable_area_unmap):
8410 (hildon_pannable_area_size_allocate):
8411 Added functions to control the widget construction. We add a
8412 INPUT_ONLY window and we put it over the widgets inside the
8413 container, this event_window handles the events.
8415 (hildon_pannable_area_class_init):
8416 Replaced the signal connections with overrides of the event
8419 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8421 Bouncing effect added when touching the borders, you can change
8422 the elasticity of the border changing the ELASTICITY define.
8424 * src/hildon-pannable-area.c: Added ELASTICITY define.
8425 (hildon_pannable_area_timeout): Added inverse velocity when
8426 touching the border of the child widget, that causes a bounce.
8428 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8430 Improved performance, we now do not go to the X server in order to
8431 get the list of window children. Apparently the effect is the
8432 same, we have to be careful and check if this breaks something in
8435 * src/hildon-pannable-area.c:
8436 (get_ordered_children): Removed this function.
8437 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8438 the children windows function with gdk_window_get_children.
8440 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8442 * src/hildon-pannable-area.c:
8443 (hildon_pannable_area_dispose): Fixed a crash when closing the
8444 window and kinetics is activated.
8446 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8448 * src/hildon-pannable-area.h
8449 * src/hildon-pannable-area.c
8450 Changed indentation style to meet the one used in Hildon
8452 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8454 Reviewed the interaction of the AUTO mode, now we use the time
8455 attribute of the events and calculate the velocity in the motion,
8456 doing a gimp like calculation. The velocity is calculated in each
8457 motion event using the last velocity and the current one, the
8458 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8460 * src/hildon-pannable-area.c: Replaced the time based algorithm
8462 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8463 timeout for the AUTO mode when we are still moving the cursor. We
8464 added also the velocity calculation in this function.
8465 (hildon_pannable_area_button_release_cb): launch the timeout in
8466 case we are in AUTO mode. There are still some constants here that
8467 come from the old implementation that should be reviewed and
8470 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8472 * doc/hildon-docs.sgml
8475 * src/hildon-stackable-window.c
8476 * src/hildon-stackable-window.h
8478 New HildonStackableWindow widget
8480 * examples/hildon-dialog-example.c
8481 * examples/hildon-pannable-area-example.c
8484 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8486 * src/hildon-dialog.c
8487 (hildon_dialog_new_with_buttons): New constructor.
8489 * examples/hildon-dialog-example.c
8490 (main): Update the example to use the new
8491 hildon_dialog_new_with_buttons().
8493 * examples/hildon-pannable-area-example.c
8494 (main): Update example.
8496 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8498 * doc/hildon-docs.sgml
8500 Added HildonPannableArea to the documentation.
8502 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8504 * doc/visual_index.xml
8505 Fix reference to HildonLoginDialog in documentation
8507 * doc/hildon-docs.sgml
8509 * examples/Makefile.am
8510 * examples/hildon-dialog-example.c
8512 * src/hildon-dialog.c
8513 * src/hildon-dialog.h
8515 New HildonDialog widget.
8517 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8519 * src/hildon-pannable-area.c
8520 Merge latest changes (r4318, r4342) from libmokoui trunk
8522 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8524 * examples/Makefile.am
8525 * examples/hildon-pannable-area-example.c
8527 * src/hildon-pannable-area.c
8528 * src/hildon-pannable-area.h
8530 New HildonPannableArea widget.
8532 2008-04-15 18:05:19 <timj@imendio.com>
8534 * src/hildon-banner.c: revert the recent change, that introduced
8535 gtk_window_present() calls. this reopens:
8536 Bug 78481 - [freetest] information banners are hidden under browser menu
8537 But resolves another variant of:
8538 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8540 2008-04-15 13:21:13 <timj@imendio.com>
8542 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8543 recreated its layout, spotted by Kris. this fixes all remaining
8544 artefacts and stability issues with the banner code. in particular:
8545 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8547 2008-04-14 16:52:59 <timj@imendio.com>
8549 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8550 operating on unrealized widgets, fixes:
8551 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8553 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8555 2008-04-09 Kristian Rietveld <kris@imendio.com>
8557 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8558 makes banner disappear.
8559 Fixes: NB#79182: info banner flickering with certain message lengts.
8561 * src/hildon-banner.c (hildon_banner_constructor),
8562 (hildon_banner_init), (hildon_banner_set_text),
8563 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8564 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8565 FALSE, reset size requests of label and banner,
8566 (force_to_wrap_truncated): when the text is too wide, always enforce
8567 the maximum possible width instead of recalculating it from the
8568 layout; enforce the maximum banner height of 3 lines,
8569 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8570 nicer wrapping and no truncated chars if space gets tight.
8572 * src/hildon-banner-private.h: add has_been_wrapped and
8573 has_been_truncated fields.
8575 2008-04-07 Sven Herzberg <sven@imendio.com>
8577 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8578 local values in hildon_date_editor_size_allocate
8580 * src/hildon-date-editor.c: moved the real allocation code into the
8583 2008-04-07 Sven Herzberg <sven@imendio.com>
8585 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8586 local values in hildon_date_editor_size_allocate
8588 * src/hildon-date-editor.c: merged the two if() branches together
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: changed the arguments of the if()
8598 2008-04-07 Sven Herzberg <sven@imendio.com>
8600 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8601 local values in hildon_date_editor_size_allocate
8603 * src/hildon-date-editor.c: split the calculation of the allocation
8604 from the real allocation
8606 2008-03-27 Michael Natterer <mitch@imendio.com>
8608 Fixes: NB#81696: The passcode is not overwritten even after
8611 * src/hildon-code-dialog.c
8612 (hildon_code_dialog_button_clicked)
8613 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8614 because that doesn't overwrite selected text. Instead, emit the
8615 "commit" signal on the entry's im_context so the entry's normal
8616 insert logic is triggered. Set the cursor to the end of the entry
8617 after each insert operation so that we *only* insert in the middle
8618 of the text if something was selected.
8620 2008-03-27 Michael Natterer <mitch@imendio.com>
8622 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8623 selector cannot be opened
8625 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8626 when the popup color selector is created. Please connect to this
8627 signal in order to set the dialog's help ID.
8629 2008-03-25 Sven Herzberg <sven@imendio.com>
8631 Fixes: MB#1212: Hide info banners (infoprints) on click
8633 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8634 extracted the close event simulation into an extra function
8635 (hildon_banner_button_press_event): simulate a close event and destroy
8636 the widget if the event wasn't handled
8637 (hildon_banner_class_init): added the button_press_event handler
8638 (hildon_banner_init): added button-press events to the widget
8640 2008-03-25 Sven Herzberg <sven@imendio.com>
8642 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8643 Patch from: Mohammad Anwari <mdamt@maemo.org>
8645 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8646 instead of the right in RTL mode
8647 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8648 breadcrumb button list in RTL mode
8649 * src/hildon-caption.c: mirror the appearance of the caption widget in
8651 * src/hildon-date-editor.c: mirror appearance of the date editor in
8653 * src/hildon-time-editor.c: mirror appearance of the time editor in
8655 * src/hildon-window.c: fix the position of the popup in RTL mode
8657 2008-03-25 Sven Herzberg <sven@imendio.com>
8659 Amendment to the fix of NB#22072. Fix compilation.
8661 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8663 2008-03-19 Sven Herzberg <sven@imendio.com>
8665 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8668 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8669 timeout id properly when the timeout will disappear this leaves no
8670 artifacts around in the destroy(); there will only be the timeout
8671 created by hildon_banner_ensure_timeout() and adding a new timeout
8672 will also work if the timeout gets removed because the timeout_handler
8675 2008-03-19 Michael Natterer <mitch@imendio.com>
8677 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8679 * src/hildon-volumebar.c
8680 * src/hildon-vvolumebar.c
8681 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8682 the widget becomes focussable at all.
8684 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8685 set the focus to wither the mute button or the volumebar.
8687 Remove own "can-focus" property and instead listen to
8688 notify::can-focus in order to update the widget's state.
8690 Implement GtkWidget::focus() and make sure we can also *leave* the
8691 widget, not only enter it, depending on volumebar orientation and
8692 requested focus direction.
8694 Clean up set_mute() to cooperate nicely with all the above.
8696 2008-03-04 Michael Natterer <mitch@imendio.com>
8698 Fixes: NB#78481: information banners are hidden under browser menu
8700 * src/hildon-banner.c: call gtk_window_present() on the banners so
8701 they are risen if they are already visible.
8703 2008-03-03 Sven Herzberg <sven@imendio.com>
8705 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8707 * examples/hildon-window-menu-example.c: (main): extended the window
8708 menu example to serve as a testcase for automatically added
8709 accelerator groups, too
8710 * src/hildon-window.c: (hildon_window_add_accel_group),
8711 (hildon_window_set_menu): added patch by Tommi Komulainen
8713 2008-03-03 Sven Herzberg <sven@imendio.com>
8715 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8717 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8718 knowledge about the border allocators used within GTK+
8720 2008-02-26 Sven Herzberg <sven@imendio.com>
8722 Fixes: MB#2981: Build with asserts broken
8724 * src/hildon-date-editor.c,
8725 * src/hildon-number-editor.c,
8726 * src/hildon-time-editor.c,
8727 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8728 the proper GType instance check
8730 2008-02-25 Sven Herzberg <sven@imendio.com>
8732 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8734 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8735 * examples/hildon-window-menu-example.c: (main): explicitly show
8737 * src/hildon-window.c:
8738 (hildon_window_set_main_menu): moved most of the code from set_menu()
8739 to this place; skipped the call to gtk_widget_show_all(); also didn't
8740 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8741 (hildon_window_set_menu): removed most of the code, just keep the
8742 questionable gtk_widget_show_all()
8743 * src/hildon-window.h: added the new function and deprecate the old
8746 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8752 * debian/changelog: Updating.
8754 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8757 * pkgconfig/Makefile.am:
8758 * pkgconfig/hildon.pc.in:
8761 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8762 use newly created API_MAJOR_VERSION.
8764 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8770 * debian/changelog: Updating.
8772 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8774 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8776 Add outer_border style property, we use it but don't define it (!).
8780 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8782 * examples/hildon-bread-crumb-trail-example.c (main):
8786 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8788 Fix logic for the bread crumb trail node removal.
8792 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8798 * debian/changelog: Updating.
8800 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 Patch by Alejandro to get/set passwords dialogs accesibility.
8804 * hildon-1/src/hildon-get-password-dialog.c:
8805 * hildon-1/src/hildon-set-password-dialog.c:
8806 Set atk_set_name to the passwd entries in order to allow
8807 accessibility by name on this entries.
8809 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * debian/control: Updating gtk dep.
8816 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8818 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8819 USE_MAEMO_GTK is enabled.
8821 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8823 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8824 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8826 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8832 * debian/changelog: Updating.
8834 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8836 * examples/Makefile.am:
8837 * examples/hildon-logical-color-example.c:
8838 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8839 applied + adding a test case. Fixes: NB#71660.
8841 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8843 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8844 to be visible, fixes warning on map for windows without toolbars.
8846 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8848 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8849 2.11.0, add a check for that besides the MAEMO_GTK check.
8851 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8857 * debian/changelog: Updating.
8859 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8861 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8862 visibility. Fixes: NB#70842 and MB#615.
8864 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8866 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8867 set the separator as no-show-all so it doesn't unintentionally appear when
8868 someone does a show_all.
8870 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8872 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8873 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8874 toplevel item. Fixes: NB#62031
8876 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8878 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8879 fix the name of the function in the docs.
8881 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8887 * debian/changelog: Updating.
8889 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8891 * examples/hildon-banner-long-example.c: Adding a test-case for long
8894 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8896 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * src/hildon-color-chooser-dialog.c:
8899 * src/hildon-color-chooser.c:
8900 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8901 memory leaks in font selector and color selector. Fixes: NB#70499 and
8904 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8906 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8908 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8911 little bit bigger. Fixes: #NB63694.
8913 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8919 * debian/changelog: Updating.
8921 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8924 * doc/hildon-docs.sgml:
8925 * doc/images/bread-crumb-trail.png:
8926 * doc/images/calendar-popup.png:
8927 * doc/images/caption.png:
8928 * doc/images/code-dialog.png:
8929 * doc/images/color-button.png:
8930 * doc/images/color-chooser-dialog.png:
8931 * doc/images/color-chooser.png:
8932 * doc/images/controlbar.png:
8933 * doc/images/date-editor.png:
8934 * doc/images/font-selection-dialog.png:
8935 * doc/images/get-password-dialog.png:
8936 * doc/images/hvolumebar.png:
8937 * doc/images/login-dialog.png:
8938 * doc/images/note.png:
8939 * doc/images/number-editor.png:
8940 * doc/images/range-editor.png:
8941 * doc/images/seekbar.png:
8942 * doc/images/set-password-dialog.png:
8943 * doc/images/sort-dialog.png:
8944 * doc/images/time-editor.png:
8945 * doc/images/time-picker.png:
8946 * doc/images/vvolumebar.png:
8947 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8948 Adding the bread-crumb-trial and helpers to the documentation.
8950 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * examples/hildon-find-toolbar-example.c:
8953 * src/hildon-find-toolbar.c:
8954 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8955 actually continue firing the other handlers if connected. Adding a new
8957 hildon_find_toolbar_get_last_index that gets the index of the most
8958 recently added (last) item. Fixes: NB#52301.
8960 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8962 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8963 behaviour. Fixes: NB#68610.
8965 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8970 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8973 when realizing the banner. Should make the infonbanner effect a bit more
8976 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8978 * src/hildon-volumebar.c:
8979 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8980 hildon_volumebar_set_range_insensitive_message and
8981 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8983 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * src/hildon-window.c: Fixing the border freeing on destroy.
8987 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * src/hildon-code-dialog-private.h:
8990 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8991 kw keyboard support in HildonCodeDialog.
8993 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * debian/changelog: Updating.
9001 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9003 * src/hildon-date-editor.c:
9004 * src/hildon-number-editor.c:
9005 * src/hildon-private.c:
9006 * src/hildon-private.h:
9007 * src/hildon-time-editor.c:
9008 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9009 handling in subclassed composite widgets. Fixes: NB#66628.
9011 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9014 from destroy_ callback as it introduces problems in async dbus signal
9015 handlers. Fixes NB#66673.
9017 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * examples/hildon-hvolumebar-example.c:
9020 * src/hildon-volumebar.c: Improving the focus handling in the
9021 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9022 set_property accessor so that "mute" property can be actually set. I'm
9023 scared that nobody noticed it's totally broken.
9025 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9030 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * src/hildon-calendar.c:
9033 * src/hildon-number-editor.c:
9034 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9035 matches the spec of 6 chars per second. Fixes: NB#60489.
9037 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9040 gtk_style_lookup_color sometime returns FALSE even though color was
9041 found and values were filled properly. Weird. Removing the warning for the
9044 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9046 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9047 expand vertically. Adding some extra space to the find toolbar buttons to
9048 make them thumbable. Fixes NB#66060.
9050 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9053 popup with "Ok" and "Cancel". Fixes NB#59299.
9055 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9057 * src/hildon-calendar.c: Process all window updates before executing next
9058 timeout. Fixes: NB#54146.
9060 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * debian/changelog: Updating.
9068 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9070 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9071 the client event and ignore it, since we use the delete event to close
9074 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * src/hildon-helper.c: Remove the bogus warning about color not being
9077 found. Fixes NB#58352.
9079 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * examples/Makefile.am:
9082 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9083 HildonSeekbar widget inside a toolbar.
9085 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9087 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9088 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9089 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9090 don't want to be closed by non-temporary windows on map.
9092 Also use G_DEFINE_TYPE instead of manually typed code.
9094 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * debian/rules: Updating.
9103 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * examples/Makefile.am:
9106 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9107 bug NB#61128. Strangely it works.
9109 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9111 * src/hildon-date-editor.c: When the date editor entry has been changed
9112 but the numbers of characters < max, turn off the skip validation flag.
9113 Prevents a situation when we enter first a valid year and later re-write
9114 it with an invalid one. Fixes NB#60154.
9116 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9119 code dialog. Fixes NB#64355.
9121 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9123 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9124 switching the page. Fixes NB#49374.
9126 * examples/Makefile.am:
9127 * examples/hildon-wizard-dialog-example.c: Adding an example for
9128 HildonWizardDialog that shows how to handle manual sensitivity setting on
9131 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9135 * src/hildon-version.h.in:
9136 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9138 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9140 * src/hildon-volumebar.c: Updating the docs.
9142 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9148 * debian/changelog: Updating.
9150 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * src/hildon-find-toolbar.c:
9153 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9154 selected item: hildon_find_toolbar_set_active,
9155 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9156 hildon_find_toolbar_get_active_iter . They correspond to respective
9157 GtkComboBox functions.
9159 * examples/Makefile.am:
9160 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9163 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9165 * examples/Makefile.am:
9166 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9169 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9170 when font size > 32 and we pack a focusable widget inside. Actually using
9171 the default response would work too, but since we don't show default
9172 response state in any way (no theming) it would not be visible to the
9173 user. Fixes NB#63430.
9175 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9177 * src/hildon-date-editor.c: Adding the missing variable setter in the
9178 set_property handler. Fixes NB#54182.
9180 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * src/hildon-window.h: Changing the long key press time from 1500ms to
9183 800ms as requested in NB#63700. I have a bad feeling about this, let's
9184 see... Fixes NB#63700.
9186 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9188 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9189 hildon_time_picker_map, hildon_time_picker_realize,
9190 hildon_time_picker_style_set): Split the contents of map to more
9191 appropriate functions; set window decorations on realize and update
9192 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9194 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9199 * debian/changelog: Updating.
9201 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9203 * src/Makefile.am: fixed installation of the header files
9205 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * debian/changelog: Updating.
9213 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * configure.ac: Removing some remaining of --enable-xan.
9217 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9219 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9220 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9222 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9223 2.10.12-osso6 because the move-focus signal needs to be available in
9226 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9228 * examples/Makefile.am:
9229 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9230 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9231 fine. Prolly NB#61128 is fixed now.
9233 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9235 * src/hildon-volumebar.c:
9236 * src/hildon-volumebar.h: Adding the
9237 hildon_volumebar_set_range_insensitive_message and
9238 hildon_volumebar_set_range_insensitive_messagef functions to set
9239 insensitive message on the slider of the volumebar. Fixes NB#61129.
9241 * examples/Makefile.am:
9242 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9243 test the new insensitive messsage functionality on HildonVolumebar.
9245 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9247 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9250 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9252 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9253 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9254 button on after clearing the trail.
9256 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9258 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9260 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9262 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9263 by splitting the installed headers in generated and non-generated groups. Use
9264 only the non-generated headers to create the hildon-enum-types.h file.
9266 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9268 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9270 * src/hildon-window.c: Hide the window before performing the destroy.
9271 Should make the app closing a little tiny bit more snappy.
9273 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9275 * src/hildon-seekbar.c: add gtkrange.h header
9276 * src/hildon-caption.c: remove unused variable
9278 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9280 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9283 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9289 * debian/changelog: Updating.
9291 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9293 * src/hildon-window.c (hildon_window_window_state_event,
9294 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9295 escape timeout on focus-out-event rather than notify::is-topmost; the
9296 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9298 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9300 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9301 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9303 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9305 * src/hildon-window: actually, you need to use the macro always, there's
9306 no private pointer in the instance structure. We should have cleaned this up
9307 when we had the chance...
9309 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9311 * src/hildon-window.c: do not get the private date from HildonWindow before
9312 it passes the g_return_if_fail check. Once it's passed the test, there's no
9313 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9314 if you are only going to access the data once. Whitespace cleanups.
9316 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9318 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9319 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9321 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9327 * debian/changelog: Updating.
9329 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9331 * src/hildon-window.c: When destroying the window, remove (if exists) the
9332 escape timeout handler. Fixes #NB59276.
9334 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * src/hildon-banner.c: When realizing the widget, set the window
9337 transiency. Setting the transiency in the gobject constructor is not
9338 good, as the widget is not realized at that point. Fixes: #NB56624.
9340 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9342 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9343 Add padding for future expansions.
9345 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9347 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9348 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9349 will fake an activation on the previous to the last item of the trail, so
9350 the effect can be overrided by the developer as usual.
9351 Also change the callback for the back button to do the same thing, so its
9352 effect can be overrided too. Fixes: NB#58982
9354 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9357 HildonCaption. Fixes NB#52379.
9359 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9361 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9362 the internal state of the trail after the user has had the chance of executing
9363 his handler for the signal. Specifically, it may happen that the activated button
9364 is removed and the user still lets the default handler run. This would segfault
9367 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9369 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9370 scrollbar to the preview dialog. Fixes NB#54147.
9372 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9374 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9375 max/min year properties can be altered, so the client can modify it
9376 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9378 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9380 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9381 hildonlike by default. Fixing a problem with disappearing arrows when
9382 scrolling through months and years. Fixes NB#54127.
9384 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9386 * examples/hildon-date-editor-example.c: Adding error callback to the date
9389 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9395 * configure.ac: Updating.
9397 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9399 * configure.ac: Adding a special '--enable-xan' configure option that
9400 turns off the -Werror compilation setting. Usefull for development.
9402 * src/hildon-calendar.c:
9403 * src/hildon-number-editor.c:
9404 * src/hildon-time-picker.c: Adding the 5* multiplier to
9407 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9409 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9410 instead of g_object_ref + gtk_object_sink.
9412 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9418 * debian/changelog: Updating.
9420 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 * src/hildon-color-chooser-dialog.c:
9423 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9424 straight from Tommi labs.
9426 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9428 * examples/hildon-finger-example.c: Correcting the header file path.
9430 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9431 the changed signal. Fixes a small memory leak.
9433 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9437 * src/hildon-banner.c: Importing several usefull fixes from the
9438 ubuntu-mobile branch.
9440 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9442 * examples/Makefile.am:
9443 * examples/hildon-finger-example.c: Adding a finger-checking code
9446 * src/hildon-font-selection-dialog.c: Do not allocate the color
9447 structure using the g_new. Fixes NB#54061.
9449 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9451 * src/hildon-helper.c: Correcting tabs in file.
9453 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9455 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9456 control the visibility of the children.
9458 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9460 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * debian/changelog: Updating.
9468 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9470 * src/hildon-bread-crumb-trail.c:
9471 (hildon_bread_crumb_trail_size_allocate):
9473 Make the back button always a square.
9475 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9477 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9478 from the .c file as it's a private file.
9480 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9483 uses slightly bigger height.
9485 * src/hildon-font-selection-dialog.c: Adding some checks before
9486 freeing memory in the font selection dialog.
9488 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9490 * src/hildon-font-selection-dialog.c: Adding a small check when
9493 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9494 buttons sensitivity on page switching.
9496 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9498 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9499 internal details of adding a bread crumb to the trail.
9501 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9507 * debian/changelog: Updating.
9509 * src/hildon-bread-crumb-trail.h:
9510 * src/hildon-bread-crumb.h: Changing the API guard to
9511 HILDON_ENABLE_UNSTABLE_API.
9513 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9521 * src/hildon-helper.h: Updating.
9523 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9531 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9535 * src/hildon-helper.h: Small fix to make the package actually compile.
9537 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9539 * src/hildon-bread-crumb-trail.h:
9540 * src/hildon-bread-crumb.h:
9542 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9543 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9545 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9547 * examples/hildon-bread-crumb-trail-example.c:
9549 * src/hildon-bread-crumb-trail.c:
9550 * src/hildon-bread-crumb-trail.h:
9551 * src/hildon-bread-crumb.c:
9552 * src/hildon-bread-crumb.h:
9553 * src/hildon-marshalers.list:
9554 * src/hildon-bread-crumb-widget.c:
9555 * src/hildon-bread-crumb-widget.h:
9557 Slight change in the widget design. The bread crumb trail API is
9558 unchanged, but HildonBreadCrumb is now an interface. A *private*
9559 implementation, hildon-bread-crumb-widget, is provided and used
9560 internally by the trail for the push_text/push_icon functions.
9562 The generic push API is still available, so anyone can implement
9563 and use its own bread crumb widget.
9565 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9567 * debian/rules: Fixing the shlibs.
9569 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9571 * src/hildon-banner.c: Fixing a problem with timed banners having
9572 their parrent destroyed before they are.
9574 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9576 * src/hildon-bread-crumb.c:
9577 * src/hildon-bread-crumb.h:
9579 Make the get_natural_size function a vfunc.
9581 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9583 * src/hildon-bread-crumb.c:
9584 * src/hildon-bread-crumb-trail.c:
9588 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9595 * debian/changelog: Updating for release.
9597 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9599 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9600 don't leak the pango layout.
9602 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9605 * examples/hildon-bread-crumb-trail-example.c:
9609 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9611 * debian/changelog: Removing the bug-fixed entries that were actually
9612 resolved as WONTFIX.
9614 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9617 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9619 * src/hildon-bread-crumb-trail.c:
9620 * src/hildon-bread-crumb-trail.h:
9621 * src/hildon-bread-crumb.c:
9622 * src/hildon-bread-crumb.h:
9626 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9628 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9629 until it's passed the type check.
9631 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9633 * examples/hildon-bread-crumb-trail-example.c
9637 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9639 * examples/Makefile.am
9640 * examples/hildon-bread-crumb-trail-example.c
9642 * src/hildon-bread-crumb-trail.c
9643 * src/hildon-bread-crumb-trail.h
9644 * src/hildon-bread-crumb.c
9645 * src/hildon-bread-crumb.h
9647 New HildonBreadCrumbTrail widget.
9649 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9651 * src/hildon-range-editor.c (hildon_range_editor_init),
9652 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9653 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9654 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9655 hildon_time_editor_class_init, hildon_time_editor_init),
9656 src/hildon-get-password-dialog.c (invalid_input,
9657 hildon_get_password_set_property, hildon_get_password_get_property,
9658 create_contents, hildon_get_password_dialog_set_max_characters),
9659 src/hildon-set-password-dialog.c (create_contents),
9660 src/hildon-date-editor.c (hildon_date_editor_init),
9661 src/hildon-login-dialog.c (hildon_login_dialog_init),
9662 src/hildon-number-editor.c (hildon_number_editor_init),
9663 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9664 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9665 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9666 configure option and adding the respective checks in the code.
9667 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9668 hildon_calendar_drag_data_received): fixed some build warnings.
9670 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9672 * debian/changelog: A 1.0.0 release notes.