1 2009-08-26 Alejandro G. Castro <alex@igalia.com>
3 * hildon/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init): Added more force and increased
5 the max speed threshold.
7 Fixes: NB#135344 (Pannign needs to be faster)
9 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
11 [Release 2.1.96, this time for real]
14 * debian/changelog: updates
16 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
18 * hildon/hildon-pannable-area.c
19 (hildon_pannable_area_get_topmost): change the computation of the
20 co-ordinates transformed when no one of the children is a topmost
22 Fixes: NB#133252 (Opening any feed item from RSS always opens the
23 first feed item in browser)
25 2009-08-26 Alejandro G. Castro <alex@igalia.com>
27 * hildon/hildon-pannable-area.c,
28 (hildon_pannable_area_remove_timeouts): Adding this new function
29 with the code that removes the timeouts of the widget.
30 (hildon_pannable_area_dispose),
31 (hildon_pannable_area_unrealize): Use the new remove function to
32 stop timeouts when unrealizing and disposing.
33 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
34 calculation to avoid negative values in some cases.
36 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
38 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
40 * examples/hildon-check-button-example.c: (button_toggled_cb):
41 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
42 (hildon_check_button_set_active), (hildon_check_button_new),
43 (hildon_check_button_clicked), (hildon_check_button_class_init):
44 * hildon/hildon-check-button.h:
45 * hildon/hildon-set-password-dialog.c: (create_contents),
46 (hildon_set_password_response_change), (hildon_checkbox_toggled):
48 Revert "Make HildonCheckButton derive from GtkToggleButton"
50 2009-08-21 Alberto Garcia <agarcia@igalia.com>
54 * configure.ac: bump version
56 * debian/changelog: updates
58 2009-08-21 Alberto Garcia <agarcia@igalia.com>
60 * hildon/hildon-check-button.h
61 * hildon/hildon-check-button.c
62 (hildon_check_button_clicked, hildon_check_button_class_init):
63 Make HildonCheckButton derive from GtkToggleButton
64 (hildon_check_button_toggled, hildon_check_button_set_active)
65 (hildon_check_button_get_active):
66 Deprecate unnecessary HildonCheckButton API and use the
67 one from GtkToggleButton instead.
69 * hildon/hildon-set-password-dialog.c (create_contents)
70 (hildon_set_password_response_change, hildon_checkbox_toggled)
71 * examples/hildon-check-button-example.c (button_toggled_cb):
72 Update to use the GtkToggleButton API
74 Fixes: MB#4739 (HildonCheckButton should inherit from
77 Fixes: NB#132661 (HildonCheckButton should inherit from
80 2009-08-20 Alberto Garcia <agarcia@igalia.com>
82 * hildon/hildon-pannable-area.c
83 (hildon_pannable_area_class_init):
84 Increase default value of HildonPannableArea:velocity_max to 2000
86 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
88 2009-08-18 Alberto Garcia <agarcia@igalia.com>
92 * configure.ac: bump version
94 * debian/changelog: updates
96 2009-08-11 Alejandro G. Castro <alex@igalia.com>
98 * hildon/hildon-pannable-area.c
99 (hildon_pannable_area_size_allocate): Checked the scrollbars
100 before the first try when defining the layout, avoids two
101 allocations in some situations.
103 Fixes: NB#131794 (pannable area produces unnecessary allocations
104 causing performance problems)
106 2009-08-11 Alejandro G. Castro <alex@igalia.com>
108 * hildon/hildon-pannable-area.c
109 (hildon_pannable_area_button_press_cb),
110 (hildon_pannable_area_motion_notify_cb),
111 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
112 the spurious ref added in the copy, fixes leak of window.
114 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
115 if it's realized without showing and then deleted)
117 2009-08-10 Alberto Garcia <agarcia@igalia.com>
121 * configure.ac: bump version
123 * debian/changelog: updates
125 2009-08-06 Alberto Garcia <agarcia@igalia.com>
127 * examples/hildon-hvolumebar-timer-example.c
129 * hildon/hildon-banner.c
130 (hildon_banner_timeout, hildon_banner_ensure_timeout)
131 * hildon/hildon-calendar.c
132 (calendar_timer, start_spinning)
133 * hildon/hildon-color-chooser.c
134 (inline_limited_expose)
135 * hildon/hildon-date-editor.c
136 (hildon_date_editor_entry_focus_in)
137 (hildon_date_editor_entry_validate)
138 (hildon_date_editor_entry_select_all)
139 * hildon/hildon-note.c
141 * hildon/hildon-number-editor.c
142 (hildon_number_editor_button_pressed)
143 (hildon_number_editor_start_timer, do_mouse_timeout),
144 (add_select_all_idle, hildon_number_editor_select_all)
145 * hildon/hildon-time-editor.c
146 (hildon_time_editor_entry_focus_in)
147 (highlight_callback, hildon_time_editor_validate)
148 (hildon_time_editor_entry_select_all)
149 * hildon/hildon-time-picker.c
150 (hildon_time_picker_arrow_press)
151 (hildon_time_picker_key_repeat_timeout)
152 * hildon/hildon-window.c
153 (hildon_window_key_press_event)
154 (hildon_window_escape_timeout):
155 Replace all calls to g_idle_add/g_timeout_add with their
156 gdk_threads counterparts.
158 Fixes: NB#126198 (gdk-threads API should be used to install idle
159 and timeout handlers)
161 2009-08-06 Alejandro G. Castro <alex@igalia.com>
163 * hildon/hildon-pannable-area.c,
164 (hildon_pannable_area_class_init): Increased the overshooting max
165 speed to get a faster effect.
166 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
167 deceleration of the overshooting
168 (hildon_pannable_area_button_release_cb): Calculate initial
169 overshooting speed when finger on the screen using the distance to
170 launch the effect faster.
172 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
173 lists with slow row renderers)
175 2009-08-05 Alberto Garcia <agarcia@igalia.com>
177 * doc/hildon-sections.txt: Add new functions
179 2009-08-05 Alberto Garcia <agarcia@igalia.com>
181 * hildon/hildon-text-view.[ch]
182 * hildon/hildon-entry.[ch]:
183 Add deprecation guards around deprecated functions.
185 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
187 * hildon/hildon-app-menu.c: Remove leftover function declaration.
189 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
191 Remove the grab from HildonAppMenu
193 * hildon/hildon-app-menu.c:
194 Now hildon-desktop places a blocker window behind the menu to handle
195 its closing, so the grab is no longer needed. This simplifies its
196 implementation and allows the system blanking to succeed.
198 Fixes: NB#130910 (Screen gets unlocked when menu is open)
200 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
204 * configure.ac: bump version
206 * debian/changelog: updates
207 * debian/control: raise debian dependency on GTK+
209 2009-08-04 Alberto Garcia <agarcia@igalia.com>
211 * hildon/hildon-text-view.c
212 * hildon/hildon-entry.c:
213 Remove all placeholder code from HildonEntry and HildonTextView
214 and use the API in GtkEntry and GtkTextView instead.
216 * examples/hildon-entry-example.c
217 * examples/hildon-text-view-example.c
218 * examples/hildon-wizard-dialog-example.c
219 * hildon/hildon-get-password-dialog.c
220 * hildon/hildon-login-dialog.c
221 * hildon/hildon-picker-dialog.c
222 * hildon/hildon-set-password-dialog.c
223 * hildon/hildon-touch-selector-entry.c:
224 Replace all deprecated calls to HildonEntry and HildonTextView
225 with their Gtk counterparts.
227 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
230 2009-08-03 Alejandro G. Castro <alex@igalia.com>
232 * hildon/hildon-pannable-area.c,
233 (hildon_pannable_area_check_move),
234 (hildon_pannable_area_button_release_cb),
235 (hildon_pannable_area_scroll_to): Reverted the priority change of
236 the timeout, in some situations, slow renderers, the click do not
237 make it to the mainloop on time.
239 Fixes NB#131013 (unable to stop panning file manager by tapping on
242 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
244 * configure.ac: bump version
246 * debian/changelog: updates
248 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
250 * hildon/hildon-touch-selector.[ch]
251 (hildon_touch_selector_center_on_index): New method that allows to center
252 on a item not selected
254 Fixes NB#130291 (New HildonTouchSelector API is required to center on
257 2009-07-29 Alberto Garcia <agarcia@igalia.com>
259 * hildon/hildon-text-view.c
260 (+set_logical_color, +hildon_text_view_style_set)
261 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
262 (hildon_text_view_init)
263 * hildon/hildon-entry.c
264 (+set_logical_color, +hildon_entry_style_set)
265 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
266 (hildon_entry_class_init, hildon_entry_init)
267 * hildon/hildon-button.c
268 (+set_logical_font, +set_logical_color)
269 (hildon_button_style_set, hildon_button_init)
270 (hildon_button_set_arrangement, hildon_button_set_style):
271 Remove all calls to hildon_helper_set_logical_font() and
272 hildon_helper_set_logical_color(), which are recursive, from
275 Fixes: NB#123409 (Showing dialog consumes significant amount of
278 2009-07-29 Alejandro G. Castro <alex@igalia.com>
280 * hildon/hildon-pannable-area.c,
281 (hildon_pannable_area_timeout): Added the process updates of the
282 scrollbars window in the pannable.
284 Fixes: NB#130043 (scrollindicator not smooth while panning)
286 2009-07-23 Alejandro G. Castro <alex@igalia.com>
288 * hildon/hildon-pannable-area.c,
289 (hildon_pannable_area_check_move),
290 (hildon_pannable_area_button_release_cb),
291 (hildon_pannable_area_scroll_to): Increased the priority of the
292 timeout this way it is going to be handled before the events.
294 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
298 * configure.ac: bump version
299 * debian/changelog: updates
301 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
303 * hildon/hildon-entry.c: (set_property): Do not allow to set
304 automatic height and use finger height instead, to prevent an to
305 have a smaller size than than its theme pixbuf.
307 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
309 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: postrelease version bump.
312 * debian/changelog: post release version bump
314 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
319 * configure.ac: Bump version.
320 * debian/changelog: Updates.
322 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
324 * hildon/hildon-note.c: (label_size_request): Take the note
325 padding into account when setting the size request.
327 Fixes: NB#127896 (Information notes text truncated)
329 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
331 * configure.ac: postrelease version bump.
332 * debian/changelog: post release version bump
334 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
339 * configure.ac: Bump version.
340 * debian/changelog: Updates.
342 2009-07-16 Alejandro G. Castro <alex@igalia.com>
345 * hildon/hildon-text-view.c,
346 (hildon_text_view_button_press_event): Grabbed the focus in button
347 press, this way we are sure the widget has the focus in the
348 release event, required for HIM.
350 Fixes: NB#121445 (Virtual keyboard opening is not working in same
351 way for each text entry field)
353 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
355 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
356 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
357 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
358 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
359 (hildon_pannable_area_[gs]et_center_on_child_focus)
360 Redefined GtkContainer set-focus-child signal, in order to center
361 properly on a child when it receives the focus. Defined a new property
362 "center-on-child-focus" in order to activate this feature (deactivated
363 by default). Public get/set methods defined to manage the property.
365 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
367 2009-07-14 László Pere <lpere@blumsoft.eu>
369 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
370 the new size is applied.
372 Fixes: NB#124510 (The Application Menu is distorted when switched
373 between portrait and landscape mode)
374 Fixes: NB#115388 (Power key menu does not resize itself)
376 2009-07-01 Alberto Garcia <agarcia@igalia.com>
378 * hildon/hildon-banner.c (hildon_banner_map):
379 Set banner position after mapping.
381 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
383 * configure.ac: postrelease version bump.
384 * debian/changelog: post release version bump
386 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
391 * configure.ac: Bump version.
392 * debian/changelog: Updates.
394 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
396 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
399 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
401 * tests/check-hildon-banner.c
403 * tests/test_suites.h
404 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
405 were testing deprecated functions.
406 * examples/hildon-banner-example.c: typo on button3 type, that causes
407 a fail compiling with --with-examples but without --disable-deprecated
409 Missed commit in order to fix compilation using '--enable-fatal' and
410 '--disable-deprecated' (see previous commit)
412 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
414 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
415 functions with #ifndef HILDON_DISABLE_DEPRECATED
416 * examples/hildon-find-toolbar.c: Protect deprecated
417 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
418 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
419 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
420 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
422 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
423 to allow proper compilation of deprecated functions defined on the header
425 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
427 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
429 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
430 Cache the panning indicator color.,
431 (hildon_pannable_area_style_set): Query the color on style changes.
432 (hildon_pannable_draw_vscroll),
433 (hildon_pannable_draw_hscroll),
434 (hildon_pannable_area_expose_event): Use the cached panning indicator
435 color instead of looking it up on every expose and more.
437 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
439 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
440 (hildon_pannable_draw_hscroll),
441 (hildon_pannable_area_expose_event): Fix the panning indicator color,
442 so that it's "SecondaryTextColor", as desired.
444 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
446 * hildon/hildon-picker-dialog.c:
447 (selection_completed): take into account HILDON_UI_MODE_NORMAL
448 * hildon/hildon-touch-selector.c
449 (hildon_touch_selector_init): Initialize hildon-ui-mode
450 (hildon_touch_selector_row_activated): new callback for the
451 "row-activated" signal, in order to save the last activated
452 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
453 if the current hildon-ui-mode is coherent with the touch selector
454 (hildon_touch_selector_class_init)
455 (hildon_touch_selector_get_property)
456 (hildon_touch_selector_set_property)
457 Added "hildon-ui-mode" property
458 (disconnect_model_handlers): renamed to clean_column
459 (hildon_touch_selector_remove): use clean_column function
460 (_create_new_column): use the hildon-ui-mode to create the treeview, and
461 only select the first element on HILDON_UI_MODE_EDIT
462 (hildon_touch_selector_column_init): Initialize last_activate
463 (hildon_touch_selector_append_column): check that the touch selector
464 is coherent with the current hildon-ui-mode
465 (hildon_touch_selector_get_hildon_ui_mode)
466 (hildon_touch_selector_set_hildon_ui_mode)
467 Added a getter/setter for the hildon-ui-mode property
468 (hildon_touch_selector_get_last_activated_row): Added this method in
469 order to get the last activated row.
470 * examples/hildon-touch-selector-normal-mode-example.c
471 New example, that shows how to use the HildonTouchSelector in
472 HILDON_UI_MODE_NORMAL
474 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
475 Kristian Rietveld <kris@lanedo.com> advices
477 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
479 * hildon/hildon-time-selector.c: (update_format_policy): Do
480 not call update_format_dependant_columns() if not necessary.
481 (update_format_dependant_columns): Remove unnecessary check for
482 the number of columns.
484 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
486 * hildon/hildon-note.c (+hildon_note_constructor),
487 (hildon_note_class_init), (+hildon_note_set_padding),
488 (hildon_note_rebuild): Install a constructor where to set the
489 padding properties in the note, so that it actually works fine.
490 Use hildon_note_set_padding() for this, and also to set it during
493 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
495 * configure.ac: Bump GTK+ requirement to 2.14.3.
496 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
497 when using maemo-gtk to define proper margins for the notes.
499 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
500 with the dialog edge)
502 2009-06-24 Alberto Garcia <agarcia@igalia.com>
504 * hildon/hildon-banner.c
505 (hildon_banner_class_init):
507 (+hildon_banner_size_request):
508 Request always the full width of the screen.
509 (hildon_banner_realize)
510 (-hildon_banner_check_position, hildon_banner_map):
511 hildon_banner_check_position() is not needed in Hildon 2.2.
512 (-hildon_banner_reset_wrap_state)
513 (hildon_banner_constructor, hildon_banner_init):
514 Remove unnecessary calls to hildon_banner_reset_wrap_state()
515 (+banner_do_set_text)
516 (force_to_wrap_truncated):
517 Remove has_been_wrapped and has_been_truncated attributes.
518 (+reshow_banner, hildon_banner_real_show_information)
519 (hildon_banner_show_information_with_markup)
520 (hildon_banner_show_animation, hildon_banner_show_progress)
521 (hildon_banner_set_text, hildon_banner_set_markup):
522 Refactor code. Shrink banner vertically to use the minimum space
523 necessary everytime the text of the label is updated.
524 (screen_size_changed):
525 Call force_to_wrap_truncated() when the size of the screen
528 Fixes: NB#120500 (only device memory connect mmc in use info
529 banner is left aligned)
531 Fixes: NB#120613 (Size of HildonBanner varies depending on
532 previously opened banners)
534 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
536 * hildon/hildon-color-chooser.c
537 (hildon_color_chooser_pointer_motion): Take the widget allocation
540 Fixes: NB#124385 (Unable to select exact point in color mixing box
541 in color palette dialog)
543 2009-06-23 Alejandro G. Castro <alex@igalia.com>
545 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
546 (hildon_pannable_area_dispose)
547 (hildon_pannable_area_button_press_cb)
548 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
549 (hildon_pannable_area_button_release_cb)
550 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
551 New 'panning-started' and 'panning-finished' signals.
553 Fixes: NB#121732 (New feature request: Signal to pannable area
554 that informs when panning is stopped.)
556 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
558 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
559 instead of hardcoded colon.
561 Fixes: NB#124090 (New calendar wizard title is not using
562 ecdg_ti_caption_separator)
564 2009-06-22 David King <davidk@openismus.com>
566 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
567 constants and functions, as well as correct many typos throughout the
570 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
573 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
575 * configure.ac: postrelease version bump.
576 * debian/changelog: post release version bump
578 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: Bump version.
584 * debian/changelog: Updates.
586 2009-06-18 Alberto Garcia <agarcia@igalia.com>
588 * hildon/hildon-window-stack.c
589 (hildon_window_stack_pop_and_push_list):
590 Prevent windows from having the same stack index
592 2009-06-18 Alberto Garcia <agarcia@igalia.com>
594 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
595 Use the index of the previous window rather than the stack length
596 to calculate the new index.
600 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
602 * hildon/hildon-date-selector.c
603 (hildon_date_selector_select_current_date)
604 (hildon_date_selector_get_date)
605 (hildon_date_selector_select_day):
606 Update the documentation: uses always the range (1-31), as it is obvious
607 that the final one will depend on the month and the year, but globally
608 the range is this, in a similar GtkCalendar approach
609 (hildon_date_selector_get_date):
610 Update the documentation: add NULL as a valid value for the day, month
613 Fix some details, after talk with David King on bug MB#4698
615 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
617 * hildon/hildon-touch-selector-entry.c
618 * hildon/hildon-touch-selector.c
619 Update the documentation of the "text-column" property
621 2009-06-18 David King <davidk@openismus.com>
623 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
624 several typos and errors throughout the documentation.
626 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
629 2009-06-18 Alberto Garcia <agarcia@igalia.com>
631 * hildon/hildon-note.c (hildon_note_realize):
632 Make HildonNote support portrait mode.
634 Fixes: NB#123448 (HildonNote is not portrait-friendly)
636 2009-06-17 Alberto Garcia <agarcia@igalia.com>
638 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
639 Document this function
641 2009-06-17 David King <davidk@openismus.com>
643 * hildon/hildon-date-selector.c
644 (hildon_date_selector_select_current_date)
645 (hildon_date_selector_get_date): Update documentation regarding days,
646 as the day of the month is dependent on both the month and the year.
647 (hildon_date_selector_get_date): Fix documentation of output arguments.
649 Fixes: MB#4698 (DateSelector documentation has bad output argument
650 description, and the day depends on both the month and the year)
652 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
654 * hildon/hildon-caption.c: Other documentation fixes to
657 2009-06-17 David King <davidk@openismus.com>
659 * hildon/hildon-caption.c: Minor documentation updates for
660 HildonCaption. Fixes MB#4697.
662 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
664 * doc/hildon-docs.sgml: Add hildon-version section.
665 * doc/hildon-sections.txt:
666 * hildon/hildon-version.h.in: Document versioning macros and
669 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
671 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
672 from HildonPickerDialog section.
674 2009-06-16 Alberto Garcia <agarcia@igalia.com>
676 * hildon/hildon-banner.c (hildon_banner_bind_style)
677 (screen_size_changed, hildon_banner_init)
678 (hildon_banner_real_show_information)
679 (hildon_banner_show_information_with_markup)
680 (hildon_banner_show_animation, hildon_banner_show_progress):
681 Set a different widget name to banners in portrait mode, for them
682 to be themed correctly.
684 2009-06-16 Alberto Garcia <agarcia@igalia.com>
686 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
687 Set a different widget name to notes in portrait mode, for them to
690 Partially fixes: NB#118401 (HildonNote causes unnecessary
693 2009-06-16 Alberto Garcia <agarcia@igalia.com>
695 * hildon/hildon-note.c (hildon_note_class_init)
696 (+hildon_note_size_request, screen_size_changed):
697 Always request the full width of the screen.
699 Fixes: NB#118375 (unnecessary rescaling of images)
701 2009-06-16 Alejandro G. Castro <alex@igalia.com>
703 * hildon/hildon-pannable-area.c,
704 (hildon_pannable_area_init),
705 (hildon_pannable_area_realize): Replaced old code adding flags in
706 the object init, now we add it with the other flags in the realize
709 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
711 * hildon/hildon-note.c: (hildon_note_class_init): Several
712 documentation improvements to the HildonNote widget.
714 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
716 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
718 Fixes: MB#4556 (HildonNoteType is undocumented)
720 2009-06-15 Alberto Garcia <agarcia@igalia.com>
722 * hildon/hildon-picker-button.c:
723 Explain how HildonPickerButton sets the title of its dialog
725 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
726 the title of its dialog)
728 2009-06-15 Alberto Garcia <agarcia@igalia.com>
730 * hildon/hildon-check-button.c:
731 Documentation updates
733 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
736 2009-06-15 Alberto Garcia <agarcia@igalia.com>
739 * hildon/hildon-edit-toolbar-private.h
740 * hildon/hildon-edit-toolbar.c
741 (+hildon_edit_toolbar_set_progress_indicator)
742 (hildon_edit_toolbar_init): Add progress indicator to the
745 * hildon/hildon-gtk.c
746 (hildon_gtk_window_set_progress_indicator):
747 If the window contains a HildonEditToolbar, enable the progress
750 * hildon/hildon-private.h
751 * hildon/hildon-private.c
752 (+hildon_private_create_animation)
753 * hildon/hildon-banner.c
754 (-hildon_banner_create_animation):
755 Moved to hildon-private.c
757 Fixes: NB#102373 (Progress indicator also for the Edit mode
760 2009-06-15 Alberto Garcia <agarcia@igalia.com>
762 * hildon/hildon-app-menu-private.h
763 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
764 (hildon_app_menu_add_filter, +menu_item_button_event)
765 (hildon_app_menu_button_release, hildon_app_menu_init):
766 Make sure that buttons receive 'button-release-event' in spite of
767 the grab held by HildonAppMenu
769 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
771 2009-06-15 Alberto Garcia <agarcia@igalia.com>
773 * hildon/hildon-app-menu.c
774 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
775 New style property to set the size of the group of filter buttons.
777 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
779 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
784 * configure.ac: Bump version.
785 * debian/changelog: Updates.
787 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
789 * hildon/hildon-main.c: Minor documentation fixes.
791 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
793 * doc/hildon-sections.txt:
794 * hildon/hildon-defines.h: Document the defines, organize them,
795 and mark deprecations as such.
797 Fixes: MB#4463 (Hildon size #defines are undocumented)
799 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
801 * hildon/hildon-animation-actor.c:
802 * hildon/hildon-app-menu.c:
803 * hildon/hildon-button.c:
804 * hildon/hildon-date-editor.c:
805 * hildon/hildon-dialog.c:
806 * hildon/hildon-edit-toolbar.c:
807 * hildon/hildon-entry.c:
808 * hildon/hildon-program.c:
809 * hildon/hildon-remote-texture.c:
810 * hildon/hildon-stackable-window.c:
811 * hildon/hildon-text-view.c:
812 * hildon/hildon-touch-selector.c:
813 * hildon/hildon-window-stack.c:
814 * hildon/hildon-window.c:
816 Remove redundant "represents" wording from most of the documentation.
818 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
820 2009-06-12 Alberto Garcia <agarcia@igalia.com>
825 * hildon/hildon-banner-private.h
826 * hildon/hildon-banner.c:
827 Move HildonBannerPrivate to hildon-banner.c and remove
828 hildon-banner-private.h
829 Use a bit field to store private booleans.
831 2009-06-12 Alberto Garcia <agarcia@igalia.com>
833 * hildon/hildon-app-menu.c (hildon_app_menu_map):
834 Don't install a new idle function if there's already one
839 2009-06-11 Alberto Garcia <agarcia@igalia.com>
841 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
842 (+legacy_menu_realized, +legacy_menu_unmapped)
843 (+set_legacy_menu_type):
844 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
845 they can be identified by the window manager.
847 Fixes: NB#101437 (Invoking CSM on the left side of page area is
848 displayed in wrong location)
850 Fixes: MB#4563 (Popup menu won't locate at the left side of the
853 2009-06-11 Alberto Garcia <agarcia@igalia.com>
855 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
857 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
860 2009-06-11 Alberto Garcia <agarcia@igalia.com>
862 * hildon/hildon-code-dialog.c
863 * hildon/hildon-date-editor.c
864 * hildon/hildon-number-editor.c
865 * hildon/hildon-seekbar.c
866 * hildon/hildon-stackable-window.c
867 * hildon/hildon-window.c:
868 Misc documentation updates
870 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
872 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
873 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
875 Fixes: NB#117931 (Theming issues in accounts dialogs)
877 2009-06-09 Alejandro G. Castro <alex@igalia.com>
879 * hildon/hildon-pannable-area.c,
880 (hildon_pannable_area_button_release_cb): Changed the coordinates
881 of the original release in case we want to discard the release,
882 some widgets in Fremantle do not handle the leave-notify.
884 2009-06-09 Alejandro G. Castro <alex@igalia.com>
886 * hildon/hildon-pannable-area.c,
887 (hildon_pannable_area_button_release_cb): Reviewed the logic of
888 the release using the last refactored functions and avoiding the
889 movement if an element was selected.
891 2009-06-09 Alejandro G. Castro <alex@igalia.com>
893 * hildon/hildon-pannable-area.c,
894 (hildon_pannable_area_check_move),
895 (hildon_pannable_area_handle_move),
896 (hildon_pannable_area_motion_notify_cb): Refactored the
897 motion_notify method using a couple of new functions.
899 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
901 * hildon/hildon-date-selector.c:
902 (hildon_date_selector_construct_ui):
903 * hildon/hildon-time-selector.c:
904 (hildon_time_selector_constructor):
905 * hildon/hildon-touch-selector-entry.c:
906 (hildon_touch_selector_entry_set_text_column),
907 (hildon_touch_selector_entry_get_text_column):
908 * hildon/hildon-touch-selector.c: (_default_print_func),
909 (hildon_touch_selector_new_text): Use
910 hildon_touch_selector_set/get_text_column() instead of
911 setting/getting the "text-column" property.
913 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
915 * doc/hildon-sections.txt: Add the new public methods below.
917 * examples/hildon-picker-button-multicolumn-example.c:
918 (create_touch_selector):
919 * examples/hildon-touch-selector-example.c: (create_selector):
920 * examples/hildon-touch-selector-multi-cells-example.c:
922 Use hildon_touch_selector_column_set_text_column()
924 * hildon/hildon-touch-selector-column.h:
925 * hildon/hildon-touch-selector.c:
926 (hildon_touch_selector_column_set_text_column),
927 (hildon_touch_selector_column_get_text_column):
928 Make hildon_touch_selector_column_set/get_column() public, use
929 them in the inline example, document them, and reference to them
932 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
934 * hildon/hildon-time-selector.c: Fix the docs for
935 hildon_time_selector_new_step().
937 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
939 * hildon/hildon-touch-selector.c: Improve the documentation for
940 hildon_touch_selector_append_column().
942 Fixes MB#4641 (Documentation:
943 hildon_touch_selector_append_column() ref-counting)
945 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
947 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
948 Comment out test 5, since the hildon_controlbar_set_range() range
949 check is broken and fixing it would have side effects. Also,
950 this finally fixes make distcheck.
952 Fixes: NB#101420 (Update unit tests and fix make distcheck)
954 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
956 * tests/TEST-CASES.txt: Remove other bogus test.
957 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
958 Remove bogus test that was setting/retrieving a valid value.
960 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
962 * tests/TEST-CASES.txt: Remove bogus tests.
963 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
964 Remove three bogus tests that were actually setting valid colors.
966 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
968 * configure.ac: post release version bump
969 * debian/changelog: post release version bump
971 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
976 * configure.ac: Bump version.
977 * debian/changelog: Updates.
979 2009-06-08 Christian Dywan <christian@lanedo.com>
983 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
984 Correct errors in hildon_format_file-size_for_display and use
985 translations from the hildon-fm package instead of osso-filemanager.
987 2009-06-08 Alejandro G. Castro <alex@igalia.com>
989 * hildon/hildon-pannable-area.c,
990 (hildon_pannable_area_init): Initialized new values to handle the
992 (hildon_pannable_area_adjust_value_changed): Check if the values
993 changed before even call the redraw function.
994 (hildon_pannable_area_size_allocate),
995 (hildon_pannable_axis_scroll),
996 (hildon_pannable_area_scroll),
997 (hildon_pannable_area_jump_to): Improved the diagonal movement
1000 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1003 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1005 * examples/hildon-banner-example.c:
1006 Several style updates
1007 (on_animation_clicked, on_animation_idle)
1008 (on_progress_clicked, on_progress_idle):
1009 Add additional reference for the cases when the parent window is
1012 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1014 * doc/hildon-sections.txt
1015 * hildon/hildon-pannable-area.c
1016 * hildon/hildon-banner.h
1017 * hildon/hildon-banner.c: Documentation updates.
1019 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1022 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1024 * hildon/hildon-calendar-popup.h:
1025 * hildon/hildon-caption.h:
1026 * hildon/hildon-code-dialog.h:
1027 * hildon/hildon-controlbar.h:
1028 * hildon/hildon-date-editor.h:
1029 * hildon/hildon-dialog.h:
1030 * hildon/hildon-get-password-dialog.h:
1031 * hildon/hildon-hvolumebar.h:
1032 * hildon/hildon-login-dialog.h:
1033 * hildon/hildon-note.h:
1034 * hildon/hildon-number-editor.h:
1035 * hildon/hildon-range-editor.h:
1036 * hildon/hildon-seekbar.h:
1037 * hildon/hildon-set-password-dialog.h:
1038 * hildon/hildon-sort-dialog.h:
1039 * hildon/hildon-time-editor.h:
1040 * hildon/hildon-time-picker.h:
1041 * hildon/hildon-volumebar-range.h:
1042 * hildon/hildon-volumebar.h:
1043 * hildon/hildon-vvolumebar.h:
1044 * hildon/hildon-weekday-picker.h:
1045 * hildon/hildon-window.h:
1046 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1047 macros with the current replacements
1049 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1051 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1053 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1054 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1055 itself, to make it fit better with Fremantle style.
1057 Fixes: NB#109878 (height and width of focus on color icon is not
1058 consistent with other item in the application tool bar)
1060 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1062 * hildon/hildon-touch-selector.c:
1063 (hildon_touch_selector_optimal_size_request): use the current requisition
1064 as the base, in order to include any possible extra widget, like the
1065 hildon entry on HildonTouchSelectorEntry
1067 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1069 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1071 * configure.ac: post release version bump
1072 * debian/changelog: post release version bump
1074 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1079 * configure.ac: Bump version.
1080 * debian/changelog: Updates.
1082 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1084 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1086 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1087 to ensure the banner contents are centered, instead of relying on
1088 the expand and fill properties in GtkHBox.
1089 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1091 Fixes: NB#108265 (Animation banner not properly centered)
1093 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1095 * hildon/hildon-pannable-area.c
1096 (hildon_pannable_area_initial_effect): Remove the initial_effect
1097 management, check initial_hint
1098 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1099 set initial_effect to FALSE
1100 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1101 by launching the fade_timeout if the scrollbars state has changed and are
1103 * examples/hildon-pannable-area-initial-hint-example.c
1104 Modified to allow to remove rows too. Add and remove rows one by one.
1106 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1108 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1109 Don't close the menu if there's an animation actor below it.
1111 Fixes: NB#117927 (Application menu not usable with animation
1114 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1116 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1117 "focus-on-click" from the dialog button, to avoid stealing the
1118 focus from the entry.
1120 Fixes: NB#118903 (Account setup wizard: Text in Search field
1121 should be focused when "Region" touch list picker is reopened
1124 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1126 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1127 (prepare_action_area): Completely hide the dialog separator.
1129 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1131 * hildon/hildon-touch-selector-entry.c
1132 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1133 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1134 now that the entry is exposed.
1136 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1138 * hildon/hildon-touch-selector-entry.c
1139 (hildon_touch_selector_entry_init): Change the entry's size
1140 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1142 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1144 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1145 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1146 avoid unnecessary scaling.
1148 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1150 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1151 Create grab transfer window before calling parent's map function.
1153 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1154 "crushed" button(s) in the top left corner)
1156 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1158 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1159 Check if the window is already realized when pushing it.
1161 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1163 * configure.ac: post release version bump
1164 * debian/changelog: post release version bump
1166 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1171 * configure.ac: Bump version.
1172 * debian/changelog: Updates.
1174 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1176 * hildon/hildon-app-menu.c: Doc updates.
1178 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1180 * hildon/hildon-banner.c: Remove leftover macro.
1182 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1184 * hildon/hildon-pannable-area.c,
1185 (hildon_pannable_area_scroll_indicator_fade),
1186 (hildon_pannable_area_button_release_cb): Reviewed vmin
1187 conditions, it could cause problems in the fadeout procedure.
1189 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1191 * hildon/hildon-pannable-area.c
1192 (hildon_pannable_area_button_release_cb): Added a threshold to
1193 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1195 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1197 * hildon/hildon-pannable-area.c,
1198 (hildon_pannable_area_set_property): Added code to sync the gtk
1199 dnd threshold with the panning threshold.
1201 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1203 * hildon/hildon-pannable-area.c,
1204 (hildon_pannable_area_class_init): Changed some of the default
1205 values, now it should be less responsive and more accurate.
1207 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1209 * hildon/hildon-pannable-area.c,
1210 (hildon_pannable_area_init),
1211 (hildon_pannable_area_scroll_indicator_fade),
1212 (hildon_pannable_area_button_press_cb),
1213 (hildon_pannable_axis_scroll),
1214 (hildon_pannable_area_timeout),
1215 (hildon_pannable_area_motion_notify_cb),
1216 (hildon_pannable_area_button_release_cb): Changed the name of the
1217 clicked attribute to button_pressed, it is more clear about its use.
1219 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1221 * src/hildon-pannable-area.c
1222 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1224 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1225 vertical scrollbar visibility, and use the data on private section instead,
1226 remove the initial_hint check
1227 (hildon_pannable_area_expose_event): add the initial_hint check here
1229 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1231 * src/hildon-pannable-area.c
1232 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1233 if the fadeout effect was used
1234 (hildon_pannable_area_expose_event): check if it is required to
1235 manage the initial effect on the begining of the function. Previously
1236 it was made at the end, but this doesn't ensure that the scrollbars
1237 will be painted on the first show. Do not set to FALSE initial_effect,
1238 to ensure that the initial hint is showed the first time the pannable
1240 * examples/Makefile.am
1241 * examples/hildon-pannable-area-initial-hint-example.c:
1242 New example, to show that the initial-hint is showed when the widget
1245 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1246 initially if the application can be scrolled)
1248 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1250 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1251 Resize table before adding new items to make sure that
1252 gtk_table_resize() is called just once.
1254 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1256 * hildon/hildon-app-menu-private.h
1257 * hildon/hildon-app-menu.c (item_visibility_changed)
1258 (filter_visibility_changed, hildon_app_menu_show_all)
1259 (hildon_app_menu_hide_all, hildon_app_menu_init):
1260 Rearrange items just once when gtk_widget_show_all()/hide_all()
1263 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1265 * hildon/hildon-app-menu.c
1266 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1267 Don't call gtk_widget_show() on added items.
1269 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1270 automatically when they're added)
1272 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1274 * hildon/hildon-banner.c
1275 (hildon_banner_realize, +hildon_banner_unrealize)
1276 (+screen_size_changed, hildon_banner_class_init):
1277 Redisplay the banner if the screen is rotated.
1279 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1280 on transition from landscape to portrait)
1282 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1284 * hildon/hildon-banner.[ch]:
1285 (hildon_banner_show_information_override_dnd): remove icon_name from the
1286 method definition as it is ignored.
1287 * examples/hildon-banner-dnd-example.c: updated with the change on
1290 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1292 * hildon/hildon-banner-private.h: new require_override_dnd and
1293 overrides_dnd variables
1294 * hildon/hildon-banner.h:
1295 (hildon_banner_show_information_override_dnd): new method, that shows
1296 the information but sets the override flag, in order to show important
1298 * hildon/hildon-banner.c
1299 (hildon_banner_show_information_override_dnd): new method
1300 (hildon_banner_set_override_flag): new utility function
1301 (hildon_banner_real_show_information): new utility function, in order to
1302 generalize the current hildon_banner_show_information_override_dnd and
1303 hildon_banner_show_information_override_dnd
1304 * examples/Makefile.am
1305 * examples/hildon-banner-dnd-example.c: New example that show how to
1306 use the new hildon_banner_show_information_override_dnd
1308 Fixes: NB#114874 (There is no possibility to show hildon banners with
1311 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1313 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1314 behind hildon_pannable_calculate_vel_factor().
1316 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1318 * hildon/hildon-pannable-area.c
1319 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1320 deceleration factors.
1322 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1324 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1325 Reduce the default value for 'scroll_time' to 1 second, since the
1326 current initial scrolling takes too much time.
1328 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1330 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1331 calculate velocity factor during initialization, since the properties
1334 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1336 * hildon/hildon-pannable-area.c
1337 (hildon_pannable_area_set_property): Calculate the velocity factor
1338 after setting the deceleration property and not after.
1340 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1342 * hildon/hildon-entry.c
1343 (hildon_entry_class_init, +set_property, hildon_entry_new)
1344 * hildon/hildon-check-button.c
1345 (hildon_check_button_class_init)
1346 (+set_property, hildon_check_button_new):
1347 Make the theme size a property.
1349 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1350 others) do too much in the _new function)
1352 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1354 * configure.ac: post release version bump
1355 * debian/changelog: post release version bump
1357 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1362 * configure.ac: Bump version.
1363 * debian/changelog: Updates.
1365 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1367 * hildon/hildon-gtk.h
1368 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1369 New API function to take a screenshot of a window
1371 Fixes: NB#106374 (Need API to take a loading screenshot)
1373 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1375 * hildon/hildon-time-selector.c
1376 (update_format_policy): prevent to use hours and minutes unitialized
1378 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1380 * hildon/hildon-window.c (hildon_window_size_request):
1381 Always request the full size of the screen (minus the title bar if
1382 not in fullscreen mode).
1384 Fixes: NB#107486 (HildonWindow should size itself properly)
1386 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1388 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1389 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1390 (on_show_cb), (sound_handling): Disconnect the idle handler for
1391 the sound when the note is finalized to avoid possible crashes.
1393 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1396 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1398 * src/hildon-animation-actor.c,
1399 * src/hildon-remote-texture.c:
1400 Added proper object cleanup to remove signal handler and object
1401 references as HildonAnimationActor and HildonRemoteTexture
1402 objects get destroyed.
1404 Fixes: NB#116682 (Destroying parented animation actors when
1405 parent in unmapped leads to crash)
1407 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1409 Based on a patch by Christian Dywan (christian@imendio.com)
1411 * doc/hildon-sections.txt:
1412 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1413 * hildon/hildon-helper.h: New file size formatting method.
1415 * debian/control: Depend on osso-filemanager l10n package for
1416 proper localization strings.
1418 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1420 * tests/Makefile.am: Include top_srcdir to make possible to build
1421 tests in a different builddir.
1422 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1423 on a different builddir.
1425 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1427 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1428 (hildon_touch_selector_remove): Disconnect model's signal handler
1431 Fixes: NB#116289 (Hildon home crashes while adding task
1434 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1436 * hildon/hildon-button.c
1437 (hildon_button_set_title, hildon_button_set_value):
1438 Hide labels containing an empty string.
1440 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1442 * configure.ac: post release version bump
1443 * debian/changelog: post release version bump
1445 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1450 * configure.ac: Bump version.
1451 * debian/changelog: Updates.
1453 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1455 * hildon/hildon-note-private.h: Removed sound_signal_handler
1456 * hildon/hildon-note.c
1457 (on_show_cb): new callback on note "show" event, this simply adds
1458 a idle, with the function sound_handling
1459 (sound_handling): removed the sound_signal_handler management
1460 (hildon_note_init): connect note "show" event to on_show_cb
1461 (hildon_note_realize): remove the connection to "expose-event"
1463 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1464 device?' confirmation note)
1466 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1468 * hildon/hildon-note.c
1469 (hildon_note_new_information_with_icon_name)
1470 (hildon_note_new_confirmation_with_icon_name):
1471 Terminate the list of parameters in g_object_set() calls
1473 Fixes: NB#115166 (Formatting memory card is not taking place)
1475 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1477 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1478 "dialog-information" role for the sound being played.
1480 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1482 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1483 Don't make the menu a modal window, it causes strange interactions
1484 with the pointer grab and it's not really needed.
1486 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1488 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1490 * hildon/hildon-touch-selector.[ch]
1491 (hildon_touch_selector_optimal_size_request): function added to get a
1492 optimal size request from the touch selector, when you want a dialog to
1493 show as much of the selector
1494 * hildon/hildon-picker-dialog.c:
1495 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1496 (hildon_app_menu_class_init):
1497 New "max-height-landscape" and "max-height-portrait" style properties
1498 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1499 (hildon_picker_dialog_get_max_height): returns the maximum height using
1500 the style properties defined and checking the current portrait/landscape
1502 (_hildon_picker_dialog_set_selector): removed the set_size_request
1504 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1506 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1508 * hildon/hildon-bread-crumb-trail.c:
1509 * hildon/hildon-bread-crumb.c:
1510 * hildon/hildon-seekbar.c:
1511 Add reference to replacements for these deprecated widgets.
1513 Fixes: MB#4461 (Documentation: All deprecations should mention
1516 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1518 * examples/hildon-remote-texture-example.c
1520 Change the include to the hildon-remote-texture in order to compile
1521 properly the examples on the installed libhildon1-examples package
1523 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1525 * tests/Makefile.am: Add check for HildonPickerButton.
1526 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1527 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1528 checks for the HildonPickerButton.
1529 * tests/check_test.c (configure_tests): Add the test suite.
1530 * tests/test_suites.h: likewise.
1532 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1534 * hildon/hildon-touch-selector.c
1535 (+on_row_changed): Emit HildonTouchSelector:changed when the
1536 contents of a selected row change.
1537 (_create_new_column), (_hildon_touch_selector_set_model): connect
1538 to GtkTreeModel:row-changed on a newly set model.
1540 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1542 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1544 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1546 * hildon/hildon-banner.c (hildon_banner_destroy)
1547 (hildon_banner_show_progress, hildon_banner_set_fraction):
1548 Remove the progress bar from HildonBanner and use a progress
1551 Fixes: NB#113761 (Update progress banner to use progress
1554 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1556 * hildon/hildon-banner.c:
1557 Calculate size of the banner label using the actual screen width
1558 rather than using a fixed value.
1560 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1563 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1565 * hildon/hildon-pannable-area.c,
1566 (hildon_pannable_area_class_init): Fixed signals documentation
1569 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1571 * configure.ac: post release version bump
1572 * debian/changelog: post release version bump
1574 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1579 * configure.ac: Bump version.
1580 * debian/changelog: Updates.
1582 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1584 * hildon/hildon-edit-toolbar.c
1585 (hildon_edit_toolbar_init):
1586 Don't let buttons in HildonEditToolbar receive focus.
1588 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1589 typing on an HW arrows key)
1591 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1593 * doc/Makefile.am: Fix build.
1595 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1597 * doc/Makefile.am: Do not redefine content_files.
1599 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1607 Renamed src/ to hildon/
1612 Include <hildon/hildon.h> directly in all examples.
1614 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1616 * src/hildon-sort-dialog.c
1617 (hildon_sort_dialog_add_sort_key_with_sorting)
1621 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1623 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1624 make distcheck passes.
1626 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1628 * Makefile.am: Enable gtk-doc during distcheck.
1630 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1632 * Makefile.am: Do not distribute the debian/ directory.
1634 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1636 * doc/Makefile.am: Add the extra SGML files to content_files,
1637 so that they are distributed properly.
1639 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1641 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1644 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1646 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1647 (hildon_note_new_information_with_icon_name): Set the "icon" property
1648 to preserve soundness.
1650 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-font-selection-dialog.c
1653 (hildon_font_selection_dialog_set_property): Fail when the "family"
1654 property is set to NULL.
1656 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1658 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1661 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1663 * src/hildon-time-selector.h:
1664 Added HildonTimeSelectorFormatPolicy
1665 * src/hildon-time-selector.c:
1666 Added PROP_TIME_FORMAT_POLICY
1667 (_check_ampm_format): renamed to check_automatic_ampm_format
1668 (update_format_policy), (update_format_dependant_columns): new functions
1669 (hildon_time_selector_class_init)
1670 (hildon_time_selector_contructor)
1671 (hildon_time_selector_init)
1672 (hildon_time_selector_get_property)
1673 (hildon_time_selector_set_property)
1674 (hildon_time_selector_get_time)
1675 (hildon_time_selector_set_time)
1676 * src/hildon-touch-selector.h: new file
1677 * src/hildon-touch-selector.c
1678 (hildon_touch_selector_emit_changed)
1679 (hildon_touch_selector_block_changed)
1680 (hildon_touch_selector_unblock_changed)
1681 Added functions to allow to block the emission of the "changed" signal
1682 * src/hildon-picker-dialog.c
1683 (hildon_picker_dialog_show): call the parent show before the custom code
1684 * examples/hildon-time-button-example.c
1685 Modified, so now you can configure the time format using the new property
1687 Added a new property "time-format-policy" that allow to choose the time
1688 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1689 case it uses gconf in order to check if the time selector must use
1692 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1695 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1697 * src/hildon-note.c (hildon_note_init):
1698 Label in HildonNote must be left aligned, not centered. This
1699 reverts the last commit in HildonNote.
1701 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1702 is connectivity dialog)
1704 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1709 * doc/hildon-sections.txt:
1710 Added hildon_gtk_window_set_do_not_disturb()
1712 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1714 * src/hildon-note.c (hildon_note_init): Center label.
1716 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1719 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1724 * configure.ac: Bump version.
1725 * debian/changelog: Updates.
1727 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1729 * src/hildon-note-private.h: Add button-width to the private data.
1730 * src/hildon-note.c (+resize_button),
1731 (+hildon_note_orientation_update): methods to repack widgets on orientation
1733 (screen_size_changed): Call above method for confirmation notes.
1734 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1735 (hildon_note_rebuild): Store the original width request from buttons.
1737 Fixes: NB#109635 (Confirmation notes do not support portrait)
1739 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1741 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1742 when it is a progress note.
1744 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1747 in the note, since there are no horizontally arranged contents.
1749 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-gtk.c (+set_flag): new generic method to
1752 set/delay a flag setting in a window.
1753 (hildon_gtk_window_set_progress_indicator):
1754 (hildon_gtk_window_set_do_not_disturb),
1755 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1756 avoid code redundance.
1758 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1760 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1762 * src/hildon-gtk.c (set_clear_window_flag),
1763 (do_set_progress_indicator), (do_set_do_not_disturb),
1764 (do_set_portrait_flags),
1765 (hildon_gtk_window_set_progress_indicator),
1766 (hildon_gtk_window_set_do_not_disturb),
1767 (hildon_gtk_window_set_portrait_flags):
1768 Allow setting dnd-flag, progress indicator, and portrait flags
1769 when the window is not realized.
1771 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1773 * src/hildon-pannable-area.c,
1774 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1775 the size request policy function and defines.
1777 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1779 * doc/hildon-sections.txt: Add the new API.
1780 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1781 method to set the portrait flags.
1782 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1784 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1786 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1789 to allow using this method with other flags.
1790 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1791 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1793 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1795 * src/hildon-touch-selector.c
1796 (hildon_touch_selector_append_text_column):
1797 Make the cell renderer use the smallest width possible.
1799 Fixes: NB#108470 (Selected items in multiple selection are either
1800 having a tick that is cut or not visible at all.)
1802 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-touch-selector.c
1805 (hildon_touch_selector_append_text_column):
1808 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1810 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1811 Use g_strdup_printf() instead of a fixed size buffer.
1813 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1815 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1816 Close banners when a HildonAppMenu is popped up.
1818 Fixes: NB#111027 (Title menu closed immediately if activated when
1819 "Invalid e-mail address" banner is shown)
1821 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: Bump version.
1827 * debian/changelog: Updates.
1829 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-banner.c (hildon_banner_realize):
1832 Mark HildonBanner as supporting portrait mode.
1833 Use GDK to set window properties insetad of direct Xlib calls.
1835 Fixes: NB#111830 (HildonBanner should be marked as supporting
1838 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-note.c (hildon_note_rebuild):
1841 Hide action area in information notes. Prevents text from being
1842 slightly aligned to the left.
1844 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1847 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1849 Patch by Mox Soini (ext-mox.soini@nokia.com)
1851 * src/hildon-banner.c (hildon_banner_create_animation):
1852 Use stylus-sized icons in animation banner.
1854 Fixes: NB#111206 (stylus sized icon for animation banner)
1856 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1860 (+hildon_gtk_window_set_do_not_disturb):
1861 New API to set the do-not-disturb flag.
1863 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1865 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1867 * examples/hildon-progress-indicator-example.c: Fix example
1869 * src/hildon-gtk.c (set_clear_window_flag)
1870 (hildon_gtk_window_set_progress_indicator):
1871 Create a generic function for setting flags to a window.
1872 Use GDK instead of direct Xlib calls.
1874 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1876 * src/hildon-button.c (hildon_button_set_arrangement):
1877 Due to NB#88126, if one of the labels is too long it will be
1878 painted outside the button. The 'value' label is more likely to be
1879 the longest one, so we change its packing options in order to
1880 truncate it if necessary. As a side effect, the 'title' label will
1881 no longer be truncated.
1883 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1885 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1890 * configure.ac: Bump version.
1891 * debian/changelog: Updates.
1893 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1895 Deprecation of the hildon_pannable_area_set_size_request_policy
1896 API, the only policy properly supported in gtk+ nowadays is the
1899 * src/hildon-pannable-area.c,
1900 (hildon_pannable_area_size_request): Added a workaround for the
1901 size_request to avoid the problems of huge pixmaps in case someone
1902 is still using the function.
1903 * src/hildon-pannable-area.h: Deprecated the enum with the
1906 Fixes: NB#110244 (Problems with the
1907 hildon_pannable_area_set_size_request_policy API)
1909 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_init),
1913 (hildon_pannable_area_size_request),
1914 (hildon_pannable_area_style_set),
1915 (hildon_pannable_draw_vscroll),
1916 (hildon_pannable_draw_hscroll),
1917 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1918 indicator_width to clarify the use of the attribute.
1920 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1925 * configure.ac: Bump version.
1926 * debian/changelog: Updates.
1928 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1930 * src/hildon-picker-dialog.c
1931 * src/hildon-touch-selector.c
1932 Reverting the change that tried to avoid the hardcoded height on
1933 the picker dialog, as causes problems on the hildon-touch-selector
1936 Fixes: NB#110029 (selectors not scrolling to selected value)
1938 2009-04-07 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-touch-selector.c: Fix typos
1942 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
1945 Use the event coordinates instead of gdk_window_get_pointer(). Also,
1946 request more motions after using it.
1948 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1950 * src/hildon-calendar.c (hildon_calendar_expose),
1951 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
1952 Remove unused variables.
1954 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1956 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
1957 variable assignment.
1959 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
1961 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
1962 Check the return value of gtk_tree_selection_get_selected()
1965 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1967 * src/hildon-animation-actor.c
1968 * src/hildon-button.c
1970 * src/hildon-pannable-area.c
1971 * src/hildon-picker-button.c
1972 * src/hildon-program.c
1973 * src/hildon-remote-texture.c
1974 * src/hildon-text-view.c
1975 * src/hildon-touch-selector.c
1976 * src/hildon-window-stack.c
1977 * src/hildon-window.c:
1978 Add missing 'Since: 2.2' tags.
1980 * doc/hildon-sections.txt:
1981 Add some missing symbols.
1983 * doc/hildon-docs.sgml:
1984 New 'Other' section for HildonAnimationActor and
1987 2009-04-06 Alberto Garcia <agarcia@igalia.com>
1989 Patch by Iván Gómez (igomez@igalia.com)
1992 * doc/compiling.sgml
1993 * doc/hildon-docs.sgml
1994 * doc/hildon-sections.txt
1995 * doc/migration.sgml
1996 * doc/resources.sgml
1998 New chapters on using the Hildon library.
1999 Updated the general structure of the reference manual.
2000 Other minor documentation fixes.
2002 * src/hildon-calendar-popup.c
2003 * src/hildon-calendar.c
2004 * src/hildon-controlbar.c
2005 * src/hildon-date-editor.c
2006 * src/hildon-dialog.c
2007 * src/hildon-hvolumebar.c
2008 * src/hildon-number-editor.c
2009 * src/hildon-range-editor.c
2010 * src/hildon-sort-dialog.c
2011 * src/hildon-time-editor.c
2012 * src/hildon-time-picker.c
2013 * src/hildon-volumebar-range.c
2014 * src/hildon-volumebar.c
2015 * src/hildon-vvolumebar.c
2016 * src/hildon-weekday-picker.c:
2017 Add deprecation notes
2019 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2020 Document 'horizontal-movement' and 'vertical-movement' signals.
2022 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2027 * configure.ac: Bump version.
2028 * debian/changelog: Updates.
2030 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2032 * src/hildon-pannable-area.c,
2033 (hildon_pannable_area_class_init): increased the minimum velocity.
2034 (hildon_pannable_area_button_release_cb): Updated the
2035 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2036 setup. Review the code to control that last event.
2038 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2041 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2043 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2045 * src/hildon-get-password-dialog.c
2046 (hildon_get_password_set_property),
2047 (hildon_get_password_get_property), (create_contents):
2048 * src/hildon-login-dialog-private.h:
2049 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2050 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2051 (hildon_login_dialog_get_password):
2052 * src/hildon-set-password-dialog-private.h:
2053 * src/hildon-set-password-dialog.c
2054 (hildon_set_password_set_property),
2055 (hildon_set_password_get_property), (create_contents),
2056 (hildon_set_password_response_change),
2057 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2059 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2060 instead and look more Fremantle style.
2062 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2064 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2066 * doc/hildon-sections.txt
2067 * src/hildon-window-stack.h
2068 * src/hildon-window-stack.c
2069 (+hildon_window_stack_get_windows):
2070 New API to obtain the list of windows on a stack.
2072 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-app-menu.c (hildon_app_menu_popup)
2075 (hildon_app_menu_class_init, -hildon_app_menu_show):
2076 Remove hildon_app_menu_show() and move all its checks to
2077 hildon_app_menu_popup()
2079 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2081 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2082 (_hildon_picker_dialog_set_selector): removed call to
2083 gtk_widget_set_size_request
2084 * src/hildon-touch-selector.c
2085 (_create_new_column): change the pannable size request policy
2087 Avoid to use a hardcoded height for the hildon picker dialog. In order
2088 to get that, we needed to change the hildon pannable size request
2090 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2092 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2095 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2098 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2100 * debian/control: Depend on osso-system-lock localization package.
2101 * src/hildon-code-dialog.c: Obtain the secu_application_title
2102 translation from osso-system-lock.
2103 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2104 for translation the atk related strings, that's not necessary.
2105 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2106 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2107 cancel button, it is not required.
2109 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2111 * src/hildon-pannable-area.c,
2112 (hildon_pannable_area_class_init): Modified the default value of
2113 the overshooting max speed, we have reduced it.
2115 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2117 * doc/hildon-sections.txt
2118 * src/hildon-window-private.h
2119 * src/hildon-window.h
2120 * src/hildon-window.c (hildon_window_class_init)
2121 (hildon_window_init, hildon_window_finalize)
2122 (hildon_window_realize, hildon_window_get_property)
2123 (hildon_window_set_property, hildon_window_update_markup)
2124 (hildon_window_get_markup, hildon_window_set_markup):
2125 New "markup" property and hildon_window_{get,set}_markup() methods.
2127 * examples/hildon-stackable-window-example.c (new_window):
2128 Update example to use hildon_window_set_markup()
2130 Fixes: NB#106375 (Need API to retitle a window with a title
2133 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2135 * src/hildon-pannable-area.c,
2136 (hildon_pannable_area_class_init): Changed the default value of
2137 the initial_hint to TRUE.
2138 (hildon_pannable_area_initial_effect): Changed the initial effect,
2139 not the effect is just the fade-out of the scrollbars.
2141 Fixes: NB#107775 (No scrollbars can be seen when several items are
2142 available in a dialog)
2144 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2146 * src/hildon-program.c (hildon_program_update_top_most):
2149 Fixes: NB#109179 (Memory leak in Hildon program)
2151 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2153 * src/hildon-banner.c (-get_current_app_window):
2154 Remove unused function.
2156 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2158 * src/hildon-pannable-area.c: Modified the documentation of the
2159 get adjustments functions to explain the problem of using the
2160 adjustment directly.
2161 (hildon_pannable_area_class_init): Improved the explanation about
2164 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2166 * src/hildon-app-menu-private.h
2167 * src/hildon-app-menu.c
2168 (hildon_app_menu_class_init):
2169 Bring back the 'external-border' style property
2170 (hildon_app_menu_class_init, hildon_app_menu_init)
2171 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2172 Set a fixed width-request for the menu, independent of the number
2175 Fixes: NB#94957 (Smoothly opened application menu)
2177 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2179 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2181 * src/hildon-banner.c
2182 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2184 Make sure that the banner is correctly placed the first time it's
2186 (hildon_banner_check_position, -check_fullscreen_state):
2187 Show the banner in the same place no matter if the window is in
2188 fullscreen mode or not.
2190 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2192 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-touch-selector.c (_default_print_func): reorder
2195 concatenation for clarity.
2197 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2200 for multicolumn selectors.
2202 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2204 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2209 * configure.ac: Bump version.
2210 * debian/changelog: Updates.
2212 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2214 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2217 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2219 * configure.ac: removed libcangerra-gtk dependency
2220 * debian/control: removed libcanberra-gtk dependency
2221 * src/Makefile.am: removed libcanberra gtk related flags
2222 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2223 context, and manage a global canberra context instead
2225 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2227 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2229 Patch by Daniel Borgmann (danielb@openismus.com)
2231 * src/hildon-edit-toolbar.c:
2232 Adjust the left padding.
2233 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2234 Paint background of the edit toolbar.
2236 Fixes: NB#107897 (Patch to make editmodetoolbar background
2237 themeable and adjust margin)
2239 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2241 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2243 * src/hildon-program.c (hildon_program_update_top_most):
2244 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2246 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2247 change when the user tasks in/out of an application)
2249 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2251 * configure.ac: added libcangerra-gtk dependency
2252 * debian/control: added libcanberra-gtk dependency
2253 * src/Makefile.am: added libcanberra gtk related flags
2254 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2257 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2259 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-program.c (hildon_program_remove_window)
2262 (hildon_program_add_window): Add checks for the window
2263 parameter. Don't decrease the window counter if the window is not
2266 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2268 * src/hildon-pannable-area.c,
2269 (hildon_pannable_area_realize): Fixed position of the event_window
2270 in the realize method.
2272 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2274 * src/hildon-app-menu-private.h
2275 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2276 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2277 (hildon_app_menu_key_press, hildon_app_menu_init)
2278 (hildon_app_menu_finalize):
2279 Make sure that all idle functions are removed when the widget is
2282 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2284 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: Bump version.
2290 * debian/changelog: Updates.
2292 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/hildon-entry.c
2295 (+hildon_entry_show_placeholder),
2296 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2297 that replace hildon_entry_update_contents().
2298 (hildon_entry_set_text),
2299 (hildon_entry_set_placeholder),
2300 (hildon_entry_focus_in_event),
2301 (hildon_entry_focus_out_event): Determine when it is needed
2302 either to show or hide the placeholder and call the above methods.
2304 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2305 when the placeholder text is already set)
2307 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2310 simple GdkPixbufAnim using the new icons for the banner.
2311 (hildon_banner_show_animation): Use the above mentioned method to
2312 create the animation widget.
2314 Fixes: NB#103564 (Make hildon animation banner use individual
2315 image files as the animation)
2317 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2319 * src/hildon-pannable-area.c,
2320 (hildon_pannable_leave_notify_event): Check if the child is NULL
2321 to avoid sending the leave.
2323 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2325 * src/hildon-pannable-area.c,
2326 (hildon_pannable_area_class_init),
2327 (hildon_pannable_leave_notify_event): Added a handler of the
2328 leave-notify-signal to consider when no motion notify before
2331 Fixes: NB#107494 (Items stay selected when clicking and moving
2332 away when inside pannable area)
2334 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2339 * configure.ac: Bump version.
2340 * debian/changelog: Updates.
2342 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2344 Patch by Alberto Garcia (agarcia@igalia.com)
2346 * src/hildon-date-button.c,
2347 (hildon_date_button_class_init),
2348 (hildon_date_button_init): Removed the construct property handling
2349 and created a default selector in the init method.
2350 * src/hildon-picker-button.c,
2351 (hildon_picker_button_class_init): Removed the construct flag of the
2354 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2356 * src/hildon-main.c (hildon_init):
2357 Don't allow hildon_init() to be called more than once.
2359 Fixes: NB#106607 (hildon_init should issue error message upon
2362 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2364 * examples/hildon-pannable-area-touch-list-example.c
2365 * examples/hildon-pannagle-area-touch-grid-example.c
2366 * examples/hildon-edit-toolbar-example.c
2367 * examples/hildon-touch-selector-multi-cells-example.c
2368 Removed the call to gtk_rc_parse_string, as it is not required since
2371 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2373 * src/hildon-pannable-area.c,
2374 (hildon_pannable_area_class_init): Modified the default panning
2375 threshold of the widget to 6px.
2377 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2378 than the threshold value ) within the button is not sending the
2381 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2383 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2384 for the treeview in the new column. This way, the touch list will never
2387 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2388 be selected manually for the HW keys to work)
2390 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2393 comparison instead of using strcmp(). Fixes a compiler warning as well.
2395 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2397 * doc/hildon-docs.sgml: Do not set the library version in the
2398 document title, use the releaseinfo tag for that purpose instead.
2400 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2403 Do not jump to the first item if the text in the entry is removed.
2405 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2410 * configure.ac: Bump version.
2411 * debian/changelog: Updates.
2413 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-entry.c (hildon_entry_refresh_contents):
2416 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2417 Use "ReversedSecondaryTextColor" for the placeholder text.
2419 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2421 * src/hildon-text-view.c: Fix compilation warning.
2423 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2425 * src/hildon-button.c (hildon_button_class_init): Don't make
2426 "title" and "value" construction properties, to prevent them from
2427 overwriting labels set from derived classes.
2429 * src/hildon-picker-button.c
2430 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2431 (hildon_picker_button_class_init): Make touch-selector a
2432 construction property.
2434 * src/hildon-date-button.c (hildon_date_button_class_init)
2435 (+hildon_date_button_constructed): Add a default date selector if
2438 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2440 * src/hildon-touch-selector.c: Small documentation fixes.
2442 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2444 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2446 * src/hildon-entry.c (hildon_entry_refresh_contents),
2447 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2448 widget name, set the logical color directly instead and a boolean
2449 showing_placeholder instead.
2450 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2451 use the widget name here either.
2453 Fixes: NB#105678 (HildonTextView should use logical colours
2454 instead of setting widget name)
2456 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2458 Patch by Daniel Elster (danielk@openismus.com)
2460 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2461 Add user_data parameter.
2462 (hildon_touch_selector_set_print_func_full): New function akin
2463 hildon_touch_selector_set_print_func() but with support for user
2464 data and a destroy callback.
2465 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2466 to clean up the print function user data.
2467 (hildon_touch_selector_class_init): Install dispose function.
2468 (HildonTouchSelectorPrivate::print_user_data),
2469 (HildonTouchSelectorPrivate::print_destroy_func): New private
2471 (hildon_touch_selector_init): Initialize new private members.
2472 (hildon_touch_selector_get_current_text): Pass along user data
2473 to the print function.
2474 (_default_print_func): Add dummy user_data to parameter list.
2475 * hildon-date-selector.c (_custom_print_func): ditto,
2476 * hildon-time-selector.c (_custom_print_func): ditto,
2477 * hildon-touch-selector-entry.c
2478 (hildon_touch_selector_entry_print_func): ditto.
2480 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2482 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2484 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2486 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2488 * src/hildon-pannable-area.c,
2489 (hildon_pannable_area_init),
2490 (hildon_pannable_area_button_press_cb),
2491 (hildon_pannable_area_motion_notify_cb): We have added code to
2492 handle the leave and enter events when using the motion events.
2494 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2496 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-date-button.c (hildon_date_button_get_date)
2499 (hildon_date_button_set_date): Make sure that the button has a
2502 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2504 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2506 * src/hildon-pannable-area.c,
2507 (hildon_pannable_area_class_init),
2508 (hildon_pannable_area_calculate_velocity): Modify the use of the
2509 force and adapt the value.
2511 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2513 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2514 (hildon_app_menu_class_init): Hide the menu if it receives a
2515 delete-event, but don't destroy it
2517 Fixes: NB#104485 (Not able to address the call when application
2518 menu is opened at background)
2520 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-app-menu.c
2523 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2524 Remove the "external-border" style property, let the menu take its
2525 natural size (or the one set by the window manager)
2526 (hildon_app_menu_repack_items):
2527 Don't reshow the menu, avoid flickers.
2529 Partially fixes NB#94957 (Smoothly opened application menu)
2531 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2536 * configure.ac: Bump version.
2537 * debian/changelog: Updates.
2539 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2541 * src/hildon-pannable-area.c,
2542 (hildon_pannable_area_motion_notify_cb): We control that the
2543 direction error margin is used just in case the movement is
2544 allowed in the other direction.
2546 Fixes: NB#105012 (buttons inside a pannable area not getting
2547 release event when dragging/releasing)
2549 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2551 * src/hildon-pannable-area.c,
2552 (hildon_pannable_area_class_init),
2553 (hildon_pannable_area_get_property),
2554 (hildon_pannable_area_set_property),
2555 (hildon_pannable_area_initial_effect),
2556 (hildon_pannable_axis_scroll),
2557 (hildon_pannable_area_button_release_cb): Reviewed the
2558 overshooting effect, now it has its own max
2559 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2560 speed when bouncing.
2562 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2567 * configure.ac: Bump version.
2568 * debian/changelog: Updates.
2570 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2572 * src/hildon-pannable-area.c,
2573 (hildon_pannable_area_class_init): Changed the max speed, now
2574 users can launch the widget very fast. Reduced the default force,
2575 that way it is easier to control the launch speed.
2577 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2579 * src/hildon-pannable-area.c,
2580 (hildon_pannable_area_button_release_cb): Removed this check
2581 because it causes problems when the device is overloaded.
2583 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2585 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2586 add a current_text field to store the text entered in the
2587 touch selector entry.
2588 (_clean_current_selection): clean up the current text as well.
2589 (_save_current_selection), (_restore_current_selection):
2590 Save/restore the text in the entry if the selector is a
2591 HildonTouchSelectorEntry.
2593 Fixes: NB#102541 (value entered in the touch selector entry is not
2594 shown when opened for second time)
2596 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2598 * doc/hildon-sections.txt:
2599 * src/hildon-touch-selector-entry.c
2600 (+hildon_touch_selector_entry_get_entry):
2601 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2603 Fixes: NB#104815 (I need accessor to the entry inside
2604 HildonTouchSelectorEntry)
2606 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2608 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2609 (hildon_app_menu_class_init):
2610 New "filter-vertical-spacing" style property.
2612 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-find-toolbar.c
2615 (hildon_find_toolbar_emit_close)
2616 (hildon_find_toolbar_emit_invalid_input)
2617 (hildon_find_toolbar_entry_activate):
2618 Use g_signal_emit() instead of g_signal_emit_by_name()
2620 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2622 Patch by Mox Soini (ext-mox.soini@nokia.com)
2624 * tests/TEST-CASES.txt
2625 * tests/check-hildon-banner.c
2626 * tests/check-hildon-note.c
2627 * src/hildon-banner.c
2628 * src/hildon-code-dialog.c
2629 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2630 * src/hildon-time-editor.c
2631 * examples/hildon-lookup-example.c (main):
2632 Replace obsolete icon names with new ones.
2634 * src/hildon-find-toolbar-private.h:
2635 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2636 (-hildon_find_toolbar_emit_search):
2637 Remove find button and change icon of close button.
2639 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2641 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2643 * src/hildon-time-button.c (hildon_time_button_new_step):
2644 Use the "touch-selector" property to set the selector directly
2645 when creating the object.
2647 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2649 Added a new example application that allows tuning the pannable
2650 area and replaced defines with properties in order to simplify the
2651 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2652 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2653 PROP_DIRECTION_ERROR_MARGIN.
2655 * examples/hildon-pannable-area-tuning-example.c: New example
2657 * src/hildon-pannable-area.c,
2658 (hildon_pannable_area_class_init),
2659 (hildon_pannable_area_init),
2660 (hildon_pannable_area_get_property),
2661 (hildon_pannable_area_set_property),
2662 (hildon_pannable_area_launch_fade_timeout),
2663 (hildon_pannable_area_adjust_value_changed),
2664 (hildon_pannable_axis_scroll),
2665 (hildon_pannable_area_motion_notify_cb),
2666 (hildon_pannable_area_scroll_cb),
2667 (hildon_pannable_area_button_release_cb): We have converted some
2668 of the defines that control the widget to properties to simplify
2671 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-app-menu.c (hildon_app_menu_map)
2674 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2675 so it's closed if a new window appears.
2677 Fixes: NB#104485 (Not able to address the call when application
2678 menu is opened at background)
2680 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2682 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2683 missing 'break' statement in in 'case' construct to avoid
2686 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/hildon-touch-selector-entry.c
2689 (hildon_touch_selector_entry_get_property),
2690 (hildon_touch_selector_entry_set_property): Add missing 'break'
2691 statements in in 'case' constructs to avoid incorrect warnings.
2693 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2695 * src/hildon-time-editor.c
2696 (hildon_time_editor_get_time_separators): Do not crash if
2697 the first label is NULL.
2699 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-date-selector.c (_month_days): Check for month to be
2702 strictly less than 12, since otherwise we may overrun the array.
2704 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2706 * src/hildon-date-button.c (+hildon_date_button_new_full)
2707 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2708 (hildon_date_button_init): Set the date selector using a
2709 construction property, to make it happen after HildonButton's
2710 "value" property is set.
2712 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2713 current date by default)
2715 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2717 * doc/hildon-sections.txt
2718 * src/hildon-program.c
2719 * src/hildon-stackable-window.c
2720 * src/hildon-window.c:
2721 Documentation updates
2723 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2726 (hildon_window_stack_new, +hildon_window_stack_set_property)
2727 (+hildon_window_stack_get_property)
2728 (hildon_window_stack_class_init)
2729 (+hildon_window_stack_set_window_group)
2730 (+hildon_window_stack_get_window_group):
2731 Make the window group a construction property.
2733 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2735 * doc/hildon-sections.txt
2736 * src/hildon-stackable-window-private.h
2737 * src/hildon-stackable-window.h
2738 * src/hildon-stackable-window.c
2739 (-hildon_stackable_window_set_app_menu)
2740 (-hildon_stackable_window_get_app_menu)
2741 (-hildon_stackable_window_toggle_menu)
2742 (-hildon_stackable_window_finalize)
2743 (hildon_stackable_window_class_init)
2744 (hildon_stackable_window_init)
2745 * src/hildon-window-private.h
2746 * src/hildon-window.h
2747 * src/hildon-window.c (hildon_window_init)
2748 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2749 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2750 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2751 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2752 Moved all HildonAppMenu code to HildonWindow. The menu does not
2753 require a HildonStackableWindow anymore.
2755 * src/hildon-app-menu.c
2756 * src/hildon-program.c
2757 * examples/hildon-app-menu-example.c (main):
2758 Update examples and documentation to reflect HildonAppMenu
2761 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2763 * src/hildon-remote-texture.c
2764 * src/hildon-animation-actor.c:
2765 Don't include unused private headers.
2767 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-program-private.h
2770 * src/hildon-program.c
2771 (hildon_program_set_common_menu)
2772 (hildon_program_get_common_menu)
2773 (hildon_program_set_common_app_menu)
2774 (hildon_program_get_common_app_menu):
2775 Change common menu pointers from GtkWidget* to GtkMenu* and
2776 HildonAppMenu* to avoid unnecessary casts.
2778 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2780 * src/hildon-window.c (hildon_window_set_main_menu):
2781 Removed incorrect 'Since:' tag
2783 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2785 * src/hildon-pannable-area.c,
2786 (hildon_pannable_area_calculate_velocity): We use now the
2787 RATIO_TOLERANCE here to check the distance, fixed typo in the
2789 (hildon_pannable_area_motion_notify_cb): We have to set the type
2790 and time even if we are not sending the motion.
2792 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2794 * doc/hildon-sections.txt
2795 * src/hildon-app-menu.h
2796 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2797 (+hildon_app_menu_get_filters): New methods to get the contents of
2800 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2803 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-app-menu.c (hildon_app_menu_popup):
2808 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-window.h
2811 * src/hildon-window.c (+hildon_window_get_main_menu)
2812 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2813 and deprecated hildon_window_get_menu().
2815 * src/hildon-stackable-window.h
2816 * src/hildon-stackable-window.c
2817 (+hildon_stackable_window_set_app_menu)
2818 (+hildon_stackable_window_get_app_menu)
2819 (hildon_stackable_window_set_main_menu): Created
2820 hildon_stackable_window_{get,set}_app_menu() and deprecated
2821 hildon_stackable_window_set_main_menu().
2823 * doc/hildon-sections.txt
2824 * examples/hildon-app-menu-example.c (main)
2825 * src/hildon-app-menu.c
2826 * src/hildon-program.c:
2827 Updated examples and documentation.
2829 Fixes: NB#103758 (No way to obtain a menu from a
2830 HildonStackableWindow)
2832 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2837 * configure.ac: Bump version.
2838 * debian/changelog: Updates.
2840 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2842 * examples/hildon-remote-texture-example.c: Include
2843 hildon-remote-texture.h explicitely.
2844 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2845 applications not defining _XOPEN_SOURCE which don't require this header.
2847 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2849 * doc/hildon-sections.txt
2850 * src/hildon-app-menu.h
2851 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2852 New function to pop up a HildonAppMenu
2854 * src/hildon-stackable-window.c
2855 (hildon_stackable_window_toggle_menu):
2856 Use hildon_app_menu_popup() to show the menu.
2858 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-app-menu.c (hildon_app_menu_show)
2861 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2862 menu if there's another window between it and its parent window.
2864 Fixes: NB#100468 (Application menu window is launched even when a
2865 new secondary-window/dialog is pending to be shown/realized)
2867 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-window-stack.c (hildon_window_stack_push)
2870 (hildon_window_stack_pop_and_push):
2871 Don't forget to push/pop the first window.
2872 Reverse the window list before calling _push_list()
2874 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-picker-button.h
2877 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2878 Remove "value_changed" slot to avoid ABI breakage
2880 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2882 * src/hildon-pannable-area.c,
2883 (hildon_pannable_area_realize),
2884 (hildon_pannable_area_unrealize),
2885 (hildon_pannable_draw_vscroll),
2886 (hildon_pannable_draw_hscroll): Changed the method to handle the
2887 GC used to draw the transparent scrollbar, this way we avoid
2888 creating the GC all the time when drawing the scrollbars.
2890 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2892 * src/hildon-pannable-area.c,
2893 (hildon_pannable_area_init),
2894 (hildon_pannable_area_remove): Removed some unnecessary casts.
2895 (hildon_pannable_area_dispose): Disconnected some signals before
2896 releasing the adjustments.
2898 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2901 Make sure that all widgets contained in the toolbar are shown.
2903 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2905 * doc/hildon-sections.txt
2906 * src/hildon-picker-button.h
2907 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2908 (_selection_changed, hildon_picker_button_on_dialog_response)
2909 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2910 New hildon_picker_button_value_changed() method.
2913 * src/hildon-picker-button-private.h
2914 * src/hildon-picker-button.c (hildon_picker_button_init)
2915 (+hildon_picker_button_disable_value_changed): Add protected
2916 function for disabling the "value-changed" signal.
2918 * src/hildon-date-button.c (hildon_date_button_set_date):
2919 Don't emit "value-changed" for each one of the three columns.
2921 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2922 before actual change of values)
2924 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2926 * src/hildon-pannable-area.c,
2927 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2928 for the treeview overshooting.
2930 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-banner.c (+hildon_banner_bind_style):
2933 Renamed from hildon_banner_bind_label_style(), now naming the
2934 banner itself as well.
2935 (hildon_banner_show_information),
2936 (hildon_banner_show_information_with_markup),
2937 (hildon_banner_show_animation), (hildon_banner_show_progress):
2938 Name the widgets and labels, based on their type.
2940 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2943 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2945 * src/hildon-note.c (hildon_note_set_property): call
2946 hildon_note_rename() on HildonNote:note-type set.
2947 (hildon_note_rename): Name the note and its label, based on the
2948 HildonNote:note-type property.
2950 See NB#98597 (Hildon Note and Hildon Banner should use themeable
2953 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2955 * src/hildon-pannable-area.c,
2956 (hildon_pannable_area_class_init),
2957 (hildon_pannable_area_motion_notify_cb): Reviewed the default
2958 panning parameters, increased SPS and deceleration factor. Added
2959 also a margin to control fake directions.
2961 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2963 Patch by Sven Herzberg (sven@imendio.com)
2965 * configure.ac: Add missing AM_PROG_CC_C_0
2966 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
2968 See NB#101420 (Update unit tests and fix make check)
2970 2009-02-23 Alejandro G. Castro <alex@igalia.com>
2972 This patch was applied before but reverted because it caused
2973 problems, we have changed the main condition and tested the
2974 regressions we detected before and they work ok. We have done a
2975 complete review of the topmost algorithm in order to get a more
2978 * src/hildon-pannable-area.c,
2979 (hildon_pannable_area_get_topmost): Added a new parameter to
2980 filter the the windows that do not include those events.
2981 (hildon_pannable_area_button_press_cb),
2982 (hildon_pannable_area_button_release_cb),
2983 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2984 topmost function, we have added the new parameter.
2986 Fixes: NB#97458 (Pannable area prevents propagation of button
2989 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
2992 if all columns in the selector have an item selected.
2993 (_on_dialog_response): Stop "response" signal emission if there is
2994 any selector column without selected items.
2996 Fixes: NB#101889 (Picker dialog should not close when nothing is
2997 selected in multiple selection list)
2999 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-font-selection-dialog.c
3002 (hildon_font_selection_dialog_class_init),
3003 (hildon_font_selection_dialog_init): Remove the preview
3004 button and dialog, since previewing with default theming is likely
3005 to be overcomplicated. The :preview property has now no effect.
3006 Update documentation blurbs to inform about this.
3008 Fixes: NB#92297 (Preview content is not clearly visible for
3009 default colour text)
3011 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3013 Reviewed the geometry that handles the children size and
3014 scrollbar, now it tries a size and reviews the results depending
3015 on the scrollbars visibility.
3017 * src/hildon-pannable-area.c,
3018 (hildon_pannable_area_realize): Fixed a typo.
3019 (hildon_pannable_area_child_allocate_calculate): Added this
3020 function to calculate the child allocation.
3021 (hildon_pannable_area_size_allocate): Reviewed the allocation
3023 (hildon_pannable_area_check_scrollbars),
3024 (hildon_pannable_area_refresh): Refactored refresh function, this
3025 way we can call the code handling the scrollbars without causing a
3026 size_request, it is interesting in the allocate.
3027 (hildon_pannable_area_init): Replace the callbacks of the
3028 value_changed and changed signals to propertly deal with the
3030 (hildon_pannable_area_grab_notify),
3031 (hildon_pannable_area_initial_effect),
3032 (hildon_pannable_area_launch_fade_timeout),
3033 (hildon_pannable_area_adjust_changed),
3034 (hildon_pannable_area_adjust_value_changed),
3035 (hildon_pannable_area_redraw),
3036 (hildon_pannable_area_button_press_cb),
3037 (hildon_pannable_area_button_release_cb),
3038 (hildon_pannable_area_scroll_cb),
3039 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3040 code and use the new functions adjust_changed and
3041 adjust_value_changed.
3043 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3044 Contact editor dialog)
3046 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3051 * configure.ac: Bump version.
3052 * debian/changelog: Updates.
3054 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3056 * src/hildon-pannable-area.c,
3057 (hildon_pannable_area_get_topmost),
3058 (hildon_pannable_area_button_press_cb),
3059 (hildon_pannable_area_button_release_cb),
3060 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3061 topmost function adding the event mask. We have to try a
3062 differente approach because it is still causing problems (NB#9745,
3065 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3067 * src/hildon-banner.c:
3068 Update the maximum width of timed banners.
3069 (force_to_wrap_truncated): Enforce the maximum text width if the
3072 Fixes: NB#102413 (The text margins (wrapping) in information
3073 banner should be HILDON_MARGIN_TRIPLE)
3075 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3077 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3079 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3080 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3081 bound when calculating the scroll indicator position.
3083 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3084 treat ->lower correctly)
3086 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3088 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3089 expose event handling, since it is not necessary to draw the focus
3092 Fixes: NB#102467 (Do not show highlight on the text in
3095 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3097 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3098 full height of the toolbar for the button and the label.
3100 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3103 padding before the label and after the button.
3105 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3109 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3110 Add a GtkVSeparator between the button and the back arrow.
3111 Let the button have automatic size.
3112 Set a name to the widget for theming handling.
3114 Fixes: NB#101793 (Make edit toolbar the same height as window
3115 title bar (use title area theming))
3117 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-helper.c (attach_new_color_element): Fix memory
3122 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3124 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3126 * examples/hildon-button-example.c (common_buttons_window): Don't
3129 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3131 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3132 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3134 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-gtk.c: Check that the window is realized.
3138 Fixes: NB#102225 (Crash setting the progress indicator to a non
3141 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3143 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3144 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3145 instead of modifying the one in the widget style.
3147 Fixes: NB#101043 (Second row of all the command button are
3148 displayed in transparent mode.)
3150 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-date-button.c
3153 * src/hildon-time-button.c: Add gettext macros
3155 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3157 * src/hildon-date-button.c (hildon_date_button_new):
3158 * src/hildon-time-button.c (hildon_time_button_new_step):
3159 Use new logical strings to set the button default title.
3161 Fixes: NB#99915 (Date and Time options are not localised in Date
3164 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3166 * src/hildon-pannable-area.c
3167 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3168 the PANNING_THRESHOLD.
3170 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3172 * src/hildon-pannable-area.c,
3173 (hildon_pannable_area_class_init): Increased the maximum speed.
3174 (hildon_pannable_area_get_property),
3175 (hildon_pannable_area_set_property),
3176 (hildon_pannable_area_timeout): Added a new low friction mode, it
3177 allows the user avoid friction when launching the widget fast
3178 enough. It is interesting to traverse long lists.
3180 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3183 (+hildon_stackable_window_delete_event): Ignore delete events if
3184 the window is not the topmost one.
3186 Fixes: NB#101698 (Back button long press and delete-event handling)
3188 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3190 * src/hildon-pannable-area.c,
3191 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3192 gtk-dnd-drag-threshold, it was too big. We have defined our own
3193 dnd define and set a smaller value: PANNIG_THRESHOLD.
3195 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3197 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3198 user-defined icons, use always the default one.
3200 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3202 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3204 This patch was applied before but reverted because it caused
3205 problems, we have changed the main condition and tested the
3206 regressions we detected before and they work ok.
3208 * src/hildon-pannable-area.c,
3209 (hildon_pannable_area_get_topmost): Added a new parameter to
3210 filter the the windows that do not include those events. Added
3211 also a condition when finding the window to filter windows that do
3212 not ask for those events.
3213 (hildon_pannable_area_button_press_cb),
3214 (hildon_pannable_area_button_release_cb),
3215 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3216 topmost function, we have added the new parameter.
3218 Fixes: NB#97458 (Pannable area prevents propagation of button
3221 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3223 * tests/check-hildon-color-button.c (START_TEST): do not leak
3226 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3228 * src/hildon-font-selection-dialog.c
3229 (hildon_font_selection_dialog_get_preview_text): Return NULL
3230 instead of FALSE on the g_return_val_if_fail().
3232 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3234 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3235 * src/hildon-date-selector.c
3236 (hildon_date_selector_select_current_date):
3237 Do not compare unsigned integers to be greater than or equal 0,
3238 because it's always TRUE.
3240 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3242 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3243 (hildon_date_selector_constructor): Do not select the current
3244 date until we are handle the "changed" signal, to avoid having bogus
3245 elements in the days model.
3247 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3249 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3250 for num_days, since _month_days() can return a negative value.
3252 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-caption.c (hildon_caption_size_allocate):
3255 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3256 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3258 Initialize allocation variables to 0, to avoid eventually using
3259 unitialized variables.
3261 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3263 * src/hildon-bread-crumb-trail.c
3264 (hildon_bread_crumb_trail_size_allocate):
3265 * src/hildon-calendar.c (hildon_calendar_set_background):
3266 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3267 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3268 * src/hildon-seekbar.c (hildon_seekbar_init):
3269 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3270 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3271 * src/hildon-touch-selector-entry.c
3272 (hildon_touch_selector_get_text_from_model):
3273 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3274 * src/hildon-window.c (hildon_window_finalize):
3276 Remove many unused variables.
3278 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3280 * src/hildon-seekbar.c: (hildon_seekbar_init),
3281 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3283 Remove unnecessary g_assert() calls.
3285 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3287 * src/hildon-caption.c: (hildon_caption_expose),
3288 (hildon_caption_set_property), (hildon_caption_init),
3289 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3290 (hildon_caption_size_request), (hildon_caption_size_allocate),
3291 (hildon_caption_forall), (hildon_caption_set_separator),
3292 (hildon_caption_activate), (hildon_caption_set_child_expand),
3293 (hildon_caption_set_label_text),
3294 (hildon_caption_get_label_alignment):
3296 Remove unnecessary g_assert() calls.
3298 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3300 * src/hildon-banner.c
3301 (hildon_banner_map, hildon_banner_init): Make banner temporary
3302 before mapping it to avoid closing other temporary windows, but
3303 make it non-temporary afterwards to avoid being closed by other
3304 non-temporary windows.
3305 (-hildon_banner_client_event, hildon_banner_init):
3306 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3308 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3311 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3316 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3318 * src/hildon-remote-texture.c
3319 * src/hildon-remote-texture.h
3320 * src/hildon-remote-texture-private.h
3321 * examples/hildon-remote-texture-example.c:
3322 Updates/fixes to remote-texture and its example.
3324 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3326 Patch by Mox Soini (ext-mox.soini@nokia.com)
3328 * src/hildon-code-dialog.c: Update logical id.
3329 * src/hildon-set-password-dialog.c: Update logical id.
3331 Fixes: NB#100646 (Logical strings is shown for ok in set
3332 password,Password needed dialogs)
3334 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3337 * src/hildon-remote-texture.c
3338 * src/hildon-remote-texture.h
3339 * src/hildon-remote-texture-private.h
3341 Added remote texture widget (for Clutter shared memory textures)
3343 * examples/hildon-remote-texture-example.c
3344 * examples/Makefile.am
3345 Added example file for remote texture usage
3347 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3349 * configure.ac: post release version bump.
3350 * debian/changelog: version bump.
3352 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3357 * configure.ac: Bump version.
3358 * debian/changelog: Updates.
3360 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3362 * src/hildon-date-selector.c (hildon_date_selector_init)
3363 (hildon_date_selector_constructor): Don't connect to the "changed"
3364 signal until the selector is completely constructed.
3366 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-touch-selector.c: (_create_new_column),
3369 (hildon_touch_selector_append_column),
3370 (hildon_touch_selector_set_column_selection_mode),
3371 (hildon_touch_selector_set_active),
3372 (hildon_touch_selector_select_iter):
3373 Emit the HildonTouchSelector::changed signal every time selection
3374 is changed in any of the methods above. This behavior was already
3375 documented but not fully functional.
3377 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3378 selection is programmatically changed)
3380 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3382 * doc/hildon-sections.txt: Remove obsolete icon
3383 sizes from here as well.
3385 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3387 * examples/hildon-stackable-window-example.c (add_window): Remove
3390 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3392 * src/hildon-app-menu.c
3393 (hildon_app_menu_show): Check whether the parent window of a menu
3394 is topmost before popping it up.
3396 Fixes: NB#100468 (Application menu window is launched even when a
3397 new secondary-window/dialog is pending to be shown/realized.)
3399 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3401 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3404 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3406 Patch by Mox Soini (ext-mox.soini@nokia.com)
3408 * src/hildon-banner.c: (hildon_banner_show_animation):
3409 use stylus size instead of obsolete note size.
3410 * src/hildon-defines.h: Update icon sizes.
3412 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-touch-selector-entry.c:
3415 (hildon_touch_selector_entry_init): Disable unsupported
3417 (hildon_touch_selector_entry_get_text_column): Emit a warning
3418 if an unsupported input modes is used and explicitile state
3419 these modes in the documentation.
3421 Fixes: NB#99802 (Hildon touch selector entry not working properly
3422 for some of the input modes)
3424 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3426 * src/hildon-pannable-area.c,
3427 (hildon_pannable_area_init): Added the changed signal handlers of
3430 Fixes: NB#100320 (HildonPannableArea does not listen to
3431 GtkAdjustment "change" signals)
3433 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3435 * doc/hildon-sections.txt
3436 * src/hildon-window-private.h
3437 * src/hildon-window.h
3438 * src/hildon-window.c (hildon_window_init)
3439 (hildon_window_realize, hildon_window_unrealize)
3440 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3441 (hildon_window_size_request, hildon_window_size_allocate)
3442 (hildon_window_forall, hildon_window_show_all)
3443 (hildon_window_destroy, +paint_edit_toolbar)
3444 (+hildon_window_set_edit_toolbar):
3445 New hildon_window_set_edit_toolbar() method, to add a
3446 HildonEditToolbar to a window without having to pack it manually.
3448 Reorganize hildon_window_size_allocate()
3450 * src/hildon-edit-toolbar.c: Update documentation.
3452 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3453 example to use the new API.
3455 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3457 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3459 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3460 Remove from stack before calling parent's hide.
3462 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3465 window is removed from the middle of the stack, update the
3466 transiency of the previous one.
3468 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3471 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3474 block/unblock the signal handler if it's not actually being used.
3475 Fixes some critical warnings.
3477 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3479 Based on a patch by Iván Gómez (igomez@igalia.com)
3481 * src/hildon-banner.c
3485 * src/hildon-pannable-area.c
3486 * src/hildon-picker-dialog.c
3487 * src/hildon-wizard-dialog.h
3488 * src/hildon-wizard-dialog.c: Documentation updates.
3490 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3491 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3493 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3495 * configure.ac: post release version bump.
3496 * debian/changelog: version bump.
3498 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3503 * configure.ac: Bump version.
3504 * debian/changelog: Updates.
3506 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3508 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3509 a stock icon nor change the relief of the back arrow.
3511 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3512 graphics from theme)
3514 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-button.c (hildon_button_set_alignment): Use
3517 priv->alignment if the button has no child yet.
3519 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-button.c: (hildon_button_init): Set the
3522 button style during initialization to give it the proper
3525 Fixes: NB#99713 (HildonButton value label color is wrong)
3527 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3529 * src/hildon-touch-selector.c: Document
3530 hildon_touch_selector_center_on_selected()
3532 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3534 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3535 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3536 all menu items, but not the menu itself.
3537 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3538 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3539 items after adding them to the menu so keyboard accelerators work.
3540 (hildon_app_menu_show): Don't show the menu if it contains items
3541 but none of them are visible.
3543 * examples/hildon-app-menu-example.c (create_menu): Use
3544 gtk_widget_show_all() to show all menu items.
3546 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-picker-dialog.c:
3549 (-_update_title_on_selector_changed_cb),
3550 (-_dialog_update_title): Removed.
3551 (_select_on_selector_changed_cb), (_on_dialog_response),
3552 (on_selector_columns_changed): Do not update the dialog title.
3553 (setup_interaction_mode): Do not connect to
3554 HildonTouchSelector::changed signal if there's a "done" button, as
3555 the dialog title doesn't need to be updated.
3557 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3560 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3562 Patch by Kristian Rietveld (kris@imendio.com)
3564 * src/hildon-touch-selector.c: (_create_new_column): Use new
3565 GtkTreeView::hildon-row-tapped signal to react to user interactions
3566 instead of ::changed.
3568 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3569 with some dynamic tree model)
3571 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3574 (+screen_size_changed, +label_size_request)
3575 (hildon_note_class_init): Make the Hildon information note have a
3576 minimum height, and make its text hvae a maximum width.
3578 Fixes: NB#98614 (Hildon information note (background) should have
3579 minimum height and maximum text width)
3581 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-banner.h
3584 * src/hildon-banner.c (hildon_banner_show_information)
3585 (hildon_banner_show_informationf)
3586 (hildon_banner_show_information_with_markup): Update documentation
3587 to reflect that the icon_name parameter is not used anymore.
3588 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3589 Remove all code from these functions and mark them as deprecated.
3590 (hildon_banner_show_progress): Mark as deprecated.
3592 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3594 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3596 * src/hildon-pannable-area.c,
3597 (hildon_pannable_area_class_init),
3598 (tranparency_color),
3599 (hildon_pannable_draw_vscroll),
3600 (hildon_pannable_draw_hscroll),
3601 (hildon_pannable_area_expose_event): Added a new way to render the
3602 scrollbars of the pannable area avoiding using cairo at all. This
3603 way we improve the performance of the pannable area rendering. The
3604 cairo rendering procedure is still in the code, we can control
3605 which one to use changing the value of the define
3606 USE_CAIRO_SCROLLBARS.
3608 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3610 * configure.ac: post release version bump.
3611 * debian/changelog: version bump.
3613 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3618 * configure.ac: Bump version.
3619 * debian/changelog: Updates.
3621 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3623 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3624 banners instead of destroying them when they receive a button
3627 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3629 Reverted commit 34028, it was causing regressions, probably the
3630 topmost condition is not correct, we have to check it in more
3631 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3632 propagation of button press events)
3634 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3636 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3637 that the selection is not empty before attempting to retrieve the
3638 current ampm selection.
3640 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-picker-button.c:
3643 (hildon_picker_button_on_dialog_response): Directly update the
3644 button contents when required instead of calling _selection_changed.
3646 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-program.c (hildon_program_update_top_most): Update
3649 'is-topmost' property also when wm_hints is not set.
3651 Fixes: NB#98383 (is-topmost signal is not emitted when task
3652 switcher is clicked.)
3654 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3656 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3660 * src/hildon-animation-actor.c,
3661 * src/hildon-animation-actor.h: Added the animation actor class,
3662 this widget represents an animation actor for WM-assisted
3663 animation effects in the Hildon framework.
3665 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3667 * src/hildon-window-stack-private.h
3668 * src/hildon-window-stack.c
3669 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3670 Avoid calling gtk_widget_show() again indirectly from
3671 hildon_stackable_window_show()
3673 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3675 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3678 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3680 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3681 (hildon_time_selector_init): Move the construction of the hours and
3682 ampm columns to the constructor to preserve the order the columns
3685 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3687 * src/hildon-picker-dialog.c:
3688 (hildon_picker_dialog_class_init): Connect a realize method.
3689 (+hildon_picker_dialog_realize): Setup the interaction mode here
3691 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3692 yet, do it during the realize instead.
3693 (_on_dialog_response):
3694 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3695 if the widget is not realized, to avoid the dialog response before it
3698 Avoid premature responses in the HildonPickerDialog that can cause it
3699 to be hidden before it's even shown.
3701 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3703 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3704 (on_selector_columns_changed), (requires_done_button),
3705 (+prepare_action_area), (setup_interaction_mode),
3706 (_hildon_picker_dialog_set_selector):
3708 Split the interaction mode setup into preparation of the
3709 action area (prepare_action_area()) and the connection of
3710 the signals in setup_interaction_mode() and update the code to
3713 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3715 * src/hildon-pannable-area.c,
3716 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3717 per second to 15, we will check if this is ok regarding
3720 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3722 * src/hildon-pannable-area.c,
3723 (hildon_pannable_axis_scroll): Avoid resize if we already have
3724 reached overshoot_max.
3726 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3728 * src/hildon-pannable-area.c,
3729 (hildon_pannable_area_init),
3730 (hildon_pannable_area_realize),
3731 (hildon_pannable_area_size_allocate),
3732 (hildon_pannable_area_map),
3733 (hildon_pannable_area_unmap),
3734 (hildon_pannable_draw_vscroll),
3735 (hildon_pannable_draw_hscroll),
3736 (hildon_pannable_area_expose_event),
3737 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3738 pannable are to avoid the expose events go to the window and
3739 redraw the window. We save this way that part of the stack and the
3740 paint_boxes. We had to change the positions of the elements when
3743 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3746 * src/hildon-color-chooser-dialog.c:
3747 (hildon_color_chooser_dialog_init):
3748 * src/hildon-font-selection-dialog.c:
3749 (hildon_font_selection_dialog_init),
3750 (hildon_font_selection_dialog_show_preview):
3751 * src/hildon-get-password-dialog.c:
3752 * src/hildon-login-dialog.c:
3753 * src/hildon-set-password-dialog.c:
3754 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3755 * src/hildon-time-picker.c: (hildon_time_picker_init):
3757 Remove obsolete logical string IDs and update to the appropriate ones.
3759 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3761 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3764 that happens if the window hasn't been realized yet.
3766 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3767 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3769 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3771 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3772 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3775 Fixes: NB#98537 (Device hangs in account settings dialog)
3777 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3779 * configure.ac: post release version bump.
3780 * debian/changelog: version bump
3782 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3787 * configure.ac: Bump version.
3788 * debian/changelog: Updates.
3790 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3792 Added a new function to the HildonTimeButton widget that allows to
3793 change the step of the minutes in the selector associated with the
3794 button: hildon_time_button_new_step
3796 * src/hildon-time-button.c,
3797 (hildon_time_button_init),
3798 (hildon_time_button_new),
3799 (hildon_time_button_new_step):
3800 * src/hildon-time-button.h: Added the new function and refactored
3802 * examples/hildon-time-button-example.c,
3803 (main): We have replaced the function without parameters with the
3804 function with the steps set to 5
3806 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3808 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3810 * src/hildon-time-selector.c,
3811 (hildon_time_selector_class_init),
3812 (hildon_time_selector_constructor),
3813 (hildon_time_selector_get_property),
3814 (hildon_time_selector_set_property),
3815 (_create_minutes_model),
3816 (hildon_time_selector_new_step),
3817 (hildon_time_selector_set_time),
3818 * src/hildon-time-selector.h: Added a new property to the
3819 HildonTimeSelector (minutes-step), we use that property to control
3820 the steps between the minutes in the list of the selector. We have
3821 added a new function to the API to create a widget changing the
3822 step: hildon_time_selector_new_step.
3824 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3826 * src/hildon-time-selector.c,
3827 (hildon_time_selector_class_init),
3828 (hildon_time_selector_constructor),
3829 (hildon_time_selector_init): Overrided the construct function when
3830 creating the time selector object. We have moved the minutes model
3831 handling code from the init to the new construction function:
3832 hildon_time_selector_constructor.
3834 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3836 * examples/hildon-date-button-example.c: (main): Use the new
3837 hildon_date_button_new_with_year_range() method in the example.
3838 * src/hildon-date-button.c:
3839 (+hildon_date_button_new_with_year_range): New public method
3840 to conveniently create a HildonDateButton with a custom year range
3841 in its HildonDateSelector.
3842 * src/hildon-date-button.h: Add the new public method definition.
3844 Fixes: NB#97908 (Not possible to change the year range in
3845 HildonDateSelector/HildonDateButton)
3847 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3849 * src/hildon-date-selector.c:
3850 (+hildon_date_selector_set_property),
3851 (+hildon_date_selector_get_property),
3852 (hildon_date_selector_class_init): Install new properties "min-year"
3853 and "max-year" to define boundaries for the year column.
3854 (_create_year_model): Use the boundary properties to populate the model.
3855 (+hildon_date_selector_new_with_year_range): New public method to
3856 create a HildonDateSelector with a user defined year range.
3857 (hildon_date_selector_select_current_date): Use the new boundaries to
3858 calculate the iterator of current year.
3859 * src/hildon-date-selector.h: Add the new public method definition.
3861 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3863 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3864 Install a constructor method.
3865 (+hildon_date_selector_construct_ui): construct the widget.
3866 (+hildon_date_selector_constructor): new constructor.
3867 (+hildon_date_selector_init): move out widget construction code to
3868 the new constructor.
3870 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3872 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3873 that there's actually a month or year selected before obtaining them.
3874 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3875 of the HildonTouchSelector::changed signal, as it was emitted on every
3876 single item selection.
3878 Fix some warnings and possible crashers due to the selection restoring.
3880 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3882 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3883 the signal handlers only after creating the dialog instead of on every
3886 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-button.c (hildon_button_init)
3889 * src/hildon-check-button.c (hildon_check_button_init)
3890 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3891 focus when clicked by default.
3893 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3895 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3898 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3900 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3901 Alejandro G. Castro (alex@igalia.com)
3903 * src/hildon-picker-dialog.c:
3904 (hildon_picker_dialog_class_init): install new "center-on-show"
3906 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3907 (hildon_picker_dialog_set_property): add setter code for the new
3909 (hildon_picker_dialog_get_property): add getter code for the new
3911 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3912 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3915 Fixes: NB#92849 (Selected item is not always visible when
3916 HildonTouchSelector is shown)
3918 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3920 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3921 Alejandro G. Castro (alex@igalia.com)
3923 * src/hildon-touch-selector.c:
3924 (_create_new_column): Do not connect to the "realize" signal of the
3926 (hildon_touch_selector_append_column): center on the selected items
3927 when a new column is appended.
3928 (hildon_touch_selector_select_iter): Factor out the code to select a
3929 column to hildon_touch_selector_scroll_to().
3930 (+search_nearest_element): Method to retrieve the nearest selected
3931 element to the visible area of the pannable area in a column.
3932 (+on_realize_cb): scroll to the initially selected item.
3933 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3934 the pannable area is realized, otherwise delay this until it is.
3935 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3936 selected items of a given column.
3937 (+hildon_touch_selector_center_on_selected): Public method to center
3938 all columns on the nearest selected item.
3939 * src/hildon-touch-selector.h: Add definition for
3940 hildon_touch_selector_center_on_selected().
3942 Implement public API to ensure visibility of all selected items in
3943 a HildonTouchSelector.
3945 2009-01-16 Alejandro G. Castro <alex@igalia.com>
3947 Fixed a problem in the fading when calling the scroll_to API, and
3948 improve scrollbar fading handling.
3950 * src/hildon-pannable-area.c,
3951 (hildon_pannable_area_grab_notify): avoid the timeout when the
3953 (hildon_pannable_area_button_press_cb),
3954 (hildon_pannable_area_motion_notify_cb): Code style changes.
3955 (hildon_pannable_area_button_release_cb): Review the conditions
3956 when releasing the mouse button to avoid unrequired fading
3958 (hildon_pannable_area_scroll_to): Do not calculate and set the
3959 velocity if the scroll is not required.
3961 2009-01-15 Alberto Garcia <agarcia@igalia.com>
3963 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
3964 Don't check whether the new selector is NULL: it cannot be.
3965 Hold a reference to the selector while doing the replacement.
3967 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3969 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3970 unnecessary size_request in a removed widget.
3972 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
3975 an unnecessary reference tracking that was leaking.
3977 2009-01-15 Alejandro G. Castro <alex@igalia.com>
3979 Added delayed motion notify event handling, this way we can
3980 discard redrawing if more than 25 events arrive per second.
3982 * src/hildon-pannable-area.c,
3983 (hildon_pannable_area_init): Initialized the new private atributes
3984 controlling this timeout
3985 (hildon_pannable_area_dispose): Remove the timeout that controls
3986 the motion notify events.
3987 (hildon_pannable_area_scroll): Added a condition to control the
3988 use of the acceleration.
3989 (hildon_pannable_area_motion_event_scroll_timeout),
3990 (hildon_pannable_area_motion_event_scroll): Added this two
3991 functions, they handle the motion notify events inside the
3993 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
3994 to the scroll method with the new function.
3995 (hildon_pannable_area_button_release_cb): We have to remove the
3996 timeout handler and move to the last position if the last motion
3997 events were not handled.
3999 Fixes: NB#97028 (Pannable area updates on every motion event)
4001 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4003 * src/hildon-pannable-area.c,
4004 (hildon_pannable_area_get_topmost): Added a new parameter to
4005 filter the the windows that do not include those events. Added
4006 also a condition when finding the window to filter windows that do
4007 not ask for those events.
4008 (hildon_pannable_area_button_press_cb),
4009 (hildon_pannable_area_button_release_cb),
4010 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4011 topmost function, we have added the new parameter.
4013 Fixes: NB#97458 (Pannable area prevents propagation of button
4016 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4018 * src/hildon-pannable-area.c,
4019 (hildon_pannable_area_initial_effect): Added controls before
4020 launching the timeout and the idle functions.
4021 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4022 of the method, in some situations it can return with TRUE and 0 in
4024 (hildon_pannable_area_button_press_cb): We do not need to set
4025 DELAY for fading out here.
4027 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4029 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4032 post-cleaning if the selection is not NULL.
4034 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4036 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4037 all items before restoring the selection.
4039 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-touch-selector.c:
4042 (+hildon_touch_selector_unselect_all):
4043 * src/hildon-touch-selector.h: New API to unselect all items in a
4044 column of the touch selector.
4046 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4048 * src/hildon-pannable-area.c,
4049 (hildon_pannable_area_redraw): Added a call to the refresh
4050 function inside the redraw because apparently in some cases the
4051 change in the adjustment does not imply a size allocate.
4053 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4054 despite the view not being scrollable)
4056 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4058 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4059 leak. Check for NULL before attempting to set the window title.
4061 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4064 whether to show or not the 'Done' button each time the dialog is
4065 shown, as it depends on the HildonTouchSelector selection mode.
4067 Fixes: NB#96226 (In multiple selection mode Done button is shown
4068 sometimes in listpicker)
4070 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4072 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4073 for the number of columns in the HildonTouchSelector more than once.
4075 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-touch-selector.c: Minor documentation fixes.
4079 * src/hildon-picker-dialog.c (+_dialog_update_title)
4080 (_select_on_selector_changed_cb)
4081 (_update_title_on_selector_changed_cb)
4082 (on_selector_columns_changed): Update dialog title when there's no
4083 'Done' button and also when the number of columns in the selector
4087 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4088 (+_selection_changed, hildon_picker_button_on_dialog_response)
4089 (hildon_picker_button_selector_selection_changed)
4090 (+hildon_picker_button_selector_columns_changed)
4091 (hildon_picker_button_set_selector): Update button value and emit
4092 'value-changed' when the number of columns in the selector
4096 Fixes: NB#96225 (Dialog titles are not shown according to the
4097 values selected in the list picker)
4099 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4102 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4103 New "arrow-width" and "arrow-height" style properties to set the
4104 size of the arrow button.
4105 Set name of arrow button ("hildon-edit-toolbar-arrow").
4107 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4108 graphics from theme)
4110 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4112 * src/hildon-picker-button.c:
4113 (hildon_picker_button_selector_selection_changed): Use
4114 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4115 the dialog is present.
4117 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4118 the selection is accepted in the dialog)
4120 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-color-chooser.h
4123 * src/hildon-color-chooser-dialog.h:
4124 Added G_BEGIN_DECLS and G_END_DECLS
4126 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4128 (_clean_current_selection): plug a leak in the list.
4130 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-picker-dialog.c:
4133 (+free_path_list): Method to free a GList of GtkTreePaths.
4134 (_clean_current_selection), (_save_current_selection),
4135 (_restore_current_selection): Save the current selection in
4136 as a list of lists, to support multiple selection properly.
4138 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4140 patch by Claudio Saavedra (csaavedra@igalia.com)
4142 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4143 Store the press position.
4144 (+hildon_text_view_button_release_event): If the release position is
4145 close enough to the press position, move the cursor here. Otherwise,
4147 (hildon_text_view_class_init): Override GtkTextView press, release, and
4148 motion event handlers, disabling this way text selection through
4149 pointer interaction, and allowing the container widget to handle the
4152 Fixes: NB#95828 (HildonTextView functionality)
4154 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4156 Based on a patch by Iván Gómez (igomez@igalia.com)
4158 * src/hildon-button.[ch]
4159 * src/hildon-calendar.c
4160 * src/hildon-check-button.c
4161 * src/hildon-date-editor.c
4162 * src/hildon-date-selector.c
4163 * src/hildon-picker-button.c
4164 * src/hildon-time-editor.c
4165 * src/hildon-time-selector.c
4166 * src/hildon-touch-selector.[ch]:
4167 Documentation updates
4169 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4171 * src/hildon-pannable-area.c,
4172 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4173 threshold, it was required due to X events handling.
4175 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4177 * src/hildon-pannable-area.c,
4178 (hildon_pannable_area_grab_notify),
4179 (hildon_pannable_area_initial_effect),
4180 (hildon_pannable_area_button_press_cb),
4181 (hildon_pannable_area_button_release_cb),
4182 (hildon_pannable_area_scroll_cb),
4183 (hildon_pannable_area_scroll_to): Review the timeout management of
4184 the scrollbar, the frecuency was incorrectly set.
4186 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4188 * src/hildon-picker-button.c:
4189 (+hildon_picker_button_on_dialog_response),
4190 (hildon_picker_button_clicked): Present the dialog instead of
4191 running it with gtk_dialog_run().
4193 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4196 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4198 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4199 (hildon_app_menu_finalize): When a window is hidden it doesn't
4200 emit notify::is-topmost, so make sure than the menu also
4201 disappears in that case.
4202 (parent_window_topmost_notify): Renamed from parent_window_hidden
4204 Fixes: NB#94460 (stackable window's menu is not closed when its
4207 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-touch-selector-entry.c:
4210 (+hildon_touch_selector_entry_set_input_mode),
4211 (+hildon_touch_selector_entry_get_input_mode):
4212 * src/hildon-touch-selector-entry.h: New methods to access the input
4213 mode in the selector's entry.
4215 Fixes: NB#93410 (API required for setting IM mode in
4216 HildonTouchSelectorEntry)
4218 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4220 * configure.ac: post release version bump.
4221 * debian/changelog: version bump
4223 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4228 * configure.ac: Bump version.
4229 * debian/changelog: Updates.
4231 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4233 * src/hildon-touch-selector.c:
4234 (_hildon_touch_selector_has_multiple_selection): No need
4235 to initialize the variables here.
4237 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4239 * src/hildon-note-private.h
4240 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4241 (hildon_note_finalize, hildon_note_rebuild): Close information
4242 notes when they receive a button press.
4244 Fixes: NB#89890 (Information notes does not get disappeared after
4247 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4250 mark from the wizard title, as it's not really necessary. Also,
4251 do not display the page title if not set.
4253 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4256 (parent_window_hidden): Use the window's "is-topmost" property to
4257 detect when to hide the menu.
4259 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4261 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4262 (hildon_app_menu_finalize): If the parent window of the menu is
4263 hidden, hide the menu too.
4265 Fixes: NB#94460 (stackable window's menu is not closed when its
4268 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4271 * debian/libhildon1-examples.install
4273 * examples/Makefile.am:
4274 Use dh_install to install all examples.
4275 Use DEB_SRCDIR instead of defining SOURCE_DIR
4277 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4279 * configure.ac: post release version bump.
4280 * debian/changelog: version bump
4282 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4287 * configure.ac: bump version
4288 * debian/changelog: updates
4289 * debian/control: bump gtk+ dependency
4291 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4293 patch by Christian Dywan (christian@imendio.com)
4295 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4296 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4298 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-check-button.c (hildon_check_button_init)
4301 (hildon_check_button_class_init, hildon_check_button_style_set)
4302 (hildon_check_button_apply_style):
4303 New "checkbox-size" style property.
4305 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4306 larger / configurable size)
4308 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4310 * configure.ac: post release version bump.
4311 * debian/changelog: version bump
4313 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4318 * configure.ac: bump version
4319 * debian/changelog: updates
4321 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4323 * doc/hildon-sections.txt
4324 * src/hildon-pannable-area.c
4325 * src/hildon-program.c
4326 * src/hildon-time-editor.c
4327 * src/hildon-touch-selector-entry.c:
4329 More documentation updates.
4331 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4333 * doc/hildon-sections.txt
4334 * src/hildon-caption.c
4335 * src/hildon-code-dialog.c
4336 * src/hildon-color-button.c
4337 * src/hildon-controlbar.c
4338 * src/hildon-date-editor.c
4339 * src/hildon-date-selector.c
4340 * src/hildon-edit-toolbar.c
4341 * src/hildon-find-toolbar.c
4342 * src/hildon-font-selection-dialog.c
4344 * src/hildon-program.c
4345 * src/hildon-range-editor.c
4346 * src/hildon-seekbar.c
4347 * src/hildon-time-editor.c
4348 * src/hildon-time-selector.c
4349 * src/hildon-volumebar-range.c
4350 * src/hildon-volumebar.c
4351 * src/hildon-vvolumebar.c
4352 * src/hildon-weekday-picker.c
4353 * src/hildon-window.c
4354 * src/hildon-wizard-dialog.c:
4356 Lots of documentation fixes.
4358 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4360 Patch contributed by Iván Gómez (igomez@igalia.com)
4362 * src/hildon-check-button.c:
4363 * src/hildon-date-button.c:
4364 * src/hildon-date-selector.c:
4365 * src/hildon-dialog.c:
4366 * src/hildon-edit-toolbar.c:
4367 * src/hildon-entry.c:
4368 * src/hildon-picker-button.c:
4369 * src/hildon-program.c:
4370 * src/hildon-text-view.c:
4371 * src/hildon-time-button.c:
4372 * src/hildon-touch-selector-entry.c:
4373 * src/hildon-window-stack.c:
4375 Add more "since" tags to the new API.
4377 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4379 * doc/hildon-sections.txt: Add below method.
4380 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4381 version for the hildonized scale.
4382 * src/hildon-gtk.h: Add the definition.
4384 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4386 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4388 * doc/hildon-sections.txt: Add missing entries for new methods.
4390 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4392 Added API to pannable are in order to get its adjustments. We
4393 added two properties to manage the values we had in the private
4396 * src/hildon-pannable-area.c:
4397 (hildon_pannable_area_class_init): Added hadjustment and
4398 vadjustment properties in order to expose horizontal and vertical
4400 (hildon_pannable_area_get_property),
4401 (hildon_pannable_area_set_property): Added code to handle the new
4403 (hildon_pannable_area_get_hadjustment),
4404 (hildon_pannable_area_get_vadjustment): API functions to get the
4406 * src/hildon-pannable-area.h:
4407 (hildon_pannable_area_get_hadjustment),
4408 (hildon_pannable_area_get_vadjustment): API functions to get the
4411 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4413 Fixed some leaks, after valgrinding.
4415 * src/hildon-touch-selector.c:
4416 (_default_print_func): Fixed a leak.
4417 (hildon_touch_selector_append_column): Fixed a leak.
4418 * src/hildon-date-button.c:
4419 (hildon_date_button_init): Fixed a leak.
4420 * src/hildon-date-selector.c
4421 (hildon_date_selector_finalize): Fixed a leak.
4423 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4425 Based on a patch by Christian Dywan (christian@imendio.com)
4427 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4429 * src/hildon-gtk.h: Add definition.
4431 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4433 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4435 * src/hildon-picker-button.c: (hildon_picker_button_init),
4436 (hildon_picker_button_new): Set the HildonButton::style property
4437 in the init method, to propagate the value to the derived classes.
4439 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-button.c: (hildon_button_class_init): Do not make
4442 the "style" property a construct property.
4444 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-wizard-dialog.h
4447 * src/hildon-wizard-dialog.c
4448 (hildon_wizard_dialog_set_forward_page_func)
4449 * src/hildon-pannable-area.h
4450 * src/hildon-pannable-area.c
4451 (hildon_pannable_area_set_size_request_policy):
4452 Documentation fixes.
4454 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4456 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4458 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4460 * doc/hildon-sections.txt: Added sections file.
4462 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4465 * src/*.[ch]: Updates.
4467 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4469 * examples/hildon-progress-indicator-example.c: new file
4470 * examples/Makefile.am: include the new example program
4472 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4474 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4476 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4478 * configure.ac: post release version bump
4479 * debian/changelog: version bump
4481 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4486 * configure.ac: bump version
4487 * debian/changelog: updates
4488 * debian/control: bump gtk+ dependency
4490 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4492 * src/hildon-dialog.c: Mark as deprecated.
4493 * src/hildon-dialog.h: Mark as deprecated.
4494 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4495 from HildonDialog and still work, even if
4496 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4497 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4499 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4500 maemo changes) instead)
4502 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4504 * src/hildon-pannable_area.h:
4505 * src/hildon-pannable_area.c:
4506 (hildon_pannable_area_class_init),
4507 (hildon_pannable_area_set_property),
4508 (hildon_pannable_area_get_property),
4509 (hildon_pannable_area_size_request),
4510 (hildon_pannable_area_get_size_request_policy),
4511 (hildon_pannable_area_set_size_request_policy): Added new API
4512 allowing applications to control the request policy. Now they can
4513 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4514 children allocation (HILDON_MOVEMENT_CHILDREN).
4516 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4520 (hildon_gtk_tree_view_set_ui_mode)
4521 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4522 mode of treeviews and iconviews.
4524 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4526 * src/hildon-touch-selector-entry.c:
4527 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4528 of a GtkEntry to get proper theming.
4530 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4531 widget, not GtkEntry)
4533 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4536 no HildonWizardDialogPageFunc.
4538 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4540 Patch contributed by Iván Gómez (igomez@igalia.com)
4542 * src/hildon-app-menu.c:
4543 * src/hildon-button.c:
4544 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4545 * src/hildon-stackable-window.c:
4546 * src/hildon-time-selector.c:
4547 * src/hildon-touch-selector.c:
4548 * src/hildon-window.c:
4550 Add more "since" tags to the new API in hildon 2.2.
4552 2008-12-05 Tim Janik <timj@imendio.com>
4554 Patch contributed by Christian Dywan (christian@imendio.com)
4556 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4557 HildonSizeType, which are supplied by Gtk+ now.
4559 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4561 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4562 (with maemo changes) instead)
4564 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4566 Patch contributed by Iván Gómez (igomez@igalia.com)
4568 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4571 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4573 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4574 (some_page_func), (main): Update the example to use a
4575 HildonWizardDialogPageFunc function.
4577 * src/hildon-wizard-dialog-private.h: Add private data for
4578 the HildonWizardDialogPageFunc function usage.
4580 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4581 (destroy), (hildon_wizard_dialog_init), (response),
4582 (hildon_wizard_dialog_set_forward_page_func):
4583 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4584 that applications can use to stop a HildonWizardDialog to jump to
4587 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4590 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-program.h
4593 * src/hildon-program-private.h
4594 * src/hildon-program.c (hildon_program_init)
4595 (hildon_program_set_common_app_menu)
4596 (hildon_program_get_common_app_menu):
4597 New API for setting a common HildonAppMenu for all
4598 HildonStackableWindows registered with the HildonProgram.
4600 * src/hildon-stackable-window.c
4601 (hildon_stackable_window_toggle_menu):
4602 Use the common HildonAppMenu if a window doesn't have a specific
4605 * src/hildon-app-menu-private.h
4606 * src/hildon-app-menu.c
4607 (hildon_app_menu_get_parent_window):
4608 Function to obtain the window a HildonAppMenu is attached to.
4609 (hildon_app_menu_set_parent_window):
4610 Hide the menu if the parent window is set to NULL.
4612 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4614 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4615 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4616 search widget to popup.
4618 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4620 * configure.ac: post release version bump
4621 * debian/changelog: version bump
4623 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4628 * configure.ac: bump version
4629 * debian/changelog: updates
4631 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4633 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4635 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4636 (hildon_window_stack_window_realized)
4637 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4638 Set the leader GdkWindow when a window is stacked and realized,
4639 unset it when it's unstacked.
4640 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4642 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4644 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4646 * src/hildon-stackable-window.h
4647 * src/hildon-window-stack.h:
4648 Protect definition of HildonWindowStack using the preprocessor.
4650 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4652 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4653 Fix warning if all menu items are hidden.
4655 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4657 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4659 * src/hildon-controlbar.c:
4660 * src/hildon-hvolumebar.c:
4661 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4662 Multiple scale size defines updates.
4664 Fixes: NB#94322 (Scale Updates)
4666 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4668 * examples/hildon-app-menu-example.c (create_menu)
4669 Show items after adding them to the menu, as in the future the
4670 menu will no longer call gtk_widget_show() on the added items.
4672 * src/hildon-app-menu.c:
4673 Update example as explained above.
4675 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-app-menu.c
4678 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4679 Make sure that all menu items have finger height.
4681 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4683 * src/hildon-picker-dialog.c:
4684 (_on_dialog_response), (_save_current_selection),
4685 (_restore_current_selection), (_clean_current_selection),
4686 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4687 Defined new functions in order to save the current internal selector
4688 selection previous open the dialog, in case that the use cancel the
4689 interaction, so the widget restores the previous selection.
4691 Fixes: NB#92032 (In calendar application, date values in 'new event'
4694 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4696 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-button.c: Add a reference to the button examples in
4699 hildon-button-example.c
4701 * examples/hildon-button-example.c: Added examples of the most
4702 common button layouts.
4704 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4706 * src/hildon-app-menu.c (hildon_app_menu_show)
4707 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4709 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4711 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-picker-dialog.c:
4714 (hildon_picker_dialog_init): Initialize the signal id for
4715 HildonTouchSelector::columns-changed.
4716 (+on_selector_columns_changed): Set up the interaction mode everytime a
4717 column is added or removed from the HildonTouchSelector.
4718 (_hildon_picker_dialog_set_selector): Connect to
4719 HildonTouchSelector::columns-changed and keep track of it.
4721 Make sure to update the interaction mode of the dialog everytime a
4722 column is added or removed in the HildonTouchSelector.
4724 Fixes: NB#93228 (Done button is not shown always in listpicker)
4726 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4729 a new ::columns-changed signal.
4730 (hildon_touch_selector_append_column): Emit ::columns-changed.
4731 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4733 Add a ::columns-changed signal, emitted when the number of columns in a
4734 HildonTouchSelector changes.
4736 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4738 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4739 (_hildon_picker_dialog_set_selector): Factor out the code
4740 to set up the dialog interaction mode.
4742 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4744 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4745 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4746 to signal_changed_id.
4748 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4753 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4755 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4756 Updated the logical ids related to ampm format, as now it is required to
4757 show it correctly localized even on languages with no default
4758 abbreviations for am or pm
4759 (_check_am_pm_format): check correctly the 24h format gconf property
4761 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4763 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4765 * src/hildon-button.c: Documentation updates.
4767 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4770 * src/hildon-caption.c: (hildon_caption_class_init):
4771 * src/hildon-color-button.c: (hildon_color_button_class_init):
4772 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4773 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4774 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4775 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4777 Remove deprecated GTK+ marshalers and replace them with the ones
4778 provided by GLib, for those available, add a marshaler for
4779 BOOLEAN:VOID, which is not available in GLib, and use it.
4781 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4783 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4784 the text from the previous column if there is no
4785 HildonTouchSelectorColumn::text-property set.
4787 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4789 * src/hildon-button.h
4790 * src/hildon-button.c (hildon_button_set_property)
4791 (hildon_button_get_property, hildon_button_class_init)
4792 (hildon_button_set_style, hildon_button_get_style):
4793 New "style" property to change the visual appearance of the
4796 * src/hildon-picker-button.c (hildon_picker_button_new):
4797 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4799 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4800 HildonButton look like PickerButton)
4802 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4804 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4805 column while building the default string.
4807 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4809 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4810 scroll indicator by default.
4812 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4814 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4816 * src/hildon-main.c: Fix the documentation for hildon_init()
4818 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4820 * doc/hildon-docs.sgml
4824 * src/hildon-window-stack-private.h
4825 * src/hildon-window-stack.h
4826 * src/hildon-window-stack.c:
4827 New HildonWindowStack object, that adds support for multiple
4828 stacks of windows per process.
4830 * src/hildon-stackable-window-private.h
4831 * src/hildon-stackable-window.h
4832 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4833 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4834 (hildon_stackable_window_show, hildon_stackable_window_hide)
4835 (hildon_stackable_window_class_init)
4836 (hildon_stackable_window_init):
4837 Use HildonWindowStack for stack management.
4839 * src/hildon-program.c (hildon_program_pop_window_stack)
4840 (hildon_program_peek_window_stack)
4841 (hildon_program_go_to_root_window):
4842 Add a fallback implementation to the deprecated functions using
4845 * examples/hildon-stackable-window-example.c:
4846 Use the new HildonWindowStack API.
4848 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4850 * src/hildon-stackable-window-private.h
4851 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4852 (hildon_stackable_window_hide, hildon_stackable_window_init):
4853 Remove all window stack management.
4855 * src/hildon-program-private.h
4856 * src/hildon-program.h
4857 * src/hildon-program.c (hildon_program_init)
4858 (hildon_program_pop_window_stack)
4859 (hildon_program_peek_window_stack)
4860 (hildon_program_go_to_root_window):
4861 Remove all window stack management and mark functions as
4864 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4866 * src/hildon-app-menu.c (hildon_app_menu_realize):
4867 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4869 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4871 * configure.ac: post release version bump
4872 * debian/changelog: version bump
4874 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4879 * configure.ac: bump version
4880 * debian/changelog: updates
4882 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4884 Based on initial code by Christian Dywan (christian@imendio.com)
4886 * doc/hildon-docs.sgml: Add section for hildon-main.
4887 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4888 * src/Makefile.am: Add new hildon-main.[ch]
4889 * src/hildon-defines.h: Update the icon sizes.
4890 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4891 new library initialization files and register icon sizes.
4892 * src/hildon-main.h: New declarations.
4893 * src/hildon.h: Include hildon-main.h
4895 Add new initialization functions to the library. These methods
4896 will register the hildon specific icon sizes and can be used in the
4897 future for other hildon specific bits.
4899 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4901 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4903 * src/hildon-window.c: (hildon_window_realize),
4904 (hildon_window_notify), (-hildon_window_update_title): Do not set
4905 the application name in the window title.
4907 Fixes: NB#89754 (Applications shouldn't display their names in the
4910 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-note-private.h:
4913 * src/hildon-note.c: (hildon_note_set_property),
4914 (hildon_note_get_property), (hildon_note_class_init),
4915 (hildon_note_init), (hildon_note_finalize),
4916 (hildon_note_new_confirmation_with_icon_name),
4917 (hildon_note_new_information_with_icon_name):
4919 No need to mark as deprecated the actual code. Revert
4920 to avoid missing symbols in widgets using deprecated API.
4922 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4924 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4926 * src/hildon-volumebar.h
4927 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4928 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4930 * src/hildon-helper.h
4931 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4932 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4934 * examples/Makefile.am:
4935 Deprecate hildon-insensitive-example
4937 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
4939 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4941 * examples/hildon-pannable-area-buttons-scroll-example.c:
4942 Make all buttons finger height
4944 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
4946 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
4948 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
4949 update the day model only if it is really required, and to avoid the
4950 full-reconstruction aproach. Now it only add or remove the required days.
4952 The purpose of this is avoid superfluous HildonTouchSelector::changed
4955 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
4956 with strange parameters)
4958 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
4960 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
4962 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
4963 the WINDOW_TYPE property.
4965 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
4967 2008-11-19 Alberto Garcia <agarcia@igalia.com>
4970 Fix dependency to allow parallel compilation with make -jX
4972 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
4975 color frame and some minor tweaks to make it more consistent with
4978 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
4979 highlighted but not visible)
4981 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4983 * examples/Makefile.am: Fixed typo in the Makefile.am.
4985 2008-11-14 Alejandro G. Castro <alex@igalia.com>
4987 Reviewed the use of MAEMO_GTK define, now we add the define in the
4988 compilation line, and we also add it to the pc file.
4990 * configure.ac: Added MAEMO_GTK define to the compilation command
4991 and removed it from the config.h.
4993 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
4994 do not have to take care about this define if the library was
4998 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5000 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5002 * examples/Makefile.am,
5003 * examples/hildon-pannable-area-buttons-scroll-example.c,
5004 * examples/hildon-pannable-area-gesture-signals-example.c,
5005 * examples/hildon-pannable-area-scroll-jump-example.c,
5006 * examples/hildon-pannable-area-tree-view-example.c:
5007 Renamed the pannable area examples, now they have more meaningful
5010 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5012 * src/hildon-touch-selector.c:
5013 (hildon_touch_selector_set_column_selection_mode): Used of
5014 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5015 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5016 to avoid re-seting the same selection mode.
5018 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5019 breaks HildonPickerDialog)
5021 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5023 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5024 conditional in the Makefile.am
5026 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5029 Remove unused methods.
5031 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5033 * src/hildon-button.c (hildon_button_init):
5034 Make button images center-aligned by default
5036 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5039 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5040 activated, we have to think about how to deal with both defines
5041 MAEMO_GTK and MAEMO_CHANGES.
5043 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5045 * examples/hildon-app-menu-example.c (create_menu): Make all
5046 buttons finger size.
5048 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5050 Fixed the compilation without maemo gtk adding ifdefs with
5051 MAEMO_GTK define to the code, we have to check this version more
5054 * examples/Makefile.am: Added control to avoid some examples that
5055 just make sense with maemo gtk.
5058 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5059 hildon modes with the define.
5061 * examples/hildon-edit-toolbar-example.c,
5062 (create_icon_view): Create the icon view without hildon-gtk
5063 helpers if we are not using maemo gtk.
5065 * src/hildon-touch-selector.c,
5066 (_create_new_column): Create the treeview without hildon-gtk
5067 helpers if we are not using maemo gtk.
5069 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5071 * src/hildon-pnnable-area.c,
5072 (hildon_pannable_area_dispose),
5073 (hildon_pannable_area_button_press_cb),
5074 (hildon_pannable_area_child_mapped),
5075 (hildon_pannable_area_add),
5076 (hildon_pannable_area_remove): Added code to control the position
5077 of the event_window when adding and removing children from the
5078 pannable. We have to raise the event window when the child is
5081 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5082 selection mode using custom widget inside pannable)
5084 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5086 * configure.ac: post release version bump
5087 * debian/changelog: version bump
5089 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5094 * configure.ac: bump version
5095 * debian/changelog: updates
5097 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5099 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5100 search mode, in order to avoid lose the focus on the treeview when
5101 a hw key (like enter) is pressed.
5103 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5104 in HildonDateSelector dialog)
5106 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5108 * debian/rules: Added --enable-maintainer-mode
5109 * Makefile.am: Added ACLOCAL_AMFLAGS
5111 This allows to properly regenerate the Makefiles if you modify the
5112 configure.ac or any Makefile.am.
5114 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5116 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5117 properties, not needed at all.
5119 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5123 * src/hildon-note.c: (hildon_note_set_property),
5124 (hildon_note_get_property), (hildon_note_class_init),
5125 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5126 (hildon_note_new_confirmation_add_buttons): Remove icons.
5127 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5128 (hildon_note_new_information_with_icon_name): Deprecate.
5129 (hildon_note_new_confirmation): Act directly, without calling
5130 the deprecated constructor.
5131 (hildon_note_new_information): Act directly, without calling
5132 the deprecated constructor.
5133 * src/hildon-note.h: Mark deprecate methods as such.
5134 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5135 not run tests on the deprecated methods if built with deprecation
5138 Fixes: NB#91688 (Never show icons in information notes/confirmation
5141 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5143 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5144 (hildon_app_menu_key_press): Remove leftover usage of the
5145 private structure in HildonAppMenu struct.
5146 * src/hildon-app-menu.h: Remove leftover private structure
5147 from the HildonAppMenu struct.
5149 Fixes a crasher when using the HildonAppMenu.
5151 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5153 * src/hildon-picker-dialog.c: Use appropriate logical id
5154 for the default "Done" text.
5156 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5158 * configure.ac: post release version bump
5159 * debian/changelog: version bump
5161 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5163 Modified the way to scroll to the current selection just when the touch
5164 selector is shown on the screen, avoiding a g_idle. Added too a property
5165 to configure this behaviour. See hildon_pannable_area_jump_to_child
5166 documentation for more information.
5168 * src/hildon-touch-selector.c
5169 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5170 Added 'initial-scroll' property
5171 (hildon_touch_selector_set_property): Added
5172 (hildon_touch_selector_map): Removed as not required anymore
5173 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5174 only a concrete column, instead of iterate along all the columns
5176 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5181 * configure.ac: bump version
5182 * debian/changelog: updates
5184 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5186 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5187 compilation time warnings.
5189 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5191 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5192 the default value for HildonPannableArea::mov-mode to
5193 HILDON_PANNABLE_AREA_MODE_VERT.
5195 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5197 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5199 Reverting following commit:
5201 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5203 * src/hildon-app-menu-private.h
5204 * src/hildon-app-menu.[ch]
5205 * src/hildon-button.[ch]
5206 * src/hildon-check-button.[ch]
5207 * src/hildon-entry.[ch]
5208 * src/hildon-pannable-area.[ch]
5209 * src/hildon-text-view.[ch]:
5210 Added private field to the object's structure.
5212 because it causes an ABI breakage. We will need to introduce these
5213 changes later at some point. See NB#91636 for an extensive
5214 explanation and status.
5216 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5218 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5220 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5221 remove special cases that are no longer necessary.
5223 Fixes: NB#91016 (Change toolbar sizes, simplification)
5225 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5228 is shown in the cancel note.
5230 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5232 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5233 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5234 (hildon_seekbar_init): Remove steppers, remove expose event.
5235 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5237 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5239 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5241 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5242 label font to "SmallSystemFont" for vertically arranged buttons.
5244 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5247 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5249 * src/hildon-check-button.c
5250 (hildon_check_button_set_active, hildon_check_button_clicked):
5251 Don't access private parts directly, use getters instead.
5253 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5255 * src/hildon-check-button.c (hildon_check_button_new):
5256 Align the contents of the check button to the left.
5258 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5260 * src/hildon-pannable-area.c,
5261 (hildon_pannable_area_scroll_to),
5262 (hildon_pannable_area_jump_to),
5263 (hildon_pannable_area_scroll_to_child),
5264 (hildon_pannable_area_jump_to_child): Replace the mapped
5265 precondition of these functions with the realized, it is the
5266 correct state of the widget in this case. Changed the
5267 documentation according to this modification.
5269 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5271 Added a new EXTRA_CFLAGS option to add the deprecated define to
5272 the compilation command. This way we can avoid using the define in
5273 the documentation compilation.
5275 * configure.ac: Defined EXTRA_CFLAGS.
5277 * examples/Makefile.am:
5279 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5281 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5283 * src/hildon-picker-dialog.c:
5284 Defined a utility macro with the desired touch selector height
5285 Removed currently unused separator, and title_label variables from
5287 (hildon_picker_dialog_init): Removed code related to the creation
5288 of unused private variables title_label and separator.
5289 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5290 to ensure correct visualization of the touch selector inside the dialog.
5291 * src/hildon-touch-selector.c
5292 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5293 ensure a concrete height of the widget.
5295 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5298 * tests/Makefile.am:
5300 Remove spurious whitespaces.
5302 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5305 compilation warning after the cancel button removal.
5307 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5309 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5311 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5312 Makefile.am, that way we can choose not to compile some examples
5313 and tests of the deprecated widgets.
5315 * examples/Makefile.am: Divided the sources in deprecated and
5318 * src/Makefile.am: Added undef statement of the deprecated
5319 symbol to the enums file generation process.
5321 * src/hildon-color-chooser-dialog.c
5322 * src/hildon-color-chooser-dialog.h
5323 * src/hildon-color-button.c
5324 * src/hildon-color-button.h
5325 * src/hildon-color-chooser.c
5326 * src/hildon-color-chooser.h
5327 * src/hildon-controlbar.c
5328 * src/hildon-controlbar.h
5329 * src/hildon-date-editor.c
5330 * src/hildon-date-editor.h
5331 * src/hildon-hvolumebar.c
5332 * src/hildon-hvolumebar.h
5333 * src/hildon-private.c
5334 * src/hildon-private.h
5335 * src/hildon-range-editor.c
5336 * src/hildon-range-editor.h
5337 * src/hildon-seekbar.c
5338 * src/hildon-seekbar.h
5339 * src/hildon-time-editor.c
5340 * src/hildon-time-editor.h
5341 * src/hildon-time-picker.c
5342 * src/hildon-time-picker.h
5343 * src/hildon-volumebar.c
5344 * src/hildon-volumebar.h
5345 * src/hildon-vvolumebar.c
5346 * src/hildon-vvolumebar.h
5347 * src/hildon-bread-crumb-trail.h
5348 * src/hildon-bread-crumb-trail.c
5349 * src/hildon-calendar-popup.c
5350 * src/hildon-calendar-popup.h
5351 * src/hildon-weekday-picker.c:
5352 * src/hildon-weekday-picker.h:
5353 * src/hildon-bread-crumb-widget.c:
5354 * src/hildon-bread-crumb-widget.h:
5355 * src/hildon-bread-crumb.c:
5356 * src/hildon-bread-crumb.h:
5357 * src/hildon-calendar.c:
5358 * src/hildon-calendar.h:
5359 * src/hildon-caption.c:
5360 * src/hildon-code-dialog.c:
5361 * src/hildon-code-dialog.h:
5362 * src/hildon-font-selection-dialog.c:
5363 * src/hildon-font-selection-dialog.h:
5364 * src/hildon-get-password-dialog.c:
5365 * src/hildon-get-password-dialog.h:
5366 * src/hildon-login-dialog.c:
5367 * src/hildon-login-dialog.h:
5368 * src/hildon-number-editor.c:
5369 * src/hildon-number-editor.h:
5370 * src/hildon-set-password-dialog.c:
5371 * src/hildon-set-password-dialog.h:
5372 * src/hildon-sort-dialog.c:
5373 * src/hildon-sort-dialog.h: This is the list of deprecated
5376 * src/hildon-touch-selector.c:
5377 * src/hildon-window.c: Added undef statement to avoid compilation
5380 * tests/Makefile.am: Divided the sources in deprecated and
5383 * tests/check_test.c,
5384 (configure_tests): Marked the deprecated code that was adding
5385 suites with deprecated tests.
5387 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5389 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5391 * src/hildon-touch-selector.c: (_default_print_func): Do not
5392 duplicate a string returned by gtk_tree_model_get(), it is already
5395 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5398 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5400 * src/hildon-pannable-area.c
5401 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5402 method, it had problems when adding a widget with viewport the
5403 second time. Now checks if it already has a viewport and uses it.
5405 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5408 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5410 * src/hildon-pannable-area.c,
5411 (hildon_pannable_area_scroll_to),
5412 (hildon_pannable_area_jump_to),
5413 (hildon_pannable_area_scroll_to_child),
5414 (hildon_pannable_area_jump_to_child): Added a precondition to the
5415 scroll and jump to functions: the widget must be mapped before we
5416 can safely call these functions. We have also added documentation
5417 to the functions to explain how to use them in this situation.
5420 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5422 Reviewed the threading handling of the pannable widget, we have
5423 used the gdk_threads_add_timeout function instead of the usual
5424 glib handlers. This avoids some problems with the threads.
5426 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5427 (hildon_pannable_area_initial_effect),
5428 (hildon_pannable_area_scroll_indicator_fade),
5429 (hildon_pannable_area_button_press_cb),
5430 (hildon_pannable_area_timeout),
5431 (hildon_pannable_area_motion_notify_cb),
5432 (hildon_pannable_area_button_release_cb),
5433 (hildon_pannable_area_scroll_cb),
5434 (hildon_pannable_area_scroll_to): Removed the
5435 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5436 gdk_threads_add_timeout.
5438 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5440 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5445 * configure.ac: bump version
5446 * debian/changelog: updates
5448 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5451 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5452 * src/hildon-color-chooser-dialog.c:
5453 (hildon_color_chooser_dialog_init):
5454 * src/hildon-font-selection-dialog.c:
5455 (hildon_font_selection_dialog_init):
5456 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5458 Remove all cancel/close-like dialogs, as these are not going to be
5461 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5463 * src/hildon-note.c: (hildon_note_rebuild),
5464 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5467 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5469 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5472 sure all buttons are shown, even the Cancel/Close-like ones.
5474 Fixes: NB#90861 (Custom Confirmation dialogs should be
5475 protected from cancel button removal)
5477 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5479 * debian/control: Change libhildon1-examples dependency from libhildon1
5481 * debian/libhildon1-examples.install
5483 * Makefile.am: Modified the final install directory for the examples on
5484 package libhildon1-examples
5485 * Makefile.static: Update clean target in order to remove all the binary
5488 Changes suggested by Claudio after review new libhildon1-examples package
5490 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5492 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5493 * src/hildon-touch-selector.c: Ditto.
5495 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5497 * debian/control: Added new package libhildon1-examples, in order to pack
5498 the current hildon examples as documentation
5499 * debian/rules: Not to compress .c files, modify some includes on the
5500 examples (as normally are compiled locally, but when installed it will
5501 require to include the installed libhildon1 library), and rename
5503 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5504 install all the example files on the new example package
5505 * examples/Makefile.static: Added static makefile that can be used to
5506 compile the examples, once installed the new example package
5507 * examples: Most of the examples were modified in order to grant that
5508 all use only '#include "hildon.h"', in order to be easy to prepare
5509 it on the example package
5511 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5514 * debian/libhildon1-dev.install
5515 * debian/libhildon1-doc.install:
5516 Move all gtk-doc files to a separate libhildon1-doc package.
5518 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5520 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5522 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5524 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5526 * debian/rules: Fixed a error in order to avoid unnecessary calls
5527 to autogen.sh on package building
5529 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5531 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5533 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5535 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5538 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5540 * src/hildon-picker-button.c
5541 (hildon_picker_button_finalize):
5542 Free priv->done_button_text
5544 * src/hildon-time-button.c
5545 (hildon_time_button_set_time)
5546 * src/hildon-picker-button.c
5547 (hildon_picker_button_clicked)
5548 (hildon_picker_button_selector_selection_changed)
5549 (hildon_picker_button_set_selector)
5550 * src/hildon-date-button.c
5551 (hildon_date_button_set_date):
5552 Free strings returned by hildon_touch_selector_get_current_text()
5554 * src/hildon-button.c (hildon_button_construct_child):
5555 Fix leaks in priv->image and priv->label_box
5557 Fixes: NB#90535 (Memory leak in picker button)
5559 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5561 * src/hildon-button.c: (hildon_button_get_property): Do not access
5562 private elements directly, use getters instead.
5564 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5566 * src/hildon-app-menu-private.h
5567 * src/hildon-app-menu.c
5568 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5569 Store the menu's parent window.
5571 * src/hildon-stackable-window.c
5572 (hildon_stackable_window_toggle_menu)
5573 (hildon_stackable_window_finalize):
5574 Set the menu's parent window when the menu is shown, unset it when
5577 * src/hildon-app-menu.c
5578 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5579 (hildon_app_menu_class_init):
5580 Send unhandled keyboard accelerators to the parent window.
5582 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-stackable-window.c
5585 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5587 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5589 * configure.ac: post release version bump
5591 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5594 * configure.ac: Bump version
5595 * debian/changelog: Updates
5596 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5599 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5601 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5604 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5605 GtkMenu with Hildon style.
5607 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5609 * src/hildon-picker-button.c:
5610 (hildon_picker_button_set_done_button_text): Set the dialog's
5611 done button text here as well.
5613 Fixes: NB#90232 (Picker button does not set the label on done button
5614 for the second time)
5616 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5618 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5621 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5623 * src/hildon-app-menu.c (hildon_app_menu_insert)
5624 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5625 the HildonAppMenu to be activatable using keyboard accelerators
5626 when the menu is not being shown.
5628 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5630 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5632 * src/hildon-stackable-window.c
5633 (hildon_stackable_window_show):
5634 Don't hide old windows automatically when new windows are shown:
5635 this is now a task for the window manager.
5636 (hildon_stackable_window_class_init)
5637 (hildon_stackable_window_hide):
5638 Remove windows from the stack everytime they're hidden.
5639 (hildon_stackable_window_realize):
5640 Don't change the _NET_WM_WINDOW_TYPE property. Use
5641 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5642 it as a stackable window.
5644 * src/hildon-program.c
5645 (hildon_program_pop_window_stack):
5646 Just hide the window to remove it from the stack.
5647 (hildon_program_go_to_root_window):
5648 Don't call gtk_widget_show(), this is now a task for the window
5651 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5653 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5655 * src/hildon-button.c
5656 (hildon_button_construct_child):
5657 Don't pack anything in the button until text or image are
5658 set. This allows adding a custom child after creating the button
5659 with hildon_button_new().
5660 (hildon_button_finalize, hildon_button_class_init)
5661 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5662 alignment and the label box even when they're not packed in the
5665 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5667 * src/hildon-touch-selector.h:
5668 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5669 currently the type definition was using GTK_TYPE_VBOX
5670 * src/hildon-touch-selector.c:
5671 Added some implementation notes in order to clarify that any other widget
5672 added without the column related API will not be included on the
5673 selection logic, and how the widget is freed, as some people ask about
5675 (hildon_touch_selector_remove): Reimplemented in order to free properly
5676 the column related data when you remove the private hbox.
5677 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5678 to get a proper HildonTouchSelectorColumn documentation
5680 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5682 * src/hildon-touch-selector-entry.c:
5683 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5684 text in the GtkEntry and there is no item selected. Fixes a
5687 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5689 * src/hildon-app-menu-private.h
5690 * src/hildon-app-menu.[ch]
5691 * src/hildon-button.[ch]
5692 * src/hildon-check-button.[ch]
5693 * src/hildon-entry.[ch]
5694 * src/hildon-pannable-area.[ch]
5695 * src/hildon-text-view.[ch]:
5696 Added private field to the object's structure.
5698 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5700 * configure.ac: post-release version bump
5702 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5706 * configure.ac: pre-release version bump
5708 * debian/changelog: updates.
5710 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5713 Disconnect the handler for HildonTouchSelector::changed.
5715 (hildon_picker_button_selector_selection_changed): Update the button
5716 value if the selection change was not triggered by the
5719 (hildon_picker_button_set_selector): connect to
5720 HildonTouchSelector::changed.
5722 Fixes: NB#89650 (Picker button is not updated, when selection in
5723 selector has changed)
5725 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5727 * src/hildon-picker-dialog.c
5728 (hildon_picker_dialog_realize): Removed as not required
5729 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5730 * src/hildon-picker-button.c
5731 (_current_selector_empty): New function, checks if the selector is empty
5732 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5733 if the current selector is empty, in order to avoid to show the dialog
5734 close the dialog in this case (and shows a g_warning).
5736 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5738 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5740 * src/hildon-pannable-area.c,
5741 (hildon_pannable_area_scroll): Added clause to stop movement when
5742 the child of pannable is smaller than one page.
5743 (hildon_pannable_area_scroll_to): Added conditions to avoid
5744 starting the scrolling movement if the child is smaller than one
5745 page, the complete child is in the screen, we do not have to move.
5747 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5749 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5752 this is managed automatically by the widget when the size of the
5755 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-picker-button.c
5758 (hildon_picker_button_set_done_button_text): Make a copy of the
5759 text, and free the previous value.
5761 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5763 * src/hildon-touch-selector-entry.c:
5764 (hildon_touch_selector_entry_print_func): Return the selected row's
5765 text if the entry is empty.
5767 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5770 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5772 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5774 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5777 * src/hildon-check-button.h
5778 * src/hildon-check-button.c
5779 * examples/hildon-check-button-example.c:
5780 HildonCheckButton is now a new widget. 'toggled' signal added.
5782 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5784 * src/hildon-program-private.h
5785 * src/hildon-program.c (hildon_program_init)
5786 (hildon_program_finalize): Removed unused variables group_leader
5787 and name from HildonProgramPrivate.
5789 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5791 * src/hildon-check-button.c (hildon_check_button_set_active)
5792 (hildon_check_button_get_active, hildon_check_button_new): Use
5793 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5795 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5797 * src/hildon-touch-selector.h
5798 (hildon_touch_selector_set_column_attributes): added deprecation
5799 guard HILDON_DISABLE_DEPRECATED
5800 * src/hildon-time-selector.c
5801 (hildon_time_selector_set_time)
5802 (hildon_time_selector_get_time): Fixed a typo on documentation
5803 * src/hildon-touch-selector.c: update HildonTouchSelector and
5804 HildonTouchSelectorColumn documentation
5805 * src/hildon-touch-selector-entry.c: update "text-column" property
5807 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5808 to be added to the general documentation.
5810 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5812 * examples/hildon-pannable-area-example-4.c,
5814 * examples/hildon-pannable-area-example.c,
5815 (main): Modified the code in order to use the container add, with
5816 viewport treeviews could have problems if they are really big.
5818 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5820 * src/hildon-weekday-picker.c,
5821 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5822 the agreement regarding deprecation in the library.
5824 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5826 * examples/hildon-picker-button-multicolumn-example.c:
5827 (main): Use custom "done" button text.
5829 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5830 (hildon_picker_button_set_property),
5831 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5832 (hildon_picker_button_init),
5833 (+hildon_picker_button_get_done_button_text),
5834 (+hildon_picker_button_set_done_button_text): New methods to customize
5835 the "done" button label in the launched HildonPickerDialog. Also,
5838 * src/hildon-picker-button.h: add the public API.
5840 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5842 * src/hildon-date-selector.h:
5843 * src/hildon-picker-dialog.h:
5844 * src/hildon-time-selector.h:
5845 * src/hildon-touch-selector-column.h:
5846 * src/hildon-touch-selector.h:
5848 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5849 declarations. Fixes gtk-doc warnings.
5851 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5853 * src/hildon-picker-dialog.h
5854 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5855 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5857 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5858 long text is set as label for done button)
5860 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5862 * src/hildon-dialog.c (hildon_dialog_add_button):
5863 Set fixed width to all buttons in the HildonDialog.
5865 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5867 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5869 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5870 Set widget name using class name plus "-finger" or "-thumb".
5872 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5874 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5875 'clicked' when the state of the button is manually changed.
5877 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-app-menu.c (hildon_app_menu_realize)
5880 (hildon_app_menu_unrealize, hildon_app_menu_init)
5881 (hildon_app_menu_class_init, item_visibility_changed):
5882 Change the menu layout when the size of the screen changes.
5883 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5884 Show warning only when changing the number of colums using the
5887 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5889 * debian/compat: Set to 5
5890 * debian/control: Update dependencies.
5891 * debian/libhildon1-dbg.install: Remove.
5892 * debian/libhildon1-dev.install: Update according to cdbs paths.
5893 * debian/libhildon1.install: Update according to cdbs paths.
5894 * debian/rules: Switch to cdbs.
5896 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5898 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5899 'item' variable renamed to 'filter'
5901 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-app-menu.c (hildon_app_menu_insert)
5904 (hildon_app_menu_add_filter, remove_item_from_list)
5905 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5906 Don't leak hidden items when the menu is destroyed.
5908 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5910 * src/hildon-app-menu.c (hildon_app_menu_insert)
5911 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5912 (hildon_app_menu_set_columns, item_visibility_changed)
5913 (filter_visibility_changed, hildon_app_menu_repack_filters)
5914 (hildon_app_menu_repack_items):
5915 Repack items and filters separately.
5917 Don't repack all items, change only the ones that are needed to
5920 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5922 * src/Makefile.am: added hildon-touch-selector-column.h
5924 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5926 * src/hildon-touch-selector.c: added the property "text-column" to the
5927 class HildonTouchSelectorColumn, and related get/set functions
5928 (_default_printf_func): updated to use "text-column" property
5929 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5930 "text-column" in his documentation, as this is now included on
5931 HildonTouchSelectorColumn. The get/set_property can still be used,
5932 working as a wrapper to the concrete column "text-column" property
5933 (_text_column_modified): callback added in order to handle the signal
5934 "notify::text-column" of the concrete HildonTouchSelectorColumn
5935 (hildon_touch_selector_entry_get_text_column)
5936 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5937 modified in order to use the HildonTouchSelectorColumn "text-column"
5939 * src/hildon-time-selector.c:
5940 * src/hildon-date-selector.c:
5941 * examples/hildon-touch-selector-example.c
5942 * examples/hildon-touch-selector-multi-cells-example.c
5943 * examples/hildon-picker-button-multicolumn-example.c
5944 Set the right value to "text-column" property on the creation of a new
5945 column using hildon_touch_selector_append_column()
5947 Fixes: NB#88644 (Hardcoded first column of the model as text column)
5949 2008-09-30 Alberto Garcia <agarcia@igalia.com>
5951 * src/hildon-app-menu.c
5952 (hildon_app_menu_construct_child, hildon_app_menu_init): When
5953 updating the layout of the menu, don't create all widgets again,
5954 just repack the items in their new places.
5956 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
5958 * src/hildon-time-selector.c
5959 (hildon_time_selector_get_time)
5960 (hildon_time_selector_set_time)
5961 Added documentation of these public methods
5963 * src/hildon-date-button.h
5964 * src/hildon-touch-selector-column.h
5965 * src/hildon-time-button.h
5966 * src/hildon-picker-dialog.h
5967 * src/hildon-time-selector.h
5968 * src/hildon-picker-button.h
5969 * src/hildon-touch-selector.h
5970 * src/hildon-time-picker.h
5971 * src/hildon-date-selector.h
5972 * src/hildon-touch-selector-entry.h
5973 Modified in order to use hildon-widgets code style
5975 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5977 Added deprecated support to the compilation process using
5978 HILDON_DISABLE_DEPRECATED
5980 * configure.ac: Added the --disable-deprecated to the configure
5983 * src/hildon-weekday-picker.c:
5984 * src/hildon-weekday-picker.h: Deprecated widget, example of how
5985 to use the deprecated support. We will update the other deprecated
5986 widgets status in a new patch.
5988 2008-09-30 Alejandro G. Castro <alex@igalia.com>
5990 * configure.ac: Fixed typo with fatal warnings support, the
5991 variable name was not correct
5993 2008-09-29 Alberto Garcia <agarcia@igalia.com>
5995 * src/hildon-app-menu.c
5996 * src/hildon-program.c: Update documentation.
5998 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6000 * configure.ac: Post-release version bump.
6002 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6007 * configure.ac: Pre-release version bump.
6008 * debian/changelog: Updates.
6010 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6012 * NEWS: Update news for previous releases.
6014 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6016 * examples/hildon-touch-selector-multi-cells-example.c:
6017 (create_selector): Update the example to use
6018 hildon_touch_selector_append_column() with a NULL renderer and set
6019 the renderers later.
6020 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6021 passed a NULL renderer. This is documented behavior now.
6023 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6024 This must be used if the developer wants full control on the layout of
6025 the renderers to be added to the column.
6027 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6029 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6031 * src/hildon-touch-selector.c: Documentation fixes.
6033 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6035 * src/hildon-wizard-dialog-private.h: Remove image and box.
6036 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6037 (hildon_wizard_dialog_set_property), (response): Completely remove
6038 image/icon support, and the containers required for the layout.
6040 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6042 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-app-menu.c: Updated documentation.
6046 * src/hildon-stackable-window.c
6047 (hildon_stackable_window_set_main_menu): Unref the old menu after
6048 ref'ing the new one.
6050 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6052 * src/hildon-stackable-window.c
6053 (hildon_stackable_window_set_main_menu): Unref the previous menu
6054 instead of destroying it.
6056 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6057 floating reference and set has_user_ref_count to FALSE to make
6058 HildonAppMenu act like a normal ref-counted widget and not a
6061 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6064 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6066 * src/hildon-touch-selector-column.h: new file
6067 * src/hildon-touch-selector.h
6068 * src/hildon-touch-selector.c
6069 Implemented GtkCellLayout interface, in order to allow to configure
6070 the cell layout on each individual selector column
6071 (hildon_touch_selector_set_column_attributes): marked as deprecated
6072 * examples/hildon-touch-selector-multi-cells-example.c
6073 Example of how to use the GtkCellLayout interface on the selector
6075 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6077 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6079 * src/hildon-app-menu.h
6080 * src/hildon-app-menu.c
6081 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6082 (hildon_app_menu_append, hildon_app_menu_prepend):
6083 New methods to prepend, insert and move items in the menu.
6085 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6087 * src/hildon-wizard-dialog.c:
6089 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6091 (create_title): Update logical IDs and related code.
6092 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6094 * src/hildon-wizard-dialog.h: Note that
6095 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6096 point, as it is not used anymore.
6098 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6100 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6102 * src/hildon-note.c:
6103 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6104 shown. Do not display an icon in confirmation notes nor information
6106 (hildon_note_set_button_text): Update logical ID for cancel button.
6108 Fixes: NB#88850 (Update HildonNote button strings + signals)
6110 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6112 * src/hildon-stackable-window.c
6113 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6115 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6117 * src/hildon-app-menu-private.h
6118 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6119 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6120 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6121 temporary property 'columns' to change the number of columns.
6123 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6125 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6127 * examples/hildon-note-example.c: (on_information_clicked),
6128 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6129 debugging information.
6130 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6132 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6133 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6134 in order to close: this will be handled by the WM from now on.
6136 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6138 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6140 * src/hildon-app-menu-private.h
6141 * src/hildon-app-menu.c
6142 (hildon_app_menu_append, hildon_app_menu_add_filter)
6143 (button_visibility_changed, hildon_app_menu_apply_style)
6144 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6145 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6146 layout everytime a button (item or filter) is shown or hidden.
6148 * src/hildon-stackable-window.c
6149 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6152 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6154 * src/hildon-touch-selector.c:
6155 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6156 that the treeview inside the touch selector is in fremantle hildon mode
6157 * examples/hildon-date-button-example.c
6158 * examples/hildon-picker-button-multicolumn-example.c
6159 * examples/hildon-touch-selector-entry-example.c
6160 * examples/hildon-touch-selector-example.c
6161 * examples/hildon-time-button-example.c
6162 * examples/hildon-picker-button-example.c:
6163 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6165 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6167 * examples/hildon-text-view-example.c: (main): Remove the
6168 gtkrc bits, now handled by the theme.
6170 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6175 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6177 * po/Makefile.am: Install properly the mo files.
6178 * po/en_GB.po: Update translation, to ease testing purposes.
6180 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6182 * examples/hildon-picker-button-example.c: (main): Select an item
6183 in the selector before setting it to the button.
6185 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6187 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6188 Update button's value if the selector has an item active.
6190 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6191 'value' with the selector)
6193 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6195 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6196 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6197 (hildon_picker_button_class_init): Plug the finalize method.
6198 (hildon_picker_button_set_selector): If there's a previously set
6199 selector, unref'it before setting a new one.
6201 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6202 HildonTouchSelector)
6204 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6206 * src/hildon-touch-selector-entry.c:
6207 (hildon_touch_selector_entry_changed): Check if there is no text
6208 selected before setting the entry text.
6211 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-touch-selector.h
6214 * src/hildon-touch-selector.c
6215 (hildon_touch_selector_get_active)
6216 (hildon_touch_selector_set_active): New methods to set/get the
6217 index of the selected item.
6219 * src/hildon-picker-button.h
6220 * src/hildon-picker-button.c
6221 (hildon_picker_button_get_active)
6222 (hildon_picker_button_set_active): New methods to set/get the
6223 index of the selected item.
6225 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6227 * configure.ac: post-release version bump.
6229 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6233 * configure.ac: Pre-release version bump.
6234 * debian/changelog: Updates.
6235 * debian/control: Add myself as maintainer and depend on l10n
6238 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6240 * src/hildon-window.c
6241 (hildon_window_set_main_menu)
6242 * src/hildon-stackable-window.c
6243 (hildon_stackable_window_set_main_menu):
6244 Updated documentation.
6246 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6248 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6249 Don't free selector->priv manually.
6252 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6255 (hildon_gtk_window_set_progress_indicator):
6256 * src/hildon-gtk.h: Added the new API
6257 hildon_gtk_window_set_progress_indicator, it changes the state of
6258 the window progress hint.
6260 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6262 * src/hildon-button.c
6263 * src/hildon-stackable-window.c: Minor documentation updates.
6265 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6267 * src/hildon-stackable-window.c: Updated documentation.
6269 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6271 * src/hildon-defines.h: Update margins definitions
6272 to the Fremantle sizes.
6275 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6277 * src/hildon-touch-selector.c,
6278 (_hildon_touch_selector_set_model): Cleaning the code after
6279 review, removed g_print and #if 0 from the code.
6281 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6283 * src/hildon-edit-toolbar.c: Update documentation.
6285 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6287 * src/hildon-check-button.h
6288 * src/hildon-check-button.c
6289 (hildon_check_button_set_label, hildon_check_button_get_label)
6290 * examples/hildon-check-button-example.c
6291 (button_clicked_cb):
6292 Removed deprecated methods.
6294 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6296 * src/hildon-text-view.c:
6297 Add sample code to the documentation.
6299 * src/hildon-entry.h
6300 * src/hildon-text-view.h:
6301 Minor cosmetic changes.
6303 * src/hildon-entry.c:
6304 Add sample code to the documentation.
6305 (hildon_entry_init, hildon_entry_refresh_contents):
6306 Don't allow NULL values in the placeholder.
6308 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6310 * doc/hildon-docs.sgml
6312 * examples/Makefile.am
6313 * examples/hildon-text-view-example.c
6315 * src/hildon-text-view.c
6316 * src/hildon-text-view.h
6318 New HildonTextView widget, with example.
6320 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6322 * po/POTFILES.in: Add missing files with translatable strings.
6323 Partially fixes NB#88287.
6325 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6327 * examples/hildon-pannable-area-example-2.c: (main): No need to
6328 set the cellrenderer height inside hildon touch lists, the theme does
6331 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6333 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6334 they are integrated in the theme.
6336 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6338 * examples/hildon-entry-example.c: Update the example adding
6339 widgets to modify the text and the placeholder of the HildonEntry.
6341 * src/hildon-entry.c: Show the placeholder everytime the widget
6342 is empty and loses the focus.
6344 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6346 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6348 * src/hildon-pannable-area.c,
6349 (hildon_pannable_area_size_request): Fixed bug in height
6350 requisition, avoid increasing size and add border twice.
6352 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6354 * configure.ac: postrelease version bump.
6356 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6360 * configure.ac: Prerelease version bump.
6361 * debian/changelog: update.
6362 * debian/rules: make -dbg package contain useful debugging symbols.
6364 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6366 * src/hildon-dialog.h
6367 * src/hildon-dialog.c
6368 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6369 New methods to add buttons with finger size.
6370 (hildon_dialog_new_with_buttons):
6371 Create buttons with finger size.
6373 * examples/hildon-dialog-example.c (main): Use HildonDialog
6374 methods to add buttons.
6376 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6378 * src/hildon-entry.c: Updated HildonButton documentation.
6380 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6382 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6383 button value label with (FALSE, FALSE) to prevent NB#88126 from
6386 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6388 * examples/hildon-pannable-area-example.c,
6389 (main): Removed examples panning a vbox inside a pannable
6390 area. Check bug NB#87965
6392 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6394 Patch contributed by Kris Rietveld (kris@imendio.com)
6396 * src/hildon-pannable-area.c,
6397 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6398 get_size and get_position, this saves an X server roundtrip.
6400 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6402 * doc/hildon-docs.sgml
6404 * examples/Makefile.am
6405 * examples/hildon-entry-example.c
6407 * src/hildon-entry.c
6408 * src/hildon-entry.h
6410 New HildonEntry widget, with example.
6412 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6414 * src/hildon-button.c (hildon_button_construct_child): Pack the
6415 image with expand == fill == FALSE. This is a workaround for a bug
6418 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6420 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6421 labels for the text column, to make it more look more dynamic.
6423 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6425 * src/hildon-time-selector.c
6426 Define gettext auxiliar macro N_
6427 (_create_minutes_model)
6428 (_create_hours_model)
6429 (_create_ampm_model): use of strftime in order to fill the model
6430 * src/hildon-date-selector.c
6431 (hildon_date_selector_finalize):
6432 (_locales_init): remove the logic related to get the name of the months
6433 using nl_langinfo, as it is not required anymore
6435 (_create_year_model)
6436 (_create_month_model)
6437 (_update_day_model): use of strftime in order to fill the model properly
6440 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6442 * src/hildon-button.h
6443 * src/hildon-button.c (hildon_button_get_image): New method to
6446 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6448 * src/hildon-touch-selector.c:
6449 (hildon_touch_selector_remove_column): Remove from the correct parent
6450 and also remove the list element and free it.
6453 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6455 * src/hildon-time-selector.c
6456 (_create_hours_model): change the range on 12h ampm format in order to use
6457 a 12-11 range instead of previous 01-12 range
6458 (hildon_time_selector_set_time): change the way to select the current time
6459 on 12h ampm format, due the change on the range
6460 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6463 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6465 * src/hildon-touch-selector.c
6466 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6467 in order to allow use this function on multiple row selection mode if
6468 the column is different that the first one
6471 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6473 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6474 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6476 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6478 * src/hildon-date-selector.h: clean some comments, now on the .c
6479 * src/hildon-date-selector.c
6480 (hildon_date_selector_select_month): first implementation
6481 (hildon_date_selector_select_day): added documentation, reimplemented
6482 using hildon_date_selector_select_current_date to avoid repeat code
6485 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6487 Reviewed interaction logic based on device experiences, refactored
6490 * src/hildon-pannable-area.c,
6491 (hildon_pannable_area_class_init): Updated default vmax speed.
6492 (hildon_pannable_area_calculate_velocity): Added this function, it
6493 avoids duplicate valocity calculation. Adjusted calculation to
6494 avoid problems with zero dist events.
6496 (hildon_pannable_area_motion_notify_cb): Now we use the
6497 calculate_velocity function.
6499 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6501 * src/hildon-date-selector.c
6502 (hildon_date_selector_select_current_date): fix the day range check
6503 as it failed using the last day of the current month
6506 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6508 * src/hildon-touch-selector.c
6509 (hildon_touch_selector_get_num_columns): added a parameter validation
6512 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6514 * examples/Makefile.am
6515 * examples/hildon-edit-toolbar-example.c: Example of the
6516 HildonEditToolbar widget.
6518 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6520 * configure.ac: postrelease version bump.
6522 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6526 * configure.ac: prerelease version bump.
6527 * debian/changelog: update.
6529 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6531 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6532 renderer to display stock icons in the touch list. Also, set the sizes
6533 to the recommended in the style guide.
6535 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6536 * src/hildon-touch-selector.h
6537 (hildon_touch_selector_set_active_iter): renamed, now is
6538 hildon_touch_selector_select_iter
6539 (hildon_touch_selector_get_active_iter): renamed, now is
6540 hildon_touch_selector_get_selected
6541 (hildon_touch_selector_unselect_iter): added
6542 * src/hildon-touch-selector.c
6543 Update after API modification (methods renamed)
6544 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6545 order to avoid problems selecting multiple elements on the column
6546 (hildon_touch_selector_unselect_iter): added the implementation
6547 * src/hildon-time-selector.c
6548 * src/hildon-date-selector.c
6549 * src/hildon-touch-selector-entry.c
6550 Update methods calls after hildon-touch-selector.h API modification (methods
6553 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-stackable-window.c
6556 (hildon_stackable_window_finalize): Call the parent class's finalize.
6558 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6560 * examples/hildon-touch-selector-example.c: (create_selector): Use
6561 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6564 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6566 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6567 set a cell background color, to respect theming.
6569 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6571 * doc/hildon-docs.sgml
6574 * src/hildon-edit-toolbar.c
6575 * src/hildon-edit-toolbar.h
6576 * src/hildon.h: New HildonEditToolbar widget.
6578 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6580 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6583 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6584 * src/hildon-touch-selector.c
6585 (_create_new_column): use g_object_set instead of two g_object_set_property
6587 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6588 * src/hildon-touch-selector.c
6589 (_create_new_column): use of hildon_gtk_tree_view_new to create
6590 the treeview, instead of use directly g_object_new
6591 (_create_new_column): update the property name "vindicator-mode" for the
6592 new one "vscrollbar-policy"
6593 * examples/hildon-date-button-example.c
6594 * examples/hildon-picker-button-multicolumn-example.c
6595 * examples/hildon-touch-selector-entry-example.c
6596 * examples/hildon-touch-selector-example.c
6597 * examples/hildon-time-button-example.c
6598 * examples/hildon-picker-button-example.c
6599 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6600 to all the treeviews inside a pannable area.
6602 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6604 * src/hildon-button.h
6605 * src/hildon-button.c (hildon_button_init)
6606 (hildon_button_set_arrangement, hildon_button_set_alignment)
6607 (hildon_button_set_title_alignment)
6608 (hildon_button_set_value_alignment)
6609 (hildon_button_set_image_alignment)
6610 (hildon_button_construct_child): New methods to set the alignment
6611 of the individual components of the button (title, value,
6612 image). Also, new method to alter the xscale and yscale properties
6613 of the GtkAlignment inside the button, so more complex layouts can
6616 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6618 * src/hildon-button.c (hildon_button_style_set)
6619 (hildon_button_class_init, hildon_button_set_arrangement)
6620 (hildon_button_construct_child): Apply style properties
6621 correctly. Use the 'image-spacing' style property too.
6623 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6625 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6626 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6629 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6631 * src/hildon-pannable-area.c,
6632 (hildon_pannable_area_size_request): Fixed problem with
6633 pannable-area size_request.
6635 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6637 Added management for the grab-focus to a child widget, like a
6638 range, we need to fade out the scrollbar when releasing.
6640 * src/hildon-pannable-area.c,
6641 (hildon_pannable_area_init): Connected the grab-focus signal to
6643 (hildon_pannable_area_grab_notify): Added this function in order
6644 to manage the situation when the grab-focus ends. We have to
6645 fade-out the scrollbar.
6647 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6649 * src/hildon-app-menu.c: Minor documentation update.
6651 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6653 * src/hildon-app-menu.c
6654 * examples/hildon-app-menu-example.c (create_menu): Update
6655 examples and documentation to explain how to connect callbacks.
6657 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6659 * examples/hildon-button-example.c
6660 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6661 hildon_stackable_window_new instead of gtk_window_new
6663 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6665 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6666 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6667 (hildon_pannable_area_set_property),
6668 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6669 (hildon_pannable_area_unrealize),
6670 (hildon_pannable_area_size_request),
6671 (hildon_pannable_area_size_allocate),
6672 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6673 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6674 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6675 (hildon_pannable_area_initial_effect),
6676 (hildon_pannable_area_redraw),
6677 (hildon_pannable_area_scroll_indicator_fade),
6678 (hildon_pannable_area_expose_event),
6679 (hildon_pannable_area_get_topmost), (synth_crossing),
6680 (hildon_pannable_area_button_press_cb),
6681 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6682 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6683 (hildon_pannable_area_motion_notify_cb),
6684 (hildon_pannable_area_button_release_cb),
6685 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6686 (hildon_pannable_area_remove),
6687 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6688 chage the code layout to a more GtkWidget like. Review the use of
6691 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6693 * examples/hildon-pannable-area-example-4.c,
6694 (main): Modified the name of the hindicator_mode to
6697 * src/hildon-pannable-area.c,
6698 (hildon_pannable_area_class_init),
6699 (hildon_pannable_area_motion_notify_cb),
6700 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6701 we have reduced the amount of signals and managed reviewed its
6702 rationale. Changed the default decelerate value.
6704 (hildon_pannable_area_add),
6705 (hildon_pannable_area_redraw): Refactored functions.
6707 (hildon_pannable_area_init),
6708 (hildon_pannable_area_get_property),
6709 (hildon_pannable_area_set_property):
6710 (hildon_pannable_draw_vscroll),
6711 (hildon_pannable_draw_hscroll),
6712 (hildon_pannable_area_initial_effect),
6713 (hildon_pannable_area_expose_event),
6714 (hildon_pannable_area_scroll),
6715 (hildon_pannable_area_button_press_cb),
6716 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6717 and vindicator_mode with hscrollbar_policy and
6718 vscrollbar_policy. Replaced hscroll and vscroll with
6719 hscroll_visible and vscroll_visible.
6721 (hildon_pannable_area_refresh): Refactor the function, remove
6722 variables and check the calls to this function, added resize
6723 conditions in case the children change their layout.
6725 (hildon_pannable_area_size_request): Added more detailed
6726 size_request calculation.
6729 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6731 * src/hildon-color-chooser.c
6732 (init_borders): use the correct gtk_border_free instead of g_free, to
6733 avoid a crash when this widget is used (ie: the three color selection
6736 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6738 * src/hildon-check-button.c,
6739 (hildon_check_button_set_active): Fixed problem when setting the
6740 active value, the widget was not redrawn.
6742 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6744 * src/hildon-pannable-area.c,
6745 (hildon_pannable_area_refresh),
6746 (hildon_pannable_area_scroll),
6747 (hildon_pannable_area_motion_notify_cb): Small code style change.
6749 (hildon_pannable_area_class_init): Default initial_hint set to
6750 FALSE, it is not in the specs.
6752 (hildon_pannable_area_initial_effect),
6753 (hildon_pannable_area_expose_event),
6754 (hildon_pannable_area_map),
6755 (hildon_pannable_area_init): Moved the launching point of the
6756 initial effect, it was in map but the sizes where not correct in
6757 that method so we do not know if we have the reproduce it. Now it
6758 is placed in the expose_event method and uses a variable to
6759 reproduce it just once.
6761 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6763 * src/hildon-pannable-area.c,
6764 (hildon_pannable_draw_vscroll),
6765 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6766 position allowed for the scrollbars.
6768 (hildon_pannable_area_size_allocate): Small style change.
6770 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6772 * src/hildon-pannable-area.c,
6773 (hildon_pannable_area_scroll_indicator_fade),
6774 (hildon_pannable_area_button_press_cb),
6775 (hildon_pannable_area_button_release_cb),
6776 (hildon_pannable_area_scroll_cb),
6777 (hildon_pannable_area_expose_event),
6778 (hildon_pannable_area_init): Added the define parameter
6779 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6780 and refactor the fade variable.
6782 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6784 * src/hildon-pannable-area.c,
6785 (hildon_pannable_area_redraw),
6786 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6787 lines, we were reimplemeting the redraw code.
6789 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6791 * src/hildon-pannable-area.c,
6792 (hildon_pannable_area_scroll_cb),
6793 (hildon_pannable_area_realize),
6794 (hildon_pannable_area_class_init): Added scroll_event management
6795 for pannable area, now we can scroll the usual desktop method.
6797 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6798 initialization of the parameters should depend on idle_id.
6800 (hildon_pannable_area_init),
6801 (hildon_pannable_area_map): Small code style modifications
6803 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6805 * src/hildon-pannable-area.c
6806 (hildon_pannable_area_button_press_cb),
6807 (hildon_pannable_area_motion_notify_cb),
6808 (hildon_pannable_area_button_release_cb),
6809 (hildon_pannable_area_size_allocate),
6810 (hildon_pannable_area_scroll_to): Improved the timeouts
6811 management, we avoid creating them each time.
6813 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6815 * src/hildon-pannable-area.c:
6816 (hildon_pannable_area_refresh),
6817 (hildon_pannable_area_motion_notify_cb),
6818 (hildon_pannable_area_class_init):
6819 * src/hildon-pannable-area.h:
6820 * src/hildon-touch-selector.c
6821 (_create_new_column):
6822 * examples/hildon-pannable-area-example-4.c:
6823 (horizontal_movement),
6824 (vertical_movement),
6826 Replaced the names of enums in the HildonPannableArea:
6827 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6828 HILDON_MOVEMENT_MODE_*
6829 - HILDON_PANNABLE_AREA_MOV_* ->
6831 - Removed HildonPannableAreaIndicatorMode, now we
6834 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6836 * examples/hildon-pannable-area-touch-grid-example.c
6837 * examples/hildon-pannable-area-touch-list-example.c: Fix
6838 compilation warnings.
6840 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6842 * src/hildon-gtk.c (hildon_gtk_button_new)
6843 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6844 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6845 images overriding the value of the "gtk-button-images" setting.
6847 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6849 * src/hildon-check-button.c (hildon_check_button_new):
6850 Instead of using a custom container, display the label and the
6851 checkbox using the standard GtkButton API.
6853 * examples/hildon-check-button-example.c (main): Don't use
6854 hildon_check_button_set_label() anymore
6856 * src/hildon-check-button.h
6857 * src/hildon-check-button.c
6858 (hildon_check_button_set_label, hildon_check_button_get_label):
6859 Set as deprecated, now we're using gtk_button_{get,set}_label()
6861 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6863 * src/hildon-pannable-area.c,
6864 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6865 GtkTreeview first line we detected it after the inclusion of the
6866 GtkWindowImpl in gtk+. We now check if the window is visible, not
6867 just if the pointer is over the window.
6868 (hildon_pannable_axis_scroll),
6869 (hildon_pannable_area_expose_event): Small style changes.
6871 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6873 * src/hildon-button.c: Update documentation.
6875 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6877 * examples/hildon-button-example.c: Add a switch to show images in
6880 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6882 * doc/hildon-docs.sgml: Some docs reorganization.
6884 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6886 * examples/hildon-pannable-area-touch-list-example.c
6888 * examples/hildon-pannable-area-touch-grid-example.c
6889 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6890 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6891 Fix memory leak when setting the tree model.
6893 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6897 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6899 * doc/hildon.types: Remove duplicated hildon_window_get_type
6900 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6901 documentation comment.
6903 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6905 * doc/Makefile.am: Complete list of private headers.
6907 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6909 * doc/hildon-docs.sgml
6910 * src/hildon-app-menu.c
6911 * src/hildon-bread-crumb.c
6912 * src/hildon-button.c
6914 * src/hildon-program.c
6915 * src/hildon-stackable-window.c
6916 * src/hildon-window.c: Lots of documentation updates.
6918 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6920 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6922 * configure.ac: Require Gtk+ 2.12.9 at least
6924 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6926 * src/hildon-pannable-area.c
6927 (hildon_pannable_area_scroll_indicator_fade),
6928 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6929 to protect the return of this timeout callbacks, avoiding deadlocks.
6931 2008-08-12 Christian Dywan <christian@imendio.com>
6934 * src/hildon-*.h: Ensure a consistent include order,
6935 include <gtk/gtk.h> instead of particular files and
6936 only include the topmost header in the gtk stack. See NB #39857
6938 2008-08-12 Christian Dywan <christian@imendio.com>
6940 * src/hildon-picker-dialog.c
6941 * src/hildon-touch-selector.c: Fix warnings about unused and
6942 uninitialized variables.
6944 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6946 * examples/Makefile.am
6947 * examples/hildon-check-button-example.c: Example of the hildon
6950 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6952 * src/hildon-window.h
6953 * src/hildon-window.c (hildon_window_class_init)
6954 (hildon_window_unset_program): Don't make
6955 hildon_window_unset_program a virtual function anymore.
6957 * src/hildon-stackable-window.c: Update documentation
6959 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6962 * doc/hildon-docs.sgml
6963 * doc/visual_index.xml
6964 * src/hildon-defines.c
6966 * src/hildon-helper.c
6967 * src/hildon-range-editor.c: Lots of documentation fixes.
6969 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6971 * examples/hildon-picker-button-multicolumn-example.c
6972 (create_touch_selector): Fix compilation warning.
6974 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6976 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
6977 (hildon_pannable_area_button_release_cb)
6978 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
6980 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6982 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
6985 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6987 * src/hildon-bread-crumb-trail.h
6988 * src/hildon-date-editor.c
6989 * src/hildon-date-selector.c
6990 * src/hildon-pannable-area.c
6991 * src/hildon-picker-dialog.c
6992 * src/hildon-time-selector.c
6993 * src/hildon-touch-selector-entry.c
6994 * src/hildon-touch-selector.c
6995 * src/hildon-touch-selector.h: Misc documentation fixes
6997 2008-08-11 Alberto Garcia <agarcia@igalia.com>
6999 * examples/hildon-date-editor-example.c (main): Updated date
7002 * examples/hildon-note-example.c (on_confirmation_clicked):
7003 Updated confirmation note example.
7005 * src/hildon-date-editor.c
7006 * src/hildon-note.c: Updated sample programs in documentation.
7009 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7011 * src/hildon-date-button.h:
7012 * src/hildon-picker-button.h:
7013 * src/hildon-time-button.c:
7014 * src/hildon-time-button.h:
7016 Some declarations changes to allow gtk-doc to document the widgets
7019 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7021 * src/hildon-date-button.c: Document the widget.
7022 * src/hildon-time-button.c: Document the widget.
7024 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7026 * src/hildon-picker-button.c: Document the widget.
7027 * src/hildon-touch-selector-entry.c: Document the widget.
7029 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7031 * doc/hildon-docs.sgml
7034 * src/hildon-check-button.h
7035 * src/hildon-check-button.c: New functions to create the Hildon
7039 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7041 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7043 * src/hildon-button.h
7044 * src/hildon-button.c
7045 (hildon_button_add_title_size_group)
7046 (hildon_button_add_value_size_group)
7047 (hildon_button_add_image_size_group)
7048 (hildon_button_add_size_groups): New functions to set size groups
7049 for the button labels and image.
7050 (hildon_button_new_full): Removed
7052 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7054 * src/hildon-time-selector.c
7055 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7056 in order to avoid a crash if gconf is not available
7058 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7060 * src/hildon-button.c (hildon_button_set_arrangement)
7061 (hildon_button_construct_child): Don't construct the button child
7062 before setting the arrangement.
7064 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7066 * src/hildon-program-private.h
7067 * src/hildon-program.c
7068 * src/hildon-program.h
7069 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7070 (hildon_program_peek_window_stack)
7071 (hildon_program_pop_window_stack)
7072 (hildon_program_go_to_root_window): HildonProgram now has a
7073 separate list for stackable windows. Functions are provided to
7074 manage that list with a stack-like API.
7076 * src/hildon-stackable-window.c: Stackable window management is
7077 now much simpler with the new HildonProgram API. Windows no
7078 longer need to be manually added to the program, they're
7079 automatically pushed to the top of the stack when shown.
7081 * examples/hildon-stackable-window-example.c: Updated example to
7082 reflect the API changes.
7084 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7086 * src/hildon-touch-selector.c: Comment out unimplemented
7087 hildon_touch_selector_insert_column() to avoid a compile warning.
7089 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7091 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7092 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7093 (hildon_touch_selector_set_column_selection_mode),
7094 (_hildon_touch_selector_set_model),
7095 (hildon_touch_selector_set_model):
7097 Complete review of HildonTouchSelector documentation.
7099 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7101 * doc/hildon-docs.sgml
7105 * src/hildon-gtk.c: Convenience functions for standard Gtk
7106 widgets, used to easily perform frequent operations.
7108 * src/hildon-button-helpers.h
7109 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7111 * src/hildon-helper.h
7112 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7113 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7115 * src/hildon-button.h
7116 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7118 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7120 * src/hildon-button.c (hildon_button_init)
7121 (hildon_button_set_arrangement, hildon_button_construct_child):
7122 Pack the image and the labels inside the same GtkAlignment so
7123 gtk_button_set_alignment() can be used
7125 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7127 * src/hildon-button.h
7128 * src/hildon-button.c
7129 (hildon_button_init, hildon_button_set_image)
7130 (hildon_button_set_image_position)
7131 (hildon_button_construct_child): New functions to add an image to
7134 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7136 * src/hildon-date-button.c
7137 * src/hildon-picker-button.c
7138 * src/hildon-time-button.c
7139 * src/hildon-button.c:
7140 (hildon_button_class_init): "size-flags" renamed to "size"
7141 (hildon_button_set_title): Hide the title label if set to NULL.
7143 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7145 HildonButtonFlags split into HildonButtonArrangement (to set the
7146 button layout) and HildonSizeType (which can be used for any
7149 * src/hildon-button.h
7150 * src/hildon-button.c
7151 (hildon_button_class_init)
7152 (hildon_button_set_arrangement)
7153 (hildon_button_set_property): New "size-flags"
7154 property. "arrangement-flags" renamed to "arrangement".
7155 (hildon_button_new, hildon_button_new_with_text)
7156 (hildon_button_new_full): Constructors updated to reflect type changes.
7158 * src/hildon-helper.h
7159 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7160 to set the size of a widget.
7164 * src/hildon-button-helpers.c
7165 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7167 * src/hildon-date-button.c
7168 * src/hildon-date-button.h
7169 * src/hildon-picker-button.c
7170 * src/hildon-picker-button.h
7171 * src/hildon-time-button.c
7172 * src/hildon-time-button.h: Updated widgets to reflect
7173 HildonButton API changes.
7175 * examples/hildon-button-example.c
7176 * examples/hildon-date-button-example.c
7177 * examples/hildon-picker-button-example.c
7178 * examples/hildon-picker-button-multicolumn-example.c
7179 * examples/hildon-time-button-example.c
7180 * examples/hildon-touch-selector-entry-example.c
7181 * examples/hildon-touch-selector-example.c: Updated examples to
7182 reflect HildonButton API changes.
7184 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7186 * doc/hildon-docs.sgml:
7188 * examples/Makefile.am:
7189 * examples/hildon-touch-selector-entry-example.c:
7191 * src/hildon-touch-selector-entry.c:
7192 * src/hildon-touch-selector-entry.h:
7195 Moved HildonTouchSelectorEntry from sandbox. Added its
7196 documentation and examples.
7198 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7200 * src/hildon-touch-selector.h:
7201 * examples/hildon-picker-button-multicolumn-example.c:
7202 (hildon_touch_selector_append_text_column): Add a gboolean
7203 parameter to determine if text must be centered in the column.
7205 * src/hildon-date-selector.c: (hildon_date_selector_init):
7206 * src/hildon-time-selector.c: (hildon_time_selector_init):
7207 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7208 (create_touch_selector): Update widgets and example to reflect
7211 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7213 * src/hildon-touch-selector.c:
7214 (hildon_touch_selector_set_active_iter): Set also the cursor in
7217 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7219 * doc/hildon-docs.sgml
7222 * src/hildon-toggle-button.c
7223 * src/hildon-toggle-button.h
7224 * src/hildon.h: Removed HildonToggleButton widget, a derived
7225 class is not necessary for this.
7227 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7229 * src/hildon-pannable-area.c,
7230 (hildon_pannable_area_realize),
7231 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7234 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7236 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7237 "done" button the default widget for the dialog.
7239 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7241 * src/hildon-touch-selector.c:
7242 (hildon_touch_selector_class_init),
7243 (hildon_touch_selector_get_property),
7244 (_hildon_touch_selector_set_model),
7245 (_hildon_touch_selector_has_multiple_selection),
7246 (hildon_touch_selector_has_multiple_selection):
7247 Add a "has-multiple-selection" property with a virtual
7248 has_multiple_selection() method to allow derived classes to
7249 override the default value for it. See the method and property
7250 documentation for details.
7252 * src/hildon-touch-selector.h: Add the new API.
7254 * src/hildon-picker-dialog.c: (requires_done_button): Call
7255 hildon_touch_selector_has_multiple_selection() instead of
7256 determining the need for a button itself.
7258 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7260 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7261 (_hildon_touch_selector_set_model),
7262 (hildon_touch_selector_set_model): Move working code to
7263 _hildon_touch_selector_set_mode(). Call the class method instead.
7265 * src/hildon-touch-selector.h: Add (*set_model) to
7266 HildonTouchSelectorClass.
7268 Make hildon_touch_selector_set_model() a virtual method, so that
7269 derived classes can extend it and do fancy stuff with the model.
7271 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7273 * configure.ac: Set back the tarname in AC_INIT to hildon.
7275 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7279 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7280 instead of libesd (NB#86876). Volume handling is still an open issue.
7282 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7285 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7287 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7288 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7289 derived class to ease placement of an entry widget in
7290 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7291 end, where the selector columns are packed now.
7293 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7295 * src/hildon-picker-button.c: Removed the simple _text() API.
7296 * src/hildon-picker-button.h: Likewise.
7298 * src/hildon-touch-selector.h:
7299 * src/hildon-touch-selector.c:
7300 (hildon_touch_selector_new_text),
7301 (hildon_touch_selector_append_text),
7302 (hildon_touch_selector_prepend_text),
7303 (hildon_touch_selector_insert_text):
7305 Moved the simple _text() API from HildonPickerButton to
7306 HildonTouchPicker, to provide better escalability and not to tie
7307 that API to HildonPickerButton.
7309 * examples/hildon-picker-button-example.c: (main): Example updated.
7311 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7313 * src/hildon-button.c: Updated documentation.
7315 * examples/hildon-button-example.c: Add the posibility to create
7316 the buttons using horizontal layout for title and value.
7318 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7320 * src/hildon-app-menu-private.h
7321 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7322 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7323 GtkSizeGroup for the filters, use the 'homogeneous' property of
7326 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7328 * examples/hildon-button-example.c: Updated example.
7330 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7332 * doc/hildon-docs.sgml:
7335 Update documentation.
7337 * examples/Makefile.am: Update renamed examples.
7339 * examples/hildon-picker-button-multicolumn-example.c:
7340 (create_touch_selector), (main): Update after the rename.
7342 * examples/hildon-touch-picker-example.c: Removed.
7343 * examples/hildon-touch-selector-example.c: (value_changed),
7344 (create_selector), (get_visible_content), (main): Renamed from
7345 hildon-touch-picker-example.c
7347 * src/Makefile.am: Updated renamed files.
7349 * src/hildon-date-button.c: (hildon_date_button_init),
7350 (hildon_date_button_get_date), (hildon_date_button_set_date):
7351 * src/hildon-date-selector.c: (hildon_date_selector_init),
7352 (_custom_print_func), (_update_day_model),
7353 (_manage_selector_change_cb),
7354 (hildon_date_selector_select_current_date),
7355 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7356 * src/hildon-date-selector.h:
7357 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7358 (hildon_picker_button_set_property),
7359 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7360 (hildon_picker_button_init), (hildon_picker_button_new_text),
7361 (hildon_picker_button_append_text),
7362 (hildon_picker_button_prepend_text),
7363 (hildon_picker_button_insert_text),
7364 (hildon_picker_button_set_selector),
7365 (hildon_picker_button_get_selector):
7366 * src/hildon-picker-button.h:
7367 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7368 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7369 (_update_title_on_selector_changed_cb), (requires_done_button),
7370 (_hildon_picker_dialog_set_selector),
7371 (hildon_picker_dialog_set_selector),
7372 (hildon_picker_dialog_get_selector):
7373 * src/hildon-picker-dialog.h:
7374 * src/hildon-time-button.c: (hildon_time_button_init),
7375 (hildon_time_button_get_time), (hildon_time_button_set_time):
7376 * src/hildon-time-selector.c: (hildon_time_selector_init),
7377 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7378 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7379 * src/hildon-time-selector.h:
7382 Massive code updates after the rename.
7384 * src/hildon-touch-picker.c: Removed.
7385 * src/hildon-touch-picker.h: Removed.
7387 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7388 (hildon_touch_selector_init), (hildon_touch_selector_map),
7389 (hildon_touch_selector_remove), (_default_print_func),
7390 (_selection_changed_cb), (_create_new_column),
7391 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7392 (hildon_touch_selector_append_text_column),
7393 (hildon_touch_selector_remove_column),
7394 (hildon_touch_selector_set_column_attributes),
7395 (hildon_touch_selector_insert_column),
7396 (hildon_touch_selector_get_num_columns),
7397 (hildon_touch_selector_get_column_selection_mode),
7398 (hildon_touch_selector_set_column_selection_mode),
7399 (hildon_touch_selector_set_print_func),
7400 (hildon_touch_selector_get_print_func),
7401 (hildon_touch_selector_get_active_iter),
7402 (hildon_touch_selector_set_active_iter),
7403 (hildon_touch_selector_get_selected_rows),
7404 (hildon_touch_selector_get_model),
7405 (hildon_touch_selector_set_model),
7406 (hildon_touch_selector_get_current_text),
7407 (_hildon_touch_selector_center_on_selected_items):
7408 * src/hildon-touch-selector.h: Renamed from
7409 hildon-touch-picker.[ch]
7411 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7412 references, code examples, and related documentation.
7414 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7416 * doc/hildon-docs.sgml
7419 * src/hildon-toggle-button.c
7420 * src/hildon-toggle-button.h
7421 * src/hildon.h: New HildonToggleButton widget.
7423 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7425 * src/hildon-button.c: Add API documentation.
7426 (hildon_button_set_size_groups): Check input parameters
7428 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7430 * src/hildon-pannable-area.c
7431 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7432 effect after reaching the movement thredshold. This way we start
7433 using the distance after passing the thredshold.
7435 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7437 * src/hildon-button.c: (hildon_button_set_property): Use the
7438 appropriate g_value_get_flags() method.
7440 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7442 * doc/hildon-docs.sgml:
7445 Add the touch pickers, picker dialogs, and picker button widgets
7446 to the documentation.
7448 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7450 * src/hildon-button.c: (hildon_button_set_property),
7451 (hildon_button_class_init): Make "arrangement-flags" a proper
7452 G_TYPE_FLAGS derived property.
7454 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7456 * examples/Makefile.am: Add below examples.
7457 * examples/hildon-date-button-example.c:
7458 * examples/hildon-picker-button-example.c:
7459 * examples/hildon-picker-button-multicolumn-example.c:
7460 * examples/hildon-time-button-example.c:
7461 * examples/hildon-touch-picker-example.c:
7463 Add examples for the recently added touch pickers,
7464 picker dialogs, and picker button widgets.
7466 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7468 * src/hildon-button.c: Add some API documentation
7470 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7472 * src/hildon-button.h
7473 * src/hildon-button.c
7475 (hildon_button_new_with_text): New constructor to create a button
7476 with no text at all.
7477 (hildon_button_init, hildon_button_set_arrangement)
7478 (hildon_button_set_title, hildon_button_set_value)
7479 (hildon_button_set_text)
7480 (hildon_button_construct_child): Hide the value when it's not used
7481 so the rest of the text is properly aligned.
7482 Allow creating buttons with arbitrary widgets inside (not just
7483 title/value labels).
7485 * examples/hildon-button-example.c (vertical_buttons_window)
7486 (horizontal_buttons_window): Update example to use new API.
7488 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7490 * src/Makefile.am: Added HildonTimeButton.
7491 * src/hildon-time-button.c: Added missing LGPL header.
7492 * src/hildon-time-button.h: Added missing LGPL header.
7493 * src/hildon.h: Add hildon-time-button.h
7495 Copied HildonTimeButton from sandbox to trunk. Future work on this
7496 widget must take place in trunk.
7498 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7500 * src/Makefile.am: Added HildonDateButton.
7501 * src/hildon-date-button.c: Update includes.
7502 * src/hildon.h: Add hildon-date-button.h
7504 Copied HildonDateButton from sandbox to trunk. Future work on this
7505 widget must take place in trunk.
7507 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7509 * src/Makefile.am: Added HildonPickerButton.
7510 * src/hildon-picker-button.h: Update includes.
7511 * src/hildon.h: Add hildon-picker-button.h
7513 Copied HildonPickerButton from sandbox to trunk. Future work on
7514 this widget must take place in trunk.
7516 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7518 * src/Makefile.am: Added HildonPickerDialog.
7519 * src/hildon-picker-dialog.c: Update includes.
7520 * src/hildon.h: Add hildon-picker-dialog.h
7522 Copied HildonPickerDialog from sandbox to trunk. Future work
7523 on this widget must take place in trunk.
7525 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7527 * src/Makefile.am: Added HildonTimeSelector.
7528 * src/hildon.h: Add hildon-time-selector.h
7530 Copied HildonTimeSelector 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 HildonDateSelector.
7536 * src/hildon.h: Add hildon-date-selector.h
7538 Copied HildonDateSelector widget from sandbox to trunk. Future
7539 work on this widget must happen in trunk.
7541 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7543 * src/Makefile.am: Added HildonTouchPicker.
7544 * src/hildon-touch-picker.c: Update includes.
7545 * src/hildon.h: Add hildon-touch-picker.h
7547 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7548 on this widget must happen in trunk.
7550 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/hildon-pannable-area.c:
7553 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7555 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7557 * examples/hildon-app-menu-example.c (main): Let the window
7560 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7562 * src/hildon-pannable-area.c
7563 (hildon_pannable_area_class_init): Set the min value of the
7564 overshoot properties to zero, which points out that not
7565 overshooting allowed.
7567 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7569 Modified the procedure to get the widget at a point inside the
7570 pannable area when using the movement type signals. Now the user
7571 has to call a function to get the child, that way we just
7572 calculate the child in case the user really want to use it and not
7575 * src/hildon-marshalers.list: Modified the marshallers, now we do
7576 not have the widget as a parameter.
7578 * src/hildon-pannable-area.c
7579 (hildon_pannable_area_motion_notify_cb),
7580 (hildon_pannable_area_class_init),
7581 (hildon_pannable_get_child_widget_at): Removed the widget
7582 parameter from the signal callback. We have also refactored the
7583 emission of the signals.
7585 * src/hildon-pannable-area.h: Added a new method to the API to
7586 calculate a widget at a point inside the pannable area,
7587 hildon_pannable_get_child_widget_at.
7589 * examples/hildon-pannable-area-example-4.c
7590 (horizontal_movement): Modified the example to use the new API,
7591 added condition to control which widget is under the event. This
7592 way we can avoid scrolling laterally over other widgets.
7594 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7596 * src/hildon-pannable-area.c
7597 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7598 modes, we stop getting the pointer events due to returning the
7599 callback without properly calling the get pointer again. Fixed
7600 also an error using the hscroll and vscroll.
7602 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7604 * src/hildon-app-menu-private.h
7605 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7606 (hildon_app_menu_button_release, hildon_app_menu_init)
7607 (hildon_app_menu_class_init): Don't hide the menu on button
7608 release if the user didn't press outside first.
7610 * src/hildon-window.h
7611 * src/hildon-window.c (hildon_window_toggle_menu)
7612 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7613 hildon_window_toggle_menu a virtual function for the stackable
7614 window to override it.
7616 * src/hildon-stackable-window.h
7617 * src/hildon-stackable-window-private.h
7618 * src/hildon-stackable-window.c
7619 (hildon_stackable_window_realize)
7620 (hildon_stackable_window_finalize)
7621 (hildon_stackable_window_class_init)
7622 (hildon_stackable_window_init)
7623 (hildon_stackable_window_set_main_menu): New function to set the
7624 app menu of a HildonStackableWindow.
7626 * examples/hildon-app-menu-example.c: Remove the button to show
7627 the app menu, now it'll be shown when clicking on the title bar
7630 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7632 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7633 set the widget name if the arrangement flags do not specify
7636 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7638 * src/hildon-button.c: (hildon_button_set_property),
7639 (hildon_button_class_init), (hildon_button_new_full),
7640 (hildon_button_set_arrangement): Added "arrangement-flags"
7643 Make the HildonButtonFlags a construction-only property, to allow
7644 subclasses to set them properly.
7646 2008-07-21 Tim Janik <timj@imendio.com>
7648 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7649 insertion position after backspace, so additional digits are appended,
7652 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7654 * src/hildon-pannable-area.c,
7655 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7656 TODO list, it was complete and removed the g_debug and g_print
7659 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7661 Added the movement modes to the hildon-pannable-area, with this
7662 modes the developers can control in which directions the widget
7663 can scroll. They can also connect to signals in order to do
7664 something when that happens, allowing applications scroll. There
7665 is an example uploaded showing how to use it.
7667 * examples/Makefile.am:
7668 * examples/hildon-pannable-area-example-4.c: Added this example of
7669 an application using the modes.
7671 * src/hildon-marshalers.list: Added a new marshaller for the new
7674 * src/hildon-pannable-area.h: Added new enumerations and flags in
7675 order to control the movement modes and the new signals to warn
7676 about the movements in the area.
7678 * src/hildon-pannable-area.c:
7679 (hildon_pannable_axis_scroll),
7680 (hildon_pannable_area_scroll),
7681 (hildon_pannable_area_motion_notify_cb),
7682 (hildon_pannable_area_get_property),
7683 (hildon_pannable_area_set_property),
7684 (hildon_pannable_area_map),
7685 (hildon_pannable_area_class_init),
7686 (hildon_pannable_area_init),
7687 (hildon_pannable_area_jump_to): Added the modes to control the
7688 movement in the widget. We have added properties to control it,
7689 signals to warn about the movements and refactored some code.
7691 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7693 Changes required in order to allow vfast_factor set to zero to
7696 * src/hildon-pannable-area.c:
7697 (hildon_pannable_area_button_press_cb): Changed the condition, it
7698 is required for not allowing click when vfast_factor is zero.
7699 (hildon_pannable_area_timeout): Initialized velocity variables
7700 when we stop moving, it was less than 1 but not zero and we need
7701 to check zero in some situations.
7702 (hildon_pannable_area_class_init): Changed the default value of
7703 the speed factor, now the button_press is just sent in case the
7704 speed is 2 per cent of the max speed.
7705 (hildon_pannable_area_init): Initialization with 0.
7707 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7709 * src/hildon-pannable-area.c,
7710 (hildon_pannable_area_get_topmost): replaced
7711 gdk_window_get_children with gdk_window_peek_children, this way we
7712 do not have to free the list because it is not a copy.
7714 (hildon_pannable_axis_scroll),
7715 (hildon_pannable_area_scroll),
7716 (hildon_pannable_area_timeout),
7717 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7718 two parameters that were only used inside the
7719 hildon_pannable_area_scroll function.
7721 * examples/hildon-pannable-area-example.c,
7722 (get_sawtooth_label): Fixed small memory leak.
7724 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7726 More checks for the case where the overshoot is bigger than the
7729 * src/hildon-pannable-area.c:
7730 (hildon_pannable_draw_vscroll),
7731 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7732 to draw the slider of the scrollbar under the other scrollbar.
7733 (hildon_pannable_area_expose_event): added new checks to control
7734 the drawing of the overshooting area rectangle, in case it is too
7735 big for the area of the widget.
7736 (hildon_pannable_area_size_allocate): add more checks to avoid
7737 setting a position to the child widget outside the area.
7739 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7741 * src/hildon-pannable-area.c
7742 (hildon_pannable_area_size_allocate): Added conditions to control
7743 when overshooting is bigger than the allocated space for the
7744 children, this avoids negative allocations.
7746 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7748 * doc/hildon-docs.sgml
7750 * examples/Makefile.am
7751 * examples/hildon-button-example.c
7753 * src/hildon-button.c
7754 * src/hildon-button.h
7755 * src/hildon.h: Initial version of the new HildonButton widget,
7758 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7760 * src/hildon-pannable-area.c:
7761 (hildon_pannable_area_button_press_cb),
7762 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7763 (hildon_pannable_area_motion_notify_cb),
7764 (hildon_pannable_area_button_release_cb),
7765 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7766 (hildon_pannable_area_jump_to_child):
7768 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7770 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7772 * examples/Makefile.am
7773 * examples/hildon-pannable-area-touch-grid-example.c
7774 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7775 the Hildon Touch List and Hildon Touch Grid using the
7776 HildonPannableArea widget.
7778 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7780 * src/hildon-pannable-area.c,
7781 (hildon_pannable_area_button_press_cb),
7782 (hildon_pannable_area_refresh),
7783 (hildon_pannable_area_scroll),
7784 (hildon_pannable_area_motion_notify_cb),
7785 (hildon_pannable_area_button_release_cb),
7786 (hildon_pannable_area_expose_event),
7787 (hildon_pannable_area_add),
7788 (hildon_pannable_area_remove),
7789 (hildon_pannable_area_realize),
7790 (hildon_pannable_area_size_allocate),
7791 (hildon_pannable_area_class_init),
7792 (hildon_pannable_area_init),
7793 (hildon_pannable_area_scroll_to_child),
7794 (hildon_pannable_area_jump_to_child): Fixed the problem of
7795 removing the child from the GtkBin, we have rearranged the widget
7796 hierarchy, now there is no GtkAlignment which was not doing
7797 anything interesting but breaking some of the assumptions of
7798 GtkContainer. Now developers if they want to add a GtkAlignment
7799 they could, but it is not inside the area.
7801 We had to review the whole allocation/expose process, now it is
7802 improved and we save at least three signals which would be saving
7803 some time when rendering the widget. The allocation of the
7804 scrollbars is now made in the allocate method as usual.
7806 We have also added some conditions in order to control when there
7807 is no child of the pannable area. Maybe we will need more work
7810 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7812 * src/hildon-pannable-area.c,
7813 (hildon_pannable_area_dispose): Released the fade-out timeout when
7814 disposing the widget.
7816 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7818 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7819 zero, we are going to use that property in order to deactivate the
7821 (hildon_pannable_axis_scroll),
7822 (hildon_pannable_area_size_allocate): Added conditions to control
7823 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7824 call, now it is called in all situations and we can remove calls
7825 in the allocate method.
7826 (hildon_pannable_area_map): Control the situation when
7827 overshoot_max is zero, we do not need the timeout.
7828 (hildon_pannable_area_class_init): Added documentation in order to
7829 point out that setting zero to overshoot_max means deactivate
7832 NOTE: removed trailing whitespaces from my previous comments of
7835 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7837 * src/hildon-pannable-area.c
7838 (hildon_pannable_area_get_property),
7839 (hildon_pannable_area_set_property),
7840 (hildon_pannable_area_map),
7841 (hildon_pannable_area_class_init),
7842 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7843 to cause the widget give a hint about its panning abilities upon
7846 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7848 * src/hildon-pannable-area.c: Several documentation improvements.
7850 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7852 * src/hildon-program.c
7853 * src/hildon-stackable-window.c: Update documentation.
7855 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7857 * src/hildon-stackable-window.c (get_previous_window_if_last):
7858 Renamed get_last_window()
7859 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7860 (hildon_stackable_window_unset_program):
7862 (get_previous_window_if_last):
7863 Detect if the window hasn't been added to a HildonProgram.
7865 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7867 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7869 * src/hildon-pannable-area.c
7870 (hildon_pannable_area_button_press_cb),
7871 (hildon_pannable_axis_scroll),
7872 (hildon_pannable_area_scroll),
7873 (hildon_pannable_area_timeout),
7874 (hildon_pannable_calculate_vel_factor),
7875 (hildon_pannable_area_get_property),
7876 (hildon_pannable_area_set_property),
7877 (hildon_pannable_area_class_init),
7878 (hildon_pannable_area_init),
7879 (hildon_pannable_area_scroll_to),
7880 (hildon_pannable_area_jump_to),
7881 (hildon_pannable_area_scroll_to_child),
7882 (hildon_pannable_area_jump_to_child):
7883 * src/hildon-pannable-area.h: Added the new API functions:
7884 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7885 hildon_pannable_area_scroll_to_child,
7886 hildon_pannable_area_jump_to_child
7889 * examples/Makefile.am
7890 * examples/hildon-pannable-area-example-2.c
7891 * examples/hildon-pannable-area-example-3.c: Added these two new
7892 examples in order to test and show how the new APIs work.
7894 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7896 * examples/hildon-stackable-window-example.c (new_window):
7897 * src/Makefile.am (noinst_HEADERS):
7898 * src/hildon-program.c (hildon_program_go_to_root_window):
7899 * src/hildon-program.h:
7900 * src/hildon-stackable-window-private.h:
7901 * src/hildon-stackable-window.c:
7902 * src/hildon-stackable-window.h:
7903 Create hildon-stackable-window-private.h
7904 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7906 * examples/hildon-app-menu-example.c (create_menu):
7907 * examples/hildon-hvolumebar-insensitive-example.c (main):
7908 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7909 * examples/hildon-toolbar-seekbar-example.c (main):
7910 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7911 * src/hildon-banner.c (hildon_banner_set_property):
7912 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7913 Fix compilation warnings
7915 * src/hildon-window.c:
7918 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7920 * src/hildon-stackable-window.c
7921 (hildon_stackable_window_unset_program):
7922 Calculate correctly whether to show the previous window if the
7923 last one is removed from the stack.
7924 (hildon_stackable_window_go_to_root_window):
7925 Send delete events starting from the topmost window.
7926 Stop if one of the windows is not destroyed.
7928 (hildon_stackable_window_delete_event)
7929 (hildon_stackable_window_class_init):
7930 Ignore the delete event if the window is not the topmost one.
7932 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7934 * src/hildon-pannable-area.c
7935 (hildon_pannable_area_expose_event): Fixed a problem when
7936 selecting the background color of the scrollbars.
7938 2008-06-23 Alberto Garcia <agarcia@igalia.com>
7940 * examples/hildon-stackable-window-example.c
7941 * src/hildon-stackable-window.c
7942 * src/hildon-stackable-window.h
7943 hildon_stackable_window_go_home() renamed to
7944 hildon_stackable_window_go_to_root_window()
7945 Send delete events to windows rather than closing them with
7946 gtk_widget_destroy()
7948 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7950 * src/hildon-pannable-area.c
7951 (hildon_pannable_area_button_release_cb): Fix overshooting in
7954 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7956 * src/hildon-pannable-area.c
7957 (hildon_pannable_area_init): Initially show the scroll indicators.
7958 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
7960 Add initial effect showing the widget is pannable.
7962 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7964 * src/hildon-pannable-area.c
7965 (hildon_pannable_area_class_init)
7966 (hildon_pannable_area_set_property)
7967 (hildon_pannable_area_get_property)
7968 (hildon_pannable_area_button_press_cb):
7969 New 'velocity_fast_factor' property to decide which velocity is
7972 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
7974 * src/hildon-pannable-area.c
7975 (hildon_pannable_draw_hscroll)
7976 (hildon_pannable_draw_vscroll):
7977 Use float variables to calculate the size of the scrollbars to
7978 avoid error propagation and resizing during scrolling.
7980 2008-06-19 Alberto Garcia <agarcia@igalia.com>
7982 * src/hildon-pannable-area.c
7983 (hildon_pannable_draw_vscroll)
7984 (hildon_pannable_draw_hscroll):
7985 Define a minimum size for the scroll bars
7987 * src/hildon-stackable-window.c
7988 (hildon_stackable_window_go_home): Fix compilation warning
7989 (get_last_window): Minor optimizations
7990 (hildon_stackable_window_class_init): Fix initialization of
7993 2008-06-18 Alberto Garcia <agarcia@igalia.com>
7995 * src/hildon-stackable-window.c: Fixed typos in doc
7997 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
7999 * src/hildon-pannable-area.c
8000 (hildon_pannable_area_scroll):
8001 Calculate here whether we need to scroll instead of using the booleans
8002 that tell us whether to /draw/ the scrolling bars.
8004 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8006 * src/hildon-app-menu.h
8008 * src/hildon-app-menu.c
8009 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8010 multiple filter groups related code and API. Now we support only
8012 * examples/hildon-app-menu-example.c:
8014 Update to reflect API changes.
8016 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8018 * src/hildon-stackable-window.c
8019 (hildon_stackable_window_class_init):
8020 Add hildon_stackable_window_realize.
8021 (hildon_stackable_window_realize):
8022 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8023 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8024 to apply theming and behavior specific to HildonStackableWindow
8027 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8029 * src/hildon-note.c (hildon_note_button_release):
8030 Close information notes also when tapping on them
8032 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8034 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8035 ELASTICITY, refactor and review, fix some issues with drawing
8038 * src/hildon-pannable-area.c:
8039 (hildon_pannable_area_button_press_cb): removed the conditions to
8040 avoid clicks when overshooting. It is not required
8042 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8043 define. Refatored and reviewed the code, now we do not need to
8044 manage velocity in motion_notify.
8046 (hildon_pannable_area_motion_notify_cb): We have moved the code
8047 that controls the area_scroll to the axis_scroll function and get
8048 rid of duplicated code.
8050 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8052 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8054 (hildon_pannable_draw_vscroll),
8055 (hildon_pannable_draw_hscroll): Fixed the problems with the
8056 scrollbar drawing, now we do not use two surfaces, it is easier
8057 and saves resources.
8059 (hildon_pannable_area_get_property): Style modification.
8061 (hildon_pannable_area_class_init): Changed some default values.
8063 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8065 * src/hildon-stackable-window.c: Fix some typos in the
8068 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8070 * src/hildon-dialog.c:
8071 Change indentation style
8074 (hildon_note_button_release):
8075 Use root coordinates to check if the release event happened
8078 * src/hildon-app-menu.c
8079 (hildon_app_menu_button_release):
8080 Remove unnecessary check
8082 * examples/hildon-app-menu-example.c
8084 Add cast to fix warning
8086 * src/hildon-app-menu.c
8087 (hildon_app_menu_class_init):
8088 New inner-border style property.
8089 Set all default spacings to 16
8090 (hildon_app_menu_init):
8091 Use vertical-spacing to set the space between filter buttons and
8092 regular menu buttons.
8093 Set the default container border using the inner-border value.
8095 * examples/hildon-app-menu-example.c
8097 Don't set the menu border explicitly, now we have the inner-border
8098 style property for that.
8100 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8102 * src/hildon-app-menu.c (hildon_app_menu_init):
8103 Make the window modal
8105 * src/hildon-note.c (hildon_note_map)
8106 * src/hildon-app-menu.c (hildon_app_menu_map):
8107 Destroy the grab window if we're unable to grab the pointer
8109 * src/hildon-app-menu-private.h
8110 * src/hildon-app-menu.c
8111 (hildon_app_menu_init, hildon_app_menu_finalize)
8112 (hildon_app_menu_map, hildon_app_menu_unmap)
8113 (hildon_app_menu_button_release)
8114 (grab_transfer_window_get):
8115 Bring back the grab window
8116 (hildon_app_menu_realize):
8117 Decorate the window, set WM hint for Matchbox
8119 * src/hildon-note.c (hildon_note_realize):
8120 * src/hildon-banner.c (hildon_banner_realize):
8121 Add WM hints for Matchbox
8123 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8125 * src/hildon-app-menu-private.h
8126 * src/hildon-app-menu.c
8127 (hildon_app_menu_init, hildon_app_menu_finalize)
8128 (hildon_app_menu_map, hildon_app_menu_unmap)
8129 (hildon_app_menu_button_release):
8130 Remove the grab window, it's not needed anymore
8132 * src/hildon-program.c
8133 Fixed typo in documentation
8135 * src/hildon-app-menu.h
8136 * src/hildon-app-menu.c
8137 * examples/hildon-app-menu-example.c
8138 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8140 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8143 Added new transfer_window and close_if_pressed_outside private
8145 (hildon_note_rebuild):
8146 Don't add a cancel button to the information note. It will be
8147 closed when tapping outside
8148 Remove the comment about the OK button in the documentation
8149 (hildon_note_realize):
8150 Set the notification type hint
8151 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8152 Grab/ungrab pointer and keyboard if the note has to be closed when
8154 (hildon_note_button_release):
8155 Close the note when tapping outside (if applicable)
8157 * src/hildon-app-menu.c
8158 Grab/ungrab pointer and keyboard on map/unmap
8159 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8160 Close the menu on button release, not button press
8162 * src/hildon-banner.c
8163 (hildon_banner_set_property)
8164 (hildon_banner_check_position):
8165 Make the banner use the full width of the screen
8166 (hildon_banner_show_information)
8167 (hildon_banner_show_information_with_markup):
8168 Don't display an icon by default
8170 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8172 Added fading scrollbars and adapted all the overshooting code to
8173 horizontal scrolling. We have also fixed bugs with overshooting
8174 and current fading implementation.
8176 * src/hildon-pannable-area.c
8177 (hildon_pannable_area_scroll_indicator_fade): Time out function
8178 used to change the transparency of the scrollbars.
8180 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8181 control and fixed a problem with fading, we now remove the fade
8182 timeout before adding a new one.
8184 (hildon_pannable_axis_scroll):
8185 (hildon_pannable_area_scroll):
8186 (hildon_pannable_area_timeout): Added this functions so we can use
8187 the scroll code both for vertical and horizontal.
8189 (hildon_pannable_area_motion_notify_cb):
8190 (hildon_pannable_area_button_release_cb): Added the horizontal
8191 scrolling control, fixed a problem with the overshooting timeout.
8193 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8194 painting of the scrolls.
8196 (hildon_pannable_draw_vscroll):
8197 (hildon_pannable_draw_hscroll):
8198 (hildon_pannable_area_expose_event):
8199 Draw both scrollbars and rectangles in the overshooting area.
8201 (hildon_pannable_area_get_property):
8202 (hildon_pannable_area_set_property):
8203 Modified the overshoot property to overshoot_max
8205 (hildon_pannable_area_map):
8206 Replaced the comments symbols.
8208 (hildon_pannable_area_size_allocate):
8209 (hildon_pannable_area_class_init):
8210 (hildon_pannable_area_init): Added horizontal scroll, fading
8211 effect properties, fixed a problem when overshooting in the bottom
8214 * examples/hildon-pannable-area-example.c:
8215 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8216 looks better in the example.
8218 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8220 * src/hildon-window.c
8221 * src/hildon-window.h
8222 (hildon_window_class_init)
8223 (hildon_window_unset_program)
8224 (hildon_window_unset_program_real):
8225 Make unset_program a virtual function
8227 * src/hildon-stackable-window.c
8228 * src/hildon-stackable-window.h
8229 Added hildon_stackable_window_go_home()
8231 * examples/Makefile.am
8232 * examples/hildon-stackable-window-example.c
8233 HildonStackableWindow example
8235 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8237 * hildon-pannable-area.c: Added the overshoot property and removed
8238 the OVERSHOOT define. Fixed an indent style error.
8239 (hildon_pannable_area_motion_notify_cb):
8240 (hildon_pannable_area_get_property):
8241 (hildon_pannable_area_set_property): Add overshoot property.
8243 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8246 (hildon_pannable_area_class_init): Installed the new property.
8248 * hildon-pannable-area-example.c: Added a sawtooth function, this
8249 way it is easier to check the movement in the pannable.
8250 (get_sawtooth_label): Added this function.
8251 (main): Now we get the labels from the new get_sawtooth_label
8254 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8256 * src/hildon-app-menu.h
8257 * src/hildon-app-menu.c
8258 Renamed API variables for consistency
8260 (hildon_app_menu_popup): Use also the default window size to
8261 decide where to place the menu
8263 (hildon_app_menu_init, hildon_app_menu_class_init): New
8264 external-border style property
8266 2008-05-26 Michael Natterer <mitch@imendio.com>
8268 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8269 widget_class->tap_and_hold_setup signal slot doesn't exist any
8270 longer, stop overriding it.
8272 (hildon_time_editor_init): g_signal_connect() to the
8273 tap-and-hold-setup signal instead.
8275 (hildon_time_editor_entry_keypress): add cast to fix warning.
8277 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8279 * doc/hildon-docs.sgml
8281 * examples/Makefile.am
8282 * examples/hildon-app-menu-example.c
8284 * src/hildon-app-menu-private.h
8285 * src/hildon-app-menu.c
8286 * src/hildon-app-menu.h
8288 New HildonAppMenu widget
8290 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8292 Rearranged the inheritance of the pannable area, now it inherits
8293 from GtkBin. This will allow us to control the event_window and
8294 the allocation process of the widget, required for some effects.
8296 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8297 GtkBin structures. * src/hildon-pannable-area.c: Added the
8298 event_window variable.
8299 (hildon_pannable_area_button_press_cb):
8300 (hildon_pannable_area_button_release_cb):
8301 (hildon_pannable_area_motion_notify_cb):
8302 Changed the signature of the method, now we override the event
8303 callback instead of connecting to the signal.
8305 (hildon_pannable_area_realize):
8306 (hildon_pannable_area_unrealize):
8307 (hildon_pannable_area_map):
8308 (hildon_pannable_area_unmap):
8309 (hildon_pannable_area_size_allocate):
8310 Added functions to control the widget construction. We add a
8311 INPUT_ONLY window and we put it over the widgets inside the
8312 container, this event_window handles the events.
8314 (hildon_pannable_area_class_init):
8315 Replaced the signal connections with overrides of the event
8318 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8320 Bouncing effect added when touching the borders, you can change
8321 the elasticity of the border changing the ELASTICITY define.
8323 * src/hildon-pannable-area.c: Added ELASTICITY define.
8324 (hildon_pannable_area_timeout): Added inverse velocity when
8325 touching the border of the child widget, that causes a bounce.
8327 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8329 Improved performance, we now do not go to the X server in order to
8330 get the list of window children. Apparently the effect is the
8331 same, we have to be careful and check if this breaks something in
8334 * src/hildon-pannable-area.c:
8335 (get_ordered_children): Removed this function.
8336 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8337 the children windows function with gdk_window_get_children.
8339 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8341 * src/hildon-pannable-area.c:
8342 (hildon_pannable_area_dispose): Fixed a crash when closing the
8343 window and kinetics is activated.
8345 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8347 * src/hildon-pannable-area.h
8348 * src/hildon-pannable-area.c
8349 Changed indentation style to meet the one used in Hildon
8351 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8353 Reviewed the interaction of the AUTO mode, now we use the time
8354 attribute of the events and calculate the velocity in the motion,
8355 doing a gimp like calculation. The velocity is calculated in each
8356 motion event using the last velocity and the current one, the
8357 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8359 * src/hildon-pannable-area.c: Replaced the time based algorithm
8361 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8362 timeout for the AUTO mode when we are still moving the cursor. We
8363 added also the velocity calculation in this function.
8364 (hildon_pannable_area_button_release_cb): launch the timeout in
8365 case we are in AUTO mode. There are still some constants here that
8366 come from the old implementation that should be reviewed and
8369 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8371 * doc/hildon-docs.sgml
8374 * src/hildon-stackable-window.c
8375 * src/hildon-stackable-window.h
8377 New HildonStackableWindow widget
8379 * examples/hildon-dialog-example.c
8380 * examples/hildon-pannable-area-example.c
8383 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8385 * src/hildon-dialog.c
8386 (hildon_dialog_new_with_buttons): New constructor.
8388 * examples/hildon-dialog-example.c
8389 (main): Update the example to use the new
8390 hildon_dialog_new_with_buttons().
8392 * examples/hildon-pannable-area-example.c
8393 (main): Update example.
8395 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8397 * doc/hildon-docs.sgml
8399 Added HildonPannableArea to the documentation.
8401 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8403 * doc/visual_index.xml
8404 Fix reference to HildonLoginDialog in documentation
8406 * doc/hildon-docs.sgml
8408 * examples/Makefile.am
8409 * examples/hildon-dialog-example.c
8411 * src/hildon-dialog.c
8412 * src/hildon-dialog.h
8414 New HildonDialog widget.
8416 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8418 * src/hildon-pannable-area.c
8419 Merge latest changes (r4318, r4342) from libmokoui trunk
8421 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8423 * examples/Makefile.am
8424 * examples/hildon-pannable-area-example.c
8426 * src/hildon-pannable-area.c
8427 * src/hildon-pannable-area.h
8429 New HildonPannableArea widget.
8431 2008-04-15 18:05:19 <timj@imendio.com>
8433 * src/hildon-banner.c: revert the recent change, that introduced
8434 gtk_window_present() calls. this reopens:
8435 Bug 78481 - [freetest] information banners are hidden under browser menu
8436 But resolves another variant of:
8437 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8439 2008-04-15 13:21:13 <timj@imendio.com>
8441 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8442 recreated its layout, spotted by Kris. this fixes all remaining
8443 artefacts and stability issues with the banner code. in particular:
8444 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8446 2008-04-14 16:52:59 <timj@imendio.com>
8448 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8449 operating on unrealized widgets, fixes:
8450 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8452 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8454 2008-04-09 Kristian Rietveld <kris@imendio.com>
8456 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8457 makes banner disappear.
8458 Fixes: NB#79182: info banner flickering with certain message lengts.
8460 * src/hildon-banner.c (hildon_banner_constructor),
8461 (hildon_banner_init), (hildon_banner_set_text),
8462 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8463 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8464 FALSE, reset size requests of label and banner,
8465 (force_to_wrap_truncated): when the text is too wide, always enforce
8466 the maximum possible width instead of recalculating it from the
8467 layout; enforce the maximum banner height of 3 lines,
8468 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8469 nicer wrapping and no truncated chars if space gets tight.
8471 * src/hildon-banner-private.h: add has_been_wrapped and
8472 has_been_truncated fields.
8474 2008-04-07 Sven Herzberg <sven@imendio.com>
8476 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8477 local values in hildon_date_editor_size_allocate
8479 * src/hildon-date-editor.c: moved the real allocation code into the
8482 2008-04-07 Sven Herzberg <sven@imendio.com>
8484 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8485 local values in hildon_date_editor_size_allocate
8487 * src/hildon-date-editor.c: merged the two if() branches together
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: changed the arguments of the if()
8497 2008-04-07 Sven Herzberg <sven@imendio.com>
8499 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8500 local values in hildon_date_editor_size_allocate
8502 * src/hildon-date-editor.c: split the calculation of the allocation
8503 from the real allocation
8505 2008-03-27 Michael Natterer <mitch@imendio.com>
8507 Fixes: NB#81696: The passcode is not overwritten even after
8510 * src/hildon-code-dialog.c
8511 (hildon_code_dialog_button_clicked)
8512 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8513 because that doesn't overwrite selected text. Instead, emit the
8514 "commit" signal on the entry's im_context so the entry's normal
8515 insert logic is triggered. Set the cursor to the end of the entry
8516 after each insert operation so that we *only* insert in the middle
8517 of the text if something was selected.
8519 2008-03-27 Michael Natterer <mitch@imendio.com>
8521 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8522 selector cannot be opened
8524 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8525 when the popup color selector is created. Please connect to this
8526 signal in order to set the dialog's help ID.
8528 2008-03-25 Sven Herzberg <sven@imendio.com>
8530 Fixes: MB#1212: Hide info banners (infoprints) on click
8532 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8533 extracted the close event simulation into an extra function
8534 (hildon_banner_button_press_event): simulate a close event and destroy
8535 the widget if the event wasn't handled
8536 (hildon_banner_class_init): added the button_press_event handler
8537 (hildon_banner_init): added button-press events to the widget
8539 2008-03-25 Sven Herzberg <sven@imendio.com>
8541 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8542 Patch from: Mohammad Anwari <mdamt@maemo.org>
8544 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8545 instead of the right in RTL mode
8546 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8547 breadcrumb button list in RTL mode
8548 * src/hildon-caption.c: mirror the appearance of the caption widget in
8550 * src/hildon-date-editor.c: mirror appearance of the date editor in
8552 * src/hildon-time-editor.c: mirror appearance of the time editor in
8554 * src/hildon-window.c: fix the position of the popup in RTL mode
8556 2008-03-25 Sven Herzberg <sven@imendio.com>
8558 Amendment to the fix of NB#22072. Fix compilation.
8560 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8562 2008-03-19 Sven Herzberg <sven@imendio.com>
8564 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8567 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8568 timeout id properly when the timeout will disappear this leaves no
8569 artifacts around in the destroy(); there will only be the timeout
8570 created by hildon_banner_ensure_timeout() and adding a new timeout
8571 will also work if the timeout gets removed because the timeout_handler
8574 2008-03-19 Michael Natterer <mitch@imendio.com>
8576 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8578 * src/hildon-volumebar.c
8579 * src/hildon-vvolumebar.c
8580 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8581 the widget becomes focussable at all.
8583 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8584 set the focus to wither the mute button or the volumebar.
8586 Remove own "can-focus" property and instead listen to
8587 notify::can-focus in order to update the widget's state.
8589 Implement GtkWidget::focus() and make sure we can also *leave* the
8590 widget, not only enter it, depending on volumebar orientation and
8591 requested focus direction.
8593 Clean up set_mute() to cooperate nicely with all the above.
8595 2008-03-04 Michael Natterer <mitch@imendio.com>
8597 Fixes: NB#78481: information banners are hidden under browser menu
8599 * src/hildon-banner.c: call gtk_window_present() on the banners so
8600 they are risen if they are already visible.
8602 2008-03-03 Sven Herzberg <sven@imendio.com>
8604 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8606 * examples/hildon-window-menu-example.c: (main): extended the window
8607 menu example to serve as a testcase for automatically added
8608 accelerator groups, too
8609 * src/hildon-window.c: (hildon_window_add_accel_group),
8610 (hildon_window_set_menu): added patch by Tommi Komulainen
8612 2008-03-03 Sven Herzberg <sven@imendio.com>
8614 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8616 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8617 knowledge about the border allocators used within GTK+
8619 2008-02-26 Sven Herzberg <sven@imendio.com>
8621 Fixes: MB#2981: Build with asserts broken
8623 * src/hildon-date-editor.c,
8624 * src/hildon-number-editor.c,
8625 * src/hildon-time-editor.c,
8626 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8627 the proper GType instance check
8629 2008-02-25 Sven Herzberg <sven@imendio.com>
8631 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8633 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8634 * examples/hildon-window-menu-example.c: (main): explicitly show
8636 * src/hildon-window.c:
8637 (hildon_window_set_main_menu): moved most of the code from set_menu()
8638 to this place; skipped the call to gtk_widget_show_all(); also didn't
8639 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8640 (hildon_window_set_menu): removed most of the code, just keep the
8641 questionable gtk_widget_show_all()
8642 * src/hildon-window.h: added the new function and deprecate the old
8645 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8651 * debian/changelog: Updating.
8653 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8656 * pkgconfig/Makefile.am:
8657 * pkgconfig/hildon.pc.in:
8660 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8661 use newly created API_MAJOR_VERSION.
8663 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8669 * debian/changelog: Updating.
8671 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8673 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8675 Add outer_border style property, we use it but don't define it (!).
8679 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8681 * examples/hildon-bread-crumb-trail-example.c (main):
8685 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8687 Fix logic for the bread crumb trail node removal.
8691 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8697 * debian/changelog: Updating.
8699 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8701 Patch by Alejandro to get/set passwords dialogs accesibility.
8703 * hildon-1/src/hildon-get-password-dialog.c:
8704 * hildon-1/src/hildon-set-password-dialog.c:
8705 Set atk_set_name to the passwd entries in order to allow
8706 accessibility by name on this entries.
8708 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8713 * debian/control: Updating gtk dep.
8715 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8717 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8718 USE_MAEMO_GTK is enabled.
8720 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8722 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8723 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8725 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8731 * debian/changelog: Updating.
8733 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8735 * examples/Makefile.am:
8736 * examples/hildon-logical-color-example.c:
8737 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8738 applied + adding a test case. Fixes: NB#71660.
8740 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8742 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8743 to be visible, fixes warning on map for windows without toolbars.
8745 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8747 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8748 2.11.0, add a check for that besides the MAEMO_GTK check.
8750 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8756 * debian/changelog: Updating.
8758 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8760 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8761 visibility. Fixes: NB#70842 and MB#615.
8763 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8765 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8766 set the separator as no-show-all so it doesn't unintentionally appear when
8767 someone does a show_all.
8769 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8771 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8772 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8773 toplevel item. Fixes: NB#62031
8775 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8777 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8778 fix the name of the function in the docs.
8780 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8786 * debian/changelog: Updating.
8788 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8790 * examples/hildon-banner-long-example.c: Adding a test-case for long
8793 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8795 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * src/hildon-color-chooser-dialog.c:
8798 * src/hildon-color-chooser.c:
8799 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8800 memory leaks in font selector and color selector. Fixes: NB#70499 and
8803 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8805 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8807 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8809 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8810 little bit bigger. Fixes: #NB63694.
8812 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * debian/changelog: Updating.
8820 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8823 * doc/hildon-docs.sgml:
8824 * doc/images/bread-crumb-trail.png:
8825 * doc/images/calendar-popup.png:
8826 * doc/images/caption.png:
8827 * doc/images/code-dialog.png:
8828 * doc/images/color-button.png:
8829 * doc/images/color-chooser-dialog.png:
8830 * doc/images/color-chooser.png:
8831 * doc/images/controlbar.png:
8832 * doc/images/date-editor.png:
8833 * doc/images/font-selection-dialog.png:
8834 * doc/images/get-password-dialog.png:
8835 * doc/images/hvolumebar.png:
8836 * doc/images/login-dialog.png:
8837 * doc/images/note.png:
8838 * doc/images/number-editor.png:
8839 * doc/images/range-editor.png:
8840 * doc/images/seekbar.png:
8841 * doc/images/set-password-dialog.png:
8842 * doc/images/sort-dialog.png:
8843 * doc/images/time-editor.png:
8844 * doc/images/time-picker.png:
8845 * doc/images/vvolumebar.png:
8846 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8847 Adding the bread-crumb-trial and helpers to the documentation.
8849 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8851 * examples/hildon-find-toolbar-example.c:
8852 * src/hildon-find-toolbar.c:
8853 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8854 actually continue firing the other handlers if connected. Adding a new
8856 hildon_find_toolbar_get_last_index that gets the index of the most
8857 recently added (last) item. Fixes: NB#52301.
8859 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8861 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8862 behaviour. Fixes: NB#68610.
8864 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8866 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8869 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8871 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8872 when realizing the banner. Should make the infonbanner effect a bit more
8875 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8877 * src/hildon-volumebar.c:
8878 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8879 hildon_volumebar_set_range_insensitive_message and
8880 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8882 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8884 * src/hildon-window.c: Fixing the border freeing on destroy.
8886 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8888 * src/hildon-code-dialog-private.h:
8889 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8890 kw keyboard support in HildonCodeDialog.
8892 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8898 * debian/changelog: Updating.
8900 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8902 * src/hildon-date-editor.c:
8903 * src/hildon-number-editor.c:
8904 * src/hildon-private.c:
8905 * src/hildon-private.h:
8906 * src/hildon-time-editor.c:
8907 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8908 handling in subclassed composite widgets. Fixes: NB#66628.
8910 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8912 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8913 from destroy_ callback as it introduces problems in async dbus signal
8914 handlers. Fixes NB#66673.
8916 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8918 * examples/hildon-hvolumebar-example.c:
8919 * src/hildon-volumebar.c: Improving the focus handling in the
8920 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8921 set_property accessor so that "mute" property can be actually set. I'm
8922 scared that nobody noticed it's totally broken.
8924 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8926 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8929 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * src/hildon-calendar.c:
8932 * src/hildon-number-editor.c:
8933 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8934 matches the spec of 6 chars per second. Fixes: NB#60489.
8936 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8938 * src/hildon-helper.c: Really fixing NB#58352. Looks like
8939 gtk_style_lookup_color sometime returns FALSE even though color was
8940 found and values were filled properly. Weird. Removing the warning for the
8943 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8945 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
8946 expand vertically. Adding some extra space to the find toolbar buttons to
8947 make them thumbable. Fixes NB#66060.
8949 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8951 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
8952 popup with "Ok" and "Cancel". Fixes NB#59299.
8954 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8956 * src/hildon-calendar.c: Process all window updates before executing next
8957 timeout. Fixes: NB#54146.
8959 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8965 * debian/changelog: Updating.
8967 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8969 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
8970 the client event and ignore it, since we use the delete event to close
8973 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8975 * src/hildon-helper.c: Remove the bogus warning about color not being
8976 found. Fixes NB#58352.
8978 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * examples/Makefile.am:
8981 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
8982 HildonSeekbar widget inside a toolbar.
8984 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
8986 * src/hildon-banner.c (hildon_banner_init): mark the banners as
8987 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
8988 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
8989 don't want to be closed by non-temporary windows on map.
8991 Also use G_DEFINE_TYPE instead of manually typed code.
8993 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * debian/rules: Updating.
9002 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9004 * examples/Makefile.am:
9005 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9006 bug NB#61128. Strangely it works.
9008 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9010 * src/hildon-date-editor.c: When the date editor entry has been changed
9011 but the numbers of characters < max, turn off the skip validation flag.
9012 Prevents a situation when we enter first a valid year and later re-write
9013 it with an invalid one. Fixes NB#60154.
9015 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9017 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9018 code dialog. Fixes NB#64355.
9020 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9023 switching the page. Fixes NB#49374.
9025 * examples/Makefile.am:
9026 * examples/hildon-wizard-dialog-example.c: Adding an example for
9027 HildonWizardDialog that shows how to handle manual sensitivity setting on
9030 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9034 * src/hildon-version.h.in:
9035 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9037 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9039 * src/hildon-volumebar.c: Updating the docs.
9041 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9047 * debian/changelog: Updating.
9049 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9051 * src/hildon-find-toolbar.c:
9052 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9053 selected item: hildon_find_toolbar_set_active,
9054 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9055 hildon_find_toolbar_get_active_iter . They correspond to respective
9056 GtkComboBox functions.
9058 * examples/Makefile.am:
9059 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9062 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9064 * examples/Makefile.am:
9065 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9068 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9069 when font size > 32 and we pack a focusable widget inside. Actually using
9070 the default response would work too, but since we don't show default
9071 response state in any way (no theming) it would not be visible to the
9072 user. Fixes NB#63430.
9074 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9076 * src/hildon-date-editor.c: Adding the missing variable setter in the
9077 set_property handler. Fixes NB#54182.
9079 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9081 * src/hildon-window.h: Changing the long key press time from 1500ms to
9082 800ms as requested in NB#63700. I have a bad feeling about this, let's
9083 see... Fixes NB#63700.
9085 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9087 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9088 hildon_time_picker_map, hildon_time_picker_realize,
9089 hildon_time_picker_style_set): Split the contents of map to more
9090 appropriate functions; set window decorations on realize and update
9091 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9093 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9098 * debian/changelog: Updating.
9100 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9102 * src/Makefile.am: fixed installation of the header files
9104 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9110 * debian/changelog: Updating.
9112 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * configure.ac: Removing some remaining of --enable-xan.
9116 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9118 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9119 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9121 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9122 2.10.12-osso6 because the move-focus signal needs to be available in
9125 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9127 * examples/Makefile.am:
9128 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9129 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9130 fine. Prolly NB#61128 is fixed now.
9132 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * src/hildon-volumebar.c:
9135 * src/hildon-volumebar.h: Adding the
9136 hildon_volumebar_set_range_insensitive_message and
9137 hildon_volumebar_set_range_insensitive_messagef functions to set
9138 insensitive message on the slider of the volumebar. Fixes NB#61129.
9140 * examples/Makefile.am:
9141 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9142 test the new insensitive messsage functionality on HildonVolumebar.
9144 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9146 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9149 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9151 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9152 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9153 button on after clearing the trail.
9155 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9157 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9159 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9161 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9162 by splitting the installed headers in generated and non-generated groups. Use
9163 only the non-generated headers to create the hildon-enum-types.h file.
9165 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9167 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9169 * src/hildon-window.c: Hide the window before performing the destroy.
9170 Should make the app closing a little tiny bit more snappy.
9172 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9174 * src/hildon-seekbar.c: add gtkrange.h header
9175 * src/hildon-caption.c: remove unused variable
9177 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9179 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9182 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9188 * debian/changelog: Updating.
9190 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9192 * src/hildon-window.c (hildon_window_window_state_event,
9193 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9194 escape timeout on focus-out-event rather than notify::is-topmost; the
9195 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9197 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9199 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9200 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9202 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9204 * src/hildon-window: actually, you need to use the macro always, there's
9205 no private pointer in the instance structure. We should have cleaned this up
9206 when we had the chance...
9208 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9210 * src/hildon-window.c: do not get the private date from HildonWindow before
9211 it passes the g_return_if_fail check. Once it's passed the test, there's no
9212 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9213 if you are only going to access the data once. Whitespace cleanups.
9215 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9217 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9218 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9220 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9226 * debian/changelog: Updating.
9228 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9230 * src/hildon-window.c: When destroying the window, remove (if exists) the
9231 escape timeout handler. Fixes #NB59276.
9233 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9235 * src/hildon-banner.c: When realizing the widget, set the window
9236 transiency. Setting the transiency in the gobject constructor is not
9237 good, as the widget is not realized at that point. Fixes: #NB56624.
9239 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9241 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9242 Add padding for future expansions.
9244 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9246 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9247 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9248 will fake an activation on the previous to the last item of the trail, so
9249 the effect can be overrided by the developer as usual.
9250 Also change the callback for the back button to do the same thing, so its
9251 effect can be overrided too. Fixes: NB#58982
9253 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9255 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9256 HildonCaption. Fixes NB#52379.
9258 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9260 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9261 the internal state of the trail after the user has had the chance of executing
9262 his handler for the signal. Specifically, it may happen that the activated button
9263 is removed and the user still lets the default handler run. This would segfault
9266 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9268 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9269 scrollbar to the preview dialog. Fixes NB#54147.
9271 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9273 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9274 max/min year properties can be altered, so the client can modify it
9275 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9277 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9279 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9280 hildonlike by default. Fixing a problem with disappearing arrows when
9281 scrolling through months and years. Fixes NB#54127.
9283 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9285 * examples/hildon-date-editor-example.c: Adding error callback to the date
9288 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9294 * configure.ac: Updating.
9296 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9298 * configure.ac: Adding a special '--enable-xan' configure option that
9299 turns off the -Werror compilation setting. Usefull for development.
9301 * src/hildon-calendar.c:
9302 * src/hildon-number-editor.c:
9303 * src/hildon-time-picker.c: Adding the 5* multiplier to
9306 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9308 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9309 instead of g_object_ref + gtk_object_sink.
9311 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9317 * debian/changelog: Updating.
9319 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9321 * src/hildon-color-chooser-dialog.c:
9322 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9323 straight from Tommi labs.
9325 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9327 * examples/hildon-finger-example.c: Correcting the header file path.
9329 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9330 the changed signal. Fixes a small memory leak.
9332 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9336 * src/hildon-banner.c: Importing several usefull fixes from the
9337 ubuntu-mobile branch.
9339 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * examples/Makefile.am:
9342 * examples/hildon-finger-example.c: Adding a finger-checking code
9345 * src/hildon-font-selection-dialog.c: Do not allocate the color
9346 structure using the g_new. Fixes NB#54061.
9348 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9350 * src/hildon-helper.c: Correcting tabs in file.
9352 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9354 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9355 control the visibility of the children.
9357 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9359 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9365 * debian/changelog: Updating.
9367 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9369 * src/hildon-bread-crumb-trail.c:
9370 (hildon_bread_crumb_trail_size_allocate):
9372 Make the back button always a square.
9374 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9376 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9377 from the .c file as it's a private file.
9379 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9381 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9382 uses slightly bigger height.
9384 * src/hildon-font-selection-dialog.c: Adding some checks before
9385 freeing memory in the font selection dialog.
9387 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * src/hildon-font-selection-dialog.c: Adding a small check when
9392 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9393 buttons sensitivity on page switching.
9395 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9397 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9398 internal details of adding a bread crumb to the trail.
9400 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9406 * debian/changelog: Updating.
9408 * src/hildon-bread-crumb-trail.h:
9409 * src/hildon-bread-crumb.h: Changing the API guard to
9410 HILDON_ENABLE_UNSTABLE_API.
9412 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9420 * src/hildon-helper.h: Updating.
9422 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9430 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9434 * src/hildon-helper.h: Small fix to make the package actually compile.
9436 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9438 * src/hildon-bread-crumb-trail.h:
9439 * src/hildon-bread-crumb.h:
9441 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9442 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9444 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9446 * examples/hildon-bread-crumb-trail-example.c:
9448 * src/hildon-bread-crumb-trail.c:
9449 * src/hildon-bread-crumb-trail.h:
9450 * src/hildon-bread-crumb.c:
9451 * src/hildon-bread-crumb.h:
9452 * src/hildon-marshalers.list:
9453 * src/hildon-bread-crumb-widget.c:
9454 * src/hildon-bread-crumb-widget.h:
9456 Slight change in the widget design. The bread crumb trail API is
9457 unchanged, but HildonBreadCrumb is now an interface. A *private*
9458 implementation, hildon-bread-crumb-widget, is provided and used
9459 internally by the trail for the push_text/push_icon functions.
9461 The generic push API is still available, so anyone can implement
9462 and use its own bread crumb widget.
9464 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9466 * debian/rules: Fixing the shlibs.
9468 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9470 * src/hildon-banner.c: Fixing a problem with timed banners having
9471 their parrent destroyed before they are.
9473 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9475 * src/hildon-bread-crumb.c:
9476 * src/hildon-bread-crumb.h:
9478 Make the get_natural_size function a vfunc.
9480 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9482 * src/hildon-bread-crumb.c:
9483 * src/hildon-bread-crumb-trail.c:
9487 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9494 * debian/changelog: Updating for release.
9496 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9498 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9499 don't leak the pango layout.
9501 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9504 * examples/hildon-bread-crumb-trail-example.c:
9508 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9510 * debian/changelog: Removing the bug-fixed entries that were actually
9511 resolved as WONTFIX.
9513 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9516 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9518 * src/hildon-bread-crumb-trail.c:
9519 * src/hildon-bread-crumb-trail.h:
9520 * src/hildon-bread-crumb.c:
9521 * src/hildon-bread-crumb.h:
9525 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9527 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9528 until it's passed the type check.
9530 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9532 * examples/hildon-bread-crumb-trail-example.c
9536 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9538 * examples/Makefile.am
9539 * examples/hildon-bread-crumb-trail-example.c
9541 * src/hildon-bread-crumb-trail.c
9542 * src/hildon-bread-crumb-trail.h
9543 * src/hildon-bread-crumb.c
9544 * src/hildon-bread-crumb.h
9546 New HildonBreadCrumbTrail widget.
9548 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9550 * src/hildon-range-editor.c (hildon_range_editor_init),
9551 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9552 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9553 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9554 hildon_time_editor_class_init, hildon_time_editor_init),
9555 src/hildon-get-password-dialog.c (invalid_input,
9556 hildon_get_password_set_property, hildon_get_password_get_property,
9557 create_contents, hildon_get_password_dialog_set_max_characters),
9558 src/hildon-set-password-dialog.c (create_contents),
9559 src/hildon-date-editor.c (hildon_date_editor_init),
9560 src/hildon-login-dialog.c (hildon_login_dialog_init),
9561 src/hildon-number-editor.c (hildon_number_editor_init),
9562 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9563 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9564 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9565 configure option and adding the respective checks in the code.
9566 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9567 hildon_calendar_drag_data_received): fixed some build warnings.
9569 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9571 * debian/changelog: A 1.0.0 release notes.