1 2009-09-04 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-window.h:
4 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
6 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
8 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
12 * configure.ac: bump version
14 * debian/changelog: updates
16 2009-09-04 Alberto Garcia <agarcia@igalia.com>
18 * hildon/hildon-entry.c
19 * hildon/hildon-text-view.c:
22 2009-09-04 Alberto Garcia <agarcia@igalia.com>
24 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
25 Redraw menu when the number of items change.
27 Fixes: NB#131911 (Appmenu does not resize properly, when number of
30 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
32 * hildon/hildon-pannable-area.c:
33 (hildon_pannable_area_launch_fade_timeout),
34 (hildon_pannable_area_motion_event_scroll),
35 (hildon_pannable_area_check_move),
36 (hildon_pannable_area_button_release_cb),
37 (hildon_pannable_area_scroll_to):
39 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
40 area drawing operations, since this is the recommended for drawing
43 Fixes: NB#110894 (In event view containing very large description
44 field, application menu is displayed blank while panning)
45 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
48 2009-09-03 Alberto Garcia <agarcia@igalia.com>
50 * doc/hildon-sections.txt
51 * hildon/hildon-button.c
52 * hildon/hildon-edit-toolbar.c
53 * hildon/hildon-gtk.[ch]
54 * hildon/hildon-main.c
55 * hildon/hildon-program.c
56 * hildon/hildon-stackable-window.c:
59 2009-08-28 Alberto Garcia <agarcia@igalia.com>
61 * hildon/hildon-app-menu.c
62 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
63 Close the menu if it receives a grab-notify signal.
65 Fixes: NB#134533 (UI freezes if we show a dialog with
66 gtk_dialog_run() while a menu is opened)
68 2009-08-27 Alejandro G. Castro <alex@igalia.com>
70 * hildon/hildon-pannable-area.c,
71 (hildon_pannable_area_class_init): Reverted tuning modifications:
72 "Pannign needs to be faster" and "Pannable kinetics in large lists
75 2009-08-26 Alberto Garcia <agarcia@igalia.com>
77 * hildon/hildon-sound.c (hildon_play_system_sound):
78 Set "module-stream-restore.id" to "x-maemo-system-sound" when
81 Fixes: NB#133767 (Information and confirmation note sound should
82 follow system profile setting)
84 2009-08-26 Alejandro G. Castro <alex@igalia.com>
86 * hildon/hildon-pannable-area.c,
87 (hildon_pannable_area_class_init): Added more force and increased
88 the max speed threshold.
90 Fixes: NB#135344 (Pannign needs to be faster)
92 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
94 [Release 2.1.96, this time for real]
97 * debian/changelog: updates
99 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
101 * hildon/hildon-pannable-area.c
102 (hildon_pannable_area_get_topmost): change the computation of the
103 co-ordinates transformed when no one of the children is a topmost
105 Fixes: NB#133252 (Opening any feed item from RSS always opens the
106 first feed item in browser)
108 2009-08-26 Alejandro G. Castro <alex@igalia.com>
110 * hildon/hildon-pannable-area.c,
111 (hildon_pannable_area_remove_timeouts): Adding this new function
112 with the code that removes the timeouts of the widget.
113 (hildon_pannable_area_dispose),
114 (hildon_pannable_area_unrealize): Use the new remove function to
115 stop timeouts when unrealizing and disposing.
116 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
117 calculation to avoid negative values in some cases.
119 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
121 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
123 * examples/hildon-check-button-example.c: (button_toggled_cb):
124 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
125 (hildon_check_button_set_active), (hildon_check_button_new),
126 (hildon_check_button_clicked), (hildon_check_button_class_init):
127 * hildon/hildon-check-button.h:
128 * hildon/hildon-set-password-dialog.c: (create_contents),
129 (hildon_set_password_response_change), (hildon_checkbox_toggled):
131 Revert "Make HildonCheckButton derive from GtkToggleButton"
133 2009-08-21 Alberto Garcia <agarcia@igalia.com>
137 * configure.ac: bump version
139 * debian/changelog: updates
141 2009-08-21 Alberto Garcia <agarcia@igalia.com>
143 * hildon/hildon-check-button.h
144 * hildon/hildon-check-button.c
145 (hildon_check_button_clicked, hildon_check_button_class_init):
146 Make HildonCheckButton derive from GtkToggleButton
147 (hildon_check_button_toggled, hildon_check_button_set_active)
148 (hildon_check_button_get_active):
149 Deprecate unnecessary HildonCheckButton API and use the
150 one from GtkToggleButton instead.
152 * hildon/hildon-set-password-dialog.c (create_contents)
153 (hildon_set_password_response_change, hildon_checkbox_toggled)
154 * examples/hildon-check-button-example.c (button_toggled_cb):
155 Update to use the GtkToggleButton API
157 Fixes: MB#4739 (HildonCheckButton should inherit from
160 Fixes: NB#132661 (HildonCheckButton should inherit from
163 2009-08-20 Alberto Garcia <agarcia@igalia.com>
165 * hildon/hildon-pannable-area.c
166 (hildon_pannable_area_class_init):
167 Increase default value of HildonPannableArea:velocity_max to 2000
169 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
171 2009-08-18 Alberto Garcia <agarcia@igalia.com>
175 * configure.ac: bump version
177 * debian/changelog: updates
179 2009-08-11 Alejandro G. Castro <alex@igalia.com>
181 * hildon/hildon-pannable-area.c
182 (hildon_pannable_area_size_allocate): Checked the scrollbars
183 before the first try when defining the layout, avoids two
184 allocations in some situations.
186 Fixes: NB#131794 (pannable area produces unnecessary allocations
187 causing performance problems)
189 2009-08-11 Alejandro G. Castro <alex@igalia.com>
191 * hildon/hildon-pannable-area.c
192 (hildon_pannable_area_button_press_cb),
193 (hildon_pannable_area_motion_notify_cb),
194 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
195 the spurious ref added in the copy, fixes leak of window.
197 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
198 if it's realized without showing and then deleted)
200 2009-08-10 Alberto Garcia <agarcia@igalia.com>
204 * configure.ac: bump version
206 * debian/changelog: updates
208 2009-08-06 Alberto Garcia <agarcia@igalia.com>
210 * examples/hildon-hvolumebar-timer-example.c
212 * hildon/hildon-banner.c
213 (hildon_banner_timeout, hildon_banner_ensure_timeout)
214 * hildon/hildon-calendar.c
215 (calendar_timer, start_spinning)
216 * hildon/hildon-color-chooser.c
217 (inline_limited_expose)
218 * hildon/hildon-date-editor.c
219 (hildon_date_editor_entry_focus_in)
220 (hildon_date_editor_entry_validate)
221 (hildon_date_editor_entry_select_all)
222 * hildon/hildon-note.c
224 * hildon/hildon-number-editor.c
225 (hildon_number_editor_button_pressed)
226 (hildon_number_editor_start_timer, do_mouse_timeout),
227 (add_select_all_idle, hildon_number_editor_select_all)
228 * hildon/hildon-time-editor.c
229 (hildon_time_editor_entry_focus_in)
230 (highlight_callback, hildon_time_editor_validate)
231 (hildon_time_editor_entry_select_all)
232 * hildon/hildon-time-picker.c
233 (hildon_time_picker_arrow_press)
234 (hildon_time_picker_key_repeat_timeout)
235 * hildon/hildon-window.c
236 (hildon_window_key_press_event)
237 (hildon_window_escape_timeout):
238 Replace all calls to g_idle_add/g_timeout_add with their
239 gdk_threads counterparts.
241 Fixes: NB#126198 (gdk-threads API should be used to install idle
242 and timeout handlers)
244 2009-08-06 Alejandro G. Castro <alex@igalia.com>
246 * hildon/hildon-pannable-area.c,
247 (hildon_pannable_area_class_init): Increased the overshooting max
248 speed to get a faster effect.
249 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
250 deceleration of the overshooting
251 (hildon_pannable_area_button_release_cb): Calculate initial
252 overshooting speed when finger on the screen using the distance to
253 launch the effect faster.
255 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
256 lists with slow row renderers)
258 2009-08-05 Alberto Garcia <agarcia@igalia.com>
260 * doc/hildon-sections.txt: Add new functions
262 2009-08-05 Alberto Garcia <agarcia@igalia.com>
264 * hildon/hildon-text-view.[ch]
265 * hildon/hildon-entry.[ch]:
266 Add deprecation guards around deprecated functions.
268 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
270 * hildon/hildon-app-menu.c: Remove leftover function declaration.
272 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
274 Remove the grab from HildonAppMenu
276 * hildon/hildon-app-menu.c:
277 Now hildon-desktop places a blocker window behind the menu to handle
278 its closing, so the grab is no longer needed. This simplifies its
279 implementation and allows the system blanking to succeed.
281 Fixes: NB#130910 (Screen gets unlocked when menu is open)
283 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
287 * configure.ac: bump version
289 * debian/changelog: updates
290 * debian/control: raise debian dependency on GTK+
292 2009-08-04 Alberto Garcia <agarcia@igalia.com>
294 * hildon/hildon-text-view.c
295 * hildon/hildon-entry.c:
296 Remove all placeholder code from HildonEntry and HildonTextView
297 and use the API in GtkEntry and GtkTextView instead.
299 * examples/hildon-entry-example.c
300 * examples/hildon-text-view-example.c
301 * examples/hildon-wizard-dialog-example.c
302 * hildon/hildon-get-password-dialog.c
303 * hildon/hildon-login-dialog.c
304 * hildon/hildon-picker-dialog.c
305 * hildon/hildon-set-password-dialog.c
306 * hildon/hildon-touch-selector-entry.c:
307 Replace all deprecated calls to HildonEntry and HildonTextView
308 with their Gtk counterparts.
310 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
313 2009-08-03 Alejandro G. Castro <alex@igalia.com>
315 * hildon/hildon-pannable-area.c,
316 (hildon_pannable_area_check_move),
317 (hildon_pannable_area_button_release_cb),
318 (hildon_pannable_area_scroll_to): Reverted the priority change of
319 the timeout, in some situations, slow renderers, the click do not
320 make it to the mainloop on time.
322 Fixes NB#131013 (unable to stop panning file manager by tapping on
325 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
327 * configure.ac: bump version
329 * debian/changelog: updates
331 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
333 * hildon/hildon-touch-selector.[ch]
334 (hildon_touch_selector_center_on_index): New method that allows to center
335 on a item not selected
337 Fixes NB#130291 (New HildonTouchSelector API is required to center on
340 2009-07-29 Alberto Garcia <agarcia@igalia.com>
342 * hildon/hildon-text-view.c
343 (+set_logical_color, +hildon_text_view_style_set)
344 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
345 (hildon_text_view_init)
346 * hildon/hildon-entry.c
347 (+set_logical_color, +hildon_entry_style_set)
348 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
349 (hildon_entry_class_init, hildon_entry_init)
350 * hildon/hildon-button.c
351 (+set_logical_font, +set_logical_color)
352 (hildon_button_style_set, hildon_button_init)
353 (hildon_button_set_arrangement, hildon_button_set_style):
354 Remove all calls to hildon_helper_set_logical_font() and
355 hildon_helper_set_logical_color(), which are recursive, from
358 Fixes: NB#123409 (Showing dialog consumes significant amount of
361 2009-07-29 Alejandro G. Castro <alex@igalia.com>
363 * hildon/hildon-pannable-area.c,
364 (hildon_pannable_area_timeout): Added the process updates of the
365 scrollbars window in the pannable.
367 Fixes: NB#130043 (scrollindicator not smooth while panning)
369 2009-07-23 Alejandro G. Castro <alex@igalia.com>
371 * hildon/hildon-pannable-area.c,
372 (hildon_pannable_area_check_move),
373 (hildon_pannable_area_button_release_cb),
374 (hildon_pannable_area_scroll_to): Increased the priority of the
375 timeout this way it is going to be handled before the events.
377 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
381 * configure.ac: bump version
382 * debian/changelog: updates
384 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
386 * hildon/hildon-entry.c: (set_property): Do not allow to set
387 automatic height and use finger height instead, to prevent an to
388 have a smaller size than than its theme pixbuf.
390 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
392 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
394 * configure.ac: postrelease version bump.
395 * debian/changelog: post release version bump
397 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
402 * configure.ac: Bump version.
403 * debian/changelog: Updates.
405 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
407 * hildon/hildon-note.c: (label_size_request): Take the note
408 padding into account when setting the size request.
410 Fixes: NB#127896 (Information notes text truncated)
412 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
414 * configure.ac: postrelease version bump.
415 * debian/changelog: post release version bump
417 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
422 * configure.ac: Bump version.
423 * debian/changelog: Updates.
425 2009-07-16 Alejandro G. Castro <alex@igalia.com>
428 * hildon/hildon-text-view.c,
429 (hildon_text_view_button_press_event): Grabbed the focus in button
430 press, this way we are sure the widget has the focus in the
431 release event, required for HIM.
433 Fixes: NB#121445 (Virtual keyboard opening is not working in same
434 way for each text entry field)
436 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
438 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
439 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
440 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
441 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
442 (hildon_pannable_area_[gs]et_center_on_child_focus)
443 Redefined GtkContainer set-focus-child signal, in order to center
444 properly on a child when it receives the focus. Defined a new property
445 "center-on-child-focus" in order to activate this feature (deactivated
446 by default). Public get/set methods defined to manage the property.
448 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
450 2009-07-14 László Pere <lpere@blumsoft.eu>
452 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
453 the new size is applied.
455 Fixes: NB#124510 (The Application Menu is distorted when switched
456 between portrait and landscape mode)
457 Fixes: NB#115388 (Power key menu does not resize itself)
459 2009-07-01 Alberto Garcia <agarcia@igalia.com>
461 * hildon/hildon-banner.c (hildon_banner_map):
462 Set banner position after mapping.
464 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
466 * configure.ac: postrelease version bump.
467 * debian/changelog: post release version bump
469 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
474 * configure.ac: Bump version.
475 * debian/changelog: Updates.
477 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
479 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
482 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
484 * tests/check-hildon-banner.c
486 * tests/test_suites.h
487 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
488 were testing deprecated functions.
489 * examples/hildon-banner-example.c: typo on button3 type, that causes
490 a fail compiling with --with-examples but without --disable-deprecated
492 Missed commit in order to fix compilation using '--enable-fatal' and
493 '--disable-deprecated' (see previous commit)
495 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
497 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
498 functions with #ifndef HILDON_DISABLE_DEPRECATED
499 * examples/hildon-find-toolbar.c: Protect deprecated
500 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
501 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
502 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
503 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
505 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
506 to allow proper compilation of deprecated functions defined on the header
508 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
510 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
512 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
513 Cache the panning indicator color.,
514 (hildon_pannable_area_style_set): Query the color on style changes.
515 (hildon_pannable_draw_vscroll),
516 (hildon_pannable_draw_hscroll),
517 (hildon_pannable_area_expose_event): Use the cached panning indicator
518 color instead of looking it up on every expose and more.
520 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
522 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
523 (hildon_pannable_draw_hscroll),
524 (hildon_pannable_area_expose_event): Fix the panning indicator color,
525 so that it's "SecondaryTextColor", as desired.
527 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
529 * hildon/hildon-picker-dialog.c:
530 (selection_completed): take into account HILDON_UI_MODE_NORMAL
531 * hildon/hildon-touch-selector.c
532 (hildon_touch_selector_init): Initialize hildon-ui-mode
533 (hildon_touch_selector_row_activated): new callback for the
534 "row-activated" signal, in order to save the last activated
535 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
536 if the current hildon-ui-mode is coherent with the touch selector
537 (hildon_touch_selector_class_init)
538 (hildon_touch_selector_get_property)
539 (hildon_touch_selector_set_property)
540 Added "hildon-ui-mode" property
541 (disconnect_model_handlers): renamed to clean_column
542 (hildon_touch_selector_remove): use clean_column function
543 (_create_new_column): use the hildon-ui-mode to create the treeview, and
544 only select the first element on HILDON_UI_MODE_EDIT
545 (hildon_touch_selector_column_init): Initialize last_activate
546 (hildon_touch_selector_append_column): check that the touch selector
547 is coherent with the current hildon-ui-mode
548 (hildon_touch_selector_get_hildon_ui_mode)
549 (hildon_touch_selector_set_hildon_ui_mode)
550 Added a getter/setter for the hildon-ui-mode property
551 (hildon_touch_selector_get_last_activated_row): Added this method in
552 order to get the last activated row.
553 * examples/hildon-touch-selector-normal-mode-example.c
554 New example, that shows how to use the HildonTouchSelector in
555 HILDON_UI_MODE_NORMAL
557 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
558 Kristian Rietveld <kris@lanedo.com> advices
560 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
562 * hildon/hildon-time-selector.c: (update_format_policy): Do
563 not call update_format_dependant_columns() if not necessary.
564 (update_format_dependant_columns): Remove unnecessary check for
565 the number of columns.
567 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
569 * hildon/hildon-note.c (+hildon_note_constructor),
570 (hildon_note_class_init), (+hildon_note_set_padding),
571 (hildon_note_rebuild): Install a constructor where to set the
572 padding properties in the note, so that it actually works fine.
573 Use hildon_note_set_padding() for this, and also to set it during
576 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
578 * configure.ac: Bump GTK+ requirement to 2.14.3.
579 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
580 when using maemo-gtk to define proper margins for the notes.
582 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
583 with the dialog edge)
585 2009-06-24 Alberto Garcia <agarcia@igalia.com>
587 * hildon/hildon-banner.c
588 (hildon_banner_class_init):
590 (+hildon_banner_size_request):
591 Request always the full width of the screen.
592 (hildon_banner_realize)
593 (-hildon_banner_check_position, hildon_banner_map):
594 hildon_banner_check_position() is not needed in Hildon 2.2.
595 (-hildon_banner_reset_wrap_state)
596 (hildon_banner_constructor, hildon_banner_init):
597 Remove unnecessary calls to hildon_banner_reset_wrap_state()
598 (+banner_do_set_text)
599 (force_to_wrap_truncated):
600 Remove has_been_wrapped and has_been_truncated attributes.
601 (+reshow_banner, hildon_banner_real_show_information)
602 (hildon_banner_show_information_with_markup)
603 (hildon_banner_show_animation, hildon_banner_show_progress)
604 (hildon_banner_set_text, hildon_banner_set_markup):
605 Refactor code. Shrink banner vertically to use the minimum space
606 necessary everytime the text of the label is updated.
607 (screen_size_changed):
608 Call force_to_wrap_truncated() when the size of the screen
611 Fixes: NB#120500 (only device memory connect mmc in use info
612 banner is left aligned)
614 Fixes: NB#120613 (Size of HildonBanner varies depending on
615 previously opened banners)
617 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
619 * hildon/hildon-color-chooser.c
620 (hildon_color_chooser_pointer_motion): Take the widget allocation
623 Fixes: NB#124385 (Unable to select exact point in color mixing box
624 in color palette dialog)
626 2009-06-23 Alejandro G. Castro <alex@igalia.com>
628 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
629 (hildon_pannable_area_dispose)
630 (hildon_pannable_area_button_press_cb)
631 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
632 (hildon_pannable_area_button_release_cb)
633 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
634 New 'panning-started' and 'panning-finished' signals.
636 Fixes: NB#121732 (New feature request: Signal to pannable area
637 that informs when panning is stopped.)
639 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
641 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
642 instead of hardcoded colon.
644 Fixes: NB#124090 (New calendar wizard title is not using
645 ecdg_ti_caption_separator)
647 2009-06-22 David King <davidk@openismus.com>
649 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
650 constants and functions, as well as correct many typos throughout the
653 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
656 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
658 * configure.ac: postrelease version bump.
659 * debian/changelog: post release version bump
661 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
666 * configure.ac: Bump version.
667 * debian/changelog: Updates.
669 2009-06-18 Alberto Garcia <agarcia@igalia.com>
671 * hildon/hildon-window-stack.c
672 (hildon_window_stack_pop_and_push_list):
673 Prevent windows from having the same stack index
675 2009-06-18 Alberto Garcia <agarcia@igalia.com>
677 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
678 Use the index of the previous window rather than the stack length
679 to calculate the new index.
683 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
685 * hildon/hildon-date-selector.c
686 (hildon_date_selector_select_current_date)
687 (hildon_date_selector_get_date)
688 (hildon_date_selector_select_day):
689 Update the documentation: uses always the range (1-31), as it is obvious
690 that the final one will depend on the month and the year, but globally
691 the range is this, in a similar GtkCalendar approach
692 (hildon_date_selector_get_date):
693 Update the documentation: add NULL as a valid value for the day, month
696 Fix some details, after talk with David King on bug MB#4698
698 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
700 * hildon/hildon-touch-selector-entry.c
701 * hildon/hildon-touch-selector.c
702 Update the documentation of the "text-column" property
704 2009-06-18 David King <davidk@openismus.com>
706 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
707 several typos and errors throughout the documentation.
709 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
712 2009-06-18 Alberto Garcia <agarcia@igalia.com>
714 * hildon/hildon-note.c (hildon_note_realize):
715 Make HildonNote support portrait mode.
717 Fixes: NB#123448 (HildonNote is not portrait-friendly)
719 2009-06-17 Alberto Garcia <agarcia@igalia.com>
721 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
722 Document this function
724 2009-06-17 David King <davidk@openismus.com>
726 * hildon/hildon-date-selector.c
727 (hildon_date_selector_select_current_date)
728 (hildon_date_selector_get_date): Update documentation regarding days,
729 as the day of the month is dependent on both the month and the year.
730 (hildon_date_selector_get_date): Fix documentation of output arguments.
732 Fixes: MB#4698 (DateSelector documentation has bad output argument
733 description, and the day depends on both the month and the year)
735 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
737 * hildon/hildon-caption.c: Other documentation fixes to
740 2009-06-17 David King <davidk@openismus.com>
742 * hildon/hildon-caption.c: Minor documentation updates for
743 HildonCaption. Fixes MB#4697.
745 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
747 * doc/hildon-docs.sgml: Add hildon-version section.
748 * doc/hildon-sections.txt:
749 * hildon/hildon-version.h.in: Document versioning macros and
752 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
754 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
755 from HildonPickerDialog section.
757 2009-06-16 Alberto Garcia <agarcia@igalia.com>
759 * hildon/hildon-banner.c (hildon_banner_bind_style)
760 (screen_size_changed, hildon_banner_init)
761 (hildon_banner_real_show_information)
762 (hildon_banner_show_information_with_markup)
763 (hildon_banner_show_animation, hildon_banner_show_progress):
764 Set a different widget name to banners in portrait mode, for them
765 to be themed correctly.
767 2009-06-16 Alberto Garcia <agarcia@igalia.com>
769 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
770 Set a different widget name to notes in portrait mode, for them to
773 Partially fixes: NB#118401 (HildonNote causes unnecessary
776 2009-06-16 Alberto Garcia <agarcia@igalia.com>
778 * hildon/hildon-note.c (hildon_note_class_init)
779 (+hildon_note_size_request, screen_size_changed):
780 Always request the full width of the screen.
782 Fixes: NB#118375 (unnecessary rescaling of images)
784 2009-06-16 Alejandro G. Castro <alex@igalia.com>
786 * hildon/hildon-pannable-area.c,
787 (hildon_pannable_area_init),
788 (hildon_pannable_area_realize): Replaced old code adding flags in
789 the object init, now we add it with the other flags in the realize
792 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
794 * hildon/hildon-note.c: (hildon_note_class_init): Several
795 documentation improvements to the HildonNote widget.
797 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
799 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
801 Fixes: MB#4556 (HildonNoteType is undocumented)
803 2009-06-15 Alberto Garcia <agarcia@igalia.com>
805 * hildon/hildon-picker-button.c:
806 Explain how HildonPickerButton sets the title of its dialog
808 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
809 the title of its dialog)
811 2009-06-15 Alberto Garcia <agarcia@igalia.com>
813 * hildon/hildon-check-button.c:
814 Documentation updates
816 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
819 2009-06-15 Alberto Garcia <agarcia@igalia.com>
822 * hildon/hildon-edit-toolbar-private.h
823 * hildon/hildon-edit-toolbar.c
824 (+hildon_edit_toolbar_set_progress_indicator)
825 (hildon_edit_toolbar_init): Add progress indicator to the
828 * hildon/hildon-gtk.c
829 (hildon_gtk_window_set_progress_indicator):
830 If the window contains a HildonEditToolbar, enable the progress
833 * hildon/hildon-private.h
834 * hildon/hildon-private.c
835 (+hildon_private_create_animation)
836 * hildon/hildon-banner.c
837 (-hildon_banner_create_animation):
838 Moved to hildon-private.c
840 Fixes: NB#102373 (Progress indicator also for the Edit mode
843 2009-06-15 Alberto Garcia <agarcia@igalia.com>
845 * hildon/hildon-app-menu-private.h
846 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
847 (hildon_app_menu_add_filter, +menu_item_button_event)
848 (hildon_app_menu_button_release, hildon_app_menu_init):
849 Make sure that buttons receive 'button-release-event' in spite of
850 the grab held by HildonAppMenu
852 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
854 2009-06-15 Alberto Garcia <agarcia@igalia.com>
856 * hildon/hildon-app-menu.c
857 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
858 New style property to set the size of the group of filter buttons.
860 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
862 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
867 * configure.ac: Bump version.
868 * debian/changelog: Updates.
870 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
872 * hildon/hildon-main.c: Minor documentation fixes.
874 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
876 * doc/hildon-sections.txt:
877 * hildon/hildon-defines.h: Document the defines, organize them,
878 and mark deprecations as such.
880 Fixes: MB#4463 (Hildon size #defines are undocumented)
882 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
884 * hildon/hildon-animation-actor.c:
885 * hildon/hildon-app-menu.c:
886 * hildon/hildon-button.c:
887 * hildon/hildon-date-editor.c:
888 * hildon/hildon-dialog.c:
889 * hildon/hildon-edit-toolbar.c:
890 * hildon/hildon-entry.c:
891 * hildon/hildon-program.c:
892 * hildon/hildon-remote-texture.c:
893 * hildon/hildon-stackable-window.c:
894 * hildon/hildon-text-view.c:
895 * hildon/hildon-touch-selector.c:
896 * hildon/hildon-window-stack.c:
897 * hildon/hildon-window.c:
899 Remove redundant "represents" wording from most of the documentation.
901 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
903 2009-06-12 Alberto Garcia <agarcia@igalia.com>
908 * hildon/hildon-banner-private.h
909 * hildon/hildon-banner.c:
910 Move HildonBannerPrivate to hildon-banner.c and remove
911 hildon-banner-private.h
912 Use a bit field to store private booleans.
914 2009-06-12 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-app-menu.c (hildon_app_menu_map):
917 Don't install a new idle function if there's already one
922 2009-06-11 Alberto Garcia <agarcia@igalia.com>
924 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
925 (+legacy_menu_realized, +legacy_menu_unmapped)
926 (+set_legacy_menu_type):
927 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
928 they can be identified by the window manager.
930 Fixes: NB#101437 (Invoking CSM on the left side of page area is
931 displayed in wrong location)
933 Fixes: MB#4563 (Popup menu won't locate at the left side of the
936 2009-06-11 Alberto Garcia <agarcia@igalia.com>
938 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
940 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
943 2009-06-11 Alberto Garcia <agarcia@igalia.com>
945 * hildon/hildon-code-dialog.c
946 * hildon/hildon-date-editor.c
947 * hildon/hildon-number-editor.c
948 * hildon/hildon-seekbar.c
949 * hildon/hildon-stackable-window.c
950 * hildon/hildon-window.c:
951 Misc documentation updates
953 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
955 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
956 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
958 Fixes: NB#117931 (Theming issues in accounts dialogs)
960 2009-06-09 Alejandro G. Castro <alex@igalia.com>
962 * hildon/hildon-pannable-area.c,
963 (hildon_pannable_area_button_release_cb): Changed the coordinates
964 of the original release in case we want to discard the release,
965 some widgets in Fremantle do not handle the leave-notify.
967 2009-06-09 Alejandro G. Castro <alex@igalia.com>
969 * hildon/hildon-pannable-area.c,
970 (hildon_pannable_area_button_release_cb): Reviewed the logic of
971 the release using the last refactored functions and avoiding the
972 movement if an element was selected.
974 2009-06-09 Alejandro G. Castro <alex@igalia.com>
976 * hildon/hildon-pannable-area.c,
977 (hildon_pannable_area_check_move),
978 (hildon_pannable_area_handle_move),
979 (hildon_pannable_area_motion_notify_cb): Refactored the
980 motion_notify method using a couple of new functions.
982 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
984 * hildon/hildon-date-selector.c:
985 (hildon_date_selector_construct_ui):
986 * hildon/hildon-time-selector.c:
987 (hildon_time_selector_constructor):
988 * hildon/hildon-touch-selector-entry.c:
989 (hildon_touch_selector_entry_set_text_column),
990 (hildon_touch_selector_entry_get_text_column):
991 * hildon/hildon-touch-selector.c: (_default_print_func),
992 (hildon_touch_selector_new_text): Use
993 hildon_touch_selector_set/get_text_column() instead of
994 setting/getting the "text-column" property.
996 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
998 * doc/hildon-sections.txt: Add the new public methods below.
1000 * examples/hildon-picker-button-multicolumn-example.c:
1001 (create_touch_selector):
1002 * examples/hildon-touch-selector-example.c: (create_selector):
1003 * examples/hildon-touch-selector-multi-cells-example.c:
1005 Use hildon_touch_selector_column_set_text_column()
1007 * hildon/hildon-touch-selector-column.h:
1008 * hildon/hildon-touch-selector.c:
1009 (hildon_touch_selector_column_set_text_column),
1010 (hildon_touch_selector_column_get_text_column):
1011 Make hildon_touch_selector_column_set/get_column() public, use
1012 them in the inline example, document them, and reference to them
1015 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1017 * hildon/hildon-time-selector.c: Fix the docs for
1018 hildon_time_selector_new_step().
1020 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1022 * hildon/hildon-touch-selector.c: Improve the documentation for
1023 hildon_touch_selector_append_column().
1025 Fixes MB#4641 (Documentation:
1026 hildon_touch_selector_append_column() ref-counting)
1028 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1030 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1031 Comment out test 5, since the hildon_controlbar_set_range() range
1032 check is broken and fixing it would have side effects. Also,
1033 this finally fixes make distcheck.
1035 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1037 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1039 * tests/TEST-CASES.txt: Remove other bogus test.
1040 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1041 Remove bogus test that was setting/retrieving a valid value.
1043 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1045 * tests/TEST-CASES.txt: Remove bogus tests.
1046 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1047 Remove three bogus tests that were actually setting valid colors.
1049 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1051 * configure.ac: post release version bump
1052 * debian/changelog: post release version bump
1054 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1059 * configure.ac: Bump version.
1060 * debian/changelog: Updates.
1062 2009-06-08 Christian Dywan <christian@lanedo.com>
1066 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1067 Correct errors in hildon_format_file-size_for_display and use
1068 translations from the hildon-fm package instead of osso-filemanager.
1070 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1072 * hildon/hildon-pannable-area.c,
1073 (hildon_pannable_area_init): Initialized new values to handle the
1074 adjustment position.
1075 (hildon_pannable_area_adjust_value_changed): Check if the values
1076 changed before even call the redraw function.
1077 (hildon_pannable_area_size_allocate),
1078 (hildon_pannable_axis_scroll),
1079 (hildon_pannable_area_scroll),
1080 (hildon_pannable_area_jump_to): Improved the diagonal movement
1083 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1086 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1088 * examples/hildon-banner-example.c:
1089 Several style updates
1090 (on_animation_clicked, on_animation_idle)
1091 (on_progress_clicked, on_progress_idle):
1092 Add additional reference for the cases when the parent window is
1095 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1097 * doc/hildon-sections.txt
1098 * hildon/hildon-pannable-area.c
1099 * hildon/hildon-banner.h
1100 * hildon/hildon-banner.c: Documentation updates.
1102 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1105 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1107 * hildon/hildon-calendar-popup.h:
1108 * hildon/hildon-caption.h:
1109 * hildon/hildon-code-dialog.h:
1110 * hildon/hildon-controlbar.h:
1111 * hildon/hildon-date-editor.h:
1112 * hildon/hildon-dialog.h:
1113 * hildon/hildon-get-password-dialog.h:
1114 * hildon/hildon-hvolumebar.h:
1115 * hildon/hildon-login-dialog.h:
1116 * hildon/hildon-note.h:
1117 * hildon/hildon-number-editor.h:
1118 * hildon/hildon-range-editor.h:
1119 * hildon/hildon-seekbar.h:
1120 * hildon/hildon-set-password-dialog.h:
1121 * hildon/hildon-sort-dialog.h:
1122 * hildon/hildon-time-editor.h:
1123 * hildon/hildon-time-picker.h:
1124 * hildon/hildon-volumebar-range.h:
1125 * hildon/hildon-volumebar.h:
1126 * hildon/hildon-vvolumebar.h:
1127 * hildon/hildon-weekday-picker.h:
1128 * hildon/hildon-window.h:
1129 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1130 macros with the current replacements
1132 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1134 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1136 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1137 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1138 itself, to make it fit better with Fremantle style.
1140 Fixes: NB#109878 (height and width of focus on color icon is not
1141 consistent with other item in the application tool bar)
1143 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1145 * hildon/hildon-touch-selector.c:
1146 (hildon_touch_selector_optimal_size_request): use the current requisition
1147 as the base, in order to include any possible extra widget, like the
1148 hildon entry on HildonTouchSelectorEntry
1150 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1152 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1154 * configure.ac: post release version bump
1155 * debian/changelog: post release version bump
1157 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1162 * configure.ac: Bump version.
1163 * debian/changelog: Updates.
1165 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1167 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1169 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1170 to ensure the banner contents are centered, instead of relying on
1171 the expand and fill properties in GtkHBox.
1172 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1174 Fixes: NB#108265 (Animation banner not properly centered)
1176 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1178 * hildon/hildon-pannable-area.c
1179 (hildon_pannable_area_initial_effect): Remove the initial_effect
1180 management, check initial_hint
1181 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1182 set initial_effect to FALSE
1183 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1184 by launching the fade_timeout if the scrollbars state has changed and are
1186 * examples/hildon-pannable-area-initial-hint-example.c
1187 Modified to allow to remove rows too. Add and remove rows one by one.
1189 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1191 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1192 Don't close the menu if there's an animation actor below it.
1194 Fixes: NB#117927 (Application menu not usable with animation
1197 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1199 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1200 "focus-on-click" from the dialog button, to avoid stealing the
1201 focus from the entry.
1203 Fixes: NB#118903 (Account setup wizard: Text in Search field
1204 should be focused when "Region" touch list picker is reopened
1207 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1209 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1210 (prepare_action_area): Completely hide the dialog separator.
1212 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1214 * hildon/hildon-touch-selector-entry.c
1215 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1216 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1217 now that the entry is exposed.
1219 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1221 * hildon/hildon-touch-selector-entry.c
1222 (hildon_touch_selector_entry_init): Change the entry's size
1223 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1225 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1227 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1228 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1229 avoid unnecessary scaling.
1231 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1233 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1234 Create grab transfer window before calling parent's map function.
1236 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1237 "crushed" button(s) in the top left corner)
1239 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1241 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1242 Check if the window is already realized when pushing it.
1244 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1246 * configure.ac: post release version bump
1247 * debian/changelog: post release version bump
1249 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1254 * configure.ac: Bump version.
1255 * debian/changelog: Updates.
1257 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1259 * hildon/hildon-app-menu.c: Doc updates.
1261 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1263 * hildon/hildon-banner.c: Remove leftover macro.
1265 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1267 * hildon/hildon-pannable-area.c,
1268 (hildon_pannable_area_scroll_indicator_fade),
1269 (hildon_pannable_area_button_release_cb): Reviewed vmin
1270 conditions, it could cause problems in the fadeout procedure.
1272 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1274 * hildon/hildon-pannable-area.c
1275 (hildon_pannable_area_button_release_cb): Added a threshold to
1276 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1278 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1280 * hildon/hildon-pannable-area.c,
1281 (hildon_pannable_area_set_property): Added code to sync the gtk
1282 dnd threshold with the panning threshold.
1284 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1286 * hildon/hildon-pannable-area.c,
1287 (hildon_pannable_area_class_init): Changed some of the default
1288 values, now it should be less responsive and more accurate.
1290 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1292 * hildon/hildon-pannable-area.c,
1293 (hildon_pannable_area_init),
1294 (hildon_pannable_area_scroll_indicator_fade),
1295 (hildon_pannable_area_button_press_cb),
1296 (hildon_pannable_axis_scroll),
1297 (hildon_pannable_area_timeout),
1298 (hildon_pannable_area_motion_notify_cb),
1299 (hildon_pannable_area_button_release_cb): Changed the name of the
1300 clicked attribute to button_pressed, it is more clear about its use.
1302 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1304 * src/hildon-pannable-area.c
1305 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1307 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1308 vertical scrollbar visibility, and use the data on private section instead,
1309 remove the initial_hint check
1310 (hildon_pannable_area_expose_event): add the initial_hint check here
1312 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1314 * src/hildon-pannable-area.c
1315 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1316 if the fadeout effect was used
1317 (hildon_pannable_area_expose_event): check if it is required to
1318 manage the initial effect on the begining of the function. Previously
1319 it was made at the end, but this doesn't ensure that the scrollbars
1320 will be painted on the first show. Do not set to FALSE initial_effect,
1321 to ensure that the initial hint is showed the first time the pannable
1323 * examples/Makefile.am
1324 * examples/hildon-pannable-area-initial-hint-example.c:
1325 New example, to show that the initial-hint is showed when the widget
1328 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1329 initially if the application can be scrolled)
1331 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1333 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1334 Resize table before adding new items to make sure that
1335 gtk_table_resize() is called just once.
1337 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1339 * hildon/hildon-app-menu-private.h
1340 * hildon/hildon-app-menu.c (item_visibility_changed)
1341 (filter_visibility_changed, hildon_app_menu_show_all)
1342 (hildon_app_menu_hide_all, hildon_app_menu_init):
1343 Rearrange items just once when gtk_widget_show_all()/hide_all()
1346 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1348 * hildon/hildon-app-menu.c
1349 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1350 Don't call gtk_widget_show() on added items.
1352 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1353 automatically when they're added)
1355 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1357 * hildon/hildon-banner.c
1358 (hildon_banner_realize, +hildon_banner_unrealize)
1359 (+screen_size_changed, hildon_banner_class_init):
1360 Redisplay the banner if the screen is rotated.
1362 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1363 on transition from landscape to portrait)
1365 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1367 * hildon/hildon-banner.[ch]:
1368 (hildon_banner_show_information_override_dnd): remove icon_name from the
1369 method definition as it is ignored.
1370 * examples/hildon-banner-dnd-example.c: updated with the change on
1373 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1375 * hildon/hildon-banner-private.h: new require_override_dnd and
1376 overrides_dnd variables
1377 * hildon/hildon-banner.h:
1378 (hildon_banner_show_information_override_dnd): new method, that shows
1379 the information but sets the override flag, in order to show important
1381 * hildon/hildon-banner.c
1382 (hildon_banner_show_information_override_dnd): new method
1383 (hildon_banner_set_override_flag): new utility function
1384 (hildon_banner_real_show_information): new utility function, in order to
1385 generalize the current hildon_banner_show_information_override_dnd and
1386 hildon_banner_show_information_override_dnd
1387 * examples/Makefile.am
1388 * examples/hildon-banner-dnd-example.c: New example that show how to
1389 use the new hildon_banner_show_information_override_dnd
1391 Fixes: NB#114874 (There is no possibility to show hildon banners with
1394 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1396 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1397 behind hildon_pannable_calculate_vel_factor().
1399 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1401 * hildon/hildon-pannable-area.c
1402 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1403 deceleration factors.
1405 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1407 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1408 Reduce the default value for 'scroll_time' to 1 second, since the
1409 current initial scrolling takes too much time.
1411 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1413 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1414 calculate velocity factor during initialization, since the properties
1417 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1419 * hildon/hildon-pannable-area.c
1420 (hildon_pannable_area_set_property): Calculate the velocity factor
1421 after setting the deceleration property and not after.
1423 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1425 * hildon/hildon-entry.c
1426 (hildon_entry_class_init, +set_property, hildon_entry_new)
1427 * hildon/hildon-check-button.c
1428 (hildon_check_button_class_init)
1429 (+set_property, hildon_check_button_new):
1430 Make the theme size a property.
1432 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1433 others) do too much in the _new function)
1435 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1437 * configure.ac: post release version bump
1438 * debian/changelog: post release version bump
1440 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1445 * configure.ac: Bump version.
1446 * debian/changelog: Updates.
1448 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1450 * hildon/hildon-gtk.h
1451 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1452 New API function to take a screenshot of a window
1454 Fixes: NB#106374 (Need API to take a loading screenshot)
1456 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1458 * hildon/hildon-time-selector.c
1459 (update_format_policy): prevent to use hours and minutes unitialized
1461 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1463 * hildon/hildon-window.c (hildon_window_size_request):
1464 Always request the full size of the screen (minus the title bar if
1465 not in fullscreen mode).
1467 Fixes: NB#107486 (HildonWindow should size itself properly)
1469 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1471 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1472 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1473 (on_show_cb), (sound_handling): Disconnect the idle handler for
1474 the sound when the note is finalized to avoid possible crashes.
1476 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1479 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1481 * src/hildon-animation-actor.c,
1482 * src/hildon-remote-texture.c:
1483 Added proper object cleanup to remove signal handler and object
1484 references as HildonAnimationActor and HildonRemoteTexture
1485 objects get destroyed.
1487 Fixes: NB#116682 (Destroying parented animation actors when
1488 parent in unmapped leads to crash)
1490 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1492 Based on a patch by Christian Dywan (christian@imendio.com)
1494 * doc/hildon-sections.txt:
1495 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1496 * hildon/hildon-helper.h: New file size formatting method.
1498 * debian/control: Depend on osso-filemanager l10n package for
1499 proper localization strings.
1501 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1503 * tests/Makefile.am: Include top_srcdir to make possible to build
1504 tests in a different builddir.
1505 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1506 on a different builddir.
1508 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1510 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1511 (hildon_touch_selector_remove): Disconnect model's signal handler
1514 Fixes: NB#116289 (Hildon home crashes while adding task
1517 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1519 * hildon/hildon-button.c
1520 (hildon_button_set_title, hildon_button_set_value):
1521 Hide labels containing an empty string.
1523 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1525 * configure.ac: post release version bump
1526 * debian/changelog: post release version bump
1528 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1533 * configure.ac: Bump version.
1534 * debian/changelog: Updates.
1536 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1538 * hildon/hildon-note-private.h: Removed sound_signal_handler
1539 * hildon/hildon-note.c
1540 (on_show_cb): new callback on note "show" event, this simply adds
1541 a idle, with the function sound_handling
1542 (sound_handling): removed the sound_signal_handler management
1543 (hildon_note_init): connect note "show" event to on_show_cb
1544 (hildon_note_realize): remove the connection to "expose-event"
1546 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1547 device?' confirmation note)
1549 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1551 * hildon/hildon-note.c
1552 (hildon_note_new_information_with_icon_name)
1553 (hildon_note_new_confirmation_with_icon_name):
1554 Terminate the list of parameters in g_object_set() calls
1556 Fixes: NB#115166 (Formatting memory card is not taking place)
1558 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1560 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1561 "dialog-information" role for the sound being played.
1563 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1565 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1566 Don't make the menu a modal window, it causes strange interactions
1567 with the pointer grab and it's not really needed.
1569 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1571 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1573 * hildon/hildon-touch-selector.[ch]
1574 (hildon_touch_selector_optimal_size_request): function added to get a
1575 optimal size request from the touch selector, when you want a dialog to
1576 show as much of the selector
1577 * hildon/hildon-picker-dialog.c:
1578 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1579 (hildon_app_menu_class_init):
1580 New "max-height-landscape" and "max-height-portrait" style properties
1581 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1582 (hildon_picker_dialog_get_max_height): returns the maximum height using
1583 the style properties defined and checking the current portrait/landscape
1585 (_hildon_picker_dialog_set_selector): removed the set_size_request
1587 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1589 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1591 * hildon/hildon-bread-crumb-trail.c:
1592 * hildon/hildon-bread-crumb.c:
1593 * hildon/hildon-seekbar.c:
1594 Add reference to replacements for these deprecated widgets.
1596 Fixes: MB#4461 (Documentation: All deprecations should mention
1599 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1601 * examples/hildon-remote-texture-example.c
1603 Change the include to the hildon-remote-texture in order to compile
1604 properly the examples on the installed libhildon1-examples package
1606 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1608 * tests/Makefile.am: Add check for HildonPickerButton.
1609 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1610 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1611 checks for the HildonPickerButton.
1612 * tests/check_test.c (configure_tests): Add the test suite.
1613 * tests/test_suites.h: likewise.
1615 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1617 * hildon/hildon-touch-selector.c
1618 (+on_row_changed): Emit HildonTouchSelector:changed when the
1619 contents of a selected row change.
1620 (_create_new_column), (_hildon_touch_selector_set_model): connect
1621 to GtkTreeModel:row-changed on a newly set model.
1623 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1625 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1627 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1629 * hildon/hildon-banner.c (hildon_banner_destroy)
1630 (hildon_banner_show_progress, hildon_banner_set_fraction):
1631 Remove the progress bar from HildonBanner and use a progress
1634 Fixes: NB#113761 (Update progress banner to use progress
1637 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1639 * hildon/hildon-banner.c:
1640 Calculate size of the banner label using the actual screen width
1641 rather than using a fixed value.
1643 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1646 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1648 * hildon/hildon-pannable-area.c,
1649 (hildon_pannable_area_class_init): Fixed signals documentation
1652 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1654 * configure.ac: post release version bump
1655 * debian/changelog: post release version bump
1657 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1662 * configure.ac: Bump version.
1663 * debian/changelog: Updates.
1665 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1667 * hildon/hildon-edit-toolbar.c
1668 (hildon_edit_toolbar_init):
1669 Don't let buttons in HildonEditToolbar receive focus.
1671 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1672 typing on an HW arrows key)
1674 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1676 * doc/Makefile.am: Fix build.
1678 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1680 * doc/Makefile.am: Do not redefine content_files.
1682 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1690 Renamed src/ to hildon/
1695 Include <hildon/hildon.h> directly in all examples.
1697 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1699 * src/hildon-sort-dialog.c
1700 (hildon_sort_dialog_add_sort_key_with_sorting)
1704 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1706 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1707 make distcheck passes.
1709 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1711 * Makefile.am: Enable gtk-doc during distcheck.
1713 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1715 * Makefile.am: Do not distribute the debian/ directory.
1717 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1719 * doc/Makefile.am: Add the extra SGML files to content_files,
1720 so that they are distributed properly.
1722 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1724 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1727 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1729 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1730 (hildon_note_new_information_with_icon_name): Set the "icon" property
1731 to preserve soundness.
1733 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1735 * src/hildon-font-selection-dialog.c
1736 (hildon_font_selection_dialog_set_property): Fail when the "family"
1737 property is set to NULL.
1739 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1741 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1744 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1746 * src/hildon-time-selector.h:
1747 Added HildonTimeSelectorFormatPolicy
1748 * src/hildon-time-selector.c:
1749 Added PROP_TIME_FORMAT_POLICY
1750 (_check_ampm_format): renamed to check_automatic_ampm_format
1751 (update_format_policy), (update_format_dependant_columns): new functions
1752 (hildon_time_selector_class_init)
1753 (hildon_time_selector_contructor)
1754 (hildon_time_selector_init)
1755 (hildon_time_selector_get_property)
1756 (hildon_time_selector_set_property)
1757 (hildon_time_selector_get_time)
1758 (hildon_time_selector_set_time)
1759 * src/hildon-touch-selector.h: new file
1760 * src/hildon-touch-selector.c
1761 (hildon_touch_selector_emit_changed)
1762 (hildon_touch_selector_block_changed)
1763 (hildon_touch_selector_unblock_changed)
1764 Added functions to allow to block the emission of the "changed" signal
1765 * src/hildon-picker-dialog.c
1766 (hildon_picker_dialog_show): call the parent show before the custom code
1767 * examples/hildon-time-button-example.c
1768 Modified, so now you can configure the time format using the new property
1770 Added a new property "time-format-policy" that allow to choose the time
1771 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1772 case it uses gconf in order to check if the time selector must use
1775 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1778 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1780 * src/hildon-note.c (hildon_note_init):
1781 Label in HildonNote must be left aligned, not centered. This
1782 reverts the last commit in HildonNote.
1784 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1785 is connectivity dialog)
1787 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1792 * doc/hildon-sections.txt:
1793 Added hildon_gtk_window_set_do_not_disturb()
1795 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-note.c (hildon_note_init): Center label.
1799 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1802 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1807 * configure.ac: Bump version.
1808 * debian/changelog: Updates.
1810 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1812 * src/hildon-note-private.h: Add button-width to the private data.
1813 * src/hildon-note.c (+resize_button),
1814 (+hildon_note_orientation_update): methods to repack widgets on orientation
1816 (screen_size_changed): Call above method for confirmation notes.
1817 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1818 (hildon_note_rebuild): Store the original width request from buttons.
1820 Fixes: NB#109635 (Confirmation notes do not support portrait)
1822 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1825 when it is a progress note.
1827 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1830 in the note, since there are no horizontally arranged contents.
1832 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1834 * src/hildon-gtk.c (+set_flag): new generic method to
1835 set/delay a flag setting in a window.
1836 (hildon_gtk_window_set_progress_indicator):
1837 (hildon_gtk_window_set_do_not_disturb),
1838 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1839 avoid code redundance.
1841 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1843 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1845 * src/hildon-gtk.c (set_clear_window_flag),
1846 (do_set_progress_indicator), (do_set_do_not_disturb),
1847 (do_set_portrait_flags),
1848 (hildon_gtk_window_set_progress_indicator),
1849 (hildon_gtk_window_set_do_not_disturb),
1850 (hildon_gtk_window_set_portrait_flags):
1851 Allow setting dnd-flag, progress indicator, and portrait flags
1852 when the window is not realized.
1854 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1856 * src/hildon-pannable-area.c,
1857 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1858 the size request policy function and defines.
1860 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1862 * doc/hildon-sections.txt: Add the new API.
1863 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1864 method to set the portrait flags.
1865 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1867 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1869 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1871 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1872 to allow using this method with other flags.
1873 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1874 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1876 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-touch-selector.c
1879 (hildon_touch_selector_append_text_column):
1880 Make the cell renderer use the smallest width possible.
1882 Fixes: NB#108470 (Selected items in multiple selection are either
1883 having a tick that is cut or not visible at all.)
1885 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-touch-selector.c
1888 (hildon_touch_selector_append_text_column):
1891 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1893 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1894 Use g_strdup_printf() instead of a fixed size buffer.
1896 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1899 Close banners when a HildonAppMenu is popped up.
1901 Fixes: NB#111027 (Title menu closed immediately if activated when
1902 "Invalid e-mail address" banner is shown)
1904 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1909 * configure.ac: Bump version.
1910 * debian/changelog: Updates.
1912 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-banner.c (hildon_banner_realize):
1915 Mark HildonBanner as supporting portrait mode.
1916 Use GDK to set window properties insetad of direct Xlib calls.
1918 Fixes: NB#111830 (HildonBanner should be marked as supporting
1921 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-note.c (hildon_note_rebuild):
1924 Hide action area in information notes. Prevents text from being
1925 slightly aligned to the left.
1927 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1930 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1932 Patch by Mox Soini (ext-mox.soini@nokia.com)
1934 * src/hildon-banner.c (hildon_banner_create_animation):
1935 Use stylus-sized icons in animation banner.
1937 Fixes: NB#111206 (stylus sized icon for animation banner)
1939 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1943 (+hildon_gtk_window_set_do_not_disturb):
1944 New API to set the do-not-disturb flag.
1946 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1948 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1950 * examples/hildon-progress-indicator-example.c: Fix example
1952 * src/hildon-gtk.c (set_clear_window_flag)
1953 (hildon_gtk_window_set_progress_indicator):
1954 Create a generic function for setting flags to a window.
1955 Use GDK instead of direct Xlib calls.
1957 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-button.c (hildon_button_set_arrangement):
1960 Due to NB#88126, if one of the labels is too long it will be
1961 painted outside the button. The 'value' label is more likely to be
1962 the longest one, so we change its packing options in order to
1963 truncate it if necessary. As a side effect, the 'title' label will
1964 no longer be truncated.
1966 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1968 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1973 * configure.ac: Bump version.
1974 * debian/changelog: Updates.
1976 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1978 Deprecation of the hildon_pannable_area_set_size_request_policy
1979 API, the only policy properly supported in gtk+ nowadays is the
1982 * src/hildon-pannable-area.c,
1983 (hildon_pannable_area_size_request): Added a workaround for the
1984 size_request to avoid the problems of huge pixmaps in case someone
1985 is still using the function.
1986 * src/hildon-pannable-area.h: Deprecated the enum with the
1989 Fixes: NB#110244 (Problems with the
1990 hildon_pannable_area_set_size_request_policy API)
1992 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1994 * src/hildon-pannable-area.c,
1995 (hildon_pannable_area_init),
1996 (hildon_pannable_area_size_request),
1997 (hildon_pannable_area_style_set),
1998 (hildon_pannable_draw_vscroll),
1999 (hildon_pannable_draw_hscroll),
2000 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2001 indicator_width to clarify the use of the attribute.
2003 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2008 * configure.ac: Bump version.
2009 * debian/changelog: Updates.
2011 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2013 * src/hildon-picker-dialog.c
2014 * src/hildon-touch-selector.c
2015 Reverting the change that tried to avoid the hardcoded height on
2016 the picker dialog, as causes problems on the hildon-touch-selector
2019 Fixes: NB#110029 (selectors not scrolling to selected value)
2021 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-touch-selector.c: Fix typos
2025 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2027 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2028 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2029 request more motions after using it.
2031 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2033 * src/hildon-calendar.c (hildon_calendar_expose),
2034 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2035 Remove unused variables.
2037 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2039 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2040 variable assignment.
2042 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2045 Check the return value of gtk_tree_selection_get_selected()
2048 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2050 * src/hildon-animation-actor.c
2051 * src/hildon-button.c
2053 * src/hildon-pannable-area.c
2054 * src/hildon-picker-button.c
2055 * src/hildon-program.c
2056 * src/hildon-remote-texture.c
2057 * src/hildon-text-view.c
2058 * src/hildon-touch-selector.c
2059 * src/hildon-window-stack.c
2060 * src/hildon-window.c:
2061 Add missing 'Since: 2.2' tags.
2063 * doc/hildon-sections.txt:
2064 Add some missing symbols.
2066 * doc/hildon-docs.sgml:
2067 New 'Other' section for HildonAnimationActor and
2070 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2072 Patch by Iván Gómez (igomez@igalia.com)
2075 * doc/compiling.sgml
2076 * doc/hildon-docs.sgml
2077 * doc/hildon-sections.txt
2078 * doc/migration.sgml
2079 * doc/resources.sgml
2081 New chapters on using the Hildon library.
2082 Updated the general structure of the reference manual.
2083 Other minor documentation fixes.
2085 * src/hildon-calendar-popup.c
2086 * src/hildon-calendar.c
2087 * src/hildon-controlbar.c
2088 * src/hildon-date-editor.c
2089 * src/hildon-dialog.c
2090 * src/hildon-hvolumebar.c
2091 * src/hildon-number-editor.c
2092 * src/hildon-range-editor.c
2093 * src/hildon-sort-dialog.c
2094 * src/hildon-time-editor.c
2095 * src/hildon-time-picker.c
2096 * src/hildon-volumebar-range.c
2097 * src/hildon-volumebar.c
2098 * src/hildon-vvolumebar.c
2099 * src/hildon-weekday-picker.c:
2100 Add deprecation notes
2102 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2103 Document 'horizontal-movement' and 'vertical-movement' signals.
2105 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2110 * configure.ac: Bump version.
2111 * debian/changelog: Updates.
2113 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2115 * src/hildon-pannable-area.c,
2116 (hildon_pannable_area_class_init): increased the minimum velocity.
2117 (hildon_pannable_area_button_release_cb): Updated the
2118 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2119 setup. Review the code to control that last event.
2121 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2124 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2126 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2128 * src/hildon-get-password-dialog.c
2129 (hildon_get_password_set_property),
2130 (hildon_get_password_get_property), (create_contents):
2131 * src/hildon-login-dialog-private.h:
2132 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2133 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2134 (hildon_login_dialog_get_password):
2135 * src/hildon-set-password-dialog-private.h:
2136 * src/hildon-set-password-dialog.c
2137 (hildon_set_password_set_property),
2138 (hildon_set_password_get_property), (create_contents),
2139 (hildon_set_password_response_change),
2140 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2142 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2143 instead and look more Fremantle style.
2145 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2147 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2149 * doc/hildon-sections.txt
2150 * src/hildon-window-stack.h
2151 * src/hildon-window-stack.c
2152 (+hildon_window_stack_get_windows):
2153 New API to obtain the list of windows on a stack.
2155 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-app-menu.c (hildon_app_menu_popup)
2158 (hildon_app_menu_class_init, -hildon_app_menu_show):
2159 Remove hildon_app_menu_show() and move all its checks to
2160 hildon_app_menu_popup()
2162 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2164 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2165 (_hildon_picker_dialog_set_selector): removed call to
2166 gtk_widget_set_size_request
2167 * src/hildon-touch-selector.c
2168 (_create_new_column): change the pannable size request policy
2170 Avoid to use a hardcoded height for the hildon picker dialog. In order
2171 to get that, we needed to change the hildon pannable size request
2173 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2175 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2178 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2181 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2183 * debian/control: Depend on osso-system-lock localization package.
2184 * src/hildon-code-dialog.c: Obtain the secu_application_title
2185 translation from osso-system-lock.
2186 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2187 for translation the atk related strings, that's not necessary.
2188 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2189 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2190 cancel button, it is not required.
2192 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2194 * src/hildon-pannable-area.c,
2195 (hildon_pannable_area_class_init): Modified the default value of
2196 the overshooting max speed, we have reduced it.
2198 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2200 * doc/hildon-sections.txt
2201 * src/hildon-window-private.h
2202 * src/hildon-window.h
2203 * src/hildon-window.c (hildon_window_class_init)
2204 (hildon_window_init, hildon_window_finalize)
2205 (hildon_window_realize, hildon_window_get_property)
2206 (hildon_window_set_property, hildon_window_update_markup)
2207 (hildon_window_get_markup, hildon_window_set_markup):
2208 New "markup" property and hildon_window_{get,set}_markup() methods.
2210 * examples/hildon-stackable-window-example.c (new_window):
2211 Update example to use hildon_window_set_markup()
2213 Fixes: NB#106375 (Need API to retitle a window with a title
2216 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2218 * src/hildon-pannable-area.c,
2219 (hildon_pannable_area_class_init): Changed the default value of
2220 the initial_hint to TRUE.
2221 (hildon_pannable_area_initial_effect): Changed the initial effect,
2222 not the effect is just the fade-out of the scrollbars.
2224 Fixes: NB#107775 (No scrollbars can be seen when several items are
2225 available in a dialog)
2227 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-program.c (hildon_program_update_top_most):
2232 Fixes: NB#109179 (Memory leak in Hildon program)
2234 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2236 * src/hildon-banner.c (-get_current_app_window):
2237 Remove unused function.
2239 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2241 * src/hildon-pannable-area.c: Modified the documentation of the
2242 get adjustments functions to explain the problem of using the
2243 adjustment directly.
2244 (hildon_pannable_area_class_init): Improved the explanation about
2247 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2249 * src/hildon-app-menu-private.h
2250 * src/hildon-app-menu.c
2251 (hildon_app_menu_class_init):
2252 Bring back the 'external-border' style property
2253 (hildon_app_menu_class_init, hildon_app_menu_init)
2254 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2255 Set a fixed width-request for the menu, independent of the number
2258 Fixes: NB#94957 (Smoothly opened application menu)
2260 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2262 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2264 * src/hildon-banner.c
2265 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2267 Make sure that the banner is correctly placed the first time it's
2269 (hildon_banner_check_position, -check_fullscreen_state):
2270 Show the banner in the same place no matter if the window is in
2271 fullscreen mode or not.
2273 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2275 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-touch-selector.c (_default_print_func): reorder
2278 concatenation for clarity.
2280 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2282 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2283 for multicolumn selectors.
2285 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2287 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2292 * configure.ac: Bump version.
2293 * debian/changelog: Updates.
2295 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2300 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2302 * configure.ac: removed libcangerra-gtk dependency
2303 * debian/control: removed libcanberra-gtk dependency
2304 * src/Makefile.am: removed libcanberra gtk related flags
2305 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2306 context, and manage a global canberra context instead
2308 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2310 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2312 Patch by Daniel Borgmann (danielb@openismus.com)
2314 * src/hildon-edit-toolbar.c:
2315 Adjust the left padding.
2316 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2317 Paint background of the edit toolbar.
2319 Fixes: NB#107897 (Patch to make editmodetoolbar background
2320 themeable and adjust margin)
2322 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2324 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2326 * src/hildon-program.c (hildon_program_update_top_most):
2327 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2329 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2330 change when the user tasks in/out of an application)
2332 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2334 * configure.ac: added libcangerra-gtk dependency
2335 * debian/control: added libcanberra-gtk dependency
2336 * src/Makefile.am: added libcanberra gtk related flags
2337 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2340 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2342 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2344 * src/hildon-program.c (hildon_program_remove_window)
2345 (hildon_program_add_window): Add checks for the window
2346 parameter. Don't decrease the window counter if the window is not
2349 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2351 * src/hildon-pannable-area.c,
2352 (hildon_pannable_area_realize): Fixed position of the event_window
2353 in the realize method.
2355 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2357 * src/hildon-app-menu-private.h
2358 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2359 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2360 (hildon_app_menu_key_press, hildon_app_menu_init)
2361 (hildon_app_menu_finalize):
2362 Make sure that all idle functions are removed when the widget is
2365 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2367 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2372 * configure.ac: Bump version.
2373 * debian/changelog: Updates.
2375 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-entry.c
2378 (+hildon_entry_show_placeholder),
2379 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2380 that replace hildon_entry_update_contents().
2381 (hildon_entry_set_text),
2382 (hildon_entry_set_placeholder),
2383 (hildon_entry_focus_in_event),
2384 (hildon_entry_focus_out_event): Determine when it is needed
2385 either to show or hide the placeholder and call the above methods.
2387 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2388 when the placeholder text is already set)
2390 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2393 simple GdkPixbufAnim using the new icons for the banner.
2394 (hildon_banner_show_animation): Use the above mentioned method to
2395 create the animation widget.
2397 Fixes: NB#103564 (Make hildon animation banner use individual
2398 image files as the animation)
2400 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2402 * src/hildon-pannable-area.c,
2403 (hildon_pannable_leave_notify_event): Check if the child is NULL
2404 to avoid sending the leave.
2406 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2408 * src/hildon-pannable-area.c,
2409 (hildon_pannable_area_class_init),
2410 (hildon_pannable_leave_notify_event): Added a handler of the
2411 leave-notify-signal to consider when no motion notify before
2414 Fixes: NB#107494 (Items stay selected when clicking and moving
2415 away when inside pannable area)
2417 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2422 * configure.ac: Bump version.
2423 * debian/changelog: Updates.
2425 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2427 Patch by Alberto Garcia (agarcia@igalia.com)
2429 * src/hildon-date-button.c,
2430 (hildon_date_button_class_init),
2431 (hildon_date_button_init): Removed the construct property handling
2432 and created a default selector in the init method.
2433 * src/hildon-picker-button.c,
2434 (hildon_picker_button_class_init): Removed the construct flag of the
2437 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-main.c (hildon_init):
2440 Don't allow hildon_init() to be called more than once.
2442 Fixes: NB#106607 (hildon_init should issue error message upon
2445 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2447 * examples/hildon-pannable-area-touch-list-example.c
2448 * examples/hildon-pannagle-area-touch-grid-example.c
2449 * examples/hildon-edit-toolbar-example.c
2450 * examples/hildon-touch-selector-multi-cells-example.c
2451 Removed the call to gtk_rc_parse_string, as it is not required since
2454 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_class_init): Modified the default panning
2458 threshold of the widget to 6px.
2460 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2461 than the threshold value ) within the button is not sending the
2464 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2467 for the treeview in the new column. This way, the touch list will never
2470 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2471 be selected manually for the HW keys to work)
2473 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2476 comparison instead of using strcmp(). Fixes a compiler warning as well.
2478 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2480 * doc/hildon-docs.sgml: Do not set the library version in the
2481 document title, use the releaseinfo tag for that purpose instead.
2483 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2486 Do not jump to the first item if the text in the entry is removed.
2488 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2493 * configure.ac: Bump version.
2494 * debian/changelog: Updates.
2496 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-entry.c (hildon_entry_refresh_contents):
2499 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2500 Use "ReversedSecondaryTextColor" for the placeholder text.
2502 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2504 * src/hildon-text-view.c: Fix compilation warning.
2506 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2508 * src/hildon-button.c (hildon_button_class_init): Don't make
2509 "title" and "value" construction properties, to prevent them from
2510 overwriting labels set from derived classes.
2512 * src/hildon-picker-button.c
2513 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2514 (hildon_picker_button_class_init): Make touch-selector a
2515 construction property.
2517 * src/hildon-date-button.c (hildon_date_button_class_init)
2518 (+hildon_date_button_constructed): Add a default date selector if
2521 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2523 * src/hildon-touch-selector.c: Small documentation fixes.
2525 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2527 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2529 * src/hildon-entry.c (hildon_entry_refresh_contents),
2530 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2531 widget name, set the logical color directly instead and a boolean
2532 showing_placeholder instead.
2533 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2534 use the widget name here either.
2536 Fixes: NB#105678 (HildonTextView should use logical colours
2537 instead of setting widget name)
2539 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2541 Patch by Daniel Elster (danielk@openismus.com)
2543 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2544 Add user_data parameter.
2545 (hildon_touch_selector_set_print_func_full): New function akin
2546 hildon_touch_selector_set_print_func() but with support for user
2547 data and a destroy callback.
2548 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2549 to clean up the print function user data.
2550 (hildon_touch_selector_class_init): Install dispose function.
2551 (HildonTouchSelectorPrivate::print_user_data),
2552 (HildonTouchSelectorPrivate::print_destroy_func): New private
2554 (hildon_touch_selector_init): Initialize new private members.
2555 (hildon_touch_selector_get_current_text): Pass along user data
2556 to the print function.
2557 (_default_print_func): Add dummy user_data to parameter list.
2558 * hildon-date-selector.c (_custom_print_func): ditto,
2559 * hildon-time-selector.c (_custom_print_func): ditto,
2560 * hildon-touch-selector-entry.c
2561 (hildon_touch_selector_entry_print_func): ditto.
2563 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2565 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2567 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2569 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2571 * src/hildon-pannable-area.c,
2572 (hildon_pannable_area_init),
2573 (hildon_pannable_area_button_press_cb),
2574 (hildon_pannable_area_motion_notify_cb): We have added code to
2575 handle the leave and enter events when using the motion events.
2577 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2579 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-date-button.c (hildon_date_button_get_date)
2582 (hildon_date_button_set_date): Make sure that the button has a
2585 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2587 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2589 * src/hildon-pannable-area.c,
2590 (hildon_pannable_area_class_init),
2591 (hildon_pannable_area_calculate_velocity): Modify the use of the
2592 force and adapt the value.
2594 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2596 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2597 (hildon_app_menu_class_init): Hide the menu if it receives a
2598 delete-event, but don't destroy it
2600 Fixes: NB#104485 (Not able to address the call when application
2601 menu is opened at background)
2603 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2605 * src/hildon-app-menu.c
2606 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2607 Remove the "external-border" style property, let the menu take its
2608 natural size (or the one set by the window manager)
2609 (hildon_app_menu_repack_items):
2610 Don't reshow the menu, avoid flickers.
2612 Partially fixes NB#94957 (Smoothly opened application menu)
2614 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2619 * configure.ac: Bump version.
2620 * debian/changelog: Updates.
2622 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2624 * src/hildon-pannable-area.c,
2625 (hildon_pannable_area_motion_notify_cb): We control that the
2626 direction error margin is used just in case the movement is
2627 allowed in the other direction.
2629 Fixes: NB#105012 (buttons inside a pannable area not getting
2630 release event when dragging/releasing)
2632 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2634 * src/hildon-pannable-area.c,
2635 (hildon_pannable_area_class_init),
2636 (hildon_pannable_area_get_property),
2637 (hildon_pannable_area_set_property),
2638 (hildon_pannable_area_initial_effect),
2639 (hildon_pannable_axis_scroll),
2640 (hildon_pannable_area_button_release_cb): Reviewed the
2641 overshooting effect, now it has its own max
2642 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2643 speed when bouncing.
2645 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2650 * configure.ac: Bump version.
2651 * debian/changelog: Updates.
2653 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_class_init): Changed the max speed, now
2657 users can launch the widget very fast. Reduced the default force,
2658 that way it is easier to control the launch speed.
2660 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2662 * src/hildon-pannable-area.c,
2663 (hildon_pannable_area_button_release_cb): Removed this check
2664 because it causes problems when the device is overloaded.
2666 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2669 add a current_text field to store the text entered in the
2670 touch selector entry.
2671 (_clean_current_selection): clean up the current text as well.
2672 (_save_current_selection), (_restore_current_selection):
2673 Save/restore the text in the entry if the selector is a
2674 HildonTouchSelectorEntry.
2676 Fixes: NB#102541 (value entered in the touch selector entry is not
2677 shown when opened for second time)
2679 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2681 * doc/hildon-sections.txt:
2682 * src/hildon-touch-selector-entry.c
2683 (+hildon_touch_selector_entry_get_entry):
2684 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2686 Fixes: NB#104815 (I need accessor to the entry inside
2687 HildonTouchSelectorEntry)
2689 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2691 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2692 (hildon_app_menu_class_init):
2693 New "filter-vertical-spacing" style property.
2695 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-find-toolbar.c
2698 (hildon_find_toolbar_emit_close)
2699 (hildon_find_toolbar_emit_invalid_input)
2700 (hildon_find_toolbar_entry_activate):
2701 Use g_signal_emit() instead of g_signal_emit_by_name()
2703 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2705 Patch by Mox Soini (ext-mox.soini@nokia.com)
2707 * tests/TEST-CASES.txt
2708 * tests/check-hildon-banner.c
2709 * tests/check-hildon-note.c
2710 * src/hildon-banner.c
2711 * src/hildon-code-dialog.c
2712 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2713 * src/hildon-time-editor.c
2714 * examples/hildon-lookup-example.c (main):
2715 Replace obsolete icon names with new ones.
2717 * src/hildon-find-toolbar-private.h:
2718 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2719 (-hildon_find_toolbar_emit_search):
2720 Remove find button and change icon of close button.
2722 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2724 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2726 * src/hildon-time-button.c (hildon_time_button_new_step):
2727 Use the "touch-selector" property to set the selector directly
2728 when creating the object.
2730 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2732 Added a new example application that allows tuning the pannable
2733 area and replaced defines with properties in order to simplify the
2734 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2735 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2736 PROP_DIRECTION_ERROR_MARGIN.
2738 * examples/hildon-pannable-area-tuning-example.c: New example
2740 * src/hildon-pannable-area.c,
2741 (hildon_pannable_area_class_init),
2742 (hildon_pannable_area_init),
2743 (hildon_pannable_area_get_property),
2744 (hildon_pannable_area_set_property),
2745 (hildon_pannable_area_launch_fade_timeout),
2746 (hildon_pannable_area_adjust_value_changed),
2747 (hildon_pannable_axis_scroll),
2748 (hildon_pannable_area_motion_notify_cb),
2749 (hildon_pannable_area_scroll_cb),
2750 (hildon_pannable_area_button_release_cb): We have converted some
2751 of the defines that control the widget to properties to simplify
2754 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-app-menu.c (hildon_app_menu_map)
2757 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2758 so it's closed if a new window appears.
2760 Fixes: NB#104485 (Not able to address the call when application
2761 menu is opened at background)
2763 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2765 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2766 missing 'break' statement in in 'case' construct to avoid
2769 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-touch-selector-entry.c
2772 (hildon_touch_selector_entry_get_property),
2773 (hildon_touch_selector_entry_set_property): Add missing 'break'
2774 statements in in 'case' constructs to avoid incorrect warnings.
2776 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-time-editor.c
2779 (hildon_time_editor_get_time_separators): Do not crash if
2780 the first label is NULL.
2782 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-date-selector.c (_month_days): Check for month to be
2785 strictly less than 12, since otherwise we may overrun the array.
2787 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-date-button.c (+hildon_date_button_new_full)
2790 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2791 (hildon_date_button_init): Set the date selector using a
2792 construction property, to make it happen after HildonButton's
2793 "value" property is set.
2795 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2796 current date by default)
2798 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2800 * doc/hildon-sections.txt
2801 * src/hildon-program.c
2802 * src/hildon-stackable-window.c
2803 * src/hildon-window.c:
2804 Documentation updates
2806 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2809 (hildon_window_stack_new, +hildon_window_stack_set_property)
2810 (+hildon_window_stack_get_property)
2811 (hildon_window_stack_class_init)
2812 (+hildon_window_stack_set_window_group)
2813 (+hildon_window_stack_get_window_group):
2814 Make the window group a construction property.
2816 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2818 * doc/hildon-sections.txt
2819 * src/hildon-stackable-window-private.h
2820 * src/hildon-stackable-window.h
2821 * src/hildon-stackable-window.c
2822 (-hildon_stackable_window_set_app_menu)
2823 (-hildon_stackable_window_get_app_menu)
2824 (-hildon_stackable_window_toggle_menu)
2825 (-hildon_stackable_window_finalize)
2826 (hildon_stackable_window_class_init)
2827 (hildon_stackable_window_init)
2828 * src/hildon-window-private.h
2829 * src/hildon-window.h
2830 * src/hildon-window.c (hildon_window_init)
2831 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2832 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2833 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2834 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2835 Moved all HildonAppMenu code to HildonWindow. The menu does not
2836 require a HildonStackableWindow anymore.
2838 * src/hildon-app-menu.c
2839 * src/hildon-program.c
2840 * examples/hildon-app-menu-example.c (main):
2841 Update examples and documentation to reflect HildonAppMenu
2844 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-remote-texture.c
2847 * src/hildon-animation-actor.c:
2848 Don't include unused private headers.
2850 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-program-private.h
2853 * src/hildon-program.c
2854 (hildon_program_set_common_menu)
2855 (hildon_program_get_common_menu)
2856 (hildon_program_set_common_app_menu)
2857 (hildon_program_get_common_app_menu):
2858 Change common menu pointers from GtkWidget* to GtkMenu* and
2859 HildonAppMenu* to avoid unnecessary casts.
2861 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2863 * src/hildon-window.c (hildon_window_set_main_menu):
2864 Removed incorrect 'Since:' tag
2866 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-pannable-area.c,
2869 (hildon_pannable_area_calculate_velocity): We use now the
2870 RATIO_TOLERANCE here to check the distance, fixed typo in the
2872 (hildon_pannable_area_motion_notify_cb): We have to set the type
2873 and time even if we are not sending the motion.
2875 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2877 * doc/hildon-sections.txt
2878 * src/hildon-app-menu.h
2879 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2880 (+hildon_app_menu_get_filters): New methods to get the contents of
2883 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2886 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-app-menu.c (hildon_app_menu_popup):
2891 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2893 * src/hildon-window.h
2894 * src/hildon-window.c (+hildon_window_get_main_menu)
2895 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2896 and deprecated hildon_window_get_menu().
2898 * src/hildon-stackable-window.h
2899 * src/hildon-stackable-window.c
2900 (+hildon_stackable_window_set_app_menu)
2901 (+hildon_stackable_window_get_app_menu)
2902 (hildon_stackable_window_set_main_menu): Created
2903 hildon_stackable_window_{get,set}_app_menu() and deprecated
2904 hildon_stackable_window_set_main_menu().
2906 * doc/hildon-sections.txt
2907 * examples/hildon-app-menu-example.c (main)
2908 * src/hildon-app-menu.c
2909 * src/hildon-program.c:
2910 Updated examples and documentation.
2912 Fixes: NB#103758 (No way to obtain a menu from a
2913 HildonStackableWindow)
2915 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2920 * configure.ac: Bump version.
2921 * debian/changelog: Updates.
2923 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2925 * examples/hildon-remote-texture-example.c: Include
2926 hildon-remote-texture.h explicitely.
2927 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2928 applications not defining _XOPEN_SOURCE which don't require this header.
2930 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2932 * doc/hildon-sections.txt
2933 * src/hildon-app-menu.h
2934 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2935 New function to pop up a HildonAppMenu
2937 * src/hildon-stackable-window.c
2938 (hildon_stackable_window_toggle_menu):
2939 Use hildon_app_menu_popup() to show the menu.
2941 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-app-menu.c (hildon_app_menu_show)
2944 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2945 menu if there's another window between it and its parent window.
2947 Fixes: NB#100468 (Application menu window is launched even when a
2948 new secondary-window/dialog is pending to be shown/realized)
2950 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2952 * src/hildon-window-stack.c (hildon_window_stack_push)
2953 (hildon_window_stack_pop_and_push):
2954 Don't forget to push/pop the first window.
2955 Reverse the window list before calling _push_list()
2957 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2959 * src/hildon-picker-button.h
2960 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2961 Remove "value_changed" slot to avoid ABI breakage
2963 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2965 * src/hildon-pannable-area.c,
2966 (hildon_pannable_area_realize),
2967 (hildon_pannable_area_unrealize),
2968 (hildon_pannable_draw_vscroll),
2969 (hildon_pannable_draw_hscroll): Changed the method to handle the
2970 GC used to draw the transparent scrollbar, this way we avoid
2971 creating the GC all the time when drawing the scrollbars.
2973 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2975 * src/hildon-pannable-area.c,
2976 (hildon_pannable_area_init),
2977 (hildon_pannable_area_remove): Removed some unnecessary casts.
2978 (hildon_pannable_area_dispose): Disconnected some signals before
2979 releasing the adjustments.
2981 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2984 Make sure that all widgets contained in the toolbar are shown.
2986 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2988 * doc/hildon-sections.txt
2989 * src/hildon-picker-button.h
2990 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2991 (_selection_changed, hildon_picker_button_on_dialog_response)
2992 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2993 New hildon_picker_button_value_changed() method.
2996 * src/hildon-picker-button-private.h
2997 * src/hildon-picker-button.c (hildon_picker_button_init)
2998 (+hildon_picker_button_disable_value_changed): Add protected
2999 function for disabling the "value-changed" signal.
3001 * src/hildon-date-button.c (hildon_date_button_set_date):
3002 Don't emit "value-changed" for each one of the three columns.
3004 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3005 before actual change of values)
3007 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3009 * src/hildon-pannable-area.c,
3010 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3011 for the treeview overshooting.
3013 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3015 * src/hildon-banner.c (+hildon_banner_bind_style):
3016 Renamed from hildon_banner_bind_label_style(), now naming the
3017 banner itself as well.
3018 (hildon_banner_show_information),
3019 (hildon_banner_show_information_with_markup),
3020 (hildon_banner_show_animation), (hildon_banner_show_progress):
3021 Name the widgets and labels, based on their type.
3023 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3026 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-note.c (hildon_note_set_property): call
3029 hildon_note_rename() on HildonNote:note-type set.
3030 (hildon_note_rename): Name the note and its label, based on the
3031 HildonNote:note-type property.
3033 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3036 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3038 * src/hildon-pannable-area.c,
3039 (hildon_pannable_area_class_init),
3040 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3041 panning parameters, increased SPS and deceleration factor. Added
3042 also a margin to control fake directions.
3044 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3046 Patch by Sven Herzberg (sven@imendio.com)
3048 * configure.ac: Add missing AM_PROG_CC_C_0
3049 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3051 See NB#101420 (Update unit tests and fix make check)
3053 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3055 This patch was applied before but reverted because it caused
3056 problems, we have changed the main condition and tested the
3057 regressions we detected before and they work ok. We have done a
3058 complete review of the topmost algorithm in order to get a more
3061 * src/hildon-pannable-area.c,
3062 (hildon_pannable_area_get_topmost): Added a new parameter to
3063 filter the the windows that do not include those events.
3064 (hildon_pannable_area_button_press_cb),
3065 (hildon_pannable_area_button_release_cb),
3066 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3067 topmost function, we have added the new parameter.
3069 Fixes: NB#97458 (Pannable area prevents propagation of button
3072 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3074 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3075 if all columns in the selector have an item selected.
3076 (_on_dialog_response): Stop "response" signal emission if there is
3077 any selector column without selected items.
3079 Fixes: NB#101889 (Picker dialog should not close when nothing is
3080 selected in multiple selection list)
3082 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3084 * src/hildon-font-selection-dialog.c
3085 (hildon_font_selection_dialog_class_init),
3086 (hildon_font_selection_dialog_init): Remove the preview
3087 button and dialog, since previewing with default theming is likely
3088 to be overcomplicated. The :preview property has now no effect.
3089 Update documentation blurbs to inform about this.
3091 Fixes: NB#92297 (Preview content is not clearly visible for
3092 default colour text)
3094 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3096 Reviewed the geometry that handles the children size and
3097 scrollbar, now it tries a size and reviews the results depending
3098 on the scrollbars visibility.
3100 * src/hildon-pannable-area.c,
3101 (hildon_pannable_area_realize): Fixed a typo.
3102 (hildon_pannable_area_child_allocate_calculate): Added this
3103 function to calculate the child allocation.
3104 (hildon_pannable_area_size_allocate): Reviewed the allocation
3106 (hildon_pannable_area_check_scrollbars),
3107 (hildon_pannable_area_refresh): Refactored refresh function, this
3108 way we can call the code handling the scrollbars without causing a
3109 size_request, it is interesting in the allocate.
3110 (hildon_pannable_area_init): Replace the callbacks of the
3111 value_changed and changed signals to propertly deal with the
3113 (hildon_pannable_area_grab_notify),
3114 (hildon_pannable_area_initial_effect),
3115 (hildon_pannable_area_launch_fade_timeout),
3116 (hildon_pannable_area_adjust_changed),
3117 (hildon_pannable_area_adjust_value_changed),
3118 (hildon_pannable_area_redraw),
3119 (hildon_pannable_area_button_press_cb),
3120 (hildon_pannable_area_button_release_cb),
3121 (hildon_pannable_area_scroll_cb),
3122 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3123 code and use the new functions adjust_changed and
3124 adjust_value_changed.
3126 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3127 Contact editor dialog)
3129 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3134 * configure.ac: Bump version.
3135 * debian/changelog: Updates.
3137 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3139 * src/hildon-pannable-area.c,
3140 (hildon_pannable_area_get_topmost),
3141 (hildon_pannable_area_button_press_cb),
3142 (hildon_pannable_area_button_release_cb),
3143 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3144 topmost function adding the event mask. We have to try a
3145 differente approach because it is still causing problems (NB#9745,
3148 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3150 * src/hildon-banner.c:
3151 Update the maximum width of timed banners.
3152 (force_to_wrap_truncated): Enforce the maximum text width if the
3155 Fixes: NB#102413 (The text margins (wrapping) in information
3156 banner should be HILDON_MARGIN_TRIPLE)
3158 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3160 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3162 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3163 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3164 bound when calculating the scroll indicator position.
3166 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3167 treat ->lower correctly)
3169 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3172 expose event handling, since it is not necessary to draw the focus
3175 Fixes: NB#102467 (Do not show highlight on the text in
3178 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3180 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3181 full height of the toolbar for the button and the label.
3183 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3185 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3186 padding before the label and after the button.
3188 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3192 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3193 Add a GtkVSeparator between the button and the back arrow.
3194 Let the button have automatic size.
3195 Set a name to the widget for theming handling.
3197 Fixes: NB#101793 (Make edit toolbar the same height as window
3198 title bar (use title area theming))
3200 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-helper.c (attach_new_color_element): Fix memory
3205 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3207 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3209 * examples/hildon-button-example.c (common_buttons_window): Don't
3212 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3214 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3215 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3217 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3219 * src/hildon-gtk.c: Check that the window is realized.
3221 Fixes: NB#102225 (Crash setting the progress indicator to a non
3224 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3226 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3227 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3228 instead of modifying the one in the widget style.
3230 Fixes: NB#101043 (Second row of all the command button are
3231 displayed in transparent mode.)
3233 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3235 * src/hildon-date-button.c
3236 * src/hildon-time-button.c: Add gettext macros
3238 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3240 * src/hildon-date-button.c (hildon_date_button_new):
3241 * src/hildon-time-button.c (hildon_time_button_new_step):
3242 Use new logical strings to set the button default title.
3244 Fixes: NB#99915 (Date and Time options are not localised in Date
3247 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3249 * src/hildon-pannable-area.c
3250 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3251 the PANNING_THRESHOLD.
3253 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3255 * src/hildon-pannable-area.c,
3256 (hildon_pannable_area_class_init): Increased the maximum speed.
3257 (hildon_pannable_area_get_property),
3258 (hildon_pannable_area_set_property),
3259 (hildon_pannable_area_timeout): Added a new low friction mode, it
3260 allows the user avoid friction when launching the widget fast
3261 enough. It is interesting to traverse long lists.
3263 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3266 (+hildon_stackable_window_delete_event): Ignore delete events if
3267 the window is not the topmost one.
3269 Fixes: NB#101698 (Back button long press and delete-event handling)
3271 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3273 * src/hildon-pannable-area.c,
3274 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3275 gtk-dnd-drag-threshold, it was too big. We have defined our own
3276 dnd define and set a smaller value: PANNIG_THRESHOLD.
3278 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3281 user-defined icons, use always the default one.
3283 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3285 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3287 This patch was applied before but reverted because it caused
3288 problems, we have changed the main condition and tested the
3289 regressions we detected before and they work ok.
3291 * src/hildon-pannable-area.c,
3292 (hildon_pannable_area_get_topmost): Added a new parameter to
3293 filter the the windows that do not include those events. Added
3294 also a condition when finding the window to filter windows that do
3295 not ask for those events.
3296 (hildon_pannable_area_button_press_cb),
3297 (hildon_pannable_area_button_release_cb),
3298 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3299 topmost function, we have added the new parameter.
3301 Fixes: NB#97458 (Pannable area prevents propagation of button
3304 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3306 * tests/check-hildon-color-button.c (START_TEST): do not leak
3309 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-font-selection-dialog.c
3312 (hildon_font_selection_dialog_get_preview_text): Return NULL
3313 instead of FALSE on the g_return_val_if_fail().
3315 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3318 * src/hildon-date-selector.c
3319 (hildon_date_selector_select_current_date):
3320 Do not compare unsigned integers to be greater than or equal 0,
3321 because it's always TRUE.
3323 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3326 (hildon_date_selector_constructor): Do not select the current
3327 date until we are handle the "changed" signal, to avoid having bogus
3328 elements in the days model.
3330 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3332 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3333 for num_days, since _month_days() can return a negative value.
3335 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-caption.c (hildon_caption_size_allocate):
3338 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3339 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3341 Initialize allocation variables to 0, to avoid eventually using
3342 unitialized variables.
3344 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3346 * src/hildon-bread-crumb-trail.c
3347 (hildon_bread_crumb_trail_size_allocate):
3348 * src/hildon-calendar.c (hildon_calendar_set_background):
3349 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3350 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3351 * src/hildon-seekbar.c (hildon_seekbar_init):
3352 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3353 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3354 * src/hildon-touch-selector-entry.c
3355 (hildon_touch_selector_get_text_from_model):
3356 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3357 * src/hildon-window.c (hildon_window_finalize):
3359 Remove many unused variables.
3361 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3363 * src/hildon-seekbar.c: (hildon_seekbar_init),
3364 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3366 Remove unnecessary g_assert() calls.
3368 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3370 * src/hildon-caption.c: (hildon_caption_expose),
3371 (hildon_caption_set_property), (hildon_caption_init),
3372 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3373 (hildon_caption_size_request), (hildon_caption_size_allocate),
3374 (hildon_caption_forall), (hildon_caption_set_separator),
3375 (hildon_caption_activate), (hildon_caption_set_child_expand),
3376 (hildon_caption_set_label_text),
3377 (hildon_caption_get_label_alignment):
3379 Remove unnecessary g_assert() calls.
3381 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3383 * src/hildon-banner.c
3384 (hildon_banner_map, hildon_banner_init): Make banner temporary
3385 before mapping it to avoid closing other temporary windows, but
3386 make it non-temporary afterwards to avoid being closed by other
3387 non-temporary windows.
3388 (-hildon_banner_client_event, hildon_banner_init):
3389 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3391 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3394 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3396 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3399 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3401 * src/hildon-remote-texture.c
3402 * src/hildon-remote-texture.h
3403 * src/hildon-remote-texture-private.h
3404 * examples/hildon-remote-texture-example.c:
3405 Updates/fixes to remote-texture and its example.
3407 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3409 Patch by Mox Soini (ext-mox.soini@nokia.com)
3411 * src/hildon-code-dialog.c: Update logical id.
3412 * src/hildon-set-password-dialog.c: Update logical id.
3414 Fixes: NB#100646 (Logical strings is shown for ok in set
3415 password,Password needed dialogs)
3417 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3420 * src/hildon-remote-texture.c
3421 * src/hildon-remote-texture.h
3422 * src/hildon-remote-texture-private.h
3424 Added remote texture widget (for Clutter shared memory textures)
3426 * examples/hildon-remote-texture-example.c
3427 * examples/Makefile.am
3428 Added example file for remote texture usage
3430 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3432 * configure.ac: post release version bump.
3433 * debian/changelog: version bump.
3435 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3440 * configure.ac: Bump version.
3441 * debian/changelog: Updates.
3443 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-date-selector.c (hildon_date_selector_init)
3446 (hildon_date_selector_constructor): Don't connect to the "changed"
3447 signal until the selector is completely constructed.
3449 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-touch-selector.c: (_create_new_column),
3452 (hildon_touch_selector_append_column),
3453 (hildon_touch_selector_set_column_selection_mode),
3454 (hildon_touch_selector_set_active),
3455 (hildon_touch_selector_select_iter):
3456 Emit the HildonTouchSelector::changed signal every time selection
3457 is changed in any of the methods above. This behavior was already
3458 documented but not fully functional.
3460 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3461 selection is programmatically changed)
3463 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3465 * doc/hildon-sections.txt: Remove obsolete icon
3466 sizes from here as well.
3468 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3470 * examples/hildon-stackable-window-example.c (add_window): Remove
3473 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3475 * src/hildon-app-menu.c
3476 (hildon_app_menu_show): Check whether the parent window of a menu
3477 is topmost before popping it up.
3479 Fixes: NB#100468 (Application menu window is launched even when a
3480 new secondary-window/dialog is pending to be shown/realized.)
3482 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3484 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3487 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3489 Patch by Mox Soini (ext-mox.soini@nokia.com)
3491 * src/hildon-banner.c: (hildon_banner_show_animation):
3492 use stylus size instead of obsolete note size.
3493 * src/hildon-defines.h: Update icon sizes.
3495 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-touch-selector-entry.c:
3498 (hildon_touch_selector_entry_init): Disable unsupported
3500 (hildon_touch_selector_entry_get_text_column): Emit a warning
3501 if an unsupported input modes is used and explicitile state
3502 these modes in the documentation.
3504 Fixes: NB#99802 (Hildon touch selector entry not working properly
3505 for some of the input modes)
3507 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3509 * src/hildon-pannable-area.c,
3510 (hildon_pannable_area_init): Added the changed signal handlers of
3513 Fixes: NB#100320 (HildonPannableArea does not listen to
3514 GtkAdjustment "change" signals)
3516 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3518 * doc/hildon-sections.txt
3519 * src/hildon-window-private.h
3520 * src/hildon-window.h
3521 * src/hildon-window.c (hildon_window_init)
3522 (hildon_window_realize, hildon_window_unrealize)
3523 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3524 (hildon_window_size_request, hildon_window_size_allocate)
3525 (hildon_window_forall, hildon_window_show_all)
3526 (hildon_window_destroy, +paint_edit_toolbar)
3527 (+hildon_window_set_edit_toolbar):
3528 New hildon_window_set_edit_toolbar() method, to add a
3529 HildonEditToolbar to a window without having to pack it manually.
3531 Reorganize hildon_window_size_allocate()
3533 * src/hildon-edit-toolbar.c: Update documentation.
3535 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3536 example to use the new API.
3538 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3540 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3542 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3543 Remove from stack before calling parent's hide.
3545 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3548 window is removed from the middle of the stack, update the
3549 transiency of the previous one.
3551 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3554 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3556 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3557 block/unblock the signal handler if it's not actually being used.
3558 Fixes some critical warnings.
3560 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3562 Based on a patch by Iván Gómez (igomez@igalia.com)
3564 * src/hildon-banner.c
3568 * src/hildon-pannable-area.c
3569 * src/hildon-picker-dialog.c
3570 * src/hildon-wizard-dialog.h
3571 * src/hildon-wizard-dialog.c: Documentation updates.
3573 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3574 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3576 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3578 * configure.ac: post release version bump.
3579 * debian/changelog: version bump.
3581 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3586 * configure.ac: Bump version.
3587 * debian/changelog: Updates.
3589 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3591 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3592 a stock icon nor change the relief of the back arrow.
3594 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3595 graphics from theme)
3597 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-button.c (hildon_button_set_alignment): Use
3600 priv->alignment if the button has no child yet.
3602 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3604 * src/hildon-button.c: (hildon_button_init): Set the
3605 button style during initialization to give it the proper
3608 Fixes: NB#99713 (HildonButton value label color is wrong)
3610 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3612 * src/hildon-touch-selector.c: Document
3613 hildon_touch_selector_center_on_selected()
3615 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3617 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3618 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3619 all menu items, but not the menu itself.
3620 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3621 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3622 items after adding them to the menu so keyboard accelerators work.
3623 (hildon_app_menu_show): Don't show the menu if it contains items
3624 but none of them are visible.
3626 * examples/hildon-app-menu-example.c (create_menu): Use
3627 gtk_widget_show_all() to show all menu items.
3629 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-picker-dialog.c:
3632 (-_update_title_on_selector_changed_cb),
3633 (-_dialog_update_title): Removed.
3634 (_select_on_selector_changed_cb), (_on_dialog_response),
3635 (on_selector_columns_changed): Do not update the dialog title.
3636 (setup_interaction_mode): Do not connect to
3637 HildonTouchSelector::changed signal if there's a "done" button, as
3638 the dialog title doesn't need to be updated.
3640 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3643 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3645 Patch by Kristian Rietveld (kris@imendio.com)
3647 * src/hildon-touch-selector.c: (_create_new_column): Use new
3648 GtkTreeView::hildon-row-tapped signal to react to user interactions
3649 instead of ::changed.
3651 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3652 with some dynamic tree model)
3654 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3657 (+screen_size_changed, +label_size_request)
3658 (hildon_note_class_init): Make the Hildon information note have a
3659 minimum height, and make its text hvae a maximum width.
3661 Fixes: NB#98614 (Hildon information note (background) should have
3662 minimum height and maximum text width)
3664 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-banner.h
3667 * src/hildon-banner.c (hildon_banner_show_information)
3668 (hildon_banner_show_informationf)
3669 (hildon_banner_show_information_with_markup): Update documentation
3670 to reflect that the icon_name parameter is not used anymore.
3671 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3672 Remove all code from these functions and mark them as deprecated.
3673 (hildon_banner_show_progress): Mark as deprecated.
3675 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3677 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3679 * src/hildon-pannable-area.c,
3680 (hildon_pannable_area_class_init),
3681 (tranparency_color),
3682 (hildon_pannable_draw_vscroll),
3683 (hildon_pannable_draw_hscroll),
3684 (hildon_pannable_area_expose_event): Added a new way to render the
3685 scrollbars of the pannable area avoiding using cairo at all. This
3686 way we improve the performance of the pannable area rendering. The
3687 cairo rendering procedure is still in the code, we can control
3688 which one to use changing the value of the define
3689 USE_CAIRO_SCROLLBARS.
3691 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3693 * configure.ac: post release version bump.
3694 * debian/changelog: version bump.
3696 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3701 * configure.ac: Bump version.
3702 * debian/changelog: Updates.
3704 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3707 banners instead of destroying them when they receive a button
3710 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3712 Reverted commit 34028, it was causing regressions, probably the
3713 topmost condition is not correct, we have to check it in more
3714 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3715 propagation of button press events)
3717 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3719 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3720 that the selection is not empty before attempting to retrieve the
3721 current ampm selection.
3723 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3725 * src/hildon-picker-button.c:
3726 (hildon_picker_button_on_dialog_response): Directly update the
3727 button contents when required instead of calling _selection_changed.
3729 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3731 * src/hildon-program.c (hildon_program_update_top_most): Update
3732 'is-topmost' property also when wm_hints is not set.
3734 Fixes: NB#98383 (is-topmost signal is not emitted when task
3735 switcher is clicked.)
3737 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3739 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3743 * src/hildon-animation-actor.c,
3744 * src/hildon-animation-actor.h: Added the animation actor class,
3745 this widget represents an animation actor for WM-assisted
3746 animation effects in the Hildon framework.
3748 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3750 * src/hildon-window-stack-private.h
3751 * src/hildon-window-stack.c
3752 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3753 Avoid calling gtk_widget_show() again indirectly from
3754 hildon_stackable_window_show()
3756 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3758 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3761 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3763 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3764 (hildon_time_selector_init): Move the construction of the hours and
3765 ampm columns to the constructor to preserve the order the columns
3768 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-picker-dialog.c:
3771 (hildon_picker_dialog_class_init): Connect a realize method.
3772 (+hildon_picker_dialog_realize): Setup the interaction mode here
3774 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3775 yet, do it during the realize instead.
3776 (_on_dialog_response):
3777 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3778 if the widget is not realized, to avoid the dialog response before it
3781 Avoid premature responses in the HildonPickerDialog that can cause it
3782 to be hidden before it's even shown.
3784 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3786 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3787 (on_selector_columns_changed), (requires_done_button),
3788 (+prepare_action_area), (setup_interaction_mode),
3789 (_hildon_picker_dialog_set_selector):
3791 Split the interaction mode setup into preparation of the
3792 action area (prepare_action_area()) and the connection of
3793 the signals in setup_interaction_mode() and update the code to
3796 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3798 * src/hildon-pannable-area.c,
3799 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3800 per second to 15, we will check if this is ok regarding
3803 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3805 * src/hildon-pannable-area.c,
3806 (hildon_pannable_axis_scroll): Avoid resize if we already have
3807 reached overshoot_max.
3809 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3811 * src/hildon-pannable-area.c,
3812 (hildon_pannable_area_init),
3813 (hildon_pannable_area_realize),
3814 (hildon_pannable_area_size_allocate),
3815 (hildon_pannable_area_map),
3816 (hildon_pannable_area_unmap),
3817 (hildon_pannable_draw_vscroll),
3818 (hildon_pannable_draw_hscroll),
3819 (hildon_pannable_area_expose_event),
3820 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3821 pannable are to avoid the expose events go to the window and
3822 redraw the window. We save this way that part of the stack and the
3823 paint_boxes. We had to change the positions of the elements when
3826 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3828 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3829 * src/hildon-color-chooser-dialog.c:
3830 (hildon_color_chooser_dialog_init):
3831 * src/hildon-font-selection-dialog.c:
3832 (hildon_font_selection_dialog_init),
3833 (hildon_font_selection_dialog_show_preview):
3834 * src/hildon-get-password-dialog.c:
3835 * src/hildon-login-dialog.c:
3836 * src/hildon-set-password-dialog.c:
3837 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3838 * src/hildon-time-picker.c: (hildon_time_picker_init):
3840 Remove obsolete logical string IDs and update to the appropriate ones.
3842 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3844 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3846 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3847 that happens if the window hasn't been realized yet.
3849 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3850 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3852 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3855 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3858 Fixes: NB#98537 (Device hangs in account settings dialog)
3860 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3862 * configure.ac: post release version bump.
3863 * debian/changelog: version bump
3865 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3870 * configure.ac: Bump version.
3871 * debian/changelog: Updates.
3873 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3875 Added a new function to the HildonTimeButton widget that allows to
3876 change the step of the minutes in the selector associated with the
3877 button: hildon_time_button_new_step
3879 * src/hildon-time-button.c,
3880 (hildon_time_button_init),
3881 (hildon_time_button_new),
3882 (hildon_time_button_new_step):
3883 * src/hildon-time-button.h: Added the new function and refactored
3885 * examples/hildon-time-button-example.c,
3886 (main): We have replaced the function without parameters with the
3887 function with the steps set to 5
3889 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3891 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3893 * src/hildon-time-selector.c,
3894 (hildon_time_selector_class_init),
3895 (hildon_time_selector_constructor),
3896 (hildon_time_selector_get_property),
3897 (hildon_time_selector_set_property),
3898 (_create_minutes_model),
3899 (hildon_time_selector_new_step),
3900 (hildon_time_selector_set_time),
3901 * src/hildon-time-selector.h: Added a new property to the
3902 HildonTimeSelector (minutes-step), we use that property to control
3903 the steps between the minutes in the list of the selector. We have
3904 added a new function to the API to create a widget changing the
3905 step: hildon_time_selector_new_step.
3907 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3909 * src/hildon-time-selector.c,
3910 (hildon_time_selector_class_init),
3911 (hildon_time_selector_constructor),
3912 (hildon_time_selector_init): Overrided the construct function when
3913 creating the time selector object. We have moved the minutes model
3914 handling code from the init to the new construction function:
3915 hildon_time_selector_constructor.
3917 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3919 * examples/hildon-date-button-example.c: (main): Use the new
3920 hildon_date_button_new_with_year_range() method in the example.
3921 * src/hildon-date-button.c:
3922 (+hildon_date_button_new_with_year_range): New public method
3923 to conveniently create a HildonDateButton with a custom year range
3924 in its HildonDateSelector.
3925 * src/hildon-date-button.h: Add the new public method definition.
3927 Fixes: NB#97908 (Not possible to change the year range in
3928 HildonDateSelector/HildonDateButton)
3930 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3932 * src/hildon-date-selector.c:
3933 (+hildon_date_selector_set_property),
3934 (+hildon_date_selector_get_property),
3935 (hildon_date_selector_class_init): Install new properties "min-year"
3936 and "max-year" to define boundaries for the year column.
3937 (_create_year_model): Use the boundary properties to populate the model.
3938 (+hildon_date_selector_new_with_year_range): New public method to
3939 create a HildonDateSelector with a user defined year range.
3940 (hildon_date_selector_select_current_date): Use the new boundaries to
3941 calculate the iterator of current year.
3942 * src/hildon-date-selector.h: Add the new public method definition.
3944 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3946 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3947 Install a constructor method.
3948 (+hildon_date_selector_construct_ui): construct the widget.
3949 (+hildon_date_selector_constructor): new constructor.
3950 (+hildon_date_selector_init): move out widget construction code to
3951 the new constructor.
3953 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3955 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3956 that there's actually a month or year selected before obtaining them.
3957 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3958 of the HildonTouchSelector::changed signal, as it was emitted on every
3959 single item selection.
3961 Fix some warnings and possible crashers due to the selection restoring.
3963 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3965 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3966 the signal handlers only after creating the dialog instead of on every
3969 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-button.c (hildon_button_init)
3972 * src/hildon-check-button.c (hildon_check_button_init)
3973 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3974 focus when clicked by default.
3976 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3981 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3983 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3984 Alejandro G. Castro (alex@igalia.com)
3986 * src/hildon-picker-dialog.c:
3987 (hildon_picker_dialog_class_init): install new "center-on-show"
3989 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3990 (hildon_picker_dialog_set_property): add setter code for the new
3992 (hildon_picker_dialog_get_property): add getter code for the new
3994 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3995 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3998 Fixes: NB#92849 (Selected item is not always visible when
3999 HildonTouchSelector is shown)
4001 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4003 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4004 Alejandro G. Castro (alex@igalia.com)
4006 * src/hildon-touch-selector.c:
4007 (_create_new_column): Do not connect to the "realize" signal of the
4009 (hildon_touch_selector_append_column): center on the selected items
4010 when a new column is appended.
4011 (hildon_touch_selector_select_iter): Factor out the code to select a
4012 column to hildon_touch_selector_scroll_to().
4013 (+search_nearest_element): Method to retrieve the nearest selected
4014 element to the visible area of the pannable area in a column.
4015 (+on_realize_cb): scroll to the initially selected item.
4016 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4017 the pannable area is realized, otherwise delay this until it is.
4018 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4019 selected items of a given column.
4020 (+hildon_touch_selector_center_on_selected): Public method to center
4021 all columns on the nearest selected item.
4022 * src/hildon-touch-selector.h: Add definition for
4023 hildon_touch_selector_center_on_selected().
4025 Implement public API to ensure visibility of all selected items in
4026 a HildonTouchSelector.
4028 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4030 Fixed a problem in the fading when calling the scroll_to API, and
4031 improve scrollbar fading handling.
4033 * src/hildon-pannable-area.c,
4034 (hildon_pannable_area_grab_notify): avoid the timeout when the
4036 (hildon_pannable_area_button_press_cb),
4037 (hildon_pannable_area_motion_notify_cb): Code style changes.
4038 (hildon_pannable_area_button_release_cb): Review the conditions
4039 when releasing the mouse button to avoid unrequired fading
4041 (hildon_pannable_area_scroll_to): Do not calculate and set the
4042 velocity if the scroll is not required.
4044 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4046 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4047 Don't check whether the new selector is NULL: it cannot be.
4048 Hold a reference to the selector while doing the replacement.
4050 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4053 unnecessary size_request in a removed widget.
4055 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4058 an unnecessary reference tracking that was leaking.
4060 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4062 Added delayed motion notify event handling, this way we can
4063 discard redrawing if more than 25 events arrive per second.
4065 * src/hildon-pannable-area.c,
4066 (hildon_pannable_area_init): Initialized the new private atributes
4067 controlling this timeout
4068 (hildon_pannable_area_dispose): Remove the timeout that controls
4069 the motion notify events.
4070 (hildon_pannable_area_scroll): Added a condition to control the
4071 use of the acceleration.
4072 (hildon_pannable_area_motion_event_scroll_timeout),
4073 (hildon_pannable_area_motion_event_scroll): Added this two
4074 functions, they handle the motion notify events inside the
4076 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4077 to the scroll method with the new function.
4078 (hildon_pannable_area_button_release_cb): We have to remove the
4079 timeout handler and move to the last position if the last motion
4080 events were not handled.
4082 Fixes: NB#97028 (Pannable area updates on every motion event)
4084 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4086 * src/hildon-pannable-area.c,
4087 (hildon_pannable_area_get_topmost): Added a new parameter to
4088 filter the the windows that do not include those events. Added
4089 also a condition when finding the window to filter windows that do
4090 not ask for those events.
4091 (hildon_pannable_area_button_press_cb),
4092 (hildon_pannable_area_button_release_cb),
4093 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4094 topmost function, we have added the new parameter.
4096 Fixes: NB#97458 (Pannable area prevents propagation of button
4099 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4101 * src/hildon-pannable-area.c,
4102 (hildon_pannable_area_initial_effect): Added controls before
4103 launching the timeout and the idle functions.
4104 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4105 of the method, in some situations it can return with TRUE and 0 in
4107 (hildon_pannable_area_button_press_cb): We do not need to set
4108 DELAY for fading out here.
4110 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4112 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4114 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4115 post-cleaning if the selection is not NULL.
4117 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4120 all items before restoring the selection.
4122 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-touch-selector.c:
4125 (+hildon_touch_selector_unselect_all):
4126 * src/hildon-touch-selector.h: New API to unselect all items in a
4127 column of the touch selector.
4129 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4131 * src/hildon-pannable-area.c,
4132 (hildon_pannable_area_redraw): Added a call to the refresh
4133 function inside the redraw because apparently in some cases the
4134 change in the adjustment does not imply a size allocate.
4136 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4137 despite the view not being scrollable)
4139 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4141 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4142 leak. Check for NULL before attempting to set the window title.
4144 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4146 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4147 whether to show or not the 'Done' button each time the dialog is
4148 shown, as it depends on the HildonTouchSelector selection mode.
4150 Fixes: NB#96226 (In multiple selection mode Done button is shown
4151 sometimes in listpicker)
4153 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4156 for the number of columns in the HildonTouchSelector more than once.
4158 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4160 * src/hildon-touch-selector.c: Minor documentation fixes.
4162 * src/hildon-picker-dialog.c (+_dialog_update_title)
4163 (_select_on_selector_changed_cb)
4164 (_update_title_on_selector_changed_cb)
4165 (on_selector_columns_changed): Update dialog title when there's no
4166 'Done' button and also when the number of columns in the selector
4170 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4171 (+_selection_changed, hildon_picker_button_on_dialog_response)
4172 (hildon_picker_button_selector_selection_changed)
4173 (+hildon_picker_button_selector_columns_changed)
4174 (hildon_picker_button_set_selector): Update button value and emit
4175 'value-changed' when the number of columns in the selector
4179 Fixes: NB#96225 (Dialog titles are not shown according to the
4180 values selected in the list picker)
4182 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4185 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4186 New "arrow-width" and "arrow-height" style properties to set the
4187 size of the arrow button.
4188 Set name of arrow button ("hildon-edit-toolbar-arrow").
4190 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4191 graphics from theme)
4193 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-picker-button.c:
4196 (hildon_picker_button_selector_selection_changed): Use
4197 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4198 the dialog is present.
4200 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4201 the selection is accepted in the dialog)
4203 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4205 * src/hildon-color-chooser.h
4206 * src/hildon-color-chooser-dialog.h:
4207 Added G_BEGIN_DECLS and G_END_DECLS
4209 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4211 (_clean_current_selection): plug a leak in the list.
4213 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4215 * src/hildon-picker-dialog.c:
4216 (+free_path_list): Method to free a GList of GtkTreePaths.
4217 (_clean_current_selection), (_save_current_selection),
4218 (_restore_current_selection): Save the current selection in
4219 as a list of lists, to support multiple selection properly.
4221 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4223 patch by Claudio Saavedra (csaavedra@igalia.com)
4225 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4226 Store the press position.
4227 (+hildon_text_view_button_release_event): If the release position is
4228 close enough to the press position, move the cursor here. Otherwise,
4230 (hildon_text_view_class_init): Override GtkTextView press, release, and
4231 motion event handlers, disabling this way text selection through
4232 pointer interaction, and allowing the container widget to handle the
4235 Fixes: NB#95828 (HildonTextView functionality)
4237 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4239 Based on a patch by Iván Gómez (igomez@igalia.com)
4241 * src/hildon-button.[ch]
4242 * src/hildon-calendar.c
4243 * src/hildon-check-button.c
4244 * src/hildon-date-editor.c
4245 * src/hildon-date-selector.c
4246 * src/hildon-picker-button.c
4247 * src/hildon-time-editor.c
4248 * src/hildon-time-selector.c
4249 * src/hildon-touch-selector.[ch]:
4250 Documentation updates
4252 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4254 * src/hildon-pannable-area.c,
4255 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4256 threshold, it was required due to X events handling.
4258 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4260 * src/hildon-pannable-area.c,
4261 (hildon_pannable_area_grab_notify),
4262 (hildon_pannable_area_initial_effect),
4263 (hildon_pannable_area_button_press_cb),
4264 (hildon_pannable_area_button_release_cb),
4265 (hildon_pannable_area_scroll_cb),
4266 (hildon_pannable_area_scroll_to): Review the timeout management of
4267 the scrollbar, the frecuency was incorrectly set.
4269 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4271 * src/hildon-picker-button.c:
4272 (+hildon_picker_button_on_dialog_response),
4273 (hildon_picker_button_clicked): Present the dialog instead of
4274 running it with gtk_dialog_run().
4276 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4279 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4281 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4282 (hildon_app_menu_finalize): When a window is hidden it doesn't
4283 emit notify::is-topmost, so make sure than the menu also
4284 disappears in that case.
4285 (parent_window_topmost_notify): Renamed from parent_window_hidden
4287 Fixes: NB#94460 (stackable window's menu is not closed when its
4290 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4292 * src/hildon-touch-selector-entry.c:
4293 (+hildon_touch_selector_entry_set_input_mode),
4294 (+hildon_touch_selector_entry_get_input_mode):
4295 * src/hildon-touch-selector-entry.h: New methods to access the input
4296 mode in the selector's entry.
4298 Fixes: NB#93410 (API required for setting IM mode in
4299 HildonTouchSelectorEntry)
4301 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4303 * configure.ac: post release version bump.
4304 * debian/changelog: version bump
4306 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4311 * configure.ac: Bump version.
4312 * debian/changelog: Updates.
4314 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4316 * src/hildon-touch-selector.c:
4317 (_hildon_touch_selector_has_multiple_selection): No need
4318 to initialize the variables here.
4320 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4322 * src/hildon-note-private.h
4323 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4324 (hildon_note_finalize, hildon_note_rebuild): Close information
4325 notes when they receive a button press.
4327 Fixes: NB#89890 (Information notes does not get disappeared after
4330 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4332 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4333 mark from the wizard title, as it's not really necessary. Also,
4334 do not display the page title if not set.
4336 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4339 (parent_window_hidden): Use the window's "is-topmost" property to
4340 detect when to hide the menu.
4342 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4344 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4345 (hildon_app_menu_finalize): If the parent window of the menu is
4346 hidden, hide the menu too.
4348 Fixes: NB#94460 (stackable window's menu is not closed when its
4351 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4354 * debian/libhildon1-examples.install
4356 * examples/Makefile.am:
4357 Use dh_install to install all examples.
4358 Use DEB_SRCDIR instead of defining SOURCE_DIR
4360 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4362 * configure.ac: post release version bump.
4363 * debian/changelog: version bump
4365 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4370 * configure.ac: bump version
4371 * debian/changelog: updates
4372 * debian/control: bump gtk+ dependency
4374 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4376 patch by Christian Dywan (christian@imendio.com)
4378 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4379 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4381 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-check-button.c (hildon_check_button_init)
4384 (hildon_check_button_class_init, hildon_check_button_style_set)
4385 (hildon_check_button_apply_style):
4386 New "checkbox-size" style property.
4388 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4389 larger / configurable size)
4391 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4393 * configure.ac: post release version bump.
4394 * debian/changelog: version bump
4396 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4401 * configure.ac: bump version
4402 * debian/changelog: updates
4404 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4406 * doc/hildon-sections.txt
4407 * src/hildon-pannable-area.c
4408 * src/hildon-program.c
4409 * src/hildon-time-editor.c
4410 * src/hildon-touch-selector-entry.c:
4412 More documentation updates.
4414 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4416 * doc/hildon-sections.txt
4417 * src/hildon-caption.c
4418 * src/hildon-code-dialog.c
4419 * src/hildon-color-button.c
4420 * src/hildon-controlbar.c
4421 * src/hildon-date-editor.c
4422 * src/hildon-date-selector.c
4423 * src/hildon-edit-toolbar.c
4424 * src/hildon-find-toolbar.c
4425 * src/hildon-font-selection-dialog.c
4427 * src/hildon-program.c
4428 * src/hildon-range-editor.c
4429 * src/hildon-seekbar.c
4430 * src/hildon-time-editor.c
4431 * src/hildon-time-selector.c
4432 * src/hildon-volumebar-range.c
4433 * src/hildon-volumebar.c
4434 * src/hildon-vvolumebar.c
4435 * src/hildon-weekday-picker.c
4436 * src/hildon-window.c
4437 * src/hildon-wizard-dialog.c:
4439 Lots of documentation fixes.
4441 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4443 Patch contributed by Iván Gómez (igomez@igalia.com)
4445 * src/hildon-check-button.c:
4446 * src/hildon-date-button.c:
4447 * src/hildon-date-selector.c:
4448 * src/hildon-dialog.c:
4449 * src/hildon-edit-toolbar.c:
4450 * src/hildon-entry.c:
4451 * src/hildon-picker-button.c:
4452 * src/hildon-program.c:
4453 * src/hildon-text-view.c:
4454 * src/hildon-time-button.c:
4455 * src/hildon-touch-selector-entry.c:
4456 * src/hildon-window-stack.c:
4458 Add more "since" tags to the new API.
4460 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4462 * doc/hildon-sections.txt: Add below method.
4463 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4464 version for the hildonized scale.
4465 * src/hildon-gtk.h: Add the definition.
4467 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4469 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4471 * doc/hildon-sections.txt: Add missing entries for new methods.
4473 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4475 Added API to pannable are in order to get its adjustments. We
4476 added two properties to manage the values we had in the private
4479 * src/hildon-pannable-area.c:
4480 (hildon_pannable_area_class_init): Added hadjustment and
4481 vadjustment properties in order to expose horizontal and vertical
4483 (hildon_pannable_area_get_property),
4484 (hildon_pannable_area_set_property): Added code to handle the new
4486 (hildon_pannable_area_get_hadjustment),
4487 (hildon_pannable_area_get_vadjustment): API functions to get the
4489 * src/hildon-pannable-area.h:
4490 (hildon_pannable_area_get_hadjustment),
4491 (hildon_pannable_area_get_vadjustment): API functions to get the
4494 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4496 Fixed some leaks, after valgrinding.
4498 * src/hildon-touch-selector.c:
4499 (_default_print_func): Fixed a leak.
4500 (hildon_touch_selector_append_column): Fixed a leak.
4501 * src/hildon-date-button.c:
4502 (hildon_date_button_init): Fixed a leak.
4503 * src/hildon-date-selector.c
4504 (hildon_date_selector_finalize): Fixed a leak.
4506 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4508 Based on a patch by Christian Dywan (christian@imendio.com)
4510 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4512 * src/hildon-gtk.h: Add definition.
4514 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4516 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-picker-button.c: (hildon_picker_button_init),
4519 (hildon_picker_button_new): Set the HildonButton::style property
4520 in the init method, to propagate the value to the derived classes.
4522 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4524 * src/hildon-button.c: (hildon_button_class_init): Do not make
4525 the "style" property a construct property.
4527 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-wizard-dialog.h
4530 * src/hildon-wizard-dialog.c
4531 (hildon_wizard_dialog_set_forward_page_func)
4532 * src/hildon-pannable-area.h
4533 * src/hildon-pannable-area.c
4534 (hildon_pannable_area_set_size_request_policy):
4535 Documentation fixes.
4537 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4539 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4541 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4543 * doc/hildon-sections.txt: Added sections file.
4545 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/*.[ch]: Updates.
4550 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4552 * examples/hildon-progress-indicator-example.c: new file
4553 * examples/Makefile.am: include the new example program
4555 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4557 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4559 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4561 * configure.ac: post release version bump
4562 * debian/changelog: version bump
4564 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4569 * configure.ac: bump version
4570 * debian/changelog: updates
4571 * debian/control: bump gtk+ dependency
4573 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-dialog.c: Mark as deprecated.
4576 * src/hildon-dialog.h: Mark as deprecated.
4577 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4578 from HildonDialog and still work, even if
4579 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4580 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4582 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4583 maemo changes) instead)
4585 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4587 * src/hildon-pannable_area.h:
4588 * src/hildon-pannable_area.c:
4589 (hildon_pannable_area_class_init),
4590 (hildon_pannable_area_set_property),
4591 (hildon_pannable_area_get_property),
4592 (hildon_pannable_area_size_request),
4593 (hildon_pannable_area_get_size_request_policy),
4594 (hildon_pannable_area_set_size_request_policy): Added new API
4595 allowing applications to control the request policy. Now they can
4596 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4597 children allocation (HILDON_MOVEMENT_CHILDREN).
4599 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4603 (hildon_gtk_tree_view_set_ui_mode)
4604 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4605 mode of treeviews and iconviews.
4607 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-touch-selector-entry.c:
4610 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4611 of a GtkEntry to get proper theming.
4613 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4614 widget, not GtkEntry)
4616 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4618 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4619 no HildonWizardDialogPageFunc.
4621 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4623 Patch contributed by Iván Gómez (igomez@igalia.com)
4625 * src/hildon-app-menu.c:
4626 * src/hildon-button.c:
4627 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4628 * src/hildon-stackable-window.c:
4629 * src/hildon-time-selector.c:
4630 * src/hildon-touch-selector.c:
4631 * src/hildon-window.c:
4633 Add more "since" tags to the new API in hildon 2.2.
4635 2008-12-05 Tim Janik <timj@imendio.com>
4637 Patch contributed by Christian Dywan (christian@imendio.com)
4639 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4640 HildonSizeType, which are supplied by Gtk+ now.
4642 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4644 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4645 (with maemo changes) instead)
4647 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4649 Patch contributed by Iván Gómez (igomez@igalia.com)
4651 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4654 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4656 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4657 (some_page_func), (main): Update the example to use a
4658 HildonWizardDialogPageFunc function.
4660 * src/hildon-wizard-dialog-private.h: Add private data for
4661 the HildonWizardDialogPageFunc function usage.
4663 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4664 (destroy), (hildon_wizard_dialog_init), (response),
4665 (hildon_wizard_dialog_set_forward_page_func):
4666 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4667 that applications can use to stop a HildonWizardDialog to jump to
4670 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4673 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4675 * src/hildon-program.h
4676 * src/hildon-program-private.h
4677 * src/hildon-program.c (hildon_program_init)
4678 (hildon_program_set_common_app_menu)
4679 (hildon_program_get_common_app_menu):
4680 New API for setting a common HildonAppMenu for all
4681 HildonStackableWindows registered with the HildonProgram.
4683 * src/hildon-stackable-window.c
4684 (hildon_stackable_window_toggle_menu):
4685 Use the common HildonAppMenu if a window doesn't have a specific
4688 * src/hildon-app-menu-private.h
4689 * src/hildon-app-menu.c
4690 (hildon_app_menu_get_parent_window):
4691 Function to obtain the window a HildonAppMenu is attached to.
4692 (hildon_app_menu_set_parent_window):
4693 Hide the menu if the parent window is set to NULL.
4695 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4697 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4698 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4699 search widget to popup.
4701 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4703 * configure.ac: post release version bump
4704 * debian/changelog: version bump
4706 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4711 * configure.ac: bump version
4712 * debian/changelog: updates
4714 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4716 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4718 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4719 (hildon_window_stack_window_realized)
4720 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4721 Set the leader GdkWindow when a window is stacked and realized,
4722 unset it when it's unstacked.
4723 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4725 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4727 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4729 * src/hildon-stackable-window.h
4730 * src/hildon-window-stack.h:
4731 Protect definition of HildonWindowStack using the preprocessor.
4733 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4735 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4736 Fix warning if all menu items are hidden.
4738 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4740 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4742 * src/hildon-controlbar.c:
4743 * src/hildon-hvolumebar.c:
4744 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4745 Multiple scale size defines updates.
4747 Fixes: NB#94322 (Scale Updates)
4749 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4751 * examples/hildon-app-menu-example.c (create_menu)
4752 Show items after adding them to the menu, as in the future the
4753 menu will no longer call gtk_widget_show() on the added items.
4755 * src/hildon-app-menu.c:
4756 Update example as explained above.
4758 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4760 * src/hildon-app-menu.c
4761 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4762 Make sure that all menu items have finger height.
4764 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4766 * src/hildon-picker-dialog.c:
4767 (_on_dialog_response), (_save_current_selection),
4768 (_restore_current_selection), (_clean_current_selection),
4769 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4770 Defined new functions in order to save the current internal selector
4771 selection previous open the dialog, in case that the use cancel the
4772 interaction, so the widget restores the previous selection.
4774 Fixes: NB#92032 (In calendar application, date values in 'new event'
4777 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4779 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-button.c: Add a reference to the button examples in
4782 hildon-button-example.c
4784 * examples/hildon-button-example.c: Added examples of the most
4785 common button layouts.
4787 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-app-menu.c (hildon_app_menu_show)
4790 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4792 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4794 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/hildon-picker-dialog.c:
4797 (hildon_picker_dialog_init): Initialize the signal id for
4798 HildonTouchSelector::columns-changed.
4799 (+on_selector_columns_changed): Set up the interaction mode everytime a
4800 column is added or removed from the HildonTouchSelector.
4801 (_hildon_picker_dialog_set_selector): Connect to
4802 HildonTouchSelector::columns-changed and keep track of it.
4804 Make sure to update the interaction mode of the dialog everytime a
4805 column is added or removed in the HildonTouchSelector.
4807 Fixes: NB#93228 (Done button is not shown always in listpicker)
4809 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4811 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4812 a new ::columns-changed signal.
4813 (hildon_touch_selector_append_column): Emit ::columns-changed.
4814 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4816 Add a ::columns-changed signal, emitted when the number of columns in a
4817 HildonTouchSelector changes.
4819 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4822 (_hildon_picker_dialog_set_selector): Factor out the code
4823 to set up the dialog interaction mode.
4825 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4828 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4829 to signal_changed_id.
4831 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4833 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4836 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4838 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4839 Updated the logical ids related to ampm format, as now it is required to
4840 show it correctly localized even on languages with no default
4841 abbreviations for am or pm
4842 (_check_am_pm_format): check correctly the 24h format gconf property
4844 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4846 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4848 * src/hildon-button.c: Documentation updates.
4850 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4852 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4853 * src/hildon-caption.c: (hildon_caption_class_init):
4854 * src/hildon-color-button.c: (hildon_color_button_class_init):
4855 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4856 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4857 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4858 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4860 Remove deprecated GTK+ marshalers and replace them with the ones
4861 provided by GLib, for those available, add a marshaler for
4862 BOOLEAN:VOID, which is not available in GLib, and use it.
4864 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4867 the text from the previous column if there is no
4868 HildonTouchSelectorColumn::text-property set.
4870 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4872 * src/hildon-button.h
4873 * src/hildon-button.c (hildon_button_set_property)
4874 (hildon_button_get_property, hildon_button_class_init)
4875 (hildon_button_set_style, hildon_button_get_style):
4876 New "style" property to change the visual appearance of the
4879 * src/hildon-picker-button.c (hildon_picker_button_new):
4880 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4882 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4883 HildonButton look like PickerButton)
4885 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4887 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4888 column while building the default string.
4890 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4892 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4893 scroll indicator by default.
4895 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4897 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4899 * src/hildon-main.c: Fix the documentation for hildon_init()
4901 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4903 * doc/hildon-docs.sgml
4907 * src/hildon-window-stack-private.h
4908 * src/hildon-window-stack.h
4909 * src/hildon-window-stack.c:
4910 New HildonWindowStack object, that adds support for multiple
4911 stacks of windows per process.
4913 * src/hildon-stackable-window-private.h
4914 * src/hildon-stackable-window.h
4915 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4916 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4917 (hildon_stackable_window_show, hildon_stackable_window_hide)
4918 (hildon_stackable_window_class_init)
4919 (hildon_stackable_window_init):
4920 Use HildonWindowStack for stack management.
4922 * src/hildon-program.c (hildon_program_pop_window_stack)
4923 (hildon_program_peek_window_stack)
4924 (hildon_program_go_to_root_window):
4925 Add a fallback implementation to the deprecated functions using
4928 * examples/hildon-stackable-window-example.c:
4929 Use the new HildonWindowStack API.
4931 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4933 * src/hildon-stackable-window-private.h
4934 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4935 (hildon_stackable_window_hide, hildon_stackable_window_init):
4936 Remove all window stack management.
4938 * src/hildon-program-private.h
4939 * src/hildon-program.h
4940 * src/hildon-program.c (hildon_program_init)
4941 (hildon_program_pop_window_stack)
4942 (hildon_program_peek_window_stack)
4943 (hildon_program_go_to_root_window):
4944 Remove all window stack management and mark functions as
4947 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-app-menu.c (hildon_app_menu_realize):
4950 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4952 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4954 * configure.ac: post release version bump
4955 * debian/changelog: version bump
4957 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4962 * configure.ac: bump version
4963 * debian/changelog: updates
4965 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4967 Based on initial code by Christian Dywan (christian@imendio.com)
4969 * doc/hildon-docs.sgml: Add section for hildon-main.
4970 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4971 * src/Makefile.am: Add new hildon-main.[ch]
4972 * src/hildon-defines.h: Update the icon sizes.
4973 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4974 new library initialization files and register icon sizes.
4975 * src/hildon-main.h: New declarations.
4976 * src/hildon.h: Include hildon-main.h
4978 Add new initialization functions to the library. These methods
4979 will register the hildon specific icon sizes and can be used in the
4980 future for other hildon specific bits.
4982 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4984 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4986 * src/hildon-window.c: (hildon_window_realize),
4987 (hildon_window_notify), (-hildon_window_update_title): Do not set
4988 the application name in the window title.
4990 Fixes: NB#89754 (Applications shouldn't display their names in the
4993 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/hildon-note-private.h:
4996 * src/hildon-note.c: (hildon_note_set_property),
4997 (hildon_note_get_property), (hildon_note_class_init),
4998 (hildon_note_init), (hildon_note_finalize),
4999 (hildon_note_new_confirmation_with_icon_name),
5000 (hildon_note_new_information_with_icon_name):
5002 No need to mark as deprecated the actual code. Revert
5003 to avoid missing symbols in widgets using deprecated API.
5005 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5007 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5009 * src/hildon-volumebar.h
5010 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5011 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5013 * src/hildon-helper.h
5014 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5015 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5017 * examples/Makefile.am:
5018 Deprecate hildon-insensitive-example
5020 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5022 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5024 * examples/hildon-pannable-area-buttons-scroll-example.c:
5025 Make all buttons finger height
5027 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5029 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5031 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5032 update the day model only if it is really required, and to avoid the
5033 full-reconstruction aproach. Now it only add or remove the required days.
5035 The purpose of this is avoid superfluous HildonTouchSelector::changed
5038 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5039 with strange parameters)
5041 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5043 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5045 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5046 the WINDOW_TYPE property.
5048 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5050 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5053 Fix dependency to allow parallel compilation with make -jX
5055 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5058 color frame and some minor tweaks to make it more consistent with
5061 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5062 highlighted but not visible)
5064 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5066 * examples/Makefile.am: Fixed typo in the Makefile.am.
5068 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5070 Reviewed the use of MAEMO_GTK define, now we add the define in the
5071 compilation line, and we also add it to the pc file.
5073 * configure.ac: Added MAEMO_GTK define to the compilation command
5074 and removed it from the config.h.
5076 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5077 do not have to take care about this define if the library was
5081 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5083 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5085 * examples/Makefile.am,
5086 * examples/hildon-pannable-area-buttons-scroll-example.c,
5087 * examples/hildon-pannable-area-gesture-signals-example.c,
5088 * examples/hildon-pannable-area-scroll-jump-example.c,
5089 * examples/hildon-pannable-area-tree-view-example.c:
5090 Renamed the pannable area examples, now they have more meaningful
5093 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5095 * src/hildon-touch-selector.c:
5096 (hildon_touch_selector_set_column_selection_mode): Used of
5097 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5098 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5099 to avoid re-seting the same selection mode.
5101 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5102 breaks HildonPickerDialog)
5104 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5106 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5107 conditional in the Makefile.am
5109 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5112 Remove unused methods.
5114 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-button.c (hildon_button_init):
5117 Make button images center-aligned by default
5119 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5122 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5123 activated, we have to think about how to deal with both defines
5124 MAEMO_GTK and MAEMO_CHANGES.
5126 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5128 * examples/hildon-app-menu-example.c (create_menu): Make all
5129 buttons finger size.
5131 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5133 Fixed the compilation without maemo gtk adding ifdefs with
5134 MAEMO_GTK define to the code, we have to check this version more
5137 * examples/Makefile.am: Added control to avoid some examples that
5138 just make sense with maemo gtk.
5141 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5142 hildon modes with the define.
5144 * examples/hildon-edit-toolbar-example.c,
5145 (create_icon_view): Create the icon view without hildon-gtk
5146 helpers if we are not using maemo gtk.
5148 * src/hildon-touch-selector.c,
5149 (_create_new_column): Create the treeview without hildon-gtk
5150 helpers if we are not using maemo gtk.
5152 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5154 * src/hildon-pnnable-area.c,
5155 (hildon_pannable_area_dispose),
5156 (hildon_pannable_area_button_press_cb),
5157 (hildon_pannable_area_child_mapped),
5158 (hildon_pannable_area_add),
5159 (hildon_pannable_area_remove): Added code to control the position
5160 of the event_window when adding and removing children from the
5161 pannable. We have to raise the event window when the child is
5164 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5165 selection mode using custom widget inside pannable)
5167 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5169 * configure.ac: post release version bump
5170 * debian/changelog: version bump
5172 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5177 * configure.ac: bump version
5178 * debian/changelog: updates
5180 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5182 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5183 search mode, in order to avoid lose the focus on the treeview when
5184 a hw key (like enter) is pressed.
5186 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5187 in HildonDateSelector dialog)
5189 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5191 * debian/rules: Added --enable-maintainer-mode
5192 * Makefile.am: Added ACLOCAL_AMFLAGS
5194 This allows to properly regenerate the Makefiles if you modify the
5195 configure.ac or any Makefile.am.
5197 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5199 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5200 properties, not needed at all.
5202 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5206 * src/hildon-note.c: (hildon_note_set_property),
5207 (hildon_note_get_property), (hildon_note_class_init),
5208 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5209 (hildon_note_new_confirmation_add_buttons): Remove icons.
5210 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5211 (hildon_note_new_information_with_icon_name): Deprecate.
5212 (hildon_note_new_confirmation): Act directly, without calling
5213 the deprecated constructor.
5214 (hildon_note_new_information): Act directly, without calling
5215 the deprecated constructor.
5216 * src/hildon-note.h: Mark deprecate methods as such.
5217 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5218 not run tests on the deprecated methods if built with deprecation
5221 Fixes: NB#91688 (Never show icons in information notes/confirmation
5224 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5226 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5227 (hildon_app_menu_key_press): Remove leftover usage of the
5228 private structure in HildonAppMenu struct.
5229 * src/hildon-app-menu.h: Remove leftover private structure
5230 from the HildonAppMenu struct.
5232 Fixes a crasher when using the HildonAppMenu.
5234 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5236 * src/hildon-picker-dialog.c: Use appropriate logical id
5237 for the default "Done" text.
5239 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5241 * configure.ac: post release version bump
5242 * debian/changelog: version bump
5244 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5246 Modified the way to scroll to the current selection just when the touch
5247 selector is shown on the screen, avoiding a g_idle. Added too a property
5248 to configure this behaviour. See hildon_pannable_area_jump_to_child
5249 documentation for more information.
5251 * src/hildon-touch-selector.c
5252 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5253 Added 'initial-scroll' property
5254 (hildon_touch_selector_set_property): Added
5255 (hildon_touch_selector_map): Removed as not required anymore
5256 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5257 only a concrete column, instead of iterate along all the columns
5259 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5264 * configure.ac: bump version
5265 * debian/changelog: updates
5267 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5269 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5270 compilation time warnings.
5272 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5274 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5275 the default value for HildonPannableArea::mov-mode to
5276 HILDON_PANNABLE_AREA_MODE_VERT.
5278 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5280 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5282 Reverting following commit:
5284 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5286 * src/hildon-app-menu-private.h
5287 * src/hildon-app-menu.[ch]
5288 * src/hildon-button.[ch]
5289 * src/hildon-check-button.[ch]
5290 * src/hildon-entry.[ch]
5291 * src/hildon-pannable-area.[ch]
5292 * src/hildon-text-view.[ch]:
5293 Added private field to the object's structure.
5295 because it causes an ABI breakage. We will need to introduce these
5296 changes later at some point. See NB#91636 for an extensive
5297 explanation and status.
5299 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5301 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5303 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5304 remove special cases that are no longer necessary.
5306 Fixes: NB#91016 (Change toolbar sizes, simplification)
5308 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5310 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5311 is shown in the cancel note.
5313 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5315 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5316 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5317 (hildon_seekbar_init): Remove steppers, remove expose event.
5318 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5320 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5322 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5324 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5325 label font to "SmallSystemFont" for vertically arranged buttons.
5327 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5330 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-check-button.c
5333 (hildon_check_button_set_active, hildon_check_button_clicked):
5334 Don't access private parts directly, use getters instead.
5336 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5338 * src/hildon-check-button.c (hildon_check_button_new):
5339 Align the contents of the check button to the left.
5341 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5343 * src/hildon-pannable-area.c,
5344 (hildon_pannable_area_scroll_to),
5345 (hildon_pannable_area_jump_to),
5346 (hildon_pannable_area_scroll_to_child),
5347 (hildon_pannable_area_jump_to_child): Replace the mapped
5348 precondition of these functions with the realized, it is the
5349 correct state of the widget in this case. Changed the
5350 documentation according to this modification.
5352 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5354 Added a new EXTRA_CFLAGS option to add the deprecated define to
5355 the compilation command. This way we can avoid using the define in
5356 the documentation compilation.
5358 * configure.ac: Defined EXTRA_CFLAGS.
5360 * examples/Makefile.am:
5362 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5364 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5366 * src/hildon-picker-dialog.c:
5367 Defined a utility macro with the desired touch selector height
5368 Removed currently unused separator, and title_label variables from
5370 (hildon_picker_dialog_init): Removed code related to the creation
5371 of unused private variables title_label and separator.
5372 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5373 to ensure correct visualization of the touch selector inside the dialog.
5374 * src/hildon-touch-selector.c
5375 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5376 ensure a concrete height of the widget.
5378 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5381 * tests/Makefile.am:
5383 Remove spurious whitespaces.
5385 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5387 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5388 compilation warning after the cancel button removal.
5390 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5392 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5394 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5395 Makefile.am, that way we can choose not to compile some examples
5396 and tests of the deprecated widgets.
5398 * examples/Makefile.am: Divided the sources in deprecated and
5401 * src/Makefile.am: Added undef statement of the deprecated
5402 symbol to the enums file generation process.
5404 * src/hildon-color-chooser-dialog.c
5405 * src/hildon-color-chooser-dialog.h
5406 * src/hildon-color-button.c
5407 * src/hildon-color-button.h
5408 * src/hildon-color-chooser.c
5409 * src/hildon-color-chooser.h
5410 * src/hildon-controlbar.c
5411 * src/hildon-controlbar.h
5412 * src/hildon-date-editor.c
5413 * src/hildon-date-editor.h
5414 * src/hildon-hvolumebar.c
5415 * src/hildon-hvolumebar.h
5416 * src/hildon-private.c
5417 * src/hildon-private.h
5418 * src/hildon-range-editor.c
5419 * src/hildon-range-editor.h
5420 * src/hildon-seekbar.c
5421 * src/hildon-seekbar.h
5422 * src/hildon-time-editor.c
5423 * src/hildon-time-editor.h
5424 * src/hildon-time-picker.c
5425 * src/hildon-time-picker.h
5426 * src/hildon-volumebar.c
5427 * src/hildon-volumebar.h
5428 * src/hildon-vvolumebar.c
5429 * src/hildon-vvolumebar.h
5430 * src/hildon-bread-crumb-trail.h
5431 * src/hildon-bread-crumb-trail.c
5432 * src/hildon-calendar-popup.c
5433 * src/hildon-calendar-popup.h
5434 * src/hildon-weekday-picker.c:
5435 * src/hildon-weekday-picker.h:
5436 * src/hildon-bread-crumb-widget.c:
5437 * src/hildon-bread-crumb-widget.h:
5438 * src/hildon-bread-crumb.c:
5439 * src/hildon-bread-crumb.h:
5440 * src/hildon-calendar.c:
5441 * src/hildon-calendar.h:
5442 * src/hildon-caption.c:
5443 * src/hildon-code-dialog.c:
5444 * src/hildon-code-dialog.h:
5445 * src/hildon-font-selection-dialog.c:
5446 * src/hildon-font-selection-dialog.h:
5447 * src/hildon-get-password-dialog.c:
5448 * src/hildon-get-password-dialog.h:
5449 * src/hildon-login-dialog.c:
5450 * src/hildon-login-dialog.h:
5451 * src/hildon-number-editor.c:
5452 * src/hildon-number-editor.h:
5453 * src/hildon-set-password-dialog.c:
5454 * src/hildon-set-password-dialog.h:
5455 * src/hildon-sort-dialog.c:
5456 * src/hildon-sort-dialog.h: This is the list of deprecated
5459 * src/hildon-touch-selector.c:
5460 * src/hildon-window.c: Added undef statement to avoid compilation
5463 * tests/Makefile.am: Divided the sources in deprecated and
5466 * tests/check_test.c,
5467 (configure_tests): Marked the deprecated code that was adding
5468 suites with deprecated tests.
5470 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5472 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-touch-selector.c: (_default_print_func): Do not
5475 duplicate a string returned by gtk_tree_model_get(), it is already
5478 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5481 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5483 * src/hildon-pannable-area.c
5484 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5485 method, it had problems when adding a widget with viewport the
5486 second time. Now checks if it already has a viewport and uses it.
5488 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5491 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5493 * src/hildon-pannable-area.c,
5494 (hildon_pannable_area_scroll_to),
5495 (hildon_pannable_area_jump_to),
5496 (hildon_pannable_area_scroll_to_child),
5497 (hildon_pannable_area_jump_to_child): Added a precondition to the
5498 scroll and jump to functions: the widget must be mapped before we
5499 can safely call these functions. We have also added documentation
5500 to the functions to explain how to use them in this situation.
5503 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5505 Reviewed the threading handling of the pannable widget, we have
5506 used the gdk_threads_add_timeout function instead of the usual
5507 glib handlers. This avoids some problems with the threads.
5509 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5510 (hildon_pannable_area_initial_effect),
5511 (hildon_pannable_area_scroll_indicator_fade),
5512 (hildon_pannable_area_button_press_cb),
5513 (hildon_pannable_area_timeout),
5514 (hildon_pannable_area_motion_notify_cb),
5515 (hildon_pannable_area_button_release_cb),
5516 (hildon_pannable_area_scroll_cb),
5517 (hildon_pannable_area_scroll_to): Removed the
5518 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5519 gdk_threads_add_timeout.
5521 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5523 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5528 * configure.ac: bump version
5529 * debian/changelog: updates
5531 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5533 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5534 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5535 * src/hildon-color-chooser-dialog.c:
5536 (hildon_color_chooser_dialog_init):
5537 * src/hildon-font-selection-dialog.c:
5538 (hildon_font_selection_dialog_init):
5539 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5541 Remove all cancel/close-like dialogs, as these are not going to be
5544 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5546 * src/hildon-note.c: (hildon_note_rebuild),
5547 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5550 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5552 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5554 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5555 sure all buttons are shown, even the Cancel/Close-like ones.
5557 Fixes: NB#90861 (Custom Confirmation dialogs should be
5558 protected from cancel button removal)
5560 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5562 * debian/control: Change libhildon1-examples dependency from libhildon1
5564 * debian/libhildon1-examples.install
5566 * Makefile.am: Modified the final install directory for the examples on
5567 package libhildon1-examples
5568 * Makefile.static: Update clean target in order to remove all the binary
5571 Changes suggested by Claudio after review new libhildon1-examples package
5573 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5575 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5576 * src/hildon-touch-selector.c: Ditto.
5578 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * debian/control: Added new package libhildon1-examples, in order to pack
5581 the current hildon examples as documentation
5582 * debian/rules: Not to compress .c files, modify some includes on the
5583 examples (as normally are compiled locally, but when installed it will
5584 require to include the installed libhildon1 library), and rename
5586 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5587 install all the example files on the new example package
5588 * examples/Makefile.static: Added static makefile that can be used to
5589 compile the examples, once installed the new example package
5590 * examples: Most of the examples were modified in order to grant that
5591 all use only '#include "hildon.h"', in order to be easy to prepare
5592 it on the example package
5594 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5597 * debian/libhildon1-dev.install
5598 * debian/libhildon1-doc.install:
5599 Move all gtk-doc files to a separate libhildon1-doc package.
5601 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5603 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5605 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5607 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5609 * debian/rules: Fixed a error in order to avoid unnecessary calls
5610 to autogen.sh on package building
5612 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5614 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5616 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5618 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5621 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-picker-button.c
5624 (hildon_picker_button_finalize):
5625 Free priv->done_button_text
5627 * src/hildon-time-button.c
5628 (hildon_time_button_set_time)
5629 * src/hildon-picker-button.c
5630 (hildon_picker_button_clicked)
5631 (hildon_picker_button_selector_selection_changed)
5632 (hildon_picker_button_set_selector)
5633 * src/hildon-date-button.c
5634 (hildon_date_button_set_date):
5635 Free strings returned by hildon_touch_selector_get_current_text()
5637 * src/hildon-button.c (hildon_button_construct_child):
5638 Fix leaks in priv->image and priv->label_box
5640 Fixes: NB#90535 (Memory leak in picker button)
5642 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5644 * src/hildon-button.c: (hildon_button_get_property): Do not access
5645 private elements directly, use getters instead.
5647 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-app-menu-private.h
5650 * src/hildon-app-menu.c
5651 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5652 Store the menu's parent window.
5654 * src/hildon-stackable-window.c
5655 (hildon_stackable_window_toggle_menu)
5656 (hildon_stackable_window_finalize):
5657 Set the menu's parent window when the menu is shown, unset it when
5660 * src/hildon-app-menu.c
5661 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5662 (hildon_app_menu_class_init):
5663 Send unhandled keyboard accelerators to the parent window.
5665 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5667 * src/hildon-stackable-window.c
5668 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5670 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5672 * configure.ac: post release version bump
5674 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5677 * configure.ac: Bump version
5678 * debian/changelog: Updates
5679 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5682 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5684 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5687 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5688 GtkMenu with Hildon style.
5690 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5692 * src/hildon-picker-button.c:
5693 (hildon_picker_button_set_done_button_text): Set the dialog's
5694 done button text here as well.
5696 Fixes: NB#90232 (Picker button does not set the label on done button
5697 for the second time)
5699 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5701 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5704 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5706 * src/hildon-app-menu.c (hildon_app_menu_insert)
5707 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5708 the HildonAppMenu to be activatable using keyboard accelerators
5709 when the menu is not being shown.
5711 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5713 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5715 * src/hildon-stackable-window.c
5716 (hildon_stackable_window_show):
5717 Don't hide old windows automatically when new windows are shown:
5718 this is now a task for the window manager.
5719 (hildon_stackable_window_class_init)
5720 (hildon_stackable_window_hide):
5721 Remove windows from the stack everytime they're hidden.
5722 (hildon_stackable_window_realize):
5723 Don't change the _NET_WM_WINDOW_TYPE property. Use
5724 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5725 it as a stackable window.
5727 * src/hildon-program.c
5728 (hildon_program_pop_window_stack):
5729 Just hide the window to remove it from the stack.
5730 (hildon_program_go_to_root_window):
5731 Don't call gtk_widget_show(), this is now a task for the window
5734 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5736 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5738 * src/hildon-button.c
5739 (hildon_button_construct_child):
5740 Don't pack anything in the button until text or image are
5741 set. This allows adding a custom child after creating the button
5742 with hildon_button_new().
5743 (hildon_button_finalize, hildon_button_class_init)
5744 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5745 alignment and the label box even when they're not packed in the
5748 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5750 * src/hildon-touch-selector.h:
5751 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5752 currently the type definition was using GTK_TYPE_VBOX
5753 * src/hildon-touch-selector.c:
5754 Added some implementation notes in order to clarify that any other widget
5755 added without the column related API will not be included on the
5756 selection logic, and how the widget is freed, as some people ask about
5758 (hildon_touch_selector_remove): Reimplemented in order to free properly
5759 the column related data when you remove the private hbox.
5760 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5761 to get a proper HildonTouchSelectorColumn documentation
5763 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5765 * src/hildon-touch-selector-entry.c:
5766 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5767 text in the GtkEntry and there is no item selected. Fixes a
5770 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5772 * src/hildon-app-menu-private.h
5773 * src/hildon-app-menu.[ch]
5774 * src/hildon-button.[ch]
5775 * src/hildon-check-button.[ch]
5776 * src/hildon-entry.[ch]
5777 * src/hildon-pannable-area.[ch]
5778 * src/hildon-text-view.[ch]:
5779 Added private field to the object's structure.
5781 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5783 * configure.ac: post-release version bump
5785 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5789 * configure.ac: pre-release version bump
5791 * debian/changelog: updates.
5793 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5795 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5796 Disconnect the handler for HildonTouchSelector::changed.
5798 (hildon_picker_button_selector_selection_changed): Update the button
5799 value if the selection change was not triggered by the
5802 (hildon_picker_button_set_selector): connect to
5803 HildonTouchSelector::changed.
5805 Fixes: NB#89650 (Picker button is not updated, when selection in
5806 selector has changed)
5808 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5810 * src/hildon-picker-dialog.c
5811 (hildon_picker_dialog_realize): Removed as not required
5812 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5813 * src/hildon-picker-button.c
5814 (_current_selector_empty): New function, checks if the selector is empty
5815 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5816 if the current selector is empty, in order to avoid to show the dialog
5817 close the dialog in this case (and shows a g_warning).
5819 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5821 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5823 * src/hildon-pannable-area.c,
5824 (hildon_pannable_area_scroll): Added clause to stop movement when
5825 the child of pannable is smaller than one page.
5826 (hildon_pannable_area_scroll_to): Added conditions to avoid
5827 starting the scrolling movement if the child is smaller than one
5828 page, the complete child is in the screen, we do not have to move.
5830 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5832 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5834 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5835 this is managed automatically by the widget when the size of the
5838 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5840 * src/hildon-picker-button.c
5841 (hildon_picker_button_set_done_button_text): Make a copy of the
5842 text, and free the previous value.
5844 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-touch-selector-entry.c:
5847 (hildon_touch_selector_entry_print_func): Return the selected row's
5848 text if the entry is empty.
5850 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5853 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5855 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5857 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5860 * src/hildon-check-button.h
5861 * src/hildon-check-button.c
5862 * examples/hildon-check-button-example.c:
5863 HildonCheckButton is now a new widget. 'toggled' signal added.
5865 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-program-private.h
5868 * src/hildon-program.c (hildon_program_init)
5869 (hildon_program_finalize): Removed unused variables group_leader
5870 and name from HildonProgramPrivate.
5872 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-check-button.c (hildon_check_button_set_active)
5875 (hildon_check_button_get_active, hildon_check_button_new): Use
5876 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5878 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5880 * src/hildon-touch-selector.h
5881 (hildon_touch_selector_set_column_attributes): added deprecation
5882 guard HILDON_DISABLE_DEPRECATED
5883 * src/hildon-time-selector.c
5884 (hildon_time_selector_set_time)
5885 (hildon_time_selector_get_time): Fixed a typo on documentation
5886 * src/hildon-touch-selector.c: update HildonTouchSelector and
5887 HildonTouchSelectorColumn documentation
5888 * src/hildon-touch-selector-entry.c: update "text-column" property
5890 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5891 to be added to the general documentation.
5893 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5895 * examples/hildon-pannable-area-example-4.c,
5897 * examples/hildon-pannable-area-example.c,
5898 (main): Modified the code in order to use the container add, with
5899 viewport treeviews could have problems if they are really big.
5901 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5903 * src/hildon-weekday-picker.c,
5904 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5905 the agreement regarding deprecation in the library.
5907 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5909 * examples/hildon-picker-button-multicolumn-example.c:
5910 (main): Use custom "done" button text.
5912 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5913 (hildon_picker_button_set_property),
5914 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5915 (hildon_picker_button_init),
5916 (+hildon_picker_button_get_done_button_text),
5917 (+hildon_picker_button_set_done_button_text): New methods to customize
5918 the "done" button label in the launched HildonPickerDialog. Also,
5921 * src/hildon-picker-button.h: add the public API.
5923 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5925 * src/hildon-date-selector.h:
5926 * src/hildon-picker-dialog.h:
5927 * src/hildon-time-selector.h:
5928 * src/hildon-touch-selector-column.h:
5929 * src/hildon-touch-selector.h:
5931 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5932 declarations. Fixes gtk-doc warnings.
5934 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-picker-dialog.h
5937 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5938 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5940 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5941 long text is set as label for done button)
5943 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5945 * src/hildon-dialog.c (hildon_dialog_add_button):
5946 Set fixed width to all buttons in the HildonDialog.
5948 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5950 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5952 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5953 Set widget name using class name plus "-finger" or "-thumb".
5955 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5958 'clicked' when the state of the button is manually changed.
5960 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5962 * src/hildon-app-menu.c (hildon_app_menu_realize)
5963 (hildon_app_menu_unrealize, hildon_app_menu_init)
5964 (hildon_app_menu_class_init, item_visibility_changed):
5965 Change the menu layout when the size of the screen changes.
5966 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5967 Show warning only when changing the number of colums using the
5970 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5972 * debian/compat: Set to 5
5973 * debian/control: Update dependencies.
5974 * debian/libhildon1-dbg.install: Remove.
5975 * debian/libhildon1-dev.install: Update according to cdbs paths.
5976 * debian/libhildon1.install: Update according to cdbs paths.
5977 * debian/rules: Switch to cdbs.
5979 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5981 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5982 'item' variable renamed to 'filter'
5984 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5986 * src/hildon-app-menu.c (hildon_app_menu_insert)
5987 (hildon_app_menu_add_filter, remove_item_from_list)
5988 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5989 Don't leak hidden items when the menu is destroyed.
5991 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5993 * src/hildon-app-menu.c (hildon_app_menu_insert)
5994 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5995 (hildon_app_menu_set_columns, item_visibility_changed)
5996 (filter_visibility_changed, hildon_app_menu_repack_filters)
5997 (hildon_app_menu_repack_items):
5998 Repack items and filters separately.
6000 Don't repack all items, change only the ones that are needed to
6003 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6005 * src/Makefile.am: added hildon-touch-selector-column.h
6007 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6009 * src/hildon-touch-selector.c: added the property "text-column" to the
6010 class HildonTouchSelectorColumn, and related get/set functions
6011 (_default_printf_func): updated to use "text-column" property
6012 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6013 "text-column" in his documentation, as this is now included on
6014 HildonTouchSelectorColumn. The get/set_property can still be used,
6015 working as a wrapper to the concrete column "text-column" property
6016 (_text_column_modified): callback added in order to handle the signal
6017 "notify::text-column" of the concrete HildonTouchSelectorColumn
6018 (hildon_touch_selector_entry_get_text_column)
6019 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6020 modified in order to use the HildonTouchSelectorColumn "text-column"
6022 * src/hildon-time-selector.c:
6023 * src/hildon-date-selector.c:
6024 * examples/hildon-touch-selector-example.c
6025 * examples/hildon-touch-selector-multi-cells-example.c
6026 * examples/hildon-picker-button-multicolumn-example.c
6027 Set the right value to "text-column" property on the creation of a new
6028 column using hildon_touch_selector_append_column()
6030 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6032 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6034 * src/hildon-app-menu.c
6035 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6036 updating the layout of the menu, don't create all widgets again,
6037 just repack the items in their new places.
6039 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6041 * src/hildon-time-selector.c
6042 (hildon_time_selector_get_time)
6043 (hildon_time_selector_set_time)
6044 Added documentation of these public methods
6046 * src/hildon-date-button.h
6047 * src/hildon-touch-selector-column.h
6048 * src/hildon-time-button.h
6049 * src/hildon-picker-dialog.h
6050 * src/hildon-time-selector.h
6051 * src/hildon-picker-button.h
6052 * src/hildon-touch-selector.h
6053 * src/hildon-time-picker.h
6054 * src/hildon-date-selector.h
6055 * src/hildon-touch-selector-entry.h
6056 Modified in order to use hildon-widgets code style
6058 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6060 Added deprecated support to the compilation process using
6061 HILDON_DISABLE_DEPRECATED
6063 * configure.ac: Added the --disable-deprecated to the configure
6066 * src/hildon-weekday-picker.c:
6067 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6068 to use the deprecated support. We will update the other deprecated
6069 widgets status in a new patch.
6071 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6073 * configure.ac: Fixed typo with fatal warnings support, the
6074 variable name was not correct
6076 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6078 * src/hildon-app-menu.c
6079 * src/hildon-program.c: Update documentation.
6081 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6083 * configure.ac: Post-release version bump.
6085 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6090 * configure.ac: Pre-release version bump.
6091 * debian/changelog: Updates.
6093 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6095 * NEWS: Update news for previous releases.
6097 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6099 * examples/hildon-touch-selector-multi-cells-example.c:
6100 (create_selector): Update the example to use
6101 hildon_touch_selector_append_column() with a NULL renderer and set
6102 the renderers later.
6103 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6104 passed a NULL renderer. This is documented behavior now.
6106 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6107 This must be used if the developer wants full control on the layout of
6108 the renderers to be added to the column.
6110 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6112 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6114 * src/hildon-touch-selector.c: Documentation fixes.
6116 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6118 * src/hildon-wizard-dialog-private.h: Remove image and box.
6119 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6120 (hildon_wizard_dialog_set_property), (response): Completely remove
6121 image/icon support, and the containers required for the layout.
6123 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6125 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6127 * src/hildon-app-menu.c: Updated documentation.
6129 * src/hildon-stackable-window.c
6130 (hildon_stackable_window_set_main_menu): Unref the old menu after
6131 ref'ing the new one.
6133 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6135 * src/hildon-stackable-window.c
6136 (hildon_stackable_window_set_main_menu): Unref the previous menu
6137 instead of destroying it.
6139 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6140 floating reference and set has_user_ref_count to FALSE to make
6141 HildonAppMenu act like a normal ref-counted widget and not a
6144 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6147 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6149 * src/hildon-touch-selector-column.h: new file
6150 * src/hildon-touch-selector.h
6151 * src/hildon-touch-selector.c
6152 Implemented GtkCellLayout interface, in order to allow to configure
6153 the cell layout on each individual selector column
6154 (hildon_touch_selector_set_column_attributes): marked as deprecated
6155 * examples/hildon-touch-selector-multi-cells-example.c
6156 Example of how to use the GtkCellLayout interface on the selector
6158 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6160 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6162 * src/hildon-app-menu.h
6163 * src/hildon-app-menu.c
6164 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6165 (hildon_app_menu_append, hildon_app_menu_prepend):
6166 New methods to prepend, insert and move items in the menu.
6168 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6170 * src/hildon-wizard-dialog.c:
6172 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6174 (create_title): Update logical IDs and related code.
6175 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6177 * src/hildon-wizard-dialog.h: Note that
6178 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6179 point, as it is not used anymore.
6181 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6183 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6185 * src/hildon-note.c:
6186 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6187 shown. Do not display an icon in confirmation notes nor information
6189 (hildon_note_set_button_text): Update logical ID for cancel button.
6191 Fixes: NB#88850 (Update HildonNote button strings + signals)
6193 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6195 * src/hildon-stackable-window.c
6196 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6198 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6200 * src/hildon-app-menu-private.h
6201 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6202 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6203 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6204 temporary property 'columns' to change the number of columns.
6206 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6208 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6210 * examples/hildon-note-example.c: (on_information_clicked),
6211 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6212 debugging information.
6213 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6215 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6216 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6217 in order to close: this will be handled by the WM from now on.
6219 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6221 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6223 * src/hildon-app-menu-private.h
6224 * src/hildon-app-menu.c
6225 (hildon_app_menu_append, hildon_app_menu_add_filter)
6226 (button_visibility_changed, hildon_app_menu_apply_style)
6227 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6228 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6229 layout everytime a button (item or filter) is shown or hidden.
6231 * src/hildon-stackable-window.c
6232 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6235 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6237 * src/hildon-touch-selector.c:
6238 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6239 that the treeview inside the touch selector is in fremantle hildon mode
6240 * examples/hildon-date-button-example.c
6241 * examples/hildon-picker-button-multicolumn-example.c
6242 * examples/hildon-touch-selector-entry-example.c
6243 * examples/hildon-touch-selector-example.c
6244 * examples/hildon-time-button-example.c
6245 * examples/hildon-picker-button-example.c:
6246 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6248 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6250 * examples/hildon-text-view-example.c: (main): Remove the
6251 gtkrc bits, now handled by the theme.
6253 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6255 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6258 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6260 * po/Makefile.am: Install properly the mo files.
6261 * po/en_GB.po: Update translation, to ease testing purposes.
6263 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6265 * examples/hildon-picker-button-example.c: (main): Select an item
6266 in the selector before setting it to the button.
6268 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6270 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6271 Update button's value if the selector has an item active.
6273 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6274 'value' with the selector)
6276 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6278 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6279 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6280 (hildon_picker_button_class_init): Plug the finalize method.
6281 (hildon_picker_button_set_selector): If there's a previously set
6282 selector, unref'it before setting a new one.
6284 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6285 HildonTouchSelector)
6287 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6289 * src/hildon-touch-selector-entry.c:
6290 (hildon_touch_selector_entry_changed): Check if there is no text
6291 selected before setting the entry text.
6294 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-touch-selector.h
6297 * src/hildon-touch-selector.c
6298 (hildon_touch_selector_get_active)
6299 (hildon_touch_selector_set_active): New methods to set/get the
6300 index of the selected item.
6302 * src/hildon-picker-button.h
6303 * src/hildon-picker-button.c
6304 (hildon_picker_button_get_active)
6305 (hildon_picker_button_set_active): New methods to set/get the
6306 index of the selected item.
6308 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6310 * configure.ac: post-release version bump.
6312 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6316 * configure.ac: Pre-release version bump.
6317 * debian/changelog: Updates.
6318 * debian/control: Add myself as maintainer and depend on l10n
6321 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6323 * src/hildon-window.c
6324 (hildon_window_set_main_menu)
6325 * src/hildon-stackable-window.c
6326 (hildon_stackable_window_set_main_menu):
6327 Updated documentation.
6329 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6331 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6332 Don't free selector->priv manually.
6335 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6338 (hildon_gtk_window_set_progress_indicator):
6339 * src/hildon-gtk.h: Added the new API
6340 hildon_gtk_window_set_progress_indicator, it changes the state of
6341 the window progress hint.
6343 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6345 * src/hildon-button.c
6346 * src/hildon-stackable-window.c: Minor documentation updates.
6348 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6350 * src/hildon-stackable-window.c: Updated documentation.
6352 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6354 * src/hildon-defines.h: Update margins definitions
6355 to the Fremantle sizes.
6358 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6360 * src/hildon-touch-selector.c,
6361 (_hildon_touch_selector_set_model): Cleaning the code after
6362 review, removed g_print and #if 0 from the code.
6364 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-edit-toolbar.c: Update documentation.
6368 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6370 * src/hildon-check-button.h
6371 * src/hildon-check-button.c
6372 (hildon_check_button_set_label, hildon_check_button_get_label)
6373 * examples/hildon-check-button-example.c
6374 (button_clicked_cb):
6375 Removed deprecated methods.
6377 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6379 * src/hildon-text-view.c:
6380 Add sample code to the documentation.
6382 * src/hildon-entry.h
6383 * src/hildon-text-view.h:
6384 Minor cosmetic changes.
6386 * src/hildon-entry.c:
6387 Add sample code to the documentation.
6388 (hildon_entry_init, hildon_entry_refresh_contents):
6389 Don't allow NULL values in the placeholder.
6391 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6393 * doc/hildon-docs.sgml
6395 * examples/Makefile.am
6396 * examples/hildon-text-view-example.c
6398 * src/hildon-text-view.c
6399 * src/hildon-text-view.h
6401 New HildonTextView widget, with example.
6403 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6405 * po/POTFILES.in: Add missing files with translatable strings.
6406 Partially fixes NB#88287.
6408 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6410 * examples/hildon-pannable-area-example-2.c: (main): No need to
6411 set the cellrenderer height inside hildon touch lists, the theme does
6414 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6416 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6417 they are integrated in the theme.
6419 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6421 * examples/hildon-entry-example.c: Update the example adding
6422 widgets to modify the text and the placeholder of the HildonEntry.
6424 * src/hildon-entry.c: Show the placeholder everytime the widget
6425 is empty and loses the focus.
6427 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6429 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6431 * src/hildon-pannable-area.c,
6432 (hildon_pannable_area_size_request): Fixed bug in height
6433 requisition, avoid increasing size and add border twice.
6435 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6437 * configure.ac: postrelease version bump.
6439 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6443 * configure.ac: Prerelease version bump.
6444 * debian/changelog: update.
6445 * debian/rules: make -dbg package contain useful debugging symbols.
6447 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6449 * src/hildon-dialog.h
6450 * src/hildon-dialog.c
6451 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6452 New methods to add buttons with finger size.
6453 (hildon_dialog_new_with_buttons):
6454 Create buttons with finger size.
6456 * examples/hildon-dialog-example.c (main): Use HildonDialog
6457 methods to add buttons.
6459 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6461 * src/hildon-entry.c: Updated HildonButton documentation.
6463 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6465 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6466 button value label with (FALSE, FALSE) to prevent NB#88126 from
6469 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6471 * examples/hildon-pannable-area-example.c,
6472 (main): Removed examples panning a vbox inside a pannable
6473 area. Check bug NB#87965
6475 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6477 Patch contributed by Kris Rietveld (kris@imendio.com)
6479 * src/hildon-pannable-area.c,
6480 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6481 get_size and get_position, this saves an X server roundtrip.
6483 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6485 * doc/hildon-docs.sgml
6487 * examples/Makefile.am
6488 * examples/hildon-entry-example.c
6490 * src/hildon-entry.c
6491 * src/hildon-entry.h
6493 New HildonEntry widget, with example.
6495 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6497 * src/hildon-button.c (hildon_button_construct_child): Pack the
6498 image with expand == fill == FALSE. This is a workaround for a bug
6501 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6503 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6504 labels for the text column, to make it more look more dynamic.
6506 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6508 * src/hildon-time-selector.c
6509 Define gettext auxiliar macro N_
6510 (_create_minutes_model)
6511 (_create_hours_model)
6512 (_create_ampm_model): use of strftime in order to fill the model
6513 * src/hildon-date-selector.c
6514 (hildon_date_selector_finalize):
6515 (_locales_init): remove the logic related to get the name of the months
6516 using nl_langinfo, as it is not required anymore
6518 (_create_year_model)
6519 (_create_month_model)
6520 (_update_day_model): use of strftime in order to fill the model properly
6523 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6525 * src/hildon-button.h
6526 * src/hildon-button.c (hildon_button_get_image): New method to
6529 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6531 * src/hildon-touch-selector.c:
6532 (hildon_touch_selector_remove_column): Remove from the correct parent
6533 and also remove the list element and free it.
6536 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6538 * src/hildon-time-selector.c
6539 (_create_hours_model): change the range on 12h ampm format in order to use
6540 a 12-11 range instead of previous 01-12 range
6541 (hildon_time_selector_set_time): change the way to select the current time
6542 on 12h ampm format, due the change on the range
6543 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6546 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6548 * src/hildon-touch-selector.c
6549 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6550 in order to allow use this function on multiple row selection mode if
6551 the column is different that the first one
6554 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6556 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6557 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6559 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6561 * src/hildon-date-selector.h: clean some comments, now on the .c
6562 * src/hildon-date-selector.c
6563 (hildon_date_selector_select_month): first implementation
6564 (hildon_date_selector_select_day): added documentation, reimplemented
6565 using hildon_date_selector_select_current_date to avoid repeat code
6568 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6570 Reviewed interaction logic based on device experiences, refactored
6573 * src/hildon-pannable-area.c,
6574 (hildon_pannable_area_class_init): Updated default vmax speed.
6575 (hildon_pannable_area_calculate_velocity): Added this function, it
6576 avoids duplicate valocity calculation. Adjusted calculation to
6577 avoid problems with zero dist events.
6579 (hildon_pannable_area_motion_notify_cb): Now we use the
6580 calculate_velocity function.
6582 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6584 * src/hildon-date-selector.c
6585 (hildon_date_selector_select_current_date): fix the day range check
6586 as it failed using the last day of the current month
6589 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6591 * src/hildon-touch-selector.c
6592 (hildon_touch_selector_get_num_columns): added a parameter validation
6595 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6597 * examples/Makefile.am
6598 * examples/hildon-edit-toolbar-example.c: Example of the
6599 HildonEditToolbar widget.
6601 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6603 * configure.ac: postrelease version bump.
6605 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6609 * configure.ac: prerelease version bump.
6610 * debian/changelog: update.
6612 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6614 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6615 renderer to display stock icons in the touch list. Also, set the sizes
6616 to the recommended in the style guide.
6618 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6619 * src/hildon-touch-selector.h
6620 (hildon_touch_selector_set_active_iter): renamed, now is
6621 hildon_touch_selector_select_iter
6622 (hildon_touch_selector_get_active_iter): renamed, now is
6623 hildon_touch_selector_get_selected
6624 (hildon_touch_selector_unselect_iter): added
6625 * src/hildon-touch-selector.c
6626 Update after API modification (methods renamed)
6627 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6628 order to avoid problems selecting multiple elements on the column
6629 (hildon_touch_selector_unselect_iter): added the implementation
6630 * src/hildon-time-selector.c
6631 * src/hildon-date-selector.c
6632 * src/hildon-touch-selector-entry.c
6633 Update methods calls after hildon-touch-selector.h API modification (methods
6636 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6638 * src/hildon-stackable-window.c
6639 (hildon_stackable_window_finalize): Call the parent class's finalize.
6641 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6643 * examples/hildon-touch-selector-example.c: (create_selector): Use
6644 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6647 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6649 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6650 set a cell background color, to respect theming.
6652 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6654 * doc/hildon-docs.sgml
6657 * src/hildon-edit-toolbar.c
6658 * src/hildon-edit-toolbar.h
6659 * src/hildon.h: New HildonEditToolbar widget.
6661 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6663 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6666 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6667 * src/hildon-touch-selector.c
6668 (_create_new_column): use g_object_set instead of two g_object_set_property
6670 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6671 * src/hildon-touch-selector.c
6672 (_create_new_column): use of hildon_gtk_tree_view_new to create
6673 the treeview, instead of use directly g_object_new
6674 (_create_new_column): update the property name "vindicator-mode" for the
6675 new one "vscrollbar-policy"
6676 * examples/hildon-date-button-example.c
6677 * examples/hildon-picker-button-multicolumn-example.c
6678 * examples/hildon-touch-selector-entry-example.c
6679 * examples/hildon-touch-selector-example.c
6680 * examples/hildon-time-button-example.c
6681 * examples/hildon-picker-button-example.c
6682 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6683 to all the treeviews inside a pannable area.
6685 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6687 * src/hildon-button.h
6688 * src/hildon-button.c (hildon_button_init)
6689 (hildon_button_set_arrangement, hildon_button_set_alignment)
6690 (hildon_button_set_title_alignment)
6691 (hildon_button_set_value_alignment)
6692 (hildon_button_set_image_alignment)
6693 (hildon_button_construct_child): New methods to set the alignment
6694 of the individual components of the button (title, value,
6695 image). Also, new method to alter the xscale and yscale properties
6696 of the GtkAlignment inside the button, so more complex layouts can
6699 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6701 * src/hildon-button.c (hildon_button_style_set)
6702 (hildon_button_class_init, hildon_button_set_arrangement)
6703 (hildon_button_construct_child): Apply style properties
6704 correctly. Use the 'image-spacing' style property too.
6706 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6708 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6709 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6712 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6714 * src/hildon-pannable-area.c,
6715 (hildon_pannable_area_size_request): Fixed problem with
6716 pannable-area size_request.
6718 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6720 Added management for the grab-focus to a child widget, like a
6721 range, we need to fade out the scrollbar when releasing.
6723 * src/hildon-pannable-area.c,
6724 (hildon_pannable_area_init): Connected the grab-focus signal to
6726 (hildon_pannable_area_grab_notify): Added this function in order
6727 to manage the situation when the grab-focus ends. We have to
6728 fade-out the scrollbar.
6730 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6732 * src/hildon-app-menu.c: Minor documentation update.
6734 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6736 * src/hildon-app-menu.c
6737 * examples/hildon-app-menu-example.c (create_menu): Update
6738 examples and documentation to explain how to connect callbacks.
6740 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6742 * examples/hildon-button-example.c
6743 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6744 hildon_stackable_window_new instead of gtk_window_new
6746 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6748 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6749 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6750 (hildon_pannable_area_set_property),
6751 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6752 (hildon_pannable_area_unrealize),
6753 (hildon_pannable_area_size_request),
6754 (hildon_pannable_area_size_allocate),
6755 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6756 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6757 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6758 (hildon_pannable_area_initial_effect),
6759 (hildon_pannable_area_redraw),
6760 (hildon_pannable_area_scroll_indicator_fade),
6761 (hildon_pannable_area_expose_event),
6762 (hildon_pannable_area_get_topmost), (synth_crossing),
6763 (hildon_pannable_area_button_press_cb),
6764 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6765 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6766 (hildon_pannable_area_motion_notify_cb),
6767 (hildon_pannable_area_button_release_cb),
6768 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6769 (hildon_pannable_area_remove),
6770 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6771 chage the code layout to a more GtkWidget like. Review the use of
6774 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6776 * examples/hildon-pannable-area-example-4.c,
6777 (main): Modified the name of the hindicator_mode to
6780 * src/hildon-pannable-area.c,
6781 (hildon_pannable_area_class_init),
6782 (hildon_pannable_area_motion_notify_cb),
6783 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6784 we have reduced the amount of signals and managed reviewed its
6785 rationale. Changed the default decelerate value.
6787 (hildon_pannable_area_add),
6788 (hildon_pannable_area_redraw): Refactored functions.
6790 (hildon_pannable_area_init),
6791 (hildon_pannable_area_get_property),
6792 (hildon_pannable_area_set_property):
6793 (hildon_pannable_draw_vscroll),
6794 (hildon_pannable_draw_hscroll),
6795 (hildon_pannable_area_initial_effect),
6796 (hildon_pannable_area_expose_event),
6797 (hildon_pannable_area_scroll),
6798 (hildon_pannable_area_button_press_cb),
6799 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6800 and vindicator_mode with hscrollbar_policy and
6801 vscrollbar_policy. Replaced hscroll and vscroll with
6802 hscroll_visible and vscroll_visible.
6804 (hildon_pannable_area_refresh): Refactor the function, remove
6805 variables and check the calls to this function, added resize
6806 conditions in case the children change their layout.
6808 (hildon_pannable_area_size_request): Added more detailed
6809 size_request calculation.
6812 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6814 * src/hildon-color-chooser.c
6815 (init_borders): use the correct gtk_border_free instead of g_free, to
6816 avoid a crash when this widget is used (ie: the three color selection
6819 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6821 * src/hildon-check-button.c,
6822 (hildon_check_button_set_active): Fixed problem when setting the
6823 active value, the widget was not redrawn.
6825 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6827 * src/hildon-pannable-area.c,
6828 (hildon_pannable_area_refresh),
6829 (hildon_pannable_area_scroll),
6830 (hildon_pannable_area_motion_notify_cb): Small code style change.
6832 (hildon_pannable_area_class_init): Default initial_hint set to
6833 FALSE, it is not in the specs.
6835 (hildon_pannable_area_initial_effect),
6836 (hildon_pannable_area_expose_event),
6837 (hildon_pannable_area_map),
6838 (hildon_pannable_area_init): Moved the launching point of the
6839 initial effect, it was in map but the sizes where not correct in
6840 that method so we do not know if we have the reproduce it. Now it
6841 is placed in the expose_event method and uses a variable to
6842 reproduce it just once.
6844 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6846 * src/hildon-pannable-area.c,
6847 (hildon_pannable_draw_vscroll),
6848 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6849 position allowed for the scrollbars.
6851 (hildon_pannable_area_size_allocate): Small style change.
6853 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6855 * src/hildon-pannable-area.c,
6856 (hildon_pannable_area_scroll_indicator_fade),
6857 (hildon_pannable_area_button_press_cb),
6858 (hildon_pannable_area_button_release_cb),
6859 (hildon_pannable_area_scroll_cb),
6860 (hildon_pannable_area_expose_event),
6861 (hildon_pannable_area_init): Added the define parameter
6862 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6863 and refactor the fade variable.
6865 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6867 * src/hildon-pannable-area.c,
6868 (hildon_pannable_area_redraw),
6869 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6870 lines, we were reimplemeting the redraw code.
6872 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6874 * src/hildon-pannable-area.c,
6875 (hildon_pannable_area_scroll_cb),
6876 (hildon_pannable_area_realize),
6877 (hildon_pannable_area_class_init): Added scroll_event management
6878 for pannable area, now we can scroll the usual desktop method.
6880 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6881 initialization of the parameters should depend on idle_id.
6883 (hildon_pannable_area_init),
6884 (hildon_pannable_area_map): Small code style modifications
6886 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6888 * src/hildon-pannable-area.c
6889 (hildon_pannable_area_button_press_cb),
6890 (hildon_pannable_area_motion_notify_cb),
6891 (hildon_pannable_area_button_release_cb),
6892 (hildon_pannable_area_size_allocate),
6893 (hildon_pannable_area_scroll_to): Improved the timeouts
6894 management, we avoid creating them each time.
6896 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6898 * src/hildon-pannable-area.c:
6899 (hildon_pannable_area_refresh),
6900 (hildon_pannable_area_motion_notify_cb),
6901 (hildon_pannable_area_class_init):
6902 * src/hildon-pannable-area.h:
6903 * src/hildon-touch-selector.c
6904 (_create_new_column):
6905 * examples/hildon-pannable-area-example-4.c:
6906 (horizontal_movement),
6907 (vertical_movement),
6909 Replaced the names of enums in the HildonPannableArea:
6910 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6911 HILDON_MOVEMENT_MODE_*
6912 - HILDON_PANNABLE_AREA_MOV_* ->
6914 - Removed HildonPannableAreaIndicatorMode, now we
6917 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6919 * examples/hildon-pannable-area-touch-grid-example.c
6920 * examples/hildon-pannable-area-touch-list-example.c: Fix
6921 compilation warnings.
6923 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6925 * src/hildon-gtk.c (hildon_gtk_button_new)
6926 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6927 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6928 images overriding the value of the "gtk-button-images" setting.
6930 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6932 * src/hildon-check-button.c (hildon_check_button_new):
6933 Instead of using a custom container, display the label and the
6934 checkbox using the standard GtkButton API.
6936 * examples/hildon-check-button-example.c (main): Don't use
6937 hildon_check_button_set_label() anymore
6939 * src/hildon-check-button.h
6940 * src/hildon-check-button.c
6941 (hildon_check_button_set_label, hildon_check_button_get_label):
6942 Set as deprecated, now we're using gtk_button_{get,set}_label()
6944 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6946 * src/hildon-pannable-area.c,
6947 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6948 GtkTreeview first line we detected it after the inclusion of the
6949 GtkWindowImpl in gtk+. We now check if the window is visible, not
6950 just if the pointer is over the window.
6951 (hildon_pannable_axis_scroll),
6952 (hildon_pannable_area_expose_event): Small style changes.
6954 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6956 * src/hildon-button.c: Update documentation.
6958 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6960 * examples/hildon-button-example.c: Add a switch to show images in
6963 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6965 * doc/hildon-docs.sgml: Some docs reorganization.
6967 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6969 * examples/hildon-pannable-area-touch-list-example.c
6971 * examples/hildon-pannable-area-touch-grid-example.c
6972 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6973 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6974 Fix memory leak when setting the tree model.
6976 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6980 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6982 * doc/hildon.types: Remove duplicated hildon_window_get_type
6983 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6984 documentation comment.
6986 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6988 * doc/Makefile.am: Complete list of private headers.
6990 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6992 * doc/hildon-docs.sgml
6993 * src/hildon-app-menu.c
6994 * src/hildon-bread-crumb.c
6995 * src/hildon-button.c
6997 * src/hildon-program.c
6998 * src/hildon-stackable-window.c
6999 * src/hildon-window.c: Lots of documentation updates.
7001 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7003 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7005 * configure.ac: Require Gtk+ 2.12.9 at least
7007 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7009 * src/hildon-pannable-area.c
7010 (hildon_pannable_area_scroll_indicator_fade),
7011 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7012 to protect the return of this timeout callbacks, avoiding deadlocks.
7014 2008-08-12 Christian Dywan <christian@imendio.com>
7017 * src/hildon-*.h: Ensure a consistent include order,
7018 include <gtk/gtk.h> instead of particular files and
7019 only include the topmost header in the gtk stack. See NB #39857
7021 2008-08-12 Christian Dywan <christian@imendio.com>
7023 * src/hildon-picker-dialog.c
7024 * src/hildon-touch-selector.c: Fix warnings about unused and
7025 uninitialized variables.
7027 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7029 * examples/Makefile.am
7030 * examples/hildon-check-button-example.c: Example of the hildon
7033 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7035 * src/hildon-window.h
7036 * src/hildon-window.c (hildon_window_class_init)
7037 (hildon_window_unset_program): Don't make
7038 hildon_window_unset_program a virtual function anymore.
7040 * src/hildon-stackable-window.c: Update documentation
7042 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7045 * doc/hildon-docs.sgml
7046 * doc/visual_index.xml
7047 * src/hildon-defines.c
7049 * src/hildon-helper.c
7050 * src/hildon-range-editor.c: Lots of documentation fixes.
7052 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7054 * examples/hildon-picker-button-multicolumn-example.c
7055 (create_touch_selector): Fix compilation warning.
7057 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7059 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7060 (hildon_pannable_area_button_release_cb)
7061 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7063 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7065 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7068 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7070 * src/hildon-bread-crumb-trail.h
7071 * src/hildon-date-editor.c
7072 * src/hildon-date-selector.c
7073 * src/hildon-pannable-area.c
7074 * src/hildon-picker-dialog.c
7075 * src/hildon-time-selector.c
7076 * src/hildon-touch-selector-entry.c
7077 * src/hildon-touch-selector.c
7078 * src/hildon-touch-selector.h: Misc documentation fixes
7080 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7082 * examples/hildon-date-editor-example.c (main): Updated date
7085 * examples/hildon-note-example.c (on_confirmation_clicked):
7086 Updated confirmation note example.
7088 * src/hildon-date-editor.c
7089 * src/hildon-note.c: Updated sample programs in documentation.
7092 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7094 * src/hildon-date-button.h:
7095 * src/hildon-picker-button.h:
7096 * src/hildon-time-button.c:
7097 * src/hildon-time-button.h:
7099 Some declarations changes to allow gtk-doc to document the widgets
7102 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7104 * src/hildon-date-button.c: Document the widget.
7105 * src/hildon-time-button.c: Document the widget.
7107 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7109 * src/hildon-picker-button.c: Document the widget.
7110 * src/hildon-touch-selector-entry.c: Document the widget.
7112 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7114 * doc/hildon-docs.sgml
7117 * src/hildon-check-button.h
7118 * src/hildon-check-button.c: New functions to create the Hildon
7122 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7124 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7126 * src/hildon-button.h
7127 * src/hildon-button.c
7128 (hildon_button_add_title_size_group)
7129 (hildon_button_add_value_size_group)
7130 (hildon_button_add_image_size_group)
7131 (hildon_button_add_size_groups): New functions to set size groups
7132 for the button labels and image.
7133 (hildon_button_new_full): Removed
7135 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7137 * src/hildon-time-selector.c
7138 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7139 in order to avoid a crash if gconf is not available
7141 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7143 * src/hildon-button.c (hildon_button_set_arrangement)
7144 (hildon_button_construct_child): Don't construct the button child
7145 before setting the arrangement.
7147 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7149 * src/hildon-program-private.h
7150 * src/hildon-program.c
7151 * src/hildon-program.h
7152 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7153 (hildon_program_peek_window_stack)
7154 (hildon_program_pop_window_stack)
7155 (hildon_program_go_to_root_window): HildonProgram now has a
7156 separate list for stackable windows. Functions are provided to
7157 manage that list with a stack-like API.
7159 * src/hildon-stackable-window.c: Stackable window management is
7160 now much simpler with the new HildonProgram API. Windows no
7161 longer need to be manually added to the program, they're
7162 automatically pushed to the top of the stack when shown.
7164 * examples/hildon-stackable-window-example.c: Updated example to
7165 reflect the API changes.
7167 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7169 * src/hildon-touch-selector.c: Comment out unimplemented
7170 hildon_touch_selector_insert_column() to avoid a compile warning.
7172 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7174 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7175 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7176 (hildon_touch_selector_set_column_selection_mode),
7177 (_hildon_touch_selector_set_model),
7178 (hildon_touch_selector_set_model):
7180 Complete review of HildonTouchSelector documentation.
7182 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7184 * doc/hildon-docs.sgml
7188 * src/hildon-gtk.c: Convenience functions for standard Gtk
7189 widgets, used to easily perform frequent operations.
7191 * src/hildon-button-helpers.h
7192 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7194 * src/hildon-helper.h
7195 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7196 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7198 * src/hildon-button.h
7199 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7201 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7203 * src/hildon-button.c (hildon_button_init)
7204 (hildon_button_set_arrangement, hildon_button_construct_child):
7205 Pack the image and the labels inside the same GtkAlignment so
7206 gtk_button_set_alignment() can be used
7208 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7210 * src/hildon-button.h
7211 * src/hildon-button.c
7212 (hildon_button_init, hildon_button_set_image)
7213 (hildon_button_set_image_position)
7214 (hildon_button_construct_child): New functions to add an image to
7217 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7219 * src/hildon-date-button.c
7220 * src/hildon-picker-button.c
7221 * src/hildon-time-button.c
7222 * src/hildon-button.c:
7223 (hildon_button_class_init): "size-flags" renamed to "size"
7224 (hildon_button_set_title): Hide the title label if set to NULL.
7226 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7228 HildonButtonFlags split into HildonButtonArrangement (to set the
7229 button layout) and HildonSizeType (which can be used for any
7232 * src/hildon-button.h
7233 * src/hildon-button.c
7234 (hildon_button_class_init)
7235 (hildon_button_set_arrangement)
7236 (hildon_button_set_property): New "size-flags"
7237 property. "arrangement-flags" renamed to "arrangement".
7238 (hildon_button_new, hildon_button_new_with_text)
7239 (hildon_button_new_full): Constructors updated to reflect type changes.
7241 * src/hildon-helper.h
7242 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7243 to set the size of a widget.
7247 * src/hildon-button-helpers.c
7248 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7250 * src/hildon-date-button.c
7251 * src/hildon-date-button.h
7252 * src/hildon-picker-button.c
7253 * src/hildon-picker-button.h
7254 * src/hildon-time-button.c
7255 * src/hildon-time-button.h: Updated widgets to reflect
7256 HildonButton API changes.
7258 * examples/hildon-button-example.c
7259 * examples/hildon-date-button-example.c
7260 * examples/hildon-picker-button-example.c
7261 * examples/hildon-picker-button-multicolumn-example.c
7262 * examples/hildon-time-button-example.c
7263 * examples/hildon-touch-selector-entry-example.c
7264 * examples/hildon-touch-selector-example.c: Updated examples to
7265 reflect HildonButton API changes.
7267 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7269 * doc/hildon-docs.sgml:
7271 * examples/Makefile.am:
7272 * examples/hildon-touch-selector-entry-example.c:
7274 * src/hildon-touch-selector-entry.c:
7275 * src/hildon-touch-selector-entry.h:
7278 Moved HildonTouchSelectorEntry from sandbox. Added its
7279 documentation and examples.
7281 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7283 * src/hildon-touch-selector.h:
7284 * examples/hildon-picker-button-multicolumn-example.c:
7285 (hildon_touch_selector_append_text_column): Add a gboolean
7286 parameter to determine if text must be centered in the column.
7288 * src/hildon-date-selector.c: (hildon_date_selector_init):
7289 * src/hildon-time-selector.c: (hildon_time_selector_init):
7290 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7291 (create_touch_selector): Update widgets and example to reflect
7294 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7296 * src/hildon-touch-selector.c:
7297 (hildon_touch_selector_set_active_iter): Set also the cursor in
7300 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7302 * doc/hildon-docs.sgml
7305 * src/hildon-toggle-button.c
7306 * src/hildon-toggle-button.h
7307 * src/hildon.h: Removed HildonToggleButton widget, a derived
7308 class is not necessary for this.
7310 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7312 * src/hildon-pannable-area.c,
7313 (hildon_pannable_area_realize),
7314 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7317 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7319 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7320 "done" button the default widget for the dialog.
7322 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7324 * src/hildon-touch-selector.c:
7325 (hildon_touch_selector_class_init),
7326 (hildon_touch_selector_get_property),
7327 (_hildon_touch_selector_set_model),
7328 (_hildon_touch_selector_has_multiple_selection),
7329 (hildon_touch_selector_has_multiple_selection):
7330 Add a "has-multiple-selection" property with a virtual
7331 has_multiple_selection() method to allow derived classes to
7332 override the default value for it. See the method and property
7333 documentation for details.
7335 * src/hildon-touch-selector.h: Add the new API.
7337 * src/hildon-picker-dialog.c: (requires_done_button): Call
7338 hildon_touch_selector_has_multiple_selection() instead of
7339 determining the need for a button itself.
7341 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7343 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7344 (_hildon_touch_selector_set_model),
7345 (hildon_touch_selector_set_model): Move working code to
7346 _hildon_touch_selector_set_mode(). Call the class method instead.
7348 * src/hildon-touch-selector.h: Add (*set_model) to
7349 HildonTouchSelectorClass.
7351 Make hildon_touch_selector_set_model() a virtual method, so that
7352 derived classes can extend it and do fancy stuff with the model.
7354 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7356 * configure.ac: Set back the tarname in AC_INIT to hildon.
7358 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7362 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7363 instead of libesd (NB#86876). Volume handling is still an open issue.
7365 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7368 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7370 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7371 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7372 derived class to ease placement of an entry widget in
7373 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7374 end, where the selector columns are packed now.
7376 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7378 * src/hildon-picker-button.c: Removed the simple _text() API.
7379 * src/hildon-picker-button.h: Likewise.
7381 * src/hildon-touch-selector.h:
7382 * src/hildon-touch-selector.c:
7383 (hildon_touch_selector_new_text),
7384 (hildon_touch_selector_append_text),
7385 (hildon_touch_selector_prepend_text),
7386 (hildon_touch_selector_insert_text):
7388 Moved the simple _text() API from HildonPickerButton to
7389 HildonTouchPicker, to provide better escalability and not to tie
7390 that API to HildonPickerButton.
7392 * examples/hildon-picker-button-example.c: (main): Example updated.
7394 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7396 * src/hildon-button.c: Updated documentation.
7398 * examples/hildon-button-example.c: Add the posibility to create
7399 the buttons using horizontal layout for title and value.
7401 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7403 * src/hildon-app-menu-private.h
7404 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7405 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7406 GtkSizeGroup for the filters, use the 'homogeneous' property of
7409 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7411 * examples/hildon-button-example.c: Updated example.
7413 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7415 * doc/hildon-docs.sgml:
7418 Update documentation.
7420 * examples/Makefile.am: Update renamed examples.
7422 * examples/hildon-picker-button-multicolumn-example.c:
7423 (create_touch_selector), (main): Update after the rename.
7425 * examples/hildon-touch-picker-example.c: Removed.
7426 * examples/hildon-touch-selector-example.c: (value_changed),
7427 (create_selector), (get_visible_content), (main): Renamed from
7428 hildon-touch-picker-example.c
7430 * src/Makefile.am: Updated renamed files.
7432 * src/hildon-date-button.c: (hildon_date_button_init),
7433 (hildon_date_button_get_date), (hildon_date_button_set_date):
7434 * src/hildon-date-selector.c: (hildon_date_selector_init),
7435 (_custom_print_func), (_update_day_model),
7436 (_manage_selector_change_cb),
7437 (hildon_date_selector_select_current_date),
7438 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7439 * src/hildon-date-selector.h:
7440 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7441 (hildon_picker_button_set_property),
7442 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7443 (hildon_picker_button_init), (hildon_picker_button_new_text),
7444 (hildon_picker_button_append_text),
7445 (hildon_picker_button_prepend_text),
7446 (hildon_picker_button_insert_text),
7447 (hildon_picker_button_set_selector),
7448 (hildon_picker_button_get_selector):
7449 * src/hildon-picker-button.h:
7450 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7451 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7452 (_update_title_on_selector_changed_cb), (requires_done_button),
7453 (_hildon_picker_dialog_set_selector),
7454 (hildon_picker_dialog_set_selector),
7455 (hildon_picker_dialog_get_selector):
7456 * src/hildon-picker-dialog.h:
7457 * src/hildon-time-button.c: (hildon_time_button_init),
7458 (hildon_time_button_get_time), (hildon_time_button_set_time):
7459 * src/hildon-time-selector.c: (hildon_time_selector_init),
7460 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7461 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7462 * src/hildon-time-selector.h:
7465 Massive code updates after the rename.
7467 * src/hildon-touch-picker.c: Removed.
7468 * src/hildon-touch-picker.h: Removed.
7470 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7471 (hildon_touch_selector_init), (hildon_touch_selector_map),
7472 (hildon_touch_selector_remove), (_default_print_func),
7473 (_selection_changed_cb), (_create_new_column),
7474 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7475 (hildon_touch_selector_append_text_column),
7476 (hildon_touch_selector_remove_column),
7477 (hildon_touch_selector_set_column_attributes),
7478 (hildon_touch_selector_insert_column),
7479 (hildon_touch_selector_get_num_columns),
7480 (hildon_touch_selector_get_column_selection_mode),
7481 (hildon_touch_selector_set_column_selection_mode),
7482 (hildon_touch_selector_set_print_func),
7483 (hildon_touch_selector_get_print_func),
7484 (hildon_touch_selector_get_active_iter),
7485 (hildon_touch_selector_set_active_iter),
7486 (hildon_touch_selector_get_selected_rows),
7487 (hildon_touch_selector_get_model),
7488 (hildon_touch_selector_set_model),
7489 (hildon_touch_selector_get_current_text),
7490 (_hildon_touch_selector_center_on_selected_items):
7491 * src/hildon-touch-selector.h: Renamed from
7492 hildon-touch-picker.[ch]
7494 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7495 references, code examples, and related documentation.
7497 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7499 * doc/hildon-docs.sgml
7502 * src/hildon-toggle-button.c
7503 * src/hildon-toggle-button.h
7504 * src/hildon.h: New HildonToggleButton widget.
7506 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7508 * src/hildon-button.c: Add API documentation.
7509 (hildon_button_set_size_groups): Check input parameters
7511 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7513 * src/hildon-pannable-area.c
7514 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7515 effect after reaching the movement thredshold. This way we start
7516 using the distance after passing the thredshold.
7518 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7520 * src/hildon-button.c: (hildon_button_set_property): Use the
7521 appropriate g_value_get_flags() method.
7523 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7525 * doc/hildon-docs.sgml:
7528 Add the touch pickers, picker dialogs, and picker button widgets
7529 to the documentation.
7531 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7533 * src/hildon-button.c: (hildon_button_set_property),
7534 (hildon_button_class_init): Make "arrangement-flags" a proper
7535 G_TYPE_FLAGS derived property.
7537 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7539 * examples/Makefile.am: Add below examples.
7540 * examples/hildon-date-button-example.c:
7541 * examples/hildon-picker-button-example.c:
7542 * examples/hildon-picker-button-multicolumn-example.c:
7543 * examples/hildon-time-button-example.c:
7544 * examples/hildon-touch-picker-example.c:
7546 Add examples for the recently added touch pickers,
7547 picker dialogs, and picker button widgets.
7549 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7551 * src/hildon-button.c: Add some API documentation
7553 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7555 * src/hildon-button.h
7556 * src/hildon-button.c
7558 (hildon_button_new_with_text): New constructor to create a button
7559 with no text at all.
7560 (hildon_button_init, hildon_button_set_arrangement)
7561 (hildon_button_set_title, hildon_button_set_value)
7562 (hildon_button_set_text)
7563 (hildon_button_construct_child): Hide the value when it's not used
7564 so the rest of the text is properly aligned.
7565 Allow creating buttons with arbitrary widgets inside (not just
7566 title/value labels).
7568 * examples/hildon-button-example.c (vertical_buttons_window)
7569 (horizontal_buttons_window): Update example to use new API.
7571 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7573 * src/Makefile.am: Added HildonTimeButton.
7574 * src/hildon-time-button.c: Added missing LGPL header.
7575 * src/hildon-time-button.h: Added missing LGPL header.
7576 * src/hildon.h: Add hildon-time-button.h
7578 Copied HildonTimeButton from sandbox to trunk. Future work on this
7579 widget must take place in trunk.
7581 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7583 * src/Makefile.am: Added HildonDateButton.
7584 * src/hildon-date-button.c: Update includes.
7585 * src/hildon.h: Add hildon-date-button.h
7587 Copied HildonDateButton from sandbox to trunk. Future work on this
7588 widget must take place in trunk.
7590 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7592 * src/Makefile.am: Added HildonPickerButton.
7593 * src/hildon-picker-button.h: Update includes.
7594 * src/hildon.h: Add hildon-picker-button.h
7596 Copied HildonPickerButton from sandbox to trunk. Future work on
7597 this widget must take place in trunk.
7599 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7601 * src/Makefile.am: Added HildonPickerDialog.
7602 * src/hildon-picker-dialog.c: Update includes.
7603 * src/hildon.h: Add hildon-picker-dialog.h
7605 Copied HildonPickerDialog from sandbox to trunk. Future work
7606 on this widget must take place in trunk.
7608 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7610 * src/Makefile.am: Added HildonTimeSelector.
7611 * src/hildon.h: Add hildon-time-selector.h
7613 Copied HildonTimeSelector widget from sandbox to trunk. Future
7614 work on this widget must happen in trunk.
7616 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7618 * src/Makefile.am: Added HildonDateSelector.
7619 * src/hildon.h: Add hildon-date-selector.h
7621 Copied HildonDateSelector widget from sandbox to trunk. Future
7622 work on this widget must happen in trunk.
7624 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7626 * src/Makefile.am: Added HildonTouchPicker.
7627 * src/hildon-touch-picker.c: Update includes.
7628 * src/hildon.h: Add hildon-touch-picker.h
7630 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7631 on this widget must happen in trunk.
7633 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7635 * src/hildon-pannable-area.c:
7636 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7638 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7640 * examples/hildon-app-menu-example.c (main): Let the window
7643 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7645 * src/hildon-pannable-area.c
7646 (hildon_pannable_area_class_init): Set the min value of the
7647 overshoot properties to zero, which points out that not
7648 overshooting allowed.
7650 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7652 Modified the procedure to get the widget at a point inside the
7653 pannable area when using the movement type signals. Now the user
7654 has to call a function to get the child, that way we just
7655 calculate the child in case the user really want to use it and not
7658 * src/hildon-marshalers.list: Modified the marshallers, now we do
7659 not have the widget as a parameter.
7661 * src/hildon-pannable-area.c
7662 (hildon_pannable_area_motion_notify_cb),
7663 (hildon_pannable_area_class_init),
7664 (hildon_pannable_get_child_widget_at): Removed the widget
7665 parameter from the signal callback. We have also refactored the
7666 emission of the signals.
7668 * src/hildon-pannable-area.h: Added a new method to the API to
7669 calculate a widget at a point inside the pannable area,
7670 hildon_pannable_get_child_widget_at.
7672 * examples/hildon-pannable-area-example-4.c
7673 (horizontal_movement): Modified the example to use the new API,
7674 added condition to control which widget is under the event. This
7675 way we can avoid scrolling laterally over other widgets.
7677 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7679 * src/hildon-pannable-area.c
7680 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7681 modes, we stop getting the pointer events due to returning the
7682 callback without properly calling the get pointer again. Fixed
7683 also an error using the hscroll and vscroll.
7685 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7687 * src/hildon-app-menu-private.h
7688 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7689 (hildon_app_menu_button_release, hildon_app_menu_init)
7690 (hildon_app_menu_class_init): Don't hide the menu on button
7691 release if the user didn't press outside first.
7693 * src/hildon-window.h
7694 * src/hildon-window.c (hildon_window_toggle_menu)
7695 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7696 hildon_window_toggle_menu a virtual function for the stackable
7697 window to override it.
7699 * src/hildon-stackable-window.h
7700 * src/hildon-stackable-window-private.h
7701 * src/hildon-stackable-window.c
7702 (hildon_stackable_window_realize)
7703 (hildon_stackable_window_finalize)
7704 (hildon_stackable_window_class_init)
7705 (hildon_stackable_window_init)
7706 (hildon_stackable_window_set_main_menu): New function to set the
7707 app menu of a HildonStackableWindow.
7709 * examples/hildon-app-menu-example.c: Remove the button to show
7710 the app menu, now it'll be shown when clicking on the title bar
7713 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7715 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7716 set the widget name if the arrangement flags do not specify
7719 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7721 * src/hildon-button.c: (hildon_button_set_property),
7722 (hildon_button_class_init), (hildon_button_new_full),
7723 (hildon_button_set_arrangement): Added "arrangement-flags"
7726 Make the HildonButtonFlags a construction-only property, to allow
7727 subclasses to set them properly.
7729 2008-07-21 Tim Janik <timj@imendio.com>
7731 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7732 insertion position after backspace, so additional digits are appended,
7735 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7737 * src/hildon-pannable-area.c,
7738 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7739 TODO list, it was complete and removed the g_debug and g_print
7742 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7744 Added the movement modes to the hildon-pannable-area, with this
7745 modes the developers can control in which directions the widget
7746 can scroll. They can also connect to signals in order to do
7747 something when that happens, allowing applications scroll. There
7748 is an example uploaded showing how to use it.
7750 * examples/Makefile.am:
7751 * examples/hildon-pannable-area-example-4.c: Added this example of
7752 an application using the modes.
7754 * src/hildon-marshalers.list: Added a new marshaller for the new
7757 * src/hildon-pannable-area.h: Added new enumerations and flags in
7758 order to control the movement modes and the new signals to warn
7759 about the movements in the area.
7761 * src/hildon-pannable-area.c:
7762 (hildon_pannable_axis_scroll),
7763 (hildon_pannable_area_scroll),
7764 (hildon_pannable_area_motion_notify_cb),
7765 (hildon_pannable_area_get_property),
7766 (hildon_pannable_area_set_property),
7767 (hildon_pannable_area_map),
7768 (hildon_pannable_area_class_init),
7769 (hildon_pannable_area_init),
7770 (hildon_pannable_area_jump_to): Added the modes to control the
7771 movement in the widget. We have added properties to control it,
7772 signals to warn about the movements and refactored some code.
7774 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7776 Changes required in order to allow vfast_factor set to zero to
7779 * src/hildon-pannable-area.c:
7780 (hildon_pannable_area_button_press_cb): Changed the condition, it
7781 is required for not allowing click when vfast_factor is zero.
7782 (hildon_pannable_area_timeout): Initialized velocity variables
7783 when we stop moving, it was less than 1 but not zero and we need
7784 to check zero in some situations.
7785 (hildon_pannable_area_class_init): Changed the default value of
7786 the speed factor, now the button_press is just sent in case the
7787 speed is 2 per cent of the max speed.
7788 (hildon_pannable_area_init): Initialization with 0.
7790 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7792 * src/hildon-pannable-area.c,
7793 (hildon_pannable_area_get_topmost): replaced
7794 gdk_window_get_children with gdk_window_peek_children, this way we
7795 do not have to free the list because it is not a copy.
7797 (hildon_pannable_axis_scroll),
7798 (hildon_pannable_area_scroll),
7799 (hildon_pannable_area_timeout),
7800 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7801 two parameters that were only used inside the
7802 hildon_pannable_area_scroll function.
7804 * examples/hildon-pannable-area-example.c,
7805 (get_sawtooth_label): Fixed small memory leak.
7807 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7809 More checks for the case where the overshoot is bigger than the
7812 * src/hildon-pannable-area.c:
7813 (hildon_pannable_draw_vscroll),
7814 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7815 to draw the slider of the scrollbar under the other scrollbar.
7816 (hildon_pannable_area_expose_event): added new checks to control
7817 the drawing of the overshooting area rectangle, in case it is too
7818 big for the area of the widget.
7819 (hildon_pannable_area_size_allocate): add more checks to avoid
7820 setting a position to the child widget outside the area.
7822 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7824 * src/hildon-pannable-area.c
7825 (hildon_pannable_area_size_allocate): Added conditions to control
7826 when overshooting is bigger than the allocated space for the
7827 children, this avoids negative allocations.
7829 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7831 * doc/hildon-docs.sgml
7833 * examples/Makefile.am
7834 * examples/hildon-button-example.c
7836 * src/hildon-button.c
7837 * src/hildon-button.h
7838 * src/hildon.h: Initial version of the new HildonButton widget,
7841 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7843 * src/hildon-pannable-area.c:
7844 (hildon_pannable_area_button_press_cb),
7845 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7846 (hildon_pannable_area_motion_notify_cb),
7847 (hildon_pannable_area_button_release_cb),
7848 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7849 (hildon_pannable_area_jump_to_child):
7851 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7853 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7855 * examples/Makefile.am
7856 * examples/hildon-pannable-area-touch-grid-example.c
7857 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7858 the Hildon Touch List and Hildon Touch Grid using the
7859 HildonPannableArea widget.
7861 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7863 * src/hildon-pannable-area.c,
7864 (hildon_pannable_area_button_press_cb),
7865 (hildon_pannable_area_refresh),
7866 (hildon_pannable_area_scroll),
7867 (hildon_pannable_area_motion_notify_cb),
7868 (hildon_pannable_area_button_release_cb),
7869 (hildon_pannable_area_expose_event),
7870 (hildon_pannable_area_add),
7871 (hildon_pannable_area_remove),
7872 (hildon_pannable_area_realize),
7873 (hildon_pannable_area_size_allocate),
7874 (hildon_pannable_area_class_init),
7875 (hildon_pannable_area_init),
7876 (hildon_pannable_area_scroll_to_child),
7877 (hildon_pannable_area_jump_to_child): Fixed the problem of
7878 removing the child from the GtkBin, we have rearranged the widget
7879 hierarchy, now there is no GtkAlignment which was not doing
7880 anything interesting but breaking some of the assumptions of
7881 GtkContainer. Now developers if they want to add a GtkAlignment
7882 they could, but it is not inside the area.
7884 We had to review the whole allocation/expose process, now it is
7885 improved and we save at least three signals which would be saving
7886 some time when rendering the widget. The allocation of the
7887 scrollbars is now made in the allocate method as usual.
7889 We have also added some conditions in order to control when there
7890 is no child of the pannable area. Maybe we will need more work
7893 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7895 * src/hildon-pannable-area.c,
7896 (hildon_pannable_area_dispose): Released the fade-out timeout when
7897 disposing the widget.
7899 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7901 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7902 zero, we are going to use that property in order to deactivate the
7904 (hildon_pannable_axis_scroll),
7905 (hildon_pannable_area_size_allocate): Added conditions to control
7906 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7907 call, now it is called in all situations and we can remove calls
7908 in the allocate method.
7909 (hildon_pannable_area_map): Control the situation when
7910 overshoot_max is zero, we do not need the timeout.
7911 (hildon_pannable_area_class_init): Added documentation in order to
7912 point out that setting zero to overshoot_max means deactivate
7915 NOTE: removed trailing whitespaces from my previous comments of
7918 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7920 * src/hildon-pannable-area.c
7921 (hildon_pannable_area_get_property),
7922 (hildon_pannable_area_set_property),
7923 (hildon_pannable_area_map),
7924 (hildon_pannable_area_class_init),
7925 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7926 to cause the widget give a hint about its panning abilities upon
7929 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7931 * src/hildon-pannable-area.c: Several documentation improvements.
7933 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7935 * src/hildon-program.c
7936 * src/hildon-stackable-window.c: Update documentation.
7938 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7940 * src/hildon-stackable-window.c (get_previous_window_if_last):
7941 Renamed get_last_window()
7942 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7943 (hildon_stackable_window_unset_program):
7945 (get_previous_window_if_last):
7946 Detect if the window hasn't been added to a HildonProgram.
7948 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7950 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7952 * src/hildon-pannable-area.c
7953 (hildon_pannable_area_button_press_cb),
7954 (hildon_pannable_axis_scroll),
7955 (hildon_pannable_area_scroll),
7956 (hildon_pannable_area_timeout),
7957 (hildon_pannable_calculate_vel_factor),
7958 (hildon_pannable_area_get_property),
7959 (hildon_pannable_area_set_property),
7960 (hildon_pannable_area_class_init),
7961 (hildon_pannable_area_init),
7962 (hildon_pannable_area_scroll_to),
7963 (hildon_pannable_area_jump_to),
7964 (hildon_pannable_area_scroll_to_child),
7965 (hildon_pannable_area_jump_to_child):
7966 * src/hildon-pannable-area.h: Added the new API functions:
7967 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7968 hildon_pannable_area_scroll_to_child,
7969 hildon_pannable_area_jump_to_child
7972 * examples/Makefile.am
7973 * examples/hildon-pannable-area-example-2.c
7974 * examples/hildon-pannable-area-example-3.c: Added these two new
7975 examples in order to test and show how the new APIs work.
7977 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7979 * examples/hildon-stackable-window-example.c (new_window):
7980 * src/Makefile.am (noinst_HEADERS):
7981 * src/hildon-program.c (hildon_program_go_to_root_window):
7982 * src/hildon-program.h:
7983 * src/hildon-stackable-window-private.h:
7984 * src/hildon-stackable-window.c:
7985 * src/hildon-stackable-window.h:
7986 Create hildon-stackable-window-private.h
7987 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7989 * examples/hildon-app-menu-example.c (create_menu):
7990 * examples/hildon-hvolumebar-insensitive-example.c (main):
7991 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7992 * examples/hildon-toolbar-seekbar-example.c (main):
7993 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7994 * src/hildon-banner.c (hildon_banner_set_property):
7995 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7996 Fix compilation warnings
7998 * src/hildon-window.c:
8001 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8003 * src/hildon-stackable-window.c
8004 (hildon_stackable_window_unset_program):
8005 Calculate correctly whether to show the previous window if the
8006 last one is removed from the stack.
8007 (hildon_stackable_window_go_to_root_window):
8008 Send delete events starting from the topmost window.
8009 Stop if one of the windows is not destroyed.
8011 (hildon_stackable_window_delete_event)
8012 (hildon_stackable_window_class_init):
8013 Ignore the delete event if the window is not the topmost one.
8015 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8017 * src/hildon-pannable-area.c
8018 (hildon_pannable_area_expose_event): Fixed a problem when
8019 selecting the background color of the scrollbars.
8021 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8023 * examples/hildon-stackable-window-example.c
8024 * src/hildon-stackable-window.c
8025 * src/hildon-stackable-window.h
8026 hildon_stackable_window_go_home() renamed to
8027 hildon_stackable_window_go_to_root_window()
8028 Send delete events to windows rather than closing them with
8029 gtk_widget_destroy()
8031 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8033 * src/hildon-pannable-area.c
8034 (hildon_pannable_area_button_release_cb): Fix overshooting in
8037 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8039 * src/hildon-pannable-area.c
8040 (hildon_pannable_area_init): Initially show the scroll indicators.
8041 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8043 Add initial effect showing the widget is pannable.
8045 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8047 * src/hildon-pannable-area.c
8048 (hildon_pannable_area_class_init)
8049 (hildon_pannable_area_set_property)
8050 (hildon_pannable_area_get_property)
8051 (hildon_pannable_area_button_press_cb):
8052 New 'velocity_fast_factor' property to decide which velocity is
8055 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8057 * src/hildon-pannable-area.c
8058 (hildon_pannable_draw_hscroll)
8059 (hildon_pannable_draw_vscroll):
8060 Use float variables to calculate the size of the scrollbars to
8061 avoid error propagation and resizing during scrolling.
8063 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8065 * src/hildon-pannable-area.c
8066 (hildon_pannable_draw_vscroll)
8067 (hildon_pannable_draw_hscroll):
8068 Define a minimum size for the scroll bars
8070 * src/hildon-stackable-window.c
8071 (hildon_stackable_window_go_home): Fix compilation warning
8072 (get_last_window): Minor optimizations
8073 (hildon_stackable_window_class_init): Fix initialization of
8076 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8078 * src/hildon-stackable-window.c: Fixed typos in doc
8080 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8082 * src/hildon-pannable-area.c
8083 (hildon_pannable_area_scroll):
8084 Calculate here whether we need to scroll instead of using the booleans
8085 that tell us whether to /draw/ the scrolling bars.
8087 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8089 * src/hildon-app-menu.h
8091 * src/hildon-app-menu.c
8092 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8093 multiple filter groups related code and API. Now we support only
8095 * examples/hildon-app-menu-example.c:
8097 Update to reflect API changes.
8099 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8101 * src/hildon-stackable-window.c
8102 (hildon_stackable_window_class_init):
8103 Add hildon_stackable_window_realize.
8104 (hildon_stackable_window_realize):
8105 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8106 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8107 to apply theming and behavior specific to HildonStackableWindow
8110 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8112 * src/hildon-note.c (hildon_note_button_release):
8113 Close information notes also when tapping on them
8115 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8117 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8118 ELASTICITY, refactor and review, fix some issues with drawing
8121 * src/hildon-pannable-area.c:
8122 (hildon_pannable_area_button_press_cb): removed the conditions to
8123 avoid clicks when overshooting. It is not required
8125 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8126 define. Refatored and reviewed the code, now we do not need to
8127 manage velocity in motion_notify.
8129 (hildon_pannable_area_motion_notify_cb): We have moved the code
8130 that controls the area_scroll to the axis_scroll function and get
8131 rid of duplicated code.
8133 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8135 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8137 (hildon_pannable_draw_vscroll),
8138 (hildon_pannable_draw_hscroll): Fixed the problems with the
8139 scrollbar drawing, now we do not use two surfaces, it is easier
8140 and saves resources.
8142 (hildon_pannable_area_get_property): Style modification.
8144 (hildon_pannable_area_class_init): Changed some default values.
8146 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8148 * src/hildon-stackable-window.c: Fix some typos in the
8151 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8153 * src/hildon-dialog.c:
8154 Change indentation style
8157 (hildon_note_button_release):
8158 Use root coordinates to check if the release event happened
8161 * src/hildon-app-menu.c
8162 (hildon_app_menu_button_release):
8163 Remove unnecessary check
8165 * examples/hildon-app-menu-example.c
8167 Add cast to fix warning
8169 * src/hildon-app-menu.c
8170 (hildon_app_menu_class_init):
8171 New inner-border style property.
8172 Set all default spacings to 16
8173 (hildon_app_menu_init):
8174 Use vertical-spacing to set the space between filter buttons and
8175 regular menu buttons.
8176 Set the default container border using the inner-border value.
8178 * examples/hildon-app-menu-example.c
8180 Don't set the menu border explicitly, now we have the inner-border
8181 style property for that.
8183 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8185 * src/hildon-app-menu.c (hildon_app_menu_init):
8186 Make the window modal
8188 * src/hildon-note.c (hildon_note_map)
8189 * src/hildon-app-menu.c (hildon_app_menu_map):
8190 Destroy the grab window if we're unable to grab the pointer
8192 * src/hildon-app-menu-private.h
8193 * src/hildon-app-menu.c
8194 (hildon_app_menu_init, hildon_app_menu_finalize)
8195 (hildon_app_menu_map, hildon_app_menu_unmap)
8196 (hildon_app_menu_button_release)
8197 (grab_transfer_window_get):
8198 Bring back the grab window
8199 (hildon_app_menu_realize):
8200 Decorate the window, set WM hint for Matchbox
8202 * src/hildon-note.c (hildon_note_realize):
8203 * src/hildon-banner.c (hildon_banner_realize):
8204 Add WM hints for Matchbox
8206 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8208 * src/hildon-app-menu-private.h
8209 * src/hildon-app-menu.c
8210 (hildon_app_menu_init, hildon_app_menu_finalize)
8211 (hildon_app_menu_map, hildon_app_menu_unmap)
8212 (hildon_app_menu_button_release):
8213 Remove the grab window, it's not needed anymore
8215 * src/hildon-program.c
8216 Fixed typo in documentation
8218 * src/hildon-app-menu.h
8219 * src/hildon-app-menu.c
8220 * examples/hildon-app-menu-example.c
8221 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8223 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8226 Added new transfer_window and close_if_pressed_outside private
8228 (hildon_note_rebuild):
8229 Don't add a cancel button to the information note. It will be
8230 closed when tapping outside
8231 Remove the comment about the OK button in the documentation
8232 (hildon_note_realize):
8233 Set the notification type hint
8234 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8235 Grab/ungrab pointer and keyboard if the note has to be closed when
8237 (hildon_note_button_release):
8238 Close the note when tapping outside (if applicable)
8240 * src/hildon-app-menu.c
8241 Grab/ungrab pointer and keyboard on map/unmap
8242 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8243 Close the menu on button release, not button press
8245 * src/hildon-banner.c
8246 (hildon_banner_set_property)
8247 (hildon_banner_check_position):
8248 Make the banner use the full width of the screen
8249 (hildon_banner_show_information)
8250 (hildon_banner_show_information_with_markup):
8251 Don't display an icon by default
8253 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8255 Added fading scrollbars and adapted all the overshooting code to
8256 horizontal scrolling. We have also fixed bugs with overshooting
8257 and current fading implementation.
8259 * src/hildon-pannable-area.c
8260 (hildon_pannable_area_scroll_indicator_fade): Time out function
8261 used to change the transparency of the scrollbars.
8263 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8264 control and fixed a problem with fading, we now remove the fade
8265 timeout before adding a new one.
8267 (hildon_pannable_axis_scroll):
8268 (hildon_pannable_area_scroll):
8269 (hildon_pannable_area_timeout): Added this functions so we can use
8270 the scroll code both for vertical and horizontal.
8272 (hildon_pannable_area_motion_notify_cb):
8273 (hildon_pannable_area_button_release_cb): Added the horizontal
8274 scrolling control, fixed a problem with the overshooting timeout.
8276 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8277 painting of the scrolls.
8279 (hildon_pannable_draw_vscroll):
8280 (hildon_pannable_draw_hscroll):
8281 (hildon_pannable_area_expose_event):
8282 Draw both scrollbars and rectangles in the overshooting area.
8284 (hildon_pannable_area_get_property):
8285 (hildon_pannable_area_set_property):
8286 Modified the overshoot property to overshoot_max
8288 (hildon_pannable_area_map):
8289 Replaced the comments symbols.
8291 (hildon_pannable_area_size_allocate):
8292 (hildon_pannable_area_class_init):
8293 (hildon_pannable_area_init): Added horizontal scroll, fading
8294 effect properties, fixed a problem when overshooting in the bottom
8297 * examples/hildon-pannable-area-example.c:
8298 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8299 looks better in the example.
8301 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8303 * src/hildon-window.c
8304 * src/hildon-window.h
8305 (hildon_window_class_init)
8306 (hildon_window_unset_program)
8307 (hildon_window_unset_program_real):
8308 Make unset_program a virtual function
8310 * src/hildon-stackable-window.c
8311 * src/hildon-stackable-window.h
8312 Added hildon_stackable_window_go_home()
8314 * examples/Makefile.am
8315 * examples/hildon-stackable-window-example.c
8316 HildonStackableWindow example
8318 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8320 * hildon-pannable-area.c: Added the overshoot property and removed
8321 the OVERSHOOT define. Fixed an indent style error.
8322 (hildon_pannable_area_motion_notify_cb):
8323 (hildon_pannable_area_get_property):
8324 (hildon_pannable_area_set_property): Add overshoot property.
8326 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8329 (hildon_pannable_area_class_init): Installed the new property.
8331 * hildon-pannable-area-example.c: Added a sawtooth function, this
8332 way it is easier to check the movement in the pannable.
8333 (get_sawtooth_label): Added this function.
8334 (main): Now we get the labels from the new get_sawtooth_label
8337 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8339 * src/hildon-app-menu.h
8340 * src/hildon-app-menu.c
8341 Renamed API variables for consistency
8343 (hildon_app_menu_popup): Use also the default window size to
8344 decide where to place the menu
8346 (hildon_app_menu_init, hildon_app_menu_class_init): New
8347 external-border style property
8349 2008-05-26 Michael Natterer <mitch@imendio.com>
8351 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8352 widget_class->tap_and_hold_setup signal slot doesn't exist any
8353 longer, stop overriding it.
8355 (hildon_time_editor_init): g_signal_connect() to the
8356 tap-and-hold-setup signal instead.
8358 (hildon_time_editor_entry_keypress): add cast to fix warning.
8360 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8362 * doc/hildon-docs.sgml
8364 * examples/Makefile.am
8365 * examples/hildon-app-menu-example.c
8367 * src/hildon-app-menu-private.h
8368 * src/hildon-app-menu.c
8369 * src/hildon-app-menu.h
8371 New HildonAppMenu widget
8373 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8375 Rearranged the inheritance of the pannable area, now it inherits
8376 from GtkBin. This will allow us to control the event_window and
8377 the allocation process of the widget, required for some effects.
8379 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8380 GtkBin structures. * src/hildon-pannable-area.c: Added the
8381 event_window variable.
8382 (hildon_pannable_area_button_press_cb):
8383 (hildon_pannable_area_button_release_cb):
8384 (hildon_pannable_area_motion_notify_cb):
8385 Changed the signature of the method, now we override the event
8386 callback instead of connecting to the signal.
8388 (hildon_pannable_area_realize):
8389 (hildon_pannable_area_unrealize):
8390 (hildon_pannable_area_map):
8391 (hildon_pannable_area_unmap):
8392 (hildon_pannable_area_size_allocate):
8393 Added functions to control the widget construction. We add a
8394 INPUT_ONLY window and we put it over the widgets inside the
8395 container, this event_window handles the events.
8397 (hildon_pannable_area_class_init):
8398 Replaced the signal connections with overrides of the event
8401 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8403 Bouncing effect added when touching the borders, you can change
8404 the elasticity of the border changing the ELASTICITY define.
8406 * src/hildon-pannable-area.c: Added ELASTICITY define.
8407 (hildon_pannable_area_timeout): Added inverse velocity when
8408 touching the border of the child widget, that causes a bounce.
8410 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8412 Improved performance, we now do not go to the X server in order to
8413 get the list of window children. Apparently the effect is the
8414 same, we have to be careful and check if this breaks something in
8417 * src/hildon-pannable-area.c:
8418 (get_ordered_children): Removed this function.
8419 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8420 the children windows function with gdk_window_get_children.
8422 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8424 * src/hildon-pannable-area.c:
8425 (hildon_pannable_area_dispose): Fixed a crash when closing the
8426 window and kinetics is activated.
8428 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8430 * src/hildon-pannable-area.h
8431 * src/hildon-pannable-area.c
8432 Changed indentation style to meet the one used in Hildon
8434 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8436 Reviewed the interaction of the AUTO mode, now we use the time
8437 attribute of the events and calculate the velocity in the motion,
8438 doing a gimp like calculation. The velocity is calculated in each
8439 motion event using the last velocity and the current one, the
8440 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8442 * src/hildon-pannable-area.c: Replaced the time based algorithm
8444 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8445 timeout for the AUTO mode when we are still moving the cursor. We
8446 added also the velocity calculation in this function.
8447 (hildon_pannable_area_button_release_cb): launch the timeout in
8448 case we are in AUTO mode. There are still some constants here that
8449 come from the old implementation that should be reviewed and
8452 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8454 * doc/hildon-docs.sgml
8457 * src/hildon-stackable-window.c
8458 * src/hildon-stackable-window.h
8460 New HildonStackableWindow widget
8462 * examples/hildon-dialog-example.c
8463 * examples/hildon-pannable-area-example.c
8466 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8468 * src/hildon-dialog.c
8469 (hildon_dialog_new_with_buttons): New constructor.
8471 * examples/hildon-dialog-example.c
8472 (main): Update the example to use the new
8473 hildon_dialog_new_with_buttons().
8475 * examples/hildon-pannable-area-example.c
8476 (main): Update example.
8478 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8480 * doc/hildon-docs.sgml
8482 Added HildonPannableArea to the documentation.
8484 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8486 * doc/visual_index.xml
8487 Fix reference to HildonLoginDialog in documentation
8489 * doc/hildon-docs.sgml
8491 * examples/Makefile.am
8492 * examples/hildon-dialog-example.c
8494 * src/hildon-dialog.c
8495 * src/hildon-dialog.h
8497 New HildonDialog widget.
8499 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8501 * src/hildon-pannable-area.c
8502 Merge latest changes (r4318, r4342) from libmokoui trunk
8504 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8506 * examples/Makefile.am
8507 * examples/hildon-pannable-area-example.c
8509 * src/hildon-pannable-area.c
8510 * src/hildon-pannable-area.h
8512 New HildonPannableArea widget.
8514 2008-04-15 18:05:19 <timj@imendio.com>
8516 * src/hildon-banner.c: revert the recent change, that introduced
8517 gtk_window_present() calls. this reopens:
8518 Bug 78481 - [freetest] information banners are hidden under browser menu
8519 But resolves another variant of:
8520 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8522 2008-04-15 13:21:13 <timj@imendio.com>
8524 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8525 recreated its layout, spotted by Kris. this fixes all remaining
8526 artefacts and stability issues with the banner code. in particular:
8527 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8529 2008-04-14 16:52:59 <timj@imendio.com>
8531 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8532 operating on unrealized widgets, fixes:
8533 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8535 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8537 2008-04-09 Kristian Rietveld <kris@imendio.com>
8539 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8540 makes banner disappear.
8541 Fixes: NB#79182: info banner flickering with certain message lengts.
8543 * src/hildon-banner.c (hildon_banner_constructor),
8544 (hildon_banner_init), (hildon_banner_set_text),
8545 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8546 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8547 FALSE, reset size requests of label and banner,
8548 (force_to_wrap_truncated): when the text is too wide, always enforce
8549 the maximum possible width instead of recalculating it from the
8550 layout; enforce the maximum banner height of 3 lines,
8551 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8552 nicer wrapping and no truncated chars if space gets tight.
8554 * src/hildon-banner-private.h: add has_been_wrapped and
8555 has_been_truncated fields.
8557 2008-04-07 Sven Herzberg <sven@imendio.com>
8559 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8560 local values in hildon_date_editor_size_allocate
8562 * src/hildon-date-editor.c: moved the real allocation code into the
8565 2008-04-07 Sven Herzberg <sven@imendio.com>
8567 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8568 local values in hildon_date_editor_size_allocate
8570 * src/hildon-date-editor.c: merged the two if() branches together
8572 2008-04-07 Sven Herzberg <sven@imendio.com>
8574 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8575 local values in hildon_date_editor_size_allocate
8577 * src/hildon-date-editor.c: changed the arguments of the if()
8580 2008-04-07 Sven Herzberg <sven@imendio.com>
8582 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8583 local values in hildon_date_editor_size_allocate
8585 * src/hildon-date-editor.c: split the calculation of the allocation
8586 from the real allocation
8588 2008-03-27 Michael Natterer <mitch@imendio.com>
8590 Fixes: NB#81696: The passcode is not overwritten even after
8593 * src/hildon-code-dialog.c
8594 (hildon_code_dialog_button_clicked)
8595 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8596 because that doesn't overwrite selected text. Instead, emit the
8597 "commit" signal on the entry's im_context so the entry's normal
8598 insert logic is triggered. Set the cursor to the end of the entry
8599 after each insert operation so that we *only* insert in the middle
8600 of the text if something was selected.
8602 2008-03-27 Michael Natterer <mitch@imendio.com>
8604 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8605 selector cannot be opened
8607 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8608 when the popup color selector is created. Please connect to this
8609 signal in order to set the dialog's help ID.
8611 2008-03-25 Sven Herzberg <sven@imendio.com>
8613 Fixes: MB#1212: Hide info banners (infoprints) on click
8615 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8616 extracted the close event simulation into an extra function
8617 (hildon_banner_button_press_event): simulate a close event and destroy
8618 the widget if the event wasn't handled
8619 (hildon_banner_class_init): added the button_press_event handler
8620 (hildon_banner_init): added button-press events to the widget
8622 2008-03-25 Sven Herzberg <sven@imendio.com>
8624 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8625 Patch from: Mohammad Anwari <mdamt@maemo.org>
8627 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8628 instead of the right in RTL mode
8629 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8630 breadcrumb button list in RTL mode
8631 * src/hildon-caption.c: mirror the appearance of the caption widget in
8633 * src/hildon-date-editor.c: mirror appearance of the date editor in
8635 * src/hildon-time-editor.c: mirror appearance of the time editor in
8637 * src/hildon-window.c: fix the position of the popup in RTL mode
8639 2008-03-25 Sven Herzberg <sven@imendio.com>
8641 Amendment to the fix of NB#22072. Fix compilation.
8643 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8645 2008-03-19 Sven Herzberg <sven@imendio.com>
8647 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8650 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8651 timeout id properly when the timeout will disappear this leaves no
8652 artifacts around in the destroy(); there will only be the timeout
8653 created by hildon_banner_ensure_timeout() and adding a new timeout
8654 will also work if the timeout gets removed because the timeout_handler
8657 2008-03-19 Michael Natterer <mitch@imendio.com>
8659 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8661 * src/hildon-volumebar.c
8662 * src/hildon-vvolumebar.c
8663 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8664 the widget becomes focussable at all.
8666 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8667 set the focus to wither the mute button or the volumebar.
8669 Remove own "can-focus" property and instead listen to
8670 notify::can-focus in order to update the widget's state.
8672 Implement GtkWidget::focus() and make sure we can also *leave* the
8673 widget, not only enter it, depending on volumebar orientation and
8674 requested focus direction.
8676 Clean up set_mute() to cooperate nicely with all the above.
8678 2008-03-04 Michael Natterer <mitch@imendio.com>
8680 Fixes: NB#78481: information banners are hidden under browser menu
8682 * src/hildon-banner.c: call gtk_window_present() on the banners so
8683 they are risen if they are already visible.
8685 2008-03-03 Sven Herzberg <sven@imendio.com>
8687 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8689 * examples/hildon-window-menu-example.c: (main): extended the window
8690 menu example to serve as a testcase for automatically added
8691 accelerator groups, too
8692 * src/hildon-window.c: (hildon_window_add_accel_group),
8693 (hildon_window_set_menu): added patch by Tommi Komulainen
8695 2008-03-03 Sven Herzberg <sven@imendio.com>
8697 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8699 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8700 knowledge about the border allocators used within GTK+
8702 2008-02-26 Sven Herzberg <sven@imendio.com>
8704 Fixes: MB#2981: Build with asserts broken
8706 * src/hildon-date-editor.c,
8707 * src/hildon-number-editor.c,
8708 * src/hildon-time-editor.c,
8709 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8710 the proper GType instance check
8712 2008-02-25 Sven Herzberg <sven@imendio.com>
8714 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8716 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8717 * examples/hildon-window-menu-example.c: (main): explicitly show
8719 * src/hildon-window.c:
8720 (hildon_window_set_main_menu): moved most of the code from set_menu()
8721 to this place; skipped the call to gtk_widget_show_all(); also didn't
8722 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8723 (hildon_window_set_menu): removed most of the code, just keep the
8724 questionable gtk_widget_show_all()
8725 * src/hildon-window.h: added the new function and deprecate the old
8728 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8734 * debian/changelog: Updating.
8736 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8739 * pkgconfig/Makefile.am:
8740 * pkgconfig/hildon.pc.in:
8743 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8744 use newly created API_MAJOR_VERSION.
8746 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8752 * debian/changelog: Updating.
8754 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8756 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8758 Add outer_border style property, we use it but don't define it (!).
8762 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8764 * examples/hildon-bread-crumb-trail-example.c (main):
8768 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8770 Fix logic for the bread crumb trail node removal.
8774 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8780 * debian/changelog: Updating.
8782 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8784 Patch by Alejandro to get/set passwords dialogs accesibility.
8786 * hildon-1/src/hildon-get-password-dialog.c:
8787 * hildon-1/src/hildon-set-password-dialog.c:
8788 Set atk_set_name to the passwd entries in order to allow
8789 accessibility by name on this entries.
8791 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8796 * debian/control: Updating gtk dep.
8798 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8800 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8801 USE_MAEMO_GTK is enabled.
8803 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8805 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8806 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8808 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * debian/changelog: Updating.
8816 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * examples/Makefile.am:
8819 * examples/hildon-logical-color-example.c:
8820 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8821 applied + adding a test case. Fixes: NB#71660.
8823 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8825 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8826 to be visible, fixes warning on map for windows without toolbars.
8828 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8830 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8831 2.11.0, add a check for that besides the MAEMO_GTK check.
8833 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * debian/changelog: Updating.
8841 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8844 visibility. Fixes: NB#70842 and MB#615.
8846 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8848 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8849 set the separator as no-show-all so it doesn't unintentionally appear when
8850 someone does a show_all.
8852 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8854 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8855 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8856 toplevel item. Fixes: NB#62031
8858 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8860 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8861 fix the name of the function in the docs.
8863 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * debian/changelog: Updating.
8871 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8873 * examples/hildon-banner-long-example.c: Adding a test-case for long
8876 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8878 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * src/hildon-color-chooser-dialog.c:
8881 * src/hildon-color-chooser.c:
8882 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8883 memory leaks in font selector and color selector. Fixes: NB#70499 and
8886 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8888 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8890 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8892 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8893 little bit bigger. Fixes: #NB63694.
8895 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8901 * debian/changelog: Updating.
8903 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8906 * doc/hildon-docs.sgml:
8907 * doc/images/bread-crumb-trail.png:
8908 * doc/images/calendar-popup.png:
8909 * doc/images/caption.png:
8910 * doc/images/code-dialog.png:
8911 * doc/images/color-button.png:
8912 * doc/images/color-chooser-dialog.png:
8913 * doc/images/color-chooser.png:
8914 * doc/images/controlbar.png:
8915 * doc/images/date-editor.png:
8916 * doc/images/font-selection-dialog.png:
8917 * doc/images/get-password-dialog.png:
8918 * doc/images/hvolumebar.png:
8919 * doc/images/login-dialog.png:
8920 * doc/images/note.png:
8921 * doc/images/number-editor.png:
8922 * doc/images/range-editor.png:
8923 * doc/images/seekbar.png:
8924 * doc/images/set-password-dialog.png:
8925 * doc/images/sort-dialog.png:
8926 * doc/images/time-editor.png:
8927 * doc/images/time-picker.png:
8928 * doc/images/vvolumebar.png:
8929 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8930 Adding the bread-crumb-trial and helpers to the documentation.
8932 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8934 * examples/hildon-find-toolbar-example.c:
8935 * src/hildon-find-toolbar.c:
8936 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8937 actually continue firing the other handlers if connected. Adding a new
8939 hildon_find_toolbar_get_last_index that gets the index of the most
8940 recently added (last) item. Fixes: NB#52301.
8942 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8944 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8945 behaviour. Fixes: NB#68610.
8947 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8949 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8952 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8955 when realizing the banner. Should make the infonbanner effect a bit more
8958 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-volumebar.c:
8961 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8962 hildon_volumebar_set_range_insensitive_message and
8963 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8965 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * src/hildon-window.c: Fixing the border freeing on destroy.
8969 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8971 * src/hildon-code-dialog-private.h:
8972 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8973 kw keyboard support in HildonCodeDialog.
8975 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8981 * debian/changelog: Updating.
8983 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * src/hildon-date-editor.c:
8986 * src/hildon-number-editor.c:
8987 * src/hildon-private.c:
8988 * src/hildon-private.h:
8989 * src/hildon-time-editor.c:
8990 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8991 handling in subclassed composite widgets. Fixes: NB#66628.
8993 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8996 from destroy_ callback as it introduces problems in async dbus signal
8997 handlers. Fixes NB#66673.
8999 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9001 * examples/hildon-hvolumebar-example.c:
9002 * src/hildon-volumebar.c: Improving the focus handling in the
9003 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9004 set_property accessor so that "mute" property can be actually set. I'm
9005 scared that nobody noticed it's totally broken.
9007 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9012 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-calendar.c:
9015 * src/hildon-number-editor.c:
9016 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9017 matches the spec of 6 chars per second. Fixes: NB#60489.
9019 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9021 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9022 gtk_style_lookup_color sometime returns FALSE even though color was
9023 found and values were filled properly. Weird. Removing the warning for the
9026 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9028 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9029 expand vertically. Adding some extra space to the find toolbar buttons to
9030 make them thumbable. Fixes NB#66060.
9032 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9035 popup with "Ok" and "Cancel". Fixes NB#59299.
9037 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-calendar.c: Process all window updates before executing next
9040 timeout. Fixes: NB#54146.
9042 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * debian/changelog: Updating.
9050 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9052 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9053 the client event and ignore it, since we use the delete event to close
9056 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9058 * src/hildon-helper.c: Remove the bogus warning about color not being
9059 found. Fixes NB#58352.
9061 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9063 * examples/Makefile.am:
9064 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9065 HildonSeekbar widget inside a toolbar.
9067 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9069 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9070 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9071 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9072 don't want to be closed by non-temporary windows on map.
9074 Also use G_DEFINE_TYPE instead of manually typed code.
9076 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9083 * debian/rules: Updating.
9085 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9087 * examples/Makefile.am:
9088 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9089 bug NB#61128. Strangely it works.
9091 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9093 * src/hildon-date-editor.c: When the date editor entry has been changed
9094 but the numbers of characters < max, turn off the skip validation flag.
9095 Prevents a situation when we enter first a valid year and later re-write
9096 it with an invalid one. Fixes NB#60154.
9098 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9100 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9101 code dialog. Fixes NB#64355.
9103 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9106 switching the page. Fixes NB#49374.
9108 * examples/Makefile.am:
9109 * examples/hildon-wizard-dialog-example.c: Adding an example for
9110 HildonWizardDialog that shows how to handle manual sensitivity setting on
9113 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9117 * src/hildon-version.h.in:
9118 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9120 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9122 * src/hildon-volumebar.c: Updating the docs.
9124 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * debian/changelog: Updating.
9132 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * src/hildon-find-toolbar.c:
9135 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9136 selected item: hildon_find_toolbar_set_active,
9137 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9138 hildon_find_toolbar_get_active_iter . They correspond to respective
9139 GtkComboBox functions.
9141 * examples/Makefile.am:
9142 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9145 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9147 * examples/Makefile.am:
9148 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9151 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9152 when font size > 32 and we pack a focusable widget inside. Actually using
9153 the default response would work too, but since we don't show default
9154 response state in any way (no theming) it would not be visible to the
9155 user. Fixes NB#63430.
9157 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9159 * src/hildon-date-editor.c: Adding the missing variable setter in the
9160 set_property handler. Fixes NB#54182.
9162 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9164 * src/hildon-window.h: Changing the long key press time from 1500ms to
9165 800ms as requested in NB#63700. I have a bad feeling about this, let's
9166 see... Fixes NB#63700.
9168 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9170 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9171 hildon_time_picker_map, hildon_time_picker_realize,
9172 hildon_time_picker_style_set): Split the contents of map to more
9173 appropriate functions; set window decorations on realize and update
9174 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9176 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9181 * debian/changelog: Updating.
9183 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9185 * src/Makefile.am: fixed installation of the header files
9187 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9193 * debian/changelog: Updating.
9195 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * configure.ac: Removing some remaining of --enable-xan.
9199 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9201 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9202 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9204 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9205 2.10.12-osso6 because the move-focus signal needs to be available in
9208 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * examples/Makefile.am:
9211 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9212 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9213 fine. Prolly NB#61128 is fixed now.
9215 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9217 * src/hildon-volumebar.c:
9218 * src/hildon-volumebar.h: Adding the
9219 hildon_volumebar_set_range_insensitive_message and
9220 hildon_volumebar_set_range_insensitive_messagef functions to set
9221 insensitive message on the slider of the volumebar. Fixes NB#61129.
9223 * examples/Makefile.am:
9224 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9225 test the new insensitive messsage functionality on HildonVolumebar.
9227 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9229 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9232 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9234 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9235 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9236 button on after clearing the trail.
9238 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9240 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9242 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9244 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9245 by splitting the installed headers in generated and non-generated groups. Use
9246 only the non-generated headers to create the hildon-enum-types.h file.
9248 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9250 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9252 * src/hildon-window.c: Hide the window before performing the destroy.
9253 Should make the app closing a little tiny bit more snappy.
9255 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9257 * src/hildon-seekbar.c: add gtkrange.h header
9258 * src/hildon-caption.c: remove unused variable
9260 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9262 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9265 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * debian/changelog: Updating.
9273 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9275 * src/hildon-window.c (hildon_window_window_state_event,
9276 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9277 escape timeout on focus-out-event rather than notify::is-topmost; the
9278 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9280 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9283 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9285 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9287 * src/hildon-window: actually, you need to use the macro always, there's
9288 no private pointer in the instance structure. We should have cleaned this up
9289 when we had the chance...
9291 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9293 * src/hildon-window.c: do not get the private date from HildonWindow before
9294 it passes the g_return_if_fail check. Once it's passed the test, there's no
9295 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9296 if you are only going to access the data once. Whitespace cleanups.
9298 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9300 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9301 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9303 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9309 * debian/changelog: Updating.
9311 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9313 * src/hildon-window.c: When destroying the window, remove (if exists) the
9314 escape timeout handler. Fixes #NB59276.
9316 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9318 * src/hildon-banner.c: When realizing the widget, set the window
9319 transiency. Setting the transiency in the gobject constructor is not
9320 good, as the widget is not realized at that point. Fixes: #NB56624.
9322 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9324 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9325 Add padding for future expansions.
9327 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9329 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9330 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9331 will fake an activation on the previous to the last item of the trail, so
9332 the effect can be overrided by the developer as usual.
9333 Also change the callback for the back button to do the same thing, so its
9334 effect can be overrided too. Fixes: NB#58982
9336 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9338 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9339 HildonCaption. Fixes NB#52379.
9341 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9343 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9344 the internal state of the trail after the user has had the chance of executing
9345 his handler for the signal. Specifically, it may happen that the activated button
9346 is removed and the user still lets the default handler run. This would segfault
9349 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9351 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9352 scrollbar to the preview dialog. Fixes NB#54147.
9354 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9357 max/min year properties can be altered, so the client can modify it
9358 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9360 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9362 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9363 hildonlike by default. Fixing a problem with disappearing arrows when
9364 scrolling through months and years. Fixes NB#54127.
9366 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9368 * examples/hildon-date-editor-example.c: Adding error callback to the date
9371 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9377 * configure.ac: Updating.
9379 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 * configure.ac: Adding a special '--enable-xan' configure option that
9382 turns off the -Werror compilation setting. Usefull for development.
9384 * src/hildon-calendar.c:
9385 * src/hildon-number-editor.c:
9386 * src/hildon-time-picker.c: Adding the 5* multiplier to
9389 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9391 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9392 instead of g_object_ref + gtk_object_sink.
9394 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9400 * debian/changelog: Updating.
9402 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9404 * src/hildon-color-chooser-dialog.c:
9405 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9406 straight from Tommi labs.
9408 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9410 * examples/hildon-finger-example.c: Correcting the header file path.
9412 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9413 the changed signal. Fixes a small memory leak.
9415 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * src/hildon-banner.c: Importing several usefull fixes from the
9420 ubuntu-mobile branch.
9422 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9424 * examples/Makefile.am:
9425 * examples/hildon-finger-example.c: Adding a finger-checking code
9428 * src/hildon-font-selection-dialog.c: Do not allocate the color
9429 structure using the g_new. Fixes NB#54061.
9431 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9433 * src/hildon-helper.c: Correcting tabs in file.
9435 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9437 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9438 control the visibility of the children.
9440 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9442 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9448 * debian/changelog: Updating.
9450 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9452 * src/hildon-bread-crumb-trail.c:
9453 (hildon_bread_crumb_trail_size_allocate):
9455 Make the back button always a square.
9457 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9459 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9460 from the .c file as it's a private file.
9462 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9464 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9465 uses slightly bigger height.
9467 * src/hildon-font-selection-dialog.c: Adding some checks before
9468 freeing memory in the font selection dialog.
9470 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9472 * src/hildon-font-selection-dialog.c: Adding a small check when
9475 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9476 buttons sensitivity on page switching.
9478 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9480 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9481 internal details of adding a bread crumb to the trail.
9483 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9489 * debian/changelog: Updating.
9491 * src/hildon-bread-crumb-trail.h:
9492 * src/hildon-bread-crumb.h: Changing the API guard to
9493 HILDON_ENABLE_UNSTABLE_API.
9495 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9503 * src/hildon-helper.h: Updating.
9505 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9513 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9517 * src/hildon-helper.h: Small fix to make the package actually compile.
9519 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9521 * src/hildon-bread-crumb-trail.h:
9522 * src/hildon-bread-crumb.h:
9524 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9525 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9527 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9529 * examples/hildon-bread-crumb-trail-example.c:
9531 * src/hildon-bread-crumb-trail.c:
9532 * src/hildon-bread-crumb-trail.h:
9533 * src/hildon-bread-crumb.c:
9534 * src/hildon-bread-crumb.h:
9535 * src/hildon-marshalers.list:
9536 * src/hildon-bread-crumb-widget.c:
9537 * src/hildon-bread-crumb-widget.h:
9539 Slight change in the widget design. The bread crumb trail API is
9540 unchanged, but HildonBreadCrumb is now an interface. A *private*
9541 implementation, hildon-bread-crumb-widget, is provided and used
9542 internally by the trail for the push_text/push_icon functions.
9544 The generic push API is still available, so anyone can implement
9545 and use its own bread crumb widget.
9547 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9549 * debian/rules: Fixing the shlibs.
9551 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9553 * src/hildon-banner.c: Fixing a problem with timed banners having
9554 their parrent destroyed before they are.
9556 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9558 * src/hildon-bread-crumb.c:
9559 * src/hildon-bread-crumb.h:
9561 Make the get_natural_size function a vfunc.
9563 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9565 * src/hildon-bread-crumb.c:
9566 * src/hildon-bread-crumb-trail.c:
9570 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9577 * debian/changelog: Updating for release.
9579 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9581 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9582 don't leak the pango layout.
9584 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9587 * examples/hildon-bread-crumb-trail-example.c:
9591 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9593 * debian/changelog: Removing the bug-fixed entries that were actually
9594 resolved as WONTFIX.
9596 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9599 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9601 * src/hildon-bread-crumb-trail.c:
9602 * src/hildon-bread-crumb-trail.h:
9603 * src/hildon-bread-crumb.c:
9604 * src/hildon-bread-crumb.h:
9608 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9610 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9611 until it's passed the type check.
9613 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9615 * examples/hildon-bread-crumb-trail-example.c
9619 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9621 * examples/Makefile.am
9622 * examples/hildon-bread-crumb-trail-example.c
9624 * src/hildon-bread-crumb-trail.c
9625 * src/hildon-bread-crumb-trail.h
9626 * src/hildon-bread-crumb.c
9627 * src/hildon-bread-crumb.h
9629 New HildonBreadCrumbTrail widget.
9631 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9633 * src/hildon-range-editor.c (hildon_range_editor_init),
9634 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9635 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9636 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9637 hildon_time_editor_class_init, hildon_time_editor_init),
9638 src/hildon-get-password-dialog.c (invalid_input,
9639 hildon_get_password_set_property, hildon_get_password_get_property,
9640 create_contents, hildon_get_password_dialog_set_max_characters),
9641 src/hildon-set-password-dialog.c (create_contents),
9642 src/hildon-date-editor.c (hildon_date_editor_init),
9643 src/hildon-login-dialog.c (hildon_login_dialog_init),
9644 src/hildon-number-editor.c (hildon_number_editor_init),
9645 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9646 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9647 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9648 configure option and adding the respective checks in the code.
9649 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9650 hildon_calendar_drag_data_received): fixed some build warnings.
9652 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9654 * debian/changelog: A 1.0.0 release notes.