1 2009-08-26 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-sound.c (hildon_play_system_sound):
4 Set "module-stream-restore.id" to "x-maemo-system-sound" when
7 Fixes: NB#133767 (Information and confirmation note sound should
8 follow system profile setting)
10 2009-08-26 Alejandro G. Castro <alex@igalia.com>
12 * hildon/hildon-pannable-area.c,
13 (hildon_pannable_area_class_init): Added more force and increased
14 the max speed threshold.
16 Fixes: NB#135344 (Pannign needs to be faster)
18 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
20 [Release 2.1.96, this time for real]
23 * debian/changelog: updates
25 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
27 * hildon/hildon-pannable-area.c
28 (hildon_pannable_area_get_topmost): change the computation of the
29 co-ordinates transformed when no one of the children is a topmost
31 Fixes: NB#133252 (Opening any feed item from RSS always opens the
32 first feed item in browser)
34 2009-08-26 Alejandro G. Castro <alex@igalia.com>
36 * hildon/hildon-pannable-area.c,
37 (hildon_pannable_area_remove_timeouts): Adding this new function
38 with the code that removes the timeouts of the widget.
39 (hildon_pannable_area_dispose),
40 (hildon_pannable_area_unrealize): Use the new remove function to
41 stop timeouts when unrealizing and disposing.
42 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
43 calculation to avoid negative values in some cases.
45 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
47 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
49 * examples/hildon-check-button-example.c: (button_toggled_cb):
50 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
51 (hildon_check_button_set_active), (hildon_check_button_new),
52 (hildon_check_button_clicked), (hildon_check_button_class_init):
53 * hildon/hildon-check-button.h:
54 * hildon/hildon-set-password-dialog.c: (create_contents),
55 (hildon_set_password_response_change), (hildon_checkbox_toggled):
57 Revert "Make HildonCheckButton derive from GtkToggleButton"
59 2009-08-21 Alberto Garcia <agarcia@igalia.com>
63 * configure.ac: bump version
65 * debian/changelog: updates
67 2009-08-21 Alberto Garcia <agarcia@igalia.com>
69 * hildon/hildon-check-button.h
70 * hildon/hildon-check-button.c
71 (hildon_check_button_clicked, hildon_check_button_class_init):
72 Make HildonCheckButton derive from GtkToggleButton
73 (hildon_check_button_toggled, hildon_check_button_set_active)
74 (hildon_check_button_get_active):
75 Deprecate unnecessary HildonCheckButton API and use the
76 one from GtkToggleButton instead.
78 * hildon/hildon-set-password-dialog.c (create_contents)
79 (hildon_set_password_response_change, hildon_checkbox_toggled)
80 * examples/hildon-check-button-example.c (button_toggled_cb):
81 Update to use the GtkToggleButton API
83 Fixes: MB#4739 (HildonCheckButton should inherit from
86 Fixes: NB#132661 (HildonCheckButton should inherit from
89 2009-08-20 Alberto Garcia <agarcia@igalia.com>
91 * hildon/hildon-pannable-area.c
92 (hildon_pannable_area_class_init):
93 Increase default value of HildonPannableArea:velocity_max to 2000
95 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
97 2009-08-18 Alberto Garcia <agarcia@igalia.com>
101 * configure.ac: bump version
103 * debian/changelog: updates
105 2009-08-11 Alejandro G. Castro <alex@igalia.com>
107 * hildon/hildon-pannable-area.c
108 (hildon_pannable_area_size_allocate): Checked the scrollbars
109 before the first try when defining the layout, avoids two
110 allocations in some situations.
112 Fixes: NB#131794 (pannable area produces unnecessary allocations
113 causing performance problems)
115 2009-08-11 Alejandro G. Castro <alex@igalia.com>
117 * hildon/hildon-pannable-area.c
118 (hildon_pannable_area_button_press_cb),
119 (hildon_pannable_area_motion_notify_cb),
120 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
121 the spurious ref added in the copy, fixes leak of window.
123 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
124 if it's realized without showing and then deleted)
126 2009-08-10 Alberto Garcia <agarcia@igalia.com>
130 * configure.ac: bump version
132 * debian/changelog: updates
134 2009-08-06 Alberto Garcia <agarcia@igalia.com>
136 * examples/hildon-hvolumebar-timer-example.c
138 * hildon/hildon-banner.c
139 (hildon_banner_timeout, hildon_banner_ensure_timeout)
140 * hildon/hildon-calendar.c
141 (calendar_timer, start_spinning)
142 * hildon/hildon-color-chooser.c
143 (inline_limited_expose)
144 * hildon/hildon-date-editor.c
145 (hildon_date_editor_entry_focus_in)
146 (hildon_date_editor_entry_validate)
147 (hildon_date_editor_entry_select_all)
148 * hildon/hildon-note.c
150 * hildon/hildon-number-editor.c
151 (hildon_number_editor_button_pressed)
152 (hildon_number_editor_start_timer, do_mouse_timeout),
153 (add_select_all_idle, hildon_number_editor_select_all)
154 * hildon/hildon-time-editor.c
155 (hildon_time_editor_entry_focus_in)
156 (highlight_callback, hildon_time_editor_validate)
157 (hildon_time_editor_entry_select_all)
158 * hildon/hildon-time-picker.c
159 (hildon_time_picker_arrow_press)
160 (hildon_time_picker_key_repeat_timeout)
161 * hildon/hildon-window.c
162 (hildon_window_key_press_event)
163 (hildon_window_escape_timeout):
164 Replace all calls to g_idle_add/g_timeout_add with their
165 gdk_threads counterparts.
167 Fixes: NB#126198 (gdk-threads API should be used to install idle
168 and timeout handlers)
170 2009-08-06 Alejandro G. Castro <alex@igalia.com>
172 * hildon/hildon-pannable-area.c,
173 (hildon_pannable_area_class_init): Increased the overshooting max
174 speed to get a faster effect.
175 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
176 deceleration of the overshooting
177 (hildon_pannable_area_button_release_cb): Calculate initial
178 overshooting speed when finger on the screen using the distance to
179 launch the effect faster.
181 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
182 lists with slow row renderers)
184 2009-08-05 Alberto Garcia <agarcia@igalia.com>
186 * doc/hildon-sections.txt: Add new functions
188 2009-08-05 Alberto Garcia <agarcia@igalia.com>
190 * hildon/hildon-text-view.[ch]
191 * hildon/hildon-entry.[ch]:
192 Add deprecation guards around deprecated functions.
194 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
196 * hildon/hildon-app-menu.c: Remove leftover function declaration.
198 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
200 Remove the grab from HildonAppMenu
202 * hildon/hildon-app-menu.c:
203 Now hildon-desktop places a blocker window behind the menu to handle
204 its closing, so the grab is no longer needed. This simplifies its
205 implementation and allows the system blanking to succeed.
207 Fixes: NB#130910 (Screen gets unlocked when menu is open)
209 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
213 * configure.ac: bump version
215 * debian/changelog: updates
216 * debian/control: raise debian dependency on GTK+
218 2009-08-04 Alberto Garcia <agarcia@igalia.com>
220 * hildon/hildon-text-view.c
221 * hildon/hildon-entry.c:
222 Remove all placeholder code from HildonEntry and HildonTextView
223 and use the API in GtkEntry and GtkTextView instead.
225 * examples/hildon-entry-example.c
226 * examples/hildon-text-view-example.c
227 * examples/hildon-wizard-dialog-example.c
228 * hildon/hildon-get-password-dialog.c
229 * hildon/hildon-login-dialog.c
230 * hildon/hildon-picker-dialog.c
231 * hildon/hildon-set-password-dialog.c
232 * hildon/hildon-touch-selector-entry.c:
233 Replace all deprecated calls to HildonEntry and HildonTextView
234 with their Gtk counterparts.
236 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
239 2009-08-03 Alejandro G. Castro <alex@igalia.com>
241 * hildon/hildon-pannable-area.c,
242 (hildon_pannable_area_check_move),
243 (hildon_pannable_area_button_release_cb),
244 (hildon_pannable_area_scroll_to): Reverted the priority change of
245 the timeout, in some situations, slow renderers, the click do not
246 make it to the mainloop on time.
248 Fixes NB#131013 (unable to stop panning file manager by tapping on
251 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
253 * configure.ac: bump version
255 * debian/changelog: updates
257 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
259 * hildon/hildon-touch-selector.[ch]
260 (hildon_touch_selector_center_on_index): New method that allows to center
261 on a item not selected
263 Fixes NB#130291 (New HildonTouchSelector API is required to center on
266 2009-07-29 Alberto Garcia <agarcia@igalia.com>
268 * hildon/hildon-text-view.c
269 (+set_logical_color, +hildon_text_view_style_set)
270 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
271 (hildon_text_view_init)
272 * hildon/hildon-entry.c
273 (+set_logical_color, +hildon_entry_style_set)
274 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
275 (hildon_entry_class_init, hildon_entry_init)
276 * hildon/hildon-button.c
277 (+set_logical_font, +set_logical_color)
278 (hildon_button_style_set, hildon_button_init)
279 (hildon_button_set_arrangement, hildon_button_set_style):
280 Remove all calls to hildon_helper_set_logical_font() and
281 hildon_helper_set_logical_color(), which are recursive, from
284 Fixes: NB#123409 (Showing dialog consumes significant amount of
287 2009-07-29 Alejandro G. Castro <alex@igalia.com>
289 * hildon/hildon-pannable-area.c,
290 (hildon_pannable_area_timeout): Added the process updates of the
291 scrollbars window in the pannable.
293 Fixes: NB#130043 (scrollindicator not smooth while panning)
295 2009-07-23 Alejandro G. Castro <alex@igalia.com>
297 * hildon/hildon-pannable-area.c,
298 (hildon_pannable_area_check_move),
299 (hildon_pannable_area_button_release_cb),
300 (hildon_pannable_area_scroll_to): Increased the priority of the
301 timeout this way it is going to be handled before the events.
303 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
307 * configure.ac: bump version
308 * debian/changelog: updates
310 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
312 * hildon/hildon-entry.c: (set_property): Do not allow to set
313 automatic height and use finger height instead, to prevent an to
314 have a smaller size than than its theme pixbuf.
316 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
318 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
320 * configure.ac: postrelease version bump.
321 * debian/changelog: post release version bump
323 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
328 * configure.ac: Bump version.
329 * debian/changelog: Updates.
331 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
333 * hildon/hildon-note.c: (label_size_request): Take the note
334 padding into account when setting the size request.
336 Fixes: NB#127896 (Information notes text truncated)
338 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
340 * configure.ac: postrelease version bump.
341 * debian/changelog: post release version bump
343 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
348 * configure.ac: Bump version.
349 * debian/changelog: Updates.
351 2009-07-16 Alejandro G. Castro <alex@igalia.com>
354 * hildon/hildon-text-view.c,
355 (hildon_text_view_button_press_event): Grabbed the focus in button
356 press, this way we are sure the widget has the focus in the
357 release event, required for HIM.
359 Fixes: NB#121445 (Virtual keyboard opening is not working in same
360 way for each text entry field)
362 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
364 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
365 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
366 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
367 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
368 (hildon_pannable_area_[gs]et_center_on_child_focus)
369 Redefined GtkContainer set-focus-child signal, in order to center
370 properly on a child when it receives the focus. Defined a new property
371 "center-on-child-focus" in order to activate this feature (deactivated
372 by default). Public get/set methods defined to manage the property.
374 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
376 2009-07-14 László Pere <lpere@blumsoft.eu>
378 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
379 the new size is applied.
381 Fixes: NB#124510 (The Application Menu is distorted when switched
382 between portrait and landscape mode)
383 Fixes: NB#115388 (Power key menu does not resize itself)
385 2009-07-01 Alberto Garcia <agarcia@igalia.com>
387 * hildon/hildon-banner.c (hildon_banner_map):
388 Set banner position after mapping.
390 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
392 * configure.ac: postrelease version bump.
393 * debian/changelog: post release version bump
395 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
400 * configure.ac: Bump version.
401 * debian/changelog: Updates.
403 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
405 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
408 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
410 * tests/check-hildon-banner.c
412 * tests/test_suites.h
413 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
414 were testing deprecated functions.
415 * examples/hildon-banner-example.c: typo on button3 type, that causes
416 a fail compiling with --with-examples but without --disable-deprecated
418 Missed commit in order to fix compilation using '--enable-fatal' and
419 '--disable-deprecated' (see previous commit)
421 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
423 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
424 functions with #ifndef HILDON_DISABLE_DEPRECATED
425 * examples/hildon-find-toolbar.c: Protect deprecated
426 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
427 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
428 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
429 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
431 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
432 to allow proper compilation of deprecated functions defined on the header
434 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
436 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
438 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
439 Cache the panning indicator color.,
440 (hildon_pannable_area_style_set): Query the color on style changes.
441 (hildon_pannable_draw_vscroll),
442 (hildon_pannable_draw_hscroll),
443 (hildon_pannable_area_expose_event): Use the cached panning indicator
444 color instead of looking it up on every expose and more.
446 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
448 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
449 (hildon_pannable_draw_hscroll),
450 (hildon_pannable_area_expose_event): Fix the panning indicator color,
451 so that it's "SecondaryTextColor", as desired.
453 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
455 * hildon/hildon-picker-dialog.c:
456 (selection_completed): take into account HILDON_UI_MODE_NORMAL
457 * hildon/hildon-touch-selector.c
458 (hildon_touch_selector_init): Initialize hildon-ui-mode
459 (hildon_touch_selector_row_activated): new callback for the
460 "row-activated" signal, in order to save the last activated
461 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
462 if the current hildon-ui-mode is coherent with the touch selector
463 (hildon_touch_selector_class_init)
464 (hildon_touch_selector_get_property)
465 (hildon_touch_selector_set_property)
466 Added "hildon-ui-mode" property
467 (disconnect_model_handlers): renamed to clean_column
468 (hildon_touch_selector_remove): use clean_column function
469 (_create_new_column): use the hildon-ui-mode to create the treeview, and
470 only select the first element on HILDON_UI_MODE_EDIT
471 (hildon_touch_selector_column_init): Initialize last_activate
472 (hildon_touch_selector_append_column): check that the touch selector
473 is coherent with the current hildon-ui-mode
474 (hildon_touch_selector_get_hildon_ui_mode)
475 (hildon_touch_selector_set_hildon_ui_mode)
476 Added a getter/setter for the hildon-ui-mode property
477 (hildon_touch_selector_get_last_activated_row): Added this method in
478 order to get the last activated row.
479 * examples/hildon-touch-selector-normal-mode-example.c
480 New example, that shows how to use the HildonTouchSelector in
481 HILDON_UI_MODE_NORMAL
483 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
484 Kristian Rietveld <kris@lanedo.com> advices
486 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
488 * hildon/hildon-time-selector.c: (update_format_policy): Do
489 not call update_format_dependant_columns() if not necessary.
490 (update_format_dependant_columns): Remove unnecessary check for
491 the number of columns.
493 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
495 * hildon/hildon-note.c (+hildon_note_constructor),
496 (hildon_note_class_init), (+hildon_note_set_padding),
497 (hildon_note_rebuild): Install a constructor where to set the
498 padding properties in the note, so that it actually works fine.
499 Use hildon_note_set_padding() for this, and also to set it during
502 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
504 * configure.ac: Bump GTK+ requirement to 2.14.3.
505 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
506 when using maemo-gtk to define proper margins for the notes.
508 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
509 with the dialog edge)
511 2009-06-24 Alberto Garcia <agarcia@igalia.com>
513 * hildon/hildon-banner.c
514 (hildon_banner_class_init):
516 (+hildon_banner_size_request):
517 Request always the full width of the screen.
518 (hildon_banner_realize)
519 (-hildon_banner_check_position, hildon_banner_map):
520 hildon_banner_check_position() is not needed in Hildon 2.2.
521 (-hildon_banner_reset_wrap_state)
522 (hildon_banner_constructor, hildon_banner_init):
523 Remove unnecessary calls to hildon_banner_reset_wrap_state()
524 (+banner_do_set_text)
525 (force_to_wrap_truncated):
526 Remove has_been_wrapped and has_been_truncated attributes.
527 (+reshow_banner, hildon_banner_real_show_information)
528 (hildon_banner_show_information_with_markup)
529 (hildon_banner_show_animation, hildon_banner_show_progress)
530 (hildon_banner_set_text, hildon_banner_set_markup):
531 Refactor code. Shrink banner vertically to use the minimum space
532 necessary everytime the text of the label is updated.
533 (screen_size_changed):
534 Call force_to_wrap_truncated() when the size of the screen
537 Fixes: NB#120500 (only device memory connect mmc in use info
538 banner is left aligned)
540 Fixes: NB#120613 (Size of HildonBanner varies depending on
541 previously opened banners)
543 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
545 * hildon/hildon-color-chooser.c
546 (hildon_color_chooser_pointer_motion): Take the widget allocation
549 Fixes: NB#124385 (Unable to select exact point in color mixing box
550 in color palette dialog)
552 2009-06-23 Alejandro G. Castro <alex@igalia.com>
554 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
555 (hildon_pannable_area_dispose)
556 (hildon_pannable_area_button_press_cb)
557 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
558 (hildon_pannable_area_button_release_cb)
559 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
560 New 'panning-started' and 'panning-finished' signals.
562 Fixes: NB#121732 (New feature request: Signal to pannable area
563 that informs when panning is stopped.)
565 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
567 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
568 instead of hardcoded colon.
570 Fixes: NB#124090 (New calendar wizard title is not using
571 ecdg_ti_caption_separator)
573 2009-06-22 David King <davidk@openismus.com>
575 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
576 constants and functions, as well as correct many typos throughout the
579 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
582 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
584 * configure.ac: postrelease version bump.
585 * debian/changelog: post release version bump
587 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
592 * configure.ac: Bump version.
593 * debian/changelog: Updates.
595 2009-06-18 Alberto Garcia <agarcia@igalia.com>
597 * hildon/hildon-window-stack.c
598 (hildon_window_stack_pop_and_push_list):
599 Prevent windows from having the same stack index
601 2009-06-18 Alberto Garcia <agarcia@igalia.com>
603 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
604 Use the index of the previous window rather than the stack length
605 to calculate the new index.
609 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
611 * hildon/hildon-date-selector.c
612 (hildon_date_selector_select_current_date)
613 (hildon_date_selector_get_date)
614 (hildon_date_selector_select_day):
615 Update the documentation: uses always the range (1-31), as it is obvious
616 that the final one will depend on the month and the year, but globally
617 the range is this, in a similar GtkCalendar approach
618 (hildon_date_selector_get_date):
619 Update the documentation: add NULL as a valid value for the day, month
622 Fix some details, after talk with David King on bug MB#4698
624 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
626 * hildon/hildon-touch-selector-entry.c
627 * hildon/hildon-touch-selector.c
628 Update the documentation of the "text-column" property
630 2009-06-18 David King <davidk@openismus.com>
632 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
633 several typos and errors throughout the documentation.
635 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
638 2009-06-18 Alberto Garcia <agarcia@igalia.com>
640 * hildon/hildon-note.c (hildon_note_realize):
641 Make HildonNote support portrait mode.
643 Fixes: NB#123448 (HildonNote is not portrait-friendly)
645 2009-06-17 Alberto Garcia <agarcia@igalia.com>
647 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
648 Document this function
650 2009-06-17 David King <davidk@openismus.com>
652 * hildon/hildon-date-selector.c
653 (hildon_date_selector_select_current_date)
654 (hildon_date_selector_get_date): Update documentation regarding days,
655 as the day of the month is dependent on both the month and the year.
656 (hildon_date_selector_get_date): Fix documentation of output arguments.
658 Fixes: MB#4698 (DateSelector documentation has bad output argument
659 description, and the day depends on both the month and the year)
661 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
663 * hildon/hildon-caption.c: Other documentation fixes to
666 2009-06-17 David King <davidk@openismus.com>
668 * hildon/hildon-caption.c: Minor documentation updates for
669 HildonCaption. Fixes MB#4697.
671 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
673 * doc/hildon-docs.sgml: Add hildon-version section.
674 * doc/hildon-sections.txt:
675 * hildon/hildon-version.h.in: Document versioning macros and
678 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
680 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
681 from HildonPickerDialog section.
683 2009-06-16 Alberto Garcia <agarcia@igalia.com>
685 * hildon/hildon-banner.c (hildon_banner_bind_style)
686 (screen_size_changed, hildon_banner_init)
687 (hildon_banner_real_show_information)
688 (hildon_banner_show_information_with_markup)
689 (hildon_banner_show_animation, hildon_banner_show_progress):
690 Set a different widget name to banners in portrait mode, for them
691 to be themed correctly.
693 2009-06-16 Alberto Garcia <agarcia@igalia.com>
695 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
696 Set a different widget name to notes in portrait mode, for them to
699 Partially fixes: NB#118401 (HildonNote causes unnecessary
702 2009-06-16 Alberto Garcia <agarcia@igalia.com>
704 * hildon/hildon-note.c (hildon_note_class_init)
705 (+hildon_note_size_request, screen_size_changed):
706 Always request the full width of the screen.
708 Fixes: NB#118375 (unnecessary rescaling of images)
710 2009-06-16 Alejandro G. Castro <alex@igalia.com>
712 * hildon/hildon-pannable-area.c,
713 (hildon_pannable_area_init),
714 (hildon_pannable_area_realize): Replaced old code adding flags in
715 the object init, now we add it with the other flags in the realize
718 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
720 * hildon/hildon-note.c: (hildon_note_class_init): Several
721 documentation improvements to the HildonNote widget.
723 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
725 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
727 Fixes: MB#4556 (HildonNoteType is undocumented)
729 2009-06-15 Alberto Garcia <agarcia@igalia.com>
731 * hildon/hildon-picker-button.c:
732 Explain how HildonPickerButton sets the title of its dialog
734 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
735 the title of its dialog)
737 2009-06-15 Alberto Garcia <agarcia@igalia.com>
739 * hildon/hildon-check-button.c:
740 Documentation updates
742 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
745 2009-06-15 Alberto Garcia <agarcia@igalia.com>
748 * hildon/hildon-edit-toolbar-private.h
749 * hildon/hildon-edit-toolbar.c
750 (+hildon_edit_toolbar_set_progress_indicator)
751 (hildon_edit_toolbar_init): Add progress indicator to the
754 * hildon/hildon-gtk.c
755 (hildon_gtk_window_set_progress_indicator):
756 If the window contains a HildonEditToolbar, enable the progress
759 * hildon/hildon-private.h
760 * hildon/hildon-private.c
761 (+hildon_private_create_animation)
762 * hildon/hildon-banner.c
763 (-hildon_banner_create_animation):
764 Moved to hildon-private.c
766 Fixes: NB#102373 (Progress indicator also for the Edit mode
769 2009-06-15 Alberto Garcia <agarcia@igalia.com>
771 * hildon/hildon-app-menu-private.h
772 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
773 (hildon_app_menu_add_filter, +menu_item_button_event)
774 (hildon_app_menu_button_release, hildon_app_menu_init):
775 Make sure that buttons receive 'button-release-event' in spite of
776 the grab held by HildonAppMenu
778 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
780 2009-06-15 Alberto Garcia <agarcia@igalia.com>
782 * hildon/hildon-app-menu.c
783 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
784 New style property to set the size of the group of filter buttons.
786 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
788 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
793 * configure.ac: Bump version.
794 * debian/changelog: Updates.
796 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
798 * hildon/hildon-main.c: Minor documentation fixes.
800 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
802 * doc/hildon-sections.txt:
803 * hildon/hildon-defines.h: Document the defines, organize them,
804 and mark deprecations as such.
806 Fixes: MB#4463 (Hildon size #defines are undocumented)
808 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
810 * hildon/hildon-animation-actor.c:
811 * hildon/hildon-app-menu.c:
812 * hildon/hildon-button.c:
813 * hildon/hildon-date-editor.c:
814 * hildon/hildon-dialog.c:
815 * hildon/hildon-edit-toolbar.c:
816 * hildon/hildon-entry.c:
817 * hildon/hildon-program.c:
818 * hildon/hildon-remote-texture.c:
819 * hildon/hildon-stackable-window.c:
820 * hildon/hildon-text-view.c:
821 * hildon/hildon-touch-selector.c:
822 * hildon/hildon-window-stack.c:
823 * hildon/hildon-window.c:
825 Remove redundant "represents" wording from most of the documentation.
827 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
829 2009-06-12 Alberto Garcia <agarcia@igalia.com>
834 * hildon/hildon-banner-private.h
835 * hildon/hildon-banner.c:
836 Move HildonBannerPrivate to hildon-banner.c and remove
837 hildon-banner-private.h
838 Use a bit field to store private booleans.
840 2009-06-12 Alberto Garcia <agarcia@igalia.com>
842 * hildon/hildon-app-menu.c (hildon_app_menu_map):
843 Don't install a new idle function if there's already one
848 2009-06-11 Alberto Garcia <agarcia@igalia.com>
850 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
851 (+legacy_menu_realized, +legacy_menu_unmapped)
852 (+set_legacy_menu_type):
853 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
854 they can be identified by the window manager.
856 Fixes: NB#101437 (Invoking CSM on the left side of page area is
857 displayed in wrong location)
859 Fixes: MB#4563 (Popup menu won't locate at the left side of the
862 2009-06-11 Alberto Garcia <agarcia@igalia.com>
864 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
866 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
869 2009-06-11 Alberto Garcia <agarcia@igalia.com>
871 * hildon/hildon-code-dialog.c
872 * hildon/hildon-date-editor.c
873 * hildon/hildon-number-editor.c
874 * hildon/hildon-seekbar.c
875 * hildon/hildon-stackable-window.c
876 * hildon/hildon-window.c:
877 Misc documentation updates
879 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
881 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
882 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
884 Fixes: NB#117931 (Theming issues in accounts dialogs)
886 2009-06-09 Alejandro G. Castro <alex@igalia.com>
888 * hildon/hildon-pannable-area.c,
889 (hildon_pannable_area_button_release_cb): Changed the coordinates
890 of the original release in case we want to discard the release,
891 some widgets in Fremantle do not handle the leave-notify.
893 2009-06-09 Alejandro G. Castro <alex@igalia.com>
895 * hildon/hildon-pannable-area.c,
896 (hildon_pannable_area_button_release_cb): Reviewed the logic of
897 the release using the last refactored functions and avoiding the
898 movement if an element was selected.
900 2009-06-09 Alejandro G. Castro <alex@igalia.com>
902 * hildon/hildon-pannable-area.c,
903 (hildon_pannable_area_check_move),
904 (hildon_pannable_area_handle_move),
905 (hildon_pannable_area_motion_notify_cb): Refactored the
906 motion_notify method using a couple of new functions.
908 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
910 * hildon/hildon-date-selector.c:
911 (hildon_date_selector_construct_ui):
912 * hildon/hildon-time-selector.c:
913 (hildon_time_selector_constructor):
914 * hildon/hildon-touch-selector-entry.c:
915 (hildon_touch_selector_entry_set_text_column),
916 (hildon_touch_selector_entry_get_text_column):
917 * hildon/hildon-touch-selector.c: (_default_print_func),
918 (hildon_touch_selector_new_text): Use
919 hildon_touch_selector_set/get_text_column() instead of
920 setting/getting the "text-column" property.
922 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
924 * doc/hildon-sections.txt: Add the new public methods below.
926 * examples/hildon-picker-button-multicolumn-example.c:
927 (create_touch_selector):
928 * examples/hildon-touch-selector-example.c: (create_selector):
929 * examples/hildon-touch-selector-multi-cells-example.c:
931 Use hildon_touch_selector_column_set_text_column()
933 * hildon/hildon-touch-selector-column.h:
934 * hildon/hildon-touch-selector.c:
935 (hildon_touch_selector_column_set_text_column),
936 (hildon_touch_selector_column_get_text_column):
937 Make hildon_touch_selector_column_set/get_column() public, use
938 them in the inline example, document them, and reference to them
941 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
943 * hildon/hildon-time-selector.c: Fix the docs for
944 hildon_time_selector_new_step().
946 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
948 * hildon/hildon-touch-selector.c: Improve the documentation for
949 hildon_touch_selector_append_column().
951 Fixes MB#4641 (Documentation:
952 hildon_touch_selector_append_column() ref-counting)
954 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
956 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
957 Comment out test 5, since the hildon_controlbar_set_range() range
958 check is broken and fixing it would have side effects. Also,
959 this finally fixes make distcheck.
961 Fixes: NB#101420 (Update unit tests and fix make distcheck)
963 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
965 * tests/TEST-CASES.txt: Remove other bogus test.
966 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
967 Remove bogus test that was setting/retrieving a valid value.
969 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
971 * tests/TEST-CASES.txt: Remove bogus tests.
972 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
973 Remove three bogus tests that were actually setting valid colors.
975 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
977 * configure.ac: post release version bump
978 * debian/changelog: post release version bump
980 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
985 * configure.ac: Bump version.
986 * debian/changelog: Updates.
988 2009-06-08 Christian Dywan <christian@lanedo.com>
992 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
993 Correct errors in hildon_format_file-size_for_display and use
994 translations from the hildon-fm package instead of osso-filemanager.
996 2009-06-08 Alejandro G. Castro <alex@igalia.com>
998 * hildon/hildon-pannable-area.c,
999 (hildon_pannable_area_init): Initialized new values to handle the
1000 adjustment position.
1001 (hildon_pannable_area_adjust_value_changed): Check if the values
1002 changed before even call the redraw function.
1003 (hildon_pannable_area_size_allocate),
1004 (hildon_pannable_axis_scroll),
1005 (hildon_pannable_area_scroll),
1006 (hildon_pannable_area_jump_to): Improved the diagonal movement
1009 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1012 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1014 * examples/hildon-banner-example.c:
1015 Several style updates
1016 (on_animation_clicked, on_animation_idle)
1017 (on_progress_clicked, on_progress_idle):
1018 Add additional reference for the cases when the parent window is
1021 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1023 * doc/hildon-sections.txt
1024 * hildon/hildon-pannable-area.c
1025 * hildon/hildon-banner.h
1026 * hildon/hildon-banner.c: Documentation updates.
1028 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1031 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1033 * hildon/hildon-calendar-popup.h:
1034 * hildon/hildon-caption.h:
1035 * hildon/hildon-code-dialog.h:
1036 * hildon/hildon-controlbar.h:
1037 * hildon/hildon-date-editor.h:
1038 * hildon/hildon-dialog.h:
1039 * hildon/hildon-get-password-dialog.h:
1040 * hildon/hildon-hvolumebar.h:
1041 * hildon/hildon-login-dialog.h:
1042 * hildon/hildon-note.h:
1043 * hildon/hildon-number-editor.h:
1044 * hildon/hildon-range-editor.h:
1045 * hildon/hildon-seekbar.h:
1046 * hildon/hildon-set-password-dialog.h:
1047 * hildon/hildon-sort-dialog.h:
1048 * hildon/hildon-time-editor.h:
1049 * hildon/hildon-time-picker.h:
1050 * hildon/hildon-volumebar-range.h:
1051 * hildon/hildon-volumebar.h:
1052 * hildon/hildon-vvolumebar.h:
1053 * hildon/hildon-weekday-picker.h:
1054 * hildon/hildon-window.h:
1055 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1056 macros with the current replacements
1058 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1060 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1062 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1063 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1064 itself, to make it fit better with Fremantle style.
1066 Fixes: NB#109878 (height and width of focus on color icon is not
1067 consistent with other item in the application tool bar)
1069 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1071 * hildon/hildon-touch-selector.c:
1072 (hildon_touch_selector_optimal_size_request): use the current requisition
1073 as the base, in order to include any possible extra widget, like the
1074 hildon entry on HildonTouchSelectorEntry
1076 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1078 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1080 * configure.ac: post release version bump
1081 * debian/changelog: post release version bump
1083 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1088 * configure.ac: Bump version.
1089 * debian/changelog: Updates.
1091 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1093 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1095 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1096 to ensure the banner contents are centered, instead of relying on
1097 the expand and fill properties in GtkHBox.
1098 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1100 Fixes: NB#108265 (Animation banner not properly centered)
1102 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1104 * hildon/hildon-pannable-area.c
1105 (hildon_pannable_area_initial_effect): Remove the initial_effect
1106 management, check initial_hint
1107 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1108 set initial_effect to FALSE
1109 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1110 by launching the fade_timeout if the scrollbars state has changed and are
1112 * examples/hildon-pannable-area-initial-hint-example.c
1113 Modified to allow to remove rows too. Add and remove rows one by one.
1115 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1117 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1118 Don't close the menu if there's an animation actor below it.
1120 Fixes: NB#117927 (Application menu not usable with animation
1123 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1125 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1126 "focus-on-click" from the dialog button, to avoid stealing the
1127 focus from the entry.
1129 Fixes: NB#118903 (Account setup wizard: Text in Search field
1130 should be focused when "Region" touch list picker is reopened
1133 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1135 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1136 (prepare_action_area): Completely hide the dialog separator.
1138 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1140 * hildon/hildon-touch-selector-entry.c
1141 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1142 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1143 now that the entry is exposed.
1145 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1147 * hildon/hildon-touch-selector-entry.c
1148 (hildon_touch_selector_entry_init): Change the entry's size
1149 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1151 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1153 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1154 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1155 avoid unnecessary scaling.
1157 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1159 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1160 Create grab transfer window before calling parent's map function.
1162 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1163 "crushed" button(s) in the top left corner)
1165 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1167 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1168 Check if the window is already realized when pushing it.
1170 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1172 * configure.ac: post release version bump
1173 * debian/changelog: post release version bump
1175 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1180 * configure.ac: Bump version.
1181 * debian/changelog: Updates.
1183 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1185 * hildon/hildon-app-menu.c: Doc updates.
1187 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1189 * hildon/hildon-banner.c: Remove leftover macro.
1191 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1193 * hildon/hildon-pannable-area.c,
1194 (hildon_pannable_area_scroll_indicator_fade),
1195 (hildon_pannable_area_button_release_cb): Reviewed vmin
1196 conditions, it could cause problems in the fadeout procedure.
1198 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1200 * hildon/hildon-pannable-area.c
1201 (hildon_pannable_area_button_release_cb): Added a threshold to
1202 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1204 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1206 * hildon/hildon-pannable-area.c,
1207 (hildon_pannable_area_set_property): Added code to sync the gtk
1208 dnd threshold with the panning threshold.
1210 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1212 * hildon/hildon-pannable-area.c,
1213 (hildon_pannable_area_class_init): Changed some of the default
1214 values, now it should be less responsive and more accurate.
1216 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1218 * hildon/hildon-pannable-area.c,
1219 (hildon_pannable_area_init),
1220 (hildon_pannable_area_scroll_indicator_fade),
1221 (hildon_pannable_area_button_press_cb),
1222 (hildon_pannable_axis_scroll),
1223 (hildon_pannable_area_timeout),
1224 (hildon_pannable_area_motion_notify_cb),
1225 (hildon_pannable_area_button_release_cb): Changed the name of the
1226 clicked attribute to button_pressed, it is more clear about its use.
1228 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1230 * src/hildon-pannable-area.c
1231 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1233 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1234 vertical scrollbar visibility, and use the data on private section instead,
1235 remove the initial_hint check
1236 (hildon_pannable_area_expose_event): add the initial_hint check here
1238 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1240 * src/hildon-pannable-area.c
1241 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1242 if the fadeout effect was used
1243 (hildon_pannable_area_expose_event): check if it is required to
1244 manage the initial effect on the begining of the function. Previously
1245 it was made at the end, but this doesn't ensure that the scrollbars
1246 will be painted on the first show. Do not set to FALSE initial_effect,
1247 to ensure that the initial hint is showed the first time the pannable
1249 * examples/Makefile.am
1250 * examples/hildon-pannable-area-initial-hint-example.c:
1251 New example, to show that the initial-hint is showed when the widget
1254 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1255 initially if the application can be scrolled)
1257 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1259 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1260 Resize table before adding new items to make sure that
1261 gtk_table_resize() is called just once.
1263 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1265 * hildon/hildon-app-menu-private.h
1266 * hildon/hildon-app-menu.c (item_visibility_changed)
1267 (filter_visibility_changed, hildon_app_menu_show_all)
1268 (hildon_app_menu_hide_all, hildon_app_menu_init):
1269 Rearrange items just once when gtk_widget_show_all()/hide_all()
1272 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1274 * hildon/hildon-app-menu.c
1275 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1276 Don't call gtk_widget_show() on added items.
1278 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1279 automatically when they're added)
1281 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1283 * hildon/hildon-banner.c
1284 (hildon_banner_realize, +hildon_banner_unrealize)
1285 (+screen_size_changed, hildon_banner_class_init):
1286 Redisplay the banner if the screen is rotated.
1288 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1289 on transition from landscape to portrait)
1291 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1293 * hildon/hildon-banner.[ch]:
1294 (hildon_banner_show_information_override_dnd): remove icon_name from the
1295 method definition as it is ignored.
1296 * examples/hildon-banner-dnd-example.c: updated with the change on
1299 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1301 * hildon/hildon-banner-private.h: new require_override_dnd and
1302 overrides_dnd variables
1303 * hildon/hildon-banner.h:
1304 (hildon_banner_show_information_override_dnd): new method, that shows
1305 the information but sets the override flag, in order to show important
1307 * hildon/hildon-banner.c
1308 (hildon_banner_show_information_override_dnd): new method
1309 (hildon_banner_set_override_flag): new utility function
1310 (hildon_banner_real_show_information): new utility function, in order to
1311 generalize the current hildon_banner_show_information_override_dnd and
1312 hildon_banner_show_information_override_dnd
1313 * examples/Makefile.am
1314 * examples/hildon-banner-dnd-example.c: New example that show how to
1315 use the new hildon_banner_show_information_override_dnd
1317 Fixes: NB#114874 (There is no possibility to show hildon banners with
1320 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1322 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1323 behind hildon_pannable_calculate_vel_factor().
1325 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1327 * hildon/hildon-pannable-area.c
1328 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1329 deceleration factors.
1331 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1333 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1334 Reduce the default value for 'scroll_time' to 1 second, since the
1335 current initial scrolling takes too much time.
1337 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1339 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1340 calculate velocity factor during initialization, since the properties
1343 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1345 * hildon/hildon-pannable-area.c
1346 (hildon_pannable_area_set_property): Calculate the velocity factor
1347 after setting the deceleration property and not after.
1349 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1351 * hildon/hildon-entry.c
1352 (hildon_entry_class_init, +set_property, hildon_entry_new)
1353 * hildon/hildon-check-button.c
1354 (hildon_check_button_class_init)
1355 (+set_property, hildon_check_button_new):
1356 Make the theme size a property.
1358 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1359 others) do too much in the _new function)
1361 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1363 * configure.ac: post release version bump
1364 * debian/changelog: post release version bump
1366 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1371 * configure.ac: Bump version.
1372 * debian/changelog: Updates.
1374 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1376 * hildon/hildon-gtk.h
1377 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1378 New API function to take a screenshot of a window
1380 Fixes: NB#106374 (Need API to take a loading screenshot)
1382 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1384 * hildon/hildon-time-selector.c
1385 (update_format_policy): prevent to use hours and minutes unitialized
1387 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1389 * hildon/hildon-window.c (hildon_window_size_request):
1390 Always request the full size of the screen (minus the title bar if
1391 not in fullscreen mode).
1393 Fixes: NB#107486 (HildonWindow should size itself properly)
1395 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1397 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1398 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1399 (on_show_cb), (sound_handling): Disconnect the idle handler for
1400 the sound when the note is finalized to avoid possible crashes.
1402 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1405 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1407 * src/hildon-animation-actor.c,
1408 * src/hildon-remote-texture.c:
1409 Added proper object cleanup to remove signal handler and object
1410 references as HildonAnimationActor and HildonRemoteTexture
1411 objects get destroyed.
1413 Fixes: NB#116682 (Destroying parented animation actors when
1414 parent in unmapped leads to crash)
1416 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1418 Based on a patch by Christian Dywan (christian@imendio.com)
1420 * doc/hildon-sections.txt:
1421 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1422 * hildon/hildon-helper.h: New file size formatting method.
1424 * debian/control: Depend on osso-filemanager l10n package for
1425 proper localization strings.
1427 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1429 * tests/Makefile.am: Include top_srcdir to make possible to build
1430 tests in a different builddir.
1431 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1432 on a different builddir.
1434 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1436 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1437 (hildon_touch_selector_remove): Disconnect model's signal handler
1440 Fixes: NB#116289 (Hildon home crashes while adding task
1443 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1445 * hildon/hildon-button.c
1446 (hildon_button_set_title, hildon_button_set_value):
1447 Hide labels containing an empty string.
1449 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1451 * configure.ac: post release version bump
1452 * debian/changelog: post release version bump
1454 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1459 * configure.ac: Bump version.
1460 * debian/changelog: Updates.
1462 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1464 * hildon/hildon-note-private.h: Removed sound_signal_handler
1465 * hildon/hildon-note.c
1466 (on_show_cb): new callback on note "show" event, this simply adds
1467 a idle, with the function sound_handling
1468 (sound_handling): removed the sound_signal_handler management
1469 (hildon_note_init): connect note "show" event to on_show_cb
1470 (hildon_note_realize): remove the connection to "expose-event"
1472 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1473 device?' confirmation note)
1475 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1477 * hildon/hildon-note.c
1478 (hildon_note_new_information_with_icon_name)
1479 (hildon_note_new_confirmation_with_icon_name):
1480 Terminate the list of parameters in g_object_set() calls
1482 Fixes: NB#115166 (Formatting memory card is not taking place)
1484 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1486 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1487 "dialog-information" role for the sound being played.
1489 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1491 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1492 Don't make the menu a modal window, it causes strange interactions
1493 with the pointer grab and it's not really needed.
1495 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1497 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1499 * hildon/hildon-touch-selector.[ch]
1500 (hildon_touch_selector_optimal_size_request): function added to get a
1501 optimal size request from the touch selector, when you want a dialog to
1502 show as much of the selector
1503 * hildon/hildon-picker-dialog.c:
1504 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1505 (hildon_app_menu_class_init):
1506 New "max-height-landscape" and "max-height-portrait" style properties
1507 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1508 (hildon_picker_dialog_get_max_height): returns the maximum height using
1509 the style properties defined and checking the current portrait/landscape
1511 (_hildon_picker_dialog_set_selector): removed the set_size_request
1513 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1515 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1517 * hildon/hildon-bread-crumb-trail.c:
1518 * hildon/hildon-bread-crumb.c:
1519 * hildon/hildon-seekbar.c:
1520 Add reference to replacements for these deprecated widgets.
1522 Fixes: MB#4461 (Documentation: All deprecations should mention
1525 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1527 * examples/hildon-remote-texture-example.c
1529 Change the include to the hildon-remote-texture in order to compile
1530 properly the examples on the installed libhildon1-examples package
1532 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1534 * tests/Makefile.am: Add check for HildonPickerButton.
1535 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1536 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1537 checks for the HildonPickerButton.
1538 * tests/check_test.c (configure_tests): Add the test suite.
1539 * tests/test_suites.h: likewise.
1541 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1543 * hildon/hildon-touch-selector.c
1544 (+on_row_changed): Emit HildonTouchSelector:changed when the
1545 contents of a selected row change.
1546 (_create_new_column), (_hildon_touch_selector_set_model): connect
1547 to GtkTreeModel:row-changed on a newly set model.
1549 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1551 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1553 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1555 * hildon/hildon-banner.c (hildon_banner_destroy)
1556 (hildon_banner_show_progress, hildon_banner_set_fraction):
1557 Remove the progress bar from HildonBanner and use a progress
1560 Fixes: NB#113761 (Update progress banner to use progress
1563 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1565 * hildon/hildon-banner.c:
1566 Calculate size of the banner label using the actual screen width
1567 rather than using a fixed value.
1569 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1572 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1574 * hildon/hildon-pannable-area.c,
1575 (hildon_pannable_area_class_init): Fixed signals documentation
1578 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1580 * configure.ac: post release version bump
1581 * debian/changelog: post release version bump
1583 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1588 * configure.ac: Bump version.
1589 * debian/changelog: Updates.
1591 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1593 * hildon/hildon-edit-toolbar.c
1594 (hildon_edit_toolbar_init):
1595 Don't let buttons in HildonEditToolbar receive focus.
1597 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1598 typing on an HW arrows key)
1600 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1602 * doc/Makefile.am: Fix build.
1604 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1606 * doc/Makefile.am: Do not redefine content_files.
1608 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1616 Renamed src/ to hildon/
1621 Include <hildon/hildon.h> directly in all examples.
1623 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1625 * src/hildon-sort-dialog.c
1626 (hildon_sort_dialog_add_sort_key_with_sorting)
1630 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1633 make distcheck passes.
1635 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1637 * Makefile.am: Enable gtk-doc during distcheck.
1639 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1641 * Makefile.am: Do not distribute the debian/ directory.
1643 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1645 * doc/Makefile.am: Add the extra SGML files to content_files,
1646 so that they are distributed properly.
1648 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1650 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1653 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1655 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1656 (hildon_note_new_information_with_icon_name): Set the "icon" property
1657 to preserve soundness.
1659 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1661 * src/hildon-font-selection-dialog.c
1662 (hildon_font_selection_dialog_set_property): Fail when the "family"
1663 property is set to NULL.
1665 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1670 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1672 * src/hildon-time-selector.h:
1673 Added HildonTimeSelectorFormatPolicy
1674 * src/hildon-time-selector.c:
1675 Added PROP_TIME_FORMAT_POLICY
1676 (_check_ampm_format): renamed to check_automatic_ampm_format
1677 (update_format_policy), (update_format_dependant_columns): new functions
1678 (hildon_time_selector_class_init)
1679 (hildon_time_selector_contructor)
1680 (hildon_time_selector_init)
1681 (hildon_time_selector_get_property)
1682 (hildon_time_selector_set_property)
1683 (hildon_time_selector_get_time)
1684 (hildon_time_selector_set_time)
1685 * src/hildon-touch-selector.h: new file
1686 * src/hildon-touch-selector.c
1687 (hildon_touch_selector_emit_changed)
1688 (hildon_touch_selector_block_changed)
1689 (hildon_touch_selector_unblock_changed)
1690 Added functions to allow to block the emission of the "changed" signal
1691 * src/hildon-picker-dialog.c
1692 (hildon_picker_dialog_show): call the parent show before the custom code
1693 * examples/hildon-time-button-example.c
1694 Modified, so now you can configure the time format using the new property
1696 Added a new property "time-format-policy" that allow to choose the time
1697 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1698 case it uses gconf in order to check if the time selector must use
1701 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1704 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1706 * src/hildon-note.c (hildon_note_init):
1707 Label in HildonNote must be left aligned, not centered. This
1708 reverts the last commit in HildonNote.
1710 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1711 is connectivity dialog)
1713 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1718 * doc/hildon-sections.txt:
1719 Added hildon_gtk_window_set_do_not_disturb()
1721 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-note.c (hildon_note_init): Center label.
1725 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1728 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1733 * configure.ac: Bump version.
1734 * debian/changelog: Updates.
1736 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1738 * src/hildon-note-private.h: Add button-width to the private data.
1739 * src/hildon-note.c (+resize_button),
1740 (+hildon_note_orientation_update): methods to repack widgets on orientation
1742 (screen_size_changed): Call above method for confirmation notes.
1743 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1744 (hildon_note_rebuild): Store the original width request from buttons.
1746 Fixes: NB#109635 (Confirmation notes do not support portrait)
1748 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1750 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1751 when it is a progress note.
1753 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1755 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1756 in the note, since there are no horizontally arranged contents.
1758 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1760 * src/hildon-gtk.c (+set_flag): new generic method to
1761 set/delay a flag setting in a window.
1762 (hildon_gtk_window_set_progress_indicator):
1763 (hildon_gtk_window_set_do_not_disturb),
1764 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1765 avoid code redundance.
1767 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1769 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1771 * src/hildon-gtk.c (set_clear_window_flag),
1772 (do_set_progress_indicator), (do_set_do_not_disturb),
1773 (do_set_portrait_flags),
1774 (hildon_gtk_window_set_progress_indicator),
1775 (hildon_gtk_window_set_do_not_disturb),
1776 (hildon_gtk_window_set_portrait_flags):
1777 Allow setting dnd-flag, progress indicator, and portrait flags
1778 when the window is not realized.
1780 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1782 * src/hildon-pannable-area.c,
1783 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1784 the size request policy function and defines.
1786 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1788 * doc/hildon-sections.txt: Add the new API.
1789 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1790 method to set the portrait flags.
1791 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1793 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1795 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1798 to allow using this method with other flags.
1799 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1800 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1802 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-touch-selector.c
1805 (hildon_touch_selector_append_text_column):
1806 Make the cell renderer use the smallest width possible.
1808 Fixes: NB#108470 (Selected items in multiple selection are either
1809 having a tick that is cut or not visible at all.)
1811 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-touch-selector.c
1814 (hildon_touch_selector_append_text_column):
1817 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1820 Use g_strdup_printf() instead of a fixed size buffer.
1822 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1824 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1825 Close banners when a HildonAppMenu is popped up.
1827 Fixes: NB#111027 (Title menu closed immediately if activated when
1828 "Invalid e-mail address" banner is shown)
1830 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1835 * configure.ac: Bump version.
1836 * debian/changelog: Updates.
1838 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-banner.c (hildon_banner_realize):
1841 Mark HildonBanner as supporting portrait mode.
1842 Use GDK to set window properties insetad of direct Xlib calls.
1844 Fixes: NB#111830 (HildonBanner should be marked as supporting
1847 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-note.c (hildon_note_rebuild):
1850 Hide action area in information notes. Prevents text from being
1851 slightly aligned to the left.
1853 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1856 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1858 Patch by Mox Soini (ext-mox.soini@nokia.com)
1860 * src/hildon-banner.c (hildon_banner_create_animation):
1861 Use stylus-sized icons in animation banner.
1863 Fixes: NB#111206 (stylus sized icon for animation banner)
1865 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1869 (+hildon_gtk_window_set_do_not_disturb):
1870 New API to set the do-not-disturb flag.
1872 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1874 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1876 * examples/hildon-progress-indicator-example.c: Fix example
1878 * src/hildon-gtk.c (set_clear_window_flag)
1879 (hildon_gtk_window_set_progress_indicator):
1880 Create a generic function for setting flags to a window.
1881 Use GDK instead of direct Xlib calls.
1883 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1885 * src/hildon-button.c (hildon_button_set_arrangement):
1886 Due to NB#88126, if one of the labels is too long it will be
1887 painted outside the button. The 'value' label is more likely to be
1888 the longest one, so we change its packing options in order to
1889 truncate it if necessary. As a side effect, the 'title' label will
1890 no longer be truncated.
1892 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1894 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1899 * configure.ac: Bump version.
1900 * debian/changelog: Updates.
1902 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1904 Deprecation of the hildon_pannable_area_set_size_request_policy
1905 API, the only policy properly supported in gtk+ nowadays is the
1908 * src/hildon-pannable-area.c,
1909 (hildon_pannable_area_size_request): Added a workaround for the
1910 size_request to avoid the problems of huge pixmaps in case someone
1911 is still using the function.
1912 * src/hildon-pannable-area.h: Deprecated the enum with the
1915 Fixes: NB#110244 (Problems with the
1916 hildon_pannable_area_set_size_request_policy API)
1918 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1920 * src/hildon-pannable-area.c,
1921 (hildon_pannable_area_init),
1922 (hildon_pannable_area_size_request),
1923 (hildon_pannable_area_style_set),
1924 (hildon_pannable_draw_vscroll),
1925 (hildon_pannable_draw_hscroll),
1926 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1927 indicator_width to clarify the use of the attribute.
1929 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1934 * configure.ac: Bump version.
1935 * debian/changelog: Updates.
1937 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1939 * src/hildon-picker-dialog.c
1940 * src/hildon-touch-selector.c
1941 Reverting the change that tried to avoid the hardcoded height on
1942 the picker dialog, as causes problems on the hildon-touch-selector
1945 Fixes: NB#110029 (selectors not scrolling to selected value)
1947 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-touch-selector.c: Fix typos
1951 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1954 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1955 request more motions after using it.
1957 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1959 * src/hildon-calendar.c (hildon_calendar_expose),
1960 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1961 Remove unused variables.
1963 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1965 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1966 variable assignment.
1968 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1971 Check the return value of gtk_tree_selection_get_selected()
1974 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1976 * src/hildon-animation-actor.c
1977 * src/hildon-button.c
1979 * src/hildon-pannable-area.c
1980 * src/hildon-picker-button.c
1981 * src/hildon-program.c
1982 * src/hildon-remote-texture.c
1983 * src/hildon-text-view.c
1984 * src/hildon-touch-selector.c
1985 * src/hildon-window-stack.c
1986 * src/hildon-window.c:
1987 Add missing 'Since: 2.2' tags.
1989 * doc/hildon-sections.txt:
1990 Add some missing symbols.
1992 * doc/hildon-docs.sgml:
1993 New 'Other' section for HildonAnimationActor and
1996 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1998 Patch by Iván Gómez (igomez@igalia.com)
2001 * doc/compiling.sgml
2002 * doc/hildon-docs.sgml
2003 * doc/hildon-sections.txt
2004 * doc/migration.sgml
2005 * doc/resources.sgml
2007 New chapters on using the Hildon library.
2008 Updated the general structure of the reference manual.
2009 Other minor documentation fixes.
2011 * src/hildon-calendar-popup.c
2012 * src/hildon-calendar.c
2013 * src/hildon-controlbar.c
2014 * src/hildon-date-editor.c
2015 * src/hildon-dialog.c
2016 * src/hildon-hvolumebar.c
2017 * src/hildon-number-editor.c
2018 * src/hildon-range-editor.c
2019 * src/hildon-sort-dialog.c
2020 * src/hildon-time-editor.c
2021 * src/hildon-time-picker.c
2022 * src/hildon-volumebar-range.c
2023 * src/hildon-volumebar.c
2024 * src/hildon-vvolumebar.c
2025 * src/hildon-weekday-picker.c:
2026 Add deprecation notes
2028 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2029 Document 'horizontal-movement' and 'vertical-movement' signals.
2031 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2036 * configure.ac: Bump version.
2037 * debian/changelog: Updates.
2039 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2041 * src/hildon-pannable-area.c,
2042 (hildon_pannable_area_class_init): increased the minimum velocity.
2043 (hildon_pannable_area_button_release_cb): Updated the
2044 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2045 setup. Review the code to control that last event.
2047 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2050 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2052 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2054 * src/hildon-get-password-dialog.c
2055 (hildon_get_password_set_property),
2056 (hildon_get_password_get_property), (create_contents):
2057 * src/hildon-login-dialog-private.h:
2058 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2059 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2060 (hildon_login_dialog_get_password):
2061 * src/hildon-set-password-dialog-private.h:
2062 * src/hildon-set-password-dialog.c
2063 (hildon_set_password_set_property),
2064 (hildon_set_password_get_property), (create_contents),
2065 (hildon_set_password_response_change),
2066 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2068 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2069 instead and look more Fremantle style.
2071 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2073 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2075 * doc/hildon-sections.txt
2076 * src/hildon-window-stack.h
2077 * src/hildon-window-stack.c
2078 (+hildon_window_stack_get_windows):
2079 New API to obtain the list of windows on a stack.
2081 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2083 * src/hildon-app-menu.c (hildon_app_menu_popup)
2084 (hildon_app_menu_class_init, -hildon_app_menu_show):
2085 Remove hildon_app_menu_show() and move all its checks to
2086 hildon_app_menu_popup()
2088 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2090 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2091 (_hildon_picker_dialog_set_selector): removed call to
2092 gtk_widget_set_size_request
2093 * src/hildon-touch-selector.c
2094 (_create_new_column): change the pannable size request policy
2096 Avoid to use a hardcoded height for the hildon picker dialog. In order
2097 to get that, we needed to change the hildon pannable size request
2099 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2101 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2104 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2107 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2109 * debian/control: Depend on osso-system-lock localization package.
2110 * src/hildon-code-dialog.c: Obtain the secu_application_title
2111 translation from osso-system-lock.
2112 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2113 for translation the atk related strings, that's not necessary.
2114 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2115 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2116 cancel button, it is not required.
2118 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2120 * src/hildon-pannable-area.c,
2121 (hildon_pannable_area_class_init): Modified the default value of
2122 the overshooting max speed, we have reduced it.
2124 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2126 * doc/hildon-sections.txt
2127 * src/hildon-window-private.h
2128 * src/hildon-window.h
2129 * src/hildon-window.c (hildon_window_class_init)
2130 (hildon_window_init, hildon_window_finalize)
2131 (hildon_window_realize, hildon_window_get_property)
2132 (hildon_window_set_property, hildon_window_update_markup)
2133 (hildon_window_get_markup, hildon_window_set_markup):
2134 New "markup" property and hildon_window_{get,set}_markup() methods.
2136 * examples/hildon-stackable-window-example.c (new_window):
2137 Update example to use hildon_window_set_markup()
2139 Fixes: NB#106375 (Need API to retitle a window with a title
2142 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2144 * src/hildon-pannable-area.c,
2145 (hildon_pannable_area_class_init): Changed the default value of
2146 the initial_hint to TRUE.
2147 (hildon_pannable_area_initial_effect): Changed the initial effect,
2148 not the effect is just the fade-out of the scrollbars.
2150 Fixes: NB#107775 (No scrollbars can be seen when several items are
2151 available in a dialog)
2153 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-program.c (hildon_program_update_top_most):
2158 Fixes: NB#109179 (Memory leak in Hildon program)
2160 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2162 * src/hildon-banner.c (-get_current_app_window):
2163 Remove unused function.
2165 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2167 * src/hildon-pannable-area.c: Modified the documentation of the
2168 get adjustments functions to explain the problem of using the
2169 adjustment directly.
2170 (hildon_pannable_area_class_init): Improved the explanation about
2173 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2175 * src/hildon-app-menu-private.h
2176 * src/hildon-app-menu.c
2177 (hildon_app_menu_class_init):
2178 Bring back the 'external-border' style property
2179 (hildon_app_menu_class_init, hildon_app_menu_init)
2180 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2181 Set a fixed width-request for the menu, independent of the number
2184 Fixes: NB#94957 (Smoothly opened application menu)
2186 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2188 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2190 * src/hildon-banner.c
2191 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2193 Make sure that the banner is correctly placed the first time it's
2195 (hildon_banner_check_position, -check_fullscreen_state):
2196 Show the banner in the same place no matter if the window is in
2197 fullscreen mode or not.
2199 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2201 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-touch-selector.c (_default_print_func): reorder
2204 concatenation for clarity.
2206 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2209 for multicolumn selectors.
2211 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2213 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2218 * configure.ac: Bump version.
2219 * debian/changelog: Updates.
2221 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2223 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2226 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2228 * configure.ac: removed libcangerra-gtk dependency
2229 * debian/control: removed libcanberra-gtk dependency
2230 * src/Makefile.am: removed libcanberra gtk related flags
2231 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2232 context, and manage a global canberra context instead
2234 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2236 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2238 Patch by Daniel Borgmann (danielb@openismus.com)
2240 * src/hildon-edit-toolbar.c:
2241 Adjust the left padding.
2242 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2243 Paint background of the edit toolbar.
2245 Fixes: NB#107897 (Patch to make editmodetoolbar background
2246 themeable and adjust margin)
2248 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2250 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2252 * src/hildon-program.c (hildon_program_update_top_most):
2253 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2255 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2256 change when the user tasks in/out of an application)
2258 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2260 * configure.ac: added libcangerra-gtk dependency
2261 * debian/control: added libcanberra-gtk dependency
2262 * src/Makefile.am: added libcanberra gtk related flags
2263 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2266 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2268 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2270 * src/hildon-program.c (hildon_program_remove_window)
2271 (hildon_program_add_window): Add checks for the window
2272 parameter. Don't decrease the window counter if the window is not
2275 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2277 * src/hildon-pannable-area.c,
2278 (hildon_pannable_area_realize): Fixed position of the event_window
2279 in the realize method.
2281 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2283 * src/hildon-app-menu-private.h
2284 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2285 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2286 (hildon_app_menu_key_press, hildon_app_menu_init)
2287 (hildon_app_menu_finalize):
2288 Make sure that all idle functions are removed when the widget is
2291 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2293 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2298 * configure.ac: Bump version.
2299 * debian/changelog: Updates.
2301 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2303 * src/hildon-entry.c
2304 (+hildon_entry_show_placeholder),
2305 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2306 that replace hildon_entry_update_contents().
2307 (hildon_entry_set_text),
2308 (hildon_entry_set_placeholder),
2309 (hildon_entry_focus_in_event),
2310 (hildon_entry_focus_out_event): Determine when it is needed
2311 either to show or hide the placeholder and call the above methods.
2313 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2314 when the placeholder text is already set)
2316 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2318 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2319 simple GdkPixbufAnim using the new icons for the banner.
2320 (hildon_banner_show_animation): Use the above mentioned method to
2321 create the animation widget.
2323 Fixes: NB#103564 (Make hildon animation banner use individual
2324 image files as the animation)
2326 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2328 * src/hildon-pannable-area.c,
2329 (hildon_pannable_leave_notify_event): Check if the child is NULL
2330 to avoid sending the leave.
2332 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2334 * src/hildon-pannable-area.c,
2335 (hildon_pannable_area_class_init),
2336 (hildon_pannable_leave_notify_event): Added a handler of the
2337 leave-notify-signal to consider when no motion notify before
2340 Fixes: NB#107494 (Items stay selected when clicking and moving
2341 away when inside pannable area)
2343 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2348 * configure.ac: Bump version.
2349 * debian/changelog: Updates.
2351 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2353 Patch by Alberto Garcia (agarcia@igalia.com)
2355 * src/hildon-date-button.c,
2356 (hildon_date_button_class_init),
2357 (hildon_date_button_init): Removed the construct property handling
2358 and created a default selector in the init method.
2359 * src/hildon-picker-button.c,
2360 (hildon_picker_button_class_init): Removed the construct flag of the
2363 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-main.c (hildon_init):
2366 Don't allow hildon_init() to be called more than once.
2368 Fixes: NB#106607 (hildon_init should issue error message upon
2371 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2373 * examples/hildon-pannable-area-touch-list-example.c
2374 * examples/hildon-pannagle-area-touch-grid-example.c
2375 * examples/hildon-edit-toolbar-example.c
2376 * examples/hildon-touch-selector-multi-cells-example.c
2377 Removed the call to gtk_rc_parse_string, as it is not required since
2380 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2382 * src/hildon-pannable-area.c,
2383 (hildon_pannable_area_class_init): Modified the default panning
2384 threshold of the widget to 6px.
2386 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2387 than the threshold value ) within the button is not sending the
2390 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2393 for the treeview in the new column. This way, the touch list will never
2396 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2397 be selected manually for the HW keys to work)
2399 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2402 comparison instead of using strcmp(). Fixes a compiler warning as well.
2404 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2406 * doc/hildon-docs.sgml: Do not set the library version in the
2407 document title, use the releaseinfo tag for that purpose instead.
2409 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2412 Do not jump to the first item if the text in the entry is removed.
2414 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2419 * configure.ac: Bump version.
2420 * debian/changelog: Updates.
2422 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2424 * src/hildon-entry.c (hildon_entry_refresh_contents):
2425 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2426 Use "ReversedSecondaryTextColor" for the placeholder text.
2428 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2430 * src/hildon-text-view.c: Fix compilation warning.
2432 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-button.c (hildon_button_class_init): Don't make
2435 "title" and "value" construction properties, to prevent them from
2436 overwriting labels set from derived classes.
2438 * src/hildon-picker-button.c
2439 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2440 (hildon_picker_button_class_init): Make touch-selector a
2441 construction property.
2443 * src/hildon-date-button.c (hildon_date_button_class_init)
2444 (+hildon_date_button_constructed): Add a default date selector if
2447 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2449 * src/hildon-touch-selector.c: Small documentation fixes.
2451 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2453 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2455 * src/hildon-entry.c (hildon_entry_refresh_contents),
2456 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2457 widget name, set the logical color directly instead and a boolean
2458 showing_placeholder instead.
2459 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2460 use the widget name here either.
2462 Fixes: NB#105678 (HildonTextView should use logical colours
2463 instead of setting widget name)
2465 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2467 Patch by Daniel Elster (danielk@openismus.com)
2469 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2470 Add user_data parameter.
2471 (hildon_touch_selector_set_print_func_full): New function akin
2472 hildon_touch_selector_set_print_func() but with support for user
2473 data and a destroy callback.
2474 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2475 to clean up the print function user data.
2476 (hildon_touch_selector_class_init): Install dispose function.
2477 (HildonTouchSelectorPrivate::print_user_data),
2478 (HildonTouchSelectorPrivate::print_destroy_func): New private
2480 (hildon_touch_selector_init): Initialize new private members.
2481 (hildon_touch_selector_get_current_text): Pass along user data
2482 to the print function.
2483 (_default_print_func): Add dummy user_data to parameter list.
2484 * hildon-date-selector.c (_custom_print_func): ditto,
2485 * hildon-time-selector.c (_custom_print_func): ditto,
2486 * hildon-touch-selector-entry.c
2487 (hildon_touch_selector_entry_print_func): ditto.
2489 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2491 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2493 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2495 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2497 * src/hildon-pannable-area.c,
2498 (hildon_pannable_area_init),
2499 (hildon_pannable_area_button_press_cb),
2500 (hildon_pannable_area_motion_notify_cb): We have added code to
2501 handle the leave and enter events when using the motion events.
2503 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2505 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-date-button.c (hildon_date_button_get_date)
2508 (hildon_date_button_set_date): Make sure that the button has a
2511 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2513 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2515 * src/hildon-pannable-area.c,
2516 (hildon_pannable_area_class_init),
2517 (hildon_pannable_area_calculate_velocity): Modify the use of the
2518 force and adapt the value.
2520 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2523 (hildon_app_menu_class_init): Hide the menu if it receives a
2524 delete-event, but don't destroy it
2526 Fixes: NB#104485 (Not able to address the call when application
2527 menu is opened at background)
2529 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-app-menu.c
2532 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2533 Remove the "external-border" style property, let the menu take its
2534 natural size (or the one set by the window manager)
2535 (hildon_app_menu_repack_items):
2536 Don't reshow the menu, avoid flickers.
2538 Partially fixes NB#94957 (Smoothly opened application menu)
2540 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2545 * configure.ac: Bump version.
2546 * debian/changelog: Updates.
2548 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c,
2551 (hildon_pannable_area_motion_notify_cb): We control that the
2552 direction error margin is used just in case the movement is
2553 allowed in the other direction.
2555 Fixes: NB#105012 (buttons inside a pannable area not getting
2556 release event when dragging/releasing)
2558 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2560 * src/hildon-pannable-area.c,
2561 (hildon_pannable_area_class_init),
2562 (hildon_pannable_area_get_property),
2563 (hildon_pannable_area_set_property),
2564 (hildon_pannable_area_initial_effect),
2565 (hildon_pannable_axis_scroll),
2566 (hildon_pannable_area_button_release_cb): Reviewed the
2567 overshooting effect, now it has its own max
2568 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2569 speed when bouncing.
2571 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2576 * configure.ac: Bump version.
2577 * debian/changelog: Updates.
2579 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2581 * src/hildon-pannable-area.c,
2582 (hildon_pannable_area_class_init): Changed the max speed, now
2583 users can launch the widget very fast. Reduced the default force,
2584 that way it is easier to control the launch speed.
2586 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2588 * src/hildon-pannable-area.c,
2589 (hildon_pannable_area_button_release_cb): Removed this check
2590 because it causes problems when the device is overloaded.
2592 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2595 add a current_text field to store the text entered in the
2596 touch selector entry.
2597 (_clean_current_selection): clean up the current text as well.
2598 (_save_current_selection), (_restore_current_selection):
2599 Save/restore the text in the entry if the selector is a
2600 HildonTouchSelectorEntry.
2602 Fixes: NB#102541 (value entered in the touch selector entry is not
2603 shown when opened for second time)
2605 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2607 * doc/hildon-sections.txt:
2608 * src/hildon-touch-selector-entry.c
2609 (+hildon_touch_selector_entry_get_entry):
2610 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2612 Fixes: NB#104815 (I need accessor to the entry inside
2613 HildonTouchSelectorEntry)
2615 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2617 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2618 (hildon_app_menu_class_init):
2619 New "filter-vertical-spacing" style property.
2621 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-find-toolbar.c
2624 (hildon_find_toolbar_emit_close)
2625 (hildon_find_toolbar_emit_invalid_input)
2626 (hildon_find_toolbar_entry_activate):
2627 Use g_signal_emit() instead of g_signal_emit_by_name()
2629 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2631 Patch by Mox Soini (ext-mox.soini@nokia.com)
2633 * tests/TEST-CASES.txt
2634 * tests/check-hildon-banner.c
2635 * tests/check-hildon-note.c
2636 * src/hildon-banner.c
2637 * src/hildon-code-dialog.c
2638 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2639 * src/hildon-time-editor.c
2640 * examples/hildon-lookup-example.c (main):
2641 Replace obsolete icon names with new ones.
2643 * src/hildon-find-toolbar-private.h:
2644 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2645 (-hildon_find_toolbar_emit_search):
2646 Remove find button and change icon of close button.
2648 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2650 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2652 * src/hildon-time-button.c (hildon_time_button_new_step):
2653 Use the "touch-selector" property to set the selector directly
2654 when creating the object.
2656 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2658 Added a new example application that allows tuning the pannable
2659 area and replaced defines with properties in order to simplify the
2660 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2661 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2662 PROP_DIRECTION_ERROR_MARGIN.
2664 * examples/hildon-pannable-area-tuning-example.c: New example
2666 * src/hildon-pannable-area.c,
2667 (hildon_pannable_area_class_init),
2668 (hildon_pannable_area_init),
2669 (hildon_pannable_area_get_property),
2670 (hildon_pannable_area_set_property),
2671 (hildon_pannable_area_launch_fade_timeout),
2672 (hildon_pannable_area_adjust_value_changed),
2673 (hildon_pannable_axis_scroll),
2674 (hildon_pannable_area_motion_notify_cb),
2675 (hildon_pannable_area_scroll_cb),
2676 (hildon_pannable_area_button_release_cb): We have converted some
2677 of the defines that control the widget to properties to simplify
2680 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-app-menu.c (hildon_app_menu_map)
2683 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2684 so it's closed if a new window appears.
2686 Fixes: NB#104485 (Not able to address the call when application
2687 menu is opened at background)
2689 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2692 missing 'break' statement in in 'case' construct to avoid
2695 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2697 * src/hildon-touch-selector-entry.c
2698 (hildon_touch_selector_entry_get_property),
2699 (hildon_touch_selector_entry_set_property): Add missing 'break'
2700 statements in in 'case' constructs to avoid incorrect warnings.
2702 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-time-editor.c
2705 (hildon_time_editor_get_time_separators): Do not crash if
2706 the first label is NULL.
2708 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2710 * src/hildon-date-selector.c (_month_days): Check for month to be
2711 strictly less than 12, since otherwise we may overrun the array.
2713 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2715 * src/hildon-date-button.c (+hildon_date_button_new_full)
2716 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2717 (hildon_date_button_init): Set the date selector using a
2718 construction property, to make it happen after HildonButton's
2719 "value" property is set.
2721 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2722 current date by default)
2724 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2726 * doc/hildon-sections.txt
2727 * src/hildon-program.c
2728 * src/hildon-stackable-window.c
2729 * src/hildon-window.c:
2730 Documentation updates
2732 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2734 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2735 (hildon_window_stack_new, +hildon_window_stack_set_property)
2736 (+hildon_window_stack_get_property)
2737 (hildon_window_stack_class_init)
2738 (+hildon_window_stack_set_window_group)
2739 (+hildon_window_stack_get_window_group):
2740 Make the window group a construction property.
2742 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2744 * doc/hildon-sections.txt
2745 * src/hildon-stackable-window-private.h
2746 * src/hildon-stackable-window.h
2747 * src/hildon-stackable-window.c
2748 (-hildon_stackable_window_set_app_menu)
2749 (-hildon_stackable_window_get_app_menu)
2750 (-hildon_stackable_window_toggle_menu)
2751 (-hildon_stackable_window_finalize)
2752 (hildon_stackable_window_class_init)
2753 (hildon_stackable_window_init)
2754 * src/hildon-window-private.h
2755 * src/hildon-window.h
2756 * src/hildon-window.c (hildon_window_init)
2757 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2758 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2759 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2760 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2761 Moved all HildonAppMenu code to HildonWindow. The menu does not
2762 require a HildonStackableWindow anymore.
2764 * src/hildon-app-menu.c
2765 * src/hildon-program.c
2766 * examples/hildon-app-menu-example.c (main):
2767 Update examples and documentation to reflect HildonAppMenu
2770 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-remote-texture.c
2773 * src/hildon-animation-actor.c:
2774 Don't include unused private headers.
2776 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2778 * src/hildon-program-private.h
2779 * src/hildon-program.c
2780 (hildon_program_set_common_menu)
2781 (hildon_program_get_common_menu)
2782 (hildon_program_set_common_app_menu)
2783 (hildon_program_get_common_app_menu):
2784 Change common menu pointers from GtkWidget* to GtkMenu* and
2785 HildonAppMenu* to avoid unnecessary casts.
2787 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-window.c (hildon_window_set_main_menu):
2790 Removed incorrect 'Since:' tag
2792 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2794 * src/hildon-pannable-area.c,
2795 (hildon_pannable_area_calculate_velocity): We use now the
2796 RATIO_TOLERANCE here to check the distance, fixed typo in the
2798 (hildon_pannable_area_motion_notify_cb): We have to set the type
2799 and time even if we are not sending the motion.
2801 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2803 * doc/hildon-sections.txt
2804 * src/hildon-app-menu.h
2805 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2806 (+hildon_app_menu_get_filters): New methods to get the contents of
2809 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2812 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2814 * src/hildon-app-menu.c (hildon_app_menu_popup):
2817 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-window.h
2820 * src/hildon-window.c (+hildon_window_get_main_menu)
2821 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2822 and deprecated hildon_window_get_menu().
2824 * src/hildon-stackable-window.h
2825 * src/hildon-stackable-window.c
2826 (+hildon_stackable_window_set_app_menu)
2827 (+hildon_stackable_window_get_app_menu)
2828 (hildon_stackable_window_set_main_menu): Created
2829 hildon_stackable_window_{get,set}_app_menu() and deprecated
2830 hildon_stackable_window_set_main_menu().
2832 * doc/hildon-sections.txt
2833 * examples/hildon-app-menu-example.c (main)
2834 * src/hildon-app-menu.c
2835 * src/hildon-program.c:
2836 Updated examples and documentation.
2838 Fixes: NB#103758 (No way to obtain a menu from a
2839 HildonStackableWindow)
2841 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2846 * configure.ac: Bump version.
2847 * debian/changelog: Updates.
2849 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2851 * examples/hildon-remote-texture-example.c: Include
2852 hildon-remote-texture.h explicitely.
2853 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2854 applications not defining _XOPEN_SOURCE which don't require this header.
2856 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2858 * doc/hildon-sections.txt
2859 * src/hildon-app-menu.h
2860 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2861 New function to pop up a HildonAppMenu
2863 * src/hildon-stackable-window.c
2864 (hildon_stackable_window_toggle_menu):
2865 Use hildon_app_menu_popup() to show the menu.
2867 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-app-menu.c (hildon_app_menu_show)
2870 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2871 menu if there's another window between it and its parent window.
2873 Fixes: NB#100468 (Application menu window is launched even when a
2874 new secondary-window/dialog is pending to be shown/realized)
2876 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-window-stack.c (hildon_window_stack_push)
2879 (hildon_window_stack_pop_and_push):
2880 Don't forget to push/pop the first window.
2881 Reverse the window list before calling _push_list()
2883 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-picker-button.h
2886 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2887 Remove "value_changed" slot to avoid ABI breakage
2889 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2891 * src/hildon-pannable-area.c,
2892 (hildon_pannable_area_realize),
2893 (hildon_pannable_area_unrealize),
2894 (hildon_pannable_draw_vscroll),
2895 (hildon_pannable_draw_hscroll): Changed the method to handle the
2896 GC used to draw the transparent scrollbar, this way we avoid
2897 creating the GC all the time when drawing the scrollbars.
2899 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2901 * src/hildon-pannable-area.c,
2902 (hildon_pannable_area_init),
2903 (hildon_pannable_area_remove): Removed some unnecessary casts.
2904 (hildon_pannable_area_dispose): Disconnected some signals before
2905 releasing the adjustments.
2907 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2910 Make sure that all widgets contained in the toolbar are shown.
2912 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2914 * doc/hildon-sections.txt
2915 * src/hildon-picker-button.h
2916 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2917 (_selection_changed, hildon_picker_button_on_dialog_response)
2918 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2919 New hildon_picker_button_value_changed() method.
2922 * src/hildon-picker-button-private.h
2923 * src/hildon-picker-button.c (hildon_picker_button_init)
2924 (+hildon_picker_button_disable_value_changed): Add protected
2925 function for disabling the "value-changed" signal.
2927 * src/hildon-date-button.c (hildon_date_button_set_date):
2928 Don't emit "value-changed" for each one of the three columns.
2930 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2931 before actual change of values)
2933 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2935 * src/hildon-pannable-area.c,
2936 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2937 for the treeview overshooting.
2939 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-banner.c (+hildon_banner_bind_style):
2942 Renamed from hildon_banner_bind_label_style(), now naming the
2943 banner itself as well.
2944 (hildon_banner_show_information),
2945 (hildon_banner_show_information_with_markup),
2946 (hildon_banner_show_animation), (hildon_banner_show_progress):
2947 Name the widgets and labels, based on their type.
2949 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2952 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-note.c (hildon_note_set_property): call
2955 hildon_note_rename() on HildonNote:note-type set.
2956 (hildon_note_rename): Name the note and its label, based on the
2957 HildonNote:note-type property.
2959 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2962 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2964 * src/hildon-pannable-area.c,
2965 (hildon_pannable_area_class_init),
2966 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2967 panning parameters, increased SPS and deceleration factor. Added
2968 also a margin to control fake directions.
2970 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2972 Patch by Sven Herzberg (sven@imendio.com)
2974 * configure.ac: Add missing AM_PROG_CC_C_0
2975 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2977 See NB#101420 (Update unit tests and fix make check)
2979 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2981 This patch was applied before but reverted because it caused
2982 problems, we have changed the main condition and tested the
2983 regressions we detected before and they work ok. We have done a
2984 complete review of the topmost algorithm in order to get a more
2987 * src/hildon-pannable-area.c,
2988 (hildon_pannable_area_get_topmost): Added a new parameter to
2989 filter the the windows that do not include those events.
2990 (hildon_pannable_area_button_press_cb),
2991 (hildon_pannable_area_button_release_cb),
2992 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2993 topmost function, we have added the new parameter.
2995 Fixes: NB#97458 (Pannable area prevents propagation of button
2998 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3000 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3001 if all columns in the selector have an item selected.
3002 (_on_dialog_response): Stop "response" signal emission if there is
3003 any selector column without selected items.
3005 Fixes: NB#101889 (Picker dialog should not close when nothing is
3006 selected in multiple selection list)
3008 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3010 * src/hildon-font-selection-dialog.c
3011 (hildon_font_selection_dialog_class_init),
3012 (hildon_font_selection_dialog_init): Remove the preview
3013 button and dialog, since previewing with default theming is likely
3014 to be overcomplicated. The :preview property has now no effect.
3015 Update documentation blurbs to inform about this.
3017 Fixes: NB#92297 (Preview content is not clearly visible for
3018 default colour text)
3020 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3022 Reviewed the geometry that handles the children size and
3023 scrollbar, now it tries a size and reviews the results depending
3024 on the scrollbars visibility.
3026 * src/hildon-pannable-area.c,
3027 (hildon_pannable_area_realize): Fixed a typo.
3028 (hildon_pannable_area_child_allocate_calculate): Added this
3029 function to calculate the child allocation.
3030 (hildon_pannable_area_size_allocate): Reviewed the allocation
3032 (hildon_pannable_area_check_scrollbars),
3033 (hildon_pannable_area_refresh): Refactored refresh function, this
3034 way we can call the code handling the scrollbars without causing a
3035 size_request, it is interesting in the allocate.
3036 (hildon_pannable_area_init): Replace the callbacks of the
3037 value_changed and changed signals to propertly deal with the
3039 (hildon_pannable_area_grab_notify),
3040 (hildon_pannable_area_initial_effect),
3041 (hildon_pannable_area_launch_fade_timeout),
3042 (hildon_pannable_area_adjust_changed),
3043 (hildon_pannable_area_adjust_value_changed),
3044 (hildon_pannable_area_redraw),
3045 (hildon_pannable_area_button_press_cb),
3046 (hildon_pannable_area_button_release_cb),
3047 (hildon_pannable_area_scroll_cb),
3048 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3049 code and use the new functions adjust_changed and
3050 adjust_value_changed.
3052 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3053 Contact editor dialog)
3055 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3060 * configure.ac: Bump version.
3061 * debian/changelog: Updates.
3063 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3065 * src/hildon-pannable-area.c,
3066 (hildon_pannable_area_get_topmost),
3067 (hildon_pannable_area_button_press_cb),
3068 (hildon_pannable_area_button_release_cb),
3069 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3070 topmost function adding the event mask. We have to try a
3071 differente approach because it is still causing problems (NB#9745,
3074 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3076 * src/hildon-banner.c:
3077 Update the maximum width of timed banners.
3078 (force_to_wrap_truncated): Enforce the maximum text width if the
3081 Fixes: NB#102413 (The text margins (wrapping) in information
3082 banner should be HILDON_MARGIN_TRIPLE)
3084 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3086 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3088 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3089 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3090 bound when calculating the scroll indicator position.
3092 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3093 treat ->lower correctly)
3095 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3097 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3098 expose event handling, since it is not necessary to draw the focus
3101 Fixes: NB#102467 (Do not show highlight on the text in
3104 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3107 full height of the toolbar for the button and the label.
3109 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3112 padding before the label and after the button.
3114 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3116 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3118 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3119 Add a GtkVSeparator between the button and the back arrow.
3120 Let the button have automatic size.
3121 Set a name to the widget for theming handling.
3123 Fixes: NB#101793 (Make edit toolbar the same height as window
3124 title bar (use title area theming))
3126 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-helper.c (attach_new_color_element): Fix memory
3131 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3133 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3135 * examples/hildon-button-example.c (common_buttons_window): Don't
3138 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3140 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3141 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3143 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-gtk.c: Check that the window is realized.
3147 Fixes: NB#102225 (Crash setting the progress indicator to a non
3150 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3153 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3154 instead of modifying the one in the widget style.
3156 Fixes: NB#101043 (Second row of all the command button are
3157 displayed in transparent mode.)
3159 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-date-button.c
3162 * src/hildon-time-button.c: Add gettext macros
3164 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3166 * src/hildon-date-button.c (hildon_date_button_new):
3167 * src/hildon-time-button.c (hildon_time_button_new_step):
3168 Use new logical strings to set the button default title.
3170 Fixes: NB#99915 (Date and Time options are not localised in Date
3173 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3175 * src/hildon-pannable-area.c
3176 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3177 the PANNING_THRESHOLD.
3179 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3181 * src/hildon-pannable-area.c,
3182 (hildon_pannable_area_class_init): Increased the maximum speed.
3183 (hildon_pannable_area_get_property),
3184 (hildon_pannable_area_set_property),
3185 (hildon_pannable_area_timeout): Added a new low friction mode, it
3186 allows the user avoid friction when launching the widget fast
3187 enough. It is interesting to traverse long lists.
3189 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3191 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3192 (+hildon_stackable_window_delete_event): Ignore delete events if
3193 the window is not the topmost one.
3195 Fixes: NB#101698 (Back button long press and delete-event handling)
3197 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3199 * src/hildon-pannable-area.c,
3200 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3201 gtk-dnd-drag-threshold, it was too big. We have defined our own
3202 dnd define and set a smaller value: PANNIG_THRESHOLD.
3204 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3206 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3207 user-defined icons, use always the default one.
3209 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3211 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3213 This patch was applied before but reverted because it caused
3214 problems, we have changed the main condition and tested the
3215 regressions we detected before and they work ok.
3217 * src/hildon-pannable-area.c,
3218 (hildon_pannable_area_get_topmost): Added a new parameter to
3219 filter the the windows that do not include those events. Added
3220 also a condition when finding the window to filter windows that do
3221 not ask for those events.
3222 (hildon_pannable_area_button_press_cb),
3223 (hildon_pannable_area_button_release_cb),
3224 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3225 topmost function, we have added the new parameter.
3227 Fixes: NB#97458 (Pannable area prevents propagation of button
3230 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3232 * tests/check-hildon-color-button.c (START_TEST): do not leak
3235 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-font-selection-dialog.c
3238 (hildon_font_selection_dialog_get_preview_text): Return NULL
3239 instead of FALSE on the g_return_val_if_fail().
3241 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3243 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3244 * src/hildon-date-selector.c
3245 (hildon_date_selector_select_current_date):
3246 Do not compare unsigned integers to be greater than or equal 0,
3247 because it's always TRUE.
3249 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3251 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3252 (hildon_date_selector_constructor): Do not select the current
3253 date until we are handle the "changed" signal, to avoid having bogus
3254 elements in the days model.
3256 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3258 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3259 for num_days, since _month_days() can return a negative value.
3261 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-caption.c (hildon_caption_size_allocate):
3264 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3265 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3267 Initialize allocation variables to 0, to avoid eventually using
3268 unitialized variables.
3270 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3272 * src/hildon-bread-crumb-trail.c
3273 (hildon_bread_crumb_trail_size_allocate):
3274 * src/hildon-calendar.c (hildon_calendar_set_background):
3275 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3276 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3277 * src/hildon-seekbar.c (hildon_seekbar_init):
3278 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3279 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3280 * src/hildon-touch-selector-entry.c
3281 (hildon_touch_selector_get_text_from_model):
3282 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3283 * src/hildon-window.c (hildon_window_finalize):
3285 Remove many unused variables.
3287 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3289 * src/hildon-seekbar.c: (hildon_seekbar_init),
3290 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3292 Remove unnecessary g_assert() calls.
3294 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-caption.c: (hildon_caption_expose),
3297 (hildon_caption_set_property), (hildon_caption_init),
3298 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3299 (hildon_caption_size_request), (hildon_caption_size_allocate),
3300 (hildon_caption_forall), (hildon_caption_set_separator),
3301 (hildon_caption_activate), (hildon_caption_set_child_expand),
3302 (hildon_caption_set_label_text),
3303 (hildon_caption_get_label_alignment):
3305 Remove unnecessary g_assert() calls.
3307 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-banner.c
3310 (hildon_banner_map, hildon_banner_init): Make banner temporary
3311 before mapping it to avoid closing other temporary windows, but
3312 make it non-temporary afterwards to avoid being closed by other
3313 non-temporary windows.
3314 (-hildon_banner_client_event, hildon_banner_init):
3315 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3317 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3320 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3322 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3325 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3327 * src/hildon-remote-texture.c
3328 * src/hildon-remote-texture.h
3329 * src/hildon-remote-texture-private.h
3330 * examples/hildon-remote-texture-example.c:
3331 Updates/fixes to remote-texture and its example.
3333 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3335 Patch by Mox Soini (ext-mox.soini@nokia.com)
3337 * src/hildon-code-dialog.c: Update logical id.
3338 * src/hildon-set-password-dialog.c: Update logical id.
3340 Fixes: NB#100646 (Logical strings is shown for ok in set
3341 password,Password needed dialogs)
3343 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3346 * src/hildon-remote-texture.c
3347 * src/hildon-remote-texture.h
3348 * src/hildon-remote-texture-private.h
3350 Added remote texture widget (for Clutter shared memory textures)
3352 * examples/hildon-remote-texture-example.c
3353 * examples/Makefile.am
3354 Added example file for remote texture usage
3356 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3358 * configure.ac: post release version bump.
3359 * debian/changelog: version bump.
3361 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3366 * configure.ac: Bump version.
3367 * debian/changelog: Updates.
3369 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3371 * src/hildon-date-selector.c (hildon_date_selector_init)
3372 (hildon_date_selector_constructor): Don't connect to the "changed"
3373 signal until the selector is completely constructed.
3375 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-touch-selector.c: (_create_new_column),
3378 (hildon_touch_selector_append_column),
3379 (hildon_touch_selector_set_column_selection_mode),
3380 (hildon_touch_selector_set_active),
3381 (hildon_touch_selector_select_iter):
3382 Emit the HildonTouchSelector::changed signal every time selection
3383 is changed in any of the methods above. This behavior was already
3384 documented but not fully functional.
3386 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3387 selection is programmatically changed)
3389 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3391 * doc/hildon-sections.txt: Remove obsolete icon
3392 sizes from here as well.
3394 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3396 * examples/hildon-stackable-window-example.c (add_window): Remove
3399 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3401 * src/hildon-app-menu.c
3402 (hildon_app_menu_show): Check whether the parent window of a menu
3403 is topmost before popping it up.
3405 Fixes: NB#100468 (Application menu window is launched even when a
3406 new secondary-window/dialog is pending to be shown/realized.)
3408 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3410 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3413 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3415 Patch by Mox Soini (ext-mox.soini@nokia.com)
3417 * src/hildon-banner.c: (hildon_banner_show_animation):
3418 use stylus size instead of obsolete note size.
3419 * src/hildon-defines.h: Update icon sizes.
3421 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-touch-selector-entry.c:
3424 (hildon_touch_selector_entry_init): Disable unsupported
3426 (hildon_touch_selector_entry_get_text_column): Emit a warning
3427 if an unsupported input modes is used and explicitile state
3428 these modes in the documentation.
3430 Fixes: NB#99802 (Hildon touch selector entry not working properly
3431 for some of the input modes)
3433 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3435 * src/hildon-pannable-area.c,
3436 (hildon_pannable_area_init): Added the changed signal handlers of
3439 Fixes: NB#100320 (HildonPannableArea does not listen to
3440 GtkAdjustment "change" signals)
3442 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3444 * doc/hildon-sections.txt
3445 * src/hildon-window-private.h
3446 * src/hildon-window.h
3447 * src/hildon-window.c (hildon_window_init)
3448 (hildon_window_realize, hildon_window_unrealize)
3449 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3450 (hildon_window_size_request, hildon_window_size_allocate)
3451 (hildon_window_forall, hildon_window_show_all)
3452 (hildon_window_destroy, +paint_edit_toolbar)
3453 (+hildon_window_set_edit_toolbar):
3454 New hildon_window_set_edit_toolbar() method, to add a
3455 HildonEditToolbar to a window without having to pack it manually.
3457 Reorganize hildon_window_size_allocate()
3459 * src/hildon-edit-toolbar.c: Update documentation.
3461 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3462 example to use the new API.
3464 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3466 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3468 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3469 Remove from stack before calling parent's hide.
3471 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3474 window is removed from the middle of the stack, update the
3475 transiency of the previous one.
3477 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3480 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3483 block/unblock the signal handler if it's not actually being used.
3484 Fixes some critical warnings.
3486 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3488 Based on a patch by Iván Gómez (igomez@igalia.com)
3490 * src/hildon-banner.c
3494 * src/hildon-pannable-area.c
3495 * src/hildon-picker-dialog.c
3496 * src/hildon-wizard-dialog.h
3497 * src/hildon-wizard-dialog.c: Documentation updates.
3499 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3500 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3502 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3504 * configure.ac: post release version bump.
3505 * debian/changelog: version bump.
3507 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3512 * configure.ac: Bump version.
3513 * debian/changelog: Updates.
3515 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3518 a stock icon nor change the relief of the back arrow.
3520 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3521 graphics from theme)
3523 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3525 * src/hildon-button.c (hildon_button_set_alignment): Use
3526 priv->alignment if the button has no child yet.
3528 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3530 * src/hildon-button.c: (hildon_button_init): Set the
3531 button style during initialization to give it the proper
3534 Fixes: NB#99713 (HildonButton value label color is wrong)
3536 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-touch-selector.c: Document
3539 hildon_touch_selector_center_on_selected()
3541 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3543 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3544 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3545 all menu items, but not the menu itself.
3546 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3547 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3548 items after adding them to the menu so keyboard accelerators work.
3549 (hildon_app_menu_show): Don't show the menu if it contains items
3550 but none of them are visible.
3552 * examples/hildon-app-menu-example.c (create_menu): Use
3553 gtk_widget_show_all() to show all menu items.
3555 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-picker-dialog.c:
3558 (-_update_title_on_selector_changed_cb),
3559 (-_dialog_update_title): Removed.
3560 (_select_on_selector_changed_cb), (_on_dialog_response),
3561 (on_selector_columns_changed): Do not update the dialog title.
3562 (setup_interaction_mode): Do not connect to
3563 HildonTouchSelector::changed signal if there's a "done" button, as
3564 the dialog title doesn't need to be updated.
3566 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3569 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3571 Patch by Kristian Rietveld (kris@imendio.com)
3573 * src/hildon-touch-selector.c: (_create_new_column): Use new
3574 GtkTreeView::hildon-row-tapped signal to react to user interactions
3575 instead of ::changed.
3577 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3578 with some dynamic tree model)
3580 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3582 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3583 (+screen_size_changed, +label_size_request)
3584 (hildon_note_class_init): Make the Hildon information note have a
3585 minimum height, and make its text hvae a maximum width.
3587 Fixes: NB#98614 (Hildon information note (background) should have
3588 minimum height and maximum text width)
3590 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-banner.h
3593 * src/hildon-banner.c (hildon_banner_show_information)
3594 (hildon_banner_show_informationf)
3595 (hildon_banner_show_information_with_markup): Update documentation
3596 to reflect that the icon_name parameter is not used anymore.
3597 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3598 Remove all code from these functions and mark them as deprecated.
3599 (hildon_banner_show_progress): Mark as deprecated.
3601 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3603 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3605 * src/hildon-pannable-area.c,
3606 (hildon_pannable_area_class_init),
3607 (tranparency_color),
3608 (hildon_pannable_draw_vscroll),
3609 (hildon_pannable_draw_hscroll),
3610 (hildon_pannable_area_expose_event): Added a new way to render the
3611 scrollbars of the pannable area avoiding using cairo at all. This
3612 way we improve the performance of the pannable area rendering. The
3613 cairo rendering procedure is still in the code, we can control
3614 which one to use changing the value of the define
3615 USE_CAIRO_SCROLLBARS.
3617 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3619 * configure.ac: post release version bump.
3620 * debian/changelog: version bump.
3622 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3627 * configure.ac: Bump version.
3628 * debian/changelog: Updates.
3630 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3633 banners instead of destroying them when they receive a button
3636 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3638 Reverted commit 34028, it was causing regressions, probably the
3639 topmost condition is not correct, we have to check it in more
3640 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3641 propagation of button press events)
3643 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3645 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3646 that the selection is not empty before attempting to retrieve the
3647 current ampm selection.
3649 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3651 * src/hildon-picker-button.c:
3652 (hildon_picker_button_on_dialog_response): Directly update the
3653 button contents when required instead of calling _selection_changed.
3655 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-program.c (hildon_program_update_top_most): Update
3658 'is-topmost' property also when wm_hints is not set.
3660 Fixes: NB#98383 (is-topmost signal is not emitted when task
3661 switcher is clicked.)
3663 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3665 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3669 * src/hildon-animation-actor.c,
3670 * src/hildon-animation-actor.h: Added the animation actor class,
3671 this widget represents an animation actor for WM-assisted
3672 animation effects in the Hildon framework.
3674 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-window-stack-private.h
3677 * src/hildon-window-stack.c
3678 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3679 Avoid calling gtk_widget_show() again indirectly from
3680 hildon_stackable_window_show()
3682 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3687 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3690 (hildon_time_selector_init): Move the construction of the hours and
3691 ampm columns to the constructor to preserve the order the columns
3694 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-picker-dialog.c:
3697 (hildon_picker_dialog_class_init): Connect a realize method.
3698 (+hildon_picker_dialog_realize): Setup the interaction mode here
3700 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3701 yet, do it during the realize instead.
3702 (_on_dialog_response):
3703 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3704 if the widget is not realized, to avoid the dialog response before it
3707 Avoid premature responses in the HildonPickerDialog that can cause it
3708 to be hidden before it's even shown.
3710 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3713 (on_selector_columns_changed), (requires_done_button),
3714 (+prepare_action_area), (setup_interaction_mode),
3715 (_hildon_picker_dialog_set_selector):
3717 Split the interaction mode setup into preparation of the
3718 action area (prepare_action_area()) and the connection of
3719 the signals in setup_interaction_mode() and update the code to
3722 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3724 * src/hildon-pannable-area.c,
3725 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3726 per second to 15, we will check if this is ok regarding
3729 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3731 * src/hildon-pannable-area.c,
3732 (hildon_pannable_axis_scroll): Avoid resize if we already have
3733 reached overshoot_max.
3735 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3737 * src/hildon-pannable-area.c,
3738 (hildon_pannable_area_init),
3739 (hildon_pannable_area_realize),
3740 (hildon_pannable_area_size_allocate),
3741 (hildon_pannable_area_map),
3742 (hildon_pannable_area_unmap),
3743 (hildon_pannable_draw_vscroll),
3744 (hildon_pannable_draw_hscroll),
3745 (hildon_pannable_area_expose_event),
3746 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3747 pannable are to avoid the expose events go to the window and
3748 redraw the window. We save this way that part of the stack and the
3749 paint_boxes. We had to change the positions of the elements when
3752 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3754 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3755 * src/hildon-color-chooser-dialog.c:
3756 (hildon_color_chooser_dialog_init):
3757 * src/hildon-font-selection-dialog.c:
3758 (hildon_font_selection_dialog_init),
3759 (hildon_font_selection_dialog_show_preview):
3760 * src/hildon-get-password-dialog.c:
3761 * src/hildon-login-dialog.c:
3762 * src/hildon-set-password-dialog.c:
3763 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3764 * src/hildon-time-picker.c: (hildon_time_picker_init):
3766 Remove obsolete logical string IDs and update to the appropriate ones.
3768 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3770 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3773 that happens if the window hasn't been realized yet.
3775 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3776 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3778 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3780 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3781 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3784 Fixes: NB#98537 (Device hangs in account settings dialog)
3786 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3788 * configure.ac: post release version bump.
3789 * debian/changelog: version bump
3791 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3796 * configure.ac: Bump version.
3797 * debian/changelog: Updates.
3799 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3801 Added a new function to the HildonTimeButton widget that allows to
3802 change the step of the minutes in the selector associated with the
3803 button: hildon_time_button_new_step
3805 * src/hildon-time-button.c,
3806 (hildon_time_button_init),
3807 (hildon_time_button_new),
3808 (hildon_time_button_new_step):
3809 * src/hildon-time-button.h: Added the new function and refactored
3811 * examples/hildon-time-button-example.c,
3812 (main): We have replaced the function without parameters with the
3813 function with the steps set to 5
3815 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3817 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3819 * src/hildon-time-selector.c,
3820 (hildon_time_selector_class_init),
3821 (hildon_time_selector_constructor),
3822 (hildon_time_selector_get_property),
3823 (hildon_time_selector_set_property),
3824 (_create_minutes_model),
3825 (hildon_time_selector_new_step),
3826 (hildon_time_selector_set_time),
3827 * src/hildon-time-selector.h: Added a new property to the
3828 HildonTimeSelector (minutes-step), we use that property to control
3829 the steps between the minutes in the list of the selector. We have
3830 added a new function to the API to create a widget changing the
3831 step: hildon_time_selector_new_step.
3833 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3835 * src/hildon-time-selector.c,
3836 (hildon_time_selector_class_init),
3837 (hildon_time_selector_constructor),
3838 (hildon_time_selector_init): Overrided the construct function when
3839 creating the time selector object. We have moved the minutes model
3840 handling code from the init to the new construction function:
3841 hildon_time_selector_constructor.
3843 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3845 * examples/hildon-date-button-example.c: (main): Use the new
3846 hildon_date_button_new_with_year_range() method in the example.
3847 * src/hildon-date-button.c:
3848 (+hildon_date_button_new_with_year_range): New public method
3849 to conveniently create a HildonDateButton with a custom year range
3850 in its HildonDateSelector.
3851 * src/hildon-date-button.h: Add the new public method definition.
3853 Fixes: NB#97908 (Not possible to change the year range in
3854 HildonDateSelector/HildonDateButton)
3856 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3858 * src/hildon-date-selector.c:
3859 (+hildon_date_selector_set_property),
3860 (+hildon_date_selector_get_property),
3861 (hildon_date_selector_class_init): Install new properties "min-year"
3862 and "max-year" to define boundaries for the year column.
3863 (_create_year_model): Use the boundary properties to populate the model.
3864 (+hildon_date_selector_new_with_year_range): New public method to
3865 create a HildonDateSelector with a user defined year range.
3866 (hildon_date_selector_select_current_date): Use the new boundaries to
3867 calculate the iterator of current year.
3868 * src/hildon-date-selector.h: Add the new public method definition.
3870 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3873 Install a constructor method.
3874 (+hildon_date_selector_construct_ui): construct the widget.
3875 (+hildon_date_selector_constructor): new constructor.
3876 (+hildon_date_selector_init): move out widget construction code to
3877 the new constructor.
3879 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3882 that there's actually a month or year selected before obtaining them.
3883 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3884 of the HildonTouchSelector::changed signal, as it was emitted on every
3885 single item selection.
3887 Fix some warnings and possible crashers due to the selection restoring.
3889 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3891 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3892 the signal handlers only after creating the dialog instead of on every
3895 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-button.c (hildon_button_init)
3898 * src/hildon-check-button.c (hildon_check_button_init)
3899 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3900 focus when clicked by default.
3902 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3904 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3907 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3909 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3910 Alejandro G. Castro (alex@igalia.com)
3912 * src/hildon-picker-dialog.c:
3913 (hildon_picker_dialog_class_init): install new "center-on-show"
3915 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3916 (hildon_picker_dialog_set_property): add setter code for the new
3918 (hildon_picker_dialog_get_property): add getter code for the new
3920 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3921 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3924 Fixes: NB#92849 (Selected item is not always visible when
3925 HildonTouchSelector is shown)
3927 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3929 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3930 Alejandro G. Castro (alex@igalia.com)
3932 * src/hildon-touch-selector.c:
3933 (_create_new_column): Do not connect to the "realize" signal of the
3935 (hildon_touch_selector_append_column): center on the selected items
3936 when a new column is appended.
3937 (hildon_touch_selector_select_iter): Factor out the code to select a
3938 column to hildon_touch_selector_scroll_to().
3939 (+search_nearest_element): Method to retrieve the nearest selected
3940 element to the visible area of the pannable area in a column.
3941 (+on_realize_cb): scroll to the initially selected item.
3942 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3943 the pannable area is realized, otherwise delay this until it is.
3944 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3945 selected items of a given column.
3946 (+hildon_touch_selector_center_on_selected): Public method to center
3947 all columns on the nearest selected item.
3948 * src/hildon-touch-selector.h: Add definition for
3949 hildon_touch_selector_center_on_selected().
3951 Implement public API to ensure visibility of all selected items in
3952 a HildonTouchSelector.
3954 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3956 Fixed a problem in the fading when calling the scroll_to API, and
3957 improve scrollbar fading handling.
3959 * src/hildon-pannable-area.c,
3960 (hildon_pannable_area_grab_notify): avoid the timeout when the
3962 (hildon_pannable_area_button_press_cb),
3963 (hildon_pannable_area_motion_notify_cb): Code style changes.
3964 (hildon_pannable_area_button_release_cb): Review the conditions
3965 when releasing the mouse button to avoid unrequired fading
3967 (hildon_pannable_area_scroll_to): Do not calculate and set the
3968 velocity if the scroll is not required.
3970 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3973 Don't check whether the new selector is NULL: it cannot be.
3974 Hold a reference to the selector while doing the replacement.
3976 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3979 unnecessary size_request in a removed widget.
3981 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3983 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3984 an unnecessary reference tracking that was leaking.
3986 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3988 Added delayed motion notify event handling, this way we can
3989 discard redrawing if more than 25 events arrive per second.
3991 * src/hildon-pannable-area.c,
3992 (hildon_pannable_area_init): Initialized the new private atributes
3993 controlling this timeout
3994 (hildon_pannable_area_dispose): Remove the timeout that controls
3995 the motion notify events.
3996 (hildon_pannable_area_scroll): Added a condition to control the
3997 use of the acceleration.
3998 (hildon_pannable_area_motion_event_scroll_timeout),
3999 (hildon_pannable_area_motion_event_scroll): Added this two
4000 functions, they handle the motion notify events inside the
4002 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4003 to the scroll method with the new function.
4004 (hildon_pannable_area_button_release_cb): We have to remove the
4005 timeout handler and move to the last position if the last motion
4006 events were not handled.
4008 Fixes: NB#97028 (Pannable area updates on every motion event)
4010 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4012 * src/hildon-pannable-area.c,
4013 (hildon_pannable_area_get_topmost): Added a new parameter to
4014 filter the the windows that do not include those events. Added
4015 also a condition when finding the window to filter windows that do
4016 not ask for those events.
4017 (hildon_pannable_area_button_press_cb),
4018 (hildon_pannable_area_button_release_cb),
4019 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4020 topmost function, we have added the new parameter.
4022 Fixes: NB#97458 (Pannable area prevents propagation of button
4025 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4027 * src/hildon-pannable-area.c,
4028 (hildon_pannable_area_initial_effect): Added controls before
4029 launching the timeout and the idle functions.
4030 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4031 of the method, in some situations it can return with TRUE and 0 in
4033 (hildon_pannable_area_button_press_cb): We do not need to set
4034 DELAY for fading out here.
4036 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4038 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4040 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4041 post-cleaning if the selection is not NULL.
4043 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4046 all items before restoring the selection.
4048 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-touch-selector.c:
4051 (+hildon_touch_selector_unselect_all):
4052 * src/hildon-touch-selector.h: New API to unselect all items in a
4053 column of the touch selector.
4055 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4057 * src/hildon-pannable-area.c,
4058 (hildon_pannable_area_redraw): Added a call to the refresh
4059 function inside the redraw because apparently in some cases the
4060 change in the adjustment does not imply a size allocate.
4062 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4063 despite the view not being scrollable)
4065 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4068 leak. Check for NULL before attempting to set the window title.
4070 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4073 whether to show or not the 'Done' button each time the dialog is
4074 shown, as it depends on the HildonTouchSelector selection mode.
4076 Fixes: NB#96226 (In multiple selection mode Done button is shown
4077 sometimes in listpicker)
4079 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4081 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4082 for the number of columns in the HildonTouchSelector more than once.
4084 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4086 * src/hildon-touch-selector.c: Minor documentation fixes.
4088 * src/hildon-picker-dialog.c (+_dialog_update_title)
4089 (_select_on_selector_changed_cb)
4090 (_update_title_on_selector_changed_cb)
4091 (on_selector_columns_changed): Update dialog title when there's no
4092 'Done' button and also when the number of columns in the selector
4096 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4097 (+_selection_changed, hildon_picker_button_on_dialog_response)
4098 (hildon_picker_button_selector_selection_changed)
4099 (+hildon_picker_button_selector_columns_changed)
4100 (hildon_picker_button_set_selector): Update button value and emit
4101 'value-changed' when the number of columns in the selector
4105 Fixes: NB#96225 (Dialog titles are not shown according to the
4106 values selected in the list picker)
4108 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4111 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4112 New "arrow-width" and "arrow-height" style properties to set the
4113 size of the arrow button.
4114 Set name of arrow button ("hildon-edit-toolbar-arrow").
4116 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4117 graphics from theme)
4119 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4121 * src/hildon-picker-button.c:
4122 (hildon_picker_button_selector_selection_changed): Use
4123 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4124 the dialog is present.
4126 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4127 the selection is accepted in the dialog)
4129 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-color-chooser.h
4132 * src/hildon-color-chooser-dialog.h:
4133 Added G_BEGIN_DECLS and G_END_DECLS
4135 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4137 (_clean_current_selection): plug a leak in the list.
4139 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-picker-dialog.c:
4142 (+free_path_list): Method to free a GList of GtkTreePaths.
4143 (_clean_current_selection), (_save_current_selection),
4144 (_restore_current_selection): Save the current selection in
4145 as a list of lists, to support multiple selection properly.
4147 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4149 patch by Claudio Saavedra (csaavedra@igalia.com)
4151 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4152 Store the press position.
4153 (+hildon_text_view_button_release_event): If the release position is
4154 close enough to the press position, move the cursor here. Otherwise,
4156 (hildon_text_view_class_init): Override GtkTextView press, release, and
4157 motion event handlers, disabling this way text selection through
4158 pointer interaction, and allowing the container widget to handle the
4161 Fixes: NB#95828 (HildonTextView functionality)
4163 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4165 Based on a patch by Iván Gómez (igomez@igalia.com)
4167 * src/hildon-button.[ch]
4168 * src/hildon-calendar.c
4169 * src/hildon-check-button.c
4170 * src/hildon-date-editor.c
4171 * src/hildon-date-selector.c
4172 * src/hildon-picker-button.c
4173 * src/hildon-time-editor.c
4174 * src/hildon-time-selector.c
4175 * src/hildon-touch-selector.[ch]:
4176 Documentation updates
4178 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4180 * src/hildon-pannable-area.c,
4181 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4182 threshold, it was required due to X events handling.
4184 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4186 * src/hildon-pannable-area.c,
4187 (hildon_pannable_area_grab_notify),
4188 (hildon_pannable_area_initial_effect),
4189 (hildon_pannable_area_button_press_cb),
4190 (hildon_pannable_area_button_release_cb),
4191 (hildon_pannable_area_scroll_cb),
4192 (hildon_pannable_area_scroll_to): Review the timeout management of
4193 the scrollbar, the frecuency was incorrectly set.
4195 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4197 * src/hildon-picker-button.c:
4198 (+hildon_picker_button_on_dialog_response),
4199 (hildon_picker_button_clicked): Present the dialog instead of
4200 running it with gtk_dialog_run().
4202 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4205 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4207 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4208 (hildon_app_menu_finalize): When a window is hidden it doesn't
4209 emit notify::is-topmost, so make sure than the menu also
4210 disappears in that case.
4211 (parent_window_topmost_notify): Renamed from parent_window_hidden
4213 Fixes: NB#94460 (stackable window's menu is not closed when its
4216 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4218 * src/hildon-touch-selector-entry.c:
4219 (+hildon_touch_selector_entry_set_input_mode),
4220 (+hildon_touch_selector_entry_get_input_mode):
4221 * src/hildon-touch-selector-entry.h: New methods to access the input
4222 mode in the selector's entry.
4224 Fixes: NB#93410 (API required for setting IM mode in
4225 HildonTouchSelectorEntry)
4227 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4229 * configure.ac: post release version bump.
4230 * debian/changelog: version bump
4232 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4237 * configure.ac: Bump version.
4238 * debian/changelog: Updates.
4240 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-touch-selector.c:
4243 (_hildon_touch_selector_has_multiple_selection): No need
4244 to initialize the variables here.
4246 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4248 * src/hildon-note-private.h
4249 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4250 (hildon_note_finalize, hildon_note_rebuild): Close information
4251 notes when they receive a button press.
4253 Fixes: NB#89890 (Information notes does not get disappeared after
4256 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4259 mark from the wizard title, as it's not really necessary. Also,
4260 do not display the page title if not set.
4262 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4265 (parent_window_hidden): Use the window's "is-topmost" property to
4266 detect when to hide the menu.
4268 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4270 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4271 (hildon_app_menu_finalize): If the parent window of the menu is
4272 hidden, hide the menu too.
4274 Fixes: NB#94460 (stackable window's menu is not closed when its
4277 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4280 * debian/libhildon1-examples.install
4282 * examples/Makefile.am:
4283 Use dh_install to install all examples.
4284 Use DEB_SRCDIR instead of defining SOURCE_DIR
4286 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4288 * configure.ac: post release version bump.
4289 * debian/changelog: version bump
4291 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4296 * configure.ac: bump version
4297 * debian/changelog: updates
4298 * debian/control: bump gtk+ dependency
4300 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4302 patch by Christian Dywan (christian@imendio.com)
4304 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4305 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4307 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4309 * src/hildon-check-button.c (hildon_check_button_init)
4310 (hildon_check_button_class_init, hildon_check_button_style_set)
4311 (hildon_check_button_apply_style):
4312 New "checkbox-size" style property.
4314 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4315 larger / configurable size)
4317 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4319 * configure.ac: post release version bump.
4320 * debian/changelog: version bump
4322 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4327 * configure.ac: bump version
4328 * debian/changelog: updates
4330 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4332 * doc/hildon-sections.txt
4333 * src/hildon-pannable-area.c
4334 * src/hildon-program.c
4335 * src/hildon-time-editor.c
4336 * src/hildon-touch-selector-entry.c:
4338 More documentation updates.
4340 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4342 * doc/hildon-sections.txt
4343 * src/hildon-caption.c
4344 * src/hildon-code-dialog.c
4345 * src/hildon-color-button.c
4346 * src/hildon-controlbar.c
4347 * src/hildon-date-editor.c
4348 * src/hildon-date-selector.c
4349 * src/hildon-edit-toolbar.c
4350 * src/hildon-find-toolbar.c
4351 * src/hildon-font-selection-dialog.c
4353 * src/hildon-program.c
4354 * src/hildon-range-editor.c
4355 * src/hildon-seekbar.c
4356 * src/hildon-time-editor.c
4357 * src/hildon-time-selector.c
4358 * src/hildon-volumebar-range.c
4359 * src/hildon-volumebar.c
4360 * src/hildon-vvolumebar.c
4361 * src/hildon-weekday-picker.c
4362 * src/hildon-window.c
4363 * src/hildon-wizard-dialog.c:
4365 Lots of documentation fixes.
4367 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4369 Patch contributed by Iván Gómez (igomez@igalia.com)
4371 * src/hildon-check-button.c:
4372 * src/hildon-date-button.c:
4373 * src/hildon-date-selector.c:
4374 * src/hildon-dialog.c:
4375 * src/hildon-edit-toolbar.c:
4376 * src/hildon-entry.c:
4377 * src/hildon-picker-button.c:
4378 * src/hildon-program.c:
4379 * src/hildon-text-view.c:
4380 * src/hildon-time-button.c:
4381 * src/hildon-touch-selector-entry.c:
4382 * src/hildon-window-stack.c:
4384 Add more "since" tags to the new API.
4386 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4388 * doc/hildon-sections.txt: Add below method.
4389 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4390 version for the hildonized scale.
4391 * src/hildon-gtk.h: Add the definition.
4393 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4395 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4397 * doc/hildon-sections.txt: Add missing entries for new methods.
4399 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4401 Added API to pannable are in order to get its adjustments. We
4402 added two properties to manage the values we had in the private
4405 * src/hildon-pannable-area.c:
4406 (hildon_pannable_area_class_init): Added hadjustment and
4407 vadjustment properties in order to expose horizontal and vertical
4409 (hildon_pannable_area_get_property),
4410 (hildon_pannable_area_set_property): Added code to handle the new
4412 (hildon_pannable_area_get_hadjustment),
4413 (hildon_pannable_area_get_vadjustment): API functions to get the
4415 * src/hildon-pannable-area.h:
4416 (hildon_pannable_area_get_hadjustment),
4417 (hildon_pannable_area_get_vadjustment): API functions to get the
4420 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4422 Fixed some leaks, after valgrinding.
4424 * src/hildon-touch-selector.c:
4425 (_default_print_func): Fixed a leak.
4426 (hildon_touch_selector_append_column): Fixed a leak.
4427 * src/hildon-date-button.c:
4428 (hildon_date_button_init): Fixed a leak.
4429 * src/hildon-date-selector.c
4430 (hildon_date_selector_finalize): Fixed a leak.
4432 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4434 Based on a patch by Christian Dywan (christian@imendio.com)
4436 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4438 * src/hildon-gtk.h: Add definition.
4440 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4442 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4444 * src/hildon-picker-button.c: (hildon_picker_button_init),
4445 (hildon_picker_button_new): Set the HildonButton::style property
4446 in the init method, to propagate the value to the derived classes.
4448 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4450 * src/hildon-button.c: (hildon_button_class_init): Do not make
4451 the "style" property a construct property.
4453 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-wizard-dialog.h
4456 * src/hildon-wizard-dialog.c
4457 (hildon_wizard_dialog_set_forward_page_func)
4458 * src/hildon-pannable-area.h
4459 * src/hildon-pannable-area.c
4460 (hildon_pannable_area_set_size_request_policy):
4461 Documentation fixes.
4463 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4465 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4467 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4469 * doc/hildon-sections.txt: Added sections file.
4471 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4474 * src/*.[ch]: Updates.
4476 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4478 * examples/hildon-progress-indicator-example.c: new file
4479 * examples/Makefile.am: include the new example program
4481 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4483 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4485 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4487 * configure.ac: post release version bump
4488 * debian/changelog: version bump
4490 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4495 * configure.ac: bump version
4496 * debian/changelog: updates
4497 * debian/control: bump gtk+ dependency
4499 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4501 * src/hildon-dialog.c: Mark as deprecated.
4502 * src/hildon-dialog.h: Mark as deprecated.
4503 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4504 from HildonDialog and still work, even if
4505 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4506 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4508 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4509 maemo changes) instead)
4511 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4513 * src/hildon-pannable_area.h:
4514 * src/hildon-pannable_area.c:
4515 (hildon_pannable_area_class_init),
4516 (hildon_pannable_area_set_property),
4517 (hildon_pannable_area_get_property),
4518 (hildon_pannable_area_size_request),
4519 (hildon_pannable_area_get_size_request_policy),
4520 (hildon_pannable_area_set_size_request_policy): Added new API
4521 allowing applications to control the request policy. Now they can
4522 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4523 children allocation (HILDON_MOVEMENT_CHILDREN).
4525 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4529 (hildon_gtk_tree_view_set_ui_mode)
4530 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4531 mode of treeviews and iconviews.
4533 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-touch-selector-entry.c:
4536 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4537 of a GtkEntry to get proper theming.
4539 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4540 widget, not GtkEntry)
4542 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4545 no HildonWizardDialogPageFunc.
4547 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4549 Patch contributed by Iván Gómez (igomez@igalia.com)
4551 * src/hildon-app-menu.c:
4552 * src/hildon-button.c:
4553 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4554 * src/hildon-stackable-window.c:
4555 * src/hildon-time-selector.c:
4556 * src/hildon-touch-selector.c:
4557 * src/hildon-window.c:
4559 Add more "since" tags to the new API in hildon 2.2.
4561 2008-12-05 Tim Janik <timj@imendio.com>
4563 Patch contributed by Christian Dywan (christian@imendio.com)
4565 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4566 HildonSizeType, which are supplied by Gtk+ now.
4568 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4570 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4571 (with maemo changes) instead)
4573 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4575 Patch contributed by Iván Gómez (igomez@igalia.com)
4577 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4580 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4582 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4583 (some_page_func), (main): Update the example to use a
4584 HildonWizardDialogPageFunc function.
4586 * src/hildon-wizard-dialog-private.h: Add private data for
4587 the HildonWizardDialogPageFunc function usage.
4589 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4590 (destroy), (hildon_wizard_dialog_init), (response),
4591 (hildon_wizard_dialog_set_forward_page_func):
4592 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4593 that applications can use to stop a HildonWizardDialog to jump to
4596 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4599 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4601 * src/hildon-program.h
4602 * src/hildon-program-private.h
4603 * src/hildon-program.c (hildon_program_init)
4604 (hildon_program_set_common_app_menu)
4605 (hildon_program_get_common_app_menu):
4606 New API for setting a common HildonAppMenu for all
4607 HildonStackableWindows registered with the HildonProgram.
4609 * src/hildon-stackable-window.c
4610 (hildon_stackable_window_toggle_menu):
4611 Use the common HildonAppMenu if a window doesn't have a specific
4614 * src/hildon-app-menu-private.h
4615 * src/hildon-app-menu.c
4616 (hildon_app_menu_get_parent_window):
4617 Function to obtain the window a HildonAppMenu is attached to.
4618 (hildon_app_menu_set_parent_window):
4619 Hide the menu if the parent window is set to NULL.
4621 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4624 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4625 search widget to popup.
4627 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4629 * configure.ac: post release version bump
4630 * debian/changelog: version bump
4632 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4637 * configure.ac: bump version
4638 * debian/changelog: updates
4640 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4642 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4644 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4645 (hildon_window_stack_window_realized)
4646 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4647 Set the leader GdkWindow when a window is stacked and realized,
4648 unset it when it's unstacked.
4649 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4651 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4653 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4655 * src/hildon-stackable-window.h
4656 * src/hildon-window-stack.h:
4657 Protect definition of HildonWindowStack using the preprocessor.
4659 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4661 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4662 Fix warning if all menu items are hidden.
4664 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4666 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4668 * src/hildon-controlbar.c:
4669 * src/hildon-hvolumebar.c:
4670 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4671 Multiple scale size defines updates.
4673 Fixes: NB#94322 (Scale Updates)
4675 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4677 * examples/hildon-app-menu-example.c (create_menu)
4678 Show items after adding them to the menu, as in the future the
4679 menu will no longer call gtk_widget_show() on the added items.
4681 * src/hildon-app-menu.c:
4682 Update example as explained above.
4684 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4686 * src/hildon-app-menu.c
4687 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4688 Make sure that all menu items have finger height.
4690 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4692 * src/hildon-picker-dialog.c:
4693 (_on_dialog_response), (_save_current_selection),
4694 (_restore_current_selection), (_clean_current_selection),
4695 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4696 Defined new functions in order to save the current internal selector
4697 selection previous open the dialog, in case that the use cancel the
4698 interaction, so the widget restores the previous selection.
4700 Fixes: NB#92032 (In calendar application, date values in 'new event'
4703 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4705 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4707 * src/hildon-button.c: Add a reference to the button examples in
4708 hildon-button-example.c
4710 * examples/hildon-button-example.c: Added examples of the most
4711 common button layouts.
4713 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-app-menu.c (hildon_app_menu_show)
4716 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4718 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4720 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4722 * src/hildon-picker-dialog.c:
4723 (hildon_picker_dialog_init): Initialize the signal id for
4724 HildonTouchSelector::columns-changed.
4725 (+on_selector_columns_changed): Set up the interaction mode everytime a
4726 column is added or removed from the HildonTouchSelector.
4727 (_hildon_picker_dialog_set_selector): Connect to
4728 HildonTouchSelector::columns-changed and keep track of it.
4730 Make sure to update the interaction mode of the dialog everytime a
4731 column is added or removed in the HildonTouchSelector.
4733 Fixes: NB#93228 (Done button is not shown always in listpicker)
4735 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4737 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4738 a new ::columns-changed signal.
4739 (hildon_touch_selector_append_column): Emit ::columns-changed.
4740 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4742 Add a ::columns-changed signal, emitted when the number of columns in a
4743 HildonTouchSelector changes.
4745 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4747 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4748 (_hildon_picker_dialog_set_selector): Factor out the code
4749 to set up the dialog interaction mode.
4751 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4753 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4754 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4755 to signal_changed_id.
4757 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4759 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4762 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4764 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4765 Updated the logical ids related to ampm format, as now it is required to
4766 show it correctly localized even on languages with no default
4767 abbreviations for am or pm
4768 (_check_am_pm_format): check correctly the 24h format gconf property
4770 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4772 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-button.c: Documentation updates.
4776 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4778 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4779 * src/hildon-caption.c: (hildon_caption_class_init):
4780 * src/hildon-color-button.c: (hildon_color_button_class_init):
4781 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4782 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4783 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4784 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4786 Remove deprecated GTK+ marshalers and replace them with the ones
4787 provided by GLib, for those available, add a marshaler for
4788 BOOLEAN:VOID, which is not available in GLib, and use it.
4790 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4793 the text from the previous column if there is no
4794 HildonTouchSelectorColumn::text-property set.
4796 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-button.h
4799 * src/hildon-button.c (hildon_button_set_property)
4800 (hildon_button_get_property, hildon_button_class_init)
4801 (hildon_button_set_style, hildon_button_get_style):
4802 New "style" property to change the visual appearance of the
4805 * src/hildon-picker-button.c (hildon_picker_button_new):
4806 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4808 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4809 HildonButton look like PickerButton)
4811 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4814 column while building the default string.
4816 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4819 scroll indicator by default.
4821 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4823 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4825 * src/hildon-main.c: Fix the documentation for hildon_init()
4827 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4829 * doc/hildon-docs.sgml
4833 * src/hildon-window-stack-private.h
4834 * src/hildon-window-stack.h
4835 * src/hildon-window-stack.c:
4836 New HildonWindowStack object, that adds support for multiple
4837 stacks of windows per process.
4839 * src/hildon-stackable-window-private.h
4840 * src/hildon-stackable-window.h
4841 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4842 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4843 (hildon_stackable_window_show, hildon_stackable_window_hide)
4844 (hildon_stackable_window_class_init)
4845 (hildon_stackable_window_init):
4846 Use HildonWindowStack for stack management.
4848 * src/hildon-program.c (hildon_program_pop_window_stack)
4849 (hildon_program_peek_window_stack)
4850 (hildon_program_go_to_root_window):
4851 Add a fallback implementation to the deprecated functions using
4854 * examples/hildon-stackable-window-example.c:
4855 Use the new HildonWindowStack API.
4857 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4859 * src/hildon-stackable-window-private.h
4860 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4861 (hildon_stackable_window_hide, hildon_stackable_window_init):
4862 Remove all window stack management.
4864 * src/hildon-program-private.h
4865 * src/hildon-program.h
4866 * src/hildon-program.c (hildon_program_init)
4867 (hildon_program_pop_window_stack)
4868 (hildon_program_peek_window_stack)
4869 (hildon_program_go_to_root_window):
4870 Remove all window stack management and mark functions as
4873 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4875 * src/hildon-app-menu.c (hildon_app_menu_realize):
4876 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4878 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4880 * configure.ac: post release version bump
4881 * debian/changelog: version bump
4883 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4888 * configure.ac: bump version
4889 * debian/changelog: updates
4891 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4893 Based on initial code by Christian Dywan (christian@imendio.com)
4895 * doc/hildon-docs.sgml: Add section for hildon-main.
4896 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4897 * src/Makefile.am: Add new hildon-main.[ch]
4898 * src/hildon-defines.h: Update the icon sizes.
4899 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4900 new library initialization files and register icon sizes.
4901 * src/hildon-main.h: New declarations.
4902 * src/hildon.h: Include hildon-main.h
4904 Add new initialization functions to the library. These methods
4905 will register the hildon specific icon sizes and can be used in the
4906 future for other hildon specific bits.
4908 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4910 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-window.c: (hildon_window_realize),
4913 (hildon_window_notify), (-hildon_window_update_title): Do not set
4914 the application name in the window title.
4916 Fixes: NB#89754 (Applications shouldn't display their names in the
4919 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4921 * src/hildon-note-private.h:
4922 * src/hildon-note.c: (hildon_note_set_property),
4923 (hildon_note_get_property), (hildon_note_class_init),
4924 (hildon_note_init), (hildon_note_finalize),
4925 (hildon_note_new_confirmation_with_icon_name),
4926 (hildon_note_new_information_with_icon_name):
4928 No need to mark as deprecated the actual code. Revert
4929 to avoid missing symbols in widgets using deprecated API.
4931 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4933 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4935 * src/hildon-volumebar.h
4936 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4937 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4939 * src/hildon-helper.h
4940 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4941 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4943 * examples/Makefile.am:
4944 Deprecate hildon-insensitive-example
4946 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4948 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4950 * examples/hildon-pannable-area-buttons-scroll-example.c:
4951 Make all buttons finger height
4953 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4955 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4957 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4958 update the day model only if it is really required, and to avoid the
4959 full-reconstruction aproach. Now it only add or remove the required days.
4961 The purpose of this is avoid superfluous HildonTouchSelector::changed
4964 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4965 with strange parameters)
4967 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4969 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4971 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4972 the WINDOW_TYPE property.
4974 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4976 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4979 Fix dependency to allow parallel compilation with make -jX
4981 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4983 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4984 color frame and some minor tweaks to make it more consistent with
4987 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4988 highlighted but not visible)
4990 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4992 * examples/Makefile.am: Fixed typo in the Makefile.am.
4994 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4996 Reviewed the use of MAEMO_GTK define, now we add the define in the
4997 compilation line, and we also add it to the pc file.
4999 * configure.ac: Added MAEMO_GTK define to the compilation command
5000 and removed it from the config.h.
5002 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5003 do not have to take care about this define if the library was
5007 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5009 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5011 * examples/Makefile.am,
5012 * examples/hildon-pannable-area-buttons-scroll-example.c,
5013 * examples/hildon-pannable-area-gesture-signals-example.c,
5014 * examples/hildon-pannable-area-scroll-jump-example.c,
5015 * examples/hildon-pannable-area-tree-view-example.c:
5016 Renamed the pannable area examples, now they have more meaningful
5019 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5021 * src/hildon-touch-selector.c:
5022 (hildon_touch_selector_set_column_selection_mode): Used of
5023 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5024 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5025 to avoid re-seting the same selection mode.
5027 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5028 breaks HildonPickerDialog)
5030 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5032 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5033 conditional in the Makefile.am
5035 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5038 Remove unused methods.
5040 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-button.c (hildon_button_init):
5043 Make button images center-aligned by default
5045 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5048 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5049 activated, we have to think about how to deal with both defines
5050 MAEMO_GTK and MAEMO_CHANGES.
5052 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5054 * examples/hildon-app-menu-example.c (create_menu): Make all
5055 buttons finger size.
5057 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5059 Fixed the compilation without maemo gtk adding ifdefs with
5060 MAEMO_GTK define to the code, we have to check this version more
5063 * examples/Makefile.am: Added control to avoid some examples that
5064 just make sense with maemo gtk.
5067 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5068 hildon modes with the define.
5070 * examples/hildon-edit-toolbar-example.c,
5071 (create_icon_view): Create the icon view without hildon-gtk
5072 helpers if we are not using maemo gtk.
5074 * src/hildon-touch-selector.c,
5075 (_create_new_column): Create the treeview without hildon-gtk
5076 helpers if we are not using maemo gtk.
5078 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5080 * src/hildon-pnnable-area.c,
5081 (hildon_pannable_area_dispose),
5082 (hildon_pannable_area_button_press_cb),
5083 (hildon_pannable_area_child_mapped),
5084 (hildon_pannable_area_add),
5085 (hildon_pannable_area_remove): Added code to control the position
5086 of the event_window when adding and removing children from the
5087 pannable. We have to raise the event window when the child is
5090 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5091 selection mode using custom widget inside pannable)
5093 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5095 * configure.ac: post release version bump
5096 * debian/changelog: version bump
5098 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5103 * configure.ac: bump version
5104 * debian/changelog: updates
5106 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5108 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5109 search mode, in order to avoid lose the focus on the treeview when
5110 a hw key (like enter) is pressed.
5112 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5113 in HildonDateSelector dialog)
5115 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5117 * debian/rules: Added --enable-maintainer-mode
5118 * Makefile.am: Added ACLOCAL_AMFLAGS
5120 This allows to properly regenerate the Makefiles if you modify the
5121 configure.ac or any Makefile.am.
5123 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5125 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5126 properties, not needed at all.
5128 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5130 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5132 * src/hildon-note.c: (hildon_note_set_property),
5133 (hildon_note_get_property), (hildon_note_class_init),
5134 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5135 (hildon_note_new_confirmation_add_buttons): Remove icons.
5136 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5137 (hildon_note_new_information_with_icon_name): Deprecate.
5138 (hildon_note_new_confirmation): Act directly, without calling
5139 the deprecated constructor.
5140 (hildon_note_new_information): Act directly, without calling
5141 the deprecated constructor.
5142 * src/hildon-note.h: Mark deprecate methods as such.
5143 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5144 not run tests on the deprecated methods if built with deprecation
5147 Fixes: NB#91688 (Never show icons in information notes/confirmation
5150 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5152 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5153 (hildon_app_menu_key_press): Remove leftover usage of the
5154 private structure in HildonAppMenu struct.
5155 * src/hildon-app-menu.h: Remove leftover private structure
5156 from the HildonAppMenu struct.
5158 Fixes a crasher when using the HildonAppMenu.
5160 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-picker-dialog.c: Use appropriate logical id
5163 for the default "Done" text.
5165 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5167 * configure.ac: post release version bump
5168 * debian/changelog: version bump
5170 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5172 Modified the way to scroll to the current selection just when the touch
5173 selector is shown on the screen, avoiding a g_idle. Added too a property
5174 to configure this behaviour. See hildon_pannable_area_jump_to_child
5175 documentation for more information.
5177 * src/hildon-touch-selector.c
5178 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5179 Added 'initial-scroll' property
5180 (hildon_touch_selector_set_property): Added
5181 (hildon_touch_selector_map): Removed as not required anymore
5182 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5183 only a concrete column, instead of iterate along all the columns
5185 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5190 * configure.ac: bump version
5191 * debian/changelog: updates
5193 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5195 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5196 compilation time warnings.
5198 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5200 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5201 the default value for HildonPannableArea::mov-mode to
5202 HILDON_PANNABLE_AREA_MODE_VERT.
5204 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5206 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5208 Reverting following commit:
5210 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5212 * src/hildon-app-menu-private.h
5213 * src/hildon-app-menu.[ch]
5214 * src/hildon-button.[ch]
5215 * src/hildon-check-button.[ch]
5216 * src/hildon-entry.[ch]
5217 * src/hildon-pannable-area.[ch]
5218 * src/hildon-text-view.[ch]:
5219 Added private field to the object's structure.
5221 because it causes an ABI breakage. We will need to introduce these
5222 changes later at some point. See NB#91636 for an extensive
5223 explanation and status.
5225 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5227 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5229 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5230 remove special cases that are no longer necessary.
5232 Fixes: NB#91016 (Change toolbar sizes, simplification)
5234 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5236 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5237 is shown in the cancel note.
5239 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5241 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5242 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5243 (hildon_seekbar_init): Remove steppers, remove expose event.
5244 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5246 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5248 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5250 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5251 label font to "SmallSystemFont" for vertically arranged buttons.
5253 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5256 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5258 * src/hildon-check-button.c
5259 (hildon_check_button_set_active, hildon_check_button_clicked):
5260 Don't access private parts directly, use getters instead.
5262 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5264 * src/hildon-check-button.c (hildon_check_button_new):
5265 Align the contents of the check button to the left.
5267 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5269 * src/hildon-pannable-area.c,
5270 (hildon_pannable_area_scroll_to),
5271 (hildon_pannable_area_jump_to),
5272 (hildon_pannable_area_scroll_to_child),
5273 (hildon_pannable_area_jump_to_child): Replace the mapped
5274 precondition of these functions with the realized, it is the
5275 correct state of the widget in this case. Changed the
5276 documentation according to this modification.
5278 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5280 Added a new EXTRA_CFLAGS option to add the deprecated define to
5281 the compilation command. This way we can avoid using the define in
5282 the documentation compilation.
5284 * configure.ac: Defined EXTRA_CFLAGS.
5286 * examples/Makefile.am:
5288 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5290 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5292 * src/hildon-picker-dialog.c:
5293 Defined a utility macro with the desired touch selector height
5294 Removed currently unused separator, and title_label variables from
5296 (hildon_picker_dialog_init): Removed code related to the creation
5297 of unused private variables title_label and separator.
5298 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5299 to ensure correct visualization of the touch selector inside the dialog.
5300 * src/hildon-touch-selector.c
5301 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5302 ensure a concrete height of the widget.
5304 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5307 * tests/Makefile.am:
5309 Remove spurious whitespaces.
5311 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5313 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5314 compilation warning after the cancel button removal.
5316 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5318 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5320 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5321 Makefile.am, that way we can choose not to compile some examples
5322 and tests of the deprecated widgets.
5324 * examples/Makefile.am: Divided the sources in deprecated and
5327 * src/Makefile.am: Added undef statement of the deprecated
5328 symbol to the enums file generation process.
5330 * src/hildon-color-chooser-dialog.c
5331 * src/hildon-color-chooser-dialog.h
5332 * src/hildon-color-button.c
5333 * src/hildon-color-button.h
5334 * src/hildon-color-chooser.c
5335 * src/hildon-color-chooser.h
5336 * src/hildon-controlbar.c
5337 * src/hildon-controlbar.h
5338 * src/hildon-date-editor.c
5339 * src/hildon-date-editor.h
5340 * src/hildon-hvolumebar.c
5341 * src/hildon-hvolumebar.h
5342 * src/hildon-private.c
5343 * src/hildon-private.h
5344 * src/hildon-range-editor.c
5345 * src/hildon-range-editor.h
5346 * src/hildon-seekbar.c
5347 * src/hildon-seekbar.h
5348 * src/hildon-time-editor.c
5349 * src/hildon-time-editor.h
5350 * src/hildon-time-picker.c
5351 * src/hildon-time-picker.h
5352 * src/hildon-volumebar.c
5353 * src/hildon-volumebar.h
5354 * src/hildon-vvolumebar.c
5355 * src/hildon-vvolumebar.h
5356 * src/hildon-bread-crumb-trail.h
5357 * src/hildon-bread-crumb-trail.c
5358 * src/hildon-calendar-popup.c
5359 * src/hildon-calendar-popup.h
5360 * src/hildon-weekday-picker.c:
5361 * src/hildon-weekday-picker.h:
5362 * src/hildon-bread-crumb-widget.c:
5363 * src/hildon-bread-crumb-widget.h:
5364 * src/hildon-bread-crumb.c:
5365 * src/hildon-bread-crumb.h:
5366 * src/hildon-calendar.c:
5367 * src/hildon-calendar.h:
5368 * src/hildon-caption.c:
5369 * src/hildon-code-dialog.c:
5370 * src/hildon-code-dialog.h:
5371 * src/hildon-font-selection-dialog.c:
5372 * src/hildon-font-selection-dialog.h:
5373 * src/hildon-get-password-dialog.c:
5374 * src/hildon-get-password-dialog.h:
5375 * src/hildon-login-dialog.c:
5376 * src/hildon-login-dialog.h:
5377 * src/hildon-number-editor.c:
5378 * src/hildon-number-editor.h:
5379 * src/hildon-set-password-dialog.c:
5380 * src/hildon-set-password-dialog.h:
5381 * src/hildon-sort-dialog.c:
5382 * src/hildon-sort-dialog.h: This is the list of deprecated
5385 * src/hildon-touch-selector.c:
5386 * src/hildon-window.c: Added undef statement to avoid compilation
5389 * tests/Makefile.am: Divided the sources in deprecated and
5392 * tests/check_test.c,
5393 (configure_tests): Marked the deprecated code that was adding
5394 suites with deprecated tests.
5396 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5398 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5400 * src/hildon-touch-selector.c: (_default_print_func): Do not
5401 duplicate a string returned by gtk_tree_model_get(), it is already
5404 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5407 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5409 * src/hildon-pannable-area.c
5410 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5411 method, it had problems when adding a widget with viewport the
5412 second time. Now checks if it already has a viewport and uses it.
5414 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5417 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5419 * src/hildon-pannable-area.c,
5420 (hildon_pannable_area_scroll_to),
5421 (hildon_pannable_area_jump_to),
5422 (hildon_pannable_area_scroll_to_child),
5423 (hildon_pannable_area_jump_to_child): Added a precondition to the
5424 scroll and jump to functions: the widget must be mapped before we
5425 can safely call these functions. We have also added documentation
5426 to the functions to explain how to use them in this situation.
5429 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5431 Reviewed the threading handling of the pannable widget, we have
5432 used the gdk_threads_add_timeout function instead of the usual
5433 glib handlers. This avoids some problems with the threads.
5435 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5436 (hildon_pannable_area_initial_effect),
5437 (hildon_pannable_area_scroll_indicator_fade),
5438 (hildon_pannable_area_button_press_cb),
5439 (hildon_pannable_area_timeout),
5440 (hildon_pannable_area_motion_notify_cb),
5441 (hildon_pannable_area_button_release_cb),
5442 (hildon_pannable_area_scroll_cb),
5443 (hildon_pannable_area_scroll_to): Removed the
5444 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5445 gdk_threads_add_timeout.
5447 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5449 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5454 * configure.ac: bump version
5455 * debian/changelog: updates
5457 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5459 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5460 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5461 * src/hildon-color-chooser-dialog.c:
5462 (hildon_color_chooser_dialog_init):
5463 * src/hildon-font-selection-dialog.c:
5464 (hildon_font_selection_dialog_init):
5465 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5467 Remove all cancel/close-like dialogs, as these are not going to be
5470 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/hildon-note.c: (hildon_note_rebuild),
5473 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5476 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5478 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5480 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5481 sure all buttons are shown, even the Cancel/Close-like ones.
5483 Fixes: NB#90861 (Custom Confirmation dialogs should be
5484 protected from cancel button removal)
5486 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5488 * debian/control: Change libhildon1-examples dependency from libhildon1
5490 * debian/libhildon1-examples.install
5492 * Makefile.am: Modified the final install directory for the examples on
5493 package libhildon1-examples
5494 * Makefile.static: Update clean target in order to remove all the binary
5497 Changes suggested by Claudio after review new libhildon1-examples package
5499 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5501 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5502 * src/hildon-touch-selector.c: Ditto.
5504 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5506 * debian/control: Added new package libhildon1-examples, in order to pack
5507 the current hildon examples as documentation
5508 * debian/rules: Not to compress .c files, modify some includes on the
5509 examples (as normally are compiled locally, but when installed it will
5510 require to include the installed libhildon1 library), and rename
5512 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5513 install all the example files on the new example package
5514 * examples/Makefile.static: Added static makefile that can be used to
5515 compile the examples, once installed the new example package
5516 * examples: Most of the examples were modified in order to grant that
5517 all use only '#include "hildon.h"', in order to be easy to prepare
5518 it on the example package
5520 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5523 * debian/libhildon1-dev.install
5524 * debian/libhildon1-doc.install:
5525 Move all gtk-doc files to a separate libhildon1-doc package.
5527 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5529 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5531 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5533 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5535 * debian/rules: Fixed a error in order to avoid unnecessary calls
5536 to autogen.sh on package building
5538 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5540 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5542 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5544 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5547 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5549 * src/hildon-picker-button.c
5550 (hildon_picker_button_finalize):
5551 Free priv->done_button_text
5553 * src/hildon-time-button.c
5554 (hildon_time_button_set_time)
5555 * src/hildon-picker-button.c
5556 (hildon_picker_button_clicked)
5557 (hildon_picker_button_selector_selection_changed)
5558 (hildon_picker_button_set_selector)
5559 * src/hildon-date-button.c
5560 (hildon_date_button_set_date):
5561 Free strings returned by hildon_touch_selector_get_current_text()
5563 * src/hildon-button.c (hildon_button_construct_child):
5564 Fix leaks in priv->image and priv->label_box
5566 Fixes: NB#90535 (Memory leak in picker button)
5568 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5570 * src/hildon-button.c: (hildon_button_get_property): Do not access
5571 private elements directly, use getters instead.
5573 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-app-menu-private.h
5576 * src/hildon-app-menu.c
5577 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5578 Store the menu's parent window.
5580 * src/hildon-stackable-window.c
5581 (hildon_stackable_window_toggle_menu)
5582 (hildon_stackable_window_finalize):
5583 Set the menu's parent window when the menu is shown, unset it when
5586 * src/hildon-app-menu.c
5587 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5588 (hildon_app_menu_class_init):
5589 Send unhandled keyboard accelerators to the parent window.
5591 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5593 * src/hildon-stackable-window.c
5594 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5596 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5598 * configure.ac: post release version bump
5600 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5603 * configure.ac: Bump version
5604 * debian/changelog: Updates
5605 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5608 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5610 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5613 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5614 GtkMenu with Hildon style.
5616 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5618 * src/hildon-picker-button.c:
5619 (hildon_picker_button_set_done_button_text): Set the dialog's
5620 done button text here as well.
5622 Fixes: NB#90232 (Picker button does not set the label on done button
5623 for the second time)
5625 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5627 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5630 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5632 * src/hildon-app-menu.c (hildon_app_menu_insert)
5633 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5634 the HildonAppMenu to be activatable using keyboard accelerators
5635 when the menu is not being shown.
5637 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5639 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5641 * src/hildon-stackable-window.c
5642 (hildon_stackable_window_show):
5643 Don't hide old windows automatically when new windows are shown:
5644 this is now a task for the window manager.
5645 (hildon_stackable_window_class_init)
5646 (hildon_stackable_window_hide):
5647 Remove windows from the stack everytime they're hidden.
5648 (hildon_stackable_window_realize):
5649 Don't change the _NET_WM_WINDOW_TYPE property. Use
5650 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5651 it as a stackable window.
5653 * src/hildon-program.c
5654 (hildon_program_pop_window_stack):
5655 Just hide the window to remove it from the stack.
5656 (hildon_program_go_to_root_window):
5657 Don't call gtk_widget_show(), this is now a task for the window
5660 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5662 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5664 * src/hildon-button.c
5665 (hildon_button_construct_child):
5666 Don't pack anything in the button until text or image are
5667 set. This allows adding a custom child after creating the button
5668 with hildon_button_new().
5669 (hildon_button_finalize, hildon_button_class_init)
5670 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5671 alignment and the label box even when they're not packed in the
5674 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5676 * src/hildon-touch-selector.h:
5677 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5678 currently the type definition was using GTK_TYPE_VBOX
5679 * src/hildon-touch-selector.c:
5680 Added some implementation notes in order to clarify that any other widget
5681 added without the column related API will not be included on the
5682 selection logic, and how the widget is freed, as some people ask about
5684 (hildon_touch_selector_remove): Reimplemented in order to free properly
5685 the column related data when you remove the private hbox.
5686 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5687 to get a proper HildonTouchSelectorColumn documentation
5689 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5691 * src/hildon-touch-selector-entry.c:
5692 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5693 text in the GtkEntry and there is no item selected. Fixes a
5696 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5698 * src/hildon-app-menu-private.h
5699 * src/hildon-app-menu.[ch]
5700 * src/hildon-button.[ch]
5701 * src/hildon-check-button.[ch]
5702 * src/hildon-entry.[ch]
5703 * src/hildon-pannable-area.[ch]
5704 * src/hildon-text-view.[ch]:
5705 Added private field to the object's structure.
5707 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5709 * configure.ac: post-release version bump
5711 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5715 * configure.ac: pre-release version bump
5717 * debian/changelog: updates.
5719 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5721 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5722 Disconnect the handler for HildonTouchSelector::changed.
5724 (hildon_picker_button_selector_selection_changed): Update the button
5725 value if the selection change was not triggered by the
5728 (hildon_picker_button_set_selector): connect to
5729 HildonTouchSelector::changed.
5731 Fixes: NB#89650 (Picker button is not updated, when selection in
5732 selector has changed)
5734 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5736 * src/hildon-picker-dialog.c
5737 (hildon_picker_dialog_realize): Removed as not required
5738 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5739 * src/hildon-picker-button.c
5740 (_current_selector_empty): New function, checks if the selector is empty
5741 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5742 if the current selector is empty, in order to avoid to show the dialog
5743 close the dialog in this case (and shows a g_warning).
5745 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5747 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5749 * src/hildon-pannable-area.c,
5750 (hildon_pannable_area_scroll): Added clause to stop movement when
5751 the child of pannable is smaller than one page.
5752 (hildon_pannable_area_scroll_to): Added conditions to avoid
5753 starting the scrolling movement if the child is smaller than one
5754 page, the complete child is in the screen, we do not have to move.
5756 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5758 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5761 this is managed automatically by the widget when the size of the
5764 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-picker-button.c
5767 (hildon_picker_button_set_done_button_text): Make a copy of the
5768 text, and free the previous value.
5770 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5772 * src/hildon-touch-selector-entry.c:
5773 (hildon_touch_selector_entry_print_func): Return the selected row's
5774 text if the entry is empty.
5776 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5779 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5781 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5783 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5786 * src/hildon-check-button.h
5787 * src/hildon-check-button.c
5788 * examples/hildon-check-button-example.c:
5789 HildonCheckButton is now a new widget. 'toggled' signal added.
5791 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5793 * src/hildon-program-private.h
5794 * src/hildon-program.c (hildon_program_init)
5795 (hildon_program_finalize): Removed unused variables group_leader
5796 and name from HildonProgramPrivate.
5798 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-check-button.c (hildon_check_button_set_active)
5801 (hildon_check_button_get_active, hildon_check_button_new): Use
5802 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5804 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5806 * src/hildon-touch-selector.h
5807 (hildon_touch_selector_set_column_attributes): added deprecation
5808 guard HILDON_DISABLE_DEPRECATED
5809 * src/hildon-time-selector.c
5810 (hildon_time_selector_set_time)
5811 (hildon_time_selector_get_time): Fixed a typo on documentation
5812 * src/hildon-touch-selector.c: update HildonTouchSelector and
5813 HildonTouchSelectorColumn documentation
5814 * src/hildon-touch-selector-entry.c: update "text-column" property
5816 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5817 to be added to the general documentation.
5819 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5821 * examples/hildon-pannable-area-example-4.c,
5823 * examples/hildon-pannable-area-example.c,
5824 (main): Modified the code in order to use the container add, with
5825 viewport treeviews could have problems if they are really big.
5827 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5829 * src/hildon-weekday-picker.c,
5830 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5831 the agreement regarding deprecation in the library.
5833 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5835 * examples/hildon-picker-button-multicolumn-example.c:
5836 (main): Use custom "done" button text.
5838 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5839 (hildon_picker_button_set_property),
5840 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5841 (hildon_picker_button_init),
5842 (+hildon_picker_button_get_done_button_text),
5843 (+hildon_picker_button_set_done_button_text): New methods to customize
5844 the "done" button label in the launched HildonPickerDialog. Also,
5847 * src/hildon-picker-button.h: add the public API.
5849 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5851 * src/hildon-date-selector.h:
5852 * src/hildon-picker-dialog.h:
5853 * src/hildon-time-selector.h:
5854 * src/hildon-touch-selector-column.h:
5855 * src/hildon-touch-selector.h:
5857 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5858 declarations. Fixes gtk-doc warnings.
5860 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5862 * src/hildon-picker-dialog.h
5863 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5864 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5866 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5867 long text is set as label for done button)
5869 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-dialog.c (hildon_dialog_add_button):
5872 Set fixed width to all buttons in the HildonDialog.
5874 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5876 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5878 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5879 Set widget name using class name plus "-finger" or "-thumb".
5881 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5883 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5884 'clicked' when the state of the button is manually changed.
5886 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5888 * src/hildon-app-menu.c (hildon_app_menu_realize)
5889 (hildon_app_menu_unrealize, hildon_app_menu_init)
5890 (hildon_app_menu_class_init, item_visibility_changed):
5891 Change the menu layout when the size of the screen changes.
5892 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5893 Show warning only when changing the number of colums using the
5896 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5898 * debian/compat: Set to 5
5899 * debian/control: Update dependencies.
5900 * debian/libhildon1-dbg.install: Remove.
5901 * debian/libhildon1-dev.install: Update according to cdbs paths.
5902 * debian/libhildon1.install: Update according to cdbs paths.
5903 * debian/rules: Switch to cdbs.
5905 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5907 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5908 'item' variable renamed to 'filter'
5910 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5912 * src/hildon-app-menu.c (hildon_app_menu_insert)
5913 (hildon_app_menu_add_filter, remove_item_from_list)
5914 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5915 Don't leak hidden items when the menu is destroyed.
5917 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5919 * src/hildon-app-menu.c (hildon_app_menu_insert)
5920 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5921 (hildon_app_menu_set_columns, item_visibility_changed)
5922 (filter_visibility_changed, hildon_app_menu_repack_filters)
5923 (hildon_app_menu_repack_items):
5924 Repack items and filters separately.
5926 Don't repack all items, change only the ones that are needed to
5929 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5931 * src/Makefile.am: added hildon-touch-selector-column.h
5933 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5935 * src/hildon-touch-selector.c: added the property "text-column" to the
5936 class HildonTouchSelectorColumn, and related get/set functions
5937 (_default_printf_func): updated to use "text-column" property
5938 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5939 "text-column" in his documentation, as this is now included on
5940 HildonTouchSelectorColumn. The get/set_property can still be used,
5941 working as a wrapper to the concrete column "text-column" property
5942 (_text_column_modified): callback added in order to handle the signal
5943 "notify::text-column" of the concrete HildonTouchSelectorColumn
5944 (hildon_touch_selector_entry_get_text_column)
5945 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5946 modified in order to use the HildonTouchSelectorColumn "text-column"
5948 * src/hildon-time-selector.c:
5949 * src/hildon-date-selector.c:
5950 * examples/hildon-touch-selector-example.c
5951 * examples/hildon-touch-selector-multi-cells-example.c
5952 * examples/hildon-picker-button-multicolumn-example.c
5953 Set the right value to "text-column" property on the creation of a new
5954 column using hildon_touch_selector_append_column()
5956 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5958 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5960 * src/hildon-app-menu.c
5961 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5962 updating the layout of the menu, don't create all widgets again,
5963 just repack the items in their new places.
5965 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5967 * src/hildon-time-selector.c
5968 (hildon_time_selector_get_time)
5969 (hildon_time_selector_set_time)
5970 Added documentation of these public methods
5972 * src/hildon-date-button.h
5973 * src/hildon-touch-selector-column.h
5974 * src/hildon-time-button.h
5975 * src/hildon-picker-dialog.h
5976 * src/hildon-time-selector.h
5977 * src/hildon-picker-button.h
5978 * src/hildon-touch-selector.h
5979 * src/hildon-time-picker.h
5980 * src/hildon-date-selector.h
5981 * src/hildon-touch-selector-entry.h
5982 Modified in order to use hildon-widgets code style
5984 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5986 Added deprecated support to the compilation process using
5987 HILDON_DISABLE_DEPRECATED
5989 * configure.ac: Added the --disable-deprecated to the configure
5992 * src/hildon-weekday-picker.c:
5993 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5994 to use the deprecated support. We will update the other deprecated
5995 widgets status in a new patch.
5997 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5999 * configure.ac: Fixed typo with fatal warnings support, the
6000 variable name was not correct
6002 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6004 * src/hildon-app-menu.c
6005 * src/hildon-program.c: Update documentation.
6007 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6009 * configure.ac: Post-release version bump.
6011 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6016 * configure.ac: Pre-release version bump.
6017 * debian/changelog: Updates.
6019 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6021 * NEWS: Update news for previous releases.
6023 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6025 * examples/hildon-touch-selector-multi-cells-example.c:
6026 (create_selector): Update the example to use
6027 hildon_touch_selector_append_column() with a NULL renderer and set
6028 the renderers later.
6029 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6030 passed a NULL renderer. This is documented behavior now.
6032 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6033 This must be used if the developer wants full control on the layout of
6034 the renderers to be added to the column.
6036 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6038 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6040 * src/hildon-touch-selector.c: Documentation fixes.
6042 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6044 * src/hildon-wizard-dialog-private.h: Remove image and box.
6045 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6046 (hildon_wizard_dialog_set_property), (response): Completely remove
6047 image/icon support, and the containers required for the layout.
6049 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6051 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6053 * src/hildon-app-menu.c: Updated documentation.
6055 * src/hildon-stackable-window.c
6056 (hildon_stackable_window_set_main_menu): Unref the old menu after
6057 ref'ing the new one.
6059 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6061 * src/hildon-stackable-window.c
6062 (hildon_stackable_window_set_main_menu): Unref the previous menu
6063 instead of destroying it.
6065 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6066 floating reference and set has_user_ref_count to FALSE to make
6067 HildonAppMenu act like a normal ref-counted widget and not a
6070 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6073 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6075 * src/hildon-touch-selector-column.h: new file
6076 * src/hildon-touch-selector.h
6077 * src/hildon-touch-selector.c
6078 Implemented GtkCellLayout interface, in order to allow to configure
6079 the cell layout on each individual selector column
6080 (hildon_touch_selector_set_column_attributes): marked as deprecated
6081 * examples/hildon-touch-selector-multi-cells-example.c
6082 Example of how to use the GtkCellLayout interface on the selector
6084 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6086 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6088 * src/hildon-app-menu.h
6089 * src/hildon-app-menu.c
6090 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6091 (hildon_app_menu_append, hildon_app_menu_prepend):
6092 New methods to prepend, insert and move items in the menu.
6094 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6096 * src/hildon-wizard-dialog.c:
6098 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6100 (create_title): Update logical IDs and related code.
6101 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6103 * src/hildon-wizard-dialog.h: Note that
6104 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6105 point, as it is not used anymore.
6107 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6109 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6111 * src/hildon-note.c:
6112 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6113 shown. Do not display an icon in confirmation notes nor information
6115 (hildon_note_set_button_text): Update logical ID for cancel button.
6117 Fixes: NB#88850 (Update HildonNote button strings + signals)
6119 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6121 * src/hildon-stackable-window.c
6122 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6124 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6126 * src/hildon-app-menu-private.h
6127 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6128 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6129 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6130 temporary property 'columns' to change the number of columns.
6132 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6134 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6136 * examples/hildon-note-example.c: (on_information_clicked),
6137 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6138 debugging information.
6139 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6141 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6142 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6143 in order to close: this will be handled by the WM from now on.
6145 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6147 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-app-menu-private.h
6150 * src/hildon-app-menu.c
6151 (hildon_app_menu_append, hildon_app_menu_add_filter)
6152 (button_visibility_changed, hildon_app_menu_apply_style)
6153 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6154 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6155 layout everytime a button (item or filter) is shown or hidden.
6157 * src/hildon-stackable-window.c
6158 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6161 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6163 * src/hildon-touch-selector.c:
6164 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6165 that the treeview inside the touch selector is in fremantle hildon mode
6166 * examples/hildon-date-button-example.c
6167 * examples/hildon-picker-button-multicolumn-example.c
6168 * examples/hildon-touch-selector-entry-example.c
6169 * examples/hildon-touch-selector-example.c
6170 * examples/hildon-time-button-example.c
6171 * examples/hildon-picker-button-example.c:
6172 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6174 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6176 * examples/hildon-text-view-example.c: (main): Remove the
6177 gtkrc bits, now handled by the theme.
6179 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6181 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6184 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6186 * po/Makefile.am: Install properly the mo files.
6187 * po/en_GB.po: Update translation, to ease testing purposes.
6189 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6191 * examples/hildon-picker-button-example.c: (main): Select an item
6192 in the selector before setting it to the button.
6194 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6196 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6197 Update button's value if the selector has an item active.
6199 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6200 'value' with the selector)
6202 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6204 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6205 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6206 (hildon_picker_button_class_init): Plug the finalize method.
6207 (hildon_picker_button_set_selector): If there's a previously set
6208 selector, unref'it before setting a new one.
6210 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6211 HildonTouchSelector)
6213 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6215 * src/hildon-touch-selector-entry.c:
6216 (hildon_touch_selector_entry_changed): Check if there is no text
6217 selected before setting the entry text.
6220 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6222 * src/hildon-touch-selector.h
6223 * src/hildon-touch-selector.c
6224 (hildon_touch_selector_get_active)
6225 (hildon_touch_selector_set_active): New methods to set/get the
6226 index of the selected item.
6228 * src/hildon-picker-button.h
6229 * src/hildon-picker-button.c
6230 (hildon_picker_button_get_active)
6231 (hildon_picker_button_set_active): New methods to set/get the
6232 index of the selected item.
6234 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6236 * configure.ac: post-release version bump.
6238 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6242 * configure.ac: Pre-release version bump.
6243 * debian/changelog: Updates.
6244 * debian/control: Add myself as maintainer and depend on l10n
6247 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6249 * src/hildon-window.c
6250 (hildon_window_set_main_menu)
6251 * src/hildon-stackable-window.c
6252 (hildon_stackable_window_set_main_menu):
6253 Updated documentation.
6255 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6257 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6258 Don't free selector->priv manually.
6261 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6264 (hildon_gtk_window_set_progress_indicator):
6265 * src/hildon-gtk.h: Added the new API
6266 hildon_gtk_window_set_progress_indicator, it changes the state of
6267 the window progress hint.
6269 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6271 * src/hildon-button.c
6272 * src/hildon-stackable-window.c: Minor documentation updates.
6274 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6276 * src/hildon-stackable-window.c: Updated documentation.
6278 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6280 * src/hildon-defines.h: Update margins definitions
6281 to the Fremantle sizes.
6284 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6286 * src/hildon-touch-selector.c,
6287 (_hildon_touch_selector_set_model): Cleaning the code after
6288 review, removed g_print and #if 0 from the code.
6290 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6292 * src/hildon-edit-toolbar.c: Update documentation.
6294 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-check-button.h
6297 * src/hildon-check-button.c
6298 (hildon_check_button_set_label, hildon_check_button_get_label)
6299 * examples/hildon-check-button-example.c
6300 (button_clicked_cb):
6301 Removed deprecated methods.
6303 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6305 * src/hildon-text-view.c:
6306 Add sample code to the documentation.
6308 * src/hildon-entry.h
6309 * src/hildon-text-view.h:
6310 Minor cosmetic changes.
6312 * src/hildon-entry.c:
6313 Add sample code to the documentation.
6314 (hildon_entry_init, hildon_entry_refresh_contents):
6315 Don't allow NULL values in the placeholder.
6317 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6319 * doc/hildon-docs.sgml
6321 * examples/Makefile.am
6322 * examples/hildon-text-view-example.c
6324 * src/hildon-text-view.c
6325 * src/hildon-text-view.h
6327 New HildonTextView widget, with example.
6329 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6331 * po/POTFILES.in: Add missing files with translatable strings.
6332 Partially fixes NB#88287.
6334 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6336 * examples/hildon-pannable-area-example-2.c: (main): No need to
6337 set the cellrenderer height inside hildon touch lists, the theme does
6340 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6342 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6343 they are integrated in the theme.
6345 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6347 * examples/hildon-entry-example.c: Update the example adding
6348 widgets to modify the text and the placeholder of the HildonEntry.
6350 * src/hildon-entry.c: Show the placeholder everytime the widget
6351 is empty and loses the focus.
6353 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6355 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6357 * src/hildon-pannable-area.c,
6358 (hildon_pannable_area_size_request): Fixed bug in height
6359 requisition, avoid increasing size and add border twice.
6361 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6363 * configure.ac: postrelease version bump.
6365 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6369 * configure.ac: Prerelease version bump.
6370 * debian/changelog: update.
6371 * debian/rules: make -dbg package contain useful debugging symbols.
6373 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6375 * src/hildon-dialog.h
6376 * src/hildon-dialog.c
6377 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6378 New methods to add buttons with finger size.
6379 (hildon_dialog_new_with_buttons):
6380 Create buttons with finger size.
6382 * examples/hildon-dialog-example.c (main): Use HildonDialog
6383 methods to add buttons.
6385 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6387 * src/hildon-entry.c: Updated HildonButton documentation.
6389 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6392 button value label with (FALSE, FALSE) to prevent NB#88126 from
6395 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6397 * examples/hildon-pannable-area-example.c,
6398 (main): Removed examples panning a vbox inside a pannable
6399 area. Check bug NB#87965
6401 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6403 Patch contributed by Kris Rietveld (kris@imendio.com)
6405 * src/hildon-pannable-area.c,
6406 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6407 get_size and get_position, this saves an X server roundtrip.
6409 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6411 * doc/hildon-docs.sgml
6413 * examples/Makefile.am
6414 * examples/hildon-entry-example.c
6416 * src/hildon-entry.c
6417 * src/hildon-entry.h
6419 New HildonEntry widget, with example.
6421 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6423 * src/hildon-button.c (hildon_button_construct_child): Pack the
6424 image with expand == fill == FALSE. This is a workaround for a bug
6427 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6429 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6430 labels for the text column, to make it more look more dynamic.
6432 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6434 * src/hildon-time-selector.c
6435 Define gettext auxiliar macro N_
6436 (_create_minutes_model)
6437 (_create_hours_model)
6438 (_create_ampm_model): use of strftime in order to fill the model
6439 * src/hildon-date-selector.c
6440 (hildon_date_selector_finalize):
6441 (_locales_init): remove the logic related to get the name of the months
6442 using nl_langinfo, as it is not required anymore
6444 (_create_year_model)
6445 (_create_month_model)
6446 (_update_day_model): use of strftime in order to fill the model properly
6449 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6451 * src/hildon-button.h
6452 * src/hildon-button.c (hildon_button_get_image): New method to
6455 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6457 * src/hildon-touch-selector.c:
6458 (hildon_touch_selector_remove_column): Remove from the correct parent
6459 and also remove the list element and free it.
6462 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6464 * src/hildon-time-selector.c
6465 (_create_hours_model): change the range on 12h ampm format in order to use
6466 a 12-11 range instead of previous 01-12 range
6467 (hildon_time_selector_set_time): change the way to select the current time
6468 on 12h ampm format, due the change on the range
6469 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6472 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6474 * src/hildon-touch-selector.c
6475 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6476 in order to allow use this function on multiple row selection mode if
6477 the column is different that the first one
6480 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6482 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6483 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6485 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6487 * src/hildon-date-selector.h: clean some comments, now on the .c
6488 * src/hildon-date-selector.c
6489 (hildon_date_selector_select_month): first implementation
6490 (hildon_date_selector_select_day): added documentation, reimplemented
6491 using hildon_date_selector_select_current_date to avoid repeat code
6494 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6496 Reviewed interaction logic based on device experiences, refactored
6499 * src/hildon-pannable-area.c,
6500 (hildon_pannable_area_class_init): Updated default vmax speed.
6501 (hildon_pannable_area_calculate_velocity): Added this function, it
6502 avoids duplicate valocity calculation. Adjusted calculation to
6503 avoid problems with zero dist events.
6505 (hildon_pannable_area_motion_notify_cb): Now we use the
6506 calculate_velocity function.
6508 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6510 * src/hildon-date-selector.c
6511 (hildon_date_selector_select_current_date): fix the day range check
6512 as it failed using the last day of the current month
6515 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6517 * src/hildon-touch-selector.c
6518 (hildon_touch_selector_get_num_columns): added a parameter validation
6521 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6523 * examples/Makefile.am
6524 * examples/hildon-edit-toolbar-example.c: Example of the
6525 HildonEditToolbar widget.
6527 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6529 * configure.ac: postrelease version bump.
6531 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6535 * configure.ac: prerelease version bump.
6536 * debian/changelog: update.
6538 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6540 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6541 renderer to display stock icons in the touch list. Also, set the sizes
6542 to the recommended in the style guide.
6544 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6545 * src/hildon-touch-selector.h
6546 (hildon_touch_selector_set_active_iter): renamed, now is
6547 hildon_touch_selector_select_iter
6548 (hildon_touch_selector_get_active_iter): renamed, now is
6549 hildon_touch_selector_get_selected
6550 (hildon_touch_selector_unselect_iter): added
6551 * src/hildon-touch-selector.c
6552 Update after API modification (methods renamed)
6553 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6554 order to avoid problems selecting multiple elements on the column
6555 (hildon_touch_selector_unselect_iter): added the implementation
6556 * src/hildon-time-selector.c
6557 * src/hildon-date-selector.c
6558 * src/hildon-touch-selector-entry.c
6559 Update methods calls after hildon-touch-selector.h API modification (methods
6562 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6564 * src/hildon-stackable-window.c
6565 (hildon_stackable_window_finalize): Call the parent class's finalize.
6567 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6569 * examples/hildon-touch-selector-example.c: (create_selector): Use
6570 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6573 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6575 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6576 set a cell background color, to respect theming.
6578 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6580 * doc/hildon-docs.sgml
6583 * src/hildon-edit-toolbar.c
6584 * src/hildon-edit-toolbar.h
6585 * src/hildon.h: New HildonEditToolbar widget.
6587 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6589 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6592 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6593 * src/hildon-touch-selector.c
6594 (_create_new_column): use g_object_set instead of two g_object_set_property
6596 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6597 * src/hildon-touch-selector.c
6598 (_create_new_column): use of hildon_gtk_tree_view_new to create
6599 the treeview, instead of use directly g_object_new
6600 (_create_new_column): update the property name "vindicator-mode" for the
6601 new one "vscrollbar-policy"
6602 * examples/hildon-date-button-example.c
6603 * examples/hildon-picker-button-multicolumn-example.c
6604 * examples/hildon-touch-selector-entry-example.c
6605 * examples/hildon-touch-selector-example.c
6606 * examples/hildon-time-button-example.c
6607 * examples/hildon-picker-button-example.c
6608 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6609 to all the treeviews inside a pannable area.
6611 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6613 * src/hildon-button.h
6614 * src/hildon-button.c (hildon_button_init)
6615 (hildon_button_set_arrangement, hildon_button_set_alignment)
6616 (hildon_button_set_title_alignment)
6617 (hildon_button_set_value_alignment)
6618 (hildon_button_set_image_alignment)
6619 (hildon_button_construct_child): New methods to set the alignment
6620 of the individual components of the button (title, value,
6621 image). Also, new method to alter the xscale and yscale properties
6622 of the GtkAlignment inside the button, so more complex layouts can
6625 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6627 * src/hildon-button.c (hildon_button_style_set)
6628 (hildon_button_class_init, hildon_button_set_arrangement)
6629 (hildon_button_construct_child): Apply style properties
6630 correctly. Use the 'image-spacing' style property too.
6632 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6634 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6635 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6638 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6640 * src/hildon-pannable-area.c,
6641 (hildon_pannable_area_size_request): Fixed problem with
6642 pannable-area size_request.
6644 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6646 Added management for the grab-focus to a child widget, like a
6647 range, we need to fade out the scrollbar when releasing.
6649 * src/hildon-pannable-area.c,
6650 (hildon_pannable_area_init): Connected the grab-focus signal to
6652 (hildon_pannable_area_grab_notify): Added this function in order
6653 to manage the situation when the grab-focus ends. We have to
6654 fade-out the scrollbar.
6656 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-app-menu.c: Minor documentation update.
6660 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6662 * src/hildon-app-menu.c
6663 * examples/hildon-app-menu-example.c (create_menu): Update
6664 examples and documentation to explain how to connect callbacks.
6666 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6668 * examples/hildon-button-example.c
6669 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6670 hildon_stackable_window_new instead of gtk_window_new
6672 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6674 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6675 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6676 (hildon_pannable_area_set_property),
6677 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6678 (hildon_pannable_area_unrealize),
6679 (hildon_pannable_area_size_request),
6680 (hildon_pannable_area_size_allocate),
6681 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6682 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6683 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6684 (hildon_pannable_area_initial_effect),
6685 (hildon_pannable_area_redraw),
6686 (hildon_pannable_area_scroll_indicator_fade),
6687 (hildon_pannable_area_expose_event),
6688 (hildon_pannable_area_get_topmost), (synth_crossing),
6689 (hildon_pannable_area_button_press_cb),
6690 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6691 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6692 (hildon_pannable_area_motion_notify_cb),
6693 (hildon_pannable_area_button_release_cb),
6694 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6695 (hildon_pannable_area_remove),
6696 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6697 chage the code layout to a more GtkWidget like. Review the use of
6700 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6702 * examples/hildon-pannable-area-example-4.c,
6703 (main): Modified the name of the hindicator_mode to
6706 * src/hildon-pannable-area.c,
6707 (hildon_pannable_area_class_init),
6708 (hildon_pannable_area_motion_notify_cb),
6709 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6710 we have reduced the amount of signals and managed reviewed its
6711 rationale. Changed the default decelerate value.
6713 (hildon_pannable_area_add),
6714 (hildon_pannable_area_redraw): Refactored functions.
6716 (hildon_pannable_area_init),
6717 (hildon_pannable_area_get_property),
6718 (hildon_pannable_area_set_property):
6719 (hildon_pannable_draw_vscroll),
6720 (hildon_pannable_draw_hscroll),
6721 (hildon_pannable_area_initial_effect),
6722 (hildon_pannable_area_expose_event),
6723 (hildon_pannable_area_scroll),
6724 (hildon_pannable_area_button_press_cb),
6725 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6726 and vindicator_mode with hscrollbar_policy and
6727 vscrollbar_policy. Replaced hscroll and vscroll with
6728 hscroll_visible and vscroll_visible.
6730 (hildon_pannable_area_refresh): Refactor the function, remove
6731 variables and check the calls to this function, added resize
6732 conditions in case the children change their layout.
6734 (hildon_pannable_area_size_request): Added more detailed
6735 size_request calculation.
6738 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6740 * src/hildon-color-chooser.c
6741 (init_borders): use the correct gtk_border_free instead of g_free, to
6742 avoid a crash when this widget is used (ie: the three color selection
6745 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6747 * src/hildon-check-button.c,
6748 (hildon_check_button_set_active): Fixed problem when setting the
6749 active value, the widget was not redrawn.
6751 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6753 * src/hildon-pannable-area.c,
6754 (hildon_pannable_area_refresh),
6755 (hildon_pannable_area_scroll),
6756 (hildon_pannable_area_motion_notify_cb): Small code style change.
6758 (hildon_pannable_area_class_init): Default initial_hint set to
6759 FALSE, it is not in the specs.
6761 (hildon_pannable_area_initial_effect),
6762 (hildon_pannable_area_expose_event),
6763 (hildon_pannable_area_map),
6764 (hildon_pannable_area_init): Moved the launching point of the
6765 initial effect, it was in map but the sizes where not correct in
6766 that method so we do not know if we have the reproduce it. Now it
6767 is placed in the expose_event method and uses a variable to
6768 reproduce it just once.
6770 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6772 * src/hildon-pannable-area.c,
6773 (hildon_pannable_draw_vscroll),
6774 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6775 position allowed for the scrollbars.
6777 (hildon_pannable_area_size_allocate): Small style change.
6779 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6781 * src/hildon-pannable-area.c,
6782 (hildon_pannable_area_scroll_indicator_fade),
6783 (hildon_pannable_area_button_press_cb),
6784 (hildon_pannable_area_button_release_cb),
6785 (hildon_pannable_area_scroll_cb),
6786 (hildon_pannable_area_expose_event),
6787 (hildon_pannable_area_init): Added the define parameter
6788 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6789 and refactor the fade variable.
6791 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6793 * src/hildon-pannable-area.c,
6794 (hildon_pannable_area_redraw),
6795 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6796 lines, we were reimplemeting the redraw code.
6798 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6800 * src/hildon-pannable-area.c,
6801 (hildon_pannable_area_scroll_cb),
6802 (hildon_pannable_area_realize),
6803 (hildon_pannable_area_class_init): Added scroll_event management
6804 for pannable area, now we can scroll the usual desktop method.
6806 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6807 initialization of the parameters should depend on idle_id.
6809 (hildon_pannable_area_init),
6810 (hildon_pannable_area_map): Small code style modifications
6812 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6814 * src/hildon-pannable-area.c
6815 (hildon_pannable_area_button_press_cb),
6816 (hildon_pannable_area_motion_notify_cb),
6817 (hildon_pannable_area_button_release_cb),
6818 (hildon_pannable_area_size_allocate),
6819 (hildon_pannable_area_scroll_to): Improved the timeouts
6820 management, we avoid creating them each time.
6822 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6824 * src/hildon-pannable-area.c:
6825 (hildon_pannable_area_refresh),
6826 (hildon_pannable_area_motion_notify_cb),
6827 (hildon_pannable_area_class_init):
6828 * src/hildon-pannable-area.h:
6829 * src/hildon-touch-selector.c
6830 (_create_new_column):
6831 * examples/hildon-pannable-area-example-4.c:
6832 (horizontal_movement),
6833 (vertical_movement),
6835 Replaced the names of enums in the HildonPannableArea:
6836 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6837 HILDON_MOVEMENT_MODE_*
6838 - HILDON_PANNABLE_AREA_MOV_* ->
6840 - Removed HildonPannableAreaIndicatorMode, now we
6843 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6845 * examples/hildon-pannable-area-touch-grid-example.c
6846 * examples/hildon-pannable-area-touch-list-example.c: Fix
6847 compilation warnings.
6849 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6851 * src/hildon-gtk.c (hildon_gtk_button_new)
6852 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6853 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6854 images overriding the value of the "gtk-button-images" setting.
6856 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6858 * src/hildon-check-button.c (hildon_check_button_new):
6859 Instead of using a custom container, display the label and the
6860 checkbox using the standard GtkButton API.
6862 * examples/hildon-check-button-example.c (main): Don't use
6863 hildon_check_button_set_label() anymore
6865 * src/hildon-check-button.h
6866 * src/hildon-check-button.c
6867 (hildon_check_button_set_label, hildon_check_button_get_label):
6868 Set as deprecated, now we're using gtk_button_{get,set}_label()
6870 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6872 * src/hildon-pannable-area.c,
6873 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6874 GtkTreeview first line we detected it after the inclusion of the
6875 GtkWindowImpl in gtk+. We now check if the window is visible, not
6876 just if the pointer is over the window.
6877 (hildon_pannable_axis_scroll),
6878 (hildon_pannable_area_expose_event): Small style changes.
6880 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6882 * src/hildon-button.c: Update documentation.
6884 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6886 * examples/hildon-button-example.c: Add a switch to show images in
6889 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6891 * doc/hildon-docs.sgml: Some docs reorganization.
6893 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6895 * examples/hildon-pannable-area-touch-list-example.c
6897 * examples/hildon-pannable-area-touch-grid-example.c
6898 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6899 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6900 Fix memory leak when setting the tree model.
6902 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6906 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6908 * doc/hildon.types: Remove duplicated hildon_window_get_type
6909 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6910 documentation comment.
6912 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6914 * doc/Makefile.am: Complete list of private headers.
6916 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6918 * doc/hildon-docs.sgml
6919 * src/hildon-app-menu.c
6920 * src/hildon-bread-crumb.c
6921 * src/hildon-button.c
6923 * src/hildon-program.c
6924 * src/hildon-stackable-window.c
6925 * src/hildon-window.c: Lots of documentation updates.
6927 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6929 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6931 * configure.ac: Require Gtk+ 2.12.9 at least
6933 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6935 * src/hildon-pannable-area.c
6936 (hildon_pannable_area_scroll_indicator_fade),
6937 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6938 to protect the return of this timeout callbacks, avoiding deadlocks.
6940 2008-08-12 Christian Dywan <christian@imendio.com>
6943 * src/hildon-*.h: Ensure a consistent include order,
6944 include <gtk/gtk.h> instead of particular files and
6945 only include the topmost header in the gtk stack. See NB #39857
6947 2008-08-12 Christian Dywan <christian@imendio.com>
6949 * src/hildon-picker-dialog.c
6950 * src/hildon-touch-selector.c: Fix warnings about unused and
6951 uninitialized variables.
6953 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6955 * examples/Makefile.am
6956 * examples/hildon-check-button-example.c: Example of the hildon
6959 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6961 * src/hildon-window.h
6962 * src/hildon-window.c (hildon_window_class_init)
6963 (hildon_window_unset_program): Don't make
6964 hildon_window_unset_program a virtual function anymore.
6966 * src/hildon-stackable-window.c: Update documentation
6968 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6971 * doc/hildon-docs.sgml
6972 * doc/visual_index.xml
6973 * src/hildon-defines.c
6975 * src/hildon-helper.c
6976 * src/hildon-range-editor.c: Lots of documentation fixes.
6978 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6980 * examples/hildon-picker-button-multicolumn-example.c
6981 (create_touch_selector): Fix compilation warning.
6983 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6985 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6986 (hildon_pannable_area_button_release_cb)
6987 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6989 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6991 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6994 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6996 * src/hildon-bread-crumb-trail.h
6997 * src/hildon-date-editor.c
6998 * src/hildon-date-selector.c
6999 * src/hildon-pannable-area.c
7000 * src/hildon-picker-dialog.c
7001 * src/hildon-time-selector.c
7002 * src/hildon-touch-selector-entry.c
7003 * src/hildon-touch-selector.c
7004 * src/hildon-touch-selector.h: Misc documentation fixes
7006 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7008 * examples/hildon-date-editor-example.c (main): Updated date
7011 * examples/hildon-note-example.c (on_confirmation_clicked):
7012 Updated confirmation note example.
7014 * src/hildon-date-editor.c
7015 * src/hildon-note.c: Updated sample programs in documentation.
7018 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7020 * src/hildon-date-button.h:
7021 * src/hildon-picker-button.h:
7022 * src/hildon-time-button.c:
7023 * src/hildon-time-button.h:
7025 Some declarations changes to allow gtk-doc to document the widgets
7028 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7030 * src/hildon-date-button.c: Document the widget.
7031 * src/hildon-time-button.c: Document the widget.
7033 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7035 * src/hildon-picker-button.c: Document the widget.
7036 * src/hildon-touch-selector-entry.c: Document the widget.
7038 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7040 * doc/hildon-docs.sgml
7043 * src/hildon-check-button.h
7044 * src/hildon-check-button.c: New functions to create the Hildon
7048 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7050 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-button.h
7053 * src/hildon-button.c
7054 (hildon_button_add_title_size_group)
7055 (hildon_button_add_value_size_group)
7056 (hildon_button_add_image_size_group)
7057 (hildon_button_add_size_groups): New functions to set size groups
7058 for the button labels and image.
7059 (hildon_button_new_full): Removed
7061 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7063 * src/hildon-time-selector.c
7064 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7065 in order to avoid a crash if gconf is not available
7067 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7069 * src/hildon-button.c (hildon_button_set_arrangement)
7070 (hildon_button_construct_child): Don't construct the button child
7071 before setting the arrangement.
7073 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7075 * src/hildon-program-private.h
7076 * src/hildon-program.c
7077 * src/hildon-program.h
7078 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7079 (hildon_program_peek_window_stack)
7080 (hildon_program_pop_window_stack)
7081 (hildon_program_go_to_root_window): HildonProgram now has a
7082 separate list for stackable windows. Functions are provided to
7083 manage that list with a stack-like API.
7085 * src/hildon-stackable-window.c: Stackable window management is
7086 now much simpler with the new HildonProgram API. Windows no
7087 longer need to be manually added to the program, they're
7088 automatically pushed to the top of the stack when shown.
7090 * examples/hildon-stackable-window-example.c: Updated example to
7091 reflect the API changes.
7093 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7095 * src/hildon-touch-selector.c: Comment out unimplemented
7096 hildon_touch_selector_insert_column() to avoid a compile warning.
7098 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7100 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7101 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7102 (hildon_touch_selector_set_column_selection_mode),
7103 (_hildon_touch_selector_set_model),
7104 (hildon_touch_selector_set_model):
7106 Complete review of HildonTouchSelector documentation.
7108 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7110 * doc/hildon-docs.sgml
7114 * src/hildon-gtk.c: Convenience functions for standard Gtk
7115 widgets, used to easily perform frequent operations.
7117 * src/hildon-button-helpers.h
7118 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7120 * src/hildon-helper.h
7121 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7122 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7124 * src/hildon-button.h
7125 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7127 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7129 * src/hildon-button.c (hildon_button_init)
7130 (hildon_button_set_arrangement, hildon_button_construct_child):
7131 Pack the image and the labels inside the same GtkAlignment so
7132 gtk_button_set_alignment() can be used
7134 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7136 * src/hildon-button.h
7137 * src/hildon-button.c
7138 (hildon_button_init, hildon_button_set_image)
7139 (hildon_button_set_image_position)
7140 (hildon_button_construct_child): New functions to add an image to
7143 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7145 * src/hildon-date-button.c
7146 * src/hildon-picker-button.c
7147 * src/hildon-time-button.c
7148 * src/hildon-button.c:
7149 (hildon_button_class_init): "size-flags" renamed to "size"
7150 (hildon_button_set_title): Hide the title label if set to NULL.
7152 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7154 HildonButtonFlags split into HildonButtonArrangement (to set the
7155 button layout) and HildonSizeType (which can be used for any
7158 * src/hildon-button.h
7159 * src/hildon-button.c
7160 (hildon_button_class_init)
7161 (hildon_button_set_arrangement)
7162 (hildon_button_set_property): New "size-flags"
7163 property. "arrangement-flags" renamed to "arrangement".
7164 (hildon_button_new, hildon_button_new_with_text)
7165 (hildon_button_new_full): Constructors updated to reflect type changes.
7167 * src/hildon-helper.h
7168 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7169 to set the size of a widget.
7173 * src/hildon-button-helpers.c
7174 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7176 * src/hildon-date-button.c
7177 * src/hildon-date-button.h
7178 * src/hildon-picker-button.c
7179 * src/hildon-picker-button.h
7180 * src/hildon-time-button.c
7181 * src/hildon-time-button.h: Updated widgets to reflect
7182 HildonButton API changes.
7184 * examples/hildon-button-example.c
7185 * examples/hildon-date-button-example.c
7186 * examples/hildon-picker-button-example.c
7187 * examples/hildon-picker-button-multicolumn-example.c
7188 * examples/hildon-time-button-example.c
7189 * examples/hildon-touch-selector-entry-example.c
7190 * examples/hildon-touch-selector-example.c: Updated examples to
7191 reflect HildonButton API changes.
7193 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7195 * doc/hildon-docs.sgml:
7197 * examples/Makefile.am:
7198 * examples/hildon-touch-selector-entry-example.c:
7200 * src/hildon-touch-selector-entry.c:
7201 * src/hildon-touch-selector-entry.h:
7204 Moved HildonTouchSelectorEntry from sandbox. Added its
7205 documentation and examples.
7207 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7209 * src/hildon-touch-selector.h:
7210 * examples/hildon-picker-button-multicolumn-example.c:
7211 (hildon_touch_selector_append_text_column): Add a gboolean
7212 parameter to determine if text must be centered in the column.
7214 * src/hildon-date-selector.c: (hildon_date_selector_init):
7215 * src/hildon-time-selector.c: (hildon_time_selector_init):
7216 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7217 (create_touch_selector): Update widgets and example to reflect
7220 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7222 * src/hildon-touch-selector.c:
7223 (hildon_touch_selector_set_active_iter): Set also the cursor in
7226 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7228 * doc/hildon-docs.sgml
7231 * src/hildon-toggle-button.c
7232 * src/hildon-toggle-button.h
7233 * src/hildon.h: Removed HildonToggleButton widget, a derived
7234 class is not necessary for this.
7236 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7238 * src/hildon-pannable-area.c,
7239 (hildon_pannable_area_realize),
7240 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7243 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7245 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7246 "done" button the default widget for the dialog.
7248 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7250 * src/hildon-touch-selector.c:
7251 (hildon_touch_selector_class_init),
7252 (hildon_touch_selector_get_property),
7253 (_hildon_touch_selector_set_model),
7254 (_hildon_touch_selector_has_multiple_selection),
7255 (hildon_touch_selector_has_multiple_selection):
7256 Add a "has-multiple-selection" property with a virtual
7257 has_multiple_selection() method to allow derived classes to
7258 override the default value for it. See the method and property
7259 documentation for details.
7261 * src/hildon-touch-selector.h: Add the new API.
7263 * src/hildon-picker-dialog.c: (requires_done_button): Call
7264 hildon_touch_selector_has_multiple_selection() instead of
7265 determining the need for a button itself.
7267 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7269 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7270 (_hildon_touch_selector_set_model),
7271 (hildon_touch_selector_set_model): Move working code to
7272 _hildon_touch_selector_set_mode(). Call the class method instead.
7274 * src/hildon-touch-selector.h: Add (*set_model) to
7275 HildonTouchSelectorClass.
7277 Make hildon_touch_selector_set_model() a virtual method, so that
7278 derived classes can extend it and do fancy stuff with the model.
7280 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7282 * configure.ac: Set back the tarname in AC_INIT to hildon.
7284 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7288 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7289 instead of libesd (NB#86876). Volume handling is still an open issue.
7291 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7294 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7296 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7297 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7298 derived class to ease placement of an entry widget in
7299 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7300 end, where the selector columns are packed now.
7302 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7304 * src/hildon-picker-button.c: Removed the simple _text() API.
7305 * src/hildon-picker-button.h: Likewise.
7307 * src/hildon-touch-selector.h:
7308 * src/hildon-touch-selector.c:
7309 (hildon_touch_selector_new_text),
7310 (hildon_touch_selector_append_text),
7311 (hildon_touch_selector_prepend_text),
7312 (hildon_touch_selector_insert_text):
7314 Moved the simple _text() API from HildonPickerButton to
7315 HildonTouchPicker, to provide better escalability and not to tie
7316 that API to HildonPickerButton.
7318 * examples/hildon-picker-button-example.c: (main): Example updated.
7320 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7322 * src/hildon-button.c: Updated documentation.
7324 * examples/hildon-button-example.c: Add the posibility to create
7325 the buttons using horizontal layout for title and value.
7327 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7329 * src/hildon-app-menu-private.h
7330 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7331 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7332 GtkSizeGroup for the filters, use the 'homogeneous' property of
7335 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7337 * examples/hildon-button-example.c: Updated example.
7339 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7341 * doc/hildon-docs.sgml:
7344 Update documentation.
7346 * examples/Makefile.am: Update renamed examples.
7348 * examples/hildon-picker-button-multicolumn-example.c:
7349 (create_touch_selector), (main): Update after the rename.
7351 * examples/hildon-touch-picker-example.c: Removed.
7352 * examples/hildon-touch-selector-example.c: (value_changed),
7353 (create_selector), (get_visible_content), (main): Renamed from
7354 hildon-touch-picker-example.c
7356 * src/Makefile.am: Updated renamed files.
7358 * src/hildon-date-button.c: (hildon_date_button_init),
7359 (hildon_date_button_get_date), (hildon_date_button_set_date):
7360 * src/hildon-date-selector.c: (hildon_date_selector_init),
7361 (_custom_print_func), (_update_day_model),
7362 (_manage_selector_change_cb),
7363 (hildon_date_selector_select_current_date),
7364 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7365 * src/hildon-date-selector.h:
7366 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7367 (hildon_picker_button_set_property),
7368 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7369 (hildon_picker_button_init), (hildon_picker_button_new_text),
7370 (hildon_picker_button_append_text),
7371 (hildon_picker_button_prepend_text),
7372 (hildon_picker_button_insert_text),
7373 (hildon_picker_button_set_selector),
7374 (hildon_picker_button_get_selector):
7375 * src/hildon-picker-button.h:
7376 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7377 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7378 (_update_title_on_selector_changed_cb), (requires_done_button),
7379 (_hildon_picker_dialog_set_selector),
7380 (hildon_picker_dialog_set_selector),
7381 (hildon_picker_dialog_get_selector):
7382 * src/hildon-picker-dialog.h:
7383 * src/hildon-time-button.c: (hildon_time_button_init),
7384 (hildon_time_button_get_time), (hildon_time_button_set_time):
7385 * src/hildon-time-selector.c: (hildon_time_selector_init),
7386 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7387 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7388 * src/hildon-time-selector.h:
7391 Massive code updates after the rename.
7393 * src/hildon-touch-picker.c: Removed.
7394 * src/hildon-touch-picker.h: Removed.
7396 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7397 (hildon_touch_selector_init), (hildon_touch_selector_map),
7398 (hildon_touch_selector_remove), (_default_print_func),
7399 (_selection_changed_cb), (_create_new_column),
7400 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7401 (hildon_touch_selector_append_text_column),
7402 (hildon_touch_selector_remove_column),
7403 (hildon_touch_selector_set_column_attributes),
7404 (hildon_touch_selector_insert_column),
7405 (hildon_touch_selector_get_num_columns),
7406 (hildon_touch_selector_get_column_selection_mode),
7407 (hildon_touch_selector_set_column_selection_mode),
7408 (hildon_touch_selector_set_print_func),
7409 (hildon_touch_selector_get_print_func),
7410 (hildon_touch_selector_get_active_iter),
7411 (hildon_touch_selector_set_active_iter),
7412 (hildon_touch_selector_get_selected_rows),
7413 (hildon_touch_selector_get_model),
7414 (hildon_touch_selector_set_model),
7415 (hildon_touch_selector_get_current_text),
7416 (_hildon_touch_selector_center_on_selected_items):
7417 * src/hildon-touch-selector.h: Renamed from
7418 hildon-touch-picker.[ch]
7420 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7421 references, code examples, and related documentation.
7423 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7425 * doc/hildon-docs.sgml
7428 * src/hildon-toggle-button.c
7429 * src/hildon-toggle-button.h
7430 * src/hildon.h: New HildonToggleButton widget.
7432 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7434 * src/hildon-button.c: Add API documentation.
7435 (hildon_button_set_size_groups): Check input parameters
7437 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7439 * src/hildon-pannable-area.c
7440 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7441 effect after reaching the movement thredshold. This way we start
7442 using the distance after passing the thredshold.
7444 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7446 * src/hildon-button.c: (hildon_button_set_property): Use the
7447 appropriate g_value_get_flags() method.
7449 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7451 * doc/hildon-docs.sgml:
7454 Add the touch pickers, picker dialogs, and picker button widgets
7455 to the documentation.
7457 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7459 * src/hildon-button.c: (hildon_button_set_property),
7460 (hildon_button_class_init): Make "arrangement-flags" a proper
7461 G_TYPE_FLAGS derived property.
7463 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7465 * examples/Makefile.am: Add below examples.
7466 * examples/hildon-date-button-example.c:
7467 * examples/hildon-picker-button-example.c:
7468 * examples/hildon-picker-button-multicolumn-example.c:
7469 * examples/hildon-time-button-example.c:
7470 * examples/hildon-touch-picker-example.c:
7472 Add examples for the recently added touch pickers,
7473 picker dialogs, and picker button widgets.
7475 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7477 * src/hildon-button.c: Add some API documentation
7479 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7481 * src/hildon-button.h
7482 * src/hildon-button.c
7484 (hildon_button_new_with_text): New constructor to create a button
7485 with no text at all.
7486 (hildon_button_init, hildon_button_set_arrangement)
7487 (hildon_button_set_title, hildon_button_set_value)
7488 (hildon_button_set_text)
7489 (hildon_button_construct_child): Hide the value when it's not used
7490 so the rest of the text is properly aligned.
7491 Allow creating buttons with arbitrary widgets inside (not just
7492 title/value labels).
7494 * examples/hildon-button-example.c (vertical_buttons_window)
7495 (horizontal_buttons_window): Update example to use new API.
7497 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7499 * src/Makefile.am: Added HildonTimeButton.
7500 * src/hildon-time-button.c: Added missing LGPL header.
7501 * src/hildon-time-button.h: Added missing LGPL header.
7502 * src/hildon.h: Add hildon-time-button.h
7504 Copied HildonTimeButton from sandbox to trunk. Future work on this
7505 widget must take place in trunk.
7507 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7509 * src/Makefile.am: Added HildonDateButton.
7510 * src/hildon-date-button.c: Update includes.
7511 * src/hildon.h: Add hildon-date-button.h
7513 Copied HildonDateButton from sandbox to trunk. Future work on this
7514 widget must take place in trunk.
7516 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7518 * src/Makefile.am: Added HildonPickerButton.
7519 * src/hildon-picker-button.h: Update includes.
7520 * src/hildon.h: Add hildon-picker-button.h
7522 Copied HildonPickerButton from sandbox to trunk. Future work on
7523 this widget must take place in trunk.
7525 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7527 * src/Makefile.am: Added HildonPickerDialog.
7528 * src/hildon-picker-dialog.c: Update includes.
7529 * src/hildon.h: Add hildon-picker-dialog.h
7531 Copied HildonPickerDialog from sandbox to trunk. Future work
7532 on this widget must take place in trunk.
7534 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7536 * src/Makefile.am: Added HildonTimeSelector.
7537 * src/hildon.h: Add hildon-time-selector.h
7539 Copied HildonTimeSelector widget from sandbox to trunk. Future
7540 work on this widget must happen in trunk.
7542 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7544 * src/Makefile.am: Added HildonDateSelector.
7545 * src/hildon.h: Add hildon-date-selector.h
7547 Copied HildonDateSelector widget from sandbox to trunk. Future
7548 work on this widget must happen in trunk.
7550 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/Makefile.am: Added HildonTouchPicker.
7553 * src/hildon-touch-picker.c: Update includes.
7554 * src/hildon.h: Add hildon-touch-picker.h
7556 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7557 on this widget must happen in trunk.
7559 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7561 * src/hildon-pannable-area.c:
7562 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7564 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7566 * examples/hildon-app-menu-example.c (main): Let the window
7569 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7571 * src/hildon-pannable-area.c
7572 (hildon_pannable_area_class_init): Set the min value of the
7573 overshoot properties to zero, which points out that not
7574 overshooting allowed.
7576 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7578 Modified the procedure to get the widget at a point inside the
7579 pannable area when using the movement type signals. Now the user
7580 has to call a function to get the child, that way we just
7581 calculate the child in case the user really want to use it and not
7584 * src/hildon-marshalers.list: Modified the marshallers, now we do
7585 not have the widget as a parameter.
7587 * src/hildon-pannable-area.c
7588 (hildon_pannable_area_motion_notify_cb),
7589 (hildon_pannable_area_class_init),
7590 (hildon_pannable_get_child_widget_at): Removed the widget
7591 parameter from the signal callback. We have also refactored the
7592 emission of the signals.
7594 * src/hildon-pannable-area.h: Added a new method to the API to
7595 calculate a widget at a point inside the pannable area,
7596 hildon_pannable_get_child_widget_at.
7598 * examples/hildon-pannable-area-example-4.c
7599 (horizontal_movement): Modified the example to use the new API,
7600 added condition to control which widget is under the event. This
7601 way we can avoid scrolling laterally over other widgets.
7603 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7605 * src/hildon-pannable-area.c
7606 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7607 modes, we stop getting the pointer events due to returning the
7608 callback without properly calling the get pointer again. Fixed
7609 also an error using the hscroll and vscroll.
7611 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7613 * src/hildon-app-menu-private.h
7614 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7615 (hildon_app_menu_button_release, hildon_app_menu_init)
7616 (hildon_app_menu_class_init): Don't hide the menu on button
7617 release if the user didn't press outside first.
7619 * src/hildon-window.h
7620 * src/hildon-window.c (hildon_window_toggle_menu)
7621 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7622 hildon_window_toggle_menu a virtual function for the stackable
7623 window to override it.
7625 * src/hildon-stackable-window.h
7626 * src/hildon-stackable-window-private.h
7627 * src/hildon-stackable-window.c
7628 (hildon_stackable_window_realize)
7629 (hildon_stackable_window_finalize)
7630 (hildon_stackable_window_class_init)
7631 (hildon_stackable_window_init)
7632 (hildon_stackable_window_set_main_menu): New function to set the
7633 app menu of a HildonStackableWindow.
7635 * examples/hildon-app-menu-example.c: Remove the button to show
7636 the app menu, now it'll be shown when clicking on the title bar
7639 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7641 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7642 set the widget name if the arrangement flags do not specify
7645 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7647 * src/hildon-button.c: (hildon_button_set_property),
7648 (hildon_button_class_init), (hildon_button_new_full),
7649 (hildon_button_set_arrangement): Added "arrangement-flags"
7652 Make the HildonButtonFlags a construction-only property, to allow
7653 subclasses to set them properly.
7655 2008-07-21 Tim Janik <timj@imendio.com>
7657 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7658 insertion position after backspace, so additional digits are appended,
7661 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7663 * src/hildon-pannable-area.c,
7664 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7665 TODO list, it was complete and removed the g_debug and g_print
7668 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7670 Added the movement modes to the hildon-pannable-area, with this
7671 modes the developers can control in which directions the widget
7672 can scroll. They can also connect to signals in order to do
7673 something when that happens, allowing applications scroll. There
7674 is an example uploaded showing how to use it.
7676 * examples/Makefile.am:
7677 * examples/hildon-pannable-area-example-4.c: Added this example of
7678 an application using the modes.
7680 * src/hildon-marshalers.list: Added a new marshaller for the new
7683 * src/hildon-pannable-area.h: Added new enumerations and flags in
7684 order to control the movement modes and the new signals to warn
7685 about the movements in the area.
7687 * src/hildon-pannable-area.c:
7688 (hildon_pannable_axis_scroll),
7689 (hildon_pannable_area_scroll),
7690 (hildon_pannable_area_motion_notify_cb),
7691 (hildon_pannable_area_get_property),
7692 (hildon_pannable_area_set_property),
7693 (hildon_pannable_area_map),
7694 (hildon_pannable_area_class_init),
7695 (hildon_pannable_area_init),
7696 (hildon_pannable_area_jump_to): Added the modes to control the
7697 movement in the widget. We have added properties to control it,
7698 signals to warn about the movements and refactored some code.
7700 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7702 Changes required in order to allow vfast_factor set to zero to
7705 * src/hildon-pannable-area.c:
7706 (hildon_pannable_area_button_press_cb): Changed the condition, it
7707 is required for not allowing click when vfast_factor is zero.
7708 (hildon_pannable_area_timeout): Initialized velocity variables
7709 when we stop moving, it was less than 1 but not zero and we need
7710 to check zero in some situations.
7711 (hildon_pannable_area_class_init): Changed the default value of
7712 the speed factor, now the button_press is just sent in case the
7713 speed is 2 per cent of the max speed.
7714 (hildon_pannable_area_init): Initialization with 0.
7716 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7718 * src/hildon-pannable-area.c,
7719 (hildon_pannable_area_get_topmost): replaced
7720 gdk_window_get_children with gdk_window_peek_children, this way we
7721 do not have to free the list because it is not a copy.
7723 (hildon_pannable_axis_scroll),
7724 (hildon_pannable_area_scroll),
7725 (hildon_pannable_area_timeout),
7726 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7727 two parameters that were only used inside the
7728 hildon_pannable_area_scroll function.
7730 * examples/hildon-pannable-area-example.c,
7731 (get_sawtooth_label): Fixed small memory leak.
7733 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7735 More checks for the case where the overshoot is bigger than the
7738 * src/hildon-pannable-area.c:
7739 (hildon_pannable_draw_vscroll),
7740 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7741 to draw the slider of the scrollbar under the other scrollbar.
7742 (hildon_pannable_area_expose_event): added new checks to control
7743 the drawing of the overshooting area rectangle, in case it is too
7744 big for the area of the widget.
7745 (hildon_pannable_area_size_allocate): add more checks to avoid
7746 setting a position to the child widget outside the area.
7748 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7750 * src/hildon-pannable-area.c
7751 (hildon_pannable_area_size_allocate): Added conditions to control
7752 when overshooting is bigger than the allocated space for the
7753 children, this avoids negative allocations.
7755 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7757 * doc/hildon-docs.sgml
7759 * examples/Makefile.am
7760 * examples/hildon-button-example.c
7762 * src/hildon-button.c
7763 * src/hildon-button.h
7764 * src/hildon.h: Initial version of the new HildonButton widget,
7767 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7769 * src/hildon-pannable-area.c:
7770 (hildon_pannable_area_button_press_cb),
7771 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7772 (hildon_pannable_area_motion_notify_cb),
7773 (hildon_pannable_area_button_release_cb),
7774 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7775 (hildon_pannable_area_jump_to_child):
7777 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7779 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7781 * examples/Makefile.am
7782 * examples/hildon-pannable-area-touch-grid-example.c
7783 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7784 the Hildon Touch List and Hildon Touch Grid using the
7785 HildonPannableArea widget.
7787 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7789 * src/hildon-pannable-area.c,
7790 (hildon_pannable_area_button_press_cb),
7791 (hildon_pannable_area_refresh),
7792 (hildon_pannable_area_scroll),
7793 (hildon_pannable_area_motion_notify_cb),
7794 (hildon_pannable_area_button_release_cb),
7795 (hildon_pannable_area_expose_event),
7796 (hildon_pannable_area_add),
7797 (hildon_pannable_area_remove),
7798 (hildon_pannable_area_realize),
7799 (hildon_pannable_area_size_allocate),
7800 (hildon_pannable_area_class_init),
7801 (hildon_pannable_area_init),
7802 (hildon_pannable_area_scroll_to_child),
7803 (hildon_pannable_area_jump_to_child): Fixed the problem of
7804 removing the child from the GtkBin, we have rearranged the widget
7805 hierarchy, now there is no GtkAlignment which was not doing
7806 anything interesting but breaking some of the assumptions of
7807 GtkContainer. Now developers if they want to add a GtkAlignment
7808 they could, but it is not inside the area.
7810 We had to review the whole allocation/expose process, now it is
7811 improved and we save at least three signals which would be saving
7812 some time when rendering the widget. The allocation of the
7813 scrollbars is now made in the allocate method as usual.
7815 We have also added some conditions in order to control when there
7816 is no child of the pannable area. Maybe we will need more work
7819 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7821 * src/hildon-pannable-area.c,
7822 (hildon_pannable_area_dispose): Released the fade-out timeout when
7823 disposing the widget.
7825 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7827 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7828 zero, we are going to use that property in order to deactivate the
7830 (hildon_pannable_axis_scroll),
7831 (hildon_pannable_area_size_allocate): Added conditions to control
7832 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7833 call, now it is called in all situations and we can remove calls
7834 in the allocate method.
7835 (hildon_pannable_area_map): Control the situation when
7836 overshoot_max is zero, we do not need the timeout.
7837 (hildon_pannable_area_class_init): Added documentation in order to
7838 point out that setting zero to overshoot_max means deactivate
7841 NOTE: removed trailing whitespaces from my previous comments of
7844 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7846 * src/hildon-pannable-area.c
7847 (hildon_pannable_area_get_property),
7848 (hildon_pannable_area_set_property),
7849 (hildon_pannable_area_map),
7850 (hildon_pannable_area_class_init),
7851 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7852 to cause the widget give a hint about its panning abilities upon
7855 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7857 * src/hildon-pannable-area.c: Several documentation improvements.
7859 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7861 * src/hildon-program.c
7862 * src/hildon-stackable-window.c: Update documentation.
7864 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7866 * src/hildon-stackable-window.c (get_previous_window_if_last):
7867 Renamed get_last_window()
7868 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7869 (hildon_stackable_window_unset_program):
7871 (get_previous_window_if_last):
7872 Detect if the window hasn't been added to a HildonProgram.
7874 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7876 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7878 * src/hildon-pannable-area.c
7879 (hildon_pannable_area_button_press_cb),
7880 (hildon_pannable_axis_scroll),
7881 (hildon_pannable_area_scroll),
7882 (hildon_pannable_area_timeout),
7883 (hildon_pannable_calculate_vel_factor),
7884 (hildon_pannable_area_get_property),
7885 (hildon_pannable_area_set_property),
7886 (hildon_pannable_area_class_init),
7887 (hildon_pannable_area_init),
7888 (hildon_pannable_area_scroll_to),
7889 (hildon_pannable_area_jump_to),
7890 (hildon_pannable_area_scroll_to_child),
7891 (hildon_pannable_area_jump_to_child):
7892 * src/hildon-pannable-area.h: Added the new API functions:
7893 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7894 hildon_pannable_area_scroll_to_child,
7895 hildon_pannable_area_jump_to_child
7898 * examples/Makefile.am
7899 * examples/hildon-pannable-area-example-2.c
7900 * examples/hildon-pannable-area-example-3.c: Added these two new
7901 examples in order to test and show how the new APIs work.
7903 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7905 * examples/hildon-stackable-window-example.c (new_window):
7906 * src/Makefile.am (noinst_HEADERS):
7907 * src/hildon-program.c (hildon_program_go_to_root_window):
7908 * src/hildon-program.h:
7909 * src/hildon-stackable-window-private.h:
7910 * src/hildon-stackable-window.c:
7911 * src/hildon-stackable-window.h:
7912 Create hildon-stackable-window-private.h
7913 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7915 * examples/hildon-app-menu-example.c (create_menu):
7916 * examples/hildon-hvolumebar-insensitive-example.c (main):
7917 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7918 * examples/hildon-toolbar-seekbar-example.c (main):
7919 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7920 * src/hildon-banner.c (hildon_banner_set_property):
7921 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7922 Fix compilation warnings
7924 * src/hildon-window.c:
7927 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7929 * src/hildon-stackable-window.c
7930 (hildon_stackable_window_unset_program):
7931 Calculate correctly whether to show the previous window if the
7932 last one is removed from the stack.
7933 (hildon_stackable_window_go_to_root_window):
7934 Send delete events starting from the topmost window.
7935 Stop if one of the windows is not destroyed.
7937 (hildon_stackable_window_delete_event)
7938 (hildon_stackable_window_class_init):
7939 Ignore the delete event if the window is not the topmost one.
7941 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7943 * src/hildon-pannable-area.c
7944 (hildon_pannable_area_expose_event): Fixed a problem when
7945 selecting the background color of the scrollbars.
7947 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7949 * examples/hildon-stackable-window-example.c
7950 * src/hildon-stackable-window.c
7951 * src/hildon-stackable-window.h
7952 hildon_stackable_window_go_home() renamed to
7953 hildon_stackable_window_go_to_root_window()
7954 Send delete events to windows rather than closing them with
7955 gtk_widget_destroy()
7957 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7959 * src/hildon-pannable-area.c
7960 (hildon_pannable_area_button_release_cb): Fix overshooting in
7963 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7965 * src/hildon-pannable-area.c
7966 (hildon_pannable_area_init): Initially show the scroll indicators.
7967 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7969 Add initial effect showing the widget is pannable.
7971 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7973 * src/hildon-pannable-area.c
7974 (hildon_pannable_area_class_init)
7975 (hildon_pannable_area_set_property)
7976 (hildon_pannable_area_get_property)
7977 (hildon_pannable_area_button_press_cb):
7978 New 'velocity_fast_factor' property to decide which velocity is
7981 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7983 * src/hildon-pannable-area.c
7984 (hildon_pannable_draw_hscroll)
7985 (hildon_pannable_draw_vscroll):
7986 Use float variables to calculate the size of the scrollbars to
7987 avoid error propagation and resizing during scrolling.
7989 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7991 * src/hildon-pannable-area.c
7992 (hildon_pannable_draw_vscroll)
7993 (hildon_pannable_draw_hscroll):
7994 Define a minimum size for the scroll bars
7996 * src/hildon-stackable-window.c
7997 (hildon_stackable_window_go_home): Fix compilation warning
7998 (get_last_window): Minor optimizations
7999 (hildon_stackable_window_class_init): Fix initialization of
8002 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8004 * src/hildon-stackable-window.c: Fixed typos in doc
8006 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8008 * src/hildon-pannable-area.c
8009 (hildon_pannable_area_scroll):
8010 Calculate here whether we need to scroll instead of using the booleans
8011 that tell us whether to /draw/ the scrolling bars.
8013 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8015 * src/hildon-app-menu.h
8017 * src/hildon-app-menu.c
8018 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8019 multiple filter groups related code and API. Now we support only
8021 * examples/hildon-app-menu-example.c:
8023 Update to reflect API changes.
8025 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8027 * src/hildon-stackable-window.c
8028 (hildon_stackable_window_class_init):
8029 Add hildon_stackable_window_realize.
8030 (hildon_stackable_window_realize):
8031 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8032 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8033 to apply theming and behavior specific to HildonStackableWindow
8036 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8038 * src/hildon-note.c (hildon_note_button_release):
8039 Close information notes also when tapping on them
8041 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8043 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8044 ELASTICITY, refactor and review, fix some issues with drawing
8047 * src/hildon-pannable-area.c:
8048 (hildon_pannable_area_button_press_cb): removed the conditions to
8049 avoid clicks when overshooting. It is not required
8051 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8052 define. Refatored and reviewed the code, now we do not need to
8053 manage velocity in motion_notify.
8055 (hildon_pannable_area_motion_notify_cb): We have moved the code
8056 that controls the area_scroll to the axis_scroll function and get
8057 rid of duplicated code.
8059 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8061 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8063 (hildon_pannable_draw_vscroll),
8064 (hildon_pannable_draw_hscroll): Fixed the problems with the
8065 scrollbar drawing, now we do not use two surfaces, it is easier
8066 and saves resources.
8068 (hildon_pannable_area_get_property): Style modification.
8070 (hildon_pannable_area_class_init): Changed some default values.
8072 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8074 * src/hildon-stackable-window.c: Fix some typos in the
8077 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8079 * src/hildon-dialog.c:
8080 Change indentation style
8083 (hildon_note_button_release):
8084 Use root coordinates to check if the release event happened
8087 * src/hildon-app-menu.c
8088 (hildon_app_menu_button_release):
8089 Remove unnecessary check
8091 * examples/hildon-app-menu-example.c
8093 Add cast to fix warning
8095 * src/hildon-app-menu.c
8096 (hildon_app_menu_class_init):
8097 New inner-border style property.
8098 Set all default spacings to 16
8099 (hildon_app_menu_init):
8100 Use vertical-spacing to set the space between filter buttons and
8101 regular menu buttons.
8102 Set the default container border using the inner-border value.
8104 * examples/hildon-app-menu-example.c
8106 Don't set the menu border explicitly, now we have the inner-border
8107 style property for that.
8109 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8111 * src/hildon-app-menu.c (hildon_app_menu_init):
8112 Make the window modal
8114 * src/hildon-note.c (hildon_note_map)
8115 * src/hildon-app-menu.c (hildon_app_menu_map):
8116 Destroy the grab window if we're unable to grab the pointer
8118 * src/hildon-app-menu-private.h
8119 * src/hildon-app-menu.c
8120 (hildon_app_menu_init, hildon_app_menu_finalize)
8121 (hildon_app_menu_map, hildon_app_menu_unmap)
8122 (hildon_app_menu_button_release)
8123 (grab_transfer_window_get):
8124 Bring back the grab window
8125 (hildon_app_menu_realize):
8126 Decorate the window, set WM hint for Matchbox
8128 * src/hildon-note.c (hildon_note_realize):
8129 * src/hildon-banner.c (hildon_banner_realize):
8130 Add WM hints for Matchbox
8132 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8134 * src/hildon-app-menu-private.h
8135 * src/hildon-app-menu.c
8136 (hildon_app_menu_init, hildon_app_menu_finalize)
8137 (hildon_app_menu_map, hildon_app_menu_unmap)
8138 (hildon_app_menu_button_release):
8139 Remove the grab window, it's not needed anymore
8141 * src/hildon-program.c
8142 Fixed typo in documentation
8144 * src/hildon-app-menu.h
8145 * src/hildon-app-menu.c
8146 * examples/hildon-app-menu-example.c
8147 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8149 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8152 Added new transfer_window and close_if_pressed_outside private
8154 (hildon_note_rebuild):
8155 Don't add a cancel button to the information note. It will be
8156 closed when tapping outside
8157 Remove the comment about the OK button in the documentation
8158 (hildon_note_realize):
8159 Set the notification type hint
8160 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8161 Grab/ungrab pointer and keyboard if the note has to be closed when
8163 (hildon_note_button_release):
8164 Close the note when tapping outside (if applicable)
8166 * src/hildon-app-menu.c
8167 Grab/ungrab pointer and keyboard on map/unmap
8168 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8169 Close the menu on button release, not button press
8171 * src/hildon-banner.c
8172 (hildon_banner_set_property)
8173 (hildon_banner_check_position):
8174 Make the banner use the full width of the screen
8175 (hildon_banner_show_information)
8176 (hildon_banner_show_information_with_markup):
8177 Don't display an icon by default
8179 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8181 Added fading scrollbars and adapted all the overshooting code to
8182 horizontal scrolling. We have also fixed bugs with overshooting
8183 and current fading implementation.
8185 * src/hildon-pannable-area.c
8186 (hildon_pannable_area_scroll_indicator_fade): Time out function
8187 used to change the transparency of the scrollbars.
8189 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8190 control and fixed a problem with fading, we now remove the fade
8191 timeout before adding a new one.
8193 (hildon_pannable_axis_scroll):
8194 (hildon_pannable_area_scroll):
8195 (hildon_pannable_area_timeout): Added this functions so we can use
8196 the scroll code both for vertical and horizontal.
8198 (hildon_pannable_area_motion_notify_cb):
8199 (hildon_pannable_area_button_release_cb): Added the horizontal
8200 scrolling control, fixed a problem with the overshooting timeout.
8202 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8203 painting of the scrolls.
8205 (hildon_pannable_draw_vscroll):
8206 (hildon_pannable_draw_hscroll):
8207 (hildon_pannable_area_expose_event):
8208 Draw both scrollbars and rectangles in the overshooting area.
8210 (hildon_pannable_area_get_property):
8211 (hildon_pannable_area_set_property):
8212 Modified the overshoot property to overshoot_max
8214 (hildon_pannable_area_map):
8215 Replaced the comments symbols.
8217 (hildon_pannable_area_size_allocate):
8218 (hildon_pannable_area_class_init):
8219 (hildon_pannable_area_init): Added horizontal scroll, fading
8220 effect properties, fixed a problem when overshooting in the bottom
8223 * examples/hildon-pannable-area-example.c:
8224 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8225 looks better in the example.
8227 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8229 * src/hildon-window.c
8230 * src/hildon-window.h
8231 (hildon_window_class_init)
8232 (hildon_window_unset_program)
8233 (hildon_window_unset_program_real):
8234 Make unset_program a virtual function
8236 * src/hildon-stackable-window.c
8237 * src/hildon-stackable-window.h
8238 Added hildon_stackable_window_go_home()
8240 * examples/Makefile.am
8241 * examples/hildon-stackable-window-example.c
8242 HildonStackableWindow example
8244 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8246 * hildon-pannable-area.c: Added the overshoot property and removed
8247 the OVERSHOOT define. Fixed an indent style error.
8248 (hildon_pannable_area_motion_notify_cb):
8249 (hildon_pannable_area_get_property):
8250 (hildon_pannable_area_set_property): Add overshoot property.
8252 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8255 (hildon_pannable_area_class_init): Installed the new property.
8257 * hildon-pannable-area-example.c: Added a sawtooth function, this
8258 way it is easier to check the movement in the pannable.
8259 (get_sawtooth_label): Added this function.
8260 (main): Now we get the labels from the new get_sawtooth_label
8263 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8265 * src/hildon-app-menu.h
8266 * src/hildon-app-menu.c
8267 Renamed API variables for consistency
8269 (hildon_app_menu_popup): Use also the default window size to
8270 decide where to place the menu
8272 (hildon_app_menu_init, hildon_app_menu_class_init): New
8273 external-border style property
8275 2008-05-26 Michael Natterer <mitch@imendio.com>
8277 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8278 widget_class->tap_and_hold_setup signal slot doesn't exist any
8279 longer, stop overriding it.
8281 (hildon_time_editor_init): g_signal_connect() to the
8282 tap-and-hold-setup signal instead.
8284 (hildon_time_editor_entry_keypress): add cast to fix warning.
8286 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8288 * doc/hildon-docs.sgml
8290 * examples/Makefile.am
8291 * examples/hildon-app-menu-example.c
8293 * src/hildon-app-menu-private.h
8294 * src/hildon-app-menu.c
8295 * src/hildon-app-menu.h
8297 New HildonAppMenu widget
8299 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8301 Rearranged the inheritance of the pannable area, now it inherits
8302 from GtkBin. This will allow us to control the event_window and
8303 the allocation process of the widget, required for some effects.
8305 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8306 GtkBin structures. * src/hildon-pannable-area.c: Added the
8307 event_window variable.
8308 (hildon_pannable_area_button_press_cb):
8309 (hildon_pannable_area_button_release_cb):
8310 (hildon_pannable_area_motion_notify_cb):
8311 Changed the signature of the method, now we override the event
8312 callback instead of connecting to the signal.
8314 (hildon_pannable_area_realize):
8315 (hildon_pannable_area_unrealize):
8316 (hildon_pannable_area_map):
8317 (hildon_pannable_area_unmap):
8318 (hildon_pannable_area_size_allocate):
8319 Added functions to control the widget construction. We add a
8320 INPUT_ONLY window and we put it over the widgets inside the
8321 container, this event_window handles the events.
8323 (hildon_pannable_area_class_init):
8324 Replaced the signal connections with overrides of the event
8327 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8329 Bouncing effect added when touching the borders, you can change
8330 the elasticity of the border changing the ELASTICITY define.
8332 * src/hildon-pannable-area.c: Added ELASTICITY define.
8333 (hildon_pannable_area_timeout): Added inverse velocity when
8334 touching the border of the child widget, that causes a bounce.
8336 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8338 Improved performance, we now do not go to the X server in order to
8339 get the list of window children. Apparently the effect is the
8340 same, we have to be careful and check if this breaks something in
8343 * src/hildon-pannable-area.c:
8344 (get_ordered_children): Removed this function.
8345 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8346 the children windows function with gdk_window_get_children.
8348 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8350 * src/hildon-pannable-area.c:
8351 (hildon_pannable_area_dispose): Fixed a crash when closing the
8352 window and kinetics is activated.
8354 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8356 * src/hildon-pannable-area.h
8357 * src/hildon-pannable-area.c
8358 Changed indentation style to meet the one used in Hildon
8360 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8362 Reviewed the interaction of the AUTO mode, now we use the time
8363 attribute of the events and calculate the velocity in the motion,
8364 doing a gimp like calculation. The velocity is calculated in each
8365 motion event using the last velocity and the current one, the
8366 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8368 * src/hildon-pannable-area.c: Replaced the time based algorithm
8370 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8371 timeout for the AUTO mode when we are still moving the cursor. We
8372 added also the velocity calculation in this function.
8373 (hildon_pannable_area_button_release_cb): launch the timeout in
8374 case we are in AUTO mode. There are still some constants here that
8375 come from the old implementation that should be reviewed and
8378 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8380 * doc/hildon-docs.sgml
8383 * src/hildon-stackable-window.c
8384 * src/hildon-stackable-window.h
8386 New HildonStackableWindow widget
8388 * examples/hildon-dialog-example.c
8389 * examples/hildon-pannable-area-example.c
8392 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8394 * src/hildon-dialog.c
8395 (hildon_dialog_new_with_buttons): New constructor.
8397 * examples/hildon-dialog-example.c
8398 (main): Update the example to use the new
8399 hildon_dialog_new_with_buttons().
8401 * examples/hildon-pannable-area-example.c
8402 (main): Update example.
8404 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8406 * doc/hildon-docs.sgml
8408 Added HildonPannableArea to the documentation.
8410 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8412 * doc/visual_index.xml
8413 Fix reference to HildonLoginDialog in documentation
8415 * doc/hildon-docs.sgml
8417 * examples/Makefile.am
8418 * examples/hildon-dialog-example.c
8420 * src/hildon-dialog.c
8421 * src/hildon-dialog.h
8423 New HildonDialog widget.
8425 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8427 * src/hildon-pannable-area.c
8428 Merge latest changes (r4318, r4342) from libmokoui trunk
8430 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8432 * examples/Makefile.am
8433 * examples/hildon-pannable-area-example.c
8435 * src/hildon-pannable-area.c
8436 * src/hildon-pannable-area.h
8438 New HildonPannableArea widget.
8440 2008-04-15 18:05:19 <timj@imendio.com>
8442 * src/hildon-banner.c: revert the recent change, that introduced
8443 gtk_window_present() calls. this reopens:
8444 Bug 78481 - [freetest] information banners are hidden under browser menu
8445 But resolves another variant of:
8446 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8448 2008-04-15 13:21:13 <timj@imendio.com>
8450 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8451 recreated its layout, spotted by Kris. this fixes all remaining
8452 artefacts and stability issues with the banner code. in particular:
8453 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8455 2008-04-14 16:52:59 <timj@imendio.com>
8457 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8458 operating on unrealized widgets, fixes:
8459 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8461 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8463 2008-04-09 Kristian Rietveld <kris@imendio.com>
8465 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8466 makes banner disappear.
8467 Fixes: NB#79182: info banner flickering with certain message lengts.
8469 * src/hildon-banner.c (hildon_banner_constructor),
8470 (hildon_banner_init), (hildon_banner_set_text),
8471 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8472 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8473 FALSE, reset size requests of label and banner,
8474 (force_to_wrap_truncated): when the text is too wide, always enforce
8475 the maximum possible width instead of recalculating it from the
8476 layout; enforce the maximum banner height of 3 lines,
8477 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8478 nicer wrapping and no truncated chars if space gets tight.
8480 * src/hildon-banner-private.h: add has_been_wrapped and
8481 has_been_truncated fields.
8483 2008-04-07 Sven Herzberg <sven@imendio.com>
8485 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8486 local values in hildon_date_editor_size_allocate
8488 * src/hildon-date-editor.c: moved the real allocation code into the
8491 2008-04-07 Sven Herzberg <sven@imendio.com>
8493 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8494 local values in hildon_date_editor_size_allocate
8496 * src/hildon-date-editor.c: merged the two if() branches together
8498 2008-04-07 Sven Herzberg <sven@imendio.com>
8500 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8501 local values in hildon_date_editor_size_allocate
8503 * src/hildon-date-editor.c: changed the arguments of the if()
8506 2008-04-07 Sven Herzberg <sven@imendio.com>
8508 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8509 local values in hildon_date_editor_size_allocate
8511 * src/hildon-date-editor.c: split the calculation of the allocation
8512 from the real allocation
8514 2008-03-27 Michael Natterer <mitch@imendio.com>
8516 Fixes: NB#81696: The passcode is not overwritten even after
8519 * src/hildon-code-dialog.c
8520 (hildon_code_dialog_button_clicked)
8521 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8522 because that doesn't overwrite selected text. Instead, emit the
8523 "commit" signal on the entry's im_context so the entry's normal
8524 insert logic is triggered. Set the cursor to the end of the entry
8525 after each insert operation so that we *only* insert in the middle
8526 of the text if something was selected.
8528 2008-03-27 Michael Natterer <mitch@imendio.com>
8530 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8531 selector cannot be opened
8533 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8534 when the popup color selector is created. Please connect to this
8535 signal in order to set the dialog's help ID.
8537 2008-03-25 Sven Herzberg <sven@imendio.com>
8539 Fixes: MB#1212: Hide info banners (infoprints) on click
8541 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8542 extracted the close event simulation into an extra function
8543 (hildon_banner_button_press_event): simulate a close event and destroy
8544 the widget if the event wasn't handled
8545 (hildon_banner_class_init): added the button_press_event handler
8546 (hildon_banner_init): added button-press events to the widget
8548 2008-03-25 Sven Herzberg <sven@imendio.com>
8550 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8551 Patch from: Mohammad Anwari <mdamt@maemo.org>
8553 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8554 instead of the right in RTL mode
8555 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8556 breadcrumb button list in RTL mode
8557 * src/hildon-caption.c: mirror the appearance of the caption widget in
8559 * src/hildon-date-editor.c: mirror appearance of the date editor in
8561 * src/hildon-time-editor.c: mirror appearance of the time editor in
8563 * src/hildon-window.c: fix the position of the popup in RTL mode
8565 2008-03-25 Sven Herzberg <sven@imendio.com>
8567 Amendment to the fix of NB#22072. Fix compilation.
8569 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8571 2008-03-19 Sven Herzberg <sven@imendio.com>
8573 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8576 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8577 timeout id properly when the timeout will disappear this leaves no
8578 artifacts around in the destroy(); there will only be the timeout
8579 created by hildon_banner_ensure_timeout() and adding a new timeout
8580 will also work if the timeout gets removed because the timeout_handler
8583 2008-03-19 Michael Natterer <mitch@imendio.com>
8585 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8587 * src/hildon-volumebar.c
8588 * src/hildon-vvolumebar.c
8589 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8590 the widget becomes focussable at all.
8592 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8593 set the focus to wither the mute button or the volumebar.
8595 Remove own "can-focus" property and instead listen to
8596 notify::can-focus in order to update the widget's state.
8598 Implement GtkWidget::focus() and make sure we can also *leave* the
8599 widget, not only enter it, depending on volumebar orientation and
8600 requested focus direction.
8602 Clean up set_mute() to cooperate nicely with all the above.
8604 2008-03-04 Michael Natterer <mitch@imendio.com>
8606 Fixes: NB#78481: information banners are hidden under browser menu
8608 * src/hildon-banner.c: call gtk_window_present() on the banners so
8609 they are risen if they are already visible.
8611 2008-03-03 Sven Herzberg <sven@imendio.com>
8613 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8615 * examples/hildon-window-menu-example.c: (main): extended the window
8616 menu example to serve as a testcase for automatically added
8617 accelerator groups, too
8618 * src/hildon-window.c: (hildon_window_add_accel_group),
8619 (hildon_window_set_menu): added patch by Tommi Komulainen
8621 2008-03-03 Sven Herzberg <sven@imendio.com>
8623 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8625 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8626 knowledge about the border allocators used within GTK+
8628 2008-02-26 Sven Herzberg <sven@imendio.com>
8630 Fixes: MB#2981: Build with asserts broken
8632 * src/hildon-date-editor.c,
8633 * src/hildon-number-editor.c,
8634 * src/hildon-time-editor.c,
8635 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8636 the proper GType instance check
8638 2008-02-25 Sven Herzberg <sven@imendio.com>
8640 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8642 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8643 * examples/hildon-window-menu-example.c: (main): explicitly show
8645 * src/hildon-window.c:
8646 (hildon_window_set_main_menu): moved most of the code from set_menu()
8647 to this place; skipped the call to gtk_widget_show_all(); also didn't
8648 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8649 (hildon_window_set_menu): removed most of the code, just keep the
8650 questionable gtk_widget_show_all()
8651 * src/hildon-window.h: added the new function and deprecate the old
8654 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8660 * debian/changelog: Updating.
8662 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8665 * pkgconfig/Makefile.am:
8666 * pkgconfig/hildon.pc.in:
8669 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8670 use newly created API_MAJOR_VERSION.
8672 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8678 * debian/changelog: Updating.
8680 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8682 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8684 Add outer_border style property, we use it but don't define it (!).
8688 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8690 * examples/hildon-bread-crumb-trail-example.c (main):
8694 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8696 Fix logic for the bread crumb trail node removal.
8700 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8706 * debian/changelog: Updating.
8708 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8710 Patch by Alejandro to get/set passwords dialogs accesibility.
8712 * hildon-1/src/hildon-get-password-dialog.c:
8713 * hildon-1/src/hildon-set-password-dialog.c:
8714 Set atk_set_name to the passwd entries in order to allow
8715 accessibility by name on this entries.
8717 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * debian/control: Updating gtk dep.
8724 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8726 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8727 USE_MAEMO_GTK is enabled.
8729 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8731 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8732 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8734 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8740 * debian/changelog: Updating.
8742 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8744 * examples/Makefile.am:
8745 * examples/hildon-logical-color-example.c:
8746 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8747 applied + adding a test case. Fixes: NB#71660.
8749 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8751 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8752 to be visible, fixes warning on map for windows without toolbars.
8754 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8756 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8757 2.11.0, add a check for that besides the MAEMO_GTK check.
8759 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8765 * debian/changelog: Updating.
8767 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8769 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8770 visibility. Fixes: NB#70842 and MB#615.
8772 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8774 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8775 set the separator as no-show-all so it doesn't unintentionally appear when
8776 someone does a show_all.
8778 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8780 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8781 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8782 toplevel item. Fixes: NB#62031
8784 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8786 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8787 fix the name of the function in the docs.
8789 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8795 * debian/changelog: Updating.
8797 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8799 * examples/hildon-banner-long-example.c: Adding a test-case for long
8802 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8804 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8806 * src/hildon-color-chooser-dialog.c:
8807 * src/hildon-color-chooser.c:
8808 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8809 memory leaks in font selector and color selector. Fixes: NB#70499 and
8812 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8814 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8816 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8819 little bit bigger. Fixes: #NB63694.
8821 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8827 * debian/changelog: Updating.
8829 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8832 * doc/hildon-docs.sgml:
8833 * doc/images/bread-crumb-trail.png:
8834 * doc/images/calendar-popup.png:
8835 * doc/images/caption.png:
8836 * doc/images/code-dialog.png:
8837 * doc/images/color-button.png:
8838 * doc/images/color-chooser-dialog.png:
8839 * doc/images/color-chooser.png:
8840 * doc/images/controlbar.png:
8841 * doc/images/date-editor.png:
8842 * doc/images/font-selection-dialog.png:
8843 * doc/images/get-password-dialog.png:
8844 * doc/images/hvolumebar.png:
8845 * doc/images/login-dialog.png:
8846 * doc/images/note.png:
8847 * doc/images/number-editor.png:
8848 * doc/images/range-editor.png:
8849 * doc/images/seekbar.png:
8850 * doc/images/set-password-dialog.png:
8851 * doc/images/sort-dialog.png:
8852 * doc/images/time-editor.png:
8853 * doc/images/time-picker.png:
8854 * doc/images/vvolumebar.png:
8855 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8856 Adding the bread-crumb-trial and helpers to the documentation.
8858 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8860 * examples/hildon-find-toolbar-example.c:
8861 * src/hildon-find-toolbar.c:
8862 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8863 actually continue firing the other handlers if connected. Adding a new
8865 hildon_find_toolbar_get_last_index that gets the index of the most
8866 recently added (last) item. Fixes: NB#52301.
8868 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8870 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8871 behaviour. Fixes: NB#68610.
8873 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8875 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8878 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8881 when realizing the banner. Should make the infonbanner effect a bit more
8884 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * src/hildon-volumebar.c:
8887 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8888 hildon_volumebar_set_range_insensitive_message and
8889 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8891 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8893 * src/hildon-window.c: Fixing the border freeing on destroy.
8895 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8897 * src/hildon-code-dialog-private.h:
8898 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8899 kw keyboard support in HildonCodeDialog.
8901 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * debian/changelog: Updating.
8909 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8911 * src/hildon-date-editor.c:
8912 * src/hildon-number-editor.c:
8913 * src/hildon-private.c:
8914 * src/hildon-private.h:
8915 * src/hildon-time-editor.c:
8916 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8917 handling in subclassed composite widgets. Fixes: NB#66628.
8919 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8921 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8922 from destroy_ callback as it introduces problems in async dbus signal
8923 handlers. Fixes NB#66673.
8925 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * examples/hildon-hvolumebar-example.c:
8928 * src/hildon-volumebar.c: Improving the focus handling in the
8929 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8930 set_property accessor so that "mute" property can be actually set. I'm
8931 scared that nobody noticed it's totally broken.
8933 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8935 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8938 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8940 * src/hildon-calendar.c:
8941 * src/hildon-number-editor.c:
8942 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8943 matches the spec of 6 chars per second. Fixes: NB#60489.
8945 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8947 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8948 gtk_style_lookup_color sometime returns FALSE even though color was
8949 found and values were filled properly. Weird. Removing the warning for the
8952 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8954 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8955 expand vertically. Adding some extra space to the find toolbar buttons to
8956 make them thumbable. Fixes NB#66060.
8958 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8961 popup with "Ok" and "Cancel". Fixes NB#59299.
8963 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * src/hildon-calendar.c: Process all window updates before executing next
8966 timeout. Fixes: NB#54146.
8968 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * debian/changelog: Updating.
8976 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8978 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8979 the client event and ignore it, since we use the delete event to close
8982 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8984 * src/hildon-helper.c: Remove the bogus warning about color not being
8985 found. Fixes NB#58352.
8987 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8989 * examples/Makefile.am:
8990 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8991 HildonSeekbar widget inside a toolbar.
8993 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8995 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8996 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8997 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8998 don't want to be closed by non-temporary windows on map.
9000 Also use G_DEFINE_TYPE instead of manually typed code.
9002 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * debian/rules: Updating.
9011 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * examples/Makefile.am:
9014 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9015 bug NB#61128. Strangely it works.
9017 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * src/hildon-date-editor.c: When the date editor entry has been changed
9020 but the numbers of characters < max, turn off the skip validation flag.
9021 Prevents a situation when we enter first a valid year and later re-write
9022 it with an invalid one. Fixes NB#60154.
9024 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9027 code dialog. Fixes NB#64355.
9029 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9032 switching the page. Fixes NB#49374.
9034 * examples/Makefile.am:
9035 * examples/hildon-wizard-dialog-example.c: Adding an example for
9036 HildonWizardDialog that shows how to handle manual sensitivity setting on
9039 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9043 * src/hildon-version.h.in:
9044 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9046 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9048 * src/hildon-volumebar.c: Updating the docs.
9050 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * debian/changelog: Updating.
9058 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * src/hildon-find-toolbar.c:
9061 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9062 selected item: hildon_find_toolbar_set_active,
9063 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9064 hildon_find_toolbar_get_active_iter . They correspond to respective
9065 GtkComboBox functions.
9067 * examples/Makefile.am:
9068 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9071 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * examples/Makefile.am:
9074 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9077 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9078 when font size > 32 and we pack a focusable widget inside. Actually using
9079 the default response would work too, but since we don't show default
9080 response state in any way (no theming) it would not be visible to the
9081 user. Fixes NB#63430.
9083 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-date-editor.c: Adding the missing variable setter in the
9086 set_property handler. Fixes NB#54182.
9088 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * src/hildon-window.h: Changing the long key press time from 1500ms to
9091 800ms as requested in NB#63700. I have a bad feeling about this, let's
9092 see... Fixes NB#63700.
9094 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9096 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9097 hildon_time_picker_map, hildon_time_picker_realize,
9098 hildon_time_picker_style_set): Split the contents of map to more
9099 appropriate functions; set window decorations on realize and update
9100 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9102 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9107 * debian/changelog: Updating.
9109 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9111 * src/Makefile.am: fixed installation of the header files
9113 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * debian/changelog: Updating.
9121 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9123 * configure.ac: Removing some remaining of --enable-xan.
9125 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9127 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9128 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9130 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9131 2.10.12-osso6 because the move-focus signal needs to be available in
9134 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9136 * examples/Makefile.am:
9137 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9138 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9139 fine. Prolly NB#61128 is fixed now.
9141 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-volumebar.c:
9144 * src/hildon-volumebar.h: Adding the
9145 hildon_volumebar_set_range_insensitive_message and
9146 hildon_volumebar_set_range_insensitive_messagef functions to set
9147 insensitive message on the slider of the volumebar. Fixes NB#61129.
9149 * examples/Makefile.am:
9150 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9151 test the new insensitive messsage functionality on HildonVolumebar.
9153 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9155 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9158 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9160 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9161 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9162 button on after clearing the trail.
9164 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9166 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9168 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9170 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9171 by splitting the installed headers in generated and non-generated groups. Use
9172 only the non-generated headers to create the hildon-enum-types.h file.
9174 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9176 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9178 * src/hildon-window.c: Hide the window before performing the destroy.
9179 Should make the app closing a little tiny bit more snappy.
9181 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9183 * src/hildon-seekbar.c: add gtkrange.h header
9184 * src/hildon-caption.c: remove unused variable
9186 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9188 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9191 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9197 * debian/changelog: Updating.
9199 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9201 * src/hildon-window.c (hildon_window_window_state_event,
9202 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9203 escape timeout on focus-out-event rather than notify::is-topmost; the
9204 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9206 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9208 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9209 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9211 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9213 * src/hildon-window: actually, you need to use the macro always, there's
9214 no private pointer in the instance structure. We should have cleaned this up
9215 when we had the chance...
9217 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9219 * src/hildon-window.c: do not get the private date from HildonWindow before
9220 it passes the g_return_if_fail check. Once it's passed the test, there's no
9221 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9222 if you are only going to access the data once. Whitespace cleanups.
9224 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9226 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9227 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9229 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9235 * debian/changelog: Updating.
9237 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9239 * src/hildon-window.c: When destroying the window, remove (if exists) the
9240 escape timeout handler. Fixes #NB59276.
9242 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9244 * src/hildon-banner.c: When realizing the widget, set the window
9245 transiency. Setting the transiency in the gobject constructor is not
9246 good, as the widget is not realized at that point. Fixes: #NB56624.
9248 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9250 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9251 Add padding for future expansions.
9253 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9255 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9256 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9257 will fake an activation on the previous to the last item of the trail, so
9258 the effect can be overrided by the developer as usual.
9259 Also change the callback for the back button to do the same thing, so its
9260 effect can be overrided too. Fixes: NB#58982
9262 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9264 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9265 HildonCaption. Fixes NB#52379.
9267 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9269 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9270 the internal state of the trail after the user has had the chance of executing
9271 his handler for the signal. Specifically, it may happen that the activated button
9272 is removed and the user still lets the default handler run. This would segfault
9275 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9278 scrollbar to the preview dialog. Fixes NB#54147.
9280 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9282 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9283 max/min year properties can be altered, so the client can modify it
9284 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9286 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9288 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9289 hildonlike by default. Fixing a problem with disappearing arrows when
9290 scrolling through months and years. Fixes NB#54127.
9292 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * examples/hildon-date-editor-example.c: Adding error callback to the date
9297 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * configure.ac: Updating.
9305 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9307 * configure.ac: Adding a special '--enable-xan' configure option that
9308 turns off the -Werror compilation setting. Usefull for development.
9310 * src/hildon-calendar.c:
9311 * src/hildon-number-editor.c:
9312 * src/hildon-time-picker.c: Adding the 5* multiplier to
9315 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9317 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9318 instead of g_object_ref + gtk_object_sink.
9320 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9326 * debian/changelog: Updating.
9328 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9330 * src/hildon-color-chooser-dialog.c:
9331 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9332 straight from Tommi labs.
9334 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * examples/hildon-finger-example.c: Correcting the header file path.
9338 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9339 the changed signal. Fixes a small memory leak.
9341 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9345 * src/hildon-banner.c: Importing several usefull fixes from the
9346 ubuntu-mobile branch.
9348 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * examples/Makefile.am:
9351 * examples/hildon-finger-example.c: Adding a finger-checking code
9354 * src/hildon-font-selection-dialog.c: Do not allocate the color
9355 structure using the g_new. Fixes NB#54061.
9357 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9359 * src/hildon-helper.c: Correcting tabs in file.
9361 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9363 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9364 control the visibility of the children.
9366 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9368 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9374 * debian/changelog: Updating.
9376 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9378 * src/hildon-bread-crumb-trail.c:
9379 (hildon_bread_crumb_trail_size_allocate):
9381 Make the back button always a square.
9383 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9385 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9386 from the .c file as it's a private file.
9388 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9390 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9391 uses slightly bigger height.
9393 * src/hildon-font-selection-dialog.c: Adding some checks before
9394 freeing memory in the font selection dialog.
9396 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9398 * src/hildon-font-selection-dialog.c: Adding a small check when
9401 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9402 buttons sensitivity on page switching.
9404 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9406 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9407 internal details of adding a bread crumb to the trail.
9409 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9415 * debian/changelog: Updating.
9417 * src/hildon-bread-crumb-trail.h:
9418 * src/hildon-bread-crumb.h: Changing the API guard to
9419 HILDON_ENABLE_UNSTABLE_API.
9421 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9429 * src/hildon-helper.h: Updating.
9431 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9439 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9443 * src/hildon-helper.h: Small fix to make the package actually compile.
9445 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9447 * src/hildon-bread-crumb-trail.h:
9448 * src/hildon-bread-crumb.h:
9450 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9451 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9453 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9455 * examples/hildon-bread-crumb-trail-example.c:
9457 * src/hildon-bread-crumb-trail.c:
9458 * src/hildon-bread-crumb-trail.h:
9459 * src/hildon-bread-crumb.c:
9460 * src/hildon-bread-crumb.h:
9461 * src/hildon-marshalers.list:
9462 * src/hildon-bread-crumb-widget.c:
9463 * src/hildon-bread-crumb-widget.h:
9465 Slight change in the widget design. The bread crumb trail API is
9466 unchanged, but HildonBreadCrumb is now an interface. A *private*
9467 implementation, hildon-bread-crumb-widget, is provided and used
9468 internally by the trail for the push_text/push_icon functions.
9470 The generic push API is still available, so anyone can implement
9471 and use its own bread crumb widget.
9473 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9475 * debian/rules: Fixing the shlibs.
9477 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9479 * src/hildon-banner.c: Fixing a problem with timed banners having
9480 their parrent destroyed before they are.
9482 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9484 * src/hildon-bread-crumb.c:
9485 * src/hildon-bread-crumb.h:
9487 Make the get_natural_size function a vfunc.
9489 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9491 * src/hildon-bread-crumb.c:
9492 * src/hildon-bread-crumb-trail.c:
9496 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9503 * debian/changelog: Updating for release.
9505 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9507 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9508 don't leak the pango layout.
9510 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9513 * examples/hildon-bread-crumb-trail-example.c:
9517 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9519 * debian/changelog: Removing the bug-fixed entries that were actually
9520 resolved as WONTFIX.
9522 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9525 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9527 * src/hildon-bread-crumb-trail.c:
9528 * src/hildon-bread-crumb-trail.h:
9529 * src/hildon-bread-crumb.c:
9530 * src/hildon-bread-crumb.h:
9534 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9536 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9537 until it's passed the type check.
9539 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9541 * examples/hildon-bread-crumb-trail-example.c
9545 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9547 * examples/Makefile.am
9548 * examples/hildon-bread-crumb-trail-example.c
9550 * src/hildon-bread-crumb-trail.c
9551 * src/hildon-bread-crumb-trail.h
9552 * src/hildon-bread-crumb.c
9553 * src/hildon-bread-crumb.h
9555 New HildonBreadCrumbTrail widget.
9557 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9559 * src/hildon-range-editor.c (hildon_range_editor_init),
9560 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9561 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9562 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9563 hildon_time_editor_class_init, hildon_time_editor_init),
9564 src/hildon-get-password-dialog.c (invalid_input,
9565 hildon_get_password_set_property, hildon_get_password_get_property,
9566 create_contents, hildon_get_password_dialog_set_max_characters),
9567 src/hildon-set-password-dialog.c (create_contents),
9568 src/hildon-date-editor.c (hildon_date_editor_init),
9569 src/hildon-login-dialog.c (hildon_login_dialog_init),
9570 src/hildon-number-editor.c (hildon_number_editor_init),
9571 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9572 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9573 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9574 configure option and adding the respective checks in the code.
9575 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9576 hildon_calendar_drag_data_received): fixed some build warnings.
9578 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9580 * debian/changelog: A 1.0.0 release notes.