1 2009-08-21 Alberto Garcia <agarcia@igalia.com>
5 * configure.ac: bump version
7 * debian/changelog: updates
9 2009-08-21 Alberto Garcia <agarcia@igalia.com>
11 * hildon/hildon-check-button.h
12 * hildon/hildon-check-button.c
13 (hildon_check_button_clicked, hildon_check_button_class_init):
14 Make HildonCheckButton derive from GtkToggleButton
15 (hildon_check_button_toggled, hildon_check_button_set_active)
16 (hildon_check_button_get_active):
17 Deprecate unnecessary HildonCheckButton API and use the
18 one from GtkToggleButton instead.
20 * hildon/hildon-set-password-dialog.c (create_contents)
21 (hildon_set_password_response_change, hildon_checkbox_toggled)
22 * examples/hildon-check-button-example.c (button_toggled_cb):
23 Update to use the GtkToggleButton API
25 Fixes: MB#4739 (HildonCheckButton should inherit from
28 Fixes: NB#132661 (HildonCheckButton should inherit from
31 2009-08-20 Alberto Garcia <agarcia@igalia.com>
33 * hildon/hildon-pannable-area.c
34 (hildon_pannable_area_class_init):
35 Increase default value of HildonPannableArea:velocity_max to 2000
37 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
39 2009-08-18 Alberto Garcia <agarcia@igalia.com>
43 * configure.ac: bump version
45 * debian/changelog: updates
47 2009-08-11 Alejandro G. Castro <alex@igalia.com>
49 * hildon/hildon-pannable-area.c
50 (hildon_pannable_area_size_allocate): Checked the scrollbars
51 before the first try when defining the layout, avoids two
52 allocations in some situations.
54 Fixes: NB#131794 (pannable area produces unnecessary allocations
55 causing performance problems)
57 2009-08-11 Alejandro G. Castro <alex@igalia.com>
59 * hildon/hildon-pannable-area.c
60 (hildon_pannable_area_button_press_cb),
61 (hildon_pannable_area_motion_notify_cb),
62 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
63 the spurious ref added in the copy, fixes leak of window.
65 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
66 if it's realized without showing and then deleted)
68 2009-08-10 Alberto Garcia <agarcia@igalia.com>
72 * configure.ac: bump version
74 * debian/changelog: updates
76 2009-08-06 Alberto Garcia <agarcia@igalia.com>
78 * examples/hildon-hvolumebar-timer-example.c
80 * hildon/hildon-banner.c
81 (hildon_banner_timeout, hildon_banner_ensure_timeout)
82 * hildon/hildon-calendar.c
83 (calendar_timer, start_spinning)
84 * hildon/hildon-color-chooser.c
85 (inline_limited_expose)
86 * hildon/hildon-date-editor.c
87 (hildon_date_editor_entry_focus_in)
88 (hildon_date_editor_entry_validate)
89 (hildon_date_editor_entry_select_all)
90 * hildon/hildon-note.c
92 * hildon/hildon-number-editor.c
93 (hildon_number_editor_button_pressed)
94 (hildon_number_editor_start_timer, do_mouse_timeout),
95 (add_select_all_idle, hildon_number_editor_select_all)
96 * hildon/hildon-time-editor.c
97 (hildon_time_editor_entry_focus_in)
98 (highlight_callback, hildon_time_editor_validate)
99 (hildon_time_editor_entry_select_all)
100 * hildon/hildon-time-picker.c
101 (hildon_time_picker_arrow_press)
102 (hildon_time_picker_key_repeat_timeout)
103 * hildon/hildon-window.c
104 (hildon_window_key_press_event)
105 (hildon_window_escape_timeout):
106 Replace all calls to g_idle_add/g_timeout_add with their
107 gdk_threads counterparts.
109 Fixes: NB#126198 (gdk-threads API should be used to install idle
110 and timeout handlers)
112 2009-08-06 Alejandro G. Castro <alex@igalia.com>
114 * hildon/hildon-pannable-area.c,
115 (hildon_pannable_area_class_init): Increased the overshooting max
116 speed to get a faster effect.
117 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
118 deceleration of the overshooting
119 (hildon_pannable_area_button_release_cb): Calculate initial
120 overshooting speed when finger on the screen using the distance to
121 launch the effect faster.
123 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
124 lists with slow row renderers)
126 2009-08-05 Alberto Garcia <agarcia@igalia.com>
128 * doc/hildon-sections.txt: Add new functions
130 2009-08-05 Alberto Garcia <agarcia@igalia.com>
132 * hildon/hildon-text-view.[ch]
133 * hildon/hildon-entry.[ch]:
134 Add deprecation guards around deprecated functions.
136 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
138 * hildon/hildon-app-menu.c: Remove leftover function declaration.
140 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
142 Remove the grab from HildonAppMenu
144 * hildon/hildon-app-menu.c:
145 Now hildon-desktop places a blocker window behind the menu to handle
146 its closing, so the grab is no longer needed. This simplifies its
147 implementation and allows the system blanking to succeed.
149 Fixes: NB#130910 (Screen gets unlocked when menu is open)
151 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
155 * configure.ac: bump version
157 * debian/changelog: updates
158 * debian/control: raise debian dependency on GTK+
160 2009-08-04 Alberto Garcia <agarcia@igalia.com>
162 * hildon/hildon-text-view.c
163 * hildon/hildon-entry.c:
164 Remove all placeholder code from HildonEntry and HildonTextView
165 and use the API in GtkEntry and GtkTextView instead.
167 * examples/hildon-entry-example.c
168 * examples/hildon-text-view-example.c
169 * examples/hildon-wizard-dialog-example.c
170 * hildon/hildon-get-password-dialog.c
171 * hildon/hildon-login-dialog.c
172 * hildon/hildon-picker-dialog.c
173 * hildon/hildon-set-password-dialog.c
174 * hildon/hildon-touch-selector-entry.c:
175 Replace all deprecated calls to HildonEntry and HildonTextView
176 with their Gtk counterparts.
178 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
181 2009-08-03 Alejandro G. Castro <alex@igalia.com>
183 * hildon/hildon-pannable-area.c,
184 (hildon_pannable_area_check_move),
185 (hildon_pannable_area_button_release_cb),
186 (hildon_pannable_area_scroll_to): Reverted the priority change of
187 the timeout, in some situations, slow renderers, the click do not
188 make it to the mainloop on time.
190 Fixes NB#131013 (unable to stop panning file manager by tapping on
193 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
195 * configure.ac: bump version
197 * debian/changelog: updates
199 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
201 * hildon/hildon-touch-selector.[ch]
202 (hildon_touch_selector_center_on_index): New method that allows to center
203 on a item not selected
205 Fixes NB#130291 (New HildonTouchSelector API is required to center on
208 2009-07-29 Alberto Garcia <agarcia@igalia.com>
210 * hildon/hildon-text-view.c
211 (+set_logical_color, +hildon_text_view_style_set)
212 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
213 (hildon_text_view_init)
214 * hildon/hildon-entry.c
215 (+set_logical_color, +hildon_entry_style_set)
216 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
217 (hildon_entry_class_init, hildon_entry_init)
218 * hildon/hildon-button.c
219 (+set_logical_font, +set_logical_color)
220 (hildon_button_style_set, hildon_button_init)
221 (hildon_button_set_arrangement, hildon_button_set_style):
222 Remove all calls to hildon_helper_set_logical_font() and
223 hildon_helper_set_logical_color(), which are recursive, from
226 Fixes: NB#123409 (Showing dialog consumes significant amount of
229 2009-07-29 Alejandro G. Castro <alex@igalia.com>
231 * hildon/hildon-pannable-area.c,
232 (hildon_pannable_area_timeout): Added the process updates of the
233 scrollbars window in the pannable.
235 Fixes: NB#130043 (scrollindicator not smooth while panning)
237 2009-07-23 Alejandro G. Castro <alex@igalia.com>
239 * hildon/hildon-pannable-area.c,
240 (hildon_pannable_area_check_move),
241 (hildon_pannable_area_button_release_cb),
242 (hildon_pannable_area_scroll_to): Increased the priority of the
243 timeout this way it is going to be handled before the events.
245 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: bump version
250 * debian/changelog: updates
252 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
254 * hildon/hildon-entry.c: (set_property): Do not allow to set
255 automatic height and use finger height instead, to prevent an to
256 have a smaller size than than its theme pixbuf.
258 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
260 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
262 * configure.ac: postrelease version bump.
263 * debian/changelog: post release version bump
265 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
270 * configure.ac: Bump version.
271 * debian/changelog: Updates.
273 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
275 * hildon/hildon-note.c: (label_size_request): Take the note
276 padding into account when setting the size request.
278 Fixes: NB#127896 (Information notes text truncated)
280 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
282 * configure.ac: postrelease version bump.
283 * debian/changelog: post release version bump
285 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: Bump version.
291 * debian/changelog: Updates.
293 2009-07-16 Alejandro G. Castro <alex@igalia.com>
296 * hildon/hildon-text-view.c,
297 (hildon_text_view_button_press_event): Grabbed the focus in button
298 press, this way we are sure the widget has the focus in the
299 release event, required for HIM.
301 Fixes: NB#121445 (Virtual keyboard opening is not working in same
302 way for each text entry field)
304 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
306 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
307 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
308 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
309 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
310 (hildon_pannable_area_[gs]et_center_on_child_focus)
311 Redefined GtkContainer set-focus-child signal, in order to center
312 properly on a child when it receives the focus. Defined a new property
313 "center-on-child-focus" in order to activate this feature (deactivated
314 by default). Public get/set methods defined to manage the property.
316 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
318 2009-07-14 László Pere <lpere@blumsoft.eu>
320 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
321 the new size is applied.
323 Fixes: NB#124510 (The Application Menu is distorted when switched
324 between portrait and landscape mode)
325 Fixes: NB#115388 (Power key menu does not resize itself)
327 2009-07-01 Alberto Garcia <agarcia@igalia.com>
329 * hildon/hildon-banner.c (hildon_banner_map):
330 Set banner position after mapping.
332 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
334 * configure.ac: postrelease version bump.
335 * debian/changelog: post release version bump
337 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
342 * configure.ac: Bump version.
343 * debian/changelog: Updates.
345 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
347 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
350 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
352 * tests/check-hildon-banner.c
354 * tests/test_suites.h
355 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
356 were testing deprecated functions.
357 * examples/hildon-banner-example.c: typo on button3 type, that causes
358 a fail compiling with --with-examples but without --disable-deprecated
360 Missed commit in order to fix compilation using '--enable-fatal' and
361 '--disable-deprecated' (see previous commit)
363 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
365 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
366 functions with #ifndef HILDON_DISABLE_DEPRECATED
367 * examples/hildon-find-toolbar.c: Protect deprecated
368 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
369 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
370 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
371 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
373 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
374 to allow proper compilation of deprecated functions defined on the header
376 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
378 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
380 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
381 Cache the panning indicator color.,
382 (hildon_pannable_area_style_set): Query the color on style changes.
383 (hildon_pannable_draw_vscroll),
384 (hildon_pannable_draw_hscroll),
385 (hildon_pannable_area_expose_event): Use the cached panning indicator
386 color instead of looking it up on every expose and more.
388 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
390 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
391 (hildon_pannable_draw_hscroll),
392 (hildon_pannable_area_expose_event): Fix the panning indicator color,
393 so that it's "SecondaryTextColor", as desired.
395 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
397 * hildon/hildon-picker-dialog.c:
398 (selection_completed): take into account HILDON_UI_MODE_NORMAL
399 * hildon/hildon-touch-selector.c
400 (hildon_touch_selector_init): Initialize hildon-ui-mode
401 (hildon_touch_selector_row_activated): new callback for the
402 "row-activated" signal, in order to save the last activated
403 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
404 if the current hildon-ui-mode is coherent with the touch selector
405 (hildon_touch_selector_class_init)
406 (hildon_touch_selector_get_property)
407 (hildon_touch_selector_set_property)
408 Added "hildon-ui-mode" property
409 (disconnect_model_handlers): renamed to clean_column
410 (hildon_touch_selector_remove): use clean_column function
411 (_create_new_column): use the hildon-ui-mode to create the treeview, and
412 only select the first element on HILDON_UI_MODE_EDIT
413 (hildon_touch_selector_column_init): Initialize last_activate
414 (hildon_touch_selector_append_column): check that the touch selector
415 is coherent with the current hildon-ui-mode
416 (hildon_touch_selector_get_hildon_ui_mode)
417 (hildon_touch_selector_set_hildon_ui_mode)
418 Added a getter/setter for the hildon-ui-mode property
419 (hildon_touch_selector_get_last_activated_row): Added this method in
420 order to get the last activated row.
421 * examples/hildon-touch-selector-normal-mode-example.c
422 New example, that shows how to use the HildonTouchSelector in
423 HILDON_UI_MODE_NORMAL
425 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
426 Kristian Rietveld <kris@lanedo.com> advices
428 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
430 * hildon/hildon-time-selector.c: (update_format_policy): Do
431 not call update_format_dependant_columns() if not necessary.
432 (update_format_dependant_columns): Remove unnecessary check for
433 the number of columns.
435 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
437 * hildon/hildon-note.c (+hildon_note_constructor),
438 (hildon_note_class_init), (+hildon_note_set_padding),
439 (hildon_note_rebuild): Install a constructor where to set the
440 padding properties in the note, so that it actually works fine.
441 Use hildon_note_set_padding() for this, and also to set it during
444 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
446 * configure.ac: Bump GTK+ requirement to 2.14.3.
447 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
448 when using maemo-gtk to define proper margins for the notes.
450 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
451 with the dialog edge)
453 2009-06-24 Alberto Garcia <agarcia@igalia.com>
455 * hildon/hildon-banner.c
456 (hildon_banner_class_init):
458 (+hildon_banner_size_request):
459 Request always the full width of the screen.
460 (hildon_banner_realize)
461 (-hildon_banner_check_position, hildon_banner_map):
462 hildon_banner_check_position() is not needed in Hildon 2.2.
463 (-hildon_banner_reset_wrap_state)
464 (hildon_banner_constructor, hildon_banner_init):
465 Remove unnecessary calls to hildon_banner_reset_wrap_state()
466 (+banner_do_set_text)
467 (force_to_wrap_truncated):
468 Remove has_been_wrapped and has_been_truncated attributes.
469 (+reshow_banner, hildon_banner_real_show_information)
470 (hildon_banner_show_information_with_markup)
471 (hildon_banner_show_animation, hildon_banner_show_progress)
472 (hildon_banner_set_text, hildon_banner_set_markup):
473 Refactor code. Shrink banner vertically to use the minimum space
474 necessary everytime the text of the label is updated.
475 (screen_size_changed):
476 Call force_to_wrap_truncated() when the size of the screen
479 Fixes: NB#120500 (only device memory connect mmc in use info
480 banner is left aligned)
482 Fixes: NB#120613 (Size of HildonBanner varies depending on
483 previously opened banners)
485 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
487 * hildon/hildon-color-chooser.c
488 (hildon_color_chooser_pointer_motion): Take the widget allocation
491 Fixes: NB#124385 (Unable to select exact point in color mixing box
492 in color palette dialog)
494 2009-06-23 Alejandro G. Castro <alex@igalia.com>
496 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
497 (hildon_pannable_area_dispose)
498 (hildon_pannable_area_button_press_cb)
499 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
500 (hildon_pannable_area_button_release_cb)
501 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
502 New 'panning-started' and 'panning-finished' signals.
504 Fixes: NB#121732 (New feature request: Signal to pannable area
505 that informs when panning is stopped.)
507 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
509 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
510 instead of hardcoded colon.
512 Fixes: NB#124090 (New calendar wizard title is not using
513 ecdg_ti_caption_separator)
515 2009-06-22 David King <davidk@openismus.com>
517 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
518 constants and functions, as well as correct many typos throughout the
521 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
524 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
526 * configure.ac: postrelease version bump.
527 * debian/changelog: post release version bump
529 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
534 * configure.ac: Bump version.
535 * debian/changelog: Updates.
537 2009-06-18 Alberto Garcia <agarcia@igalia.com>
539 * hildon/hildon-window-stack.c
540 (hildon_window_stack_pop_and_push_list):
541 Prevent windows from having the same stack index
543 2009-06-18 Alberto Garcia <agarcia@igalia.com>
545 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
546 Use the index of the previous window rather than the stack length
547 to calculate the new index.
551 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
553 * hildon/hildon-date-selector.c
554 (hildon_date_selector_select_current_date)
555 (hildon_date_selector_get_date)
556 (hildon_date_selector_select_day):
557 Update the documentation: uses always the range (1-31), as it is obvious
558 that the final one will depend on the month and the year, but globally
559 the range is this, in a similar GtkCalendar approach
560 (hildon_date_selector_get_date):
561 Update the documentation: add NULL as a valid value for the day, month
564 Fix some details, after talk with David King on bug MB#4698
566 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
568 * hildon/hildon-touch-selector-entry.c
569 * hildon/hildon-touch-selector.c
570 Update the documentation of the "text-column" property
572 2009-06-18 David King <davidk@openismus.com>
574 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
575 several typos and errors throughout the documentation.
577 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
580 2009-06-18 Alberto Garcia <agarcia@igalia.com>
582 * hildon/hildon-note.c (hildon_note_realize):
583 Make HildonNote support portrait mode.
585 Fixes: NB#123448 (HildonNote is not portrait-friendly)
587 2009-06-17 Alberto Garcia <agarcia@igalia.com>
589 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
590 Document this function
592 2009-06-17 David King <davidk@openismus.com>
594 * hildon/hildon-date-selector.c
595 (hildon_date_selector_select_current_date)
596 (hildon_date_selector_get_date): Update documentation regarding days,
597 as the day of the month is dependent on both the month and the year.
598 (hildon_date_selector_get_date): Fix documentation of output arguments.
600 Fixes: MB#4698 (DateSelector documentation has bad output argument
601 description, and the day depends on both the month and the year)
603 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
605 * hildon/hildon-caption.c: Other documentation fixes to
608 2009-06-17 David King <davidk@openismus.com>
610 * hildon/hildon-caption.c: Minor documentation updates for
611 HildonCaption. Fixes MB#4697.
613 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
615 * doc/hildon-docs.sgml: Add hildon-version section.
616 * doc/hildon-sections.txt:
617 * hildon/hildon-version.h.in: Document versioning macros and
620 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
622 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
623 from HildonPickerDialog section.
625 2009-06-16 Alberto Garcia <agarcia@igalia.com>
627 * hildon/hildon-banner.c (hildon_banner_bind_style)
628 (screen_size_changed, hildon_banner_init)
629 (hildon_banner_real_show_information)
630 (hildon_banner_show_information_with_markup)
631 (hildon_banner_show_animation, hildon_banner_show_progress):
632 Set a different widget name to banners in portrait mode, for them
633 to be themed correctly.
635 2009-06-16 Alberto Garcia <agarcia@igalia.com>
637 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
638 Set a different widget name to notes in portrait mode, for them to
641 Partially fixes: NB#118401 (HildonNote causes unnecessary
644 2009-06-16 Alberto Garcia <agarcia@igalia.com>
646 * hildon/hildon-note.c (hildon_note_class_init)
647 (+hildon_note_size_request, screen_size_changed):
648 Always request the full width of the screen.
650 Fixes: NB#118375 (unnecessary rescaling of images)
652 2009-06-16 Alejandro G. Castro <alex@igalia.com>
654 * hildon/hildon-pannable-area.c,
655 (hildon_pannable_area_init),
656 (hildon_pannable_area_realize): Replaced old code adding flags in
657 the object init, now we add it with the other flags in the realize
660 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
662 * hildon/hildon-note.c: (hildon_note_class_init): Several
663 documentation improvements to the HildonNote widget.
665 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
667 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
669 Fixes: MB#4556 (HildonNoteType is undocumented)
671 2009-06-15 Alberto Garcia <agarcia@igalia.com>
673 * hildon/hildon-picker-button.c:
674 Explain how HildonPickerButton sets the title of its dialog
676 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
677 the title of its dialog)
679 2009-06-15 Alberto Garcia <agarcia@igalia.com>
681 * hildon/hildon-check-button.c:
682 Documentation updates
684 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
687 2009-06-15 Alberto Garcia <agarcia@igalia.com>
690 * hildon/hildon-edit-toolbar-private.h
691 * hildon/hildon-edit-toolbar.c
692 (+hildon_edit_toolbar_set_progress_indicator)
693 (hildon_edit_toolbar_init): Add progress indicator to the
696 * hildon/hildon-gtk.c
697 (hildon_gtk_window_set_progress_indicator):
698 If the window contains a HildonEditToolbar, enable the progress
701 * hildon/hildon-private.h
702 * hildon/hildon-private.c
703 (+hildon_private_create_animation)
704 * hildon/hildon-banner.c
705 (-hildon_banner_create_animation):
706 Moved to hildon-private.c
708 Fixes: NB#102373 (Progress indicator also for the Edit mode
711 2009-06-15 Alberto Garcia <agarcia@igalia.com>
713 * hildon/hildon-app-menu-private.h
714 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
715 (hildon_app_menu_add_filter, +menu_item_button_event)
716 (hildon_app_menu_button_release, hildon_app_menu_init):
717 Make sure that buttons receive 'button-release-event' in spite of
718 the grab held by HildonAppMenu
720 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
722 2009-06-15 Alberto Garcia <agarcia@igalia.com>
724 * hildon/hildon-app-menu.c
725 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
726 New style property to set the size of the group of filter buttons.
728 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
730 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
735 * configure.ac: Bump version.
736 * debian/changelog: Updates.
738 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
740 * hildon/hildon-main.c: Minor documentation fixes.
742 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
744 * doc/hildon-sections.txt:
745 * hildon/hildon-defines.h: Document the defines, organize them,
746 and mark deprecations as such.
748 Fixes: MB#4463 (Hildon size #defines are undocumented)
750 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
752 * hildon/hildon-animation-actor.c:
753 * hildon/hildon-app-menu.c:
754 * hildon/hildon-button.c:
755 * hildon/hildon-date-editor.c:
756 * hildon/hildon-dialog.c:
757 * hildon/hildon-edit-toolbar.c:
758 * hildon/hildon-entry.c:
759 * hildon/hildon-program.c:
760 * hildon/hildon-remote-texture.c:
761 * hildon/hildon-stackable-window.c:
762 * hildon/hildon-text-view.c:
763 * hildon/hildon-touch-selector.c:
764 * hildon/hildon-window-stack.c:
765 * hildon/hildon-window.c:
767 Remove redundant "represents" wording from most of the documentation.
769 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
771 2009-06-12 Alberto Garcia <agarcia@igalia.com>
776 * hildon/hildon-banner-private.h
777 * hildon/hildon-banner.c:
778 Move HildonBannerPrivate to hildon-banner.c and remove
779 hildon-banner-private.h
780 Use a bit field to store private booleans.
782 2009-06-12 Alberto Garcia <agarcia@igalia.com>
784 * hildon/hildon-app-menu.c (hildon_app_menu_map):
785 Don't install a new idle function if there's already one
790 2009-06-11 Alberto Garcia <agarcia@igalia.com>
792 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
793 (+legacy_menu_realized, +legacy_menu_unmapped)
794 (+set_legacy_menu_type):
795 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
796 they can be identified by the window manager.
798 Fixes: NB#101437 (Invoking CSM on the left side of page area is
799 displayed in wrong location)
801 Fixes: MB#4563 (Popup menu won't locate at the left side of the
804 2009-06-11 Alberto Garcia <agarcia@igalia.com>
806 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
808 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
811 2009-06-11 Alberto Garcia <agarcia@igalia.com>
813 * hildon/hildon-code-dialog.c
814 * hildon/hildon-date-editor.c
815 * hildon/hildon-number-editor.c
816 * hildon/hildon-seekbar.c
817 * hildon/hildon-stackable-window.c
818 * hildon/hildon-window.c:
819 Misc documentation updates
821 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
823 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
824 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
826 Fixes: NB#117931 (Theming issues in accounts dialogs)
828 2009-06-09 Alejandro G. Castro <alex@igalia.com>
830 * hildon/hildon-pannable-area.c,
831 (hildon_pannable_area_button_release_cb): Changed the coordinates
832 of the original release in case we want to discard the release,
833 some widgets in Fremantle do not handle the leave-notify.
835 2009-06-09 Alejandro G. Castro <alex@igalia.com>
837 * hildon/hildon-pannable-area.c,
838 (hildon_pannable_area_button_release_cb): Reviewed the logic of
839 the release using the last refactored functions and avoiding the
840 movement if an element was selected.
842 2009-06-09 Alejandro G. Castro <alex@igalia.com>
844 * hildon/hildon-pannable-area.c,
845 (hildon_pannable_area_check_move),
846 (hildon_pannable_area_handle_move),
847 (hildon_pannable_area_motion_notify_cb): Refactored the
848 motion_notify method using a couple of new functions.
850 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
852 * hildon/hildon-date-selector.c:
853 (hildon_date_selector_construct_ui):
854 * hildon/hildon-time-selector.c:
855 (hildon_time_selector_constructor):
856 * hildon/hildon-touch-selector-entry.c:
857 (hildon_touch_selector_entry_set_text_column),
858 (hildon_touch_selector_entry_get_text_column):
859 * hildon/hildon-touch-selector.c: (_default_print_func),
860 (hildon_touch_selector_new_text): Use
861 hildon_touch_selector_set/get_text_column() instead of
862 setting/getting the "text-column" property.
864 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
866 * doc/hildon-sections.txt: Add the new public methods below.
868 * examples/hildon-picker-button-multicolumn-example.c:
869 (create_touch_selector):
870 * examples/hildon-touch-selector-example.c: (create_selector):
871 * examples/hildon-touch-selector-multi-cells-example.c:
873 Use hildon_touch_selector_column_set_text_column()
875 * hildon/hildon-touch-selector-column.h:
876 * hildon/hildon-touch-selector.c:
877 (hildon_touch_selector_column_set_text_column),
878 (hildon_touch_selector_column_get_text_column):
879 Make hildon_touch_selector_column_set/get_column() public, use
880 them in the inline example, document them, and reference to them
883 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
885 * hildon/hildon-time-selector.c: Fix the docs for
886 hildon_time_selector_new_step().
888 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
890 * hildon/hildon-touch-selector.c: Improve the documentation for
891 hildon_touch_selector_append_column().
893 Fixes MB#4641 (Documentation:
894 hildon_touch_selector_append_column() ref-counting)
896 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
898 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
899 Comment out test 5, since the hildon_controlbar_set_range() range
900 check is broken and fixing it would have side effects. Also,
901 this finally fixes make distcheck.
903 Fixes: NB#101420 (Update unit tests and fix make distcheck)
905 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
907 * tests/TEST-CASES.txt: Remove other bogus test.
908 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
909 Remove bogus test that was setting/retrieving a valid value.
911 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
913 * tests/TEST-CASES.txt: Remove bogus tests.
914 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
915 Remove three bogus tests that were actually setting valid colors.
917 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
919 * configure.ac: post release version bump
920 * debian/changelog: post release version bump
922 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
927 * configure.ac: Bump version.
928 * debian/changelog: Updates.
930 2009-06-08 Christian Dywan <christian@lanedo.com>
934 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
935 Correct errors in hildon_format_file-size_for_display and use
936 translations from the hildon-fm package instead of osso-filemanager.
938 2009-06-08 Alejandro G. Castro <alex@igalia.com>
940 * hildon/hildon-pannable-area.c,
941 (hildon_pannable_area_init): Initialized new values to handle the
943 (hildon_pannable_area_adjust_value_changed): Check if the values
944 changed before even call the redraw function.
945 (hildon_pannable_area_size_allocate),
946 (hildon_pannable_axis_scroll),
947 (hildon_pannable_area_scroll),
948 (hildon_pannable_area_jump_to): Improved the diagonal movement
951 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
954 2009-06-08 Alberto Garcia <agarcia@igalia.com>
956 * examples/hildon-banner-example.c:
957 Several style updates
958 (on_animation_clicked, on_animation_idle)
959 (on_progress_clicked, on_progress_idle):
960 Add additional reference for the cases when the parent window is
963 2009-06-08 Alberto Garcia <agarcia@igalia.com>
965 * doc/hildon-sections.txt
966 * hildon/hildon-pannable-area.c
967 * hildon/hildon-banner.h
968 * hildon/hildon-banner.c: Documentation updates.
970 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
973 2009-06-05 Alejandro G. Castro <alex@igalia.com>
975 * hildon/hildon-calendar-popup.h:
976 * hildon/hildon-caption.h:
977 * hildon/hildon-code-dialog.h:
978 * hildon/hildon-controlbar.h:
979 * hildon/hildon-date-editor.h:
980 * hildon/hildon-dialog.h:
981 * hildon/hildon-get-password-dialog.h:
982 * hildon/hildon-hvolumebar.h:
983 * hildon/hildon-login-dialog.h:
984 * hildon/hildon-note.h:
985 * hildon/hildon-number-editor.h:
986 * hildon/hildon-range-editor.h:
987 * hildon/hildon-seekbar.h:
988 * hildon/hildon-set-password-dialog.h:
989 * hildon/hildon-sort-dialog.h:
990 * hildon/hildon-time-editor.h:
991 * hildon/hildon-time-picker.h:
992 * hildon/hildon-volumebar-range.h:
993 * hildon/hildon-volumebar.h:
994 * hildon/hildon-vvolumebar.h:
995 * hildon/hildon-weekday-picker.h:
996 * hildon/hildon-window.h:
997 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
998 macros with the current replacements
1000 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1002 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1004 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1005 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1006 itself, to make it fit better with Fremantle style.
1008 Fixes: NB#109878 (height and width of focus on color icon is not
1009 consistent with other item in the application tool bar)
1011 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1013 * hildon/hildon-touch-selector.c:
1014 (hildon_touch_selector_optimal_size_request): use the current requisition
1015 as the base, in order to include any possible extra widget, like the
1016 hildon entry on HildonTouchSelectorEntry
1018 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1020 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1022 * configure.ac: post release version bump
1023 * debian/changelog: post release version bump
1025 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1030 * configure.ac: Bump version.
1031 * debian/changelog: Updates.
1033 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1035 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1037 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1038 to ensure the banner contents are centered, instead of relying on
1039 the expand and fill properties in GtkHBox.
1040 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1042 Fixes: NB#108265 (Animation banner not properly centered)
1044 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1046 * hildon/hildon-pannable-area.c
1047 (hildon_pannable_area_initial_effect): Remove the initial_effect
1048 management, check initial_hint
1049 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1050 set initial_effect to FALSE
1051 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1052 by launching the fade_timeout if the scrollbars state has changed and are
1054 * examples/hildon-pannable-area-initial-hint-example.c
1055 Modified to allow to remove rows too. Add and remove rows one by one.
1057 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1059 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1060 Don't close the menu if there's an animation actor below it.
1062 Fixes: NB#117927 (Application menu not usable with animation
1065 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1067 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1068 "focus-on-click" from the dialog button, to avoid stealing the
1069 focus from the entry.
1071 Fixes: NB#118903 (Account setup wizard: Text in Search field
1072 should be focused when "Region" touch list picker is reopened
1075 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1077 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1078 (prepare_action_area): Completely hide the dialog separator.
1080 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1082 * hildon/hildon-touch-selector-entry.c
1083 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1084 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1085 now that the entry is exposed.
1087 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1089 * hildon/hildon-touch-selector-entry.c
1090 (hildon_touch_selector_entry_init): Change the entry's size
1091 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1093 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1095 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1096 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1097 avoid unnecessary scaling.
1099 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1101 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1102 Create grab transfer window before calling parent's map function.
1104 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1105 "crushed" button(s) in the top left corner)
1107 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1109 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1110 Check if the window is already realized when pushing it.
1112 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1114 * configure.ac: post release version bump
1115 * debian/changelog: post release version bump
1117 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1122 * configure.ac: Bump version.
1123 * debian/changelog: Updates.
1125 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1127 * hildon/hildon-app-menu.c: Doc updates.
1129 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1131 * hildon/hildon-banner.c: Remove leftover macro.
1133 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1135 * hildon/hildon-pannable-area.c,
1136 (hildon_pannable_area_scroll_indicator_fade),
1137 (hildon_pannable_area_button_release_cb): Reviewed vmin
1138 conditions, it could cause problems in the fadeout procedure.
1140 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1142 * hildon/hildon-pannable-area.c
1143 (hildon_pannable_area_button_release_cb): Added a threshold to
1144 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1146 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1148 * hildon/hildon-pannable-area.c,
1149 (hildon_pannable_area_set_property): Added code to sync the gtk
1150 dnd threshold with the panning threshold.
1152 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1154 * hildon/hildon-pannable-area.c,
1155 (hildon_pannable_area_class_init): Changed some of the default
1156 values, now it should be less responsive and more accurate.
1158 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1160 * hildon/hildon-pannable-area.c,
1161 (hildon_pannable_area_init),
1162 (hildon_pannable_area_scroll_indicator_fade),
1163 (hildon_pannable_area_button_press_cb),
1164 (hildon_pannable_axis_scroll),
1165 (hildon_pannable_area_timeout),
1166 (hildon_pannable_area_motion_notify_cb),
1167 (hildon_pannable_area_button_release_cb): Changed the name of the
1168 clicked attribute to button_pressed, it is more clear about its use.
1170 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1172 * src/hildon-pannable-area.c
1173 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1175 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1176 vertical scrollbar visibility, and use the data on private section instead,
1177 remove the initial_hint check
1178 (hildon_pannable_area_expose_event): add the initial_hint check here
1180 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1182 * src/hildon-pannable-area.c
1183 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1184 if the fadeout effect was used
1185 (hildon_pannable_area_expose_event): check if it is required to
1186 manage the initial effect on the begining of the function. Previously
1187 it was made at the end, but this doesn't ensure that the scrollbars
1188 will be painted on the first show. Do not set to FALSE initial_effect,
1189 to ensure that the initial hint is showed the first time the pannable
1191 * examples/Makefile.am
1192 * examples/hildon-pannable-area-initial-hint-example.c:
1193 New example, to show that the initial-hint is showed when the widget
1196 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1197 initially if the application can be scrolled)
1199 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1201 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1202 Resize table before adding new items to make sure that
1203 gtk_table_resize() is called just once.
1205 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1207 * hildon/hildon-app-menu-private.h
1208 * hildon/hildon-app-menu.c (item_visibility_changed)
1209 (filter_visibility_changed, hildon_app_menu_show_all)
1210 (hildon_app_menu_hide_all, hildon_app_menu_init):
1211 Rearrange items just once when gtk_widget_show_all()/hide_all()
1214 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1216 * hildon/hildon-app-menu.c
1217 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1218 Don't call gtk_widget_show() on added items.
1220 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1221 automatically when they're added)
1223 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1225 * hildon/hildon-banner.c
1226 (hildon_banner_realize, +hildon_banner_unrealize)
1227 (+screen_size_changed, hildon_banner_class_init):
1228 Redisplay the banner if the screen is rotated.
1230 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1231 on transition from landscape to portrait)
1233 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1235 * hildon/hildon-banner.[ch]:
1236 (hildon_banner_show_information_override_dnd): remove icon_name from the
1237 method definition as it is ignored.
1238 * examples/hildon-banner-dnd-example.c: updated with the change on
1241 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1243 * hildon/hildon-banner-private.h: new require_override_dnd and
1244 overrides_dnd variables
1245 * hildon/hildon-banner.h:
1246 (hildon_banner_show_information_override_dnd): new method, that shows
1247 the information but sets the override flag, in order to show important
1249 * hildon/hildon-banner.c
1250 (hildon_banner_show_information_override_dnd): new method
1251 (hildon_banner_set_override_flag): new utility function
1252 (hildon_banner_real_show_information): new utility function, in order to
1253 generalize the current hildon_banner_show_information_override_dnd and
1254 hildon_banner_show_information_override_dnd
1255 * examples/Makefile.am
1256 * examples/hildon-banner-dnd-example.c: New example that show how to
1257 use the new hildon_banner_show_information_override_dnd
1259 Fixes: NB#114874 (There is no possibility to show hildon banners with
1262 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1264 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1265 behind hildon_pannable_calculate_vel_factor().
1267 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1269 * hildon/hildon-pannable-area.c
1270 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1271 deceleration factors.
1273 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1275 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1276 Reduce the default value for 'scroll_time' to 1 second, since the
1277 current initial scrolling takes too much time.
1279 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1281 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1282 calculate velocity factor during initialization, since the properties
1285 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1287 * hildon/hildon-pannable-area.c
1288 (hildon_pannable_area_set_property): Calculate the velocity factor
1289 after setting the deceleration property and not after.
1291 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1293 * hildon/hildon-entry.c
1294 (hildon_entry_class_init, +set_property, hildon_entry_new)
1295 * hildon/hildon-check-button.c
1296 (hildon_check_button_class_init)
1297 (+set_property, hildon_check_button_new):
1298 Make the theme size a property.
1300 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1301 others) do too much in the _new function)
1303 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1305 * configure.ac: post release version bump
1306 * debian/changelog: post release version bump
1308 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1313 * configure.ac: Bump version.
1314 * debian/changelog: Updates.
1316 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1318 * hildon/hildon-gtk.h
1319 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1320 New API function to take a screenshot of a window
1322 Fixes: NB#106374 (Need API to take a loading screenshot)
1324 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1326 * hildon/hildon-time-selector.c
1327 (update_format_policy): prevent to use hours and minutes unitialized
1329 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1331 * hildon/hildon-window.c (hildon_window_size_request):
1332 Always request the full size of the screen (minus the title bar if
1333 not in fullscreen mode).
1335 Fixes: NB#107486 (HildonWindow should size itself properly)
1337 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1339 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1340 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1341 (on_show_cb), (sound_handling): Disconnect the idle handler for
1342 the sound when the note is finalized to avoid possible crashes.
1344 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1347 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1349 * src/hildon-animation-actor.c,
1350 * src/hildon-remote-texture.c:
1351 Added proper object cleanup to remove signal handler and object
1352 references as HildonAnimationActor and HildonRemoteTexture
1353 objects get destroyed.
1355 Fixes: NB#116682 (Destroying parented animation actors when
1356 parent in unmapped leads to crash)
1358 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1360 Based on a patch by Christian Dywan (christian@imendio.com)
1362 * doc/hildon-sections.txt:
1363 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1364 * hildon/hildon-helper.h: New file size formatting method.
1366 * debian/control: Depend on osso-filemanager l10n package for
1367 proper localization strings.
1369 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1371 * tests/Makefile.am: Include top_srcdir to make possible to build
1372 tests in a different builddir.
1373 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1374 on a different builddir.
1376 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1378 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1379 (hildon_touch_selector_remove): Disconnect model's signal handler
1382 Fixes: NB#116289 (Hildon home crashes while adding task
1385 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1387 * hildon/hildon-button.c
1388 (hildon_button_set_title, hildon_button_set_value):
1389 Hide labels containing an empty string.
1391 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1393 * configure.ac: post release version bump
1394 * debian/changelog: post release version bump
1396 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1401 * configure.ac: Bump version.
1402 * debian/changelog: Updates.
1404 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1406 * hildon/hildon-note-private.h: Removed sound_signal_handler
1407 * hildon/hildon-note.c
1408 (on_show_cb): new callback on note "show" event, this simply adds
1409 a idle, with the function sound_handling
1410 (sound_handling): removed the sound_signal_handler management
1411 (hildon_note_init): connect note "show" event to on_show_cb
1412 (hildon_note_realize): remove the connection to "expose-event"
1414 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1415 device?' confirmation note)
1417 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1419 * hildon/hildon-note.c
1420 (hildon_note_new_information_with_icon_name)
1421 (hildon_note_new_confirmation_with_icon_name):
1422 Terminate the list of parameters in g_object_set() calls
1424 Fixes: NB#115166 (Formatting memory card is not taking place)
1426 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1428 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1429 "dialog-information" role for the sound being played.
1431 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1433 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1434 Don't make the menu a modal window, it causes strange interactions
1435 with the pointer grab and it's not really needed.
1437 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1439 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1441 * hildon/hildon-touch-selector.[ch]
1442 (hildon_touch_selector_optimal_size_request): function added to get a
1443 optimal size request from the touch selector, when you want a dialog to
1444 show as much of the selector
1445 * hildon/hildon-picker-dialog.c:
1446 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1447 (hildon_app_menu_class_init):
1448 New "max-height-landscape" and "max-height-portrait" style properties
1449 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1450 (hildon_picker_dialog_get_max_height): returns the maximum height using
1451 the style properties defined and checking the current portrait/landscape
1453 (_hildon_picker_dialog_set_selector): removed the set_size_request
1455 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1457 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1459 * hildon/hildon-bread-crumb-trail.c:
1460 * hildon/hildon-bread-crumb.c:
1461 * hildon/hildon-seekbar.c:
1462 Add reference to replacements for these deprecated widgets.
1464 Fixes: MB#4461 (Documentation: All deprecations should mention
1467 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1469 * examples/hildon-remote-texture-example.c
1471 Change the include to the hildon-remote-texture in order to compile
1472 properly the examples on the installed libhildon1-examples package
1474 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1476 * tests/Makefile.am: Add check for HildonPickerButton.
1477 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1478 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1479 checks for the HildonPickerButton.
1480 * tests/check_test.c (configure_tests): Add the test suite.
1481 * tests/test_suites.h: likewise.
1483 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1485 * hildon/hildon-touch-selector.c
1486 (+on_row_changed): Emit HildonTouchSelector:changed when the
1487 contents of a selected row change.
1488 (_create_new_column), (_hildon_touch_selector_set_model): connect
1489 to GtkTreeModel:row-changed on a newly set model.
1491 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1493 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1495 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1497 * hildon/hildon-banner.c (hildon_banner_destroy)
1498 (hildon_banner_show_progress, hildon_banner_set_fraction):
1499 Remove the progress bar from HildonBanner and use a progress
1502 Fixes: NB#113761 (Update progress banner to use progress
1505 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1507 * hildon/hildon-banner.c:
1508 Calculate size of the banner label using the actual screen width
1509 rather than using a fixed value.
1511 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1514 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1516 * hildon/hildon-pannable-area.c,
1517 (hildon_pannable_area_class_init): Fixed signals documentation
1520 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1522 * configure.ac: post release version bump
1523 * debian/changelog: post release version bump
1525 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1530 * configure.ac: Bump version.
1531 * debian/changelog: Updates.
1533 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1535 * hildon/hildon-edit-toolbar.c
1536 (hildon_edit_toolbar_init):
1537 Don't let buttons in HildonEditToolbar receive focus.
1539 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1540 typing on an HW arrows key)
1542 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1544 * doc/Makefile.am: Fix build.
1546 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1548 * doc/Makefile.am: Do not redefine content_files.
1550 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1558 Renamed src/ to hildon/
1563 Include <hildon/hildon.h> directly in all examples.
1565 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1567 * src/hildon-sort-dialog.c
1568 (hildon_sort_dialog_add_sort_key_with_sorting)
1572 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1575 make distcheck passes.
1577 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1579 * Makefile.am: Enable gtk-doc during distcheck.
1581 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1583 * Makefile.am: Do not distribute the debian/ directory.
1585 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1587 * doc/Makefile.am: Add the extra SGML files to content_files,
1588 so that they are distributed properly.
1590 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1592 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1595 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1597 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1598 (hildon_note_new_information_with_icon_name): Set the "icon" property
1599 to preserve soundness.
1601 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1603 * src/hildon-font-selection-dialog.c
1604 (hildon_font_selection_dialog_set_property): Fail when the "family"
1605 property is set to NULL.
1607 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1612 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1614 * src/hildon-time-selector.h:
1615 Added HildonTimeSelectorFormatPolicy
1616 * src/hildon-time-selector.c:
1617 Added PROP_TIME_FORMAT_POLICY
1618 (_check_ampm_format): renamed to check_automatic_ampm_format
1619 (update_format_policy), (update_format_dependant_columns): new functions
1620 (hildon_time_selector_class_init)
1621 (hildon_time_selector_contructor)
1622 (hildon_time_selector_init)
1623 (hildon_time_selector_get_property)
1624 (hildon_time_selector_set_property)
1625 (hildon_time_selector_get_time)
1626 (hildon_time_selector_set_time)
1627 * src/hildon-touch-selector.h: new file
1628 * src/hildon-touch-selector.c
1629 (hildon_touch_selector_emit_changed)
1630 (hildon_touch_selector_block_changed)
1631 (hildon_touch_selector_unblock_changed)
1632 Added functions to allow to block the emission of the "changed" signal
1633 * src/hildon-picker-dialog.c
1634 (hildon_picker_dialog_show): call the parent show before the custom code
1635 * examples/hildon-time-button-example.c
1636 Modified, so now you can configure the time format using the new property
1638 Added a new property "time-format-policy" that allow to choose the time
1639 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1640 case it uses gconf in order to check if the time selector must use
1643 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1646 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1648 * src/hildon-note.c (hildon_note_init):
1649 Label in HildonNote must be left aligned, not centered. This
1650 reverts the last commit in HildonNote.
1652 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1653 is connectivity dialog)
1655 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1660 * doc/hildon-sections.txt:
1661 Added hildon_gtk_window_set_do_not_disturb()
1663 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1665 * src/hildon-note.c (hildon_note_init): Center label.
1667 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1670 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: Bump version.
1676 * debian/changelog: Updates.
1678 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-note-private.h: Add button-width to the private data.
1681 * src/hildon-note.c (+resize_button),
1682 (+hildon_note_orientation_update): methods to repack widgets on orientation
1684 (screen_size_changed): Call above method for confirmation notes.
1685 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1686 (hildon_note_rebuild): Store the original width request from buttons.
1688 Fixes: NB#109635 (Confirmation notes do not support portrait)
1690 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1692 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1693 when it is a progress note.
1695 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1697 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1698 in the note, since there are no horizontally arranged contents.
1700 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-gtk.c (+set_flag): new generic method to
1703 set/delay a flag setting in a window.
1704 (hildon_gtk_window_set_progress_indicator):
1705 (hildon_gtk_window_set_do_not_disturb),
1706 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1707 avoid code redundance.
1709 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1711 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1713 * src/hildon-gtk.c (set_clear_window_flag),
1714 (do_set_progress_indicator), (do_set_do_not_disturb),
1715 (do_set_portrait_flags),
1716 (hildon_gtk_window_set_progress_indicator),
1717 (hildon_gtk_window_set_do_not_disturb),
1718 (hildon_gtk_window_set_portrait_flags):
1719 Allow setting dnd-flag, progress indicator, and portrait flags
1720 when the window is not realized.
1722 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1724 * src/hildon-pannable-area.c,
1725 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1726 the size request policy function and defines.
1728 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1730 * doc/hildon-sections.txt: Add the new API.
1731 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1732 method to set the portrait flags.
1733 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1735 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1737 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1739 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1740 to allow using this method with other flags.
1741 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1742 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1744 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1746 * src/hildon-touch-selector.c
1747 (hildon_touch_selector_append_text_column):
1748 Make the cell renderer use the smallest width possible.
1750 Fixes: NB#108470 (Selected items in multiple selection are either
1751 having a tick that is cut or not visible at all.)
1753 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-touch-selector.c
1756 (hildon_touch_selector_append_text_column):
1759 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1761 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1762 Use g_strdup_printf() instead of a fixed size buffer.
1764 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1767 Close banners when a HildonAppMenu is popped up.
1769 Fixes: NB#111027 (Title menu closed immediately if activated when
1770 "Invalid e-mail address" banner is shown)
1772 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1777 * configure.ac: Bump version.
1778 * debian/changelog: Updates.
1780 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1782 * src/hildon-banner.c (hildon_banner_realize):
1783 Mark HildonBanner as supporting portrait mode.
1784 Use GDK to set window properties insetad of direct Xlib calls.
1786 Fixes: NB#111830 (HildonBanner should be marked as supporting
1789 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-note.c (hildon_note_rebuild):
1792 Hide action area in information notes. Prevents text from being
1793 slightly aligned to the left.
1795 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1798 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1800 Patch by Mox Soini (ext-mox.soini@nokia.com)
1802 * src/hildon-banner.c (hildon_banner_create_animation):
1803 Use stylus-sized icons in animation banner.
1805 Fixes: NB#111206 (stylus sized icon for animation banner)
1807 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1811 (+hildon_gtk_window_set_do_not_disturb):
1812 New API to set the do-not-disturb flag.
1814 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1816 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1818 * examples/hildon-progress-indicator-example.c: Fix example
1820 * src/hildon-gtk.c (set_clear_window_flag)
1821 (hildon_gtk_window_set_progress_indicator):
1822 Create a generic function for setting flags to a window.
1823 Use GDK instead of direct Xlib calls.
1825 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-button.c (hildon_button_set_arrangement):
1828 Due to NB#88126, if one of the labels is too long it will be
1829 painted outside the button. The 'value' label is more likely to be
1830 the longest one, so we change its packing options in order to
1831 truncate it if necessary. As a side effect, the 'title' label will
1832 no longer be truncated.
1834 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1836 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1841 * configure.ac: Bump version.
1842 * debian/changelog: Updates.
1844 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1846 Deprecation of the hildon_pannable_area_set_size_request_policy
1847 API, the only policy properly supported in gtk+ nowadays is the
1850 * src/hildon-pannable-area.c,
1851 (hildon_pannable_area_size_request): Added a workaround for the
1852 size_request to avoid the problems of huge pixmaps in case someone
1853 is still using the function.
1854 * src/hildon-pannable-area.h: Deprecated the enum with the
1857 Fixes: NB#110244 (Problems with the
1858 hildon_pannable_area_set_size_request_policy API)
1860 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1862 * src/hildon-pannable-area.c,
1863 (hildon_pannable_area_init),
1864 (hildon_pannable_area_size_request),
1865 (hildon_pannable_area_style_set),
1866 (hildon_pannable_draw_vscroll),
1867 (hildon_pannable_draw_hscroll),
1868 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1869 indicator_width to clarify the use of the attribute.
1871 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1876 * configure.ac: Bump version.
1877 * debian/changelog: Updates.
1879 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1881 * src/hildon-picker-dialog.c
1882 * src/hildon-touch-selector.c
1883 Reverting the change that tried to avoid the hardcoded height on
1884 the picker dialog, as causes problems on the hildon-touch-selector
1887 Fixes: NB#110029 (selectors not scrolling to selected value)
1889 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-touch-selector.c: Fix typos
1893 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1896 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1897 request more motions after using it.
1899 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-calendar.c (hildon_calendar_expose),
1902 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1903 Remove unused variables.
1905 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1907 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1908 variable assignment.
1910 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1912 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1913 Check the return value of gtk_tree_selection_get_selected()
1916 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-animation-actor.c
1919 * src/hildon-button.c
1921 * src/hildon-pannable-area.c
1922 * src/hildon-picker-button.c
1923 * src/hildon-program.c
1924 * src/hildon-remote-texture.c
1925 * src/hildon-text-view.c
1926 * src/hildon-touch-selector.c
1927 * src/hildon-window-stack.c
1928 * src/hildon-window.c:
1929 Add missing 'Since: 2.2' tags.
1931 * doc/hildon-sections.txt:
1932 Add some missing symbols.
1934 * doc/hildon-docs.sgml:
1935 New 'Other' section for HildonAnimationActor and
1938 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1940 Patch by Iván Gómez (igomez@igalia.com)
1943 * doc/compiling.sgml
1944 * doc/hildon-docs.sgml
1945 * doc/hildon-sections.txt
1946 * doc/migration.sgml
1947 * doc/resources.sgml
1949 New chapters on using the Hildon library.
1950 Updated the general structure of the reference manual.
1951 Other minor documentation fixes.
1953 * src/hildon-calendar-popup.c
1954 * src/hildon-calendar.c
1955 * src/hildon-controlbar.c
1956 * src/hildon-date-editor.c
1957 * src/hildon-dialog.c
1958 * src/hildon-hvolumebar.c
1959 * src/hildon-number-editor.c
1960 * src/hildon-range-editor.c
1961 * src/hildon-sort-dialog.c
1962 * src/hildon-time-editor.c
1963 * src/hildon-time-picker.c
1964 * src/hildon-volumebar-range.c
1965 * src/hildon-volumebar.c
1966 * src/hildon-vvolumebar.c
1967 * src/hildon-weekday-picker.c:
1968 Add deprecation notes
1970 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1971 Document 'horizontal-movement' and 'vertical-movement' signals.
1973 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
1978 * configure.ac: Bump version.
1979 * debian/changelog: Updates.
1981 2009-04-06 Alejandro G. Castro <alex@igalia.com>
1983 * src/hildon-pannable-area.c,
1984 (hildon_pannable_area_class_init): increased the minimum velocity.
1985 (hildon_pannable_area_button_release_cb): Updated the
1986 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
1987 setup. Review the code to control that last event.
1989 Fixes: NB#109790 (Releasing finger in pannable area easily causes
1992 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
1994 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1996 * src/hildon-get-password-dialog.c
1997 (hildon_get_password_set_property),
1998 (hildon_get_password_get_property), (create_contents):
1999 * src/hildon-login-dialog-private.h:
2000 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2001 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2002 (hildon_login_dialog_get_password):
2003 * src/hildon-set-password-dialog-private.h:
2004 * src/hildon-set-password-dialog.c
2005 (hildon_set_password_set_property),
2006 (hildon_set_password_get_property), (create_contents),
2007 (hildon_set_password_response_change),
2008 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2010 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2011 instead and look more Fremantle style.
2013 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2015 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2017 * doc/hildon-sections.txt
2018 * src/hildon-window-stack.h
2019 * src/hildon-window-stack.c
2020 (+hildon_window_stack_get_windows):
2021 New API to obtain the list of windows on a stack.
2023 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-app-menu.c (hildon_app_menu_popup)
2026 (hildon_app_menu_class_init, -hildon_app_menu_show):
2027 Remove hildon_app_menu_show() and move all its checks to
2028 hildon_app_menu_popup()
2030 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2032 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2033 (_hildon_picker_dialog_set_selector): removed call to
2034 gtk_widget_set_size_request
2035 * src/hildon-touch-selector.c
2036 (_create_new_column): change the pannable size request policy
2038 Avoid to use a hardcoded height for the hildon picker dialog. In order
2039 to get that, we needed to change the hildon pannable size request
2041 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2043 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2045 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2046 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2049 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2051 * debian/control: Depend on osso-system-lock localization package.
2052 * src/hildon-code-dialog.c: Obtain the secu_application_title
2053 translation from osso-system-lock.
2054 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2055 for translation the atk related strings, that's not necessary.
2056 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2057 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2058 cancel button, it is not required.
2060 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2062 * src/hildon-pannable-area.c,
2063 (hildon_pannable_area_class_init): Modified the default value of
2064 the overshooting max speed, we have reduced it.
2066 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2068 * doc/hildon-sections.txt
2069 * src/hildon-window-private.h
2070 * src/hildon-window.h
2071 * src/hildon-window.c (hildon_window_class_init)
2072 (hildon_window_init, hildon_window_finalize)
2073 (hildon_window_realize, hildon_window_get_property)
2074 (hildon_window_set_property, hildon_window_update_markup)
2075 (hildon_window_get_markup, hildon_window_set_markup):
2076 New "markup" property and hildon_window_{get,set}_markup() methods.
2078 * examples/hildon-stackable-window-example.c (new_window):
2079 Update example to use hildon_window_set_markup()
2081 Fixes: NB#106375 (Need API to retitle a window with a title
2084 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2086 * src/hildon-pannable-area.c,
2087 (hildon_pannable_area_class_init): Changed the default value of
2088 the initial_hint to TRUE.
2089 (hildon_pannable_area_initial_effect): Changed the initial effect,
2090 not the effect is just the fade-out of the scrollbars.
2092 Fixes: NB#107775 (No scrollbars can be seen when several items are
2093 available in a dialog)
2095 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-program.c (hildon_program_update_top_most):
2100 Fixes: NB#109179 (Memory leak in Hildon program)
2102 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2104 * src/hildon-banner.c (-get_current_app_window):
2105 Remove unused function.
2107 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2109 * src/hildon-pannable-area.c: Modified the documentation of the
2110 get adjustments functions to explain the problem of using the
2111 adjustment directly.
2112 (hildon_pannable_area_class_init): Improved the explanation about
2115 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2117 * src/hildon-app-menu-private.h
2118 * src/hildon-app-menu.c
2119 (hildon_app_menu_class_init):
2120 Bring back the 'external-border' style property
2121 (hildon_app_menu_class_init, hildon_app_menu_init)
2122 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2123 Set a fixed width-request for the menu, independent of the number
2126 Fixes: NB#94957 (Smoothly opened application menu)
2128 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2130 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2132 * src/hildon-banner.c
2133 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2135 Make sure that the banner is correctly placed the first time it's
2137 (hildon_banner_check_position, -check_fullscreen_state):
2138 Show the banner in the same place no matter if the window is in
2139 fullscreen mode or not.
2141 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2143 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2145 * src/hildon-touch-selector.c (_default_print_func): reorder
2146 concatenation for clarity.
2148 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2150 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2151 for multicolumn selectors.
2153 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2155 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2160 * configure.ac: Bump version.
2161 * debian/changelog: Updates.
2163 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2165 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2168 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2170 * configure.ac: removed libcangerra-gtk dependency
2171 * debian/control: removed libcanberra-gtk dependency
2172 * src/Makefile.am: removed libcanberra gtk related flags
2173 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2174 context, and manage a global canberra context instead
2176 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2178 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2180 Patch by Daniel Borgmann (danielb@openismus.com)
2182 * src/hildon-edit-toolbar.c:
2183 Adjust the left padding.
2184 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2185 Paint background of the edit toolbar.
2187 Fixes: NB#107897 (Patch to make editmodetoolbar background
2188 themeable and adjust margin)
2190 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2192 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2194 * src/hildon-program.c (hildon_program_update_top_most):
2195 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2197 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2198 change when the user tasks in/out of an application)
2200 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2202 * configure.ac: added libcangerra-gtk dependency
2203 * debian/control: added libcanberra-gtk dependency
2204 * src/Makefile.am: added libcanberra gtk related flags
2205 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2208 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2210 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2212 * src/hildon-program.c (hildon_program_remove_window)
2213 (hildon_program_add_window): Add checks for the window
2214 parameter. Don't decrease the window counter if the window is not
2217 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2219 * src/hildon-pannable-area.c,
2220 (hildon_pannable_area_realize): Fixed position of the event_window
2221 in the realize method.
2223 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2225 * src/hildon-app-menu-private.h
2226 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2227 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2228 (hildon_app_menu_key_press, hildon_app_menu_init)
2229 (hildon_app_menu_finalize):
2230 Make sure that all idle functions are removed when the widget is
2233 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2235 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2240 * configure.ac: Bump version.
2241 * debian/changelog: Updates.
2243 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2245 * src/hildon-entry.c
2246 (+hildon_entry_show_placeholder),
2247 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2248 that replace hildon_entry_update_contents().
2249 (hildon_entry_set_text),
2250 (hildon_entry_set_placeholder),
2251 (hildon_entry_focus_in_event),
2252 (hildon_entry_focus_out_event): Determine when it is needed
2253 either to show or hide the placeholder and call the above methods.
2255 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2256 when the placeholder text is already set)
2258 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2260 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2261 simple GdkPixbufAnim using the new icons for the banner.
2262 (hildon_banner_show_animation): Use the above mentioned method to
2263 create the animation widget.
2265 Fixes: NB#103564 (Make hildon animation banner use individual
2266 image files as the animation)
2268 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2270 * src/hildon-pannable-area.c,
2271 (hildon_pannable_leave_notify_event): Check if the child is NULL
2272 to avoid sending the leave.
2274 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2276 * src/hildon-pannable-area.c,
2277 (hildon_pannable_area_class_init),
2278 (hildon_pannable_leave_notify_event): Added a handler of the
2279 leave-notify-signal to consider when no motion notify before
2282 Fixes: NB#107494 (Items stay selected when clicking and moving
2283 away when inside pannable area)
2285 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2290 * configure.ac: Bump version.
2291 * debian/changelog: Updates.
2293 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2295 Patch by Alberto Garcia (agarcia@igalia.com)
2297 * src/hildon-date-button.c,
2298 (hildon_date_button_class_init),
2299 (hildon_date_button_init): Removed the construct property handling
2300 and created a default selector in the init method.
2301 * src/hildon-picker-button.c,
2302 (hildon_picker_button_class_init): Removed the construct flag of the
2305 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-main.c (hildon_init):
2308 Don't allow hildon_init() to be called more than once.
2310 Fixes: NB#106607 (hildon_init should issue error message upon
2313 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2315 * examples/hildon-pannable-area-touch-list-example.c
2316 * examples/hildon-pannagle-area-touch-grid-example.c
2317 * examples/hildon-edit-toolbar-example.c
2318 * examples/hildon-touch-selector-multi-cells-example.c
2319 Removed the call to gtk_rc_parse_string, as it is not required since
2322 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2324 * src/hildon-pannable-area.c,
2325 (hildon_pannable_area_class_init): Modified the default panning
2326 threshold of the widget to 6px.
2328 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2329 than the threshold value ) within the button is not sending the
2332 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2335 for the treeview in the new column. This way, the touch list will never
2338 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2339 be selected manually for the HW keys to work)
2341 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2343 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2344 comparison instead of using strcmp(). Fixes a compiler warning as well.
2346 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2348 * doc/hildon-docs.sgml: Do not set the library version in the
2349 document title, use the releaseinfo tag for that purpose instead.
2351 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2354 Do not jump to the first item if the text in the entry is removed.
2356 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2361 * configure.ac: Bump version.
2362 * debian/changelog: Updates.
2364 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-entry.c (hildon_entry_refresh_contents):
2367 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2368 Use "ReversedSecondaryTextColor" for the placeholder text.
2370 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-text-view.c: Fix compilation warning.
2374 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2376 * src/hildon-button.c (hildon_button_class_init): Don't make
2377 "title" and "value" construction properties, to prevent them from
2378 overwriting labels set from derived classes.
2380 * src/hildon-picker-button.c
2381 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2382 (hildon_picker_button_class_init): Make touch-selector a
2383 construction property.
2385 * src/hildon-date-button.c (hildon_date_button_class_init)
2386 (+hildon_date_button_constructed): Add a default date selector if
2389 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/hildon-touch-selector.c: Small documentation fixes.
2393 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2395 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2397 * src/hildon-entry.c (hildon_entry_refresh_contents),
2398 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2399 widget name, set the logical color directly instead and a boolean
2400 showing_placeholder instead.
2401 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2402 use the widget name here either.
2404 Fixes: NB#105678 (HildonTextView should use logical colours
2405 instead of setting widget name)
2407 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2409 Patch by Daniel Elster (danielk@openismus.com)
2411 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2412 Add user_data parameter.
2413 (hildon_touch_selector_set_print_func_full): New function akin
2414 hildon_touch_selector_set_print_func() but with support for user
2415 data and a destroy callback.
2416 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2417 to clean up the print function user data.
2418 (hildon_touch_selector_class_init): Install dispose function.
2419 (HildonTouchSelectorPrivate::print_user_data),
2420 (HildonTouchSelectorPrivate::print_destroy_func): New private
2422 (hildon_touch_selector_init): Initialize new private members.
2423 (hildon_touch_selector_get_current_text): Pass along user data
2424 to the print function.
2425 (_default_print_func): Add dummy user_data to parameter list.
2426 * hildon-date-selector.c (_custom_print_func): ditto,
2427 * hildon-time-selector.c (_custom_print_func): ditto,
2428 * hildon-touch-selector-entry.c
2429 (hildon_touch_selector_entry_print_func): ditto.
2431 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2433 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2435 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2437 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2439 * src/hildon-pannable-area.c,
2440 (hildon_pannable_area_init),
2441 (hildon_pannable_area_button_press_cb),
2442 (hildon_pannable_area_motion_notify_cb): We have added code to
2443 handle the leave and enter events when using the motion events.
2445 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2447 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2449 * src/hildon-date-button.c (hildon_date_button_get_date)
2450 (hildon_date_button_set_date): Make sure that the button has a
2453 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2455 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2457 * src/hildon-pannable-area.c,
2458 (hildon_pannable_area_class_init),
2459 (hildon_pannable_area_calculate_velocity): Modify the use of the
2460 force and adapt the value.
2462 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2464 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2465 (hildon_app_menu_class_init): Hide the menu if it receives a
2466 delete-event, but don't destroy it
2468 Fixes: NB#104485 (Not able to address the call when application
2469 menu is opened at background)
2471 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-app-menu.c
2474 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2475 Remove the "external-border" style property, let the menu take its
2476 natural size (or the one set by the window manager)
2477 (hildon_app_menu_repack_items):
2478 Don't reshow the menu, avoid flickers.
2480 Partially fixes NB#94957 (Smoothly opened application menu)
2482 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2487 * configure.ac: Bump version.
2488 * debian/changelog: Updates.
2490 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2492 * src/hildon-pannable-area.c,
2493 (hildon_pannable_area_motion_notify_cb): We control that the
2494 direction error margin is used just in case the movement is
2495 allowed in the other direction.
2497 Fixes: NB#105012 (buttons inside a pannable area not getting
2498 release event when dragging/releasing)
2500 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2502 * src/hildon-pannable-area.c,
2503 (hildon_pannable_area_class_init),
2504 (hildon_pannable_area_get_property),
2505 (hildon_pannable_area_set_property),
2506 (hildon_pannable_area_initial_effect),
2507 (hildon_pannable_axis_scroll),
2508 (hildon_pannable_area_button_release_cb): Reviewed the
2509 overshooting effect, now it has its own max
2510 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2511 speed when bouncing.
2513 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2518 * configure.ac: Bump version.
2519 * debian/changelog: Updates.
2521 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2523 * src/hildon-pannable-area.c,
2524 (hildon_pannable_area_class_init): Changed the max speed, now
2525 users can launch the widget very fast. Reduced the default force,
2526 that way it is easier to control the launch speed.
2528 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2530 * src/hildon-pannable-area.c,
2531 (hildon_pannable_area_button_release_cb): Removed this check
2532 because it causes problems when the device is overloaded.
2534 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2537 add a current_text field to store the text entered in the
2538 touch selector entry.
2539 (_clean_current_selection): clean up the current text as well.
2540 (_save_current_selection), (_restore_current_selection):
2541 Save/restore the text in the entry if the selector is a
2542 HildonTouchSelectorEntry.
2544 Fixes: NB#102541 (value entered in the touch selector entry is not
2545 shown when opened for second time)
2547 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2549 * doc/hildon-sections.txt:
2550 * src/hildon-touch-selector-entry.c
2551 (+hildon_touch_selector_entry_get_entry):
2552 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2554 Fixes: NB#104815 (I need accessor to the entry inside
2555 HildonTouchSelectorEntry)
2557 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2559 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2560 (hildon_app_menu_class_init):
2561 New "filter-vertical-spacing" style property.
2563 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-find-toolbar.c
2566 (hildon_find_toolbar_emit_close)
2567 (hildon_find_toolbar_emit_invalid_input)
2568 (hildon_find_toolbar_entry_activate):
2569 Use g_signal_emit() instead of g_signal_emit_by_name()
2571 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2573 Patch by Mox Soini (ext-mox.soini@nokia.com)
2575 * tests/TEST-CASES.txt
2576 * tests/check-hildon-banner.c
2577 * tests/check-hildon-note.c
2578 * src/hildon-banner.c
2579 * src/hildon-code-dialog.c
2580 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2581 * src/hildon-time-editor.c
2582 * examples/hildon-lookup-example.c (main):
2583 Replace obsolete icon names with new ones.
2585 * src/hildon-find-toolbar-private.h:
2586 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2587 (-hildon_find_toolbar_emit_search):
2588 Remove find button and change icon of close button.
2590 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2592 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2594 * src/hildon-time-button.c (hildon_time_button_new_step):
2595 Use the "touch-selector" property to set the selector directly
2596 when creating the object.
2598 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2600 Added a new example application that allows tuning the pannable
2601 area and replaced defines with properties in order to simplify the
2602 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2603 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2604 PROP_DIRECTION_ERROR_MARGIN.
2606 * examples/hildon-pannable-area-tuning-example.c: New example
2608 * src/hildon-pannable-area.c,
2609 (hildon_pannable_area_class_init),
2610 (hildon_pannable_area_init),
2611 (hildon_pannable_area_get_property),
2612 (hildon_pannable_area_set_property),
2613 (hildon_pannable_area_launch_fade_timeout),
2614 (hildon_pannable_area_adjust_value_changed),
2615 (hildon_pannable_axis_scroll),
2616 (hildon_pannable_area_motion_notify_cb),
2617 (hildon_pannable_area_scroll_cb),
2618 (hildon_pannable_area_button_release_cb): We have converted some
2619 of the defines that control the widget to properties to simplify
2622 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-app-menu.c (hildon_app_menu_map)
2625 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2626 so it's closed if a new window appears.
2628 Fixes: NB#104485 (Not able to address the call when application
2629 menu is opened at background)
2631 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2634 missing 'break' statement in in 'case' construct to avoid
2637 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-touch-selector-entry.c
2640 (hildon_touch_selector_entry_get_property),
2641 (hildon_touch_selector_entry_set_property): Add missing 'break'
2642 statements in in 'case' constructs to avoid incorrect warnings.
2644 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-time-editor.c
2647 (hildon_time_editor_get_time_separators): Do not crash if
2648 the first label is NULL.
2650 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2652 * src/hildon-date-selector.c (_month_days): Check for month to be
2653 strictly less than 12, since otherwise we may overrun the array.
2655 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-date-button.c (+hildon_date_button_new_full)
2658 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2659 (hildon_date_button_init): Set the date selector using a
2660 construction property, to make it happen after HildonButton's
2661 "value" property is set.
2663 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2664 current date by default)
2666 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2668 * doc/hildon-sections.txt
2669 * src/hildon-program.c
2670 * src/hildon-stackable-window.c
2671 * src/hildon-window.c:
2672 Documentation updates
2674 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2677 (hildon_window_stack_new, +hildon_window_stack_set_property)
2678 (+hildon_window_stack_get_property)
2679 (hildon_window_stack_class_init)
2680 (+hildon_window_stack_set_window_group)
2681 (+hildon_window_stack_get_window_group):
2682 Make the window group a construction property.
2684 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2686 * doc/hildon-sections.txt
2687 * src/hildon-stackable-window-private.h
2688 * src/hildon-stackable-window.h
2689 * src/hildon-stackable-window.c
2690 (-hildon_stackable_window_set_app_menu)
2691 (-hildon_stackable_window_get_app_menu)
2692 (-hildon_stackable_window_toggle_menu)
2693 (-hildon_stackable_window_finalize)
2694 (hildon_stackable_window_class_init)
2695 (hildon_stackable_window_init)
2696 * src/hildon-window-private.h
2697 * src/hildon-window.h
2698 * src/hildon-window.c (hildon_window_init)
2699 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2700 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2701 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2702 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2703 Moved all HildonAppMenu code to HildonWindow. The menu does not
2704 require a HildonStackableWindow anymore.
2706 * src/hildon-app-menu.c
2707 * src/hildon-program.c
2708 * examples/hildon-app-menu-example.c (main):
2709 Update examples and documentation to reflect HildonAppMenu
2712 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-remote-texture.c
2715 * src/hildon-animation-actor.c:
2716 Don't include unused private headers.
2718 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-program-private.h
2721 * src/hildon-program.c
2722 (hildon_program_set_common_menu)
2723 (hildon_program_get_common_menu)
2724 (hildon_program_set_common_app_menu)
2725 (hildon_program_get_common_app_menu):
2726 Change common menu pointers from GtkWidget* to GtkMenu* and
2727 HildonAppMenu* to avoid unnecessary casts.
2729 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-window.c (hildon_window_set_main_menu):
2732 Removed incorrect 'Since:' tag
2734 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2736 * src/hildon-pannable-area.c,
2737 (hildon_pannable_area_calculate_velocity): We use now the
2738 RATIO_TOLERANCE here to check the distance, fixed typo in the
2740 (hildon_pannable_area_motion_notify_cb): We have to set the type
2741 and time even if we are not sending the motion.
2743 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2745 * doc/hildon-sections.txt
2746 * src/hildon-app-menu.h
2747 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2748 (+hildon_app_menu_get_filters): New methods to get the contents of
2751 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2754 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2756 * src/hildon-app-menu.c (hildon_app_menu_popup):
2759 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-window.h
2762 * src/hildon-window.c (+hildon_window_get_main_menu)
2763 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2764 and deprecated hildon_window_get_menu().
2766 * src/hildon-stackable-window.h
2767 * src/hildon-stackable-window.c
2768 (+hildon_stackable_window_set_app_menu)
2769 (+hildon_stackable_window_get_app_menu)
2770 (hildon_stackable_window_set_main_menu): Created
2771 hildon_stackable_window_{get,set}_app_menu() and deprecated
2772 hildon_stackable_window_set_main_menu().
2774 * doc/hildon-sections.txt
2775 * examples/hildon-app-menu-example.c (main)
2776 * src/hildon-app-menu.c
2777 * src/hildon-program.c:
2778 Updated examples and documentation.
2780 Fixes: NB#103758 (No way to obtain a menu from a
2781 HildonStackableWindow)
2783 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2788 * configure.ac: Bump version.
2789 * debian/changelog: Updates.
2791 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2793 * examples/hildon-remote-texture-example.c: Include
2794 hildon-remote-texture.h explicitely.
2795 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2796 applications not defining _XOPEN_SOURCE which don't require this header.
2798 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2800 * doc/hildon-sections.txt
2801 * src/hildon-app-menu.h
2802 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2803 New function to pop up a HildonAppMenu
2805 * src/hildon-stackable-window.c
2806 (hildon_stackable_window_toggle_menu):
2807 Use hildon_app_menu_popup() to show the menu.
2809 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2811 * src/hildon-app-menu.c (hildon_app_menu_show)
2812 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2813 menu if there's another window between it and its parent window.
2815 Fixes: NB#100468 (Application menu window is launched even when a
2816 new secondary-window/dialog is pending to be shown/realized)
2818 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-window-stack.c (hildon_window_stack_push)
2821 (hildon_window_stack_pop_and_push):
2822 Don't forget to push/pop the first window.
2823 Reverse the window list before calling _push_list()
2825 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2827 * src/hildon-picker-button.h
2828 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2829 Remove "value_changed" slot to avoid ABI breakage
2831 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2833 * src/hildon-pannable-area.c,
2834 (hildon_pannable_area_realize),
2835 (hildon_pannable_area_unrealize),
2836 (hildon_pannable_draw_vscroll),
2837 (hildon_pannable_draw_hscroll): Changed the method to handle the
2838 GC used to draw the transparent scrollbar, this way we avoid
2839 creating the GC all the time when drawing the scrollbars.
2841 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2843 * src/hildon-pannable-area.c,
2844 (hildon_pannable_area_init),
2845 (hildon_pannable_area_remove): Removed some unnecessary casts.
2846 (hildon_pannable_area_dispose): Disconnected some signals before
2847 releasing the adjustments.
2849 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2852 Make sure that all widgets contained in the toolbar are shown.
2854 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2856 * doc/hildon-sections.txt
2857 * src/hildon-picker-button.h
2858 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2859 (_selection_changed, hildon_picker_button_on_dialog_response)
2860 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2861 New hildon_picker_button_value_changed() method.
2864 * src/hildon-picker-button-private.h
2865 * src/hildon-picker-button.c (hildon_picker_button_init)
2866 (+hildon_picker_button_disable_value_changed): Add protected
2867 function for disabling the "value-changed" signal.
2869 * src/hildon-date-button.c (hildon_date_button_set_date):
2870 Don't emit "value-changed" for each one of the three columns.
2872 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2873 before actual change of values)
2875 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2877 * src/hildon-pannable-area.c,
2878 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2879 for the treeview overshooting.
2881 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2883 * src/hildon-banner.c (+hildon_banner_bind_style):
2884 Renamed from hildon_banner_bind_label_style(), now naming the
2885 banner itself as well.
2886 (hildon_banner_show_information),
2887 (hildon_banner_show_information_with_markup),
2888 (hildon_banner_show_animation), (hildon_banner_show_progress):
2889 Name the widgets and labels, based on their type.
2891 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2894 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-note.c (hildon_note_set_property): call
2897 hildon_note_rename() on HildonNote:note-type set.
2898 (hildon_note_rename): Name the note and its label, based on the
2899 HildonNote:note-type property.
2901 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2904 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2906 * src/hildon-pannable-area.c,
2907 (hildon_pannable_area_class_init),
2908 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2909 panning parameters, increased SPS and deceleration factor. Added
2910 also a margin to control fake directions.
2912 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2914 Patch by Sven Herzberg (sven@imendio.com)
2916 * configure.ac: Add missing AM_PROG_CC_C_0
2917 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2919 See NB#101420 (Update unit tests and fix make check)
2921 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2923 This patch was applied before but reverted because it caused
2924 problems, we have changed the main condition and tested the
2925 regressions we detected before and they work ok. We have done a
2926 complete review of the topmost algorithm in order to get a more
2929 * src/hildon-pannable-area.c,
2930 (hildon_pannable_area_get_topmost): Added a new parameter to
2931 filter the the windows that do not include those events.
2932 (hildon_pannable_area_button_press_cb),
2933 (hildon_pannable_area_button_release_cb),
2934 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2935 topmost function, we have added the new parameter.
2937 Fixes: NB#97458 (Pannable area prevents propagation of button
2940 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2942 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2943 if all columns in the selector have an item selected.
2944 (_on_dialog_response): Stop "response" signal emission if there is
2945 any selector column without selected items.
2947 Fixes: NB#101889 (Picker dialog should not close when nothing is
2948 selected in multiple selection list)
2950 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-font-selection-dialog.c
2953 (hildon_font_selection_dialog_class_init),
2954 (hildon_font_selection_dialog_init): Remove the preview
2955 button and dialog, since previewing with default theming is likely
2956 to be overcomplicated. The :preview property has now no effect.
2957 Update documentation blurbs to inform about this.
2959 Fixes: NB#92297 (Preview content is not clearly visible for
2960 default colour text)
2962 2009-02-20 Alejandro G. Castro <alex@igalia.com>
2964 Reviewed the geometry that handles the children size and
2965 scrollbar, now it tries a size and reviews the results depending
2966 on the scrollbars visibility.
2968 * src/hildon-pannable-area.c,
2969 (hildon_pannable_area_realize): Fixed a typo.
2970 (hildon_pannable_area_child_allocate_calculate): Added this
2971 function to calculate the child allocation.
2972 (hildon_pannable_area_size_allocate): Reviewed the allocation
2974 (hildon_pannable_area_check_scrollbars),
2975 (hildon_pannable_area_refresh): Refactored refresh function, this
2976 way we can call the code handling the scrollbars without causing a
2977 size_request, it is interesting in the allocate.
2978 (hildon_pannable_area_init): Replace the callbacks of the
2979 value_changed and changed signals to propertly deal with the
2981 (hildon_pannable_area_grab_notify),
2982 (hildon_pannable_area_initial_effect),
2983 (hildon_pannable_area_launch_fade_timeout),
2984 (hildon_pannable_area_adjust_changed),
2985 (hildon_pannable_area_adjust_value_changed),
2986 (hildon_pannable_area_redraw),
2987 (hildon_pannable_area_button_press_cb),
2988 (hildon_pannable_area_button_release_cb),
2989 (hildon_pannable_area_scroll_cb),
2990 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
2991 code and use the new functions adjust_changed and
2992 adjust_value_changed.
2994 Fixes: NB#101603 (Focus is not even for the text entry boxes in
2995 Contact editor dialog)
2997 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3002 * configure.ac: Bump version.
3003 * debian/changelog: Updates.
3005 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3007 * src/hildon-pannable-area.c,
3008 (hildon_pannable_area_get_topmost),
3009 (hildon_pannable_area_button_press_cb),
3010 (hildon_pannable_area_button_release_cb),
3011 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3012 topmost function adding the event mask. We have to try a
3013 differente approach because it is still causing problems (NB#9745,
3016 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-banner.c:
3019 Update the maximum width of timed banners.
3020 (force_to_wrap_truncated): Enforce the maximum text width if the
3023 Fixes: NB#102413 (The text margins (wrapping) in information
3024 banner should be HILDON_MARGIN_TRIPLE)
3026 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3028 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3030 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3031 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3032 bound when calculating the scroll indicator position.
3034 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3035 treat ->lower correctly)
3037 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3039 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3040 expose event handling, since it is not necessary to draw the focus
3043 Fixes: NB#102467 (Do not show highlight on the text in
3046 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3048 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3049 full height of the toolbar for the button and the label.
3051 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3054 padding before the label and after the button.
3056 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3060 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3061 Add a GtkVSeparator between the button and the back arrow.
3062 Let the button have automatic size.
3063 Set a name to the widget for theming handling.
3065 Fixes: NB#101793 (Make edit toolbar the same height as window
3066 title bar (use title area theming))
3068 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-helper.c (attach_new_color_element): Fix memory
3073 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3075 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3077 * examples/hildon-button-example.c (common_buttons_window): Don't
3080 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3083 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3085 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-gtk.c: Check that the window is realized.
3089 Fixes: NB#102225 (Crash setting the progress indicator to a non
3092 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3095 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3096 instead of modifying the one in the widget style.
3098 Fixes: NB#101043 (Second row of all the command button are
3099 displayed in transparent mode.)
3101 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3103 * src/hildon-date-button.c
3104 * src/hildon-time-button.c: Add gettext macros
3106 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-date-button.c (hildon_date_button_new):
3109 * src/hildon-time-button.c (hildon_time_button_new_step):
3110 Use new logical strings to set the button default title.
3112 Fixes: NB#99915 (Date and Time options are not localised in Date
3115 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3117 * src/hildon-pannable-area.c
3118 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3119 the PANNING_THRESHOLD.
3121 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3123 * src/hildon-pannable-area.c,
3124 (hildon_pannable_area_class_init): Increased the maximum speed.
3125 (hildon_pannable_area_get_property),
3126 (hildon_pannable_area_set_property),
3127 (hildon_pannable_area_timeout): Added a new low friction mode, it
3128 allows the user avoid friction when launching the widget fast
3129 enough. It is interesting to traverse long lists.
3131 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3133 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3134 (+hildon_stackable_window_delete_event): Ignore delete events if
3135 the window is not the topmost one.
3137 Fixes: NB#101698 (Back button long press and delete-event handling)
3139 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3141 * src/hildon-pannable-area.c,
3142 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3143 gtk-dnd-drag-threshold, it was too big. We have defined our own
3144 dnd define and set a smaller value: PANNIG_THRESHOLD.
3146 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3149 user-defined icons, use always the default one.
3151 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3153 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3155 This patch was applied before but reverted because it caused
3156 problems, we have changed the main condition and tested the
3157 regressions we detected before and they work ok.
3159 * src/hildon-pannable-area.c,
3160 (hildon_pannable_area_get_topmost): Added a new parameter to
3161 filter the the windows that do not include those events. Added
3162 also a condition when finding the window to filter windows that do
3163 not ask for those events.
3164 (hildon_pannable_area_button_press_cb),
3165 (hildon_pannable_area_button_release_cb),
3166 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3167 topmost function, we have added the new parameter.
3169 Fixes: NB#97458 (Pannable area prevents propagation of button
3172 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3174 * tests/check-hildon-color-button.c (START_TEST): do not leak
3177 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3179 * src/hildon-font-selection-dialog.c
3180 (hildon_font_selection_dialog_get_preview_text): Return NULL
3181 instead of FALSE on the g_return_val_if_fail().
3183 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3186 * src/hildon-date-selector.c
3187 (hildon_date_selector_select_current_date):
3188 Do not compare unsigned integers to be greater than or equal 0,
3189 because it's always TRUE.
3191 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3194 (hildon_date_selector_constructor): Do not select the current
3195 date until we are handle the "changed" signal, to avoid having bogus
3196 elements in the days model.
3198 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3201 for num_days, since _month_days() can return a negative value.
3203 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3205 * src/hildon-caption.c (hildon_caption_size_allocate):
3206 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3207 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3209 Initialize allocation variables to 0, to avoid eventually using
3210 unitialized variables.
3212 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3214 * src/hildon-bread-crumb-trail.c
3215 (hildon_bread_crumb_trail_size_allocate):
3216 * src/hildon-calendar.c (hildon_calendar_set_background):
3217 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3218 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3219 * src/hildon-seekbar.c (hildon_seekbar_init):
3220 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3221 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3222 * src/hildon-touch-selector-entry.c
3223 (hildon_touch_selector_get_text_from_model):
3224 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3225 * src/hildon-window.c (hildon_window_finalize):
3227 Remove many unused variables.
3229 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3231 * src/hildon-seekbar.c: (hildon_seekbar_init),
3232 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3234 Remove unnecessary g_assert() calls.
3236 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3238 * src/hildon-caption.c: (hildon_caption_expose),
3239 (hildon_caption_set_property), (hildon_caption_init),
3240 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3241 (hildon_caption_size_request), (hildon_caption_size_allocate),
3242 (hildon_caption_forall), (hildon_caption_set_separator),
3243 (hildon_caption_activate), (hildon_caption_set_child_expand),
3244 (hildon_caption_set_label_text),
3245 (hildon_caption_get_label_alignment):
3247 Remove unnecessary g_assert() calls.
3249 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-banner.c
3252 (hildon_banner_map, hildon_banner_init): Make banner temporary
3253 before mapping it to avoid closing other temporary windows, but
3254 make it non-temporary afterwards to avoid being closed by other
3255 non-temporary windows.
3256 (-hildon_banner_client_event, hildon_banner_init):
3257 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3259 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3262 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3264 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3267 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3269 * src/hildon-remote-texture.c
3270 * src/hildon-remote-texture.h
3271 * src/hildon-remote-texture-private.h
3272 * examples/hildon-remote-texture-example.c:
3273 Updates/fixes to remote-texture and its example.
3275 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3277 Patch by Mox Soini (ext-mox.soini@nokia.com)
3279 * src/hildon-code-dialog.c: Update logical id.
3280 * src/hildon-set-password-dialog.c: Update logical id.
3282 Fixes: NB#100646 (Logical strings is shown for ok in set
3283 password,Password needed dialogs)
3285 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3288 * src/hildon-remote-texture.c
3289 * src/hildon-remote-texture.h
3290 * src/hildon-remote-texture-private.h
3292 Added remote texture widget (for Clutter shared memory textures)
3294 * examples/hildon-remote-texture-example.c
3295 * examples/Makefile.am
3296 Added example file for remote texture usage
3298 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3300 * configure.ac: post release version bump.
3301 * debian/changelog: version bump.
3303 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3308 * configure.ac: Bump version.
3309 * debian/changelog: Updates.
3311 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-date-selector.c (hildon_date_selector_init)
3314 (hildon_date_selector_constructor): Don't connect to the "changed"
3315 signal until the selector is completely constructed.
3317 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-touch-selector.c: (_create_new_column),
3320 (hildon_touch_selector_append_column),
3321 (hildon_touch_selector_set_column_selection_mode),
3322 (hildon_touch_selector_set_active),
3323 (hildon_touch_selector_select_iter):
3324 Emit the HildonTouchSelector::changed signal every time selection
3325 is changed in any of the methods above. This behavior was already
3326 documented but not fully functional.
3328 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3329 selection is programmatically changed)
3331 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3333 * doc/hildon-sections.txt: Remove obsolete icon
3334 sizes from here as well.
3336 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3338 * examples/hildon-stackable-window-example.c (add_window): Remove
3341 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3343 * src/hildon-app-menu.c
3344 (hildon_app_menu_show): Check whether the parent window of a menu
3345 is topmost before popping it up.
3347 Fixes: NB#100468 (Application menu window is launched even when a
3348 new secondary-window/dialog is pending to be shown/realized.)
3350 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3352 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3355 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3357 Patch by Mox Soini (ext-mox.soini@nokia.com)
3359 * src/hildon-banner.c: (hildon_banner_show_animation):
3360 use stylus size instead of obsolete note size.
3361 * src/hildon-defines.h: Update icon sizes.
3363 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-touch-selector-entry.c:
3366 (hildon_touch_selector_entry_init): Disable unsupported
3368 (hildon_touch_selector_entry_get_text_column): Emit a warning
3369 if an unsupported input modes is used and explicitile state
3370 these modes in the documentation.
3372 Fixes: NB#99802 (Hildon touch selector entry not working properly
3373 for some of the input modes)
3375 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3377 * src/hildon-pannable-area.c,
3378 (hildon_pannable_area_init): Added the changed signal handlers of
3381 Fixes: NB#100320 (HildonPannableArea does not listen to
3382 GtkAdjustment "change" signals)
3384 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3386 * doc/hildon-sections.txt
3387 * src/hildon-window-private.h
3388 * src/hildon-window.h
3389 * src/hildon-window.c (hildon_window_init)
3390 (hildon_window_realize, hildon_window_unrealize)
3391 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3392 (hildon_window_size_request, hildon_window_size_allocate)
3393 (hildon_window_forall, hildon_window_show_all)
3394 (hildon_window_destroy, +paint_edit_toolbar)
3395 (+hildon_window_set_edit_toolbar):
3396 New hildon_window_set_edit_toolbar() method, to add a
3397 HildonEditToolbar to a window without having to pack it manually.
3399 Reorganize hildon_window_size_allocate()
3401 * src/hildon-edit-toolbar.c: Update documentation.
3403 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3404 example to use the new API.
3406 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3408 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3410 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3411 Remove from stack before calling parent's hide.
3413 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3416 window is removed from the middle of the stack, update the
3417 transiency of the previous one.
3419 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3422 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3424 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3425 block/unblock the signal handler if it's not actually being used.
3426 Fixes some critical warnings.
3428 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3430 Based on a patch by Iván Gómez (igomez@igalia.com)
3432 * src/hildon-banner.c
3436 * src/hildon-pannable-area.c
3437 * src/hildon-picker-dialog.c
3438 * src/hildon-wizard-dialog.h
3439 * src/hildon-wizard-dialog.c: Documentation updates.
3441 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3442 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3444 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3446 * configure.ac: post release version bump.
3447 * debian/changelog: version bump.
3449 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3454 * configure.ac: Bump version.
3455 * debian/changelog: Updates.
3457 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3460 a stock icon nor change the relief of the back arrow.
3462 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3463 graphics from theme)
3465 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-button.c (hildon_button_set_alignment): Use
3468 priv->alignment if the button has no child yet.
3470 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3472 * src/hildon-button.c: (hildon_button_init): Set the
3473 button style during initialization to give it the proper
3476 Fixes: NB#99713 (HildonButton value label color is wrong)
3478 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3480 * src/hildon-touch-selector.c: Document
3481 hildon_touch_selector_center_on_selected()
3483 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3486 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3487 all menu items, but not the menu itself.
3488 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3489 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3490 items after adding them to the menu so keyboard accelerators work.
3491 (hildon_app_menu_show): Don't show the menu if it contains items
3492 but none of them are visible.
3494 * examples/hildon-app-menu-example.c (create_menu): Use
3495 gtk_widget_show_all() to show all menu items.
3497 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3499 * src/hildon-picker-dialog.c:
3500 (-_update_title_on_selector_changed_cb),
3501 (-_dialog_update_title): Removed.
3502 (_select_on_selector_changed_cb), (_on_dialog_response),
3503 (on_selector_columns_changed): Do not update the dialog title.
3504 (setup_interaction_mode): Do not connect to
3505 HildonTouchSelector::changed signal if there's a "done" button, as
3506 the dialog title doesn't need to be updated.
3508 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3511 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3513 Patch by Kristian Rietveld (kris@imendio.com)
3515 * src/hildon-touch-selector.c: (_create_new_column): Use new
3516 GtkTreeView::hildon-row-tapped signal to react to user interactions
3517 instead of ::changed.
3519 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3520 with some dynamic tree model)
3522 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3524 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3525 (+screen_size_changed, +label_size_request)
3526 (hildon_note_class_init): Make the Hildon information note have a
3527 minimum height, and make its text hvae a maximum width.
3529 Fixes: NB#98614 (Hildon information note (background) should have
3530 minimum height and maximum text width)
3532 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3534 * src/hildon-banner.h
3535 * src/hildon-banner.c (hildon_banner_show_information)
3536 (hildon_banner_show_informationf)
3537 (hildon_banner_show_information_with_markup): Update documentation
3538 to reflect that the icon_name parameter is not used anymore.
3539 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3540 Remove all code from these functions and mark them as deprecated.
3541 (hildon_banner_show_progress): Mark as deprecated.
3543 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3545 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3547 * src/hildon-pannable-area.c,
3548 (hildon_pannable_area_class_init),
3549 (tranparency_color),
3550 (hildon_pannable_draw_vscroll),
3551 (hildon_pannable_draw_hscroll),
3552 (hildon_pannable_area_expose_event): Added a new way to render the
3553 scrollbars of the pannable area avoiding using cairo at all. This
3554 way we improve the performance of the pannable area rendering. The
3555 cairo rendering procedure is still in the code, we can control
3556 which one to use changing the value of the define
3557 USE_CAIRO_SCROLLBARS.
3559 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3561 * configure.ac: post release version bump.
3562 * debian/changelog: version bump.
3564 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3569 * configure.ac: Bump version.
3570 * debian/changelog: Updates.
3572 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3574 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3575 banners instead of destroying them when they receive a button
3578 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3580 Reverted commit 34028, it was causing regressions, probably the
3581 topmost condition is not correct, we have to check it in more
3582 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3583 propagation of button press events)
3585 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3587 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3588 that the selection is not empty before attempting to retrieve the
3589 current ampm selection.
3591 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3593 * src/hildon-picker-button.c:
3594 (hildon_picker_button_on_dialog_response): Directly update the
3595 button contents when required instead of calling _selection_changed.
3597 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3599 * src/hildon-program.c (hildon_program_update_top_most): Update
3600 'is-topmost' property also when wm_hints is not set.
3602 Fixes: NB#98383 (is-topmost signal is not emitted when task
3603 switcher is clicked.)
3605 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3607 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3611 * src/hildon-animation-actor.c,
3612 * src/hildon-animation-actor.h: Added the animation actor class,
3613 this widget represents an animation actor for WM-assisted
3614 animation effects in the Hildon framework.
3616 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-window-stack-private.h
3619 * src/hildon-window-stack.c
3620 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3621 Avoid calling gtk_widget_show() again indirectly from
3622 hildon_stackable_window_show()
3624 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3626 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3629 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3631 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3632 (hildon_time_selector_init): Move the construction of the hours and
3633 ampm columns to the constructor to preserve the order the columns
3636 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3638 * src/hildon-picker-dialog.c:
3639 (hildon_picker_dialog_class_init): Connect a realize method.
3640 (+hildon_picker_dialog_realize): Setup the interaction mode here
3642 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3643 yet, do it during the realize instead.
3644 (_on_dialog_response):
3645 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3646 if the widget is not realized, to avoid the dialog response before it
3649 Avoid premature responses in the HildonPickerDialog that can cause it
3650 to be hidden before it's even shown.
3652 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3654 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3655 (on_selector_columns_changed), (requires_done_button),
3656 (+prepare_action_area), (setup_interaction_mode),
3657 (_hildon_picker_dialog_set_selector):
3659 Split the interaction mode setup into preparation of the
3660 action area (prepare_action_area()) and the connection of
3661 the signals in setup_interaction_mode() and update the code to
3664 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-pannable-area.c,
3667 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3668 per second to 15, we will check if this is ok regarding
3671 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3673 * src/hildon-pannable-area.c,
3674 (hildon_pannable_axis_scroll): Avoid resize if we already have
3675 reached overshoot_max.
3677 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3679 * src/hildon-pannable-area.c,
3680 (hildon_pannable_area_init),
3681 (hildon_pannable_area_realize),
3682 (hildon_pannable_area_size_allocate),
3683 (hildon_pannable_area_map),
3684 (hildon_pannable_area_unmap),
3685 (hildon_pannable_draw_vscroll),
3686 (hildon_pannable_draw_hscroll),
3687 (hildon_pannable_area_expose_event),
3688 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3689 pannable are to avoid the expose events go to the window and
3690 redraw the window. We save this way that part of the stack and the
3691 paint_boxes. We had to change the positions of the elements when
3694 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3697 * src/hildon-color-chooser-dialog.c:
3698 (hildon_color_chooser_dialog_init):
3699 * src/hildon-font-selection-dialog.c:
3700 (hildon_font_selection_dialog_init),
3701 (hildon_font_selection_dialog_show_preview):
3702 * src/hildon-get-password-dialog.c:
3703 * src/hildon-login-dialog.c:
3704 * src/hildon-set-password-dialog.c:
3705 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3706 * src/hildon-time-picker.c: (hildon_time_picker_init):
3708 Remove obsolete logical string IDs and update to the appropriate ones.
3710 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3712 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3715 that happens if the window hasn't been realized yet.
3717 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3718 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3720 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3722 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3723 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3726 Fixes: NB#98537 (Device hangs in account settings dialog)
3728 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3730 * configure.ac: post release version bump.
3731 * debian/changelog: version bump
3733 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3738 * configure.ac: Bump version.
3739 * debian/changelog: Updates.
3741 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3743 Added a new function to the HildonTimeButton widget that allows to
3744 change the step of the minutes in the selector associated with the
3745 button: hildon_time_button_new_step
3747 * src/hildon-time-button.c,
3748 (hildon_time_button_init),
3749 (hildon_time_button_new),
3750 (hildon_time_button_new_step):
3751 * src/hildon-time-button.h: Added the new function and refactored
3753 * examples/hildon-time-button-example.c,
3754 (main): We have replaced the function without parameters with the
3755 function with the steps set to 5
3757 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3759 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3761 * src/hildon-time-selector.c,
3762 (hildon_time_selector_class_init),
3763 (hildon_time_selector_constructor),
3764 (hildon_time_selector_get_property),
3765 (hildon_time_selector_set_property),
3766 (_create_minutes_model),
3767 (hildon_time_selector_new_step),
3768 (hildon_time_selector_set_time),
3769 * src/hildon-time-selector.h: Added a new property to the
3770 HildonTimeSelector (minutes-step), we use that property to control
3771 the steps between the minutes in the list of the selector. We have
3772 added a new function to the API to create a widget changing the
3773 step: hildon_time_selector_new_step.
3775 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3777 * src/hildon-time-selector.c,
3778 (hildon_time_selector_class_init),
3779 (hildon_time_selector_constructor),
3780 (hildon_time_selector_init): Overrided the construct function when
3781 creating the time selector object. We have moved the minutes model
3782 handling code from the init to the new construction function:
3783 hildon_time_selector_constructor.
3785 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3787 * examples/hildon-date-button-example.c: (main): Use the new
3788 hildon_date_button_new_with_year_range() method in the example.
3789 * src/hildon-date-button.c:
3790 (+hildon_date_button_new_with_year_range): New public method
3791 to conveniently create a HildonDateButton with a custom year range
3792 in its HildonDateSelector.
3793 * src/hildon-date-button.h: Add the new public method definition.
3795 Fixes: NB#97908 (Not possible to change the year range in
3796 HildonDateSelector/HildonDateButton)
3798 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3800 * src/hildon-date-selector.c:
3801 (+hildon_date_selector_set_property),
3802 (+hildon_date_selector_get_property),
3803 (hildon_date_selector_class_init): Install new properties "min-year"
3804 and "max-year" to define boundaries for the year column.
3805 (_create_year_model): Use the boundary properties to populate the model.
3806 (+hildon_date_selector_new_with_year_range): New public method to
3807 create a HildonDateSelector with a user defined year range.
3808 (hildon_date_selector_select_current_date): Use the new boundaries to
3809 calculate the iterator of current year.
3810 * src/hildon-date-selector.h: Add the new public method definition.
3812 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3815 Install a constructor method.
3816 (+hildon_date_selector_construct_ui): construct the widget.
3817 (+hildon_date_selector_constructor): new constructor.
3818 (+hildon_date_selector_init): move out widget construction code to
3819 the new constructor.
3821 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3823 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3824 that there's actually a month or year selected before obtaining them.
3825 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3826 of the HildonTouchSelector::changed signal, as it was emitted on every
3827 single item selection.
3829 Fix some warnings and possible crashers due to the selection restoring.
3831 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3834 the signal handlers only after creating the dialog instead of on every
3837 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-button.c (hildon_button_init)
3840 * src/hildon-check-button.c (hildon_check_button_init)
3841 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3842 focus when clicked by default.
3844 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3846 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3849 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3851 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3852 Alejandro G. Castro (alex@igalia.com)
3854 * src/hildon-picker-dialog.c:
3855 (hildon_picker_dialog_class_init): install new "center-on-show"
3857 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3858 (hildon_picker_dialog_set_property): add setter code for the new
3860 (hildon_picker_dialog_get_property): add getter code for the new
3862 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3863 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3866 Fixes: NB#92849 (Selected item is not always visible when
3867 HildonTouchSelector is shown)
3869 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3871 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3872 Alejandro G. Castro (alex@igalia.com)
3874 * src/hildon-touch-selector.c:
3875 (_create_new_column): Do not connect to the "realize" signal of the
3877 (hildon_touch_selector_append_column): center on the selected items
3878 when a new column is appended.
3879 (hildon_touch_selector_select_iter): Factor out the code to select a
3880 column to hildon_touch_selector_scroll_to().
3881 (+search_nearest_element): Method to retrieve the nearest selected
3882 element to the visible area of the pannable area in a column.
3883 (+on_realize_cb): scroll to the initially selected item.
3884 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3885 the pannable area is realized, otherwise delay this until it is.
3886 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3887 selected items of a given column.
3888 (+hildon_touch_selector_center_on_selected): Public method to center
3889 all columns on the nearest selected item.
3890 * src/hildon-touch-selector.h: Add definition for
3891 hildon_touch_selector_center_on_selected().
3893 Implement public API to ensure visibility of all selected items in
3894 a HildonTouchSelector.
3896 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3898 Fixed a problem in the fading when calling the scroll_to API, and
3899 improve scrollbar fading handling.
3901 * src/hildon-pannable-area.c,
3902 (hildon_pannable_area_grab_notify): avoid the timeout when the
3904 (hildon_pannable_area_button_press_cb),
3905 (hildon_pannable_area_motion_notify_cb): Code style changes.
3906 (hildon_pannable_area_button_release_cb): Review the conditions
3907 when releasing the mouse button to avoid unrequired fading
3909 (hildon_pannable_area_scroll_to): Do not calculate and set the
3910 velocity if the scroll is not required.
3912 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3915 Don't check whether the new selector is NULL: it cannot be.
3916 Hold a reference to the selector while doing the replacement.
3918 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3921 unnecessary size_request in a removed widget.
3923 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3926 an unnecessary reference tracking that was leaking.
3928 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3930 Added delayed motion notify event handling, this way we can
3931 discard redrawing if more than 25 events arrive per second.
3933 * src/hildon-pannable-area.c,
3934 (hildon_pannable_area_init): Initialized the new private atributes
3935 controlling this timeout
3936 (hildon_pannable_area_dispose): Remove the timeout that controls
3937 the motion notify events.
3938 (hildon_pannable_area_scroll): Added a condition to control the
3939 use of the acceleration.
3940 (hildon_pannable_area_motion_event_scroll_timeout),
3941 (hildon_pannable_area_motion_event_scroll): Added this two
3942 functions, they handle the motion notify events inside the
3944 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3945 to the scroll method with the new function.
3946 (hildon_pannable_area_button_release_cb): We have to remove the
3947 timeout handler and move to the last position if the last motion
3948 events were not handled.
3950 Fixes: NB#97028 (Pannable area updates on every motion event)
3952 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3954 * src/hildon-pannable-area.c,
3955 (hildon_pannable_area_get_topmost): Added a new parameter to
3956 filter the the windows that do not include those events. Added
3957 also a condition when finding the window to filter windows that do
3958 not ask for those events.
3959 (hildon_pannable_area_button_press_cb),
3960 (hildon_pannable_area_button_release_cb),
3961 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3962 topmost function, we have added the new parameter.
3964 Fixes: NB#97458 (Pannable area prevents propagation of button
3967 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-pannable-area.c,
3970 (hildon_pannable_area_initial_effect): Added controls before
3971 launching the timeout and the idle functions.
3972 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
3973 of the method, in some situations it can return with TRUE and 0 in
3975 (hildon_pannable_area_button_press_cb): We do not need to set
3976 DELAY for fading out here.
3978 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
3980 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3982 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
3983 post-cleaning if the selection is not NULL.
3985 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3987 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
3988 all items before restoring the selection.
3990 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-touch-selector.c:
3993 (+hildon_touch_selector_unselect_all):
3994 * src/hildon-touch-selector.h: New API to unselect all items in a
3995 column of the touch selector.
3997 2009-01-14 Alejandro G. Castro <alex@igalia.com>
3999 * src/hildon-pannable-area.c,
4000 (hildon_pannable_area_redraw): Added a call to the refresh
4001 function inside the redraw because apparently in some cases the
4002 change in the adjustment does not imply a size allocate.
4004 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4005 despite the view not being scrollable)
4007 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4009 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4010 leak. Check for NULL before attempting to set the window title.
4012 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4015 whether to show or not the 'Done' button each time the dialog is
4016 shown, as it depends on the HildonTouchSelector selection mode.
4018 Fixes: NB#96226 (In multiple selection mode Done button is shown
4019 sometimes in listpicker)
4021 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4024 for the number of columns in the HildonTouchSelector more than once.
4026 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4028 * src/hildon-touch-selector.c: Minor documentation fixes.
4030 * src/hildon-picker-dialog.c (+_dialog_update_title)
4031 (_select_on_selector_changed_cb)
4032 (_update_title_on_selector_changed_cb)
4033 (on_selector_columns_changed): Update dialog title when there's no
4034 'Done' button and also when the number of columns in the selector
4038 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4039 (+_selection_changed, hildon_picker_button_on_dialog_response)
4040 (hildon_picker_button_selector_selection_changed)
4041 (+hildon_picker_button_selector_columns_changed)
4042 (hildon_picker_button_set_selector): Update button value and emit
4043 'value-changed' when the number of columns in the selector
4047 Fixes: NB#96225 (Dialog titles are not shown according to the
4048 values selected in the list picker)
4050 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4052 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4053 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4054 New "arrow-width" and "arrow-height" style properties to set the
4055 size of the arrow button.
4056 Set name of arrow button ("hildon-edit-toolbar-arrow").
4058 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4059 graphics from theme)
4061 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4063 * src/hildon-picker-button.c:
4064 (hildon_picker_button_selector_selection_changed): Use
4065 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4066 the dialog is present.
4068 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4069 the selection is accepted in the dialog)
4071 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4073 * src/hildon-color-chooser.h
4074 * src/hildon-color-chooser-dialog.h:
4075 Added G_BEGIN_DECLS and G_END_DECLS
4077 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4079 (_clean_current_selection): plug a leak in the list.
4081 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4083 * src/hildon-picker-dialog.c:
4084 (+free_path_list): Method to free a GList of GtkTreePaths.
4085 (_clean_current_selection), (_save_current_selection),
4086 (_restore_current_selection): Save the current selection in
4087 as a list of lists, to support multiple selection properly.
4089 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4091 patch by Claudio Saavedra (csaavedra@igalia.com)
4093 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4094 Store the press position.
4095 (+hildon_text_view_button_release_event): If the release position is
4096 close enough to the press position, move the cursor here. Otherwise,
4098 (hildon_text_view_class_init): Override GtkTextView press, release, and
4099 motion event handlers, disabling this way text selection through
4100 pointer interaction, and allowing the container widget to handle the
4103 Fixes: NB#95828 (HildonTextView functionality)
4105 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4107 Based on a patch by Iván Gómez (igomez@igalia.com)
4109 * src/hildon-button.[ch]
4110 * src/hildon-calendar.c
4111 * src/hildon-check-button.c
4112 * src/hildon-date-editor.c
4113 * src/hildon-date-selector.c
4114 * src/hildon-picker-button.c
4115 * src/hildon-time-editor.c
4116 * src/hildon-time-selector.c
4117 * src/hildon-touch-selector.[ch]:
4118 Documentation updates
4120 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4122 * src/hildon-pannable-area.c,
4123 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4124 threshold, it was required due to X events handling.
4126 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4128 * src/hildon-pannable-area.c,
4129 (hildon_pannable_area_grab_notify),
4130 (hildon_pannable_area_initial_effect),
4131 (hildon_pannable_area_button_press_cb),
4132 (hildon_pannable_area_button_release_cb),
4133 (hildon_pannable_area_scroll_cb),
4134 (hildon_pannable_area_scroll_to): Review the timeout management of
4135 the scrollbar, the frecuency was incorrectly set.
4137 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4139 * src/hildon-picker-button.c:
4140 (+hildon_picker_button_on_dialog_response),
4141 (hildon_picker_button_clicked): Present the dialog instead of
4142 running it with gtk_dialog_run().
4144 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4147 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4149 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4150 (hildon_app_menu_finalize): When a window is hidden it doesn't
4151 emit notify::is-topmost, so make sure than the menu also
4152 disappears in that case.
4153 (parent_window_topmost_notify): Renamed from parent_window_hidden
4155 Fixes: NB#94460 (stackable window's menu is not closed when its
4158 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4160 * src/hildon-touch-selector-entry.c:
4161 (+hildon_touch_selector_entry_set_input_mode),
4162 (+hildon_touch_selector_entry_get_input_mode):
4163 * src/hildon-touch-selector-entry.h: New methods to access the input
4164 mode in the selector's entry.
4166 Fixes: NB#93410 (API required for setting IM mode in
4167 HildonTouchSelectorEntry)
4169 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4171 * configure.ac: post release version bump.
4172 * debian/changelog: version bump
4174 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4179 * configure.ac: Bump version.
4180 * debian/changelog: Updates.
4182 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-touch-selector.c:
4185 (_hildon_touch_selector_has_multiple_selection): No need
4186 to initialize the variables here.
4188 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-note-private.h
4191 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4192 (hildon_note_finalize, hildon_note_rebuild): Close information
4193 notes when they receive a button press.
4195 Fixes: NB#89890 (Information notes does not get disappeared after
4198 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4201 mark from the wizard title, as it's not really necessary. Also,
4202 do not display the page title if not set.
4204 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4206 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4207 (parent_window_hidden): Use the window's "is-topmost" property to
4208 detect when to hide the menu.
4210 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4212 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4213 (hildon_app_menu_finalize): If the parent window of the menu is
4214 hidden, hide the menu too.
4216 Fixes: NB#94460 (stackable window's menu is not closed when its
4219 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4222 * debian/libhildon1-examples.install
4224 * examples/Makefile.am:
4225 Use dh_install to install all examples.
4226 Use DEB_SRCDIR instead of defining SOURCE_DIR
4228 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4230 * configure.ac: post release version bump.
4231 * debian/changelog: version bump
4233 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4238 * configure.ac: bump version
4239 * debian/changelog: updates
4240 * debian/control: bump gtk+ dependency
4242 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4244 patch by Christian Dywan (christian@imendio.com)
4246 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4247 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4249 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-check-button.c (hildon_check_button_init)
4252 (hildon_check_button_class_init, hildon_check_button_style_set)
4253 (hildon_check_button_apply_style):
4254 New "checkbox-size" style property.
4256 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4257 larger / configurable size)
4259 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4261 * configure.ac: post release version bump.
4262 * debian/changelog: version bump
4264 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4269 * configure.ac: bump version
4270 * debian/changelog: updates
4272 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4274 * doc/hildon-sections.txt
4275 * src/hildon-pannable-area.c
4276 * src/hildon-program.c
4277 * src/hildon-time-editor.c
4278 * src/hildon-touch-selector-entry.c:
4280 More documentation updates.
4282 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4284 * doc/hildon-sections.txt
4285 * src/hildon-caption.c
4286 * src/hildon-code-dialog.c
4287 * src/hildon-color-button.c
4288 * src/hildon-controlbar.c
4289 * src/hildon-date-editor.c
4290 * src/hildon-date-selector.c
4291 * src/hildon-edit-toolbar.c
4292 * src/hildon-find-toolbar.c
4293 * src/hildon-font-selection-dialog.c
4295 * src/hildon-program.c
4296 * src/hildon-range-editor.c
4297 * src/hildon-seekbar.c
4298 * src/hildon-time-editor.c
4299 * src/hildon-time-selector.c
4300 * src/hildon-volumebar-range.c
4301 * src/hildon-volumebar.c
4302 * src/hildon-vvolumebar.c
4303 * src/hildon-weekday-picker.c
4304 * src/hildon-window.c
4305 * src/hildon-wizard-dialog.c:
4307 Lots of documentation fixes.
4309 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4311 Patch contributed by Iván Gómez (igomez@igalia.com)
4313 * src/hildon-check-button.c:
4314 * src/hildon-date-button.c:
4315 * src/hildon-date-selector.c:
4316 * src/hildon-dialog.c:
4317 * src/hildon-edit-toolbar.c:
4318 * src/hildon-entry.c:
4319 * src/hildon-picker-button.c:
4320 * src/hildon-program.c:
4321 * src/hildon-text-view.c:
4322 * src/hildon-time-button.c:
4323 * src/hildon-touch-selector-entry.c:
4324 * src/hildon-window-stack.c:
4326 Add more "since" tags to the new API.
4328 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4330 * doc/hildon-sections.txt: Add below method.
4331 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4332 version for the hildonized scale.
4333 * src/hildon-gtk.h: Add the definition.
4335 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4337 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4339 * doc/hildon-sections.txt: Add missing entries for new methods.
4341 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4343 Added API to pannable are in order to get its adjustments. We
4344 added two properties to manage the values we had in the private
4347 * src/hildon-pannable-area.c:
4348 (hildon_pannable_area_class_init): Added hadjustment and
4349 vadjustment properties in order to expose horizontal and vertical
4351 (hildon_pannable_area_get_property),
4352 (hildon_pannable_area_set_property): Added code to handle the new
4354 (hildon_pannable_area_get_hadjustment),
4355 (hildon_pannable_area_get_vadjustment): API functions to get the
4357 * src/hildon-pannable-area.h:
4358 (hildon_pannable_area_get_hadjustment),
4359 (hildon_pannable_area_get_vadjustment): API functions to get the
4362 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4364 Fixed some leaks, after valgrinding.
4366 * src/hildon-touch-selector.c:
4367 (_default_print_func): Fixed a leak.
4368 (hildon_touch_selector_append_column): Fixed a leak.
4369 * src/hildon-date-button.c:
4370 (hildon_date_button_init): Fixed a leak.
4371 * src/hildon-date-selector.c
4372 (hildon_date_selector_finalize): Fixed a leak.
4374 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4376 Based on a patch by Christian Dywan (christian@imendio.com)
4378 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4380 * src/hildon-gtk.h: Add definition.
4382 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4384 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-picker-button.c: (hildon_picker_button_init),
4387 (hildon_picker_button_new): Set the HildonButton::style property
4388 in the init method, to propagate the value to the derived classes.
4390 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-button.c: (hildon_button_class_init): Do not make
4393 the "style" property a construct property.
4395 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-wizard-dialog.h
4398 * src/hildon-wizard-dialog.c
4399 (hildon_wizard_dialog_set_forward_page_func)
4400 * src/hildon-pannable-area.h
4401 * src/hildon-pannable-area.c
4402 (hildon_pannable_area_set_size_request_policy):
4403 Documentation fixes.
4405 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4407 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4409 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4411 * doc/hildon-sections.txt: Added sections file.
4413 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/*.[ch]: Updates.
4418 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4420 * examples/hildon-progress-indicator-example.c: new file
4421 * examples/Makefile.am: include the new example program
4423 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4425 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4427 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4429 * configure.ac: post release version bump
4430 * debian/changelog: version bump
4432 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4437 * configure.ac: bump version
4438 * debian/changelog: updates
4439 * debian/control: bump gtk+ dependency
4441 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4443 * src/hildon-dialog.c: Mark as deprecated.
4444 * src/hildon-dialog.h: Mark as deprecated.
4445 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4446 from HildonDialog and still work, even if
4447 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4448 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4450 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4451 maemo changes) instead)
4453 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4455 * src/hildon-pannable_area.h:
4456 * src/hildon-pannable_area.c:
4457 (hildon_pannable_area_class_init),
4458 (hildon_pannable_area_set_property),
4459 (hildon_pannable_area_get_property),
4460 (hildon_pannable_area_size_request),
4461 (hildon_pannable_area_get_size_request_policy),
4462 (hildon_pannable_area_set_size_request_policy): Added new API
4463 allowing applications to control the request policy. Now they can
4464 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4465 children allocation (HILDON_MOVEMENT_CHILDREN).
4467 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4471 (hildon_gtk_tree_view_set_ui_mode)
4472 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4473 mode of treeviews and iconviews.
4475 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4477 * src/hildon-touch-selector-entry.c:
4478 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4479 of a GtkEntry to get proper theming.
4481 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4482 widget, not GtkEntry)
4484 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4487 no HildonWizardDialogPageFunc.
4489 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4491 Patch contributed by Iván Gómez (igomez@igalia.com)
4493 * src/hildon-app-menu.c:
4494 * src/hildon-button.c:
4495 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4496 * src/hildon-stackable-window.c:
4497 * src/hildon-time-selector.c:
4498 * src/hildon-touch-selector.c:
4499 * src/hildon-window.c:
4501 Add more "since" tags to the new API in hildon 2.2.
4503 2008-12-05 Tim Janik <timj@imendio.com>
4505 Patch contributed by Christian Dywan (christian@imendio.com)
4507 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4508 HildonSizeType, which are supplied by Gtk+ now.
4510 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4512 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4513 (with maemo changes) instead)
4515 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4517 Patch contributed by Iván Gómez (igomez@igalia.com)
4519 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4522 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4524 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4525 (some_page_func), (main): Update the example to use a
4526 HildonWizardDialogPageFunc function.
4528 * src/hildon-wizard-dialog-private.h: Add private data for
4529 the HildonWizardDialogPageFunc function usage.
4531 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4532 (destroy), (hildon_wizard_dialog_init), (response),
4533 (hildon_wizard_dialog_set_forward_page_func):
4534 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4535 that applications can use to stop a HildonWizardDialog to jump to
4538 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4541 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4543 * src/hildon-program.h
4544 * src/hildon-program-private.h
4545 * src/hildon-program.c (hildon_program_init)
4546 (hildon_program_set_common_app_menu)
4547 (hildon_program_get_common_app_menu):
4548 New API for setting a common HildonAppMenu for all
4549 HildonStackableWindows registered with the HildonProgram.
4551 * src/hildon-stackable-window.c
4552 (hildon_stackable_window_toggle_menu):
4553 Use the common HildonAppMenu if a window doesn't have a specific
4556 * src/hildon-app-menu-private.h
4557 * src/hildon-app-menu.c
4558 (hildon_app_menu_get_parent_window):
4559 Function to obtain the window a HildonAppMenu is attached to.
4560 (hildon_app_menu_set_parent_window):
4561 Hide the menu if the parent window is set to NULL.
4563 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4565 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4566 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4567 search widget to popup.
4569 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4571 * configure.ac: post release version bump
4572 * debian/changelog: version bump
4574 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4579 * configure.ac: bump version
4580 * debian/changelog: updates
4582 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4584 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4586 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4587 (hildon_window_stack_window_realized)
4588 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4589 Set the leader GdkWindow when a window is stacked and realized,
4590 unset it when it's unstacked.
4591 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4593 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4595 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-stackable-window.h
4598 * src/hildon-window-stack.h:
4599 Protect definition of HildonWindowStack using the preprocessor.
4601 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4603 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4604 Fix warning if all menu items are hidden.
4606 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4608 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4610 * src/hildon-controlbar.c:
4611 * src/hildon-hvolumebar.c:
4612 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4613 Multiple scale size defines updates.
4615 Fixes: NB#94322 (Scale Updates)
4617 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4619 * examples/hildon-app-menu-example.c (create_menu)
4620 Show items after adding them to the menu, as in the future the
4621 menu will no longer call gtk_widget_show() on the added items.
4623 * src/hildon-app-menu.c:
4624 Update example as explained above.
4626 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-app-menu.c
4629 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4630 Make sure that all menu items have finger height.
4632 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4634 * src/hildon-picker-dialog.c:
4635 (_on_dialog_response), (_save_current_selection),
4636 (_restore_current_selection), (_clean_current_selection),
4637 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4638 Defined new functions in order to save the current internal selector
4639 selection previous open the dialog, in case that the use cancel the
4640 interaction, so the widget restores the previous selection.
4642 Fixes: NB#92032 (In calendar application, date values in 'new event'
4645 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4647 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-button.c: Add a reference to the button examples in
4650 hildon-button-example.c
4652 * examples/hildon-button-example.c: Added examples of the most
4653 common button layouts.
4655 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-app-menu.c (hildon_app_menu_show)
4658 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4660 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4662 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/hildon-picker-dialog.c:
4665 (hildon_picker_dialog_init): Initialize the signal id for
4666 HildonTouchSelector::columns-changed.
4667 (+on_selector_columns_changed): Set up the interaction mode everytime a
4668 column is added or removed from the HildonTouchSelector.
4669 (_hildon_picker_dialog_set_selector): Connect to
4670 HildonTouchSelector::columns-changed and keep track of it.
4672 Make sure to update the interaction mode of the dialog everytime a
4673 column is added or removed in the HildonTouchSelector.
4675 Fixes: NB#93228 (Done button is not shown always in listpicker)
4677 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4679 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4680 a new ::columns-changed signal.
4681 (hildon_touch_selector_append_column): Emit ::columns-changed.
4682 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4684 Add a ::columns-changed signal, emitted when the number of columns in a
4685 HildonTouchSelector changes.
4687 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4689 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4690 (_hildon_picker_dialog_set_selector): Factor out the code
4691 to set up the dialog interaction mode.
4693 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4695 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4696 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4697 to signal_changed_id.
4699 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4701 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4704 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4706 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4707 Updated the logical ids related to ampm format, as now it is required to
4708 show it correctly localized even on languages with no default
4709 abbreviations for am or pm
4710 (_check_am_pm_format): check correctly the 24h format gconf property
4712 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4714 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4716 * src/hildon-button.c: Documentation updates.
4718 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4721 * src/hildon-caption.c: (hildon_caption_class_init):
4722 * src/hildon-color-button.c: (hildon_color_button_class_init):
4723 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4724 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4725 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4726 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4728 Remove deprecated GTK+ marshalers and replace them with the ones
4729 provided by GLib, for those available, add a marshaler for
4730 BOOLEAN:VOID, which is not available in GLib, and use it.
4732 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4734 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4735 the text from the previous column if there is no
4736 HildonTouchSelectorColumn::text-property set.
4738 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4740 * src/hildon-button.h
4741 * src/hildon-button.c (hildon_button_set_property)
4742 (hildon_button_get_property, hildon_button_class_init)
4743 (hildon_button_set_style, hildon_button_get_style):
4744 New "style" property to change the visual appearance of the
4747 * src/hildon-picker-button.c (hildon_picker_button_new):
4748 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4750 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4751 HildonButton look like PickerButton)
4753 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4755 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4756 column while building the default string.
4758 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4761 scroll indicator by default.
4763 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4765 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4767 * src/hildon-main.c: Fix the documentation for hildon_init()
4769 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4771 * doc/hildon-docs.sgml
4775 * src/hildon-window-stack-private.h
4776 * src/hildon-window-stack.h
4777 * src/hildon-window-stack.c:
4778 New HildonWindowStack object, that adds support for multiple
4779 stacks of windows per process.
4781 * src/hildon-stackable-window-private.h
4782 * src/hildon-stackable-window.h
4783 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4784 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4785 (hildon_stackable_window_show, hildon_stackable_window_hide)
4786 (hildon_stackable_window_class_init)
4787 (hildon_stackable_window_init):
4788 Use HildonWindowStack for stack management.
4790 * src/hildon-program.c (hildon_program_pop_window_stack)
4791 (hildon_program_peek_window_stack)
4792 (hildon_program_go_to_root_window):
4793 Add a fallback implementation to the deprecated functions using
4796 * examples/hildon-stackable-window-example.c:
4797 Use the new HildonWindowStack API.
4799 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4801 * src/hildon-stackable-window-private.h
4802 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4803 (hildon_stackable_window_hide, hildon_stackable_window_init):
4804 Remove all window stack management.
4806 * src/hildon-program-private.h
4807 * src/hildon-program.h
4808 * src/hildon-program.c (hildon_program_init)
4809 (hildon_program_pop_window_stack)
4810 (hildon_program_peek_window_stack)
4811 (hildon_program_go_to_root_window):
4812 Remove all window stack management and mark functions as
4815 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4817 * src/hildon-app-menu.c (hildon_app_menu_realize):
4818 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4820 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4822 * configure.ac: post release version bump
4823 * debian/changelog: version bump
4825 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4830 * configure.ac: bump version
4831 * debian/changelog: updates
4833 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4835 Based on initial code by Christian Dywan (christian@imendio.com)
4837 * doc/hildon-docs.sgml: Add section for hildon-main.
4838 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4839 * src/Makefile.am: Add new hildon-main.[ch]
4840 * src/hildon-defines.h: Update the icon sizes.
4841 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4842 new library initialization files and register icon sizes.
4843 * src/hildon-main.h: New declarations.
4844 * src/hildon.h: Include hildon-main.h
4846 Add new initialization functions to the library. These methods
4847 will register the hildon specific icon sizes and can be used in the
4848 future for other hildon specific bits.
4850 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4852 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4854 * src/hildon-window.c: (hildon_window_realize),
4855 (hildon_window_notify), (-hildon_window_update_title): Do not set
4856 the application name in the window title.
4858 Fixes: NB#89754 (Applications shouldn't display their names in the
4861 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4863 * src/hildon-note-private.h:
4864 * src/hildon-note.c: (hildon_note_set_property),
4865 (hildon_note_get_property), (hildon_note_class_init),
4866 (hildon_note_init), (hildon_note_finalize),
4867 (hildon_note_new_confirmation_with_icon_name),
4868 (hildon_note_new_information_with_icon_name):
4870 No need to mark as deprecated the actual code. Revert
4871 to avoid missing symbols in widgets using deprecated API.
4873 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4875 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4877 * src/hildon-volumebar.h
4878 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4879 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4881 * src/hildon-helper.h
4882 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4883 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4885 * examples/Makefile.am:
4886 Deprecate hildon-insensitive-example
4888 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4890 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4892 * examples/hildon-pannable-area-buttons-scroll-example.c:
4893 Make all buttons finger height
4895 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4897 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4899 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4900 update the day model only if it is really required, and to avoid the
4901 full-reconstruction aproach. Now it only add or remove the required days.
4903 The purpose of this is avoid superfluous HildonTouchSelector::changed
4906 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4907 with strange parameters)
4909 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4911 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4913 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4914 the WINDOW_TYPE property.
4916 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4918 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4921 Fix dependency to allow parallel compilation with make -jX
4923 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4925 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4926 color frame and some minor tweaks to make it more consistent with
4929 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4930 highlighted but not visible)
4932 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4934 * examples/Makefile.am: Fixed typo in the Makefile.am.
4936 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4938 Reviewed the use of MAEMO_GTK define, now we add the define in the
4939 compilation line, and we also add it to the pc file.
4941 * configure.ac: Added MAEMO_GTK define to the compilation command
4942 and removed it from the config.h.
4944 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4945 do not have to take care about this define if the library was
4949 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4951 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4953 * examples/Makefile.am,
4954 * examples/hildon-pannable-area-buttons-scroll-example.c,
4955 * examples/hildon-pannable-area-gesture-signals-example.c,
4956 * examples/hildon-pannable-area-scroll-jump-example.c,
4957 * examples/hildon-pannable-area-tree-view-example.c:
4958 Renamed the pannable area examples, now they have more meaningful
4961 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
4963 * src/hildon-touch-selector.c:
4964 (hildon_touch_selector_set_column_selection_mode): Used of
4965 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
4966 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
4967 to avoid re-seting the same selection mode.
4969 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
4970 breaks HildonPickerDialog)
4972 2008-11-13 Alejandro G. Castro <alex@igalia.com>
4974 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
4975 conditional in the Makefile.am
4977 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
4979 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
4980 Remove unused methods.
4982 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-button.c (hildon_button_init):
4985 Make button images center-aligned by default
4987 2008-11-12 Alejandro G. Castro <alex@igalia.com>
4990 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
4991 activated, we have to think about how to deal with both defines
4992 MAEMO_GTK and MAEMO_CHANGES.
4994 2008-11-12 Alberto Garcia <agarcia@igalia.com>
4996 * examples/hildon-app-menu-example.c (create_menu): Make all
4997 buttons finger size.
4999 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5001 Fixed the compilation without maemo gtk adding ifdefs with
5002 MAEMO_GTK define to the code, we have to check this version more
5005 * examples/Makefile.am: Added control to avoid some examples that
5006 just make sense with maemo gtk.
5009 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5010 hildon modes with the define.
5012 * examples/hildon-edit-toolbar-example.c,
5013 (create_icon_view): Create the icon view without hildon-gtk
5014 helpers if we are not using maemo gtk.
5016 * src/hildon-touch-selector.c,
5017 (_create_new_column): Create the treeview without hildon-gtk
5018 helpers if we are not using maemo gtk.
5020 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5022 * src/hildon-pnnable-area.c,
5023 (hildon_pannable_area_dispose),
5024 (hildon_pannable_area_button_press_cb),
5025 (hildon_pannable_area_child_mapped),
5026 (hildon_pannable_area_add),
5027 (hildon_pannable_area_remove): Added code to control the position
5028 of the event_window when adding and removing children from the
5029 pannable. We have to raise the event window when the child is
5032 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5033 selection mode using custom widget inside pannable)
5035 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5037 * configure.ac: post release version bump
5038 * debian/changelog: version bump
5040 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5045 * configure.ac: bump version
5046 * debian/changelog: updates
5048 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5050 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5051 search mode, in order to avoid lose the focus on the treeview when
5052 a hw key (like enter) is pressed.
5054 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5055 in HildonDateSelector dialog)
5057 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5059 * debian/rules: Added --enable-maintainer-mode
5060 * Makefile.am: Added ACLOCAL_AMFLAGS
5062 This allows to properly regenerate the Makefiles if you modify the
5063 configure.ac or any Makefile.am.
5065 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5067 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5068 properties, not needed at all.
5070 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5074 * src/hildon-note.c: (hildon_note_set_property),
5075 (hildon_note_get_property), (hildon_note_class_init),
5076 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5077 (hildon_note_new_confirmation_add_buttons): Remove icons.
5078 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5079 (hildon_note_new_information_with_icon_name): Deprecate.
5080 (hildon_note_new_confirmation): Act directly, without calling
5081 the deprecated constructor.
5082 (hildon_note_new_information): Act directly, without calling
5083 the deprecated constructor.
5084 * src/hildon-note.h: Mark deprecate methods as such.
5085 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5086 not run tests on the deprecated methods if built with deprecation
5089 Fixes: NB#91688 (Never show icons in information notes/confirmation
5092 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5094 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5095 (hildon_app_menu_key_press): Remove leftover usage of the
5096 private structure in HildonAppMenu struct.
5097 * src/hildon-app-menu.h: Remove leftover private structure
5098 from the HildonAppMenu struct.
5100 Fixes a crasher when using the HildonAppMenu.
5102 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-picker-dialog.c: Use appropriate logical id
5105 for the default "Done" text.
5107 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5109 * configure.ac: post release version bump
5110 * debian/changelog: version bump
5112 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5114 Modified the way to scroll to the current selection just when the touch
5115 selector is shown on the screen, avoiding a g_idle. Added too a property
5116 to configure this behaviour. See hildon_pannable_area_jump_to_child
5117 documentation for more information.
5119 * src/hildon-touch-selector.c
5120 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5121 Added 'initial-scroll' property
5122 (hildon_touch_selector_set_property): Added
5123 (hildon_touch_selector_map): Removed as not required anymore
5124 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5125 only a concrete column, instead of iterate along all the columns
5127 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5132 * configure.ac: bump version
5133 * debian/changelog: updates
5135 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5138 compilation time warnings.
5140 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5142 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5143 the default value for HildonPannableArea::mov-mode to
5144 HILDON_PANNABLE_AREA_MODE_VERT.
5146 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5148 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5150 Reverting following commit:
5152 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-app-menu-private.h
5155 * src/hildon-app-menu.[ch]
5156 * src/hildon-button.[ch]
5157 * src/hildon-check-button.[ch]
5158 * src/hildon-entry.[ch]
5159 * src/hildon-pannable-area.[ch]
5160 * src/hildon-text-view.[ch]:
5161 Added private field to the object's structure.
5163 because it causes an ABI breakage. We will need to introduce these
5164 changes later at some point. See NB#91636 for an extensive
5165 explanation and status.
5167 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5169 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5171 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5172 remove special cases that are no longer necessary.
5174 Fixes: NB#91016 (Change toolbar sizes, simplification)
5176 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5179 is shown in the cancel note.
5181 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5184 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5185 (hildon_seekbar_init): Remove steppers, remove expose event.
5186 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5188 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5190 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5192 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5193 label font to "SmallSystemFont" for vertically arranged buttons.
5195 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5198 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-check-button.c
5201 (hildon_check_button_set_active, hildon_check_button_clicked):
5202 Don't access private parts directly, use getters instead.
5204 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-check-button.c (hildon_check_button_new):
5207 Align the contents of the check button to the left.
5209 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5211 * src/hildon-pannable-area.c,
5212 (hildon_pannable_area_scroll_to),
5213 (hildon_pannable_area_jump_to),
5214 (hildon_pannable_area_scroll_to_child),
5215 (hildon_pannable_area_jump_to_child): Replace the mapped
5216 precondition of these functions with the realized, it is the
5217 correct state of the widget in this case. Changed the
5218 documentation according to this modification.
5220 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5222 Added a new EXTRA_CFLAGS option to add the deprecated define to
5223 the compilation command. This way we can avoid using the define in
5224 the documentation compilation.
5226 * configure.ac: Defined EXTRA_CFLAGS.
5228 * examples/Makefile.am:
5230 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5232 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5234 * src/hildon-picker-dialog.c:
5235 Defined a utility macro with the desired touch selector height
5236 Removed currently unused separator, and title_label variables from
5238 (hildon_picker_dialog_init): Removed code related to the creation
5239 of unused private variables title_label and separator.
5240 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5241 to ensure correct visualization of the touch selector inside the dialog.
5242 * src/hildon-touch-selector.c
5243 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5244 ensure a concrete height of the widget.
5246 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5249 * tests/Makefile.am:
5251 Remove spurious whitespaces.
5253 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5255 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5256 compilation warning after the cancel button removal.
5258 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5260 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5262 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5263 Makefile.am, that way we can choose not to compile some examples
5264 and tests of the deprecated widgets.
5266 * examples/Makefile.am: Divided the sources in deprecated and
5269 * src/Makefile.am: Added undef statement of the deprecated
5270 symbol to the enums file generation process.
5272 * src/hildon-color-chooser-dialog.c
5273 * src/hildon-color-chooser-dialog.h
5274 * src/hildon-color-button.c
5275 * src/hildon-color-button.h
5276 * src/hildon-color-chooser.c
5277 * src/hildon-color-chooser.h
5278 * src/hildon-controlbar.c
5279 * src/hildon-controlbar.h
5280 * src/hildon-date-editor.c
5281 * src/hildon-date-editor.h
5282 * src/hildon-hvolumebar.c
5283 * src/hildon-hvolumebar.h
5284 * src/hildon-private.c
5285 * src/hildon-private.h
5286 * src/hildon-range-editor.c
5287 * src/hildon-range-editor.h
5288 * src/hildon-seekbar.c
5289 * src/hildon-seekbar.h
5290 * src/hildon-time-editor.c
5291 * src/hildon-time-editor.h
5292 * src/hildon-time-picker.c
5293 * src/hildon-time-picker.h
5294 * src/hildon-volumebar.c
5295 * src/hildon-volumebar.h
5296 * src/hildon-vvolumebar.c
5297 * src/hildon-vvolumebar.h
5298 * src/hildon-bread-crumb-trail.h
5299 * src/hildon-bread-crumb-trail.c
5300 * src/hildon-calendar-popup.c
5301 * src/hildon-calendar-popup.h
5302 * src/hildon-weekday-picker.c:
5303 * src/hildon-weekday-picker.h:
5304 * src/hildon-bread-crumb-widget.c:
5305 * src/hildon-bread-crumb-widget.h:
5306 * src/hildon-bread-crumb.c:
5307 * src/hildon-bread-crumb.h:
5308 * src/hildon-calendar.c:
5309 * src/hildon-calendar.h:
5310 * src/hildon-caption.c:
5311 * src/hildon-code-dialog.c:
5312 * src/hildon-code-dialog.h:
5313 * src/hildon-font-selection-dialog.c:
5314 * src/hildon-font-selection-dialog.h:
5315 * src/hildon-get-password-dialog.c:
5316 * src/hildon-get-password-dialog.h:
5317 * src/hildon-login-dialog.c:
5318 * src/hildon-login-dialog.h:
5319 * src/hildon-number-editor.c:
5320 * src/hildon-number-editor.h:
5321 * src/hildon-set-password-dialog.c:
5322 * src/hildon-set-password-dialog.h:
5323 * src/hildon-sort-dialog.c:
5324 * src/hildon-sort-dialog.h: This is the list of deprecated
5327 * src/hildon-touch-selector.c:
5328 * src/hildon-window.c: Added undef statement to avoid compilation
5331 * tests/Makefile.am: Divided the sources in deprecated and
5334 * tests/check_test.c,
5335 (configure_tests): Marked the deprecated code that was adding
5336 suites with deprecated tests.
5338 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5340 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5342 * src/hildon-touch-selector.c: (_default_print_func): Do not
5343 duplicate a string returned by gtk_tree_model_get(), it is already
5346 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5349 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5351 * src/hildon-pannable-area.c
5352 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5353 method, it had problems when adding a widget with viewport the
5354 second time. Now checks if it already has a viewport and uses it.
5356 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5359 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5361 * src/hildon-pannable-area.c,
5362 (hildon_pannable_area_scroll_to),
5363 (hildon_pannable_area_jump_to),
5364 (hildon_pannable_area_scroll_to_child),
5365 (hildon_pannable_area_jump_to_child): Added a precondition to the
5366 scroll and jump to functions: the widget must be mapped before we
5367 can safely call these functions. We have also added documentation
5368 to the functions to explain how to use them in this situation.
5371 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5373 Reviewed the threading handling of the pannable widget, we have
5374 used the gdk_threads_add_timeout function instead of the usual
5375 glib handlers. This avoids some problems with the threads.
5377 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5378 (hildon_pannable_area_initial_effect),
5379 (hildon_pannable_area_scroll_indicator_fade),
5380 (hildon_pannable_area_button_press_cb),
5381 (hildon_pannable_area_timeout),
5382 (hildon_pannable_area_motion_notify_cb),
5383 (hildon_pannable_area_button_release_cb),
5384 (hildon_pannable_area_scroll_cb),
5385 (hildon_pannable_area_scroll_to): Removed the
5386 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5387 gdk_threads_add_timeout.
5389 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5391 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5396 * configure.ac: bump version
5397 * debian/changelog: updates
5399 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5402 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5403 * src/hildon-color-chooser-dialog.c:
5404 (hildon_color_chooser_dialog_init):
5405 * src/hildon-font-selection-dialog.c:
5406 (hildon_font_selection_dialog_init):
5407 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5409 Remove all cancel/close-like dialogs, as these are not going to be
5412 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5414 * src/hildon-note.c: (hildon_note_rebuild),
5415 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5418 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5420 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5422 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5423 sure all buttons are shown, even the Cancel/Close-like ones.
5425 Fixes: NB#90861 (Custom Confirmation dialogs should be
5426 protected from cancel button removal)
5428 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5430 * debian/control: Change libhildon1-examples dependency from libhildon1
5432 * debian/libhildon1-examples.install
5434 * Makefile.am: Modified the final install directory for the examples on
5435 package libhildon1-examples
5436 * Makefile.static: Update clean target in order to remove all the binary
5439 Changes suggested by Claudio after review new libhildon1-examples package
5441 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5443 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5444 * src/hildon-touch-selector.c: Ditto.
5446 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5448 * debian/control: Added new package libhildon1-examples, in order to pack
5449 the current hildon examples as documentation
5450 * debian/rules: Not to compress .c files, modify some includes on the
5451 examples (as normally are compiled locally, but when installed it will
5452 require to include the installed libhildon1 library), and rename
5454 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5455 install all the example files on the new example package
5456 * examples/Makefile.static: Added static makefile that can be used to
5457 compile the examples, once installed the new example package
5458 * examples: Most of the examples were modified in order to grant that
5459 all use only '#include "hildon.h"', in order to be easy to prepare
5460 it on the example package
5462 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5465 * debian/libhildon1-dev.install
5466 * debian/libhildon1-doc.install:
5467 Move all gtk-doc files to a separate libhildon1-doc package.
5469 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5471 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5473 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5475 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5477 * debian/rules: Fixed a error in order to avoid unnecessary calls
5478 to autogen.sh on package building
5480 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5482 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5484 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5486 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5489 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5491 * src/hildon-picker-button.c
5492 (hildon_picker_button_finalize):
5493 Free priv->done_button_text
5495 * src/hildon-time-button.c
5496 (hildon_time_button_set_time)
5497 * src/hildon-picker-button.c
5498 (hildon_picker_button_clicked)
5499 (hildon_picker_button_selector_selection_changed)
5500 (hildon_picker_button_set_selector)
5501 * src/hildon-date-button.c
5502 (hildon_date_button_set_date):
5503 Free strings returned by hildon_touch_selector_get_current_text()
5505 * src/hildon-button.c (hildon_button_construct_child):
5506 Fix leaks in priv->image and priv->label_box
5508 Fixes: NB#90535 (Memory leak in picker button)
5510 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5512 * src/hildon-button.c: (hildon_button_get_property): Do not access
5513 private elements directly, use getters instead.
5515 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5517 * src/hildon-app-menu-private.h
5518 * src/hildon-app-menu.c
5519 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5520 Store the menu's parent window.
5522 * src/hildon-stackable-window.c
5523 (hildon_stackable_window_toggle_menu)
5524 (hildon_stackable_window_finalize):
5525 Set the menu's parent window when the menu is shown, unset it when
5528 * src/hildon-app-menu.c
5529 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5530 (hildon_app_menu_class_init):
5531 Send unhandled keyboard accelerators to the parent window.
5533 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5535 * src/hildon-stackable-window.c
5536 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5538 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5540 * configure.ac: post release version bump
5542 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5545 * configure.ac: Bump version
5546 * debian/changelog: Updates
5547 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5550 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5552 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5555 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5556 GtkMenu with Hildon style.
5558 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-picker-button.c:
5561 (hildon_picker_button_set_done_button_text): Set the dialog's
5562 done button text here as well.
5564 Fixes: NB#90232 (Picker button does not set the label on done button
5565 for the second time)
5567 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5569 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5572 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5574 * src/hildon-app-menu.c (hildon_app_menu_insert)
5575 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5576 the HildonAppMenu to be activatable using keyboard accelerators
5577 when the menu is not being shown.
5579 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5581 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-stackable-window.c
5584 (hildon_stackable_window_show):
5585 Don't hide old windows automatically when new windows are shown:
5586 this is now a task for the window manager.
5587 (hildon_stackable_window_class_init)
5588 (hildon_stackable_window_hide):
5589 Remove windows from the stack everytime they're hidden.
5590 (hildon_stackable_window_realize):
5591 Don't change the _NET_WM_WINDOW_TYPE property. Use
5592 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5593 it as a stackable window.
5595 * src/hildon-program.c
5596 (hildon_program_pop_window_stack):
5597 Just hide the window to remove it from the stack.
5598 (hildon_program_go_to_root_window):
5599 Don't call gtk_widget_show(), this is now a task for the window
5602 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5604 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5606 * src/hildon-button.c
5607 (hildon_button_construct_child):
5608 Don't pack anything in the button until text or image are
5609 set. This allows adding a custom child after creating the button
5610 with hildon_button_new().
5611 (hildon_button_finalize, hildon_button_class_init)
5612 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5613 alignment and the label box even when they're not packed in the
5616 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5618 * src/hildon-touch-selector.h:
5619 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5620 currently the type definition was using GTK_TYPE_VBOX
5621 * src/hildon-touch-selector.c:
5622 Added some implementation notes in order to clarify that any other widget
5623 added without the column related API will not be included on the
5624 selection logic, and how the widget is freed, as some people ask about
5626 (hildon_touch_selector_remove): Reimplemented in order to free properly
5627 the column related data when you remove the private hbox.
5628 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5629 to get a proper HildonTouchSelectorColumn documentation
5631 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5633 * src/hildon-touch-selector-entry.c:
5634 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5635 text in the GtkEntry and there is no item selected. Fixes a
5638 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5640 * src/hildon-app-menu-private.h
5641 * src/hildon-app-menu.[ch]
5642 * src/hildon-button.[ch]
5643 * src/hildon-check-button.[ch]
5644 * src/hildon-entry.[ch]
5645 * src/hildon-pannable-area.[ch]
5646 * src/hildon-text-view.[ch]:
5647 Added private field to the object's structure.
5649 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5651 * configure.ac: post-release version bump
5653 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5657 * configure.ac: pre-release version bump
5659 * debian/changelog: updates.
5661 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5664 Disconnect the handler for HildonTouchSelector::changed.
5666 (hildon_picker_button_selector_selection_changed): Update the button
5667 value if the selection change was not triggered by the
5670 (hildon_picker_button_set_selector): connect to
5671 HildonTouchSelector::changed.
5673 Fixes: NB#89650 (Picker button is not updated, when selection in
5674 selector has changed)
5676 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5678 * src/hildon-picker-dialog.c
5679 (hildon_picker_dialog_realize): Removed as not required
5680 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5681 * src/hildon-picker-button.c
5682 (_current_selector_empty): New function, checks if the selector is empty
5683 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5684 if the current selector is empty, in order to avoid to show the dialog
5685 close the dialog in this case (and shows a g_warning).
5687 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5689 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5691 * src/hildon-pannable-area.c,
5692 (hildon_pannable_area_scroll): Added clause to stop movement when
5693 the child of pannable is smaller than one page.
5694 (hildon_pannable_area_scroll_to): Added conditions to avoid
5695 starting the scrolling movement if the child is smaller than one
5696 page, the complete child is in the screen, we do not have to move.
5698 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5700 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5703 this is managed automatically by the widget when the size of the
5706 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5708 * src/hildon-picker-button.c
5709 (hildon_picker_button_set_done_button_text): Make a copy of the
5710 text, and free the previous value.
5712 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5714 * src/hildon-touch-selector-entry.c:
5715 (hildon_touch_selector_entry_print_func): Return the selected row's
5716 text if the entry is empty.
5718 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5721 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5723 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5725 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5728 * src/hildon-check-button.h
5729 * src/hildon-check-button.c
5730 * examples/hildon-check-button-example.c:
5731 HildonCheckButton is now a new widget. 'toggled' signal added.
5733 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5735 * src/hildon-program-private.h
5736 * src/hildon-program.c (hildon_program_init)
5737 (hildon_program_finalize): Removed unused variables group_leader
5738 and name from HildonProgramPrivate.
5740 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-check-button.c (hildon_check_button_set_active)
5743 (hildon_check_button_get_active, hildon_check_button_new): Use
5744 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5746 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5748 * src/hildon-touch-selector.h
5749 (hildon_touch_selector_set_column_attributes): added deprecation
5750 guard HILDON_DISABLE_DEPRECATED
5751 * src/hildon-time-selector.c
5752 (hildon_time_selector_set_time)
5753 (hildon_time_selector_get_time): Fixed a typo on documentation
5754 * src/hildon-touch-selector.c: update HildonTouchSelector and
5755 HildonTouchSelectorColumn documentation
5756 * src/hildon-touch-selector-entry.c: update "text-column" property
5758 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5759 to be added to the general documentation.
5761 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5763 * examples/hildon-pannable-area-example-4.c,
5765 * examples/hildon-pannable-area-example.c,
5766 (main): Modified the code in order to use the container add, with
5767 viewport treeviews could have problems if they are really big.
5769 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5771 * src/hildon-weekday-picker.c,
5772 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5773 the agreement regarding deprecation in the library.
5775 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5777 * examples/hildon-picker-button-multicolumn-example.c:
5778 (main): Use custom "done" button text.
5780 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5781 (hildon_picker_button_set_property),
5782 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5783 (hildon_picker_button_init),
5784 (+hildon_picker_button_get_done_button_text),
5785 (+hildon_picker_button_set_done_button_text): New methods to customize
5786 the "done" button label in the launched HildonPickerDialog. Also,
5789 * src/hildon-picker-button.h: add the public API.
5791 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5793 * src/hildon-date-selector.h:
5794 * src/hildon-picker-dialog.h:
5795 * src/hildon-time-selector.h:
5796 * src/hildon-touch-selector-column.h:
5797 * src/hildon-touch-selector.h:
5799 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5800 declarations. Fixes gtk-doc warnings.
5802 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5804 * src/hildon-picker-dialog.h
5805 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5806 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5808 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5809 long text is set as label for done button)
5811 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-dialog.c (hildon_dialog_add_button):
5814 Set fixed width to all buttons in the HildonDialog.
5816 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5818 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5820 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5821 Set widget name using class name plus "-finger" or "-thumb".
5823 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5825 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5826 'clicked' when the state of the button is manually changed.
5828 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5830 * src/hildon-app-menu.c (hildon_app_menu_realize)
5831 (hildon_app_menu_unrealize, hildon_app_menu_init)
5832 (hildon_app_menu_class_init, item_visibility_changed):
5833 Change the menu layout when the size of the screen changes.
5834 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5835 Show warning only when changing the number of colums using the
5838 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5840 * debian/compat: Set to 5
5841 * debian/control: Update dependencies.
5842 * debian/libhildon1-dbg.install: Remove.
5843 * debian/libhildon1-dev.install: Update according to cdbs paths.
5844 * debian/libhildon1.install: Update according to cdbs paths.
5845 * debian/rules: Switch to cdbs.
5847 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5849 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5850 'item' variable renamed to 'filter'
5852 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5854 * src/hildon-app-menu.c (hildon_app_menu_insert)
5855 (hildon_app_menu_add_filter, remove_item_from_list)
5856 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5857 Don't leak hidden items when the menu is destroyed.
5859 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5861 * src/hildon-app-menu.c (hildon_app_menu_insert)
5862 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5863 (hildon_app_menu_set_columns, item_visibility_changed)
5864 (filter_visibility_changed, hildon_app_menu_repack_filters)
5865 (hildon_app_menu_repack_items):
5866 Repack items and filters separately.
5868 Don't repack all items, change only the ones that are needed to
5871 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5873 * src/Makefile.am: added hildon-touch-selector-column.h
5875 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5877 * src/hildon-touch-selector.c: added the property "text-column" to the
5878 class HildonTouchSelectorColumn, and related get/set functions
5879 (_default_printf_func): updated to use "text-column" property
5880 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5881 "text-column" in his documentation, as this is now included on
5882 HildonTouchSelectorColumn. The get/set_property can still be used,
5883 working as a wrapper to the concrete column "text-column" property
5884 (_text_column_modified): callback added in order to handle the signal
5885 "notify::text-column" of the concrete HildonTouchSelectorColumn
5886 (hildon_touch_selector_entry_get_text_column)
5887 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5888 modified in order to use the HildonTouchSelectorColumn "text-column"
5890 * src/hildon-time-selector.c:
5891 * src/hildon-date-selector.c:
5892 * examples/hildon-touch-selector-example.c
5893 * examples/hildon-touch-selector-multi-cells-example.c
5894 * examples/hildon-picker-button-multicolumn-example.c
5895 Set the right value to "text-column" property on the creation of a new
5896 column using hildon_touch_selector_append_column()
5898 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5900 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-app-menu.c
5903 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5904 updating the layout of the menu, don't create all widgets again,
5905 just repack the items in their new places.
5907 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5909 * src/hildon-time-selector.c
5910 (hildon_time_selector_get_time)
5911 (hildon_time_selector_set_time)
5912 Added documentation of these public methods
5914 * src/hildon-date-button.h
5915 * src/hildon-touch-selector-column.h
5916 * src/hildon-time-button.h
5917 * src/hildon-picker-dialog.h
5918 * src/hildon-time-selector.h
5919 * src/hildon-picker-button.h
5920 * src/hildon-touch-selector.h
5921 * src/hildon-time-picker.h
5922 * src/hildon-date-selector.h
5923 * src/hildon-touch-selector-entry.h
5924 Modified in order to use hildon-widgets code style
5926 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5928 Added deprecated support to the compilation process using
5929 HILDON_DISABLE_DEPRECATED
5931 * configure.ac: Added the --disable-deprecated to the configure
5934 * src/hildon-weekday-picker.c:
5935 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5936 to use the deprecated support. We will update the other deprecated
5937 widgets status in a new patch.
5939 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5941 * configure.ac: Fixed typo with fatal warnings support, the
5942 variable name was not correct
5944 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5946 * src/hildon-app-menu.c
5947 * src/hildon-program.c: Update documentation.
5949 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5951 * configure.ac: Post-release version bump.
5953 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5958 * configure.ac: Pre-release version bump.
5959 * debian/changelog: Updates.
5961 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5963 * NEWS: Update news for previous releases.
5965 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5967 * examples/hildon-touch-selector-multi-cells-example.c:
5968 (create_selector): Update the example to use
5969 hildon_touch_selector_append_column() with a NULL renderer and set
5970 the renderers later.
5971 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
5972 passed a NULL renderer. This is documented behavior now.
5974 Allow passing a NULL renderer to hildon_touch_selector_append_column().
5975 This must be used if the developer wants full control on the layout of
5976 the renderers to be added to the column.
5978 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
5980 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5982 * src/hildon-touch-selector.c: Documentation fixes.
5984 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
5986 * src/hildon-wizard-dialog-private.h: Remove image and box.
5987 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
5988 (hildon_wizard_dialog_set_property), (response): Completely remove
5989 image/icon support, and the containers required for the layout.
5991 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
5993 2008-09-25 Alberto Garcia <agarcia@igalia.com>
5995 * src/hildon-app-menu.c: Updated documentation.
5997 * src/hildon-stackable-window.c
5998 (hildon_stackable_window_set_main_menu): Unref the old menu after
5999 ref'ing the new one.
6001 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6003 * src/hildon-stackable-window.c
6004 (hildon_stackable_window_set_main_menu): Unref the previous menu
6005 instead of destroying it.
6007 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6008 floating reference and set has_user_ref_count to FALSE to make
6009 HildonAppMenu act like a normal ref-counted widget and not a
6012 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6015 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6017 * src/hildon-touch-selector-column.h: new file
6018 * src/hildon-touch-selector.h
6019 * src/hildon-touch-selector.c
6020 Implemented GtkCellLayout interface, in order to allow to configure
6021 the cell layout on each individual selector column
6022 (hildon_touch_selector_set_column_attributes): marked as deprecated
6023 * examples/hildon-touch-selector-multi-cells-example.c
6024 Example of how to use the GtkCellLayout interface on the selector
6026 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6028 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-app-menu.h
6031 * src/hildon-app-menu.c
6032 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6033 (hildon_app_menu_append, hildon_app_menu_prepend):
6034 New methods to prepend, insert and move items in the menu.
6036 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6038 * src/hildon-wizard-dialog.c:
6040 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6042 (create_title): Update logical IDs and related code.
6043 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6045 * src/hildon-wizard-dialog.h: Note that
6046 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6047 point, as it is not used anymore.
6049 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6051 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6053 * src/hildon-note.c:
6054 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6055 shown. Do not display an icon in confirmation notes nor information
6057 (hildon_note_set_button_text): Update logical ID for cancel button.
6059 Fixes: NB#88850 (Update HildonNote button strings + signals)
6061 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6063 * src/hildon-stackable-window.c
6064 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6066 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6068 * src/hildon-app-menu-private.h
6069 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6070 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6071 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6072 temporary property 'columns' to change the number of columns.
6074 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6076 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6078 * examples/hildon-note-example.c: (on_information_clicked),
6079 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6080 debugging information.
6081 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6083 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6084 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6085 in order to close: this will be handled by the WM from now on.
6087 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6089 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6091 * src/hildon-app-menu-private.h
6092 * src/hildon-app-menu.c
6093 (hildon_app_menu_append, hildon_app_menu_add_filter)
6094 (button_visibility_changed, hildon_app_menu_apply_style)
6095 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6096 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6097 layout everytime a button (item or filter) is shown or hidden.
6099 * src/hildon-stackable-window.c
6100 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6103 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6105 * src/hildon-touch-selector.c:
6106 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6107 that the treeview inside the touch selector is in fremantle hildon mode
6108 * examples/hildon-date-button-example.c
6109 * examples/hildon-picker-button-multicolumn-example.c
6110 * examples/hildon-touch-selector-entry-example.c
6111 * examples/hildon-touch-selector-example.c
6112 * examples/hildon-time-button-example.c
6113 * examples/hildon-picker-button-example.c:
6114 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6116 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6118 * examples/hildon-text-view-example.c: (main): Remove the
6119 gtkrc bits, now handled by the theme.
6121 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6123 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6126 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6128 * po/Makefile.am: Install properly the mo files.
6129 * po/en_GB.po: Update translation, to ease testing purposes.
6131 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6133 * examples/hildon-picker-button-example.c: (main): Select an item
6134 in the selector before setting it to the button.
6136 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6138 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6139 Update button's value if the selector has an item active.
6141 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6142 'value' with the selector)
6144 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6146 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6147 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6148 (hildon_picker_button_class_init): Plug the finalize method.
6149 (hildon_picker_button_set_selector): If there's a previously set
6150 selector, unref'it before setting a new one.
6152 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6153 HildonTouchSelector)
6155 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6157 * src/hildon-touch-selector-entry.c:
6158 (hildon_touch_selector_entry_changed): Check if there is no text
6159 selected before setting the entry text.
6162 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6164 * src/hildon-touch-selector.h
6165 * src/hildon-touch-selector.c
6166 (hildon_touch_selector_get_active)
6167 (hildon_touch_selector_set_active): New methods to set/get the
6168 index of the selected item.
6170 * src/hildon-picker-button.h
6171 * src/hildon-picker-button.c
6172 (hildon_picker_button_get_active)
6173 (hildon_picker_button_set_active): New methods to set/get the
6174 index of the selected item.
6176 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6178 * configure.ac: post-release version bump.
6180 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6184 * configure.ac: Pre-release version bump.
6185 * debian/changelog: Updates.
6186 * debian/control: Add myself as maintainer and depend on l10n
6189 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6191 * src/hildon-window.c
6192 (hildon_window_set_main_menu)
6193 * src/hildon-stackable-window.c
6194 (hildon_stackable_window_set_main_menu):
6195 Updated documentation.
6197 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6199 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6200 Don't free selector->priv manually.
6203 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6206 (hildon_gtk_window_set_progress_indicator):
6207 * src/hildon-gtk.h: Added the new API
6208 hildon_gtk_window_set_progress_indicator, it changes the state of
6209 the window progress hint.
6211 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-button.c
6214 * src/hildon-stackable-window.c: Minor documentation updates.
6216 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6218 * src/hildon-stackable-window.c: Updated documentation.
6220 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6222 * src/hildon-defines.h: Update margins definitions
6223 to the Fremantle sizes.
6226 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6228 * src/hildon-touch-selector.c,
6229 (_hildon_touch_selector_set_model): Cleaning the code after
6230 review, removed g_print and #if 0 from the code.
6232 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6234 * src/hildon-edit-toolbar.c: Update documentation.
6236 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-check-button.h
6239 * src/hildon-check-button.c
6240 (hildon_check_button_set_label, hildon_check_button_get_label)
6241 * examples/hildon-check-button-example.c
6242 (button_clicked_cb):
6243 Removed deprecated methods.
6245 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6247 * src/hildon-text-view.c:
6248 Add sample code to the documentation.
6250 * src/hildon-entry.h
6251 * src/hildon-text-view.h:
6252 Minor cosmetic changes.
6254 * src/hildon-entry.c:
6255 Add sample code to the documentation.
6256 (hildon_entry_init, hildon_entry_refresh_contents):
6257 Don't allow NULL values in the placeholder.
6259 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6261 * doc/hildon-docs.sgml
6263 * examples/Makefile.am
6264 * examples/hildon-text-view-example.c
6266 * src/hildon-text-view.c
6267 * src/hildon-text-view.h
6269 New HildonTextView widget, with example.
6271 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6273 * po/POTFILES.in: Add missing files with translatable strings.
6274 Partially fixes NB#88287.
6276 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6278 * examples/hildon-pannable-area-example-2.c: (main): No need to
6279 set the cellrenderer height inside hildon touch lists, the theme does
6282 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6284 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6285 they are integrated in the theme.
6287 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6289 * examples/hildon-entry-example.c: Update the example adding
6290 widgets to modify the text and the placeholder of the HildonEntry.
6292 * src/hildon-entry.c: Show the placeholder everytime the widget
6293 is empty and loses the focus.
6295 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6297 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6299 * src/hildon-pannable-area.c,
6300 (hildon_pannable_area_size_request): Fixed bug in height
6301 requisition, avoid increasing size and add border twice.
6303 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6305 * configure.ac: postrelease version bump.
6307 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6311 * configure.ac: Prerelease version bump.
6312 * debian/changelog: update.
6313 * debian/rules: make -dbg package contain useful debugging symbols.
6315 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6317 * src/hildon-dialog.h
6318 * src/hildon-dialog.c
6319 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6320 New methods to add buttons with finger size.
6321 (hildon_dialog_new_with_buttons):
6322 Create buttons with finger size.
6324 * examples/hildon-dialog-example.c (main): Use HildonDialog
6325 methods to add buttons.
6327 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-entry.c: Updated HildonButton documentation.
6331 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6333 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6334 button value label with (FALSE, FALSE) to prevent NB#88126 from
6337 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6339 * examples/hildon-pannable-area-example.c,
6340 (main): Removed examples panning a vbox inside a pannable
6341 area. Check bug NB#87965
6343 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6345 Patch contributed by Kris Rietveld (kris@imendio.com)
6347 * src/hildon-pannable-area.c,
6348 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6349 get_size and get_position, this saves an X server roundtrip.
6351 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6353 * doc/hildon-docs.sgml
6355 * examples/Makefile.am
6356 * examples/hildon-entry-example.c
6358 * src/hildon-entry.c
6359 * src/hildon-entry.h
6361 New HildonEntry widget, with example.
6363 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6365 * src/hildon-button.c (hildon_button_construct_child): Pack the
6366 image with expand == fill == FALSE. This is a workaround for a bug
6369 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6371 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6372 labels for the text column, to make it more look more dynamic.
6374 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6376 * src/hildon-time-selector.c
6377 Define gettext auxiliar macro N_
6378 (_create_minutes_model)
6379 (_create_hours_model)
6380 (_create_ampm_model): use of strftime in order to fill the model
6381 * src/hildon-date-selector.c
6382 (hildon_date_selector_finalize):
6383 (_locales_init): remove the logic related to get the name of the months
6384 using nl_langinfo, as it is not required anymore
6386 (_create_year_model)
6387 (_create_month_model)
6388 (_update_day_model): use of strftime in order to fill the model properly
6391 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6393 * src/hildon-button.h
6394 * src/hildon-button.c (hildon_button_get_image): New method to
6397 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6399 * src/hildon-touch-selector.c:
6400 (hildon_touch_selector_remove_column): Remove from the correct parent
6401 and also remove the list element and free it.
6404 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6406 * src/hildon-time-selector.c
6407 (_create_hours_model): change the range on 12h ampm format in order to use
6408 a 12-11 range instead of previous 01-12 range
6409 (hildon_time_selector_set_time): change the way to select the current time
6410 on 12h ampm format, due the change on the range
6411 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6414 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6416 * src/hildon-touch-selector.c
6417 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6418 in order to allow use this function on multiple row selection mode if
6419 the column is different that the first one
6422 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6424 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6425 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6427 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6429 * src/hildon-date-selector.h: clean some comments, now on the .c
6430 * src/hildon-date-selector.c
6431 (hildon_date_selector_select_month): first implementation
6432 (hildon_date_selector_select_day): added documentation, reimplemented
6433 using hildon_date_selector_select_current_date to avoid repeat code
6436 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6438 Reviewed interaction logic based on device experiences, refactored
6441 * src/hildon-pannable-area.c,
6442 (hildon_pannable_area_class_init): Updated default vmax speed.
6443 (hildon_pannable_area_calculate_velocity): Added this function, it
6444 avoids duplicate valocity calculation. Adjusted calculation to
6445 avoid problems with zero dist events.
6447 (hildon_pannable_area_motion_notify_cb): Now we use the
6448 calculate_velocity function.
6450 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6452 * src/hildon-date-selector.c
6453 (hildon_date_selector_select_current_date): fix the day range check
6454 as it failed using the last day of the current month
6457 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6459 * src/hildon-touch-selector.c
6460 (hildon_touch_selector_get_num_columns): added a parameter validation
6463 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6465 * examples/Makefile.am
6466 * examples/hildon-edit-toolbar-example.c: Example of the
6467 HildonEditToolbar widget.
6469 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6471 * configure.ac: postrelease version bump.
6473 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6477 * configure.ac: prerelease version bump.
6478 * debian/changelog: update.
6480 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6482 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6483 renderer to display stock icons in the touch list. Also, set the sizes
6484 to the recommended in the style guide.
6486 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6487 * src/hildon-touch-selector.h
6488 (hildon_touch_selector_set_active_iter): renamed, now is
6489 hildon_touch_selector_select_iter
6490 (hildon_touch_selector_get_active_iter): renamed, now is
6491 hildon_touch_selector_get_selected
6492 (hildon_touch_selector_unselect_iter): added
6493 * src/hildon-touch-selector.c
6494 Update after API modification (methods renamed)
6495 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6496 order to avoid problems selecting multiple elements on the column
6497 (hildon_touch_selector_unselect_iter): added the implementation
6498 * src/hildon-time-selector.c
6499 * src/hildon-date-selector.c
6500 * src/hildon-touch-selector-entry.c
6501 Update methods calls after hildon-touch-selector.h API modification (methods
6504 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6506 * src/hildon-stackable-window.c
6507 (hildon_stackable_window_finalize): Call the parent class's finalize.
6509 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6511 * examples/hildon-touch-selector-example.c: (create_selector): Use
6512 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6515 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6517 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6518 set a cell background color, to respect theming.
6520 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6522 * doc/hildon-docs.sgml
6525 * src/hildon-edit-toolbar.c
6526 * src/hildon-edit-toolbar.h
6527 * src/hildon.h: New HildonEditToolbar widget.
6529 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6531 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6534 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6535 * src/hildon-touch-selector.c
6536 (_create_new_column): use g_object_set instead of two g_object_set_property
6538 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6539 * src/hildon-touch-selector.c
6540 (_create_new_column): use of hildon_gtk_tree_view_new to create
6541 the treeview, instead of use directly g_object_new
6542 (_create_new_column): update the property name "vindicator-mode" for the
6543 new one "vscrollbar-policy"
6544 * examples/hildon-date-button-example.c
6545 * examples/hildon-picker-button-multicolumn-example.c
6546 * examples/hildon-touch-selector-entry-example.c
6547 * examples/hildon-touch-selector-example.c
6548 * examples/hildon-time-button-example.c
6549 * examples/hildon-picker-button-example.c
6550 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6551 to all the treeviews inside a pannable area.
6553 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-button.h
6556 * src/hildon-button.c (hildon_button_init)
6557 (hildon_button_set_arrangement, hildon_button_set_alignment)
6558 (hildon_button_set_title_alignment)
6559 (hildon_button_set_value_alignment)
6560 (hildon_button_set_image_alignment)
6561 (hildon_button_construct_child): New methods to set the alignment
6562 of the individual components of the button (title, value,
6563 image). Also, new method to alter the xscale and yscale properties
6564 of the GtkAlignment inside the button, so more complex layouts can
6567 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6569 * src/hildon-button.c (hildon_button_style_set)
6570 (hildon_button_class_init, hildon_button_set_arrangement)
6571 (hildon_button_construct_child): Apply style properties
6572 correctly. Use the 'image-spacing' style property too.
6574 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6576 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6577 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6580 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6582 * src/hildon-pannable-area.c,
6583 (hildon_pannable_area_size_request): Fixed problem with
6584 pannable-area size_request.
6586 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6588 Added management for the grab-focus to a child widget, like a
6589 range, we need to fade out the scrollbar when releasing.
6591 * src/hildon-pannable-area.c,
6592 (hildon_pannable_area_init): Connected the grab-focus signal to
6594 (hildon_pannable_area_grab_notify): Added this function in order
6595 to manage the situation when the grab-focus ends. We have to
6596 fade-out the scrollbar.
6598 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6600 * src/hildon-app-menu.c: Minor documentation update.
6602 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6604 * src/hildon-app-menu.c
6605 * examples/hildon-app-menu-example.c (create_menu): Update
6606 examples and documentation to explain how to connect callbacks.
6608 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6610 * examples/hildon-button-example.c
6611 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6612 hildon_stackable_window_new instead of gtk_window_new
6614 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6616 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6617 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6618 (hildon_pannable_area_set_property),
6619 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6620 (hildon_pannable_area_unrealize),
6621 (hildon_pannable_area_size_request),
6622 (hildon_pannable_area_size_allocate),
6623 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6624 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6625 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6626 (hildon_pannable_area_initial_effect),
6627 (hildon_pannable_area_redraw),
6628 (hildon_pannable_area_scroll_indicator_fade),
6629 (hildon_pannable_area_expose_event),
6630 (hildon_pannable_area_get_topmost), (synth_crossing),
6631 (hildon_pannable_area_button_press_cb),
6632 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6633 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6634 (hildon_pannable_area_motion_notify_cb),
6635 (hildon_pannable_area_button_release_cb),
6636 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6637 (hildon_pannable_area_remove),
6638 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6639 chage the code layout to a more GtkWidget like. Review the use of
6642 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6644 * examples/hildon-pannable-area-example-4.c,
6645 (main): Modified the name of the hindicator_mode to
6648 * src/hildon-pannable-area.c,
6649 (hildon_pannable_area_class_init),
6650 (hildon_pannable_area_motion_notify_cb),
6651 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6652 we have reduced the amount of signals and managed reviewed its
6653 rationale. Changed the default decelerate value.
6655 (hildon_pannable_area_add),
6656 (hildon_pannable_area_redraw): Refactored functions.
6658 (hildon_pannable_area_init),
6659 (hildon_pannable_area_get_property),
6660 (hildon_pannable_area_set_property):
6661 (hildon_pannable_draw_vscroll),
6662 (hildon_pannable_draw_hscroll),
6663 (hildon_pannable_area_initial_effect),
6664 (hildon_pannable_area_expose_event),
6665 (hildon_pannable_area_scroll),
6666 (hildon_pannable_area_button_press_cb),
6667 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6668 and vindicator_mode with hscrollbar_policy and
6669 vscrollbar_policy. Replaced hscroll and vscroll with
6670 hscroll_visible and vscroll_visible.
6672 (hildon_pannable_area_refresh): Refactor the function, remove
6673 variables and check the calls to this function, added resize
6674 conditions in case the children change their layout.
6676 (hildon_pannable_area_size_request): Added more detailed
6677 size_request calculation.
6680 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6682 * src/hildon-color-chooser.c
6683 (init_borders): use the correct gtk_border_free instead of g_free, to
6684 avoid a crash when this widget is used (ie: the three color selection
6687 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6689 * src/hildon-check-button.c,
6690 (hildon_check_button_set_active): Fixed problem when setting the
6691 active value, the widget was not redrawn.
6693 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6695 * src/hildon-pannable-area.c,
6696 (hildon_pannable_area_refresh),
6697 (hildon_pannable_area_scroll),
6698 (hildon_pannable_area_motion_notify_cb): Small code style change.
6700 (hildon_pannable_area_class_init): Default initial_hint set to
6701 FALSE, it is not in the specs.
6703 (hildon_pannable_area_initial_effect),
6704 (hildon_pannable_area_expose_event),
6705 (hildon_pannable_area_map),
6706 (hildon_pannable_area_init): Moved the launching point of the
6707 initial effect, it was in map but the sizes where not correct in
6708 that method so we do not know if we have the reproduce it. Now it
6709 is placed in the expose_event method and uses a variable to
6710 reproduce it just once.
6712 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6714 * src/hildon-pannable-area.c,
6715 (hildon_pannable_draw_vscroll),
6716 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6717 position allowed for the scrollbars.
6719 (hildon_pannable_area_size_allocate): Small style change.
6721 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6723 * src/hildon-pannable-area.c,
6724 (hildon_pannable_area_scroll_indicator_fade),
6725 (hildon_pannable_area_button_press_cb),
6726 (hildon_pannable_area_button_release_cb),
6727 (hildon_pannable_area_scroll_cb),
6728 (hildon_pannable_area_expose_event),
6729 (hildon_pannable_area_init): Added the define parameter
6730 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6731 and refactor the fade variable.
6733 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6735 * src/hildon-pannable-area.c,
6736 (hildon_pannable_area_redraw),
6737 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6738 lines, we were reimplemeting the redraw code.
6740 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6742 * src/hildon-pannable-area.c,
6743 (hildon_pannable_area_scroll_cb),
6744 (hildon_pannable_area_realize),
6745 (hildon_pannable_area_class_init): Added scroll_event management
6746 for pannable area, now we can scroll the usual desktop method.
6748 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6749 initialization of the parameters should depend on idle_id.
6751 (hildon_pannable_area_init),
6752 (hildon_pannable_area_map): Small code style modifications
6754 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6756 * src/hildon-pannable-area.c
6757 (hildon_pannable_area_button_press_cb),
6758 (hildon_pannable_area_motion_notify_cb),
6759 (hildon_pannable_area_button_release_cb),
6760 (hildon_pannable_area_size_allocate),
6761 (hildon_pannable_area_scroll_to): Improved the timeouts
6762 management, we avoid creating them each time.
6764 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6766 * src/hildon-pannable-area.c:
6767 (hildon_pannable_area_refresh),
6768 (hildon_pannable_area_motion_notify_cb),
6769 (hildon_pannable_area_class_init):
6770 * src/hildon-pannable-area.h:
6771 * src/hildon-touch-selector.c
6772 (_create_new_column):
6773 * examples/hildon-pannable-area-example-4.c:
6774 (horizontal_movement),
6775 (vertical_movement),
6777 Replaced the names of enums in the HildonPannableArea:
6778 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6779 HILDON_MOVEMENT_MODE_*
6780 - HILDON_PANNABLE_AREA_MOV_* ->
6782 - Removed HildonPannableAreaIndicatorMode, now we
6785 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6787 * examples/hildon-pannable-area-touch-grid-example.c
6788 * examples/hildon-pannable-area-touch-list-example.c: Fix
6789 compilation warnings.
6791 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6793 * src/hildon-gtk.c (hildon_gtk_button_new)
6794 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6795 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6796 images overriding the value of the "gtk-button-images" setting.
6798 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6800 * src/hildon-check-button.c (hildon_check_button_new):
6801 Instead of using a custom container, display the label and the
6802 checkbox using the standard GtkButton API.
6804 * examples/hildon-check-button-example.c (main): Don't use
6805 hildon_check_button_set_label() anymore
6807 * src/hildon-check-button.h
6808 * src/hildon-check-button.c
6809 (hildon_check_button_set_label, hildon_check_button_get_label):
6810 Set as deprecated, now we're using gtk_button_{get,set}_label()
6812 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6814 * src/hildon-pannable-area.c,
6815 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6816 GtkTreeview first line we detected it after the inclusion of the
6817 GtkWindowImpl in gtk+. We now check if the window is visible, not
6818 just if the pointer is over the window.
6819 (hildon_pannable_axis_scroll),
6820 (hildon_pannable_area_expose_event): Small style changes.
6822 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6824 * src/hildon-button.c: Update documentation.
6826 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6828 * examples/hildon-button-example.c: Add a switch to show images in
6831 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6833 * doc/hildon-docs.sgml: Some docs reorganization.
6835 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6837 * examples/hildon-pannable-area-touch-list-example.c
6839 * examples/hildon-pannable-area-touch-grid-example.c
6840 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6841 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6842 Fix memory leak when setting the tree model.
6844 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6848 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6850 * doc/hildon.types: Remove duplicated hildon_window_get_type
6851 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6852 documentation comment.
6854 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6856 * doc/Makefile.am: Complete list of private headers.
6858 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6860 * doc/hildon-docs.sgml
6861 * src/hildon-app-menu.c
6862 * src/hildon-bread-crumb.c
6863 * src/hildon-button.c
6865 * src/hildon-program.c
6866 * src/hildon-stackable-window.c
6867 * src/hildon-window.c: Lots of documentation updates.
6869 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6871 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6873 * configure.ac: Require Gtk+ 2.12.9 at least
6875 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6877 * src/hildon-pannable-area.c
6878 (hildon_pannable_area_scroll_indicator_fade),
6879 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6880 to protect the return of this timeout callbacks, avoiding deadlocks.
6882 2008-08-12 Christian Dywan <christian@imendio.com>
6885 * src/hildon-*.h: Ensure a consistent include order,
6886 include <gtk/gtk.h> instead of particular files and
6887 only include the topmost header in the gtk stack. See NB #39857
6889 2008-08-12 Christian Dywan <christian@imendio.com>
6891 * src/hildon-picker-dialog.c
6892 * src/hildon-touch-selector.c: Fix warnings about unused and
6893 uninitialized variables.
6895 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6897 * examples/Makefile.am
6898 * examples/hildon-check-button-example.c: Example of the hildon
6901 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6903 * src/hildon-window.h
6904 * src/hildon-window.c (hildon_window_class_init)
6905 (hildon_window_unset_program): Don't make
6906 hildon_window_unset_program a virtual function anymore.
6908 * src/hildon-stackable-window.c: Update documentation
6910 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6913 * doc/hildon-docs.sgml
6914 * doc/visual_index.xml
6915 * src/hildon-defines.c
6917 * src/hildon-helper.c
6918 * src/hildon-range-editor.c: Lots of documentation fixes.
6920 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6922 * examples/hildon-picker-button-multicolumn-example.c
6923 (create_touch_selector): Fix compilation warning.
6925 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6927 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6928 (hildon_pannable_area_button_release_cb)
6929 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6931 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6933 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6936 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6938 * src/hildon-bread-crumb-trail.h
6939 * src/hildon-date-editor.c
6940 * src/hildon-date-selector.c
6941 * src/hildon-pannable-area.c
6942 * src/hildon-picker-dialog.c
6943 * src/hildon-time-selector.c
6944 * src/hildon-touch-selector-entry.c
6945 * src/hildon-touch-selector.c
6946 * src/hildon-touch-selector.h: Misc documentation fixes
6948 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6950 * examples/hildon-date-editor-example.c (main): Updated date
6953 * examples/hildon-note-example.c (on_confirmation_clicked):
6954 Updated confirmation note example.
6956 * src/hildon-date-editor.c
6957 * src/hildon-note.c: Updated sample programs in documentation.
6960 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6962 * src/hildon-date-button.h:
6963 * src/hildon-picker-button.h:
6964 * src/hildon-time-button.c:
6965 * src/hildon-time-button.h:
6967 Some declarations changes to allow gtk-doc to document the widgets
6970 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6972 * src/hildon-date-button.c: Document the widget.
6973 * src/hildon-time-button.c: Document the widget.
6975 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
6977 * src/hildon-picker-button.c: Document the widget.
6978 * src/hildon-touch-selector-entry.c: Document the widget.
6980 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6982 * doc/hildon-docs.sgml
6985 * src/hildon-check-button.h
6986 * src/hildon-check-button.c: New functions to create the Hildon
6990 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
6992 2008-08-08 Alberto Garcia <agarcia@igalia.com>
6994 * src/hildon-button.h
6995 * src/hildon-button.c
6996 (hildon_button_add_title_size_group)
6997 (hildon_button_add_value_size_group)
6998 (hildon_button_add_image_size_group)
6999 (hildon_button_add_size_groups): New functions to set size groups
7000 for the button labels and image.
7001 (hildon_button_new_full): Removed
7003 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7005 * src/hildon-time-selector.c
7006 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7007 in order to avoid a crash if gconf is not available
7009 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7011 * src/hildon-button.c (hildon_button_set_arrangement)
7012 (hildon_button_construct_child): Don't construct the button child
7013 before setting the arrangement.
7015 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7017 * src/hildon-program-private.h
7018 * src/hildon-program.c
7019 * src/hildon-program.h
7020 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7021 (hildon_program_peek_window_stack)
7022 (hildon_program_pop_window_stack)
7023 (hildon_program_go_to_root_window): HildonProgram now has a
7024 separate list for stackable windows. Functions are provided to
7025 manage that list with a stack-like API.
7027 * src/hildon-stackable-window.c: Stackable window management is
7028 now much simpler with the new HildonProgram API. Windows no
7029 longer need to be manually added to the program, they're
7030 automatically pushed to the top of the stack when shown.
7032 * examples/hildon-stackable-window-example.c: Updated example to
7033 reflect the API changes.
7035 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7037 * src/hildon-touch-selector.c: Comment out unimplemented
7038 hildon_touch_selector_insert_column() to avoid a compile warning.
7040 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7042 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7043 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7044 (hildon_touch_selector_set_column_selection_mode),
7045 (_hildon_touch_selector_set_model),
7046 (hildon_touch_selector_set_model):
7048 Complete review of HildonTouchSelector documentation.
7050 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7052 * doc/hildon-docs.sgml
7056 * src/hildon-gtk.c: Convenience functions for standard Gtk
7057 widgets, used to easily perform frequent operations.
7059 * src/hildon-button-helpers.h
7060 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7062 * src/hildon-helper.h
7063 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7064 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7066 * src/hildon-button.h
7067 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7069 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7071 * src/hildon-button.c (hildon_button_init)
7072 (hildon_button_set_arrangement, hildon_button_construct_child):
7073 Pack the image and the labels inside the same GtkAlignment so
7074 gtk_button_set_alignment() can be used
7076 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7078 * src/hildon-button.h
7079 * src/hildon-button.c
7080 (hildon_button_init, hildon_button_set_image)
7081 (hildon_button_set_image_position)
7082 (hildon_button_construct_child): New functions to add an image to
7085 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7087 * src/hildon-date-button.c
7088 * src/hildon-picker-button.c
7089 * src/hildon-time-button.c
7090 * src/hildon-button.c:
7091 (hildon_button_class_init): "size-flags" renamed to "size"
7092 (hildon_button_set_title): Hide the title label if set to NULL.
7094 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7096 HildonButtonFlags split into HildonButtonArrangement (to set the
7097 button layout) and HildonSizeType (which can be used for any
7100 * src/hildon-button.h
7101 * src/hildon-button.c
7102 (hildon_button_class_init)
7103 (hildon_button_set_arrangement)
7104 (hildon_button_set_property): New "size-flags"
7105 property. "arrangement-flags" renamed to "arrangement".
7106 (hildon_button_new, hildon_button_new_with_text)
7107 (hildon_button_new_full): Constructors updated to reflect type changes.
7109 * src/hildon-helper.h
7110 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7111 to set the size of a widget.
7115 * src/hildon-button-helpers.c
7116 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7118 * src/hildon-date-button.c
7119 * src/hildon-date-button.h
7120 * src/hildon-picker-button.c
7121 * src/hildon-picker-button.h
7122 * src/hildon-time-button.c
7123 * src/hildon-time-button.h: Updated widgets to reflect
7124 HildonButton API changes.
7126 * examples/hildon-button-example.c
7127 * examples/hildon-date-button-example.c
7128 * examples/hildon-picker-button-example.c
7129 * examples/hildon-picker-button-multicolumn-example.c
7130 * examples/hildon-time-button-example.c
7131 * examples/hildon-touch-selector-entry-example.c
7132 * examples/hildon-touch-selector-example.c: Updated examples to
7133 reflect HildonButton API changes.
7135 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7137 * doc/hildon-docs.sgml:
7139 * examples/Makefile.am:
7140 * examples/hildon-touch-selector-entry-example.c:
7142 * src/hildon-touch-selector-entry.c:
7143 * src/hildon-touch-selector-entry.h:
7146 Moved HildonTouchSelectorEntry from sandbox. Added its
7147 documentation and examples.
7149 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7151 * src/hildon-touch-selector.h:
7152 * examples/hildon-picker-button-multicolumn-example.c:
7153 (hildon_touch_selector_append_text_column): Add a gboolean
7154 parameter to determine if text must be centered in the column.
7156 * src/hildon-date-selector.c: (hildon_date_selector_init):
7157 * src/hildon-time-selector.c: (hildon_time_selector_init):
7158 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7159 (create_touch_selector): Update widgets and example to reflect
7162 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7164 * src/hildon-touch-selector.c:
7165 (hildon_touch_selector_set_active_iter): Set also the cursor in
7168 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7170 * doc/hildon-docs.sgml
7173 * src/hildon-toggle-button.c
7174 * src/hildon-toggle-button.h
7175 * src/hildon.h: Removed HildonToggleButton widget, a derived
7176 class is not necessary for this.
7178 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7180 * src/hildon-pannable-area.c,
7181 (hildon_pannable_area_realize),
7182 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7185 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7187 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7188 "done" button the default widget for the dialog.
7190 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7192 * src/hildon-touch-selector.c:
7193 (hildon_touch_selector_class_init),
7194 (hildon_touch_selector_get_property),
7195 (_hildon_touch_selector_set_model),
7196 (_hildon_touch_selector_has_multiple_selection),
7197 (hildon_touch_selector_has_multiple_selection):
7198 Add a "has-multiple-selection" property with a virtual
7199 has_multiple_selection() method to allow derived classes to
7200 override the default value for it. See the method and property
7201 documentation for details.
7203 * src/hildon-touch-selector.h: Add the new API.
7205 * src/hildon-picker-dialog.c: (requires_done_button): Call
7206 hildon_touch_selector_has_multiple_selection() instead of
7207 determining the need for a button itself.
7209 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7211 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7212 (_hildon_touch_selector_set_model),
7213 (hildon_touch_selector_set_model): Move working code to
7214 _hildon_touch_selector_set_mode(). Call the class method instead.
7216 * src/hildon-touch-selector.h: Add (*set_model) to
7217 HildonTouchSelectorClass.
7219 Make hildon_touch_selector_set_model() a virtual method, so that
7220 derived classes can extend it and do fancy stuff with the model.
7222 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7224 * configure.ac: Set back the tarname in AC_INIT to hildon.
7226 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7230 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7231 instead of libesd (NB#86876). Volume handling is still an open issue.
7233 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7236 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7238 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7239 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7240 derived class to ease placement of an entry widget in
7241 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7242 end, where the selector columns are packed now.
7244 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7246 * src/hildon-picker-button.c: Removed the simple _text() API.
7247 * src/hildon-picker-button.h: Likewise.
7249 * src/hildon-touch-selector.h:
7250 * src/hildon-touch-selector.c:
7251 (hildon_touch_selector_new_text),
7252 (hildon_touch_selector_append_text),
7253 (hildon_touch_selector_prepend_text),
7254 (hildon_touch_selector_insert_text):
7256 Moved the simple _text() API from HildonPickerButton to
7257 HildonTouchPicker, to provide better escalability and not to tie
7258 that API to HildonPickerButton.
7260 * examples/hildon-picker-button-example.c: (main): Example updated.
7262 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7264 * src/hildon-button.c: Updated documentation.
7266 * examples/hildon-button-example.c: Add the posibility to create
7267 the buttons using horizontal layout for title and value.
7269 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7271 * src/hildon-app-menu-private.h
7272 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7273 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7274 GtkSizeGroup for the filters, use the 'homogeneous' property of
7277 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7279 * examples/hildon-button-example.c: Updated example.
7281 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7283 * doc/hildon-docs.sgml:
7286 Update documentation.
7288 * examples/Makefile.am: Update renamed examples.
7290 * examples/hildon-picker-button-multicolumn-example.c:
7291 (create_touch_selector), (main): Update after the rename.
7293 * examples/hildon-touch-picker-example.c: Removed.
7294 * examples/hildon-touch-selector-example.c: (value_changed),
7295 (create_selector), (get_visible_content), (main): Renamed from
7296 hildon-touch-picker-example.c
7298 * src/Makefile.am: Updated renamed files.
7300 * src/hildon-date-button.c: (hildon_date_button_init),
7301 (hildon_date_button_get_date), (hildon_date_button_set_date):
7302 * src/hildon-date-selector.c: (hildon_date_selector_init),
7303 (_custom_print_func), (_update_day_model),
7304 (_manage_selector_change_cb),
7305 (hildon_date_selector_select_current_date),
7306 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7307 * src/hildon-date-selector.h:
7308 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7309 (hildon_picker_button_set_property),
7310 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7311 (hildon_picker_button_init), (hildon_picker_button_new_text),
7312 (hildon_picker_button_append_text),
7313 (hildon_picker_button_prepend_text),
7314 (hildon_picker_button_insert_text),
7315 (hildon_picker_button_set_selector),
7316 (hildon_picker_button_get_selector):
7317 * src/hildon-picker-button.h:
7318 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7319 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7320 (_update_title_on_selector_changed_cb), (requires_done_button),
7321 (_hildon_picker_dialog_set_selector),
7322 (hildon_picker_dialog_set_selector),
7323 (hildon_picker_dialog_get_selector):
7324 * src/hildon-picker-dialog.h:
7325 * src/hildon-time-button.c: (hildon_time_button_init),
7326 (hildon_time_button_get_time), (hildon_time_button_set_time):
7327 * src/hildon-time-selector.c: (hildon_time_selector_init),
7328 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7329 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7330 * src/hildon-time-selector.h:
7333 Massive code updates after the rename.
7335 * src/hildon-touch-picker.c: Removed.
7336 * src/hildon-touch-picker.h: Removed.
7338 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7339 (hildon_touch_selector_init), (hildon_touch_selector_map),
7340 (hildon_touch_selector_remove), (_default_print_func),
7341 (_selection_changed_cb), (_create_new_column),
7342 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7343 (hildon_touch_selector_append_text_column),
7344 (hildon_touch_selector_remove_column),
7345 (hildon_touch_selector_set_column_attributes),
7346 (hildon_touch_selector_insert_column),
7347 (hildon_touch_selector_get_num_columns),
7348 (hildon_touch_selector_get_column_selection_mode),
7349 (hildon_touch_selector_set_column_selection_mode),
7350 (hildon_touch_selector_set_print_func),
7351 (hildon_touch_selector_get_print_func),
7352 (hildon_touch_selector_get_active_iter),
7353 (hildon_touch_selector_set_active_iter),
7354 (hildon_touch_selector_get_selected_rows),
7355 (hildon_touch_selector_get_model),
7356 (hildon_touch_selector_set_model),
7357 (hildon_touch_selector_get_current_text),
7358 (_hildon_touch_selector_center_on_selected_items):
7359 * src/hildon-touch-selector.h: Renamed from
7360 hildon-touch-picker.[ch]
7362 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7363 references, code examples, and related documentation.
7365 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7367 * doc/hildon-docs.sgml
7370 * src/hildon-toggle-button.c
7371 * src/hildon-toggle-button.h
7372 * src/hildon.h: New HildonToggleButton widget.
7374 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7376 * src/hildon-button.c: Add API documentation.
7377 (hildon_button_set_size_groups): Check input parameters
7379 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7381 * src/hildon-pannable-area.c
7382 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7383 effect after reaching the movement thredshold. This way we start
7384 using the distance after passing the thredshold.
7386 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7388 * src/hildon-button.c: (hildon_button_set_property): Use the
7389 appropriate g_value_get_flags() method.
7391 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7393 * doc/hildon-docs.sgml:
7396 Add the touch pickers, picker dialogs, and picker button widgets
7397 to the documentation.
7399 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7401 * src/hildon-button.c: (hildon_button_set_property),
7402 (hildon_button_class_init): Make "arrangement-flags" a proper
7403 G_TYPE_FLAGS derived property.
7405 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7407 * examples/Makefile.am: Add below examples.
7408 * examples/hildon-date-button-example.c:
7409 * examples/hildon-picker-button-example.c:
7410 * examples/hildon-picker-button-multicolumn-example.c:
7411 * examples/hildon-time-button-example.c:
7412 * examples/hildon-touch-picker-example.c:
7414 Add examples for the recently added touch pickers,
7415 picker dialogs, and picker button widgets.
7417 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7419 * src/hildon-button.c: Add some API documentation
7421 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7423 * src/hildon-button.h
7424 * src/hildon-button.c
7426 (hildon_button_new_with_text): New constructor to create a button
7427 with no text at all.
7428 (hildon_button_init, hildon_button_set_arrangement)
7429 (hildon_button_set_title, hildon_button_set_value)
7430 (hildon_button_set_text)
7431 (hildon_button_construct_child): Hide the value when it's not used
7432 so the rest of the text is properly aligned.
7433 Allow creating buttons with arbitrary widgets inside (not just
7434 title/value labels).
7436 * examples/hildon-button-example.c (vertical_buttons_window)
7437 (horizontal_buttons_window): Update example to use new API.
7439 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7441 * src/Makefile.am: Added HildonTimeButton.
7442 * src/hildon-time-button.c: Added missing LGPL header.
7443 * src/hildon-time-button.h: Added missing LGPL header.
7444 * src/hildon.h: Add hildon-time-button.h
7446 Copied HildonTimeButton from sandbox to trunk. Future work on this
7447 widget must take place in trunk.
7449 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7451 * src/Makefile.am: Added HildonDateButton.
7452 * src/hildon-date-button.c: Update includes.
7453 * src/hildon.h: Add hildon-date-button.h
7455 Copied HildonDateButton from sandbox to trunk. Future work on this
7456 widget must take place in trunk.
7458 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7460 * src/Makefile.am: Added HildonPickerButton.
7461 * src/hildon-picker-button.h: Update includes.
7462 * src/hildon.h: Add hildon-picker-button.h
7464 Copied HildonPickerButton from sandbox to trunk. Future work on
7465 this widget must take place in trunk.
7467 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7469 * src/Makefile.am: Added HildonPickerDialog.
7470 * src/hildon-picker-dialog.c: Update includes.
7471 * src/hildon.h: Add hildon-picker-dialog.h
7473 Copied HildonPickerDialog from sandbox to trunk. Future work
7474 on this widget must take place in trunk.
7476 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7478 * src/Makefile.am: Added HildonTimeSelector.
7479 * src/hildon.h: Add hildon-time-selector.h
7481 Copied HildonTimeSelector widget from sandbox to trunk. Future
7482 work on this widget must happen in trunk.
7484 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7486 * src/Makefile.am: Added HildonDateSelector.
7487 * src/hildon.h: Add hildon-date-selector.h
7489 Copied HildonDateSelector widget from sandbox to trunk. Future
7490 work on this widget must happen in trunk.
7492 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7494 * src/Makefile.am: Added HildonTouchPicker.
7495 * src/hildon-touch-picker.c: Update includes.
7496 * src/hildon.h: Add hildon-touch-picker.h
7498 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7499 on this widget must happen in trunk.
7501 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7503 * src/hildon-pannable-area.c:
7504 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7506 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7508 * examples/hildon-app-menu-example.c (main): Let the window
7511 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7513 * src/hildon-pannable-area.c
7514 (hildon_pannable_area_class_init): Set the min value of the
7515 overshoot properties to zero, which points out that not
7516 overshooting allowed.
7518 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7520 Modified the procedure to get the widget at a point inside the
7521 pannable area when using the movement type signals. Now the user
7522 has to call a function to get the child, that way we just
7523 calculate the child in case the user really want to use it and not
7526 * src/hildon-marshalers.list: Modified the marshallers, now we do
7527 not have the widget as a parameter.
7529 * src/hildon-pannable-area.c
7530 (hildon_pannable_area_motion_notify_cb),
7531 (hildon_pannable_area_class_init),
7532 (hildon_pannable_get_child_widget_at): Removed the widget
7533 parameter from the signal callback. We have also refactored the
7534 emission of the signals.
7536 * src/hildon-pannable-area.h: Added a new method to the API to
7537 calculate a widget at a point inside the pannable area,
7538 hildon_pannable_get_child_widget_at.
7540 * examples/hildon-pannable-area-example-4.c
7541 (horizontal_movement): Modified the example to use the new API,
7542 added condition to control which widget is under the event. This
7543 way we can avoid scrolling laterally over other widgets.
7545 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7547 * src/hildon-pannable-area.c
7548 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7549 modes, we stop getting the pointer events due to returning the
7550 callback without properly calling the get pointer again. Fixed
7551 also an error using the hscroll and vscroll.
7553 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7555 * src/hildon-app-menu-private.h
7556 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7557 (hildon_app_menu_button_release, hildon_app_menu_init)
7558 (hildon_app_menu_class_init): Don't hide the menu on button
7559 release if the user didn't press outside first.
7561 * src/hildon-window.h
7562 * src/hildon-window.c (hildon_window_toggle_menu)
7563 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7564 hildon_window_toggle_menu a virtual function for the stackable
7565 window to override it.
7567 * src/hildon-stackable-window.h
7568 * src/hildon-stackable-window-private.h
7569 * src/hildon-stackable-window.c
7570 (hildon_stackable_window_realize)
7571 (hildon_stackable_window_finalize)
7572 (hildon_stackable_window_class_init)
7573 (hildon_stackable_window_init)
7574 (hildon_stackable_window_set_main_menu): New function to set the
7575 app menu of a HildonStackableWindow.
7577 * examples/hildon-app-menu-example.c: Remove the button to show
7578 the app menu, now it'll be shown when clicking on the title bar
7581 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7583 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7584 set the widget name if the arrangement flags do not specify
7587 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7589 * src/hildon-button.c: (hildon_button_set_property),
7590 (hildon_button_class_init), (hildon_button_new_full),
7591 (hildon_button_set_arrangement): Added "arrangement-flags"
7594 Make the HildonButtonFlags a construction-only property, to allow
7595 subclasses to set them properly.
7597 2008-07-21 Tim Janik <timj@imendio.com>
7599 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7600 insertion position after backspace, so additional digits are appended,
7603 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7605 * src/hildon-pannable-area.c,
7606 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7607 TODO list, it was complete and removed the g_debug and g_print
7610 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7612 Added the movement modes to the hildon-pannable-area, with this
7613 modes the developers can control in which directions the widget
7614 can scroll. They can also connect to signals in order to do
7615 something when that happens, allowing applications scroll. There
7616 is an example uploaded showing how to use it.
7618 * examples/Makefile.am:
7619 * examples/hildon-pannable-area-example-4.c: Added this example of
7620 an application using the modes.
7622 * src/hildon-marshalers.list: Added a new marshaller for the new
7625 * src/hildon-pannable-area.h: Added new enumerations and flags in
7626 order to control the movement modes and the new signals to warn
7627 about the movements in the area.
7629 * src/hildon-pannable-area.c:
7630 (hildon_pannable_axis_scroll),
7631 (hildon_pannable_area_scroll),
7632 (hildon_pannable_area_motion_notify_cb),
7633 (hildon_pannable_area_get_property),
7634 (hildon_pannable_area_set_property),
7635 (hildon_pannable_area_map),
7636 (hildon_pannable_area_class_init),
7637 (hildon_pannable_area_init),
7638 (hildon_pannable_area_jump_to): Added the modes to control the
7639 movement in the widget. We have added properties to control it,
7640 signals to warn about the movements and refactored some code.
7642 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7644 Changes required in order to allow vfast_factor set to zero to
7647 * src/hildon-pannable-area.c:
7648 (hildon_pannable_area_button_press_cb): Changed the condition, it
7649 is required for not allowing click when vfast_factor is zero.
7650 (hildon_pannable_area_timeout): Initialized velocity variables
7651 when we stop moving, it was less than 1 but not zero and we need
7652 to check zero in some situations.
7653 (hildon_pannable_area_class_init): Changed the default value of
7654 the speed factor, now the button_press is just sent in case the
7655 speed is 2 per cent of the max speed.
7656 (hildon_pannable_area_init): Initialization with 0.
7658 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7660 * src/hildon-pannable-area.c,
7661 (hildon_pannable_area_get_topmost): replaced
7662 gdk_window_get_children with gdk_window_peek_children, this way we
7663 do not have to free the list because it is not a copy.
7665 (hildon_pannable_axis_scroll),
7666 (hildon_pannable_area_scroll),
7667 (hildon_pannable_area_timeout),
7668 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7669 two parameters that were only used inside the
7670 hildon_pannable_area_scroll function.
7672 * examples/hildon-pannable-area-example.c,
7673 (get_sawtooth_label): Fixed small memory leak.
7675 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7677 More checks for the case where the overshoot is bigger than the
7680 * src/hildon-pannable-area.c:
7681 (hildon_pannable_draw_vscroll),
7682 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7683 to draw the slider of the scrollbar under the other scrollbar.
7684 (hildon_pannable_area_expose_event): added new checks to control
7685 the drawing of the overshooting area rectangle, in case it is too
7686 big for the area of the widget.
7687 (hildon_pannable_area_size_allocate): add more checks to avoid
7688 setting a position to the child widget outside the area.
7690 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7692 * src/hildon-pannable-area.c
7693 (hildon_pannable_area_size_allocate): Added conditions to control
7694 when overshooting is bigger than the allocated space for the
7695 children, this avoids negative allocations.
7697 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7699 * doc/hildon-docs.sgml
7701 * examples/Makefile.am
7702 * examples/hildon-button-example.c
7704 * src/hildon-button.c
7705 * src/hildon-button.h
7706 * src/hildon.h: Initial version of the new HildonButton widget,
7709 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7711 * src/hildon-pannable-area.c:
7712 (hildon_pannable_area_button_press_cb),
7713 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7714 (hildon_pannable_area_motion_notify_cb),
7715 (hildon_pannable_area_button_release_cb),
7716 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7717 (hildon_pannable_area_jump_to_child):
7719 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7721 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7723 * examples/Makefile.am
7724 * examples/hildon-pannable-area-touch-grid-example.c
7725 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7726 the Hildon Touch List and Hildon Touch Grid using the
7727 HildonPannableArea widget.
7729 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7731 * src/hildon-pannable-area.c,
7732 (hildon_pannable_area_button_press_cb),
7733 (hildon_pannable_area_refresh),
7734 (hildon_pannable_area_scroll),
7735 (hildon_pannable_area_motion_notify_cb),
7736 (hildon_pannable_area_button_release_cb),
7737 (hildon_pannable_area_expose_event),
7738 (hildon_pannable_area_add),
7739 (hildon_pannable_area_remove),
7740 (hildon_pannable_area_realize),
7741 (hildon_pannable_area_size_allocate),
7742 (hildon_pannable_area_class_init),
7743 (hildon_pannable_area_init),
7744 (hildon_pannable_area_scroll_to_child),
7745 (hildon_pannable_area_jump_to_child): Fixed the problem of
7746 removing the child from the GtkBin, we have rearranged the widget
7747 hierarchy, now there is no GtkAlignment which was not doing
7748 anything interesting but breaking some of the assumptions of
7749 GtkContainer. Now developers if they want to add a GtkAlignment
7750 they could, but it is not inside the area.
7752 We had to review the whole allocation/expose process, now it is
7753 improved and we save at least three signals which would be saving
7754 some time when rendering the widget. The allocation of the
7755 scrollbars is now made in the allocate method as usual.
7757 We have also added some conditions in order to control when there
7758 is no child of the pannable area. Maybe we will need more work
7761 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7763 * src/hildon-pannable-area.c,
7764 (hildon_pannable_area_dispose): Released the fade-out timeout when
7765 disposing the widget.
7767 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7769 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7770 zero, we are going to use that property in order to deactivate the
7772 (hildon_pannable_axis_scroll),
7773 (hildon_pannable_area_size_allocate): Added conditions to control
7774 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7775 call, now it is called in all situations and we can remove calls
7776 in the allocate method.
7777 (hildon_pannable_area_map): Control the situation when
7778 overshoot_max is zero, we do not need the timeout.
7779 (hildon_pannable_area_class_init): Added documentation in order to
7780 point out that setting zero to overshoot_max means deactivate
7783 NOTE: removed trailing whitespaces from my previous comments of
7786 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7788 * src/hildon-pannable-area.c
7789 (hildon_pannable_area_get_property),
7790 (hildon_pannable_area_set_property),
7791 (hildon_pannable_area_map),
7792 (hildon_pannable_area_class_init),
7793 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7794 to cause the widget give a hint about its panning abilities upon
7797 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7799 * src/hildon-pannable-area.c: Several documentation improvements.
7801 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7803 * src/hildon-program.c
7804 * src/hildon-stackable-window.c: Update documentation.
7806 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7808 * src/hildon-stackable-window.c (get_previous_window_if_last):
7809 Renamed get_last_window()
7810 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7811 (hildon_stackable_window_unset_program):
7813 (get_previous_window_if_last):
7814 Detect if the window hasn't been added to a HildonProgram.
7816 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7818 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7820 * src/hildon-pannable-area.c
7821 (hildon_pannable_area_button_press_cb),
7822 (hildon_pannable_axis_scroll),
7823 (hildon_pannable_area_scroll),
7824 (hildon_pannable_area_timeout),
7825 (hildon_pannable_calculate_vel_factor),
7826 (hildon_pannable_area_get_property),
7827 (hildon_pannable_area_set_property),
7828 (hildon_pannable_area_class_init),
7829 (hildon_pannable_area_init),
7830 (hildon_pannable_area_scroll_to),
7831 (hildon_pannable_area_jump_to),
7832 (hildon_pannable_area_scroll_to_child),
7833 (hildon_pannable_area_jump_to_child):
7834 * src/hildon-pannable-area.h: Added the new API functions:
7835 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7836 hildon_pannable_area_scroll_to_child,
7837 hildon_pannable_area_jump_to_child
7840 * examples/Makefile.am
7841 * examples/hildon-pannable-area-example-2.c
7842 * examples/hildon-pannable-area-example-3.c: Added these two new
7843 examples in order to test and show how the new APIs work.
7845 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7847 * examples/hildon-stackable-window-example.c (new_window):
7848 * src/Makefile.am (noinst_HEADERS):
7849 * src/hildon-program.c (hildon_program_go_to_root_window):
7850 * src/hildon-program.h:
7851 * src/hildon-stackable-window-private.h:
7852 * src/hildon-stackable-window.c:
7853 * src/hildon-stackable-window.h:
7854 Create hildon-stackable-window-private.h
7855 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7857 * examples/hildon-app-menu-example.c (create_menu):
7858 * examples/hildon-hvolumebar-insensitive-example.c (main):
7859 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7860 * examples/hildon-toolbar-seekbar-example.c (main):
7861 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7862 * src/hildon-banner.c (hildon_banner_set_property):
7863 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7864 Fix compilation warnings
7866 * src/hildon-window.c:
7869 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7871 * src/hildon-stackable-window.c
7872 (hildon_stackable_window_unset_program):
7873 Calculate correctly whether to show the previous window if the
7874 last one is removed from the stack.
7875 (hildon_stackable_window_go_to_root_window):
7876 Send delete events starting from the topmost window.
7877 Stop if one of the windows is not destroyed.
7879 (hildon_stackable_window_delete_event)
7880 (hildon_stackable_window_class_init):
7881 Ignore the delete event if the window is not the topmost one.
7883 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7885 * src/hildon-pannable-area.c
7886 (hildon_pannable_area_expose_event): Fixed a problem when
7887 selecting the background color of the scrollbars.
7889 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7891 * examples/hildon-stackable-window-example.c
7892 * src/hildon-stackable-window.c
7893 * src/hildon-stackable-window.h
7894 hildon_stackable_window_go_home() renamed to
7895 hildon_stackable_window_go_to_root_window()
7896 Send delete events to windows rather than closing them with
7897 gtk_widget_destroy()
7899 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7901 * src/hildon-pannable-area.c
7902 (hildon_pannable_area_button_release_cb): Fix overshooting in
7905 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7907 * src/hildon-pannable-area.c
7908 (hildon_pannable_area_init): Initially show the scroll indicators.
7909 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7911 Add initial effect showing the widget is pannable.
7913 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7915 * src/hildon-pannable-area.c
7916 (hildon_pannable_area_class_init)
7917 (hildon_pannable_area_set_property)
7918 (hildon_pannable_area_get_property)
7919 (hildon_pannable_area_button_press_cb):
7920 New 'velocity_fast_factor' property to decide which velocity is
7923 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7925 * src/hildon-pannable-area.c
7926 (hildon_pannable_draw_hscroll)
7927 (hildon_pannable_draw_vscroll):
7928 Use float variables to calculate the size of the scrollbars to
7929 avoid error propagation and resizing during scrolling.
7931 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7933 * src/hildon-pannable-area.c
7934 (hildon_pannable_draw_vscroll)
7935 (hildon_pannable_draw_hscroll):
7936 Define a minimum size for the scroll bars
7938 * src/hildon-stackable-window.c
7939 (hildon_stackable_window_go_home): Fix compilation warning
7940 (get_last_window): Minor optimizations
7941 (hildon_stackable_window_class_init): Fix initialization of
7944 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7946 * src/hildon-stackable-window.c: Fixed typos in doc
7948 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7950 * src/hildon-pannable-area.c
7951 (hildon_pannable_area_scroll):
7952 Calculate here whether we need to scroll instead of using the booleans
7953 that tell us whether to /draw/ the scrolling bars.
7955 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7957 * src/hildon-app-menu.h
7959 * src/hildon-app-menu.c
7960 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
7961 multiple filter groups related code and API. Now we support only
7963 * examples/hildon-app-menu-example.c:
7965 Update to reflect API changes.
7967 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
7969 * src/hildon-stackable-window.c
7970 (hildon_stackable_window_class_init):
7971 Add hildon_stackable_window_realize.
7972 (hildon_stackable_window_realize):
7973 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
7974 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
7975 to apply theming and behavior specific to HildonStackableWindow
7978 2008-06-12 Alberto Garcia <agarcia@igalia.com>
7980 * src/hildon-note.c (hildon_note_button_release):
7981 Close information notes also when tapping on them
7983 2008-06-12 Alejandro G. Castro <alex@igalia.com>
7985 Added BOUNCE_STEPS define to control the overshoot effect. Removed
7986 ELASTICITY, refactor and review, fix some issues with drawing
7989 * src/hildon-pannable-area.c:
7990 (hildon_pannable_area_button_press_cb): removed the conditions to
7991 avoid clicks when overshooting. It is not required
7993 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
7994 define. Refatored and reviewed the code, now we do not need to
7995 manage velocity in motion_notify.
7997 (hildon_pannable_area_motion_notify_cb): We have moved the code
7998 that controls the area_scroll to the axis_scroll function and get
7999 rid of duplicated code.
8001 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8003 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8005 (hildon_pannable_draw_vscroll),
8006 (hildon_pannable_draw_hscroll): Fixed the problems with the
8007 scrollbar drawing, now we do not use two surfaces, it is easier
8008 and saves resources.
8010 (hildon_pannable_area_get_property): Style modification.
8012 (hildon_pannable_area_class_init): Changed some default values.
8014 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8016 * src/hildon-stackable-window.c: Fix some typos in the
8019 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8021 * src/hildon-dialog.c:
8022 Change indentation style
8025 (hildon_note_button_release):
8026 Use root coordinates to check if the release event happened
8029 * src/hildon-app-menu.c
8030 (hildon_app_menu_button_release):
8031 Remove unnecessary check
8033 * examples/hildon-app-menu-example.c
8035 Add cast to fix warning
8037 * src/hildon-app-menu.c
8038 (hildon_app_menu_class_init):
8039 New inner-border style property.
8040 Set all default spacings to 16
8041 (hildon_app_menu_init):
8042 Use vertical-spacing to set the space between filter buttons and
8043 regular menu buttons.
8044 Set the default container border using the inner-border value.
8046 * examples/hildon-app-menu-example.c
8048 Don't set the menu border explicitly, now we have the inner-border
8049 style property for that.
8051 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8053 * src/hildon-app-menu.c (hildon_app_menu_init):
8054 Make the window modal
8056 * src/hildon-note.c (hildon_note_map)
8057 * src/hildon-app-menu.c (hildon_app_menu_map):
8058 Destroy the grab window if we're unable to grab the pointer
8060 * src/hildon-app-menu-private.h
8061 * src/hildon-app-menu.c
8062 (hildon_app_menu_init, hildon_app_menu_finalize)
8063 (hildon_app_menu_map, hildon_app_menu_unmap)
8064 (hildon_app_menu_button_release)
8065 (grab_transfer_window_get):
8066 Bring back the grab window
8067 (hildon_app_menu_realize):
8068 Decorate the window, set WM hint for Matchbox
8070 * src/hildon-note.c (hildon_note_realize):
8071 * src/hildon-banner.c (hildon_banner_realize):
8072 Add WM hints for Matchbox
8074 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8076 * src/hildon-app-menu-private.h
8077 * src/hildon-app-menu.c
8078 (hildon_app_menu_init, hildon_app_menu_finalize)
8079 (hildon_app_menu_map, hildon_app_menu_unmap)
8080 (hildon_app_menu_button_release):
8081 Remove the grab window, it's not needed anymore
8083 * src/hildon-program.c
8084 Fixed typo in documentation
8086 * src/hildon-app-menu.h
8087 * src/hildon-app-menu.c
8088 * examples/hildon-app-menu-example.c
8089 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8091 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8094 Added new transfer_window and close_if_pressed_outside private
8096 (hildon_note_rebuild):
8097 Don't add a cancel button to the information note. It will be
8098 closed when tapping outside
8099 Remove the comment about the OK button in the documentation
8100 (hildon_note_realize):
8101 Set the notification type hint
8102 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8103 Grab/ungrab pointer and keyboard if the note has to be closed when
8105 (hildon_note_button_release):
8106 Close the note when tapping outside (if applicable)
8108 * src/hildon-app-menu.c
8109 Grab/ungrab pointer and keyboard on map/unmap
8110 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8111 Close the menu on button release, not button press
8113 * src/hildon-banner.c
8114 (hildon_banner_set_property)
8115 (hildon_banner_check_position):
8116 Make the banner use the full width of the screen
8117 (hildon_banner_show_information)
8118 (hildon_banner_show_information_with_markup):
8119 Don't display an icon by default
8121 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8123 Added fading scrollbars and adapted all the overshooting code to
8124 horizontal scrolling. We have also fixed bugs with overshooting
8125 and current fading implementation.
8127 * src/hildon-pannable-area.c
8128 (hildon_pannable_area_scroll_indicator_fade): Time out function
8129 used to change the transparency of the scrollbars.
8131 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8132 control and fixed a problem with fading, we now remove the fade
8133 timeout before adding a new one.
8135 (hildon_pannable_axis_scroll):
8136 (hildon_pannable_area_scroll):
8137 (hildon_pannable_area_timeout): Added this functions so we can use
8138 the scroll code both for vertical and horizontal.
8140 (hildon_pannable_area_motion_notify_cb):
8141 (hildon_pannable_area_button_release_cb): Added the horizontal
8142 scrolling control, fixed a problem with the overshooting timeout.
8144 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8145 painting of the scrolls.
8147 (hildon_pannable_draw_vscroll):
8148 (hildon_pannable_draw_hscroll):
8149 (hildon_pannable_area_expose_event):
8150 Draw both scrollbars and rectangles in the overshooting area.
8152 (hildon_pannable_area_get_property):
8153 (hildon_pannable_area_set_property):
8154 Modified the overshoot property to overshoot_max
8156 (hildon_pannable_area_map):
8157 Replaced the comments symbols.
8159 (hildon_pannable_area_size_allocate):
8160 (hildon_pannable_area_class_init):
8161 (hildon_pannable_area_init): Added horizontal scroll, fading
8162 effect properties, fixed a problem when overshooting in the bottom
8165 * examples/hildon-pannable-area-example.c:
8166 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8167 looks better in the example.
8169 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8171 * src/hildon-window.c
8172 * src/hildon-window.h
8173 (hildon_window_class_init)
8174 (hildon_window_unset_program)
8175 (hildon_window_unset_program_real):
8176 Make unset_program a virtual function
8178 * src/hildon-stackable-window.c
8179 * src/hildon-stackable-window.h
8180 Added hildon_stackable_window_go_home()
8182 * examples/Makefile.am
8183 * examples/hildon-stackable-window-example.c
8184 HildonStackableWindow example
8186 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8188 * hildon-pannable-area.c: Added the overshoot property and removed
8189 the OVERSHOOT define. Fixed an indent style error.
8190 (hildon_pannable_area_motion_notify_cb):
8191 (hildon_pannable_area_get_property):
8192 (hildon_pannable_area_set_property): Add overshoot property.
8194 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8197 (hildon_pannable_area_class_init): Installed the new property.
8199 * hildon-pannable-area-example.c: Added a sawtooth function, this
8200 way it is easier to check the movement in the pannable.
8201 (get_sawtooth_label): Added this function.
8202 (main): Now we get the labels from the new get_sawtooth_label
8205 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8207 * src/hildon-app-menu.h
8208 * src/hildon-app-menu.c
8209 Renamed API variables for consistency
8211 (hildon_app_menu_popup): Use also the default window size to
8212 decide where to place the menu
8214 (hildon_app_menu_init, hildon_app_menu_class_init): New
8215 external-border style property
8217 2008-05-26 Michael Natterer <mitch@imendio.com>
8219 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8220 widget_class->tap_and_hold_setup signal slot doesn't exist any
8221 longer, stop overriding it.
8223 (hildon_time_editor_init): g_signal_connect() to the
8224 tap-and-hold-setup signal instead.
8226 (hildon_time_editor_entry_keypress): add cast to fix warning.
8228 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8230 * doc/hildon-docs.sgml
8232 * examples/Makefile.am
8233 * examples/hildon-app-menu-example.c
8235 * src/hildon-app-menu-private.h
8236 * src/hildon-app-menu.c
8237 * src/hildon-app-menu.h
8239 New HildonAppMenu widget
8241 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8243 Rearranged the inheritance of the pannable area, now it inherits
8244 from GtkBin. This will allow us to control the event_window and
8245 the allocation process of the widget, required for some effects.
8247 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8248 GtkBin structures. * src/hildon-pannable-area.c: Added the
8249 event_window variable.
8250 (hildon_pannable_area_button_press_cb):
8251 (hildon_pannable_area_button_release_cb):
8252 (hildon_pannable_area_motion_notify_cb):
8253 Changed the signature of the method, now we override the event
8254 callback instead of connecting to the signal.
8256 (hildon_pannable_area_realize):
8257 (hildon_pannable_area_unrealize):
8258 (hildon_pannable_area_map):
8259 (hildon_pannable_area_unmap):
8260 (hildon_pannable_area_size_allocate):
8261 Added functions to control the widget construction. We add a
8262 INPUT_ONLY window and we put it over the widgets inside the
8263 container, this event_window handles the events.
8265 (hildon_pannable_area_class_init):
8266 Replaced the signal connections with overrides of the event
8269 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8271 Bouncing effect added when touching the borders, you can change
8272 the elasticity of the border changing the ELASTICITY define.
8274 * src/hildon-pannable-area.c: Added ELASTICITY define.
8275 (hildon_pannable_area_timeout): Added inverse velocity when
8276 touching the border of the child widget, that causes a bounce.
8278 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8280 Improved performance, we now do not go to the X server in order to
8281 get the list of window children. Apparently the effect is the
8282 same, we have to be careful and check if this breaks something in
8285 * src/hildon-pannable-area.c:
8286 (get_ordered_children): Removed this function.
8287 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8288 the children windows function with gdk_window_get_children.
8290 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8292 * src/hildon-pannable-area.c:
8293 (hildon_pannable_area_dispose): Fixed a crash when closing the
8294 window and kinetics is activated.
8296 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8298 * src/hildon-pannable-area.h
8299 * src/hildon-pannable-area.c
8300 Changed indentation style to meet the one used in Hildon
8302 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8304 Reviewed the interaction of the AUTO mode, now we use the time
8305 attribute of the events and calculate the velocity in the motion,
8306 doing a gimp like calculation. The velocity is calculated in each
8307 motion event using the last velocity and the current one, the
8308 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8310 * src/hildon-pannable-area.c: Replaced the time based algorithm
8312 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8313 timeout for the AUTO mode when we are still moving the cursor. We
8314 added also the velocity calculation in this function.
8315 (hildon_pannable_area_button_release_cb): launch the timeout in
8316 case we are in AUTO mode. There are still some constants here that
8317 come from the old implementation that should be reviewed and
8320 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8322 * doc/hildon-docs.sgml
8325 * src/hildon-stackable-window.c
8326 * src/hildon-stackable-window.h
8328 New HildonStackableWindow widget
8330 * examples/hildon-dialog-example.c
8331 * examples/hildon-pannable-area-example.c
8334 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8336 * src/hildon-dialog.c
8337 (hildon_dialog_new_with_buttons): New constructor.
8339 * examples/hildon-dialog-example.c
8340 (main): Update the example to use the new
8341 hildon_dialog_new_with_buttons().
8343 * examples/hildon-pannable-area-example.c
8344 (main): Update example.
8346 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8348 * doc/hildon-docs.sgml
8350 Added HildonPannableArea to the documentation.
8352 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8354 * doc/visual_index.xml
8355 Fix reference to HildonLoginDialog in documentation
8357 * doc/hildon-docs.sgml
8359 * examples/Makefile.am
8360 * examples/hildon-dialog-example.c
8362 * src/hildon-dialog.c
8363 * src/hildon-dialog.h
8365 New HildonDialog widget.
8367 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8369 * src/hildon-pannable-area.c
8370 Merge latest changes (r4318, r4342) from libmokoui trunk
8372 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8374 * examples/Makefile.am
8375 * examples/hildon-pannable-area-example.c
8377 * src/hildon-pannable-area.c
8378 * src/hildon-pannable-area.h
8380 New HildonPannableArea widget.
8382 2008-04-15 18:05:19 <timj@imendio.com>
8384 * src/hildon-banner.c: revert the recent change, that introduced
8385 gtk_window_present() calls. this reopens:
8386 Bug 78481 - [freetest] information banners are hidden under browser menu
8387 But resolves another variant of:
8388 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8390 2008-04-15 13:21:13 <timj@imendio.com>
8392 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8393 recreated its layout, spotted by Kris. this fixes all remaining
8394 artefacts and stability issues with the banner code. in particular:
8395 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8397 2008-04-14 16:52:59 <timj@imendio.com>
8399 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8400 operating on unrealized widgets, fixes:
8401 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8403 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8405 2008-04-09 Kristian Rietveld <kris@imendio.com>
8407 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8408 makes banner disappear.
8409 Fixes: NB#79182: info banner flickering with certain message lengts.
8411 * src/hildon-banner.c (hildon_banner_constructor),
8412 (hildon_banner_init), (hildon_banner_set_text),
8413 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8414 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8415 FALSE, reset size requests of label and banner,
8416 (force_to_wrap_truncated): when the text is too wide, always enforce
8417 the maximum possible width instead of recalculating it from the
8418 layout; enforce the maximum banner height of 3 lines,
8419 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8420 nicer wrapping and no truncated chars if space gets tight.
8422 * src/hildon-banner-private.h: add has_been_wrapped and
8423 has_been_truncated fields.
8425 2008-04-07 Sven Herzberg <sven@imendio.com>
8427 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8428 local values in hildon_date_editor_size_allocate
8430 * src/hildon-date-editor.c: moved the real allocation code into the
8433 2008-04-07 Sven Herzberg <sven@imendio.com>
8435 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8436 local values in hildon_date_editor_size_allocate
8438 * src/hildon-date-editor.c: merged the two if() branches together
8440 2008-04-07 Sven Herzberg <sven@imendio.com>
8442 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8443 local values in hildon_date_editor_size_allocate
8445 * src/hildon-date-editor.c: changed the arguments of the if()
8448 2008-04-07 Sven Herzberg <sven@imendio.com>
8450 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8451 local values in hildon_date_editor_size_allocate
8453 * src/hildon-date-editor.c: split the calculation of the allocation
8454 from the real allocation
8456 2008-03-27 Michael Natterer <mitch@imendio.com>
8458 Fixes: NB#81696: The passcode is not overwritten even after
8461 * src/hildon-code-dialog.c
8462 (hildon_code_dialog_button_clicked)
8463 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8464 because that doesn't overwrite selected text. Instead, emit the
8465 "commit" signal on the entry's im_context so the entry's normal
8466 insert logic is triggered. Set the cursor to the end of the entry
8467 after each insert operation so that we *only* insert in the middle
8468 of the text if something was selected.
8470 2008-03-27 Michael Natterer <mitch@imendio.com>
8472 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8473 selector cannot be opened
8475 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8476 when the popup color selector is created. Please connect to this
8477 signal in order to set the dialog's help ID.
8479 2008-03-25 Sven Herzberg <sven@imendio.com>
8481 Fixes: MB#1212: Hide info banners (infoprints) on click
8483 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8484 extracted the close event simulation into an extra function
8485 (hildon_banner_button_press_event): simulate a close event and destroy
8486 the widget if the event wasn't handled
8487 (hildon_banner_class_init): added the button_press_event handler
8488 (hildon_banner_init): added button-press events to the widget
8490 2008-03-25 Sven Herzberg <sven@imendio.com>
8492 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8493 Patch from: Mohammad Anwari <mdamt@maemo.org>
8495 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8496 instead of the right in RTL mode
8497 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8498 breadcrumb button list in RTL mode
8499 * src/hildon-caption.c: mirror the appearance of the caption widget in
8501 * src/hildon-date-editor.c: mirror appearance of the date editor in
8503 * src/hildon-time-editor.c: mirror appearance of the time editor in
8505 * src/hildon-window.c: fix the position of the popup in RTL mode
8507 2008-03-25 Sven Herzberg <sven@imendio.com>
8509 Amendment to the fix of NB#22072. Fix compilation.
8511 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8513 2008-03-19 Sven Herzberg <sven@imendio.com>
8515 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8518 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8519 timeout id properly when the timeout will disappear this leaves no
8520 artifacts around in the destroy(); there will only be the timeout
8521 created by hildon_banner_ensure_timeout() and adding a new timeout
8522 will also work if the timeout gets removed because the timeout_handler
8525 2008-03-19 Michael Natterer <mitch@imendio.com>
8527 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8529 * src/hildon-volumebar.c
8530 * src/hildon-vvolumebar.c
8531 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8532 the widget becomes focussable at all.
8534 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8535 set the focus to wither the mute button or the volumebar.
8537 Remove own "can-focus" property and instead listen to
8538 notify::can-focus in order to update the widget's state.
8540 Implement GtkWidget::focus() and make sure we can also *leave* the
8541 widget, not only enter it, depending on volumebar orientation and
8542 requested focus direction.
8544 Clean up set_mute() to cooperate nicely with all the above.
8546 2008-03-04 Michael Natterer <mitch@imendio.com>
8548 Fixes: NB#78481: information banners are hidden under browser menu
8550 * src/hildon-banner.c: call gtk_window_present() on the banners so
8551 they are risen if they are already visible.
8553 2008-03-03 Sven Herzberg <sven@imendio.com>
8555 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8557 * examples/hildon-window-menu-example.c: (main): extended the window
8558 menu example to serve as a testcase for automatically added
8559 accelerator groups, too
8560 * src/hildon-window.c: (hildon_window_add_accel_group),
8561 (hildon_window_set_menu): added patch by Tommi Komulainen
8563 2008-03-03 Sven Herzberg <sven@imendio.com>
8565 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8567 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8568 knowledge about the border allocators used within GTK+
8570 2008-02-26 Sven Herzberg <sven@imendio.com>
8572 Fixes: MB#2981: Build with asserts broken
8574 * src/hildon-date-editor.c,
8575 * src/hildon-number-editor.c,
8576 * src/hildon-time-editor.c,
8577 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8578 the proper GType instance check
8580 2008-02-25 Sven Herzberg <sven@imendio.com>
8582 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8584 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8585 * examples/hildon-window-menu-example.c: (main): explicitly show
8587 * src/hildon-window.c:
8588 (hildon_window_set_main_menu): moved most of the code from set_menu()
8589 to this place; skipped the call to gtk_widget_show_all(); also didn't
8590 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8591 (hildon_window_set_menu): removed most of the code, just keep the
8592 questionable gtk_widget_show_all()
8593 * src/hildon-window.h: added the new function and deprecate the old
8596 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8602 * debian/changelog: Updating.
8604 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8607 * pkgconfig/Makefile.am:
8608 * pkgconfig/hildon.pc.in:
8611 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8612 use newly created API_MAJOR_VERSION.
8614 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8620 * debian/changelog: Updating.
8622 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8624 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8626 Add outer_border style property, we use it but don't define it (!).
8630 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8632 * examples/hildon-bread-crumb-trail-example.c (main):
8636 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8638 Fix logic for the bread crumb trail node removal.
8642 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8648 * debian/changelog: Updating.
8650 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8652 Patch by Alejandro to get/set passwords dialogs accesibility.
8654 * hildon-1/src/hildon-get-password-dialog.c:
8655 * hildon-1/src/hildon-set-password-dialog.c:
8656 Set atk_set_name to the passwd entries in order to allow
8657 accessibility by name on this entries.
8659 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8664 * debian/control: Updating gtk dep.
8666 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8668 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8669 USE_MAEMO_GTK is enabled.
8671 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8673 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8674 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8676 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8682 * debian/changelog: Updating.
8684 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8686 * examples/Makefile.am:
8687 * examples/hildon-logical-color-example.c:
8688 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8689 applied + adding a test case. Fixes: NB#71660.
8691 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8693 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8694 to be visible, fixes warning on map for windows without toolbars.
8696 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8698 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8699 2.11.0, add a check for that besides the MAEMO_GTK check.
8701 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8707 * debian/changelog: Updating.
8709 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8711 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8712 visibility. Fixes: NB#70842 and MB#615.
8714 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8716 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8717 set the separator as no-show-all so it doesn't unintentionally appear when
8718 someone does a show_all.
8720 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8722 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8723 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8724 toplevel item. Fixes: NB#62031
8726 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8728 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8729 fix the name of the function in the docs.
8731 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8737 * debian/changelog: Updating.
8739 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8741 * examples/hildon-banner-long-example.c: Adding a test-case for long
8744 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8746 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8748 * src/hildon-color-chooser-dialog.c:
8749 * src/hildon-color-chooser.c:
8750 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8751 memory leaks in font selector and color selector. Fixes: NB#70499 and
8754 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8756 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8758 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8760 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8761 little bit bigger. Fixes: #NB63694.
8763 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8769 * debian/changelog: Updating.
8771 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8774 * doc/hildon-docs.sgml:
8775 * doc/images/bread-crumb-trail.png:
8776 * doc/images/calendar-popup.png:
8777 * doc/images/caption.png:
8778 * doc/images/code-dialog.png:
8779 * doc/images/color-button.png:
8780 * doc/images/color-chooser-dialog.png:
8781 * doc/images/color-chooser.png:
8782 * doc/images/controlbar.png:
8783 * doc/images/date-editor.png:
8784 * doc/images/font-selection-dialog.png:
8785 * doc/images/get-password-dialog.png:
8786 * doc/images/hvolumebar.png:
8787 * doc/images/login-dialog.png:
8788 * doc/images/note.png:
8789 * doc/images/number-editor.png:
8790 * doc/images/range-editor.png:
8791 * doc/images/seekbar.png:
8792 * doc/images/set-password-dialog.png:
8793 * doc/images/sort-dialog.png:
8794 * doc/images/time-editor.png:
8795 * doc/images/time-picker.png:
8796 * doc/images/vvolumebar.png:
8797 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8798 Adding the bread-crumb-trial and helpers to the documentation.
8800 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8802 * examples/hildon-find-toolbar-example.c:
8803 * src/hildon-find-toolbar.c:
8804 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8805 actually continue firing the other handlers if connected. Adding a new
8807 hildon_find_toolbar_get_last_index that gets the index of the most
8808 recently added (last) item. Fixes: NB#52301.
8810 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8812 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8813 behaviour. Fixes: NB#68610.
8815 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8817 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8820 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8823 when realizing the banner. Should make the infonbanner effect a bit more
8826 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8828 * src/hildon-volumebar.c:
8829 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8830 hildon_volumebar_set_range_insensitive_message and
8831 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8833 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 * src/hildon-window.c: Fixing the border freeing on destroy.
8837 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8839 * src/hildon-code-dialog-private.h:
8840 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8841 kw keyboard support in HildonCodeDialog.
8843 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8849 * debian/changelog: Updating.
8851 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8853 * src/hildon-date-editor.c:
8854 * src/hildon-number-editor.c:
8855 * src/hildon-private.c:
8856 * src/hildon-private.h:
8857 * src/hildon-time-editor.c:
8858 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8859 handling in subclassed composite widgets. Fixes: NB#66628.
8861 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8864 from destroy_ callback as it introduces problems in async dbus signal
8865 handlers. Fixes NB#66673.
8867 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * examples/hildon-hvolumebar-example.c:
8870 * src/hildon-volumebar.c: Improving the focus handling in the
8871 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8872 set_property accessor so that "mute" property can be actually set. I'm
8873 scared that nobody noticed it's totally broken.
8875 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8880 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8882 * src/hildon-calendar.c:
8883 * src/hildon-number-editor.c:
8884 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8885 matches the spec of 6 chars per second. Fixes: NB#60489.
8887 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8889 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8890 gtk_style_lookup_color sometime returns FALSE even though color was
8891 found and values were filled properly. Weird. Removing the warning for the
8894 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8897 expand vertically. Adding some extra space to the find toolbar buttons to
8898 make them thumbable. Fixes NB#66060.
8900 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8903 popup with "Ok" and "Cancel". Fixes NB#59299.
8905 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8907 * src/hildon-calendar.c: Process all window updates before executing next
8908 timeout. Fixes: NB#54146.
8910 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8916 * debian/changelog: Updating.
8918 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8920 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8921 the client event and ignore it, since we use the delete event to close
8924 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * src/hildon-helper.c: Remove the bogus warning about color not being
8927 found. Fixes NB#58352.
8929 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * examples/Makefile.am:
8932 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8933 HildonSeekbar widget inside a toolbar.
8935 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8937 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8938 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8939 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8940 don't want to be closed by non-temporary windows on map.
8942 Also use G_DEFINE_TYPE instead of manually typed code.
8944 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * debian/rules: Updating.
8953 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8955 * examples/Makefile.am:
8956 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8957 bug NB#61128. Strangely it works.
8959 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8961 * src/hildon-date-editor.c: When the date editor entry has been changed
8962 but the numbers of characters < max, turn off the skip validation flag.
8963 Prevents a situation when we enter first a valid year and later re-write
8964 it with an invalid one. Fixes NB#60154.
8966 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8968 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
8969 code dialog. Fixes NB#64355.
8971 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8973 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
8974 switching the page. Fixes NB#49374.
8976 * examples/Makefile.am:
8977 * examples/hildon-wizard-dialog-example.c: Adding an example for
8978 HildonWizardDialog that shows how to handle manual sensitivity setting on
8981 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * src/hildon-version.h.in:
8986 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
8988 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8990 * src/hildon-volumebar.c: Updating the docs.
8992 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8998 * debian/changelog: Updating.
9000 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-find-toolbar.c:
9003 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9004 selected item: hildon_find_toolbar_set_active,
9005 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9006 hildon_find_toolbar_get_active_iter . They correspond to respective
9007 GtkComboBox functions.
9009 * examples/Makefile.am:
9010 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9013 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9015 * examples/Makefile.am:
9016 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9019 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9020 when font size > 32 and we pack a focusable widget inside. Actually using
9021 the default response would work too, but since we don't show default
9022 response state in any way (no theming) it would not be visible to the
9023 user. Fixes NB#63430.
9025 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * src/hildon-date-editor.c: Adding the missing variable setter in the
9028 set_property handler. Fixes NB#54182.
9030 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * src/hildon-window.h: Changing the long key press time from 1500ms to
9033 800ms as requested in NB#63700. I have a bad feeling about this, let's
9034 see... Fixes NB#63700.
9036 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9038 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9039 hildon_time_picker_map, hildon_time_picker_realize,
9040 hildon_time_picker_style_set): Split the contents of map to more
9041 appropriate functions; set window decorations on realize and update
9042 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9044 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9049 * debian/changelog: Updating.
9051 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9053 * src/Makefile.am: fixed installation of the header files
9055 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9061 * debian/changelog: Updating.
9063 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * configure.ac: Removing some remaining of --enable-xan.
9067 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9069 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9070 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9072 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9073 2.10.12-osso6 because the move-focus signal needs to be available in
9076 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9078 * examples/Makefile.am:
9079 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9080 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9081 fine. Prolly NB#61128 is fixed now.
9083 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-volumebar.c:
9086 * src/hildon-volumebar.h: Adding the
9087 hildon_volumebar_set_range_insensitive_message and
9088 hildon_volumebar_set_range_insensitive_messagef functions to set
9089 insensitive message on the slider of the volumebar. Fixes NB#61129.
9091 * examples/Makefile.am:
9092 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9093 test the new insensitive messsage functionality on HildonVolumebar.
9095 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9097 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9100 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9102 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9103 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9104 button on after clearing the trail.
9106 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9108 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9110 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9112 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9113 by splitting the installed headers in generated and non-generated groups. Use
9114 only the non-generated headers to create the hildon-enum-types.h file.
9116 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9118 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9120 * src/hildon-window.c: Hide the window before performing the destroy.
9121 Should make the app closing a little tiny bit more snappy.
9123 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9125 * src/hildon-seekbar.c: add gtkrange.h header
9126 * src/hildon-caption.c: remove unused variable
9128 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9130 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9133 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9139 * debian/changelog: Updating.
9141 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9143 * src/hildon-window.c (hildon_window_window_state_event,
9144 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9145 escape timeout on focus-out-event rather than notify::is-topmost; the
9146 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9148 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9150 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9151 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9153 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9155 * src/hildon-window: actually, you need to use the macro always, there's
9156 no private pointer in the instance structure. We should have cleaned this up
9157 when we had the chance...
9159 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9161 * src/hildon-window.c: do not get the private date from HildonWindow before
9162 it passes the g_return_if_fail check. Once it's passed the test, there's no
9163 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9164 if you are only going to access the data once. Whitespace cleanups.
9166 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9168 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9169 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9171 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9177 * debian/changelog: Updating.
9179 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * src/hildon-window.c: When destroying the window, remove (if exists) the
9182 escape timeout handler. Fixes #NB59276.
9184 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9186 * src/hildon-banner.c: When realizing the widget, set the window
9187 transiency. Setting the transiency in the gobject constructor is not
9188 good, as the widget is not realized at that point. Fixes: #NB56624.
9190 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9192 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9193 Add padding for future expansions.
9195 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9197 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9198 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9199 will fake an activation on the previous to the last item of the trail, so
9200 the effect can be overrided by the developer as usual.
9201 Also change the callback for the back button to do the same thing, so its
9202 effect can be overrided too. Fixes: NB#58982
9204 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9206 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9207 HildonCaption. Fixes NB#52379.
9209 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9211 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9212 the internal state of the trail after the user has had the chance of executing
9213 his handler for the signal. Specifically, it may happen that the activated button
9214 is removed and the user still lets the default handler run. This would segfault
9217 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9220 scrollbar to the preview dialog. Fixes NB#54147.
9222 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9224 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9225 max/min year properties can be altered, so the client can modify it
9226 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9228 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9231 hildonlike by default. Fixing a problem with disappearing arrows when
9232 scrolling through months and years. Fixes NB#54127.
9234 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9236 * examples/hildon-date-editor-example.c: Adding error callback to the date
9239 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9245 * configure.ac: Updating.
9247 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9249 * configure.ac: Adding a special '--enable-xan' configure option that
9250 turns off the -Werror compilation setting. Usefull for development.
9252 * src/hildon-calendar.c:
9253 * src/hildon-number-editor.c:
9254 * src/hildon-time-picker.c: Adding the 5* multiplier to
9257 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9259 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9260 instead of g_object_ref + gtk_object_sink.
9262 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9268 * debian/changelog: Updating.
9270 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9272 * src/hildon-color-chooser-dialog.c:
9273 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9274 straight from Tommi labs.
9276 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9278 * examples/hildon-finger-example.c: Correcting the header file path.
9280 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9281 the changed signal. Fixes a small memory leak.
9283 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9287 * src/hildon-banner.c: Importing several usefull fixes from the
9288 ubuntu-mobile branch.
9290 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9292 * examples/Makefile.am:
9293 * examples/hildon-finger-example.c: Adding a finger-checking code
9296 * src/hildon-font-selection-dialog.c: Do not allocate the color
9297 structure using the g_new. Fixes NB#54061.
9299 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9301 * src/hildon-helper.c: Correcting tabs in file.
9303 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9305 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9306 control the visibility of the children.
9308 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9310 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9316 * debian/changelog: Updating.
9318 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9320 * src/hildon-bread-crumb-trail.c:
9321 (hildon_bread_crumb_trail_size_allocate):
9323 Make the back button always a square.
9325 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9327 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9328 from the .c file as it's a private file.
9330 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9332 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9333 uses slightly bigger height.
9335 * src/hildon-font-selection-dialog.c: Adding some checks before
9336 freeing memory in the font selection dialog.
9338 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9340 * src/hildon-font-selection-dialog.c: Adding a small check when
9343 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9344 buttons sensitivity on page switching.
9346 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9348 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9349 internal details of adding a bread crumb to the trail.
9351 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9357 * debian/changelog: Updating.
9359 * src/hildon-bread-crumb-trail.h:
9360 * src/hildon-bread-crumb.h: Changing the API guard to
9361 HILDON_ENABLE_UNSTABLE_API.
9363 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9371 * src/hildon-helper.h: Updating.
9373 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9385 * src/hildon-helper.h: Small fix to make the package actually compile.
9387 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9389 * src/hildon-bread-crumb-trail.h:
9390 * src/hildon-bread-crumb.h:
9392 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9393 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9395 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9397 * examples/hildon-bread-crumb-trail-example.c:
9399 * src/hildon-bread-crumb-trail.c:
9400 * src/hildon-bread-crumb-trail.h:
9401 * src/hildon-bread-crumb.c:
9402 * src/hildon-bread-crumb.h:
9403 * src/hildon-marshalers.list:
9404 * src/hildon-bread-crumb-widget.c:
9405 * src/hildon-bread-crumb-widget.h:
9407 Slight change in the widget design. The bread crumb trail API is
9408 unchanged, but HildonBreadCrumb is now an interface. A *private*
9409 implementation, hildon-bread-crumb-widget, is provided and used
9410 internally by the trail for the push_text/push_icon functions.
9412 The generic push API is still available, so anyone can implement
9413 and use its own bread crumb widget.
9415 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9417 * debian/rules: Fixing the shlibs.
9419 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9421 * src/hildon-banner.c: Fixing a problem with timed banners having
9422 their parrent destroyed before they are.
9424 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9426 * src/hildon-bread-crumb.c:
9427 * src/hildon-bread-crumb.h:
9429 Make the get_natural_size function a vfunc.
9431 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9433 * src/hildon-bread-crumb.c:
9434 * src/hildon-bread-crumb-trail.c:
9438 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9445 * debian/changelog: Updating for release.
9447 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9449 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9450 don't leak the pango layout.
9452 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9455 * examples/hildon-bread-crumb-trail-example.c:
9459 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9461 * debian/changelog: Removing the bug-fixed entries that were actually
9462 resolved as WONTFIX.
9464 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9467 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9469 * src/hildon-bread-crumb-trail.c:
9470 * src/hildon-bread-crumb-trail.h:
9471 * src/hildon-bread-crumb.c:
9472 * src/hildon-bread-crumb.h:
9476 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9478 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9479 until it's passed the type check.
9481 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9483 * examples/hildon-bread-crumb-trail-example.c
9487 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9489 * examples/Makefile.am
9490 * examples/hildon-bread-crumb-trail-example.c
9492 * src/hildon-bread-crumb-trail.c
9493 * src/hildon-bread-crumb-trail.h
9494 * src/hildon-bread-crumb.c
9495 * src/hildon-bread-crumb.h
9497 New HildonBreadCrumbTrail widget.
9499 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9501 * src/hildon-range-editor.c (hildon_range_editor_init),
9502 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9503 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9504 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9505 hildon_time_editor_class_init, hildon_time_editor_init),
9506 src/hildon-get-password-dialog.c (invalid_input,
9507 hildon_get_password_set_property, hildon_get_password_get_property,
9508 create_contents, hildon_get_password_dialog_set_max_characters),
9509 src/hildon-set-password-dialog.c (create_contents),
9510 src/hildon-date-editor.c (hildon_date_editor_init),
9511 src/hildon-login-dialog.c (hildon_login_dialog_init),
9512 src/hildon-number-editor.c (hildon_number_editor_init),
9513 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9514 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9515 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9516 configure option and adding the respective checks in the code.
9517 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9518 hildon_calendar_drag_data_received): fixed some build warnings.
9520 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9522 * debian/changelog: A 1.0.0 release notes.