1 2009-08-28 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c
4 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
5 Close the menu if it receives a grab-notify signal.
7 Fixes: NB#134533 (UI freezes if we show a dialog with
8 gtk_dialog_run() while a menu is opened)
10 2009-08-27 Alejandro G. Castro <alex@igalia.com>
12 * hildon/hildon-pannable-area.c,
13 (hildon_pannable_area_class_init): Reverted tuning modifications:
14 "Pannign needs to be faster" and "Pannable kinetics in large lists
17 2009-08-26 Alberto Garcia <agarcia@igalia.com>
19 * hildon/hildon-sound.c (hildon_play_system_sound):
20 Set "module-stream-restore.id" to "x-maemo-system-sound" when
23 Fixes: NB#133767 (Information and confirmation note sound should
24 follow system profile setting)
26 2009-08-26 Alejandro G. Castro <alex@igalia.com>
28 * hildon/hildon-pannable-area.c,
29 (hildon_pannable_area_class_init): Added more force and increased
30 the max speed threshold.
32 Fixes: NB#135344 (Pannign needs to be faster)
34 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
36 [Release 2.1.96, this time for real]
39 * debian/changelog: updates
41 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
43 * hildon/hildon-pannable-area.c
44 (hildon_pannable_area_get_topmost): change the computation of the
45 co-ordinates transformed when no one of the children is a topmost
47 Fixes: NB#133252 (Opening any feed item from RSS always opens the
48 first feed item in browser)
50 2009-08-26 Alejandro G. Castro <alex@igalia.com>
52 * hildon/hildon-pannable-area.c,
53 (hildon_pannable_area_remove_timeouts): Adding this new function
54 with the code that removes the timeouts of the widget.
55 (hildon_pannable_area_dispose),
56 (hildon_pannable_area_unrealize): Use the new remove function to
57 stop timeouts when unrealizing and disposing.
58 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
59 calculation to avoid negative values in some cases.
61 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
63 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
65 * examples/hildon-check-button-example.c: (button_toggled_cb):
66 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
67 (hildon_check_button_set_active), (hildon_check_button_new),
68 (hildon_check_button_clicked), (hildon_check_button_class_init):
69 * hildon/hildon-check-button.h:
70 * hildon/hildon-set-password-dialog.c: (create_contents),
71 (hildon_set_password_response_change), (hildon_checkbox_toggled):
73 Revert "Make HildonCheckButton derive from GtkToggleButton"
75 2009-08-21 Alberto Garcia <agarcia@igalia.com>
79 * configure.ac: bump version
81 * debian/changelog: updates
83 2009-08-21 Alberto Garcia <agarcia@igalia.com>
85 * hildon/hildon-check-button.h
86 * hildon/hildon-check-button.c
87 (hildon_check_button_clicked, hildon_check_button_class_init):
88 Make HildonCheckButton derive from GtkToggleButton
89 (hildon_check_button_toggled, hildon_check_button_set_active)
90 (hildon_check_button_get_active):
91 Deprecate unnecessary HildonCheckButton API and use the
92 one from GtkToggleButton instead.
94 * hildon/hildon-set-password-dialog.c (create_contents)
95 (hildon_set_password_response_change, hildon_checkbox_toggled)
96 * examples/hildon-check-button-example.c (button_toggled_cb):
97 Update to use the GtkToggleButton API
99 Fixes: MB#4739 (HildonCheckButton should inherit from
102 Fixes: NB#132661 (HildonCheckButton should inherit from
105 2009-08-20 Alberto Garcia <agarcia@igalia.com>
107 * hildon/hildon-pannable-area.c
108 (hildon_pannable_area_class_init):
109 Increase default value of HildonPannableArea:velocity_max to 2000
111 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
113 2009-08-18 Alberto Garcia <agarcia@igalia.com>
117 * configure.ac: bump version
119 * debian/changelog: updates
121 2009-08-11 Alejandro G. Castro <alex@igalia.com>
123 * hildon/hildon-pannable-area.c
124 (hildon_pannable_area_size_allocate): Checked the scrollbars
125 before the first try when defining the layout, avoids two
126 allocations in some situations.
128 Fixes: NB#131794 (pannable area produces unnecessary allocations
129 causing performance problems)
131 2009-08-11 Alejandro G. Castro <alex@igalia.com>
133 * hildon/hildon-pannable-area.c
134 (hildon_pannable_area_button_press_cb),
135 (hildon_pannable_area_motion_notify_cb),
136 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
137 the spurious ref added in the copy, fixes leak of window.
139 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
140 if it's realized without showing and then deleted)
142 2009-08-10 Alberto Garcia <agarcia@igalia.com>
146 * configure.ac: bump version
148 * debian/changelog: updates
150 2009-08-06 Alberto Garcia <agarcia@igalia.com>
152 * examples/hildon-hvolumebar-timer-example.c
154 * hildon/hildon-banner.c
155 (hildon_banner_timeout, hildon_banner_ensure_timeout)
156 * hildon/hildon-calendar.c
157 (calendar_timer, start_spinning)
158 * hildon/hildon-color-chooser.c
159 (inline_limited_expose)
160 * hildon/hildon-date-editor.c
161 (hildon_date_editor_entry_focus_in)
162 (hildon_date_editor_entry_validate)
163 (hildon_date_editor_entry_select_all)
164 * hildon/hildon-note.c
166 * hildon/hildon-number-editor.c
167 (hildon_number_editor_button_pressed)
168 (hildon_number_editor_start_timer, do_mouse_timeout),
169 (add_select_all_idle, hildon_number_editor_select_all)
170 * hildon/hildon-time-editor.c
171 (hildon_time_editor_entry_focus_in)
172 (highlight_callback, hildon_time_editor_validate)
173 (hildon_time_editor_entry_select_all)
174 * hildon/hildon-time-picker.c
175 (hildon_time_picker_arrow_press)
176 (hildon_time_picker_key_repeat_timeout)
177 * hildon/hildon-window.c
178 (hildon_window_key_press_event)
179 (hildon_window_escape_timeout):
180 Replace all calls to g_idle_add/g_timeout_add with their
181 gdk_threads counterparts.
183 Fixes: NB#126198 (gdk-threads API should be used to install idle
184 and timeout handlers)
186 2009-08-06 Alejandro G. Castro <alex@igalia.com>
188 * hildon/hildon-pannable-area.c,
189 (hildon_pannable_area_class_init): Increased the overshooting max
190 speed to get a faster effect.
191 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
192 deceleration of the overshooting
193 (hildon_pannable_area_button_release_cb): Calculate initial
194 overshooting speed when finger on the screen using the distance to
195 launch the effect faster.
197 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
198 lists with slow row renderers)
200 2009-08-05 Alberto Garcia <agarcia@igalia.com>
202 * doc/hildon-sections.txt: Add new functions
204 2009-08-05 Alberto Garcia <agarcia@igalia.com>
206 * hildon/hildon-text-view.[ch]
207 * hildon/hildon-entry.[ch]:
208 Add deprecation guards around deprecated functions.
210 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
212 * hildon/hildon-app-menu.c: Remove leftover function declaration.
214 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
216 Remove the grab from HildonAppMenu
218 * hildon/hildon-app-menu.c:
219 Now hildon-desktop places a blocker window behind the menu to handle
220 its closing, so the grab is no longer needed. This simplifies its
221 implementation and allows the system blanking to succeed.
223 Fixes: NB#130910 (Screen gets unlocked when menu is open)
225 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
229 * configure.ac: bump version
231 * debian/changelog: updates
232 * debian/control: raise debian dependency on GTK+
234 2009-08-04 Alberto Garcia <agarcia@igalia.com>
236 * hildon/hildon-text-view.c
237 * hildon/hildon-entry.c:
238 Remove all placeholder code from HildonEntry and HildonTextView
239 and use the API in GtkEntry and GtkTextView instead.
241 * examples/hildon-entry-example.c
242 * examples/hildon-text-view-example.c
243 * examples/hildon-wizard-dialog-example.c
244 * hildon/hildon-get-password-dialog.c
245 * hildon/hildon-login-dialog.c
246 * hildon/hildon-picker-dialog.c
247 * hildon/hildon-set-password-dialog.c
248 * hildon/hildon-touch-selector-entry.c:
249 Replace all deprecated calls to HildonEntry and HildonTextView
250 with their Gtk counterparts.
252 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
255 2009-08-03 Alejandro G. Castro <alex@igalia.com>
257 * hildon/hildon-pannable-area.c,
258 (hildon_pannable_area_check_move),
259 (hildon_pannable_area_button_release_cb),
260 (hildon_pannable_area_scroll_to): Reverted the priority change of
261 the timeout, in some situations, slow renderers, the click do not
262 make it to the mainloop on time.
264 Fixes NB#131013 (unable to stop panning file manager by tapping on
267 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
269 * configure.ac: bump version
271 * debian/changelog: updates
273 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
275 * hildon/hildon-touch-selector.[ch]
276 (hildon_touch_selector_center_on_index): New method that allows to center
277 on a item not selected
279 Fixes NB#130291 (New HildonTouchSelector API is required to center on
282 2009-07-29 Alberto Garcia <agarcia@igalia.com>
284 * hildon/hildon-text-view.c
285 (+set_logical_color, +hildon_text_view_style_set)
286 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
287 (hildon_text_view_init)
288 * hildon/hildon-entry.c
289 (+set_logical_color, +hildon_entry_style_set)
290 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
291 (hildon_entry_class_init, hildon_entry_init)
292 * hildon/hildon-button.c
293 (+set_logical_font, +set_logical_color)
294 (hildon_button_style_set, hildon_button_init)
295 (hildon_button_set_arrangement, hildon_button_set_style):
296 Remove all calls to hildon_helper_set_logical_font() and
297 hildon_helper_set_logical_color(), which are recursive, from
300 Fixes: NB#123409 (Showing dialog consumes significant amount of
303 2009-07-29 Alejandro G. Castro <alex@igalia.com>
305 * hildon/hildon-pannable-area.c,
306 (hildon_pannable_area_timeout): Added the process updates of the
307 scrollbars window in the pannable.
309 Fixes: NB#130043 (scrollindicator not smooth while panning)
311 2009-07-23 Alejandro G. Castro <alex@igalia.com>
313 * hildon/hildon-pannable-area.c,
314 (hildon_pannable_area_check_move),
315 (hildon_pannable_area_button_release_cb),
316 (hildon_pannable_area_scroll_to): Increased the priority of the
317 timeout this way it is going to be handled before the events.
319 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
323 * configure.ac: bump version
324 * debian/changelog: updates
326 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
328 * hildon/hildon-entry.c: (set_property): Do not allow to set
329 automatic height and use finger height instead, to prevent an to
330 have a smaller size than than its theme pixbuf.
332 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
334 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
336 * configure.ac: postrelease version bump.
337 * debian/changelog: post release version bump
339 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
344 * configure.ac: Bump version.
345 * debian/changelog: Updates.
347 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
349 * hildon/hildon-note.c: (label_size_request): Take the note
350 padding into account when setting the size request.
352 Fixes: NB#127896 (Information notes text truncated)
354 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
356 * configure.ac: postrelease version bump.
357 * debian/changelog: post release version bump
359 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
364 * configure.ac: Bump version.
365 * debian/changelog: Updates.
367 2009-07-16 Alejandro G. Castro <alex@igalia.com>
370 * hildon/hildon-text-view.c,
371 (hildon_text_view_button_press_event): Grabbed the focus in button
372 press, this way we are sure the widget has the focus in the
373 release event, required for HIM.
375 Fixes: NB#121445 (Virtual keyboard opening is not working in same
376 way for each text entry field)
378 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
380 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
381 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
382 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
383 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
384 (hildon_pannable_area_[gs]et_center_on_child_focus)
385 Redefined GtkContainer set-focus-child signal, in order to center
386 properly on a child when it receives the focus. Defined a new property
387 "center-on-child-focus" in order to activate this feature (deactivated
388 by default). Public get/set methods defined to manage the property.
390 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
392 2009-07-14 László Pere <lpere@blumsoft.eu>
394 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
395 the new size is applied.
397 Fixes: NB#124510 (The Application Menu is distorted when switched
398 between portrait and landscape mode)
399 Fixes: NB#115388 (Power key menu does not resize itself)
401 2009-07-01 Alberto Garcia <agarcia@igalia.com>
403 * hildon/hildon-banner.c (hildon_banner_map):
404 Set banner position after mapping.
406 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
408 * configure.ac: postrelease version bump.
409 * debian/changelog: post release version bump
411 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
416 * configure.ac: Bump version.
417 * debian/changelog: Updates.
419 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
421 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
424 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
426 * tests/check-hildon-banner.c
428 * tests/test_suites.h
429 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
430 were testing deprecated functions.
431 * examples/hildon-banner-example.c: typo on button3 type, that causes
432 a fail compiling with --with-examples but without --disable-deprecated
434 Missed commit in order to fix compilation using '--enable-fatal' and
435 '--disable-deprecated' (see previous commit)
437 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
439 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
440 functions with #ifndef HILDON_DISABLE_DEPRECATED
441 * examples/hildon-find-toolbar.c: Protect deprecated
442 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
443 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
444 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
445 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
447 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
448 to allow proper compilation of deprecated functions defined on the header
450 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
452 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
454 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
455 Cache the panning indicator color.,
456 (hildon_pannable_area_style_set): Query the color on style changes.
457 (hildon_pannable_draw_vscroll),
458 (hildon_pannable_draw_hscroll),
459 (hildon_pannable_area_expose_event): Use the cached panning indicator
460 color instead of looking it up on every expose and more.
462 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
464 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
465 (hildon_pannable_draw_hscroll),
466 (hildon_pannable_area_expose_event): Fix the panning indicator color,
467 so that it's "SecondaryTextColor", as desired.
469 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
471 * hildon/hildon-picker-dialog.c:
472 (selection_completed): take into account HILDON_UI_MODE_NORMAL
473 * hildon/hildon-touch-selector.c
474 (hildon_touch_selector_init): Initialize hildon-ui-mode
475 (hildon_touch_selector_row_activated): new callback for the
476 "row-activated" signal, in order to save the last activated
477 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
478 if the current hildon-ui-mode is coherent with the touch selector
479 (hildon_touch_selector_class_init)
480 (hildon_touch_selector_get_property)
481 (hildon_touch_selector_set_property)
482 Added "hildon-ui-mode" property
483 (disconnect_model_handlers): renamed to clean_column
484 (hildon_touch_selector_remove): use clean_column function
485 (_create_new_column): use the hildon-ui-mode to create the treeview, and
486 only select the first element on HILDON_UI_MODE_EDIT
487 (hildon_touch_selector_column_init): Initialize last_activate
488 (hildon_touch_selector_append_column): check that the touch selector
489 is coherent with the current hildon-ui-mode
490 (hildon_touch_selector_get_hildon_ui_mode)
491 (hildon_touch_selector_set_hildon_ui_mode)
492 Added a getter/setter for the hildon-ui-mode property
493 (hildon_touch_selector_get_last_activated_row): Added this method in
494 order to get the last activated row.
495 * examples/hildon-touch-selector-normal-mode-example.c
496 New example, that shows how to use the HildonTouchSelector in
497 HILDON_UI_MODE_NORMAL
499 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
500 Kristian Rietveld <kris@lanedo.com> advices
502 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
504 * hildon/hildon-time-selector.c: (update_format_policy): Do
505 not call update_format_dependant_columns() if not necessary.
506 (update_format_dependant_columns): Remove unnecessary check for
507 the number of columns.
509 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
511 * hildon/hildon-note.c (+hildon_note_constructor),
512 (hildon_note_class_init), (+hildon_note_set_padding),
513 (hildon_note_rebuild): Install a constructor where to set the
514 padding properties in the note, so that it actually works fine.
515 Use hildon_note_set_padding() for this, and also to set it during
518 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
520 * configure.ac: Bump GTK+ requirement to 2.14.3.
521 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
522 when using maemo-gtk to define proper margins for the notes.
524 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
525 with the dialog edge)
527 2009-06-24 Alberto Garcia <agarcia@igalia.com>
529 * hildon/hildon-banner.c
530 (hildon_banner_class_init):
532 (+hildon_banner_size_request):
533 Request always the full width of the screen.
534 (hildon_banner_realize)
535 (-hildon_banner_check_position, hildon_banner_map):
536 hildon_banner_check_position() is not needed in Hildon 2.2.
537 (-hildon_banner_reset_wrap_state)
538 (hildon_banner_constructor, hildon_banner_init):
539 Remove unnecessary calls to hildon_banner_reset_wrap_state()
540 (+banner_do_set_text)
541 (force_to_wrap_truncated):
542 Remove has_been_wrapped and has_been_truncated attributes.
543 (+reshow_banner, hildon_banner_real_show_information)
544 (hildon_banner_show_information_with_markup)
545 (hildon_banner_show_animation, hildon_banner_show_progress)
546 (hildon_banner_set_text, hildon_banner_set_markup):
547 Refactor code. Shrink banner vertically to use the minimum space
548 necessary everytime the text of the label is updated.
549 (screen_size_changed):
550 Call force_to_wrap_truncated() when the size of the screen
553 Fixes: NB#120500 (only device memory connect mmc in use info
554 banner is left aligned)
556 Fixes: NB#120613 (Size of HildonBanner varies depending on
557 previously opened banners)
559 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
561 * hildon/hildon-color-chooser.c
562 (hildon_color_chooser_pointer_motion): Take the widget allocation
565 Fixes: NB#124385 (Unable to select exact point in color mixing box
566 in color palette dialog)
568 2009-06-23 Alejandro G. Castro <alex@igalia.com>
570 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
571 (hildon_pannable_area_dispose)
572 (hildon_pannable_area_button_press_cb)
573 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
574 (hildon_pannable_area_button_release_cb)
575 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
576 New 'panning-started' and 'panning-finished' signals.
578 Fixes: NB#121732 (New feature request: Signal to pannable area
579 that informs when panning is stopped.)
581 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
583 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
584 instead of hardcoded colon.
586 Fixes: NB#124090 (New calendar wizard title is not using
587 ecdg_ti_caption_separator)
589 2009-06-22 David King <davidk@openismus.com>
591 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
592 constants and functions, as well as correct many typos throughout the
595 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
598 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
600 * configure.ac: postrelease version bump.
601 * debian/changelog: post release version bump
603 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
608 * configure.ac: Bump version.
609 * debian/changelog: Updates.
611 2009-06-18 Alberto Garcia <agarcia@igalia.com>
613 * hildon/hildon-window-stack.c
614 (hildon_window_stack_pop_and_push_list):
615 Prevent windows from having the same stack index
617 2009-06-18 Alberto Garcia <agarcia@igalia.com>
619 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
620 Use the index of the previous window rather than the stack length
621 to calculate the new index.
625 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
627 * hildon/hildon-date-selector.c
628 (hildon_date_selector_select_current_date)
629 (hildon_date_selector_get_date)
630 (hildon_date_selector_select_day):
631 Update the documentation: uses always the range (1-31), as it is obvious
632 that the final one will depend on the month and the year, but globally
633 the range is this, in a similar GtkCalendar approach
634 (hildon_date_selector_get_date):
635 Update the documentation: add NULL as a valid value for the day, month
638 Fix some details, after talk with David King on bug MB#4698
640 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
642 * hildon/hildon-touch-selector-entry.c
643 * hildon/hildon-touch-selector.c
644 Update the documentation of the "text-column" property
646 2009-06-18 David King <davidk@openismus.com>
648 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
649 several typos and errors throughout the documentation.
651 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
654 2009-06-18 Alberto Garcia <agarcia@igalia.com>
656 * hildon/hildon-note.c (hildon_note_realize):
657 Make HildonNote support portrait mode.
659 Fixes: NB#123448 (HildonNote is not portrait-friendly)
661 2009-06-17 Alberto Garcia <agarcia@igalia.com>
663 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
664 Document this function
666 2009-06-17 David King <davidk@openismus.com>
668 * hildon/hildon-date-selector.c
669 (hildon_date_selector_select_current_date)
670 (hildon_date_selector_get_date): Update documentation regarding days,
671 as the day of the month is dependent on both the month and the year.
672 (hildon_date_selector_get_date): Fix documentation of output arguments.
674 Fixes: MB#4698 (DateSelector documentation has bad output argument
675 description, and the day depends on both the month and the year)
677 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
679 * hildon/hildon-caption.c: Other documentation fixes to
682 2009-06-17 David King <davidk@openismus.com>
684 * hildon/hildon-caption.c: Minor documentation updates for
685 HildonCaption. Fixes MB#4697.
687 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
689 * doc/hildon-docs.sgml: Add hildon-version section.
690 * doc/hildon-sections.txt:
691 * hildon/hildon-version.h.in: Document versioning macros and
694 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
696 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
697 from HildonPickerDialog section.
699 2009-06-16 Alberto Garcia <agarcia@igalia.com>
701 * hildon/hildon-banner.c (hildon_banner_bind_style)
702 (screen_size_changed, hildon_banner_init)
703 (hildon_banner_real_show_information)
704 (hildon_banner_show_information_with_markup)
705 (hildon_banner_show_animation, hildon_banner_show_progress):
706 Set a different widget name to banners in portrait mode, for them
707 to be themed correctly.
709 2009-06-16 Alberto Garcia <agarcia@igalia.com>
711 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
712 Set a different widget name to notes in portrait mode, for them to
715 Partially fixes: NB#118401 (HildonNote causes unnecessary
718 2009-06-16 Alberto Garcia <agarcia@igalia.com>
720 * hildon/hildon-note.c (hildon_note_class_init)
721 (+hildon_note_size_request, screen_size_changed):
722 Always request the full width of the screen.
724 Fixes: NB#118375 (unnecessary rescaling of images)
726 2009-06-16 Alejandro G. Castro <alex@igalia.com>
728 * hildon/hildon-pannable-area.c,
729 (hildon_pannable_area_init),
730 (hildon_pannable_area_realize): Replaced old code adding flags in
731 the object init, now we add it with the other flags in the realize
734 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
736 * hildon/hildon-note.c: (hildon_note_class_init): Several
737 documentation improvements to the HildonNote widget.
739 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
741 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
743 Fixes: MB#4556 (HildonNoteType is undocumented)
745 2009-06-15 Alberto Garcia <agarcia@igalia.com>
747 * hildon/hildon-picker-button.c:
748 Explain how HildonPickerButton sets the title of its dialog
750 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
751 the title of its dialog)
753 2009-06-15 Alberto Garcia <agarcia@igalia.com>
755 * hildon/hildon-check-button.c:
756 Documentation updates
758 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
761 2009-06-15 Alberto Garcia <agarcia@igalia.com>
764 * hildon/hildon-edit-toolbar-private.h
765 * hildon/hildon-edit-toolbar.c
766 (+hildon_edit_toolbar_set_progress_indicator)
767 (hildon_edit_toolbar_init): Add progress indicator to the
770 * hildon/hildon-gtk.c
771 (hildon_gtk_window_set_progress_indicator):
772 If the window contains a HildonEditToolbar, enable the progress
775 * hildon/hildon-private.h
776 * hildon/hildon-private.c
777 (+hildon_private_create_animation)
778 * hildon/hildon-banner.c
779 (-hildon_banner_create_animation):
780 Moved to hildon-private.c
782 Fixes: NB#102373 (Progress indicator also for the Edit mode
785 2009-06-15 Alberto Garcia <agarcia@igalia.com>
787 * hildon/hildon-app-menu-private.h
788 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
789 (hildon_app_menu_add_filter, +menu_item_button_event)
790 (hildon_app_menu_button_release, hildon_app_menu_init):
791 Make sure that buttons receive 'button-release-event' in spite of
792 the grab held by HildonAppMenu
794 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
796 2009-06-15 Alberto Garcia <agarcia@igalia.com>
798 * hildon/hildon-app-menu.c
799 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
800 New style property to set the size of the group of filter buttons.
802 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
804 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
809 * configure.ac: Bump version.
810 * debian/changelog: Updates.
812 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
814 * hildon/hildon-main.c: Minor documentation fixes.
816 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
818 * doc/hildon-sections.txt:
819 * hildon/hildon-defines.h: Document the defines, organize them,
820 and mark deprecations as such.
822 Fixes: MB#4463 (Hildon size #defines are undocumented)
824 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
826 * hildon/hildon-animation-actor.c:
827 * hildon/hildon-app-menu.c:
828 * hildon/hildon-button.c:
829 * hildon/hildon-date-editor.c:
830 * hildon/hildon-dialog.c:
831 * hildon/hildon-edit-toolbar.c:
832 * hildon/hildon-entry.c:
833 * hildon/hildon-program.c:
834 * hildon/hildon-remote-texture.c:
835 * hildon/hildon-stackable-window.c:
836 * hildon/hildon-text-view.c:
837 * hildon/hildon-touch-selector.c:
838 * hildon/hildon-window-stack.c:
839 * hildon/hildon-window.c:
841 Remove redundant "represents" wording from most of the documentation.
843 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
845 2009-06-12 Alberto Garcia <agarcia@igalia.com>
850 * hildon/hildon-banner-private.h
851 * hildon/hildon-banner.c:
852 Move HildonBannerPrivate to hildon-banner.c and remove
853 hildon-banner-private.h
854 Use a bit field to store private booleans.
856 2009-06-12 Alberto Garcia <agarcia@igalia.com>
858 * hildon/hildon-app-menu.c (hildon_app_menu_map):
859 Don't install a new idle function if there's already one
864 2009-06-11 Alberto Garcia <agarcia@igalia.com>
866 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
867 (+legacy_menu_realized, +legacy_menu_unmapped)
868 (+set_legacy_menu_type):
869 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
870 they can be identified by the window manager.
872 Fixes: NB#101437 (Invoking CSM on the left side of page area is
873 displayed in wrong location)
875 Fixes: MB#4563 (Popup menu won't locate at the left side of the
878 2009-06-11 Alberto Garcia <agarcia@igalia.com>
880 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
882 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
885 2009-06-11 Alberto Garcia <agarcia@igalia.com>
887 * hildon/hildon-code-dialog.c
888 * hildon/hildon-date-editor.c
889 * hildon/hildon-number-editor.c
890 * hildon/hildon-seekbar.c
891 * hildon/hildon-stackable-window.c
892 * hildon/hildon-window.c:
893 Misc documentation updates
895 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
897 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
898 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
900 Fixes: NB#117931 (Theming issues in accounts dialogs)
902 2009-06-09 Alejandro G. Castro <alex@igalia.com>
904 * hildon/hildon-pannable-area.c,
905 (hildon_pannable_area_button_release_cb): Changed the coordinates
906 of the original release in case we want to discard the release,
907 some widgets in Fremantle do not handle the leave-notify.
909 2009-06-09 Alejandro G. Castro <alex@igalia.com>
911 * hildon/hildon-pannable-area.c,
912 (hildon_pannable_area_button_release_cb): Reviewed the logic of
913 the release using the last refactored functions and avoiding the
914 movement if an element was selected.
916 2009-06-09 Alejandro G. Castro <alex@igalia.com>
918 * hildon/hildon-pannable-area.c,
919 (hildon_pannable_area_check_move),
920 (hildon_pannable_area_handle_move),
921 (hildon_pannable_area_motion_notify_cb): Refactored the
922 motion_notify method using a couple of new functions.
924 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
926 * hildon/hildon-date-selector.c:
927 (hildon_date_selector_construct_ui):
928 * hildon/hildon-time-selector.c:
929 (hildon_time_selector_constructor):
930 * hildon/hildon-touch-selector-entry.c:
931 (hildon_touch_selector_entry_set_text_column),
932 (hildon_touch_selector_entry_get_text_column):
933 * hildon/hildon-touch-selector.c: (_default_print_func),
934 (hildon_touch_selector_new_text): Use
935 hildon_touch_selector_set/get_text_column() instead of
936 setting/getting the "text-column" property.
938 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
940 * doc/hildon-sections.txt: Add the new public methods below.
942 * examples/hildon-picker-button-multicolumn-example.c:
943 (create_touch_selector):
944 * examples/hildon-touch-selector-example.c: (create_selector):
945 * examples/hildon-touch-selector-multi-cells-example.c:
947 Use hildon_touch_selector_column_set_text_column()
949 * hildon/hildon-touch-selector-column.h:
950 * hildon/hildon-touch-selector.c:
951 (hildon_touch_selector_column_set_text_column),
952 (hildon_touch_selector_column_get_text_column):
953 Make hildon_touch_selector_column_set/get_column() public, use
954 them in the inline example, document them, and reference to them
957 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
959 * hildon/hildon-time-selector.c: Fix the docs for
960 hildon_time_selector_new_step().
962 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
964 * hildon/hildon-touch-selector.c: Improve the documentation for
965 hildon_touch_selector_append_column().
967 Fixes MB#4641 (Documentation:
968 hildon_touch_selector_append_column() ref-counting)
970 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
972 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
973 Comment out test 5, since the hildon_controlbar_set_range() range
974 check is broken and fixing it would have side effects. Also,
975 this finally fixes make distcheck.
977 Fixes: NB#101420 (Update unit tests and fix make distcheck)
979 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
981 * tests/TEST-CASES.txt: Remove other bogus test.
982 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
983 Remove bogus test that was setting/retrieving a valid value.
985 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
987 * tests/TEST-CASES.txt: Remove bogus tests.
988 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
989 Remove three bogus tests that were actually setting valid colors.
991 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
993 * configure.ac: post release version bump
994 * debian/changelog: post release version bump
996 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1001 * configure.ac: Bump version.
1002 * debian/changelog: Updates.
1004 2009-06-08 Christian Dywan <christian@lanedo.com>
1008 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1009 Correct errors in hildon_format_file-size_for_display and use
1010 translations from the hildon-fm package instead of osso-filemanager.
1012 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1014 * hildon/hildon-pannable-area.c,
1015 (hildon_pannable_area_init): Initialized new values to handle the
1016 adjustment position.
1017 (hildon_pannable_area_adjust_value_changed): Check if the values
1018 changed before even call the redraw function.
1019 (hildon_pannable_area_size_allocate),
1020 (hildon_pannable_axis_scroll),
1021 (hildon_pannable_area_scroll),
1022 (hildon_pannable_area_jump_to): Improved the diagonal movement
1025 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1028 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1030 * examples/hildon-banner-example.c:
1031 Several style updates
1032 (on_animation_clicked, on_animation_idle)
1033 (on_progress_clicked, on_progress_idle):
1034 Add additional reference for the cases when the parent window is
1037 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1039 * doc/hildon-sections.txt
1040 * hildon/hildon-pannable-area.c
1041 * hildon/hildon-banner.h
1042 * hildon/hildon-banner.c: Documentation updates.
1044 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1047 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1049 * hildon/hildon-calendar-popup.h:
1050 * hildon/hildon-caption.h:
1051 * hildon/hildon-code-dialog.h:
1052 * hildon/hildon-controlbar.h:
1053 * hildon/hildon-date-editor.h:
1054 * hildon/hildon-dialog.h:
1055 * hildon/hildon-get-password-dialog.h:
1056 * hildon/hildon-hvolumebar.h:
1057 * hildon/hildon-login-dialog.h:
1058 * hildon/hildon-note.h:
1059 * hildon/hildon-number-editor.h:
1060 * hildon/hildon-range-editor.h:
1061 * hildon/hildon-seekbar.h:
1062 * hildon/hildon-set-password-dialog.h:
1063 * hildon/hildon-sort-dialog.h:
1064 * hildon/hildon-time-editor.h:
1065 * hildon/hildon-time-picker.h:
1066 * hildon/hildon-volumebar-range.h:
1067 * hildon/hildon-volumebar.h:
1068 * hildon/hildon-vvolumebar.h:
1069 * hildon/hildon-weekday-picker.h:
1070 * hildon/hildon-window.h:
1071 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1072 macros with the current replacements
1074 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1076 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1078 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1079 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1080 itself, to make it fit better with Fremantle style.
1082 Fixes: NB#109878 (height and width of focus on color icon is not
1083 consistent with other item in the application tool bar)
1085 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1087 * hildon/hildon-touch-selector.c:
1088 (hildon_touch_selector_optimal_size_request): use the current requisition
1089 as the base, in order to include any possible extra widget, like the
1090 hildon entry on HildonTouchSelectorEntry
1092 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1094 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1096 * configure.ac: post release version bump
1097 * debian/changelog: post release version bump
1099 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1104 * configure.ac: Bump version.
1105 * debian/changelog: Updates.
1107 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1109 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1111 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1112 to ensure the banner contents are centered, instead of relying on
1113 the expand and fill properties in GtkHBox.
1114 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1116 Fixes: NB#108265 (Animation banner not properly centered)
1118 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1120 * hildon/hildon-pannable-area.c
1121 (hildon_pannable_area_initial_effect): Remove the initial_effect
1122 management, check initial_hint
1123 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1124 set initial_effect to FALSE
1125 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1126 by launching the fade_timeout if the scrollbars state has changed and are
1128 * examples/hildon-pannable-area-initial-hint-example.c
1129 Modified to allow to remove rows too. Add and remove rows one by one.
1131 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1133 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1134 Don't close the menu if there's an animation actor below it.
1136 Fixes: NB#117927 (Application menu not usable with animation
1139 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1141 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1142 "focus-on-click" from the dialog button, to avoid stealing the
1143 focus from the entry.
1145 Fixes: NB#118903 (Account setup wizard: Text in Search field
1146 should be focused when "Region" touch list picker is reopened
1149 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1151 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1152 (prepare_action_area): Completely hide the dialog separator.
1154 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1156 * hildon/hildon-touch-selector-entry.c
1157 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1158 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1159 now that the entry is exposed.
1161 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1163 * hildon/hildon-touch-selector-entry.c
1164 (hildon_touch_selector_entry_init): Change the entry's size
1165 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1167 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1169 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1170 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1171 avoid unnecessary scaling.
1173 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1175 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1176 Create grab transfer window before calling parent's map function.
1178 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1179 "crushed" button(s) in the top left corner)
1181 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1183 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1184 Check if the window is already realized when pushing it.
1186 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1188 * configure.ac: post release version bump
1189 * debian/changelog: post release version bump
1191 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1196 * configure.ac: Bump version.
1197 * debian/changelog: Updates.
1199 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1201 * hildon/hildon-app-menu.c: Doc updates.
1203 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1205 * hildon/hildon-banner.c: Remove leftover macro.
1207 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1209 * hildon/hildon-pannable-area.c,
1210 (hildon_pannable_area_scroll_indicator_fade),
1211 (hildon_pannable_area_button_release_cb): Reviewed vmin
1212 conditions, it could cause problems in the fadeout procedure.
1214 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1216 * hildon/hildon-pannable-area.c
1217 (hildon_pannable_area_button_release_cb): Added a threshold to
1218 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1220 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1222 * hildon/hildon-pannable-area.c,
1223 (hildon_pannable_area_set_property): Added code to sync the gtk
1224 dnd threshold with the panning threshold.
1226 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1228 * hildon/hildon-pannable-area.c,
1229 (hildon_pannable_area_class_init): Changed some of the default
1230 values, now it should be less responsive and more accurate.
1232 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1234 * hildon/hildon-pannable-area.c,
1235 (hildon_pannable_area_init),
1236 (hildon_pannable_area_scroll_indicator_fade),
1237 (hildon_pannable_area_button_press_cb),
1238 (hildon_pannable_axis_scroll),
1239 (hildon_pannable_area_timeout),
1240 (hildon_pannable_area_motion_notify_cb),
1241 (hildon_pannable_area_button_release_cb): Changed the name of the
1242 clicked attribute to button_pressed, it is more clear about its use.
1244 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1246 * src/hildon-pannable-area.c
1247 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1249 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1250 vertical scrollbar visibility, and use the data on private section instead,
1251 remove the initial_hint check
1252 (hildon_pannable_area_expose_event): add the initial_hint check here
1254 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1256 * src/hildon-pannable-area.c
1257 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1258 if the fadeout effect was used
1259 (hildon_pannable_area_expose_event): check if it is required to
1260 manage the initial effect on the begining of the function. Previously
1261 it was made at the end, but this doesn't ensure that the scrollbars
1262 will be painted on the first show. Do not set to FALSE initial_effect,
1263 to ensure that the initial hint is showed the first time the pannable
1265 * examples/Makefile.am
1266 * examples/hildon-pannable-area-initial-hint-example.c:
1267 New example, to show that the initial-hint is showed when the widget
1270 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1271 initially if the application can be scrolled)
1273 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1275 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1276 Resize table before adding new items to make sure that
1277 gtk_table_resize() is called just once.
1279 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1281 * hildon/hildon-app-menu-private.h
1282 * hildon/hildon-app-menu.c (item_visibility_changed)
1283 (filter_visibility_changed, hildon_app_menu_show_all)
1284 (hildon_app_menu_hide_all, hildon_app_menu_init):
1285 Rearrange items just once when gtk_widget_show_all()/hide_all()
1288 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1290 * hildon/hildon-app-menu.c
1291 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1292 Don't call gtk_widget_show() on added items.
1294 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1295 automatically when they're added)
1297 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1299 * hildon/hildon-banner.c
1300 (hildon_banner_realize, +hildon_banner_unrealize)
1301 (+screen_size_changed, hildon_banner_class_init):
1302 Redisplay the banner if the screen is rotated.
1304 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1305 on transition from landscape to portrait)
1307 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1309 * hildon/hildon-banner.[ch]:
1310 (hildon_banner_show_information_override_dnd): remove icon_name from the
1311 method definition as it is ignored.
1312 * examples/hildon-banner-dnd-example.c: updated with the change on
1315 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1317 * hildon/hildon-banner-private.h: new require_override_dnd and
1318 overrides_dnd variables
1319 * hildon/hildon-banner.h:
1320 (hildon_banner_show_information_override_dnd): new method, that shows
1321 the information but sets the override flag, in order to show important
1323 * hildon/hildon-banner.c
1324 (hildon_banner_show_information_override_dnd): new method
1325 (hildon_banner_set_override_flag): new utility function
1326 (hildon_banner_real_show_information): new utility function, in order to
1327 generalize the current hildon_banner_show_information_override_dnd and
1328 hildon_banner_show_information_override_dnd
1329 * examples/Makefile.am
1330 * examples/hildon-banner-dnd-example.c: New example that show how to
1331 use the new hildon_banner_show_information_override_dnd
1333 Fixes: NB#114874 (There is no possibility to show hildon banners with
1336 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1338 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1339 behind hildon_pannable_calculate_vel_factor().
1341 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1343 * hildon/hildon-pannable-area.c
1344 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1345 deceleration factors.
1347 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1349 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1350 Reduce the default value for 'scroll_time' to 1 second, since the
1351 current initial scrolling takes too much time.
1353 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1355 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1356 calculate velocity factor during initialization, since the properties
1359 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1361 * hildon/hildon-pannable-area.c
1362 (hildon_pannable_area_set_property): Calculate the velocity factor
1363 after setting the deceleration property and not after.
1365 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1367 * hildon/hildon-entry.c
1368 (hildon_entry_class_init, +set_property, hildon_entry_new)
1369 * hildon/hildon-check-button.c
1370 (hildon_check_button_class_init)
1371 (+set_property, hildon_check_button_new):
1372 Make the theme size a property.
1374 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1375 others) do too much in the _new function)
1377 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1379 * configure.ac: post release version bump
1380 * debian/changelog: post release version bump
1382 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1387 * configure.ac: Bump version.
1388 * debian/changelog: Updates.
1390 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1392 * hildon/hildon-gtk.h
1393 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1394 New API function to take a screenshot of a window
1396 Fixes: NB#106374 (Need API to take a loading screenshot)
1398 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1400 * hildon/hildon-time-selector.c
1401 (update_format_policy): prevent to use hours and minutes unitialized
1403 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1405 * hildon/hildon-window.c (hildon_window_size_request):
1406 Always request the full size of the screen (minus the title bar if
1407 not in fullscreen mode).
1409 Fixes: NB#107486 (HildonWindow should size itself properly)
1411 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1413 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1414 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1415 (on_show_cb), (sound_handling): Disconnect the idle handler for
1416 the sound when the note is finalized to avoid possible crashes.
1418 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1421 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1423 * src/hildon-animation-actor.c,
1424 * src/hildon-remote-texture.c:
1425 Added proper object cleanup to remove signal handler and object
1426 references as HildonAnimationActor and HildonRemoteTexture
1427 objects get destroyed.
1429 Fixes: NB#116682 (Destroying parented animation actors when
1430 parent in unmapped leads to crash)
1432 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1434 Based on a patch by Christian Dywan (christian@imendio.com)
1436 * doc/hildon-sections.txt:
1437 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1438 * hildon/hildon-helper.h: New file size formatting method.
1440 * debian/control: Depend on osso-filemanager l10n package for
1441 proper localization strings.
1443 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1445 * tests/Makefile.am: Include top_srcdir to make possible to build
1446 tests in a different builddir.
1447 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1448 on a different builddir.
1450 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1453 (hildon_touch_selector_remove): Disconnect model's signal handler
1456 Fixes: NB#116289 (Hildon home crashes while adding task
1459 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1461 * hildon/hildon-button.c
1462 (hildon_button_set_title, hildon_button_set_value):
1463 Hide labels containing an empty string.
1465 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1467 * configure.ac: post release version bump
1468 * debian/changelog: post release version bump
1470 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1475 * configure.ac: Bump version.
1476 * debian/changelog: Updates.
1478 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1480 * hildon/hildon-note-private.h: Removed sound_signal_handler
1481 * hildon/hildon-note.c
1482 (on_show_cb): new callback on note "show" event, this simply adds
1483 a idle, with the function sound_handling
1484 (sound_handling): removed the sound_signal_handler management
1485 (hildon_note_init): connect note "show" event to on_show_cb
1486 (hildon_note_realize): remove the connection to "expose-event"
1488 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1489 device?' confirmation note)
1491 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1493 * hildon/hildon-note.c
1494 (hildon_note_new_information_with_icon_name)
1495 (hildon_note_new_confirmation_with_icon_name):
1496 Terminate the list of parameters in g_object_set() calls
1498 Fixes: NB#115166 (Formatting memory card is not taking place)
1500 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1502 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1503 "dialog-information" role for the sound being played.
1505 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1507 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1508 Don't make the menu a modal window, it causes strange interactions
1509 with the pointer grab and it's not really needed.
1511 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1513 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1515 * hildon/hildon-touch-selector.[ch]
1516 (hildon_touch_selector_optimal_size_request): function added to get a
1517 optimal size request from the touch selector, when you want a dialog to
1518 show as much of the selector
1519 * hildon/hildon-picker-dialog.c:
1520 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1521 (hildon_app_menu_class_init):
1522 New "max-height-landscape" and "max-height-portrait" style properties
1523 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1524 (hildon_picker_dialog_get_max_height): returns the maximum height using
1525 the style properties defined and checking the current portrait/landscape
1527 (_hildon_picker_dialog_set_selector): removed the set_size_request
1529 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1531 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1533 * hildon/hildon-bread-crumb-trail.c:
1534 * hildon/hildon-bread-crumb.c:
1535 * hildon/hildon-seekbar.c:
1536 Add reference to replacements for these deprecated widgets.
1538 Fixes: MB#4461 (Documentation: All deprecations should mention
1541 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1543 * examples/hildon-remote-texture-example.c
1545 Change the include to the hildon-remote-texture in order to compile
1546 properly the examples on the installed libhildon1-examples package
1548 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1550 * tests/Makefile.am: Add check for HildonPickerButton.
1551 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1552 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1553 checks for the HildonPickerButton.
1554 * tests/check_test.c (configure_tests): Add the test suite.
1555 * tests/test_suites.h: likewise.
1557 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1559 * hildon/hildon-touch-selector.c
1560 (+on_row_changed): Emit HildonTouchSelector:changed when the
1561 contents of a selected row change.
1562 (_create_new_column), (_hildon_touch_selector_set_model): connect
1563 to GtkTreeModel:row-changed on a newly set model.
1565 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1567 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1569 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1571 * hildon/hildon-banner.c (hildon_banner_destroy)
1572 (hildon_banner_show_progress, hildon_banner_set_fraction):
1573 Remove the progress bar from HildonBanner and use a progress
1576 Fixes: NB#113761 (Update progress banner to use progress
1579 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1581 * hildon/hildon-banner.c:
1582 Calculate size of the banner label using the actual screen width
1583 rather than using a fixed value.
1585 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1588 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1590 * hildon/hildon-pannable-area.c,
1591 (hildon_pannable_area_class_init): Fixed signals documentation
1594 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1596 * configure.ac: post release version bump
1597 * debian/changelog: post release version bump
1599 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1604 * configure.ac: Bump version.
1605 * debian/changelog: Updates.
1607 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1609 * hildon/hildon-edit-toolbar.c
1610 (hildon_edit_toolbar_init):
1611 Don't let buttons in HildonEditToolbar receive focus.
1613 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1614 typing on an HW arrows key)
1616 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1618 * doc/Makefile.am: Fix build.
1620 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1622 * doc/Makefile.am: Do not redefine content_files.
1624 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1632 Renamed src/ to hildon/
1637 Include <hildon/hildon.h> directly in all examples.
1639 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1641 * src/hildon-sort-dialog.c
1642 (hildon_sort_dialog_add_sort_key_with_sorting)
1646 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1648 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1649 make distcheck passes.
1651 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1653 * Makefile.am: Enable gtk-doc during distcheck.
1655 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1657 * Makefile.am: Do not distribute the debian/ directory.
1659 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1661 * doc/Makefile.am: Add the extra SGML files to content_files,
1662 so that they are distributed properly.
1664 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1666 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1669 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1671 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1672 (hildon_note_new_information_with_icon_name): Set the "icon" property
1673 to preserve soundness.
1675 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/hildon-font-selection-dialog.c
1678 (hildon_font_selection_dialog_set_property): Fail when the "family"
1679 property is set to NULL.
1681 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1686 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1688 * src/hildon-time-selector.h:
1689 Added HildonTimeSelectorFormatPolicy
1690 * src/hildon-time-selector.c:
1691 Added PROP_TIME_FORMAT_POLICY
1692 (_check_ampm_format): renamed to check_automatic_ampm_format
1693 (update_format_policy), (update_format_dependant_columns): new functions
1694 (hildon_time_selector_class_init)
1695 (hildon_time_selector_contructor)
1696 (hildon_time_selector_init)
1697 (hildon_time_selector_get_property)
1698 (hildon_time_selector_set_property)
1699 (hildon_time_selector_get_time)
1700 (hildon_time_selector_set_time)
1701 * src/hildon-touch-selector.h: new file
1702 * src/hildon-touch-selector.c
1703 (hildon_touch_selector_emit_changed)
1704 (hildon_touch_selector_block_changed)
1705 (hildon_touch_selector_unblock_changed)
1706 Added functions to allow to block the emission of the "changed" signal
1707 * src/hildon-picker-dialog.c
1708 (hildon_picker_dialog_show): call the parent show before the custom code
1709 * examples/hildon-time-button-example.c
1710 Modified, so now you can configure the time format using the new property
1712 Added a new property "time-format-policy" that allow to choose the time
1713 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1714 case it uses gconf in order to check if the time selector must use
1717 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1720 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1722 * src/hildon-note.c (hildon_note_init):
1723 Label in HildonNote must be left aligned, not centered. This
1724 reverts the last commit in HildonNote.
1726 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1727 is connectivity dialog)
1729 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1734 * doc/hildon-sections.txt:
1735 Added hildon_gtk_window_set_do_not_disturb()
1737 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1739 * src/hildon-note.c (hildon_note_init): Center label.
1741 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1744 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1749 * configure.ac: Bump version.
1750 * debian/changelog: Updates.
1752 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1754 * src/hildon-note-private.h: Add button-width to the private data.
1755 * src/hildon-note.c (+resize_button),
1756 (+hildon_note_orientation_update): methods to repack widgets on orientation
1758 (screen_size_changed): Call above method for confirmation notes.
1759 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1760 (hildon_note_rebuild): Store the original width request from buttons.
1762 Fixes: NB#109635 (Confirmation notes do not support portrait)
1764 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1767 when it is a progress note.
1769 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1772 in the note, since there are no horizontally arranged contents.
1774 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-gtk.c (+set_flag): new generic method to
1777 set/delay a flag setting in a window.
1778 (hildon_gtk_window_set_progress_indicator):
1779 (hildon_gtk_window_set_do_not_disturb),
1780 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1781 avoid code redundance.
1783 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1785 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1787 * src/hildon-gtk.c (set_clear_window_flag),
1788 (do_set_progress_indicator), (do_set_do_not_disturb),
1789 (do_set_portrait_flags),
1790 (hildon_gtk_window_set_progress_indicator),
1791 (hildon_gtk_window_set_do_not_disturb),
1792 (hildon_gtk_window_set_portrait_flags):
1793 Allow setting dnd-flag, progress indicator, and portrait flags
1794 when the window is not realized.
1796 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1798 * src/hildon-pannable-area.c,
1799 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1800 the size request policy function and defines.
1802 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1804 * doc/hildon-sections.txt: Add the new API.
1805 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1806 method to set the portrait flags.
1807 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1809 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1811 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1813 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1814 to allow using this method with other flags.
1815 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1816 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1818 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-touch-selector.c
1821 (hildon_touch_selector_append_text_column):
1822 Make the cell renderer use the smallest width possible.
1824 Fixes: NB#108470 (Selected items in multiple selection are either
1825 having a tick that is cut or not visible at all.)
1827 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1829 * src/hildon-touch-selector.c
1830 (hildon_touch_selector_append_text_column):
1833 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1836 Use g_strdup_printf() instead of a fixed size buffer.
1838 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1841 Close banners when a HildonAppMenu is popped up.
1843 Fixes: NB#111027 (Title menu closed immediately if activated when
1844 "Invalid e-mail address" banner is shown)
1846 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1851 * configure.ac: Bump version.
1852 * debian/changelog: Updates.
1854 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-banner.c (hildon_banner_realize):
1857 Mark HildonBanner as supporting portrait mode.
1858 Use GDK to set window properties insetad of direct Xlib calls.
1860 Fixes: NB#111830 (HildonBanner should be marked as supporting
1863 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1865 * src/hildon-note.c (hildon_note_rebuild):
1866 Hide action area in information notes. Prevents text from being
1867 slightly aligned to the left.
1869 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1872 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1874 Patch by Mox Soini (ext-mox.soini@nokia.com)
1876 * src/hildon-banner.c (hildon_banner_create_animation):
1877 Use stylus-sized icons in animation banner.
1879 Fixes: NB#111206 (stylus sized icon for animation banner)
1881 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1885 (+hildon_gtk_window_set_do_not_disturb):
1886 New API to set the do-not-disturb flag.
1888 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1890 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1892 * examples/hildon-progress-indicator-example.c: Fix example
1894 * src/hildon-gtk.c (set_clear_window_flag)
1895 (hildon_gtk_window_set_progress_indicator):
1896 Create a generic function for setting flags to a window.
1897 Use GDK instead of direct Xlib calls.
1899 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1901 * src/hildon-button.c (hildon_button_set_arrangement):
1902 Due to NB#88126, if one of the labels is too long it will be
1903 painted outside the button. The 'value' label is more likely to be
1904 the longest one, so we change its packing options in order to
1905 truncate it if necessary. As a side effect, the 'title' label will
1906 no longer be truncated.
1908 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1910 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1915 * configure.ac: Bump version.
1916 * debian/changelog: Updates.
1918 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1920 Deprecation of the hildon_pannable_area_set_size_request_policy
1921 API, the only policy properly supported in gtk+ nowadays is the
1924 * src/hildon-pannable-area.c,
1925 (hildon_pannable_area_size_request): Added a workaround for the
1926 size_request to avoid the problems of huge pixmaps in case someone
1927 is still using the function.
1928 * src/hildon-pannable-area.h: Deprecated the enum with the
1931 Fixes: NB#110244 (Problems with the
1932 hildon_pannable_area_set_size_request_policy API)
1934 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1936 * src/hildon-pannable-area.c,
1937 (hildon_pannable_area_init),
1938 (hildon_pannable_area_size_request),
1939 (hildon_pannable_area_style_set),
1940 (hildon_pannable_draw_vscroll),
1941 (hildon_pannable_draw_hscroll),
1942 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1943 indicator_width to clarify the use of the attribute.
1945 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1950 * configure.ac: Bump version.
1951 * debian/changelog: Updates.
1953 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1955 * src/hildon-picker-dialog.c
1956 * src/hildon-touch-selector.c
1957 Reverting the change that tried to avoid the hardcoded height on
1958 the picker dialog, as causes problems on the hildon-touch-selector
1961 Fixes: NB#110029 (selectors not scrolling to selected value)
1963 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-touch-selector.c: Fix typos
1967 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1970 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1971 request more motions after using it.
1973 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-calendar.c (hildon_calendar_expose),
1976 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1977 Remove unused variables.
1979 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1981 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1982 variable assignment.
1984 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1987 Check the return value of gtk_tree_selection_get_selected()
1990 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-animation-actor.c
1993 * src/hildon-button.c
1995 * src/hildon-pannable-area.c
1996 * src/hildon-picker-button.c
1997 * src/hildon-program.c
1998 * src/hildon-remote-texture.c
1999 * src/hildon-text-view.c
2000 * src/hildon-touch-selector.c
2001 * src/hildon-window-stack.c
2002 * src/hildon-window.c:
2003 Add missing 'Since: 2.2' tags.
2005 * doc/hildon-sections.txt:
2006 Add some missing symbols.
2008 * doc/hildon-docs.sgml:
2009 New 'Other' section for HildonAnimationActor and
2012 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2014 Patch by Iván Gómez (igomez@igalia.com)
2017 * doc/compiling.sgml
2018 * doc/hildon-docs.sgml
2019 * doc/hildon-sections.txt
2020 * doc/migration.sgml
2021 * doc/resources.sgml
2023 New chapters on using the Hildon library.
2024 Updated the general structure of the reference manual.
2025 Other minor documentation fixes.
2027 * src/hildon-calendar-popup.c
2028 * src/hildon-calendar.c
2029 * src/hildon-controlbar.c
2030 * src/hildon-date-editor.c
2031 * src/hildon-dialog.c
2032 * src/hildon-hvolumebar.c
2033 * src/hildon-number-editor.c
2034 * src/hildon-range-editor.c
2035 * src/hildon-sort-dialog.c
2036 * src/hildon-time-editor.c
2037 * src/hildon-time-picker.c
2038 * src/hildon-volumebar-range.c
2039 * src/hildon-volumebar.c
2040 * src/hildon-vvolumebar.c
2041 * src/hildon-weekday-picker.c:
2042 Add deprecation notes
2044 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2045 Document 'horizontal-movement' and 'vertical-movement' signals.
2047 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2052 * configure.ac: Bump version.
2053 * debian/changelog: Updates.
2055 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2057 * src/hildon-pannable-area.c,
2058 (hildon_pannable_area_class_init): increased the minimum velocity.
2059 (hildon_pannable_area_button_release_cb): Updated the
2060 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2061 setup. Review the code to control that last event.
2063 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2066 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2068 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2070 * src/hildon-get-password-dialog.c
2071 (hildon_get_password_set_property),
2072 (hildon_get_password_get_property), (create_contents):
2073 * src/hildon-login-dialog-private.h:
2074 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2075 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2076 (hildon_login_dialog_get_password):
2077 * src/hildon-set-password-dialog-private.h:
2078 * src/hildon-set-password-dialog.c
2079 (hildon_set_password_set_property),
2080 (hildon_set_password_get_property), (create_contents),
2081 (hildon_set_password_response_change),
2082 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2084 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2085 instead and look more Fremantle style.
2087 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2089 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2091 * doc/hildon-sections.txt
2092 * src/hildon-window-stack.h
2093 * src/hildon-window-stack.c
2094 (+hildon_window_stack_get_windows):
2095 New API to obtain the list of windows on a stack.
2097 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2099 * src/hildon-app-menu.c (hildon_app_menu_popup)
2100 (hildon_app_menu_class_init, -hildon_app_menu_show):
2101 Remove hildon_app_menu_show() and move all its checks to
2102 hildon_app_menu_popup()
2104 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2106 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2107 (_hildon_picker_dialog_set_selector): removed call to
2108 gtk_widget_set_size_request
2109 * src/hildon-touch-selector.c
2110 (_create_new_column): change the pannable size request policy
2112 Avoid to use a hardcoded height for the hildon picker dialog. In order
2113 to get that, we needed to change the hildon pannable size request
2115 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2117 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2120 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2123 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2125 * debian/control: Depend on osso-system-lock localization package.
2126 * src/hildon-code-dialog.c: Obtain the secu_application_title
2127 translation from osso-system-lock.
2128 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2129 for translation the atk related strings, that's not necessary.
2130 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2131 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2132 cancel button, it is not required.
2134 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2136 * src/hildon-pannable-area.c,
2137 (hildon_pannable_area_class_init): Modified the default value of
2138 the overshooting max speed, we have reduced it.
2140 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2142 * doc/hildon-sections.txt
2143 * src/hildon-window-private.h
2144 * src/hildon-window.h
2145 * src/hildon-window.c (hildon_window_class_init)
2146 (hildon_window_init, hildon_window_finalize)
2147 (hildon_window_realize, hildon_window_get_property)
2148 (hildon_window_set_property, hildon_window_update_markup)
2149 (hildon_window_get_markup, hildon_window_set_markup):
2150 New "markup" property and hildon_window_{get,set}_markup() methods.
2152 * examples/hildon-stackable-window-example.c (new_window):
2153 Update example to use hildon_window_set_markup()
2155 Fixes: NB#106375 (Need API to retitle a window with a title
2158 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2160 * src/hildon-pannable-area.c,
2161 (hildon_pannable_area_class_init): Changed the default value of
2162 the initial_hint to TRUE.
2163 (hildon_pannable_area_initial_effect): Changed the initial effect,
2164 not the effect is just the fade-out of the scrollbars.
2166 Fixes: NB#107775 (No scrollbars can be seen when several items are
2167 available in a dialog)
2169 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-program.c (hildon_program_update_top_most):
2174 Fixes: NB#109179 (Memory leak in Hildon program)
2176 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2178 * src/hildon-banner.c (-get_current_app_window):
2179 Remove unused function.
2181 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2183 * src/hildon-pannable-area.c: Modified the documentation of the
2184 get adjustments functions to explain the problem of using the
2185 adjustment directly.
2186 (hildon_pannable_area_class_init): Improved the explanation about
2189 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-app-menu-private.h
2192 * src/hildon-app-menu.c
2193 (hildon_app_menu_class_init):
2194 Bring back the 'external-border' style property
2195 (hildon_app_menu_class_init, hildon_app_menu_init)
2196 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2197 Set a fixed width-request for the menu, independent of the number
2200 Fixes: NB#94957 (Smoothly opened application menu)
2202 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2204 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2206 * src/hildon-banner.c
2207 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2209 Make sure that the banner is correctly placed the first time it's
2211 (hildon_banner_check_position, -check_fullscreen_state):
2212 Show the banner in the same place no matter if the window is in
2213 fullscreen mode or not.
2215 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2217 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-touch-selector.c (_default_print_func): reorder
2220 concatenation for clarity.
2222 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2224 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2225 for multicolumn selectors.
2227 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2229 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2234 * configure.ac: Bump version.
2235 * debian/changelog: Updates.
2237 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2239 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2242 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2244 * configure.ac: removed libcangerra-gtk dependency
2245 * debian/control: removed libcanberra-gtk dependency
2246 * src/Makefile.am: removed libcanberra gtk related flags
2247 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2248 context, and manage a global canberra context instead
2250 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2252 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2254 Patch by Daniel Borgmann (danielb@openismus.com)
2256 * src/hildon-edit-toolbar.c:
2257 Adjust the left padding.
2258 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2259 Paint background of the edit toolbar.
2261 Fixes: NB#107897 (Patch to make editmodetoolbar background
2262 themeable and adjust margin)
2264 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2266 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2268 * src/hildon-program.c (hildon_program_update_top_most):
2269 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2271 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2272 change when the user tasks in/out of an application)
2274 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2276 * configure.ac: added libcangerra-gtk dependency
2277 * debian/control: added libcanberra-gtk dependency
2278 * src/Makefile.am: added libcanberra gtk related flags
2279 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2282 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2284 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-program.c (hildon_program_remove_window)
2287 (hildon_program_add_window): Add checks for the window
2288 parameter. Don't decrease the window counter if the window is not
2291 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2293 * src/hildon-pannable-area.c,
2294 (hildon_pannable_area_realize): Fixed position of the event_window
2295 in the realize method.
2297 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-app-menu-private.h
2300 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2301 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2302 (hildon_app_menu_key_press, hildon_app_menu_init)
2303 (hildon_app_menu_finalize):
2304 Make sure that all idle functions are removed when the widget is
2307 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2309 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2314 * configure.ac: Bump version.
2315 * debian/changelog: Updates.
2317 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2319 * src/hildon-entry.c
2320 (+hildon_entry_show_placeholder),
2321 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2322 that replace hildon_entry_update_contents().
2323 (hildon_entry_set_text),
2324 (hildon_entry_set_placeholder),
2325 (hildon_entry_focus_in_event),
2326 (hildon_entry_focus_out_event): Determine when it is needed
2327 either to show or hide the placeholder and call the above methods.
2329 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2330 when the placeholder text is already set)
2332 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2335 simple GdkPixbufAnim using the new icons for the banner.
2336 (hildon_banner_show_animation): Use the above mentioned method to
2337 create the animation widget.
2339 Fixes: NB#103564 (Make hildon animation banner use individual
2340 image files as the animation)
2342 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2344 * src/hildon-pannable-area.c,
2345 (hildon_pannable_leave_notify_event): Check if the child is NULL
2346 to avoid sending the leave.
2348 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2350 * src/hildon-pannable-area.c,
2351 (hildon_pannable_area_class_init),
2352 (hildon_pannable_leave_notify_event): Added a handler of the
2353 leave-notify-signal to consider when no motion notify before
2356 Fixes: NB#107494 (Items stay selected when clicking and moving
2357 away when inside pannable area)
2359 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2364 * configure.ac: Bump version.
2365 * debian/changelog: Updates.
2367 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2369 Patch by Alberto Garcia (agarcia@igalia.com)
2371 * src/hildon-date-button.c,
2372 (hildon_date_button_class_init),
2373 (hildon_date_button_init): Removed the construct property handling
2374 and created a default selector in the init method.
2375 * src/hildon-picker-button.c,
2376 (hildon_picker_button_class_init): Removed the construct flag of the
2379 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2381 * src/hildon-main.c (hildon_init):
2382 Don't allow hildon_init() to be called more than once.
2384 Fixes: NB#106607 (hildon_init should issue error message upon
2387 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2389 * examples/hildon-pannable-area-touch-list-example.c
2390 * examples/hildon-pannagle-area-touch-grid-example.c
2391 * examples/hildon-edit-toolbar-example.c
2392 * examples/hildon-touch-selector-multi-cells-example.c
2393 Removed the call to gtk_rc_parse_string, as it is not required since
2396 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2398 * src/hildon-pannable-area.c,
2399 (hildon_pannable_area_class_init): Modified the default panning
2400 threshold of the widget to 6px.
2402 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2403 than the threshold value ) within the button is not sending the
2406 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2409 for the treeview in the new column. This way, the touch list will never
2412 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2413 be selected manually for the HW keys to work)
2415 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2418 comparison instead of using strcmp(). Fixes a compiler warning as well.
2420 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2422 * doc/hildon-docs.sgml: Do not set the library version in the
2423 document title, use the releaseinfo tag for that purpose instead.
2425 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2427 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2428 Do not jump to the first item if the text in the entry is removed.
2430 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2435 * configure.ac: Bump version.
2436 * debian/changelog: Updates.
2438 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2440 * src/hildon-entry.c (hildon_entry_refresh_contents):
2441 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2442 Use "ReversedSecondaryTextColor" for the placeholder text.
2444 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-text-view.c: Fix compilation warning.
2448 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-button.c (hildon_button_class_init): Don't make
2451 "title" and "value" construction properties, to prevent them from
2452 overwriting labels set from derived classes.
2454 * src/hildon-picker-button.c
2455 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2456 (hildon_picker_button_class_init): Make touch-selector a
2457 construction property.
2459 * src/hildon-date-button.c (hildon_date_button_class_init)
2460 (+hildon_date_button_constructed): Add a default date selector if
2463 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2465 * src/hildon-touch-selector.c: Small documentation fixes.
2467 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2469 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2471 * src/hildon-entry.c (hildon_entry_refresh_contents),
2472 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2473 widget name, set the logical color directly instead and a boolean
2474 showing_placeholder instead.
2475 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2476 use the widget name here either.
2478 Fixes: NB#105678 (HildonTextView should use logical colours
2479 instead of setting widget name)
2481 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2483 Patch by Daniel Elster (danielk@openismus.com)
2485 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2486 Add user_data parameter.
2487 (hildon_touch_selector_set_print_func_full): New function akin
2488 hildon_touch_selector_set_print_func() but with support for user
2489 data and a destroy callback.
2490 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2491 to clean up the print function user data.
2492 (hildon_touch_selector_class_init): Install dispose function.
2493 (HildonTouchSelectorPrivate::print_user_data),
2494 (HildonTouchSelectorPrivate::print_destroy_func): New private
2496 (hildon_touch_selector_init): Initialize new private members.
2497 (hildon_touch_selector_get_current_text): Pass along user data
2498 to the print function.
2499 (_default_print_func): Add dummy user_data to parameter list.
2500 * hildon-date-selector.c (_custom_print_func): ditto,
2501 * hildon-time-selector.c (_custom_print_func): ditto,
2502 * hildon-touch-selector-entry.c
2503 (hildon_touch_selector_entry_print_func): ditto.
2505 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2507 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2509 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2511 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2513 * src/hildon-pannable-area.c,
2514 (hildon_pannable_area_init),
2515 (hildon_pannable_area_button_press_cb),
2516 (hildon_pannable_area_motion_notify_cb): We have added code to
2517 handle the leave and enter events when using the motion events.
2519 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2521 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-date-button.c (hildon_date_button_get_date)
2524 (hildon_date_button_set_date): Make sure that the button has a
2527 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2529 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2531 * src/hildon-pannable-area.c,
2532 (hildon_pannable_area_class_init),
2533 (hildon_pannable_area_calculate_velocity): Modify the use of the
2534 force and adapt the value.
2536 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2539 (hildon_app_menu_class_init): Hide the menu if it receives a
2540 delete-event, but don't destroy it
2542 Fixes: NB#104485 (Not able to address the call when application
2543 menu is opened at background)
2545 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-app-menu.c
2548 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2549 Remove the "external-border" style property, let the menu take its
2550 natural size (or the one set by the window manager)
2551 (hildon_app_menu_repack_items):
2552 Don't reshow the menu, avoid flickers.
2554 Partially fixes NB#94957 (Smoothly opened application menu)
2556 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2561 * configure.ac: Bump version.
2562 * debian/changelog: Updates.
2564 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2566 * src/hildon-pannable-area.c,
2567 (hildon_pannable_area_motion_notify_cb): We control that the
2568 direction error margin is used just in case the movement is
2569 allowed in the other direction.
2571 Fixes: NB#105012 (buttons inside a pannable area not getting
2572 release event when dragging/releasing)
2574 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2576 * src/hildon-pannable-area.c,
2577 (hildon_pannable_area_class_init),
2578 (hildon_pannable_area_get_property),
2579 (hildon_pannable_area_set_property),
2580 (hildon_pannable_area_initial_effect),
2581 (hildon_pannable_axis_scroll),
2582 (hildon_pannable_area_button_release_cb): Reviewed the
2583 overshooting effect, now it has its own max
2584 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2585 speed when bouncing.
2587 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2592 * configure.ac: Bump version.
2593 * debian/changelog: Updates.
2595 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2597 * src/hildon-pannable-area.c,
2598 (hildon_pannable_area_class_init): Changed the max speed, now
2599 users can launch the widget very fast. Reduced the default force,
2600 that way it is easier to control the launch speed.
2602 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2604 * src/hildon-pannable-area.c,
2605 (hildon_pannable_area_button_release_cb): Removed this check
2606 because it causes problems when the device is overloaded.
2608 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2610 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2611 add a current_text field to store the text entered in the
2612 touch selector entry.
2613 (_clean_current_selection): clean up the current text as well.
2614 (_save_current_selection), (_restore_current_selection):
2615 Save/restore the text in the entry if the selector is a
2616 HildonTouchSelectorEntry.
2618 Fixes: NB#102541 (value entered in the touch selector entry is not
2619 shown when opened for second time)
2621 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2623 * doc/hildon-sections.txt:
2624 * src/hildon-touch-selector-entry.c
2625 (+hildon_touch_selector_entry_get_entry):
2626 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2628 Fixes: NB#104815 (I need accessor to the entry inside
2629 HildonTouchSelectorEntry)
2631 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2634 (hildon_app_menu_class_init):
2635 New "filter-vertical-spacing" style property.
2637 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-find-toolbar.c
2640 (hildon_find_toolbar_emit_close)
2641 (hildon_find_toolbar_emit_invalid_input)
2642 (hildon_find_toolbar_entry_activate):
2643 Use g_signal_emit() instead of g_signal_emit_by_name()
2645 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2647 Patch by Mox Soini (ext-mox.soini@nokia.com)
2649 * tests/TEST-CASES.txt
2650 * tests/check-hildon-banner.c
2651 * tests/check-hildon-note.c
2652 * src/hildon-banner.c
2653 * src/hildon-code-dialog.c
2654 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2655 * src/hildon-time-editor.c
2656 * examples/hildon-lookup-example.c (main):
2657 Replace obsolete icon names with new ones.
2659 * src/hildon-find-toolbar-private.h:
2660 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2661 (-hildon_find_toolbar_emit_search):
2662 Remove find button and change icon of close button.
2664 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2666 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-time-button.c (hildon_time_button_new_step):
2669 Use the "touch-selector" property to set the selector directly
2670 when creating the object.
2672 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2674 Added a new example application that allows tuning the pannable
2675 area and replaced defines with properties in order to simplify the
2676 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2677 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2678 PROP_DIRECTION_ERROR_MARGIN.
2680 * examples/hildon-pannable-area-tuning-example.c: New example
2682 * src/hildon-pannable-area.c,
2683 (hildon_pannable_area_class_init),
2684 (hildon_pannable_area_init),
2685 (hildon_pannable_area_get_property),
2686 (hildon_pannable_area_set_property),
2687 (hildon_pannable_area_launch_fade_timeout),
2688 (hildon_pannable_area_adjust_value_changed),
2689 (hildon_pannable_axis_scroll),
2690 (hildon_pannable_area_motion_notify_cb),
2691 (hildon_pannable_area_scroll_cb),
2692 (hildon_pannable_area_button_release_cb): We have converted some
2693 of the defines that control the widget to properties to simplify
2696 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-app-menu.c (hildon_app_menu_map)
2699 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2700 so it's closed if a new window appears.
2702 Fixes: NB#104485 (Not able to address the call when application
2703 menu is opened at background)
2705 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2708 missing 'break' statement in in 'case' construct to avoid
2711 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2713 * src/hildon-touch-selector-entry.c
2714 (hildon_touch_selector_entry_get_property),
2715 (hildon_touch_selector_entry_set_property): Add missing 'break'
2716 statements in in 'case' constructs to avoid incorrect warnings.
2718 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2720 * src/hildon-time-editor.c
2721 (hildon_time_editor_get_time_separators): Do not crash if
2722 the first label is NULL.
2724 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/hildon-date-selector.c (_month_days): Check for month to be
2727 strictly less than 12, since otherwise we may overrun the array.
2729 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2731 * src/hildon-date-button.c (+hildon_date_button_new_full)
2732 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2733 (hildon_date_button_init): Set the date selector using a
2734 construction property, to make it happen after HildonButton's
2735 "value" property is set.
2737 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2738 current date by default)
2740 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2742 * doc/hildon-sections.txt
2743 * src/hildon-program.c
2744 * src/hildon-stackable-window.c
2745 * src/hildon-window.c:
2746 Documentation updates
2748 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2751 (hildon_window_stack_new, +hildon_window_stack_set_property)
2752 (+hildon_window_stack_get_property)
2753 (hildon_window_stack_class_init)
2754 (+hildon_window_stack_set_window_group)
2755 (+hildon_window_stack_get_window_group):
2756 Make the window group a construction property.
2758 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2760 * doc/hildon-sections.txt
2761 * src/hildon-stackable-window-private.h
2762 * src/hildon-stackable-window.h
2763 * src/hildon-stackable-window.c
2764 (-hildon_stackable_window_set_app_menu)
2765 (-hildon_stackable_window_get_app_menu)
2766 (-hildon_stackable_window_toggle_menu)
2767 (-hildon_stackable_window_finalize)
2768 (hildon_stackable_window_class_init)
2769 (hildon_stackable_window_init)
2770 * src/hildon-window-private.h
2771 * src/hildon-window.h
2772 * src/hildon-window.c (hildon_window_init)
2773 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2774 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2775 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2776 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2777 Moved all HildonAppMenu code to HildonWindow. The menu does not
2778 require a HildonStackableWindow anymore.
2780 * src/hildon-app-menu.c
2781 * src/hildon-program.c
2782 * examples/hildon-app-menu-example.c (main):
2783 Update examples and documentation to reflect HildonAppMenu
2786 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-remote-texture.c
2789 * src/hildon-animation-actor.c:
2790 Don't include unused private headers.
2792 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2794 * src/hildon-program-private.h
2795 * src/hildon-program.c
2796 (hildon_program_set_common_menu)
2797 (hildon_program_get_common_menu)
2798 (hildon_program_set_common_app_menu)
2799 (hildon_program_get_common_app_menu):
2800 Change common menu pointers from GtkWidget* to GtkMenu* and
2801 HildonAppMenu* to avoid unnecessary casts.
2803 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-window.c (hildon_window_set_main_menu):
2806 Removed incorrect 'Since:' tag
2808 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-pannable-area.c,
2811 (hildon_pannable_area_calculate_velocity): We use now the
2812 RATIO_TOLERANCE here to check the distance, fixed typo in the
2814 (hildon_pannable_area_motion_notify_cb): We have to set the type
2815 and time even if we are not sending the motion.
2817 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2819 * doc/hildon-sections.txt
2820 * src/hildon-app-menu.h
2821 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2822 (+hildon_app_menu_get_filters): New methods to get the contents of
2825 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2828 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-app-menu.c (hildon_app_menu_popup):
2833 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-window.h
2836 * src/hildon-window.c (+hildon_window_get_main_menu)
2837 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2838 and deprecated hildon_window_get_menu().
2840 * src/hildon-stackable-window.h
2841 * src/hildon-stackable-window.c
2842 (+hildon_stackable_window_set_app_menu)
2843 (+hildon_stackable_window_get_app_menu)
2844 (hildon_stackable_window_set_main_menu): Created
2845 hildon_stackable_window_{get,set}_app_menu() and deprecated
2846 hildon_stackable_window_set_main_menu().
2848 * doc/hildon-sections.txt
2849 * examples/hildon-app-menu-example.c (main)
2850 * src/hildon-app-menu.c
2851 * src/hildon-program.c:
2852 Updated examples and documentation.
2854 Fixes: NB#103758 (No way to obtain a menu from a
2855 HildonStackableWindow)
2857 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2862 * configure.ac: Bump version.
2863 * debian/changelog: Updates.
2865 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2867 * examples/hildon-remote-texture-example.c: Include
2868 hildon-remote-texture.h explicitely.
2869 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2870 applications not defining _XOPEN_SOURCE which don't require this header.
2872 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2874 * doc/hildon-sections.txt
2875 * src/hildon-app-menu.h
2876 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2877 New function to pop up a HildonAppMenu
2879 * src/hildon-stackable-window.c
2880 (hildon_stackable_window_toggle_menu):
2881 Use hildon_app_menu_popup() to show the menu.
2883 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-app-menu.c (hildon_app_menu_show)
2886 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2887 menu if there's another window between it and its parent window.
2889 Fixes: NB#100468 (Application menu window is launched even when a
2890 new secondary-window/dialog is pending to be shown/realized)
2892 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-window-stack.c (hildon_window_stack_push)
2895 (hildon_window_stack_pop_and_push):
2896 Don't forget to push/pop the first window.
2897 Reverse the window list before calling _push_list()
2899 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-picker-button.h
2902 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2903 Remove "value_changed" slot to avoid ABI breakage
2905 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2907 * src/hildon-pannable-area.c,
2908 (hildon_pannable_area_realize),
2909 (hildon_pannable_area_unrealize),
2910 (hildon_pannable_draw_vscroll),
2911 (hildon_pannable_draw_hscroll): Changed the method to handle the
2912 GC used to draw the transparent scrollbar, this way we avoid
2913 creating the GC all the time when drawing the scrollbars.
2915 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2917 * src/hildon-pannable-area.c,
2918 (hildon_pannable_area_init),
2919 (hildon_pannable_area_remove): Removed some unnecessary casts.
2920 (hildon_pannable_area_dispose): Disconnected some signals before
2921 releasing the adjustments.
2923 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2925 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2926 Make sure that all widgets contained in the toolbar are shown.
2928 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2930 * doc/hildon-sections.txt
2931 * src/hildon-picker-button.h
2932 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2933 (_selection_changed, hildon_picker_button_on_dialog_response)
2934 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2935 New hildon_picker_button_value_changed() method.
2938 * src/hildon-picker-button-private.h
2939 * src/hildon-picker-button.c (hildon_picker_button_init)
2940 (+hildon_picker_button_disable_value_changed): Add protected
2941 function for disabling the "value-changed" signal.
2943 * src/hildon-date-button.c (hildon_date_button_set_date):
2944 Don't emit "value-changed" for each one of the three columns.
2946 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2947 before actual change of values)
2949 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2951 * src/hildon-pannable-area.c,
2952 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2953 for the treeview overshooting.
2955 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-banner.c (+hildon_banner_bind_style):
2958 Renamed from hildon_banner_bind_label_style(), now naming the
2959 banner itself as well.
2960 (hildon_banner_show_information),
2961 (hildon_banner_show_information_with_markup),
2962 (hildon_banner_show_animation), (hildon_banner_show_progress):
2963 Name the widgets and labels, based on their type.
2965 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2968 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-note.c (hildon_note_set_property): call
2971 hildon_note_rename() on HildonNote:note-type set.
2972 (hildon_note_rename): Name the note and its label, based on the
2973 HildonNote:note-type property.
2975 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2978 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2980 * src/hildon-pannable-area.c,
2981 (hildon_pannable_area_class_init),
2982 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2983 panning parameters, increased SPS and deceleration factor. Added
2984 also a margin to control fake directions.
2986 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2988 Patch by Sven Herzberg (sven@imendio.com)
2990 * configure.ac: Add missing AM_PROG_CC_C_0
2991 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2993 See NB#101420 (Update unit tests and fix make check)
2995 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2997 This patch was applied before but reverted because it caused
2998 problems, we have changed the main condition and tested the
2999 regressions we detected before and they work ok. We have done a
3000 complete review of the topmost algorithm in order to get a more
3003 * src/hildon-pannable-area.c,
3004 (hildon_pannable_area_get_topmost): Added a new parameter to
3005 filter the the windows that do not include those events.
3006 (hildon_pannable_area_button_press_cb),
3007 (hildon_pannable_area_button_release_cb),
3008 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3009 topmost function, we have added the new parameter.
3011 Fixes: NB#97458 (Pannable area prevents propagation of button
3014 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3016 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3017 if all columns in the selector have an item selected.
3018 (_on_dialog_response): Stop "response" signal emission if there is
3019 any selector column without selected items.
3021 Fixes: NB#101889 (Picker dialog should not close when nothing is
3022 selected in multiple selection list)
3024 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-font-selection-dialog.c
3027 (hildon_font_selection_dialog_class_init),
3028 (hildon_font_selection_dialog_init): Remove the preview
3029 button and dialog, since previewing with default theming is likely
3030 to be overcomplicated. The :preview property has now no effect.
3031 Update documentation blurbs to inform about this.
3033 Fixes: NB#92297 (Preview content is not clearly visible for
3034 default colour text)
3036 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3038 Reviewed the geometry that handles the children size and
3039 scrollbar, now it tries a size and reviews the results depending
3040 on the scrollbars visibility.
3042 * src/hildon-pannable-area.c,
3043 (hildon_pannable_area_realize): Fixed a typo.
3044 (hildon_pannable_area_child_allocate_calculate): Added this
3045 function to calculate the child allocation.
3046 (hildon_pannable_area_size_allocate): Reviewed the allocation
3048 (hildon_pannable_area_check_scrollbars),
3049 (hildon_pannable_area_refresh): Refactored refresh function, this
3050 way we can call the code handling the scrollbars without causing a
3051 size_request, it is interesting in the allocate.
3052 (hildon_pannable_area_init): Replace the callbacks of the
3053 value_changed and changed signals to propertly deal with the
3055 (hildon_pannable_area_grab_notify),
3056 (hildon_pannable_area_initial_effect),
3057 (hildon_pannable_area_launch_fade_timeout),
3058 (hildon_pannable_area_adjust_changed),
3059 (hildon_pannable_area_adjust_value_changed),
3060 (hildon_pannable_area_redraw),
3061 (hildon_pannable_area_button_press_cb),
3062 (hildon_pannable_area_button_release_cb),
3063 (hildon_pannable_area_scroll_cb),
3064 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3065 code and use the new functions adjust_changed and
3066 adjust_value_changed.
3068 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3069 Contact editor dialog)
3071 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3076 * configure.ac: Bump version.
3077 * debian/changelog: Updates.
3079 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3081 * src/hildon-pannable-area.c,
3082 (hildon_pannable_area_get_topmost),
3083 (hildon_pannable_area_button_press_cb),
3084 (hildon_pannable_area_button_release_cb),
3085 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3086 topmost function adding the event mask. We have to try a
3087 differente approach because it is still causing problems (NB#9745,
3090 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-banner.c:
3093 Update the maximum width of timed banners.
3094 (force_to_wrap_truncated): Enforce the maximum text width if the
3097 Fixes: NB#102413 (The text margins (wrapping) in information
3098 banner should be HILDON_MARGIN_TRIPLE)
3100 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3102 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3104 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3105 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3106 bound when calculating the scroll indicator position.
3108 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3109 treat ->lower correctly)
3111 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3113 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3114 expose event handling, since it is not necessary to draw the focus
3117 Fixes: NB#102467 (Do not show highlight on the text in
3120 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3123 full height of the toolbar for the button and the label.
3125 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3128 padding before the label and after the button.
3130 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3134 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3135 Add a GtkVSeparator between the button and the back arrow.
3136 Let the button have automatic size.
3137 Set a name to the widget for theming handling.
3139 Fixes: NB#101793 (Make edit toolbar the same height as window
3140 title bar (use title area theming))
3142 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-helper.c (attach_new_color_element): Fix memory
3147 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3149 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3151 * examples/hildon-button-example.c (common_buttons_window): Don't
3154 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3156 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3157 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3159 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-gtk.c: Check that the window is realized.
3163 Fixes: NB#102225 (Crash setting the progress indicator to a non
3166 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3169 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3170 instead of modifying the one in the widget style.
3172 Fixes: NB#101043 (Second row of all the command button are
3173 displayed in transparent mode.)
3175 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-date-button.c
3178 * src/hildon-time-button.c: Add gettext macros
3180 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-date-button.c (hildon_date_button_new):
3183 * src/hildon-time-button.c (hildon_time_button_new_step):
3184 Use new logical strings to set the button default title.
3186 Fixes: NB#99915 (Date and Time options are not localised in Date
3189 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3191 * src/hildon-pannable-area.c
3192 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3193 the PANNING_THRESHOLD.
3195 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3197 * src/hildon-pannable-area.c,
3198 (hildon_pannable_area_class_init): Increased the maximum speed.
3199 (hildon_pannable_area_get_property),
3200 (hildon_pannable_area_set_property),
3201 (hildon_pannable_area_timeout): Added a new low friction mode, it
3202 allows the user avoid friction when launching the widget fast
3203 enough. It is interesting to traverse long lists.
3205 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3208 (+hildon_stackable_window_delete_event): Ignore delete events if
3209 the window is not the topmost one.
3211 Fixes: NB#101698 (Back button long press and delete-event handling)
3213 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3215 * src/hildon-pannable-area.c,
3216 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3217 gtk-dnd-drag-threshold, it was too big. We have defined our own
3218 dnd define and set a smaller value: PANNIG_THRESHOLD.
3220 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3223 user-defined icons, use always the default one.
3225 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3227 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3229 This patch was applied before but reverted because it caused
3230 problems, we have changed the main condition and tested the
3231 regressions we detected before and they work ok.
3233 * src/hildon-pannable-area.c,
3234 (hildon_pannable_area_get_topmost): Added a new parameter to
3235 filter the the windows that do not include those events. Added
3236 also a condition when finding the window to filter windows that do
3237 not ask for those events.
3238 (hildon_pannable_area_button_press_cb),
3239 (hildon_pannable_area_button_release_cb),
3240 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3241 topmost function, we have added the new parameter.
3243 Fixes: NB#97458 (Pannable area prevents propagation of button
3246 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3248 * tests/check-hildon-color-button.c (START_TEST): do not leak
3251 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3253 * src/hildon-font-selection-dialog.c
3254 (hildon_font_selection_dialog_get_preview_text): Return NULL
3255 instead of FALSE on the g_return_val_if_fail().
3257 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3259 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3260 * src/hildon-date-selector.c
3261 (hildon_date_selector_select_current_date):
3262 Do not compare unsigned integers to be greater than or equal 0,
3263 because it's always TRUE.
3265 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3267 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3268 (hildon_date_selector_constructor): Do not select the current
3269 date until we are handle the "changed" signal, to avoid having bogus
3270 elements in the days model.
3272 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3274 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3275 for num_days, since _month_days() can return a negative value.
3277 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-caption.c (hildon_caption_size_allocate):
3280 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3281 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3283 Initialize allocation variables to 0, to avoid eventually using
3284 unitialized variables.
3286 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3288 * src/hildon-bread-crumb-trail.c
3289 (hildon_bread_crumb_trail_size_allocate):
3290 * src/hildon-calendar.c (hildon_calendar_set_background):
3291 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3292 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3293 * src/hildon-seekbar.c (hildon_seekbar_init):
3294 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3295 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3296 * src/hildon-touch-selector-entry.c
3297 (hildon_touch_selector_get_text_from_model):
3298 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3299 * src/hildon-window.c (hildon_window_finalize):
3301 Remove many unused variables.
3303 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3305 * src/hildon-seekbar.c: (hildon_seekbar_init),
3306 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3308 Remove unnecessary g_assert() calls.
3310 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3312 * src/hildon-caption.c: (hildon_caption_expose),
3313 (hildon_caption_set_property), (hildon_caption_init),
3314 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3315 (hildon_caption_size_request), (hildon_caption_size_allocate),
3316 (hildon_caption_forall), (hildon_caption_set_separator),
3317 (hildon_caption_activate), (hildon_caption_set_child_expand),
3318 (hildon_caption_set_label_text),
3319 (hildon_caption_get_label_alignment):
3321 Remove unnecessary g_assert() calls.
3323 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-banner.c
3326 (hildon_banner_map, hildon_banner_init): Make banner temporary
3327 before mapping it to avoid closing other temporary windows, but
3328 make it non-temporary afterwards to avoid being closed by other
3329 non-temporary windows.
3330 (-hildon_banner_client_event, hildon_banner_init):
3331 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3333 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3336 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3341 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3343 * src/hildon-remote-texture.c
3344 * src/hildon-remote-texture.h
3345 * src/hildon-remote-texture-private.h
3346 * examples/hildon-remote-texture-example.c:
3347 Updates/fixes to remote-texture and its example.
3349 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3351 Patch by Mox Soini (ext-mox.soini@nokia.com)
3353 * src/hildon-code-dialog.c: Update logical id.
3354 * src/hildon-set-password-dialog.c: Update logical id.
3356 Fixes: NB#100646 (Logical strings is shown for ok in set
3357 password,Password needed dialogs)
3359 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3362 * src/hildon-remote-texture.c
3363 * src/hildon-remote-texture.h
3364 * src/hildon-remote-texture-private.h
3366 Added remote texture widget (for Clutter shared memory textures)
3368 * examples/hildon-remote-texture-example.c
3369 * examples/Makefile.am
3370 Added example file for remote texture usage
3372 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3374 * configure.ac: post release version bump.
3375 * debian/changelog: version bump.
3377 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3382 * configure.ac: Bump version.
3383 * debian/changelog: Updates.
3385 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3387 * src/hildon-date-selector.c (hildon_date_selector_init)
3388 (hildon_date_selector_constructor): Don't connect to the "changed"
3389 signal until the selector is completely constructed.
3391 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-touch-selector.c: (_create_new_column),
3394 (hildon_touch_selector_append_column),
3395 (hildon_touch_selector_set_column_selection_mode),
3396 (hildon_touch_selector_set_active),
3397 (hildon_touch_selector_select_iter):
3398 Emit the HildonTouchSelector::changed signal every time selection
3399 is changed in any of the methods above. This behavior was already
3400 documented but not fully functional.
3402 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3403 selection is programmatically changed)
3405 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3407 * doc/hildon-sections.txt: Remove obsolete icon
3408 sizes from here as well.
3410 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3412 * examples/hildon-stackable-window-example.c (add_window): Remove
3415 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-app-menu.c
3418 (hildon_app_menu_show): Check whether the parent window of a menu
3419 is topmost before popping it up.
3421 Fixes: NB#100468 (Application menu window is launched even when a
3422 new secondary-window/dialog is pending to be shown/realized.)
3424 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3426 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3429 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3431 Patch by Mox Soini (ext-mox.soini@nokia.com)
3433 * src/hildon-banner.c: (hildon_banner_show_animation):
3434 use stylus size instead of obsolete note size.
3435 * src/hildon-defines.h: Update icon sizes.
3437 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3439 * src/hildon-touch-selector-entry.c:
3440 (hildon_touch_selector_entry_init): Disable unsupported
3442 (hildon_touch_selector_entry_get_text_column): Emit a warning
3443 if an unsupported input modes is used and explicitile state
3444 these modes in the documentation.
3446 Fixes: NB#99802 (Hildon touch selector entry not working properly
3447 for some of the input modes)
3449 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3451 * src/hildon-pannable-area.c,
3452 (hildon_pannable_area_init): Added the changed signal handlers of
3455 Fixes: NB#100320 (HildonPannableArea does not listen to
3456 GtkAdjustment "change" signals)
3458 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3460 * doc/hildon-sections.txt
3461 * src/hildon-window-private.h
3462 * src/hildon-window.h
3463 * src/hildon-window.c (hildon_window_init)
3464 (hildon_window_realize, hildon_window_unrealize)
3465 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3466 (hildon_window_size_request, hildon_window_size_allocate)
3467 (hildon_window_forall, hildon_window_show_all)
3468 (hildon_window_destroy, +paint_edit_toolbar)
3469 (+hildon_window_set_edit_toolbar):
3470 New hildon_window_set_edit_toolbar() method, to add a
3471 HildonEditToolbar to a window without having to pack it manually.
3473 Reorganize hildon_window_size_allocate()
3475 * src/hildon-edit-toolbar.c: Update documentation.
3477 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3478 example to use the new API.
3480 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3482 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3484 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3485 Remove from stack before calling parent's hide.
3487 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3489 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3490 window is removed from the middle of the stack, update the
3491 transiency of the previous one.
3493 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3496 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3499 block/unblock the signal handler if it's not actually being used.
3500 Fixes some critical warnings.
3502 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3504 Based on a patch by Iván Gómez (igomez@igalia.com)
3506 * src/hildon-banner.c
3510 * src/hildon-pannable-area.c
3511 * src/hildon-picker-dialog.c
3512 * src/hildon-wizard-dialog.h
3513 * src/hildon-wizard-dialog.c: Documentation updates.
3515 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3516 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3518 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3520 * configure.ac: post release version bump.
3521 * debian/changelog: version bump.
3523 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3528 * configure.ac: Bump version.
3529 * debian/changelog: Updates.
3531 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3533 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3534 a stock icon nor change the relief of the back arrow.
3536 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3537 graphics from theme)
3539 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3541 * src/hildon-button.c (hildon_button_set_alignment): Use
3542 priv->alignment if the button has no child yet.
3544 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3546 * src/hildon-button.c: (hildon_button_init): Set the
3547 button style during initialization to give it the proper
3550 Fixes: NB#99713 (HildonButton value label color is wrong)
3552 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3554 * src/hildon-touch-selector.c: Document
3555 hildon_touch_selector_center_on_selected()
3557 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3560 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3561 all menu items, but not the menu itself.
3562 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3563 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3564 items after adding them to the menu so keyboard accelerators work.
3565 (hildon_app_menu_show): Don't show the menu if it contains items
3566 but none of them are visible.
3568 * examples/hildon-app-menu-example.c (create_menu): Use
3569 gtk_widget_show_all() to show all menu items.
3571 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3573 * src/hildon-picker-dialog.c:
3574 (-_update_title_on_selector_changed_cb),
3575 (-_dialog_update_title): Removed.
3576 (_select_on_selector_changed_cb), (_on_dialog_response),
3577 (on_selector_columns_changed): Do not update the dialog title.
3578 (setup_interaction_mode): Do not connect to
3579 HildonTouchSelector::changed signal if there's a "done" button, as
3580 the dialog title doesn't need to be updated.
3582 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3585 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3587 Patch by Kristian Rietveld (kris@imendio.com)
3589 * src/hildon-touch-selector.c: (_create_new_column): Use new
3590 GtkTreeView::hildon-row-tapped signal to react to user interactions
3591 instead of ::changed.
3593 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3594 with some dynamic tree model)
3596 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3598 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3599 (+screen_size_changed, +label_size_request)
3600 (hildon_note_class_init): Make the Hildon information note have a
3601 minimum height, and make its text hvae a maximum width.
3603 Fixes: NB#98614 (Hildon information note (background) should have
3604 minimum height and maximum text width)
3606 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-banner.h
3609 * src/hildon-banner.c (hildon_banner_show_information)
3610 (hildon_banner_show_informationf)
3611 (hildon_banner_show_information_with_markup): Update documentation
3612 to reflect that the icon_name parameter is not used anymore.
3613 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3614 Remove all code from these functions and mark them as deprecated.
3615 (hildon_banner_show_progress): Mark as deprecated.
3617 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3619 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3621 * src/hildon-pannable-area.c,
3622 (hildon_pannable_area_class_init),
3623 (tranparency_color),
3624 (hildon_pannable_draw_vscroll),
3625 (hildon_pannable_draw_hscroll),
3626 (hildon_pannable_area_expose_event): Added a new way to render the
3627 scrollbars of the pannable area avoiding using cairo at all. This
3628 way we improve the performance of the pannable area rendering. The
3629 cairo rendering procedure is still in the code, we can control
3630 which one to use changing the value of the define
3631 USE_CAIRO_SCROLLBARS.
3633 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3635 * configure.ac: post release version bump.
3636 * debian/changelog: version bump.
3638 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3643 * configure.ac: Bump version.
3644 * debian/changelog: Updates.
3646 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3649 banners instead of destroying them when they receive a button
3652 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3654 Reverted commit 34028, it was causing regressions, probably the
3655 topmost condition is not correct, we have to check it in more
3656 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3657 propagation of button press events)
3659 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3661 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3662 that the selection is not empty before attempting to retrieve the
3663 current ampm selection.
3665 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3667 * src/hildon-picker-button.c:
3668 (hildon_picker_button_on_dialog_response): Directly update the
3669 button contents when required instead of calling _selection_changed.
3671 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3673 * src/hildon-program.c (hildon_program_update_top_most): Update
3674 'is-topmost' property also when wm_hints is not set.
3676 Fixes: NB#98383 (is-topmost signal is not emitted when task
3677 switcher is clicked.)
3679 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3681 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3685 * src/hildon-animation-actor.c,
3686 * src/hildon-animation-actor.h: Added the animation actor class,
3687 this widget represents an animation actor for WM-assisted
3688 animation effects in the Hildon framework.
3690 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-window-stack-private.h
3693 * src/hildon-window-stack.c
3694 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3695 Avoid calling gtk_widget_show() again indirectly from
3696 hildon_stackable_window_show()
3698 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3703 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3705 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3706 (hildon_time_selector_init): Move the construction of the hours and
3707 ampm columns to the constructor to preserve the order the columns
3710 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3712 * src/hildon-picker-dialog.c:
3713 (hildon_picker_dialog_class_init): Connect a realize method.
3714 (+hildon_picker_dialog_realize): Setup the interaction mode here
3716 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3717 yet, do it during the realize instead.
3718 (_on_dialog_response):
3719 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3720 if the widget is not realized, to avoid the dialog response before it
3723 Avoid premature responses in the HildonPickerDialog that can cause it
3724 to be hidden before it's even shown.
3726 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3728 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3729 (on_selector_columns_changed), (requires_done_button),
3730 (+prepare_action_area), (setup_interaction_mode),
3731 (_hildon_picker_dialog_set_selector):
3733 Split the interaction mode setup into preparation of the
3734 action area (prepare_action_area()) and the connection of
3735 the signals in setup_interaction_mode() and update the code to
3738 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3740 * src/hildon-pannable-area.c,
3741 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3742 per second to 15, we will check if this is ok regarding
3745 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3747 * src/hildon-pannable-area.c,
3748 (hildon_pannable_axis_scroll): Avoid resize if we already have
3749 reached overshoot_max.
3751 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3753 * src/hildon-pannable-area.c,
3754 (hildon_pannable_area_init),
3755 (hildon_pannable_area_realize),
3756 (hildon_pannable_area_size_allocate),
3757 (hildon_pannable_area_map),
3758 (hildon_pannable_area_unmap),
3759 (hildon_pannable_draw_vscroll),
3760 (hildon_pannable_draw_hscroll),
3761 (hildon_pannable_area_expose_event),
3762 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3763 pannable are to avoid the expose events go to the window and
3764 redraw the window. We save this way that part of the stack and the
3765 paint_boxes. We had to change the positions of the elements when
3768 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3771 * src/hildon-color-chooser-dialog.c:
3772 (hildon_color_chooser_dialog_init):
3773 * src/hildon-font-selection-dialog.c:
3774 (hildon_font_selection_dialog_init),
3775 (hildon_font_selection_dialog_show_preview):
3776 * src/hildon-get-password-dialog.c:
3777 * src/hildon-login-dialog.c:
3778 * src/hildon-set-password-dialog.c:
3779 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3780 * src/hildon-time-picker.c: (hildon_time_picker_init):
3782 Remove obsolete logical string IDs and update to the appropriate ones.
3784 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3786 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3789 that happens if the window hasn't been realized yet.
3791 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3792 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3794 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3796 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3797 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3800 Fixes: NB#98537 (Device hangs in account settings dialog)
3802 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3804 * configure.ac: post release version bump.
3805 * debian/changelog: version bump
3807 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3812 * configure.ac: Bump version.
3813 * debian/changelog: Updates.
3815 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3817 Added a new function to the HildonTimeButton widget that allows to
3818 change the step of the minutes in the selector associated with the
3819 button: hildon_time_button_new_step
3821 * src/hildon-time-button.c,
3822 (hildon_time_button_init),
3823 (hildon_time_button_new),
3824 (hildon_time_button_new_step):
3825 * src/hildon-time-button.h: Added the new function and refactored
3827 * examples/hildon-time-button-example.c,
3828 (main): We have replaced the function without parameters with the
3829 function with the steps set to 5
3831 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3833 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3835 * src/hildon-time-selector.c,
3836 (hildon_time_selector_class_init),
3837 (hildon_time_selector_constructor),
3838 (hildon_time_selector_get_property),
3839 (hildon_time_selector_set_property),
3840 (_create_minutes_model),
3841 (hildon_time_selector_new_step),
3842 (hildon_time_selector_set_time),
3843 * src/hildon-time-selector.h: Added a new property to the
3844 HildonTimeSelector (minutes-step), we use that property to control
3845 the steps between the minutes in the list of the selector. We have
3846 added a new function to the API to create a widget changing the
3847 step: hildon_time_selector_new_step.
3849 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3851 * src/hildon-time-selector.c,
3852 (hildon_time_selector_class_init),
3853 (hildon_time_selector_constructor),
3854 (hildon_time_selector_init): Overrided the construct function when
3855 creating the time selector object. We have moved the minutes model
3856 handling code from the init to the new construction function:
3857 hildon_time_selector_constructor.
3859 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3861 * examples/hildon-date-button-example.c: (main): Use the new
3862 hildon_date_button_new_with_year_range() method in the example.
3863 * src/hildon-date-button.c:
3864 (+hildon_date_button_new_with_year_range): New public method
3865 to conveniently create a HildonDateButton with a custom year range
3866 in its HildonDateSelector.
3867 * src/hildon-date-button.h: Add the new public method definition.
3869 Fixes: NB#97908 (Not possible to change the year range in
3870 HildonDateSelector/HildonDateButton)
3872 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3874 * src/hildon-date-selector.c:
3875 (+hildon_date_selector_set_property),
3876 (+hildon_date_selector_get_property),
3877 (hildon_date_selector_class_init): Install new properties "min-year"
3878 and "max-year" to define boundaries for the year column.
3879 (_create_year_model): Use the boundary properties to populate the model.
3880 (+hildon_date_selector_new_with_year_range): New public method to
3881 create a HildonDateSelector with a user defined year range.
3882 (hildon_date_selector_select_current_date): Use the new boundaries to
3883 calculate the iterator of current year.
3884 * src/hildon-date-selector.h: Add the new public method definition.
3886 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3889 Install a constructor method.
3890 (+hildon_date_selector_construct_ui): construct the widget.
3891 (+hildon_date_selector_constructor): new constructor.
3892 (+hildon_date_selector_init): move out widget construction code to
3893 the new constructor.
3895 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3897 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3898 that there's actually a month or year selected before obtaining them.
3899 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3900 of the HildonTouchSelector::changed signal, as it was emitted on every
3901 single item selection.
3903 Fix some warnings and possible crashers due to the selection restoring.
3905 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3907 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3908 the signal handlers only after creating the dialog instead of on every
3911 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-button.c (hildon_button_init)
3914 * src/hildon-check-button.c (hildon_check_button_init)
3915 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3916 focus when clicked by default.
3918 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3923 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3925 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3926 Alejandro G. Castro (alex@igalia.com)
3928 * src/hildon-picker-dialog.c:
3929 (hildon_picker_dialog_class_init): install new "center-on-show"
3931 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3932 (hildon_picker_dialog_set_property): add setter code for the new
3934 (hildon_picker_dialog_get_property): add getter code for the new
3936 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3937 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3940 Fixes: NB#92849 (Selected item is not always visible when
3941 HildonTouchSelector is shown)
3943 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3945 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3946 Alejandro G. Castro (alex@igalia.com)
3948 * src/hildon-touch-selector.c:
3949 (_create_new_column): Do not connect to the "realize" signal of the
3951 (hildon_touch_selector_append_column): center on the selected items
3952 when a new column is appended.
3953 (hildon_touch_selector_select_iter): Factor out the code to select a
3954 column to hildon_touch_selector_scroll_to().
3955 (+search_nearest_element): Method to retrieve the nearest selected
3956 element to the visible area of the pannable area in a column.
3957 (+on_realize_cb): scroll to the initially selected item.
3958 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3959 the pannable area is realized, otherwise delay this until it is.
3960 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3961 selected items of a given column.
3962 (+hildon_touch_selector_center_on_selected): Public method to center
3963 all columns on the nearest selected item.
3964 * src/hildon-touch-selector.h: Add definition for
3965 hildon_touch_selector_center_on_selected().
3967 Implement public API to ensure visibility of all selected items in
3968 a HildonTouchSelector.
3970 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3972 Fixed a problem in the fading when calling the scroll_to API, and
3973 improve scrollbar fading handling.
3975 * src/hildon-pannable-area.c,
3976 (hildon_pannable_area_grab_notify): avoid the timeout when the
3978 (hildon_pannable_area_button_press_cb),
3979 (hildon_pannable_area_motion_notify_cb): Code style changes.
3980 (hildon_pannable_area_button_release_cb): Review the conditions
3981 when releasing the mouse button to avoid unrequired fading
3983 (hildon_pannable_area_scroll_to): Do not calculate and set the
3984 velocity if the scroll is not required.
3986 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3988 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3989 Don't check whether the new selector is NULL: it cannot be.
3990 Hold a reference to the selector while doing the replacement.
3992 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3994 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3995 unnecessary size_request in a removed widget.
3997 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3999 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4000 an unnecessary reference tracking that was leaking.
4002 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4004 Added delayed motion notify event handling, this way we can
4005 discard redrawing if more than 25 events arrive per second.
4007 * src/hildon-pannable-area.c,
4008 (hildon_pannable_area_init): Initialized the new private atributes
4009 controlling this timeout
4010 (hildon_pannable_area_dispose): Remove the timeout that controls
4011 the motion notify events.
4012 (hildon_pannable_area_scroll): Added a condition to control the
4013 use of the acceleration.
4014 (hildon_pannable_area_motion_event_scroll_timeout),
4015 (hildon_pannable_area_motion_event_scroll): Added this two
4016 functions, they handle the motion notify events inside the
4018 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4019 to the scroll method with the new function.
4020 (hildon_pannable_area_button_release_cb): We have to remove the
4021 timeout handler and move to the last position if the last motion
4022 events were not handled.
4024 Fixes: NB#97028 (Pannable area updates on every motion event)
4026 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4028 * src/hildon-pannable-area.c,
4029 (hildon_pannable_area_get_topmost): Added a new parameter to
4030 filter the the windows that do not include those events. Added
4031 also a condition when finding the window to filter windows that do
4032 not ask for those events.
4033 (hildon_pannable_area_button_press_cb),
4034 (hildon_pannable_area_button_release_cb),
4035 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4036 topmost function, we have added the new parameter.
4038 Fixes: NB#97458 (Pannable area prevents propagation of button
4041 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4043 * src/hildon-pannable-area.c,
4044 (hildon_pannable_area_initial_effect): Added controls before
4045 launching the timeout and the idle functions.
4046 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4047 of the method, in some situations it can return with TRUE and 0 in
4049 (hildon_pannable_area_button_press_cb): We do not need to set
4050 DELAY for fading out here.
4052 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4054 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4057 post-cleaning if the selection is not NULL.
4059 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4062 all items before restoring the selection.
4064 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/hildon-touch-selector.c:
4067 (+hildon_touch_selector_unselect_all):
4068 * src/hildon-touch-selector.h: New API to unselect all items in a
4069 column of the touch selector.
4071 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4073 * src/hildon-pannable-area.c,
4074 (hildon_pannable_area_redraw): Added a call to the refresh
4075 function inside the redraw because apparently in some cases the
4076 change in the adjustment does not imply a size allocate.
4078 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4079 despite the view not being scrollable)
4081 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4084 leak. Check for NULL before attempting to set the window title.
4086 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4088 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4089 whether to show or not the 'Done' button each time the dialog is
4090 shown, as it depends on the HildonTouchSelector selection mode.
4092 Fixes: NB#96226 (In multiple selection mode Done button is shown
4093 sometimes in listpicker)
4095 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4098 for the number of columns in the HildonTouchSelector more than once.
4100 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-touch-selector.c: Minor documentation fixes.
4104 * src/hildon-picker-dialog.c (+_dialog_update_title)
4105 (_select_on_selector_changed_cb)
4106 (_update_title_on_selector_changed_cb)
4107 (on_selector_columns_changed): Update dialog title when there's no
4108 'Done' button and also when the number of columns in the selector
4112 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4113 (+_selection_changed, hildon_picker_button_on_dialog_response)
4114 (hildon_picker_button_selector_selection_changed)
4115 (+hildon_picker_button_selector_columns_changed)
4116 (hildon_picker_button_set_selector): Update button value and emit
4117 'value-changed' when the number of columns in the selector
4121 Fixes: NB#96225 (Dialog titles are not shown according to the
4122 values selected in the list picker)
4124 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4126 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4127 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4128 New "arrow-width" and "arrow-height" style properties to set the
4129 size of the arrow button.
4130 Set name of arrow button ("hildon-edit-toolbar-arrow").
4132 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4133 graphics from theme)
4135 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4137 * src/hildon-picker-button.c:
4138 (hildon_picker_button_selector_selection_changed): Use
4139 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4140 the dialog is present.
4142 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4143 the selection is accepted in the dialog)
4145 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4147 * src/hildon-color-chooser.h
4148 * src/hildon-color-chooser-dialog.h:
4149 Added G_BEGIN_DECLS and G_END_DECLS
4151 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4153 (_clean_current_selection): plug a leak in the list.
4155 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/hildon-picker-dialog.c:
4158 (+free_path_list): Method to free a GList of GtkTreePaths.
4159 (_clean_current_selection), (_save_current_selection),
4160 (_restore_current_selection): Save the current selection in
4161 as a list of lists, to support multiple selection properly.
4163 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4165 patch by Claudio Saavedra (csaavedra@igalia.com)
4167 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4168 Store the press position.
4169 (+hildon_text_view_button_release_event): If the release position is
4170 close enough to the press position, move the cursor here. Otherwise,
4172 (hildon_text_view_class_init): Override GtkTextView press, release, and
4173 motion event handlers, disabling this way text selection through
4174 pointer interaction, and allowing the container widget to handle the
4177 Fixes: NB#95828 (HildonTextView functionality)
4179 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4181 Based on a patch by Iván Gómez (igomez@igalia.com)
4183 * src/hildon-button.[ch]
4184 * src/hildon-calendar.c
4185 * src/hildon-check-button.c
4186 * src/hildon-date-editor.c
4187 * src/hildon-date-selector.c
4188 * src/hildon-picker-button.c
4189 * src/hildon-time-editor.c
4190 * src/hildon-time-selector.c
4191 * src/hildon-touch-selector.[ch]:
4192 Documentation updates
4194 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4196 * src/hildon-pannable-area.c,
4197 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4198 threshold, it was required due to X events handling.
4200 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4202 * src/hildon-pannable-area.c,
4203 (hildon_pannable_area_grab_notify),
4204 (hildon_pannable_area_initial_effect),
4205 (hildon_pannable_area_button_press_cb),
4206 (hildon_pannable_area_button_release_cb),
4207 (hildon_pannable_area_scroll_cb),
4208 (hildon_pannable_area_scroll_to): Review the timeout management of
4209 the scrollbar, the frecuency was incorrectly set.
4211 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4213 * src/hildon-picker-button.c:
4214 (+hildon_picker_button_on_dialog_response),
4215 (hildon_picker_button_clicked): Present the dialog instead of
4216 running it with gtk_dialog_run().
4218 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4221 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4223 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4224 (hildon_app_menu_finalize): When a window is hidden it doesn't
4225 emit notify::is-topmost, so make sure than the menu also
4226 disappears in that case.
4227 (parent_window_topmost_notify): Renamed from parent_window_hidden
4229 Fixes: NB#94460 (stackable window's menu is not closed when its
4232 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/hildon-touch-selector-entry.c:
4235 (+hildon_touch_selector_entry_set_input_mode),
4236 (+hildon_touch_selector_entry_get_input_mode):
4237 * src/hildon-touch-selector-entry.h: New methods to access the input
4238 mode in the selector's entry.
4240 Fixes: NB#93410 (API required for setting IM mode in
4241 HildonTouchSelectorEntry)
4243 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4245 * configure.ac: post release version bump.
4246 * debian/changelog: version bump
4248 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4253 * configure.ac: Bump version.
4254 * debian/changelog: Updates.
4256 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-touch-selector.c:
4259 (_hildon_touch_selector_has_multiple_selection): No need
4260 to initialize the variables here.
4262 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-note-private.h
4265 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4266 (hildon_note_finalize, hildon_note_rebuild): Close information
4267 notes when they receive a button press.
4269 Fixes: NB#89890 (Information notes does not get disappeared after
4272 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4275 mark from the wizard title, as it's not really necessary. Also,
4276 do not display the page title if not set.
4278 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4280 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4281 (parent_window_hidden): Use the window's "is-topmost" property to
4282 detect when to hide the menu.
4284 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4286 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4287 (hildon_app_menu_finalize): If the parent window of the menu is
4288 hidden, hide the menu too.
4290 Fixes: NB#94460 (stackable window's menu is not closed when its
4293 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4296 * debian/libhildon1-examples.install
4298 * examples/Makefile.am:
4299 Use dh_install to install all examples.
4300 Use DEB_SRCDIR instead of defining SOURCE_DIR
4302 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4304 * configure.ac: post release version bump.
4305 * debian/changelog: version bump
4307 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4312 * configure.ac: bump version
4313 * debian/changelog: updates
4314 * debian/control: bump gtk+ dependency
4316 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4318 patch by Christian Dywan (christian@imendio.com)
4320 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4321 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4323 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-check-button.c (hildon_check_button_init)
4326 (hildon_check_button_class_init, hildon_check_button_style_set)
4327 (hildon_check_button_apply_style):
4328 New "checkbox-size" style property.
4330 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4331 larger / configurable size)
4333 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4335 * configure.ac: post release version bump.
4336 * debian/changelog: version bump
4338 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4343 * configure.ac: bump version
4344 * debian/changelog: updates
4346 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4348 * doc/hildon-sections.txt
4349 * src/hildon-pannable-area.c
4350 * src/hildon-program.c
4351 * src/hildon-time-editor.c
4352 * src/hildon-touch-selector-entry.c:
4354 More documentation updates.
4356 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4358 * doc/hildon-sections.txt
4359 * src/hildon-caption.c
4360 * src/hildon-code-dialog.c
4361 * src/hildon-color-button.c
4362 * src/hildon-controlbar.c
4363 * src/hildon-date-editor.c
4364 * src/hildon-date-selector.c
4365 * src/hildon-edit-toolbar.c
4366 * src/hildon-find-toolbar.c
4367 * src/hildon-font-selection-dialog.c
4369 * src/hildon-program.c
4370 * src/hildon-range-editor.c
4371 * src/hildon-seekbar.c
4372 * src/hildon-time-editor.c
4373 * src/hildon-time-selector.c
4374 * src/hildon-volumebar-range.c
4375 * src/hildon-volumebar.c
4376 * src/hildon-vvolumebar.c
4377 * src/hildon-weekday-picker.c
4378 * src/hildon-window.c
4379 * src/hildon-wizard-dialog.c:
4381 Lots of documentation fixes.
4383 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4385 Patch contributed by Iván Gómez (igomez@igalia.com)
4387 * src/hildon-check-button.c:
4388 * src/hildon-date-button.c:
4389 * src/hildon-date-selector.c:
4390 * src/hildon-dialog.c:
4391 * src/hildon-edit-toolbar.c:
4392 * src/hildon-entry.c:
4393 * src/hildon-picker-button.c:
4394 * src/hildon-program.c:
4395 * src/hildon-text-view.c:
4396 * src/hildon-time-button.c:
4397 * src/hildon-touch-selector-entry.c:
4398 * src/hildon-window-stack.c:
4400 Add more "since" tags to the new API.
4402 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4404 * doc/hildon-sections.txt: Add below method.
4405 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4406 version for the hildonized scale.
4407 * src/hildon-gtk.h: Add the definition.
4409 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4411 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4413 * doc/hildon-sections.txt: Add missing entries for new methods.
4415 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4417 Added API to pannable are in order to get its adjustments. We
4418 added two properties to manage the values we had in the private
4421 * src/hildon-pannable-area.c:
4422 (hildon_pannable_area_class_init): Added hadjustment and
4423 vadjustment properties in order to expose horizontal and vertical
4425 (hildon_pannable_area_get_property),
4426 (hildon_pannable_area_set_property): Added code to handle the new
4428 (hildon_pannable_area_get_hadjustment),
4429 (hildon_pannable_area_get_vadjustment): API functions to get the
4431 * src/hildon-pannable-area.h:
4432 (hildon_pannable_area_get_hadjustment),
4433 (hildon_pannable_area_get_vadjustment): API functions to get the
4436 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4438 Fixed some leaks, after valgrinding.
4440 * src/hildon-touch-selector.c:
4441 (_default_print_func): Fixed a leak.
4442 (hildon_touch_selector_append_column): Fixed a leak.
4443 * src/hildon-date-button.c:
4444 (hildon_date_button_init): Fixed a leak.
4445 * src/hildon-date-selector.c
4446 (hildon_date_selector_finalize): Fixed a leak.
4448 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4450 Based on a patch by Christian Dywan (christian@imendio.com)
4452 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4454 * src/hildon-gtk.h: Add definition.
4456 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4458 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4460 * src/hildon-picker-button.c: (hildon_picker_button_init),
4461 (hildon_picker_button_new): Set the HildonButton::style property
4462 in the init method, to propagate the value to the derived classes.
4464 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4466 * src/hildon-button.c: (hildon_button_class_init): Do not make
4467 the "style" property a construct property.
4469 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4471 * src/hildon-wizard-dialog.h
4472 * src/hildon-wizard-dialog.c
4473 (hildon_wizard_dialog_set_forward_page_func)
4474 * src/hildon-pannable-area.h
4475 * src/hildon-pannable-area.c
4476 (hildon_pannable_area_set_size_request_policy):
4477 Documentation fixes.
4479 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4481 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4483 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4485 * doc/hildon-sections.txt: Added sections file.
4487 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/*.[ch]: Updates.
4492 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4494 * examples/hildon-progress-indicator-example.c: new file
4495 * examples/Makefile.am: include the new example program
4497 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4501 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4503 * configure.ac: post release version bump
4504 * debian/changelog: version bump
4506 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4511 * configure.ac: bump version
4512 * debian/changelog: updates
4513 * debian/control: bump gtk+ dependency
4515 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4517 * src/hildon-dialog.c: Mark as deprecated.
4518 * src/hildon-dialog.h: Mark as deprecated.
4519 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4520 from HildonDialog and still work, even if
4521 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4522 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4524 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4525 maemo changes) instead)
4527 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4529 * src/hildon-pannable_area.h:
4530 * src/hildon-pannable_area.c:
4531 (hildon_pannable_area_class_init),
4532 (hildon_pannable_area_set_property),
4533 (hildon_pannable_area_get_property),
4534 (hildon_pannable_area_size_request),
4535 (hildon_pannable_area_get_size_request_policy),
4536 (hildon_pannable_area_set_size_request_policy): Added new API
4537 allowing applications to control the request policy. Now they can
4538 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4539 children allocation (HILDON_MOVEMENT_CHILDREN).
4541 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4545 (hildon_gtk_tree_view_set_ui_mode)
4546 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4547 mode of treeviews and iconviews.
4549 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-touch-selector-entry.c:
4552 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4553 of a GtkEntry to get proper theming.
4555 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4556 widget, not GtkEntry)
4558 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4560 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4561 no HildonWizardDialogPageFunc.
4563 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4565 Patch contributed by Iván Gómez (igomez@igalia.com)
4567 * src/hildon-app-menu.c:
4568 * src/hildon-button.c:
4569 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4570 * src/hildon-stackable-window.c:
4571 * src/hildon-time-selector.c:
4572 * src/hildon-touch-selector.c:
4573 * src/hildon-window.c:
4575 Add more "since" tags to the new API in hildon 2.2.
4577 2008-12-05 Tim Janik <timj@imendio.com>
4579 Patch contributed by Christian Dywan (christian@imendio.com)
4581 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4582 HildonSizeType, which are supplied by Gtk+ now.
4584 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4586 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4587 (with maemo changes) instead)
4589 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4591 Patch contributed by Iván Gómez (igomez@igalia.com)
4593 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4596 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4598 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4599 (some_page_func), (main): Update the example to use a
4600 HildonWizardDialogPageFunc function.
4602 * src/hildon-wizard-dialog-private.h: Add private data for
4603 the HildonWizardDialogPageFunc function usage.
4605 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4606 (destroy), (hildon_wizard_dialog_init), (response),
4607 (hildon_wizard_dialog_set_forward_page_func):
4608 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4609 that applications can use to stop a HildonWizardDialog to jump to
4612 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4615 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4617 * src/hildon-program.h
4618 * src/hildon-program-private.h
4619 * src/hildon-program.c (hildon_program_init)
4620 (hildon_program_set_common_app_menu)
4621 (hildon_program_get_common_app_menu):
4622 New API for setting a common HildonAppMenu for all
4623 HildonStackableWindows registered with the HildonProgram.
4625 * src/hildon-stackable-window.c
4626 (hildon_stackable_window_toggle_menu):
4627 Use the common HildonAppMenu if a window doesn't have a specific
4630 * src/hildon-app-menu-private.h
4631 * src/hildon-app-menu.c
4632 (hildon_app_menu_get_parent_window):
4633 Function to obtain the window a HildonAppMenu is attached to.
4634 (hildon_app_menu_set_parent_window):
4635 Hide the menu if the parent window is set to NULL.
4637 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4639 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4640 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4641 search widget to popup.
4643 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4645 * configure.ac: post release version bump
4646 * debian/changelog: version bump
4648 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4653 * configure.ac: bump version
4654 * debian/changelog: updates
4656 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4658 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4660 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4661 (hildon_window_stack_window_realized)
4662 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4663 Set the leader GdkWindow when a window is stacked and realized,
4664 unset it when it's unstacked.
4665 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4667 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4669 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4671 * src/hildon-stackable-window.h
4672 * src/hildon-window-stack.h:
4673 Protect definition of HildonWindowStack using the preprocessor.
4675 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4678 Fix warning if all menu items are hidden.
4680 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4682 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4684 * src/hildon-controlbar.c:
4685 * src/hildon-hvolumebar.c:
4686 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4687 Multiple scale size defines updates.
4689 Fixes: NB#94322 (Scale Updates)
4691 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4693 * examples/hildon-app-menu-example.c (create_menu)
4694 Show items after adding them to the menu, as in the future the
4695 menu will no longer call gtk_widget_show() on the added items.
4697 * src/hildon-app-menu.c:
4698 Update example as explained above.
4700 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-app-menu.c
4703 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4704 Make sure that all menu items have finger height.
4706 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4708 * src/hildon-picker-dialog.c:
4709 (_on_dialog_response), (_save_current_selection),
4710 (_restore_current_selection), (_clean_current_selection),
4711 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4712 Defined new functions in order to save the current internal selector
4713 selection previous open the dialog, in case that the use cancel the
4714 interaction, so the widget restores the previous selection.
4716 Fixes: NB#92032 (In calendar application, date values in 'new event'
4719 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4721 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4723 * src/hildon-button.c: Add a reference to the button examples in
4724 hildon-button-example.c
4726 * examples/hildon-button-example.c: Added examples of the most
4727 common button layouts.
4729 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4731 * src/hildon-app-menu.c (hildon_app_menu_show)
4732 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4734 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4736 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4738 * src/hildon-picker-dialog.c:
4739 (hildon_picker_dialog_init): Initialize the signal id for
4740 HildonTouchSelector::columns-changed.
4741 (+on_selector_columns_changed): Set up the interaction mode everytime a
4742 column is added or removed from the HildonTouchSelector.
4743 (_hildon_picker_dialog_set_selector): Connect to
4744 HildonTouchSelector::columns-changed and keep track of it.
4746 Make sure to update the interaction mode of the dialog everytime a
4747 column is added or removed in the HildonTouchSelector.
4749 Fixes: NB#93228 (Done button is not shown always in listpicker)
4751 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4753 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4754 a new ::columns-changed signal.
4755 (hildon_touch_selector_append_column): Emit ::columns-changed.
4756 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4758 Add a ::columns-changed signal, emitted when the number of columns in a
4759 HildonTouchSelector changes.
4761 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4763 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4764 (_hildon_picker_dialog_set_selector): Factor out the code
4765 to set up the dialog interaction mode.
4767 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4770 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4771 to signal_changed_id.
4773 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4778 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4780 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4781 Updated the logical ids related to ampm format, as now it is required to
4782 show it correctly localized even on languages with no default
4783 abbreviations for am or pm
4784 (_check_am_pm_format): check correctly the 24h format gconf property
4786 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4788 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4790 * src/hildon-button.c: Documentation updates.
4792 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4794 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4795 * src/hildon-caption.c: (hildon_caption_class_init):
4796 * src/hildon-color-button.c: (hildon_color_button_class_init):
4797 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4798 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4799 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4800 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4802 Remove deprecated GTK+ marshalers and replace them with the ones
4803 provided by GLib, for those available, add a marshaler for
4804 BOOLEAN:VOID, which is not available in GLib, and use it.
4806 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4808 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4809 the text from the previous column if there is no
4810 HildonTouchSelectorColumn::text-property set.
4812 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4814 * src/hildon-button.h
4815 * src/hildon-button.c (hildon_button_set_property)
4816 (hildon_button_get_property, hildon_button_class_init)
4817 (hildon_button_set_style, hildon_button_get_style):
4818 New "style" property to change the visual appearance of the
4821 * src/hildon-picker-button.c (hildon_picker_button_new):
4822 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4824 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4825 HildonButton look like PickerButton)
4827 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4830 column while building the default string.
4832 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4834 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4835 scroll indicator by default.
4837 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4839 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4841 * src/hildon-main.c: Fix the documentation for hildon_init()
4843 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4845 * doc/hildon-docs.sgml
4849 * src/hildon-window-stack-private.h
4850 * src/hildon-window-stack.h
4851 * src/hildon-window-stack.c:
4852 New HildonWindowStack object, that adds support for multiple
4853 stacks of windows per process.
4855 * src/hildon-stackable-window-private.h
4856 * src/hildon-stackable-window.h
4857 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4858 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4859 (hildon_stackable_window_show, hildon_stackable_window_hide)
4860 (hildon_stackable_window_class_init)
4861 (hildon_stackable_window_init):
4862 Use HildonWindowStack for stack management.
4864 * src/hildon-program.c (hildon_program_pop_window_stack)
4865 (hildon_program_peek_window_stack)
4866 (hildon_program_go_to_root_window):
4867 Add a fallback implementation to the deprecated functions using
4870 * examples/hildon-stackable-window-example.c:
4871 Use the new HildonWindowStack API.
4873 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4875 * src/hildon-stackable-window-private.h
4876 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4877 (hildon_stackable_window_hide, hildon_stackable_window_init):
4878 Remove all window stack management.
4880 * src/hildon-program-private.h
4881 * src/hildon-program.h
4882 * src/hildon-program.c (hildon_program_init)
4883 (hildon_program_pop_window_stack)
4884 (hildon_program_peek_window_stack)
4885 (hildon_program_go_to_root_window):
4886 Remove all window stack management and mark functions as
4889 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4891 * src/hildon-app-menu.c (hildon_app_menu_realize):
4892 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4894 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4896 * configure.ac: post release version bump
4897 * debian/changelog: version bump
4899 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4904 * configure.ac: bump version
4905 * debian/changelog: updates
4907 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4909 Based on initial code by Christian Dywan (christian@imendio.com)
4911 * doc/hildon-docs.sgml: Add section for hildon-main.
4912 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4913 * src/Makefile.am: Add new hildon-main.[ch]
4914 * src/hildon-defines.h: Update the icon sizes.
4915 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4916 new library initialization files and register icon sizes.
4917 * src/hildon-main.h: New declarations.
4918 * src/hildon.h: Include hildon-main.h
4920 Add new initialization functions to the library. These methods
4921 will register the hildon specific icon sizes and can be used in the
4922 future for other hildon specific bits.
4924 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4926 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4928 * src/hildon-window.c: (hildon_window_realize),
4929 (hildon_window_notify), (-hildon_window_update_title): Do not set
4930 the application name in the window title.
4932 Fixes: NB#89754 (Applications shouldn't display their names in the
4935 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-note-private.h:
4938 * src/hildon-note.c: (hildon_note_set_property),
4939 (hildon_note_get_property), (hildon_note_class_init),
4940 (hildon_note_init), (hildon_note_finalize),
4941 (hildon_note_new_confirmation_with_icon_name),
4942 (hildon_note_new_information_with_icon_name):
4944 No need to mark as deprecated the actual code. Revert
4945 to avoid missing symbols in widgets using deprecated API.
4947 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4949 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4951 * src/hildon-volumebar.h
4952 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4953 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4955 * src/hildon-helper.h
4956 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4957 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4959 * examples/Makefile.am:
4960 Deprecate hildon-insensitive-example
4962 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4964 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4966 * examples/hildon-pannable-area-buttons-scroll-example.c:
4967 Make all buttons finger height
4969 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4971 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4973 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4974 update the day model only if it is really required, and to avoid the
4975 full-reconstruction aproach. Now it only add or remove the required days.
4977 The purpose of this is avoid superfluous HildonTouchSelector::changed
4980 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4981 with strange parameters)
4983 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4985 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4987 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4988 the WINDOW_TYPE property.
4990 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4992 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4995 Fix dependency to allow parallel compilation with make -jX
4997 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4999 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5000 color frame and some minor tweaks to make it more consistent with
5003 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5004 highlighted but not visible)
5006 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5008 * examples/Makefile.am: Fixed typo in the Makefile.am.
5010 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5012 Reviewed the use of MAEMO_GTK define, now we add the define in the
5013 compilation line, and we also add it to the pc file.
5015 * configure.ac: Added MAEMO_GTK define to the compilation command
5016 and removed it from the config.h.
5018 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5019 do not have to take care about this define if the library was
5023 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5025 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5027 * examples/Makefile.am,
5028 * examples/hildon-pannable-area-buttons-scroll-example.c,
5029 * examples/hildon-pannable-area-gesture-signals-example.c,
5030 * examples/hildon-pannable-area-scroll-jump-example.c,
5031 * examples/hildon-pannable-area-tree-view-example.c:
5032 Renamed the pannable area examples, now they have more meaningful
5035 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5037 * src/hildon-touch-selector.c:
5038 (hildon_touch_selector_set_column_selection_mode): Used of
5039 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5040 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5041 to avoid re-seting the same selection mode.
5043 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5044 breaks HildonPickerDialog)
5046 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5048 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5049 conditional in the Makefile.am
5051 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5053 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5054 Remove unused methods.
5056 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5058 * src/hildon-button.c (hildon_button_init):
5059 Make button images center-aligned by default
5061 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5064 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5065 activated, we have to think about how to deal with both defines
5066 MAEMO_GTK and MAEMO_CHANGES.
5068 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5070 * examples/hildon-app-menu-example.c (create_menu): Make all
5071 buttons finger size.
5073 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5075 Fixed the compilation without maemo gtk adding ifdefs with
5076 MAEMO_GTK define to the code, we have to check this version more
5079 * examples/Makefile.am: Added control to avoid some examples that
5080 just make sense with maemo gtk.
5083 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5084 hildon modes with the define.
5086 * examples/hildon-edit-toolbar-example.c,
5087 (create_icon_view): Create the icon view without hildon-gtk
5088 helpers if we are not using maemo gtk.
5090 * src/hildon-touch-selector.c,
5091 (_create_new_column): Create the treeview without hildon-gtk
5092 helpers if we are not using maemo gtk.
5094 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5096 * src/hildon-pnnable-area.c,
5097 (hildon_pannable_area_dispose),
5098 (hildon_pannable_area_button_press_cb),
5099 (hildon_pannable_area_child_mapped),
5100 (hildon_pannable_area_add),
5101 (hildon_pannable_area_remove): Added code to control the position
5102 of the event_window when adding and removing children from the
5103 pannable. We have to raise the event window when the child is
5106 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5107 selection mode using custom widget inside pannable)
5109 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5111 * configure.ac: post release version bump
5112 * debian/changelog: version bump
5114 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5119 * configure.ac: bump version
5120 * debian/changelog: updates
5122 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5124 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5125 search mode, in order to avoid lose the focus on the treeview when
5126 a hw key (like enter) is pressed.
5128 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5129 in HildonDateSelector dialog)
5131 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5133 * debian/rules: Added --enable-maintainer-mode
5134 * Makefile.am: Added ACLOCAL_AMFLAGS
5136 This allows to properly regenerate the Makefiles if you modify the
5137 configure.ac or any Makefile.am.
5139 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5141 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5142 properties, not needed at all.
5144 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5146 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5148 * src/hildon-note.c: (hildon_note_set_property),
5149 (hildon_note_get_property), (hildon_note_class_init),
5150 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5151 (hildon_note_new_confirmation_add_buttons): Remove icons.
5152 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5153 (hildon_note_new_information_with_icon_name): Deprecate.
5154 (hildon_note_new_confirmation): Act directly, without calling
5155 the deprecated constructor.
5156 (hildon_note_new_information): Act directly, without calling
5157 the deprecated constructor.
5158 * src/hildon-note.h: Mark deprecate methods as such.
5159 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5160 not run tests on the deprecated methods if built with deprecation
5163 Fixes: NB#91688 (Never show icons in information notes/confirmation
5166 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5168 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5169 (hildon_app_menu_key_press): Remove leftover usage of the
5170 private structure in HildonAppMenu struct.
5171 * src/hildon-app-menu.h: Remove leftover private structure
5172 from the HildonAppMenu struct.
5174 Fixes a crasher when using the HildonAppMenu.
5176 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-picker-dialog.c: Use appropriate logical id
5179 for the default "Done" text.
5181 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5183 * configure.ac: post release version bump
5184 * debian/changelog: version bump
5186 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5188 Modified the way to scroll to the current selection just when the touch
5189 selector is shown on the screen, avoiding a g_idle. Added too a property
5190 to configure this behaviour. See hildon_pannable_area_jump_to_child
5191 documentation for more information.
5193 * src/hildon-touch-selector.c
5194 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5195 Added 'initial-scroll' property
5196 (hildon_touch_selector_set_property): Added
5197 (hildon_touch_selector_map): Removed as not required anymore
5198 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5199 only a concrete column, instead of iterate along all the columns
5201 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5206 * configure.ac: bump version
5207 * debian/changelog: updates
5209 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5211 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5212 compilation time warnings.
5214 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5217 the default value for HildonPannableArea::mov-mode to
5218 HILDON_PANNABLE_AREA_MODE_VERT.
5220 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5222 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5224 Reverting following commit:
5226 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5228 * src/hildon-app-menu-private.h
5229 * src/hildon-app-menu.[ch]
5230 * src/hildon-button.[ch]
5231 * src/hildon-check-button.[ch]
5232 * src/hildon-entry.[ch]
5233 * src/hildon-pannable-area.[ch]
5234 * src/hildon-text-view.[ch]:
5235 Added private field to the object's structure.
5237 because it causes an ABI breakage. We will need to introduce these
5238 changes later at some point. See NB#91636 for an extensive
5239 explanation and status.
5241 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5243 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5245 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5246 remove special cases that are no longer necessary.
5248 Fixes: NB#91016 (Change toolbar sizes, simplification)
5250 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5252 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5253 is shown in the cancel note.
5255 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5257 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5258 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5259 (hildon_seekbar_init): Remove steppers, remove expose event.
5260 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5262 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5264 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5267 label font to "SmallSystemFont" for vertically arranged buttons.
5269 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5272 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-check-button.c
5275 (hildon_check_button_set_active, hildon_check_button_clicked):
5276 Don't access private parts directly, use getters instead.
5278 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5280 * src/hildon-check-button.c (hildon_check_button_new):
5281 Align the contents of the check button to the left.
5283 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5285 * src/hildon-pannable-area.c,
5286 (hildon_pannable_area_scroll_to),
5287 (hildon_pannable_area_jump_to),
5288 (hildon_pannable_area_scroll_to_child),
5289 (hildon_pannable_area_jump_to_child): Replace the mapped
5290 precondition of these functions with the realized, it is the
5291 correct state of the widget in this case. Changed the
5292 documentation according to this modification.
5294 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5296 Added a new EXTRA_CFLAGS option to add the deprecated define to
5297 the compilation command. This way we can avoid using the define in
5298 the documentation compilation.
5300 * configure.ac: Defined EXTRA_CFLAGS.
5302 * examples/Makefile.am:
5304 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5306 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5308 * src/hildon-picker-dialog.c:
5309 Defined a utility macro with the desired touch selector height
5310 Removed currently unused separator, and title_label variables from
5312 (hildon_picker_dialog_init): Removed code related to the creation
5313 of unused private variables title_label and separator.
5314 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5315 to ensure correct visualization of the touch selector inside the dialog.
5316 * src/hildon-touch-selector.c
5317 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5318 ensure a concrete height of the widget.
5320 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5323 * tests/Makefile.am:
5325 Remove spurious whitespaces.
5327 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5329 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5330 compilation warning after the cancel button removal.
5332 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5334 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5336 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5337 Makefile.am, that way we can choose not to compile some examples
5338 and tests of the deprecated widgets.
5340 * examples/Makefile.am: Divided the sources in deprecated and
5343 * src/Makefile.am: Added undef statement of the deprecated
5344 symbol to the enums file generation process.
5346 * src/hildon-color-chooser-dialog.c
5347 * src/hildon-color-chooser-dialog.h
5348 * src/hildon-color-button.c
5349 * src/hildon-color-button.h
5350 * src/hildon-color-chooser.c
5351 * src/hildon-color-chooser.h
5352 * src/hildon-controlbar.c
5353 * src/hildon-controlbar.h
5354 * src/hildon-date-editor.c
5355 * src/hildon-date-editor.h
5356 * src/hildon-hvolumebar.c
5357 * src/hildon-hvolumebar.h
5358 * src/hildon-private.c
5359 * src/hildon-private.h
5360 * src/hildon-range-editor.c
5361 * src/hildon-range-editor.h
5362 * src/hildon-seekbar.c
5363 * src/hildon-seekbar.h
5364 * src/hildon-time-editor.c
5365 * src/hildon-time-editor.h
5366 * src/hildon-time-picker.c
5367 * src/hildon-time-picker.h
5368 * src/hildon-volumebar.c
5369 * src/hildon-volumebar.h
5370 * src/hildon-vvolumebar.c
5371 * src/hildon-vvolumebar.h
5372 * src/hildon-bread-crumb-trail.h
5373 * src/hildon-bread-crumb-trail.c
5374 * src/hildon-calendar-popup.c
5375 * src/hildon-calendar-popup.h
5376 * src/hildon-weekday-picker.c:
5377 * src/hildon-weekday-picker.h:
5378 * src/hildon-bread-crumb-widget.c:
5379 * src/hildon-bread-crumb-widget.h:
5380 * src/hildon-bread-crumb.c:
5381 * src/hildon-bread-crumb.h:
5382 * src/hildon-calendar.c:
5383 * src/hildon-calendar.h:
5384 * src/hildon-caption.c:
5385 * src/hildon-code-dialog.c:
5386 * src/hildon-code-dialog.h:
5387 * src/hildon-font-selection-dialog.c:
5388 * src/hildon-font-selection-dialog.h:
5389 * src/hildon-get-password-dialog.c:
5390 * src/hildon-get-password-dialog.h:
5391 * src/hildon-login-dialog.c:
5392 * src/hildon-login-dialog.h:
5393 * src/hildon-number-editor.c:
5394 * src/hildon-number-editor.h:
5395 * src/hildon-set-password-dialog.c:
5396 * src/hildon-set-password-dialog.h:
5397 * src/hildon-sort-dialog.c:
5398 * src/hildon-sort-dialog.h: This is the list of deprecated
5401 * src/hildon-touch-selector.c:
5402 * src/hildon-window.c: Added undef statement to avoid compilation
5405 * tests/Makefile.am: Divided the sources in deprecated and
5408 * tests/check_test.c,
5409 (configure_tests): Marked the deprecated code that was adding
5410 suites with deprecated tests.
5412 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5414 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5416 * src/hildon-touch-selector.c: (_default_print_func): Do not
5417 duplicate a string returned by gtk_tree_model_get(), it is already
5420 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5423 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5425 * src/hildon-pannable-area.c
5426 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5427 method, it had problems when adding a widget with viewport the
5428 second time. Now checks if it already has a viewport and uses it.
5430 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5433 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5435 * src/hildon-pannable-area.c,
5436 (hildon_pannable_area_scroll_to),
5437 (hildon_pannable_area_jump_to),
5438 (hildon_pannable_area_scroll_to_child),
5439 (hildon_pannable_area_jump_to_child): Added a precondition to the
5440 scroll and jump to functions: the widget must be mapped before we
5441 can safely call these functions. We have also added documentation
5442 to the functions to explain how to use them in this situation.
5445 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5447 Reviewed the threading handling of the pannable widget, we have
5448 used the gdk_threads_add_timeout function instead of the usual
5449 glib handlers. This avoids some problems with the threads.
5451 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5452 (hildon_pannable_area_initial_effect),
5453 (hildon_pannable_area_scroll_indicator_fade),
5454 (hildon_pannable_area_button_press_cb),
5455 (hildon_pannable_area_timeout),
5456 (hildon_pannable_area_motion_notify_cb),
5457 (hildon_pannable_area_button_release_cb),
5458 (hildon_pannable_area_scroll_cb),
5459 (hildon_pannable_area_scroll_to): Removed the
5460 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5461 gdk_threads_add_timeout.
5463 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5465 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5470 * configure.ac: bump version
5471 * debian/changelog: updates
5473 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5475 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5476 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5477 * src/hildon-color-chooser-dialog.c:
5478 (hildon_color_chooser_dialog_init):
5479 * src/hildon-font-selection-dialog.c:
5480 (hildon_font_selection_dialog_init):
5481 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5483 Remove all cancel/close-like dialogs, as these are not going to be
5486 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-note.c: (hildon_note_rebuild),
5489 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5492 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5494 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5496 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5497 sure all buttons are shown, even the Cancel/Close-like ones.
5499 Fixes: NB#90861 (Custom Confirmation dialogs should be
5500 protected from cancel button removal)
5502 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5504 * debian/control: Change libhildon1-examples dependency from libhildon1
5506 * debian/libhildon1-examples.install
5508 * Makefile.am: Modified the final install directory for the examples on
5509 package libhildon1-examples
5510 * Makefile.static: Update clean target in order to remove all the binary
5513 Changes suggested by Claudio after review new libhildon1-examples package
5515 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5517 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5518 * src/hildon-touch-selector.c: Ditto.
5520 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5522 * debian/control: Added new package libhildon1-examples, in order to pack
5523 the current hildon examples as documentation
5524 * debian/rules: Not to compress .c files, modify some includes on the
5525 examples (as normally are compiled locally, but when installed it will
5526 require to include the installed libhildon1 library), and rename
5528 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5529 install all the example files on the new example package
5530 * examples/Makefile.static: Added static makefile that can be used to
5531 compile the examples, once installed the new example package
5532 * examples: Most of the examples were modified in order to grant that
5533 all use only '#include "hildon.h"', in order to be easy to prepare
5534 it on the example package
5536 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5539 * debian/libhildon1-dev.install
5540 * debian/libhildon1-doc.install:
5541 Move all gtk-doc files to a separate libhildon1-doc package.
5543 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5545 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5547 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5549 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5551 * debian/rules: Fixed a error in order to avoid unnecessary calls
5552 to autogen.sh on package building
5554 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5556 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5558 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5563 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5565 * src/hildon-picker-button.c
5566 (hildon_picker_button_finalize):
5567 Free priv->done_button_text
5569 * src/hildon-time-button.c
5570 (hildon_time_button_set_time)
5571 * src/hildon-picker-button.c
5572 (hildon_picker_button_clicked)
5573 (hildon_picker_button_selector_selection_changed)
5574 (hildon_picker_button_set_selector)
5575 * src/hildon-date-button.c
5576 (hildon_date_button_set_date):
5577 Free strings returned by hildon_touch_selector_get_current_text()
5579 * src/hildon-button.c (hildon_button_construct_child):
5580 Fix leaks in priv->image and priv->label_box
5582 Fixes: NB#90535 (Memory leak in picker button)
5584 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-button.c: (hildon_button_get_property): Do not access
5587 private elements directly, use getters instead.
5589 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5591 * src/hildon-app-menu-private.h
5592 * src/hildon-app-menu.c
5593 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5594 Store the menu's parent window.
5596 * src/hildon-stackable-window.c
5597 (hildon_stackable_window_toggle_menu)
5598 (hildon_stackable_window_finalize):
5599 Set the menu's parent window when the menu is shown, unset it when
5602 * src/hildon-app-menu.c
5603 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5604 (hildon_app_menu_class_init):
5605 Send unhandled keyboard accelerators to the parent window.
5607 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5609 * src/hildon-stackable-window.c
5610 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5612 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5614 * configure.ac: post release version bump
5616 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5619 * configure.ac: Bump version
5620 * debian/changelog: Updates
5621 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5624 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5626 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5629 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5630 GtkMenu with Hildon style.
5632 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5634 * src/hildon-picker-button.c:
5635 (hildon_picker_button_set_done_button_text): Set the dialog's
5636 done button text here as well.
5638 Fixes: NB#90232 (Picker button does not set the label on done button
5639 for the second time)
5641 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5646 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-app-menu.c (hildon_app_menu_insert)
5649 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5650 the HildonAppMenu to be activatable using keyboard accelerators
5651 when the menu is not being shown.
5653 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5655 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5657 * src/hildon-stackable-window.c
5658 (hildon_stackable_window_show):
5659 Don't hide old windows automatically when new windows are shown:
5660 this is now a task for the window manager.
5661 (hildon_stackable_window_class_init)
5662 (hildon_stackable_window_hide):
5663 Remove windows from the stack everytime they're hidden.
5664 (hildon_stackable_window_realize):
5665 Don't change the _NET_WM_WINDOW_TYPE property. Use
5666 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5667 it as a stackable window.
5669 * src/hildon-program.c
5670 (hildon_program_pop_window_stack):
5671 Just hide the window to remove it from the stack.
5672 (hildon_program_go_to_root_window):
5673 Don't call gtk_widget_show(), this is now a task for the window
5676 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5678 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5680 * src/hildon-button.c
5681 (hildon_button_construct_child):
5682 Don't pack anything in the button until text or image are
5683 set. This allows adding a custom child after creating the button
5684 with hildon_button_new().
5685 (hildon_button_finalize, hildon_button_class_init)
5686 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5687 alignment and the label box even when they're not packed in the
5690 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5692 * src/hildon-touch-selector.h:
5693 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5694 currently the type definition was using GTK_TYPE_VBOX
5695 * src/hildon-touch-selector.c:
5696 Added some implementation notes in order to clarify that any other widget
5697 added without the column related API will not be included on the
5698 selection logic, and how the widget is freed, as some people ask about
5700 (hildon_touch_selector_remove): Reimplemented in order to free properly
5701 the column related data when you remove the private hbox.
5702 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5703 to get a proper HildonTouchSelectorColumn documentation
5705 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5707 * src/hildon-touch-selector-entry.c:
5708 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5709 text in the GtkEntry and there is no item selected. Fixes a
5712 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5714 * src/hildon-app-menu-private.h
5715 * src/hildon-app-menu.[ch]
5716 * src/hildon-button.[ch]
5717 * src/hildon-check-button.[ch]
5718 * src/hildon-entry.[ch]
5719 * src/hildon-pannable-area.[ch]
5720 * src/hildon-text-view.[ch]:
5721 Added private field to the object's structure.
5723 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5725 * configure.ac: post-release version bump
5727 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5731 * configure.ac: pre-release version bump
5733 * debian/changelog: updates.
5735 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5737 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5738 Disconnect the handler for HildonTouchSelector::changed.
5740 (hildon_picker_button_selector_selection_changed): Update the button
5741 value if the selection change was not triggered by the
5744 (hildon_picker_button_set_selector): connect to
5745 HildonTouchSelector::changed.
5747 Fixes: NB#89650 (Picker button is not updated, when selection in
5748 selector has changed)
5750 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5752 * src/hildon-picker-dialog.c
5753 (hildon_picker_dialog_realize): Removed as not required
5754 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5755 * src/hildon-picker-button.c
5756 (_current_selector_empty): New function, checks if the selector is empty
5757 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5758 if the current selector is empty, in order to avoid to show the dialog
5759 close the dialog in this case (and shows a g_warning).
5761 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5763 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5765 * src/hildon-pannable-area.c,
5766 (hildon_pannable_area_scroll): Added clause to stop movement when
5767 the child of pannable is smaller than one page.
5768 (hildon_pannable_area_scroll_to): Added conditions to avoid
5769 starting the scrolling movement if the child is smaller than one
5770 page, the complete child is in the screen, we do not have to move.
5772 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5774 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5777 this is managed automatically by the widget when the size of the
5780 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5782 * src/hildon-picker-button.c
5783 (hildon_picker_button_set_done_button_text): Make a copy of the
5784 text, and free the previous value.
5786 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5788 * src/hildon-touch-selector-entry.c:
5789 (hildon_touch_selector_entry_print_func): Return the selected row's
5790 text if the entry is empty.
5792 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5795 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5797 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5799 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5802 * src/hildon-check-button.h
5803 * src/hildon-check-button.c
5804 * examples/hildon-check-button-example.c:
5805 HildonCheckButton is now a new widget. 'toggled' signal added.
5807 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5809 * src/hildon-program-private.h
5810 * src/hildon-program.c (hildon_program_init)
5811 (hildon_program_finalize): Removed unused variables group_leader
5812 and name from HildonProgramPrivate.
5814 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5816 * src/hildon-check-button.c (hildon_check_button_set_active)
5817 (hildon_check_button_get_active, hildon_check_button_new): Use
5818 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5820 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5822 * src/hildon-touch-selector.h
5823 (hildon_touch_selector_set_column_attributes): added deprecation
5824 guard HILDON_DISABLE_DEPRECATED
5825 * src/hildon-time-selector.c
5826 (hildon_time_selector_set_time)
5827 (hildon_time_selector_get_time): Fixed a typo on documentation
5828 * src/hildon-touch-selector.c: update HildonTouchSelector and
5829 HildonTouchSelectorColumn documentation
5830 * src/hildon-touch-selector-entry.c: update "text-column" property
5832 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5833 to be added to the general documentation.
5835 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5837 * examples/hildon-pannable-area-example-4.c,
5839 * examples/hildon-pannable-area-example.c,
5840 (main): Modified the code in order to use the container add, with
5841 viewport treeviews could have problems if they are really big.
5843 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5845 * src/hildon-weekday-picker.c,
5846 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5847 the agreement regarding deprecation in the library.
5849 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5851 * examples/hildon-picker-button-multicolumn-example.c:
5852 (main): Use custom "done" button text.
5854 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5855 (hildon_picker_button_set_property),
5856 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5857 (hildon_picker_button_init),
5858 (+hildon_picker_button_get_done_button_text),
5859 (+hildon_picker_button_set_done_button_text): New methods to customize
5860 the "done" button label in the launched HildonPickerDialog. Also,
5863 * src/hildon-picker-button.h: add the public API.
5865 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5867 * src/hildon-date-selector.h:
5868 * src/hildon-picker-dialog.h:
5869 * src/hildon-time-selector.h:
5870 * src/hildon-touch-selector-column.h:
5871 * src/hildon-touch-selector.h:
5873 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5874 declarations. Fixes gtk-doc warnings.
5876 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5878 * src/hildon-picker-dialog.h
5879 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5880 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5882 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5883 long text is set as label for done button)
5885 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5887 * src/hildon-dialog.c (hildon_dialog_add_button):
5888 Set fixed width to all buttons in the HildonDialog.
5890 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5892 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5894 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5895 Set widget name using class name plus "-finger" or "-thumb".
5897 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5899 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5900 'clicked' when the state of the button is manually changed.
5902 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-app-menu.c (hildon_app_menu_realize)
5905 (hildon_app_menu_unrealize, hildon_app_menu_init)
5906 (hildon_app_menu_class_init, item_visibility_changed):
5907 Change the menu layout when the size of the screen changes.
5908 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5909 Show warning only when changing the number of colums using the
5912 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5914 * debian/compat: Set to 5
5915 * debian/control: Update dependencies.
5916 * debian/libhildon1-dbg.install: Remove.
5917 * debian/libhildon1-dev.install: Update according to cdbs paths.
5918 * debian/libhildon1.install: Update according to cdbs paths.
5919 * debian/rules: Switch to cdbs.
5921 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5923 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5924 'item' variable renamed to 'filter'
5926 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5928 * src/hildon-app-menu.c (hildon_app_menu_insert)
5929 (hildon_app_menu_add_filter, remove_item_from_list)
5930 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5931 Don't leak hidden items when the menu is destroyed.
5933 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-app-menu.c (hildon_app_menu_insert)
5936 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5937 (hildon_app_menu_set_columns, item_visibility_changed)
5938 (filter_visibility_changed, hildon_app_menu_repack_filters)
5939 (hildon_app_menu_repack_items):
5940 Repack items and filters separately.
5942 Don't repack all items, change only the ones that are needed to
5945 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5947 * src/Makefile.am: added hildon-touch-selector-column.h
5949 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5951 * src/hildon-touch-selector.c: added the property "text-column" to the
5952 class HildonTouchSelectorColumn, and related get/set functions
5953 (_default_printf_func): updated to use "text-column" property
5954 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5955 "text-column" in his documentation, as this is now included on
5956 HildonTouchSelectorColumn. The get/set_property can still be used,
5957 working as a wrapper to the concrete column "text-column" property
5958 (_text_column_modified): callback added in order to handle the signal
5959 "notify::text-column" of the concrete HildonTouchSelectorColumn
5960 (hildon_touch_selector_entry_get_text_column)
5961 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5962 modified in order to use the HildonTouchSelectorColumn "text-column"
5964 * src/hildon-time-selector.c:
5965 * src/hildon-date-selector.c:
5966 * examples/hildon-touch-selector-example.c
5967 * examples/hildon-touch-selector-multi-cells-example.c
5968 * examples/hildon-picker-button-multicolumn-example.c
5969 Set the right value to "text-column" property on the creation of a new
5970 column using hildon_touch_selector_append_column()
5972 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5974 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5976 * src/hildon-app-menu.c
5977 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5978 updating the layout of the menu, don't create all widgets again,
5979 just repack the items in their new places.
5981 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5983 * src/hildon-time-selector.c
5984 (hildon_time_selector_get_time)
5985 (hildon_time_selector_set_time)
5986 Added documentation of these public methods
5988 * src/hildon-date-button.h
5989 * src/hildon-touch-selector-column.h
5990 * src/hildon-time-button.h
5991 * src/hildon-picker-dialog.h
5992 * src/hildon-time-selector.h
5993 * src/hildon-picker-button.h
5994 * src/hildon-touch-selector.h
5995 * src/hildon-time-picker.h
5996 * src/hildon-date-selector.h
5997 * src/hildon-touch-selector-entry.h
5998 Modified in order to use hildon-widgets code style
6000 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6002 Added deprecated support to the compilation process using
6003 HILDON_DISABLE_DEPRECATED
6005 * configure.ac: Added the --disable-deprecated to the configure
6008 * src/hildon-weekday-picker.c:
6009 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6010 to use the deprecated support. We will update the other deprecated
6011 widgets status in a new patch.
6013 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6015 * configure.ac: Fixed typo with fatal warnings support, the
6016 variable name was not correct
6018 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-app-menu.c
6021 * src/hildon-program.c: Update documentation.
6023 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6025 * configure.ac: Post-release version bump.
6027 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6032 * configure.ac: Pre-release version bump.
6033 * debian/changelog: Updates.
6035 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6037 * NEWS: Update news for previous releases.
6039 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6041 * examples/hildon-touch-selector-multi-cells-example.c:
6042 (create_selector): Update the example to use
6043 hildon_touch_selector_append_column() with a NULL renderer and set
6044 the renderers later.
6045 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6046 passed a NULL renderer. This is documented behavior now.
6048 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6049 This must be used if the developer wants full control on the layout of
6050 the renderers to be added to the column.
6052 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6054 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6056 * src/hildon-touch-selector.c: Documentation fixes.
6058 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6060 * src/hildon-wizard-dialog-private.h: Remove image and box.
6061 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6062 (hildon_wizard_dialog_set_property), (response): Completely remove
6063 image/icon support, and the containers required for the layout.
6065 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6067 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6069 * src/hildon-app-menu.c: Updated documentation.
6071 * src/hildon-stackable-window.c
6072 (hildon_stackable_window_set_main_menu): Unref the old menu after
6073 ref'ing the new one.
6075 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6077 * src/hildon-stackable-window.c
6078 (hildon_stackable_window_set_main_menu): Unref the previous menu
6079 instead of destroying it.
6081 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6082 floating reference and set has_user_ref_count to FALSE to make
6083 HildonAppMenu act like a normal ref-counted widget and not a
6086 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6089 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6091 * src/hildon-touch-selector-column.h: new file
6092 * src/hildon-touch-selector.h
6093 * src/hildon-touch-selector.c
6094 Implemented GtkCellLayout interface, in order to allow to configure
6095 the cell layout on each individual selector column
6096 (hildon_touch_selector_set_column_attributes): marked as deprecated
6097 * examples/hildon-touch-selector-multi-cells-example.c
6098 Example of how to use the GtkCellLayout interface on the selector
6100 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6102 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6104 * src/hildon-app-menu.h
6105 * src/hildon-app-menu.c
6106 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6107 (hildon_app_menu_append, hildon_app_menu_prepend):
6108 New methods to prepend, insert and move items in the menu.
6110 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6112 * src/hildon-wizard-dialog.c:
6114 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6116 (create_title): Update logical IDs and related code.
6117 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6119 * src/hildon-wizard-dialog.h: Note that
6120 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6121 point, as it is not used anymore.
6123 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6125 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6127 * src/hildon-note.c:
6128 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6129 shown. Do not display an icon in confirmation notes nor information
6131 (hildon_note_set_button_text): Update logical ID for cancel button.
6133 Fixes: NB#88850 (Update HildonNote button strings + signals)
6135 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6137 * src/hildon-stackable-window.c
6138 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6140 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-app-menu-private.h
6143 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6144 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6145 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6146 temporary property 'columns' to change the number of columns.
6148 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6150 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6152 * examples/hildon-note-example.c: (on_information_clicked),
6153 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6154 debugging information.
6155 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6157 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6158 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6159 in order to close: this will be handled by the WM from now on.
6161 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6163 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6165 * src/hildon-app-menu-private.h
6166 * src/hildon-app-menu.c
6167 (hildon_app_menu_append, hildon_app_menu_add_filter)
6168 (button_visibility_changed, hildon_app_menu_apply_style)
6169 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6170 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6171 layout everytime a button (item or filter) is shown or hidden.
6173 * src/hildon-stackable-window.c
6174 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6177 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6179 * src/hildon-touch-selector.c:
6180 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6181 that the treeview inside the touch selector is in fremantle hildon mode
6182 * examples/hildon-date-button-example.c
6183 * examples/hildon-picker-button-multicolumn-example.c
6184 * examples/hildon-touch-selector-entry-example.c
6185 * examples/hildon-touch-selector-example.c
6186 * examples/hildon-time-button-example.c
6187 * examples/hildon-picker-button-example.c:
6188 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6190 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6192 * examples/hildon-text-view-example.c: (main): Remove the
6193 gtkrc bits, now handled by the theme.
6195 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6197 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6200 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6202 * po/Makefile.am: Install properly the mo files.
6203 * po/en_GB.po: Update translation, to ease testing purposes.
6205 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6207 * examples/hildon-picker-button-example.c: (main): Select an item
6208 in the selector before setting it to the button.
6210 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6212 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6213 Update button's value if the selector has an item active.
6215 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6216 'value' with the selector)
6218 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6220 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6221 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6222 (hildon_picker_button_class_init): Plug the finalize method.
6223 (hildon_picker_button_set_selector): If there's a previously set
6224 selector, unref'it before setting a new one.
6226 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6227 HildonTouchSelector)
6229 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6231 * src/hildon-touch-selector-entry.c:
6232 (hildon_touch_selector_entry_changed): Check if there is no text
6233 selected before setting the entry text.
6236 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-touch-selector.h
6239 * src/hildon-touch-selector.c
6240 (hildon_touch_selector_get_active)
6241 (hildon_touch_selector_set_active): New methods to set/get the
6242 index of the selected item.
6244 * src/hildon-picker-button.h
6245 * src/hildon-picker-button.c
6246 (hildon_picker_button_get_active)
6247 (hildon_picker_button_set_active): New methods to set/get the
6248 index of the selected item.
6250 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6252 * configure.ac: post-release version bump.
6254 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6258 * configure.ac: Pre-release version bump.
6259 * debian/changelog: Updates.
6260 * debian/control: Add myself as maintainer and depend on l10n
6263 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6265 * src/hildon-window.c
6266 (hildon_window_set_main_menu)
6267 * src/hildon-stackable-window.c
6268 (hildon_stackable_window_set_main_menu):
6269 Updated documentation.
6271 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6273 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6274 Don't free selector->priv manually.
6277 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6280 (hildon_gtk_window_set_progress_indicator):
6281 * src/hildon-gtk.h: Added the new API
6282 hildon_gtk_window_set_progress_indicator, it changes the state of
6283 the window progress hint.
6285 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-button.c
6288 * src/hildon-stackable-window.c: Minor documentation updates.
6290 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6292 * src/hildon-stackable-window.c: Updated documentation.
6294 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6296 * src/hildon-defines.h: Update margins definitions
6297 to the Fremantle sizes.
6300 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6302 * src/hildon-touch-selector.c,
6303 (_hildon_touch_selector_set_model): Cleaning the code after
6304 review, removed g_print and #if 0 from the code.
6306 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6308 * src/hildon-edit-toolbar.c: Update documentation.
6310 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6312 * src/hildon-check-button.h
6313 * src/hildon-check-button.c
6314 (hildon_check_button_set_label, hildon_check_button_get_label)
6315 * examples/hildon-check-button-example.c
6316 (button_clicked_cb):
6317 Removed deprecated methods.
6319 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6321 * src/hildon-text-view.c:
6322 Add sample code to the documentation.
6324 * src/hildon-entry.h
6325 * src/hildon-text-view.h:
6326 Minor cosmetic changes.
6328 * src/hildon-entry.c:
6329 Add sample code to the documentation.
6330 (hildon_entry_init, hildon_entry_refresh_contents):
6331 Don't allow NULL values in the placeholder.
6333 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6335 * doc/hildon-docs.sgml
6337 * examples/Makefile.am
6338 * examples/hildon-text-view-example.c
6340 * src/hildon-text-view.c
6341 * src/hildon-text-view.h
6343 New HildonTextView widget, with example.
6345 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6347 * po/POTFILES.in: Add missing files with translatable strings.
6348 Partially fixes NB#88287.
6350 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6352 * examples/hildon-pannable-area-example-2.c: (main): No need to
6353 set the cellrenderer height inside hildon touch lists, the theme does
6356 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6358 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6359 they are integrated in the theme.
6361 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6363 * examples/hildon-entry-example.c: Update the example adding
6364 widgets to modify the text and the placeholder of the HildonEntry.
6366 * src/hildon-entry.c: Show the placeholder everytime the widget
6367 is empty and loses the focus.
6369 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6371 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6373 * src/hildon-pannable-area.c,
6374 (hildon_pannable_area_size_request): Fixed bug in height
6375 requisition, avoid increasing size and add border twice.
6377 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6379 * configure.ac: postrelease version bump.
6381 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6385 * configure.ac: Prerelease version bump.
6386 * debian/changelog: update.
6387 * debian/rules: make -dbg package contain useful debugging symbols.
6389 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6391 * src/hildon-dialog.h
6392 * src/hildon-dialog.c
6393 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6394 New methods to add buttons with finger size.
6395 (hildon_dialog_new_with_buttons):
6396 Create buttons with finger size.
6398 * examples/hildon-dialog-example.c (main): Use HildonDialog
6399 methods to add buttons.
6401 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6403 * src/hildon-entry.c: Updated HildonButton documentation.
6405 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6407 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6408 button value label with (FALSE, FALSE) to prevent NB#88126 from
6411 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6413 * examples/hildon-pannable-area-example.c,
6414 (main): Removed examples panning a vbox inside a pannable
6415 area. Check bug NB#87965
6417 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6419 Patch contributed by Kris Rietveld (kris@imendio.com)
6421 * src/hildon-pannable-area.c,
6422 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6423 get_size and get_position, this saves an X server roundtrip.
6425 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6427 * doc/hildon-docs.sgml
6429 * examples/Makefile.am
6430 * examples/hildon-entry-example.c
6432 * src/hildon-entry.c
6433 * src/hildon-entry.h
6435 New HildonEntry widget, with example.
6437 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6439 * src/hildon-button.c (hildon_button_construct_child): Pack the
6440 image with expand == fill == FALSE. This is a workaround for a bug
6443 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6445 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6446 labels for the text column, to make it more look more dynamic.
6448 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6450 * src/hildon-time-selector.c
6451 Define gettext auxiliar macro N_
6452 (_create_minutes_model)
6453 (_create_hours_model)
6454 (_create_ampm_model): use of strftime in order to fill the model
6455 * src/hildon-date-selector.c
6456 (hildon_date_selector_finalize):
6457 (_locales_init): remove the logic related to get the name of the months
6458 using nl_langinfo, as it is not required anymore
6460 (_create_year_model)
6461 (_create_month_model)
6462 (_update_day_model): use of strftime in order to fill the model properly
6465 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6467 * src/hildon-button.h
6468 * src/hildon-button.c (hildon_button_get_image): New method to
6471 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6473 * src/hildon-touch-selector.c:
6474 (hildon_touch_selector_remove_column): Remove from the correct parent
6475 and also remove the list element and free it.
6478 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6480 * src/hildon-time-selector.c
6481 (_create_hours_model): change the range on 12h ampm format in order to use
6482 a 12-11 range instead of previous 01-12 range
6483 (hildon_time_selector_set_time): change the way to select the current time
6484 on 12h ampm format, due the change on the range
6485 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6488 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6490 * src/hildon-touch-selector.c
6491 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6492 in order to allow use this function on multiple row selection mode if
6493 the column is different that the first one
6496 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6498 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6499 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6501 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6503 * src/hildon-date-selector.h: clean some comments, now on the .c
6504 * src/hildon-date-selector.c
6505 (hildon_date_selector_select_month): first implementation
6506 (hildon_date_selector_select_day): added documentation, reimplemented
6507 using hildon_date_selector_select_current_date to avoid repeat code
6510 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6512 Reviewed interaction logic based on device experiences, refactored
6515 * src/hildon-pannable-area.c,
6516 (hildon_pannable_area_class_init): Updated default vmax speed.
6517 (hildon_pannable_area_calculate_velocity): Added this function, it
6518 avoids duplicate valocity calculation. Adjusted calculation to
6519 avoid problems with zero dist events.
6521 (hildon_pannable_area_motion_notify_cb): Now we use the
6522 calculate_velocity function.
6524 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6526 * src/hildon-date-selector.c
6527 (hildon_date_selector_select_current_date): fix the day range check
6528 as it failed using the last day of the current month
6531 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6533 * src/hildon-touch-selector.c
6534 (hildon_touch_selector_get_num_columns): added a parameter validation
6537 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6539 * examples/Makefile.am
6540 * examples/hildon-edit-toolbar-example.c: Example of the
6541 HildonEditToolbar widget.
6543 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6545 * configure.ac: postrelease version bump.
6547 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6551 * configure.ac: prerelease version bump.
6552 * debian/changelog: update.
6554 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6556 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6557 renderer to display stock icons in the touch list. Also, set the sizes
6558 to the recommended in the style guide.
6560 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6561 * src/hildon-touch-selector.h
6562 (hildon_touch_selector_set_active_iter): renamed, now is
6563 hildon_touch_selector_select_iter
6564 (hildon_touch_selector_get_active_iter): renamed, now is
6565 hildon_touch_selector_get_selected
6566 (hildon_touch_selector_unselect_iter): added
6567 * src/hildon-touch-selector.c
6568 Update after API modification (methods renamed)
6569 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6570 order to avoid problems selecting multiple elements on the column
6571 (hildon_touch_selector_unselect_iter): added the implementation
6572 * src/hildon-time-selector.c
6573 * src/hildon-date-selector.c
6574 * src/hildon-touch-selector-entry.c
6575 Update methods calls after hildon-touch-selector.h API modification (methods
6578 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6580 * src/hildon-stackable-window.c
6581 (hildon_stackable_window_finalize): Call the parent class's finalize.
6583 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6585 * examples/hildon-touch-selector-example.c: (create_selector): Use
6586 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6589 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6591 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6592 set a cell background color, to respect theming.
6594 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6596 * doc/hildon-docs.sgml
6599 * src/hildon-edit-toolbar.c
6600 * src/hildon-edit-toolbar.h
6601 * src/hildon.h: New HildonEditToolbar widget.
6603 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6605 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6608 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6609 * src/hildon-touch-selector.c
6610 (_create_new_column): use g_object_set instead of two g_object_set_property
6612 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6613 * src/hildon-touch-selector.c
6614 (_create_new_column): use of hildon_gtk_tree_view_new to create
6615 the treeview, instead of use directly g_object_new
6616 (_create_new_column): update the property name "vindicator-mode" for the
6617 new one "vscrollbar-policy"
6618 * examples/hildon-date-button-example.c
6619 * examples/hildon-picker-button-multicolumn-example.c
6620 * examples/hildon-touch-selector-entry-example.c
6621 * examples/hildon-touch-selector-example.c
6622 * examples/hildon-time-button-example.c
6623 * examples/hildon-picker-button-example.c
6624 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6625 to all the treeviews inside a pannable area.
6627 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6629 * src/hildon-button.h
6630 * src/hildon-button.c (hildon_button_init)
6631 (hildon_button_set_arrangement, hildon_button_set_alignment)
6632 (hildon_button_set_title_alignment)
6633 (hildon_button_set_value_alignment)
6634 (hildon_button_set_image_alignment)
6635 (hildon_button_construct_child): New methods to set the alignment
6636 of the individual components of the button (title, value,
6637 image). Also, new method to alter the xscale and yscale properties
6638 of the GtkAlignment inside the button, so more complex layouts can
6641 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6643 * src/hildon-button.c (hildon_button_style_set)
6644 (hildon_button_class_init, hildon_button_set_arrangement)
6645 (hildon_button_construct_child): Apply style properties
6646 correctly. Use the 'image-spacing' style property too.
6648 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6650 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6651 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6654 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6656 * src/hildon-pannable-area.c,
6657 (hildon_pannable_area_size_request): Fixed problem with
6658 pannable-area size_request.
6660 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6662 Added management for the grab-focus to a child widget, like a
6663 range, we need to fade out the scrollbar when releasing.
6665 * src/hildon-pannable-area.c,
6666 (hildon_pannable_area_init): Connected the grab-focus signal to
6668 (hildon_pannable_area_grab_notify): Added this function in order
6669 to manage the situation when the grab-focus ends. We have to
6670 fade-out the scrollbar.
6672 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6674 * src/hildon-app-menu.c: Minor documentation update.
6676 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6678 * src/hildon-app-menu.c
6679 * examples/hildon-app-menu-example.c (create_menu): Update
6680 examples and documentation to explain how to connect callbacks.
6682 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6684 * examples/hildon-button-example.c
6685 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6686 hildon_stackable_window_new instead of gtk_window_new
6688 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6690 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6691 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6692 (hildon_pannable_area_set_property),
6693 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6694 (hildon_pannable_area_unrealize),
6695 (hildon_pannable_area_size_request),
6696 (hildon_pannable_area_size_allocate),
6697 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6698 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6699 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6700 (hildon_pannable_area_initial_effect),
6701 (hildon_pannable_area_redraw),
6702 (hildon_pannable_area_scroll_indicator_fade),
6703 (hildon_pannable_area_expose_event),
6704 (hildon_pannable_area_get_topmost), (synth_crossing),
6705 (hildon_pannable_area_button_press_cb),
6706 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6707 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6708 (hildon_pannable_area_motion_notify_cb),
6709 (hildon_pannable_area_button_release_cb),
6710 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6711 (hildon_pannable_area_remove),
6712 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6713 chage the code layout to a more GtkWidget like. Review the use of
6716 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6718 * examples/hildon-pannable-area-example-4.c,
6719 (main): Modified the name of the hindicator_mode to
6722 * src/hildon-pannable-area.c,
6723 (hildon_pannable_area_class_init),
6724 (hildon_pannable_area_motion_notify_cb),
6725 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6726 we have reduced the amount of signals and managed reviewed its
6727 rationale. Changed the default decelerate value.
6729 (hildon_pannable_area_add),
6730 (hildon_pannable_area_redraw): Refactored functions.
6732 (hildon_pannable_area_init),
6733 (hildon_pannable_area_get_property),
6734 (hildon_pannable_area_set_property):
6735 (hildon_pannable_draw_vscroll),
6736 (hildon_pannable_draw_hscroll),
6737 (hildon_pannable_area_initial_effect),
6738 (hildon_pannable_area_expose_event),
6739 (hildon_pannable_area_scroll),
6740 (hildon_pannable_area_button_press_cb),
6741 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6742 and vindicator_mode with hscrollbar_policy and
6743 vscrollbar_policy. Replaced hscroll and vscroll with
6744 hscroll_visible and vscroll_visible.
6746 (hildon_pannable_area_refresh): Refactor the function, remove
6747 variables and check the calls to this function, added resize
6748 conditions in case the children change their layout.
6750 (hildon_pannable_area_size_request): Added more detailed
6751 size_request calculation.
6754 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6756 * src/hildon-color-chooser.c
6757 (init_borders): use the correct gtk_border_free instead of g_free, to
6758 avoid a crash when this widget is used (ie: the three color selection
6761 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6763 * src/hildon-check-button.c,
6764 (hildon_check_button_set_active): Fixed problem when setting the
6765 active value, the widget was not redrawn.
6767 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6769 * src/hildon-pannable-area.c,
6770 (hildon_pannable_area_refresh),
6771 (hildon_pannable_area_scroll),
6772 (hildon_pannable_area_motion_notify_cb): Small code style change.
6774 (hildon_pannable_area_class_init): Default initial_hint set to
6775 FALSE, it is not in the specs.
6777 (hildon_pannable_area_initial_effect),
6778 (hildon_pannable_area_expose_event),
6779 (hildon_pannable_area_map),
6780 (hildon_pannable_area_init): Moved the launching point of the
6781 initial effect, it was in map but the sizes where not correct in
6782 that method so we do not know if we have the reproduce it. Now it
6783 is placed in the expose_event method and uses a variable to
6784 reproduce it just once.
6786 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6788 * src/hildon-pannable-area.c,
6789 (hildon_pannable_draw_vscroll),
6790 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6791 position allowed for the scrollbars.
6793 (hildon_pannable_area_size_allocate): Small style change.
6795 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6797 * src/hildon-pannable-area.c,
6798 (hildon_pannable_area_scroll_indicator_fade),
6799 (hildon_pannable_area_button_press_cb),
6800 (hildon_pannable_area_button_release_cb),
6801 (hildon_pannable_area_scroll_cb),
6802 (hildon_pannable_area_expose_event),
6803 (hildon_pannable_area_init): Added the define parameter
6804 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6805 and refactor the fade variable.
6807 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6809 * src/hildon-pannable-area.c,
6810 (hildon_pannable_area_redraw),
6811 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6812 lines, we were reimplemeting the redraw code.
6814 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6816 * src/hildon-pannable-area.c,
6817 (hildon_pannable_area_scroll_cb),
6818 (hildon_pannable_area_realize),
6819 (hildon_pannable_area_class_init): Added scroll_event management
6820 for pannable area, now we can scroll the usual desktop method.
6822 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6823 initialization of the parameters should depend on idle_id.
6825 (hildon_pannable_area_init),
6826 (hildon_pannable_area_map): Small code style modifications
6828 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6830 * src/hildon-pannable-area.c
6831 (hildon_pannable_area_button_press_cb),
6832 (hildon_pannable_area_motion_notify_cb),
6833 (hildon_pannable_area_button_release_cb),
6834 (hildon_pannable_area_size_allocate),
6835 (hildon_pannable_area_scroll_to): Improved the timeouts
6836 management, we avoid creating them each time.
6838 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6840 * src/hildon-pannable-area.c:
6841 (hildon_pannable_area_refresh),
6842 (hildon_pannable_area_motion_notify_cb),
6843 (hildon_pannable_area_class_init):
6844 * src/hildon-pannable-area.h:
6845 * src/hildon-touch-selector.c
6846 (_create_new_column):
6847 * examples/hildon-pannable-area-example-4.c:
6848 (horizontal_movement),
6849 (vertical_movement),
6851 Replaced the names of enums in the HildonPannableArea:
6852 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6853 HILDON_MOVEMENT_MODE_*
6854 - HILDON_PANNABLE_AREA_MOV_* ->
6856 - Removed HildonPannableAreaIndicatorMode, now we
6859 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6861 * examples/hildon-pannable-area-touch-grid-example.c
6862 * examples/hildon-pannable-area-touch-list-example.c: Fix
6863 compilation warnings.
6865 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6867 * src/hildon-gtk.c (hildon_gtk_button_new)
6868 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6869 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6870 images overriding the value of the "gtk-button-images" setting.
6872 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6874 * src/hildon-check-button.c (hildon_check_button_new):
6875 Instead of using a custom container, display the label and the
6876 checkbox using the standard GtkButton API.
6878 * examples/hildon-check-button-example.c (main): Don't use
6879 hildon_check_button_set_label() anymore
6881 * src/hildon-check-button.h
6882 * src/hildon-check-button.c
6883 (hildon_check_button_set_label, hildon_check_button_get_label):
6884 Set as deprecated, now we're using gtk_button_{get,set}_label()
6886 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6888 * src/hildon-pannable-area.c,
6889 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6890 GtkTreeview first line we detected it after the inclusion of the
6891 GtkWindowImpl in gtk+. We now check if the window is visible, not
6892 just if the pointer is over the window.
6893 (hildon_pannable_axis_scroll),
6894 (hildon_pannable_area_expose_event): Small style changes.
6896 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6898 * src/hildon-button.c: Update documentation.
6900 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6902 * examples/hildon-button-example.c: Add a switch to show images in
6905 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6907 * doc/hildon-docs.sgml: Some docs reorganization.
6909 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6911 * examples/hildon-pannable-area-touch-list-example.c
6913 * examples/hildon-pannable-area-touch-grid-example.c
6914 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6915 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6916 Fix memory leak when setting the tree model.
6918 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6922 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6924 * doc/hildon.types: Remove duplicated hildon_window_get_type
6925 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6926 documentation comment.
6928 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6930 * doc/Makefile.am: Complete list of private headers.
6932 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6934 * doc/hildon-docs.sgml
6935 * src/hildon-app-menu.c
6936 * src/hildon-bread-crumb.c
6937 * src/hildon-button.c
6939 * src/hildon-program.c
6940 * src/hildon-stackable-window.c
6941 * src/hildon-window.c: Lots of documentation updates.
6943 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6945 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6947 * configure.ac: Require Gtk+ 2.12.9 at least
6949 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6951 * src/hildon-pannable-area.c
6952 (hildon_pannable_area_scroll_indicator_fade),
6953 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6954 to protect the return of this timeout callbacks, avoiding deadlocks.
6956 2008-08-12 Christian Dywan <christian@imendio.com>
6959 * src/hildon-*.h: Ensure a consistent include order,
6960 include <gtk/gtk.h> instead of particular files and
6961 only include the topmost header in the gtk stack. See NB #39857
6963 2008-08-12 Christian Dywan <christian@imendio.com>
6965 * src/hildon-picker-dialog.c
6966 * src/hildon-touch-selector.c: Fix warnings about unused and
6967 uninitialized variables.
6969 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6971 * examples/Makefile.am
6972 * examples/hildon-check-button-example.c: Example of the hildon
6975 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6977 * src/hildon-window.h
6978 * src/hildon-window.c (hildon_window_class_init)
6979 (hildon_window_unset_program): Don't make
6980 hildon_window_unset_program a virtual function anymore.
6982 * src/hildon-stackable-window.c: Update documentation
6984 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6987 * doc/hildon-docs.sgml
6988 * doc/visual_index.xml
6989 * src/hildon-defines.c
6991 * src/hildon-helper.c
6992 * src/hildon-range-editor.c: Lots of documentation fixes.
6994 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6996 * examples/hildon-picker-button-multicolumn-example.c
6997 (create_touch_selector): Fix compilation warning.
6999 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7001 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7002 (hildon_pannable_area_button_release_cb)
7003 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7005 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7007 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7010 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7012 * src/hildon-bread-crumb-trail.h
7013 * src/hildon-date-editor.c
7014 * src/hildon-date-selector.c
7015 * src/hildon-pannable-area.c
7016 * src/hildon-picker-dialog.c
7017 * src/hildon-time-selector.c
7018 * src/hildon-touch-selector-entry.c
7019 * src/hildon-touch-selector.c
7020 * src/hildon-touch-selector.h: Misc documentation fixes
7022 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7024 * examples/hildon-date-editor-example.c (main): Updated date
7027 * examples/hildon-note-example.c (on_confirmation_clicked):
7028 Updated confirmation note example.
7030 * src/hildon-date-editor.c
7031 * src/hildon-note.c: Updated sample programs in documentation.
7034 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7036 * src/hildon-date-button.h:
7037 * src/hildon-picker-button.h:
7038 * src/hildon-time-button.c:
7039 * src/hildon-time-button.h:
7041 Some declarations changes to allow gtk-doc to document the widgets
7044 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7046 * src/hildon-date-button.c: Document the widget.
7047 * src/hildon-time-button.c: Document the widget.
7049 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7051 * src/hildon-picker-button.c: Document the widget.
7052 * src/hildon-touch-selector-entry.c: Document the widget.
7054 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7056 * doc/hildon-docs.sgml
7059 * src/hildon-check-button.h
7060 * src/hildon-check-button.c: New functions to create the Hildon
7064 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7066 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7068 * src/hildon-button.h
7069 * src/hildon-button.c
7070 (hildon_button_add_title_size_group)
7071 (hildon_button_add_value_size_group)
7072 (hildon_button_add_image_size_group)
7073 (hildon_button_add_size_groups): New functions to set size groups
7074 for the button labels and image.
7075 (hildon_button_new_full): Removed
7077 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7079 * src/hildon-time-selector.c
7080 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7081 in order to avoid a crash if gconf is not available
7083 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7085 * src/hildon-button.c (hildon_button_set_arrangement)
7086 (hildon_button_construct_child): Don't construct the button child
7087 before setting the arrangement.
7089 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7091 * src/hildon-program-private.h
7092 * src/hildon-program.c
7093 * src/hildon-program.h
7094 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7095 (hildon_program_peek_window_stack)
7096 (hildon_program_pop_window_stack)
7097 (hildon_program_go_to_root_window): HildonProgram now has a
7098 separate list for stackable windows. Functions are provided to
7099 manage that list with a stack-like API.
7101 * src/hildon-stackable-window.c: Stackable window management is
7102 now much simpler with the new HildonProgram API. Windows no
7103 longer need to be manually added to the program, they're
7104 automatically pushed to the top of the stack when shown.
7106 * examples/hildon-stackable-window-example.c: Updated example to
7107 reflect the API changes.
7109 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7111 * src/hildon-touch-selector.c: Comment out unimplemented
7112 hildon_touch_selector_insert_column() to avoid a compile warning.
7114 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7116 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7117 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7118 (hildon_touch_selector_set_column_selection_mode),
7119 (_hildon_touch_selector_set_model),
7120 (hildon_touch_selector_set_model):
7122 Complete review of HildonTouchSelector documentation.
7124 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7126 * doc/hildon-docs.sgml
7130 * src/hildon-gtk.c: Convenience functions for standard Gtk
7131 widgets, used to easily perform frequent operations.
7133 * src/hildon-button-helpers.h
7134 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7136 * src/hildon-helper.h
7137 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7138 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7140 * src/hildon-button.h
7141 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7143 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7145 * src/hildon-button.c (hildon_button_init)
7146 (hildon_button_set_arrangement, hildon_button_construct_child):
7147 Pack the image and the labels inside the same GtkAlignment so
7148 gtk_button_set_alignment() can be used
7150 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7152 * src/hildon-button.h
7153 * src/hildon-button.c
7154 (hildon_button_init, hildon_button_set_image)
7155 (hildon_button_set_image_position)
7156 (hildon_button_construct_child): New functions to add an image to
7159 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7161 * src/hildon-date-button.c
7162 * src/hildon-picker-button.c
7163 * src/hildon-time-button.c
7164 * src/hildon-button.c:
7165 (hildon_button_class_init): "size-flags" renamed to "size"
7166 (hildon_button_set_title): Hide the title label if set to NULL.
7168 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7170 HildonButtonFlags split into HildonButtonArrangement (to set the
7171 button layout) and HildonSizeType (which can be used for any
7174 * src/hildon-button.h
7175 * src/hildon-button.c
7176 (hildon_button_class_init)
7177 (hildon_button_set_arrangement)
7178 (hildon_button_set_property): New "size-flags"
7179 property. "arrangement-flags" renamed to "arrangement".
7180 (hildon_button_new, hildon_button_new_with_text)
7181 (hildon_button_new_full): Constructors updated to reflect type changes.
7183 * src/hildon-helper.h
7184 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7185 to set the size of a widget.
7189 * src/hildon-button-helpers.c
7190 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7192 * src/hildon-date-button.c
7193 * src/hildon-date-button.h
7194 * src/hildon-picker-button.c
7195 * src/hildon-picker-button.h
7196 * src/hildon-time-button.c
7197 * src/hildon-time-button.h: Updated widgets to reflect
7198 HildonButton API changes.
7200 * examples/hildon-button-example.c
7201 * examples/hildon-date-button-example.c
7202 * examples/hildon-picker-button-example.c
7203 * examples/hildon-picker-button-multicolumn-example.c
7204 * examples/hildon-time-button-example.c
7205 * examples/hildon-touch-selector-entry-example.c
7206 * examples/hildon-touch-selector-example.c: Updated examples to
7207 reflect HildonButton API changes.
7209 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7211 * doc/hildon-docs.sgml:
7213 * examples/Makefile.am:
7214 * examples/hildon-touch-selector-entry-example.c:
7216 * src/hildon-touch-selector-entry.c:
7217 * src/hildon-touch-selector-entry.h:
7220 Moved HildonTouchSelectorEntry from sandbox. Added its
7221 documentation and examples.
7223 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7225 * src/hildon-touch-selector.h:
7226 * examples/hildon-picker-button-multicolumn-example.c:
7227 (hildon_touch_selector_append_text_column): Add a gboolean
7228 parameter to determine if text must be centered in the column.
7230 * src/hildon-date-selector.c: (hildon_date_selector_init):
7231 * src/hildon-time-selector.c: (hildon_time_selector_init):
7232 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7233 (create_touch_selector): Update widgets and example to reflect
7236 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7238 * src/hildon-touch-selector.c:
7239 (hildon_touch_selector_set_active_iter): Set also the cursor in
7242 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7244 * doc/hildon-docs.sgml
7247 * src/hildon-toggle-button.c
7248 * src/hildon-toggle-button.h
7249 * src/hildon.h: Removed HildonToggleButton widget, a derived
7250 class is not necessary for this.
7252 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7254 * src/hildon-pannable-area.c,
7255 (hildon_pannable_area_realize),
7256 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7259 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7261 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7262 "done" button the default widget for the dialog.
7264 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7266 * src/hildon-touch-selector.c:
7267 (hildon_touch_selector_class_init),
7268 (hildon_touch_selector_get_property),
7269 (_hildon_touch_selector_set_model),
7270 (_hildon_touch_selector_has_multiple_selection),
7271 (hildon_touch_selector_has_multiple_selection):
7272 Add a "has-multiple-selection" property with a virtual
7273 has_multiple_selection() method to allow derived classes to
7274 override the default value for it. See the method and property
7275 documentation for details.
7277 * src/hildon-touch-selector.h: Add the new API.
7279 * src/hildon-picker-dialog.c: (requires_done_button): Call
7280 hildon_touch_selector_has_multiple_selection() instead of
7281 determining the need for a button itself.
7283 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7285 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7286 (_hildon_touch_selector_set_model),
7287 (hildon_touch_selector_set_model): Move working code to
7288 _hildon_touch_selector_set_mode(). Call the class method instead.
7290 * src/hildon-touch-selector.h: Add (*set_model) to
7291 HildonTouchSelectorClass.
7293 Make hildon_touch_selector_set_model() a virtual method, so that
7294 derived classes can extend it and do fancy stuff with the model.
7296 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7298 * configure.ac: Set back the tarname in AC_INIT to hildon.
7300 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7304 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7305 instead of libesd (NB#86876). Volume handling is still an open issue.
7307 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7310 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7312 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7313 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7314 derived class to ease placement of an entry widget in
7315 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7316 end, where the selector columns are packed now.
7318 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7320 * src/hildon-picker-button.c: Removed the simple _text() API.
7321 * src/hildon-picker-button.h: Likewise.
7323 * src/hildon-touch-selector.h:
7324 * src/hildon-touch-selector.c:
7325 (hildon_touch_selector_new_text),
7326 (hildon_touch_selector_append_text),
7327 (hildon_touch_selector_prepend_text),
7328 (hildon_touch_selector_insert_text):
7330 Moved the simple _text() API from HildonPickerButton to
7331 HildonTouchPicker, to provide better escalability and not to tie
7332 that API to HildonPickerButton.
7334 * examples/hildon-picker-button-example.c: (main): Example updated.
7336 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7338 * src/hildon-button.c: Updated documentation.
7340 * examples/hildon-button-example.c: Add the posibility to create
7341 the buttons using horizontal layout for title and value.
7343 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7345 * src/hildon-app-menu-private.h
7346 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7347 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7348 GtkSizeGroup for the filters, use the 'homogeneous' property of
7351 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7353 * examples/hildon-button-example.c: Updated example.
7355 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7357 * doc/hildon-docs.sgml:
7360 Update documentation.
7362 * examples/Makefile.am: Update renamed examples.
7364 * examples/hildon-picker-button-multicolumn-example.c:
7365 (create_touch_selector), (main): Update after the rename.
7367 * examples/hildon-touch-picker-example.c: Removed.
7368 * examples/hildon-touch-selector-example.c: (value_changed),
7369 (create_selector), (get_visible_content), (main): Renamed from
7370 hildon-touch-picker-example.c
7372 * src/Makefile.am: Updated renamed files.
7374 * src/hildon-date-button.c: (hildon_date_button_init),
7375 (hildon_date_button_get_date), (hildon_date_button_set_date):
7376 * src/hildon-date-selector.c: (hildon_date_selector_init),
7377 (_custom_print_func), (_update_day_model),
7378 (_manage_selector_change_cb),
7379 (hildon_date_selector_select_current_date),
7380 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7381 * src/hildon-date-selector.h:
7382 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7383 (hildon_picker_button_set_property),
7384 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7385 (hildon_picker_button_init), (hildon_picker_button_new_text),
7386 (hildon_picker_button_append_text),
7387 (hildon_picker_button_prepend_text),
7388 (hildon_picker_button_insert_text),
7389 (hildon_picker_button_set_selector),
7390 (hildon_picker_button_get_selector):
7391 * src/hildon-picker-button.h:
7392 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7393 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7394 (_update_title_on_selector_changed_cb), (requires_done_button),
7395 (_hildon_picker_dialog_set_selector),
7396 (hildon_picker_dialog_set_selector),
7397 (hildon_picker_dialog_get_selector):
7398 * src/hildon-picker-dialog.h:
7399 * src/hildon-time-button.c: (hildon_time_button_init),
7400 (hildon_time_button_get_time), (hildon_time_button_set_time):
7401 * src/hildon-time-selector.c: (hildon_time_selector_init),
7402 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7403 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7404 * src/hildon-time-selector.h:
7407 Massive code updates after the rename.
7409 * src/hildon-touch-picker.c: Removed.
7410 * src/hildon-touch-picker.h: Removed.
7412 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7413 (hildon_touch_selector_init), (hildon_touch_selector_map),
7414 (hildon_touch_selector_remove), (_default_print_func),
7415 (_selection_changed_cb), (_create_new_column),
7416 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7417 (hildon_touch_selector_append_text_column),
7418 (hildon_touch_selector_remove_column),
7419 (hildon_touch_selector_set_column_attributes),
7420 (hildon_touch_selector_insert_column),
7421 (hildon_touch_selector_get_num_columns),
7422 (hildon_touch_selector_get_column_selection_mode),
7423 (hildon_touch_selector_set_column_selection_mode),
7424 (hildon_touch_selector_set_print_func),
7425 (hildon_touch_selector_get_print_func),
7426 (hildon_touch_selector_get_active_iter),
7427 (hildon_touch_selector_set_active_iter),
7428 (hildon_touch_selector_get_selected_rows),
7429 (hildon_touch_selector_get_model),
7430 (hildon_touch_selector_set_model),
7431 (hildon_touch_selector_get_current_text),
7432 (_hildon_touch_selector_center_on_selected_items):
7433 * src/hildon-touch-selector.h: Renamed from
7434 hildon-touch-picker.[ch]
7436 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7437 references, code examples, and related documentation.
7439 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7441 * doc/hildon-docs.sgml
7444 * src/hildon-toggle-button.c
7445 * src/hildon-toggle-button.h
7446 * src/hildon.h: New HildonToggleButton widget.
7448 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7450 * src/hildon-button.c: Add API documentation.
7451 (hildon_button_set_size_groups): Check input parameters
7453 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7455 * src/hildon-pannable-area.c
7456 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7457 effect after reaching the movement thredshold. This way we start
7458 using the distance after passing the thredshold.
7460 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7462 * src/hildon-button.c: (hildon_button_set_property): Use the
7463 appropriate g_value_get_flags() method.
7465 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7467 * doc/hildon-docs.sgml:
7470 Add the touch pickers, picker dialogs, and picker button widgets
7471 to the documentation.
7473 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7475 * src/hildon-button.c: (hildon_button_set_property),
7476 (hildon_button_class_init): Make "arrangement-flags" a proper
7477 G_TYPE_FLAGS derived property.
7479 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7481 * examples/Makefile.am: Add below examples.
7482 * examples/hildon-date-button-example.c:
7483 * examples/hildon-picker-button-example.c:
7484 * examples/hildon-picker-button-multicolumn-example.c:
7485 * examples/hildon-time-button-example.c:
7486 * examples/hildon-touch-picker-example.c:
7488 Add examples for the recently added touch pickers,
7489 picker dialogs, and picker button widgets.
7491 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7493 * src/hildon-button.c: Add some API documentation
7495 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7497 * src/hildon-button.h
7498 * src/hildon-button.c
7500 (hildon_button_new_with_text): New constructor to create a button
7501 with no text at all.
7502 (hildon_button_init, hildon_button_set_arrangement)
7503 (hildon_button_set_title, hildon_button_set_value)
7504 (hildon_button_set_text)
7505 (hildon_button_construct_child): Hide the value when it's not used
7506 so the rest of the text is properly aligned.
7507 Allow creating buttons with arbitrary widgets inside (not just
7508 title/value labels).
7510 * examples/hildon-button-example.c (vertical_buttons_window)
7511 (horizontal_buttons_window): Update example to use new API.
7513 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7515 * src/Makefile.am: Added HildonTimeButton.
7516 * src/hildon-time-button.c: Added missing LGPL header.
7517 * src/hildon-time-button.h: Added missing LGPL header.
7518 * src/hildon.h: Add hildon-time-button.h
7520 Copied HildonTimeButton from sandbox to trunk. Future work on this
7521 widget must take place in trunk.
7523 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7525 * src/Makefile.am: Added HildonDateButton.
7526 * src/hildon-date-button.c: Update includes.
7527 * src/hildon.h: Add hildon-date-button.h
7529 Copied HildonDateButton from sandbox to trunk. Future work on this
7530 widget must take place in trunk.
7532 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7534 * src/Makefile.am: Added HildonPickerButton.
7535 * src/hildon-picker-button.h: Update includes.
7536 * src/hildon.h: Add hildon-picker-button.h
7538 Copied HildonPickerButton from sandbox to trunk. Future work on
7539 this widget must take place in trunk.
7541 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7543 * src/Makefile.am: Added HildonPickerDialog.
7544 * src/hildon-picker-dialog.c: Update includes.
7545 * src/hildon.h: Add hildon-picker-dialog.h
7547 Copied HildonPickerDialog from sandbox to trunk. Future work
7548 on this widget must take place in trunk.
7550 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/Makefile.am: Added HildonTimeSelector.
7553 * src/hildon.h: Add hildon-time-selector.h
7555 Copied HildonTimeSelector widget from sandbox to trunk. Future
7556 work on this widget must happen in trunk.
7558 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7560 * src/Makefile.am: Added HildonDateSelector.
7561 * src/hildon.h: Add hildon-date-selector.h
7563 Copied HildonDateSelector widget from sandbox to trunk. Future
7564 work on this widget must happen in trunk.
7566 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7568 * src/Makefile.am: Added HildonTouchPicker.
7569 * src/hildon-touch-picker.c: Update includes.
7570 * src/hildon.h: Add hildon-touch-picker.h
7572 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7573 on this widget must happen in trunk.
7575 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7577 * src/hildon-pannable-area.c:
7578 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7580 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7582 * examples/hildon-app-menu-example.c (main): Let the window
7585 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7587 * src/hildon-pannable-area.c
7588 (hildon_pannable_area_class_init): Set the min value of the
7589 overshoot properties to zero, which points out that not
7590 overshooting allowed.
7592 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7594 Modified the procedure to get the widget at a point inside the
7595 pannable area when using the movement type signals. Now the user
7596 has to call a function to get the child, that way we just
7597 calculate the child in case the user really want to use it and not
7600 * src/hildon-marshalers.list: Modified the marshallers, now we do
7601 not have the widget as a parameter.
7603 * src/hildon-pannable-area.c
7604 (hildon_pannable_area_motion_notify_cb),
7605 (hildon_pannable_area_class_init),
7606 (hildon_pannable_get_child_widget_at): Removed the widget
7607 parameter from the signal callback. We have also refactored the
7608 emission of the signals.
7610 * src/hildon-pannable-area.h: Added a new method to the API to
7611 calculate a widget at a point inside the pannable area,
7612 hildon_pannable_get_child_widget_at.
7614 * examples/hildon-pannable-area-example-4.c
7615 (horizontal_movement): Modified the example to use the new API,
7616 added condition to control which widget is under the event. This
7617 way we can avoid scrolling laterally over other widgets.
7619 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7621 * src/hildon-pannable-area.c
7622 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7623 modes, we stop getting the pointer events due to returning the
7624 callback without properly calling the get pointer again. Fixed
7625 also an error using the hscroll and vscroll.
7627 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7629 * src/hildon-app-menu-private.h
7630 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7631 (hildon_app_menu_button_release, hildon_app_menu_init)
7632 (hildon_app_menu_class_init): Don't hide the menu on button
7633 release if the user didn't press outside first.
7635 * src/hildon-window.h
7636 * src/hildon-window.c (hildon_window_toggle_menu)
7637 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7638 hildon_window_toggle_menu a virtual function for the stackable
7639 window to override it.
7641 * src/hildon-stackable-window.h
7642 * src/hildon-stackable-window-private.h
7643 * src/hildon-stackable-window.c
7644 (hildon_stackable_window_realize)
7645 (hildon_stackable_window_finalize)
7646 (hildon_stackable_window_class_init)
7647 (hildon_stackable_window_init)
7648 (hildon_stackable_window_set_main_menu): New function to set the
7649 app menu of a HildonStackableWindow.
7651 * examples/hildon-app-menu-example.c: Remove the button to show
7652 the app menu, now it'll be shown when clicking on the title bar
7655 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7657 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7658 set the widget name if the arrangement flags do not specify
7661 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7663 * src/hildon-button.c: (hildon_button_set_property),
7664 (hildon_button_class_init), (hildon_button_new_full),
7665 (hildon_button_set_arrangement): Added "arrangement-flags"
7668 Make the HildonButtonFlags a construction-only property, to allow
7669 subclasses to set them properly.
7671 2008-07-21 Tim Janik <timj@imendio.com>
7673 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7674 insertion position after backspace, so additional digits are appended,
7677 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7679 * src/hildon-pannable-area.c,
7680 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7681 TODO list, it was complete and removed the g_debug and g_print
7684 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7686 Added the movement modes to the hildon-pannable-area, with this
7687 modes the developers can control in which directions the widget
7688 can scroll. They can also connect to signals in order to do
7689 something when that happens, allowing applications scroll. There
7690 is an example uploaded showing how to use it.
7692 * examples/Makefile.am:
7693 * examples/hildon-pannable-area-example-4.c: Added this example of
7694 an application using the modes.
7696 * src/hildon-marshalers.list: Added a new marshaller for the new
7699 * src/hildon-pannable-area.h: Added new enumerations and flags in
7700 order to control the movement modes and the new signals to warn
7701 about the movements in the area.
7703 * src/hildon-pannable-area.c:
7704 (hildon_pannable_axis_scroll),
7705 (hildon_pannable_area_scroll),
7706 (hildon_pannable_area_motion_notify_cb),
7707 (hildon_pannable_area_get_property),
7708 (hildon_pannable_area_set_property),
7709 (hildon_pannable_area_map),
7710 (hildon_pannable_area_class_init),
7711 (hildon_pannable_area_init),
7712 (hildon_pannable_area_jump_to): Added the modes to control the
7713 movement in the widget. We have added properties to control it,
7714 signals to warn about the movements and refactored some code.
7716 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7718 Changes required in order to allow vfast_factor set to zero to
7721 * src/hildon-pannable-area.c:
7722 (hildon_pannable_area_button_press_cb): Changed the condition, it
7723 is required for not allowing click when vfast_factor is zero.
7724 (hildon_pannable_area_timeout): Initialized velocity variables
7725 when we stop moving, it was less than 1 but not zero and we need
7726 to check zero in some situations.
7727 (hildon_pannable_area_class_init): Changed the default value of
7728 the speed factor, now the button_press is just sent in case the
7729 speed is 2 per cent of the max speed.
7730 (hildon_pannable_area_init): Initialization with 0.
7732 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7734 * src/hildon-pannable-area.c,
7735 (hildon_pannable_area_get_topmost): replaced
7736 gdk_window_get_children with gdk_window_peek_children, this way we
7737 do not have to free the list because it is not a copy.
7739 (hildon_pannable_axis_scroll),
7740 (hildon_pannable_area_scroll),
7741 (hildon_pannable_area_timeout),
7742 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7743 two parameters that were only used inside the
7744 hildon_pannable_area_scroll function.
7746 * examples/hildon-pannable-area-example.c,
7747 (get_sawtooth_label): Fixed small memory leak.
7749 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7751 More checks for the case where the overshoot is bigger than the
7754 * src/hildon-pannable-area.c:
7755 (hildon_pannable_draw_vscroll),
7756 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7757 to draw the slider of the scrollbar under the other scrollbar.
7758 (hildon_pannable_area_expose_event): added new checks to control
7759 the drawing of the overshooting area rectangle, in case it is too
7760 big for the area of the widget.
7761 (hildon_pannable_area_size_allocate): add more checks to avoid
7762 setting a position to the child widget outside the area.
7764 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7766 * src/hildon-pannable-area.c
7767 (hildon_pannable_area_size_allocate): Added conditions to control
7768 when overshooting is bigger than the allocated space for the
7769 children, this avoids negative allocations.
7771 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7773 * doc/hildon-docs.sgml
7775 * examples/Makefile.am
7776 * examples/hildon-button-example.c
7778 * src/hildon-button.c
7779 * src/hildon-button.h
7780 * src/hildon.h: Initial version of the new HildonButton widget,
7783 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7785 * src/hildon-pannable-area.c:
7786 (hildon_pannable_area_button_press_cb),
7787 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7788 (hildon_pannable_area_motion_notify_cb),
7789 (hildon_pannable_area_button_release_cb),
7790 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7791 (hildon_pannable_area_jump_to_child):
7793 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7795 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7797 * examples/Makefile.am
7798 * examples/hildon-pannable-area-touch-grid-example.c
7799 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7800 the Hildon Touch List and Hildon Touch Grid using the
7801 HildonPannableArea widget.
7803 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7805 * src/hildon-pannable-area.c,
7806 (hildon_pannable_area_button_press_cb),
7807 (hildon_pannable_area_refresh),
7808 (hildon_pannable_area_scroll),
7809 (hildon_pannable_area_motion_notify_cb),
7810 (hildon_pannable_area_button_release_cb),
7811 (hildon_pannable_area_expose_event),
7812 (hildon_pannable_area_add),
7813 (hildon_pannable_area_remove),
7814 (hildon_pannable_area_realize),
7815 (hildon_pannable_area_size_allocate),
7816 (hildon_pannable_area_class_init),
7817 (hildon_pannable_area_init),
7818 (hildon_pannable_area_scroll_to_child),
7819 (hildon_pannable_area_jump_to_child): Fixed the problem of
7820 removing the child from the GtkBin, we have rearranged the widget
7821 hierarchy, now there is no GtkAlignment which was not doing
7822 anything interesting but breaking some of the assumptions of
7823 GtkContainer. Now developers if they want to add a GtkAlignment
7824 they could, but it is not inside the area.
7826 We had to review the whole allocation/expose process, now it is
7827 improved and we save at least three signals which would be saving
7828 some time when rendering the widget. The allocation of the
7829 scrollbars is now made in the allocate method as usual.
7831 We have also added some conditions in order to control when there
7832 is no child of the pannable area. Maybe we will need more work
7835 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7837 * src/hildon-pannable-area.c,
7838 (hildon_pannable_area_dispose): Released the fade-out timeout when
7839 disposing the widget.
7841 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7843 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7844 zero, we are going to use that property in order to deactivate the
7846 (hildon_pannable_axis_scroll),
7847 (hildon_pannable_area_size_allocate): Added conditions to control
7848 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7849 call, now it is called in all situations and we can remove calls
7850 in the allocate method.
7851 (hildon_pannable_area_map): Control the situation when
7852 overshoot_max is zero, we do not need the timeout.
7853 (hildon_pannable_area_class_init): Added documentation in order to
7854 point out that setting zero to overshoot_max means deactivate
7857 NOTE: removed trailing whitespaces from my previous comments of
7860 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7862 * src/hildon-pannable-area.c
7863 (hildon_pannable_area_get_property),
7864 (hildon_pannable_area_set_property),
7865 (hildon_pannable_area_map),
7866 (hildon_pannable_area_class_init),
7867 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7868 to cause the widget give a hint about its panning abilities upon
7871 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7873 * src/hildon-pannable-area.c: Several documentation improvements.
7875 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7877 * src/hildon-program.c
7878 * src/hildon-stackable-window.c: Update documentation.
7880 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7882 * src/hildon-stackable-window.c (get_previous_window_if_last):
7883 Renamed get_last_window()
7884 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7885 (hildon_stackable_window_unset_program):
7887 (get_previous_window_if_last):
7888 Detect if the window hasn't been added to a HildonProgram.
7890 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7892 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7894 * src/hildon-pannable-area.c
7895 (hildon_pannable_area_button_press_cb),
7896 (hildon_pannable_axis_scroll),
7897 (hildon_pannable_area_scroll),
7898 (hildon_pannable_area_timeout),
7899 (hildon_pannable_calculate_vel_factor),
7900 (hildon_pannable_area_get_property),
7901 (hildon_pannable_area_set_property),
7902 (hildon_pannable_area_class_init),
7903 (hildon_pannable_area_init),
7904 (hildon_pannable_area_scroll_to),
7905 (hildon_pannable_area_jump_to),
7906 (hildon_pannable_area_scroll_to_child),
7907 (hildon_pannable_area_jump_to_child):
7908 * src/hildon-pannable-area.h: Added the new API functions:
7909 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7910 hildon_pannable_area_scroll_to_child,
7911 hildon_pannable_area_jump_to_child
7914 * examples/Makefile.am
7915 * examples/hildon-pannable-area-example-2.c
7916 * examples/hildon-pannable-area-example-3.c: Added these two new
7917 examples in order to test and show how the new APIs work.
7919 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7921 * examples/hildon-stackable-window-example.c (new_window):
7922 * src/Makefile.am (noinst_HEADERS):
7923 * src/hildon-program.c (hildon_program_go_to_root_window):
7924 * src/hildon-program.h:
7925 * src/hildon-stackable-window-private.h:
7926 * src/hildon-stackable-window.c:
7927 * src/hildon-stackable-window.h:
7928 Create hildon-stackable-window-private.h
7929 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7931 * examples/hildon-app-menu-example.c (create_menu):
7932 * examples/hildon-hvolumebar-insensitive-example.c (main):
7933 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7934 * examples/hildon-toolbar-seekbar-example.c (main):
7935 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7936 * src/hildon-banner.c (hildon_banner_set_property):
7937 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7938 Fix compilation warnings
7940 * src/hildon-window.c:
7943 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7945 * src/hildon-stackable-window.c
7946 (hildon_stackable_window_unset_program):
7947 Calculate correctly whether to show the previous window if the
7948 last one is removed from the stack.
7949 (hildon_stackable_window_go_to_root_window):
7950 Send delete events starting from the topmost window.
7951 Stop if one of the windows is not destroyed.
7953 (hildon_stackable_window_delete_event)
7954 (hildon_stackable_window_class_init):
7955 Ignore the delete event if the window is not the topmost one.
7957 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7959 * src/hildon-pannable-area.c
7960 (hildon_pannable_area_expose_event): Fixed a problem when
7961 selecting the background color of the scrollbars.
7963 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7965 * examples/hildon-stackable-window-example.c
7966 * src/hildon-stackable-window.c
7967 * src/hildon-stackable-window.h
7968 hildon_stackable_window_go_home() renamed to
7969 hildon_stackable_window_go_to_root_window()
7970 Send delete events to windows rather than closing them with
7971 gtk_widget_destroy()
7973 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7975 * src/hildon-pannable-area.c
7976 (hildon_pannable_area_button_release_cb): Fix overshooting in
7979 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7981 * src/hildon-pannable-area.c
7982 (hildon_pannable_area_init): Initially show the scroll indicators.
7983 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7985 Add initial effect showing the widget is pannable.
7987 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7989 * src/hildon-pannable-area.c
7990 (hildon_pannable_area_class_init)
7991 (hildon_pannable_area_set_property)
7992 (hildon_pannable_area_get_property)
7993 (hildon_pannable_area_button_press_cb):
7994 New 'velocity_fast_factor' property to decide which velocity is
7997 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7999 * src/hildon-pannable-area.c
8000 (hildon_pannable_draw_hscroll)
8001 (hildon_pannable_draw_vscroll):
8002 Use float variables to calculate the size of the scrollbars to
8003 avoid error propagation and resizing during scrolling.
8005 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8007 * src/hildon-pannable-area.c
8008 (hildon_pannable_draw_vscroll)
8009 (hildon_pannable_draw_hscroll):
8010 Define a minimum size for the scroll bars
8012 * src/hildon-stackable-window.c
8013 (hildon_stackable_window_go_home): Fix compilation warning
8014 (get_last_window): Minor optimizations
8015 (hildon_stackable_window_class_init): Fix initialization of
8018 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8020 * src/hildon-stackable-window.c: Fixed typos in doc
8022 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8024 * src/hildon-pannable-area.c
8025 (hildon_pannable_area_scroll):
8026 Calculate here whether we need to scroll instead of using the booleans
8027 that tell us whether to /draw/ the scrolling bars.
8029 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8031 * src/hildon-app-menu.h
8033 * src/hildon-app-menu.c
8034 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8035 multiple filter groups related code and API. Now we support only
8037 * examples/hildon-app-menu-example.c:
8039 Update to reflect API changes.
8041 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8043 * src/hildon-stackable-window.c
8044 (hildon_stackable_window_class_init):
8045 Add hildon_stackable_window_realize.
8046 (hildon_stackable_window_realize):
8047 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8048 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8049 to apply theming and behavior specific to HildonStackableWindow
8052 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8054 * src/hildon-note.c (hildon_note_button_release):
8055 Close information notes also when tapping on them
8057 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8059 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8060 ELASTICITY, refactor and review, fix some issues with drawing
8063 * src/hildon-pannable-area.c:
8064 (hildon_pannable_area_button_press_cb): removed the conditions to
8065 avoid clicks when overshooting. It is not required
8067 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8068 define. Refatored and reviewed the code, now we do not need to
8069 manage velocity in motion_notify.
8071 (hildon_pannable_area_motion_notify_cb): We have moved the code
8072 that controls the area_scroll to the axis_scroll function and get
8073 rid of duplicated code.
8075 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8077 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8079 (hildon_pannable_draw_vscroll),
8080 (hildon_pannable_draw_hscroll): Fixed the problems with the
8081 scrollbar drawing, now we do not use two surfaces, it is easier
8082 and saves resources.
8084 (hildon_pannable_area_get_property): Style modification.
8086 (hildon_pannable_area_class_init): Changed some default values.
8088 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8090 * src/hildon-stackable-window.c: Fix some typos in the
8093 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8095 * src/hildon-dialog.c:
8096 Change indentation style
8099 (hildon_note_button_release):
8100 Use root coordinates to check if the release event happened
8103 * src/hildon-app-menu.c
8104 (hildon_app_menu_button_release):
8105 Remove unnecessary check
8107 * examples/hildon-app-menu-example.c
8109 Add cast to fix warning
8111 * src/hildon-app-menu.c
8112 (hildon_app_menu_class_init):
8113 New inner-border style property.
8114 Set all default spacings to 16
8115 (hildon_app_menu_init):
8116 Use vertical-spacing to set the space between filter buttons and
8117 regular menu buttons.
8118 Set the default container border using the inner-border value.
8120 * examples/hildon-app-menu-example.c
8122 Don't set the menu border explicitly, now we have the inner-border
8123 style property for that.
8125 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8127 * src/hildon-app-menu.c (hildon_app_menu_init):
8128 Make the window modal
8130 * src/hildon-note.c (hildon_note_map)
8131 * src/hildon-app-menu.c (hildon_app_menu_map):
8132 Destroy the grab window if we're unable to grab the pointer
8134 * src/hildon-app-menu-private.h
8135 * src/hildon-app-menu.c
8136 (hildon_app_menu_init, hildon_app_menu_finalize)
8137 (hildon_app_menu_map, hildon_app_menu_unmap)
8138 (hildon_app_menu_button_release)
8139 (grab_transfer_window_get):
8140 Bring back the grab window
8141 (hildon_app_menu_realize):
8142 Decorate the window, set WM hint for Matchbox
8144 * src/hildon-note.c (hildon_note_realize):
8145 * src/hildon-banner.c (hildon_banner_realize):
8146 Add WM hints for Matchbox
8148 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8150 * src/hildon-app-menu-private.h
8151 * src/hildon-app-menu.c
8152 (hildon_app_menu_init, hildon_app_menu_finalize)
8153 (hildon_app_menu_map, hildon_app_menu_unmap)
8154 (hildon_app_menu_button_release):
8155 Remove the grab window, it's not needed anymore
8157 * src/hildon-program.c
8158 Fixed typo in documentation
8160 * src/hildon-app-menu.h
8161 * src/hildon-app-menu.c
8162 * examples/hildon-app-menu-example.c
8163 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8165 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8168 Added new transfer_window and close_if_pressed_outside private
8170 (hildon_note_rebuild):
8171 Don't add a cancel button to the information note. It will be
8172 closed when tapping outside
8173 Remove the comment about the OK button in the documentation
8174 (hildon_note_realize):
8175 Set the notification type hint
8176 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8177 Grab/ungrab pointer and keyboard if the note has to be closed when
8179 (hildon_note_button_release):
8180 Close the note when tapping outside (if applicable)
8182 * src/hildon-app-menu.c
8183 Grab/ungrab pointer and keyboard on map/unmap
8184 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8185 Close the menu on button release, not button press
8187 * src/hildon-banner.c
8188 (hildon_banner_set_property)
8189 (hildon_banner_check_position):
8190 Make the banner use the full width of the screen
8191 (hildon_banner_show_information)
8192 (hildon_banner_show_information_with_markup):
8193 Don't display an icon by default
8195 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8197 Added fading scrollbars and adapted all the overshooting code to
8198 horizontal scrolling. We have also fixed bugs with overshooting
8199 and current fading implementation.
8201 * src/hildon-pannable-area.c
8202 (hildon_pannable_area_scroll_indicator_fade): Time out function
8203 used to change the transparency of the scrollbars.
8205 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8206 control and fixed a problem with fading, we now remove the fade
8207 timeout before adding a new one.
8209 (hildon_pannable_axis_scroll):
8210 (hildon_pannable_area_scroll):
8211 (hildon_pannable_area_timeout): Added this functions so we can use
8212 the scroll code both for vertical and horizontal.
8214 (hildon_pannable_area_motion_notify_cb):
8215 (hildon_pannable_area_button_release_cb): Added the horizontal
8216 scrolling control, fixed a problem with the overshooting timeout.
8218 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8219 painting of the scrolls.
8221 (hildon_pannable_draw_vscroll):
8222 (hildon_pannable_draw_hscroll):
8223 (hildon_pannable_area_expose_event):
8224 Draw both scrollbars and rectangles in the overshooting area.
8226 (hildon_pannable_area_get_property):
8227 (hildon_pannable_area_set_property):
8228 Modified the overshoot property to overshoot_max
8230 (hildon_pannable_area_map):
8231 Replaced the comments symbols.
8233 (hildon_pannable_area_size_allocate):
8234 (hildon_pannable_area_class_init):
8235 (hildon_pannable_area_init): Added horizontal scroll, fading
8236 effect properties, fixed a problem when overshooting in the bottom
8239 * examples/hildon-pannable-area-example.c:
8240 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8241 looks better in the example.
8243 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8245 * src/hildon-window.c
8246 * src/hildon-window.h
8247 (hildon_window_class_init)
8248 (hildon_window_unset_program)
8249 (hildon_window_unset_program_real):
8250 Make unset_program a virtual function
8252 * src/hildon-stackable-window.c
8253 * src/hildon-stackable-window.h
8254 Added hildon_stackable_window_go_home()
8256 * examples/Makefile.am
8257 * examples/hildon-stackable-window-example.c
8258 HildonStackableWindow example
8260 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8262 * hildon-pannable-area.c: Added the overshoot property and removed
8263 the OVERSHOOT define. Fixed an indent style error.
8264 (hildon_pannable_area_motion_notify_cb):
8265 (hildon_pannable_area_get_property):
8266 (hildon_pannable_area_set_property): Add overshoot property.
8268 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8271 (hildon_pannable_area_class_init): Installed the new property.
8273 * hildon-pannable-area-example.c: Added a sawtooth function, this
8274 way it is easier to check the movement in the pannable.
8275 (get_sawtooth_label): Added this function.
8276 (main): Now we get the labels from the new get_sawtooth_label
8279 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8281 * src/hildon-app-menu.h
8282 * src/hildon-app-menu.c
8283 Renamed API variables for consistency
8285 (hildon_app_menu_popup): Use also the default window size to
8286 decide where to place the menu
8288 (hildon_app_menu_init, hildon_app_menu_class_init): New
8289 external-border style property
8291 2008-05-26 Michael Natterer <mitch@imendio.com>
8293 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8294 widget_class->tap_and_hold_setup signal slot doesn't exist any
8295 longer, stop overriding it.
8297 (hildon_time_editor_init): g_signal_connect() to the
8298 tap-and-hold-setup signal instead.
8300 (hildon_time_editor_entry_keypress): add cast to fix warning.
8302 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8304 * doc/hildon-docs.sgml
8306 * examples/Makefile.am
8307 * examples/hildon-app-menu-example.c
8309 * src/hildon-app-menu-private.h
8310 * src/hildon-app-menu.c
8311 * src/hildon-app-menu.h
8313 New HildonAppMenu widget
8315 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8317 Rearranged the inheritance of the pannable area, now it inherits
8318 from GtkBin. This will allow us to control the event_window and
8319 the allocation process of the widget, required for some effects.
8321 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8322 GtkBin structures. * src/hildon-pannable-area.c: Added the
8323 event_window variable.
8324 (hildon_pannable_area_button_press_cb):
8325 (hildon_pannable_area_button_release_cb):
8326 (hildon_pannable_area_motion_notify_cb):
8327 Changed the signature of the method, now we override the event
8328 callback instead of connecting to the signal.
8330 (hildon_pannable_area_realize):
8331 (hildon_pannable_area_unrealize):
8332 (hildon_pannable_area_map):
8333 (hildon_pannable_area_unmap):
8334 (hildon_pannable_area_size_allocate):
8335 Added functions to control the widget construction. We add a
8336 INPUT_ONLY window and we put it over the widgets inside the
8337 container, this event_window handles the events.
8339 (hildon_pannable_area_class_init):
8340 Replaced the signal connections with overrides of the event
8343 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8345 Bouncing effect added when touching the borders, you can change
8346 the elasticity of the border changing the ELASTICITY define.
8348 * src/hildon-pannable-area.c: Added ELASTICITY define.
8349 (hildon_pannable_area_timeout): Added inverse velocity when
8350 touching the border of the child widget, that causes a bounce.
8352 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8354 Improved performance, we now do not go to the X server in order to
8355 get the list of window children. Apparently the effect is the
8356 same, we have to be careful and check if this breaks something in
8359 * src/hildon-pannable-area.c:
8360 (get_ordered_children): Removed this function.
8361 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8362 the children windows function with gdk_window_get_children.
8364 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8366 * src/hildon-pannable-area.c:
8367 (hildon_pannable_area_dispose): Fixed a crash when closing the
8368 window and kinetics is activated.
8370 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8372 * src/hildon-pannable-area.h
8373 * src/hildon-pannable-area.c
8374 Changed indentation style to meet the one used in Hildon
8376 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8378 Reviewed the interaction of the AUTO mode, now we use the time
8379 attribute of the events and calculate the velocity in the motion,
8380 doing a gimp like calculation. The velocity is calculated in each
8381 motion event using the last velocity and the current one, the
8382 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8384 * src/hildon-pannable-area.c: Replaced the time based algorithm
8386 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8387 timeout for the AUTO mode when we are still moving the cursor. We
8388 added also the velocity calculation in this function.
8389 (hildon_pannable_area_button_release_cb): launch the timeout in
8390 case we are in AUTO mode. There are still some constants here that
8391 come from the old implementation that should be reviewed and
8394 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8396 * doc/hildon-docs.sgml
8399 * src/hildon-stackable-window.c
8400 * src/hildon-stackable-window.h
8402 New HildonStackableWindow widget
8404 * examples/hildon-dialog-example.c
8405 * examples/hildon-pannable-area-example.c
8408 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8410 * src/hildon-dialog.c
8411 (hildon_dialog_new_with_buttons): New constructor.
8413 * examples/hildon-dialog-example.c
8414 (main): Update the example to use the new
8415 hildon_dialog_new_with_buttons().
8417 * examples/hildon-pannable-area-example.c
8418 (main): Update example.
8420 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8422 * doc/hildon-docs.sgml
8424 Added HildonPannableArea to the documentation.
8426 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8428 * doc/visual_index.xml
8429 Fix reference to HildonLoginDialog in documentation
8431 * doc/hildon-docs.sgml
8433 * examples/Makefile.am
8434 * examples/hildon-dialog-example.c
8436 * src/hildon-dialog.c
8437 * src/hildon-dialog.h
8439 New HildonDialog widget.
8441 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8443 * src/hildon-pannable-area.c
8444 Merge latest changes (r4318, r4342) from libmokoui trunk
8446 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8448 * examples/Makefile.am
8449 * examples/hildon-pannable-area-example.c
8451 * src/hildon-pannable-area.c
8452 * src/hildon-pannable-area.h
8454 New HildonPannableArea widget.
8456 2008-04-15 18:05:19 <timj@imendio.com>
8458 * src/hildon-banner.c: revert the recent change, that introduced
8459 gtk_window_present() calls. this reopens:
8460 Bug 78481 - [freetest] information banners are hidden under browser menu
8461 But resolves another variant of:
8462 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8464 2008-04-15 13:21:13 <timj@imendio.com>
8466 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8467 recreated its layout, spotted by Kris. this fixes all remaining
8468 artefacts and stability issues with the banner code. in particular:
8469 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8471 2008-04-14 16:52:59 <timj@imendio.com>
8473 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8474 operating on unrealized widgets, fixes:
8475 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8477 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8479 2008-04-09 Kristian Rietveld <kris@imendio.com>
8481 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8482 makes banner disappear.
8483 Fixes: NB#79182: info banner flickering with certain message lengts.
8485 * src/hildon-banner.c (hildon_banner_constructor),
8486 (hildon_banner_init), (hildon_banner_set_text),
8487 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8488 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8489 FALSE, reset size requests of label and banner,
8490 (force_to_wrap_truncated): when the text is too wide, always enforce
8491 the maximum possible width instead of recalculating it from the
8492 layout; enforce the maximum banner height of 3 lines,
8493 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8494 nicer wrapping and no truncated chars if space gets tight.
8496 * src/hildon-banner-private.h: add has_been_wrapped and
8497 has_been_truncated fields.
8499 2008-04-07 Sven Herzberg <sven@imendio.com>
8501 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8502 local values in hildon_date_editor_size_allocate
8504 * src/hildon-date-editor.c: moved the real allocation code into the
8507 2008-04-07 Sven Herzberg <sven@imendio.com>
8509 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8510 local values in hildon_date_editor_size_allocate
8512 * src/hildon-date-editor.c: merged the two if() branches together
8514 2008-04-07 Sven Herzberg <sven@imendio.com>
8516 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8517 local values in hildon_date_editor_size_allocate
8519 * src/hildon-date-editor.c: changed the arguments of the if()
8522 2008-04-07 Sven Herzberg <sven@imendio.com>
8524 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8525 local values in hildon_date_editor_size_allocate
8527 * src/hildon-date-editor.c: split the calculation of the allocation
8528 from the real allocation
8530 2008-03-27 Michael Natterer <mitch@imendio.com>
8532 Fixes: NB#81696: The passcode is not overwritten even after
8535 * src/hildon-code-dialog.c
8536 (hildon_code_dialog_button_clicked)
8537 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8538 because that doesn't overwrite selected text. Instead, emit the
8539 "commit" signal on the entry's im_context so the entry's normal
8540 insert logic is triggered. Set the cursor to the end of the entry
8541 after each insert operation so that we *only* insert in the middle
8542 of the text if something was selected.
8544 2008-03-27 Michael Natterer <mitch@imendio.com>
8546 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8547 selector cannot be opened
8549 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8550 when the popup color selector is created. Please connect to this
8551 signal in order to set the dialog's help ID.
8553 2008-03-25 Sven Herzberg <sven@imendio.com>
8555 Fixes: MB#1212: Hide info banners (infoprints) on click
8557 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8558 extracted the close event simulation into an extra function
8559 (hildon_banner_button_press_event): simulate a close event and destroy
8560 the widget if the event wasn't handled
8561 (hildon_banner_class_init): added the button_press_event handler
8562 (hildon_banner_init): added button-press events to the widget
8564 2008-03-25 Sven Herzberg <sven@imendio.com>
8566 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8567 Patch from: Mohammad Anwari <mdamt@maemo.org>
8569 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8570 instead of the right in RTL mode
8571 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8572 breadcrumb button list in RTL mode
8573 * src/hildon-caption.c: mirror the appearance of the caption widget in
8575 * src/hildon-date-editor.c: mirror appearance of the date editor in
8577 * src/hildon-time-editor.c: mirror appearance of the time editor in
8579 * src/hildon-window.c: fix the position of the popup in RTL mode
8581 2008-03-25 Sven Herzberg <sven@imendio.com>
8583 Amendment to the fix of NB#22072. Fix compilation.
8585 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8587 2008-03-19 Sven Herzberg <sven@imendio.com>
8589 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8592 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8593 timeout id properly when the timeout will disappear this leaves no
8594 artifacts around in the destroy(); there will only be the timeout
8595 created by hildon_banner_ensure_timeout() and adding a new timeout
8596 will also work if the timeout gets removed because the timeout_handler
8599 2008-03-19 Michael Natterer <mitch@imendio.com>
8601 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8603 * src/hildon-volumebar.c
8604 * src/hildon-vvolumebar.c
8605 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8606 the widget becomes focussable at all.
8608 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8609 set the focus to wither the mute button or the volumebar.
8611 Remove own "can-focus" property and instead listen to
8612 notify::can-focus in order to update the widget's state.
8614 Implement GtkWidget::focus() and make sure we can also *leave* the
8615 widget, not only enter it, depending on volumebar orientation and
8616 requested focus direction.
8618 Clean up set_mute() to cooperate nicely with all the above.
8620 2008-03-04 Michael Natterer <mitch@imendio.com>
8622 Fixes: NB#78481: information banners are hidden under browser menu
8624 * src/hildon-banner.c: call gtk_window_present() on the banners so
8625 they are risen if they are already visible.
8627 2008-03-03 Sven Herzberg <sven@imendio.com>
8629 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8631 * examples/hildon-window-menu-example.c: (main): extended the window
8632 menu example to serve as a testcase for automatically added
8633 accelerator groups, too
8634 * src/hildon-window.c: (hildon_window_add_accel_group),
8635 (hildon_window_set_menu): added patch by Tommi Komulainen
8637 2008-03-03 Sven Herzberg <sven@imendio.com>
8639 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8641 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8642 knowledge about the border allocators used within GTK+
8644 2008-02-26 Sven Herzberg <sven@imendio.com>
8646 Fixes: MB#2981: Build with asserts broken
8648 * src/hildon-date-editor.c,
8649 * src/hildon-number-editor.c,
8650 * src/hildon-time-editor.c,
8651 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8652 the proper GType instance check
8654 2008-02-25 Sven Herzberg <sven@imendio.com>
8656 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8658 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8659 * examples/hildon-window-menu-example.c: (main): explicitly show
8661 * src/hildon-window.c:
8662 (hildon_window_set_main_menu): moved most of the code from set_menu()
8663 to this place; skipped the call to gtk_widget_show_all(); also didn't
8664 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8665 (hildon_window_set_menu): removed most of the code, just keep the
8666 questionable gtk_widget_show_all()
8667 * src/hildon-window.h: added the new function and deprecate the old
8670 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8676 * debian/changelog: Updating.
8678 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8681 * pkgconfig/Makefile.am:
8682 * pkgconfig/hildon.pc.in:
8685 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8686 use newly created API_MAJOR_VERSION.
8688 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8694 * debian/changelog: Updating.
8696 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8698 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8700 Add outer_border style property, we use it but don't define it (!).
8704 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8706 * examples/hildon-bread-crumb-trail-example.c (main):
8710 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8712 Fix logic for the bread crumb trail node removal.
8716 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8722 * debian/changelog: Updating.
8724 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8726 Patch by Alejandro to get/set passwords dialogs accesibility.
8728 * hildon-1/src/hildon-get-password-dialog.c:
8729 * hildon-1/src/hildon-set-password-dialog.c:
8730 Set atk_set_name to the passwd entries in order to allow
8731 accessibility by name on this entries.
8733 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8738 * debian/control: Updating gtk dep.
8740 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8742 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8743 USE_MAEMO_GTK is enabled.
8745 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8747 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8748 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8750 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8756 * debian/changelog: Updating.
8758 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8760 * examples/Makefile.am:
8761 * examples/hildon-logical-color-example.c:
8762 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8763 applied + adding a test case. Fixes: NB#71660.
8765 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8767 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8768 to be visible, fixes warning on map for windows without toolbars.
8770 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8772 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8773 2.11.0, add a check for that besides the MAEMO_GTK check.
8775 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8781 * debian/changelog: Updating.
8783 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8785 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8786 visibility. Fixes: NB#70842 and MB#615.
8788 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8790 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8791 set the separator as no-show-all so it doesn't unintentionally appear when
8792 someone does a show_all.
8794 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8796 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8797 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8798 toplevel item. Fixes: NB#62031
8800 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8802 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8803 fix the name of the function in the docs.
8805 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8811 * debian/changelog: Updating.
8813 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * examples/hildon-banner-long-example.c: Adding a test-case for long
8818 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8820 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * src/hildon-color-chooser-dialog.c:
8823 * src/hildon-color-chooser.c:
8824 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8825 memory leaks in font selector and color selector. Fixes: NB#70499 and
8828 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8830 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8832 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8834 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8835 little bit bigger. Fixes: #NB63694.
8837 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * debian/changelog: Updating.
8845 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8848 * doc/hildon-docs.sgml:
8849 * doc/images/bread-crumb-trail.png:
8850 * doc/images/calendar-popup.png:
8851 * doc/images/caption.png:
8852 * doc/images/code-dialog.png:
8853 * doc/images/color-button.png:
8854 * doc/images/color-chooser-dialog.png:
8855 * doc/images/color-chooser.png:
8856 * doc/images/controlbar.png:
8857 * doc/images/date-editor.png:
8858 * doc/images/font-selection-dialog.png:
8859 * doc/images/get-password-dialog.png:
8860 * doc/images/hvolumebar.png:
8861 * doc/images/login-dialog.png:
8862 * doc/images/note.png:
8863 * doc/images/number-editor.png:
8864 * doc/images/range-editor.png:
8865 * doc/images/seekbar.png:
8866 * doc/images/set-password-dialog.png:
8867 * doc/images/sort-dialog.png:
8868 * doc/images/time-editor.png:
8869 * doc/images/time-picker.png:
8870 * doc/images/vvolumebar.png:
8871 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8872 Adding the bread-crumb-trial and helpers to the documentation.
8874 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8876 * examples/hildon-find-toolbar-example.c:
8877 * src/hildon-find-toolbar.c:
8878 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8879 actually continue firing the other handlers if connected. Adding a new
8881 hildon_find_toolbar_get_last_index that gets the index of the most
8882 recently added (last) item. Fixes: NB#52301.
8884 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8886 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8887 behaviour. Fixes: NB#68610.
8889 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8891 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8894 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8896 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8897 when realizing the banner. Should make the infonbanner effect a bit more
8900 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-volumebar.c:
8903 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8904 hildon_volumebar_set_range_insensitive_message and
8905 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8907 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8909 * src/hildon-window.c: Fixing the border freeing on destroy.
8911 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * src/hildon-code-dialog-private.h:
8914 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8915 kw keyboard support in HildonCodeDialog.
8917 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * debian/changelog: Updating.
8925 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8927 * src/hildon-date-editor.c:
8928 * src/hildon-number-editor.c:
8929 * src/hildon-private.c:
8930 * src/hildon-private.h:
8931 * src/hildon-time-editor.c:
8932 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8933 handling in subclassed composite widgets. Fixes: NB#66628.
8935 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8938 from destroy_ callback as it introduces problems in async dbus signal
8939 handlers. Fixes NB#66673.
8941 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * examples/hildon-hvolumebar-example.c:
8944 * src/hildon-volumebar.c: Improving the focus handling in the
8945 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8946 set_property accessor so that "mute" property can be actually set. I'm
8947 scared that nobody noticed it's totally broken.
8949 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8954 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * src/hildon-calendar.c:
8957 * src/hildon-number-editor.c:
8958 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8959 matches the spec of 6 chars per second. Fixes: NB#60489.
8961 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8963 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8964 gtk_style_lookup_color sometime returns FALSE even though color was
8965 found and values were filled properly. Weird. Removing the warning for the
8968 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8970 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8971 expand vertically. Adding some extra space to the find toolbar buttons to
8972 make them thumbable. Fixes NB#66060.
8974 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8976 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8977 popup with "Ok" and "Cancel". Fixes NB#59299.
8979 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8981 * src/hildon-calendar.c: Process all window updates before executing next
8982 timeout. Fixes: NB#54146.
8984 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8990 * debian/changelog: Updating.
8992 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8994 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8995 the client event and ignore it, since we use the delete event to close
8998 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-helper.c: Remove the bogus warning about color not being
9001 found. Fixes NB#58352.
9003 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * examples/Makefile.am:
9006 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9007 HildonSeekbar widget inside a toolbar.
9009 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9011 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9012 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9013 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9014 don't want to be closed by non-temporary windows on map.
9016 Also use G_DEFINE_TYPE instead of manually typed code.
9018 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9025 * debian/rules: Updating.
9027 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9029 * examples/Makefile.am:
9030 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9031 bug NB#61128. Strangely it works.
9033 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9035 * src/hildon-date-editor.c: When the date editor entry has been changed
9036 but the numbers of characters < max, turn off the skip validation flag.
9037 Prevents a situation when we enter first a valid year and later re-write
9038 it with an invalid one. Fixes NB#60154.
9040 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9043 code dialog. Fixes NB#64355.
9045 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9048 switching the page. Fixes NB#49374.
9050 * examples/Makefile.am:
9051 * examples/hildon-wizard-dialog-example.c: Adding an example for
9052 HildonWizardDialog that shows how to handle manual sensitivity setting on
9055 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9059 * src/hildon-version.h.in:
9060 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9062 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * src/hildon-volumebar.c: Updating the docs.
9066 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * debian/changelog: Updating.
9074 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * src/hildon-find-toolbar.c:
9077 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9078 selected item: hildon_find_toolbar_set_active,
9079 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9080 hildon_find_toolbar_get_active_iter . They correspond to respective
9081 GtkComboBox functions.
9083 * examples/Makefile.am:
9084 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9087 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9089 * examples/Makefile.am:
9090 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9093 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9094 when font size > 32 and we pack a focusable widget inside. Actually using
9095 the default response would work too, but since we don't show default
9096 response state in any way (no theming) it would not be visible to the
9097 user. Fixes NB#63430.
9099 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * src/hildon-date-editor.c: Adding the missing variable setter in the
9102 set_property handler. Fixes NB#54182.
9104 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * src/hildon-window.h: Changing the long key press time from 1500ms to
9107 800ms as requested in NB#63700. I have a bad feeling about this, let's
9108 see... Fixes NB#63700.
9110 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9112 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9113 hildon_time_picker_map, hildon_time_picker_realize,
9114 hildon_time_picker_style_set): Split the contents of map to more
9115 appropriate functions; set window decorations on realize and update
9116 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9118 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9123 * debian/changelog: Updating.
9125 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9127 * src/Makefile.am: fixed installation of the header files
9129 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9135 * debian/changelog: Updating.
9137 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9139 * configure.ac: Removing some remaining of --enable-xan.
9141 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9143 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9144 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9146 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9147 2.10.12-osso6 because the move-focus signal needs to be available in
9150 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9152 * examples/Makefile.am:
9153 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9154 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9155 fine. Prolly NB#61128 is fixed now.
9157 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9159 * src/hildon-volumebar.c:
9160 * src/hildon-volumebar.h: Adding the
9161 hildon_volumebar_set_range_insensitive_message and
9162 hildon_volumebar_set_range_insensitive_messagef functions to set
9163 insensitive message on the slider of the volumebar. Fixes NB#61129.
9165 * examples/Makefile.am:
9166 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9167 test the new insensitive messsage functionality on HildonVolumebar.
9169 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9171 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9174 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9176 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9177 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9178 button on after clearing the trail.
9180 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9182 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9184 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9186 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9187 by splitting the installed headers in generated and non-generated groups. Use
9188 only the non-generated headers to create the hildon-enum-types.h file.
9190 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9192 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9194 * src/hildon-window.c: Hide the window before performing the destroy.
9195 Should make the app closing a little tiny bit more snappy.
9197 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9199 * src/hildon-seekbar.c: add gtkrange.h header
9200 * src/hildon-caption.c: remove unused variable
9202 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9204 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9207 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9213 * debian/changelog: Updating.
9215 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9217 * src/hildon-window.c (hildon_window_window_state_event,
9218 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9219 escape timeout on focus-out-event rather than notify::is-topmost; the
9220 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9222 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9224 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9225 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9227 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9229 * src/hildon-window: actually, you need to use the macro always, there's
9230 no private pointer in the instance structure. We should have cleaned this up
9231 when we had the chance...
9233 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9235 * src/hildon-window.c: do not get the private date from HildonWindow before
9236 it passes the g_return_if_fail check. Once it's passed the test, there's no
9237 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9238 if you are only going to access the data once. Whitespace cleanups.
9240 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9242 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9243 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9245 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9251 * debian/changelog: Updating.
9253 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9255 * src/hildon-window.c: When destroying the window, remove (if exists) the
9256 escape timeout handler. Fixes #NB59276.
9258 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * src/hildon-banner.c: When realizing the widget, set the window
9261 transiency. Setting the transiency in the gobject constructor is not
9262 good, as the widget is not realized at that point. Fixes: #NB56624.
9264 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9266 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9267 Add padding for future expansions.
9269 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9271 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9272 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9273 will fake an activation on the previous to the last item of the trail, so
9274 the effect can be overrided by the developer as usual.
9275 Also change the callback for the back button to do the same thing, so its
9276 effect can be overrided too. Fixes: NB#58982
9278 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9280 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9281 HildonCaption. Fixes NB#52379.
9283 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9285 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9286 the internal state of the trail after the user has had the chance of executing
9287 his handler for the signal. Specifically, it may happen that the activated button
9288 is removed and the user still lets the default handler run. This would segfault
9291 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9293 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9294 scrollbar to the preview dialog. Fixes NB#54147.
9296 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9298 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9299 max/min year properties can be altered, so the client can modify it
9300 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9302 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9304 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9305 hildonlike by default. Fixing a problem with disappearing arrows when
9306 scrolling through months and years. Fixes NB#54127.
9308 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9310 * examples/hildon-date-editor-example.c: Adding error callback to the date
9313 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * configure.ac: Updating.
9321 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9323 * configure.ac: Adding a special '--enable-xan' configure option that
9324 turns off the -Werror compilation setting. Usefull for development.
9326 * src/hildon-calendar.c:
9327 * src/hildon-number-editor.c:
9328 * src/hildon-time-picker.c: Adding the 5* multiplier to
9331 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9333 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9334 instead of g_object_ref + gtk_object_sink.
9336 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * debian/changelog: Updating.
9344 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9346 * src/hildon-color-chooser-dialog.c:
9347 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9348 straight from Tommi labs.
9350 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9352 * examples/hildon-finger-example.c: Correcting the header file path.
9354 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9355 the changed signal. Fixes a small memory leak.
9357 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9361 * src/hildon-banner.c: Importing several usefull fixes from the
9362 ubuntu-mobile branch.
9364 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9366 * examples/Makefile.am:
9367 * examples/hildon-finger-example.c: Adding a finger-checking code
9370 * src/hildon-font-selection-dialog.c: Do not allocate the color
9371 structure using the g_new. Fixes NB#54061.
9373 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9375 * src/hildon-helper.c: Correcting tabs in file.
9377 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9379 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9380 control the visibility of the children.
9382 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9384 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9390 * debian/changelog: Updating.
9392 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9394 * src/hildon-bread-crumb-trail.c:
9395 (hildon_bread_crumb_trail_size_allocate):
9397 Make the back button always a square.
9399 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9401 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9402 from the .c file as it's a private file.
9404 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9406 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9407 uses slightly bigger height.
9409 * src/hildon-font-selection-dialog.c: Adding some checks before
9410 freeing memory in the font selection dialog.
9412 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9414 * src/hildon-font-selection-dialog.c: Adding a small check when
9417 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9418 buttons sensitivity on page switching.
9420 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9422 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9423 internal details of adding a bread crumb to the trail.
9425 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9431 * debian/changelog: Updating.
9433 * src/hildon-bread-crumb-trail.h:
9434 * src/hildon-bread-crumb.h: Changing the API guard to
9435 HILDON_ENABLE_UNSTABLE_API.
9437 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9445 * src/hildon-helper.h: Updating.
9447 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9459 * src/hildon-helper.h: Small fix to make the package actually compile.
9461 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9463 * src/hildon-bread-crumb-trail.h:
9464 * src/hildon-bread-crumb.h:
9466 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9467 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9469 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9471 * examples/hildon-bread-crumb-trail-example.c:
9473 * src/hildon-bread-crumb-trail.c:
9474 * src/hildon-bread-crumb-trail.h:
9475 * src/hildon-bread-crumb.c:
9476 * src/hildon-bread-crumb.h:
9477 * src/hildon-marshalers.list:
9478 * src/hildon-bread-crumb-widget.c:
9479 * src/hildon-bread-crumb-widget.h:
9481 Slight change in the widget design. The bread crumb trail API is
9482 unchanged, but HildonBreadCrumb is now an interface. A *private*
9483 implementation, hildon-bread-crumb-widget, is provided and used
9484 internally by the trail for the push_text/push_icon functions.
9486 The generic push API is still available, so anyone can implement
9487 and use its own bread crumb widget.
9489 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9491 * debian/rules: Fixing the shlibs.
9493 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9495 * src/hildon-banner.c: Fixing a problem with timed banners having
9496 their parrent destroyed before they are.
9498 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9500 * src/hildon-bread-crumb.c:
9501 * src/hildon-bread-crumb.h:
9503 Make the get_natural_size function a vfunc.
9505 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9507 * src/hildon-bread-crumb.c:
9508 * src/hildon-bread-crumb-trail.c:
9512 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9519 * debian/changelog: Updating for release.
9521 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9523 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9524 don't leak the pango layout.
9526 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9529 * examples/hildon-bread-crumb-trail-example.c:
9533 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9535 * debian/changelog: Removing the bug-fixed entries that were actually
9536 resolved as WONTFIX.
9538 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9541 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9543 * src/hildon-bread-crumb-trail.c:
9544 * src/hildon-bread-crumb-trail.h:
9545 * src/hildon-bread-crumb.c:
9546 * src/hildon-bread-crumb.h:
9550 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9552 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9553 until it's passed the type check.
9555 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9557 * examples/hildon-bread-crumb-trail-example.c
9561 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9563 * examples/Makefile.am
9564 * examples/hildon-bread-crumb-trail-example.c
9566 * src/hildon-bread-crumb-trail.c
9567 * src/hildon-bread-crumb-trail.h
9568 * src/hildon-bread-crumb.c
9569 * src/hildon-bread-crumb.h
9571 New HildonBreadCrumbTrail widget.
9573 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9575 * src/hildon-range-editor.c (hildon_range_editor_init),
9576 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9577 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9578 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9579 hildon_time_editor_class_init, hildon_time_editor_init),
9580 src/hildon-get-password-dialog.c (invalid_input,
9581 hildon_get_password_set_property, hildon_get_password_get_property,
9582 create_contents, hildon_get_password_dialog_set_max_characters),
9583 src/hildon-set-password-dialog.c (create_contents),
9584 src/hildon-date-editor.c (hildon_date_editor_init),
9585 src/hildon-login-dialog.c (hildon_login_dialog_init),
9586 src/hildon-number-editor.c (hildon_number_editor_init),
9587 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9588 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9589 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9590 configure option and adding the respective checks in the code.
9591 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9592 hildon_calendar_drag_data_received): fixed some build warnings.
9594 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9596 * debian/changelog: A 1.0.0 release notes.