1 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
3 [Release 2.1.96, this time for real]
6 * debian/changelog: updates
8 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
10 * hildon/hildon-pannable-area.c
11 (hildon_pannable_area_get_topmost): change the computation of the
12 co-ordinates transformed when no one of the children is a topmost
14 Fixes: NB#133252 (Opening any feed item from RSS always opens the
15 first feed item in browser)
17 2009-08-26 Alejandro G. Castro <alex@igalia.com>
19 * hildon/hildon-pannable-area.c,
20 (hildon_pannable_area_remove_timeouts): Adding this new function
21 with the code that removes the timeouts of the widget.
22 (hildon_pannable_area_dispose),
23 (hildon_pannable_area_unrealize): Use the new remove function to
24 stop timeouts when unrealizing and disposing.
25 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
26 calculation to avoid negative values in some cases.
28 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
30 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
32 * examples/hildon-check-button-example.c: (button_toggled_cb):
33 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
34 (hildon_check_button_set_active), (hildon_check_button_new),
35 (hildon_check_button_clicked), (hildon_check_button_class_init):
36 * hildon/hildon-check-button.h:
37 * hildon/hildon-set-password-dialog.c: (create_contents),
38 (hildon_set_password_response_change), (hildon_checkbox_toggled):
40 Revert "Make HildonCheckButton derive from GtkToggleButton"
42 2009-08-21 Alberto Garcia <agarcia@igalia.com>
46 * configure.ac: bump version
48 * debian/changelog: updates
50 2009-08-21 Alberto Garcia <agarcia@igalia.com>
52 * hildon/hildon-check-button.h
53 * hildon/hildon-check-button.c
54 (hildon_check_button_clicked, hildon_check_button_class_init):
55 Make HildonCheckButton derive from GtkToggleButton
56 (hildon_check_button_toggled, hildon_check_button_set_active)
57 (hildon_check_button_get_active):
58 Deprecate unnecessary HildonCheckButton API and use the
59 one from GtkToggleButton instead.
61 * hildon/hildon-set-password-dialog.c (create_contents)
62 (hildon_set_password_response_change, hildon_checkbox_toggled)
63 * examples/hildon-check-button-example.c (button_toggled_cb):
64 Update to use the GtkToggleButton API
66 Fixes: MB#4739 (HildonCheckButton should inherit from
69 Fixes: NB#132661 (HildonCheckButton should inherit from
72 2009-08-20 Alberto Garcia <agarcia@igalia.com>
74 * hildon/hildon-pannable-area.c
75 (hildon_pannable_area_class_init):
76 Increase default value of HildonPannableArea:velocity_max to 2000
78 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
80 2009-08-18 Alberto Garcia <agarcia@igalia.com>
84 * configure.ac: bump version
86 * debian/changelog: updates
88 2009-08-11 Alejandro G. Castro <alex@igalia.com>
90 * hildon/hildon-pannable-area.c
91 (hildon_pannable_area_size_allocate): Checked the scrollbars
92 before the first try when defining the layout, avoids two
93 allocations in some situations.
95 Fixes: NB#131794 (pannable area produces unnecessary allocations
96 causing performance problems)
98 2009-08-11 Alejandro G. Castro <alex@igalia.com>
100 * hildon/hildon-pannable-area.c
101 (hildon_pannable_area_button_press_cb),
102 (hildon_pannable_area_motion_notify_cb),
103 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
104 the spurious ref added in the copy, fixes leak of window.
106 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
107 if it's realized without showing and then deleted)
109 2009-08-10 Alberto Garcia <agarcia@igalia.com>
113 * configure.ac: bump version
115 * debian/changelog: updates
117 2009-08-06 Alberto Garcia <agarcia@igalia.com>
119 * examples/hildon-hvolumebar-timer-example.c
121 * hildon/hildon-banner.c
122 (hildon_banner_timeout, hildon_banner_ensure_timeout)
123 * hildon/hildon-calendar.c
124 (calendar_timer, start_spinning)
125 * hildon/hildon-color-chooser.c
126 (inline_limited_expose)
127 * hildon/hildon-date-editor.c
128 (hildon_date_editor_entry_focus_in)
129 (hildon_date_editor_entry_validate)
130 (hildon_date_editor_entry_select_all)
131 * hildon/hildon-note.c
133 * hildon/hildon-number-editor.c
134 (hildon_number_editor_button_pressed)
135 (hildon_number_editor_start_timer, do_mouse_timeout),
136 (add_select_all_idle, hildon_number_editor_select_all)
137 * hildon/hildon-time-editor.c
138 (hildon_time_editor_entry_focus_in)
139 (highlight_callback, hildon_time_editor_validate)
140 (hildon_time_editor_entry_select_all)
141 * hildon/hildon-time-picker.c
142 (hildon_time_picker_arrow_press)
143 (hildon_time_picker_key_repeat_timeout)
144 * hildon/hildon-window.c
145 (hildon_window_key_press_event)
146 (hildon_window_escape_timeout):
147 Replace all calls to g_idle_add/g_timeout_add with their
148 gdk_threads counterparts.
150 Fixes: NB#126198 (gdk-threads API should be used to install idle
151 and timeout handlers)
153 2009-08-06 Alejandro G. Castro <alex@igalia.com>
155 * hildon/hildon-pannable-area.c,
156 (hildon_pannable_area_class_init): Increased the overshooting max
157 speed to get a faster effect.
158 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
159 deceleration of the overshooting
160 (hildon_pannable_area_button_release_cb): Calculate initial
161 overshooting speed when finger on the screen using the distance to
162 launch the effect faster.
164 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
165 lists with slow row renderers)
167 2009-08-05 Alberto Garcia <agarcia@igalia.com>
169 * doc/hildon-sections.txt: Add new functions
171 2009-08-05 Alberto Garcia <agarcia@igalia.com>
173 * hildon/hildon-text-view.[ch]
174 * hildon/hildon-entry.[ch]:
175 Add deprecation guards around deprecated functions.
177 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
179 * hildon/hildon-app-menu.c: Remove leftover function declaration.
181 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
183 Remove the grab from HildonAppMenu
185 * hildon/hildon-app-menu.c:
186 Now hildon-desktop places a blocker window behind the menu to handle
187 its closing, so the grab is no longer needed. This simplifies its
188 implementation and allows the system blanking to succeed.
190 Fixes: NB#130910 (Screen gets unlocked when menu is open)
192 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
196 * configure.ac: bump version
198 * debian/changelog: updates
199 * debian/control: raise debian dependency on GTK+
201 2009-08-04 Alberto Garcia <agarcia@igalia.com>
203 * hildon/hildon-text-view.c
204 * hildon/hildon-entry.c:
205 Remove all placeholder code from HildonEntry and HildonTextView
206 and use the API in GtkEntry and GtkTextView instead.
208 * examples/hildon-entry-example.c
209 * examples/hildon-text-view-example.c
210 * examples/hildon-wizard-dialog-example.c
211 * hildon/hildon-get-password-dialog.c
212 * hildon/hildon-login-dialog.c
213 * hildon/hildon-picker-dialog.c
214 * hildon/hildon-set-password-dialog.c
215 * hildon/hildon-touch-selector-entry.c:
216 Replace all deprecated calls to HildonEntry and HildonTextView
217 with their Gtk counterparts.
219 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
222 2009-08-03 Alejandro G. Castro <alex@igalia.com>
224 * hildon/hildon-pannable-area.c,
225 (hildon_pannable_area_check_move),
226 (hildon_pannable_area_button_release_cb),
227 (hildon_pannable_area_scroll_to): Reverted the priority change of
228 the timeout, in some situations, slow renderers, the click do not
229 make it to the mainloop on time.
231 Fixes NB#131013 (unable to stop panning file manager by tapping on
234 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
236 * configure.ac: bump version
238 * debian/changelog: updates
240 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
242 * hildon/hildon-touch-selector.[ch]
243 (hildon_touch_selector_center_on_index): New method that allows to center
244 on a item not selected
246 Fixes NB#130291 (New HildonTouchSelector API is required to center on
249 2009-07-29 Alberto Garcia <agarcia@igalia.com>
251 * hildon/hildon-text-view.c
252 (+set_logical_color, +hildon_text_view_style_set)
253 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
254 (hildon_text_view_init)
255 * hildon/hildon-entry.c
256 (+set_logical_color, +hildon_entry_style_set)
257 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
258 (hildon_entry_class_init, hildon_entry_init)
259 * hildon/hildon-button.c
260 (+set_logical_font, +set_logical_color)
261 (hildon_button_style_set, hildon_button_init)
262 (hildon_button_set_arrangement, hildon_button_set_style):
263 Remove all calls to hildon_helper_set_logical_font() and
264 hildon_helper_set_logical_color(), which are recursive, from
267 Fixes: NB#123409 (Showing dialog consumes significant amount of
270 2009-07-29 Alejandro G. Castro <alex@igalia.com>
272 * hildon/hildon-pannable-area.c,
273 (hildon_pannable_area_timeout): Added the process updates of the
274 scrollbars window in the pannable.
276 Fixes: NB#130043 (scrollindicator not smooth while panning)
278 2009-07-23 Alejandro G. Castro <alex@igalia.com>
280 * hildon/hildon-pannable-area.c,
281 (hildon_pannable_area_check_move),
282 (hildon_pannable_area_button_release_cb),
283 (hildon_pannable_area_scroll_to): Increased the priority of the
284 timeout this way it is going to be handled before the events.
286 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: bump version
291 * debian/changelog: updates
293 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
295 * hildon/hildon-entry.c: (set_property): Do not allow to set
296 automatic height and use finger height instead, to prevent an to
297 have a smaller size than than its theme pixbuf.
299 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
301 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
303 * configure.ac: postrelease version bump.
304 * debian/changelog: post release version bump
306 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: Bump version.
312 * debian/changelog: Updates.
314 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
316 * hildon/hildon-note.c: (label_size_request): Take the note
317 padding into account when setting the size request.
319 Fixes: NB#127896 (Information notes text truncated)
321 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
323 * configure.ac: postrelease version bump.
324 * debian/changelog: post release version bump
326 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
331 * configure.ac: Bump version.
332 * debian/changelog: Updates.
334 2009-07-16 Alejandro G. Castro <alex@igalia.com>
337 * hildon/hildon-text-view.c,
338 (hildon_text_view_button_press_event): Grabbed the focus in button
339 press, this way we are sure the widget has the focus in the
340 release event, required for HIM.
342 Fixes: NB#121445 (Virtual keyboard opening is not working in same
343 way for each text entry field)
345 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
347 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
348 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
349 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
350 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
351 (hildon_pannable_area_[gs]et_center_on_child_focus)
352 Redefined GtkContainer set-focus-child signal, in order to center
353 properly on a child when it receives the focus. Defined a new property
354 "center-on-child-focus" in order to activate this feature (deactivated
355 by default). Public get/set methods defined to manage the property.
357 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
359 2009-07-14 László Pere <lpere@blumsoft.eu>
361 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
362 the new size is applied.
364 Fixes: NB#124510 (The Application Menu is distorted when switched
365 between portrait and landscape mode)
366 Fixes: NB#115388 (Power key menu does not resize itself)
368 2009-07-01 Alberto Garcia <agarcia@igalia.com>
370 * hildon/hildon-banner.c (hildon_banner_map):
371 Set banner position after mapping.
373 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
375 * configure.ac: postrelease version bump.
376 * debian/changelog: post release version bump
378 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
383 * configure.ac: Bump version.
384 * debian/changelog: Updates.
386 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
388 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
391 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
393 * tests/check-hildon-banner.c
395 * tests/test_suites.h
396 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
397 were testing deprecated functions.
398 * examples/hildon-banner-example.c: typo on button3 type, that causes
399 a fail compiling with --with-examples but without --disable-deprecated
401 Missed commit in order to fix compilation using '--enable-fatal' and
402 '--disable-deprecated' (see previous commit)
404 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
406 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
407 functions with #ifndef HILDON_DISABLE_DEPRECATED
408 * examples/hildon-find-toolbar.c: Protect deprecated
409 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
410 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
411 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
412 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
414 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
415 to allow proper compilation of deprecated functions defined on the header
417 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
419 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
421 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
422 Cache the panning indicator color.,
423 (hildon_pannable_area_style_set): Query the color on style changes.
424 (hildon_pannable_draw_vscroll),
425 (hildon_pannable_draw_hscroll),
426 (hildon_pannable_area_expose_event): Use the cached panning indicator
427 color instead of looking it up on every expose and more.
429 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
431 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
432 (hildon_pannable_draw_hscroll),
433 (hildon_pannable_area_expose_event): Fix the panning indicator color,
434 so that it's "SecondaryTextColor", as desired.
436 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
438 * hildon/hildon-picker-dialog.c:
439 (selection_completed): take into account HILDON_UI_MODE_NORMAL
440 * hildon/hildon-touch-selector.c
441 (hildon_touch_selector_init): Initialize hildon-ui-mode
442 (hildon_touch_selector_row_activated): new callback for the
443 "row-activated" signal, in order to save the last activated
444 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
445 if the current hildon-ui-mode is coherent with the touch selector
446 (hildon_touch_selector_class_init)
447 (hildon_touch_selector_get_property)
448 (hildon_touch_selector_set_property)
449 Added "hildon-ui-mode" property
450 (disconnect_model_handlers): renamed to clean_column
451 (hildon_touch_selector_remove): use clean_column function
452 (_create_new_column): use the hildon-ui-mode to create the treeview, and
453 only select the first element on HILDON_UI_MODE_EDIT
454 (hildon_touch_selector_column_init): Initialize last_activate
455 (hildon_touch_selector_append_column): check that the touch selector
456 is coherent with the current hildon-ui-mode
457 (hildon_touch_selector_get_hildon_ui_mode)
458 (hildon_touch_selector_set_hildon_ui_mode)
459 Added a getter/setter for the hildon-ui-mode property
460 (hildon_touch_selector_get_last_activated_row): Added this method in
461 order to get the last activated row.
462 * examples/hildon-touch-selector-normal-mode-example.c
463 New example, that shows how to use the HildonTouchSelector in
464 HILDON_UI_MODE_NORMAL
466 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
467 Kristian Rietveld <kris@lanedo.com> advices
469 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
471 * hildon/hildon-time-selector.c: (update_format_policy): Do
472 not call update_format_dependant_columns() if not necessary.
473 (update_format_dependant_columns): Remove unnecessary check for
474 the number of columns.
476 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
478 * hildon/hildon-note.c (+hildon_note_constructor),
479 (hildon_note_class_init), (+hildon_note_set_padding),
480 (hildon_note_rebuild): Install a constructor where to set the
481 padding properties in the note, so that it actually works fine.
482 Use hildon_note_set_padding() for this, and also to set it during
485 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
487 * configure.ac: Bump GTK+ requirement to 2.14.3.
488 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
489 when using maemo-gtk to define proper margins for the notes.
491 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
492 with the dialog edge)
494 2009-06-24 Alberto Garcia <agarcia@igalia.com>
496 * hildon/hildon-banner.c
497 (hildon_banner_class_init):
499 (+hildon_banner_size_request):
500 Request always the full width of the screen.
501 (hildon_banner_realize)
502 (-hildon_banner_check_position, hildon_banner_map):
503 hildon_banner_check_position() is not needed in Hildon 2.2.
504 (-hildon_banner_reset_wrap_state)
505 (hildon_banner_constructor, hildon_banner_init):
506 Remove unnecessary calls to hildon_banner_reset_wrap_state()
507 (+banner_do_set_text)
508 (force_to_wrap_truncated):
509 Remove has_been_wrapped and has_been_truncated attributes.
510 (+reshow_banner, hildon_banner_real_show_information)
511 (hildon_banner_show_information_with_markup)
512 (hildon_banner_show_animation, hildon_banner_show_progress)
513 (hildon_banner_set_text, hildon_banner_set_markup):
514 Refactor code. Shrink banner vertically to use the minimum space
515 necessary everytime the text of the label is updated.
516 (screen_size_changed):
517 Call force_to_wrap_truncated() when the size of the screen
520 Fixes: NB#120500 (only device memory connect mmc in use info
521 banner is left aligned)
523 Fixes: NB#120613 (Size of HildonBanner varies depending on
524 previously opened banners)
526 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
528 * hildon/hildon-color-chooser.c
529 (hildon_color_chooser_pointer_motion): Take the widget allocation
532 Fixes: NB#124385 (Unable to select exact point in color mixing box
533 in color palette dialog)
535 2009-06-23 Alejandro G. Castro <alex@igalia.com>
537 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
538 (hildon_pannable_area_dispose)
539 (hildon_pannable_area_button_press_cb)
540 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
541 (hildon_pannable_area_button_release_cb)
542 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
543 New 'panning-started' and 'panning-finished' signals.
545 Fixes: NB#121732 (New feature request: Signal to pannable area
546 that informs when panning is stopped.)
548 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
550 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
551 instead of hardcoded colon.
553 Fixes: NB#124090 (New calendar wizard title is not using
554 ecdg_ti_caption_separator)
556 2009-06-22 David King <davidk@openismus.com>
558 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
559 constants and functions, as well as correct many typos throughout the
562 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
565 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
567 * configure.ac: postrelease version bump.
568 * debian/changelog: post release version bump
570 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: Bump version.
576 * debian/changelog: Updates.
578 2009-06-18 Alberto Garcia <agarcia@igalia.com>
580 * hildon/hildon-window-stack.c
581 (hildon_window_stack_pop_and_push_list):
582 Prevent windows from having the same stack index
584 2009-06-18 Alberto Garcia <agarcia@igalia.com>
586 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
587 Use the index of the previous window rather than the stack length
588 to calculate the new index.
592 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
594 * hildon/hildon-date-selector.c
595 (hildon_date_selector_select_current_date)
596 (hildon_date_selector_get_date)
597 (hildon_date_selector_select_day):
598 Update the documentation: uses always the range (1-31), as it is obvious
599 that the final one will depend on the month and the year, but globally
600 the range is this, in a similar GtkCalendar approach
601 (hildon_date_selector_get_date):
602 Update the documentation: add NULL as a valid value for the day, month
605 Fix some details, after talk with David King on bug MB#4698
607 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
609 * hildon/hildon-touch-selector-entry.c
610 * hildon/hildon-touch-selector.c
611 Update the documentation of the "text-column" property
613 2009-06-18 David King <davidk@openismus.com>
615 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
616 several typos and errors throughout the documentation.
618 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
621 2009-06-18 Alberto Garcia <agarcia@igalia.com>
623 * hildon/hildon-note.c (hildon_note_realize):
624 Make HildonNote support portrait mode.
626 Fixes: NB#123448 (HildonNote is not portrait-friendly)
628 2009-06-17 Alberto Garcia <agarcia@igalia.com>
630 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
631 Document this function
633 2009-06-17 David King <davidk@openismus.com>
635 * hildon/hildon-date-selector.c
636 (hildon_date_selector_select_current_date)
637 (hildon_date_selector_get_date): Update documentation regarding days,
638 as the day of the month is dependent on both the month and the year.
639 (hildon_date_selector_get_date): Fix documentation of output arguments.
641 Fixes: MB#4698 (DateSelector documentation has bad output argument
642 description, and the day depends on both the month and the year)
644 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
646 * hildon/hildon-caption.c: Other documentation fixes to
649 2009-06-17 David King <davidk@openismus.com>
651 * hildon/hildon-caption.c: Minor documentation updates for
652 HildonCaption. Fixes MB#4697.
654 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
656 * doc/hildon-docs.sgml: Add hildon-version section.
657 * doc/hildon-sections.txt:
658 * hildon/hildon-version.h.in: Document versioning macros and
661 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
663 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
664 from HildonPickerDialog section.
666 2009-06-16 Alberto Garcia <agarcia@igalia.com>
668 * hildon/hildon-banner.c (hildon_banner_bind_style)
669 (screen_size_changed, hildon_banner_init)
670 (hildon_banner_real_show_information)
671 (hildon_banner_show_information_with_markup)
672 (hildon_banner_show_animation, hildon_banner_show_progress):
673 Set a different widget name to banners in portrait mode, for them
674 to be themed correctly.
676 2009-06-16 Alberto Garcia <agarcia@igalia.com>
678 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
679 Set a different widget name to notes in portrait mode, for them to
682 Partially fixes: NB#118401 (HildonNote causes unnecessary
685 2009-06-16 Alberto Garcia <agarcia@igalia.com>
687 * hildon/hildon-note.c (hildon_note_class_init)
688 (+hildon_note_size_request, screen_size_changed):
689 Always request the full width of the screen.
691 Fixes: NB#118375 (unnecessary rescaling of images)
693 2009-06-16 Alejandro G. Castro <alex@igalia.com>
695 * hildon/hildon-pannable-area.c,
696 (hildon_pannable_area_init),
697 (hildon_pannable_area_realize): Replaced old code adding flags in
698 the object init, now we add it with the other flags in the realize
701 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
703 * hildon/hildon-note.c: (hildon_note_class_init): Several
704 documentation improvements to the HildonNote widget.
706 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
708 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
710 Fixes: MB#4556 (HildonNoteType is undocumented)
712 2009-06-15 Alberto Garcia <agarcia@igalia.com>
714 * hildon/hildon-picker-button.c:
715 Explain how HildonPickerButton sets the title of its dialog
717 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
718 the title of its dialog)
720 2009-06-15 Alberto Garcia <agarcia@igalia.com>
722 * hildon/hildon-check-button.c:
723 Documentation updates
725 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
728 2009-06-15 Alberto Garcia <agarcia@igalia.com>
731 * hildon/hildon-edit-toolbar-private.h
732 * hildon/hildon-edit-toolbar.c
733 (+hildon_edit_toolbar_set_progress_indicator)
734 (hildon_edit_toolbar_init): Add progress indicator to the
737 * hildon/hildon-gtk.c
738 (hildon_gtk_window_set_progress_indicator):
739 If the window contains a HildonEditToolbar, enable the progress
742 * hildon/hildon-private.h
743 * hildon/hildon-private.c
744 (+hildon_private_create_animation)
745 * hildon/hildon-banner.c
746 (-hildon_banner_create_animation):
747 Moved to hildon-private.c
749 Fixes: NB#102373 (Progress indicator also for the Edit mode
752 2009-06-15 Alberto Garcia <agarcia@igalia.com>
754 * hildon/hildon-app-menu-private.h
755 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
756 (hildon_app_menu_add_filter, +menu_item_button_event)
757 (hildon_app_menu_button_release, hildon_app_menu_init):
758 Make sure that buttons receive 'button-release-event' in spite of
759 the grab held by HildonAppMenu
761 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
763 2009-06-15 Alberto Garcia <agarcia@igalia.com>
765 * hildon/hildon-app-menu.c
766 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
767 New style property to set the size of the group of filter buttons.
769 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
771 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
776 * configure.ac: Bump version.
777 * debian/changelog: Updates.
779 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
781 * hildon/hildon-main.c: Minor documentation fixes.
783 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
785 * doc/hildon-sections.txt:
786 * hildon/hildon-defines.h: Document the defines, organize them,
787 and mark deprecations as such.
789 Fixes: MB#4463 (Hildon size #defines are undocumented)
791 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
793 * hildon/hildon-animation-actor.c:
794 * hildon/hildon-app-menu.c:
795 * hildon/hildon-button.c:
796 * hildon/hildon-date-editor.c:
797 * hildon/hildon-dialog.c:
798 * hildon/hildon-edit-toolbar.c:
799 * hildon/hildon-entry.c:
800 * hildon/hildon-program.c:
801 * hildon/hildon-remote-texture.c:
802 * hildon/hildon-stackable-window.c:
803 * hildon/hildon-text-view.c:
804 * hildon/hildon-touch-selector.c:
805 * hildon/hildon-window-stack.c:
806 * hildon/hildon-window.c:
808 Remove redundant "represents" wording from most of the documentation.
810 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
812 2009-06-12 Alberto Garcia <agarcia@igalia.com>
817 * hildon/hildon-banner-private.h
818 * hildon/hildon-banner.c:
819 Move HildonBannerPrivate to hildon-banner.c and remove
820 hildon-banner-private.h
821 Use a bit field to store private booleans.
823 2009-06-12 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-app-menu.c (hildon_app_menu_map):
826 Don't install a new idle function if there's already one
831 2009-06-11 Alberto Garcia <agarcia@igalia.com>
833 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
834 (+legacy_menu_realized, +legacy_menu_unmapped)
835 (+set_legacy_menu_type):
836 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
837 they can be identified by the window manager.
839 Fixes: NB#101437 (Invoking CSM on the left side of page area is
840 displayed in wrong location)
842 Fixes: MB#4563 (Popup menu won't locate at the left side of the
845 2009-06-11 Alberto Garcia <agarcia@igalia.com>
847 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
849 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
852 2009-06-11 Alberto Garcia <agarcia@igalia.com>
854 * hildon/hildon-code-dialog.c
855 * hildon/hildon-date-editor.c
856 * hildon/hildon-number-editor.c
857 * hildon/hildon-seekbar.c
858 * hildon/hildon-stackable-window.c
859 * hildon/hildon-window.c:
860 Misc documentation updates
862 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
864 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
865 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
867 Fixes: NB#117931 (Theming issues in accounts dialogs)
869 2009-06-09 Alejandro G. Castro <alex@igalia.com>
871 * hildon/hildon-pannable-area.c,
872 (hildon_pannable_area_button_release_cb): Changed the coordinates
873 of the original release in case we want to discard the release,
874 some widgets in Fremantle do not handle the leave-notify.
876 2009-06-09 Alejandro G. Castro <alex@igalia.com>
878 * hildon/hildon-pannable-area.c,
879 (hildon_pannable_area_button_release_cb): Reviewed the logic of
880 the release using the last refactored functions and avoiding the
881 movement if an element was selected.
883 2009-06-09 Alejandro G. Castro <alex@igalia.com>
885 * hildon/hildon-pannable-area.c,
886 (hildon_pannable_area_check_move),
887 (hildon_pannable_area_handle_move),
888 (hildon_pannable_area_motion_notify_cb): Refactored the
889 motion_notify method using a couple of new functions.
891 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
893 * hildon/hildon-date-selector.c:
894 (hildon_date_selector_construct_ui):
895 * hildon/hildon-time-selector.c:
896 (hildon_time_selector_constructor):
897 * hildon/hildon-touch-selector-entry.c:
898 (hildon_touch_selector_entry_set_text_column),
899 (hildon_touch_selector_entry_get_text_column):
900 * hildon/hildon-touch-selector.c: (_default_print_func),
901 (hildon_touch_selector_new_text): Use
902 hildon_touch_selector_set/get_text_column() instead of
903 setting/getting the "text-column" property.
905 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
907 * doc/hildon-sections.txt: Add the new public methods below.
909 * examples/hildon-picker-button-multicolumn-example.c:
910 (create_touch_selector):
911 * examples/hildon-touch-selector-example.c: (create_selector):
912 * examples/hildon-touch-selector-multi-cells-example.c:
914 Use hildon_touch_selector_column_set_text_column()
916 * hildon/hildon-touch-selector-column.h:
917 * hildon/hildon-touch-selector.c:
918 (hildon_touch_selector_column_set_text_column),
919 (hildon_touch_selector_column_get_text_column):
920 Make hildon_touch_selector_column_set/get_column() public, use
921 them in the inline example, document them, and reference to them
924 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
926 * hildon/hildon-time-selector.c: Fix the docs for
927 hildon_time_selector_new_step().
929 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
931 * hildon/hildon-touch-selector.c: Improve the documentation for
932 hildon_touch_selector_append_column().
934 Fixes MB#4641 (Documentation:
935 hildon_touch_selector_append_column() ref-counting)
937 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
939 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
940 Comment out test 5, since the hildon_controlbar_set_range() range
941 check is broken and fixing it would have side effects. Also,
942 this finally fixes make distcheck.
944 Fixes: NB#101420 (Update unit tests and fix make distcheck)
946 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
948 * tests/TEST-CASES.txt: Remove other bogus test.
949 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
950 Remove bogus test that was setting/retrieving a valid value.
952 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
954 * tests/TEST-CASES.txt: Remove bogus tests.
955 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
956 Remove three bogus tests that were actually setting valid colors.
958 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
960 * configure.ac: post release version bump
961 * debian/changelog: post release version bump
963 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
968 * configure.ac: Bump version.
969 * debian/changelog: Updates.
971 2009-06-08 Christian Dywan <christian@lanedo.com>
975 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
976 Correct errors in hildon_format_file-size_for_display and use
977 translations from the hildon-fm package instead of osso-filemanager.
979 2009-06-08 Alejandro G. Castro <alex@igalia.com>
981 * hildon/hildon-pannable-area.c,
982 (hildon_pannable_area_init): Initialized new values to handle the
984 (hildon_pannable_area_adjust_value_changed): Check if the values
985 changed before even call the redraw function.
986 (hildon_pannable_area_size_allocate),
987 (hildon_pannable_axis_scroll),
988 (hildon_pannable_area_scroll),
989 (hildon_pannable_area_jump_to): Improved the diagonal movement
992 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
995 2009-06-08 Alberto Garcia <agarcia@igalia.com>
997 * examples/hildon-banner-example.c:
998 Several style updates
999 (on_animation_clicked, on_animation_idle)
1000 (on_progress_clicked, on_progress_idle):
1001 Add additional reference for the cases when the parent window is
1004 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1006 * doc/hildon-sections.txt
1007 * hildon/hildon-pannable-area.c
1008 * hildon/hildon-banner.h
1009 * hildon/hildon-banner.c: Documentation updates.
1011 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1014 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1016 * hildon/hildon-calendar-popup.h:
1017 * hildon/hildon-caption.h:
1018 * hildon/hildon-code-dialog.h:
1019 * hildon/hildon-controlbar.h:
1020 * hildon/hildon-date-editor.h:
1021 * hildon/hildon-dialog.h:
1022 * hildon/hildon-get-password-dialog.h:
1023 * hildon/hildon-hvolumebar.h:
1024 * hildon/hildon-login-dialog.h:
1025 * hildon/hildon-note.h:
1026 * hildon/hildon-number-editor.h:
1027 * hildon/hildon-range-editor.h:
1028 * hildon/hildon-seekbar.h:
1029 * hildon/hildon-set-password-dialog.h:
1030 * hildon/hildon-sort-dialog.h:
1031 * hildon/hildon-time-editor.h:
1032 * hildon/hildon-time-picker.h:
1033 * hildon/hildon-volumebar-range.h:
1034 * hildon/hildon-volumebar.h:
1035 * hildon/hildon-vvolumebar.h:
1036 * hildon/hildon-weekday-picker.h:
1037 * hildon/hildon-window.h:
1038 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1039 macros with the current replacements
1041 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1043 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1045 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1046 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1047 itself, to make it fit better with Fremantle style.
1049 Fixes: NB#109878 (height and width of focus on color icon is not
1050 consistent with other item in the application tool bar)
1052 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1054 * hildon/hildon-touch-selector.c:
1055 (hildon_touch_selector_optimal_size_request): use the current requisition
1056 as the base, in order to include any possible extra widget, like the
1057 hildon entry on HildonTouchSelectorEntry
1059 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1061 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1063 * configure.ac: post release version bump
1064 * debian/changelog: post release version bump
1066 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1071 * configure.ac: Bump version.
1072 * debian/changelog: Updates.
1074 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1076 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1078 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1079 to ensure the banner contents are centered, instead of relying on
1080 the expand and fill properties in GtkHBox.
1081 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1083 Fixes: NB#108265 (Animation banner not properly centered)
1085 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1087 * hildon/hildon-pannable-area.c
1088 (hildon_pannable_area_initial_effect): Remove the initial_effect
1089 management, check initial_hint
1090 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1091 set initial_effect to FALSE
1092 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1093 by launching the fade_timeout if the scrollbars state has changed and are
1095 * examples/hildon-pannable-area-initial-hint-example.c
1096 Modified to allow to remove rows too. Add and remove rows one by one.
1098 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1100 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1101 Don't close the menu if there's an animation actor below it.
1103 Fixes: NB#117927 (Application menu not usable with animation
1106 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1108 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1109 "focus-on-click" from the dialog button, to avoid stealing the
1110 focus from the entry.
1112 Fixes: NB#118903 (Account setup wizard: Text in Search field
1113 should be focused when "Region" touch list picker is reopened
1116 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1118 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1119 (prepare_action_area): Completely hide the dialog separator.
1121 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1123 * hildon/hildon-touch-selector-entry.c
1124 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1125 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1126 now that the entry is exposed.
1128 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1130 * hildon/hildon-touch-selector-entry.c
1131 (hildon_touch_selector_entry_init): Change the entry's size
1132 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1134 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1136 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1137 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1138 avoid unnecessary scaling.
1140 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1142 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1143 Create grab transfer window before calling parent's map function.
1145 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1146 "crushed" button(s) in the top left corner)
1148 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1150 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1151 Check if the window is already realized when pushing it.
1153 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1155 * configure.ac: post release version bump
1156 * debian/changelog: post release version bump
1158 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1163 * configure.ac: Bump version.
1164 * debian/changelog: Updates.
1166 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1168 * hildon/hildon-app-menu.c: Doc updates.
1170 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1172 * hildon/hildon-banner.c: Remove leftover macro.
1174 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1176 * hildon/hildon-pannable-area.c,
1177 (hildon_pannable_area_scroll_indicator_fade),
1178 (hildon_pannable_area_button_release_cb): Reviewed vmin
1179 conditions, it could cause problems in the fadeout procedure.
1181 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1183 * hildon/hildon-pannable-area.c
1184 (hildon_pannable_area_button_release_cb): Added a threshold to
1185 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1187 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1189 * hildon/hildon-pannable-area.c,
1190 (hildon_pannable_area_set_property): Added code to sync the gtk
1191 dnd threshold with the panning threshold.
1193 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1195 * hildon/hildon-pannable-area.c,
1196 (hildon_pannable_area_class_init): Changed some of the default
1197 values, now it should be less responsive and more accurate.
1199 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1201 * hildon/hildon-pannable-area.c,
1202 (hildon_pannable_area_init),
1203 (hildon_pannable_area_scroll_indicator_fade),
1204 (hildon_pannable_area_button_press_cb),
1205 (hildon_pannable_axis_scroll),
1206 (hildon_pannable_area_timeout),
1207 (hildon_pannable_area_motion_notify_cb),
1208 (hildon_pannable_area_button_release_cb): Changed the name of the
1209 clicked attribute to button_pressed, it is more clear about its use.
1211 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1213 * src/hildon-pannable-area.c
1214 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1216 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1217 vertical scrollbar visibility, and use the data on private section instead,
1218 remove the initial_hint check
1219 (hildon_pannable_area_expose_event): add the initial_hint check here
1221 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1223 * src/hildon-pannable-area.c
1224 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1225 if the fadeout effect was used
1226 (hildon_pannable_area_expose_event): check if it is required to
1227 manage the initial effect on the begining of the function. Previously
1228 it was made at the end, but this doesn't ensure that the scrollbars
1229 will be painted on the first show. Do not set to FALSE initial_effect,
1230 to ensure that the initial hint is showed the first time the pannable
1232 * examples/Makefile.am
1233 * examples/hildon-pannable-area-initial-hint-example.c:
1234 New example, to show that the initial-hint is showed when the widget
1237 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1238 initially if the application can be scrolled)
1240 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1242 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1243 Resize table before adding new items to make sure that
1244 gtk_table_resize() is called just once.
1246 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1248 * hildon/hildon-app-menu-private.h
1249 * hildon/hildon-app-menu.c (item_visibility_changed)
1250 (filter_visibility_changed, hildon_app_menu_show_all)
1251 (hildon_app_menu_hide_all, hildon_app_menu_init):
1252 Rearrange items just once when gtk_widget_show_all()/hide_all()
1255 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1257 * hildon/hildon-app-menu.c
1258 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1259 Don't call gtk_widget_show() on added items.
1261 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1262 automatically when they're added)
1264 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1266 * hildon/hildon-banner.c
1267 (hildon_banner_realize, +hildon_banner_unrealize)
1268 (+screen_size_changed, hildon_banner_class_init):
1269 Redisplay the banner if the screen is rotated.
1271 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1272 on transition from landscape to portrait)
1274 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1276 * hildon/hildon-banner.[ch]:
1277 (hildon_banner_show_information_override_dnd): remove icon_name from the
1278 method definition as it is ignored.
1279 * examples/hildon-banner-dnd-example.c: updated with the change on
1282 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1284 * hildon/hildon-banner-private.h: new require_override_dnd and
1285 overrides_dnd variables
1286 * hildon/hildon-banner.h:
1287 (hildon_banner_show_information_override_dnd): new method, that shows
1288 the information but sets the override flag, in order to show important
1290 * hildon/hildon-banner.c
1291 (hildon_banner_show_information_override_dnd): new method
1292 (hildon_banner_set_override_flag): new utility function
1293 (hildon_banner_real_show_information): new utility function, in order to
1294 generalize the current hildon_banner_show_information_override_dnd and
1295 hildon_banner_show_information_override_dnd
1296 * examples/Makefile.am
1297 * examples/hildon-banner-dnd-example.c: New example that show how to
1298 use the new hildon_banner_show_information_override_dnd
1300 Fixes: NB#114874 (There is no possibility to show hildon banners with
1303 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1305 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1306 behind hildon_pannable_calculate_vel_factor().
1308 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1310 * hildon/hildon-pannable-area.c
1311 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1312 deceleration factors.
1314 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1316 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1317 Reduce the default value for 'scroll_time' to 1 second, since the
1318 current initial scrolling takes too much time.
1320 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1322 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1323 calculate velocity factor during initialization, since the properties
1326 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1328 * hildon/hildon-pannable-area.c
1329 (hildon_pannable_area_set_property): Calculate the velocity factor
1330 after setting the deceleration property and not after.
1332 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1334 * hildon/hildon-entry.c
1335 (hildon_entry_class_init, +set_property, hildon_entry_new)
1336 * hildon/hildon-check-button.c
1337 (hildon_check_button_class_init)
1338 (+set_property, hildon_check_button_new):
1339 Make the theme size a property.
1341 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1342 others) do too much in the _new function)
1344 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1346 * configure.ac: post release version bump
1347 * debian/changelog: post release version bump
1349 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1354 * configure.ac: Bump version.
1355 * debian/changelog: Updates.
1357 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1359 * hildon/hildon-gtk.h
1360 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1361 New API function to take a screenshot of a window
1363 Fixes: NB#106374 (Need API to take a loading screenshot)
1365 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1367 * hildon/hildon-time-selector.c
1368 (update_format_policy): prevent to use hours and minutes unitialized
1370 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1372 * hildon/hildon-window.c (hildon_window_size_request):
1373 Always request the full size of the screen (minus the title bar if
1374 not in fullscreen mode).
1376 Fixes: NB#107486 (HildonWindow should size itself properly)
1378 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1380 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1381 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1382 (on_show_cb), (sound_handling): Disconnect the idle handler for
1383 the sound when the note is finalized to avoid possible crashes.
1385 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1388 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1390 * src/hildon-animation-actor.c,
1391 * src/hildon-remote-texture.c:
1392 Added proper object cleanup to remove signal handler and object
1393 references as HildonAnimationActor and HildonRemoteTexture
1394 objects get destroyed.
1396 Fixes: NB#116682 (Destroying parented animation actors when
1397 parent in unmapped leads to crash)
1399 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1401 Based on a patch by Christian Dywan (christian@imendio.com)
1403 * doc/hildon-sections.txt:
1404 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1405 * hildon/hildon-helper.h: New file size formatting method.
1407 * debian/control: Depend on osso-filemanager l10n package for
1408 proper localization strings.
1410 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1412 * tests/Makefile.am: Include top_srcdir to make possible to build
1413 tests in a different builddir.
1414 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1415 on a different builddir.
1417 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1419 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1420 (hildon_touch_selector_remove): Disconnect model's signal handler
1423 Fixes: NB#116289 (Hildon home crashes while adding task
1426 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1428 * hildon/hildon-button.c
1429 (hildon_button_set_title, hildon_button_set_value):
1430 Hide labels containing an empty string.
1432 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1434 * configure.ac: post release version bump
1435 * debian/changelog: post release version bump
1437 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1442 * configure.ac: Bump version.
1443 * debian/changelog: Updates.
1445 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1447 * hildon/hildon-note-private.h: Removed sound_signal_handler
1448 * hildon/hildon-note.c
1449 (on_show_cb): new callback on note "show" event, this simply adds
1450 a idle, with the function sound_handling
1451 (sound_handling): removed the sound_signal_handler management
1452 (hildon_note_init): connect note "show" event to on_show_cb
1453 (hildon_note_realize): remove the connection to "expose-event"
1455 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1456 device?' confirmation note)
1458 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1460 * hildon/hildon-note.c
1461 (hildon_note_new_information_with_icon_name)
1462 (hildon_note_new_confirmation_with_icon_name):
1463 Terminate the list of parameters in g_object_set() calls
1465 Fixes: NB#115166 (Formatting memory card is not taking place)
1467 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1469 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1470 "dialog-information" role for the sound being played.
1472 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1474 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1475 Don't make the menu a modal window, it causes strange interactions
1476 with the pointer grab and it's not really needed.
1478 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1480 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1482 * hildon/hildon-touch-selector.[ch]
1483 (hildon_touch_selector_optimal_size_request): function added to get a
1484 optimal size request from the touch selector, when you want a dialog to
1485 show as much of the selector
1486 * hildon/hildon-picker-dialog.c:
1487 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1488 (hildon_app_menu_class_init):
1489 New "max-height-landscape" and "max-height-portrait" style properties
1490 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1491 (hildon_picker_dialog_get_max_height): returns the maximum height using
1492 the style properties defined and checking the current portrait/landscape
1494 (_hildon_picker_dialog_set_selector): removed the set_size_request
1496 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1498 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1500 * hildon/hildon-bread-crumb-trail.c:
1501 * hildon/hildon-bread-crumb.c:
1502 * hildon/hildon-seekbar.c:
1503 Add reference to replacements for these deprecated widgets.
1505 Fixes: MB#4461 (Documentation: All deprecations should mention
1508 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1510 * examples/hildon-remote-texture-example.c
1512 Change the include to the hildon-remote-texture in order to compile
1513 properly the examples on the installed libhildon1-examples package
1515 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1517 * tests/Makefile.am: Add check for HildonPickerButton.
1518 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1519 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1520 checks for the HildonPickerButton.
1521 * tests/check_test.c (configure_tests): Add the test suite.
1522 * tests/test_suites.h: likewise.
1524 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1526 * hildon/hildon-touch-selector.c
1527 (+on_row_changed): Emit HildonTouchSelector:changed when the
1528 contents of a selected row change.
1529 (_create_new_column), (_hildon_touch_selector_set_model): connect
1530 to GtkTreeModel:row-changed on a newly set model.
1532 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1534 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1536 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1538 * hildon/hildon-banner.c (hildon_banner_destroy)
1539 (hildon_banner_show_progress, hildon_banner_set_fraction):
1540 Remove the progress bar from HildonBanner and use a progress
1543 Fixes: NB#113761 (Update progress banner to use progress
1546 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1548 * hildon/hildon-banner.c:
1549 Calculate size of the banner label using the actual screen width
1550 rather than using a fixed value.
1552 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1555 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1557 * hildon/hildon-pannable-area.c,
1558 (hildon_pannable_area_class_init): Fixed signals documentation
1561 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1563 * configure.ac: post release version bump
1564 * debian/changelog: post release version bump
1566 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1571 * configure.ac: Bump version.
1572 * debian/changelog: Updates.
1574 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1576 * hildon/hildon-edit-toolbar.c
1577 (hildon_edit_toolbar_init):
1578 Don't let buttons in HildonEditToolbar receive focus.
1580 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1581 typing on an HW arrows key)
1583 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1585 * doc/Makefile.am: Fix build.
1587 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1589 * doc/Makefile.am: Do not redefine content_files.
1591 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1599 Renamed src/ to hildon/
1604 Include <hildon/hildon.h> directly in all examples.
1606 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1608 * src/hildon-sort-dialog.c
1609 (hildon_sort_dialog_add_sort_key_with_sorting)
1613 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1616 make distcheck passes.
1618 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1620 * Makefile.am: Enable gtk-doc during distcheck.
1622 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1624 * Makefile.am: Do not distribute the debian/ directory.
1626 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1628 * doc/Makefile.am: Add the extra SGML files to content_files,
1629 so that they are distributed properly.
1631 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1633 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1636 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1638 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1639 (hildon_note_new_information_with_icon_name): Set the "icon" property
1640 to preserve soundness.
1642 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-font-selection-dialog.c
1645 (hildon_font_selection_dialog_set_property): Fail when the "family"
1646 property is set to NULL.
1648 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1653 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1655 * src/hildon-time-selector.h:
1656 Added HildonTimeSelectorFormatPolicy
1657 * src/hildon-time-selector.c:
1658 Added PROP_TIME_FORMAT_POLICY
1659 (_check_ampm_format): renamed to check_automatic_ampm_format
1660 (update_format_policy), (update_format_dependant_columns): new functions
1661 (hildon_time_selector_class_init)
1662 (hildon_time_selector_contructor)
1663 (hildon_time_selector_init)
1664 (hildon_time_selector_get_property)
1665 (hildon_time_selector_set_property)
1666 (hildon_time_selector_get_time)
1667 (hildon_time_selector_set_time)
1668 * src/hildon-touch-selector.h: new file
1669 * src/hildon-touch-selector.c
1670 (hildon_touch_selector_emit_changed)
1671 (hildon_touch_selector_block_changed)
1672 (hildon_touch_selector_unblock_changed)
1673 Added functions to allow to block the emission of the "changed" signal
1674 * src/hildon-picker-dialog.c
1675 (hildon_picker_dialog_show): call the parent show before the custom code
1676 * examples/hildon-time-button-example.c
1677 Modified, so now you can configure the time format using the new property
1679 Added a new property "time-format-policy" that allow to choose the time
1680 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1681 case it uses gconf in order to check if the time selector must use
1684 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1687 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1689 * src/hildon-note.c (hildon_note_init):
1690 Label in HildonNote must be left aligned, not centered. This
1691 reverts the last commit in HildonNote.
1693 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1694 is connectivity dialog)
1696 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1701 * doc/hildon-sections.txt:
1702 Added hildon_gtk_window_set_do_not_disturb()
1704 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1706 * src/hildon-note.c (hildon_note_init): Center label.
1708 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1711 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1716 * configure.ac: Bump version.
1717 * debian/changelog: Updates.
1719 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1721 * src/hildon-note-private.h: Add button-width to the private data.
1722 * src/hildon-note.c (+resize_button),
1723 (+hildon_note_orientation_update): methods to repack widgets on orientation
1725 (screen_size_changed): Call above method for confirmation notes.
1726 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1727 (hildon_note_rebuild): Store the original width request from buttons.
1729 Fixes: NB#109635 (Confirmation notes do not support portrait)
1731 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1733 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1734 when it is a progress note.
1736 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1738 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1739 in the note, since there are no horizontally arranged contents.
1741 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1743 * src/hildon-gtk.c (+set_flag): new generic method to
1744 set/delay a flag setting in a window.
1745 (hildon_gtk_window_set_progress_indicator):
1746 (hildon_gtk_window_set_do_not_disturb),
1747 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1748 avoid code redundance.
1750 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1752 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1754 * src/hildon-gtk.c (set_clear_window_flag),
1755 (do_set_progress_indicator), (do_set_do_not_disturb),
1756 (do_set_portrait_flags),
1757 (hildon_gtk_window_set_progress_indicator),
1758 (hildon_gtk_window_set_do_not_disturb),
1759 (hildon_gtk_window_set_portrait_flags):
1760 Allow setting dnd-flag, progress indicator, and portrait flags
1761 when the window is not realized.
1763 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1765 * src/hildon-pannable-area.c,
1766 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1767 the size request policy function and defines.
1769 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1771 * doc/hildon-sections.txt: Add the new API.
1772 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1773 method to set the portrait flags.
1774 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1776 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1778 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1781 to allow using this method with other flags.
1782 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1783 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1785 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-touch-selector.c
1788 (hildon_touch_selector_append_text_column):
1789 Make the cell renderer use the smallest width possible.
1791 Fixes: NB#108470 (Selected items in multiple selection are either
1792 having a tick that is cut or not visible at all.)
1794 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1796 * src/hildon-touch-selector.c
1797 (hildon_touch_selector_append_text_column):
1800 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1802 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1803 Use g_strdup_printf() instead of a fixed size buffer.
1805 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1807 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1808 Close banners when a HildonAppMenu is popped up.
1810 Fixes: NB#111027 (Title menu closed immediately if activated when
1811 "Invalid e-mail address" banner is shown)
1813 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1818 * configure.ac: Bump version.
1819 * debian/changelog: Updates.
1821 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1823 * src/hildon-banner.c (hildon_banner_realize):
1824 Mark HildonBanner as supporting portrait mode.
1825 Use GDK to set window properties insetad of direct Xlib calls.
1827 Fixes: NB#111830 (HildonBanner should be marked as supporting
1830 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-note.c (hildon_note_rebuild):
1833 Hide action area in information notes. Prevents text from being
1834 slightly aligned to the left.
1836 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1839 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1841 Patch by Mox Soini (ext-mox.soini@nokia.com)
1843 * src/hildon-banner.c (hildon_banner_create_animation):
1844 Use stylus-sized icons in animation banner.
1846 Fixes: NB#111206 (stylus sized icon for animation banner)
1848 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1852 (+hildon_gtk_window_set_do_not_disturb):
1853 New API to set the do-not-disturb flag.
1855 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1857 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1859 * examples/hildon-progress-indicator-example.c: Fix example
1861 * src/hildon-gtk.c (set_clear_window_flag)
1862 (hildon_gtk_window_set_progress_indicator):
1863 Create a generic function for setting flags to a window.
1864 Use GDK instead of direct Xlib calls.
1866 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1868 * src/hildon-button.c (hildon_button_set_arrangement):
1869 Due to NB#88126, if one of the labels is too long it will be
1870 painted outside the button. The 'value' label is more likely to be
1871 the longest one, so we change its packing options in order to
1872 truncate it if necessary. As a side effect, the 'title' label will
1873 no longer be truncated.
1875 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1877 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1882 * configure.ac: Bump version.
1883 * debian/changelog: Updates.
1885 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1887 Deprecation of the hildon_pannable_area_set_size_request_policy
1888 API, the only policy properly supported in gtk+ nowadays is the
1891 * src/hildon-pannable-area.c,
1892 (hildon_pannable_area_size_request): Added a workaround for the
1893 size_request to avoid the problems of huge pixmaps in case someone
1894 is still using the function.
1895 * src/hildon-pannable-area.h: Deprecated the enum with the
1898 Fixes: NB#110244 (Problems with the
1899 hildon_pannable_area_set_size_request_policy API)
1901 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1903 * src/hildon-pannable-area.c,
1904 (hildon_pannable_area_init),
1905 (hildon_pannable_area_size_request),
1906 (hildon_pannable_area_style_set),
1907 (hildon_pannable_draw_vscroll),
1908 (hildon_pannable_draw_hscroll),
1909 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1910 indicator_width to clarify the use of the attribute.
1912 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1917 * configure.ac: Bump version.
1918 * debian/changelog: Updates.
1920 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1922 * src/hildon-picker-dialog.c
1923 * src/hildon-touch-selector.c
1924 Reverting the change that tried to avoid the hardcoded height on
1925 the picker dialog, as causes problems on the hildon-touch-selector
1928 Fixes: NB#110029 (selectors not scrolling to selected value)
1930 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-touch-selector.c: Fix typos
1934 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1936 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1937 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1938 request more motions after using it.
1940 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-calendar.c (hildon_calendar_expose),
1943 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1944 Remove unused variables.
1946 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1948 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1949 variable assignment.
1951 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1954 Check the return value of gtk_tree_selection_get_selected()
1957 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1959 * src/hildon-animation-actor.c
1960 * src/hildon-button.c
1962 * src/hildon-pannable-area.c
1963 * src/hildon-picker-button.c
1964 * src/hildon-program.c
1965 * src/hildon-remote-texture.c
1966 * src/hildon-text-view.c
1967 * src/hildon-touch-selector.c
1968 * src/hildon-window-stack.c
1969 * src/hildon-window.c:
1970 Add missing 'Since: 2.2' tags.
1972 * doc/hildon-sections.txt:
1973 Add some missing symbols.
1975 * doc/hildon-docs.sgml:
1976 New 'Other' section for HildonAnimationActor and
1979 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1981 Patch by Iván Gómez (igomez@igalia.com)
1984 * doc/compiling.sgml
1985 * doc/hildon-docs.sgml
1986 * doc/hildon-sections.txt
1987 * doc/migration.sgml
1988 * doc/resources.sgml
1990 New chapters on using the Hildon library.
1991 Updated the general structure of the reference manual.
1992 Other minor documentation fixes.
1994 * src/hildon-calendar-popup.c
1995 * src/hildon-calendar.c
1996 * src/hildon-controlbar.c
1997 * src/hildon-date-editor.c
1998 * src/hildon-dialog.c
1999 * src/hildon-hvolumebar.c
2000 * src/hildon-number-editor.c
2001 * src/hildon-range-editor.c
2002 * src/hildon-sort-dialog.c
2003 * src/hildon-time-editor.c
2004 * src/hildon-time-picker.c
2005 * src/hildon-volumebar-range.c
2006 * src/hildon-volumebar.c
2007 * src/hildon-vvolumebar.c
2008 * src/hildon-weekday-picker.c:
2009 Add deprecation notes
2011 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2012 Document 'horizontal-movement' and 'vertical-movement' signals.
2014 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2019 * configure.ac: Bump version.
2020 * debian/changelog: Updates.
2022 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2024 * src/hildon-pannable-area.c,
2025 (hildon_pannable_area_class_init): increased the minimum velocity.
2026 (hildon_pannable_area_button_release_cb): Updated the
2027 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2028 setup. Review the code to control that last event.
2030 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2033 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2035 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2037 * src/hildon-get-password-dialog.c
2038 (hildon_get_password_set_property),
2039 (hildon_get_password_get_property), (create_contents):
2040 * src/hildon-login-dialog-private.h:
2041 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2042 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2043 (hildon_login_dialog_get_password):
2044 * src/hildon-set-password-dialog-private.h:
2045 * src/hildon-set-password-dialog.c
2046 (hildon_set_password_set_property),
2047 (hildon_set_password_get_property), (create_contents),
2048 (hildon_set_password_response_change),
2049 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2051 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2052 instead and look more Fremantle style.
2054 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2056 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2058 * doc/hildon-sections.txt
2059 * src/hildon-window-stack.h
2060 * src/hildon-window-stack.c
2061 (+hildon_window_stack_get_windows):
2062 New API to obtain the list of windows on a stack.
2064 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2066 * src/hildon-app-menu.c (hildon_app_menu_popup)
2067 (hildon_app_menu_class_init, -hildon_app_menu_show):
2068 Remove hildon_app_menu_show() and move all its checks to
2069 hildon_app_menu_popup()
2071 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2073 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2074 (_hildon_picker_dialog_set_selector): removed call to
2075 gtk_widget_set_size_request
2076 * src/hildon-touch-selector.c
2077 (_create_new_column): change the pannable size request policy
2079 Avoid to use a hardcoded height for the hildon picker dialog. In order
2080 to get that, we needed to change the hildon pannable size request
2082 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2084 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2087 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2090 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2092 * debian/control: Depend on osso-system-lock localization package.
2093 * src/hildon-code-dialog.c: Obtain the secu_application_title
2094 translation from osso-system-lock.
2095 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2096 for translation the atk related strings, that's not necessary.
2097 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2098 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2099 cancel button, it is not required.
2101 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2103 * src/hildon-pannable-area.c,
2104 (hildon_pannable_area_class_init): Modified the default value of
2105 the overshooting max speed, we have reduced it.
2107 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2109 * doc/hildon-sections.txt
2110 * src/hildon-window-private.h
2111 * src/hildon-window.h
2112 * src/hildon-window.c (hildon_window_class_init)
2113 (hildon_window_init, hildon_window_finalize)
2114 (hildon_window_realize, hildon_window_get_property)
2115 (hildon_window_set_property, hildon_window_update_markup)
2116 (hildon_window_get_markup, hildon_window_set_markup):
2117 New "markup" property and hildon_window_{get,set}_markup() methods.
2119 * examples/hildon-stackable-window-example.c (new_window):
2120 Update example to use hildon_window_set_markup()
2122 Fixes: NB#106375 (Need API to retitle a window with a title
2125 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2127 * src/hildon-pannable-area.c,
2128 (hildon_pannable_area_class_init): Changed the default value of
2129 the initial_hint to TRUE.
2130 (hildon_pannable_area_initial_effect): Changed the initial effect,
2131 not the effect is just the fade-out of the scrollbars.
2133 Fixes: NB#107775 (No scrollbars can be seen when several items are
2134 available in a dialog)
2136 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2138 * src/hildon-program.c (hildon_program_update_top_most):
2141 Fixes: NB#109179 (Memory leak in Hildon program)
2143 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2145 * src/hildon-banner.c (-get_current_app_window):
2146 Remove unused function.
2148 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2150 * src/hildon-pannable-area.c: Modified the documentation of the
2151 get adjustments functions to explain the problem of using the
2152 adjustment directly.
2153 (hildon_pannable_area_class_init): Improved the explanation about
2156 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-app-menu-private.h
2159 * src/hildon-app-menu.c
2160 (hildon_app_menu_class_init):
2161 Bring back the 'external-border' style property
2162 (hildon_app_menu_class_init, hildon_app_menu_init)
2163 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2164 Set a fixed width-request for the menu, independent of the number
2167 Fixes: NB#94957 (Smoothly opened application menu)
2169 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2173 * src/hildon-banner.c
2174 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2176 Make sure that the banner is correctly placed the first time it's
2178 (hildon_banner_check_position, -check_fullscreen_state):
2179 Show the banner in the same place no matter if the window is in
2180 fullscreen mode or not.
2182 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2184 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2186 * src/hildon-touch-selector.c (_default_print_func): reorder
2187 concatenation for clarity.
2189 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2191 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2192 for multicolumn selectors.
2194 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2196 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2201 * configure.ac: Bump version.
2202 * debian/changelog: Updates.
2204 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2209 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2211 * configure.ac: removed libcangerra-gtk dependency
2212 * debian/control: removed libcanberra-gtk dependency
2213 * src/Makefile.am: removed libcanberra gtk related flags
2214 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2215 context, and manage a global canberra context instead
2217 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2219 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2221 Patch by Daniel Borgmann (danielb@openismus.com)
2223 * src/hildon-edit-toolbar.c:
2224 Adjust the left padding.
2225 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2226 Paint background of the edit toolbar.
2228 Fixes: NB#107897 (Patch to make editmodetoolbar background
2229 themeable and adjust margin)
2231 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2233 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2235 * src/hildon-program.c (hildon_program_update_top_most):
2236 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2238 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2239 change when the user tasks in/out of an application)
2241 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2243 * configure.ac: added libcangerra-gtk dependency
2244 * debian/control: added libcanberra-gtk dependency
2245 * src/Makefile.am: added libcanberra gtk related flags
2246 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2249 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2251 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2253 * src/hildon-program.c (hildon_program_remove_window)
2254 (hildon_program_add_window): Add checks for the window
2255 parameter. Don't decrease the window counter if the window is not
2258 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2260 * src/hildon-pannable-area.c,
2261 (hildon_pannable_area_realize): Fixed position of the event_window
2262 in the realize method.
2264 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-app-menu-private.h
2267 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2268 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2269 (hildon_app_menu_key_press, hildon_app_menu_init)
2270 (hildon_app_menu_finalize):
2271 Make sure that all idle functions are removed when the widget is
2274 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2276 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2281 * configure.ac: Bump version.
2282 * debian/changelog: Updates.
2284 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2286 * src/hildon-entry.c
2287 (+hildon_entry_show_placeholder),
2288 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2289 that replace hildon_entry_update_contents().
2290 (hildon_entry_set_text),
2291 (hildon_entry_set_placeholder),
2292 (hildon_entry_focus_in_event),
2293 (hildon_entry_focus_out_event): Determine when it is needed
2294 either to show or hide the placeholder and call the above methods.
2296 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2297 when the placeholder text is already set)
2299 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2302 simple GdkPixbufAnim using the new icons for the banner.
2303 (hildon_banner_show_animation): Use the above mentioned method to
2304 create the animation widget.
2306 Fixes: NB#103564 (Make hildon animation banner use individual
2307 image files as the animation)
2309 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2311 * src/hildon-pannable-area.c,
2312 (hildon_pannable_leave_notify_event): Check if the child is NULL
2313 to avoid sending the leave.
2315 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2317 * src/hildon-pannable-area.c,
2318 (hildon_pannable_area_class_init),
2319 (hildon_pannable_leave_notify_event): Added a handler of the
2320 leave-notify-signal to consider when no motion notify before
2323 Fixes: NB#107494 (Items stay selected when clicking and moving
2324 away when inside pannable area)
2326 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2331 * configure.ac: Bump version.
2332 * debian/changelog: Updates.
2334 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2336 Patch by Alberto Garcia (agarcia@igalia.com)
2338 * src/hildon-date-button.c,
2339 (hildon_date_button_class_init),
2340 (hildon_date_button_init): Removed the construct property handling
2341 and created a default selector in the init method.
2342 * src/hildon-picker-button.c,
2343 (hildon_picker_button_class_init): Removed the construct flag of the
2346 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-main.c (hildon_init):
2349 Don't allow hildon_init() to be called more than once.
2351 Fixes: NB#106607 (hildon_init should issue error message upon
2354 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2356 * examples/hildon-pannable-area-touch-list-example.c
2357 * examples/hildon-pannagle-area-touch-grid-example.c
2358 * examples/hildon-edit-toolbar-example.c
2359 * examples/hildon-touch-selector-multi-cells-example.c
2360 Removed the call to gtk_rc_parse_string, as it is not required since
2363 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2365 * src/hildon-pannable-area.c,
2366 (hildon_pannable_area_class_init): Modified the default panning
2367 threshold of the widget to 6px.
2369 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2370 than the threshold value ) within the button is not sending the
2373 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2376 for the treeview in the new column. This way, the touch list will never
2379 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2380 be selected manually for the HW keys to work)
2382 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2384 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2385 comparison instead of using strcmp(). Fixes a compiler warning as well.
2387 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2389 * doc/hildon-docs.sgml: Do not set the library version in the
2390 document title, use the releaseinfo tag for that purpose instead.
2392 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2395 Do not jump to the first item if the text in the entry is removed.
2397 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2402 * configure.ac: Bump version.
2403 * debian/changelog: Updates.
2405 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-entry.c (hildon_entry_refresh_contents):
2408 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2409 Use "ReversedSecondaryTextColor" for the placeholder text.
2411 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2413 * src/hildon-text-view.c: Fix compilation warning.
2415 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2417 * src/hildon-button.c (hildon_button_class_init): Don't make
2418 "title" and "value" construction properties, to prevent them from
2419 overwriting labels set from derived classes.
2421 * src/hildon-picker-button.c
2422 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2423 (hildon_picker_button_class_init): Make touch-selector a
2424 construction property.
2426 * src/hildon-date-button.c (hildon_date_button_class_init)
2427 (+hildon_date_button_constructed): Add a default date selector if
2430 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2432 * src/hildon-touch-selector.c: Small documentation fixes.
2434 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2436 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2438 * src/hildon-entry.c (hildon_entry_refresh_contents),
2439 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2440 widget name, set the logical color directly instead and a boolean
2441 showing_placeholder instead.
2442 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2443 use the widget name here either.
2445 Fixes: NB#105678 (HildonTextView should use logical colours
2446 instead of setting widget name)
2448 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2450 Patch by Daniel Elster (danielk@openismus.com)
2452 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2453 Add user_data parameter.
2454 (hildon_touch_selector_set_print_func_full): New function akin
2455 hildon_touch_selector_set_print_func() but with support for user
2456 data and a destroy callback.
2457 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2458 to clean up the print function user data.
2459 (hildon_touch_selector_class_init): Install dispose function.
2460 (HildonTouchSelectorPrivate::print_user_data),
2461 (HildonTouchSelectorPrivate::print_destroy_func): New private
2463 (hildon_touch_selector_init): Initialize new private members.
2464 (hildon_touch_selector_get_current_text): Pass along user data
2465 to the print function.
2466 (_default_print_func): Add dummy user_data to parameter list.
2467 * hildon-date-selector.c (_custom_print_func): ditto,
2468 * hildon-time-selector.c (_custom_print_func): ditto,
2469 * hildon-touch-selector-entry.c
2470 (hildon_touch_selector_entry_print_func): ditto.
2472 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2474 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2476 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2478 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2480 * src/hildon-pannable-area.c,
2481 (hildon_pannable_area_init),
2482 (hildon_pannable_area_button_press_cb),
2483 (hildon_pannable_area_motion_notify_cb): We have added code to
2484 handle the leave and enter events when using the motion events.
2486 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2488 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-date-button.c (hildon_date_button_get_date)
2491 (hildon_date_button_set_date): Make sure that the button has a
2494 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2496 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2498 * src/hildon-pannable-area.c,
2499 (hildon_pannable_area_class_init),
2500 (hildon_pannable_area_calculate_velocity): Modify the use of the
2501 force and adapt the value.
2503 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2506 (hildon_app_menu_class_init): Hide the menu if it receives a
2507 delete-event, but don't destroy it
2509 Fixes: NB#104485 (Not able to address the call when application
2510 menu is opened at background)
2512 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-app-menu.c
2515 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2516 Remove the "external-border" style property, let the menu take its
2517 natural size (or the one set by the window manager)
2518 (hildon_app_menu_repack_items):
2519 Don't reshow the menu, avoid flickers.
2521 Partially fixes NB#94957 (Smoothly opened application menu)
2523 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2528 * configure.ac: Bump version.
2529 * debian/changelog: Updates.
2531 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2533 * src/hildon-pannable-area.c,
2534 (hildon_pannable_area_motion_notify_cb): We control that the
2535 direction error margin is used just in case the movement is
2536 allowed in the other direction.
2538 Fixes: NB#105012 (buttons inside a pannable area not getting
2539 release event when dragging/releasing)
2541 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2543 * src/hildon-pannable-area.c,
2544 (hildon_pannable_area_class_init),
2545 (hildon_pannable_area_get_property),
2546 (hildon_pannable_area_set_property),
2547 (hildon_pannable_area_initial_effect),
2548 (hildon_pannable_axis_scroll),
2549 (hildon_pannable_area_button_release_cb): Reviewed the
2550 overshooting effect, now it has its own max
2551 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2552 speed when bouncing.
2554 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2559 * configure.ac: Bump version.
2560 * debian/changelog: Updates.
2562 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2564 * src/hildon-pannable-area.c,
2565 (hildon_pannable_area_class_init): Changed the max speed, now
2566 users can launch the widget very fast. Reduced the default force,
2567 that way it is easier to control the launch speed.
2569 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2571 * src/hildon-pannable-area.c,
2572 (hildon_pannable_area_button_release_cb): Removed this check
2573 because it causes problems when the device is overloaded.
2575 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2578 add a current_text field to store the text entered in the
2579 touch selector entry.
2580 (_clean_current_selection): clean up the current text as well.
2581 (_save_current_selection), (_restore_current_selection):
2582 Save/restore the text in the entry if the selector is a
2583 HildonTouchSelectorEntry.
2585 Fixes: NB#102541 (value entered in the touch selector entry is not
2586 shown when opened for second time)
2588 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2590 * doc/hildon-sections.txt:
2591 * src/hildon-touch-selector-entry.c
2592 (+hildon_touch_selector_entry_get_entry):
2593 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2595 Fixes: NB#104815 (I need accessor to the entry inside
2596 HildonTouchSelectorEntry)
2598 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2601 (hildon_app_menu_class_init):
2602 New "filter-vertical-spacing" style property.
2604 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-find-toolbar.c
2607 (hildon_find_toolbar_emit_close)
2608 (hildon_find_toolbar_emit_invalid_input)
2609 (hildon_find_toolbar_entry_activate):
2610 Use g_signal_emit() instead of g_signal_emit_by_name()
2612 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2614 Patch by Mox Soini (ext-mox.soini@nokia.com)
2616 * tests/TEST-CASES.txt
2617 * tests/check-hildon-banner.c
2618 * tests/check-hildon-note.c
2619 * src/hildon-banner.c
2620 * src/hildon-code-dialog.c
2621 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2622 * src/hildon-time-editor.c
2623 * examples/hildon-lookup-example.c (main):
2624 Replace obsolete icon names with new ones.
2626 * src/hildon-find-toolbar-private.h:
2627 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2628 (-hildon_find_toolbar_emit_search):
2629 Remove find button and change icon of close button.
2631 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2633 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-time-button.c (hildon_time_button_new_step):
2636 Use the "touch-selector" property to set the selector directly
2637 when creating the object.
2639 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2641 Added a new example application that allows tuning the pannable
2642 area and replaced defines with properties in order to simplify the
2643 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2644 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2645 PROP_DIRECTION_ERROR_MARGIN.
2647 * examples/hildon-pannable-area-tuning-example.c: New example
2649 * src/hildon-pannable-area.c,
2650 (hildon_pannable_area_class_init),
2651 (hildon_pannable_area_init),
2652 (hildon_pannable_area_get_property),
2653 (hildon_pannable_area_set_property),
2654 (hildon_pannable_area_launch_fade_timeout),
2655 (hildon_pannable_area_adjust_value_changed),
2656 (hildon_pannable_axis_scroll),
2657 (hildon_pannable_area_motion_notify_cb),
2658 (hildon_pannable_area_scroll_cb),
2659 (hildon_pannable_area_button_release_cb): We have converted some
2660 of the defines that control the widget to properties to simplify
2663 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2665 * src/hildon-app-menu.c (hildon_app_menu_map)
2666 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2667 so it's closed if a new window appears.
2669 Fixes: NB#104485 (Not able to address the call when application
2670 menu is opened at background)
2672 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2674 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2675 missing 'break' statement in in 'case' construct to avoid
2678 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-touch-selector-entry.c
2681 (hildon_touch_selector_entry_get_property),
2682 (hildon_touch_selector_entry_set_property): Add missing 'break'
2683 statements in in 'case' constructs to avoid incorrect warnings.
2685 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2687 * src/hildon-time-editor.c
2688 (hildon_time_editor_get_time_separators): Do not crash if
2689 the first label is NULL.
2691 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2693 * src/hildon-date-selector.c (_month_days): Check for month to be
2694 strictly less than 12, since otherwise we may overrun the array.
2696 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-date-button.c (+hildon_date_button_new_full)
2699 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2700 (hildon_date_button_init): Set the date selector using a
2701 construction property, to make it happen after HildonButton's
2702 "value" property is set.
2704 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2705 current date by default)
2707 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2709 * doc/hildon-sections.txt
2710 * src/hildon-program.c
2711 * src/hildon-stackable-window.c
2712 * src/hildon-window.c:
2713 Documentation updates
2715 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2718 (hildon_window_stack_new, +hildon_window_stack_set_property)
2719 (+hildon_window_stack_get_property)
2720 (hildon_window_stack_class_init)
2721 (+hildon_window_stack_set_window_group)
2722 (+hildon_window_stack_get_window_group):
2723 Make the window group a construction property.
2725 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2727 * doc/hildon-sections.txt
2728 * src/hildon-stackable-window-private.h
2729 * src/hildon-stackable-window.h
2730 * src/hildon-stackable-window.c
2731 (-hildon_stackable_window_set_app_menu)
2732 (-hildon_stackable_window_get_app_menu)
2733 (-hildon_stackable_window_toggle_menu)
2734 (-hildon_stackable_window_finalize)
2735 (hildon_stackable_window_class_init)
2736 (hildon_stackable_window_init)
2737 * src/hildon-window-private.h
2738 * src/hildon-window.h
2739 * src/hildon-window.c (hildon_window_init)
2740 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2741 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2742 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2743 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2744 Moved all HildonAppMenu code to HildonWindow. The menu does not
2745 require a HildonStackableWindow anymore.
2747 * src/hildon-app-menu.c
2748 * src/hildon-program.c
2749 * examples/hildon-app-menu-example.c (main):
2750 Update examples and documentation to reflect HildonAppMenu
2753 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-remote-texture.c
2756 * src/hildon-animation-actor.c:
2757 Don't include unused private headers.
2759 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-program-private.h
2762 * src/hildon-program.c
2763 (hildon_program_set_common_menu)
2764 (hildon_program_get_common_menu)
2765 (hildon_program_set_common_app_menu)
2766 (hildon_program_get_common_app_menu):
2767 Change common menu pointers from GtkWidget* to GtkMenu* and
2768 HildonAppMenu* to avoid unnecessary casts.
2770 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-window.c (hildon_window_set_main_menu):
2773 Removed incorrect 'Since:' tag
2775 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2777 * src/hildon-pannable-area.c,
2778 (hildon_pannable_area_calculate_velocity): We use now the
2779 RATIO_TOLERANCE here to check the distance, fixed typo in the
2781 (hildon_pannable_area_motion_notify_cb): We have to set the type
2782 and time even if we are not sending the motion.
2784 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2786 * doc/hildon-sections.txt
2787 * src/hildon-app-menu.h
2788 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2789 (+hildon_app_menu_get_filters): New methods to get the contents of
2792 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2795 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2797 * src/hildon-app-menu.c (hildon_app_menu_popup):
2800 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-window.h
2803 * src/hildon-window.c (+hildon_window_get_main_menu)
2804 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2805 and deprecated hildon_window_get_menu().
2807 * src/hildon-stackable-window.h
2808 * src/hildon-stackable-window.c
2809 (+hildon_stackable_window_set_app_menu)
2810 (+hildon_stackable_window_get_app_menu)
2811 (hildon_stackable_window_set_main_menu): Created
2812 hildon_stackable_window_{get,set}_app_menu() and deprecated
2813 hildon_stackable_window_set_main_menu().
2815 * doc/hildon-sections.txt
2816 * examples/hildon-app-menu-example.c (main)
2817 * src/hildon-app-menu.c
2818 * src/hildon-program.c:
2819 Updated examples and documentation.
2821 Fixes: NB#103758 (No way to obtain a menu from a
2822 HildonStackableWindow)
2824 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2829 * configure.ac: Bump version.
2830 * debian/changelog: Updates.
2832 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2834 * examples/hildon-remote-texture-example.c: Include
2835 hildon-remote-texture.h explicitely.
2836 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2837 applications not defining _XOPEN_SOURCE which don't require this header.
2839 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2841 * doc/hildon-sections.txt
2842 * src/hildon-app-menu.h
2843 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2844 New function to pop up a HildonAppMenu
2846 * src/hildon-stackable-window.c
2847 (hildon_stackable_window_toggle_menu):
2848 Use hildon_app_menu_popup() to show the menu.
2850 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-app-menu.c (hildon_app_menu_show)
2853 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2854 menu if there's another window between it and its parent window.
2856 Fixes: NB#100468 (Application menu window is launched even when a
2857 new secondary-window/dialog is pending to be shown/realized)
2859 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2861 * src/hildon-window-stack.c (hildon_window_stack_push)
2862 (hildon_window_stack_pop_and_push):
2863 Don't forget to push/pop the first window.
2864 Reverse the window list before calling _push_list()
2866 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2868 * src/hildon-picker-button.h
2869 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2870 Remove "value_changed" slot to avoid ABI breakage
2872 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2874 * src/hildon-pannable-area.c,
2875 (hildon_pannable_area_realize),
2876 (hildon_pannable_area_unrealize),
2877 (hildon_pannable_draw_vscroll),
2878 (hildon_pannable_draw_hscroll): Changed the method to handle the
2879 GC used to draw the transparent scrollbar, this way we avoid
2880 creating the GC all the time when drawing the scrollbars.
2882 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2884 * src/hildon-pannable-area.c,
2885 (hildon_pannable_area_init),
2886 (hildon_pannable_area_remove): Removed some unnecessary casts.
2887 (hildon_pannable_area_dispose): Disconnected some signals before
2888 releasing the adjustments.
2890 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2892 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2893 Make sure that all widgets contained in the toolbar are shown.
2895 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2897 * doc/hildon-sections.txt
2898 * src/hildon-picker-button.h
2899 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2900 (_selection_changed, hildon_picker_button_on_dialog_response)
2901 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2902 New hildon_picker_button_value_changed() method.
2905 * src/hildon-picker-button-private.h
2906 * src/hildon-picker-button.c (hildon_picker_button_init)
2907 (+hildon_picker_button_disable_value_changed): Add protected
2908 function for disabling the "value-changed" signal.
2910 * src/hildon-date-button.c (hildon_date_button_set_date):
2911 Don't emit "value-changed" for each one of the three columns.
2913 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2914 before actual change of values)
2916 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2918 * src/hildon-pannable-area.c,
2919 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2920 for the treeview overshooting.
2922 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2924 * src/hildon-banner.c (+hildon_banner_bind_style):
2925 Renamed from hildon_banner_bind_label_style(), now naming the
2926 banner itself as well.
2927 (hildon_banner_show_information),
2928 (hildon_banner_show_information_with_markup),
2929 (hildon_banner_show_animation), (hildon_banner_show_progress):
2930 Name the widgets and labels, based on their type.
2932 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2935 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-note.c (hildon_note_set_property): call
2938 hildon_note_rename() on HildonNote:note-type set.
2939 (hildon_note_rename): Name the note and its label, based on the
2940 HildonNote:note-type property.
2942 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2945 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2947 * src/hildon-pannable-area.c,
2948 (hildon_pannable_area_class_init),
2949 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2950 panning parameters, increased SPS and deceleration factor. Added
2951 also a margin to control fake directions.
2953 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2955 Patch by Sven Herzberg (sven@imendio.com)
2957 * configure.ac: Add missing AM_PROG_CC_C_0
2958 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2960 See NB#101420 (Update unit tests and fix make check)
2962 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2964 This patch was applied before but reverted because it caused
2965 problems, we have changed the main condition and tested the
2966 regressions we detected before and they work ok. We have done a
2967 complete review of the topmost algorithm in order to get a more
2970 * src/hildon-pannable-area.c,
2971 (hildon_pannable_area_get_topmost): Added a new parameter to
2972 filter the the windows that do not include those events.
2973 (hildon_pannable_area_button_press_cb),
2974 (hildon_pannable_area_button_release_cb),
2975 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2976 topmost function, we have added the new parameter.
2978 Fixes: NB#97458 (Pannable area prevents propagation of button
2981 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2983 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2984 if all columns in the selector have an item selected.
2985 (_on_dialog_response): Stop "response" signal emission if there is
2986 any selector column without selected items.
2988 Fixes: NB#101889 (Picker dialog should not close when nothing is
2989 selected in multiple selection list)
2991 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-font-selection-dialog.c
2994 (hildon_font_selection_dialog_class_init),
2995 (hildon_font_selection_dialog_init): Remove the preview
2996 button and dialog, since previewing with default theming is likely
2997 to be overcomplicated. The :preview property has now no effect.
2998 Update documentation blurbs to inform about this.
3000 Fixes: NB#92297 (Preview content is not clearly visible for
3001 default colour text)
3003 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3005 Reviewed the geometry that handles the children size and
3006 scrollbar, now it tries a size and reviews the results depending
3007 on the scrollbars visibility.
3009 * src/hildon-pannable-area.c,
3010 (hildon_pannable_area_realize): Fixed a typo.
3011 (hildon_pannable_area_child_allocate_calculate): Added this
3012 function to calculate the child allocation.
3013 (hildon_pannable_area_size_allocate): Reviewed the allocation
3015 (hildon_pannable_area_check_scrollbars),
3016 (hildon_pannable_area_refresh): Refactored refresh function, this
3017 way we can call the code handling the scrollbars without causing a
3018 size_request, it is interesting in the allocate.
3019 (hildon_pannable_area_init): Replace the callbacks of the
3020 value_changed and changed signals to propertly deal with the
3022 (hildon_pannable_area_grab_notify),
3023 (hildon_pannable_area_initial_effect),
3024 (hildon_pannable_area_launch_fade_timeout),
3025 (hildon_pannable_area_adjust_changed),
3026 (hildon_pannable_area_adjust_value_changed),
3027 (hildon_pannable_area_redraw),
3028 (hildon_pannable_area_button_press_cb),
3029 (hildon_pannable_area_button_release_cb),
3030 (hildon_pannable_area_scroll_cb),
3031 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3032 code and use the new functions adjust_changed and
3033 adjust_value_changed.
3035 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3036 Contact editor dialog)
3038 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3043 * configure.ac: Bump version.
3044 * debian/changelog: Updates.
3046 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3048 * src/hildon-pannable-area.c,
3049 (hildon_pannable_area_get_topmost),
3050 (hildon_pannable_area_button_press_cb),
3051 (hildon_pannable_area_button_release_cb),
3052 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3053 topmost function adding the event mask. We have to try a
3054 differente approach because it is still causing problems (NB#9745,
3057 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3059 * src/hildon-banner.c:
3060 Update the maximum width of timed banners.
3061 (force_to_wrap_truncated): Enforce the maximum text width if the
3064 Fixes: NB#102413 (The text margins (wrapping) in information
3065 banner should be HILDON_MARGIN_TRIPLE)
3067 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3069 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3071 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3072 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3073 bound when calculating the scroll indicator position.
3075 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3076 treat ->lower correctly)
3078 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3080 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3081 expose event handling, since it is not necessary to draw the focus
3084 Fixes: NB#102467 (Do not show highlight on the text in
3087 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3089 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3090 full height of the toolbar for the button and the label.
3092 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3095 padding before the label and after the button.
3097 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3101 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3102 Add a GtkVSeparator between the button and the back arrow.
3103 Let the button have automatic size.
3104 Set a name to the widget for theming handling.
3106 Fixes: NB#101793 (Make edit toolbar the same height as window
3107 title bar (use title area theming))
3109 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3111 * src/hildon-helper.c (attach_new_color_element): Fix memory
3114 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3116 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3118 * examples/hildon-button-example.c (common_buttons_window): Don't
3121 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3123 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3124 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3126 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-gtk.c: Check that the window is realized.
3130 Fixes: NB#102225 (Crash setting the progress indicator to a non
3133 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3136 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3137 instead of modifying the one in the widget style.
3139 Fixes: NB#101043 (Second row of all the command button are
3140 displayed in transparent mode.)
3142 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-date-button.c
3145 * src/hildon-time-button.c: Add gettext macros
3147 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-date-button.c (hildon_date_button_new):
3150 * src/hildon-time-button.c (hildon_time_button_new_step):
3151 Use new logical strings to set the button default title.
3153 Fixes: NB#99915 (Date and Time options are not localised in Date
3156 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3158 * src/hildon-pannable-area.c
3159 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3160 the PANNING_THRESHOLD.
3162 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3164 * src/hildon-pannable-area.c,
3165 (hildon_pannable_area_class_init): Increased the maximum speed.
3166 (hildon_pannable_area_get_property),
3167 (hildon_pannable_area_set_property),
3168 (hildon_pannable_area_timeout): Added a new low friction mode, it
3169 allows the user avoid friction when launching the widget fast
3170 enough. It is interesting to traverse long lists.
3172 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3174 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3175 (+hildon_stackable_window_delete_event): Ignore delete events if
3176 the window is not the topmost one.
3178 Fixes: NB#101698 (Back button long press and delete-event handling)
3180 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3182 * src/hildon-pannable-area.c,
3183 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3184 gtk-dnd-drag-threshold, it was too big. We have defined our own
3185 dnd define and set a smaller value: PANNIG_THRESHOLD.
3187 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3190 user-defined icons, use always the default one.
3192 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3194 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3196 This patch was applied before but reverted because it caused
3197 problems, we have changed the main condition and tested the
3198 regressions we detected before and they work ok.
3200 * src/hildon-pannable-area.c,
3201 (hildon_pannable_area_get_topmost): Added a new parameter to
3202 filter the the windows that do not include those events. Added
3203 also a condition when finding the window to filter windows that do
3204 not ask for those events.
3205 (hildon_pannable_area_button_press_cb),
3206 (hildon_pannable_area_button_release_cb),
3207 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3208 topmost function, we have added the new parameter.
3210 Fixes: NB#97458 (Pannable area prevents propagation of button
3213 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3215 * tests/check-hildon-color-button.c (START_TEST): do not leak
3218 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-font-selection-dialog.c
3221 (hildon_font_selection_dialog_get_preview_text): Return NULL
3222 instead of FALSE on the g_return_val_if_fail().
3224 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3227 * src/hildon-date-selector.c
3228 (hildon_date_selector_select_current_date):
3229 Do not compare unsigned integers to be greater than or equal 0,
3230 because it's always TRUE.
3232 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3235 (hildon_date_selector_constructor): Do not select the current
3236 date until we are handle the "changed" signal, to avoid having bogus
3237 elements in the days model.
3239 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3242 for num_days, since _month_days() can return a negative value.
3244 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3246 * src/hildon-caption.c (hildon_caption_size_allocate):
3247 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3248 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3250 Initialize allocation variables to 0, to avoid eventually using
3251 unitialized variables.
3253 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3255 * src/hildon-bread-crumb-trail.c
3256 (hildon_bread_crumb_trail_size_allocate):
3257 * src/hildon-calendar.c (hildon_calendar_set_background):
3258 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3259 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3260 * src/hildon-seekbar.c (hildon_seekbar_init):
3261 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3262 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3263 * src/hildon-touch-selector-entry.c
3264 (hildon_touch_selector_get_text_from_model):
3265 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3266 * src/hildon-window.c (hildon_window_finalize):
3268 Remove many unused variables.
3270 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3272 * src/hildon-seekbar.c: (hildon_seekbar_init),
3273 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3275 Remove unnecessary g_assert() calls.
3277 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3279 * src/hildon-caption.c: (hildon_caption_expose),
3280 (hildon_caption_set_property), (hildon_caption_init),
3281 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3282 (hildon_caption_size_request), (hildon_caption_size_allocate),
3283 (hildon_caption_forall), (hildon_caption_set_separator),
3284 (hildon_caption_activate), (hildon_caption_set_child_expand),
3285 (hildon_caption_set_label_text),
3286 (hildon_caption_get_label_alignment):
3288 Remove unnecessary g_assert() calls.
3290 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3292 * src/hildon-banner.c
3293 (hildon_banner_map, hildon_banner_init): Make banner temporary
3294 before mapping it to avoid closing other temporary windows, but
3295 make it non-temporary afterwards to avoid being closed by other
3296 non-temporary windows.
3297 (-hildon_banner_client_event, hildon_banner_init):
3298 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3300 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3303 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3308 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3310 * src/hildon-remote-texture.c
3311 * src/hildon-remote-texture.h
3312 * src/hildon-remote-texture-private.h
3313 * examples/hildon-remote-texture-example.c:
3314 Updates/fixes to remote-texture and its example.
3316 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3318 Patch by Mox Soini (ext-mox.soini@nokia.com)
3320 * src/hildon-code-dialog.c: Update logical id.
3321 * src/hildon-set-password-dialog.c: Update logical id.
3323 Fixes: NB#100646 (Logical strings is shown for ok in set
3324 password,Password needed dialogs)
3326 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3329 * src/hildon-remote-texture.c
3330 * src/hildon-remote-texture.h
3331 * src/hildon-remote-texture-private.h
3333 Added remote texture widget (for Clutter shared memory textures)
3335 * examples/hildon-remote-texture-example.c
3336 * examples/Makefile.am
3337 Added example file for remote texture usage
3339 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3341 * configure.ac: post release version bump.
3342 * debian/changelog: version bump.
3344 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3349 * configure.ac: Bump version.
3350 * debian/changelog: Updates.
3352 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-date-selector.c (hildon_date_selector_init)
3355 (hildon_date_selector_constructor): Don't connect to the "changed"
3356 signal until the selector is completely constructed.
3358 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-touch-selector.c: (_create_new_column),
3361 (hildon_touch_selector_append_column),
3362 (hildon_touch_selector_set_column_selection_mode),
3363 (hildon_touch_selector_set_active),
3364 (hildon_touch_selector_select_iter):
3365 Emit the HildonTouchSelector::changed signal every time selection
3366 is changed in any of the methods above. This behavior was already
3367 documented but not fully functional.
3369 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3370 selection is programmatically changed)
3372 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3374 * doc/hildon-sections.txt: Remove obsolete icon
3375 sizes from here as well.
3377 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3379 * examples/hildon-stackable-window-example.c (add_window): Remove
3382 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-app-menu.c
3385 (hildon_app_menu_show): Check whether the parent window of a menu
3386 is topmost before popping it up.
3388 Fixes: NB#100468 (Application menu window is launched even when a
3389 new secondary-window/dialog is pending to be shown/realized.)
3391 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3393 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3396 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3398 Patch by Mox Soini (ext-mox.soini@nokia.com)
3400 * src/hildon-banner.c: (hildon_banner_show_animation):
3401 use stylus size instead of obsolete note size.
3402 * src/hildon-defines.h: Update icon sizes.
3404 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3406 * src/hildon-touch-selector-entry.c:
3407 (hildon_touch_selector_entry_init): Disable unsupported
3409 (hildon_touch_selector_entry_get_text_column): Emit a warning
3410 if an unsupported input modes is used and explicitile state
3411 these modes in the documentation.
3413 Fixes: NB#99802 (Hildon touch selector entry not working properly
3414 for some of the input modes)
3416 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3418 * src/hildon-pannable-area.c,
3419 (hildon_pannable_area_init): Added the changed signal handlers of
3422 Fixes: NB#100320 (HildonPannableArea does not listen to
3423 GtkAdjustment "change" signals)
3425 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3427 * doc/hildon-sections.txt
3428 * src/hildon-window-private.h
3429 * src/hildon-window.h
3430 * src/hildon-window.c (hildon_window_init)
3431 (hildon_window_realize, hildon_window_unrealize)
3432 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3433 (hildon_window_size_request, hildon_window_size_allocate)
3434 (hildon_window_forall, hildon_window_show_all)
3435 (hildon_window_destroy, +paint_edit_toolbar)
3436 (+hildon_window_set_edit_toolbar):
3437 New hildon_window_set_edit_toolbar() method, to add a
3438 HildonEditToolbar to a window without having to pack it manually.
3440 Reorganize hildon_window_size_allocate()
3442 * src/hildon-edit-toolbar.c: Update documentation.
3444 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3445 example to use the new API.
3447 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3449 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3451 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3452 Remove from stack before calling parent's hide.
3454 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3456 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3457 window is removed from the middle of the stack, update the
3458 transiency of the previous one.
3460 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3463 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3465 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3466 block/unblock the signal handler if it's not actually being used.
3467 Fixes some critical warnings.
3469 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3471 Based on a patch by Iván Gómez (igomez@igalia.com)
3473 * src/hildon-banner.c
3477 * src/hildon-pannable-area.c
3478 * src/hildon-picker-dialog.c
3479 * src/hildon-wizard-dialog.h
3480 * src/hildon-wizard-dialog.c: Documentation updates.
3482 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3483 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3485 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3487 * configure.ac: post release version bump.
3488 * debian/changelog: version bump.
3490 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3495 * configure.ac: Bump version.
3496 * debian/changelog: Updates.
3498 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3501 a stock icon nor change the relief of the back arrow.
3503 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3504 graphics from theme)
3506 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-button.c (hildon_button_set_alignment): Use
3509 priv->alignment if the button has no child yet.
3511 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3513 * src/hildon-button.c: (hildon_button_init): Set the
3514 button style during initialization to give it the proper
3517 Fixes: NB#99713 (HildonButton value label color is wrong)
3519 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-touch-selector.c: Document
3522 hildon_touch_selector_center_on_selected()
3524 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3527 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3528 all menu items, but not the menu itself.
3529 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3530 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3531 items after adding them to the menu so keyboard accelerators work.
3532 (hildon_app_menu_show): Don't show the menu if it contains items
3533 but none of them are visible.
3535 * examples/hildon-app-menu-example.c (create_menu): Use
3536 gtk_widget_show_all() to show all menu items.
3538 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-picker-dialog.c:
3541 (-_update_title_on_selector_changed_cb),
3542 (-_dialog_update_title): Removed.
3543 (_select_on_selector_changed_cb), (_on_dialog_response),
3544 (on_selector_columns_changed): Do not update the dialog title.
3545 (setup_interaction_mode): Do not connect to
3546 HildonTouchSelector::changed signal if there's a "done" button, as
3547 the dialog title doesn't need to be updated.
3549 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3552 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3554 Patch by Kristian Rietveld (kris@imendio.com)
3556 * src/hildon-touch-selector.c: (_create_new_column): Use new
3557 GtkTreeView::hildon-row-tapped signal to react to user interactions
3558 instead of ::changed.
3560 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3561 with some dynamic tree model)
3563 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3566 (+screen_size_changed, +label_size_request)
3567 (hildon_note_class_init): Make the Hildon information note have a
3568 minimum height, and make its text hvae a maximum width.
3570 Fixes: NB#98614 (Hildon information note (background) should have
3571 minimum height and maximum text width)
3573 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3575 * src/hildon-banner.h
3576 * src/hildon-banner.c (hildon_banner_show_information)
3577 (hildon_banner_show_informationf)
3578 (hildon_banner_show_information_with_markup): Update documentation
3579 to reflect that the icon_name parameter is not used anymore.
3580 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3581 Remove all code from these functions and mark them as deprecated.
3582 (hildon_banner_show_progress): Mark as deprecated.
3584 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3586 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3588 * src/hildon-pannable-area.c,
3589 (hildon_pannable_area_class_init),
3590 (tranparency_color),
3591 (hildon_pannable_draw_vscroll),
3592 (hildon_pannable_draw_hscroll),
3593 (hildon_pannable_area_expose_event): Added a new way to render the
3594 scrollbars of the pannable area avoiding using cairo at all. This
3595 way we improve the performance of the pannable area rendering. The
3596 cairo rendering procedure is still in the code, we can control
3597 which one to use changing the value of the define
3598 USE_CAIRO_SCROLLBARS.
3600 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3602 * configure.ac: post release version bump.
3603 * debian/changelog: version bump.
3605 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3610 * configure.ac: Bump version.
3611 * debian/changelog: Updates.
3613 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3616 banners instead of destroying them when they receive a button
3619 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3621 Reverted commit 34028, it was causing regressions, probably the
3622 topmost condition is not correct, we have to check it in more
3623 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3624 propagation of button press events)
3626 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3628 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3629 that the selection is not empty before attempting to retrieve the
3630 current ampm selection.
3632 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-picker-button.c:
3635 (hildon_picker_button_on_dialog_response): Directly update the
3636 button contents when required instead of calling _selection_changed.
3638 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3640 * src/hildon-program.c (hildon_program_update_top_most): Update
3641 'is-topmost' property also when wm_hints is not set.
3643 Fixes: NB#98383 (is-topmost signal is not emitted when task
3644 switcher is clicked.)
3646 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3648 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3652 * src/hildon-animation-actor.c,
3653 * src/hildon-animation-actor.h: Added the animation actor class,
3654 this widget represents an animation actor for WM-assisted
3655 animation effects in the Hildon framework.
3657 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3659 * src/hildon-window-stack-private.h
3660 * src/hildon-window-stack.c
3661 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3662 Avoid calling gtk_widget_show() again indirectly from
3663 hildon_stackable_window_show()
3665 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3667 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3670 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3673 (hildon_time_selector_init): Move the construction of the hours and
3674 ampm columns to the constructor to preserve the order the columns
3677 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-picker-dialog.c:
3680 (hildon_picker_dialog_class_init): Connect a realize method.
3681 (+hildon_picker_dialog_realize): Setup the interaction mode here
3683 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3684 yet, do it during the realize instead.
3685 (_on_dialog_response):
3686 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3687 if the widget is not realized, to avoid the dialog response before it
3690 Avoid premature responses in the HildonPickerDialog that can cause it
3691 to be hidden before it's even shown.
3693 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3695 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3696 (on_selector_columns_changed), (requires_done_button),
3697 (+prepare_action_area), (setup_interaction_mode),
3698 (_hildon_picker_dialog_set_selector):
3700 Split the interaction mode setup into preparation of the
3701 action area (prepare_action_area()) and the connection of
3702 the signals in setup_interaction_mode() and update the code to
3705 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3707 * src/hildon-pannable-area.c,
3708 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3709 per second to 15, we will check if this is ok regarding
3712 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3714 * src/hildon-pannable-area.c,
3715 (hildon_pannable_axis_scroll): Avoid resize if we already have
3716 reached overshoot_max.
3718 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3720 * src/hildon-pannable-area.c,
3721 (hildon_pannable_area_init),
3722 (hildon_pannable_area_realize),
3723 (hildon_pannable_area_size_allocate),
3724 (hildon_pannable_area_map),
3725 (hildon_pannable_area_unmap),
3726 (hildon_pannable_draw_vscroll),
3727 (hildon_pannable_draw_hscroll),
3728 (hildon_pannable_area_expose_event),
3729 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3730 pannable are to avoid the expose events go to the window and
3731 redraw the window. We save this way that part of the stack and the
3732 paint_boxes. We had to change the positions of the elements when
3735 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3738 * src/hildon-color-chooser-dialog.c:
3739 (hildon_color_chooser_dialog_init):
3740 * src/hildon-font-selection-dialog.c:
3741 (hildon_font_selection_dialog_init),
3742 (hildon_font_selection_dialog_show_preview):
3743 * src/hildon-get-password-dialog.c:
3744 * src/hildon-login-dialog.c:
3745 * src/hildon-set-password-dialog.c:
3746 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3747 * src/hildon-time-picker.c: (hildon_time_picker_init):
3749 Remove obsolete logical string IDs and update to the appropriate ones.
3751 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3753 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3756 that happens if the window hasn't been realized yet.
3758 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3759 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3761 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3764 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3767 Fixes: NB#98537 (Device hangs in account settings dialog)
3769 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3771 * configure.ac: post release version bump.
3772 * debian/changelog: version bump
3774 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3779 * configure.ac: Bump version.
3780 * debian/changelog: Updates.
3782 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3784 Added a new function to the HildonTimeButton widget that allows to
3785 change the step of the minutes in the selector associated with the
3786 button: hildon_time_button_new_step
3788 * src/hildon-time-button.c,
3789 (hildon_time_button_init),
3790 (hildon_time_button_new),
3791 (hildon_time_button_new_step):
3792 * src/hildon-time-button.h: Added the new function and refactored
3794 * examples/hildon-time-button-example.c,
3795 (main): We have replaced the function without parameters with the
3796 function with the steps set to 5
3798 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3800 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3802 * src/hildon-time-selector.c,
3803 (hildon_time_selector_class_init),
3804 (hildon_time_selector_constructor),
3805 (hildon_time_selector_get_property),
3806 (hildon_time_selector_set_property),
3807 (_create_minutes_model),
3808 (hildon_time_selector_new_step),
3809 (hildon_time_selector_set_time),
3810 * src/hildon-time-selector.h: Added a new property to the
3811 HildonTimeSelector (minutes-step), we use that property to control
3812 the steps between the minutes in the list of the selector. We have
3813 added a new function to the API to create a widget changing the
3814 step: hildon_time_selector_new_step.
3816 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3818 * src/hildon-time-selector.c,
3819 (hildon_time_selector_class_init),
3820 (hildon_time_selector_constructor),
3821 (hildon_time_selector_init): Overrided the construct function when
3822 creating the time selector object. We have moved the minutes model
3823 handling code from the init to the new construction function:
3824 hildon_time_selector_constructor.
3826 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3828 * examples/hildon-date-button-example.c: (main): Use the new
3829 hildon_date_button_new_with_year_range() method in the example.
3830 * src/hildon-date-button.c:
3831 (+hildon_date_button_new_with_year_range): New public method
3832 to conveniently create a HildonDateButton with a custom year range
3833 in its HildonDateSelector.
3834 * src/hildon-date-button.h: Add the new public method definition.
3836 Fixes: NB#97908 (Not possible to change the year range in
3837 HildonDateSelector/HildonDateButton)
3839 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3841 * src/hildon-date-selector.c:
3842 (+hildon_date_selector_set_property),
3843 (+hildon_date_selector_get_property),
3844 (hildon_date_selector_class_init): Install new properties "min-year"
3845 and "max-year" to define boundaries for the year column.
3846 (_create_year_model): Use the boundary properties to populate the model.
3847 (+hildon_date_selector_new_with_year_range): New public method to
3848 create a HildonDateSelector with a user defined year range.
3849 (hildon_date_selector_select_current_date): Use the new boundaries to
3850 calculate the iterator of current year.
3851 * src/hildon-date-selector.h: Add the new public method definition.
3853 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3855 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3856 Install a constructor method.
3857 (+hildon_date_selector_construct_ui): construct the widget.
3858 (+hildon_date_selector_constructor): new constructor.
3859 (+hildon_date_selector_init): move out widget construction code to
3860 the new constructor.
3862 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3864 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3865 that there's actually a month or year selected before obtaining them.
3866 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3867 of the HildonTouchSelector::changed signal, as it was emitted on every
3868 single item selection.
3870 Fix some warnings and possible crashers due to the selection restoring.
3872 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3874 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3875 the signal handlers only after creating the dialog instead of on every
3878 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-button.c (hildon_button_init)
3881 * src/hildon-check-button.c (hildon_check_button_init)
3882 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3883 focus when clicked by default.
3885 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3887 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3890 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3892 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3893 Alejandro G. Castro (alex@igalia.com)
3895 * src/hildon-picker-dialog.c:
3896 (hildon_picker_dialog_class_init): install new "center-on-show"
3898 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3899 (hildon_picker_dialog_set_property): add setter code for the new
3901 (hildon_picker_dialog_get_property): add getter code for the new
3903 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3904 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3907 Fixes: NB#92849 (Selected item is not always visible when
3908 HildonTouchSelector is shown)
3910 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3912 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3913 Alejandro G. Castro (alex@igalia.com)
3915 * src/hildon-touch-selector.c:
3916 (_create_new_column): Do not connect to the "realize" signal of the
3918 (hildon_touch_selector_append_column): center on the selected items
3919 when a new column is appended.
3920 (hildon_touch_selector_select_iter): Factor out the code to select a
3921 column to hildon_touch_selector_scroll_to().
3922 (+search_nearest_element): Method to retrieve the nearest selected
3923 element to the visible area of the pannable area in a column.
3924 (+on_realize_cb): scroll to the initially selected item.
3925 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3926 the pannable area is realized, otherwise delay this until it is.
3927 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3928 selected items of a given column.
3929 (+hildon_touch_selector_center_on_selected): Public method to center
3930 all columns on the nearest selected item.
3931 * src/hildon-touch-selector.h: Add definition for
3932 hildon_touch_selector_center_on_selected().
3934 Implement public API to ensure visibility of all selected items in
3935 a HildonTouchSelector.
3937 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3939 Fixed a problem in the fading when calling the scroll_to API, and
3940 improve scrollbar fading handling.
3942 * src/hildon-pannable-area.c,
3943 (hildon_pannable_area_grab_notify): avoid the timeout when the
3945 (hildon_pannable_area_button_press_cb),
3946 (hildon_pannable_area_motion_notify_cb): Code style changes.
3947 (hildon_pannable_area_button_release_cb): Review the conditions
3948 when releasing the mouse button to avoid unrequired fading
3950 (hildon_pannable_area_scroll_to): Do not calculate and set the
3951 velocity if the scroll is not required.
3953 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3955 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3956 Don't check whether the new selector is NULL: it cannot be.
3957 Hold a reference to the selector while doing the replacement.
3959 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3961 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3962 unnecessary size_request in a removed widget.
3964 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3966 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3967 an unnecessary reference tracking that was leaking.
3969 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3971 Added delayed motion notify event handling, this way we can
3972 discard redrawing if more than 25 events arrive per second.
3974 * src/hildon-pannable-area.c,
3975 (hildon_pannable_area_init): Initialized the new private atributes
3976 controlling this timeout
3977 (hildon_pannable_area_dispose): Remove the timeout that controls
3978 the motion notify events.
3979 (hildon_pannable_area_scroll): Added a condition to control the
3980 use of the acceleration.
3981 (hildon_pannable_area_motion_event_scroll_timeout),
3982 (hildon_pannable_area_motion_event_scroll): Added this two
3983 functions, they handle the motion notify events inside the
3985 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3986 to the scroll method with the new function.
3987 (hildon_pannable_area_button_release_cb): We have to remove the
3988 timeout handler and move to the last position if the last motion
3989 events were not handled.
3991 Fixes: NB#97028 (Pannable area updates on every motion event)
3993 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3995 * src/hildon-pannable-area.c,
3996 (hildon_pannable_area_get_topmost): Added a new parameter to
3997 filter the the windows that do not include those events. Added
3998 also a condition when finding the window to filter windows that do
3999 not ask for those events.
4000 (hildon_pannable_area_button_press_cb),
4001 (hildon_pannable_area_button_release_cb),
4002 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4003 topmost function, we have added the new parameter.
4005 Fixes: NB#97458 (Pannable area prevents propagation of button
4008 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4010 * src/hildon-pannable-area.c,
4011 (hildon_pannable_area_initial_effect): Added controls before
4012 launching the timeout and the idle functions.
4013 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4014 of the method, in some situations it can return with TRUE and 0 in
4016 (hildon_pannable_area_button_press_cb): We do not need to set
4017 DELAY for fading out here.
4019 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4021 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4023 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4024 post-cleaning if the selection is not NULL.
4026 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4028 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4029 all items before restoring the selection.
4031 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/hildon-touch-selector.c:
4034 (+hildon_touch_selector_unselect_all):
4035 * src/hildon-touch-selector.h: New API to unselect all items in a
4036 column of the touch selector.
4038 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4040 * src/hildon-pannable-area.c,
4041 (hildon_pannable_area_redraw): Added a call to the refresh
4042 function inside the redraw because apparently in some cases the
4043 change in the adjustment does not imply a size allocate.
4045 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4046 despite the view not being scrollable)
4048 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4050 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4051 leak. Check for NULL before attempting to set the window title.
4053 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4055 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4056 whether to show or not the 'Done' button each time the dialog is
4057 shown, as it depends on the HildonTouchSelector selection mode.
4059 Fixes: NB#96226 (In multiple selection mode Done button is shown
4060 sometimes in listpicker)
4062 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4064 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4065 for the number of columns in the HildonTouchSelector more than once.
4067 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4069 * src/hildon-touch-selector.c: Minor documentation fixes.
4071 * src/hildon-picker-dialog.c (+_dialog_update_title)
4072 (_select_on_selector_changed_cb)
4073 (_update_title_on_selector_changed_cb)
4074 (on_selector_columns_changed): Update dialog title when there's no
4075 'Done' button and also when the number of columns in the selector
4079 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4080 (+_selection_changed, hildon_picker_button_on_dialog_response)
4081 (hildon_picker_button_selector_selection_changed)
4082 (+hildon_picker_button_selector_columns_changed)
4083 (hildon_picker_button_set_selector): Update button value and emit
4084 'value-changed' when the number of columns in the selector
4088 Fixes: NB#96225 (Dialog titles are not shown according to the
4089 values selected in the list picker)
4091 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4093 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4094 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4095 New "arrow-width" and "arrow-height" style properties to set the
4096 size of the arrow button.
4097 Set name of arrow button ("hildon-edit-toolbar-arrow").
4099 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4100 graphics from theme)
4102 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-picker-button.c:
4105 (hildon_picker_button_selector_selection_changed): Use
4106 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4107 the dialog is present.
4109 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4110 the selection is accepted in the dialog)
4112 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-color-chooser.h
4115 * src/hildon-color-chooser-dialog.h:
4116 Added G_BEGIN_DECLS and G_END_DECLS
4118 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4120 (_clean_current_selection): plug a leak in the list.
4122 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-picker-dialog.c:
4125 (+free_path_list): Method to free a GList of GtkTreePaths.
4126 (_clean_current_selection), (_save_current_selection),
4127 (_restore_current_selection): Save the current selection in
4128 as a list of lists, to support multiple selection properly.
4130 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4132 patch by Claudio Saavedra (csaavedra@igalia.com)
4134 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4135 Store the press position.
4136 (+hildon_text_view_button_release_event): If the release position is
4137 close enough to the press position, move the cursor here. Otherwise,
4139 (hildon_text_view_class_init): Override GtkTextView press, release, and
4140 motion event handlers, disabling this way text selection through
4141 pointer interaction, and allowing the container widget to handle the
4144 Fixes: NB#95828 (HildonTextView functionality)
4146 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4148 Based on a patch by Iván Gómez (igomez@igalia.com)
4150 * src/hildon-button.[ch]
4151 * src/hildon-calendar.c
4152 * src/hildon-check-button.c
4153 * src/hildon-date-editor.c
4154 * src/hildon-date-selector.c
4155 * src/hildon-picker-button.c
4156 * src/hildon-time-editor.c
4157 * src/hildon-time-selector.c
4158 * src/hildon-touch-selector.[ch]:
4159 Documentation updates
4161 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4163 * src/hildon-pannable-area.c,
4164 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4165 threshold, it was required due to X events handling.
4167 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4169 * src/hildon-pannable-area.c,
4170 (hildon_pannable_area_grab_notify),
4171 (hildon_pannable_area_initial_effect),
4172 (hildon_pannable_area_button_press_cb),
4173 (hildon_pannable_area_button_release_cb),
4174 (hildon_pannable_area_scroll_cb),
4175 (hildon_pannable_area_scroll_to): Review the timeout management of
4176 the scrollbar, the frecuency was incorrectly set.
4178 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-picker-button.c:
4181 (+hildon_picker_button_on_dialog_response),
4182 (hildon_picker_button_clicked): Present the dialog instead of
4183 running it with gtk_dialog_run().
4185 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4188 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4191 (hildon_app_menu_finalize): When a window is hidden it doesn't
4192 emit notify::is-topmost, so make sure than the menu also
4193 disappears in that case.
4194 (parent_window_topmost_notify): Renamed from parent_window_hidden
4196 Fixes: NB#94460 (stackable window's menu is not closed when its
4199 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4201 * src/hildon-touch-selector-entry.c:
4202 (+hildon_touch_selector_entry_set_input_mode),
4203 (+hildon_touch_selector_entry_get_input_mode):
4204 * src/hildon-touch-selector-entry.h: New methods to access the input
4205 mode in the selector's entry.
4207 Fixes: NB#93410 (API required for setting IM mode in
4208 HildonTouchSelectorEntry)
4210 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4212 * configure.ac: post release version bump.
4213 * debian/changelog: version bump
4215 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4220 * configure.ac: Bump version.
4221 * debian/changelog: Updates.
4223 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/hildon-touch-selector.c:
4226 (_hildon_touch_selector_has_multiple_selection): No need
4227 to initialize the variables here.
4229 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4231 * src/hildon-note-private.h
4232 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4233 (hildon_note_finalize, hildon_note_rebuild): Close information
4234 notes when they receive a button press.
4236 Fixes: NB#89890 (Information notes does not get disappeared after
4239 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4241 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4242 mark from the wizard title, as it's not really necessary. Also,
4243 do not display the page title if not set.
4245 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4248 (parent_window_hidden): Use the window's "is-topmost" property to
4249 detect when to hide the menu.
4251 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4253 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4254 (hildon_app_menu_finalize): If the parent window of the menu is
4255 hidden, hide the menu too.
4257 Fixes: NB#94460 (stackable window's menu is not closed when its
4260 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4263 * debian/libhildon1-examples.install
4265 * examples/Makefile.am:
4266 Use dh_install to install all examples.
4267 Use DEB_SRCDIR instead of defining SOURCE_DIR
4269 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4271 * configure.ac: post release version bump.
4272 * debian/changelog: version bump
4274 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4279 * configure.ac: bump version
4280 * debian/changelog: updates
4281 * debian/control: bump gtk+ dependency
4283 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4285 patch by Christian Dywan (christian@imendio.com)
4287 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4288 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4290 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-check-button.c (hildon_check_button_init)
4293 (hildon_check_button_class_init, hildon_check_button_style_set)
4294 (hildon_check_button_apply_style):
4295 New "checkbox-size" style property.
4297 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4298 larger / configurable size)
4300 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4302 * configure.ac: post release version bump.
4303 * debian/changelog: version bump
4305 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4310 * configure.ac: bump version
4311 * debian/changelog: updates
4313 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4315 * doc/hildon-sections.txt
4316 * src/hildon-pannable-area.c
4317 * src/hildon-program.c
4318 * src/hildon-time-editor.c
4319 * src/hildon-touch-selector-entry.c:
4321 More documentation updates.
4323 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4325 * doc/hildon-sections.txt
4326 * src/hildon-caption.c
4327 * src/hildon-code-dialog.c
4328 * src/hildon-color-button.c
4329 * src/hildon-controlbar.c
4330 * src/hildon-date-editor.c
4331 * src/hildon-date-selector.c
4332 * src/hildon-edit-toolbar.c
4333 * src/hildon-find-toolbar.c
4334 * src/hildon-font-selection-dialog.c
4336 * src/hildon-program.c
4337 * src/hildon-range-editor.c
4338 * src/hildon-seekbar.c
4339 * src/hildon-time-editor.c
4340 * src/hildon-time-selector.c
4341 * src/hildon-volumebar-range.c
4342 * src/hildon-volumebar.c
4343 * src/hildon-vvolumebar.c
4344 * src/hildon-weekday-picker.c
4345 * src/hildon-window.c
4346 * src/hildon-wizard-dialog.c:
4348 Lots of documentation fixes.
4350 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4352 Patch contributed by Iván Gómez (igomez@igalia.com)
4354 * src/hildon-check-button.c:
4355 * src/hildon-date-button.c:
4356 * src/hildon-date-selector.c:
4357 * src/hildon-dialog.c:
4358 * src/hildon-edit-toolbar.c:
4359 * src/hildon-entry.c:
4360 * src/hildon-picker-button.c:
4361 * src/hildon-program.c:
4362 * src/hildon-text-view.c:
4363 * src/hildon-time-button.c:
4364 * src/hildon-touch-selector-entry.c:
4365 * src/hildon-window-stack.c:
4367 Add more "since" tags to the new API.
4369 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4371 * doc/hildon-sections.txt: Add below method.
4372 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4373 version for the hildonized scale.
4374 * src/hildon-gtk.h: Add the definition.
4376 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4378 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4380 * doc/hildon-sections.txt: Add missing entries for new methods.
4382 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4384 Added API to pannable are in order to get its adjustments. We
4385 added two properties to manage the values we had in the private
4388 * src/hildon-pannable-area.c:
4389 (hildon_pannable_area_class_init): Added hadjustment and
4390 vadjustment properties in order to expose horizontal and vertical
4392 (hildon_pannable_area_get_property),
4393 (hildon_pannable_area_set_property): Added code to handle the new
4395 (hildon_pannable_area_get_hadjustment),
4396 (hildon_pannable_area_get_vadjustment): API functions to get the
4398 * src/hildon-pannable-area.h:
4399 (hildon_pannable_area_get_hadjustment),
4400 (hildon_pannable_area_get_vadjustment): API functions to get the
4403 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4405 Fixed some leaks, after valgrinding.
4407 * src/hildon-touch-selector.c:
4408 (_default_print_func): Fixed a leak.
4409 (hildon_touch_selector_append_column): Fixed a leak.
4410 * src/hildon-date-button.c:
4411 (hildon_date_button_init): Fixed a leak.
4412 * src/hildon-date-selector.c
4413 (hildon_date_selector_finalize): Fixed a leak.
4415 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4417 Based on a patch by Christian Dywan (christian@imendio.com)
4419 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4421 * src/hildon-gtk.h: Add definition.
4423 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4425 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4427 * src/hildon-picker-button.c: (hildon_picker_button_init),
4428 (hildon_picker_button_new): Set the HildonButton::style property
4429 in the init method, to propagate the value to the derived classes.
4431 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-button.c: (hildon_button_class_init): Do not make
4434 the "style" property a construct property.
4436 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-wizard-dialog.h
4439 * src/hildon-wizard-dialog.c
4440 (hildon_wizard_dialog_set_forward_page_func)
4441 * src/hildon-pannable-area.h
4442 * src/hildon-pannable-area.c
4443 (hildon_pannable_area_set_size_request_policy):
4444 Documentation fixes.
4446 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4448 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4450 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4452 * doc/hildon-sections.txt: Added sections file.
4454 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4457 * src/*.[ch]: Updates.
4459 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4461 * examples/hildon-progress-indicator-example.c: new file
4462 * examples/Makefile.am: include the new example program
4464 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4466 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4468 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4470 * configure.ac: post release version bump
4471 * debian/changelog: version bump
4473 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4478 * configure.ac: bump version
4479 * debian/changelog: updates
4480 * debian/control: bump gtk+ dependency
4482 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4484 * src/hildon-dialog.c: Mark as deprecated.
4485 * src/hildon-dialog.h: Mark as deprecated.
4486 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4487 from HildonDialog and still work, even if
4488 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4489 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4491 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4492 maemo changes) instead)
4494 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4496 * src/hildon-pannable_area.h:
4497 * src/hildon-pannable_area.c:
4498 (hildon_pannable_area_class_init),
4499 (hildon_pannable_area_set_property),
4500 (hildon_pannable_area_get_property),
4501 (hildon_pannable_area_size_request),
4502 (hildon_pannable_area_get_size_request_policy),
4503 (hildon_pannable_area_set_size_request_policy): Added new API
4504 allowing applications to control the request policy. Now they can
4505 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4506 children allocation (HILDON_MOVEMENT_CHILDREN).
4508 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4512 (hildon_gtk_tree_view_set_ui_mode)
4513 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4514 mode of treeviews and iconviews.
4516 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4518 * src/hildon-touch-selector-entry.c:
4519 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4520 of a GtkEntry to get proper theming.
4522 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4523 widget, not GtkEntry)
4525 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4528 no HildonWizardDialogPageFunc.
4530 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4532 Patch contributed by Iván Gómez (igomez@igalia.com)
4534 * src/hildon-app-menu.c:
4535 * src/hildon-button.c:
4536 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4537 * src/hildon-stackable-window.c:
4538 * src/hildon-time-selector.c:
4539 * src/hildon-touch-selector.c:
4540 * src/hildon-window.c:
4542 Add more "since" tags to the new API in hildon 2.2.
4544 2008-12-05 Tim Janik <timj@imendio.com>
4546 Patch contributed by Christian Dywan (christian@imendio.com)
4548 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4549 HildonSizeType, which are supplied by Gtk+ now.
4551 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4553 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4554 (with maemo changes) instead)
4556 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4558 Patch contributed by Iván Gómez (igomez@igalia.com)
4560 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4563 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4565 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4566 (some_page_func), (main): Update the example to use a
4567 HildonWizardDialogPageFunc function.
4569 * src/hildon-wizard-dialog-private.h: Add private data for
4570 the HildonWizardDialogPageFunc function usage.
4572 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4573 (destroy), (hildon_wizard_dialog_init), (response),
4574 (hildon_wizard_dialog_set_forward_page_func):
4575 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4576 that applications can use to stop a HildonWizardDialog to jump to
4579 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4582 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4584 * src/hildon-program.h
4585 * src/hildon-program-private.h
4586 * src/hildon-program.c (hildon_program_init)
4587 (hildon_program_set_common_app_menu)
4588 (hildon_program_get_common_app_menu):
4589 New API for setting a common HildonAppMenu for all
4590 HildonStackableWindows registered with the HildonProgram.
4592 * src/hildon-stackable-window.c
4593 (hildon_stackable_window_toggle_menu):
4594 Use the common HildonAppMenu if a window doesn't have a specific
4597 * src/hildon-app-menu-private.h
4598 * src/hildon-app-menu.c
4599 (hildon_app_menu_get_parent_window):
4600 Function to obtain the window a HildonAppMenu is attached to.
4601 (hildon_app_menu_set_parent_window):
4602 Hide the menu if the parent window is set to NULL.
4604 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4606 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4607 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4608 search widget to popup.
4610 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4612 * configure.ac: post release version bump
4613 * debian/changelog: version bump
4615 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4620 * configure.ac: bump version
4621 * debian/changelog: updates
4623 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4625 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4627 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4628 (hildon_window_stack_window_realized)
4629 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4630 Set the leader GdkWindow when a window is stacked and realized,
4631 unset it when it's unstacked.
4632 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4634 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4636 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-stackable-window.h
4639 * src/hildon-window-stack.h:
4640 Protect definition of HildonWindowStack using the preprocessor.
4642 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4645 Fix warning if all menu items are hidden.
4647 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4649 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4651 * src/hildon-controlbar.c:
4652 * src/hildon-hvolumebar.c:
4653 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4654 Multiple scale size defines updates.
4656 Fixes: NB#94322 (Scale Updates)
4658 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4660 * examples/hildon-app-menu-example.c (create_menu)
4661 Show items after adding them to the menu, as in the future the
4662 menu will no longer call gtk_widget_show() on the added items.
4664 * src/hildon-app-menu.c:
4665 Update example as explained above.
4667 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4669 * src/hildon-app-menu.c
4670 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4671 Make sure that all menu items have finger height.
4673 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4675 * src/hildon-picker-dialog.c:
4676 (_on_dialog_response), (_save_current_selection),
4677 (_restore_current_selection), (_clean_current_selection),
4678 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4679 Defined new functions in order to save the current internal selector
4680 selection previous open the dialog, in case that the use cancel the
4681 interaction, so the widget restores the previous selection.
4683 Fixes: NB#92032 (In calendar application, date values in 'new event'
4686 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4688 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4690 * src/hildon-button.c: Add a reference to the button examples in
4691 hildon-button-example.c
4693 * examples/hildon-button-example.c: Added examples of the most
4694 common button layouts.
4696 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-app-menu.c (hildon_app_menu_show)
4699 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4701 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4703 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/hildon-picker-dialog.c:
4706 (hildon_picker_dialog_init): Initialize the signal id for
4707 HildonTouchSelector::columns-changed.
4708 (+on_selector_columns_changed): Set up the interaction mode everytime a
4709 column is added or removed from the HildonTouchSelector.
4710 (_hildon_picker_dialog_set_selector): Connect to
4711 HildonTouchSelector::columns-changed and keep track of it.
4713 Make sure to update the interaction mode of the dialog everytime a
4714 column is added or removed in the HildonTouchSelector.
4716 Fixes: NB#93228 (Done button is not shown always in listpicker)
4718 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4721 a new ::columns-changed signal.
4722 (hildon_touch_selector_append_column): Emit ::columns-changed.
4723 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4725 Add a ::columns-changed signal, emitted when the number of columns in a
4726 HildonTouchSelector changes.
4728 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4731 (_hildon_picker_dialog_set_selector): Factor out the code
4732 to set up the dialog interaction mode.
4734 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4737 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4738 to signal_changed_id.
4740 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4742 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4745 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4747 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4748 Updated the logical ids related to ampm format, as now it is required to
4749 show it correctly localized even on languages with no default
4750 abbreviations for am or pm
4751 (_check_am_pm_format): check correctly the 24h format gconf property
4753 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4755 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4757 * src/hildon-button.c: Documentation updates.
4759 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4761 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4762 * src/hildon-caption.c: (hildon_caption_class_init):
4763 * src/hildon-color-button.c: (hildon_color_button_class_init):
4764 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4765 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4766 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4767 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4769 Remove deprecated GTK+ marshalers and replace them with the ones
4770 provided by GLib, for those available, add a marshaler for
4771 BOOLEAN:VOID, which is not available in GLib, and use it.
4773 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4776 the text from the previous column if there is no
4777 HildonTouchSelectorColumn::text-property set.
4779 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-button.h
4782 * src/hildon-button.c (hildon_button_set_property)
4783 (hildon_button_get_property, hildon_button_class_init)
4784 (hildon_button_set_style, hildon_button_get_style):
4785 New "style" property to change the visual appearance of the
4788 * src/hildon-picker-button.c (hildon_picker_button_new):
4789 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4791 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4792 HildonButton look like PickerButton)
4794 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4796 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4797 column while building the default string.
4799 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4802 scroll indicator by default.
4804 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4806 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4808 * src/hildon-main.c: Fix the documentation for hildon_init()
4810 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4812 * doc/hildon-docs.sgml
4816 * src/hildon-window-stack-private.h
4817 * src/hildon-window-stack.h
4818 * src/hildon-window-stack.c:
4819 New HildonWindowStack object, that adds support for multiple
4820 stacks of windows per process.
4822 * src/hildon-stackable-window-private.h
4823 * src/hildon-stackable-window.h
4824 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4825 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4826 (hildon_stackable_window_show, hildon_stackable_window_hide)
4827 (hildon_stackable_window_class_init)
4828 (hildon_stackable_window_init):
4829 Use HildonWindowStack for stack management.
4831 * src/hildon-program.c (hildon_program_pop_window_stack)
4832 (hildon_program_peek_window_stack)
4833 (hildon_program_go_to_root_window):
4834 Add a fallback implementation to the deprecated functions using
4837 * examples/hildon-stackable-window-example.c:
4838 Use the new HildonWindowStack API.
4840 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-stackable-window-private.h
4843 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4844 (hildon_stackable_window_hide, hildon_stackable_window_init):
4845 Remove all window stack management.
4847 * src/hildon-program-private.h
4848 * src/hildon-program.h
4849 * src/hildon-program.c (hildon_program_init)
4850 (hildon_program_pop_window_stack)
4851 (hildon_program_peek_window_stack)
4852 (hildon_program_go_to_root_window):
4853 Remove all window stack management and mark functions as
4856 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4858 * src/hildon-app-menu.c (hildon_app_menu_realize):
4859 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4861 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4863 * configure.ac: post release version bump
4864 * debian/changelog: version bump
4866 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4871 * configure.ac: bump version
4872 * debian/changelog: updates
4874 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4876 Based on initial code by Christian Dywan (christian@imendio.com)
4878 * doc/hildon-docs.sgml: Add section for hildon-main.
4879 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4880 * src/Makefile.am: Add new hildon-main.[ch]
4881 * src/hildon-defines.h: Update the icon sizes.
4882 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4883 new library initialization files and register icon sizes.
4884 * src/hildon-main.h: New declarations.
4885 * src/hildon.h: Include hildon-main.h
4887 Add new initialization functions to the library. These methods
4888 will register the hildon specific icon sizes and can be used in the
4889 future for other hildon specific bits.
4891 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4893 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/hildon-window.c: (hildon_window_realize),
4896 (hildon_window_notify), (-hildon_window_update_title): Do not set
4897 the application name in the window title.
4899 Fixes: NB#89754 (Applications shouldn't display their names in the
4902 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4904 * src/hildon-note-private.h:
4905 * src/hildon-note.c: (hildon_note_set_property),
4906 (hildon_note_get_property), (hildon_note_class_init),
4907 (hildon_note_init), (hildon_note_finalize),
4908 (hildon_note_new_confirmation_with_icon_name),
4909 (hildon_note_new_information_with_icon_name):
4911 No need to mark as deprecated the actual code. Revert
4912 to avoid missing symbols in widgets using deprecated API.
4914 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4916 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4918 * src/hildon-volumebar.h
4919 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4920 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4922 * src/hildon-helper.h
4923 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4924 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4926 * examples/Makefile.am:
4927 Deprecate hildon-insensitive-example
4929 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4931 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4933 * examples/hildon-pannable-area-buttons-scroll-example.c:
4934 Make all buttons finger height
4936 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4938 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4940 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4941 update the day model only if it is really required, and to avoid the
4942 full-reconstruction aproach. Now it only add or remove the required days.
4944 The purpose of this is avoid superfluous HildonTouchSelector::changed
4947 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4948 with strange parameters)
4950 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4952 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4954 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4955 the WINDOW_TYPE property.
4957 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4959 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4962 Fix dependency to allow parallel compilation with make -jX
4964 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4966 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4967 color frame and some minor tweaks to make it more consistent with
4970 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4971 highlighted but not visible)
4973 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4975 * examples/Makefile.am: Fixed typo in the Makefile.am.
4977 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4979 Reviewed the use of MAEMO_GTK define, now we add the define in the
4980 compilation line, and we also add it to the pc file.
4982 * configure.ac: Added MAEMO_GTK define to the compilation command
4983 and removed it from the config.h.
4985 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4986 do not have to take care about this define if the library was
4990 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
4992 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4994 * examples/Makefile.am,
4995 * examples/hildon-pannable-area-buttons-scroll-example.c,
4996 * examples/hildon-pannable-area-gesture-signals-example.c,
4997 * examples/hildon-pannable-area-scroll-jump-example.c,
4998 * examples/hildon-pannable-area-tree-view-example.c:
4999 Renamed the pannable area examples, now they have more meaningful
5002 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5004 * src/hildon-touch-selector.c:
5005 (hildon_touch_selector_set_column_selection_mode): Used of
5006 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5007 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5008 to avoid re-seting the same selection mode.
5010 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5011 breaks HildonPickerDialog)
5013 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5015 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5016 conditional in the Makefile.am
5018 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5020 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5021 Remove unused methods.
5023 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5025 * src/hildon-button.c (hildon_button_init):
5026 Make button images center-aligned by default
5028 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5031 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5032 activated, we have to think about how to deal with both defines
5033 MAEMO_GTK and MAEMO_CHANGES.
5035 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5037 * examples/hildon-app-menu-example.c (create_menu): Make all
5038 buttons finger size.
5040 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5042 Fixed the compilation without maemo gtk adding ifdefs with
5043 MAEMO_GTK define to the code, we have to check this version more
5046 * examples/Makefile.am: Added control to avoid some examples that
5047 just make sense with maemo gtk.
5050 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5051 hildon modes with the define.
5053 * examples/hildon-edit-toolbar-example.c,
5054 (create_icon_view): Create the icon view without hildon-gtk
5055 helpers if we are not using maemo gtk.
5057 * src/hildon-touch-selector.c,
5058 (_create_new_column): Create the treeview without hildon-gtk
5059 helpers if we are not using maemo gtk.
5061 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5063 * src/hildon-pnnable-area.c,
5064 (hildon_pannable_area_dispose),
5065 (hildon_pannable_area_button_press_cb),
5066 (hildon_pannable_area_child_mapped),
5067 (hildon_pannable_area_add),
5068 (hildon_pannable_area_remove): Added code to control the position
5069 of the event_window when adding and removing children from the
5070 pannable. We have to raise the event window when the child is
5073 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5074 selection mode using custom widget inside pannable)
5076 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5078 * configure.ac: post release version bump
5079 * debian/changelog: version bump
5081 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5086 * configure.ac: bump version
5087 * debian/changelog: updates
5089 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5091 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5092 search mode, in order to avoid lose the focus on the treeview when
5093 a hw key (like enter) is pressed.
5095 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5096 in HildonDateSelector dialog)
5098 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5100 * debian/rules: Added --enable-maintainer-mode
5101 * Makefile.am: Added ACLOCAL_AMFLAGS
5103 This allows to properly regenerate the Makefiles if you modify the
5104 configure.ac or any Makefile.am.
5106 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5108 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5109 properties, not needed at all.
5111 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5113 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5115 * src/hildon-note.c: (hildon_note_set_property),
5116 (hildon_note_get_property), (hildon_note_class_init),
5117 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5118 (hildon_note_new_confirmation_add_buttons): Remove icons.
5119 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5120 (hildon_note_new_information_with_icon_name): Deprecate.
5121 (hildon_note_new_confirmation): Act directly, without calling
5122 the deprecated constructor.
5123 (hildon_note_new_information): Act directly, without calling
5124 the deprecated constructor.
5125 * src/hildon-note.h: Mark deprecate methods as such.
5126 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5127 not run tests on the deprecated methods if built with deprecation
5130 Fixes: NB#91688 (Never show icons in information notes/confirmation
5133 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5135 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5136 (hildon_app_menu_key_press): Remove leftover usage of the
5137 private structure in HildonAppMenu struct.
5138 * src/hildon-app-menu.h: Remove leftover private structure
5139 from the HildonAppMenu struct.
5141 Fixes a crasher when using the HildonAppMenu.
5143 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5145 * src/hildon-picker-dialog.c: Use appropriate logical id
5146 for the default "Done" text.
5148 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5150 * configure.ac: post release version bump
5151 * debian/changelog: version bump
5153 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5155 Modified the way to scroll to the current selection just when the touch
5156 selector is shown on the screen, avoiding a g_idle. Added too a property
5157 to configure this behaviour. See hildon_pannable_area_jump_to_child
5158 documentation for more information.
5160 * src/hildon-touch-selector.c
5161 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5162 Added 'initial-scroll' property
5163 (hildon_touch_selector_set_property): Added
5164 (hildon_touch_selector_map): Removed as not required anymore
5165 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5166 only a concrete column, instead of iterate along all the columns
5168 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5173 * configure.ac: bump version
5174 * debian/changelog: updates
5176 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5179 compilation time warnings.
5181 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5184 the default value for HildonPannableArea::mov-mode to
5185 HILDON_PANNABLE_AREA_MODE_VERT.
5187 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5189 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5191 Reverting following commit:
5193 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5195 * src/hildon-app-menu-private.h
5196 * src/hildon-app-menu.[ch]
5197 * src/hildon-button.[ch]
5198 * src/hildon-check-button.[ch]
5199 * src/hildon-entry.[ch]
5200 * src/hildon-pannable-area.[ch]
5201 * src/hildon-text-view.[ch]:
5202 Added private field to the object's structure.
5204 because it causes an ABI breakage. We will need to introduce these
5205 changes later at some point. See NB#91636 for an extensive
5206 explanation and status.
5208 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5210 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5212 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5213 remove special cases that are no longer necessary.
5215 Fixes: NB#91016 (Change toolbar sizes, simplification)
5217 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5220 is shown in the cancel note.
5222 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5224 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5225 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5226 (hildon_seekbar_init): Remove steppers, remove expose event.
5227 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5229 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5231 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5233 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5234 label font to "SmallSystemFont" for vertically arranged buttons.
5236 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5239 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5241 * src/hildon-check-button.c
5242 (hildon_check_button_set_active, hildon_check_button_clicked):
5243 Don't access private parts directly, use getters instead.
5245 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5247 * src/hildon-check-button.c (hildon_check_button_new):
5248 Align the contents of the check button to the left.
5250 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5252 * src/hildon-pannable-area.c,
5253 (hildon_pannable_area_scroll_to),
5254 (hildon_pannable_area_jump_to),
5255 (hildon_pannable_area_scroll_to_child),
5256 (hildon_pannable_area_jump_to_child): Replace the mapped
5257 precondition of these functions with the realized, it is the
5258 correct state of the widget in this case. Changed the
5259 documentation according to this modification.
5261 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5263 Added a new EXTRA_CFLAGS option to add the deprecated define to
5264 the compilation command. This way we can avoid using the define in
5265 the documentation compilation.
5267 * configure.ac: Defined EXTRA_CFLAGS.
5269 * examples/Makefile.am:
5271 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5273 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5275 * src/hildon-picker-dialog.c:
5276 Defined a utility macro with the desired touch selector height
5277 Removed currently unused separator, and title_label variables from
5279 (hildon_picker_dialog_init): Removed code related to the creation
5280 of unused private variables title_label and separator.
5281 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5282 to ensure correct visualization of the touch selector inside the dialog.
5283 * src/hildon-touch-selector.c
5284 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5285 ensure a concrete height of the widget.
5287 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5290 * tests/Makefile.am:
5292 Remove spurious whitespaces.
5294 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5296 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5297 compilation warning after the cancel button removal.
5299 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5301 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5303 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5304 Makefile.am, that way we can choose not to compile some examples
5305 and tests of the deprecated widgets.
5307 * examples/Makefile.am: Divided the sources in deprecated and
5310 * src/Makefile.am: Added undef statement of the deprecated
5311 symbol to the enums file generation process.
5313 * src/hildon-color-chooser-dialog.c
5314 * src/hildon-color-chooser-dialog.h
5315 * src/hildon-color-button.c
5316 * src/hildon-color-button.h
5317 * src/hildon-color-chooser.c
5318 * src/hildon-color-chooser.h
5319 * src/hildon-controlbar.c
5320 * src/hildon-controlbar.h
5321 * src/hildon-date-editor.c
5322 * src/hildon-date-editor.h
5323 * src/hildon-hvolumebar.c
5324 * src/hildon-hvolumebar.h
5325 * src/hildon-private.c
5326 * src/hildon-private.h
5327 * src/hildon-range-editor.c
5328 * src/hildon-range-editor.h
5329 * src/hildon-seekbar.c
5330 * src/hildon-seekbar.h
5331 * src/hildon-time-editor.c
5332 * src/hildon-time-editor.h
5333 * src/hildon-time-picker.c
5334 * src/hildon-time-picker.h
5335 * src/hildon-volumebar.c
5336 * src/hildon-volumebar.h
5337 * src/hildon-vvolumebar.c
5338 * src/hildon-vvolumebar.h
5339 * src/hildon-bread-crumb-trail.h
5340 * src/hildon-bread-crumb-trail.c
5341 * src/hildon-calendar-popup.c
5342 * src/hildon-calendar-popup.h
5343 * src/hildon-weekday-picker.c:
5344 * src/hildon-weekday-picker.h:
5345 * src/hildon-bread-crumb-widget.c:
5346 * src/hildon-bread-crumb-widget.h:
5347 * src/hildon-bread-crumb.c:
5348 * src/hildon-bread-crumb.h:
5349 * src/hildon-calendar.c:
5350 * src/hildon-calendar.h:
5351 * src/hildon-caption.c:
5352 * src/hildon-code-dialog.c:
5353 * src/hildon-code-dialog.h:
5354 * src/hildon-font-selection-dialog.c:
5355 * src/hildon-font-selection-dialog.h:
5356 * src/hildon-get-password-dialog.c:
5357 * src/hildon-get-password-dialog.h:
5358 * src/hildon-login-dialog.c:
5359 * src/hildon-login-dialog.h:
5360 * src/hildon-number-editor.c:
5361 * src/hildon-number-editor.h:
5362 * src/hildon-set-password-dialog.c:
5363 * src/hildon-set-password-dialog.h:
5364 * src/hildon-sort-dialog.c:
5365 * src/hildon-sort-dialog.h: This is the list of deprecated
5368 * src/hildon-touch-selector.c:
5369 * src/hildon-window.c: Added undef statement to avoid compilation
5372 * tests/Makefile.am: Divided the sources in deprecated and
5375 * tests/check_test.c,
5376 (configure_tests): Marked the deprecated code that was adding
5377 suites with deprecated tests.
5379 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5381 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5383 * src/hildon-touch-selector.c: (_default_print_func): Do not
5384 duplicate a string returned by gtk_tree_model_get(), it is already
5387 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5390 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5392 * src/hildon-pannable-area.c
5393 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5394 method, it had problems when adding a widget with viewport the
5395 second time. Now checks if it already has a viewport and uses it.
5397 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5400 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5402 * src/hildon-pannable-area.c,
5403 (hildon_pannable_area_scroll_to),
5404 (hildon_pannable_area_jump_to),
5405 (hildon_pannable_area_scroll_to_child),
5406 (hildon_pannable_area_jump_to_child): Added a precondition to the
5407 scroll and jump to functions: the widget must be mapped before we
5408 can safely call these functions. We have also added documentation
5409 to the functions to explain how to use them in this situation.
5412 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5414 Reviewed the threading handling of the pannable widget, we have
5415 used the gdk_threads_add_timeout function instead of the usual
5416 glib handlers. This avoids some problems with the threads.
5418 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5419 (hildon_pannable_area_initial_effect),
5420 (hildon_pannable_area_scroll_indicator_fade),
5421 (hildon_pannable_area_button_press_cb),
5422 (hildon_pannable_area_timeout),
5423 (hildon_pannable_area_motion_notify_cb),
5424 (hildon_pannable_area_button_release_cb),
5425 (hildon_pannable_area_scroll_cb),
5426 (hildon_pannable_area_scroll_to): Removed the
5427 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5428 gdk_threads_add_timeout.
5430 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5432 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5437 * configure.ac: bump version
5438 * debian/changelog: updates
5440 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5442 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5443 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5444 * src/hildon-color-chooser-dialog.c:
5445 (hildon_color_chooser_dialog_init):
5446 * src/hildon-font-selection-dialog.c:
5447 (hildon_font_selection_dialog_init):
5448 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5450 Remove all cancel/close-like dialogs, as these are not going to be
5453 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5455 * src/hildon-note.c: (hildon_note_rebuild),
5456 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5459 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5461 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5464 sure all buttons are shown, even the Cancel/Close-like ones.
5466 Fixes: NB#90861 (Custom Confirmation dialogs should be
5467 protected from cancel button removal)
5469 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5471 * debian/control: Change libhildon1-examples dependency from libhildon1
5473 * debian/libhildon1-examples.install
5475 * Makefile.am: Modified the final install directory for the examples on
5476 package libhildon1-examples
5477 * Makefile.static: Update clean target in order to remove all the binary
5480 Changes suggested by Claudio after review new libhildon1-examples package
5482 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5484 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5485 * src/hildon-touch-selector.c: Ditto.
5487 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5489 * debian/control: Added new package libhildon1-examples, in order to pack
5490 the current hildon examples as documentation
5491 * debian/rules: Not to compress .c files, modify some includes on the
5492 examples (as normally are compiled locally, but when installed it will
5493 require to include the installed libhildon1 library), and rename
5495 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5496 install all the example files on the new example package
5497 * examples/Makefile.static: Added static makefile that can be used to
5498 compile the examples, once installed the new example package
5499 * examples: Most of the examples were modified in order to grant that
5500 all use only '#include "hildon.h"', in order to be easy to prepare
5501 it on the example package
5503 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5506 * debian/libhildon1-dev.install
5507 * debian/libhildon1-doc.install:
5508 Move all gtk-doc files to a separate libhildon1-doc package.
5510 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5512 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5514 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5516 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5518 * debian/rules: Fixed a error in order to avoid unnecessary calls
5519 to autogen.sh on package building
5521 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5523 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5525 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5527 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5530 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5532 * src/hildon-picker-button.c
5533 (hildon_picker_button_finalize):
5534 Free priv->done_button_text
5536 * src/hildon-time-button.c
5537 (hildon_time_button_set_time)
5538 * src/hildon-picker-button.c
5539 (hildon_picker_button_clicked)
5540 (hildon_picker_button_selector_selection_changed)
5541 (hildon_picker_button_set_selector)
5542 * src/hildon-date-button.c
5543 (hildon_date_button_set_date):
5544 Free strings returned by hildon_touch_selector_get_current_text()
5546 * src/hildon-button.c (hildon_button_construct_child):
5547 Fix leaks in priv->image and priv->label_box
5549 Fixes: NB#90535 (Memory leak in picker button)
5551 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5553 * src/hildon-button.c: (hildon_button_get_property): Do not access
5554 private elements directly, use getters instead.
5556 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5558 * src/hildon-app-menu-private.h
5559 * src/hildon-app-menu.c
5560 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5561 Store the menu's parent window.
5563 * src/hildon-stackable-window.c
5564 (hildon_stackable_window_toggle_menu)
5565 (hildon_stackable_window_finalize):
5566 Set the menu's parent window when the menu is shown, unset it when
5569 * src/hildon-app-menu.c
5570 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5571 (hildon_app_menu_class_init):
5572 Send unhandled keyboard accelerators to the parent window.
5574 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5576 * src/hildon-stackable-window.c
5577 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5579 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5581 * configure.ac: post release version bump
5583 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5586 * configure.ac: Bump version
5587 * debian/changelog: Updates
5588 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5591 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5593 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5596 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5597 GtkMenu with Hildon style.
5599 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5601 * src/hildon-picker-button.c:
5602 (hildon_picker_button_set_done_button_text): Set the dialog's
5603 done button text here as well.
5605 Fixes: NB#90232 (Picker button does not set the label on done button
5606 for the second time)
5608 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5610 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5613 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5615 * src/hildon-app-menu.c (hildon_app_menu_insert)
5616 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5617 the HildonAppMenu to be activatable using keyboard accelerators
5618 when the menu is not being shown.
5620 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5622 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5624 * src/hildon-stackable-window.c
5625 (hildon_stackable_window_show):
5626 Don't hide old windows automatically when new windows are shown:
5627 this is now a task for the window manager.
5628 (hildon_stackable_window_class_init)
5629 (hildon_stackable_window_hide):
5630 Remove windows from the stack everytime they're hidden.
5631 (hildon_stackable_window_realize):
5632 Don't change the _NET_WM_WINDOW_TYPE property. Use
5633 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5634 it as a stackable window.
5636 * src/hildon-program.c
5637 (hildon_program_pop_window_stack):
5638 Just hide the window to remove it from the stack.
5639 (hildon_program_go_to_root_window):
5640 Don't call gtk_widget_show(), this is now a task for the window
5643 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5645 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5647 * src/hildon-button.c
5648 (hildon_button_construct_child):
5649 Don't pack anything in the button until text or image are
5650 set. This allows adding a custom child after creating the button
5651 with hildon_button_new().
5652 (hildon_button_finalize, hildon_button_class_init)
5653 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5654 alignment and the label box even when they're not packed in the
5657 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5659 * src/hildon-touch-selector.h:
5660 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5661 currently the type definition was using GTK_TYPE_VBOX
5662 * src/hildon-touch-selector.c:
5663 Added some implementation notes in order to clarify that any other widget
5664 added without the column related API will not be included on the
5665 selection logic, and how the widget is freed, as some people ask about
5667 (hildon_touch_selector_remove): Reimplemented in order to free properly
5668 the column related data when you remove the private hbox.
5669 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5670 to get a proper HildonTouchSelectorColumn documentation
5672 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5674 * src/hildon-touch-selector-entry.c:
5675 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5676 text in the GtkEntry and there is no item selected. Fixes a
5679 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5681 * src/hildon-app-menu-private.h
5682 * src/hildon-app-menu.[ch]
5683 * src/hildon-button.[ch]
5684 * src/hildon-check-button.[ch]
5685 * src/hildon-entry.[ch]
5686 * src/hildon-pannable-area.[ch]
5687 * src/hildon-text-view.[ch]:
5688 Added private field to the object's structure.
5690 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5692 * configure.ac: post-release version bump
5694 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5698 * configure.ac: pre-release version bump
5700 * debian/changelog: updates.
5702 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5704 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5705 Disconnect the handler for HildonTouchSelector::changed.
5707 (hildon_picker_button_selector_selection_changed): Update the button
5708 value if the selection change was not triggered by the
5711 (hildon_picker_button_set_selector): connect to
5712 HildonTouchSelector::changed.
5714 Fixes: NB#89650 (Picker button is not updated, when selection in
5715 selector has changed)
5717 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5719 * src/hildon-picker-dialog.c
5720 (hildon_picker_dialog_realize): Removed as not required
5721 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5722 * src/hildon-picker-button.c
5723 (_current_selector_empty): New function, checks if the selector is empty
5724 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5725 if the current selector is empty, in order to avoid to show the dialog
5726 close the dialog in this case (and shows a g_warning).
5728 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5730 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5732 * src/hildon-pannable-area.c,
5733 (hildon_pannable_area_scroll): Added clause to stop movement when
5734 the child of pannable is smaller than one page.
5735 (hildon_pannable_area_scroll_to): Added conditions to avoid
5736 starting the scrolling movement if the child is smaller than one
5737 page, the complete child is in the screen, we do not have to move.
5739 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5741 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5743 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5744 this is managed automatically by the widget when the size of the
5747 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5749 * src/hildon-picker-button.c
5750 (hildon_picker_button_set_done_button_text): Make a copy of the
5751 text, and free the previous value.
5753 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5755 * src/hildon-touch-selector-entry.c:
5756 (hildon_touch_selector_entry_print_func): Return the selected row's
5757 text if the entry is empty.
5759 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5762 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5764 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5766 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5769 * src/hildon-check-button.h
5770 * src/hildon-check-button.c
5771 * examples/hildon-check-button-example.c:
5772 HildonCheckButton is now a new widget. 'toggled' signal added.
5774 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5776 * src/hildon-program-private.h
5777 * src/hildon-program.c (hildon_program_init)
5778 (hildon_program_finalize): Removed unused variables group_leader
5779 and name from HildonProgramPrivate.
5781 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5783 * src/hildon-check-button.c (hildon_check_button_set_active)
5784 (hildon_check_button_get_active, hildon_check_button_new): Use
5785 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5787 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5789 * src/hildon-touch-selector.h
5790 (hildon_touch_selector_set_column_attributes): added deprecation
5791 guard HILDON_DISABLE_DEPRECATED
5792 * src/hildon-time-selector.c
5793 (hildon_time_selector_set_time)
5794 (hildon_time_selector_get_time): Fixed a typo on documentation
5795 * src/hildon-touch-selector.c: update HildonTouchSelector and
5796 HildonTouchSelectorColumn documentation
5797 * src/hildon-touch-selector-entry.c: update "text-column" property
5799 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5800 to be added to the general documentation.
5802 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5804 * examples/hildon-pannable-area-example-4.c,
5806 * examples/hildon-pannable-area-example.c,
5807 (main): Modified the code in order to use the container add, with
5808 viewport treeviews could have problems if they are really big.
5810 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5812 * src/hildon-weekday-picker.c,
5813 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5814 the agreement regarding deprecation in the library.
5816 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5818 * examples/hildon-picker-button-multicolumn-example.c:
5819 (main): Use custom "done" button text.
5821 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5822 (hildon_picker_button_set_property),
5823 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5824 (hildon_picker_button_init),
5825 (+hildon_picker_button_get_done_button_text),
5826 (+hildon_picker_button_set_done_button_text): New methods to customize
5827 the "done" button label in the launched HildonPickerDialog. Also,
5830 * src/hildon-picker-button.h: add the public API.
5832 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5834 * src/hildon-date-selector.h:
5835 * src/hildon-picker-dialog.h:
5836 * src/hildon-time-selector.h:
5837 * src/hildon-touch-selector-column.h:
5838 * src/hildon-touch-selector.h:
5840 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5841 declarations. Fixes gtk-doc warnings.
5843 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5845 * src/hildon-picker-dialog.h
5846 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5847 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5849 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5850 long text is set as label for done button)
5852 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5854 * src/hildon-dialog.c (hildon_dialog_add_button):
5855 Set fixed width to all buttons in the HildonDialog.
5857 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5859 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5861 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5862 Set widget name using class name plus "-finger" or "-thumb".
5864 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5866 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5867 'clicked' when the state of the button is manually changed.
5869 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5871 * src/hildon-app-menu.c (hildon_app_menu_realize)
5872 (hildon_app_menu_unrealize, hildon_app_menu_init)
5873 (hildon_app_menu_class_init, item_visibility_changed):
5874 Change the menu layout when the size of the screen changes.
5875 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5876 Show warning only when changing the number of colums using the
5879 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5881 * debian/compat: Set to 5
5882 * debian/control: Update dependencies.
5883 * debian/libhildon1-dbg.install: Remove.
5884 * debian/libhildon1-dev.install: Update according to cdbs paths.
5885 * debian/libhildon1.install: Update according to cdbs paths.
5886 * debian/rules: Switch to cdbs.
5888 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5891 'item' variable renamed to 'filter'
5893 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5895 * src/hildon-app-menu.c (hildon_app_menu_insert)
5896 (hildon_app_menu_add_filter, remove_item_from_list)
5897 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5898 Don't leak hidden items when the menu is destroyed.
5900 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5902 * src/hildon-app-menu.c (hildon_app_menu_insert)
5903 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5904 (hildon_app_menu_set_columns, item_visibility_changed)
5905 (filter_visibility_changed, hildon_app_menu_repack_filters)
5906 (hildon_app_menu_repack_items):
5907 Repack items and filters separately.
5909 Don't repack all items, change only the ones that are needed to
5912 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5914 * src/Makefile.am: added hildon-touch-selector-column.h
5916 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5918 * src/hildon-touch-selector.c: added the property "text-column" to the
5919 class HildonTouchSelectorColumn, and related get/set functions
5920 (_default_printf_func): updated to use "text-column" property
5921 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5922 "text-column" in his documentation, as this is now included on
5923 HildonTouchSelectorColumn. The get/set_property can still be used,
5924 working as a wrapper to the concrete column "text-column" property
5925 (_text_column_modified): callback added in order to handle the signal
5926 "notify::text-column" of the concrete HildonTouchSelectorColumn
5927 (hildon_touch_selector_entry_get_text_column)
5928 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5929 modified in order to use the HildonTouchSelectorColumn "text-column"
5931 * src/hildon-time-selector.c:
5932 * src/hildon-date-selector.c:
5933 * examples/hildon-touch-selector-example.c
5934 * examples/hildon-touch-selector-multi-cells-example.c
5935 * examples/hildon-picker-button-multicolumn-example.c
5936 Set the right value to "text-column" property on the creation of a new
5937 column using hildon_touch_selector_append_column()
5939 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5941 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5943 * src/hildon-app-menu.c
5944 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5945 updating the layout of the menu, don't create all widgets again,
5946 just repack the items in their new places.
5948 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5950 * src/hildon-time-selector.c
5951 (hildon_time_selector_get_time)
5952 (hildon_time_selector_set_time)
5953 Added documentation of these public methods
5955 * src/hildon-date-button.h
5956 * src/hildon-touch-selector-column.h
5957 * src/hildon-time-button.h
5958 * src/hildon-picker-dialog.h
5959 * src/hildon-time-selector.h
5960 * src/hildon-picker-button.h
5961 * src/hildon-touch-selector.h
5962 * src/hildon-time-picker.h
5963 * src/hildon-date-selector.h
5964 * src/hildon-touch-selector-entry.h
5965 Modified in order to use hildon-widgets code style
5967 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5969 Added deprecated support to the compilation process using
5970 HILDON_DISABLE_DEPRECATED
5972 * configure.ac: Added the --disable-deprecated to the configure
5975 * src/hildon-weekday-picker.c:
5976 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5977 to use the deprecated support. We will update the other deprecated
5978 widgets status in a new patch.
5980 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5982 * configure.ac: Fixed typo with fatal warnings support, the
5983 variable name was not correct
5985 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-app-menu.c
5988 * src/hildon-program.c: Update documentation.
5990 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5992 * configure.ac: Post-release version bump.
5994 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
5999 * configure.ac: Pre-release version bump.
6000 * debian/changelog: Updates.
6002 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6004 * NEWS: Update news for previous releases.
6006 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6008 * examples/hildon-touch-selector-multi-cells-example.c:
6009 (create_selector): Update the example to use
6010 hildon_touch_selector_append_column() with a NULL renderer and set
6011 the renderers later.
6012 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6013 passed a NULL renderer. This is documented behavior now.
6015 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6016 This must be used if the developer wants full control on the layout of
6017 the renderers to be added to the column.
6019 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6021 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6023 * src/hildon-touch-selector.c: Documentation fixes.
6025 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6027 * src/hildon-wizard-dialog-private.h: Remove image and box.
6028 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6029 (hildon_wizard_dialog_set_property), (response): Completely remove
6030 image/icon support, and the containers required for the layout.
6032 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6034 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6036 * src/hildon-app-menu.c: Updated documentation.
6038 * src/hildon-stackable-window.c
6039 (hildon_stackable_window_set_main_menu): Unref the old menu after
6040 ref'ing the new one.
6042 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-stackable-window.c
6045 (hildon_stackable_window_set_main_menu): Unref the previous menu
6046 instead of destroying it.
6048 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6049 floating reference and set has_user_ref_count to FALSE to make
6050 HildonAppMenu act like a normal ref-counted widget and not a
6053 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6056 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6058 * src/hildon-touch-selector-column.h: new file
6059 * src/hildon-touch-selector.h
6060 * src/hildon-touch-selector.c
6061 Implemented GtkCellLayout interface, in order to allow to configure
6062 the cell layout on each individual selector column
6063 (hildon_touch_selector_set_column_attributes): marked as deprecated
6064 * examples/hildon-touch-selector-multi-cells-example.c
6065 Example of how to use the GtkCellLayout interface on the selector
6067 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6069 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6071 * src/hildon-app-menu.h
6072 * src/hildon-app-menu.c
6073 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6074 (hildon_app_menu_append, hildon_app_menu_prepend):
6075 New methods to prepend, insert and move items in the menu.
6077 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6079 * src/hildon-wizard-dialog.c:
6081 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6083 (create_title): Update logical IDs and related code.
6084 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6086 * src/hildon-wizard-dialog.h: Note that
6087 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6088 point, as it is not used anymore.
6090 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6092 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6094 * src/hildon-note.c:
6095 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6096 shown. Do not display an icon in confirmation notes nor information
6098 (hildon_note_set_button_text): Update logical ID for cancel button.
6100 Fixes: NB#88850 (Update HildonNote button strings + signals)
6102 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6104 * src/hildon-stackable-window.c
6105 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6107 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6109 * src/hildon-app-menu-private.h
6110 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6111 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6112 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6113 temporary property 'columns' to change the number of columns.
6115 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6117 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6119 * examples/hildon-note-example.c: (on_information_clicked),
6120 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6121 debugging information.
6122 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6124 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6125 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6126 in order to close: this will be handled by the WM from now on.
6128 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6130 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6132 * src/hildon-app-menu-private.h
6133 * src/hildon-app-menu.c
6134 (hildon_app_menu_append, hildon_app_menu_add_filter)
6135 (button_visibility_changed, hildon_app_menu_apply_style)
6136 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6137 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6138 layout everytime a button (item or filter) is shown or hidden.
6140 * src/hildon-stackable-window.c
6141 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6144 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6146 * src/hildon-touch-selector.c:
6147 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6148 that the treeview inside the touch selector is in fremantle hildon mode
6149 * examples/hildon-date-button-example.c
6150 * examples/hildon-picker-button-multicolumn-example.c
6151 * examples/hildon-touch-selector-entry-example.c
6152 * examples/hildon-touch-selector-example.c
6153 * examples/hildon-time-button-example.c
6154 * examples/hildon-picker-button-example.c:
6155 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6157 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6159 * examples/hildon-text-view-example.c: (main): Remove the
6160 gtkrc bits, now handled by the theme.
6162 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6164 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6167 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6169 * po/Makefile.am: Install properly the mo files.
6170 * po/en_GB.po: Update translation, to ease testing purposes.
6172 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6174 * examples/hildon-picker-button-example.c: (main): Select an item
6175 in the selector before setting it to the button.
6177 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6179 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6180 Update button's value if the selector has an item active.
6182 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6183 'value' with the selector)
6185 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6187 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6188 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6189 (hildon_picker_button_class_init): Plug the finalize method.
6190 (hildon_picker_button_set_selector): If there's a previously set
6191 selector, unref'it before setting a new one.
6193 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6194 HildonTouchSelector)
6196 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6198 * src/hildon-touch-selector-entry.c:
6199 (hildon_touch_selector_entry_changed): Check if there is no text
6200 selected before setting the entry text.
6203 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6205 * src/hildon-touch-selector.h
6206 * src/hildon-touch-selector.c
6207 (hildon_touch_selector_get_active)
6208 (hildon_touch_selector_set_active): New methods to set/get the
6209 index of the selected item.
6211 * src/hildon-picker-button.h
6212 * src/hildon-picker-button.c
6213 (hildon_picker_button_get_active)
6214 (hildon_picker_button_set_active): New methods to set/get the
6215 index of the selected item.
6217 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6219 * configure.ac: post-release version bump.
6221 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6225 * configure.ac: Pre-release version bump.
6226 * debian/changelog: Updates.
6227 * debian/control: Add myself as maintainer and depend on l10n
6230 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6232 * src/hildon-window.c
6233 (hildon_window_set_main_menu)
6234 * src/hildon-stackable-window.c
6235 (hildon_stackable_window_set_main_menu):
6236 Updated documentation.
6238 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6241 Don't free selector->priv manually.
6244 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6247 (hildon_gtk_window_set_progress_indicator):
6248 * src/hildon-gtk.h: Added the new API
6249 hildon_gtk_window_set_progress_indicator, it changes the state of
6250 the window progress hint.
6252 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6254 * src/hildon-button.c
6255 * src/hildon-stackable-window.c: Minor documentation updates.
6257 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6259 * src/hildon-stackable-window.c: Updated documentation.
6261 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6263 * src/hildon-defines.h: Update margins definitions
6264 to the Fremantle sizes.
6267 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6269 * src/hildon-touch-selector.c,
6270 (_hildon_touch_selector_set_model): Cleaning the code after
6271 review, removed g_print and #if 0 from the code.
6273 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-edit-toolbar.c: Update documentation.
6277 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6279 * src/hildon-check-button.h
6280 * src/hildon-check-button.c
6281 (hildon_check_button_set_label, hildon_check_button_get_label)
6282 * examples/hildon-check-button-example.c
6283 (button_clicked_cb):
6284 Removed deprecated methods.
6286 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6288 * src/hildon-text-view.c:
6289 Add sample code to the documentation.
6291 * src/hildon-entry.h
6292 * src/hildon-text-view.h:
6293 Minor cosmetic changes.
6295 * src/hildon-entry.c:
6296 Add sample code to the documentation.
6297 (hildon_entry_init, hildon_entry_refresh_contents):
6298 Don't allow NULL values in the placeholder.
6300 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6302 * doc/hildon-docs.sgml
6304 * examples/Makefile.am
6305 * examples/hildon-text-view-example.c
6307 * src/hildon-text-view.c
6308 * src/hildon-text-view.h
6310 New HildonTextView widget, with example.
6312 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6314 * po/POTFILES.in: Add missing files with translatable strings.
6315 Partially fixes NB#88287.
6317 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6319 * examples/hildon-pannable-area-example-2.c: (main): No need to
6320 set the cellrenderer height inside hildon touch lists, the theme does
6323 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6325 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6326 they are integrated in the theme.
6328 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6330 * examples/hildon-entry-example.c: Update the example adding
6331 widgets to modify the text and the placeholder of the HildonEntry.
6333 * src/hildon-entry.c: Show the placeholder everytime the widget
6334 is empty and loses the focus.
6336 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6338 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6340 * src/hildon-pannable-area.c,
6341 (hildon_pannable_area_size_request): Fixed bug in height
6342 requisition, avoid increasing size and add border twice.
6344 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6346 * configure.ac: postrelease version bump.
6348 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6352 * configure.ac: Prerelease version bump.
6353 * debian/changelog: update.
6354 * debian/rules: make -dbg package contain useful debugging symbols.
6356 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6358 * src/hildon-dialog.h
6359 * src/hildon-dialog.c
6360 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6361 New methods to add buttons with finger size.
6362 (hildon_dialog_new_with_buttons):
6363 Create buttons with finger size.
6365 * examples/hildon-dialog-example.c (main): Use HildonDialog
6366 methods to add buttons.
6368 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6370 * src/hildon-entry.c: Updated HildonButton documentation.
6372 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6374 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6375 button value label with (FALSE, FALSE) to prevent NB#88126 from
6378 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6380 * examples/hildon-pannable-area-example.c,
6381 (main): Removed examples panning a vbox inside a pannable
6382 area. Check bug NB#87965
6384 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6386 Patch contributed by Kris Rietveld (kris@imendio.com)
6388 * src/hildon-pannable-area.c,
6389 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6390 get_size and get_position, this saves an X server roundtrip.
6392 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6394 * doc/hildon-docs.sgml
6396 * examples/Makefile.am
6397 * examples/hildon-entry-example.c
6399 * src/hildon-entry.c
6400 * src/hildon-entry.h
6402 New HildonEntry widget, with example.
6404 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6406 * src/hildon-button.c (hildon_button_construct_child): Pack the
6407 image with expand == fill == FALSE. This is a workaround for a bug
6410 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6412 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6413 labels for the text column, to make it more look more dynamic.
6415 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6417 * src/hildon-time-selector.c
6418 Define gettext auxiliar macro N_
6419 (_create_minutes_model)
6420 (_create_hours_model)
6421 (_create_ampm_model): use of strftime in order to fill the model
6422 * src/hildon-date-selector.c
6423 (hildon_date_selector_finalize):
6424 (_locales_init): remove the logic related to get the name of the months
6425 using nl_langinfo, as it is not required anymore
6427 (_create_year_model)
6428 (_create_month_model)
6429 (_update_day_model): use of strftime in order to fill the model properly
6432 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6434 * src/hildon-button.h
6435 * src/hildon-button.c (hildon_button_get_image): New method to
6438 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6440 * src/hildon-touch-selector.c:
6441 (hildon_touch_selector_remove_column): Remove from the correct parent
6442 and also remove the list element and free it.
6445 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6447 * src/hildon-time-selector.c
6448 (_create_hours_model): change the range on 12h ampm format in order to use
6449 a 12-11 range instead of previous 01-12 range
6450 (hildon_time_selector_set_time): change the way to select the current time
6451 on 12h ampm format, due the change on the range
6452 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6455 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6457 * src/hildon-touch-selector.c
6458 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6459 in order to allow use this function on multiple row selection mode if
6460 the column is different that the first one
6463 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6465 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6466 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6468 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6470 * src/hildon-date-selector.h: clean some comments, now on the .c
6471 * src/hildon-date-selector.c
6472 (hildon_date_selector_select_month): first implementation
6473 (hildon_date_selector_select_day): added documentation, reimplemented
6474 using hildon_date_selector_select_current_date to avoid repeat code
6477 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6479 Reviewed interaction logic based on device experiences, refactored
6482 * src/hildon-pannable-area.c,
6483 (hildon_pannable_area_class_init): Updated default vmax speed.
6484 (hildon_pannable_area_calculate_velocity): Added this function, it
6485 avoids duplicate valocity calculation. Adjusted calculation to
6486 avoid problems with zero dist events.
6488 (hildon_pannable_area_motion_notify_cb): Now we use the
6489 calculate_velocity function.
6491 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6493 * src/hildon-date-selector.c
6494 (hildon_date_selector_select_current_date): fix the day range check
6495 as it failed using the last day of the current month
6498 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6500 * src/hildon-touch-selector.c
6501 (hildon_touch_selector_get_num_columns): added a parameter validation
6504 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6506 * examples/Makefile.am
6507 * examples/hildon-edit-toolbar-example.c: Example of the
6508 HildonEditToolbar widget.
6510 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6512 * configure.ac: postrelease version bump.
6514 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6518 * configure.ac: prerelease version bump.
6519 * debian/changelog: update.
6521 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6523 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6524 renderer to display stock icons in the touch list. Also, set the sizes
6525 to the recommended in the style guide.
6527 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6528 * src/hildon-touch-selector.h
6529 (hildon_touch_selector_set_active_iter): renamed, now is
6530 hildon_touch_selector_select_iter
6531 (hildon_touch_selector_get_active_iter): renamed, now is
6532 hildon_touch_selector_get_selected
6533 (hildon_touch_selector_unselect_iter): added
6534 * src/hildon-touch-selector.c
6535 Update after API modification (methods renamed)
6536 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6537 order to avoid problems selecting multiple elements on the column
6538 (hildon_touch_selector_unselect_iter): added the implementation
6539 * src/hildon-time-selector.c
6540 * src/hildon-date-selector.c
6541 * src/hildon-touch-selector-entry.c
6542 Update methods calls after hildon-touch-selector.h API modification (methods
6545 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6547 * src/hildon-stackable-window.c
6548 (hildon_stackable_window_finalize): Call the parent class's finalize.
6550 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6552 * examples/hildon-touch-selector-example.c: (create_selector): Use
6553 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6556 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6558 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6559 set a cell background color, to respect theming.
6561 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6563 * doc/hildon-docs.sgml
6566 * src/hildon-edit-toolbar.c
6567 * src/hildon-edit-toolbar.h
6568 * src/hildon.h: New HildonEditToolbar widget.
6570 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6572 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6575 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6576 * src/hildon-touch-selector.c
6577 (_create_new_column): use g_object_set instead of two g_object_set_property
6579 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6580 * src/hildon-touch-selector.c
6581 (_create_new_column): use of hildon_gtk_tree_view_new to create
6582 the treeview, instead of use directly g_object_new
6583 (_create_new_column): update the property name "vindicator-mode" for the
6584 new one "vscrollbar-policy"
6585 * examples/hildon-date-button-example.c
6586 * examples/hildon-picker-button-multicolumn-example.c
6587 * examples/hildon-touch-selector-entry-example.c
6588 * examples/hildon-touch-selector-example.c
6589 * examples/hildon-time-button-example.c
6590 * examples/hildon-picker-button-example.c
6591 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6592 to all the treeviews inside a pannable area.
6594 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6596 * src/hildon-button.h
6597 * src/hildon-button.c (hildon_button_init)
6598 (hildon_button_set_arrangement, hildon_button_set_alignment)
6599 (hildon_button_set_title_alignment)
6600 (hildon_button_set_value_alignment)
6601 (hildon_button_set_image_alignment)
6602 (hildon_button_construct_child): New methods to set the alignment
6603 of the individual components of the button (title, value,
6604 image). Also, new method to alter the xscale and yscale properties
6605 of the GtkAlignment inside the button, so more complex layouts can
6608 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6610 * src/hildon-button.c (hildon_button_style_set)
6611 (hildon_button_class_init, hildon_button_set_arrangement)
6612 (hildon_button_construct_child): Apply style properties
6613 correctly. Use the 'image-spacing' style property too.
6615 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6618 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6621 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6623 * src/hildon-pannable-area.c,
6624 (hildon_pannable_area_size_request): Fixed problem with
6625 pannable-area size_request.
6627 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6629 Added management for the grab-focus to a child widget, like a
6630 range, we need to fade out the scrollbar when releasing.
6632 * src/hildon-pannable-area.c,
6633 (hildon_pannable_area_init): Connected the grab-focus signal to
6635 (hildon_pannable_area_grab_notify): Added this function in order
6636 to manage the situation when the grab-focus ends. We have to
6637 fade-out the scrollbar.
6639 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6641 * src/hildon-app-menu.c: Minor documentation update.
6643 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6645 * src/hildon-app-menu.c
6646 * examples/hildon-app-menu-example.c (create_menu): Update
6647 examples and documentation to explain how to connect callbacks.
6649 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6651 * examples/hildon-button-example.c
6652 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6653 hildon_stackable_window_new instead of gtk_window_new
6655 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6657 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6658 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6659 (hildon_pannable_area_set_property),
6660 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6661 (hildon_pannable_area_unrealize),
6662 (hildon_pannable_area_size_request),
6663 (hildon_pannable_area_size_allocate),
6664 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6665 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6666 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6667 (hildon_pannable_area_initial_effect),
6668 (hildon_pannable_area_redraw),
6669 (hildon_pannable_area_scroll_indicator_fade),
6670 (hildon_pannable_area_expose_event),
6671 (hildon_pannable_area_get_topmost), (synth_crossing),
6672 (hildon_pannable_area_button_press_cb),
6673 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6674 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6675 (hildon_pannable_area_motion_notify_cb),
6676 (hildon_pannable_area_button_release_cb),
6677 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6678 (hildon_pannable_area_remove),
6679 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6680 chage the code layout to a more GtkWidget like. Review the use of
6683 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6685 * examples/hildon-pannable-area-example-4.c,
6686 (main): Modified the name of the hindicator_mode to
6689 * src/hildon-pannable-area.c,
6690 (hildon_pannable_area_class_init),
6691 (hildon_pannable_area_motion_notify_cb),
6692 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6693 we have reduced the amount of signals and managed reviewed its
6694 rationale. Changed the default decelerate value.
6696 (hildon_pannable_area_add),
6697 (hildon_pannable_area_redraw): Refactored functions.
6699 (hildon_pannable_area_init),
6700 (hildon_pannable_area_get_property),
6701 (hildon_pannable_area_set_property):
6702 (hildon_pannable_draw_vscroll),
6703 (hildon_pannable_draw_hscroll),
6704 (hildon_pannable_area_initial_effect),
6705 (hildon_pannable_area_expose_event),
6706 (hildon_pannable_area_scroll),
6707 (hildon_pannable_area_button_press_cb),
6708 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6709 and vindicator_mode with hscrollbar_policy and
6710 vscrollbar_policy. Replaced hscroll and vscroll with
6711 hscroll_visible and vscroll_visible.
6713 (hildon_pannable_area_refresh): Refactor the function, remove
6714 variables and check the calls to this function, added resize
6715 conditions in case the children change their layout.
6717 (hildon_pannable_area_size_request): Added more detailed
6718 size_request calculation.
6721 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6723 * src/hildon-color-chooser.c
6724 (init_borders): use the correct gtk_border_free instead of g_free, to
6725 avoid a crash when this widget is used (ie: the three color selection
6728 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6730 * src/hildon-check-button.c,
6731 (hildon_check_button_set_active): Fixed problem when setting the
6732 active value, the widget was not redrawn.
6734 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6736 * src/hildon-pannable-area.c,
6737 (hildon_pannable_area_refresh),
6738 (hildon_pannable_area_scroll),
6739 (hildon_pannable_area_motion_notify_cb): Small code style change.
6741 (hildon_pannable_area_class_init): Default initial_hint set to
6742 FALSE, it is not in the specs.
6744 (hildon_pannable_area_initial_effect),
6745 (hildon_pannable_area_expose_event),
6746 (hildon_pannable_area_map),
6747 (hildon_pannable_area_init): Moved the launching point of the
6748 initial effect, it was in map but the sizes where not correct in
6749 that method so we do not know if we have the reproduce it. Now it
6750 is placed in the expose_event method and uses a variable to
6751 reproduce it just once.
6753 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6755 * src/hildon-pannable-area.c,
6756 (hildon_pannable_draw_vscroll),
6757 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6758 position allowed for the scrollbars.
6760 (hildon_pannable_area_size_allocate): Small style change.
6762 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6764 * src/hildon-pannable-area.c,
6765 (hildon_pannable_area_scroll_indicator_fade),
6766 (hildon_pannable_area_button_press_cb),
6767 (hildon_pannable_area_button_release_cb),
6768 (hildon_pannable_area_scroll_cb),
6769 (hildon_pannable_area_expose_event),
6770 (hildon_pannable_area_init): Added the define parameter
6771 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6772 and refactor the fade variable.
6774 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6776 * src/hildon-pannable-area.c,
6777 (hildon_pannable_area_redraw),
6778 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6779 lines, we were reimplemeting the redraw code.
6781 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6783 * src/hildon-pannable-area.c,
6784 (hildon_pannable_area_scroll_cb),
6785 (hildon_pannable_area_realize),
6786 (hildon_pannable_area_class_init): Added scroll_event management
6787 for pannable area, now we can scroll the usual desktop method.
6789 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6790 initialization of the parameters should depend on idle_id.
6792 (hildon_pannable_area_init),
6793 (hildon_pannable_area_map): Small code style modifications
6795 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6797 * src/hildon-pannable-area.c
6798 (hildon_pannable_area_button_press_cb),
6799 (hildon_pannable_area_motion_notify_cb),
6800 (hildon_pannable_area_button_release_cb),
6801 (hildon_pannable_area_size_allocate),
6802 (hildon_pannable_area_scroll_to): Improved the timeouts
6803 management, we avoid creating them each time.
6805 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6807 * src/hildon-pannable-area.c:
6808 (hildon_pannable_area_refresh),
6809 (hildon_pannable_area_motion_notify_cb),
6810 (hildon_pannable_area_class_init):
6811 * src/hildon-pannable-area.h:
6812 * src/hildon-touch-selector.c
6813 (_create_new_column):
6814 * examples/hildon-pannable-area-example-4.c:
6815 (horizontal_movement),
6816 (vertical_movement),
6818 Replaced the names of enums in the HildonPannableArea:
6819 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6820 HILDON_MOVEMENT_MODE_*
6821 - HILDON_PANNABLE_AREA_MOV_* ->
6823 - Removed HildonPannableAreaIndicatorMode, now we
6826 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6828 * examples/hildon-pannable-area-touch-grid-example.c
6829 * examples/hildon-pannable-area-touch-list-example.c: Fix
6830 compilation warnings.
6832 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6834 * src/hildon-gtk.c (hildon_gtk_button_new)
6835 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6836 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6837 images overriding the value of the "gtk-button-images" setting.
6839 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6841 * src/hildon-check-button.c (hildon_check_button_new):
6842 Instead of using a custom container, display the label and the
6843 checkbox using the standard GtkButton API.
6845 * examples/hildon-check-button-example.c (main): Don't use
6846 hildon_check_button_set_label() anymore
6848 * src/hildon-check-button.h
6849 * src/hildon-check-button.c
6850 (hildon_check_button_set_label, hildon_check_button_get_label):
6851 Set as deprecated, now we're using gtk_button_{get,set}_label()
6853 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6855 * src/hildon-pannable-area.c,
6856 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6857 GtkTreeview first line we detected it after the inclusion of the
6858 GtkWindowImpl in gtk+. We now check if the window is visible, not
6859 just if the pointer is over the window.
6860 (hildon_pannable_axis_scroll),
6861 (hildon_pannable_area_expose_event): Small style changes.
6863 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6865 * src/hildon-button.c: Update documentation.
6867 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6869 * examples/hildon-button-example.c: Add a switch to show images in
6872 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6874 * doc/hildon-docs.sgml: Some docs reorganization.
6876 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6878 * examples/hildon-pannable-area-touch-list-example.c
6880 * examples/hildon-pannable-area-touch-grid-example.c
6881 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6882 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6883 Fix memory leak when setting the tree model.
6885 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6889 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6891 * doc/hildon.types: Remove duplicated hildon_window_get_type
6892 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6893 documentation comment.
6895 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6897 * doc/Makefile.am: Complete list of private headers.
6899 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6901 * doc/hildon-docs.sgml
6902 * src/hildon-app-menu.c
6903 * src/hildon-bread-crumb.c
6904 * src/hildon-button.c
6906 * src/hildon-program.c
6907 * src/hildon-stackable-window.c
6908 * src/hildon-window.c: Lots of documentation updates.
6910 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6912 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6914 * configure.ac: Require Gtk+ 2.12.9 at least
6916 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6918 * src/hildon-pannable-area.c
6919 (hildon_pannable_area_scroll_indicator_fade),
6920 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6921 to protect the return of this timeout callbacks, avoiding deadlocks.
6923 2008-08-12 Christian Dywan <christian@imendio.com>
6926 * src/hildon-*.h: Ensure a consistent include order,
6927 include <gtk/gtk.h> instead of particular files and
6928 only include the topmost header in the gtk stack. See NB #39857
6930 2008-08-12 Christian Dywan <christian@imendio.com>
6932 * src/hildon-picker-dialog.c
6933 * src/hildon-touch-selector.c: Fix warnings about unused and
6934 uninitialized variables.
6936 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6938 * examples/Makefile.am
6939 * examples/hildon-check-button-example.c: Example of the hildon
6942 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6944 * src/hildon-window.h
6945 * src/hildon-window.c (hildon_window_class_init)
6946 (hildon_window_unset_program): Don't make
6947 hildon_window_unset_program a virtual function anymore.
6949 * src/hildon-stackable-window.c: Update documentation
6951 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6954 * doc/hildon-docs.sgml
6955 * doc/visual_index.xml
6956 * src/hildon-defines.c
6958 * src/hildon-helper.c
6959 * src/hildon-range-editor.c: Lots of documentation fixes.
6961 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6963 * examples/hildon-picker-button-multicolumn-example.c
6964 (create_touch_selector): Fix compilation warning.
6966 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6968 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6969 (hildon_pannable_area_button_release_cb)
6970 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6972 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6974 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6977 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6979 * src/hildon-bread-crumb-trail.h
6980 * src/hildon-date-editor.c
6981 * src/hildon-date-selector.c
6982 * src/hildon-pannable-area.c
6983 * src/hildon-picker-dialog.c
6984 * src/hildon-time-selector.c
6985 * src/hildon-touch-selector-entry.c
6986 * src/hildon-touch-selector.c
6987 * src/hildon-touch-selector.h: Misc documentation fixes
6989 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6991 * examples/hildon-date-editor-example.c (main): Updated date
6994 * examples/hildon-note-example.c (on_confirmation_clicked):
6995 Updated confirmation note example.
6997 * src/hildon-date-editor.c
6998 * src/hildon-note.c: Updated sample programs in documentation.
7001 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7003 * src/hildon-date-button.h:
7004 * src/hildon-picker-button.h:
7005 * src/hildon-time-button.c:
7006 * src/hildon-time-button.h:
7008 Some declarations changes to allow gtk-doc to document the widgets
7011 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7013 * src/hildon-date-button.c: Document the widget.
7014 * src/hildon-time-button.c: Document the widget.
7016 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7018 * src/hildon-picker-button.c: Document the widget.
7019 * src/hildon-touch-selector-entry.c: Document the widget.
7021 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7023 * doc/hildon-docs.sgml
7026 * src/hildon-check-button.h
7027 * src/hildon-check-button.c: New functions to create the Hildon
7031 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7033 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7035 * src/hildon-button.h
7036 * src/hildon-button.c
7037 (hildon_button_add_title_size_group)
7038 (hildon_button_add_value_size_group)
7039 (hildon_button_add_image_size_group)
7040 (hildon_button_add_size_groups): New functions to set size groups
7041 for the button labels and image.
7042 (hildon_button_new_full): Removed
7044 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7046 * src/hildon-time-selector.c
7047 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7048 in order to avoid a crash if gconf is not available
7050 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7052 * src/hildon-button.c (hildon_button_set_arrangement)
7053 (hildon_button_construct_child): Don't construct the button child
7054 before setting the arrangement.
7056 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7058 * src/hildon-program-private.h
7059 * src/hildon-program.c
7060 * src/hildon-program.h
7061 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7062 (hildon_program_peek_window_stack)
7063 (hildon_program_pop_window_stack)
7064 (hildon_program_go_to_root_window): HildonProgram now has a
7065 separate list for stackable windows. Functions are provided to
7066 manage that list with a stack-like API.
7068 * src/hildon-stackable-window.c: Stackable window management is
7069 now much simpler with the new HildonProgram API. Windows no
7070 longer need to be manually added to the program, they're
7071 automatically pushed to the top of the stack when shown.
7073 * examples/hildon-stackable-window-example.c: Updated example to
7074 reflect the API changes.
7076 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7078 * src/hildon-touch-selector.c: Comment out unimplemented
7079 hildon_touch_selector_insert_column() to avoid a compile warning.
7081 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7083 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7084 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7085 (hildon_touch_selector_set_column_selection_mode),
7086 (_hildon_touch_selector_set_model),
7087 (hildon_touch_selector_set_model):
7089 Complete review of HildonTouchSelector documentation.
7091 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7093 * doc/hildon-docs.sgml
7097 * src/hildon-gtk.c: Convenience functions for standard Gtk
7098 widgets, used to easily perform frequent operations.
7100 * src/hildon-button-helpers.h
7101 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7103 * src/hildon-helper.h
7104 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7105 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7107 * src/hildon-button.h
7108 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7110 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7112 * src/hildon-button.c (hildon_button_init)
7113 (hildon_button_set_arrangement, hildon_button_construct_child):
7114 Pack the image and the labels inside the same GtkAlignment so
7115 gtk_button_set_alignment() can be used
7117 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7119 * src/hildon-button.h
7120 * src/hildon-button.c
7121 (hildon_button_init, hildon_button_set_image)
7122 (hildon_button_set_image_position)
7123 (hildon_button_construct_child): New functions to add an image to
7126 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7128 * src/hildon-date-button.c
7129 * src/hildon-picker-button.c
7130 * src/hildon-time-button.c
7131 * src/hildon-button.c:
7132 (hildon_button_class_init): "size-flags" renamed to "size"
7133 (hildon_button_set_title): Hide the title label if set to NULL.
7135 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7137 HildonButtonFlags split into HildonButtonArrangement (to set the
7138 button layout) and HildonSizeType (which can be used for any
7141 * src/hildon-button.h
7142 * src/hildon-button.c
7143 (hildon_button_class_init)
7144 (hildon_button_set_arrangement)
7145 (hildon_button_set_property): New "size-flags"
7146 property. "arrangement-flags" renamed to "arrangement".
7147 (hildon_button_new, hildon_button_new_with_text)
7148 (hildon_button_new_full): Constructors updated to reflect type changes.
7150 * src/hildon-helper.h
7151 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7152 to set the size of a widget.
7156 * src/hildon-button-helpers.c
7157 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7159 * src/hildon-date-button.c
7160 * src/hildon-date-button.h
7161 * src/hildon-picker-button.c
7162 * src/hildon-picker-button.h
7163 * src/hildon-time-button.c
7164 * src/hildon-time-button.h: Updated widgets to reflect
7165 HildonButton API changes.
7167 * examples/hildon-button-example.c
7168 * examples/hildon-date-button-example.c
7169 * examples/hildon-picker-button-example.c
7170 * examples/hildon-picker-button-multicolumn-example.c
7171 * examples/hildon-time-button-example.c
7172 * examples/hildon-touch-selector-entry-example.c
7173 * examples/hildon-touch-selector-example.c: Updated examples to
7174 reflect HildonButton API changes.
7176 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7178 * doc/hildon-docs.sgml:
7180 * examples/Makefile.am:
7181 * examples/hildon-touch-selector-entry-example.c:
7183 * src/hildon-touch-selector-entry.c:
7184 * src/hildon-touch-selector-entry.h:
7187 Moved HildonTouchSelectorEntry from sandbox. Added its
7188 documentation and examples.
7190 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7192 * src/hildon-touch-selector.h:
7193 * examples/hildon-picker-button-multicolumn-example.c:
7194 (hildon_touch_selector_append_text_column): Add a gboolean
7195 parameter to determine if text must be centered in the column.
7197 * src/hildon-date-selector.c: (hildon_date_selector_init):
7198 * src/hildon-time-selector.c: (hildon_time_selector_init):
7199 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7200 (create_touch_selector): Update widgets and example to reflect
7203 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7205 * src/hildon-touch-selector.c:
7206 (hildon_touch_selector_set_active_iter): Set also the cursor in
7209 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7211 * doc/hildon-docs.sgml
7214 * src/hildon-toggle-button.c
7215 * src/hildon-toggle-button.h
7216 * src/hildon.h: Removed HildonToggleButton widget, a derived
7217 class is not necessary for this.
7219 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7221 * src/hildon-pannable-area.c,
7222 (hildon_pannable_area_realize),
7223 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7226 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7228 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7229 "done" button the default widget for the dialog.
7231 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7233 * src/hildon-touch-selector.c:
7234 (hildon_touch_selector_class_init),
7235 (hildon_touch_selector_get_property),
7236 (_hildon_touch_selector_set_model),
7237 (_hildon_touch_selector_has_multiple_selection),
7238 (hildon_touch_selector_has_multiple_selection):
7239 Add a "has-multiple-selection" property with a virtual
7240 has_multiple_selection() method to allow derived classes to
7241 override the default value for it. See the method and property
7242 documentation for details.
7244 * src/hildon-touch-selector.h: Add the new API.
7246 * src/hildon-picker-dialog.c: (requires_done_button): Call
7247 hildon_touch_selector_has_multiple_selection() instead of
7248 determining the need for a button itself.
7250 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7252 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7253 (_hildon_touch_selector_set_model),
7254 (hildon_touch_selector_set_model): Move working code to
7255 _hildon_touch_selector_set_mode(). Call the class method instead.
7257 * src/hildon-touch-selector.h: Add (*set_model) to
7258 HildonTouchSelectorClass.
7260 Make hildon_touch_selector_set_model() a virtual method, so that
7261 derived classes can extend it and do fancy stuff with the model.
7263 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7265 * configure.ac: Set back the tarname in AC_INIT to hildon.
7267 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7271 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7272 instead of libesd (NB#86876). Volume handling is still an open issue.
7274 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7277 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7279 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7280 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7281 derived class to ease placement of an entry widget in
7282 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7283 end, where the selector columns are packed now.
7285 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7287 * src/hildon-picker-button.c: Removed the simple _text() API.
7288 * src/hildon-picker-button.h: Likewise.
7290 * src/hildon-touch-selector.h:
7291 * src/hildon-touch-selector.c:
7292 (hildon_touch_selector_new_text),
7293 (hildon_touch_selector_append_text),
7294 (hildon_touch_selector_prepend_text),
7295 (hildon_touch_selector_insert_text):
7297 Moved the simple _text() API from HildonPickerButton to
7298 HildonTouchPicker, to provide better escalability and not to tie
7299 that API to HildonPickerButton.
7301 * examples/hildon-picker-button-example.c: (main): Example updated.
7303 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7305 * src/hildon-button.c: Updated documentation.
7307 * examples/hildon-button-example.c: Add the posibility to create
7308 the buttons using horizontal layout for title and value.
7310 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7312 * src/hildon-app-menu-private.h
7313 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7314 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7315 GtkSizeGroup for the filters, use the 'homogeneous' property of
7318 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7320 * examples/hildon-button-example.c: Updated example.
7322 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7324 * doc/hildon-docs.sgml:
7327 Update documentation.
7329 * examples/Makefile.am: Update renamed examples.
7331 * examples/hildon-picker-button-multicolumn-example.c:
7332 (create_touch_selector), (main): Update after the rename.
7334 * examples/hildon-touch-picker-example.c: Removed.
7335 * examples/hildon-touch-selector-example.c: (value_changed),
7336 (create_selector), (get_visible_content), (main): Renamed from
7337 hildon-touch-picker-example.c
7339 * src/Makefile.am: Updated renamed files.
7341 * src/hildon-date-button.c: (hildon_date_button_init),
7342 (hildon_date_button_get_date), (hildon_date_button_set_date):
7343 * src/hildon-date-selector.c: (hildon_date_selector_init),
7344 (_custom_print_func), (_update_day_model),
7345 (_manage_selector_change_cb),
7346 (hildon_date_selector_select_current_date),
7347 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7348 * src/hildon-date-selector.h:
7349 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7350 (hildon_picker_button_set_property),
7351 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7352 (hildon_picker_button_init), (hildon_picker_button_new_text),
7353 (hildon_picker_button_append_text),
7354 (hildon_picker_button_prepend_text),
7355 (hildon_picker_button_insert_text),
7356 (hildon_picker_button_set_selector),
7357 (hildon_picker_button_get_selector):
7358 * src/hildon-picker-button.h:
7359 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7360 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7361 (_update_title_on_selector_changed_cb), (requires_done_button),
7362 (_hildon_picker_dialog_set_selector),
7363 (hildon_picker_dialog_set_selector),
7364 (hildon_picker_dialog_get_selector):
7365 * src/hildon-picker-dialog.h:
7366 * src/hildon-time-button.c: (hildon_time_button_init),
7367 (hildon_time_button_get_time), (hildon_time_button_set_time):
7368 * src/hildon-time-selector.c: (hildon_time_selector_init),
7369 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7370 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7371 * src/hildon-time-selector.h:
7374 Massive code updates after the rename.
7376 * src/hildon-touch-picker.c: Removed.
7377 * src/hildon-touch-picker.h: Removed.
7379 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7380 (hildon_touch_selector_init), (hildon_touch_selector_map),
7381 (hildon_touch_selector_remove), (_default_print_func),
7382 (_selection_changed_cb), (_create_new_column),
7383 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7384 (hildon_touch_selector_append_text_column),
7385 (hildon_touch_selector_remove_column),
7386 (hildon_touch_selector_set_column_attributes),
7387 (hildon_touch_selector_insert_column),
7388 (hildon_touch_selector_get_num_columns),
7389 (hildon_touch_selector_get_column_selection_mode),
7390 (hildon_touch_selector_set_column_selection_mode),
7391 (hildon_touch_selector_set_print_func),
7392 (hildon_touch_selector_get_print_func),
7393 (hildon_touch_selector_get_active_iter),
7394 (hildon_touch_selector_set_active_iter),
7395 (hildon_touch_selector_get_selected_rows),
7396 (hildon_touch_selector_get_model),
7397 (hildon_touch_selector_set_model),
7398 (hildon_touch_selector_get_current_text),
7399 (_hildon_touch_selector_center_on_selected_items):
7400 * src/hildon-touch-selector.h: Renamed from
7401 hildon-touch-picker.[ch]
7403 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7404 references, code examples, and related documentation.
7406 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7408 * doc/hildon-docs.sgml
7411 * src/hildon-toggle-button.c
7412 * src/hildon-toggle-button.h
7413 * src/hildon.h: New HildonToggleButton widget.
7415 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7417 * src/hildon-button.c: Add API documentation.
7418 (hildon_button_set_size_groups): Check input parameters
7420 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7422 * src/hildon-pannable-area.c
7423 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7424 effect after reaching the movement thredshold. This way we start
7425 using the distance after passing the thredshold.
7427 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7429 * src/hildon-button.c: (hildon_button_set_property): Use the
7430 appropriate g_value_get_flags() method.
7432 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7434 * doc/hildon-docs.sgml:
7437 Add the touch pickers, picker dialogs, and picker button widgets
7438 to the documentation.
7440 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7442 * src/hildon-button.c: (hildon_button_set_property),
7443 (hildon_button_class_init): Make "arrangement-flags" a proper
7444 G_TYPE_FLAGS derived property.
7446 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7448 * examples/Makefile.am: Add below examples.
7449 * examples/hildon-date-button-example.c:
7450 * examples/hildon-picker-button-example.c:
7451 * examples/hildon-picker-button-multicolumn-example.c:
7452 * examples/hildon-time-button-example.c:
7453 * examples/hildon-touch-picker-example.c:
7455 Add examples for the recently added touch pickers,
7456 picker dialogs, and picker button widgets.
7458 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7460 * src/hildon-button.c: Add some API documentation
7462 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7464 * src/hildon-button.h
7465 * src/hildon-button.c
7467 (hildon_button_new_with_text): New constructor to create a button
7468 with no text at all.
7469 (hildon_button_init, hildon_button_set_arrangement)
7470 (hildon_button_set_title, hildon_button_set_value)
7471 (hildon_button_set_text)
7472 (hildon_button_construct_child): Hide the value when it's not used
7473 so the rest of the text is properly aligned.
7474 Allow creating buttons with arbitrary widgets inside (not just
7475 title/value labels).
7477 * examples/hildon-button-example.c (vertical_buttons_window)
7478 (horizontal_buttons_window): Update example to use new API.
7480 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7482 * src/Makefile.am: Added HildonTimeButton.
7483 * src/hildon-time-button.c: Added missing LGPL header.
7484 * src/hildon-time-button.h: Added missing LGPL header.
7485 * src/hildon.h: Add hildon-time-button.h
7487 Copied HildonTimeButton from sandbox to trunk. Future work on this
7488 widget must take place in trunk.
7490 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7492 * src/Makefile.am: Added HildonDateButton.
7493 * src/hildon-date-button.c: Update includes.
7494 * src/hildon.h: Add hildon-date-button.h
7496 Copied HildonDateButton from sandbox to trunk. Future work on this
7497 widget must take place in trunk.
7499 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7501 * src/Makefile.am: Added HildonPickerButton.
7502 * src/hildon-picker-button.h: Update includes.
7503 * src/hildon.h: Add hildon-picker-button.h
7505 Copied HildonPickerButton from sandbox to trunk. Future work on
7506 this widget must take place in trunk.
7508 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7510 * src/Makefile.am: Added HildonPickerDialog.
7511 * src/hildon-picker-dialog.c: Update includes.
7512 * src/hildon.h: Add hildon-picker-dialog.h
7514 Copied HildonPickerDialog from sandbox to trunk. Future work
7515 on this widget must take place in trunk.
7517 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7519 * src/Makefile.am: Added HildonTimeSelector.
7520 * src/hildon.h: Add hildon-time-selector.h
7522 Copied HildonTimeSelector widget from sandbox to trunk. Future
7523 work on this widget must happen in trunk.
7525 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7527 * src/Makefile.am: Added HildonDateSelector.
7528 * src/hildon.h: Add hildon-date-selector.h
7530 Copied HildonDateSelector widget from sandbox to trunk. Future
7531 work on this widget must happen in trunk.
7533 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7535 * src/Makefile.am: Added HildonTouchPicker.
7536 * src/hildon-touch-picker.c: Update includes.
7537 * src/hildon.h: Add hildon-touch-picker.h
7539 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7540 on this widget must happen in trunk.
7542 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7544 * src/hildon-pannable-area.c:
7545 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7547 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7549 * examples/hildon-app-menu-example.c (main): Let the window
7552 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7554 * src/hildon-pannable-area.c
7555 (hildon_pannable_area_class_init): Set the min value of the
7556 overshoot properties to zero, which points out that not
7557 overshooting allowed.
7559 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7561 Modified the procedure to get the widget at a point inside the
7562 pannable area when using the movement type signals. Now the user
7563 has to call a function to get the child, that way we just
7564 calculate the child in case the user really want to use it and not
7567 * src/hildon-marshalers.list: Modified the marshallers, now we do
7568 not have the widget as a parameter.
7570 * src/hildon-pannable-area.c
7571 (hildon_pannable_area_motion_notify_cb),
7572 (hildon_pannable_area_class_init),
7573 (hildon_pannable_get_child_widget_at): Removed the widget
7574 parameter from the signal callback. We have also refactored the
7575 emission of the signals.
7577 * src/hildon-pannable-area.h: Added a new method to the API to
7578 calculate a widget at a point inside the pannable area,
7579 hildon_pannable_get_child_widget_at.
7581 * examples/hildon-pannable-area-example-4.c
7582 (horizontal_movement): Modified the example to use the new API,
7583 added condition to control which widget is under the event. This
7584 way we can avoid scrolling laterally over other widgets.
7586 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7588 * src/hildon-pannable-area.c
7589 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7590 modes, we stop getting the pointer events due to returning the
7591 callback without properly calling the get pointer again. Fixed
7592 also an error using the hscroll and vscroll.
7594 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7596 * src/hildon-app-menu-private.h
7597 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7598 (hildon_app_menu_button_release, hildon_app_menu_init)
7599 (hildon_app_menu_class_init): Don't hide the menu on button
7600 release if the user didn't press outside first.
7602 * src/hildon-window.h
7603 * src/hildon-window.c (hildon_window_toggle_menu)
7604 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7605 hildon_window_toggle_menu a virtual function for the stackable
7606 window to override it.
7608 * src/hildon-stackable-window.h
7609 * src/hildon-stackable-window-private.h
7610 * src/hildon-stackable-window.c
7611 (hildon_stackable_window_realize)
7612 (hildon_stackable_window_finalize)
7613 (hildon_stackable_window_class_init)
7614 (hildon_stackable_window_init)
7615 (hildon_stackable_window_set_main_menu): New function to set the
7616 app menu of a HildonStackableWindow.
7618 * examples/hildon-app-menu-example.c: Remove the button to show
7619 the app menu, now it'll be shown when clicking on the title bar
7622 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7624 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7625 set the widget name if the arrangement flags do not specify
7628 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7630 * src/hildon-button.c: (hildon_button_set_property),
7631 (hildon_button_class_init), (hildon_button_new_full),
7632 (hildon_button_set_arrangement): Added "arrangement-flags"
7635 Make the HildonButtonFlags a construction-only property, to allow
7636 subclasses to set them properly.
7638 2008-07-21 Tim Janik <timj@imendio.com>
7640 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7641 insertion position after backspace, so additional digits are appended,
7644 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7646 * src/hildon-pannable-area.c,
7647 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7648 TODO list, it was complete and removed the g_debug and g_print
7651 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7653 Added the movement modes to the hildon-pannable-area, with this
7654 modes the developers can control in which directions the widget
7655 can scroll. They can also connect to signals in order to do
7656 something when that happens, allowing applications scroll. There
7657 is an example uploaded showing how to use it.
7659 * examples/Makefile.am:
7660 * examples/hildon-pannable-area-example-4.c: Added this example of
7661 an application using the modes.
7663 * src/hildon-marshalers.list: Added a new marshaller for the new
7666 * src/hildon-pannable-area.h: Added new enumerations and flags in
7667 order to control the movement modes and the new signals to warn
7668 about the movements in the area.
7670 * src/hildon-pannable-area.c:
7671 (hildon_pannable_axis_scroll),
7672 (hildon_pannable_area_scroll),
7673 (hildon_pannable_area_motion_notify_cb),
7674 (hildon_pannable_area_get_property),
7675 (hildon_pannable_area_set_property),
7676 (hildon_pannable_area_map),
7677 (hildon_pannable_area_class_init),
7678 (hildon_pannable_area_init),
7679 (hildon_pannable_area_jump_to): Added the modes to control the
7680 movement in the widget. We have added properties to control it,
7681 signals to warn about the movements and refactored some code.
7683 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7685 Changes required in order to allow vfast_factor set to zero to
7688 * src/hildon-pannable-area.c:
7689 (hildon_pannable_area_button_press_cb): Changed the condition, it
7690 is required for not allowing click when vfast_factor is zero.
7691 (hildon_pannable_area_timeout): Initialized velocity variables
7692 when we stop moving, it was less than 1 but not zero and we need
7693 to check zero in some situations.
7694 (hildon_pannable_area_class_init): Changed the default value of
7695 the speed factor, now the button_press is just sent in case the
7696 speed is 2 per cent of the max speed.
7697 (hildon_pannable_area_init): Initialization with 0.
7699 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7701 * src/hildon-pannable-area.c,
7702 (hildon_pannable_area_get_topmost): replaced
7703 gdk_window_get_children with gdk_window_peek_children, this way we
7704 do not have to free the list because it is not a copy.
7706 (hildon_pannable_axis_scroll),
7707 (hildon_pannable_area_scroll),
7708 (hildon_pannable_area_timeout),
7709 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7710 two parameters that were only used inside the
7711 hildon_pannable_area_scroll function.
7713 * examples/hildon-pannable-area-example.c,
7714 (get_sawtooth_label): Fixed small memory leak.
7716 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7718 More checks for the case where the overshoot is bigger than the
7721 * src/hildon-pannable-area.c:
7722 (hildon_pannable_draw_vscroll),
7723 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7724 to draw the slider of the scrollbar under the other scrollbar.
7725 (hildon_pannable_area_expose_event): added new checks to control
7726 the drawing of the overshooting area rectangle, in case it is too
7727 big for the area of the widget.
7728 (hildon_pannable_area_size_allocate): add more checks to avoid
7729 setting a position to the child widget outside the area.
7731 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7733 * src/hildon-pannable-area.c
7734 (hildon_pannable_area_size_allocate): Added conditions to control
7735 when overshooting is bigger than the allocated space for the
7736 children, this avoids negative allocations.
7738 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7740 * doc/hildon-docs.sgml
7742 * examples/Makefile.am
7743 * examples/hildon-button-example.c
7745 * src/hildon-button.c
7746 * src/hildon-button.h
7747 * src/hildon.h: Initial version of the new HildonButton widget,
7750 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7752 * src/hildon-pannable-area.c:
7753 (hildon_pannable_area_button_press_cb),
7754 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7755 (hildon_pannable_area_motion_notify_cb),
7756 (hildon_pannable_area_button_release_cb),
7757 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7758 (hildon_pannable_area_jump_to_child):
7760 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7762 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7764 * examples/Makefile.am
7765 * examples/hildon-pannable-area-touch-grid-example.c
7766 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7767 the Hildon Touch List and Hildon Touch Grid using the
7768 HildonPannableArea widget.
7770 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7772 * src/hildon-pannable-area.c,
7773 (hildon_pannable_area_button_press_cb),
7774 (hildon_pannable_area_refresh),
7775 (hildon_pannable_area_scroll),
7776 (hildon_pannable_area_motion_notify_cb),
7777 (hildon_pannable_area_button_release_cb),
7778 (hildon_pannable_area_expose_event),
7779 (hildon_pannable_area_add),
7780 (hildon_pannable_area_remove),
7781 (hildon_pannable_area_realize),
7782 (hildon_pannable_area_size_allocate),
7783 (hildon_pannable_area_class_init),
7784 (hildon_pannable_area_init),
7785 (hildon_pannable_area_scroll_to_child),
7786 (hildon_pannable_area_jump_to_child): Fixed the problem of
7787 removing the child from the GtkBin, we have rearranged the widget
7788 hierarchy, now there is no GtkAlignment which was not doing
7789 anything interesting but breaking some of the assumptions of
7790 GtkContainer. Now developers if they want to add a GtkAlignment
7791 they could, but it is not inside the area.
7793 We had to review the whole allocation/expose process, now it is
7794 improved and we save at least three signals which would be saving
7795 some time when rendering the widget. The allocation of the
7796 scrollbars is now made in the allocate method as usual.
7798 We have also added some conditions in order to control when there
7799 is no child of the pannable area. Maybe we will need more work
7802 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7804 * src/hildon-pannable-area.c,
7805 (hildon_pannable_area_dispose): Released the fade-out timeout when
7806 disposing the widget.
7808 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7810 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7811 zero, we are going to use that property in order to deactivate the
7813 (hildon_pannable_axis_scroll),
7814 (hildon_pannable_area_size_allocate): Added conditions to control
7815 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7816 call, now it is called in all situations and we can remove calls
7817 in the allocate method.
7818 (hildon_pannable_area_map): Control the situation when
7819 overshoot_max is zero, we do not need the timeout.
7820 (hildon_pannable_area_class_init): Added documentation in order to
7821 point out that setting zero to overshoot_max means deactivate
7824 NOTE: removed trailing whitespaces from my previous comments of
7827 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7829 * src/hildon-pannable-area.c
7830 (hildon_pannable_area_get_property),
7831 (hildon_pannable_area_set_property),
7832 (hildon_pannable_area_map),
7833 (hildon_pannable_area_class_init),
7834 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7835 to cause the widget give a hint about its panning abilities upon
7838 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7840 * src/hildon-pannable-area.c: Several documentation improvements.
7842 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7844 * src/hildon-program.c
7845 * src/hildon-stackable-window.c: Update documentation.
7847 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7849 * src/hildon-stackable-window.c (get_previous_window_if_last):
7850 Renamed get_last_window()
7851 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7852 (hildon_stackable_window_unset_program):
7854 (get_previous_window_if_last):
7855 Detect if the window hasn't been added to a HildonProgram.
7857 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7859 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7861 * src/hildon-pannable-area.c
7862 (hildon_pannable_area_button_press_cb),
7863 (hildon_pannable_axis_scroll),
7864 (hildon_pannable_area_scroll),
7865 (hildon_pannable_area_timeout),
7866 (hildon_pannable_calculate_vel_factor),
7867 (hildon_pannable_area_get_property),
7868 (hildon_pannable_area_set_property),
7869 (hildon_pannable_area_class_init),
7870 (hildon_pannable_area_init),
7871 (hildon_pannable_area_scroll_to),
7872 (hildon_pannable_area_jump_to),
7873 (hildon_pannable_area_scroll_to_child),
7874 (hildon_pannable_area_jump_to_child):
7875 * src/hildon-pannable-area.h: Added the new API functions:
7876 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7877 hildon_pannable_area_scroll_to_child,
7878 hildon_pannable_area_jump_to_child
7881 * examples/Makefile.am
7882 * examples/hildon-pannable-area-example-2.c
7883 * examples/hildon-pannable-area-example-3.c: Added these two new
7884 examples in order to test and show how the new APIs work.
7886 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7888 * examples/hildon-stackable-window-example.c (new_window):
7889 * src/Makefile.am (noinst_HEADERS):
7890 * src/hildon-program.c (hildon_program_go_to_root_window):
7891 * src/hildon-program.h:
7892 * src/hildon-stackable-window-private.h:
7893 * src/hildon-stackable-window.c:
7894 * src/hildon-stackable-window.h:
7895 Create hildon-stackable-window-private.h
7896 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7898 * examples/hildon-app-menu-example.c (create_menu):
7899 * examples/hildon-hvolumebar-insensitive-example.c (main):
7900 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7901 * examples/hildon-toolbar-seekbar-example.c (main):
7902 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7903 * src/hildon-banner.c (hildon_banner_set_property):
7904 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7905 Fix compilation warnings
7907 * src/hildon-window.c:
7910 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7912 * src/hildon-stackable-window.c
7913 (hildon_stackable_window_unset_program):
7914 Calculate correctly whether to show the previous window if the
7915 last one is removed from the stack.
7916 (hildon_stackable_window_go_to_root_window):
7917 Send delete events starting from the topmost window.
7918 Stop if one of the windows is not destroyed.
7920 (hildon_stackable_window_delete_event)
7921 (hildon_stackable_window_class_init):
7922 Ignore the delete event if the window is not the topmost one.
7924 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7926 * src/hildon-pannable-area.c
7927 (hildon_pannable_area_expose_event): Fixed a problem when
7928 selecting the background color of the scrollbars.
7930 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7932 * examples/hildon-stackable-window-example.c
7933 * src/hildon-stackable-window.c
7934 * src/hildon-stackable-window.h
7935 hildon_stackable_window_go_home() renamed to
7936 hildon_stackable_window_go_to_root_window()
7937 Send delete events to windows rather than closing them with
7938 gtk_widget_destroy()
7940 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7942 * src/hildon-pannable-area.c
7943 (hildon_pannable_area_button_release_cb): Fix overshooting in
7946 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7948 * src/hildon-pannable-area.c
7949 (hildon_pannable_area_init): Initially show the scroll indicators.
7950 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7952 Add initial effect showing the widget is pannable.
7954 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7956 * src/hildon-pannable-area.c
7957 (hildon_pannable_area_class_init)
7958 (hildon_pannable_area_set_property)
7959 (hildon_pannable_area_get_property)
7960 (hildon_pannable_area_button_press_cb):
7961 New 'velocity_fast_factor' property to decide which velocity is
7964 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7966 * src/hildon-pannable-area.c
7967 (hildon_pannable_draw_hscroll)
7968 (hildon_pannable_draw_vscroll):
7969 Use float variables to calculate the size of the scrollbars to
7970 avoid error propagation and resizing during scrolling.
7972 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7974 * src/hildon-pannable-area.c
7975 (hildon_pannable_draw_vscroll)
7976 (hildon_pannable_draw_hscroll):
7977 Define a minimum size for the scroll bars
7979 * src/hildon-stackable-window.c
7980 (hildon_stackable_window_go_home): Fix compilation warning
7981 (get_last_window): Minor optimizations
7982 (hildon_stackable_window_class_init): Fix initialization of
7985 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7987 * src/hildon-stackable-window.c: Fixed typos in doc
7989 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7991 * src/hildon-pannable-area.c
7992 (hildon_pannable_area_scroll):
7993 Calculate here whether we need to scroll instead of using the booleans
7994 that tell us whether to /draw/ the scrolling bars.
7996 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
7998 * src/hildon-app-menu.h
8000 * src/hildon-app-menu.c
8001 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8002 multiple filter groups related code and API. Now we support only
8004 * examples/hildon-app-menu-example.c:
8006 Update to reflect API changes.
8008 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8010 * src/hildon-stackable-window.c
8011 (hildon_stackable_window_class_init):
8012 Add hildon_stackable_window_realize.
8013 (hildon_stackable_window_realize):
8014 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8015 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8016 to apply theming and behavior specific to HildonStackableWindow
8019 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8021 * src/hildon-note.c (hildon_note_button_release):
8022 Close information notes also when tapping on them
8024 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8026 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8027 ELASTICITY, refactor and review, fix some issues with drawing
8030 * src/hildon-pannable-area.c:
8031 (hildon_pannable_area_button_press_cb): removed the conditions to
8032 avoid clicks when overshooting. It is not required
8034 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8035 define. Refatored and reviewed the code, now we do not need to
8036 manage velocity in motion_notify.
8038 (hildon_pannable_area_motion_notify_cb): We have moved the code
8039 that controls the area_scroll to the axis_scroll function and get
8040 rid of duplicated code.
8042 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8044 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8046 (hildon_pannable_draw_vscroll),
8047 (hildon_pannable_draw_hscroll): Fixed the problems with the
8048 scrollbar drawing, now we do not use two surfaces, it is easier
8049 and saves resources.
8051 (hildon_pannable_area_get_property): Style modification.
8053 (hildon_pannable_area_class_init): Changed some default values.
8055 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8057 * src/hildon-stackable-window.c: Fix some typos in the
8060 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8062 * src/hildon-dialog.c:
8063 Change indentation style
8066 (hildon_note_button_release):
8067 Use root coordinates to check if the release event happened
8070 * src/hildon-app-menu.c
8071 (hildon_app_menu_button_release):
8072 Remove unnecessary check
8074 * examples/hildon-app-menu-example.c
8076 Add cast to fix warning
8078 * src/hildon-app-menu.c
8079 (hildon_app_menu_class_init):
8080 New inner-border style property.
8081 Set all default spacings to 16
8082 (hildon_app_menu_init):
8083 Use vertical-spacing to set the space between filter buttons and
8084 regular menu buttons.
8085 Set the default container border using the inner-border value.
8087 * examples/hildon-app-menu-example.c
8089 Don't set the menu border explicitly, now we have the inner-border
8090 style property for that.
8092 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8094 * src/hildon-app-menu.c (hildon_app_menu_init):
8095 Make the window modal
8097 * src/hildon-note.c (hildon_note_map)
8098 * src/hildon-app-menu.c (hildon_app_menu_map):
8099 Destroy the grab window if we're unable to grab the pointer
8101 * src/hildon-app-menu-private.h
8102 * src/hildon-app-menu.c
8103 (hildon_app_menu_init, hildon_app_menu_finalize)
8104 (hildon_app_menu_map, hildon_app_menu_unmap)
8105 (hildon_app_menu_button_release)
8106 (grab_transfer_window_get):
8107 Bring back the grab window
8108 (hildon_app_menu_realize):
8109 Decorate the window, set WM hint for Matchbox
8111 * src/hildon-note.c (hildon_note_realize):
8112 * src/hildon-banner.c (hildon_banner_realize):
8113 Add WM hints for Matchbox
8115 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8117 * src/hildon-app-menu-private.h
8118 * src/hildon-app-menu.c
8119 (hildon_app_menu_init, hildon_app_menu_finalize)
8120 (hildon_app_menu_map, hildon_app_menu_unmap)
8121 (hildon_app_menu_button_release):
8122 Remove the grab window, it's not needed anymore
8124 * src/hildon-program.c
8125 Fixed typo in documentation
8127 * src/hildon-app-menu.h
8128 * src/hildon-app-menu.c
8129 * examples/hildon-app-menu-example.c
8130 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8132 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8135 Added new transfer_window and close_if_pressed_outside private
8137 (hildon_note_rebuild):
8138 Don't add a cancel button to the information note. It will be
8139 closed when tapping outside
8140 Remove the comment about the OK button in the documentation
8141 (hildon_note_realize):
8142 Set the notification type hint
8143 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8144 Grab/ungrab pointer and keyboard if the note has to be closed when
8146 (hildon_note_button_release):
8147 Close the note when tapping outside (if applicable)
8149 * src/hildon-app-menu.c
8150 Grab/ungrab pointer and keyboard on map/unmap
8151 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8152 Close the menu on button release, not button press
8154 * src/hildon-banner.c
8155 (hildon_banner_set_property)
8156 (hildon_banner_check_position):
8157 Make the banner use the full width of the screen
8158 (hildon_banner_show_information)
8159 (hildon_banner_show_information_with_markup):
8160 Don't display an icon by default
8162 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8164 Added fading scrollbars and adapted all the overshooting code to
8165 horizontal scrolling. We have also fixed bugs with overshooting
8166 and current fading implementation.
8168 * src/hildon-pannable-area.c
8169 (hildon_pannable_area_scroll_indicator_fade): Time out function
8170 used to change the transparency of the scrollbars.
8172 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8173 control and fixed a problem with fading, we now remove the fade
8174 timeout before adding a new one.
8176 (hildon_pannable_axis_scroll):
8177 (hildon_pannable_area_scroll):
8178 (hildon_pannable_area_timeout): Added this functions so we can use
8179 the scroll code both for vertical and horizontal.
8181 (hildon_pannable_area_motion_notify_cb):
8182 (hildon_pannable_area_button_release_cb): Added the horizontal
8183 scrolling control, fixed a problem with the overshooting timeout.
8185 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8186 painting of the scrolls.
8188 (hildon_pannable_draw_vscroll):
8189 (hildon_pannable_draw_hscroll):
8190 (hildon_pannable_area_expose_event):
8191 Draw both scrollbars and rectangles in the overshooting area.
8193 (hildon_pannable_area_get_property):
8194 (hildon_pannable_area_set_property):
8195 Modified the overshoot property to overshoot_max
8197 (hildon_pannable_area_map):
8198 Replaced the comments symbols.
8200 (hildon_pannable_area_size_allocate):
8201 (hildon_pannable_area_class_init):
8202 (hildon_pannable_area_init): Added horizontal scroll, fading
8203 effect properties, fixed a problem when overshooting in the bottom
8206 * examples/hildon-pannable-area-example.c:
8207 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8208 looks better in the example.
8210 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8212 * src/hildon-window.c
8213 * src/hildon-window.h
8214 (hildon_window_class_init)
8215 (hildon_window_unset_program)
8216 (hildon_window_unset_program_real):
8217 Make unset_program a virtual function
8219 * src/hildon-stackable-window.c
8220 * src/hildon-stackable-window.h
8221 Added hildon_stackable_window_go_home()
8223 * examples/Makefile.am
8224 * examples/hildon-stackable-window-example.c
8225 HildonStackableWindow example
8227 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8229 * hildon-pannable-area.c: Added the overshoot property and removed
8230 the OVERSHOOT define. Fixed an indent style error.
8231 (hildon_pannable_area_motion_notify_cb):
8232 (hildon_pannable_area_get_property):
8233 (hildon_pannable_area_set_property): Add overshoot property.
8235 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8238 (hildon_pannable_area_class_init): Installed the new property.
8240 * hildon-pannable-area-example.c: Added a sawtooth function, this
8241 way it is easier to check the movement in the pannable.
8242 (get_sawtooth_label): Added this function.
8243 (main): Now we get the labels from the new get_sawtooth_label
8246 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8248 * src/hildon-app-menu.h
8249 * src/hildon-app-menu.c
8250 Renamed API variables for consistency
8252 (hildon_app_menu_popup): Use also the default window size to
8253 decide where to place the menu
8255 (hildon_app_menu_init, hildon_app_menu_class_init): New
8256 external-border style property
8258 2008-05-26 Michael Natterer <mitch@imendio.com>
8260 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8261 widget_class->tap_and_hold_setup signal slot doesn't exist any
8262 longer, stop overriding it.
8264 (hildon_time_editor_init): g_signal_connect() to the
8265 tap-and-hold-setup signal instead.
8267 (hildon_time_editor_entry_keypress): add cast to fix warning.
8269 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8271 * doc/hildon-docs.sgml
8273 * examples/Makefile.am
8274 * examples/hildon-app-menu-example.c
8276 * src/hildon-app-menu-private.h
8277 * src/hildon-app-menu.c
8278 * src/hildon-app-menu.h
8280 New HildonAppMenu widget
8282 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8284 Rearranged the inheritance of the pannable area, now it inherits
8285 from GtkBin. This will allow us to control the event_window and
8286 the allocation process of the widget, required for some effects.
8288 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8289 GtkBin structures. * src/hildon-pannable-area.c: Added the
8290 event_window variable.
8291 (hildon_pannable_area_button_press_cb):
8292 (hildon_pannable_area_button_release_cb):
8293 (hildon_pannable_area_motion_notify_cb):
8294 Changed the signature of the method, now we override the event
8295 callback instead of connecting to the signal.
8297 (hildon_pannable_area_realize):
8298 (hildon_pannable_area_unrealize):
8299 (hildon_pannable_area_map):
8300 (hildon_pannable_area_unmap):
8301 (hildon_pannable_area_size_allocate):
8302 Added functions to control the widget construction. We add a
8303 INPUT_ONLY window and we put it over the widgets inside the
8304 container, this event_window handles the events.
8306 (hildon_pannable_area_class_init):
8307 Replaced the signal connections with overrides of the event
8310 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8312 Bouncing effect added when touching the borders, you can change
8313 the elasticity of the border changing the ELASTICITY define.
8315 * src/hildon-pannable-area.c: Added ELASTICITY define.
8316 (hildon_pannable_area_timeout): Added inverse velocity when
8317 touching the border of the child widget, that causes a bounce.
8319 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8321 Improved performance, we now do not go to the X server in order to
8322 get the list of window children. Apparently the effect is the
8323 same, we have to be careful and check if this breaks something in
8326 * src/hildon-pannable-area.c:
8327 (get_ordered_children): Removed this function.
8328 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8329 the children windows function with gdk_window_get_children.
8331 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8333 * src/hildon-pannable-area.c:
8334 (hildon_pannable_area_dispose): Fixed a crash when closing the
8335 window and kinetics is activated.
8337 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8339 * src/hildon-pannable-area.h
8340 * src/hildon-pannable-area.c
8341 Changed indentation style to meet the one used in Hildon
8343 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8345 Reviewed the interaction of the AUTO mode, now we use the time
8346 attribute of the events and calculate the velocity in the motion,
8347 doing a gimp like calculation. The velocity is calculated in each
8348 motion event using the last velocity and the current one, the
8349 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8351 * src/hildon-pannable-area.c: Replaced the time based algorithm
8353 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8354 timeout for the AUTO mode when we are still moving the cursor. We
8355 added also the velocity calculation in this function.
8356 (hildon_pannable_area_button_release_cb): launch the timeout in
8357 case we are in AUTO mode. There are still some constants here that
8358 come from the old implementation that should be reviewed and
8361 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8363 * doc/hildon-docs.sgml
8366 * src/hildon-stackable-window.c
8367 * src/hildon-stackable-window.h
8369 New HildonStackableWindow widget
8371 * examples/hildon-dialog-example.c
8372 * examples/hildon-pannable-area-example.c
8375 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8377 * src/hildon-dialog.c
8378 (hildon_dialog_new_with_buttons): New constructor.
8380 * examples/hildon-dialog-example.c
8381 (main): Update the example to use the new
8382 hildon_dialog_new_with_buttons().
8384 * examples/hildon-pannable-area-example.c
8385 (main): Update example.
8387 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8389 * doc/hildon-docs.sgml
8391 Added HildonPannableArea to the documentation.
8393 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8395 * doc/visual_index.xml
8396 Fix reference to HildonLoginDialog in documentation
8398 * doc/hildon-docs.sgml
8400 * examples/Makefile.am
8401 * examples/hildon-dialog-example.c
8403 * src/hildon-dialog.c
8404 * src/hildon-dialog.h
8406 New HildonDialog widget.
8408 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8410 * src/hildon-pannable-area.c
8411 Merge latest changes (r4318, r4342) from libmokoui trunk
8413 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8415 * examples/Makefile.am
8416 * examples/hildon-pannable-area-example.c
8418 * src/hildon-pannable-area.c
8419 * src/hildon-pannable-area.h
8421 New HildonPannableArea widget.
8423 2008-04-15 18:05:19 <timj@imendio.com>
8425 * src/hildon-banner.c: revert the recent change, that introduced
8426 gtk_window_present() calls. this reopens:
8427 Bug 78481 - [freetest] information banners are hidden under browser menu
8428 But resolves another variant of:
8429 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8431 2008-04-15 13:21:13 <timj@imendio.com>
8433 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8434 recreated its layout, spotted by Kris. this fixes all remaining
8435 artefacts and stability issues with the banner code. in particular:
8436 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8438 2008-04-14 16:52:59 <timj@imendio.com>
8440 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8441 operating on unrealized widgets, fixes:
8442 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8444 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8446 2008-04-09 Kristian Rietveld <kris@imendio.com>
8448 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8449 makes banner disappear.
8450 Fixes: NB#79182: info banner flickering with certain message lengts.
8452 * src/hildon-banner.c (hildon_banner_constructor),
8453 (hildon_banner_init), (hildon_banner_set_text),
8454 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8455 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8456 FALSE, reset size requests of label and banner,
8457 (force_to_wrap_truncated): when the text is too wide, always enforce
8458 the maximum possible width instead of recalculating it from the
8459 layout; enforce the maximum banner height of 3 lines,
8460 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8461 nicer wrapping and no truncated chars if space gets tight.
8463 * src/hildon-banner-private.h: add has_been_wrapped and
8464 has_been_truncated fields.
8466 2008-04-07 Sven Herzberg <sven@imendio.com>
8468 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8469 local values in hildon_date_editor_size_allocate
8471 * src/hildon-date-editor.c: moved the real allocation code into the
8474 2008-04-07 Sven Herzberg <sven@imendio.com>
8476 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8477 local values in hildon_date_editor_size_allocate
8479 * src/hildon-date-editor.c: merged the two if() branches together
8481 2008-04-07 Sven Herzberg <sven@imendio.com>
8483 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8484 local values in hildon_date_editor_size_allocate
8486 * src/hildon-date-editor.c: changed the arguments of the if()
8489 2008-04-07 Sven Herzberg <sven@imendio.com>
8491 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8492 local values in hildon_date_editor_size_allocate
8494 * src/hildon-date-editor.c: split the calculation of the allocation
8495 from the real allocation
8497 2008-03-27 Michael Natterer <mitch@imendio.com>
8499 Fixes: NB#81696: The passcode is not overwritten even after
8502 * src/hildon-code-dialog.c
8503 (hildon_code_dialog_button_clicked)
8504 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8505 because that doesn't overwrite selected text. Instead, emit the
8506 "commit" signal on the entry's im_context so the entry's normal
8507 insert logic is triggered. Set the cursor to the end of the entry
8508 after each insert operation so that we *only* insert in the middle
8509 of the text if something was selected.
8511 2008-03-27 Michael Natterer <mitch@imendio.com>
8513 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8514 selector cannot be opened
8516 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8517 when the popup color selector is created. Please connect to this
8518 signal in order to set the dialog's help ID.
8520 2008-03-25 Sven Herzberg <sven@imendio.com>
8522 Fixes: MB#1212: Hide info banners (infoprints) on click
8524 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8525 extracted the close event simulation into an extra function
8526 (hildon_banner_button_press_event): simulate a close event and destroy
8527 the widget if the event wasn't handled
8528 (hildon_banner_class_init): added the button_press_event handler
8529 (hildon_banner_init): added button-press events to the widget
8531 2008-03-25 Sven Herzberg <sven@imendio.com>
8533 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8534 Patch from: Mohammad Anwari <mdamt@maemo.org>
8536 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8537 instead of the right in RTL mode
8538 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8539 breadcrumb button list in RTL mode
8540 * src/hildon-caption.c: mirror the appearance of the caption widget in
8542 * src/hildon-date-editor.c: mirror appearance of the date editor in
8544 * src/hildon-time-editor.c: mirror appearance of the time editor in
8546 * src/hildon-window.c: fix the position of the popup in RTL mode
8548 2008-03-25 Sven Herzberg <sven@imendio.com>
8550 Amendment to the fix of NB#22072. Fix compilation.
8552 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8554 2008-03-19 Sven Herzberg <sven@imendio.com>
8556 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8559 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8560 timeout id properly when the timeout will disappear this leaves no
8561 artifacts around in the destroy(); there will only be the timeout
8562 created by hildon_banner_ensure_timeout() and adding a new timeout
8563 will also work if the timeout gets removed because the timeout_handler
8566 2008-03-19 Michael Natterer <mitch@imendio.com>
8568 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8570 * src/hildon-volumebar.c
8571 * src/hildon-vvolumebar.c
8572 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8573 the widget becomes focussable at all.
8575 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8576 set the focus to wither the mute button or the volumebar.
8578 Remove own "can-focus" property and instead listen to
8579 notify::can-focus in order to update the widget's state.
8581 Implement GtkWidget::focus() and make sure we can also *leave* the
8582 widget, not only enter it, depending on volumebar orientation and
8583 requested focus direction.
8585 Clean up set_mute() to cooperate nicely with all the above.
8587 2008-03-04 Michael Natterer <mitch@imendio.com>
8589 Fixes: NB#78481: information banners are hidden under browser menu
8591 * src/hildon-banner.c: call gtk_window_present() on the banners so
8592 they are risen if they are already visible.
8594 2008-03-03 Sven Herzberg <sven@imendio.com>
8596 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8598 * examples/hildon-window-menu-example.c: (main): extended the window
8599 menu example to serve as a testcase for automatically added
8600 accelerator groups, too
8601 * src/hildon-window.c: (hildon_window_add_accel_group),
8602 (hildon_window_set_menu): added patch by Tommi Komulainen
8604 2008-03-03 Sven Herzberg <sven@imendio.com>
8606 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8608 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8609 knowledge about the border allocators used within GTK+
8611 2008-02-26 Sven Herzberg <sven@imendio.com>
8613 Fixes: MB#2981: Build with asserts broken
8615 * src/hildon-date-editor.c,
8616 * src/hildon-number-editor.c,
8617 * src/hildon-time-editor.c,
8618 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8619 the proper GType instance check
8621 2008-02-25 Sven Herzberg <sven@imendio.com>
8623 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8625 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8626 * examples/hildon-window-menu-example.c: (main): explicitly show
8628 * src/hildon-window.c:
8629 (hildon_window_set_main_menu): moved most of the code from set_menu()
8630 to this place; skipped the call to gtk_widget_show_all(); also didn't
8631 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8632 (hildon_window_set_menu): removed most of the code, just keep the
8633 questionable gtk_widget_show_all()
8634 * src/hildon-window.h: added the new function and deprecate the old
8637 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8643 * debian/changelog: Updating.
8645 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8648 * pkgconfig/Makefile.am:
8649 * pkgconfig/hildon.pc.in:
8652 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8653 use newly created API_MAJOR_VERSION.
8655 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8661 * debian/changelog: Updating.
8663 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8665 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8667 Add outer_border style property, we use it but don't define it (!).
8671 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8673 * examples/hildon-bread-crumb-trail-example.c (main):
8677 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8679 Fix logic for the bread crumb trail node removal.
8683 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8689 * debian/changelog: Updating.
8691 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8693 Patch by Alejandro to get/set passwords dialogs accesibility.
8695 * hildon-1/src/hildon-get-password-dialog.c:
8696 * hildon-1/src/hildon-set-password-dialog.c:
8697 Set atk_set_name to the passwd entries in order to allow
8698 accessibility by name on this entries.
8700 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8705 * debian/control: Updating gtk dep.
8707 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8709 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8710 USE_MAEMO_GTK is enabled.
8712 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8714 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8715 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8717 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8723 * debian/changelog: Updating.
8725 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8727 * examples/Makefile.am:
8728 * examples/hildon-logical-color-example.c:
8729 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8730 applied + adding a test case. Fixes: NB#71660.
8732 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8734 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8735 to be visible, fixes warning on map for windows without toolbars.
8737 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8739 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8740 2.11.0, add a check for that besides the MAEMO_GTK check.
8742 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8748 * debian/changelog: Updating.
8750 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8752 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8753 visibility. Fixes: NB#70842 and MB#615.
8755 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8757 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8758 set the separator as no-show-all so it doesn't unintentionally appear when
8759 someone does a show_all.
8761 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8763 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8764 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8765 toplevel item. Fixes: NB#62031
8767 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8769 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8770 fix the name of the function in the docs.
8772 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8778 * debian/changelog: Updating.
8780 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8782 * examples/hildon-banner-long-example.c: Adding a test-case for long
8785 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8787 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8789 * src/hildon-color-chooser-dialog.c:
8790 * src/hildon-color-chooser.c:
8791 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8792 memory leaks in font selector and color selector. Fixes: NB#70499 and
8795 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8797 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8799 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8801 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8802 little bit bigger. Fixes: #NB63694.
8804 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8810 * debian/changelog: Updating.
8812 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8815 * doc/hildon-docs.sgml:
8816 * doc/images/bread-crumb-trail.png:
8817 * doc/images/calendar-popup.png:
8818 * doc/images/caption.png:
8819 * doc/images/code-dialog.png:
8820 * doc/images/color-button.png:
8821 * doc/images/color-chooser-dialog.png:
8822 * doc/images/color-chooser.png:
8823 * doc/images/controlbar.png:
8824 * doc/images/date-editor.png:
8825 * doc/images/font-selection-dialog.png:
8826 * doc/images/get-password-dialog.png:
8827 * doc/images/hvolumebar.png:
8828 * doc/images/login-dialog.png:
8829 * doc/images/note.png:
8830 * doc/images/number-editor.png:
8831 * doc/images/range-editor.png:
8832 * doc/images/seekbar.png:
8833 * doc/images/set-password-dialog.png:
8834 * doc/images/sort-dialog.png:
8835 * doc/images/time-editor.png:
8836 * doc/images/time-picker.png:
8837 * doc/images/vvolumebar.png:
8838 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8839 Adding the bread-crumb-trial and helpers to the documentation.
8841 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8843 * examples/hildon-find-toolbar-example.c:
8844 * src/hildon-find-toolbar.c:
8845 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8846 actually continue firing the other handlers if connected. Adding a new
8848 hildon_find_toolbar_get_last_index that gets the index of the most
8849 recently added (last) item. Fixes: NB#52301.
8851 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8853 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8854 behaviour. Fixes: NB#68610.
8856 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8858 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8861 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8863 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8864 when realizing the banner. Should make the infonbanner effect a bit more
8867 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * src/hildon-volumebar.c:
8870 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8871 hildon_volumebar_set_range_insensitive_message and
8872 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8874 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8876 * src/hildon-window.c: Fixing the border freeing on destroy.
8878 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * src/hildon-code-dialog-private.h:
8881 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8882 kw keyboard support in HildonCodeDialog.
8884 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8890 * debian/changelog: Updating.
8892 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * src/hildon-date-editor.c:
8895 * src/hildon-number-editor.c:
8896 * src/hildon-private.c:
8897 * src/hildon-private.h:
8898 * src/hildon-time-editor.c:
8899 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8900 handling in subclassed composite widgets. Fixes: NB#66628.
8902 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8904 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8905 from destroy_ callback as it introduces problems in async dbus signal
8906 handlers. Fixes NB#66673.
8908 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8910 * examples/hildon-hvolumebar-example.c:
8911 * src/hildon-volumebar.c: Improving the focus handling in the
8912 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8913 set_property accessor so that "mute" property can be actually set. I'm
8914 scared that nobody noticed it's totally broken.
8916 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8921 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * src/hildon-calendar.c:
8924 * src/hildon-number-editor.c:
8925 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8926 matches the spec of 6 chars per second. Fixes: NB#60489.
8928 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8930 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8931 gtk_style_lookup_color sometime returns FALSE even though color was
8932 found and values were filled properly. Weird. Removing the warning for the
8935 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8937 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8938 expand vertically. Adding some extra space to the find toolbar buttons to
8939 make them thumbable. Fixes NB#66060.
8941 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8944 popup with "Ok" and "Cancel". Fixes NB#59299.
8946 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8948 * src/hildon-calendar.c: Process all window updates before executing next
8949 timeout. Fixes: NB#54146.
8951 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * debian/changelog: Updating.
8959 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8961 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8962 the client event and ignore it, since we use the delete event to close
8965 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8967 * src/hildon-helper.c: Remove the bogus warning about color not being
8968 found. Fixes NB#58352.
8970 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8972 * examples/Makefile.am:
8973 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8974 HildonSeekbar widget inside a toolbar.
8976 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8978 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8979 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8980 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8981 don't want to be closed by non-temporary windows on map.
8983 Also use G_DEFINE_TYPE instead of manually typed code.
8985 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8992 * debian/rules: Updating.
8994 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8996 * examples/Makefile.am:
8997 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
8998 bug NB#61128. Strangely it works.
9000 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9002 * src/hildon-date-editor.c: When the date editor entry has been changed
9003 but the numbers of characters < max, turn off the skip validation flag.
9004 Prevents a situation when we enter first a valid year and later re-write
9005 it with an invalid one. Fixes NB#60154.
9007 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9009 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9010 code dialog. Fixes NB#64355.
9012 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9014 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9015 switching the page. Fixes NB#49374.
9017 * examples/Makefile.am:
9018 * examples/hildon-wizard-dialog-example.c: Adding an example for
9019 HildonWizardDialog that shows how to handle manual sensitivity setting on
9022 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9026 * src/hildon-version.h.in:
9027 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9029 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9031 * src/hildon-volumebar.c: Updating the docs.
9033 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * debian/changelog: Updating.
9041 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9043 * src/hildon-find-toolbar.c:
9044 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9045 selected item: hildon_find_toolbar_set_active,
9046 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9047 hildon_find_toolbar_get_active_iter . They correspond to respective
9048 GtkComboBox functions.
9050 * examples/Makefile.am:
9051 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9054 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9056 * examples/Makefile.am:
9057 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9060 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9061 when font size > 32 and we pack a focusable widget inside. Actually using
9062 the default response would work too, but since we don't show default
9063 response state in any way (no theming) it would not be visible to the
9064 user. Fixes NB#63430.
9066 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9068 * src/hildon-date-editor.c: Adding the missing variable setter in the
9069 set_property handler. Fixes NB#54182.
9071 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9073 * src/hildon-window.h: Changing the long key press time from 1500ms to
9074 800ms as requested in NB#63700. I have a bad feeling about this, let's
9075 see... Fixes NB#63700.
9077 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9079 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9080 hildon_time_picker_map, hildon_time_picker_realize,
9081 hildon_time_picker_style_set): Split the contents of map to more
9082 appropriate functions; set window decorations on realize and update
9083 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9085 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9090 * debian/changelog: Updating.
9092 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9094 * src/Makefile.am: fixed installation of the header files
9096 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9102 * debian/changelog: Updating.
9104 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9106 * configure.ac: Removing some remaining of --enable-xan.
9108 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9110 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9111 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9113 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9114 2.10.12-osso6 because the move-focus signal needs to be available in
9117 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9119 * examples/Makefile.am:
9120 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9121 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9122 fine. Prolly NB#61128 is fixed now.
9124 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * src/hildon-volumebar.c:
9127 * src/hildon-volumebar.h: Adding the
9128 hildon_volumebar_set_range_insensitive_message and
9129 hildon_volumebar_set_range_insensitive_messagef functions to set
9130 insensitive message on the slider of the volumebar. Fixes NB#61129.
9132 * examples/Makefile.am:
9133 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9134 test the new insensitive messsage functionality on HildonVolumebar.
9136 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9138 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9141 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9143 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9144 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9145 button on after clearing the trail.
9147 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9149 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9151 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9153 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9154 by splitting the installed headers in generated and non-generated groups. Use
9155 only the non-generated headers to create the hildon-enum-types.h file.
9157 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9159 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9161 * src/hildon-window.c: Hide the window before performing the destroy.
9162 Should make the app closing a little tiny bit more snappy.
9164 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9166 * src/hildon-seekbar.c: add gtkrange.h header
9167 * src/hildon-caption.c: remove unused variable
9169 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9171 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9174 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9180 * debian/changelog: Updating.
9182 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9184 * src/hildon-window.c (hildon_window_window_state_event,
9185 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9186 escape timeout on focus-out-event rather than notify::is-topmost; the
9187 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9189 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9191 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9192 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9194 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9196 * src/hildon-window: actually, you need to use the macro always, there's
9197 no private pointer in the instance structure. We should have cleaned this up
9198 when we had the chance...
9200 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9202 * src/hildon-window.c: do not get the private date from HildonWindow before
9203 it passes the g_return_if_fail check. Once it's passed the test, there's no
9204 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9205 if you are only going to access the data once. Whitespace cleanups.
9207 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9209 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9210 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9212 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9218 * debian/changelog: Updating.
9220 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9222 * src/hildon-window.c: When destroying the window, remove (if exists) the
9223 escape timeout handler. Fixes #NB59276.
9225 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9227 * src/hildon-banner.c: When realizing the widget, set the window
9228 transiency. Setting the transiency in the gobject constructor is not
9229 good, as the widget is not realized at that point. Fixes: #NB56624.
9231 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9233 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9234 Add padding for future expansions.
9236 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9238 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9239 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9240 will fake an activation on the previous to the last item of the trail, so
9241 the effect can be overrided by the developer as usual.
9242 Also change the callback for the back button to do the same thing, so its
9243 effect can be overrided too. Fixes: NB#58982
9245 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9247 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9248 HildonCaption. Fixes NB#52379.
9250 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9252 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9253 the internal state of the trail after the user has had the chance of executing
9254 his handler for the signal. Specifically, it may happen that the activated button
9255 is removed and the user still lets the default handler run. This would segfault
9258 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9260 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9261 scrollbar to the preview dialog. Fixes NB#54147.
9263 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9265 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9266 max/min year properties can be altered, so the client can modify it
9267 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9269 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9271 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9272 hildonlike by default. Fixing a problem with disappearing arrows when
9273 scrolling through months and years. Fixes NB#54127.
9275 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9277 * examples/hildon-date-editor-example.c: Adding error callback to the date
9280 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9286 * configure.ac: Updating.
9288 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9290 * configure.ac: Adding a special '--enable-xan' configure option that
9291 turns off the -Werror compilation setting. Usefull for development.
9293 * src/hildon-calendar.c:
9294 * src/hildon-number-editor.c:
9295 * src/hildon-time-picker.c: Adding the 5* multiplier to
9298 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9300 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9301 instead of g_object_ref + gtk_object_sink.
9303 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9309 * debian/changelog: Updating.
9311 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9313 * src/hildon-color-chooser-dialog.c:
9314 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9315 straight from Tommi labs.
9317 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9319 * examples/hildon-finger-example.c: Correcting the header file path.
9321 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9322 the changed signal. Fixes a small memory leak.
9324 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9328 * src/hildon-banner.c: Importing several usefull fixes from the
9329 ubuntu-mobile branch.
9331 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9333 * examples/Makefile.am:
9334 * examples/hildon-finger-example.c: Adding a finger-checking code
9337 * src/hildon-font-selection-dialog.c: Do not allocate the color
9338 structure using the g_new. Fixes NB#54061.
9340 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9342 * src/hildon-helper.c: Correcting tabs in file.
9344 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9346 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9347 control the visibility of the children.
9349 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9351 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9357 * debian/changelog: Updating.
9359 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9361 * src/hildon-bread-crumb-trail.c:
9362 (hildon_bread_crumb_trail_size_allocate):
9364 Make the back button always a square.
9366 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9368 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9369 from the .c file as it's a private file.
9371 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9373 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9374 uses slightly bigger height.
9376 * src/hildon-font-selection-dialog.c: Adding some checks before
9377 freeing memory in the font selection dialog.
9379 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 * src/hildon-font-selection-dialog.c: Adding a small check when
9384 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9385 buttons sensitivity on page switching.
9387 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9389 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9390 internal details of adding a bread crumb to the trail.
9392 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9398 * debian/changelog: Updating.
9400 * src/hildon-bread-crumb-trail.h:
9401 * src/hildon-bread-crumb.h: Changing the API guard to
9402 HILDON_ENABLE_UNSTABLE_API.
9404 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9412 * src/hildon-helper.h: Updating.
9414 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9422 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9426 * src/hildon-helper.h: Small fix to make the package actually compile.
9428 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9430 * src/hildon-bread-crumb-trail.h:
9431 * src/hildon-bread-crumb.h:
9433 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9434 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9436 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9438 * examples/hildon-bread-crumb-trail-example.c:
9440 * src/hildon-bread-crumb-trail.c:
9441 * src/hildon-bread-crumb-trail.h:
9442 * src/hildon-bread-crumb.c:
9443 * src/hildon-bread-crumb.h:
9444 * src/hildon-marshalers.list:
9445 * src/hildon-bread-crumb-widget.c:
9446 * src/hildon-bread-crumb-widget.h:
9448 Slight change in the widget design. The bread crumb trail API is
9449 unchanged, but HildonBreadCrumb is now an interface. A *private*
9450 implementation, hildon-bread-crumb-widget, is provided and used
9451 internally by the trail for the push_text/push_icon functions.
9453 The generic push API is still available, so anyone can implement
9454 and use its own bread crumb widget.
9456 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9458 * debian/rules: Fixing the shlibs.
9460 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9462 * src/hildon-banner.c: Fixing a problem with timed banners having
9463 their parrent destroyed before they are.
9465 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9467 * src/hildon-bread-crumb.c:
9468 * src/hildon-bread-crumb.h:
9470 Make the get_natural_size function a vfunc.
9472 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9474 * src/hildon-bread-crumb.c:
9475 * src/hildon-bread-crumb-trail.c:
9479 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9486 * debian/changelog: Updating for release.
9488 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9490 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9491 don't leak the pango layout.
9493 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9496 * examples/hildon-bread-crumb-trail-example.c:
9500 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9502 * debian/changelog: Removing the bug-fixed entries that were actually
9503 resolved as WONTFIX.
9505 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9508 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9510 * src/hildon-bread-crumb-trail.c:
9511 * src/hildon-bread-crumb-trail.h:
9512 * src/hildon-bread-crumb.c:
9513 * src/hildon-bread-crumb.h:
9517 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9519 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9520 until it's passed the type check.
9522 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9524 * examples/hildon-bread-crumb-trail-example.c
9528 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9530 * examples/Makefile.am
9531 * examples/hildon-bread-crumb-trail-example.c
9533 * src/hildon-bread-crumb-trail.c
9534 * src/hildon-bread-crumb-trail.h
9535 * src/hildon-bread-crumb.c
9536 * src/hildon-bread-crumb.h
9538 New HildonBreadCrumbTrail widget.
9540 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9542 * src/hildon-range-editor.c (hildon_range_editor_init),
9543 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9544 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9545 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9546 hildon_time_editor_class_init, hildon_time_editor_init),
9547 src/hildon-get-password-dialog.c (invalid_input,
9548 hildon_get_password_set_property, hildon_get_password_get_property,
9549 create_contents, hildon_get_password_dialog_set_max_characters),
9550 src/hildon-set-password-dialog.c (create_contents),
9551 src/hildon-date-editor.c (hildon_date_editor_init),
9552 src/hildon-login-dialog.c (hildon_login_dialog_init),
9553 src/hildon-number-editor.c (hildon_number_editor_init),
9554 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9555 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9556 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9557 configure option and adding the respective checks in the code.
9558 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9559 hildon_calendar_drag_data_received): fixed some build warnings.
9561 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9563 * debian/changelog: A 1.0.0 release notes.