1 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
3 * hildon/hildon-pannable-area.c:
4 (hildon_pannable_area_launch_fade_timeout),
5 (hildon_pannable_area_motion_event_scroll),
6 (hildon_pannable_area_check_move),
7 (hildon_pannable_area_button_release_cb),
8 (hildon_pannable_area_scroll_to):
10 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
11 area drawing operations, since this is the recommended for drawing
14 Fixes: NB#110894 (In event view containing very large description
15 field, application menu is displayed blank while panning)
16 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
19 2009-09-03 Alberto Garcia <agarcia@igalia.com>
21 * doc/hildon-sections.txt
22 * hildon/hildon-button.c
23 * hildon/hildon-edit-toolbar.c
24 * hildon/hildon-gtk.[ch]
25 * hildon/hildon-main.c
26 * hildon/hildon-program.c
27 * hildon/hildon-stackable-window.c:
30 2009-08-28 Alberto Garcia <agarcia@igalia.com>
32 * hildon/hildon-app-menu.c
33 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
34 Close the menu if it receives a grab-notify signal.
36 Fixes: NB#134533 (UI freezes if we show a dialog with
37 gtk_dialog_run() while a menu is opened)
39 2009-08-27 Alejandro G. Castro <alex@igalia.com>
41 * hildon/hildon-pannable-area.c,
42 (hildon_pannable_area_class_init): Reverted tuning modifications:
43 "Pannign needs to be faster" and "Pannable kinetics in large lists
46 2009-08-26 Alberto Garcia <agarcia@igalia.com>
48 * hildon/hildon-sound.c (hildon_play_system_sound):
49 Set "module-stream-restore.id" to "x-maemo-system-sound" when
52 Fixes: NB#133767 (Information and confirmation note sound should
53 follow system profile setting)
55 2009-08-26 Alejandro G. Castro <alex@igalia.com>
57 * hildon/hildon-pannable-area.c,
58 (hildon_pannable_area_class_init): Added more force and increased
59 the max speed threshold.
61 Fixes: NB#135344 (Pannign needs to be faster)
63 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
65 [Release 2.1.96, this time for real]
68 * debian/changelog: updates
70 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
72 * hildon/hildon-pannable-area.c
73 (hildon_pannable_area_get_topmost): change the computation of the
74 co-ordinates transformed when no one of the children is a topmost
76 Fixes: NB#133252 (Opening any feed item from RSS always opens the
77 first feed item in browser)
79 2009-08-26 Alejandro G. Castro <alex@igalia.com>
81 * hildon/hildon-pannable-area.c,
82 (hildon_pannable_area_remove_timeouts): Adding this new function
83 with the code that removes the timeouts of the widget.
84 (hildon_pannable_area_dispose),
85 (hildon_pannable_area_unrealize): Use the new remove function to
86 stop timeouts when unrealizing and disposing.
87 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
88 calculation to avoid negative values in some cases.
90 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
92 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
94 * examples/hildon-check-button-example.c: (button_toggled_cb):
95 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
96 (hildon_check_button_set_active), (hildon_check_button_new),
97 (hildon_check_button_clicked), (hildon_check_button_class_init):
98 * hildon/hildon-check-button.h:
99 * hildon/hildon-set-password-dialog.c: (create_contents),
100 (hildon_set_password_response_change), (hildon_checkbox_toggled):
102 Revert "Make HildonCheckButton derive from GtkToggleButton"
104 2009-08-21 Alberto Garcia <agarcia@igalia.com>
108 * configure.ac: bump version
110 * debian/changelog: updates
112 2009-08-21 Alberto Garcia <agarcia@igalia.com>
114 * hildon/hildon-check-button.h
115 * hildon/hildon-check-button.c
116 (hildon_check_button_clicked, hildon_check_button_class_init):
117 Make HildonCheckButton derive from GtkToggleButton
118 (hildon_check_button_toggled, hildon_check_button_set_active)
119 (hildon_check_button_get_active):
120 Deprecate unnecessary HildonCheckButton API and use the
121 one from GtkToggleButton instead.
123 * hildon/hildon-set-password-dialog.c (create_contents)
124 (hildon_set_password_response_change, hildon_checkbox_toggled)
125 * examples/hildon-check-button-example.c (button_toggled_cb):
126 Update to use the GtkToggleButton API
128 Fixes: MB#4739 (HildonCheckButton should inherit from
131 Fixes: NB#132661 (HildonCheckButton should inherit from
134 2009-08-20 Alberto Garcia <agarcia@igalia.com>
136 * hildon/hildon-pannable-area.c
137 (hildon_pannable_area_class_init):
138 Increase default value of HildonPannableArea:velocity_max to 2000
140 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
142 2009-08-18 Alberto Garcia <agarcia@igalia.com>
146 * configure.ac: bump version
148 * debian/changelog: updates
150 2009-08-11 Alejandro G. Castro <alex@igalia.com>
152 * hildon/hildon-pannable-area.c
153 (hildon_pannable_area_size_allocate): Checked the scrollbars
154 before the first try when defining the layout, avoids two
155 allocations in some situations.
157 Fixes: NB#131794 (pannable area produces unnecessary allocations
158 causing performance problems)
160 2009-08-11 Alejandro G. Castro <alex@igalia.com>
162 * hildon/hildon-pannable-area.c
163 (hildon_pannable_area_button_press_cb),
164 (hildon_pannable_area_motion_notify_cb),
165 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
166 the spurious ref added in the copy, fixes leak of window.
168 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
169 if it's realized without showing and then deleted)
171 2009-08-10 Alberto Garcia <agarcia@igalia.com>
175 * configure.ac: bump version
177 * debian/changelog: updates
179 2009-08-06 Alberto Garcia <agarcia@igalia.com>
181 * examples/hildon-hvolumebar-timer-example.c
183 * hildon/hildon-banner.c
184 (hildon_banner_timeout, hildon_banner_ensure_timeout)
185 * hildon/hildon-calendar.c
186 (calendar_timer, start_spinning)
187 * hildon/hildon-color-chooser.c
188 (inline_limited_expose)
189 * hildon/hildon-date-editor.c
190 (hildon_date_editor_entry_focus_in)
191 (hildon_date_editor_entry_validate)
192 (hildon_date_editor_entry_select_all)
193 * hildon/hildon-note.c
195 * hildon/hildon-number-editor.c
196 (hildon_number_editor_button_pressed)
197 (hildon_number_editor_start_timer, do_mouse_timeout),
198 (add_select_all_idle, hildon_number_editor_select_all)
199 * hildon/hildon-time-editor.c
200 (hildon_time_editor_entry_focus_in)
201 (highlight_callback, hildon_time_editor_validate)
202 (hildon_time_editor_entry_select_all)
203 * hildon/hildon-time-picker.c
204 (hildon_time_picker_arrow_press)
205 (hildon_time_picker_key_repeat_timeout)
206 * hildon/hildon-window.c
207 (hildon_window_key_press_event)
208 (hildon_window_escape_timeout):
209 Replace all calls to g_idle_add/g_timeout_add with their
210 gdk_threads counterparts.
212 Fixes: NB#126198 (gdk-threads API should be used to install idle
213 and timeout handlers)
215 2009-08-06 Alejandro G. Castro <alex@igalia.com>
217 * hildon/hildon-pannable-area.c,
218 (hildon_pannable_area_class_init): Increased the overshooting max
219 speed to get a faster effect.
220 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
221 deceleration of the overshooting
222 (hildon_pannable_area_button_release_cb): Calculate initial
223 overshooting speed when finger on the screen using the distance to
224 launch the effect faster.
226 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
227 lists with slow row renderers)
229 2009-08-05 Alberto Garcia <agarcia@igalia.com>
231 * doc/hildon-sections.txt: Add new functions
233 2009-08-05 Alberto Garcia <agarcia@igalia.com>
235 * hildon/hildon-text-view.[ch]
236 * hildon/hildon-entry.[ch]:
237 Add deprecation guards around deprecated functions.
239 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
241 * hildon/hildon-app-menu.c: Remove leftover function declaration.
243 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
245 Remove the grab from HildonAppMenu
247 * hildon/hildon-app-menu.c:
248 Now hildon-desktop places a blocker window behind the menu to handle
249 its closing, so the grab is no longer needed. This simplifies its
250 implementation and allows the system blanking to succeed.
252 Fixes: NB#130910 (Screen gets unlocked when menu is open)
254 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
258 * configure.ac: bump version
260 * debian/changelog: updates
261 * debian/control: raise debian dependency on GTK+
263 2009-08-04 Alberto Garcia <agarcia@igalia.com>
265 * hildon/hildon-text-view.c
266 * hildon/hildon-entry.c:
267 Remove all placeholder code from HildonEntry and HildonTextView
268 and use the API in GtkEntry and GtkTextView instead.
270 * examples/hildon-entry-example.c
271 * examples/hildon-text-view-example.c
272 * examples/hildon-wizard-dialog-example.c
273 * hildon/hildon-get-password-dialog.c
274 * hildon/hildon-login-dialog.c
275 * hildon/hildon-picker-dialog.c
276 * hildon/hildon-set-password-dialog.c
277 * hildon/hildon-touch-selector-entry.c:
278 Replace all deprecated calls to HildonEntry and HildonTextView
279 with their Gtk counterparts.
281 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
284 2009-08-03 Alejandro G. Castro <alex@igalia.com>
286 * hildon/hildon-pannable-area.c,
287 (hildon_pannable_area_check_move),
288 (hildon_pannable_area_button_release_cb),
289 (hildon_pannable_area_scroll_to): Reverted the priority change of
290 the timeout, in some situations, slow renderers, the click do not
291 make it to the mainloop on time.
293 Fixes NB#131013 (unable to stop panning file manager by tapping on
296 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
298 * configure.ac: bump version
300 * debian/changelog: updates
302 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
304 * hildon/hildon-touch-selector.[ch]
305 (hildon_touch_selector_center_on_index): New method that allows to center
306 on a item not selected
308 Fixes NB#130291 (New HildonTouchSelector API is required to center on
311 2009-07-29 Alberto Garcia <agarcia@igalia.com>
313 * hildon/hildon-text-view.c
314 (+set_logical_color, +hildon_text_view_style_set)
315 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
316 (hildon_text_view_init)
317 * hildon/hildon-entry.c
318 (+set_logical_color, +hildon_entry_style_set)
319 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
320 (hildon_entry_class_init, hildon_entry_init)
321 * hildon/hildon-button.c
322 (+set_logical_font, +set_logical_color)
323 (hildon_button_style_set, hildon_button_init)
324 (hildon_button_set_arrangement, hildon_button_set_style):
325 Remove all calls to hildon_helper_set_logical_font() and
326 hildon_helper_set_logical_color(), which are recursive, from
329 Fixes: NB#123409 (Showing dialog consumes significant amount of
332 2009-07-29 Alejandro G. Castro <alex@igalia.com>
334 * hildon/hildon-pannable-area.c,
335 (hildon_pannable_area_timeout): Added the process updates of the
336 scrollbars window in the pannable.
338 Fixes: NB#130043 (scrollindicator not smooth while panning)
340 2009-07-23 Alejandro G. Castro <alex@igalia.com>
342 * hildon/hildon-pannable-area.c,
343 (hildon_pannable_area_check_move),
344 (hildon_pannable_area_button_release_cb),
345 (hildon_pannable_area_scroll_to): Increased the priority of the
346 timeout this way it is going to be handled before the events.
348 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
352 * configure.ac: bump version
353 * debian/changelog: updates
355 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
357 * hildon/hildon-entry.c: (set_property): Do not allow to set
358 automatic height and use finger height instead, to prevent an to
359 have a smaller size than than its theme pixbuf.
361 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
363 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
365 * configure.ac: postrelease version bump.
366 * debian/changelog: post release version bump
368 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: Bump version.
374 * debian/changelog: Updates.
376 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
378 * hildon/hildon-note.c: (label_size_request): Take the note
379 padding into account when setting the size request.
381 Fixes: NB#127896 (Information notes text truncated)
383 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
385 * configure.ac: postrelease version bump.
386 * debian/changelog: post release version bump
388 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
393 * configure.ac: Bump version.
394 * debian/changelog: Updates.
396 2009-07-16 Alejandro G. Castro <alex@igalia.com>
399 * hildon/hildon-text-view.c,
400 (hildon_text_view_button_press_event): Grabbed the focus in button
401 press, this way we are sure the widget has the focus in the
402 release event, required for HIM.
404 Fixes: NB#121445 (Virtual keyboard opening is not working in same
405 way for each text entry field)
407 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
409 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
410 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
411 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
412 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
413 (hildon_pannable_area_[gs]et_center_on_child_focus)
414 Redefined GtkContainer set-focus-child signal, in order to center
415 properly on a child when it receives the focus. Defined a new property
416 "center-on-child-focus" in order to activate this feature (deactivated
417 by default). Public get/set methods defined to manage the property.
419 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
421 2009-07-14 László Pere <lpere@blumsoft.eu>
423 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
424 the new size is applied.
426 Fixes: NB#124510 (The Application Menu is distorted when switched
427 between portrait and landscape mode)
428 Fixes: NB#115388 (Power key menu does not resize itself)
430 2009-07-01 Alberto Garcia <agarcia@igalia.com>
432 * hildon/hildon-banner.c (hildon_banner_map):
433 Set banner position after mapping.
435 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
437 * configure.ac: postrelease version bump.
438 * debian/changelog: post release version bump
440 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
445 * configure.ac: Bump version.
446 * debian/changelog: Updates.
448 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
450 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
453 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
455 * tests/check-hildon-banner.c
457 * tests/test_suites.h
458 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
459 were testing deprecated functions.
460 * examples/hildon-banner-example.c: typo on button3 type, that causes
461 a fail compiling with --with-examples but without --disable-deprecated
463 Missed commit in order to fix compilation using '--enable-fatal' and
464 '--disable-deprecated' (see previous commit)
466 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
468 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
469 functions with #ifndef HILDON_DISABLE_DEPRECATED
470 * examples/hildon-find-toolbar.c: Protect deprecated
471 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
472 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
473 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
474 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
476 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
477 to allow proper compilation of deprecated functions defined on the header
479 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
481 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
483 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
484 Cache the panning indicator color.,
485 (hildon_pannable_area_style_set): Query the color on style changes.
486 (hildon_pannable_draw_vscroll),
487 (hildon_pannable_draw_hscroll),
488 (hildon_pannable_area_expose_event): Use the cached panning indicator
489 color instead of looking it up on every expose and more.
491 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
493 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
494 (hildon_pannable_draw_hscroll),
495 (hildon_pannable_area_expose_event): Fix the panning indicator color,
496 so that it's "SecondaryTextColor", as desired.
498 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
500 * hildon/hildon-picker-dialog.c:
501 (selection_completed): take into account HILDON_UI_MODE_NORMAL
502 * hildon/hildon-touch-selector.c
503 (hildon_touch_selector_init): Initialize hildon-ui-mode
504 (hildon_touch_selector_row_activated): new callback for the
505 "row-activated" signal, in order to save the last activated
506 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
507 if the current hildon-ui-mode is coherent with the touch selector
508 (hildon_touch_selector_class_init)
509 (hildon_touch_selector_get_property)
510 (hildon_touch_selector_set_property)
511 Added "hildon-ui-mode" property
512 (disconnect_model_handlers): renamed to clean_column
513 (hildon_touch_selector_remove): use clean_column function
514 (_create_new_column): use the hildon-ui-mode to create the treeview, and
515 only select the first element on HILDON_UI_MODE_EDIT
516 (hildon_touch_selector_column_init): Initialize last_activate
517 (hildon_touch_selector_append_column): check that the touch selector
518 is coherent with the current hildon-ui-mode
519 (hildon_touch_selector_get_hildon_ui_mode)
520 (hildon_touch_selector_set_hildon_ui_mode)
521 Added a getter/setter for the hildon-ui-mode property
522 (hildon_touch_selector_get_last_activated_row): Added this method in
523 order to get the last activated row.
524 * examples/hildon-touch-selector-normal-mode-example.c
525 New example, that shows how to use the HildonTouchSelector in
526 HILDON_UI_MODE_NORMAL
528 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
529 Kristian Rietveld <kris@lanedo.com> advices
531 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
533 * hildon/hildon-time-selector.c: (update_format_policy): Do
534 not call update_format_dependant_columns() if not necessary.
535 (update_format_dependant_columns): Remove unnecessary check for
536 the number of columns.
538 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
540 * hildon/hildon-note.c (+hildon_note_constructor),
541 (hildon_note_class_init), (+hildon_note_set_padding),
542 (hildon_note_rebuild): Install a constructor where to set the
543 padding properties in the note, so that it actually works fine.
544 Use hildon_note_set_padding() for this, and also to set it during
547 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
549 * configure.ac: Bump GTK+ requirement to 2.14.3.
550 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
551 when using maemo-gtk to define proper margins for the notes.
553 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
554 with the dialog edge)
556 2009-06-24 Alberto Garcia <agarcia@igalia.com>
558 * hildon/hildon-banner.c
559 (hildon_banner_class_init):
561 (+hildon_banner_size_request):
562 Request always the full width of the screen.
563 (hildon_banner_realize)
564 (-hildon_banner_check_position, hildon_banner_map):
565 hildon_banner_check_position() is not needed in Hildon 2.2.
566 (-hildon_banner_reset_wrap_state)
567 (hildon_banner_constructor, hildon_banner_init):
568 Remove unnecessary calls to hildon_banner_reset_wrap_state()
569 (+banner_do_set_text)
570 (force_to_wrap_truncated):
571 Remove has_been_wrapped and has_been_truncated attributes.
572 (+reshow_banner, hildon_banner_real_show_information)
573 (hildon_banner_show_information_with_markup)
574 (hildon_banner_show_animation, hildon_banner_show_progress)
575 (hildon_banner_set_text, hildon_banner_set_markup):
576 Refactor code. Shrink banner vertically to use the minimum space
577 necessary everytime the text of the label is updated.
578 (screen_size_changed):
579 Call force_to_wrap_truncated() when the size of the screen
582 Fixes: NB#120500 (only device memory connect mmc in use info
583 banner is left aligned)
585 Fixes: NB#120613 (Size of HildonBanner varies depending on
586 previously opened banners)
588 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
590 * hildon/hildon-color-chooser.c
591 (hildon_color_chooser_pointer_motion): Take the widget allocation
594 Fixes: NB#124385 (Unable to select exact point in color mixing box
595 in color palette dialog)
597 2009-06-23 Alejandro G. Castro <alex@igalia.com>
599 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
600 (hildon_pannable_area_dispose)
601 (hildon_pannable_area_button_press_cb)
602 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
603 (hildon_pannable_area_button_release_cb)
604 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
605 New 'panning-started' and 'panning-finished' signals.
607 Fixes: NB#121732 (New feature request: Signal to pannable area
608 that informs when panning is stopped.)
610 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
612 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
613 instead of hardcoded colon.
615 Fixes: NB#124090 (New calendar wizard title is not using
616 ecdg_ti_caption_separator)
618 2009-06-22 David King <davidk@openismus.com>
620 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
621 constants and functions, as well as correct many typos throughout the
624 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
627 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
629 * configure.ac: postrelease version bump.
630 * debian/changelog: post release version bump
632 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
637 * configure.ac: Bump version.
638 * debian/changelog: Updates.
640 2009-06-18 Alberto Garcia <agarcia@igalia.com>
642 * hildon/hildon-window-stack.c
643 (hildon_window_stack_pop_and_push_list):
644 Prevent windows from having the same stack index
646 2009-06-18 Alberto Garcia <agarcia@igalia.com>
648 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
649 Use the index of the previous window rather than the stack length
650 to calculate the new index.
654 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
656 * hildon/hildon-date-selector.c
657 (hildon_date_selector_select_current_date)
658 (hildon_date_selector_get_date)
659 (hildon_date_selector_select_day):
660 Update the documentation: uses always the range (1-31), as it is obvious
661 that the final one will depend on the month and the year, but globally
662 the range is this, in a similar GtkCalendar approach
663 (hildon_date_selector_get_date):
664 Update the documentation: add NULL as a valid value for the day, month
667 Fix some details, after talk with David King on bug MB#4698
669 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
671 * hildon/hildon-touch-selector-entry.c
672 * hildon/hildon-touch-selector.c
673 Update the documentation of the "text-column" property
675 2009-06-18 David King <davidk@openismus.com>
677 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
678 several typos and errors throughout the documentation.
680 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
683 2009-06-18 Alberto Garcia <agarcia@igalia.com>
685 * hildon/hildon-note.c (hildon_note_realize):
686 Make HildonNote support portrait mode.
688 Fixes: NB#123448 (HildonNote is not portrait-friendly)
690 2009-06-17 Alberto Garcia <agarcia@igalia.com>
692 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
693 Document this function
695 2009-06-17 David King <davidk@openismus.com>
697 * hildon/hildon-date-selector.c
698 (hildon_date_selector_select_current_date)
699 (hildon_date_selector_get_date): Update documentation regarding days,
700 as the day of the month is dependent on both the month and the year.
701 (hildon_date_selector_get_date): Fix documentation of output arguments.
703 Fixes: MB#4698 (DateSelector documentation has bad output argument
704 description, and the day depends on both the month and the year)
706 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
708 * hildon/hildon-caption.c: Other documentation fixes to
711 2009-06-17 David King <davidk@openismus.com>
713 * hildon/hildon-caption.c: Minor documentation updates for
714 HildonCaption. Fixes MB#4697.
716 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
718 * doc/hildon-docs.sgml: Add hildon-version section.
719 * doc/hildon-sections.txt:
720 * hildon/hildon-version.h.in: Document versioning macros and
723 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
725 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
726 from HildonPickerDialog section.
728 2009-06-16 Alberto Garcia <agarcia@igalia.com>
730 * hildon/hildon-banner.c (hildon_banner_bind_style)
731 (screen_size_changed, hildon_banner_init)
732 (hildon_banner_real_show_information)
733 (hildon_banner_show_information_with_markup)
734 (hildon_banner_show_animation, hildon_banner_show_progress):
735 Set a different widget name to banners in portrait mode, for them
736 to be themed correctly.
738 2009-06-16 Alberto Garcia <agarcia@igalia.com>
740 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
741 Set a different widget name to notes in portrait mode, for them to
744 Partially fixes: NB#118401 (HildonNote causes unnecessary
747 2009-06-16 Alberto Garcia <agarcia@igalia.com>
749 * hildon/hildon-note.c (hildon_note_class_init)
750 (+hildon_note_size_request, screen_size_changed):
751 Always request the full width of the screen.
753 Fixes: NB#118375 (unnecessary rescaling of images)
755 2009-06-16 Alejandro G. Castro <alex@igalia.com>
757 * hildon/hildon-pannable-area.c,
758 (hildon_pannable_area_init),
759 (hildon_pannable_area_realize): Replaced old code adding flags in
760 the object init, now we add it with the other flags in the realize
763 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
765 * hildon/hildon-note.c: (hildon_note_class_init): Several
766 documentation improvements to the HildonNote widget.
768 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
770 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
772 Fixes: MB#4556 (HildonNoteType is undocumented)
774 2009-06-15 Alberto Garcia <agarcia@igalia.com>
776 * hildon/hildon-picker-button.c:
777 Explain how HildonPickerButton sets the title of its dialog
779 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
780 the title of its dialog)
782 2009-06-15 Alberto Garcia <agarcia@igalia.com>
784 * hildon/hildon-check-button.c:
785 Documentation updates
787 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
790 2009-06-15 Alberto Garcia <agarcia@igalia.com>
793 * hildon/hildon-edit-toolbar-private.h
794 * hildon/hildon-edit-toolbar.c
795 (+hildon_edit_toolbar_set_progress_indicator)
796 (hildon_edit_toolbar_init): Add progress indicator to the
799 * hildon/hildon-gtk.c
800 (hildon_gtk_window_set_progress_indicator):
801 If the window contains a HildonEditToolbar, enable the progress
804 * hildon/hildon-private.h
805 * hildon/hildon-private.c
806 (+hildon_private_create_animation)
807 * hildon/hildon-banner.c
808 (-hildon_banner_create_animation):
809 Moved to hildon-private.c
811 Fixes: NB#102373 (Progress indicator also for the Edit mode
814 2009-06-15 Alberto Garcia <agarcia@igalia.com>
816 * hildon/hildon-app-menu-private.h
817 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
818 (hildon_app_menu_add_filter, +menu_item_button_event)
819 (hildon_app_menu_button_release, hildon_app_menu_init):
820 Make sure that buttons receive 'button-release-event' in spite of
821 the grab held by HildonAppMenu
823 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
825 2009-06-15 Alberto Garcia <agarcia@igalia.com>
827 * hildon/hildon-app-menu.c
828 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
829 New style property to set the size of the group of filter buttons.
831 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
833 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
838 * configure.ac: Bump version.
839 * debian/changelog: Updates.
841 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
843 * hildon/hildon-main.c: Minor documentation fixes.
845 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
847 * doc/hildon-sections.txt:
848 * hildon/hildon-defines.h: Document the defines, organize them,
849 and mark deprecations as such.
851 Fixes: MB#4463 (Hildon size #defines are undocumented)
853 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
855 * hildon/hildon-animation-actor.c:
856 * hildon/hildon-app-menu.c:
857 * hildon/hildon-button.c:
858 * hildon/hildon-date-editor.c:
859 * hildon/hildon-dialog.c:
860 * hildon/hildon-edit-toolbar.c:
861 * hildon/hildon-entry.c:
862 * hildon/hildon-program.c:
863 * hildon/hildon-remote-texture.c:
864 * hildon/hildon-stackable-window.c:
865 * hildon/hildon-text-view.c:
866 * hildon/hildon-touch-selector.c:
867 * hildon/hildon-window-stack.c:
868 * hildon/hildon-window.c:
870 Remove redundant "represents" wording from most of the documentation.
872 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
874 2009-06-12 Alberto Garcia <agarcia@igalia.com>
879 * hildon/hildon-banner-private.h
880 * hildon/hildon-banner.c:
881 Move HildonBannerPrivate to hildon-banner.c and remove
882 hildon-banner-private.h
883 Use a bit field to store private booleans.
885 2009-06-12 Alberto Garcia <agarcia@igalia.com>
887 * hildon/hildon-app-menu.c (hildon_app_menu_map):
888 Don't install a new idle function if there's already one
893 2009-06-11 Alberto Garcia <agarcia@igalia.com>
895 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
896 (+legacy_menu_realized, +legacy_menu_unmapped)
897 (+set_legacy_menu_type):
898 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
899 they can be identified by the window manager.
901 Fixes: NB#101437 (Invoking CSM on the left side of page area is
902 displayed in wrong location)
904 Fixes: MB#4563 (Popup menu won't locate at the left side of the
907 2009-06-11 Alberto Garcia <agarcia@igalia.com>
909 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
911 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
914 2009-06-11 Alberto Garcia <agarcia@igalia.com>
916 * hildon/hildon-code-dialog.c
917 * hildon/hildon-date-editor.c
918 * hildon/hildon-number-editor.c
919 * hildon/hildon-seekbar.c
920 * hildon/hildon-stackable-window.c
921 * hildon/hildon-window.c:
922 Misc documentation updates
924 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
926 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
927 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
929 Fixes: NB#117931 (Theming issues in accounts dialogs)
931 2009-06-09 Alejandro G. Castro <alex@igalia.com>
933 * hildon/hildon-pannable-area.c,
934 (hildon_pannable_area_button_release_cb): Changed the coordinates
935 of the original release in case we want to discard the release,
936 some widgets in Fremantle do not handle the leave-notify.
938 2009-06-09 Alejandro G. Castro <alex@igalia.com>
940 * hildon/hildon-pannable-area.c,
941 (hildon_pannable_area_button_release_cb): Reviewed the logic of
942 the release using the last refactored functions and avoiding the
943 movement if an element was selected.
945 2009-06-09 Alejandro G. Castro <alex@igalia.com>
947 * hildon/hildon-pannable-area.c,
948 (hildon_pannable_area_check_move),
949 (hildon_pannable_area_handle_move),
950 (hildon_pannable_area_motion_notify_cb): Refactored the
951 motion_notify method using a couple of new functions.
953 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
955 * hildon/hildon-date-selector.c:
956 (hildon_date_selector_construct_ui):
957 * hildon/hildon-time-selector.c:
958 (hildon_time_selector_constructor):
959 * hildon/hildon-touch-selector-entry.c:
960 (hildon_touch_selector_entry_set_text_column),
961 (hildon_touch_selector_entry_get_text_column):
962 * hildon/hildon-touch-selector.c: (_default_print_func),
963 (hildon_touch_selector_new_text): Use
964 hildon_touch_selector_set/get_text_column() instead of
965 setting/getting the "text-column" property.
967 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
969 * doc/hildon-sections.txt: Add the new public methods below.
971 * examples/hildon-picker-button-multicolumn-example.c:
972 (create_touch_selector):
973 * examples/hildon-touch-selector-example.c: (create_selector):
974 * examples/hildon-touch-selector-multi-cells-example.c:
976 Use hildon_touch_selector_column_set_text_column()
978 * hildon/hildon-touch-selector-column.h:
979 * hildon/hildon-touch-selector.c:
980 (hildon_touch_selector_column_set_text_column),
981 (hildon_touch_selector_column_get_text_column):
982 Make hildon_touch_selector_column_set/get_column() public, use
983 them in the inline example, document them, and reference to them
986 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
988 * hildon/hildon-time-selector.c: Fix the docs for
989 hildon_time_selector_new_step().
991 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
993 * hildon/hildon-touch-selector.c: Improve the documentation for
994 hildon_touch_selector_append_column().
996 Fixes MB#4641 (Documentation:
997 hildon_touch_selector_append_column() ref-counting)
999 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1001 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1002 Comment out test 5, since the hildon_controlbar_set_range() range
1003 check is broken and fixing it would have side effects. Also,
1004 this finally fixes make distcheck.
1006 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1008 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1010 * tests/TEST-CASES.txt: Remove other bogus test.
1011 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1012 Remove bogus test that was setting/retrieving a valid value.
1014 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1016 * tests/TEST-CASES.txt: Remove bogus tests.
1017 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1018 Remove three bogus tests that were actually setting valid colors.
1020 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1022 * configure.ac: post release version bump
1023 * debian/changelog: post release version bump
1025 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1030 * configure.ac: Bump version.
1031 * debian/changelog: Updates.
1033 2009-06-08 Christian Dywan <christian@lanedo.com>
1037 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1038 Correct errors in hildon_format_file-size_for_display and use
1039 translations from the hildon-fm package instead of osso-filemanager.
1041 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1043 * hildon/hildon-pannable-area.c,
1044 (hildon_pannable_area_init): Initialized new values to handle the
1045 adjustment position.
1046 (hildon_pannable_area_adjust_value_changed): Check if the values
1047 changed before even call the redraw function.
1048 (hildon_pannable_area_size_allocate),
1049 (hildon_pannable_axis_scroll),
1050 (hildon_pannable_area_scroll),
1051 (hildon_pannable_area_jump_to): Improved the diagonal movement
1054 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1057 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1059 * examples/hildon-banner-example.c:
1060 Several style updates
1061 (on_animation_clicked, on_animation_idle)
1062 (on_progress_clicked, on_progress_idle):
1063 Add additional reference for the cases when the parent window is
1066 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1068 * doc/hildon-sections.txt
1069 * hildon/hildon-pannable-area.c
1070 * hildon/hildon-banner.h
1071 * hildon/hildon-banner.c: Documentation updates.
1073 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1076 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1078 * hildon/hildon-calendar-popup.h:
1079 * hildon/hildon-caption.h:
1080 * hildon/hildon-code-dialog.h:
1081 * hildon/hildon-controlbar.h:
1082 * hildon/hildon-date-editor.h:
1083 * hildon/hildon-dialog.h:
1084 * hildon/hildon-get-password-dialog.h:
1085 * hildon/hildon-hvolumebar.h:
1086 * hildon/hildon-login-dialog.h:
1087 * hildon/hildon-note.h:
1088 * hildon/hildon-number-editor.h:
1089 * hildon/hildon-range-editor.h:
1090 * hildon/hildon-seekbar.h:
1091 * hildon/hildon-set-password-dialog.h:
1092 * hildon/hildon-sort-dialog.h:
1093 * hildon/hildon-time-editor.h:
1094 * hildon/hildon-time-picker.h:
1095 * hildon/hildon-volumebar-range.h:
1096 * hildon/hildon-volumebar.h:
1097 * hildon/hildon-vvolumebar.h:
1098 * hildon/hildon-weekday-picker.h:
1099 * hildon/hildon-window.h:
1100 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1101 macros with the current replacements
1103 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1105 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1107 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1108 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1109 itself, to make it fit better with Fremantle style.
1111 Fixes: NB#109878 (height and width of focus on color icon is not
1112 consistent with other item in the application tool bar)
1114 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1116 * hildon/hildon-touch-selector.c:
1117 (hildon_touch_selector_optimal_size_request): use the current requisition
1118 as the base, in order to include any possible extra widget, like the
1119 hildon entry on HildonTouchSelectorEntry
1121 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1123 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1125 * configure.ac: post release version bump
1126 * debian/changelog: post release version bump
1128 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1133 * configure.ac: Bump version.
1134 * debian/changelog: Updates.
1136 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1138 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1140 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1141 to ensure the banner contents are centered, instead of relying on
1142 the expand and fill properties in GtkHBox.
1143 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1145 Fixes: NB#108265 (Animation banner not properly centered)
1147 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1149 * hildon/hildon-pannable-area.c
1150 (hildon_pannable_area_initial_effect): Remove the initial_effect
1151 management, check initial_hint
1152 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1153 set initial_effect to FALSE
1154 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1155 by launching the fade_timeout if the scrollbars state has changed and are
1157 * examples/hildon-pannable-area-initial-hint-example.c
1158 Modified to allow to remove rows too. Add and remove rows one by one.
1160 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1162 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1163 Don't close the menu if there's an animation actor below it.
1165 Fixes: NB#117927 (Application menu not usable with animation
1168 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1170 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1171 "focus-on-click" from the dialog button, to avoid stealing the
1172 focus from the entry.
1174 Fixes: NB#118903 (Account setup wizard: Text in Search field
1175 should be focused when "Region" touch list picker is reopened
1178 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1180 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1181 (prepare_action_area): Completely hide the dialog separator.
1183 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1185 * hildon/hildon-touch-selector-entry.c
1186 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1187 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1188 now that the entry is exposed.
1190 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1192 * hildon/hildon-touch-selector-entry.c
1193 (hildon_touch_selector_entry_init): Change the entry's size
1194 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1196 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1198 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1199 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1200 avoid unnecessary scaling.
1202 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1204 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1205 Create grab transfer window before calling parent's map function.
1207 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1208 "crushed" button(s) in the top left corner)
1210 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1212 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1213 Check if the window is already realized when pushing it.
1215 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1217 * configure.ac: post release version bump
1218 * debian/changelog: post release version bump
1220 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1225 * configure.ac: Bump version.
1226 * debian/changelog: Updates.
1228 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1230 * hildon/hildon-app-menu.c: Doc updates.
1232 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1234 * hildon/hildon-banner.c: Remove leftover macro.
1236 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1238 * hildon/hildon-pannable-area.c,
1239 (hildon_pannable_area_scroll_indicator_fade),
1240 (hildon_pannable_area_button_release_cb): Reviewed vmin
1241 conditions, it could cause problems in the fadeout procedure.
1243 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1245 * hildon/hildon-pannable-area.c
1246 (hildon_pannable_area_button_release_cb): Added a threshold to
1247 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1249 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1251 * hildon/hildon-pannable-area.c,
1252 (hildon_pannable_area_set_property): Added code to sync the gtk
1253 dnd threshold with the panning threshold.
1255 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1257 * hildon/hildon-pannable-area.c,
1258 (hildon_pannable_area_class_init): Changed some of the default
1259 values, now it should be less responsive and more accurate.
1261 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1263 * hildon/hildon-pannable-area.c,
1264 (hildon_pannable_area_init),
1265 (hildon_pannable_area_scroll_indicator_fade),
1266 (hildon_pannable_area_button_press_cb),
1267 (hildon_pannable_axis_scroll),
1268 (hildon_pannable_area_timeout),
1269 (hildon_pannable_area_motion_notify_cb),
1270 (hildon_pannable_area_button_release_cb): Changed the name of the
1271 clicked attribute to button_pressed, it is more clear about its use.
1273 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1275 * src/hildon-pannable-area.c
1276 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1278 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1279 vertical scrollbar visibility, and use the data on private section instead,
1280 remove the initial_hint check
1281 (hildon_pannable_area_expose_event): add the initial_hint check here
1283 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1285 * src/hildon-pannable-area.c
1286 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1287 if the fadeout effect was used
1288 (hildon_pannable_area_expose_event): check if it is required to
1289 manage the initial effect on the begining of the function. Previously
1290 it was made at the end, but this doesn't ensure that the scrollbars
1291 will be painted on the first show. Do not set to FALSE initial_effect,
1292 to ensure that the initial hint is showed the first time the pannable
1294 * examples/Makefile.am
1295 * examples/hildon-pannable-area-initial-hint-example.c:
1296 New example, to show that the initial-hint is showed when the widget
1299 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1300 initially if the application can be scrolled)
1302 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1304 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1305 Resize table before adding new items to make sure that
1306 gtk_table_resize() is called just once.
1308 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1310 * hildon/hildon-app-menu-private.h
1311 * hildon/hildon-app-menu.c (item_visibility_changed)
1312 (filter_visibility_changed, hildon_app_menu_show_all)
1313 (hildon_app_menu_hide_all, hildon_app_menu_init):
1314 Rearrange items just once when gtk_widget_show_all()/hide_all()
1317 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1319 * hildon/hildon-app-menu.c
1320 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1321 Don't call gtk_widget_show() on added items.
1323 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1324 automatically when they're added)
1326 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1328 * hildon/hildon-banner.c
1329 (hildon_banner_realize, +hildon_banner_unrealize)
1330 (+screen_size_changed, hildon_banner_class_init):
1331 Redisplay the banner if the screen is rotated.
1333 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1334 on transition from landscape to portrait)
1336 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1338 * hildon/hildon-banner.[ch]:
1339 (hildon_banner_show_information_override_dnd): remove icon_name from the
1340 method definition as it is ignored.
1341 * examples/hildon-banner-dnd-example.c: updated with the change on
1344 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1346 * hildon/hildon-banner-private.h: new require_override_dnd and
1347 overrides_dnd variables
1348 * hildon/hildon-banner.h:
1349 (hildon_banner_show_information_override_dnd): new method, that shows
1350 the information but sets the override flag, in order to show important
1352 * hildon/hildon-banner.c
1353 (hildon_banner_show_information_override_dnd): new method
1354 (hildon_banner_set_override_flag): new utility function
1355 (hildon_banner_real_show_information): new utility function, in order to
1356 generalize the current hildon_banner_show_information_override_dnd and
1357 hildon_banner_show_information_override_dnd
1358 * examples/Makefile.am
1359 * examples/hildon-banner-dnd-example.c: New example that show how to
1360 use the new hildon_banner_show_information_override_dnd
1362 Fixes: NB#114874 (There is no possibility to show hildon banners with
1365 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1367 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1368 behind hildon_pannable_calculate_vel_factor().
1370 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1372 * hildon/hildon-pannable-area.c
1373 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1374 deceleration factors.
1376 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1378 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1379 Reduce the default value for 'scroll_time' to 1 second, since the
1380 current initial scrolling takes too much time.
1382 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1384 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1385 calculate velocity factor during initialization, since the properties
1388 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1390 * hildon/hildon-pannable-area.c
1391 (hildon_pannable_area_set_property): Calculate the velocity factor
1392 after setting the deceleration property and not after.
1394 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1396 * hildon/hildon-entry.c
1397 (hildon_entry_class_init, +set_property, hildon_entry_new)
1398 * hildon/hildon-check-button.c
1399 (hildon_check_button_class_init)
1400 (+set_property, hildon_check_button_new):
1401 Make the theme size a property.
1403 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1404 others) do too much in the _new function)
1406 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1408 * configure.ac: post release version bump
1409 * debian/changelog: post release version bump
1411 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1416 * configure.ac: Bump version.
1417 * debian/changelog: Updates.
1419 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1421 * hildon/hildon-gtk.h
1422 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1423 New API function to take a screenshot of a window
1425 Fixes: NB#106374 (Need API to take a loading screenshot)
1427 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1429 * hildon/hildon-time-selector.c
1430 (update_format_policy): prevent to use hours and minutes unitialized
1432 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1434 * hildon/hildon-window.c (hildon_window_size_request):
1435 Always request the full size of the screen (minus the title bar if
1436 not in fullscreen mode).
1438 Fixes: NB#107486 (HildonWindow should size itself properly)
1440 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1442 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1443 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1444 (on_show_cb), (sound_handling): Disconnect the idle handler for
1445 the sound when the note is finalized to avoid possible crashes.
1447 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1450 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1452 * src/hildon-animation-actor.c,
1453 * src/hildon-remote-texture.c:
1454 Added proper object cleanup to remove signal handler and object
1455 references as HildonAnimationActor and HildonRemoteTexture
1456 objects get destroyed.
1458 Fixes: NB#116682 (Destroying parented animation actors when
1459 parent in unmapped leads to crash)
1461 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1463 Based on a patch by Christian Dywan (christian@imendio.com)
1465 * doc/hildon-sections.txt:
1466 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1467 * hildon/hildon-helper.h: New file size formatting method.
1469 * debian/control: Depend on osso-filemanager l10n package for
1470 proper localization strings.
1472 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1474 * tests/Makefile.am: Include top_srcdir to make possible to build
1475 tests in a different builddir.
1476 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1477 on a different builddir.
1479 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1481 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1482 (hildon_touch_selector_remove): Disconnect model's signal handler
1485 Fixes: NB#116289 (Hildon home crashes while adding task
1488 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1490 * hildon/hildon-button.c
1491 (hildon_button_set_title, hildon_button_set_value):
1492 Hide labels containing an empty string.
1494 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1496 * configure.ac: post release version bump
1497 * debian/changelog: post release version bump
1499 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1504 * configure.ac: Bump version.
1505 * debian/changelog: Updates.
1507 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1509 * hildon/hildon-note-private.h: Removed sound_signal_handler
1510 * hildon/hildon-note.c
1511 (on_show_cb): new callback on note "show" event, this simply adds
1512 a idle, with the function sound_handling
1513 (sound_handling): removed the sound_signal_handler management
1514 (hildon_note_init): connect note "show" event to on_show_cb
1515 (hildon_note_realize): remove the connection to "expose-event"
1517 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1518 device?' confirmation note)
1520 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1522 * hildon/hildon-note.c
1523 (hildon_note_new_information_with_icon_name)
1524 (hildon_note_new_confirmation_with_icon_name):
1525 Terminate the list of parameters in g_object_set() calls
1527 Fixes: NB#115166 (Formatting memory card is not taking place)
1529 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1531 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1532 "dialog-information" role for the sound being played.
1534 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1536 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1537 Don't make the menu a modal window, it causes strange interactions
1538 with the pointer grab and it's not really needed.
1540 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1542 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1544 * hildon/hildon-touch-selector.[ch]
1545 (hildon_touch_selector_optimal_size_request): function added to get a
1546 optimal size request from the touch selector, when you want a dialog to
1547 show as much of the selector
1548 * hildon/hildon-picker-dialog.c:
1549 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1550 (hildon_app_menu_class_init):
1551 New "max-height-landscape" and "max-height-portrait" style properties
1552 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1553 (hildon_picker_dialog_get_max_height): returns the maximum height using
1554 the style properties defined and checking the current portrait/landscape
1556 (_hildon_picker_dialog_set_selector): removed the set_size_request
1558 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1560 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1562 * hildon/hildon-bread-crumb-trail.c:
1563 * hildon/hildon-bread-crumb.c:
1564 * hildon/hildon-seekbar.c:
1565 Add reference to replacements for these deprecated widgets.
1567 Fixes: MB#4461 (Documentation: All deprecations should mention
1570 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1572 * examples/hildon-remote-texture-example.c
1574 Change the include to the hildon-remote-texture in order to compile
1575 properly the examples on the installed libhildon1-examples package
1577 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1579 * tests/Makefile.am: Add check for HildonPickerButton.
1580 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1581 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1582 checks for the HildonPickerButton.
1583 * tests/check_test.c (configure_tests): Add the test suite.
1584 * tests/test_suites.h: likewise.
1586 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1588 * hildon/hildon-touch-selector.c
1589 (+on_row_changed): Emit HildonTouchSelector:changed when the
1590 contents of a selected row change.
1591 (_create_new_column), (_hildon_touch_selector_set_model): connect
1592 to GtkTreeModel:row-changed on a newly set model.
1594 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1596 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1598 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1600 * hildon/hildon-banner.c (hildon_banner_destroy)
1601 (hildon_banner_show_progress, hildon_banner_set_fraction):
1602 Remove the progress bar from HildonBanner and use a progress
1605 Fixes: NB#113761 (Update progress banner to use progress
1608 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1610 * hildon/hildon-banner.c:
1611 Calculate size of the banner label using the actual screen width
1612 rather than using a fixed value.
1614 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1617 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1619 * hildon/hildon-pannable-area.c,
1620 (hildon_pannable_area_class_init): Fixed signals documentation
1623 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1625 * configure.ac: post release version bump
1626 * debian/changelog: post release version bump
1628 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1633 * configure.ac: Bump version.
1634 * debian/changelog: Updates.
1636 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1638 * hildon/hildon-edit-toolbar.c
1639 (hildon_edit_toolbar_init):
1640 Don't let buttons in HildonEditToolbar receive focus.
1642 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1643 typing on an HW arrows key)
1645 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1647 * doc/Makefile.am: Fix build.
1649 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1651 * doc/Makefile.am: Do not redefine content_files.
1653 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1661 Renamed src/ to hildon/
1666 Include <hildon/hildon.h> directly in all examples.
1668 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1670 * src/hildon-sort-dialog.c
1671 (hildon_sort_dialog_add_sort_key_with_sorting)
1675 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1678 make distcheck passes.
1680 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1682 * Makefile.am: Enable gtk-doc during distcheck.
1684 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1686 * Makefile.am: Do not distribute the debian/ directory.
1688 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1690 * doc/Makefile.am: Add the extra SGML files to content_files,
1691 so that they are distributed properly.
1693 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1695 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1698 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1700 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1701 (hildon_note_new_information_with_icon_name): Set the "icon" property
1702 to preserve soundness.
1704 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1706 * src/hildon-font-selection-dialog.c
1707 (hildon_font_selection_dialog_set_property): Fail when the "family"
1708 property is set to NULL.
1710 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1712 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1715 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1717 * src/hildon-time-selector.h:
1718 Added HildonTimeSelectorFormatPolicy
1719 * src/hildon-time-selector.c:
1720 Added PROP_TIME_FORMAT_POLICY
1721 (_check_ampm_format): renamed to check_automatic_ampm_format
1722 (update_format_policy), (update_format_dependant_columns): new functions
1723 (hildon_time_selector_class_init)
1724 (hildon_time_selector_contructor)
1725 (hildon_time_selector_init)
1726 (hildon_time_selector_get_property)
1727 (hildon_time_selector_set_property)
1728 (hildon_time_selector_get_time)
1729 (hildon_time_selector_set_time)
1730 * src/hildon-touch-selector.h: new file
1731 * src/hildon-touch-selector.c
1732 (hildon_touch_selector_emit_changed)
1733 (hildon_touch_selector_block_changed)
1734 (hildon_touch_selector_unblock_changed)
1735 Added functions to allow to block the emission of the "changed" signal
1736 * src/hildon-picker-dialog.c
1737 (hildon_picker_dialog_show): call the parent show before the custom code
1738 * examples/hildon-time-button-example.c
1739 Modified, so now you can configure the time format using the new property
1741 Added a new property "time-format-policy" that allow to choose the time
1742 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1743 case it uses gconf in order to check if the time selector must use
1746 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1749 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1751 * src/hildon-note.c (hildon_note_init):
1752 Label in HildonNote must be left aligned, not centered. This
1753 reverts the last commit in HildonNote.
1755 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1756 is connectivity dialog)
1758 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1763 * doc/hildon-sections.txt:
1764 Added hildon_gtk_window_set_do_not_disturb()
1766 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1768 * src/hildon-note.c (hildon_note_init): Center label.
1770 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1773 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1778 * configure.ac: Bump version.
1779 * debian/changelog: Updates.
1781 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-note-private.h: Add button-width to the private data.
1784 * src/hildon-note.c (+resize_button),
1785 (+hildon_note_orientation_update): methods to repack widgets on orientation
1787 (screen_size_changed): Call above method for confirmation notes.
1788 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1789 (hildon_note_rebuild): Store the original width request from buttons.
1791 Fixes: NB#109635 (Confirmation notes do not support portrait)
1793 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1795 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1796 when it is a progress note.
1798 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1800 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1801 in the note, since there are no horizontally arranged contents.
1803 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-gtk.c (+set_flag): new generic method to
1806 set/delay a flag setting in a window.
1807 (hildon_gtk_window_set_progress_indicator):
1808 (hildon_gtk_window_set_do_not_disturb),
1809 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1810 avoid code redundance.
1812 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1814 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1816 * src/hildon-gtk.c (set_clear_window_flag),
1817 (do_set_progress_indicator), (do_set_do_not_disturb),
1818 (do_set_portrait_flags),
1819 (hildon_gtk_window_set_progress_indicator),
1820 (hildon_gtk_window_set_do_not_disturb),
1821 (hildon_gtk_window_set_portrait_flags):
1822 Allow setting dnd-flag, progress indicator, and portrait flags
1823 when the window is not realized.
1825 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1827 * src/hildon-pannable-area.c,
1828 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1829 the size request policy function and defines.
1831 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1833 * doc/hildon-sections.txt: Add the new API.
1834 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1835 method to set the portrait flags.
1836 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1838 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1840 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1842 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1843 to allow using this method with other flags.
1844 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1845 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1847 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-touch-selector.c
1850 (hildon_touch_selector_append_text_column):
1851 Make the cell renderer use the smallest width possible.
1853 Fixes: NB#108470 (Selected items in multiple selection are either
1854 having a tick that is cut or not visible at all.)
1856 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1858 * src/hildon-touch-selector.c
1859 (hildon_touch_selector_append_text_column):
1862 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1864 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1865 Use g_strdup_printf() instead of a fixed size buffer.
1867 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1870 Close banners when a HildonAppMenu is popped up.
1872 Fixes: NB#111027 (Title menu closed immediately if activated when
1873 "Invalid e-mail address" banner is shown)
1875 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1880 * configure.ac: Bump version.
1881 * debian/changelog: Updates.
1883 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1885 * src/hildon-banner.c (hildon_banner_realize):
1886 Mark HildonBanner as supporting portrait mode.
1887 Use GDK to set window properties insetad of direct Xlib calls.
1889 Fixes: NB#111830 (HildonBanner should be marked as supporting
1892 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1894 * src/hildon-note.c (hildon_note_rebuild):
1895 Hide action area in information notes. Prevents text from being
1896 slightly aligned to the left.
1898 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1901 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1903 Patch by Mox Soini (ext-mox.soini@nokia.com)
1905 * src/hildon-banner.c (hildon_banner_create_animation):
1906 Use stylus-sized icons in animation banner.
1908 Fixes: NB#111206 (stylus sized icon for animation banner)
1910 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1914 (+hildon_gtk_window_set_do_not_disturb):
1915 New API to set the do-not-disturb flag.
1917 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1919 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1921 * examples/hildon-progress-indicator-example.c: Fix example
1923 * src/hildon-gtk.c (set_clear_window_flag)
1924 (hildon_gtk_window_set_progress_indicator):
1925 Create a generic function for setting flags to a window.
1926 Use GDK instead of direct Xlib calls.
1928 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1930 * src/hildon-button.c (hildon_button_set_arrangement):
1931 Due to NB#88126, if one of the labels is too long it will be
1932 painted outside the button. The 'value' label is more likely to be
1933 the longest one, so we change its packing options in order to
1934 truncate it if necessary. As a side effect, the 'title' label will
1935 no longer be truncated.
1937 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1939 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1944 * configure.ac: Bump version.
1945 * debian/changelog: Updates.
1947 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1949 Deprecation of the hildon_pannable_area_set_size_request_policy
1950 API, the only policy properly supported in gtk+ nowadays is the
1953 * src/hildon-pannable-area.c,
1954 (hildon_pannable_area_size_request): Added a workaround for the
1955 size_request to avoid the problems of huge pixmaps in case someone
1956 is still using the function.
1957 * src/hildon-pannable-area.h: Deprecated the enum with the
1960 Fixes: NB#110244 (Problems with the
1961 hildon_pannable_area_set_size_request_policy API)
1963 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1965 * src/hildon-pannable-area.c,
1966 (hildon_pannable_area_init),
1967 (hildon_pannable_area_size_request),
1968 (hildon_pannable_area_style_set),
1969 (hildon_pannable_draw_vscroll),
1970 (hildon_pannable_draw_hscroll),
1971 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1972 indicator_width to clarify the use of the attribute.
1974 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1979 * configure.ac: Bump version.
1980 * debian/changelog: Updates.
1982 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1984 * src/hildon-picker-dialog.c
1985 * src/hildon-touch-selector.c
1986 Reverting the change that tried to avoid the hardcoded height on
1987 the picker dialog, as causes problems on the hildon-touch-selector
1990 Fixes: NB#110029 (selectors not scrolling to selected value)
1992 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1994 * src/hildon-touch-selector.c: Fix typos
1996 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1998 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1999 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2000 request more motions after using it.
2002 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/hildon-calendar.c (hildon_calendar_expose),
2005 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2006 Remove unused variables.
2008 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2010 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2011 variable assignment.
2013 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2016 Check the return value of gtk_tree_selection_get_selected()
2019 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2021 * src/hildon-animation-actor.c
2022 * src/hildon-button.c
2024 * src/hildon-pannable-area.c
2025 * src/hildon-picker-button.c
2026 * src/hildon-program.c
2027 * src/hildon-remote-texture.c
2028 * src/hildon-text-view.c
2029 * src/hildon-touch-selector.c
2030 * src/hildon-window-stack.c
2031 * src/hildon-window.c:
2032 Add missing 'Since: 2.2' tags.
2034 * doc/hildon-sections.txt:
2035 Add some missing symbols.
2037 * doc/hildon-docs.sgml:
2038 New 'Other' section for HildonAnimationActor and
2041 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2043 Patch by Iván Gómez (igomez@igalia.com)
2046 * doc/compiling.sgml
2047 * doc/hildon-docs.sgml
2048 * doc/hildon-sections.txt
2049 * doc/migration.sgml
2050 * doc/resources.sgml
2052 New chapters on using the Hildon library.
2053 Updated the general structure of the reference manual.
2054 Other minor documentation fixes.
2056 * src/hildon-calendar-popup.c
2057 * src/hildon-calendar.c
2058 * src/hildon-controlbar.c
2059 * src/hildon-date-editor.c
2060 * src/hildon-dialog.c
2061 * src/hildon-hvolumebar.c
2062 * src/hildon-number-editor.c
2063 * src/hildon-range-editor.c
2064 * src/hildon-sort-dialog.c
2065 * src/hildon-time-editor.c
2066 * src/hildon-time-picker.c
2067 * src/hildon-volumebar-range.c
2068 * src/hildon-volumebar.c
2069 * src/hildon-vvolumebar.c
2070 * src/hildon-weekday-picker.c:
2071 Add deprecation notes
2073 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2074 Document 'horizontal-movement' and 'vertical-movement' signals.
2076 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2081 * configure.ac: Bump version.
2082 * debian/changelog: Updates.
2084 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2086 * src/hildon-pannable-area.c,
2087 (hildon_pannable_area_class_init): increased the minimum velocity.
2088 (hildon_pannable_area_button_release_cb): Updated the
2089 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2090 setup. Review the code to control that last event.
2092 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2095 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2097 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2099 * src/hildon-get-password-dialog.c
2100 (hildon_get_password_set_property),
2101 (hildon_get_password_get_property), (create_contents):
2102 * src/hildon-login-dialog-private.h:
2103 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2104 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2105 (hildon_login_dialog_get_password):
2106 * src/hildon-set-password-dialog-private.h:
2107 * src/hildon-set-password-dialog.c
2108 (hildon_set_password_set_property),
2109 (hildon_set_password_get_property), (create_contents),
2110 (hildon_set_password_response_change),
2111 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2113 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2114 instead and look more Fremantle style.
2116 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2118 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2120 * doc/hildon-sections.txt
2121 * src/hildon-window-stack.h
2122 * src/hildon-window-stack.c
2123 (+hildon_window_stack_get_windows):
2124 New API to obtain the list of windows on a stack.
2126 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2128 * src/hildon-app-menu.c (hildon_app_menu_popup)
2129 (hildon_app_menu_class_init, -hildon_app_menu_show):
2130 Remove hildon_app_menu_show() and move all its checks to
2131 hildon_app_menu_popup()
2133 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2135 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2136 (_hildon_picker_dialog_set_selector): removed call to
2137 gtk_widget_set_size_request
2138 * src/hildon-touch-selector.c
2139 (_create_new_column): change the pannable size request policy
2141 Avoid to use a hardcoded height for the hildon picker dialog. In order
2142 to get that, we needed to change the hildon pannable size request
2144 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2146 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2148 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2149 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2152 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2154 * debian/control: Depend on osso-system-lock localization package.
2155 * src/hildon-code-dialog.c: Obtain the secu_application_title
2156 translation from osso-system-lock.
2157 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2158 for translation the atk related strings, that's not necessary.
2159 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2160 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2161 cancel button, it is not required.
2163 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2165 * src/hildon-pannable-area.c,
2166 (hildon_pannable_area_class_init): Modified the default value of
2167 the overshooting max speed, we have reduced it.
2169 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2171 * doc/hildon-sections.txt
2172 * src/hildon-window-private.h
2173 * src/hildon-window.h
2174 * src/hildon-window.c (hildon_window_class_init)
2175 (hildon_window_init, hildon_window_finalize)
2176 (hildon_window_realize, hildon_window_get_property)
2177 (hildon_window_set_property, hildon_window_update_markup)
2178 (hildon_window_get_markup, hildon_window_set_markup):
2179 New "markup" property and hildon_window_{get,set}_markup() methods.
2181 * examples/hildon-stackable-window-example.c (new_window):
2182 Update example to use hildon_window_set_markup()
2184 Fixes: NB#106375 (Need API to retitle a window with a title
2187 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2189 * src/hildon-pannable-area.c,
2190 (hildon_pannable_area_class_init): Changed the default value of
2191 the initial_hint to TRUE.
2192 (hildon_pannable_area_initial_effect): Changed the initial effect,
2193 not the effect is just the fade-out of the scrollbars.
2195 Fixes: NB#107775 (No scrollbars can be seen when several items are
2196 available in a dialog)
2198 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2200 * src/hildon-program.c (hildon_program_update_top_most):
2203 Fixes: NB#109179 (Memory leak in Hildon program)
2205 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-banner.c (-get_current_app_window):
2208 Remove unused function.
2210 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2212 * src/hildon-pannable-area.c: Modified the documentation of the
2213 get adjustments functions to explain the problem of using the
2214 adjustment directly.
2215 (hildon_pannable_area_class_init): Improved the explanation about
2218 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2220 * src/hildon-app-menu-private.h
2221 * src/hildon-app-menu.c
2222 (hildon_app_menu_class_init):
2223 Bring back the 'external-border' style property
2224 (hildon_app_menu_class_init, hildon_app_menu_init)
2225 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2226 Set a fixed width-request for the menu, independent of the number
2229 Fixes: NB#94957 (Smoothly opened application menu)
2231 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2235 * src/hildon-banner.c
2236 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2238 Make sure that the banner is correctly placed the first time it's
2240 (hildon_banner_check_position, -check_fullscreen_state):
2241 Show the banner in the same place no matter if the window is in
2242 fullscreen mode or not.
2244 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2246 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2248 * src/hildon-touch-selector.c (_default_print_func): reorder
2249 concatenation for clarity.
2251 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2253 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2254 for multicolumn selectors.
2256 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2258 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2263 * configure.ac: Bump version.
2264 * debian/changelog: Updates.
2266 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2268 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2271 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2273 * configure.ac: removed libcangerra-gtk dependency
2274 * debian/control: removed libcanberra-gtk dependency
2275 * src/Makefile.am: removed libcanberra gtk related flags
2276 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2277 context, and manage a global canberra context instead
2279 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2281 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2283 Patch by Daniel Borgmann (danielb@openismus.com)
2285 * src/hildon-edit-toolbar.c:
2286 Adjust the left padding.
2287 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2288 Paint background of the edit toolbar.
2290 Fixes: NB#107897 (Patch to make editmodetoolbar background
2291 themeable and adjust margin)
2293 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2295 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2297 * src/hildon-program.c (hildon_program_update_top_most):
2298 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2300 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2301 change when the user tasks in/out of an application)
2303 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2305 * configure.ac: added libcangerra-gtk dependency
2306 * debian/control: added libcanberra-gtk dependency
2307 * src/Makefile.am: added libcanberra gtk related flags
2308 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2311 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2313 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2315 * src/hildon-program.c (hildon_program_remove_window)
2316 (hildon_program_add_window): Add checks for the window
2317 parameter. Don't decrease the window counter if the window is not
2320 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2322 * src/hildon-pannable-area.c,
2323 (hildon_pannable_area_realize): Fixed position of the event_window
2324 in the realize method.
2326 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2328 * src/hildon-app-menu-private.h
2329 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2330 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2331 (hildon_app_menu_key_press, hildon_app_menu_init)
2332 (hildon_app_menu_finalize):
2333 Make sure that all idle functions are removed when the widget is
2336 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2338 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2343 * configure.ac: Bump version.
2344 * debian/changelog: Updates.
2346 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-entry.c
2349 (+hildon_entry_show_placeholder),
2350 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2351 that replace hildon_entry_update_contents().
2352 (hildon_entry_set_text),
2353 (hildon_entry_set_placeholder),
2354 (hildon_entry_focus_in_event),
2355 (hildon_entry_focus_out_event): Determine when it is needed
2356 either to show or hide the placeholder and call the above methods.
2358 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2359 when the placeholder text is already set)
2361 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2364 simple GdkPixbufAnim using the new icons for the banner.
2365 (hildon_banner_show_animation): Use the above mentioned method to
2366 create the animation widget.
2368 Fixes: NB#103564 (Make hildon animation banner use individual
2369 image files as the animation)
2371 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2373 * src/hildon-pannable-area.c,
2374 (hildon_pannable_leave_notify_event): Check if the child is NULL
2375 to avoid sending the leave.
2377 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2379 * src/hildon-pannable-area.c,
2380 (hildon_pannable_area_class_init),
2381 (hildon_pannable_leave_notify_event): Added a handler of the
2382 leave-notify-signal to consider when no motion notify before
2385 Fixes: NB#107494 (Items stay selected when clicking and moving
2386 away when inside pannable area)
2388 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2393 * configure.ac: Bump version.
2394 * debian/changelog: Updates.
2396 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2398 Patch by Alberto Garcia (agarcia@igalia.com)
2400 * src/hildon-date-button.c,
2401 (hildon_date_button_class_init),
2402 (hildon_date_button_init): Removed the construct property handling
2403 and created a default selector in the init method.
2404 * src/hildon-picker-button.c,
2405 (hildon_picker_button_class_init): Removed the construct flag of the
2408 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2410 * src/hildon-main.c (hildon_init):
2411 Don't allow hildon_init() to be called more than once.
2413 Fixes: NB#106607 (hildon_init should issue error message upon
2416 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2418 * examples/hildon-pannable-area-touch-list-example.c
2419 * examples/hildon-pannagle-area-touch-grid-example.c
2420 * examples/hildon-edit-toolbar-example.c
2421 * examples/hildon-touch-selector-multi-cells-example.c
2422 Removed the call to gtk_rc_parse_string, as it is not required since
2425 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2427 * src/hildon-pannable-area.c,
2428 (hildon_pannable_area_class_init): Modified the default panning
2429 threshold of the widget to 6px.
2431 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2432 than the threshold value ) within the button is not sending the
2435 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2437 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2438 for the treeview in the new column. This way, the touch list will never
2441 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2442 be selected manually for the HW keys to work)
2444 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2446 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2447 comparison instead of using strcmp(). Fixes a compiler warning as well.
2449 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2451 * doc/hildon-docs.sgml: Do not set the library version in the
2452 document title, use the releaseinfo tag for that purpose instead.
2454 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2457 Do not jump to the first item if the text in the entry is removed.
2459 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2464 * configure.ac: Bump version.
2465 * debian/changelog: Updates.
2467 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2469 * src/hildon-entry.c (hildon_entry_refresh_contents):
2470 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2471 Use "ReversedSecondaryTextColor" for the placeholder text.
2473 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-text-view.c: Fix compilation warning.
2477 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-button.c (hildon_button_class_init): Don't make
2480 "title" and "value" construction properties, to prevent them from
2481 overwriting labels set from derived classes.
2483 * src/hildon-picker-button.c
2484 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2485 (hildon_picker_button_class_init): Make touch-selector a
2486 construction property.
2488 * src/hildon-date-button.c (hildon_date_button_class_init)
2489 (+hildon_date_button_constructed): Add a default date selector if
2492 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2494 * src/hildon-touch-selector.c: Small documentation fixes.
2496 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2498 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2500 * src/hildon-entry.c (hildon_entry_refresh_contents),
2501 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2502 widget name, set the logical color directly instead and a boolean
2503 showing_placeholder instead.
2504 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2505 use the widget name here either.
2507 Fixes: NB#105678 (HildonTextView should use logical colours
2508 instead of setting widget name)
2510 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2512 Patch by Daniel Elster (danielk@openismus.com)
2514 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2515 Add user_data parameter.
2516 (hildon_touch_selector_set_print_func_full): New function akin
2517 hildon_touch_selector_set_print_func() but with support for user
2518 data and a destroy callback.
2519 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2520 to clean up the print function user data.
2521 (hildon_touch_selector_class_init): Install dispose function.
2522 (HildonTouchSelectorPrivate::print_user_data),
2523 (HildonTouchSelectorPrivate::print_destroy_func): New private
2525 (hildon_touch_selector_init): Initialize new private members.
2526 (hildon_touch_selector_get_current_text): Pass along user data
2527 to the print function.
2528 (_default_print_func): Add dummy user_data to parameter list.
2529 * hildon-date-selector.c (_custom_print_func): ditto,
2530 * hildon-time-selector.c (_custom_print_func): ditto,
2531 * hildon-touch-selector-entry.c
2532 (hildon_touch_selector_entry_print_func): ditto.
2534 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2536 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2538 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2540 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2542 * src/hildon-pannable-area.c,
2543 (hildon_pannable_area_init),
2544 (hildon_pannable_area_button_press_cb),
2545 (hildon_pannable_area_motion_notify_cb): We have added code to
2546 handle the leave and enter events when using the motion events.
2548 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2550 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-date-button.c (hildon_date_button_get_date)
2553 (hildon_date_button_set_date): Make sure that the button has a
2556 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2558 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2560 * src/hildon-pannable-area.c,
2561 (hildon_pannable_area_class_init),
2562 (hildon_pannable_area_calculate_velocity): Modify the use of the
2563 force and adapt the value.
2565 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2568 (hildon_app_menu_class_init): Hide the menu if it receives a
2569 delete-event, but don't destroy it
2571 Fixes: NB#104485 (Not able to address the call when application
2572 menu is opened at background)
2574 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-app-menu.c
2577 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2578 Remove the "external-border" style property, let the menu take its
2579 natural size (or the one set by the window manager)
2580 (hildon_app_menu_repack_items):
2581 Don't reshow the menu, avoid flickers.
2583 Partially fixes NB#94957 (Smoothly opened application menu)
2585 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2590 * configure.ac: Bump version.
2591 * debian/changelog: Updates.
2593 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2595 * src/hildon-pannable-area.c,
2596 (hildon_pannable_area_motion_notify_cb): We control that the
2597 direction error margin is used just in case the movement is
2598 allowed in the other direction.
2600 Fixes: NB#105012 (buttons inside a pannable area not getting
2601 release event when dragging/releasing)
2603 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2605 * src/hildon-pannable-area.c,
2606 (hildon_pannable_area_class_init),
2607 (hildon_pannable_area_get_property),
2608 (hildon_pannable_area_set_property),
2609 (hildon_pannable_area_initial_effect),
2610 (hildon_pannable_axis_scroll),
2611 (hildon_pannable_area_button_release_cb): Reviewed the
2612 overshooting effect, now it has its own max
2613 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2614 speed when bouncing.
2616 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2621 * configure.ac: Bump version.
2622 * debian/changelog: Updates.
2624 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2626 * src/hildon-pannable-area.c,
2627 (hildon_pannable_area_class_init): Changed the max speed, now
2628 users can launch the widget very fast. Reduced the default force,
2629 that way it is easier to control the launch speed.
2631 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2633 * src/hildon-pannable-area.c,
2634 (hildon_pannable_area_button_release_cb): Removed this check
2635 because it causes problems when the device is overloaded.
2637 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2640 add a current_text field to store the text entered in the
2641 touch selector entry.
2642 (_clean_current_selection): clean up the current text as well.
2643 (_save_current_selection), (_restore_current_selection):
2644 Save/restore the text in the entry if the selector is a
2645 HildonTouchSelectorEntry.
2647 Fixes: NB#102541 (value entered in the touch selector entry is not
2648 shown when opened for second time)
2650 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2652 * doc/hildon-sections.txt:
2653 * src/hildon-touch-selector-entry.c
2654 (+hildon_touch_selector_entry_get_entry):
2655 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2657 Fixes: NB#104815 (I need accessor to the entry inside
2658 HildonTouchSelectorEntry)
2660 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2663 (hildon_app_menu_class_init):
2664 New "filter-vertical-spacing" style property.
2666 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-find-toolbar.c
2669 (hildon_find_toolbar_emit_close)
2670 (hildon_find_toolbar_emit_invalid_input)
2671 (hildon_find_toolbar_entry_activate):
2672 Use g_signal_emit() instead of g_signal_emit_by_name()
2674 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2676 Patch by Mox Soini (ext-mox.soini@nokia.com)
2678 * tests/TEST-CASES.txt
2679 * tests/check-hildon-banner.c
2680 * tests/check-hildon-note.c
2681 * src/hildon-banner.c
2682 * src/hildon-code-dialog.c
2683 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2684 * src/hildon-time-editor.c
2685 * examples/hildon-lookup-example.c (main):
2686 Replace obsolete icon names with new ones.
2688 * src/hildon-find-toolbar-private.h:
2689 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2690 (-hildon_find_toolbar_emit_search):
2691 Remove find button and change icon of close button.
2693 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2695 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-time-button.c (hildon_time_button_new_step):
2698 Use the "touch-selector" property to set the selector directly
2699 when creating the object.
2701 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2703 Added a new example application that allows tuning the pannable
2704 area and replaced defines with properties in order to simplify the
2705 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2706 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2707 PROP_DIRECTION_ERROR_MARGIN.
2709 * examples/hildon-pannable-area-tuning-example.c: New example
2711 * src/hildon-pannable-area.c,
2712 (hildon_pannable_area_class_init),
2713 (hildon_pannable_area_init),
2714 (hildon_pannable_area_get_property),
2715 (hildon_pannable_area_set_property),
2716 (hildon_pannable_area_launch_fade_timeout),
2717 (hildon_pannable_area_adjust_value_changed),
2718 (hildon_pannable_axis_scroll),
2719 (hildon_pannable_area_motion_notify_cb),
2720 (hildon_pannable_area_scroll_cb),
2721 (hildon_pannable_area_button_release_cb): We have converted some
2722 of the defines that control the widget to properties to simplify
2725 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-app-menu.c (hildon_app_menu_map)
2728 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2729 so it's closed if a new window appears.
2731 Fixes: NB#104485 (Not able to address the call when application
2732 menu is opened at background)
2734 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2737 missing 'break' statement in in 'case' construct to avoid
2740 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2742 * src/hildon-touch-selector-entry.c
2743 (hildon_touch_selector_entry_get_property),
2744 (hildon_touch_selector_entry_set_property): Add missing 'break'
2745 statements in in 'case' constructs to avoid incorrect warnings.
2747 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2749 * src/hildon-time-editor.c
2750 (hildon_time_editor_get_time_separators): Do not crash if
2751 the first label is NULL.
2753 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2755 * src/hildon-date-selector.c (_month_days): Check for month to be
2756 strictly less than 12, since otherwise we may overrun the array.
2758 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-date-button.c (+hildon_date_button_new_full)
2761 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2762 (hildon_date_button_init): Set the date selector using a
2763 construction property, to make it happen after HildonButton's
2764 "value" property is set.
2766 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2767 current date by default)
2769 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2771 * doc/hildon-sections.txt
2772 * src/hildon-program.c
2773 * src/hildon-stackable-window.c
2774 * src/hildon-window.c:
2775 Documentation updates
2777 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2780 (hildon_window_stack_new, +hildon_window_stack_set_property)
2781 (+hildon_window_stack_get_property)
2782 (hildon_window_stack_class_init)
2783 (+hildon_window_stack_set_window_group)
2784 (+hildon_window_stack_get_window_group):
2785 Make the window group a construction property.
2787 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2789 * doc/hildon-sections.txt
2790 * src/hildon-stackable-window-private.h
2791 * src/hildon-stackable-window.h
2792 * src/hildon-stackable-window.c
2793 (-hildon_stackable_window_set_app_menu)
2794 (-hildon_stackable_window_get_app_menu)
2795 (-hildon_stackable_window_toggle_menu)
2796 (-hildon_stackable_window_finalize)
2797 (hildon_stackable_window_class_init)
2798 (hildon_stackable_window_init)
2799 * src/hildon-window-private.h
2800 * src/hildon-window.h
2801 * src/hildon-window.c (hildon_window_init)
2802 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2803 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2804 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2805 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2806 Moved all HildonAppMenu code to HildonWindow. The menu does not
2807 require a HildonStackableWindow anymore.
2809 * src/hildon-app-menu.c
2810 * src/hildon-program.c
2811 * examples/hildon-app-menu-example.c (main):
2812 Update examples and documentation to reflect HildonAppMenu
2815 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2817 * src/hildon-remote-texture.c
2818 * src/hildon-animation-actor.c:
2819 Don't include unused private headers.
2821 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-program-private.h
2824 * src/hildon-program.c
2825 (hildon_program_set_common_menu)
2826 (hildon_program_get_common_menu)
2827 (hildon_program_set_common_app_menu)
2828 (hildon_program_get_common_app_menu):
2829 Change common menu pointers from GtkWidget* to GtkMenu* and
2830 HildonAppMenu* to avoid unnecessary casts.
2832 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-window.c (hildon_window_set_main_menu):
2835 Removed incorrect 'Since:' tag
2837 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2839 * src/hildon-pannable-area.c,
2840 (hildon_pannable_area_calculate_velocity): We use now the
2841 RATIO_TOLERANCE here to check the distance, fixed typo in the
2843 (hildon_pannable_area_motion_notify_cb): We have to set the type
2844 and time even if we are not sending the motion.
2846 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2848 * doc/hildon-sections.txt
2849 * src/hildon-app-menu.h
2850 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2851 (+hildon_app_menu_get_filters): New methods to get the contents of
2854 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2857 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-app-menu.c (hildon_app_menu_popup):
2862 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-window.h
2865 * src/hildon-window.c (+hildon_window_get_main_menu)
2866 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2867 and deprecated hildon_window_get_menu().
2869 * src/hildon-stackable-window.h
2870 * src/hildon-stackable-window.c
2871 (+hildon_stackable_window_set_app_menu)
2872 (+hildon_stackable_window_get_app_menu)
2873 (hildon_stackable_window_set_main_menu): Created
2874 hildon_stackable_window_{get,set}_app_menu() and deprecated
2875 hildon_stackable_window_set_main_menu().
2877 * doc/hildon-sections.txt
2878 * examples/hildon-app-menu-example.c (main)
2879 * src/hildon-app-menu.c
2880 * src/hildon-program.c:
2881 Updated examples and documentation.
2883 Fixes: NB#103758 (No way to obtain a menu from a
2884 HildonStackableWindow)
2886 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2891 * configure.ac: Bump version.
2892 * debian/changelog: Updates.
2894 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2896 * examples/hildon-remote-texture-example.c: Include
2897 hildon-remote-texture.h explicitely.
2898 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2899 applications not defining _XOPEN_SOURCE which don't require this header.
2901 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2903 * doc/hildon-sections.txt
2904 * src/hildon-app-menu.h
2905 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2906 New function to pop up a HildonAppMenu
2908 * src/hildon-stackable-window.c
2909 (hildon_stackable_window_toggle_menu):
2910 Use hildon_app_menu_popup() to show the menu.
2912 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-app-menu.c (hildon_app_menu_show)
2915 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2916 menu if there's another window between it and its parent window.
2918 Fixes: NB#100468 (Application menu window is launched even when a
2919 new secondary-window/dialog is pending to be shown/realized)
2921 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-window-stack.c (hildon_window_stack_push)
2924 (hildon_window_stack_pop_and_push):
2925 Don't forget to push/pop the first window.
2926 Reverse the window list before calling _push_list()
2928 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2930 * src/hildon-picker-button.h
2931 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2932 Remove "value_changed" slot to avoid ABI breakage
2934 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2936 * src/hildon-pannable-area.c,
2937 (hildon_pannable_area_realize),
2938 (hildon_pannable_area_unrealize),
2939 (hildon_pannable_draw_vscroll),
2940 (hildon_pannable_draw_hscroll): Changed the method to handle the
2941 GC used to draw the transparent scrollbar, this way we avoid
2942 creating the GC all the time when drawing the scrollbars.
2944 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2946 * src/hildon-pannable-area.c,
2947 (hildon_pannable_area_init),
2948 (hildon_pannable_area_remove): Removed some unnecessary casts.
2949 (hildon_pannable_area_dispose): Disconnected some signals before
2950 releasing the adjustments.
2952 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2954 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2955 Make sure that all widgets contained in the toolbar are shown.
2957 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2959 * doc/hildon-sections.txt
2960 * src/hildon-picker-button.h
2961 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2962 (_selection_changed, hildon_picker_button_on_dialog_response)
2963 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2964 New hildon_picker_button_value_changed() method.
2967 * src/hildon-picker-button-private.h
2968 * src/hildon-picker-button.c (hildon_picker_button_init)
2969 (+hildon_picker_button_disable_value_changed): Add protected
2970 function for disabling the "value-changed" signal.
2972 * src/hildon-date-button.c (hildon_date_button_set_date):
2973 Don't emit "value-changed" for each one of the three columns.
2975 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2976 before actual change of values)
2978 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2980 * src/hildon-pannable-area.c,
2981 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2982 for the treeview overshooting.
2984 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-banner.c (+hildon_banner_bind_style):
2987 Renamed from hildon_banner_bind_label_style(), now naming the
2988 banner itself as well.
2989 (hildon_banner_show_information),
2990 (hildon_banner_show_information_with_markup),
2991 (hildon_banner_show_animation), (hildon_banner_show_progress):
2992 Name the widgets and labels, based on their type.
2994 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2997 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2999 * src/hildon-note.c (hildon_note_set_property): call
3000 hildon_note_rename() on HildonNote:note-type set.
3001 (hildon_note_rename): Name the note and its label, based on the
3002 HildonNote:note-type property.
3004 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3007 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3009 * src/hildon-pannable-area.c,
3010 (hildon_pannable_area_class_init),
3011 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3012 panning parameters, increased SPS and deceleration factor. Added
3013 also a margin to control fake directions.
3015 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3017 Patch by Sven Herzberg (sven@imendio.com)
3019 * configure.ac: Add missing AM_PROG_CC_C_0
3020 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3022 See NB#101420 (Update unit tests and fix make check)
3024 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3026 This patch was applied before but reverted because it caused
3027 problems, we have changed the main condition and tested the
3028 regressions we detected before and they work ok. We have done a
3029 complete review of the topmost algorithm in order to get a more
3032 * src/hildon-pannable-area.c,
3033 (hildon_pannable_area_get_topmost): Added a new parameter to
3034 filter the the windows that do not include those events.
3035 (hildon_pannable_area_button_press_cb),
3036 (hildon_pannable_area_button_release_cb),
3037 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3038 topmost function, we have added the new parameter.
3040 Fixes: NB#97458 (Pannable area prevents propagation of button
3043 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3046 if all columns in the selector have an item selected.
3047 (_on_dialog_response): Stop "response" signal emission if there is
3048 any selector column without selected items.
3050 Fixes: NB#101889 (Picker dialog should not close when nothing is
3051 selected in multiple selection list)
3053 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3055 * src/hildon-font-selection-dialog.c
3056 (hildon_font_selection_dialog_class_init),
3057 (hildon_font_selection_dialog_init): Remove the preview
3058 button and dialog, since previewing with default theming is likely
3059 to be overcomplicated. The :preview property has now no effect.
3060 Update documentation blurbs to inform about this.
3062 Fixes: NB#92297 (Preview content is not clearly visible for
3063 default colour text)
3065 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3067 Reviewed the geometry that handles the children size and
3068 scrollbar, now it tries a size and reviews the results depending
3069 on the scrollbars visibility.
3071 * src/hildon-pannable-area.c,
3072 (hildon_pannable_area_realize): Fixed a typo.
3073 (hildon_pannable_area_child_allocate_calculate): Added this
3074 function to calculate the child allocation.
3075 (hildon_pannable_area_size_allocate): Reviewed the allocation
3077 (hildon_pannable_area_check_scrollbars),
3078 (hildon_pannable_area_refresh): Refactored refresh function, this
3079 way we can call the code handling the scrollbars without causing a
3080 size_request, it is interesting in the allocate.
3081 (hildon_pannable_area_init): Replace the callbacks of the
3082 value_changed and changed signals to propertly deal with the
3084 (hildon_pannable_area_grab_notify),
3085 (hildon_pannable_area_initial_effect),
3086 (hildon_pannable_area_launch_fade_timeout),
3087 (hildon_pannable_area_adjust_changed),
3088 (hildon_pannable_area_adjust_value_changed),
3089 (hildon_pannable_area_redraw),
3090 (hildon_pannable_area_button_press_cb),
3091 (hildon_pannable_area_button_release_cb),
3092 (hildon_pannable_area_scroll_cb),
3093 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3094 code and use the new functions adjust_changed and
3095 adjust_value_changed.
3097 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3098 Contact editor dialog)
3100 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3105 * configure.ac: Bump version.
3106 * debian/changelog: Updates.
3108 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3110 * src/hildon-pannable-area.c,
3111 (hildon_pannable_area_get_topmost),
3112 (hildon_pannable_area_button_press_cb),
3113 (hildon_pannable_area_button_release_cb),
3114 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3115 topmost function adding the event mask. We have to try a
3116 differente approach because it is still causing problems (NB#9745,
3119 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3121 * src/hildon-banner.c:
3122 Update the maximum width of timed banners.
3123 (force_to_wrap_truncated): Enforce the maximum text width if the
3126 Fixes: NB#102413 (The text margins (wrapping) in information
3127 banner should be HILDON_MARGIN_TRIPLE)
3129 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3131 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3133 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3134 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3135 bound when calculating the scroll indicator position.
3137 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3138 treat ->lower correctly)
3140 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3143 expose event handling, since it is not necessary to draw the focus
3146 Fixes: NB#102467 (Do not show highlight on the text in
3149 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3151 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3152 full height of the toolbar for the button and the label.
3154 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3157 padding before the label and after the button.
3159 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3163 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3164 Add a GtkVSeparator between the button and the back arrow.
3165 Let the button have automatic size.
3166 Set a name to the widget for theming handling.
3168 Fixes: NB#101793 (Make edit toolbar the same height as window
3169 title bar (use title area theming))
3171 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3173 * src/hildon-helper.c (attach_new_color_element): Fix memory
3176 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3178 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3180 * examples/hildon-button-example.c (common_buttons_window): Don't
3183 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3185 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3186 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3188 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3190 * src/hildon-gtk.c: Check that the window is realized.
3192 Fixes: NB#102225 (Crash setting the progress indicator to a non
3195 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3198 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3199 instead of modifying the one in the widget style.
3201 Fixes: NB#101043 (Second row of all the command button are
3202 displayed in transparent mode.)
3204 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3206 * src/hildon-date-button.c
3207 * src/hildon-time-button.c: Add gettext macros
3209 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-date-button.c (hildon_date_button_new):
3212 * src/hildon-time-button.c (hildon_time_button_new_step):
3213 Use new logical strings to set the button default title.
3215 Fixes: NB#99915 (Date and Time options are not localised in Date
3218 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3220 * src/hildon-pannable-area.c
3221 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3222 the PANNING_THRESHOLD.
3224 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3226 * src/hildon-pannable-area.c,
3227 (hildon_pannable_area_class_init): Increased the maximum speed.
3228 (hildon_pannable_area_get_property),
3229 (hildon_pannable_area_set_property),
3230 (hildon_pannable_area_timeout): Added a new low friction mode, it
3231 allows the user avoid friction when launching the widget fast
3232 enough. It is interesting to traverse long lists.
3234 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3236 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3237 (+hildon_stackable_window_delete_event): Ignore delete events if
3238 the window is not the topmost one.
3240 Fixes: NB#101698 (Back button long press and delete-event handling)
3242 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3244 * src/hildon-pannable-area.c,
3245 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3246 gtk-dnd-drag-threshold, it was too big. We have defined our own
3247 dnd define and set a smaller value: PANNIG_THRESHOLD.
3249 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3251 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3252 user-defined icons, use always the default one.
3254 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3256 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3258 This patch was applied before but reverted because it caused
3259 problems, we have changed the main condition and tested the
3260 regressions we detected before and they work ok.
3262 * src/hildon-pannable-area.c,
3263 (hildon_pannable_area_get_topmost): Added a new parameter to
3264 filter the the windows that do not include those events. Added
3265 also a condition when finding the window to filter windows that do
3266 not ask for those events.
3267 (hildon_pannable_area_button_press_cb),
3268 (hildon_pannable_area_button_release_cb),
3269 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3270 topmost function, we have added the new parameter.
3272 Fixes: NB#97458 (Pannable area prevents propagation of button
3275 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3277 * tests/check-hildon-color-button.c (START_TEST): do not leak
3280 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3282 * src/hildon-font-selection-dialog.c
3283 (hildon_font_selection_dialog_get_preview_text): Return NULL
3284 instead of FALSE on the g_return_val_if_fail().
3286 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3288 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3289 * src/hildon-date-selector.c
3290 (hildon_date_selector_select_current_date):
3291 Do not compare unsigned integers to be greater than or equal 0,
3292 because it's always TRUE.
3294 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3297 (hildon_date_selector_constructor): Do not select the current
3298 date until we are handle the "changed" signal, to avoid having bogus
3299 elements in the days model.
3301 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3303 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3304 for num_days, since _month_days() can return a negative value.
3306 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3308 * src/hildon-caption.c (hildon_caption_size_allocate):
3309 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3310 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3312 Initialize allocation variables to 0, to avoid eventually using
3313 unitialized variables.
3315 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-bread-crumb-trail.c
3318 (hildon_bread_crumb_trail_size_allocate):
3319 * src/hildon-calendar.c (hildon_calendar_set_background):
3320 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3321 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3322 * src/hildon-seekbar.c (hildon_seekbar_init):
3323 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3324 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3325 * src/hildon-touch-selector-entry.c
3326 (hildon_touch_selector_get_text_from_model):
3327 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3328 * src/hildon-window.c (hildon_window_finalize):
3330 Remove many unused variables.
3332 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3334 * src/hildon-seekbar.c: (hildon_seekbar_init),
3335 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3337 Remove unnecessary g_assert() calls.
3339 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3341 * src/hildon-caption.c: (hildon_caption_expose),
3342 (hildon_caption_set_property), (hildon_caption_init),
3343 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3344 (hildon_caption_size_request), (hildon_caption_size_allocate),
3345 (hildon_caption_forall), (hildon_caption_set_separator),
3346 (hildon_caption_activate), (hildon_caption_set_child_expand),
3347 (hildon_caption_set_label_text),
3348 (hildon_caption_get_label_alignment):
3350 Remove unnecessary g_assert() calls.
3352 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-banner.c
3355 (hildon_banner_map, hildon_banner_init): Make banner temporary
3356 before mapping it to avoid closing other temporary windows, but
3357 make it non-temporary afterwards to avoid being closed by other
3358 non-temporary windows.
3359 (-hildon_banner_client_event, hildon_banner_init):
3360 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3362 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3365 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3370 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3372 * src/hildon-remote-texture.c
3373 * src/hildon-remote-texture.h
3374 * src/hildon-remote-texture-private.h
3375 * examples/hildon-remote-texture-example.c:
3376 Updates/fixes to remote-texture and its example.
3378 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3380 Patch by Mox Soini (ext-mox.soini@nokia.com)
3382 * src/hildon-code-dialog.c: Update logical id.
3383 * src/hildon-set-password-dialog.c: Update logical id.
3385 Fixes: NB#100646 (Logical strings is shown for ok in set
3386 password,Password needed dialogs)
3388 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3391 * src/hildon-remote-texture.c
3392 * src/hildon-remote-texture.h
3393 * src/hildon-remote-texture-private.h
3395 Added remote texture widget (for Clutter shared memory textures)
3397 * examples/hildon-remote-texture-example.c
3398 * examples/Makefile.am
3399 Added example file for remote texture usage
3401 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3403 * configure.ac: post release version bump.
3404 * debian/changelog: version bump.
3406 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3411 * configure.ac: Bump version.
3412 * debian/changelog: Updates.
3414 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3416 * src/hildon-date-selector.c (hildon_date_selector_init)
3417 (hildon_date_selector_constructor): Don't connect to the "changed"
3418 signal until the selector is completely constructed.
3420 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3422 * src/hildon-touch-selector.c: (_create_new_column),
3423 (hildon_touch_selector_append_column),
3424 (hildon_touch_selector_set_column_selection_mode),
3425 (hildon_touch_selector_set_active),
3426 (hildon_touch_selector_select_iter):
3427 Emit the HildonTouchSelector::changed signal every time selection
3428 is changed in any of the methods above. This behavior was already
3429 documented but not fully functional.
3431 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3432 selection is programmatically changed)
3434 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3436 * doc/hildon-sections.txt: Remove obsolete icon
3437 sizes from here as well.
3439 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3441 * examples/hildon-stackable-window-example.c (add_window): Remove
3444 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-app-menu.c
3447 (hildon_app_menu_show): Check whether the parent window of a menu
3448 is topmost before popping it up.
3450 Fixes: NB#100468 (Application menu window is launched even when a
3451 new secondary-window/dialog is pending to be shown/realized.)
3453 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3455 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3458 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3460 Patch by Mox Soini (ext-mox.soini@nokia.com)
3462 * src/hildon-banner.c: (hildon_banner_show_animation):
3463 use stylus size instead of obsolete note size.
3464 * src/hildon-defines.h: Update icon sizes.
3466 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-touch-selector-entry.c:
3469 (hildon_touch_selector_entry_init): Disable unsupported
3471 (hildon_touch_selector_entry_get_text_column): Emit a warning
3472 if an unsupported input modes is used and explicitile state
3473 these modes in the documentation.
3475 Fixes: NB#99802 (Hildon touch selector entry not working properly
3476 for some of the input modes)
3478 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3480 * src/hildon-pannable-area.c,
3481 (hildon_pannable_area_init): Added the changed signal handlers of
3484 Fixes: NB#100320 (HildonPannableArea does not listen to
3485 GtkAdjustment "change" signals)
3487 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3489 * doc/hildon-sections.txt
3490 * src/hildon-window-private.h
3491 * src/hildon-window.h
3492 * src/hildon-window.c (hildon_window_init)
3493 (hildon_window_realize, hildon_window_unrealize)
3494 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3495 (hildon_window_size_request, hildon_window_size_allocate)
3496 (hildon_window_forall, hildon_window_show_all)
3497 (hildon_window_destroy, +paint_edit_toolbar)
3498 (+hildon_window_set_edit_toolbar):
3499 New hildon_window_set_edit_toolbar() method, to add a
3500 HildonEditToolbar to a window without having to pack it manually.
3502 Reorganize hildon_window_size_allocate()
3504 * src/hildon-edit-toolbar.c: Update documentation.
3506 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3507 example to use the new API.
3509 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3511 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3513 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3514 Remove from stack before calling parent's hide.
3516 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3518 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3519 window is removed from the middle of the stack, update the
3520 transiency of the previous one.
3522 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3525 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3527 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3528 block/unblock the signal handler if it's not actually being used.
3529 Fixes some critical warnings.
3531 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3533 Based on a patch by Iván Gómez (igomez@igalia.com)
3535 * src/hildon-banner.c
3539 * src/hildon-pannable-area.c
3540 * src/hildon-picker-dialog.c
3541 * src/hildon-wizard-dialog.h
3542 * src/hildon-wizard-dialog.c: Documentation updates.
3544 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3545 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3547 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3549 * configure.ac: post release version bump.
3550 * debian/changelog: version bump.
3552 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3557 * configure.ac: Bump version.
3558 * debian/changelog: Updates.
3560 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3562 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3563 a stock icon nor change the relief of the back arrow.
3565 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3566 graphics from theme)
3568 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3570 * src/hildon-button.c (hildon_button_set_alignment): Use
3571 priv->alignment if the button has no child yet.
3573 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3575 * src/hildon-button.c: (hildon_button_init): Set the
3576 button style during initialization to give it the proper
3579 Fixes: NB#99713 (HildonButton value label color is wrong)
3581 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3583 * src/hildon-touch-selector.c: Document
3584 hildon_touch_selector_center_on_selected()
3586 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3588 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3589 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3590 all menu items, but not the menu itself.
3591 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3592 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3593 items after adding them to the menu so keyboard accelerators work.
3594 (hildon_app_menu_show): Don't show the menu if it contains items
3595 but none of them are visible.
3597 * examples/hildon-app-menu-example.c (create_menu): Use
3598 gtk_widget_show_all() to show all menu items.
3600 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-picker-dialog.c:
3603 (-_update_title_on_selector_changed_cb),
3604 (-_dialog_update_title): Removed.
3605 (_select_on_selector_changed_cb), (_on_dialog_response),
3606 (on_selector_columns_changed): Do not update the dialog title.
3607 (setup_interaction_mode): Do not connect to
3608 HildonTouchSelector::changed signal if there's a "done" button, as
3609 the dialog title doesn't need to be updated.
3611 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3614 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3616 Patch by Kristian Rietveld (kris@imendio.com)
3618 * src/hildon-touch-selector.c: (_create_new_column): Use new
3619 GtkTreeView::hildon-row-tapped signal to react to user interactions
3620 instead of ::changed.
3622 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3623 with some dynamic tree model)
3625 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3628 (+screen_size_changed, +label_size_request)
3629 (hildon_note_class_init): Make the Hildon information note have a
3630 minimum height, and make its text hvae a maximum width.
3632 Fixes: NB#98614 (Hildon information note (background) should have
3633 minimum height and maximum text width)
3635 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3637 * src/hildon-banner.h
3638 * src/hildon-banner.c (hildon_banner_show_information)
3639 (hildon_banner_show_informationf)
3640 (hildon_banner_show_information_with_markup): Update documentation
3641 to reflect that the icon_name parameter is not used anymore.
3642 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3643 Remove all code from these functions and mark them as deprecated.
3644 (hildon_banner_show_progress): Mark as deprecated.
3646 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3648 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3650 * src/hildon-pannable-area.c,
3651 (hildon_pannable_area_class_init),
3652 (tranparency_color),
3653 (hildon_pannable_draw_vscroll),
3654 (hildon_pannable_draw_hscroll),
3655 (hildon_pannable_area_expose_event): Added a new way to render the
3656 scrollbars of the pannable area avoiding using cairo at all. This
3657 way we improve the performance of the pannable area rendering. The
3658 cairo rendering procedure is still in the code, we can control
3659 which one to use changing the value of the define
3660 USE_CAIRO_SCROLLBARS.
3662 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3664 * configure.ac: post release version bump.
3665 * debian/changelog: version bump.
3667 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3672 * configure.ac: Bump version.
3673 * debian/changelog: Updates.
3675 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3677 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3678 banners instead of destroying them when they receive a button
3681 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3683 Reverted commit 34028, it was causing regressions, probably the
3684 topmost condition is not correct, we have to check it in more
3685 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3686 propagation of button press events)
3688 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3690 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3691 that the selection is not empty before attempting to retrieve the
3692 current ampm selection.
3694 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3696 * src/hildon-picker-button.c:
3697 (hildon_picker_button_on_dialog_response): Directly update the
3698 button contents when required instead of calling _selection_changed.
3700 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3702 * src/hildon-program.c (hildon_program_update_top_most): Update
3703 'is-topmost' property also when wm_hints is not set.
3705 Fixes: NB#98383 (is-topmost signal is not emitted when task
3706 switcher is clicked.)
3708 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3710 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3714 * src/hildon-animation-actor.c,
3715 * src/hildon-animation-actor.h: Added the animation actor class,
3716 this widget represents an animation actor for WM-assisted
3717 animation effects in the Hildon framework.
3719 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3721 * src/hildon-window-stack-private.h
3722 * src/hildon-window-stack.c
3723 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3724 Avoid calling gtk_widget_show() again indirectly from
3725 hildon_stackable_window_show()
3727 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3732 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3734 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3735 (hildon_time_selector_init): Move the construction of the hours and
3736 ampm columns to the constructor to preserve the order the columns
3739 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3741 * src/hildon-picker-dialog.c:
3742 (hildon_picker_dialog_class_init): Connect a realize method.
3743 (+hildon_picker_dialog_realize): Setup the interaction mode here
3745 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3746 yet, do it during the realize instead.
3747 (_on_dialog_response):
3748 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3749 if the widget is not realized, to avoid the dialog response before it
3752 Avoid premature responses in the HildonPickerDialog that can cause it
3753 to be hidden before it's even shown.
3755 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3757 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3758 (on_selector_columns_changed), (requires_done_button),
3759 (+prepare_action_area), (setup_interaction_mode),
3760 (_hildon_picker_dialog_set_selector):
3762 Split the interaction mode setup into preparation of the
3763 action area (prepare_action_area()) and the connection of
3764 the signals in setup_interaction_mode() and update the code to
3767 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3769 * src/hildon-pannable-area.c,
3770 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3771 per second to 15, we will check if this is ok regarding
3774 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3776 * src/hildon-pannable-area.c,
3777 (hildon_pannable_axis_scroll): Avoid resize if we already have
3778 reached overshoot_max.
3780 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3782 * src/hildon-pannable-area.c,
3783 (hildon_pannable_area_init),
3784 (hildon_pannable_area_realize),
3785 (hildon_pannable_area_size_allocate),
3786 (hildon_pannable_area_map),
3787 (hildon_pannable_area_unmap),
3788 (hildon_pannable_draw_vscroll),
3789 (hildon_pannable_draw_hscroll),
3790 (hildon_pannable_area_expose_event),
3791 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3792 pannable are to avoid the expose events go to the window and
3793 redraw the window. We save this way that part of the stack and the
3794 paint_boxes. We had to change the positions of the elements when
3797 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3799 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3800 * src/hildon-color-chooser-dialog.c:
3801 (hildon_color_chooser_dialog_init):
3802 * src/hildon-font-selection-dialog.c:
3803 (hildon_font_selection_dialog_init),
3804 (hildon_font_selection_dialog_show_preview):
3805 * src/hildon-get-password-dialog.c:
3806 * src/hildon-login-dialog.c:
3807 * src/hildon-set-password-dialog.c:
3808 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3809 * src/hildon-time-picker.c: (hildon_time_picker_init):
3811 Remove obsolete logical string IDs and update to the appropriate ones.
3813 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3815 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3817 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3818 that happens if the window hasn't been realized yet.
3820 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3821 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3823 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3826 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3829 Fixes: NB#98537 (Device hangs in account settings dialog)
3831 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3833 * configure.ac: post release version bump.
3834 * debian/changelog: version bump
3836 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3841 * configure.ac: Bump version.
3842 * debian/changelog: Updates.
3844 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3846 Added a new function to the HildonTimeButton widget that allows to
3847 change the step of the minutes in the selector associated with the
3848 button: hildon_time_button_new_step
3850 * src/hildon-time-button.c,
3851 (hildon_time_button_init),
3852 (hildon_time_button_new),
3853 (hildon_time_button_new_step):
3854 * src/hildon-time-button.h: Added the new function and refactored
3856 * examples/hildon-time-button-example.c,
3857 (main): We have replaced the function without parameters with the
3858 function with the steps set to 5
3860 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3862 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3864 * src/hildon-time-selector.c,
3865 (hildon_time_selector_class_init),
3866 (hildon_time_selector_constructor),
3867 (hildon_time_selector_get_property),
3868 (hildon_time_selector_set_property),
3869 (_create_minutes_model),
3870 (hildon_time_selector_new_step),
3871 (hildon_time_selector_set_time),
3872 * src/hildon-time-selector.h: Added a new property to the
3873 HildonTimeSelector (minutes-step), we use that property to control
3874 the steps between the minutes in the list of the selector. We have
3875 added a new function to the API to create a widget changing the
3876 step: hildon_time_selector_new_step.
3878 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3880 * src/hildon-time-selector.c,
3881 (hildon_time_selector_class_init),
3882 (hildon_time_selector_constructor),
3883 (hildon_time_selector_init): Overrided the construct function when
3884 creating the time selector object. We have moved the minutes model
3885 handling code from the init to the new construction function:
3886 hildon_time_selector_constructor.
3888 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3890 * examples/hildon-date-button-example.c: (main): Use the new
3891 hildon_date_button_new_with_year_range() method in the example.
3892 * src/hildon-date-button.c:
3893 (+hildon_date_button_new_with_year_range): New public method
3894 to conveniently create a HildonDateButton with a custom year range
3895 in its HildonDateSelector.
3896 * src/hildon-date-button.h: Add the new public method definition.
3898 Fixes: NB#97908 (Not possible to change the year range in
3899 HildonDateSelector/HildonDateButton)
3901 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-date-selector.c:
3904 (+hildon_date_selector_set_property),
3905 (+hildon_date_selector_get_property),
3906 (hildon_date_selector_class_init): Install new properties "min-year"
3907 and "max-year" to define boundaries for the year column.
3908 (_create_year_model): Use the boundary properties to populate the model.
3909 (+hildon_date_selector_new_with_year_range): New public method to
3910 create a HildonDateSelector with a user defined year range.
3911 (hildon_date_selector_select_current_date): Use the new boundaries to
3912 calculate the iterator of current year.
3913 * src/hildon-date-selector.h: Add the new public method definition.
3915 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3918 Install a constructor method.
3919 (+hildon_date_selector_construct_ui): construct the widget.
3920 (+hildon_date_selector_constructor): new constructor.
3921 (+hildon_date_selector_init): move out widget construction code to
3922 the new constructor.
3924 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3926 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3927 that there's actually a month or year selected before obtaining them.
3928 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3929 of the HildonTouchSelector::changed signal, as it was emitted on every
3930 single item selection.
3932 Fix some warnings and possible crashers due to the selection restoring.
3934 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3936 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3937 the signal handlers only after creating the dialog instead of on every
3940 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-button.c (hildon_button_init)
3943 * src/hildon-check-button.c (hildon_check_button_init)
3944 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3945 focus when clicked by default.
3947 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3949 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3952 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3954 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3955 Alejandro G. Castro (alex@igalia.com)
3957 * src/hildon-picker-dialog.c:
3958 (hildon_picker_dialog_class_init): install new "center-on-show"
3960 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3961 (hildon_picker_dialog_set_property): add setter code for the new
3963 (hildon_picker_dialog_get_property): add getter code for the new
3965 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3966 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3969 Fixes: NB#92849 (Selected item is not always visible when
3970 HildonTouchSelector is shown)
3972 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3974 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3975 Alejandro G. Castro (alex@igalia.com)
3977 * src/hildon-touch-selector.c:
3978 (_create_new_column): Do not connect to the "realize" signal of the
3980 (hildon_touch_selector_append_column): center on the selected items
3981 when a new column is appended.
3982 (hildon_touch_selector_select_iter): Factor out the code to select a
3983 column to hildon_touch_selector_scroll_to().
3984 (+search_nearest_element): Method to retrieve the nearest selected
3985 element to the visible area of the pannable area in a column.
3986 (+on_realize_cb): scroll to the initially selected item.
3987 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3988 the pannable area is realized, otherwise delay this until it is.
3989 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3990 selected items of a given column.
3991 (+hildon_touch_selector_center_on_selected): Public method to center
3992 all columns on the nearest selected item.
3993 * src/hildon-touch-selector.h: Add definition for
3994 hildon_touch_selector_center_on_selected().
3996 Implement public API to ensure visibility of all selected items in
3997 a HildonTouchSelector.
3999 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4001 Fixed a problem in the fading when calling the scroll_to API, and
4002 improve scrollbar fading handling.
4004 * src/hildon-pannable-area.c,
4005 (hildon_pannable_area_grab_notify): avoid the timeout when the
4007 (hildon_pannable_area_button_press_cb),
4008 (hildon_pannable_area_motion_notify_cb): Code style changes.
4009 (hildon_pannable_area_button_release_cb): Review the conditions
4010 when releasing the mouse button to avoid unrequired fading
4012 (hildon_pannable_area_scroll_to): Do not calculate and set the
4013 velocity if the scroll is not required.
4015 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4017 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4018 Don't check whether the new selector is NULL: it cannot be.
4019 Hold a reference to the selector while doing the replacement.
4021 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4024 unnecessary size_request in a removed widget.
4026 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4028 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4029 an unnecessary reference tracking that was leaking.
4031 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4033 Added delayed motion notify event handling, this way we can
4034 discard redrawing if more than 25 events arrive per second.
4036 * src/hildon-pannable-area.c,
4037 (hildon_pannable_area_init): Initialized the new private atributes
4038 controlling this timeout
4039 (hildon_pannable_area_dispose): Remove the timeout that controls
4040 the motion notify events.
4041 (hildon_pannable_area_scroll): Added a condition to control the
4042 use of the acceleration.
4043 (hildon_pannable_area_motion_event_scroll_timeout),
4044 (hildon_pannable_area_motion_event_scroll): Added this two
4045 functions, they handle the motion notify events inside the
4047 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4048 to the scroll method with the new function.
4049 (hildon_pannable_area_button_release_cb): We have to remove the
4050 timeout handler and move to the last position if the last motion
4051 events were not handled.
4053 Fixes: NB#97028 (Pannable area updates on every motion event)
4055 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4057 * src/hildon-pannable-area.c,
4058 (hildon_pannable_area_get_topmost): Added a new parameter to
4059 filter the the windows that do not include those events. Added
4060 also a condition when finding the window to filter windows that do
4061 not ask for those events.
4062 (hildon_pannable_area_button_press_cb),
4063 (hildon_pannable_area_button_release_cb),
4064 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4065 topmost function, we have added the new parameter.
4067 Fixes: NB#97458 (Pannable area prevents propagation of button
4070 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4072 * src/hildon-pannable-area.c,
4073 (hildon_pannable_area_initial_effect): Added controls before
4074 launching the timeout and the idle functions.
4075 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4076 of the method, in some situations it can return with TRUE and 0 in
4078 (hildon_pannable_area_button_press_cb): We do not need to set
4079 DELAY for fading out here.
4081 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4083 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4086 post-cleaning if the selection is not NULL.
4088 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4091 all items before restoring the selection.
4093 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4095 * src/hildon-touch-selector.c:
4096 (+hildon_touch_selector_unselect_all):
4097 * src/hildon-touch-selector.h: New API to unselect all items in a
4098 column of the touch selector.
4100 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4102 * src/hildon-pannable-area.c,
4103 (hildon_pannable_area_redraw): Added a call to the refresh
4104 function inside the redraw because apparently in some cases the
4105 change in the adjustment does not imply a size allocate.
4107 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4108 despite the view not being scrollable)
4110 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4112 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4113 leak. Check for NULL before attempting to set the window title.
4115 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4118 whether to show or not the 'Done' button each time the dialog is
4119 shown, as it depends on the HildonTouchSelector selection mode.
4121 Fixes: NB#96226 (In multiple selection mode Done button is shown
4122 sometimes in listpicker)
4124 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4126 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4127 for the number of columns in the HildonTouchSelector more than once.
4129 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4131 * src/hildon-touch-selector.c: Minor documentation fixes.
4133 * src/hildon-picker-dialog.c (+_dialog_update_title)
4134 (_select_on_selector_changed_cb)
4135 (_update_title_on_selector_changed_cb)
4136 (on_selector_columns_changed): Update dialog title when there's no
4137 'Done' button and also when the number of columns in the selector
4141 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4142 (+_selection_changed, hildon_picker_button_on_dialog_response)
4143 (hildon_picker_button_selector_selection_changed)
4144 (+hildon_picker_button_selector_columns_changed)
4145 (hildon_picker_button_set_selector): Update button value and emit
4146 'value-changed' when the number of columns in the selector
4150 Fixes: NB#96225 (Dialog titles are not shown according to the
4151 values selected in the list picker)
4153 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4155 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4156 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4157 New "arrow-width" and "arrow-height" style properties to set the
4158 size of the arrow button.
4159 Set name of arrow button ("hildon-edit-toolbar-arrow").
4161 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4162 graphics from theme)
4164 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-picker-button.c:
4167 (hildon_picker_button_selector_selection_changed): Use
4168 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4169 the dialog is present.
4171 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4172 the selection is accepted in the dialog)
4174 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4176 * src/hildon-color-chooser.h
4177 * src/hildon-color-chooser-dialog.h:
4178 Added G_BEGIN_DECLS and G_END_DECLS
4180 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4182 (_clean_current_selection): plug a leak in the list.
4184 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4186 * src/hildon-picker-dialog.c:
4187 (+free_path_list): Method to free a GList of GtkTreePaths.
4188 (_clean_current_selection), (_save_current_selection),
4189 (_restore_current_selection): Save the current selection in
4190 as a list of lists, to support multiple selection properly.
4192 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4194 patch by Claudio Saavedra (csaavedra@igalia.com)
4196 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4197 Store the press position.
4198 (+hildon_text_view_button_release_event): If the release position is
4199 close enough to the press position, move the cursor here. Otherwise,
4201 (hildon_text_view_class_init): Override GtkTextView press, release, and
4202 motion event handlers, disabling this way text selection through
4203 pointer interaction, and allowing the container widget to handle the
4206 Fixes: NB#95828 (HildonTextView functionality)
4208 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4210 Based on a patch by Iván Gómez (igomez@igalia.com)
4212 * src/hildon-button.[ch]
4213 * src/hildon-calendar.c
4214 * src/hildon-check-button.c
4215 * src/hildon-date-editor.c
4216 * src/hildon-date-selector.c
4217 * src/hildon-picker-button.c
4218 * src/hildon-time-editor.c
4219 * src/hildon-time-selector.c
4220 * src/hildon-touch-selector.[ch]:
4221 Documentation updates
4223 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4225 * src/hildon-pannable-area.c,
4226 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4227 threshold, it was required due to X events handling.
4229 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4231 * src/hildon-pannable-area.c,
4232 (hildon_pannable_area_grab_notify),
4233 (hildon_pannable_area_initial_effect),
4234 (hildon_pannable_area_button_press_cb),
4235 (hildon_pannable_area_button_release_cb),
4236 (hildon_pannable_area_scroll_cb),
4237 (hildon_pannable_area_scroll_to): Review the timeout management of
4238 the scrollbar, the frecuency was incorrectly set.
4240 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4242 * src/hildon-picker-button.c:
4243 (+hildon_picker_button_on_dialog_response),
4244 (hildon_picker_button_clicked): Present the dialog instead of
4245 running it with gtk_dialog_run().
4247 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4250 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4253 (hildon_app_menu_finalize): When a window is hidden it doesn't
4254 emit notify::is-topmost, so make sure than the menu also
4255 disappears in that case.
4256 (parent_window_topmost_notify): Renamed from parent_window_hidden
4258 Fixes: NB#94460 (stackable window's menu is not closed when its
4261 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/hildon-touch-selector-entry.c:
4264 (+hildon_touch_selector_entry_set_input_mode),
4265 (+hildon_touch_selector_entry_get_input_mode):
4266 * src/hildon-touch-selector-entry.h: New methods to access the input
4267 mode in the selector's entry.
4269 Fixes: NB#93410 (API required for setting IM mode in
4270 HildonTouchSelectorEntry)
4272 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4274 * configure.ac: post release version bump.
4275 * debian/changelog: version bump
4277 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4282 * configure.ac: Bump version.
4283 * debian/changelog: Updates.
4285 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4287 * src/hildon-touch-selector.c:
4288 (_hildon_touch_selector_has_multiple_selection): No need
4289 to initialize the variables here.
4291 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4293 * src/hildon-note-private.h
4294 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4295 (hildon_note_finalize, hildon_note_rebuild): Close information
4296 notes when they receive a button press.
4298 Fixes: NB#89890 (Information notes does not get disappeared after
4301 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4303 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4304 mark from the wizard title, as it's not really necessary. Also,
4305 do not display the page title if not set.
4307 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4309 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4310 (parent_window_hidden): Use the window's "is-topmost" property to
4311 detect when to hide the menu.
4313 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4315 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4316 (hildon_app_menu_finalize): If the parent window of the menu is
4317 hidden, hide the menu too.
4319 Fixes: NB#94460 (stackable window's menu is not closed when its
4322 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4325 * debian/libhildon1-examples.install
4327 * examples/Makefile.am:
4328 Use dh_install to install all examples.
4329 Use DEB_SRCDIR instead of defining SOURCE_DIR
4331 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4333 * configure.ac: post release version bump.
4334 * debian/changelog: version bump
4336 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4341 * configure.ac: bump version
4342 * debian/changelog: updates
4343 * debian/control: bump gtk+ dependency
4345 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4347 patch by Christian Dywan (christian@imendio.com)
4349 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4350 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4352 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-check-button.c (hildon_check_button_init)
4355 (hildon_check_button_class_init, hildon_check_button_style_set)
4356 (hildon_check_button_apply_style):
4357 New "checkbox-size" style property.
4359 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4360 larger / configurable size)
4362 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4364 * configure.ac: post release version bump.
4365 * debian/changelog: version bump
4367 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4372 * configure.ac: bump version
4373 * debian/changelog: updates
4375 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4377 * doc/hildon-sections.txt
4378 * src/hildon-pannable-area.c
4379 * src/hildon-program.c
4380 * src/hildon-time-editor.c
4381 * src/hildon-touch-selector-entry.c:
4383 More documentation updates.
4385 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4387 * doc/hildon-sections.txt
4388 * src/hildon-caption.c
4389 * src/hildon-code-dialog.c
4390 * src/hildon-color-button.c
4391 * src/hildon-controlbar.c
4392 * src/hildon-date-editor.c
4393 * src/hildon-date-selector.c
4394 * src/hildon-edit-toolbar.c
4395 * src/hildon-find-toolbar.c
4396 * src/hildon-font-selection-dialog.c
4398 * src/hildon-program.c
4399 * src/hildon-range-editor.c
4400 * src/hildon-seekbar.c
4401 * src/hildon-time-editor.c
4402 * src/hildon-time-selector.c
4403 * src/hildon-volumebar-range.c
4404 * src/hildon-volumebar.c
4405 * src/hildon-vvolumebar.c
4406 * src/hildon-weekday-picker.c
4407 * src/hildon-window.c
4408 * src/hildon-wizard-dialog.c:
4410 Lots of documentation fixes.
4412 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4414 Patch contributed by Iván Gómez (igomez@igalia.com)
4416 * src/hildon-check-button.c:
4417 * src/hildon-date-button.c:
4418 * src/hildon-date-selector.c:
4419 * src/hildon-dialog.c:
4420 * src/hildon-edit-toolbar.c:
4421 * src/hildon-entry.c:
4422 * src/hildon-picker-button.c:
4423 * src/hildon-program.c:
4424 * src/hildon-text-view.c:
4425 * src/hildon-time-button.c:
4426 * src/hildon-touch-selector-entry.c:
4427 * src/hildon-window-stack.c:
4429 Add more "since" tags to the new API.
4431 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4433 * doc/hildon-sections.txt: Add below method.
4434 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4435 version for the hildonized scale.
4436 * src/hildon-gtk.h: Add the definition.
4438 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4440 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4442 * doc/hildon-sections.txt: Add missing entries for new methods.
4444 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4446 Added API to pannable are in order to get its adjustments. We
4447 added two properties to manage the values we had in the private
4450 * src/hildon-pannable-area.c:
4451 (hildon_pannable_area_class_init): Added hadjustment and
4452 vadjustment properties in order to expose horizontal and vertical
4454 (hildon_pannable_area_get_property),
4455 (hildon_pannable_area_set_property): Added code to handle the new
4457 (hildon_pannable_area_get_hadjustment),
4458 (hildon_pannable_area_get_vadjustment): API functions to get the
4460 * src/hildon-pannable-area.h:
4461 (hildon_pannable_area_get_hadjustment),
4462 (hildon_pannable_area_get_vadjustment): API functions to get the
4465 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4467 Fixed some leaks, after valgrinding.
4469 * src/hildon-touch-selector.c:
4470 (_default_print_func): Fixed a leak.
4471 (hildon_touch_selector_append_column): Fixed a leak.
4472 * src/hildon-date-button.c:
4473 (hildon_date_button_init): Fixed a leak.
4474 * src/hildon-date-selector.c
4475 (hildon_date_selector_finalize): Fixed a leak.
4477 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4479 Based on a patch by Christian Dywan (christian@imendio.com)
4481 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4483 * src/hildon-gtk.h: Add definition.
4485 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4487 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4489 * src/hildon-picker-button.c: (hildon_picker_button_init),
4490 (hildon_picker_button_new): Set the HildonButton::style property
4491 in the init method, to propagate the value to the derived classes.
4493 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4495 * src/hildon-button.c: (hildon_button_class_init): Do not make
4496 the "style" property a construct property.
4498 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4500 * src/hildon-wizard-dialog.h
4501 * src/hildon-wizard-dialog.c
4502 (hildon_wizard_dialog_set_forward_page_func)
4503 * src/hildon-pannable-area.h
4504 * src/hildon-pannable-area.c
4505 (hildon_pannable_area_set_size_request_policy):
4506 Documentation fixes.
4508 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4510 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4512 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4514 * doc/hildon-sections.txt: Added sections file.
4516 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4519 * src/*.[ch]: Updates.
4521 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4523 * examples/hildon-progress-indicator-example.c: new file
4524 * examples/Makefile.am: include the new example program
4526 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4528 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4530 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4532 * configure.ac: post release version bump
4533 * debian/changelog: version bump
4535 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4540 * configure.ac: bump version
4541 * debian/changelog: updates
4542 * debian/control: bump gtk+ dependency
4544 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-dialog.c: Mark as deprecated.
4547 * src/hildon-dialog.h: Mark as deprecated.
4548 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4549 from HildonDialog and still work, even if
4550 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4551 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4553 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4554 maemo changes) instead)
4556 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4558 * src/hildon-pannable_area.h:
4559 * src/hildon-pannable_area.c:
4560 (hildon_pannable_area_class_init),
4561 (hildon_pannable_area_set_property),
4562 (hildon_pannable_area_get_property),
4563 (hildon_pannable_area_size_request),
4564 (hildon_pannable_area_get_size_request_policy),
4565 (hildon_pannable_area_set_size_request_policy): Added new API
4566 allowing applications to control the request policy. Now they can
4567 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4568 children allocation (HILDON_MOVEMENT_CHILDREN).
4570 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4574 (hildon_gtk_tree_view_set_ui_mode)
4575 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4576 mode of treeviews and iconviews.
4578 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4580 * src/hildon-touch-selector-entry.c:
4581 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4582 of a GtkEntry to get proper theming.
4584 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4585 widget, not GtkEntry)
4587 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4590 no HildonWizardDialogPageFunc.
4592 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4594 Patch contributed by Iván Gómez (igomez@igalia.com)
4596 * src/hildon-app-menu.c:
4597 * src/hildon-button.c:
4598 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4599 * src/hildon-stackable-window.c:
4600 * src/hildon-time-selector.c:
4601 * src/hildon-touch-selector.c:
4602 * src/hildon-window.c:
4604 Add more "since" tags to the new API in hildon 2.2.
4606 2008-12-05 Tim Janik <timj@imendio.com>
4608 Patch contributed by Christian Dywan (christian@imendio.com)
4610 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4611 HildonSizeType, which are supplied by Gtk+ now.
4613 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4615 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4616 (with maemo changes) instead)
4618 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4620 Patch contributed by Iván Gómez (igomez@igalia.com)
4622 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4625 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4627 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4628 (some_page_func), (main): Update the example to use a
4629 HildonWizardDialogPageFunc function.
4631 * src/hildon-wizard-dialog-private.h: Add private data for
4632 the HildonWizardDialogPageFunc function usage.
4634 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4635 (destroy), (hildon_wizard_dialog_init), (response),
4636 (hildon_wizard_dialog_set_forward_page_func):
4637 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4638 that applications can use to stop a HildonWizardDialog to jump to
4641 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4644 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4646 * src/hildon-program.h
4647 * src/hildon-program-private.h
4648 * src/hildon-program.c (hildon_program_init)
4649 (hildon_program_set_common_app_menu)
4650 (hildon_program_get_common_app_menu):
4651 New API for setting a common HildonAppMenu for all
4652 HildonStackableWindows registered with the HildonProgram.
4654 * src/hildon-stackable-window.c
4655 (hildon_stackable_window_toggle_menu):
4656 Use the common HildonAppMenu if a window doesn't have a specific
4659 * src/hildon-app-menu-private.h
4660 * src/hildon-app-menu.c
4661 (hildon_app_menu_get_parent_window):
4662 Function to obtain the window a HildonAppMenu is attached to.
4663 (hildon_app_menu_set_parent_window):
4664 Hide the menu if the parent window is set to NULL.
4666 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4668 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4669 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4670 search widget to popup.
4672 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4674 * configure.ac: post release version bump
4675 * debian/changelog: version bump
4677 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4682 * configure.ac: bump version
4683 * debian/changelog: updates
4685 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4687 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4689 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4690 (hildon_window_stack_window_realized)
4691 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4692 Set the leader GdkWindow when a window is stacked and realized,
4693 unset it when it's unstacked.
4694 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4696 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4698 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4700 * src/hildon-stackable-window.h
4701 * src/hildon-window-stack.h:
4702 Protect definition of HildonWindowStack using the preprocessor.
4704 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4706 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4707 Fix warning if all menu items are hidden.
4709 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4711 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4713 * src/hildon-controlbar.c:
4714 * src/hildon-hvolumebar.c:
4715 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4716 Multiple scale size defines updates.
4718 Fixes: NB#94322 (Scale Updates)
4720 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4722 * examples/hildon-app-menu-example.c (create_menu)
4723 Show items after adding them to the menu, as in the future the
4724 menu will no longer call gtk_widget_show() on the added items.
4726 * src/hildon-app-menu.c:
4727 Update example as explained above.
4729 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4731 * src/hildon-app-menu.c
4732 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4733 Make sure that all menu items have finger height.
4735 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4737 * src/hildon-picker-dialog.c:
4738 (_on_dialog_response), (_save_current_selection),
4739 (_restore_current_selection), (_clean_current_selection),
4740 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4741 Defined new functions in order to save the current internal selector
4742 selection previous open the dialog, in case that the use cancel the
4743 interaction, so the widget restores the previous selection.
4745 Fixes: NB#92032 (In calendar application, date values in 'new event'
4748 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4750 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4752 * src/hildon-button.c: Add a reference to the button examples in
4753 hildon-button-example.c
4755 * examples/hildon-button-example.c: Added examples of the most
4756 common button layouts.
4758 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4760 * src/hildon-app-menu.c (hildon_app_menu_show)
4761 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4763 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4765 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4767 * src/hildon-picker-dialog.c:
4768 (hildon_picker_dialog_init): Initialize the signal id for
4769 HildonTouchSelector::columns-changed.
4770 (+on_selector_columns_changed): Set up the interaction mode everytime a
4771 column is added or removed from the HildonTouchSelector.
4772 (_hildon_picker_dialog_set_selector): Connect to
4773 HildonTouchSelector::columns-changed and keep track of it.
4775 Make sure to update the interaction mode of the dialog everytime a
4776 column is added or removed in the HildonTouchSelector.
4778 Fixes: NB#93228 (Done button is not shown always in listpicker)
4780 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4782 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4783 a new ::columns-changed signal.
4784 (hildon_touch_selector_append_column): Emit ::columns-changed.
4785 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4787 Add a ::columns-changed signal, emitted when the number of columns in a
4788 HildonTouchSelector changes.
4790 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4793 (_hildon_picker_dialog_set_selector): Factor out the code
4794 to set up the dialog interaction mode.
4796 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4799 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4800 to signal_changed_id.
4802 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4804 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4807 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4809 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4810 Updated the logical ids related to ampm format, as now it is required to
4811 show it correctly localized even on languages with no default
4812 abbreviations for am or pm
4813 (_check_am_pm_format): check correctly the 24h format gconf property
4815 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4817 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4819 * src/hildon-button.c: Documentation updates.
4821 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4824 * src/hildon-caption.c: (hildon_caption_class_init):
4825 * src/hildon-color-button.c: (hildon_color_button_class_init):
4826 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4827 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4828 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4829 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4831 Remove deprecated GTK+ marshalers and replace them with the ones
4832 provided by GLib, for those available, add a marshaler for
4833 BOOLEAN:VOID, which is not available in GLib, and use it.
4835 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4837 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4838 the text from the previous column if there is no
4839 HildonTouchSelectorColumn::text-property set.
4841 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4843 * src/hildon-button.h
4844 * src/hildon-button.c (hildon_button_set_property)
4845 (hildon_button_get_property, hildon_button_class_init)
4846 (hildon_button_set_style, hildon_button_get_style):
4847 New "style" property to change the visual appearance of the
4850 * src/hildon-picker-button.c (hildon_picker_button_new):
4851 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4853 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4854 HildonButton look like PickerButton)
4856 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4858 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4859 column while building the default string.
4861 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4863 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4864 scroll indicator by default.
4866 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4868 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4870 * src/hildon-main.c: Fix the documentation for hildon_init()
4872 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4874 * doc/hildon-docs.sgml
4878 * src/hildon-window-stack-private.h
4879 * src/hildon-window-stack.h
4880 * src/hildon-window-stack.c:
4881 New HildonWindowStack object, that adds support for multiple
4882 stacks of windows per process.
4884 * src/hildon-stackable-window-private.h
4885 * src/hildon-stackable-window.h
4886 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4887 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4888 (hildon_stackable_window_show, hildon_stackable_window_hide)
4889 (hildon_stackable_window_class_init)
4890 (hildon_stackable_window_init):
4891 Use HildonWindowStack for stack management.
4893 * src/hildon-program.c (hildon_program_pop_window_stack)
4894 (hildon_program_peek_window_stack)
4895 (hildon_program_go_to_root_window):
4896 Add a fallback implementation to the deprecated functions using
4899 * examples/hildon-stackable-window-example.c:
4900 Use the new HildonWindowStack API.
4902 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4904 * src/hildon-stackable-window-private.h
4905 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4906 (hildon_stackable_window_hide, hildon_stackable_window_init):
4907 Remove all window stack management.
4909 * src/hildon-program-private.h
4910 * src/hildon-program.h
4911 * src/hildon-program.c (hildon_program_init)
4912 (hildon_program_pop_window_stack)
4913 (hildon_program_peek_window_stack)
4914 (hildon_program_go_to_root_window):
4915 Remove all window stack management and mark functions as
4918 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4920 * src/hildon-app-menu.c (hildon_app_menu_realize):
4921 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4923 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4925 * configure.ac: post release version bump
4926 * debian/changelog: version bump
4928 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4933 * configure.ac: bump version
4934 * debian/changelog: updates
4936 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4938 Based on initial code by Christian Dywan (christian@imendio.com)
4940 * doc/hildon-docs.sgml: Add section for hildon-main.
4941 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4942 * src/Makefile.am: Add new hildon-main.[ch]
4943 * src/hildon-defines.h: Update the icon sizes.
4944 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4945 new library initialization files and register icon sizes.
4946 * src/hildon-main.h: New declarations.
4947 * src/hildon.h: Include hildon-main.h
4949 Add new initialization functions to the library. These methods
4950 will register the hildon specific icon sizes and can be used in the
4951 future for other hildon specific bits.
4953 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4955 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4957 * src/hildon-window.c: (hildon_window_realize),
4958 (hildon_window_notify), (-hildon_window_update_title): Do not set
4959 the application name in the window title.
4961 Fixes: NB#89754 (Applications shouldn't display their names in the
4964 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4966 * src/hildon-note-private.h:
4967 * src/hildon-note.c: (hildon_note_set_property),
4968 (hildon_note_get_property), (hildon_note_class_init),
4969 (hildon_note_init), (hildon_note_finalize),
4970 (hildon_note_new_confirmation_with_icon_name),
4971 (hildon_note_new_information_with_icon_name):
4973 No need to mark as deprecated the actual code. Revert
4974 to avoid missing symbols in widgets using deprecated API.
4976 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4978 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4980 * src/hildon-volumebar.h
4981 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4982 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4984 * src/hildon-helper.h
4985 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4986 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4988 * examples/Makefile.am:
4989 Deprecate hildon-insensitive-example
4991 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4993 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4995 * examples/hildon-pannable-area-buttons-scroll-example.c:
4996 Make all buttons finger height
4998 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5000 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5002 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5003 update the day model only if it is really required, and to avoid the
5004 full-reconstruction aproach. Now it only add or remove the required days.
5006 The purpose of this is avoid superfluous HildonTouchSelector::changed
5009 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5010 with strange parameters)
5012 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5014 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5016 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5017 the WINDOW_TYPE property.
5019 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5021 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5024 Fix dependency to allow parallel compilation with make -jX
5026 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5029 color frame and some minor tweaks to make it more consistent with
5032 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5033 highlighted but not visible)
5035 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5037 * examples/Makefile.am: Fixed typo in the Makefile.am.
5039 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5041 Reviewed the use of MAEMO_GTK define, now we add the define in the
5042 compilation line, and we also add it to the pc file.
5044 * configure.ac: Added MAEMO_GTK define to the compilation command
5045 and removed it from the config.h.
5047 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5048 do not have to take care about this define if the library was
5052 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5054 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5056 * examples/Makefile.am,
5057 * examples/hildon-pannable-area-buttons-scroll-example.c,
5058 * examples/hildon-pannable-area-gesture-signals-example.c,
5059 * examples/hildon-pannable-area-scroll-jump-example.c,
5060 * examples/hildon-pannable-area-tree-view-example.c:
5061 Renamed the pannable area examples, now they have more meaningful
5064 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5066 * src/hildon-touch-selector.c:
5067 (hildon_touch_selector_set_column_selection_mode): Used of
5068 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5069 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5070 to avoid re-seting the same selection mode.
5072 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5073 breaks HildonPickerDialog)
5075 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5077 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5078 conditional in the Makefile.am
5080 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5082 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5083 Remove unused methods.
5085 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-button.c (hildon_button_init):
5088 Make button images center-aligned by default
5090 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5093 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5094 activated, we have to think about how to deal with both defines
5095 MAEMO_GTK and MAEMO_CHANGES.
5097 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5099 * examples/hildon-app-menu-example.c (create_menu): Make all
5100 buttons finger size.
5102 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5104 Fixed the compilation without maemo gtk adding ifdefs with
5105 MAEMO_GTK define to the code, we have to check this version more
5108 * examples/Makefile.am: Added control to avoid some examples that
5109 just make sense with maemo gtk.
5112 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5113 hildon modes with the define.
5115 * examples/hildon-edit-toolbar-example.c,
5116 (create_icon_view): Create the icon view without hildon-gtk
5117 helpers if we are not using maemo gtk.
5119 * src/hildon-touch-selector.c,
5120 (_create_new_column): Create the treeview without hildon-gtk
5121 helpers if we are not using maemo gtk.
5123 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5125 * src/hildon-pnnable-area.c,
5126 (hildon_pannable_area_dispose),
5127 (hildon_pannable_area_button_press_cb),
5128 (hildon_pannable_area_child_mapped),
5129 (hildon_pannable_area_add),
5130 (hildon_pannable_area_remove): Added code to control the position
5131 of the event_window when adding and removing children from the
5132 pannable. We have to raise the event window when the child is
5135 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5136 selection mode using custom widget inside pannable)
5138 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5140 * configure.ac: post release version bump
5141 * debian/changelog: version bump
5143 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5148 * configure.ac: bump version
5149 * debian/changelog: updates
5151 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5153 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5154 search mode, in order to avoid lose the focus on the treeview when
5155 a hw key (like enter) is pressed.
5157 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5158 in HildonDateSelector dialog)
5160 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5162 * debian/rules: Added --enable-maintainer-mode
5163 * Makefile.am: Added ACLOCAL_AMFLAGS
5165 This allows to properly regenerate the Makefiles if you modify the
5166 configure.ac or any Makefile.am.
5168 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5170 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5171 properties, not needed at all.
5173 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5175 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5177 * src/hildon-note.c: (hildon_note_set_property),
5178 (hildon_note_get_property), (hildon_note_class_init),
5179 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5180 (hildon_note_new_confirmation_add_buttons): Remove icons.
5181 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5182 (hildon_note_new_information_with_icon_name): Deprecate.
5183 (hildon_note_new_confirmation): Act directly, without calling
5184 the deprecated constructor.
5185 (hildon_note_new_information): Act directly, without calling
5186 the deprecated constructor.
5187 * src/hildon-note.h: Mark deprecate methods as such.
5188 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5189 not run tests on the deprecated methods if built with deprecation
5192 Fixes: NB#91688 (Never show icons in information notes/confirmation
5195 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5197 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5198 (hildon_app_menu_key_press): Remove leftover usage of the
5199 private structure in HildonAppMenu struct.
5200 * src/hildon-app-menu.h: Remove leftover private structure
5201 from the HildonAppMenu struct.
5203 Fixes a crasher when using the HildonAppMenu.
5205 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5207 * src/hildon-picker-dialog.c: Use appropriate logical id
5208 for the default "Done" text.
5210 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5212 * configure.ac: post release version bump
5213 * debian/changelog: version bump
5215 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5217 Modified the way to scroll to the current selection just when the touch
5218 selector is shown on the screen, avoiding a g_idle. Added too a property
5219 to configure this behaviour. See hildon_pannable_area_jump_to_child
5220 documentation for more information.
5222 * src/hildon-touch-selector.c
5223 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5224 Added 'initial-scroll' property
5225 (hildon_touch_selector_set_property): Added
5226 (hildon_touch_selector_map): Removed as not required anymore
5227 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5228 only a concrete column, instead of iterate along all the columns
5230 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5235 * configure.ac: bump version
5236 * debian/changelog: updates
5238 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5240 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5241 compilation time warnings.
5243 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5245 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5246 the default value for HildonPannableArea::mov-mode to
5247 HILDON_PANNABLE_AREA_MODE_VERT.
5249 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5251 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5253 Reverting following commit:
5255 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5257 * src/hildon-app-menu-private.h
5258 * src/hildon-app-menu.[ch]
5259 * src/hildon-button.[ch]
5260 * src/hildon-check-button.[ch]
5261 * src/hildon-entry.[ch]
5262 * src/hildon-pannable-area.[ch]
5263 * src/hildon-text-view.[ch]:
5264 Added private field to the object's structure.
5266 because it causes an ABI breakage. We will need to introduce these
5267 changes later at some point. See NB#91636 for an extensive
5268 explanation and status.
5270 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5272 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5274 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5275 remove special cases that are no longer necessary.
5277 Fixes: NB#91016 (Change toolbar sizes, simplification)
5279 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5281 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5282 is shown in the cancel note.
5284 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5286 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5287 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5288 (hildon_seekbar_init): Remove steppers, remove expose event.
5289 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5291 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5293 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5295 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5296 label font to "SmallSystemFont" for vertically arranged buttons.
5298 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5301 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-check-button.c
5304 (hildon_check_button_set_active, hildon_check_button_clicked):
5305 Don't access private parts directly, use getters instead.
5307 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-check-button.c (hildon_check_button_new):
5310 Align the contents of the check button to the left.
5312 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5314 * src/hildon-pannable-area.c,
5315 (hildon_pannable_area_scroll_to),
5316 (hildon_pannable_area_jump_to),
5317 (hildon_pannable_area_scroll_to_child),
5318 (hildon_pannable_area_jump_to_child): Replace the mapped
5319 precondition of these functions with the realized, it is the
5320 correct state of the widget in this case. Changed the
5321 documentation according to this modification.
5323 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5325 Added a new EXTRA_CFLAGS option to add the deprecated define to
5326 the compilation command. This way we can avoid using the define in
5327 the documentation compilation.
5329 * configure.ac: Defined EXTRA_CFLAGS.
5331 * examples/Makefile.am:
5333 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5335 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5337 * src/hildon-picker-dialog.c:
5338 Defined a utility macro with the desired touch selector height
5339 Removed currently unused separator, and title_label variables from
5341 (hildon_picker_dialog_init): Removed code related to the creation
5342 of unused private variables title_label and separator.
5343 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5344 to ensure correct visualization of the touch selector inside the dialog.
5345 * src/hildon-touch-selector.c
5346 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5347 ensure a concrete height of the widget.
5349 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5352 * tests/Makefile.am:
5354 Remove spurious whitespaces.
5356 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5358 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5359 compilation warning after the cancel button removal.
5361 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5363 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5365 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5366 Makefile.am, that way we can choose not to compile some examples
5367 and tests of the deprecated widgets.
5369 * examples/Makefile.am: Divided the sources in deprecated and
5372 * src/Makefile.am: Added undef statement of the deprecated
5373 symbol to the enums file generation process.
5375 * src/hildon-color-chooser-dialog.c
5376 * src/hildon-color-chooser-dialog.h
5377 * src/hildon-color-button.c
5378 * src/hildon-color-button.h
5379 * src/hildon-color-chooser.c
5380 * src/hildon-color-chooser.h
5381 * src/hildon-controlbar.c
5382 * src/hildon-controlbar.h
5383 * src/hildon-date-editor.c
5384 * src/hildon-date-editor.h
5385 * src/hildon-hvolumebar.c
5386 * src/hildon-hvolumebar.h
5387 * src/hildon-private.c
5388 * src/hildon-private.h
5389 * src/hildon-range-editor.c
5390 * src/hildon-range-editor.h
5391 * src/hildon-seekbar.c
5392 * src/hildon-seekbar.h
5393 * src/hildon-time-editor.c
5394 * src/hildon-time-editor.h
5395 * src/hildon-time-picker.c
5396 * src/hildon-time-picker.h
5397 * src/hildon-volumebar.c
5398 * src/hildon-volumebar.h
5399 * src/hildon-vvolumebar.c
5400 * src/hildon-vvolumebar.h
5401 * src/hildon-bread-crumb-trail.h
5402 * src/hildon-bread-crumb-trail.c
5403 * src/hildon-calendar-popup.c
5404 * src/hildon-calendar-popup.h
5405 * src/hildon-weekday-picker.c:
5406 * src/hildon-weekday-picker.h:
5407 * src/hildon-bread-crumb-widget.c:
5408 * src/hildon-bread-crumb-widget.h:
5409 * src/hildon-bread-crumb.c:
5410 * src/hildon-bread-crumb.h:
5411 * src/hildon-calendar.c:
5412 * src/hildon-calendar.h:
5413 * src/hildon-caption.c:
5414 * src/hildon-code-dialog.c:
5415 * src/hildon-code-dialog.h:
5416 * src/hildon-font-selection-dialog.c:
5417 * src/hildon-font-selection-dialog.h:
5418 * src/hildon-get-password-dialog.c:
5419 * src/hildon-get-password-dialog.h:
5420 * src/hildon-login-dialog.c:
5421 * src/hildon-login-dialog.h:
5422 * src/hildon-number-editor.c:
5423 * src/hildon-number-editor.h:
5424 * src/hildon-set-password-dialog.c:
5425 * src/hildon-set-password-dialog.h:
5426 * src/hildon-sort-dialog.c:
5427 * src/hildon-sort-dialog.h: This is the list of deprecated
5430 * src/hildon-touch-selector.c:
5431 * src/hildon-window.c: Added undef statement to avoid compilation
5434 * tests/Makefile.am: Divided the sources in deprecated and
5437 * tests/check_test.c,
5438 (configure_tests): Marked the deprecated code that was adding
5439 suites with deprecated tests.
5441 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5443 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5445 * src/hildon-touch-selector.c: (_default_print_func): Do not
5446 duplicate a string returned by gtk_tree_model_get(), it is already
5449 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5452 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5454 * src/hildon-pannable-area.c
5455 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5456 method, it had problems when adding a widget with viewport the
5457 second time. Now checks if it already has a viewport and uses it.
5459 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5462 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5464 * src/hildon-pannable-area.c,
5465 (hildon_pannable_area_scroll_to),
5466 (hildon_pannable_area_jump_to),
5467 (hildon_pannable_area_scroll_to_child),
5468 (hildon_pannable_area_jump_to_child): Added a precondition to the
5469 scroll and jump to functions: the widget must be mapped before we
5470 can safely call these functions. We have also added documentation
5471 to the functions to explain how to use them in this situation.
5474 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5476 Reviewed the threading handling of the pannable widget, we have
5477 used the gdk_threads_add_timeout function instead of the usual
5478 glib handlers. This avoids some problems with the threads.
5480 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5481 (hildon_pannable_area_initial_effect),
5482 (hildon_pannable_area_scroll_indicator_fade),
5483 (hildon_pannable_area_button_press_cb),
5484 (hildon_pannable_area_timeout),
5485 (hildon_pannable_area_motion_notify_cb),
5486 (hildon_pannable_area_button_release_cb),
5487 (hildon_pannable_area_scroll_cb),
5488 (hildon_pannable_area_scroll_to): Removed the
5489 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5490 gdk_threads_add_timeout.
5492 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5494 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5499 * configure.ac: bump version
5500 * debian/changelog: updates
5502 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5505 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5506 * src/hildon-color-chooser-dialog.c:
5507 (hildon_color_chooser_dialog_init):
5508 * src/hildon-font-selection-dialog.c:
5509 (hildon_font_selection_dialog_init):
5510 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5512 Remove all cancel/close-like dialogs, as these are not going to be
5515 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5517 * src/hildon-note.c: (hildon_note_rebuild),
5518 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5521 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5523 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5525 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5526 sure all buttons are shown, even the Cancel/Close-like ones.
5528 Fixes: NB#90861 (Custom Confirmation dialogs should be
5529 protected from cancel button removal)
5531 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5533 * debian/control: Change libhildon1-examples dependency from libhildon1
5535 * debian/libhildon1-examples.install
5537 * Makefile.am: Modified the final install directory for the examples on
5538 package libhildon1-examples
5539 * Makefile.static: Update clean target in order to remove all the binary
5542 Changes suggested by Claudio after review new libhildon1-examples package
5544 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5546 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5547 * src/hildon-touch-selector.c: Ditto.
5549 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5551 * debian/control: Added new package libhildon1-examples, in order to pack
5552 the current hildon examples as documentation
5553 * debian/rules: Not to compress .c files, modify some includes on the
5554 examples (as normally are compiled locally, but when installed it will
5555 require to include the installed libhildon1 library), and rename
5557 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5558 install all the example files on the new example package
5559 * examples/Makefile.static: Added static makefile that can be used to
5560 compile the examples, once installed the new example package
5561 * examples: Most of the examples were modified in order to grant that
5562 all use only '#include "hildon.h"', in order to be easy to prepare
5563 it on the example package
5565 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5568 * debian/libhildon1-dev.install
5569 * debian/libhildon1-doc.install:
5570 Move all gtk-doc files to a separate libhildon1-doc package.
5572 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5574 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5576 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5578 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5580 * debian/rules: Fixed a error in order to avoid unnecessary calls
5581 to autogen.sh on package building
5583 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5585 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5587 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5589 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5592 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-picker-button.c
5595 (hildon_picker_button_finalize):
5596 Free priv->done_button_text
5598 * src/hildon-time-button.c
5599 (hildon_time_button_set_time)
5600 * src/hildon-picker-button.c
5601 (hildon_picker_button_clicked)
5602 (hildon_picker_button_selector_selection_changed)
5603 (hildon_picker_button_set_selector)
5604 * src/hildon-date-button.c
5605 (hildon_date_button_set_date):
5606 Free strings returned by hildon_touch_selector_get_current_text()
5608 * src/hildon-button.c (hildon_button_construct_child):
5609 Fix leaks in priv->image and priv->label_box
5611 Fixes: NB#90535 (Memory leak in picker button)
5613 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5615 * src/hildon-button.c: (hildon_button_get_property): Do not access
5616 private elements directly, use getters instead.
5618 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5620 * src/hildon-app-menu-private.h
5621 * src/hildon-app-menu.c
5622 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5623 Store the menu's parent window.
5625 * src/hildon-stackable-window.c
5626 (hildon_stackable_window_toggle_menu)
5627 (hildon_stackable_window_finalize):
5628 Set the menu's parent window when the menu is shown, unset it when
5631 * src/hildon-app-menu.c
5632 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5633 (hildon_app_menu_class_init):
5634 Send unhandled keyboard accelerators to the parent window.
5636 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5638 * src/hildon-stackable-window.c
5639 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5641 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5643 * configure.ac: post release version bump
5645 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5648 * configure.ac: Bump version
5649 * debian/changelog: Updates
5650 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5653 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5655 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5658 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5659 GtkMenu with Hildon style.
5661 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/hildon-picker-button.c:
5664 (hildon_picker_button_set_done_button_text): Set the dialog's
5665 done button text here as well.
5667 Fixes: NB#90232 (Picker button does not set the label on done button
5668 for the second time)
5670 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5672 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5675 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5677 * src/hildon-app-menu.c (hildon_app_menu_insert)
5678 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5679 the HildonAppMenu to be activatable using keyboard accelerators
5680 when the menu is not being shown.
5682 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5684 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5686 * src/hildon-stackable-window.c
5687 (hildon_stackable_window_show):
5688 Don't hide old windows automatically when new windows are shown:
5689 this is now a task for the window manager.
5690 (hildon_stackable_window_class_init)
5691 (hildon_stackable_window_hide):
5692 Remove windows from the stack everytime they're hidden.
5693 (hildon_stackable_window_realize):
5694 Don't change the _NET_WM_WINDOW_TYPE property. Use
5695 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5696 it as a stackable window.
5698 * src/hildon-program.c
5699 (hildon_program_pop_window_stack):
5700 Just hide the window to remove it from the stack.
5701 (hildon_program_go_to_root_window):
5702 Don't call gtk_widget_show(), this is now a task for the window
5705 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5707 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5709 * src/hildon-button.c
5710 (hildon_button_construct_child):
5711 Don't pack anything in the button until text or image are
5712 set. This allows adding a custom child after creating the button
5713 with hildon_button_new().
5714 (hildon_button_finalize, hildon_button_class_init)
5715 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5716 alignment and the label box even when they're not packed in the
5719 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5721 * src/hildon-touch-selector.h:
5722 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5723 currently the type definition was using GTK_TYPE_VBOX
5724 * src/hildon-touch-selector.c:
5725 Added some implementation notes in order to clarify that any other widget
5726 added without the column related API will not be included on the
5727 selection logic, and how the widget is freed, as some people ask about
5729 (hildon_touch_selector_remove): Reimplemented in order to free properly
5730 the column related data when you remove the private hbox.
5731 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5732 to get a proper HildonTouchSelectorColumn documentation
5734 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5736 * src/hildon-touch-selector-entry.c:
5737 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5738 text in the GtkEntry and there is no item selected. Fixes a
5741 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-app-menu-private.h
5744 * src/hildon-app-menu.[ch]
5745 * src/hildon-button.[ch]
5746 * src/hildon-check-button.[ch]
5747 * src/hildon-entry.[ch]
5748 * src/hildon-pannable-area.[ch]
5749 * src/hildon-text-view.[ch]:
5750 Added private field to the object's structure.
5752 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5754 * configure.ac: post-release version bump
5756 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5760 * configure.ac: pre-release version bump
5762 * debian/changelog: updates.
5764 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5766 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5767 Disconnect the handler for HildonTouchSelector::changed.
5769 (hildon_picker_button_selector_selection_changed): Update the button
5770 value if the selection change was not triggered by the
5773 (hildon_picker_button_set_selector): connect to
5774 HildonTouchSelector::changed.
5776 Fixes: NB#89650 (Picker button is not updated, when selection in
5777 selector has changed)
5779 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5781 * src/hildon-picker-dialog.c
5782 (hildon_picker_dialog_realize): Removed as not required
5783 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5784 * src/hildon-picker-button.c
5785 (_current_selector_empty): New function, checks if the selector is empty
5786 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5787 if the current selector is empty, in order to avoid to show the dialog
5788 close the dialog in this case (and shows a g_warning).
5790 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5792 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5794 * src/hildon-pannable-area.c,
5795 (hildon_pannable_area_scroll): Added clause to stop movement when
5796 the child of pannable is smaller than one page.
5797 (hildon_pannable_area_scroll_to): Added conditions to avoid
5798 starting the scrolling movement if the child is smaller than one
5799 page, the complete child is in the screen, we do not have to move.
5801 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5803 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5805 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5806 this is managed automatically by the widget when the size of the
5809 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5811 * src/hildon-picker-button.c
5812 (hildon_picker_button_set_done_button_text): Make a copy of the
5813 text, and free the previous value.
5815 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5817 * src/hildon-touch-selector-entry.c:
5818 (hildon_touch_selector_entry_print_func): Return the selected row's
5819 text if the entry is empty.
5821 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5824 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5826 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5828 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5831 * src/hildon-check-button.h
5832 * src/hildon-check-button.c
5833 * examples/hildon-check-button-example.c:
5834 HildonCheckButton is now a new widget. 'toggled' signal added.
5836 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5838 * src/hildon-program-private.h
5839 * src/hildon-program.c (hildon_program_init)
5840 (hildon_program_finalize): Removed unused variables group_leader
5841 and name from HildonProgramPrivate.
5843 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5845 * src/hildon-check-button.c (hildon_check_button_set_active)
5846 (hildon_check_button_get_active, hildon_check_button_new): Use
5847 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5849 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5851 * src/hildon-touch-selector.h
5852 (hildon_touch_selector_set_column_attributes): added deprecation
5853 guard HILDON_DISABLE_DEPRECATED
5854 * src/hildon-time-selector.c
5855 (hildon_time_selector_set_time)
5856 (hildon_time_selector_get_time): Fixed a typo on documentation
5857 * src/hildon-touch-selector.c: update HildonTouchSelector and
5858 HildonTouchSelectorColumn documentation
5859 * src/hildon-touch-selector-entry.c: update "text-column" property
5861 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5862 to be added to the general documentation.
5864 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5866 * examples/hildon-pannable-area-example-4.c,
5868 * examples/hildon-pannable-area-example.c,
5869 (main): Modified the code in order to use the container add, with
5870 viewport treeviews could have problems if they are really big.
5872 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5874 * src/hildon-weekday-picker.c,
5875 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5876 the agreement regarding deprecation in the library.
5878 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5880 * examples/hildon-picker-button-multicolumn-example.c:
5881 (main): Use custom "done" button text.
5883 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5884 (hildon_picker_button_set_property),
5885 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5886 (hildon_picker_button_init),
5887 (+hildon_picker_button_get_done_button_text),
5888 (+hildon_picker_button_set_done_button_text): New methods to customize
5889 the "done" button label in the launched HildonPickerDialog. Also,
5892 * src/hildon-picker-button.h: add the public API.
5894 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-date-selector.h:
5897 * src/hildon-picker-dialog.h:
5898 * src/hildon-time-selector.h:
5899 * src/hildon-touch-selector-column.h:
5900 * src/hildon-touch-selector.h:
5902 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5903 declarations. Fixes gtk-doc warnings.
5905 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5907 * src/hildon-picker-dialog.h
5908 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5909 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5911 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5912 long text is set as label for done button)
5914 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5916 * src/hildon-dialog.c (hildon_dialog_add_button):
5917 Set fixed width to all buttons in the HildonDialog.
5919 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5921 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5923 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5924 Set widget name using class name plus "-finger" or "-thumb".
5926 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5929 'clicked' when the state of the button is manually changed.
5931 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5933 * src/hildon-app-menu.c (hildon_app_menu_realize)
5934 (hildon_app_menu_unrealize, hildon_app_menu_init)
5935 (hildon_app_menu_class_init, item_visibility_changed):
5936 Change the menu layout when the size of the screen changes.
5937 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5938 Show warning only when changing the number of colums using the
5941 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5943 * debian/compat: Set to 5
5944 * debian/control: Update dependencies.
5945 * debian/libhildon1-dbg.install: Remove.
5946 * debian/libhildon1-dev.install: Update according to cdbs paths.
5947 * debian/libhildon1.install: Update according to cdbs paths.
5948 * debian/rules: Switch to cdbs.
5950 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5952 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5953 'item' variable renamed to 'filter'
5955 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5957 * src/hildon-app-menu.c (hildon_app_menu_insert)
5958 (hildon_app_menu_add_filter, remove_item_from_list)
5959 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5960 Don't leak hidden items when the menu is destroyed.
5962 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5964 * src/hildon-app-menu.c (hildon_app_menu_insert)
5965 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5966 (hildon_app_menu_set_columns, item_visibility_changed)
5967 (filter_visibility_changed, hildon_app_menu_repack_filters)
5968 (hildon_app_menu_repack_items):
5969 Repack items and filters separately.
5971 Don't repack all items, change only the ones that are needed to
5974 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5976 * src/Makefile.am: added hildon-touch-selector-column.h
5978 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5980 * src/hildon-touch-selector.c: added the property "text-column" to the
5981 class HildonTouchSelectorColumn, and related get/set functions
5982 (_default_printf_func): updated to use "text-column" property
5983 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5984 "text-column" in his documentation, as this is now included on
5985 HildonTouchSelectorColumn. The get/set_property can still be used,
5986 working as a wrapper to the concrete column "text-column" property
5987 (_text_column_modified): callback added in order to handle the signal
5988 "notify::text-column" of the concrete HildonTouchSelectorColumn
5989 (hildon_touch_selector_entry_get_text_column)
5990 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5991 modified in order to use the HildonTouchSelectorColumn "text-column"
5993 * src/hildon-time-selector.c:
5994 * src/hildon-date-selector.c:
5995 * examples/hildon-touch-selector-example.c
5996 * examples/hildon-touch-selector-multi-cells-example.c
5997 * examples/hildon-picker-button-multicolumn-example.c
5998 Set the right value to "text-column" property on the creation of a new
5999 column using hildon_touch_selector_append_column()
6001 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6003 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-app-menu.c
6006 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6007 updating the layout of the menu, don't create all widgets again,
6008 just repack the items in their new places.
6010 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6012 * src/hildon-time-selector.c
6013 (hildon_time_selector_get_time)
6014 (hildon_time_selector_set_time)
6015 Added documentation of these public methods
6017 * src/hildon-date-button.h
6018 * src/hildon-touch-selector-column.h
6019 * src/hildon-time-button.h
6020 * src/hildon-picker-dialog.h
6021 * src/hildon-time-selector.h
6022 * src/hildon-picker-button.h
6023 * src/hildon-touch-selector.h
6024 * src/hildon-time-picker.h
6025 * src/hildon-date-selector.h
6026 * src/hildon-touch-selector-entry.h
6027 Modified in order to use hildon-widgets code style
6029 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6031 Added deprecated support to the compilation process using
6032 HILDON_DISABLE_DEPRECATED
6034 * configure.ac: Added the --disable-deprecated to the configure
6037 * src/hildon-weekday-picker.c:
6038 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6039 to use the deprecated support. We will update the other deprecated
6040 widgets status in a new patch.
6042 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6044 * configure.ac: Fixed typo with fatal warnings support, the
6045 variable name was not correct
6047 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6049 * src/hildon-app-menu.c
6050 * src/hildon-program.c: Update documentation.
6052 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6054 * configure.ac: Post-release version bump.
6056 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6061 * configure.ac: Pre-release version bump.
6062 * debian/changelog: Updates.
6064 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6066 * NEWS: Update news for previous releases.
6068 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6070 * examples/hildon-touch-selector-multi-cells-example.c:
6071 (create_selector): Update the example to use
6072 hildon_touch_selector_append_column() with a NULL renderer and set
6073 the renderers later.
6074 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6075 passed a NULL renderer. This is documented behavior now.
6077 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6078 This must be used if the developer wants full control on the layout of
6079 the renderers to be added to the column.
6081 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6083 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6085 * src/hildon-touch-selector.c: Documentation fixes.
6087 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6089 * src/hildon-wizard-dialog-private.h: Remove image and box.
6090 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6091 (hildon_wizard_dialog_set_property), (response): Completely remove
6092 image/icon support, and the containers required for the layout.
6094 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6096 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6098 * src/hildon-app-menu.c: Updated documentation.
6100 * src/hildon-stackable-window.c
6101 (hildon_stackable_window_set_main_menu): Unref the old menu after
6102 ref'ing the new one.
6104 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6106 * src/hildon-stackable-window.c
6107 (hildon_stackable_window_set_main_menu): Unref the previous menu
6108 instead of destroying it.
6110 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6111 floating reference and set has_user_ref_count to FALSE to make
6112 HildonAppMenu act like a normal ref-counted widget and not a
6115 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6118 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6120 * src/hildon-touch-selector-column.h: new file
6121 * src/hildon-touch-selector.h
6122 * src/hildon-touch-selector.c
6123 Implemented GtkCellLayout interface, in order to allow to configure
6124 the cell layout on each individual selector column
6125 (hildon_touch_selector_set_column_attributes): marked as deprecated
6126 * examples/hildon-touch-selector-multi-cells-example.c
6127 Example of how to use the GtkCellLayout interface on the selector
6129 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6131 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6133 * src/hildon-app-menu.h
6134 * src/hildon-app-menu.c
6135 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6136 (hildon_app_menu_append, hildon_app_menu_prepend):
6137 New methods to prepend, insert and move items in the menu.
6139 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6141 * src/hildon-wizard-dialog.c:
6143 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6145 (create_title): Update logical IDs and related code.
6146 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6148 * src/hildon-wizard-dialog.h: Note that
6149 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6150 point, as it is not used anymore.
6152 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6154 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6156 * src/hildon-note.c:
6157 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6158 shown. Do not display an icon in confirmation notes nor information
6160 (hildon_note_set_button_text): Update logical ID for cancel button.
6162 Fixes: NB#88850 (Update HildonNote button strings + signals)
6164 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6166 * src/hildon-stackable-window.c
6167 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6169 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6171 * src/hildon-app-menu-private.h
6172 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6173 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6174 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6175 temporary property 'columns' to change the number of columns.
6177 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6179 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6181 * examples/hildon-note-example.c: (on_information_clicked),
6182 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6183 debugging information.
6184 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6186 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6187 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6188 in order to close: this will be handled by the WM from now on.
6190 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6192 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6194 * src/hildon-app-menu-private.h
6195 * src/hildon-app-menu.c
6196 (hildon_app_menu_append, hildon_app_menu_add_filter)
6197 (button_visibility_changed, hildon_app_menu_apply_style)
6198 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6199 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6200 layout everytime a button (item or filter) is shown or hidden.
6202 * src/hildon-stackable-window.c
6203 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6206 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6208 * src/hildon-touch-selector.c:
6209 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6210 that the treeview inside the touch selector is in fremantle hildon mode
6211 * examples/hildon-date-button-example.c
6212 * examples/hildon-picker-button-multicolumn-example.c
6213 * examples/hildon-touch-selector-entry-example.c
6214 * examples/hildon-touch-selector-example.c
6215 * examples/hildon-time-button-example.c
6216 * examples/hildon-picker-button-example.c:
6217 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6219 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6221 * examples/hildon-text-view-example.c: (main): Remove the
6222 gtkrc bits, now handled by the theme.
6224 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6226 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6229 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6231 * po/Makefile.am: Install properly the mo files.
6232 * po/en_GB.po: Update translation, to ease testing purposes.
6234 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6236 * examples/hildon-picker-button-example.c: (main): Select an item
6237 in the selector before setting it to the button.
6239 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6241 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6242 Update button's value if the selector has an item active.
6244 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6245 'value' with the selector)
6247 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6250 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6251 (hildon_picker_button_class_init): Plug the finalize method.
6252 (hildon_picker_button_set_selector): If there's a previously set
6253 selector, unref'it before setting a new one.
6255 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6256 HildonTouchSelector)
6258 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6260 * src/hildon-touch-selector-entry.c:
6261 (hildon_touch_selector_entry_changed): Check if there is no text
6262 selected before setting the entry text.
6265 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6267 * src/hildon-touch-selector.h
6268 * src/hildon-touch-selector.c
6269 (hildon_touch_selector_get_active)
6270 (hildon_touch_selector_set_active): New methods to set/get the
6271 index of the selected item.
6273 * src/hildon-picker-button.h
6274 * src/hildon-picker-button.c
6275 (hildon_picker_button_get_active)
6276 (hildon_picker_button_set_active): New methods to set/get the
6277 index of the selected item.
6279 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6281 * configure.ac: post-release version bump.
6283 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6287 * configure.ac: Pre-release version bump.
6288 * debian/changelog: Updates.
6289 * debian/control: Add myself as maintainer and depend on l10n
6292 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6294 * src/hildon-window.c
6295 (hildon_window_set_main_menu)
6296 * src/hildon-stackable-window.c
6297 (hildon_stackable_window_set_main_menu):
6298 Updated documentation.
6300 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6302 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6303 Don't free selector->priv manually.
6306 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6309 (hildon_gtk_window_set_progress_indicator):
6310 * src/hildon-gtk.h: Added the new API
6311 hildon_gtk_window_set_progress_indicator, it changes the state of
6312 the window progress hint.
6314 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6316 * src/hildon-button.c
6317 * src/hildon-stackable-window.c: Minor documentation updates.
6319 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6321 * src/hildon-stackable-window.c: Updated documentation.
6323 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6325 * src/hildon-defines.h: Update margins definitions
6326 to the Fremantle sizes.
6329 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6331 * src/hildon-touch-selector.c,
6332 (_hildon_touch_selector_set_model): Cleaning the code after
6333 review, removed g_print and #if 0 from the code.
6335 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6337 * src/hildon-edit-toolbar.c: Update documentation.
6339 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6341 * src/hildon-check-button.h
6342 * src/hildon-check-button.c
6343 (hildon_check_button_set_label, hildon_check_button_get_label)
6344 * examples/hildon-check-button-example.c
6345 (button_clicked_cb):
6346 Removed deprecated methods.
6348 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6350 * src/hildon-text-view.c:
6351 Add sample code to the documentation.
6353 * src/hildon-entry.h
6354 * src/hildon-text-view.h:
6355 Minor cosmetic changes.
6357 * src/hildon-entry.c:
6358 Add sample code to the documentation.
6359 (hildon_entry_init, hildon_entry_refresh_contents):
6360 Don't allow NULL values in the placeholder.
6362 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6364 * doc/hildon-docs.sgml
6366 * examples/Makefile.am
6367 * examples/hildon-text-view-example.c
6369 * src/hildon-text-view.c
6370 * src/hildon-text-view.h
6372 New HildonTextView widget, with example.
6374 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6376 * po/POTFILES.in: Add missing files with translatable strings.
6377 Partially fixes NB#88287.
6379 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6381 * examples/hildon-pannable-area-example-2.c: (main): No need to
6382 set the cellrenderer height inside hildon touch lists, the theme does
6385 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6387 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6388 they are integrated in the theme.
6390 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6392 * examples/hildon-entry-example.c: Update the example adding
6393 widgets to modify the text and the placeholder of the HildonEntry.
6395 * src/hildon-entry.c: Show the placeholder everytime the widget
6396 is empty and loses the focus.
6398 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6400 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6402 * src/hildon-pannable-area.c,
6403 (hildon_pannable_area_size_request): Fixed bug in height
6404 requisition, avoid increasing size and add border twice.
6406 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6408 * configure.ac: postrelease version bump.
6410 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6414 * configure.ac: Prerelease version bump.
6415 * debian/changelog: update.
6416 * debian/rules: make -dbg package contain useful debugging symbols.
6418 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6420 * src/hildon-dialog.h
6421 * src/hildon-dialog.c
6422 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6423 New methods to add buttons with finger size.
6424 (hildon_dialog_new_with_buttons):
6425 Create buttons with finger size.
6427 * examples/hildon-dialog-example.c (main): Use HildonDialog
6428 methods to add buttons.
6430 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6432 * src/hildon-entry.c: Updated HildonButton documentation.
6434 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6436 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6437 button value label with (FALSE, FALSE) to prevent NB#88126 from
6440 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6442 * examples/hildon-pannable-area-example.c,
6443 (main): Removed examples panning a vbox inside a pannable
6444 area. Check bug NB#87965
6446 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6448 Patch contributed by Kris Rietveld (kris@imendio.com)
6450 * src/hildon-pannable-area.c,
6451 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6452 get_size and get_position, this saves an X server roundtrip.
6454 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6456 * doc/hildon-docs.sgml
6458 * examples/Makefile.am
6459 * examples/hildon-entry-example.c
6461 * src/hildon-entry.c
6462 * src/hildon-entry.h
6464 New HildonEntry widget, with example.
6466 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6468 * src/hildon-button.c (hildon_button_construct_child): Pack the
6469 image with expand == fill == FALSE. This is a workaround for a bug
6472 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6474 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6475 labels for the text column, to make it more look more dynamic.
6477 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6479 * src/hildon-time-selector.c
6480 Define gettext auxiliar macro N_
6481 (_create_minutes_model)
6482 (_create_hours_model)
6483 (_create_ampm_model): use of strftime in order to fill the model
6484 * src/hildon-date-selector.c
6485 (hildon_date_selector_finalize):
6486 (_locales_init): remove the logic related to get the name of the months
6487 using nl_langinfo, as it is not required anymore
6489 (_create_year_model)
6490 (_create_month_model)
6491 (_update_day_model): use of strftime in order to fill the model properly
6494 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6496 * src/hildon-button.h
6497 * src/hildon-button.c (hildon_button_get_image): New method to
6500 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6502 * src/hildon-touch-selector.c:
6503 (hildon_touch_selector_remove_column): Remove from the correct parent
6504 and also remove the list element and free it.
6507 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6509 * src/hildon-time-selector.c
6510 (_create_hours_model): change the range on 12h ampm format in order to use
6511 a 12-11 range instead of previous 01-12 range
6512 (hildon_time_selector_set_time): change the way to select the current time
6513 on 12h ampm format, due the change on the range
6514 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6517 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6519 * src/hildon-touch-selector.c
6520 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6521 in order to allow use this function on multiple row selection mode if
6522 the column is different that the first one
6525 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6527 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6528 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6530 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6532 * src/hildon-date-selector.h: clean some comments, now on the .c
6533 * src/hildon-date-selector.c
6534 (hildon_date_selector_select_month): first implementation
6535 (hildon_date_selector_select_day): added documentation, reimplemented
6536 using hildon_date_selector_select_current_date to avoid repeat code
6539 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6541 Reviewed interaction logic based on device experiences, refactored
6544 * src/hildon-pannable-area.c,
6545 (hildon_pannable_area_class_init): Updated default vmax speed.
6546 (hildon_pannable_area_calculate_velocity): Added this function, it
6547 avoids duplicate valocity calculation. Adjusted calculation to
6548 avoid problems with zero dist events.
6550 (hildon_pannable_area_motion_notify_cb): Now we use the
6551 calculate_velocity function.
6553 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6555 * src/hildon-date-selector.c
6556 (hildon_date_selector_select_current_date): fix the day range check
6557 as it failed using the last day of the current month
6560 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6562 * src/hildon-touch-selector.c
6563 (hildon_touch_selector_get_num_columns): added a parameter validation
6566 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6568 * examples/Makefile.am
6569 * examples/hildon-edit-toolbar-example.c: Example of the
6570 HildonEditToolbar widget.
6572 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6574 * configure.ac: postrelease version bump.
6576 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6580 * configure.ac: prerelease version bump.
6581 * debian/changelog: update.
6583 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6585 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6586 renderer to display stock icons in the touch list. Also, set the sizes
6587 to the recommended in the style guide.
6589 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6590 * src/hildon-touch-selector.h
6591 (hildon_touch_selector_set_active_iter): renamed, now is
6592 hildon_touch_selector_select_iter
6593 (hildon_touch_selector_get_active_iter): renamed, now is
6594 hildon_touch_selector_get_selected
6595 (hildon_touch_selector_unselect_iter): added
6596 * src/hildon-touch-selector.c
6597 Update after API modification (methods renamed)
6598 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6599 order to avoid problems selecting multiple elements on the column
6600 (hildon_touch_selector_unselect_iter): added the implementation
6601 * src/hildon-time-selector.c
6602 * src/hildon-date-selector.c
6603 * src/hildon-touch-selector-entry.c
6604 Update methods calls after hildon-touch-selector.h API modification (methods
6607 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6609 * src/hildon-stackable-window.c
6610 (hildon_stackable_window_finalize): Call the parent class's finalize.
6612 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6614 * examples/hildon-touch-selector-example.c: (create_selector): Use
6615 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6618 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6620 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6621 set a cell background color, to respect theming.
6623 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6625 * doc/hildon-docs.sgml
6628 * src/hildon-edit-toolbar.c
6629 * src/hildon-edit-toolbar.h
6630 * src/hildon.h: New HildonEditToolbar widget.
6632 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6634 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6637 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6638 * src/hildon-touch-selector.c
6639 (_create_new_column): use g_object_set instead of two g_object_set_property
6641 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6642 * src/hildon-touch-selector.c
6643 (_create_new_column): use of hildon_gtk_tree_view_new to create
6644 the treeview, instead of use directly g_object_new
6645 (_create_new_column): update the property name "vindicator-mode" for the
6646 new one "vscrollbar-policy"
6647 * examples/hildon-date-button-example.c
6648 * examples/hildon-picker-button-multicolumn-example.c
6649 * examples/hildon-touch-selector-entry-example.c
6650 * examples/hildon-touch-selector-example.c
6651 * examples/hildon-time-button-example.c
6652 * examples/hildon-picker-button-example.c
6653 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6654 to all the treeviews inside a pannable area.
6656 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6658 * src/hildon-button.h
6659 * src/hildon-button.c (hildon_button_init)
6660 (hildon_button_set_arrangement, hildon_button_set_alignment)
6661 (hildon_button_set_title_alignment)
6662 (hildon_button_set_value_alignment)
6663 (hildon_button_set_image_alignment)
6664 (hildon_button_construct_child): New methods to set the alignment
6665 of the individual components of the button (title, value,
6666 image). Also, new method to alter the xscale and yscale properties
6667 of the GtkAlignment inside the button, so more complex layouts can
6670 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6672 * src/hildon-button.c (hildon_button_style_set)
6673 (hildon_button_class_init, hildon_button_set_arrangement)
6674 (hildon_button_construct_child): Apply style properties
6675 correctly. Use the 'image-spacing' style property too.
6677 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6679 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6680 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6683 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6685 * src/hildon-pannable-area.c,
6686 (hildon_pannable_area_size_request): Fixed problem with
6687 pannable-area size_request.
6689 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6691 Added management for the grab-focus to a child widget, like a
6692 range, we need to fade out the scrollbar when releasing.
6694 * src/hildon-pannable-area.c,
6695 (hildon_pannable_area_init): Connected the grab-focus signal to
6697 (hildon_pannable_area_grab_notify): Added this function in order
6698 to manage the situation when the grab-focus ends. We have to
6699 fade-out the scrollbar.
6701 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6703 * src/hildon-app-menu.c: Minor documentation update.
6705 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6707 * src/hildon-app-menu.c
6708 * examples/hildon-app-menu-example.c (create_menu): Update
6709 examples and documentation to explain how to connect callbacks.
6711 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6713 * examples/hildon-button-example.c
6714 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6715 hildon_stackable_window_new instead of gtk_window_new
6717 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6719 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6720 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6721 (hildon_pannable_area_set_property),
6722 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6723 (hildon_pannable_area_unrealize),
6724 (hildon_pannable_area_size_request),
6725 (hildon_pannable_area_size_allocate),
6726 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6727 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6728 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6729 (hildon_pannable_area_initial_effect),
6730 (hildon_pannable_area_redraw),
6731 (hildon_pannable_area_scroll_indicator_fade),
6732 (hildon_pannable_area_expose_event),
6733 (hildon_pannable_area_get_topmost), (synth_crossing),
6734 (hildon_pannable_area_button_press_cb),
6735 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6736 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6737 (hildon_pannable_area_motion_notify_cb),
6738 (hildon_pannable_area_button_release_cb),
6739 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6740 (hildon_pannable_area_remove),
6741 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6742 chage the code layout to a more GtkWidget like. Review the use of
6745 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6747 * examples/hildon-pannable-area-example-4.c,
6748 (main): Modified the name of the hindicator_mode to
6751 * src/hildon-pannable-area.c,
6752 (hildon_pannable_area_class_init),
6753 (hildon_pannable_area_motion_notify_cb),
6754 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6755 we have reduced the amount of signals and managed reviewed its
6756 rationale. Changed the default decelerate value.
6758 (hildon_pannable_area_add),
6759 (hildon_pannable_area_redraw): Refactored functions.
6761 (hildon_pannable_area_init),
6762 (hildon_pannable_area_get_property),
6763 (hildon_pannable_area_set_property):
6764 (hildon_pannable_draw_vscroll),
6765 (hildon_pannable_draw_hscroll),
6766 (hildon_pannable_area_initial_effect),
6767 (hildon_pannable_area_expose_event),
6768 (hildon_pannable_area_scroll),
6769 (hildon_pannable_area_button_press_cb),
6770 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6771 and vindicator_mode with hscrollbar_policy and
6772 vscrollbar_policy. Replaced hscroll and vscroll with
6773 hscroll_visible and vscroll_visible.
6775 (hildon_pannable_area_refresh): Refactor the function, remove
6776 variables and check the calls to this function, added resize
6777 conditions in case the children change their layout.
6779 (hildon_pannable_area_size_request): Added more detailed
6780 size_request calculation.
6783 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6785 * src/hildon-color-chooser.c
6786 (init_borders): use the correct gtk_border_free instead of g_free, to
6787 avoid a crash when this widget is used (ie: the three color selection
6790 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6792 * src/hildon-check-button.c,
6793 (hildon_check_button_set_active): Fixed problem when setting the
6794 active value, the widget was not redrawn.
6796 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6798 * src/hildon-pannable-area.c,
6799 (hildon_pannable_area_refresh),
6800 (hildon_pannable_area_scroll),
6801 (hildon_pannable_area_motion_notify_cb): Small code style change.
6803 (hildon_pannable_area_class_init): Default initial_hint set to
6804 FALSE, it is not in the specs.
6806 (hildon_pannable_area_initial_effect),
6807 (hildon_pannable_area_expose_event),
6808 (hildon_pannable_area_map),
6809 (hildon_pannable_area_init): Moved the launching point of the
6810 initial effect, it was in map but the sizes where not correct in
6811 that method so we do not know if we have the reproduce it. Now it
6812 is placed in the expose_event method and uses a variable to
6813 reproduce it just once.
6815 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6817 * src/hildon-pannable-area.c,
6818 (hildon_pannable_draw_vscroll),
6819 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6820 position allowed for the scrollbars.
6822 (hildon_pannable_area_size_allocate): Small style change.
6824 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6826 * src/hildon-pannable-area.c,
6827 (hildon_pannable_area_scroll_indicator_fade),
6828 (hildon_pannable_area_button_press_cb),
6829 (hildon_pannable_area_button_release_cb),
6830 (hildon_pannable_area_scroll_cb),
6831 (hildon_pannable_area_expose_event),
6832 (hildon_pannable_area_init): Added the define parameter
6833 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6834 and refactor the fade variable.
6836 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6838 * src/hildon-pannable-area.c,
6839 (hildon_pannable_area_redraw),
6840 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6841 lines, we were reimplemeting the redraw code.
6843 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6845 * src/hildon-pannable-area.c,
6846 (hildon_pannable_area_scroll_cb),
6847 (hildon_pannable_area_realize),
6848 (hildon_pannable_area_class_init): Added scroll_event management
6849 for pannable area, now we can scroll the usual desktop method.
6851 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6852 initialization of the parameters should depend on idle_id.
6854 (hildon_pannable_area_init),
6855 (hildon_pannable_area_map): Small code style modifications
6857 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6859 * src/hildon-pannable-area.c
6860 (hildon_pannable_area_button_press_cb),
6861 (hildon_pannable_area_motion_notify_cb),
6862 (hildon_pannable_area_button_release_cb),
6863 (hildon_pannable_area_size_allocate),
6864 (hildon_pannable_area_scroll_to): Improved the timeouts
6865 management, we avoid creating them each time.
6867 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6869 * src/hildon-pannable-area.c:
6870 (hildon_pannable_area_refresh),
6871 (hildon_pannable_area_motion_notify_cb),
6872 (hildon_pannable_area_class_init):
6873 * src/hildon-pannable-area.h:
6874 * src/hildon-touch-selector.c
6875 (_create_new_column):
6876 * examples/hildon-pannable-area-example-4.c:
6877 (horizontal_movement),
6878 (vertical_movement),
6880 Replaced the names of enums in the HildonPannableArea:
6881 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6882 HILDON_MOVEMENT_MODE_*
6883 - HILDON_PANNABLE_AREA_MOV_* ->
6885 - Removed HildonPannableAreaIndicatorMode, now we
6888 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6890 * examples/hildon-pannable-area-touch-grid-example.c
6891 * examples/hildon-pannable-area-touch-list-example.c: Fix
6892 compilation warnings.
6894 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6896 * src/hildon-gtk.c (hildon_gtk_button_new)
6897 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6898 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6899 images overriding the value of the "gtk-button-images" setting.
6901 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6903 * src/hildon-check-button.c (hildon_check_button_new):
6904 Instead of using a custom container, display the label and the
6905 checkbox using the standard GtkButton API.
6907 * examples/hildon-check-button-example.c (main): Don't use
6908 hildon_check_button_set_label() anymore
6910 * src/hildon-check-button.h
6911 * src/hildon-check-button.c
6912 (hildon_check_button_set_label, hildon_check_button_get_label):
6913 Set as deprecated, now we're using gtk_button_{get,set}_label()
6915 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6917 * src/hildon-pannable-area.c,
6918 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6919 GtkTreeview first line we detected it after the inclusion of the
6920 GtkWindowImpl in gtk+. We now check if the window is visible, not
6921 just if the pointer is over the window.
6922 (hildon_pannable_axis_scroll),
6923 (hildon_pannable_area_expose_event): Small style changes.
6925 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6927 * src/hildon-button.c: Update documentation.
6929 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6931 * examples/hildon-button-example.c: Add a switch to show images in
6934 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6936 * doc/hildon-docs.sgml: Some docs reorganization.
6938 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6940 * examples/hildon-pannable-area-touch-list-example.c
6942 * examples/hildon-pannable-area-touch-grid-example.c
6943 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6944 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6945 Fix memory leak when setting the tree model.
6947 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6951 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6953 * doc/hildon.types: Remove duplicated hildon_window_get_type
6954 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6955 documentation comment.
6957 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6959 * doc/Makefile.am: Complete list of private headers.
6961 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6963 * doc/hildon-docs.sgml
6964 * src/hildon-app-menu.c
6965 * src/hildon-bread-crumb.c
6966 * src/hildon-button.c
6968 * src/hildon-program.c
6969 * src/hildon-stackable-window.c
6970 * src/hildon-window.c: Lots of documentation updates.
6972 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6974 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6976 * configure.ac: Require Gtk+ 2.12.9 at least
6978 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6980 * src/hildon-pannable-area.c
6981 (hildon_pannable_area_scroll_indicator_fade),
6982 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6983 to protect the return of this timeout callbacks, avoiding deadlocks.
6985 2008-08-12 Christian Dywan <christian@imendio.com>
6988 * src/hildon-*.h: Ensure a consistent include order,
6989 include <gtk/gtk.h> instead of particular files and
6990 only include the topmost header in the gtk stack. See NB #39857
6992 2008-08-12 Christian Dywan <christian@imendio.com>
6994 * src/hildon-picker-dialog.c
6995 * src/hildon-touch-selector.c: Fix warnings about unused and
6996 uninitialized variables.
6998 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7000 * examples/Makefile.am
7001 * examples/hildon-check-button-example.c: Example of the hildon
7004 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7006 * src/hildon-window.h
7007 * src/hildon-window.c (hildon_window_class_init)
7008 (hildon_window_unset_program): Don't make
7009 hildon_window_unset_program a virtual function anymore.
7011 * src/hildon-stackable-window.c: Update documentation
7013 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7016 * doc/hildon-docs.sgml
7017 * doc/visual_index.xml
7018 * src/hildon-defines.c
7020 * src/hildon-helper.c
7021 * src/hildon-range-editor.c: Lots of documentation fixes.
7023 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7025 * examples/hildon-picker-button-multicolumn-example.c
7026 (create_touch_selector): Fix compilation warning.
7028 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7030 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7031 (hildon_pannable_area_button_release_cb)
7032 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7034 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7036 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7039 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7041 * src/hildon-bread-crumb-trail.h
7042 * src/hildon-date-editor.c
7043 * src/hildon-date-selector.c
7044 * src/hildon-pannable-area.c
7045 * src/hildon-picker-dialog.c
7046 * src/hildon-time-selector.c
7047 * src/hildon-touch-selector-entry.c
7048 * src/hildon-touch-selector.c
7049 * src/hildon-touch-selector.h: Misc documentation fixes
7051 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7053 * examples/hildon-date-editor-example.c (main): Updated date
7056 * examples/hildon-note-example.c (on_confirmation_clicked):
7057 Updated confirmation note example.
7059 * src/hildon-date-editor.c
7060 * src/hildon-note.c: Updated sample programs in documentation.
7063 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7065 * src/hildon-date-button.h:
7066 * src/hildon-picker-button.h:
7067 * src/hildon-time-button.c:
7068 * src/hildon-time-button.h:
7070 Some declarations changes to allow gtk-doc to document the widgets
7073 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7075 * src/hildon-date-button.c: Document the widget.
7076 * src/hildon-time-button.c: Document the widget.
7078 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7080 * src/hildon-picker-button.c: Document the widget.
7081 * src/hildon-touch-selector-entry.c: Document the widget.
7083 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7085 * doc/hildon-docs.sgml
7088 * src/hildon-check-button.h
7089 * src/hildon-check-button.c: New functions to create the Hildon
7093 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7095 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7097 * src/hildon-button.h
7098 * src/hildon-button.c
7099 (hildon_button_add_title_size_group)
7100 (hildon_button_add_value_size_group)
7101 (hildon_button_add_image_size_group)
7102 (hildon_button_add_size_groups): New functions to set size groups
7103 for the button labels and image.
7104 (hildon_button_new_full): Removed
7106 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7108 * src/hildon-time-selector.c
7109 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7110 in order to avoid a crash if gconf is not available
7112 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7114 * src/hildon-button.c (hildon_button_set_arrangement)
7115 (hildon_button_construct_child): Don't construct the button child
7116 before setting the arrangement.
7118 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7120 * src/hildon-program-private.h
7121 * src/hildon-program.c
7122 * src/hildon-program.h
7123 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7124 (hildon_program_peek_window_stack)
7125 (hildon_program_pop_window_stack)
7126 (hildon_program_go_to_root_window): HildonProgram now has a
7127 separate list for stackable windows. Functions are provided to
7128 manage that list with a stack-like API.
7130 * src/hildon-stackable-window.c: Stackable window management is
7131 now much simpler with the new HildonProgram API. Windows no
7132 longer need to be manually added to the program, they're
7133 automatically pushed to the top of the stack when shown.
7135 * examples/hildon-stackable-window-example.c: Updated example to
7136 reflect the API changes.
7138 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7140 * src/hildon-touch-selector.c: Comment out unimplemented
7141 hildon_touch_selector_insert_column() to avoid a compile warning.
7143 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7145 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7146 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7147 (hildon_touch_selector_set_column_selection_mode),
7148 (_hildon_touch_selector_set_model),
7149 (hildon_touch_selector_set_model):
7151 Complete review of HildonTouchSelector documentation.
7153 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7155 * doc/hildon-docs.sgml
7159 * src/hildon-gtk.c: Convenience functions for standard Gtk
7160 widgets, used to easily perform frequent operations.
7162 * src/hildon-button-helpers.h
7163 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7165 * src/hildon-helper.h
7166 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7167 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7169 * src/hildon-button.h
7170 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7172 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7174 * src/hildon-button.c (hildon_button_init)
7175 (hildon_button_set_arrangement, hildon_button_construct_child):
7176 Pack the image and the labels inside the same GtkAlignment so
7177 gtk_button_set_alignment() can be used
7179 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7181 * src/hildon-button.h
7182 * src/hildon-button.c
7183 (hildon_button_init, hildon_button_set_image)
7184 (hildon_button_set_image_position)
7185 (hildon_button_construct_child): New functions to add an image to
7188 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7190 * src/hildon-date-button.c
7191 * src/hildon-picker-button.c
7192 * src/hildon-time-button.c
7193 * src/hildon-button.c:
7194 (hildon_button_class_init): "size-flags" renamed to "size"
7195 (hildon_button_set_title): Hide the title label if set to NULL.
7197 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7199 HildonButtonFlags split into HildonButtonArrangement (to set the
7200 button layout) and HildonSizeType (which can be used for any
7203 * src/hildon-button.h
7204 * src/hildon-button.c
7205 (hildon_button_class_init)
7206 (hildon_button_set_arrangement)
7207 (hildon_button_set_property): New "size-flags"
7208 property. "arrangement-flags" renamed to "arrangement".
7209 (hildon_button_new, hildon_button_new_with_text)
7210 (hildon_button_new_full): Constructors updated to reflect type changes.
7212 * src/hildon-helper.h
7213 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7214 to set the size of a widget.
7218 * src/hildon-button-helpers.c
7219 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7221 * src/hildon-date-button.c
7222 * src/hildon-date-button.h
7223 * src/hildon-picker-button.c
7224 * src/hildon-picker-button.h
7225 * src/hildon-time-button.c
7226 * src/hildon-time-button.h: Updated widgets to reflect
7227 HildonButton API changes.
7229 * examples/hildon-button-example.c
7230 * examples/hildon-date-button-example.c
7231 * examples/hildon-picker-button-example.c
7232 * examples/hildon-picker-button-multicolumn-example.c
7233 * examples/hildon-time-button-example.c
7234 * examples/hildon-touch-selector-entry-example.c
7235 * examples/hildon-touch-selector-example.c: Updated examples to
7236 reflect HildonButton API changes.
7238 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7240 * doc/hildon-docs.sgml:
7242 * examples/Makefile.am:
7243 * examples/hildon-touch-selector-entry-example.c:
7245 * src/hildon-touch-selector-entry.c:
7246 * src/hildon-touch-selector-entry.h:
7249 Moved HildonTouchSelectorEntry from sandbox. Added its
7250 documentation and examples.
7252 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7254 * src/hildon-touch-selector.h:
7255 * examples/hildon-picker-button-multicolumn-example.c:
7256 (hildon_touch_selector_append_text_column): Add a gboolean
7257 parameter to determine if text must be centered in the column.
7259 * src/hildon-date-selector.c: (hildon_date_selector_init):
7260 * src/hildon-time-selector.c: (hildon_time_selector_init):
7261 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7262 (create_touch_selector): Update widgets and example to reflect
7265 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7267 * src/hildon-touch-selector.c:
7268 (hildon_touch_selector_set_active_iter): Set also the cursor in
7271 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7273 * doc/hildon-docs.sgml
7276 * src/hildon-toggle-button.c
7277 * src/hildon-toggle-button.h
7278 * src/hildon.h: Removed HildonToggleButton widget, a derived
7279 class is not necessary for this.
7281 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7283 * src/hildon-pannable-area.c,
7284 (hildon_pannable_area_realize),
7285 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7288 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7290 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7291 "done" button the default widget for the dialog.
7293 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7295 * src/hildon-touch-selector.c:
7296 (hildon_touch_selector_class_init),
7297 (hildon_touch_selector_get_property),
7298 (_hildon_touch_selector_set_model),
7299 (_hildon_touch_selector_has_multiple_selection),
7300 (hildon_touch_selector_has_multiple_selection):
7301 Add a "has-multiple-selection" property with a virtual
7302 has_multiple_selection() method to allow derived classes to
7303 override the default value for it. See the method and property
7304 documentation for details.
7306 * src/hildon-touch-selector.h: Add the new API.
7308 * src/hildon-picker-dialog.c: (requires_done_button): Call
7309 hildon_touch_selector_has_multiple_selection() instead of
7310 determining the need for a button itself.
7312 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7314 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7315 (_hildon_touch_selector_set_model),
7316 (hildon_touch_selector_set_model): Move working code to
7317 _hildon_touch_selector_set_mode(). Call the class method instead.
7319 * src/hildon-touch-selector.h: Add (*set_model) to
7320 HildonTouchSelectorClass.
7322 Make hildon_touch_selector_set_model() a virtual method, so that
7323 derived classes can extend it and do fancy stuff with the model.
7325 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7327 * configure.ac: Set back the tarname in AC_INIT to hildon.
7329 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7333 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7334 instead of libesd (NB#86876). Volume handling is still an open issue.
7336 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7339 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7341 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7342 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7343 derived class to ease placement of an entry widget in
7344 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7345 end, where the selector columns are packed now.
7347 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7349 * src/hildon-picker-button.c: Removed the simple _text() API.
7350 * src/hildon-picker-button.h: Likewise.
7352 * src/hildon-touch-selector.h:
7353 * src/hildon-touch-selector.c:
7354 (hildon_touch_selector_new_text),
7355 (hildon_touch_selector_append_text),
7356 (hildon_touch_selector_prepend_text),
7357 (hildon_touch_selector_insert_text):
7359 Moved the simple _text() API from HildonPickerButton to
7360 HildonTouchPicker, to provide better escalability and not to tie
7361 that API to HildonPickerButton.
7363 * examples/hildon-picker-button-example.c: (main): Example updated.
7365 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7367 * src/hildon-button.c: Updated documentation.
7369 * examples/hildon-button-example.c: Add the posibility to create
7370 the buttons using horizontal layout for title and value.
7372 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7374 * src/hildon-app-menu-private.h
7375 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7376 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7377 GtkSizeGroup for the filters, use the 'homogeneous' property of
7380 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7382 * examples/hildon-button-example.c: Updated example.
7384 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7386 * doc/hildon-docs.sgml:
7389 Update documentation.
7391 * examples/Makefile.am: Update renamed examples.
7393 * examples/hildon-picker-button-multicolumn-example.c:
7394 (create_touch_selector), (main): Update after the rename.
7396 * examples/hildon-touch-picker-example.c: Removed.
7397 * examples/hildon-touch-selector-example.c: (value_changed),
7398 (create_selector), (get_visible_content), (main): Renamed from
7399 hildon-touch-picker-example.c
7401 * src/Makefile.am: Updated renamed files.
7403 * src/hildon-date-button.c: (hildon_date_button_init),
7404 (hildon_date_button_get_date), (hildon_date_button_set_date):
7405 * src/hildon-date-selector.c: (hildon_date_selector_init),
7406 (_custom_print_func), (_update_day_model),
7407 (_manage_selector_change_cb),
7408 (hildon_date_selector_select_current_date),
7409 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7410 * src/hildon-date-selector.h:
7411 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7412 (hildon_picker_button_set_property),
7413 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7414 (hildon_picker_button_init), (hildon_picker_button_new_text),
7415 (hildon_picker_button_append_text),
7416 (hildon_picker_button_prepend_text),
7417 (hildon_picker_button_insert_text),
7418 (hildon_picker_button_set_selector),
7419 (hildon_picker_button_get_selector):
7420 * src/hildon-picker-button.h:
7421 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7422 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7423 (_update_title_on_selector_changed_cb), (requires_done_button),
7424 (_hildon_picker_dialog_set_selector),
7425 (hildon_picker_dialog_set_selector),
7426 (hildon_picker_dialog_get_selector):
7427 * src/hildon-picker-dialog.h:
7428 * src/hildon-time-button.c: (hildon_time_button_init),
7429 (hildon_time_button_get_time), (hildon_time_button_set_time):
7430 * src/hildon-time-selector.c: (hildon_time_selector_init),
7431 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7432 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7433 * src/hildon-time-selector.h:
7436 Massive code updates after the rename.
7438 * src/hildon-touch-picker.c: Removed.
7439 * src/hildon-touch-picker.h: Removed.
7441 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7442 (hildon_touch_selector_init), (hildon_touch_selector_map),
7443 (hildon_touch_selector_remove), (_default_print_func),
7444 (_selection_changed_cb), (_create_new_column),
7445 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7446 (hildon_touch_selector_append_text_column),
7447 (hildon_touch_selector_remove_column),
7448 (hildon_touch_selector_set_column_attributes),
7449 (hildon_touch_selector_insert_column),
7450 (hildon_touch_selector_get_num_columns),
7451 (hildon_touch_selector_get_column_selection_mode),
7452 (hildon_touch_selector_set_column_selection_mode),
7453 (hildon_touch_selector_set_print_func),
7454 (hildon_touch_selector_get_print_func),
7455 (hildon_touch_selector_get_active_iter),
7456 (hildon_touch_selector_set_active_iter),
7457 (hildon_touch_selector_get_selected_rows),
7458 (hildon_touch_selector_get_model),
7459 (hildon_touch_selector_set_model),
7460 (hildon_touch_selector_get_current_text),
7461 (_hildon_touch_selector_center_on_selected_items):
7462 * src/hildon-touch-selector.h: Renamed from
7463 hildon-touch-picker.[ch]
7465 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7466 references, code examples, and related documentation.
7468 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7470 * doc/hildon-docs.sgml
7473 * src/hildon-toggle-button.c
7474 * src/hildon-toggle-button.h
7475 * src/hildon.h: New HildonToggleButton widget.
7477 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7479 * src/hildon-button.c: Add API documentation.
7480 (hildon_button_set_size_groups): Check input parameters
7482 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7484 * src/hildon-pannable-area.c
7485 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7486 effect after reaching the movement thredshold. This way we start
7487 using the distance after passing the thredshold.
7489 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7491 * src/hildon-button.c: (hildon_button_set_property): Use the
7492 appropriate g_value_get_flags() method.
7494 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7496 * doc/hildon-docs.sgml:
7499 Add the touch pickers, picker dialogs, and picker button widgets
7500 to the documentation.
7502 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7504 * src/hildon-button.c: (hildon_button_set_property),
7505 (hildon_button_class_init): Make "arrangement-flags" a proper
7506 G_TYPE_FLAGS derived property.
7508 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7510 * examples/Makefile.am: Add below examples.
7511 * examples/hildon-date-button-example.c:
7512 * examples/hildon-picker-button-example.c:
7513 * examples/hildon-picker-button-multicolumn-example.c:
7514 * examples/hildon-time-button-example.c:
7515 * examples/hildon-touch-picker-example.c:
7517 Add examples for the recently added touch pickers,
7518 picker dialogs, and picker button widgets.
7520 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7522 * src/hildon-button.c: Add some API documentation
7524 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7526 * src/hildon-button.h
7527 * src/hildon-button.c
7529 (hildon_button_new_with_text): New constructor to create a button
7530 with no text at all.
7531 (hildon_button_init, hildon_button_set_arrangement)
7532 (hildon_button_set_title, hildon_button_set_value)
7533 (hildon_button_set_text)
7534 (hildon_button_construct_child): Hide the value when it's not used
7535 so the rest of the text is properly aligned.
7536 Allow creating buttons with arbitrary widgets inside (not just
7537 title/value labels).
7539 * examples/hildon-button-example.c (vertical_buttons_window)
7540 (horizontal_buttons_window): Update example to use new API.
7542 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7544 * src/Makefile.am: Added HildonTimeButton.
7545 * src/hildon-time-button.c: Added missing LGPL header.
7546 * src/hildon-time-button.h: Added missing LGPL header.
7547 * src/hildon.h: Add hildon-time-button.h
7549 Copied HildonTimeButton from sandbox to trunk. Future work on this
7550 widget must take place in trunk.
7552 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7554 * src/Makefile.am: Added HildonDateButton.
7555 * src/hildon-date-button.c: Update includes.
7556 * src/hildon.h: Add hildon-date-button.h
7558 Copied HildonDateButton from sandbox to trunk. Future work on this
7559 widget must take place in trunk.
7561 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7563 * src/Makefile.am: Added HildonPickerButton.
7564 * src/hildon-picker-button.h: Update includes.
7565 * src/hildon.h: Add hildon-picker-button.h
7567 Copied HildonPickerButton from sandbox to trunk. Future work on
7568 this widget must take place in trunk.
7570 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7572 * src/Makefile.am: Added HildonPickerDialog.
7573 * src/hildon-picker-dialog.c: Update includes.
7574 * src/hildon.h: Add hildon-picker-dialog.h
7576 Copied HildonPickerDialog from sandbox to trunk. Future work
7577 on this widget must take place in trunk.
7579 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7581 * src/Makefile.am: Added HildonTimeSelector.
7582 * src/hildon.h: Add hildon-time-selector.h
7584 Copied HildonTimeSelector widget from sandbox to trunk. Future
7585 work on this widget must happen in trunk.
7587 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7589 * src/Makefile.am: Added HildonDateSelector.
7590 * src/hildon.h: Add hildon-date-selector.h
7592 Copied HildonDateSelector widget from sandbox to trunk. Future
7593 work on this widget must happen in trunk.
7595 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7597 * src/Makefile.am: Added HildonTouchPicker.
7598 * src/hildon-touch-picker.c: Update includes.
7599 * src/hildon.h: Add hildon-touch-picker.h
7601 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7602 on this widget must happen in trunk.
7604 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7606 * src/hildon-pannable-area.c:
7607 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7609 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7611 * examples/hildon-app-menu-example.c (main): Let the window
7614 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7616 * src/hildon-pannable-area.c
7617 (hildon_pannable_area_class_init): Set the min value of the
7618 overshoot properties to zero, which points out that not
7619 overshooting allowed.
7621 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7623 Modified the procedure to get the widget at a point inside the
7624 pannable area when using the movement type signals. Now the user
7625 has to call a function to get the child, that way we just
7626 calculate the child in case the user really want to use it and not
7629 * src/hildon-marshalers.list: Modified the marshallers, now we do
7630 not have the widget as a parameter.
7632 * src/hildon-pannable-area.c
7633 (hildon_pannable_area_motion_notify_cb),
7634 (hildon_pannable_area_class_init),
7635 (hildon_pannable_get_child_widget_at): Removed the widget
7636 parameter from the signal callback. We have also refactored the
7637 emission of the signals.
7639 * src/hildon-pannable-area.h: Added a new method to the API to
7640 calculate a widget at a point inside the pannable area,
7641 hildon_pannable_get_child_widget_at.
7643 * examples/hildon-pannable-area-example-4.c
7644 (horizontal_movement): Modified the example to use the new API,
7645 added condition to control which widget is under the event. This
7646 way we can avoid scrolling laterally over other widgets.
7648 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7650 * src/hildon-pannable-area.c
7651 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7652 modes, we stop getting the pointer events due to returning the
7653 callback without properly calling the get pointer again. Fixed
7654 also an error using the hscroll and vscroll.
7656 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7658 * src/hildon-app-menu-private.h
7659 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7660 (hildon_app_menu_button_release, hildon_app_menu_init)
7661 (hildon_app_menu_class_init): Don't hide the menu on button
7662 release if the user didn't press outside first.
7664 * src/hildon-window.h
7665 * src/hildon-window.c (hildon_window_toggle_menu)
7666 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7667 hildon_window_toggle_menu a virtual function for the stackable
7668 window to override it.
7670 * src/hildon-stackable-window.h
7671 * src/hildon-stackable-window-private.h
7672 * src/hildon-stackable-window.c
7673 (hildon_stackable_window_realize)
7674 (hildon_stackable_window_finalize)
7675 (hildon_stackable_window_class_init)
7676 (hildon_stackable_window_init)
7677 (hildon_stackable_window_set_main_menu): New function to set the
7678 app menu of a HildonStackableWindow.
7680 * examples/hildon-app-menu-example.c: Remove the button to show
7681 the app menu, now it'll be shown when clicking on the title bar
7684 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7686 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7687 set the widget name if the arrangement flags do not specify
7690 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7692 * src/hildon-button.c: (hildon_button_set_property),
7693 (hildon_button_class_init), (hildon_button_new_full),
7694 (hildon_button_set_arrangement): Added "arrangement-flags"
7697 Make the HildonButtonFlags a construction-only property, to allow
7698 subclasses to set them properly.
7700 2008-07-21 Tim Janik <timj@imendio.com>
7702 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7703 insertion position after backspace, so additional digits are appended,
7706 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7708 * src/hildon-pannable-area.c,
7709 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7710 TODO list, it was complete and removed the g_debug and g_print
7713 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7715 Added the movement modes to the hildon-pannable-area, with this
7716 modes the developers can control in which directions the widget
7717 can scroll. They can also connect to signals in order to do
7718 something when that happens, allowing applications scroll. There
7719 is an example uploaded showing how to use it.
7721 * examples/Makefile.am:
7722 * examples/hildon-pannable-area-example-4.c: Added this example of
7723 an application using the modes.
7725 * src/hildon-marshalers.list: Added a new marshaller for the new
7728 * src/hildon-pannable-area.h: Added new enumerations and flags in
7729 order to control the movement modes and the new signals to warn
7730 about the movements in the area.
7732 * src/hildon-pannable-area.c:
7733 (hildon_pannable_axis_scroll),
7734 (hildon_pannable_area_scroll),
7735 (hildon_pannable_area_motion_notify_cb),
7736 (hildon_pannable_area_get_property),
7737 (hildon_pannable_area_set_property),
7738 (hildon_pannable_area_map),
7739 (hildon_pannable_area_class_init),
7740 (hildon_pannable_area_init),
7741 (hildon_pannable_area_jump_to): Added the modes to control the
7742 movement in the widget. We have added properties to control it,
7743 signals to warn about the movements and refactored some code.
7745 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7747 Changes required in order to allow vfast_factor set to zero to
7750 * src/hildon-pannable-area.c:
7751 (hildon_pannable_area_button_press_cb): Changed the condition, it
7752 is required for not allowing click when vfast_factor is zero.
7753 (hildon_pannable_area_timeout): Initialized velocity variables
7754 when we stop moving, it was less than 1 but not zero and we need
7755 to check zero in some situations.
7756 (hildon_pannable_area_class_init): Changed the default value of
7757 the speed factor, now the button_press is just sent in case the
7758 speed is 2 per cent of the max speed.
7759 (hildon_pannable_area_init): Initialization with 0.
7761 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7763 * src/hildon-pannable-area.c,
7764 (hildon_pannable_area_get_topmost): replaced
7765 gdk_window_get_children with gdk_window_peek_children, this way we
7766 do not have to free the list because it is not a copy.
7768 (hildon_pannable_axis_scroll),
7769 (hildon_pannable_area_scroll),
7770 (hildon_pannable_area_timeout),
7771 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7772 two parameters that were only used inside the
7773 hildon_pannable_area_scroll function.
7775 * examples/hildon-pannable-area-example.c,
7776 (get_sawtooth_label): Fixed small memory leak.
7778 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7780 More checks for the case where the overshoot is bigger than the
7783 * src/hildon-pannable-area.c:
7784 (hildon_pannable_draw_vscroll),
7785 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7786 to draw the slider of the scrollbar under the other scrollbar.
7787 (hildon_pannable_area_expose_event): added new checks to control
7788 the drawing of the overshooting area rectangle, in case it is too
7789 big for the area of the widget.
7790 (hildon_pannable_area_size_allocate): add more checks to avoid
7791 setting a position to the child widget outside the area.
7793 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7795 * src/hildon-pannable-area.c
7796 (hildon_pannable_area_size_allocate): Added conditions to control
7797 when overshooting is bigger than the allocated space for the
7798 children, this avoids negative allocations.
7800 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7802 * doc/hildon-docs.sgml
7804 * examples/Makefile.am
7805 * examples/hildon-button-example.c
7807 * src/hildon-button.c
7808 * src/hildon-button.h
7809 * src/hildon.h: Initial version of the new HildonButton widget,
7812 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7814 * src/hildon-pannable-area.c:
7815 (hildon_pannable_area_button_press_cb),
7816 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7817 (hildon_pannable_area_motion_notify_cb),
7818 (hildon_pannable_area_button_release_cb),
7819 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7820 (hildon_pannable_area_jump_to_child):
7822 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7824 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7826 * examples/Makefile.am
7827 * examples/hildon-pannable-area-touch-grid-example.c
7828 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7829 the Hildon Touch List and Hildon Touch Grid using the
7830 HildonPannableArea widget.
7832 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7834 * src/hildon-pannable-area.c,
7835 (hildon_pannable_area_button_press_cb),
7836 (hildon_pannable_area_refresh),
7837 (hildon_pannable_area_scroll),
7838 (hildon_pannable_area_motion_notify_cb),
7839 (hildon_pannable_area_button_release_cb),
7840 (hildon_pannable_area_expose_event),
7841 (hildon_pannable_area_add),
7842 (hildon_pannable_area_remove),
7843 (hildon_pannable_area_realize),
7844 (hildon_pannable_area_size_allocate),
7845 (hildon_pannable_area_class_init),
7846 (hildon_pannable_area_init),
7847 (hildon_pannable_area_scroll_to_child),
7848 (hildon_pannable_area_jump_to_child): Fixed the problem of
7849 removing the child from the GtkBin, we have rearranged the widget
7850 hierarchy, now there is no GtkAlignment which was not doing
7851 anything interesting but breaking some of the assumptions of
7852 GtkContainer. Now developers if they want to add a GtkAlignment
7853 they could, but it is not inside the area.
7855 We had to review the whole allocation/expose process, now it is
7856 improved and we save at least three signals which would be saving
7857 some time when rendering the widget. The allocation of the
7858 scrollbars is now made in the allocate method as usual.
7860 We have also added some conditions in order to control when there
7861 is no child of the pannable area. Maybe we will need more work
7864 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7866 * src/hildon-pannable-area.c,
7867 (hildon_pannable_area_dispose): Released the fade-out timeout when
7868 disposing the widget.
7870 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7872 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7873 zero, we are going to use that property in order to deactivate the
7875 (hildon_pannable_axis_scroll),
7876 (hildon_pannable_area_size_allocate): Added conditions to control
7877 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7878 call, now it is called in all situations and we can remove calls
7879 in the allocate method.
7880 (hildon_pannable_area_map): Control the situation when
7881 overshoot_max is zero, we do not need the timeout.
7882 (hildon_pannable_area_class_init): Added documentation in order to
7883 point out that setting zero to overshoot_max means deactivate
7886 NOTE: removed trailing whitespaces from my previous comments of
7889 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7891 * src/hildon-pannable-area.c
7892 (hildon_pannable_area_get_property),
7893 (hildon_pannable_area_set_property),
7894 (hildon_pannable_area_map),
7895 (hildon_pannable_area_class_init),
7896 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7897 to cause the widget give a hint about its panning abilities upon
7900 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7902 * src/hildon-pannable-area.c: Several documentation improvements.
7904 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7906 * src/hildon-program.c
7907 * src/hildon-stackable-window.c: Update documentation.
7909 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7911 * src/hildon-stackable-window.c (get_previous_window_if_last):
7912 Renamed get_last_window()
7913 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7914 (hildon_stackable_window_unset_program):
7916 (get_previous_window_if_last):
7917 Detect if the window hasn't been added to a HildonProgram.
7919 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7921 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7923 * src/hildon-pannable-area.c
7924 (hildon_pannable_area_button_press_cb),
7925 (hildon_pannable_axis_scroll),
7926 (hildon_pannable_area_scroll),
7927 (hildon_pannable_area_timeout),
7928 (hildon_pannable_calculate_vel_factor),
7929 (hildon_pannable_area_get_property),
7930 (hildon_pannable_area_set_property),
7931 (hildon_pannable_area_class_init),
7932 (hildon_pannable_area_init),
7933 (hildon_pannable_area_scroll_to),
7934 (hildon_pannable_area_jump_to),
7935 (hildon_pannable_area_scroll_to_child),
7936 (hildon_pannable_area_jump_to_child):
7937 * src/hildon-pannable-area.h: Added the new API functions:
7938 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7939 hildon_pannable_area_scroll_to_child,
7940 hildon_pannable_area_jump_to_child
7943 * examples/Makefile.am
7944 * examples/hildon-pannable-area-example-2.c
7945 * examples/hildon-pannable-area-example-3.c: Added these two new
7946 examples in order to test and show how the new APIs work.
7948 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7950 * examples/hildon-stackable-window-example.c (new_window):
7951 * src/Makefile.am (noinst_HEADERS):
7952 * src/hildon-program.c (hildon_program_go_to_root_window):
7953 * src/hildon-program.h:
7954 * src/hildon-stackable-window-private.h:
7955 * src/hildon-stackable-window.c:
7956 * src/hildon-stackable-window.h:
7957 Create hildon-stackable-window-private.h
7958 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7960 * examples/hildon-app-menu-example.c (create_menu):
7961 * examples/hildon-hvolumebar-insensitive-example.c (main):
7962 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7963 * examples/hildon-toolbar-seekbar-example.c (main):
7964 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7965 * src/hildon-banner.c (hildon_banner_set_property):
7966 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7967 Fix compilation warnings
7969 * src/hildon-window.c:
7972 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7974 * src/hildon-stackable-window.c
7975 (hildon_stackable_window_unset_program):
7976 Calculate correctly whether to show the previous window if the
7977 last one is removed from the stack.
7978 (hildon_stackable_window_go_to_root_window):
7979 Send delete events starting from the topmost window.
7980 Stop if one of the windows is not destroyed.
7982 (hildon_stackable_window_delete_event)
7983 (hildon_stackable_window_class_init):
7984 Ignore the delete event if the window is not the topmost one.
7986 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7988 * src/hildon-pannable-area.c
7989 (hildon_pannable_area_expose_event): Fixed a problem when
7990 selecting the background color of the scrollbars.
7992 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7994 * examples/hildon-stackable-window-example.c
7995 * src/hildon-stackable-window.c
7996 * src/hildon-stackable-window.h
7997 hildon_stackable_window_go_home() renamed to
7998 hildon_stackable_window_go_to_root_window()
7999 Send delete events to windows rather than closing them with
8000 gtk_widget_destroy()
8002 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8004 * src/hildon-pannable-area.c
8005 (hildon_pannable_area_button_release_cb): Fix overshooting in
8008 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8010 * src/hildon-pannable-area.c
8011 (hildon_pannable_area_init): Initially show the scroll indicators.
8012 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8014 Add initial effect showing the widget is pannable.
8016 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8018 * src/hildon-pannable-area.c
8019 (hildon_pannable_area_class_init)
8020 (hildon_pannable_area_set_property)
8021 (hildon_pannable_area_get_property)
8022 (hildon_pannable_area_button_press_cb):
8023 New 'velocity_fast_factor' property to decide which velocity is
8026 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8028 * src/hildon-pannable-area.c
8029 (hildon_pannable_draw_hscroll)
8030 (hildon_pannable_draw_vscroll):
8031 Use float variables to calculate the size of the scrollbars to
8032 avoid error propagation and resizing during scrolling.
8034 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8036 * src/hildon-pannable-area.c
8037 (hildon_pannable_draw_vscroll)
8038 (hildon_pannable_draw_hscroll):
8039 Define a minimum size for the scroll bars
8041 * src/hildon-stackable-window.c
8042 (hildon_stackable_window_go_home): Fix compilation warning
8043 (get_last_window): Minor optimizations
8044 (hildon_stackable_window_class_init): Fix initialization of
8047 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8049 * src/hildon-stackable-window.c: Fixed typos in doc
8051 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8053 * src/hildon-pannable-area.c
8054 (hildon_pannable_area_scroll):
8055 Calculate here whether we need to scroll instead of using the booleans
8056 that tell us whether to /draw/ the scrolling bars.
8058 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8060 * src/hildon-app-menu.h
8062 * src/hildon-app-menu.c
8063 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8064 multiple filter groups related code and API. Now we support only
8066 * examples/hildon-app-menu-example.c:
8068 Update to reflect API changes.
8070 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8072 * src/hildon-stackable-window.c
8073 (hildon_stackable_window_class_init):
8074 Add hildon_stackable_window_realize.
8075 (hildon_stackable_window_realize):
8076 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8077 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8078 to apply theming and behavior specific to HildonStackableWindow
8081 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8083 * src/hildon-note.c (hildon_note_button_release):
8084 Close information notes also when tapping on them
8086 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8088 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8089 ELASTICITY, refactor and review, fix some issues with drawing
8092 * src/hildon-pannable-area.c:
8093 (hildon_pannable_area_button_press_cb): removed the conditions to
8094 avoid clicks when overshooting. It is not required
8096 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8097 define. Refatored and reviewed the code, now we do not need to
8098 manage velocity in motion_notify.
8100 (hildon_pannable_area_motion_notify_cb): We have moved the code
8101 that controls the area_scroll to the axis_scroll function and get
8102 rid of duplicated code.
8104 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8106 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8108 (hildon_pannable_draw_vscroll),
8109 (hildon_pannable_draw_hscroll): Fixed the problems with the
8110 scrollbar drawing, now we do not use two surfaces, it is easier
8111 and saves resources.
8113 (hildon_pannable_area_get_property): Style modification.
8115 (hildon_pannable_area_class_init): Changed some default values.
8117 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8119 * src/hildon-stackable-window.c: Fix some typos in the
8122 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8124 * src/hildon-dialog.c:
8125 Change indentation style
8128 (hildon_note_button_release):
8129 Use root coordinates to check if the release event happened
8132 * src/hildon-app-menu.c
8133 (hildon_app_menu_button_release):
8134 Remove unnecessary check
8136 * examples/hildon-app-menu-example.c
8138 Add cast to fix warning
8140 * src/hildon-app-menu.c
8141 (hildon_app_menu_class_init):
8142 New inner-border style property.
8143 Set all default spacings to 16
8144 (hildon_app_menu_init):
8145 Use vertical-spacing to set the space between filter buttons and
8146 regular menu buttons.
8147 Set the default container border using the inner-border value.
8149 * examples/hildon-app-menu-example.c
8151 Don't set the menu border explicitly, now we have the inner-border
8152 style property for that.
8154 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8156 * src/hildon-app-menu.c (hildon_app_menu_init):
8157 Make the window modal
8159 * src/hildon-note.c (hildon_note_map)
8160 * src/hildon-app-menu.c (hildon_app_menu_map):
8161 Destroy the grab window if we're unable to grab the pointer
8163 * src/hildon-app-menu-private.h
8164 * src/hildon-app-menu.c
8165 (hildon_app_menu_init, hildon_app_menu_finalize)
8166 (hildon_app_menu_map, hildon_app_menu_unmap)
8167 (hildon_app_menu_button_release)
8168 (grab_transfer_window_get):
8169 Bring back the grab window
8170 (hildon_app_menu_realize):
8171 Decorate the window, set WM hint for Matchbox
8173 * src/hildon-note.c (hildon_note_realize):
8174 * src/hildon-banner.c (hildon_banner_realize):
8175 Add WM hints for Matchbox
8177 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8179 * src/hildon-app-menu-private.h
8180 * src/hildon-app-menu.c
8181 (hildon_app_menu_init, hildon_app_menu_finalize)
8182 (hildon_app_menu_map, hildon_app_menu_unmap)
8183 (hildon_app_menu_button_release):
8184 Remove the grab window, it's not needed anymore
8186 * src/hildon-program.c
8187 Fixed typo in documentation
8189 * src/hildon-app-menu.h
8190 * src/hildon-app-menu.c
8191 * examples/hildon-app-menu-example.c
8192 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8194 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8197 Added new transfer_window and close_if_pressed_outside private
8199 (hildon_note_rebuild):
8200 Don't add a cancel button to the information note. It will be
8201 closed when tapping outside
8202 Remove the comment about the OK button in the documentation
8203 (hildon_note_realize):
8204 Set the notification type hint
8205 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8206 Grab/ungrab pointer and keyboard if the note has to be closed when
8208 (hildon_note_button_release):
8209 Close the note when tapping outside (if applicable)
8211 * src/hildon-app-menu.c
8212 Grab/ungrab pointer and keyboard on map/unmap
8213 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8214 Close the menu on button release, not button press
8216 * src/hildon-banner.c
8217 (hildon_banner_set_property)
8218 (hildon_banner_check_position):
8219 Make the banner use the full width of the screen
8220 (hildon_banner_show_information)
8221 (hildon_banner_show_information_with_markup):
8222 Don't display an icon by default
8224 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8226 Added fading scrollbars and adapted all the overshooting code to
8227 horizontal scrolling. We have also fixed bugs with overshooting
8228 and current fading implementation.
8230 * src/hildon-pannable-area.c
8231 (hildon_pannable_area_scroll_indicator_fade): Time out function
8232 used to change the transparency of the scrollbars.
8234 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8235 control and fixed a problem with fading, we now remove the fade
8236 timeout before adding a new one.
8238 (hildon_pannable_axis_scroll):
8239 (hildon_pannable_area_scroll):
8240 (hildon_pannable_area_timeout): Added this functions so we can use
8241 the scroll code both for vertical and horizontal.
8243 (hildon_pannable_area_motion_notify_cb):
8244 (hildon_pannable_area_button_release_cb): Added the horizontal
8245 scrolling control, fixed a problem with the overshooting timeout.
8247 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8248 painting of the scrolls.
8250 (hildon_pannable_draw_vscroll):
8251 (hildon_pannable_draw_hscroll):
8252 (hildon_pannable_area_expose_event):
8253 Draw both scrollbars and rectangles in the overshooting area.
8255 (hildon_pannable_area_get_property):
8256 (hildon_pannable_area_set_property):
8257 Modified the overshoot property to overshoot_max
8259 (hildon_pannable_area_map):
8260 Replaced the comments symbols.
8262 (hildon_pannable_area_size_allocate):
8263 (hildon_pannable_area_class_init):
8264 (hildon_pannable_area_init): Added horizontal scroll, fading
8265 effect properties, fixed a problem when overshooting in the bottom
8268 * examples/hildon-pannable-area-example.c:
8269 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8270 looks better in the example.
8272 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8274 * src/hildon-window.c
8275 * src/hildon-window.h
8276 (hildon_window_class_init)
8277 (hildon_window_unset_program)
8278 (hildon_window_unset_program_real):
8279 Make unset_program a virtual function
8281 * src/hildon-stackable-window.c
8282 * src/hildon-stackable-window.h
8283 Added hildon_stackable_window_go_home()
8285 * examples/Makefile.am
8286 * examples/hildon-stackable-window-example.c
8287 HildonStackableWindow example
8289 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8291 * hildon-pannable-area.c: Added the overshoot property and removed
8292 the OVERSHOOT define. Fixed an indent style error.
8293 (hildon_pannable_area_motion_notify_cb):
8294 (hildon_pannable_area_get_property):
8295 (hildon_pannable_area_set_property): Add overshoot property.
8297 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8300 (hildon_pannable_area_class_init): Installed the new property.
8302 * hildon-pannable-area-example.c: Added a sawtooth function, this
8303 way it is easier to check the movement in the pannable.
8304 (get_sawtooth_label): Added this function.
8305 (main): Now we get the labels from the new get_sawtooth_label
8308 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8310 * src/hildon-app-menu.h
8311 * src/hildon-app-menu.c
8312 Renamed API variables for consistency
8314 (hildon_app_menu_popup): Use also the default window size to
8315 decide where to place the menu
8317 (hildon_app_menu_init, hildon_app_menu_class_init): New
8318 external-border style property
8320 2008-05-26 Michael Natterer <mitch@imendio.com>
8322 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8323 widget_class->tap_and_hold_setup signal slot doesn't exist any
8324 longer, stop overriding it.
8326 (hildon_time_editor_init): g_signal_connect() to the
8327 tap-and-hold-setup signal instead.
8329 (hildon_time_editor_entry_keypress): add cast to fix warning.
8331 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8333 * doc/hildon-docs.sgml
8335 * examples/Makefile.am
8336 * examples/hildon-app-menu-example.c
8338 * src/hildon-app-menu-private.h
8339 * src/hildon-app-menu.c
8340 * src/hildon-app-menu.h
8342 New HildonAppMenu widget
8344 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8346 Rearranged the inheritance of the pannable area, now it inherits
8347 from GtkBin. This will allow us to control the event_window and
8348 the allocation process of the widget, required for some effects.
8350 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8351 GtkBin structures. * src/hildon-pannable-area.c: Added the
8352 event_window variable.
8353 (hildon_pannable_area_button_press_cb):
8354 (hildon_pannable_area_button_release_cb):
8355 (hildon_pannable_area_motion_notify_cb):
8356 Changed the signature of the method, now we override the event
8357 callback instead of connecting to the signal.
8359 (hildon_pannable_area_realize):
8360 (hildon_pannable_area_unrealize):
8361 (hildon_pannable_area_map):
8362 (hildon_pannable_area_unmap):
8363 (hildon_pannable_area_size_allocate):
8364 Added functions to control the widget construction. We add a
8365 INPUT_ONLY window and we put it over the widgets inside the
8366 container, this event_window handles the events.
8368 (hildon_pannable_area_class_init):
8369 Replaced the signal connections with overrides of the event
8372 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8374 Bouncing effect added when touching the borders, you can change
8375 the elasticity of the border changing the ELASTICITY define.
8377 * src/hildon-pannable-area.c: Added ELASTICITY define.
8378 (hildon_pannable_area_timeout): Added inverse velocity when
8379 touching the border of the child widget, that causes a bounce.
8381 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8383 Improved performance, we now do not go to the X server in order to
8384 get the list of window children. Apparently the effect is the
8385 same, we have to be careful and check if this breaks something in
8388 * src/hildon-pannable-area.c:
8389 (get_ordered_children): Removed this function.
8390 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8391 the children windows function with gdk_window_get_children.
8393 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8395 * src/hildon-pannable-area.c:
8396 (hildon_pannable_area_dispose): Fixed a crash when closing the
8397 window and kinetics is activated.
8399 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8401 * src/hildon-pannable-area.h
8402 * src/hildon-pannable-area.c
8403 Changed indentation style to meet the one used in Hildon
8405 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8407 Reviewed the interaction of the AUTO mode, now we use the time
8408 attribute of the events and calculate the velocity in the motion,
8409 doing a gimp like calculation. The velocity is calculated in each
8410 motion event using the last velocity and the current one, the
8411 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8413 * src/hildon-pannable-area.c: Replaced the time based algorithm
8415 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8416 timeout for the AUTO mode when we are still moving the cursor. We
8417 added also the velocity calculation in this function.
8418 (hildon_pannable_area_button_release_cb): launch the timeout in
8419 case we are in AUTO mode. There are still some constants here that
8420 come from the old implementation that should be reviewed and
8423 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8425 * doc/hildon-docs.sgml
8428 * src/hildon-stackable-window.c
8429 * src/hildon-stackable-window.h
8431 New HildonStackableWindow widget
8433 * examples/hildon-dialog-example.c
8434 * examples/hildon-pannable-area-example.c
8437 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8439 * src/hildon-dialog.c
8440 (hildon_dialog_new_with_buttons): New constructor.
8442 * examples/hildon-dialog-example.c
8443 (main): Update the example to use the new
8444 hildon_dialog_new_with_buttons().
8446 * examples/hildon-pannable-area-example.c
8447 (main): Update example.
8449 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8451 * doc/hildon-docs.sgml
8453 Added HildonPannableArea to the documentation.
8455 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8457 * doc/visual_index.xml
8458 Fix reference to HildonLoginDialog in documentation
8460 * doc/hildon-docs.sgml
8462 * examples/Makefile.am
8463 * examples/hildon-dialog-example.c
8465 * src/hildon-dialog.c
8466 * src/hildon-dialog.h
8468 New HildonDialog widget.
8470 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8472 * src/hildon-pannable-area.c
8473 Merge latest changes (r4318, r4342) from libmokoui trunk
8475 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8477 * examples/Makefile.am
8478 * examples/hildon-pannable-area-example.c
8480 * src/hildon-pannable-area.c
8481 * src/hildon-pannable-area.h
8483 New HildonPannableArea widget.
8485 2008-04-15 18:05:19 <timj@imendio.com>
8487 * src/hildon-banner.c: revert the recent change, that introduced
8488 gtk_window_present() calls. this reopens:
8489 Bug 78481 - [freetest] information banners are hidden under browser menu
8490 But resolves another variant of:
8491 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8493 2008-04-15 13:21:13 <timj@imendio.com>
8495 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8496 recreated its layout, spotted by Kris. this fixes all remaining
8497 artefacts and stability issues with the banner code. in particular:
8498 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8500 2008-04-14 16:52:59 <timj@imendio.com>
8502 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8503 operating on unrealized widgets, fixes:
8504 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8506 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8508 2008-04-09 Kristian Rietveld <kris@imendio.com>
8510 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8511 makes banner disappear.
8512 Fixes: NB#79182: info banner flickering with certain message lengts.
8514 * src/hildon-banner.c (hildon_banner_constructor),
8515 (hildon_banner_init), (hildon_banner_set_text),
8516 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8517 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8518 FALSE, reset size requests of label and banner,
8519 (force_to_wrap_truncated): when the text is too wide, always enforce
8520 the maximum possible width instead of recalculating it from the
8521 layout; enforce the maximum banner height of 3 lines,
8522 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8523 nicer wrapping and no truncated chars if space gets tight.
8525 * src/hildon-banner-private.h: add has_been_wrapped and
8526 has_been_truncated fields.
8528 2008-04-07 Sven Herzberg <sven@imendio.com>
8530 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8531 local values in hildon_date_editor_size_allocate
8533 * src/hildon-date-editor.c: moved the real allocation code into the
8536 2008-04-07 Sven Herzberg <sven@imendio.com>
8538 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8539 local values in hildon_date_editor_size_allocate
8541 * src/hildon-date-editor.c: merged the two if() branches together
8543 2008-04-07 Sven Herzberg <sven@imendio.com>
8545 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8546 local values in hildon_date_editor_size_allocate
8548 * src/hildon-date-editor.c: changed the arguments of the if()
8551 2008-04-07 Sven Herzberg <sven@imendio.com>
8553 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8554 local values in hildon_date_editor_size_allocate
8556 * src/hildon-date-editor.c: split the calculation of the allocation
8557 from the real allocation
8559 2008-03-27 Michael Natterer <mitch@imendio.com>
8561 Fixes: NB#81696: The passcode is not overwritten even after
8564 * src/hildon-code-dialog.c
8565 (hildon_code_dialog_button_clicked)
8566 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8567 because that doesn't overwrite selected text. Instead, emit the
8568 "commit" signal on the entry's im_context so the entry's normal
8569 insert logic is triggered. Set the cursor to the end of the entry
8570 after each insert operation so that we *only* insert in the middle
8571 of the text if something was selected.
8573 2008-03-27 Michael Natterer <mitch@imendio.com>
8575 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8576 selector cannot be opened
8578 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8579 when the popup color selector is created. Please connect to this
8580 signal in order to set the dialog's help ID.
8582 2008-03-25 Sven Herzberg <sven@imendio.com>
8584 Fixes: MB#1212: Hide info banners (infoprints) on click
8586 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8587 extracted the close event simulation into an extra function
8588 (hildon_banner_button_press_event): simulate a close event and destroy
8589 the widget if the event wasn't handled
8590 (hildon_banner_class_init): added the button_press_event handler
8591 (hildon_banner_init): added button-press events to the widget
8593 2008-03-25 Sven Herzberg <sven@imendio.com>
8595 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8596 Patch from: Mohammad Anwari <mdamt@maemo.org>
8598 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8599 instead of the right in RTL mode
8600 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8601 breadcrumb button list in RTL mode
8602 * src/hildon-caption.c: mirror the appearance of the caption widget in
8604 * src/hildon-date-editor.c: mirror appearance of the date editor in
8606 * src/hildon-time-editor.c: mirror appearance of the time editor in
8608 * src/hildon-window.c: fix the position of the popup in RTL mode
8610 2008-03-25 Sven Herzberg <sven@imendio.com>
8612 Amendment to the fix of NB#22072. Fix compilation.
8614 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8616 2008-03-19 Sven Herzberg <sven@imendio.com>
8618 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8621 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8622 timeout id properly when the timeout will disappear this leaves no
8623 artifacts around in the destroy(); there will only be the timeout
8624 created by hildon_banner_ensure_timeout() and adding a new timeout
8625 will also work if the timeout gets removed because the timeout_handler
8628 2008-03-19 Michael Natterer <mitch@imendio.com>
8630 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8632 * src/hildon-volumebar.c
8633 * src/hildon-vvolumebar.c
8634 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8635 the widget becomes focussable at all.
8637 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8638 set the focus to wither the mute button or the volumebar.
8640 Remove own "can-focus" property and instead listen to
8641 notify::can-focus in order to update the widget's state.
8643 Implement GtkWidget::focus() and make sure we can also *leave* the
8644 widget, not only enter it, depending on volumebar orientation and
8645 requested focus direction.
8647 Clean up set_mute() to cooperate nicely with all the above.
8649 2008-03-04 Michael Natterer <mitch@imendio.com>
8651 Fixes: NB#78481: information banners are hidden under browser menu
8653 * src/hildon-banner.c: call gtk_window_present() on the banners so
8654 they are risen if they are already visible.
8656 2008-03-03 Sven Herzberg <sven@imendio.com>
8658 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8660 * examples/hildon-window-menu-example.c: (main): extended the window
8661 menu example to serve as a testcase for automatically added
8662 accelerator groups, too
8663 * src/hildon-window.c: (hildon_window_add_accel_group),
8664 (hildon_window_set_menu): added patch by Tommi Komulainen
8666 2008-03-03 Sven Herzberg <sven@imendio.com>
8668 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8670 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8671 knowledge about the border allocators used within GTK+
8673 2008-02-26 Sven Herzberg <sven@imendio.com>
8675 Fixes: MB#2981: Build with asserts broken
8677 * src/hildon-date-editor.c,
8678 * src/hildon-number-editor.c,
8679 * src/hildon-time-editor.c,
8680 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8681 the proper GType instance check
8683 2008-02-25 Sven Herzberg <sven@imendio.com>
8685 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8687 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8688 * examples/hildon-window-menu-example.c: (main): explicitly show
8690 * src/hildon-window.c:
8691 (hildon_window_set_main_menu): moved most of the code from set_menu()
8692 to this place; skipped the call to gtk_widget_show_all(); also didn't
8693 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8694 (hildon_window_set_menu): removed most of the code, just keep the
8695 questionable gtk_widget_show_all()
8696 * src/hildon-window.h: added the new function and deprecate the old
8699 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8705 * debian/changelog: Updating.
8707 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8710 * pkgconfig/Makefile.am:
8711 * pkgconfig/hildon.pc.in:
8714 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8715 use newly created API_MAJOR_VERSION.
8717 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8723 * debian/changelog: Updating.
8725 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8727 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8729 Add outer_border style property, we use it but don't define it (!).
8733 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8735 * examples/hildon-bread-crumb-trail-example.c (main):
8739 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8741 Fix logic for the bread crumb trail node removal.
8745 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8751 * debian/changelog: Updating.
8753 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8755 Patch by Alejandro to get/set passwords dialogs accesibility.
8757 * hildon-1/src/hildon-get-password-dialog.c:
8758 * hildon-1/src/hildon-set-password-dialog.c:
8759 Set atk_set_name to the passwd entries in order to allow
8760 accessibility by name on this entries.
8762 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8767 * debian/control: Updating gtk dep.
8769 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8771 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8772 USE_MAEMO_GTK is enabled.
8774 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8776 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8777 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8779 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * debian/changelog: Updating.
8787 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8789 * examples/Makefile.am:
8790 * examples/hildon-logical-color-example.c:
8791 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8792 applied + adding a test case. Fixes: NB#71660.
8794 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8796 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8797 to be visible, fixes warning on map for windows without toolbars.
8799 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8801 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8802 2.11.0, add a check for that besides the MAEMO_GTK check.
8804 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * debian/changelog: Updating.
8812 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8814 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8815 visibility. Fixes: NB#70842 and MB#615.
8817 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8819 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8820 set the separator as no-show-all so it doesn't unintentionally appear when
8821 someone does a show_all.
8823 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8825 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8826 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8827 toplevel item. Fixes: NB#62031
8829 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8831 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8832 fix the name of the function in the docs.
8834 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8840 * debian/changelog: Updating.
8842 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8844 * examples/hildon-banner-long-example.c: Adding a test-case for long
8847 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8849 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * src/hildon-color-chooser-dialog.c:
8852 * src/hildon-color-chooser.c:
8853 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8854 memory leaks in font selector and color selector. Fixes: NB#70499 and
8857 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8859 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8861 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8864 little bit bigger. Fixes: #NB63694.
8866 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8872 * debian/changelog: Updating.
8874 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * doc/hildon-docs.sgml:
8878 * doc/images/bread-crumb-trail.png:
8879 * doc/images/calendar-popup.png:
8880 * doc/images/caption.png:
8881 * doc/images/code-dialog.png:
8882 * doc/images/color-button.png:
8883 * doc/images/color-chooser-dialog.png:
8884 * doc/images/color-chooser.png:
8885 * doc/images/controlbar.png:
8886 * doc/images/date-editor.png:
8887 * doc/images/font-selection-dialog.png:
8888 * doc/images/get-password-dialog.png:
8889 * doc/images/hvolumebar.png:
8890 * doc/images/login-dialog.png:
8891 * doc/images/note.png:
8892 * doc/images/number-editor.png:
8893 * doc/images/range-editor.png:
8894 * doc/images/seekbar.png:
8895 * doc/images/set-password-dialog.png:
8896 * doc/images/sort-dialog.png:
8897 * doc/images/time-editor.png:
8898 * doc/images/time-picker.png:
8899 * doc/images/vvolumebar.png:
8900 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8901 Adding the bread-crumb-trial and helpers to the documentation.
8903 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8905 * examples/hildon-find-toolbar-example.c:
8906 * src/hildon-find-toolbar.c:
8907 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8908 actually continue firing the other handlers if connected. Adding a new
8910 hildon_find_toolbar_get_last_index that gets the index of the most
8911 recently added (last) item. Fixes: NB#52301.
8913 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8915 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8916 behaviour. Fixes: NB#68610.
8918 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8920 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8923 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8925 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8926 when realizing the banner. Should make the infonbanner effect a bit more
8929 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * src/hildon-volumebar.c:
8932 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8933 hildon_volumebar_set_range_insensitive_message and
8934 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8936 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8938 * src/hildon-window.c: Fixing the border freeing on destroy.
8940 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8942 * src/hildon-code-dialog-private.h:
8943 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8944 kw keyboard support in HildonCodeDialog.
8946 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * debian/changelog: Updating.
8954 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * src/hildon-date-editor.c:
8957 * src/hildon-number-editor.c:
8958 * src/hildon-private.c:
8959 * src/hildon-private.h:
8960 * src/hildon-time-editor.c:
8961 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8962 handling in subclassed composite widgets. Fixes: NB#66628.
8964 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8966 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8967 from destroy_ callback as it introduces problems in async dbus signal
8968 handlers. Fixes NB#66673.
8970 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * examples/hildon-hvolumebar-example.c:
8973 * src/hildon-volumebar.c: Improving the focus handling in the
8974 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8975 set_property accessor so that "mute" property can be actually set. I'm
8976 scared that nobody noticed it's totally broken.
8978 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8983 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * src/hildon-calendar.c:
8986 * src/hildon-number-editor.c:
8987 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8988 matches the spec of 6 chars per second. Fixes: NB#60489.
8990 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8992 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8993 gtk_style_lookup_color sometime returns FALSE even though color was
8994 found and values were filled properly. Weird. Removing the warning for the
8997 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8999 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9000 expand vertically. Adding some extra space to the find toolbar buttons to
9001 make them thumbable. Fixes NB#66060.
9003 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9006 popup with "Ok" and "Cancel". Fixes NB#59299.
9008 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9010 * src/hildon-calendar.c: Process all window updates before executing next
9011 timeout. Fixes: NB#54146.
9013 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9019 * debian/changelog: Updating.
9021 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9023 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9024 the client event and ignore it, since we use the delete event to close
9027 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 * src/hildon-helper.c: Remove the bogus warning about color not being
9030 found. Fixes NB#58352.
9032 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * examples/Makefile.am:
9035 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9036 HildonSeekbar widget inside a toolbar.
9038 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9040 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9041 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9042 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9043 don't want to be closed by non-temporary windows on map.
9045 Also use G_DEFINE_TYPE instead of manually typed code.
9047 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9054 * debian/rules: Updating.
9056 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9058 * examples/Makefile.am:
9059 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9060 bug NB#61128. Strangely it works.
9062 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * src/hildon-date-editor.c: When the date editor entry has been changed
9065 but the numbers of characters < max, turn off the skip validation flag.
9066 Prevents a situation when we enter first a valid year and later re-write
9067 it with an invalid one. Fixes NB#60154.
9069 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9071 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9072 code dialog. Fixes NB#64355.
9074 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9077 switching the page. Fixes NB#49374.
9079 * examples/Makefile.am:
9080 * examples/hildon-wizard-dialog-example.c: Adding an example for
9081 HildonWizardDialog that shows how to handle manual sensitivity setting on
9084 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9088 * src/hildon-version.h.in:
9089 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9091 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9093 * src/hildon-volumebar.c: Updating the docs.
9095 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * debian/changelog: Updating.
9103 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9105 * src/hildon-find-toolbar.c:
9106 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9107 selected item: hildon_find_toolbar_set_active,
9108 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9109 hildon_find_toolbar_get_active_iter . They correspond to respective
9110 GtkComboBox functions.
9112 * examples/Makefile.am:
9113 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9116 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9118 * examples/Makefile.am:
9119 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9122 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9123 when font size > 32 and we pack a focusable widget inside. Actually using
9124 the default response would work too, but since we don't show default
9125 response state in any way (no theming) it would not be visible to the
9126 user. Fixes NB#63430.
9128 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9130 * src/hildon-date-editor.c: Adding the missing variable setter in the
9131 set_property handler. Fixes NB#54182.
9133 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9135 * src/hildon-window.h: Changing the long key press time from 1500ms to
9136 800ms as requested in NB#63700. I have a bad feeling about this, let's
9137 see... Fixes NB#63700.
9139 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9141 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9142 hildon_time_picker_map, hildon_time_picker_realize,
9143 hildon_time_picker_style_set): Split the contents of map to more
9144 appropriate functions; set window decorations on realize and update
9145 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9147 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9152 * debian/changelog: Updating.
9154 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9156 * src/Makefile.am: fixed installation of the header files
9158 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9164 * debian/changelog: Updating.
9166 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * configure.ac: Removing some remaining of --enable-xan.
9170 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9172 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9173 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9175 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9176 2.10.12-osso6 because the move-focus signal needs to be available in
9179 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * examples/Makefile.am:
9182 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9183 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9184 fine. Prolly NB#61128 is fixed now.
9186 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9188 * src/hildon-volumebar.c:
9189 * src/hildon-volumebar.h: Adding the
9190 hildon_volumebar_set_range_insensitive_message and
9191 hildon_volumebar_set_range_insensitive_messagef functions to set
9192 insensitive message on the slider of the volumebar. Fixes NB#61129.
9194 * examples/Makefile.am:
9195 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9196 test the new insensitive messsage functionality on HildonVolumebar.
9198 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9200 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9203 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9205 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9206 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9207 button on after clearing the trail.
9209 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9211 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9213 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9215 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9216 by splitting the installed headers in generated and non-generated groups. Use
9217 only the non-generated headers to create the hildon-enum-types.h file.
9219 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9221 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9223 * src/hildon-window.c: Hide the window before performing the destroy.
9224 Should make the app closing a little tiny bit more snappy.
9226 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9228 * src/hildon-seekbar.c: add gtkrange.h header
9229 * src/hildon-caption.c: remove unused variable
9231 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9233 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9236 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9242 * debian/changelog: Updating.
9244 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9246 * src/hildon-window.c (hildon_window_window_state_event,
9247 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9248 escape timeout on focus-out-event rather than notify::is-topmost; the
9249 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9251 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9253 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9254 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9256 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9258 * src/hildon-window: actually, you need to use the macro always, there's
9259 no private pointer in the instance structure. We should have cleaned this up
9260 when we had the chance...
9262 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9264 * src/hildon-window.c: do not get the private date from HildonWindow before
9265 it passes the g_return_if_fail check. Once it's passed the test, there's no
9266 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9267 if you are only going to access the data once. Whitespace cleanups.
9269 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9271 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9272 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9274 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * debian/changelog: Updating.
9282 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9284 * src/hildon-window.c: When destroying the window, remove (if exists) the
9285 escape timeout handler. Fixes #NB59276.
9287 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9289 * src/hildon-banner.c: When realizing the widget, set the window
9290 transiency. Setting the transiency in the gobject constructor is not
9291 good, as the widget is not realized at that point. Fixes: #NB56624.
9293 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9295 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9296 Add padding for future expansions.
9298 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9300 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9301 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9302 will fake an activation on the previous to the last item of the trail, so
9303 the effect can be overrided by the developer as usual.
9304 Also change the callback for the back button to do the same thing, so its
9305 effect can be overrided too. Fixes: NB#58982
9307 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9309 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9310 HildonCaption. Fixes NB#52379.
9312 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9314 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9315 the internal state of the trail after the user has had the chance of executing
9316 his handler for the signal. Specifically, it may happen that the activated button
9317 is removed and the user still lets the default handler run. This would segfault
9320 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9322 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9323 scrollbar to the preview dialog. Fixes NB#54147.
9325 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9327 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9328 max/min year properties can be altered, so the client can modify it
9329 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9331 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9333 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9334 hildonlike by default. Fixing a problem with disappearing arrows when
9335 scrolling through months and years. Fixes NB#54127.
9337 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9339 * examples/hildon-date-editor-example.c: Adding error callback to the date
9342 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9348 * configure.ac: Updating.
9350 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9352 * configure.ac: Adding a special '--enable-xan' configure option that
9353 turns off the -Werror compilation setting. Usefull for development.
9355 * src/hildon-calendar.c:
9356 * src/hildon-number-editor.c:
9357 * src/hildon-time-picker.c: Adding the 5* multiplier to
9360 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9362 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9363 instead of g_object_ref + gtk_object_sink.
9365 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9371 * debian/changelog: Updating.
9373 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * src/hildon-color-chooser-dialog.c:
9376 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9377 straight from Tommi labs.
9379 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 * examples/hildon-finger-example.c: Correcting the header file path.
9383 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9384 the changed signal. Fixes a small memory leak.
9386 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9390 * src/hildon-banner.c: Importing several usefull fixes from the
9391 ubuntu-mobile branch.
9393 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9395 * examples/Makefile.am:
9396 * examples/hildon-finger-example.c: Adding a finger-checking code
9399 * src/hildon-font-selection-dialog.c: Do not allocate the color
9400 structure using the g_new. Fixes NB#54061.
9402 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9404 * src/hildon-helper.c: Correcting tabs in file.
9406 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9408 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9409 control the visibility of the children.
9411 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9413 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * debian/changelog: Updating.
9421 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9423 * src/hildon-bread-crumb-trail.c:
9424 (hildon_bread_crumb_trail_size_allocate):
9426 Make the back button always a square.
9428 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9430 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9431 from the .c file as it's a private file.
9433 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9435 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9436 uses slightly bigger height.
9438 * src/hildon-font-selection-dialog.c: Adding some checks before
9439 freeing memory in the font selection dialog.
9441 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9443 * src/hildon-font-selection-dialog.c: Adding a small check when
9446 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9447 buttons sensitivity on page switching.
9449 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9451 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9452 internal details of adding a bread crumb to the trail.
9454 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9460 * debian/changelog: Updating.
9462 * src/hildon-bread-crumb-trail.h:
9463 * src/hildon-bread-crumb.h: Changing the API guard to
9464 HILDON_ENABLE_UNSTABLE_API.
9466 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9474 * src/hildon-helper.h: Updating.
9476 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9484 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9488 * src/hildon-helper.h: Small fix to make the package actually compile.
9490 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9492 * src/hildon-bread-crumb-trail.h:
9493 * src/hildon-bread-crumb.h:
9495 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9496 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9498 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9500 * examples/hildon-bread-crumb-trail-example.c:
9502 * src/hildon-bread-crumb-trail.c:
9503 * src/hildon-bread-crumb-trail.h:
9504 * src/hildon-bread-crumb.c:
9505 * src/hildon-bread-crumb.h:
9506 * src/hildon-marshalers.list:
9507 * src/hildon-bread-crumb-widget.c:
9508 * src/hildon-bread-crumb-widget.h:
9510 Slight change in the widget design. The bread crumb trail API is
9511 unchanged, but HildonBreadCrumb is now an interface. A *private*
9512 implementation, hildon-bread-crumb-widget, is provided and used
9513 internally by the trail for the push_text/push_icon functions.
9515 The generic push API is still available, so anyone can implement
9516 and use its own bread crumb widget.
9518 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9520 * debian/rules: Fixing the shlibs.
9522 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9524 * src/hildon-banner.c: Fixing a problem with timed banners having
9525 their parrent destroyed before they are.
9527 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9529 * src/hildon-bread-crumb.c:
9530 * src/hildon-bread-crumb.h:
9532 Make the get_natural_size function a vfunc.
9534 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9536 * src/hildon-bread-crumb.c:
9537 * src/hildon-bread-crumb-trail.c:
9541 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9548 * debian/changelog: Updating for release.
9550 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9552 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9553 don't leak the pango layout.
9555 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9558 * examples/hildon-bread-crumb-trail-example.c:
9562 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9564 * debian/changelog: Removing the bug-fixed entries that were actually
9565 resolved as WONTFIX.
9567 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9570 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9572 * src/hildon-bread-crumb-trail.c:
9573 * src/hildon-bread-crumb-trail.h:
9574 * src/hildon-bread-crumb.c:
9575 * src/hildon-bread-crumb.h:
9579 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9581 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9582 until it's passed the type check.
9584 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9586 * examples/hildon-bread-crumb-trail-example.c
9590 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9592 * examples/Makefile.am
9593 * examples/hildon-bread-crumb-trail-example.c
9595 * src/hildon-bread-crumb-trail.c
9596 * src/hildon-bread-crumb-trail.h
9597 * src/hildon-bread-crumb.c
9598 * src/hildon-bread-crumb.h
9600 New HildonBreadCrumbTrail widget.
9602 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9604 * src/hildon-range-editor.c (hildon_range_editor_init),
9605 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9606 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9607 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9608 hildon_time_editor_class_init, hildon_time_editor_init),
9609 src/hildon-get-password-dialog.c (invalid_input,
9610 hildon_get_password_set_property, hildon_get_password_get_property,
9611 create_contents, hildon_get_password_dialog_set_max_characters),
9612 src/hildon-set-password-dialog.c (create_contents),
9613 src/hildon-date-editor.c (hildon_date_editor_init),
9614 src/hildon-login-dialog.c (hildon_login_dialog_init),
9615 src/hildon-number-editor.c (hildon_number_editor_init),
9616 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9617 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9618 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9619 configure option and adding the respective checks in the code.
9620 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9621 hildon_calendar_drag_data_received): fixed some build warnings.
9623 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9625 * debian/changelog: A 1.0.0 release notes.