1 2009-09-04 Alberto Garcia <agarcia@igalia.com>
3 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
4 Redraw menu when the number of items change.
6 Fixes: NB#131911 (Appmenu does not resize properly, when number of
9 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
11 * hildon/hildon-pannable-area.c:
12 (hildon_pannable_area_launch_fade_timeout),
13 (hildon_pannable_area_motion_event_scroll),
14 (hildon_pannable_area_check_move),
15 (hildon_pannable_area_button_release_cb),
16 (hildon_pannable_area_scroll_to):
18 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
19 area drawing operations, since this is the recommended for drawing
22 Fixes: NB#110894 (In event view containing very large description
23 field, application menu is displayed blank while panning)
24 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
27 2009-09-03 Alberto Garcia <agarcia@igalia.com>
29 * doc/hildon-sections.txt
30 * hildon/hildon-button.c
31 * hildon/hildon-edit-toolbar.c
32 * hildon/hildon-gtk.[ch]
33 * hildon/hildon-main.c
34 * hildon/hildon-program.c
35 * hildon/hildon-stackable-window.c:
38 2009-08-28 Alberto Garcia <agarcia@igalia.com>
40 * hildon/hildon-app-menu.c
41 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
42 Close the menu if it receives a grab-notify signal.
44 Fixes: NB#134533 (UI freezes if we show a dialog with
45 gtk_dialog_run() while a menu is opened)
47 2009-08-27 Alejandro G. Castro <alex@igalia.com>
49 * hildon/hildon-pannable-area.c,
50 (hildon_pannable_area_class_init): Reverted tuning modifications:
51 "Pannign needs to be faster" and "Pannable kinetics in large lists
54 2009-08-26 Alberto Garcia <agarcia@igalia.com>
56 * hildon/hildon-sound.c (hildon_play_system_sound):
57 Set "module-stream-restore.id" to "x-maemo-system-sound" when
60 Fixes: NB#133767 (Information and confirmation note sound should
61 follow system profile setting)
63 2009-08-26 Alejandro G. Castro <alex@igalia.com>
65 * hildon/hildon-pannable-area.c,
66 (hildon_pannable_area_class_init): Added more force and increased
67 the max speed threshold.
69 Fixes: NB#135344 (Pannign needs to be faster)
71 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
73 [Release 2.1.96, this time for real]
76 * debian/changelog: updates
78 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
80 * hildon/hildon-pannable-area.c
81 (hildon_pannable_area_get_topmost): change the computation of the
82 co-ordinates transformed when no one of the children is a topmost
84 Fixes: NB#133252 (Opening any feed item from RSS always opens the
85 first feed item in browser)
87 2009-08-26 Alejandro G. Castro <alex@igalia.com>
89 * hildon/hildon-pannable-area.c,
90 (hildon_pannable_area_remove_timeouts): Adding this new function
91 with the code that removes the timeouts of the widget.
92 (hildon_pannable_area_dispose),
93 (hildon_pannable_area_unrealize): Use the new remove function to
94 stop timeouts when unrealizing and disposing.
95 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
96 calculation to avoid negative values in some cases.
98 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
100 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
102 * examples/hildon-check-button-example.c: (button_toggled_cb):
103 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
104 (hildon_check_button_set_active), (hildon_check_button_new),
105 (hildon_check_button_clicked), (hildon_check_button_class_init):
106 * hildon/hildon-check-button.h:
107 * hildon/hildon-set-password-dialog.c: (create_contents),
108 (hildon_set_password_response_change), (hildon_checkbox_toggled):
110 Revert "Make HildonCheckButton derive from GtkToggleButton"
112 2009-08-21 Alberto Garcia <agarcia@igalia.com>
116 * configure.ac: bump version
118 * debian/changelog: updates
120 2009-08-21 Alberto Garcia <agarcia@igalia.com>
122 * hildon/hildon-check-button.h
123 * hildon/hildon-check-button.c
124 (hildon_check_button_clicked, hildon_check_button_class_init):
125 Make HildonCheckButton derive from GtkToggleButton
126 (hildon_check_button_toggled, hildon_check_button_set_active)
127 (hildon_check_button_get_active):
128 Deprecate unnecessary HildonCheckButton API and use the
129 one from GtkToggleButton instead.
131 * hildon/hildon-set-password-dialog.c (create_contents)
132 (hildon_set_password_response_change, hildon_checkbox_toggled)
133 * examples/hildon-check-button-example.c (button_toggled_cb):
134 Update to use the GtkToggleButton API
136 Fixes: MB#4739 (HildonCheckButton should inherit from
139 Fixes: NB#132661 (HildonCheckButton should inherit from
142 2009-08-20 Alberto Garcia <agarcia@igalia.com>
144 * hildon/hildon-pannable-area.c
145 (hildon_pannable_area_class_init):
146 Increase default value of HildonPannableArea:velocity_max to 2000
148 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
150 2009-08-18 Alberto Garcia <agarcia@igalia.com>
154 * configure.ac: bump version
156 * debian/changelog: updates
158 2009-08-11 Alejandro G. Castro <alex@igalia.com>
160 * hildon/hildon-pannable-area.c
161 (hildon_pannable_area_size_allocate): Checked the scrollbars
162 before the first try when defining the layout, avoids two
163 allocations in some situations.
165 Fixes: NB#131794 (pannable area produces unnecessary allocations
166 causing performance problems)
168 2009-08-11 Alejandro G. Castro <alex@igalia.com>
170 * hildon/hildon-pannable-area.c
171 (hildon_pannable_area_button_press_cb),
172 (hildon_pannable_area_motion_notify_cb),
173 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
174 the spurious ref added in the copy, fixes leak of window.
176 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
177 if it's realized without showing and then deleted)
179 2009-08-10 Alberto Garcia <agarcia@igalia.com>
183 * configure.ac: bump version
185 * debian/changelog: updates
187 2009-08-06 Alberto Garcia <agarcia@igalia.com>
189 * examples/hildon-hvolumebar-timer-example.c
191 * hildon/hildon-banner.c
192 (hildon_banner_timeout, hildon_banner_ensure_timeout)
193 * hildon/hildon-calendar.c
194 (calendar_timer, start_spinning)
195 * hildon/hildon-color-chooser.c
196 (inline_limited_expose)
197 * hildon/hildon-date-editor.c
198 (hildon_date_editor_entry_focus_in)
199 (hildon_date_editor_entry_validate)
200 (hildon_date_editor_entry_select_all)
201 * hildon/hildon-note.c
203 * hildon/hildon-number-editor.c
204 (hildon_number_editor_button_pressed)
205 (hildon_number_editor_start_timer, do_mouse_timeout),
206 (add_select_all_idle, hildon_number_editor_select_all)
207 * hildon/hildon-time-editor.c
208 (hildon_time_editor_entry_focus_in)
209 (highlight_callback, hildon_time_editor_validate)
210 (hildon_time_editor_entry_select_all)
211 * hildon/hildon-time-picker.c
212 (hildon_time_picker_arrow_press)
213 (hildon_time_picker_key_repeat_timeout)
214 * hildon/hildon-window.c
215 (hildon_window_key_press_event)
216 (hildon_window_escape_timeout):
217 Replace all calls to g_idle_add/g_timeout_add with their
218 gdk_threads counterparts.
220 Fixes: NB#126198 (gdk-threads API should be used to install idle
221 and timeout handlers)
223 2009-08-06 Alejandro G. Castro <alex@igalia.com>
225 * hildon/hildon-pannable-area.c,
226 (hildon_pannable_area_class_init): Increased the overshooting max
227 speed to get a faster effect.
228 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
229 deceleration of the overshooting
230 (hildon_pannable_area_button_release_cb): Calculate initial
231 overshooting speed when finger on the screen using the distance to
232 launch the effect faster.
234 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
235 lists with slow row renderers)
237 2009-08-05 Alberto Garcia <agarcia@igalia.com>
239 * doc/hildon-sections.txt: Add new functions
241 2009-08-05 Alberto Garcia <agarcia@igalia.com>
243 * hildon/hildon-text-view.[ch]
244 * hildon/hildon-entry.[ch]:
245 Add deprecation guards around deprecated functions.
247 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
249 * hildon/hildon-app-menu.c: Remove leftover function declaration.
251 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
253 Remove the grab from HildonAppMenu
255 * hildon/hildon-app-menu.c:
256 Now hildon-desktop places a blocker window behind the menu to handle
257 its closing, so the grab is no longer needed. This simplifies its
258 implementation and allows the system blanking to succeed.
260 Fixes: NB#130910 (Screen gets unlocked when menu is open)
262 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
266 * configure.ac: bump version
268 * debian/changelog: updates
269 * debian/control: raise debian dependency on GTK+
271 2009-08-04 Alberto Garcia <agarcia@igalia.com>
273 * hildon/hildon-text-view.c
274 * hildon/hildon-entry.c:
275 Remove all placeholder code from HildonEntry and HildonTextView
276 and use the API in GtkEntry and GtkTextView instead.
278 * examples/hildon-entry-example.c
279 * examples/hildon-text-view-example.c
280 * examples/hildon-wizard-dialog-example.c
281 * hildon/hildon-get-password-dialog.c
282 * hildon/hildon-login-dialog.c
283 * hildon/hildon-picker-dialog.c
284 * hildon/hildon-set-password-dialog.c
285 * hildon/hildon-touch-selector-entry.c:
286 Replace all deprecated calls to HildonEntry and HildonTextView
287 with their Gtk counterparts.
289 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
292 2009-08-03 Alejandro G. Castro <alex@igalia.com>
294 * hildon/hildon-pannable-area.c,
295 (hildon_pannable_area_check_move),
296 (hildon_pannable_area_button_release_cb),
297 (hildon_pannable_area_scroll_to): Reverted the priority change of
298 the timeout, in some situations, slow renderers, the click do not
299 make it to the mainloop on time.
301 Fixes NB#131013 (unable to stop panning file manager by tapping on
304 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
306 * configure.ac: bump version
308 * debian/changelog: updates
310 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
312 * hildon/hildon-touch-selector.[ch]
313 (hildon_touch_selector_center_on_index): New method that allows to center
314 on a item not selected
316 Fixes NB#130291 (New HildonTouchSelector API is required to center on
319 2009-07-29 Alberto Garcia <agarcia@igalia.com>
321 * hildon/hildon-text-view.c
322 (+set_logical_color, +hildon_text_view_style_set)
323 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
324 (hildon_text_view_init)
325 * hildon/hildon-entry.c
326 (+set_logical_color, +hildon_entry_style_set)
327 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
328 (hildon_entry_class_init, hildon_entry_init)
329 * hildon/hildon-button.c
330 (+set_logical_font, +set_logical_color)
331 (hildon_button_style_set, hildon_button_init)
332 (hildon_button_set_arrangement, hildon_button_set_style):
333 Remove all calls to hildon_helper_set_logical_font() and
334 hildon_helper_set_logical_color(), which are recursive, from
337 Fixes: NB#123409 (Showing dialog consumes significant amount of
340 2009-07-29 Alejandro G. Castro <alex@igalia.com>
342 * hildon/hildon-pannable-area.c,
343 (hildon_pannable_area_timeout): Added the process updates of the
344 scrollbars window in the pannable.
346 Fixes: NB#130043 (scrollindicator not smooth while panning)
348 2009-07-23 Alejandro G. Castro <alex@igalia.com>
350 * hildon/hildon-pannable-area.c,
351 (hildon_pannable_area_check_move),
352 (hildon_pannable_area_button_release_cb),
353 (hildon_pannable_area_scroll_to): Increased the priority of the
354 timeout this way it is going to be handled before the events.
356 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
360 * configure.ac: bump version
361 * debian/changelog: updates
363 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
365 * hildon/hildon-entry.c: (set_property): Do not allow to set
366 automatic height and use finger height instead, to prevent an to
367 have a smaller size than than its theme pixbuf.
369 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
371 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
373 * configure.ac: postrelease version bump.
374 * debian/changelog: post release version bump
376 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
381 * configure.ac: Bump version.
382 * debian/changelog: Updates.
384 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
386 * hildon/hildon-note.c: (label_size_request): Take the note
387 padding into account when setting the size request.
389 Fixes: NB#127896 (Information notes text truncated)
391 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
393 * configure.ac: postrelease version bump.
394 * debian/changelog: post release version bump
396 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
401 * configure.ac: Bump version.
402 * debian/changelog: Updates.
404 2009-07-16 Alejandro G. Castro <alex@igalia.com>
407 * hildon/hildon-text-view.c,
408 (hildon_text_view_button_press_event): Grabbed the focus in button
409 press, this way we are sure the widget has the focus in the
410 release event, required for HIM.
412 Fixes: NB#121445 (Virtual keyboard opening is not working in same
413 way for each text entry field)
415 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
417 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
418 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
419 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
420 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
421 (hildon_pannable_area_[gs]et_center_on_child_focus)
422 Redefined GtkContainer set-focus-child signal, in order to center
423 properly on a child when it receives the focus. Defined a new property
424 "center-on-child-focus" in order to activate this feature (deactivated
425 by default). Public get/set methods defined to manage the property.
427 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
429 2009-07-14 László Pere <lpere@blumsoft.eu>
431 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
432 the new size is applied.
434 Fixes: NB#124510 (The Application Menu is distorted when switched
435 between portrait and landscape mode)
436 Fixes: NB#115388 (Power key menu does not resize itself)
438 2009-07-01 Alberto Garcia <agarcia@igalia.com>
440 * hildon/hildon-banner.c (hildon_banner_map):
441 Set banner position after mapping.
443 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
445 * configure.ac: postrelease version bump.
446 * debian/changelog: post release version bump
448 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
453 * configure.ac: Bump version.
454 * debian/changelog: Updates.
456 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
458 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
461 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
463 * tests/check-hildon-banner.c
465 * tests/test_suites.h
466 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
467 were testing deprecated functions.
468 * examples/hildon-banner-example.c: typo on button3 type, that causes
469 a fail compiling with --with-examples but without --disable-deprecated
471 Missed commit in order to fix compilation using '--enable-fatal' and
472 '--disable-deprecated' (see previous commit)
474 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
476 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
477 functions with #ifndef HILDON_DISABLE_DEPRECATED
478 * examples/hildon-find-toolbar.c: Protect deprecated
479 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
480 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
481 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
482 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
484 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
485 to allow proper compilation of deprecated functions defined on the header
487 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
489 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
491 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
492 Cache the panning indicator color.,
493 (hildon_pannable_area_style_set): Query the color on style changes.
494 (hildon_pannable_draw_vscroll),
495 (hildon_pannable_draw_hscroll),
496 (hildon_pannable_area_expose_event): Use the cached panning indicator
497 color instead of looking it up on every expose and more.
499 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
501 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
502 (hildon_pannable_draw_hscroll),
503 (hildon_pannable_area_expose_event): Fix the panning indicator color,
504 so that it's "SecondaryTextColor", as desired.
506 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
508 * hildon/hildon-picker-dialog.c:
509 (selection_completed): take into account HILDON_UI_MODE_NORMAL
510 * hildon/hildon-touch-selector.c
511 (hildon_touch_selector_init): Initialize hildon-ui-mode
512 (hildon_touch_selector_row_activated): new callback for the
513 "row-activated" signal, in order to save the last activated
514 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
515 if the current hildon-ui-mode is coherent with the touch selector
516 (hildon_touch_selector_class_init)
517 (hildon_touch_selector_get_property)
518 (hildon_touch_selector_set_property)
519 Added "hildon-ui-mode" property
520 (disconnect_model_handlers): renamed to clean_column
521 (hildon_touch_selector_remove): use clean_column function
522 (_create_new_column): use the hildon-ui-mode to create the treeview, and
523 only select the first element on HILDON_UI_MODE_EDIT
524 (hildon_touch_selector_column_init): Initialize last_activate
525 (hildon_touch_selector_append_column): check that the touch selector
526 is coherent with the current hildon-ui-mode
527 (hildon_touch_selector_get_hildon_ui_mode)
528 (hildon_touch_selector_set_hildon_ui_mode)
529 Added a getter/setter for the hildon-ui-mode property
530 (hildon_touch_selector_get_last_activated_row): Added this method in
531 order to get the last activated row.
532 * examples/hildon-touch-selector-normal-mode-example.c
533 New example, that shows how to use the HildonTouchSelector in
534 HILDON_UI_MODE_NORMAL
536 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
537 Kristian Rietveld <kris@lanedo.com> advices
539 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
541 * hildon/hildon-time-selector.c: (update_format_policy): Do
542 not call update_format_dependant_columns() if not necessary.
543 (update_format_dependant_columns): Remove unnecessary check for
544 the number of columns.
546 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
548 * hildon/hildon-note.c (+hildon_note_constructor),
549 (hildon_note_class_init), (+hildon_note_set_padding),
550 (hildon_note_rebuild): Install a constructor where to set the
551 padding properties in the note, so that it actually works fine.
552 Use hildon_note_set_padding() for this, and also to set it during
555 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
557 * configure.ac: Bump GTK+ requirement to 2.14.3.
558 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
559 when using maemo-gtk to define proper margins for the notes.
561 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
562 with the dialog edge)
564 2009-06-24 Alberto Garcia <agarcia@igalia.com>
566 * hildon/hildon-banner.c
567 (hildon_banner_class_init):
569 (+hildon_banner_size_request):
570 Request always the full width of the screen.
571 (hildon_banner_realize)
572 (-hildon_banner_check_position, hildon_banner_map):
573 hildon_banner_check_position() is not needed in Hildon 2.2.
574 (-hildon_banner_reset_wrap_state)
575 (hildon_banner_constructor, hildon_banner_init):
576 Remove unnecessary calls to hildon_banner_reset_wrap_state()
577 (+banner_do_set_text)
578 (force_to_wrap_truncated):
579 Remove has_been_wrapped and has_been_truncated attributes.
580 (+reshow_banner, hildon_banner_real_show_information)
581 (hildon_banner_show_information_with_markup)
582 (hildon_banner_show_animation, hildon_banner_show_progress)
583 (hildon_banner_set_text, hildon_banner_set_markup):
584 Refactor code. Shrink banner vertically to use the minimum space
585 necessary everytime the text of the label is updated.
586 (screen_size_changed):
587 Call force_to_wrap_truncated() when the size of the screen
590 Fixes: NB#120500 (only device memory connect mmc in use info
591 banner is left aligned)
593 Fixes: NB#120613 (Size of HildonBanner varies depending on
594 previously opened banners)
596 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
598 * hildon/hildon-color-chooser.c
599 (hildon_color_chooser_pointer_motion): Take the widget allocation
602 Fixes: NB#124385 (Unable to select exact point in color mixing box
603 in color palette dialog)
605 2009-06-23 Alejandro G. Castro <alex@igalia.com>
607 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
608 (hildon_pannable_area_dispose)
609 (hildon_pannable_area_button_press_cb)
610 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
611 (hildon_pannable_area_button_release_cb)
612 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
613 New 'panning-started' and 'panning-finished' signals.
615 Fixes: NB#121732 (New feature request: Signal to pannable area
616 that informs when panning is stopped.)
618 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
620 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
621 instead of hardcoded colon.
623 Fixes: NB#124090 (New calendar wizard title is not using
624 ecdg_ti_caption_separator)
626 2009-06-22 David King <davidk@openismus.com>
628 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
629 constants and functions, as well as correct many typos throughout the
632 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
635 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
637 * configure.ac: postrelease version bump.
638 * debian/changelog: post release version bump
640 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
645 * configure.ac: Bump version.
646 * debian/changelog: Updates.
648 2009-06-18 Alberto Garcia <agarcia@igalia.com>
650 * hildon/hildon-window-stack.c
651 (hildon_window_stack_pop_and_push_list):
652 Prevent windows from having the same stack index
654 2009-06-18 Alberto Garcia <agarcia@igalia.com>
656 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
657 Use the index of the previous window rather than the stack length
658 to calculate the new index.
662 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
664 * hildon/hildon-date-selector.c
665 (hildon_date_selector_select_current_date)
666 (hildon_date_selector_get_date)
667 (hildon_date_selector_select_day):
668 Update the documentation: uses always the range (1-31), as it is obvious
669 that the final one will depend on the month and the year, but globally
670 the range is this, in a similar GtkCalendar approach
671 (hildon_date_selector_get_date):
672 Update the documentation: add NULL as a valid value for the day, month
675 Fix some details, after talk with David King on bug MB#4698
677 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
679 * hildon/hildon-touch-selector-entry.c
680 * hildon/hildon-touch-selector.c
681 Update the documentation of the "text-column" property
683 2009-06-18 David King <davidk@openismus.com>
685 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
686 several typos and errors throughout the documentation.
688 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
691 2009-06-18 Alberto Garcia <agarcia@igalia.com>
693 * hildon/hildon-note.c (hildon_note_realize):
694 Make HildonNote support portrait mode.
696 Fixes: NB#123448 (HildonNote is not portrait-friendly)
698 2009-06-17 Alberto Garcia <agarcia@igalia.com>
700 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
701 Document this function
703 2009-06-17 David King <davidk@openismus.com>
705 * hildon/hildon-date-selector.c
706 (hildon_date_selector_select_current_date)
707 (hildon_date_selector_get_date): Update documentation regarding days,
708 as the day of the month is dependent on both the month and the year.
709 (hildon_date_selector_get_date): Fix documentation of output arguments.
711 Fixes: MB#4698 (DateSelector documentation has bad output argument
712 description, and the day depends on both the month and the year)
714 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
716 * hildon/hildon-caption.c: Other documentation fixes to
719 2009-06-17 David King <davidk@openismus.com>
721 * hildon/hildon-caption.c: Minor documentation updates for
722 HildonCaption. Fixes MB#4697.
724 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
726 * doc/hildon-docs.sgml: Add hildon-version section.
727 * doc/hildon-sections.txt:
728 * hildon/hildon-version.h.in: Document versioning macros and
731 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
733 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
734 from HildonPickerDialog section.
736 2009-06-16 Alberto Garcia <agarcia@igalia.com>
738 * hildon/hildon-banner.c (hildon_banner_bind_style)
739 (screen_size_changed, hildon_banner_init)
740 (hildon_banner_real_show_information)
741 (hildon_banner_show_information_with_markup)
742 (hildon_banner_show_animation, hildon_banner_show_progress):
743 Set a different widget name to banners in portrait mode, for them
744 to be themed correctly.
746 2009-06-16 Alberto Garcia <agarcia@igalia.com>
748 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
749 Set a different widget name to notes in portrait mode, for them to
752 Partially fixes: NB#118401 (HildonNote causes unnecessary
755 2009-06-16 Alberto Garcia <agarcia@igalia.com>
757 * hildon/hildon-note.c (hildon_note_class_init)
758 (+hildon_note_size_request, screen_size_changed):
759 Always request the full width of the screen.
761 Fixes: NB#118375 (unnecessary rescaling of images)
763 2009-06-16 Alejandro G. Castro <alex@igalia.com>
765 * hildon/hildon-pannable-area.c,
766 (hildon_pannable_area_init),
767 (hildon_pannable_area_realize): Replaced old code adding flags in
768 the object init, now we add it with the other flags in the realize
771 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
773 * hildon/hildon-note.c: (hildon_note_class_init): Several
774 documentation improvements to the HildonNote widget.
776 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
778 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
780 Fixes: MB#4556 (HildonNoteType is undocumented)
782 2009-06-15 Alberto Garcia <agarcia@igalia.com>
784 * hildon/hildon-picker-button.c:
785 Explain how HildonPickerButton sets the title of its dialog
787 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
788 the title of its dialog)
790 2009-06-15 Alberto Garcia <agarcia@igalia.com>
792 * hildon/hildon-check-button.c:
793 Documentation updates
795 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
798 2009-06-15 Alberto Garcia <agarcia@igalia.com>
801 * hildon/hildon-edit-toolbar-private.h
802 * hildon/hildon-edit-toolbar.c
803 (+hildon_edit_toolbar_set_progress_indicator)
804 (hildon_edit_toolbar_init): Add progress indicator to the
807 * hildon/hildon-gtk.c
808 (hildon_gtk_window_set_progress_indicator):
809 If the window contains a HildonEditToolbar, enable the progress
812 * hildon/hildon-private.h
813 * hildon/hildon-private.c
814 (+hildon_private_create_animation)
815 * hildon/hildon-banner.c
816 (-hildon_banner_create_animation):
817 Moved to hildon-private.c
819 Fixes: NB#102373 (Progress indicator also for the Edit mode
822 2009-06-15 Alberto Garcia <agarcia@igalia.com>
824 * hildon/hildon-app-menu-private.h
825 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
826 (hildon_app_menu_add_filter, +menu_item_button_event)
827 (hildon_app_menu_button_release, hildon_app_menu_init):
828 Make sure that buttons receive 'button-release-event' in spite of
829 the grab held by HildonAppMenu
831 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
833 2009-06-15 Alberto Garcia <agarcia@igalia.com>
835 * hildon/hildon-app-menu.c
836 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
837 New style property to set the size of the group of filter buttons.
839 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
841 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
846 * configure.ac: Bump version.
847 * debian/changelog: Updates.
849 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
851 * hildon/hildon-main.c: Minor documentation fixes.
853 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
855 * doc/hildon-sections.txt:
856 * hildon/hildon-defines.h: Document the defines, organize them,
857 and mark deprecations as such.
859 Fixes: MB#4463 (Hildon size #defines are undocumented)
861 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
863 * hildon/hildon-animation-actor.c:
864 * hildon/hildon-app-menu.c:
865 * hildon/hildon-button.c:
866 * hildon/hildon-date-editor.c:
867 * hildon/hildon-dialog.c:
868 * hildon/hildon-edit-toolbar.c:
869 * hildon/hildon-entry.c:
870 * hildon/hildon-program.c:
871 * hildon/hildon-remote-texture.c:
872 * hildon/hildon-stackable-window.c:
873 * hildon/hildon-text-view.c:
874 * hildon/hildon-touch-selector.c:
875 * hildon/hildon-window-stack.c:
876 * hildon/hildon-window.c:
878 Remove redundant "represents" wording from most of the documentation.
880 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
882 2009-06-12 Alberto Garcia <agarcia@igalia.com>
887 * hildon/hildon-banner-private.h
888 * hildon/hildon-banner.c:
889 Move HildonBannerPrivate to hildon-banner.c and remove
890 hildon-banner-private.h
891 Use a bit field to store private booleans.
893 2009-06-12 Alberto Garcia <agarcia@igalia.com>
895 * hildon/hildon-app-menu.c (hildon_app_menu_map):
896 Don't install a new idle function if there's already one
901 2009-06-11 Alberto Garcia <agarcia@igalia.com>
903 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
904 (+legacy_menu_realized, +legacy_menu_unmapped)
905 (+set_legacy_menu_type):
906 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
907 they can be identified by the window manager.
909 Fixes: NB#101437 (Invoking CSM on the left side of page area is
910 displayed in wrong location)
912 Fixes: MB#4563 (Popup menu won't locate at the left side of the
915 2009-06-11 Alberto Garcia <agarcia@igalia.com>
917 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
919 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
922 2009-06-11 Alberto Garcia <agarcia@igalia.com>
924 * hildon/hildon-code-dialog.c
925 * hildon/hildon-date-editor.c
926 * hildon/hildon-number-editor.c
927 * hildon/hildon-seekbar.c
928 * hildon/hildon-stackable-window.c
929 * hildon/hildon-window.c:
930 Misc documentation updates
932 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
934 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
935 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
937 Fixes: NB#117931 (Theming issues in accounts dialogs)
939 2009-06-09 Alejandro G. Castro <alex@igalia.com>
941 * hildon/hildon-pannable-area.c,
942 (hildon_pannable_area_button_release_cb): Changed the coordinates
943 of the original release in case we want to discard the release,
944 some widgets in Fremantle do not handle the leave-notify.
946 2009-06-09 Alejandro G. Castro <alex@igalia.com>
948 * hildon/hildon-pannable-area.c,
949 (hildon_pannable_area_button_release_cb): Reviewed the logic of
950 the release using the last refactored functions and avoiding the
951 movement if an element was selected.
953 2009-06-09 Alejandro G. Castro <alex@igalia.com>
955 * hildon/hildon-pannable-area.c,
956 (hildon_pannable_area_check_move),
957 (hildon_pannable_area_handle_move),
958 (hildon_pannable_area_motion_notify_cb): Refactored the
959 motion_notify method using a couple of new functions.
961 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
963 * hildon/hildon-date-selector.c:
964 (hildon_date_selector_construct_ui):
965 * hildon/hildon-time-selector.c:
966 (hildon_time_selector_constructor):
967 * hildon/hildon-touch-selector-entry.c:
968 (hildon_touch_selector_entry_set_text_column),
969 (hildon_touch_selector_entry_get_text_column):
970 * hildon/hildon-touch-selector.c: (_default_print_func),
971 (hildon_touch_selector_new_text): Use
972 hildon_touch_selector_set/get_text_column() instead of
973 setting/getting the "text-column" property.
975 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
977 * doc/hildon-sections.txt: Add the new public methods below.
979 * examples/hildon-picker-button-multicolumn-example.c:
980 (create_touch_selector):
981 * examples/hildon-touch-selector-example.c: (create_selector):
982 * examples/hildon-touch-selector-multi-cells-example.c:
984 Use hildon_touch_selector_column_set_text_column()
986 * hildon/hildon-touch-selector-column.h:
987 * hildon/hildon-touch-selector.c:
988 (hildon_touch_selector_column_set_text_column),
989 (hildon_touch_selector_column_get_text_column):
990 Make hildon_touch_selector_column_set/get_column() public, use
991 them in the inline example, document them, and reference to them
994 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
996 * hildon/hildon-time-selector.c: Fix the docs for
997 hildon_time_selector_new_step().
999 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1001 * hildon/hildon-touch-selector.c: Improve the documentation for
1002 hildon_touch_selector_append_column().
1004 Fixes MB#4641 (Documentation:
1005 hildon_touch_selector_append_column() ref-counting)
1007 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1009 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1010 Comment out test 5, since the hildon_controlbar_set_range() range
1011 check is broken and fixing it would have side effects. Also,
1012 this finally fixes make distcheck.
1014 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1016 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1018 * tests/TEST-CASES.txt: Remove other bogus test.
1019 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1020 Remove bogus test that was setting/retrieving a valid value.
1022 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1024 * tests/TEST-CASES.txt: Remove bogus tests.
1025 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1026 Remove three bogus tests that were actually setting valid colors.
1028 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1030 * configure.ac: post release version bump
1031 * debian/changelog: post release version bump
1033 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1038 * configure.ac: Bump version.
1039 * debian/changelog: Updates.
1041 2009-06-08 Christian Dywan <christian@lanedo.com>
1045 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1046 Correct errors in hildon_format_file-size_for_display and use
1047 translations from the hildon-fm package instead of osso-filemanager.
1049 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1051 * hildon/hildon-pannable-area.c,
1052 (hildon_pannable_area_init): Initialized new values to handle the
1053 adjustment position.
1054 (hildon_pannable_area_adjust_value_changed): Check if the values
1055 changed before even call the redraw function.
1056 (hildon_pannable_area_size_allocate),
1057 (hildon_pannable_axis_scroll),
1058 (hildon_pannable_area_scroll),
1059 (hildon_pannable_area_jump_to): Improved the diagonal movement
1062 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1065 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1067 * examples/hildon-banner-example.c:
1068 Several style updates
1069 (on_animation_clicked, on_animation_idle)
1070 (on_progress_clicked, on_progress_idle):
1071 Add additional reference for the cases when the parent window is
1074 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1076 * doc/hildon-sections.txt
1077 * hildon/hildon-pannable-area.c
1078 * hildon/hildon-banner.h
1079 * hildon/hildon-banner.c: Documentation updates.
1081 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1084 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1086 * hildon/hildon-calendar-popup.h:
1087 * hildon/hildon-caption.h:
1088 * hildon/hildon-code-dialog.h:
1089 * hildon/hildon-controlbar.h:
1090 * hildon/hildon-date-editor.h:
1091 * hildon/hildon-dialog.h:
1092 * hildon/hildon-get-password-dialog.h:
1093 * hildon/hildon-hvolumebar.h:
1094 * hildon/hildon-login-dialog.h:
1095 * hildon/hildon-note.h:
1096 * hildon/hildon-number-editor.h:
1097 * hildon/hildon-range-editor.h:
1098 * hildon/hildon-seekbar.h:
1099 * hildon/hildon-set-password-dialog.h:
1100 * hildon/hildon-sort-dialog.h:
1101 * hildon/hildon-time-editor.h:
1102 * hildon/hildon-time-picker.h:
1103 * hildon/hildon-volumebar-range.h:
1104 * hildon/hildon-volumebar.h:
1105 * hildon/hildon-vvolumebar.h:
1106 * hildon/hildon-weekday-picker.h:
1107 * hildon/hildon-window.h:
1108 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1109 macros with the current replacements
1111 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1113 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1115 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1116 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1117 itself, to make it fit better with Fremantle style.
1119 Fixes: NB#109878 (height and width of focus on color icon is not
1120 consistent with other item in the application tool bar)
1122 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1124 * hildon/hildon-touch-selector.c:
1125 (hildon_touch_selector_optimal_size_request): use the current requisition
1126 as the base, in order to include any possible extra widget, like the
1127 hildon entry on HildonTouchSelectorEntry
1129 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1131 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1133 * configure.ac: post release version bump
1134 * debian/changelog: post release version bump
1136 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1141 * configure.ac: Bump version.
1142 * debian/changelog: Updates.
1144 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1146 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1148 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1149 to ensure the banner contents are centered, instead of relying on
1150 the expand and fill properties in GtkHBox.
1151 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1153 Fixes: NB#108265 (Animation banner not properly centered)
1155 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1157 * hildon/hildon-pannable-area.c
1158 (hildon_pannable_area_initial_effect): Remove the initial_effect
1159 management, check initial_hint
1160 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1161 set initial_effect to FALSE
1162 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1163 by launching the fade_timeout if the scrollbars state has changed and are
1165 * examples/hildon-pannable-area-initial-hint-example.c
1166 Modified to allow to remove rows too. Add and remove rows one by one.
1168 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1170 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1171 Don't close the menu if there's an animation actor below it.
1173 Fixes: NB#117927 (Application menu not usable with animation
1176 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1178 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1179 "focus-on-click" from the dialog button, to avoid stealing the
1180 focus from the entry.
1182 Fixes: NB#118903 (Account setup wizard: Text in Search field
1183 should be focused when "Region" touch list picker is reopened
1186 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1188 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1189 (prepare_action_area): Completely hide the dialog separator.
1191 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1193 * hildon/hildon-touch-selector-entry.c
1194 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1195 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1196 now that the entry is exposed.
1198 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1200 * hildon/hildon-touch-selector-entry.c
1201 (hildon_touch_selector_entry_init): Change the entry's size
1202 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1204 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1206 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1207 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1208 avoid unnecessary scaling.
1210 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1212 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1213 Create grab transfer window before calling parent's map function.
1215 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1216 "crushed" button(s) in the top left corner)
1218 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1220 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1221 Check if the window is already realized when pushing it.
1223 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1225 * configure.ac: post release version bump
1226 * debian/changelog: post release version bump
1228 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1233 * configure.ac: Bump version.
1234 * debian/changelog: Updates.
1236 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1238 * hildon/hildon-app-menu.c: Doc updates.
1240 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1242 * hildon/hildon-banner.c: Remove leftover macro.
1244 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1246 * hildon/hildon-pannable-area.c,
1247 (hildon_pannable_area_scroll_indicator_fade),
1248 (hildon_pannable_area_button_release_cb): Reviewed vmin
1249 conditions, it could cause problems in the fadeout procedure.
1251 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1253 * hildon/hildon-pannable-area.c
1254 (hildon_pannable_area_button_release_cb): Added a threshold to
1255 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1257 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1259 * hildon/hildon-pannable-area.c,
1260 (hildon_pannable_area_set_property): Added code to sync the gtk
1261 dnd threshold with the panning threshold.
1263 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1265 * hildon/hildon-pannable-area.c,
1266 (hildon_pannable_area_class_init): Changed some of the default
1267 values, now it should be less responsive and more accurate.
1269 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1271 * hildon/hildon-pannable-area.c,
1272 (hildon_pannable_area_init),
1273 (hildon_pannable_area_scroll_indicator_fade),
1274 (hildon_pannable_area_button_press_cb),
1275 (hildon_pannable_axis_scroll),
1276 (hildon_pannable_area_timeout),
1277 (hildon_pannable_area_motion_notify_cb),
1278 (hildon_pannable_area_button_release_cb): Changed the name of the
1279 clicked attribute to button_pressed, it is more clear about its use.
1281 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1283 * src/hildon-pannable-area.c
1284 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1286 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1287 vertical scrollbar visibility, and use the data on private section instead,
1288 remove the initial_hint check
1289 (hildon_pannable_area_expose_event): add the initial_hint check here
1291 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1293 * src/hildon-pannable-area.c
1294 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1295 if the fadeout effect was used
1296 (hildon_pannable_area_expose_event): check if it is required to
1297 manage the initial effect on the begining of the function. Previously
1298 it was made at the end, but this doesn't ensure that the scrollbars
1299 will be painted on the first show. Do not set to FALSE initial_effect,
1300 to ensure that the initial hint is showed the first time the pannable
1302 * examples/Makefile.am
1303 * examples/hildon-pannable-area-initial-hint-example.c:
1304 New example, to show that the initial-hint is showed when the widget
1307 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1308 initially if the application can be scrolled)
1310 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1312 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1313 Resize table before adding new items to make sure that
1314 gtk_table_resize() is called just once.
1316 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1318 * hildon/hildon-app-menu-private.h
1319 * hildon/hildon-app-menu.c (item_visibility_changed)
1320 (filter_visibility_changed, hildon_app_menu_show_all)
1321 (hildon_app_menu_hide_all, hildon_app_menu_init):
1322 Rearrange items just once when gtk_widget_show_all()/hide_all()
1325 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1327 * hildon/hildon-app-menu.c
1328 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1329 Don't call gtk_widget_show() on added items.
1331 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1332 automatically when they're added)
1334 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1336 * hildon/hildon-banner.c
1337 (hildon_banner_realize, +hildon_banner_unrealize)
1338 (+screen_size_changed, hildon_banner_class_init):
1339 Redisplay the banner if the screen is rotated.
1341 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1342 on transition from landscape to portrait)
1344 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1346 * hildon/hildon-banner.[ch]:
1347 (hildon_banner_show_information_override_dnd): remove icon_name from the
1348 method definition as it is ignored.
1349 * examples/hildon-banner-dnd-example.c: updated with the change on
1352 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1354 * hildon/hildon-banner-private.h: new require_override_dnd and
1355 overrides_dnd variables
1356 * hildon/hildon-banner.h:
1357 (hildon_banner_show_information_override_dnd): new method, that shows
1358 the information but sets the override flag, in order to show important
1360 * hildon/hildon-banner.c
1361 (hildon_banner_show_information_override_dnd): new method
1362 (hildon_banner_set_override_flag): new utility function
1363 (hildon_banner_real_show_information): new utility function, in order to
1364 generalize the current hildon_banner_show_information_override_dnd and
1365 hildon_banner_show_information_override_dnd
1366 * examples/Makefile.am
1367 * examples/hildon-banner-dnd-example.c: New example that show how to
1368 use the new hildon_banner_show_information_override_dnd
1370 Fixes: NB#114874 (There is no possibility to show hildon banners with
1373 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1375 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1376 behind hildon_pannable_calculate_vel_factor().
1378 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1380 * hildon/hildon-pannable-area.c
1381 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1382 deceleration factors.
1384 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1386 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1387 Reduce the default value for 'scroll_time' to 1 second, since the
1388 current initial scrolling takes too much time.
1390 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1392 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1393 calculate velocity factor during initialization, since the properties
1396 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1398 * hildon/hildon-pannable-area.c
1399 (hildon_pannable_area_set_property): Calculate the velocity factor
1400 after setting the deceleration property and not after.
1402 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1404 * hildon/hildon-entry.c
1405 (hildon_entry_class_init, +set_property, hildon_entry_new)
1406 * hildon/hildon-check-button.c
1407 (hildon_check_button_class_init)
1408 (+set_property, hildon_check_button_new):
1409 Make the theme size a property.
1411 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1412 others) do too much in the _new function)
1414 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1416 * configure.ac: post release version bump
1417 * debian/changelog: post release version bump
1419 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1424 * configure.ac: Bump version.
1425 * debian/changelog: Updates.
1427 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1429 * hildon/hildon-gtk.h
1430 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1431 New API function to take a screenshot of a window
1433 Fixes: NB#106374 (Need API to take a loading screenshot)
1435 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1437 * hildon/hildon-time-selector.c
1438 (update_format_policy): prevent to use hours and minutes unitialized
1440 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1442 * hildon/hildon-window.c (hildon_window_size_request):
1443 Always request the full size of the screen (minus the title bar if
1444 not in fullscreen mode).
1446 Fixes: NB#107486 (HildonWindow should size itself properly)
1448 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1450 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1451 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1452 (on_show_cb), (sound_handling): Disconnect the idle handler for
1453 the sound when the note is finalized to avoid possible crashes.
1455 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1458 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1460 * src/hildon-animation-actor.c,
1461 * src/hildon-remote-texture.c:
1462 Added proper object cleanup to remove signal handler and object
1463 references as HildonAnimationActor and HildonRemoteTexture
1464 objects get destroyed.
1466 Fixes: NB#116682 (Destroying parented animation actors when
1467 parent in unmapped leads to crash)
1469 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1471 Based on a patch by Christian Dywan (christian@imendio.com)
1473 * doc/hildon-sections.txt:
1474 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1475 * hildon/hildon-helper.h: New file size formatting method.
1477 * debian/control: Depend on osso-filemanager l10n package for
1478 proper localization strings.
1480 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1482 * tests/Makefile.am: Include top_srcdir to make possible to build
1483 tests in a different builddir.
1484 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1485 on a different builddir.
1487 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1489 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1490 (hildon_touch_selector_remove): Disconnect model's signal handler
1493 Fixes: NB#116289 (Hildon home crashes while adding task
1496 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1498 * hildon/hildon-button.c
1499 (hildon_button_set_title, hildon_button_set_value):
1500 Hide labels containing an empty string.
1502 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1504 * configure.ac: post release version bump
1505 * debian/changelog: post release version bump
1507 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1512 * configure.ac: Bump version.
1513 * debian/changelog: Updates.
1515 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1517 * hildon/hildon-note-private.h: Removed sound_signal_handler
1518 * hildon/hildon-note.c
1519 (on_show_cb): new callback on note "show" event, this simply adds
1520 a idle, with the function sound_handling
1521 (sound_handling): removed the sound_signal_handler management
1522 (hildon_note_init): connect note "show" event to on_show_cb
1523 (hildon_note_realize): remove the connection to "expose-event"
1525 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1526 device?' confirmation note)
1528 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1530 * hildon/hildon-note.c
1531 (hildon_note_new_information_with_icon_name)
1532 (hildon_note_new_confirmation_with_icon_name):
1533 Terminate the list of parameters in g_object_set() calls
1535 Fixes: NB#115166 (Formatting memory card is not taking place)
1537 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1539 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1540 "dialog-information" role for the sound being played.
1542 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1544 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1545 Don't make the menu a modal window, it causes strange interactions
1546 with the pointer grab and it's not really needed.
1548 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1550 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1552 * hildon/hildon-touch-selector.[ch]
1553 (hildon_touch_selector_optimal_size_request): function added to get a
1554 optimal size request from the touch selector, when you want a dialog to
1555 show as much of the selector
1556 * hildon/hildon-picker-dialog.c:
1557 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1558 (hildon_app_menu_class_init):
1559 New "max-height-landscape" and "max-height-portrait" style properties
1560 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1561 (hildon_picker_dialog_get_max_height): returns the maximum height using
1562 the style properties defined and checking the current portrait/landscape
1564 (_hildon_picker_dialog_set_selector): removed the set_size_request
1566 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1568 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1570 * hildon/hildon-bread-crumb-trail.c:
1571 * hildon/hildon-bread-crumb.c:
1572 * hildon/hildon-seekbar.c:
1573 Add reference to replacements for these deprecated widgets.
1575 Fixes: MB#4461 (Documentation: All deprecations should mention
1578 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1580 * examples/hildon-remote-texture-example.c
1582 Change the include to the hildon-remote-texture in order to compile
1583 properly the examples on the installed libhildon1-examples package
1585 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1587 * tests/Makefile.am: Add check for HildonPickerButton.
1588 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1589 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1590 checks for the HildonPickerButton.
1591 * tests/check_test.c (configure_tests): Add the test suite.
1592 * tests/test_suites.h: likewise.
1594 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1596 * hildon/hildon-touch-selector.c
1597 (+on_row_changed): Emit HildonTouchSelector:changed when the
1598 contents of a selected row change.
1599 (_create_new_column), (_hildon_touch_selector_set_model): connect
1600 to GtkTreeModel:row-changed on a newly set model.
1602 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1604 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1606 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1608 * hildon/hildon-banner.c (hildon_banner_destroy)
1609 (hildon_banner_show_progress, hildon_banner_set_fraction):
1610 Remove the progress bar from HildonBanner and use a progress
1613 Fixes: NB#113761 (Update progress banner to use progress
1616 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1618 * hildon/hildon-banner.c:
1619 Calculate size of the banner label using the actual screen width
1620 rather than using a fixed value.
1622 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1625 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1627 * hildon/hildon-pannable-area.c,
1628 (hildon_pannable_area_class_init): Fixed signals documentation
1631 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1633 * configure.ac: post release version bump
1634 * debian/changelog: post release version bump
1636 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1641 * configure.ac: Bump version.
1642 * debian/changelog: Updates.
1644 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1646 * hildon/hildon-edit-toolbar.c
1647 (hildon_edit_toolbar_init):
1648 Don't let buttons in HildonEditToolbar receive focus.
1650 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1651 typing on an HW arrows key)
1653 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1655 * doc/Makefile.am: Fix build.
1657 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1659 * doc/Makefile.am: Do not redefine content_files.
1661 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1669 Renamed src/ to hildon/
1674 Include <hildon/hildon.h> directly in all examples.
1676 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1678 * src/hildon-sort-dialog.c
1679 (hildon_sort_dialog_add_sort_key_with_sorting)
1683 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1685 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1686 make distcheck passes.
1688 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1690 * Makefile.am: Enable gtk-doc during distcheck.
1692 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1694 * Makefile.am: Do not distribute the debian/ directory.
1696 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1698 * doc/Makefile.am: Add the extra SGML files to content_files,
1699 so that they are distributed properly.
1701 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1703 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1706 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1708 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1709 (hildon_note_new_information_with_icon_name): Set the "icon" property
1710 to preserve soundness.
1712 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-font-selection-dialog.c
1715 (hildon_font_selection_dialog_set_property): Fail when the "family"
1716 property is set to NULL.
1718 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1723 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1725 * src/hildon-time-selector.h:
1726 Added HildonTimeSelectorFormatPolicy
1727 * src/hildon-time-selector.c:
1728 Added PROP_TIME_FORMAT_POLICY
1729 (_check_ampm_format): renamed to check_automatic_ampm_format
1730 (update_format_policy), (update_format_dependant_columns): new functions
1731 (hildon_time_selector_class_init)
1732 (hildon_time_selector_contructor)
1733 (hildon_time_selector_init)
1734 (hildon_time_selector_get_property)
1735 (hildon_time_selector_set_property)
1736 (hildon_time_selector_get_time)
1737 (hildon_time_selector_set_time)
1738 * src/hildon-touch-selector.h: new file
1739 * src/hildon-touch-selector.c
1740 (hildon_touch_selector_emit_changed)
1741 (hildon_touch_selector_block_changed)
1742 (hildon_touch_selector_unblock_changed)
1743 Added functions to allow to block the emission of the "changed" signal
1744 * src/hildon-picker-dialog.c
1745 (hildon_picker_dialog_show): call the parent show before the custom code
1746 * examples/hildon-time-button-example.c
1747 Modified, so now you can configure the time format using the new property
1749 Added a new property "time-format-policy" that allow to choose the time
1750 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1751 case it uses gconf in order to check if the time selector must use
1754 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1757 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-note.c (hildon_note_init):
1760 Label in HildonNote must be left aligned, not centered. This
1761 reverts the last commit in HildonNote.
1763 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1764 is connectivity dialog)
1766 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1771 * doc/hildon-sections.txt:
1772 Added hildon_gtk_window_set_do_not_disturb()
1774 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1776 * src/hildon-note.c (hildon_note_init): Center label.
1778 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1781 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1786 * configure.ac: Bump version.
1787 * debian/changelog: Updates.
1789 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1791 * src/hildon-note-private.h: Add button-width to the private data.
1792 * src/hildon-note.c (+resize_button),
1793 (+hildon_note_orientation_update): methods to repack widgets on orientation
1795 (screen_size_changed): Call above method for confirmation notes.
1796 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1797 (hildon_note_rebuild): Store the original width request from buttons.
1799 Fixes: NB#109635 (Confirmation notes do not support portrait)
1801 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1804 when it is a progress note.
1806 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1808 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1809 in the note, since there are no horizontally arranged contents.
1811 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1813 * src/hildon-gtk.c (+set_flag): new generic method to
1814 set/delay a flag setting in a window.
1815 (hildon_gtk_window_set_progress_indicator):
1816 (hildon_gtk_window_set_do_not_disturb),
1817 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1818 avoid code redundance.
1820 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1822 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1824 * src/hildon-gtk.c (set_clear_window_flag),
1825 (do_set_progress_indicator), (do_set_do_not_disturb),
1826 (do_set_portrait_flags),
1827 (hildon_gtk_window_set_progress_indicator),
1828 (hildon_gtk_window_set_do_not_disturb),
1829 (hildon_gtk_window_set_portrait_flags):
1830 Allow setting dnd-flag, progress indicator, and portrait flags
1831 when the window is not realized.
1833 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1835 * src/hildon-pannable-area.c,
1836 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1837 the size request policy function and defines.
1839 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1841 * doc/hildon-sections.txt: Add the new API.
1842 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1843 method to set the portrait flags.
1844 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1846 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1848 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1851 to allow using this method with other flags.
1852 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1853 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1855 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-touch-selector.c
1858 (hildon_touch_selector_append_text_column):
1859 Make the cell renderer use the smallest width possible.
1861 Fixes: NB#108470 (Selected items in multiple selection are either
1862 having a tick that is cut or not visible at all.)
1864 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-touch-selector.c
1867 (hildon_touch_selector_append_text_column):
1870 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1873 Use g_strdup_printf() instead of a fixed size buffer.
1875 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1877 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1878 Close banners when a HildonAppMenu is popped up.
1880 Fixes: NB#111027 (Title menu closed immediately if activated when
1881 "Invalid e-mail address" banner is shown)
1883 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1888 * configure.ac: Bump version.
1889 * debian/changelog: Updates.
1891 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1893 * src/hildon-banner.c (hildon_banner_realize):
1894 Mark HildonBanner as supporting portrait mode.
1895 Use GDK to set window properties insetad of direct Xlib calls.
1897 Fixes: NB#111830 (HildonBanner should be marked as supporting
1900 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-note.c (hildon_note_rebuild):
1903 Hide action area in information notes. Prevents text from being
1904 slightly aligned to the left.
1906 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1909 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1911 Patch by Mox Soini (ext-mox.soini@nokia.com)
1913 * src/hildon-banner.c (hildon_banner_create_animation):
1914 Use stylus-sized icons in animation banner.
1916 Fixes: NB#111206 (stylus sized icon for animation banner)
1918 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1922 (+hildon_gtk_window_set_do_not_disturb):
1923 New API to set the do-not-disturb flag.
1925 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1927 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1929 * examples/hildon-progress-indicator-example.c: Fix example
1931 * src/hildon-gtk.c (set_clear_window_flag)
1932 (hildon_gtk_window_set_progress_indicator):
1933 Create a generic function for setting flags to a window.
1934 Use GDK instead of direct Xlib calls.
1936 2009-04-14 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-button.c (hildon_button_set_arrangement):
1939 Due to NB#88126, if one of the labels is too long it will be
1940 painted outside the button. The 'value' label is more likely to be
1941 the longest one, so we change its packing options in order to
1942 truncate it if necessary. As a side effect, the 'title' label will
1943 no longer be truncated.
1945 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
1947 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
1952 * configure.ac: Bump version.
1953 * debian/changelog: Updates.
1955 2009-04-13 Alejandro G. Castro <alex@igalia.com>
1957 Deprecation of the hildon_pannable_area_set_size_request_policy
1958 API, the only policy properly supported in gtk+ nowadays is the
1961 * src/hildon-pannable-area.c,
1962 (hildon_pannable_area_size_request): Added a workaround for the
1963 size_request to avoid the problems of huge pixmaps in case someone
1964 is still using the function.
1965 * src/hildon-pannable-area.h: Deprecated the enum with the
1968 Fixes: NB#110244 (Problems with the
1969 hildon_pannable_area_set_size_request_policy API)
1971 2009-04-08 Alejandro G. Castro <alex@igalia.com>
1973 * src/hildon-pannable-area.c,
1974 (hildon_pannable_area_init),
1975 (hildon_pannable_area_size_request),
1976 (hildon_pannable_area_style_set),
1977 (hildon_pannable_draw_vscroll),
1978 (hildon_pannable_draw_hscroll),
1979 (hildon_pannable_area_check_scrollbars): Replaced area_width with
1980 indicator_width to clarify the use of the attribute.
1982 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
1987 * configure.ac: Bump version.
1988 * debian/changelog: Updates.
1990 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
1992 * src/hildon-picker-dialog.c
1993 * src/hildon-touch-selector.c
1994 Reverting the change that tried to avoid the hardcoded height on
1995 the picker dialog, as causes problems on the hildon-touch-selector
1998 Fixes: NB#110029 (selectors not scrolling to selected value)
2000 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2002 * src/hildon-touch-selector.c: Fix typos
2004 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2006 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2007 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2008 request more motions after using it.
2010 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/hildon-calendar.c (hildon_calendar_expose),
2013 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2014 Remove unused variables.
2016 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2018 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2019 variable assignment.
2021 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2024 Check the return value of gtk_tree_selection_get_selected()
2027 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2029 * src/hildon-animation-actor.c
2030 * src/hildon-button.c
2032 * src/hildon-pannable-area.c
2033 * src/hildon-picker-button.c
2034 * src/hildon-program.c
2035 * src/hildon-remote-texture.c
2036 * src/hildon-text-view.c
2037 * src/hildon-touch-selector.c
2038 * src/hildon-window-stack.c
2039 * src/hildon-window.c:
2040 Add missing 'Since: 2.2' tags.
2042 * doc/hildon-sections.txt:
2043 Add some missing symbols.
2045 * doc/hildon-docs.sgml:
2046 New 'Other' section for HildonAnimationActor and
2049 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2051 Patch by Iván Gómez (igomez@igalia.com)
2054 * doc/compiling.sgml
2055 * doc/hildon-docs.sgml
2056 * doc/hildon-sections.txt
2057 * doc/migration.sgml
2058 * doc/resources.sgml
2060 New chapters on using the Hildon library.
2061 Updated the general structure of the reference manual.
2062 Other minor documentation fixes.
2064 * src/hildon-calendar-popup.c
2065 * src/hildon-calendar.c
2066 * src/hildon-controlbar.c
2067 * src/hildon-date-editor.c
2068 * src/hildon-dialog.c
2069 * src/hildon-hvolumebar.c
2070 * src/hildon-number-editor.c
2071 * src/hildon-range-editor.c
2072 * src/hildon-sort-dialog.c
2073 * src/hildon-time-editor.c
2074 * src/hildon-time-picker.c
2075 * src/hildon-volumebar-range.c
2076 * src/hildon-volumebar.c
2077 * src/hildon-vvolumebar.c
2078 * src/hildon-weekday-picker.c:
2079 Add deprecation notes
2081 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2082 Document 'horizontal-movement' and 'vertical-movement' signals.
2084 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2089 * configure.ac: Bump version.
2090 * debian/changelog: Updates.
2092 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2094 * src/hildon-pannable-area.c,
2095 (hildon_pannable_area_class_init): increased the minimum velocity.
2096 (hildon_pannable_area_button_release_cb): Updated the
2097 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2098 setup. Review the code to control that last event.
2100 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2103 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2105 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2107 * src/hildon-get-password-dialog.c
2108 (hildon_get_password_set_property),
2109 (hildon_get_password_get_property), (create_contents):
2110 * src/hildon-login-dialog-private.h:
2111 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2112 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2113 (hildon_login_dialog_get_password):
2114 * src/hildon-set-password-dialog-private.h:
2115 * src/hildon-set-password-dialog.c
2116 (hildon_set_password_set_property),
2117 (hildon_set_password_get_property), (create_contents),
2118 (hildon_set_password_response_change),
2119 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2121 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2122 instead and look more Fremantle style.
2124 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2126 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2128 * doc/hildon-sections.txt
2129 * src/hildon-window-stack.h
2130 * src/hildon-window-stack.c
2131 (+hildon_window_stack_get_windows):
2132 New API to obtain the list of windows on a stack.
2134 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-app-menu.c (hildon_app_menu_popup)
2137 (hildon_app_menu_class_init, -hildon_app_menu_show):
2138 Remove hildon_app_menu_show() and move all its checks to
2139 hildon_app_menu_popup()
2141 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2143 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2144 (_hildon_picker_dialog_set_selector): removed call to
2145 gtk_widget_set_size_request
2146 * src/hildon-touch-selector.c
2147 (_create_new_column): change the pannable size request policy
2149 Avoid to use a hardcoded height for the hildon picker dialog. In order
2150 to get that, we needed to change the hildon pannable size request
2152 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2154 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2156 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2157 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2160 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2162 * debian/control: Depend on osso-system-lock localization package.
2163 * src/hildon-code-dialog.c: Obtain the secu_application_title
2164 translation from osso-system-lock.
2165 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2166 for translation the atk related strings, that's not necessary.
2167 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2168 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2169 cancel button, it is not required.
2171 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2173 * src/hildon-pannable-area.c,
2174 (hildon_pannable_area_class_init): Modified the default value of
2175 the overshooting max speed, we have reduced it.
2177 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2179 * doc/hildon-sections.txt
2180 * src/hildon-window-private.h
2181 * src/hildon-window.h
2182 * src/hildon-window.c (hildon_window_class_init)
2183 (hildon_window_init, hildon_window_finalize)
2184 (hildon_window_realize, hildon_window_get_property)
2185 (hildon_window_set_property, hildon_window_update_markup)
2186 (hildon_window_get_markup, hildon_window_set_markup):
2187 New "markup" property and hildon_window_{get,set}_markup() methods.
2189 * examples/hildon-stackable-window-example.c (new_window):
2190 Update example to use hildon_window_set_markup()
2192 Fixes: NB#106375 (Need API to retitle a window with a title
2195 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2197 * src/hildon-pannable-area.c,
2198 (hildon_pannable_area_class_init): Changed the default value of
2199 the initial_hint to TRUE.
2200 (hildon_pannable_area_initial_effect): Changed the initial effect,
2201 not the effect is just the fade-out of the scrollbars.
2203 Fixes: NB#107775 (No scrollbars can be seen when several items are
2204 available in a dialog)
2206 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2208 * src/hildon-program.c (hildon_program_update_top_most):
2211 Fixes: NB#109179 (Memory leak in Hildon program)
2213 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-banner.c (-get_current_app_window):
2216 Remove unused function.
2218 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2220 * src/hildon-pannable-area.c: Modified the documentation of the
2221 get adjustments functions to explain the problem of using the
2222 adjustment directly.
2223 (hildon_pannable_area_class_init): Improved the explanation about
2226 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2228 * src/hildon-app-menu-private.h
2229 * src/hildon-app-menu.c
2230 (hildon_app_menu_class_init):
2231 Bring back the 'external-border' style property
2232 (hildon_app_menu_class_init, hildon_app_menu_init)
2233 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2234 Set a fixed width-request for the menu, independent of the number
2237 Fixes: NB#94957 (Smoothly opened application menu)
2239 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2241 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2243 * src/hildon-banner.c
2244 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2246 Make sure that the banner is correctly placed the first time it's
2248 (hildon_banner_check_position, -check_fullscreen_state):
2249 Show the banner in the same place no matter if the window is in
2250 fullscreen mode or not.
2252 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2254 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2256 * src/hildon-touch-selector.c (_default_print_func): reorder
2257 concatenation for clarity.
2259 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2262 for multicolumn selectors.
2264 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2266 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2271 * configure.ac: Bump version.
2272 * debian/changelog: Updates.
2274 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2279 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2281 * configure.ac: removed libcangerra-gtk dependency
2282 * debian/control: removed libcanberra-gtk dependency
2283 * src/Makefile.am: removed libcanberra gtk related flags
2284 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2285 context, and manage a global canberra context instead
2287 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2289 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2291 Patch by Daniel Borgmann (danielb@openismus.com)
2293 * src/hildon-edit-toolbar.c:
2294 Adjust the left padding.
2295 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2296 Paint background of the edit toolbar.
2298 Fixes: NB#107897 (Patch to make editmodetoolbar background
2299 themeable and adjust margin)
2301 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2303 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2305 * src/hildon-program.c (hildon_program_update_top_most):
2306 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2308 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2309 change when the user tasks in/out of an application)
2311 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2313 * configure.ac: added libcangerra-gtk dependency
2314 * debian/control: added libcanberra-gtk dependency
2315 * src/Makefile.am: added libcanberra gtk related flags
2316 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2319 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2321 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2323 * src/hildon-program.c (hildon_program_remove_window)
2324 (hildon_program_add_window): Add checks for the window
2325 parameter. Don't decrease the window counter if the window is not
2328 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2330 * src/hildon-pannable-area.c,
2331 (hildon_pannable_area_realize): Fixed position of the event_window
2332 in the realize method.
2334 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2336 * src/hildon-app-menu-private.h
2337 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2338 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2339 (hildon_app_menu_key_press, hildon_app_menu_init)
2340 (hildon_app_menu_finalize):
2341 Make sure that all idle functions are removed when the widget is
2344 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2346 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2351 * configure.ac: Bump version.
2352 * debian/changelog: Updates.
2354 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-entry.c
2357 (+hildon_entry_show_placeholder),
2358 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2359 that replace hildon_entry_update_contents().
2360 (hildon_entry_set_text),
2361 (hildon_entry_set_placeholder),
2362 (hildon_entry_focus_in_event),
2363 (hildon_entry_focus_out_event): Determine when it is needed
2364 either to show or hide the placeholder and call the above methods.
2366 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2367 when the placeholder text is already set)
2369 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2372 simple GdkPixbufAnim using the new icons for the banner.
2373 (hildon_banner_show_animation): Use the above mentioned method to
2374 create the animation widget.
2376 Fixes: NB#103564 (Make hildon animation banner use individual
2377 image files as the animation)
2379 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2381 * src/hildon-pannable-area.c,
2382 (hildon_pannable_leave_notify_event): Check if the child is NULL
2383 to avoid sending the leave.
2385 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2387 * src/hildon-pannable-area.c,
2388 (hildon_pannable_area_class_init),
2389 (hildon_pannable_leave_notify_event): Added a handler of the
2390 leave-notify-signal to consider when no motion notify before
2393 Fixes: NB#107494 (Items stay selected when clicking and moving
2394 away when inside pannable area)
2396 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2401 * configure.ac: Bump version.
2402 * debian/changelog: Updates.
2404 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2406 Patch by Alberto Garcia (agarcia@igalia.com)
2408 * src/hildon-date-button.c,
2409 (hildon_date_button_class_init),
2410 (hildon_date_button_init): Removed the construct property handling
2411 and created a default selector in the init method.
2412 * src/hildon-picker-button.c,
2413 (hildon_picker_button_class_init): Removed the construct flag of the
2416 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-main.c (hildon_init):
2419 Don't allow hildon_init() to be called more than once.
2421 Fixes: NB#106607 (hildon_init should issue error message upon
2424 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2426 * examples/hildon-pannable-area-touch-list-example.c
2427 * examples/hildon-pannagle-area-touch-grid-example.c
2428 * examples/hildon-edit-toolbar-example.c
2429 * examples/hildon-touch-selector-multi-cells-example.c
2430 Removed the call to gtk_rc_parse_string, as it is not required since
2433 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2435 * src/hildon-pannable-area.c,
2436 (hildon_pannable_area_class_init): Modified the default panning
2437 threshold of the widget to 6px.
2439 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2440 than the threshold value ) within the button is not sending the
2443 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2445 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2446 for the treeview in the new column. This way, the touch list will never
2449 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2450 be selected manually for the HW keys to work)
2452 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2455 comparison instead of using strcmp(). Fixes a compiler warning as well.
2457 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2459 * doc/hildon-docs.sgml: Do not set the library version in the
2460 document title, use the releaseinfo tag for that purpose instead.
2462 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2465 Do not jump to the first item if the text in the entry is removed.
2467 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2472 * configure.ac: Bump version.
2473 * debian/changelog: Updates.
2475 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-entry.c (hildon_entry_refresh_contents):
2478 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2479 Use "ReversedSecondaryTextColor" for the placeholder text.
2481 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-text-view.c: Fix compilation warning.
2485 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-button.c (hildon_button_class_init): Don't make
2488 "title" and "value" construction properties, to prevent them from
2489 overwriting labels set from derived classes.
2491 * src/hildon-picker-button.c
2492 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2493 (hildon_picker_button_class_init): Make touch-selector a
2494 construction property.
2496 * src/hildon-date-button.c (hildon_date_button_class_init)
2497 (+hildon_date_button_constructed): Add a default date selector if
2500 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-touch-selector.c: Small documentation fixes.
2504 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2506 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2508 * src/hildon-entry.c (hildon_entry_refresh_contents),
2509 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2510 widget name, set the logical color directly instead and a boolean
2511 showing_placeholder instead.
2512 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2513 use the widget name here either.
2515 Fixes: NB#105678 (HildonTextView should use logical colours
2516 instead of setting widget name)
2518 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2520 Patch by Daniel Elster (danielk@openismus.com)
2522 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2523 Add user_data parameter.
2524 (hildon_touch_selector_set_print_func_full): New function akin
2525 hildon_touch_selector_set_print_func() but with support for user
2526 data and a destroy callback.
2527 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2528 to clean up the print function user data.
2529 (hildon_touch_selector_class_init): Install dispose function.
2530 (HildonTouchSelectorPrivate::print_user_data),
2531 (HildonTouchSelectorPrivate::print_destroy_func): New private
2533 (hildon_touch_selector_init): Initialize new private members.
2534 (hildon_touch_selector_get_current_text): Pass along user data
2535 to the print function.
2536 (_default_print_func): Add dummy user_data to parameter list.
2537 * hildon-date-selector.c (_custom_print_func): ditto,
2538 * hildon-time-selector.c (_custom_print_func): ditto,
2539 * hildon-touch-selector-entry.c
2540 (hildon_touch_selector_entry_print_func): ditto.
2542 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2544 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2546 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2548 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2550 * src/hildon-pannable-area.c,
2551 (hildon_pannable_area_init),
2552 (hildon_pannable_area_button_press_cb),
2553 (hildon_pannable_area_motion_notify_cb): We have added code to
2554 handle the leave and enter events when using the motion events.
2556 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2558 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2560 * src/hildon-date-button.c (hildon_date_button_get_date)
2561 (hildon_date_button_set_date): Make sure that the button has a
2564 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2566 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2568 * src/hildon-pannable-area.c,
2569 (hildon_pannable_area_class_init),
2570 (hildon_pannable_area_calculate_velocity): Modify the use of the
2571 force and adapt the value.
2573 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2575 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2576 (hildon_app_menu_class_init): Hide the menu if it receives a
2577 delete-event, but don't destroy it
2579 Fixes: NB#104485 (Not able to address the call when application
2580 menu is opened at background)
2582 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-app-menu.c
2585 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2586 Remove the "external-border" style property, let the menu take its
2587 natural size (or the one set by the window manager)
2588 (hildon_app_menu_repack_items):
2589 Don't reshow the menu, avoid flickers.
2591 Partially fixes NB#94957 (Smoothly opened application menu)
2593 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2598 * configure.ac: Bump version.
2599 * debian/changelog: Updates.
2601 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2603 * src/hildon-pannable-area.c,
2604 (hildon_pannable_area_motion_notify_cb): We control that the
2605 direction error margin is used just in case the movement is
2606 allowed in the other direction.
2608 Fixes: NB#105012 (buttons inside a pannable area not getting
2609 release event when dragging/releasing)
2611 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2613 * src/hildon-pannable-area.c,
2614 (hildon_pannable_area_class_init),
2615 (hildon_pannable_area_get_property),
2616 (hildon_pannable_area_set_property),
2617 (hildon_pannable_area_initial_effect),
2618 (hildon_pannable_axis_scroll),
2619 (hildon_pannable_area_button_release_cb): Reviewed the
2620 overshooting effect, now it has its own max
2621 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2622 speed when bouncing.
2624 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2629 * configure.ac: Bump version.
2630 * debian/changelog: Updates.
2632 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2634 * src/hildon-pannable-area.c,
2635 (hildon_pannable_area_class_init): Changed the max speed, now
2636 users can launch the widget very fast. Reduced the default force,
2637 that way it is easier to control the launch speed.
2639 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2641 * src/hildon-pannable-area.c,
2642 (hildon_pannable_area_button_release_cb): Removed this check
2643 because it causes problems when the device is overloaded.
2645 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2648 add a current_text field to store the text entered in the
2649 touch selector entry.
2650 (_clean_current_selection): clean up the current text as well.
2651 (_save_current_selection), (_restore_current_selection):
2652 Save/restore the text in the entry if the selector is a
2653 HildonTouchSelectorEntry.
2655 Fixes: NB#102541 (value entered in the touch selector entry is not
2656 shown when opened for second time)
2658 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2660 * doc/hildon-sections.txt:
2661 * src/hildon-touch-selector-entry.c
2662 (+hildon_touch_selector_entry_get_entry):
2663 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2665 Fixes: NB#104815 (I need accessor to the entry inside
2666 HildonTouchSelectorEntry)
2668 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2671 (hildon_app_menu_class_init):
2672 New "filter-vertical-spacing" style property.
2674 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-find-toolbar.c
2677 (hildon_find_toolbar_emit_close)
2678 (hildon_find_toolbar_emit_invalid_input)
2679 (hildon_find_toolbar_entry_activate):
2680 Use g_signal_emit() instead of g_signal_emit_by_name()
2682 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2684 Patch by Mox Soini (ext-mox.soini@nokia.com)
2686 * tests/TEST-CASES.txt
2687 * tests/check-hildon-banner.c
2688 * tests/check-hildon-note.c
2689 * src/hildon-banner.c
2690 * src/hildon-code-dialog.c
2691 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2692 * src/hildon-time-editor.c
2693 * examples/hildon-lookup-example.c (main):
2694 Replace obsolete icon names with new ones.
2696 * src/hildon-find-toolbar-private.h:
2697 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2698 (-hildon_find_toolbar_emit_search):
2699 Remove find button and change icon of close button.
2701 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2703 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-time-button.c (hildon_time_button_new_step):
2706 Use the "touch-selector" property to set the selector directly
2707 when creating the object.
2709 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2711 Added a new example application that allows tuning the pannable
2712 area and replaced defines with properties in order to simplify the
2713 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2714 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2715 PROP_DIRECTION_ERROR_MARGIN.
2717 * examples/hildon-pannable-area-tuning-example.c: New example
2719 * src/hildon-pannable-area.c,
2720 (hildon_pannable_area_class_init),
2721 (hildon_pannable_area_init),
2722 (hildon_pannable_area_get_property),
2723 (hildon_pannable_area_set_property),
2724 (hildon_pannable_area_launch_fade_timeout),
2725 (hildon_pannable_area_adjust_value_changed),
2726 (hildon_pannable_axis_scroll),
2727 (hildon_pannable_area_motion_notify_cb),
2728 (hildon_pannable_area_scroll_cb),
2729 (hildon_pannable_area_button_release_cb): We have converted some
2730 of the defines that control the widget to properties to simplify
2733 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2735 * src/hildon-app-menu.c (hildon_app_menu_map)
2736 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2737 so it's closed if a new window appears.
2739 Fixes: NB#104485 (Not able to address the call when application
2740 menu is opened at background)
2742 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2745 missing 'break' statement in in 'case' construct to avoid
2748 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-touch-selector-entry.c
2751 (hildon_touch_selector_entry_get_property),
2752 (hildon_touch_selector_entry_set_property): Add missing 'break'
2753 statements in in 'case' constructs to avoid incorrect warnings.
2755 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/hildon-time-editor.c
2758 (hildon_time_editor_get_time_separators): Do not crash if
2759 the first label is NULL.
2761 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2763 * src/hildon-date-selector.c (_month_days): Check for month to be
2764 strictly less than 12, since otherwise we may overrun the array.
2766 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-date-button.c (+hildon_date_button_new_full)
2769 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2770 (hildon_date_button_init): Set the date selector using a
2771 construction property, to make it happen after HildonButton's
2772 "value" property is set.
2774 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2775 current date by default)
2777 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2779 * doc/hildon-sections.txt
2780 * src/hildon-program.c
2781 * src/hildon-stackable-window.c
2782 * src/hildon-window.c:
2783 Documentation updates
2785 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2788 (hildon_window_stack_new, +hildon_window_stack_set_property)
2789 (+hildon_window_stack_get_property)
2790 (hildon_window_stack_class_init)
2791 (+hildon_window_stack_set_window_group)
2792 (+hildon_window_stack_get_window_group):
2793 Make the window group a construction property.
2795 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2797 * doc/hildon-sections.txt
2798 * src/hildon-stackable-window-private.h
2799 * src/hildon-stackable-window.h
2800 * src/hildon-stackable-window.c
2801 (-hildon_stackable_window_set_app_menu)
2802 (-hildon_stackable_window_get_app_menu)
2803 (-hildon_stackable_window_toggle_menu)
2804 (-hildon_stackable_window_finalize)
2805 (hildon_stackable_window_class_init)
2806 (hildon_stackable_window_init)
2807 * src/hildon-window-private.h
2808 * src/hildon-window.h
2809 * src/hildon-window.c (hildon_window_init)
2810 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2811 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2812 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2813 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2814 Moved all HildonAppMenu code to HildonWindow. The menu does not
2815 require a HildonStackableWindow anymore.
2817 * src/hildon-app-menu.c
2818 * src/hildon-program.c
2819 * examples/hildon-app-menu-example.c (main):
2820 Update examples and documentation to reflect HildonAppMenu
2823 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-remote-texture.c
2826 * src/hildon-animation-actor.c:
2827 Don't include unused private headers.
2829 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2831 * src/hildon-program-private.h
2832 * src/hildon-program.c
2833 (hildon_program_set_common_menu)
2834 (hildon_program_get_common_menu)
2835 (hildon_program_set_common_app_menu)
2836 (hildon_program_get_common_app_menu):
2837 Change common menu pointers from GtkWidget* to GtkMenu* and
2838 HildonAppMenu* to avoid unnecessary casts.
2840 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-window.c (hildon_window_set_main_menu):
2843 Removed incorrect 'Since:' tag
2845 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2847 * src/hildon-pannable-area.c,
2848 (hildon_pannable_area_calculate_velocity): We use now the
2849 RATIO_TOLERANCE here to check the distance, fixed typo in the
2851 (hildon_pannable_area_motion_notify_cb): We have to set the type
2852 and time even if we are not sending the motion.
2854 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2856 * doc/hildon-sections.txt
2857 * src/hildon-app-menu.h
2858 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2859 (+hildon_app_menu_get_filters): New methods to get the contents of
2862 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2865 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2867 * src/hildon-app-menu.c (hildon_app_menu_popup):
2870 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2872 * src/hildon-window.h
2873 * src/hildon-window.c (+hildon_window_get_main_menu)
2874 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2875 and deprecated hildon_window_get_menu().
2877 * src/hildon-stackable-window.h
2878 * src/hildon-stackable-window.c
2879 (+hildon_stackable_window_set_app_menu)
2880 (+hildon_stackable_window_get_app_menu)
2881 (hildon_stackable_window_set_main_menu): Created
2882 hildon_stackable_window_{get,set}_app_menu() and deprecated
2883 hildon_stackable_window_set_main_menu().
2885 * doc/hildon-sections.txt
2886 * examples/hildon-app-menu-example.c (main)
2887 * src/hildon-app-menu.c
2888 * src/hildon-program.c:
2889 Updated examples and documentation.
2891 Fixes: NB#103758 (No way to obtain a menu from a
2892 HildonStackableWindow)
2894 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2899 * configure.ac: Bump version.
2900 * debian/changelog: Updates.
2902 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2904 * examples/hildon-remote-texture-example.c: Include
2905 hildon-remote-texture.h explicitely.
2906 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2907 applications not defining _XOPEN_SOURCE which don't require this header.
2909 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2911 * doc/hildon-sections.txt
2912 * src/hildon-app-menu.h
2913 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2914 New function to pop up a HildonAppMenu
2916 * src/hildon-stackable-window.c
2917 (hildon_stackable_window_toggle_menu):
2918 Use hildon_app_menu_popup() to show the menu.
2920 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-app-menu.c (hildon_app_menu_show)
2923 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2924 menu if there's another window between it and its parent window.
2926 Fixes: NB#100468 (Application menu window is launched even when a
2927 new secondary-window/dialog is pending to be shown/realized)
2929 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2931 * src/hildon-window-stack.c (hildon_window_stack_push)
2932 (hildon_window_stack_pop_and_push):
2933 Don't forget to push/pop the first window.
2934 Reverse the window list before calling _push_list()
2936 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-picker-button.h
2939 * src/hildon-picker-button.c (hildon_picker_button_class_init):
2940 Remove "value_changed" slot to avoid ABI breakage
2942 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-pannable-area.c,
2945 (hildon_pannable_area_realize),
2946 (hildon_pannable_area_unrealize),
2947 (hildon_pannable_draw_vscroll),
2948 (hildon_pannable_draw_hscroll): Changed the method to handle the
2949 GC used to draw the transparent scrollbar, this way we avoid
2950 creating the GC all the time when drawing the scrollbars.
2952 2009-02-26 Alejandro G. Castro <alex@igalia.com>
2954 * src/hildon-pannable-area.c,
2955 (hildon_pannable_area_init),
2956 (hildon_pannable_area_remove): Removed some unnecessary casts.
2957 (hildon_pannable_area_dispose): Disconnected some signals before
2958 releasing the adjustments.
2960 2009-02-26 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
2963 Make sure that all widgets contained in the toolbar are shown.
2965 2009-02-25 Alberto Garcia <agarcia@igalia.com>
2967 * doc/hildon-sections.txt
2968 * src/hildon-picker-button.h
2969 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
2970 (_selection_changed, hildon_picker_button_on_dialog_response)
2971 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
2972 New hildon_picker_button_value_changed() method.
2975 * src/hildon-picker-button-private.h
2976 * src/hildon-picker-button.c (hildon_picker_button_init)
2977 (+hildon_picker_button_disable_value_changed): Add protected
2978 function for disabling the "value-changed" signal.
2980 * src/hildon-date-button.c (hildon_date_button_set_date):
2981 Don't emit "value-changed" for each one of the three columns.
2983 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
2984 before actual change of values)
2986 2009-02-24 Alejandro G. Castro <alex@igalia.com>
2988 * src/hildon-pannable-area.c,
2989 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
2990 for the treeview overshooting.
2992 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-banner.c (+hildon_banner_bind_style):
2995 Renamed from hildon_banner_bind_label_style(), now naming the
2996 banner itself as well.
2997 (hildon_banner_show_information),
2998 (hildon_banner_show_information_with_markup),
2999 (hildon_banner_show_animation), (hildon_banner_show_progress):
3000 Name the widgets and labels, based on their type.
3002 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3005 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-note.c (hildon_note_set_property): call
3008 hildon_note_rename() on HildonNote:note-type set.
3009 (hildon_note_rename): Name the note and its label, based on the
3010 HildonNote:note-type property.
3012 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3015 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3017 * src/hildon-pannable-area.c,
3018 (hildon_pannable_area_class_init),
3019 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3020 panning parameters, increased SPS and deceleration factor. Added
3021 also a margin to control fake directions.
3023 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3025 Patch by Sven Herzberg (sven@imendio.com)
3027 * configure.ac: Add missing AM_PROG_CC_C_0
3028 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3030 See NB#101420 (Update unit tests and fix make check)
3032 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3034 This patch was applied before but reverted because it caused
3035 problems, we have changed the main condition and tested the
3036 regressions we detected before and they work ok. We have done a
3037 complete review of the topmost algorithm in order to get a more
3040 * src/hildon-pannable-area.c,
3041 (hildon_pannable_area_get_topmost): Added a new parameter to
3042 filter the the windows that do not include those events.
3043 (hildon_pannable_area_button_press_cb),
3044 (hildon_pannable_area_button_release_cb),
3045 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3046 topmost function, we have added the new parameter.
3048 Fixes: NB#97458 (Pannable area prevents propagation of button
3051 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3053 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3054 if all columns in the selector have an item selected.
3055 (_on_dialog_response): Stop "response" signal emission if there is
3056 any selector column without selected items.
3058 Fixes: NB#101889 (Picker dialog should not close when nothing is
3059 selected in multiple selection list)
3061 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3063 * src/hildon-font-selection-dialog.c
3064 (hildon_font_selection_dialog_class_init),
3065 (hildon_font_selection_dialog_init): Remove the preview
3066 button and dialog, since previewing with default theming is likely
3067 to be overcomplicated. The :preview property has now no effect.
3068 Update documentation blurbs to inform about this.
3070 Fixes: NB#92297 (Preview content is not clearly visible for
3071 default colour text)
3073 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3075 Reviewed the geometry that handles the children size and
3076 scrollbar, now it tries a size and reviews the results depending
3077 on the scrollbars visibility.
3079 * src/hildon-pannable-area.c,
3080 (hildon_pannable_area_realize): Fixed a typo.
3081 (hildon_pannable_area_child_allocate_calculate): Added this
3082 function to calculate the child allocation.
3083 (hildon_pannable_area_size_allocate): Reviewed the allocation
3085 (hildon_pannable_area_check_scrollbars),
3086 (hildon_pannable_area_refresh): Refactored refresh function, this
3087 way we can call the code handling the scrollbars without causing a
3088 size_request, it is interesting in the allocate.
3089 (hildon_pannable_area_init): Replace the callbacks of the
3090 value_changed and changed signals to propertly deal with the
3092 (hildon_pannable_area_grab_notify),
3093 (hildon_pannable_area_initial_effect),
3094 (hildon_pannable_area_launch_fade_timeout),
3095 (hildon_pannable_area_adjust_changed),
3096 (hildon_pannable_area_adjust_value_changed),
3097 (hildon_pannable_area_redraw),
3098 (hildon_pannable_area_button_press_cb),
3099 (hildon_pannable_area_button_release_cb),
3100 (hildon_pannable_area_scroll_cb),
3101 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3102 code and use the new functions adjust_changed and
3103 adjust_value_changed.
3105 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3106 Contact editor dialog)
3108 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3113 * configure.ac: Bump version.
3114 * debian/changelog: Updates.
3116 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3118 * src/hildon-pannable-area.c,
3119 (hildon_pannable_area_get_topmost),
3120 (hildon_pannable_area_button_press_cb),
3121 (hildon_pannable_area_button_release_cb),
3122 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3123 topmost function adding the event mask. We have to try a
3124 differente approach because it is still causing problems (NB#9745,
3127 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3129 * src/hildon-banner.c:
3130 Update the maximum width of timed banners.
3131 (force_to_wrap_truncated): Enforce the maximum text width if the
3134 Fixes: NB#102413 (The text margins (wrapping) in information
3135 banner should be HILDON_MARGIN_TRIPLE)
3137 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3139 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3141 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3142 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3143 bound when calculating the scroll indicator position.
3145 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3146 treat ->lower correctly)
3148 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3151 expose event handling, since it is not necessary to draw the focus
3154 Fixes: NB#102467 (Do not show highlight on the text in
3157 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3160 full height of the toolbar for the button and the label.
3162 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3165 padding before the label and after the button.
3167 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3169 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3171 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3172 Add a GtkVSeparator between the button and the back arrow.
3173 Let the button have automatic size.
3174 Set a name to the widget for theming handling.
3176 Fixes: NB#101793 (Make edit toolbar the same height as window
3177 title bar (use title area theming))
3179 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3181 * src/hildon-helper.c (attach_new_color_element): Fix memory
3184 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3186 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3188 * examples/hildon-button-example.c (common_buttons_window): Don't
3191 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3194 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3196 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-gtk.c: Check that the window is realized.
3200 Fixes: NB#102225 (Crash setting the progress indicator to a non
3203 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3205 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3206 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3207 instead of modifying the one in the widget style.
3209 Fixes: NB#101043 (Second row of all the command button are
3210 displayed in transparent mode.)
3212 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3214 * src/hildon-date-button.c
3215 * src/hildon-time-button.c: Add gettext macros
3217 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3219 * src/hildon-date-button.c (hildon_date_button_new):
3220 * src/hildon-time-button.c (hildon_time_button_new_step):
3221 Use new logical strings to set the button default title.
3223 Fixes: NB#99915 (Date and Time options are not localised in Date
3226 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3228 * src/hildon-pannable-area.c
3229 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3230 the PANNING_THRESHOLD.
3232 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3234 * src/hildon-pannable-area.c,
3235 (hildon_pannable_area_class_init): Increased the maximum speed.
3236 (hildon_pannable_area_get_property),
3237 (hildon_pannable_area_set_property),
3238 (hildon_pannable_area_timeout): Added a new low friction mode, it
3239 allows the user avoid friction when launching the widget fast
3240 enough. It is interesting to traverse long lists.
3242 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3245 (+hildon_stackable_window_delete_event): Ignore delete events if
3246 the window is not the topmost one.
3248 Fixes: NB#101698 (Back button long press and delete-event handling)
3250 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3252 * src/hildon-pannable-area.c,
3253 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3254 gtk-dnd-drag-threshold, it was too big. We have defined our own
3255 dnd define and set a smaller value: PANNIG_THRESHOLD.
3257 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3259 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3260 user-defined icons, use always the default one.
3262 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3264 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3266 This patch was applied before but reverted because it caused
3267 problems, we have changed the main condition and tested the
3268 regressions we detected before and they work ok.
3270 * src/hildon-pannable-area.c,
3271 (hildon_pannable_area_get_topmost): Added a new parameter to
3272 filter the the windows that do not include those events. Added
3273 also a condition when finding the window to filter windows that do
3274 not ask for those events.
3275 (hildon_pannable_area_button_press_cb),
3276 (hildon_pannable_area_button_release_cb),
3277 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3278 topmost function, we have added the new parameter.
3280 Fixes: NB#97458 (Pannable area prevents propagation of button
3283 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3285 * tests/check-hildon-color-button.c (START_TEST): do not leak
3288 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-font-selection-dialog.c
3291 (hildon_font_selection_dialog_get_preview_text): Return NULL
3292 instead of FALSE on the g_return_val_if_fail().
3294 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3297 * src/hildon-date-selector.c
3298 (hildon_date_selector_select_current_date):
3299 Do not compare unsigned integers to be greater than or equal 0,
3300 because it's always TRUE.
3302 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3305 (hildon_date_selector_constructor): Do not select the current
3306 date until we are handle the "changed" signal, to avoid having bogus
3307 elements in the days model.
3309 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3312 for num_days, since _month_days() can return a negative value.
3314 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3316 * src/hildon-caption.c (hildon_caption_size_allocate):
3317 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3318 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3320 Initialize allocation variables to 0, to avoid eventually using
3321 unitialized variables.
3323 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-bread-crumb-trail.c
3326 (hildon_bread_crumb_trail_size_allocate):
3327 * src/hildon-calendar.c (hildon_calendar_set_background):
3328 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3329 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3330 * src/hildon-seekbar.c (hildon_seekbar_init):
3331 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3332 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3333 * src/hildon-touch-selector-entry.c
3334 (hildon_touch_selector_get_text_from_model):
3335 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3336 * src/hildon-window.c (hildon_window_finalize):
3338 Remove many unused variables.
3340 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-seekbar.c: (hildon_seekbar_init),
3343 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3345 Remove unnecessary g_assert() calls.
3347 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-caption.c: (hildon_caption_expose),
3350 (hildon_caption_set_property), (hildon_caption_init),
3351 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3352 (hildon_caption_size_request), (hildon_caption_size_allocate),
3353 (hildon_caption_forall), (hildon_caption_set_separator),
3354 (hildon_caption_activate), (hildon_caption_set_child_expand),
3355 (hildon_caption_set_label_text),
3356 (hildon_caption_get_label_alignment):
3358 Remove unnecessary g_assert() calls.
3360 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3362 * src/hildon-banner.c
3363 (hildon_banner_map, hildon_banner_init): Make banner temporary
3364 before mapping it to avoid closing other temporary windows, but
3365 make it non-temporary afterwards to avoid being closed by other
3366 non-temporary windows.
3367 (-hildon_banner_client_event, hildon_banner_init):
3368 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3370 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3373 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3375 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3378 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3380 * src/hildon-remote-texture.c
3381 * src/hildon-remote-texture.h
3382 * src/hildon-remote-texture-private.h
3383 * examples/hildon-remote-texture-example.c:
3384 Updates/fixes to remote-texture and its example.
3386 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3388 Patch by Mox Soini (ext-mox.soini@nokia.com)
3390 * src/hildon-code-dialog.c: Update logical id.
3391 * src/hildon-set-password-dialog.c: Update logical id.
3393 Fixes: NB#100646 (Logical strings is shown for ok in set
3394 password,Password needed dialogs)
3396 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3399 * src/hildon-remote-texture.c
3400 * src/hildon-remote-texture.h
3401 * src/hildon-remote-texture-private.h
3403 Added remote texture widget (for Clutter shared memory textures)
3405 * examples/hildon-remote-texture-example.c
3406 * examples/Makefile.am
3407 Added example file for remote texture usage
3409 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3411 * configure.ac: post release version bump.
3412 * debian/changelog: version bump.
3414 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3419 * configure.ac: Bump version.
3420 * debian/changelog: Updates.
3422 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-date-selector.c (hildon_date_selector_init)
3425 (hildon_date_selector_constructor): Don't connect to the "changed"
3426 signal until the selector is completely constructed.
3428 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-touch-selector.c: (_create_new_column),
3431 (hildon_touch_selector_append_column),
3432 (hildon_touch_selector_set_column_selection_mode),
3433 (hildon_touch_selector_set_active),
3434 (hildon_touch_selector_select_iter):
3435 Emit the HildonTouchSelector::changed signal every time selection
3436 is changed in any of the methods above. This behavior was already
3437 documented but not fully functional.
3439 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3440 selection is programmatically changed)
3442 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3444 * doc/hildon-sections.txt: Remove obsolete icon
3445 sizes from here as well.
3447 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3449 * examples/hildon-stackable-window-example.c (add_window): Remove
3452 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3454 * src/hildon-app-menu.c
3455 (hildon_app_menu_show): Check whether the parent window of a menu
3456 is topmost before popping it up.
3458 Fixes: NB#100468 (Application menu window is launched even when a
3459 new secondary-window/dialog is pending to be shown/realized.)
3461 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3463 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3466 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3468 Patch by Mox Soini (ext-mox.soini@nokia.com)
3470 * src/hildon-banner.c: (hildon_banner_show_animation):
3471 use stylus size instead of obsolete note size.
3472 * src/hildon-defines.h: Update icon sizes.
3474 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3476 * src/hildon-touch-selector-entry.c:
3477 (hildon_touch_selector_entry_init): Disable unsupported
3479 (hildon_touch_selector_entry_get_text_column): Emit a warning
3480 if an unsupported input modes is used and explicitile state
3481 these modes in the documentation.
3483 Fixes: NB#99802 (Hildon touch selector entry not working properly
3484 for some of the input modes)
3486 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3488 * src/hildon-pannable-area.c,
3489 (hildon_pannable_area_init): Added the changed signal handlers of
3492 Fixes: NB#100320 (HildonPannableArea does not listen to
3493 GtkAdjustment "change" signals)
3495 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3497 * doc/hildon-sections.txt
3498 * src/hildon-window-private.h
3499 * src/hildon-window.h
3500 * src/hildon-window.c (hildon_window_init)
3501 (hildon_window_realize, hildon_window_unrealize)
3502 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3503 (hildon_window_size_request, hildon_window_size_allocate)
3504 (hildon_window_forall, hildon_window_show_all)
3505 (hildon_window_destroy, +paint_edit_toolbar)
3506 (+hildon_window_set_edit_toolbar):
3507 New hildon_window_set_edit_toolbar() method, to add a
3508 HildonEditToolbar to a window without having to pack it manually.
3510 Reorganize hildon_window_size_allocate()
3512 * src/hildon-edit-toolbar.c: Update documentation.
3514 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3515 example to use the new API.
3517 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3519 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3522 Remove from stack before calling parent's hide.
3524 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3527 window is removed from the middle of the stack, update the
3528 transiency of the previous one.
3530 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3533 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3536 block/unblock the signal handler if it's not actually being used.
3537 Fixes some critical warnings.
3539 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3541 Based on a patch by Iván Gómez (igomez@igalia.com)
3543 * src/hildon-banner.c
3547 * src/hildon-pannable-area.c
3548 * src/hildon-picker-dialog.c
3549 * src/hildon-wizard-dialog.h
3550 * src/hildon-wizard-dialog.c: Documentation updates.
3552 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3553 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3555 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3557 * configure.ac: post release version bump.
3558 * debian/changelog: version bump.
3560 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3565 * configure.ac: Bump version.
3566 * debian/changelog: Updates.
3568 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3570 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3571 a stock icon nor change the relief of the back arrow.
3573 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3574 graphics from theme)
3576 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3578 * src/hildon-button.c (hildon_button_set_alignment): Use
3579 priv->alignment if the button has no child yet.
3581 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3583 * src/hildon-button.c: (hildon_button_init): Set the
3584 button style during initialization to give it the proper
3587 Fixes: NB#99713 (HildonButton value label color is wrong)
3589 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3591 * src/hildon-touch-selector.c: Document
3592 hildon_touch_selector_center_on_selected()
3594 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3597 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3598 all menu items, but not the menu itself.
3599 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3600 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3601 items after adding them to the menu so keyboard accelerators work.
3602 (hildon_app_menu_show): Don't show the menu if it contains items
3603 but none of them are visible.
3605 * examples/hildon-app-menu-example.c (create_menu): Use
3606 gtk_widget_show_all() to show all menu items.
3608 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-picker-dialog.c:
3611 (-_update_title_on_selector_changed_cb),
3612 (-_dialog_update_title): Removed.
3613 (_select_on_selector_changed_cb), (_on_dialog_response),
3614 (on_selector_columns_changed): Do not update the dialog title.
3615 (setup_interaction_mode): Do not connect to
3616 HildonTouchSelector::changed signal if there's a "done" button, as
3617 the dialog title doesn't need to be updated.
3619 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3622 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3624 Patch by Kristian Rietveld (kris@imendio.com)
3626 * src/hildon-touch-selector.c: (_create_new_column): Use new
3627 GtkTreeView::hildon-row-tapped signal to react to user interactions
3628 instead of ::changed.
3630 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3631 with some dynamic tree model)
3633 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3636 (+screen_size_changed, +label_size_request)
3637 (hildon_note_class_init): Make the Hildon information note have a
3638 minimum height, and make its text hvae a maximum width.
3640 Fixes: NB#98614 (Hildon information note (background) should have
3641 minimum height and maximum text width)
3643 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3645 * src/hildon-banner.h
3646 * src/hildon-banner.c (hildon_banner_show_information)
3647 (hildon_banner_show_informationf)
3648 (hildon_banner_show_information_with_markup): Update documentation
3649 to reflect that the icon_name parameter is not used anymore.
3650 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3651 Remove all code from these functions and mark them as deprecated.
3652 (hildon_banner_show_progress): Mark as deprecated.
3654 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3656 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3658 * src/hildon-pannable-area.c,
3659 (hildon_pannable_area_class_init),
3660 (tranparency_color),
3661 (hildon_pannable_draw_vscroll),
3662 (hildon_pannable_draw_hscroll),
3663 (hildon_pannable_area_expose_event): Added a new way to render the
3664 scrollbars of the pannable area avoiding using cairo at all. This
3665 way we improve the performance of the pannable area rendering. The
3666 cairo rendering procedure is still in the code, we can control
3667 which one to use changing the value of the define
3668 USE_CAIRO_SCROLLBARS.
3670 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3672 * configure.ac: post release version bump.
3673 * debian/changelog: version bump.
3675 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3680 * configure.ac: Bump version.
3681 * debian/changelog: Updates.
3683 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3685 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3686 banners instead of destroying them when they receive a button
3689 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3691 Reverted commit 34028, it was causing regressions, probably the
3692 topmost condition is not correct, we have to check it in more
3693 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3694 propagation of button press events)
3696 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3698 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3699 that the selection is not empty before attempting to retrieve the
3700 current ampm selection.
3702 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-picker-button.c:
3705 (hildon_picker_button_on_dialog_response): Directly update the
3706 button contents when required instead of calling _selection_changed.
3708 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3710 * src/hildon-program.c (hildon_program_update_top_most): Update
3711 'is-topmost' property also when wm_hints is not set.
3713 Fixes: NB#98383 (is-topmost signal is not emitted when task
3714 switcher is clicked.)
3716 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3718 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3722 * src/hildon-animation-actor.c,
3723 * src/hildon-animation-actor.h: Added the animation actor class,
3724 this widget represents an animation actor for WM-assisted
3725 animation effects in the Hildon framework.
3727 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-window-stack-private.h
3730 * src/hildon-window-stack.c
3731 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3732 Avoid calling gtk_widget_show() again indirectly from
3733 hildon_stackable_window_show()
3735 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3737 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3740 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3743 (hildon_time_selector_init): Move the construction of the hours and
3744 ampm columns to the constructor to preserve the order the columns
3747 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3749 * src/hildon-picker-dialog.c:
3750 (hildon_picker_dialog_class_init): Connect a realize method.
3751 (+hildon_picker_dialog_realize): Setup the interaction mode here
3753 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3754 yet, do it during the realize instead.
3755 (_on_dialog_response):
3756 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3757 if the widget is not realized, to avoid the dialog response before it
3760 Avoid premature responses in the HildonPickerDialog that can cause it
3761 to be hidden before it's even shown.
3763 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3766 (on_selector_columns_changed), (requires_done_button),
3767 (+prepare_action_area), (setup_interaction_mode),
3768 (_hildon_picker_dialog_set_selector):
3770 Split the interaction mode setup into preparation of the
3771 action area (prepare_action_area()) and the connection of
3772 the signals in setup_interaction_mode() and update the code to
3775 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3777 * src/hildon-pannable-area.c,
3778 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3779 per second to 15, we will check if this is ok regarding
3782 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3784 * src/hildon-pannable-area.c,
3785 (hildon_pannable_axis_scroll): Avoid resize if we already have
3786 reached overshoot_max.
3788 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3790 * src/hildon-pannable-area.c,
3791 (hildon_pannable_area_init),
3792 (hildon_pannable_area_realize),
3793 (hildon_pannable_area_size_allocate),
3794 (hildon_pannable_area_map),
3795 (hildon_pannable_area_unmap),
3796 (hildon_pannable_draw_vscroll),
3797 (hildon_pannable_draw_hscroll),
3798 (hildon_pannable_area_expose_event),
3799 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3800 pannable are to avoid the expose events go to the window and
3801 redraw the window. We save this way that part of the stack and the
3802 paint_boxes. We had to change the positions of the elements when
3805 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3807 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3808 * src/hildon-color-chooser-dialog.c:
3809 (hildon_color_chooser_dialog_init):
3810 * src/hildon-font-selection-dialog.c:
3811 (hildon_font_selection_dialog_init),
3812 (hildon_font_selection_dialog_show_preview):
3813 * src/hildon-get-password-dialog.c:
3814 * src/hildon-login-dialog.c:
3815 * src/hildon-set-password-dialog.c:
3816 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3817 * src/hildon-time-picker.c: (hildon_time_picker_init):
3819 Remove obsolete logical string IDs and update to the appropriate ones.
3821 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3823 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3826 that happens if the window hasn't been realized yet.
3828 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3829 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3831 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3833 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3834 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3837 Fixes: NB#98537 (Device hangs in account settings dialog)
3839 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3841 * configure.ac: post release version bump.
3842 * debian/changelog: version bump
3844 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3849 * configure.ac: Bump version.
3850 * debian/changelog: Updates.
3852 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3854 Added a new function to the HildonTimeButton widget that allows to
3855 change the step of the minutes in the selector associated with the
3856 button: hildon_time_button_new_step
3858 * src/hildon-time-button.c,
3859 (hildon_time_button_init),
3860 (hildon_time_button_new),
3861 (hildon_time_button_new_step):
3862 * src/hildon-time-button.h: Added the new function and refactored
3864 * examples/hildon-time-button-example.c,
3865 (main): We have replaced the function without parameters with the
3866 function with the steps set to 5
3868 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3870 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3872 * src/hildon-time-selector.c,
3873 (hildon_time_selector_class_init),
3874 (hildon_time_selector_constructor),
3875 (hildon_time_selector_get_property),
3876 (hildon_time_selector_set_property),
3877 (_create_minutes_model),
3878 (hildon_time_selector_new_step),
3879 (hildon_time_selector_set_time),
3880 * src/hildon-time-selector.h: Added a new property to the
3881 HildonTimeSelector (minutes-step), we use that property to control
3882 the steps between the minutes in the list of the selector. We have
3883 added a new function to the API to create a widget changing the
3884 step: hildon_time_selector_new_step.
3886 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3888 * src/hildon-time-selector.c,
3889 (hildon_time_selector_class_init),
3890 (hildon_time_selector_constructor),
3891 (hildon_time_selector_init): Overrided the construct function when
3892 creating the time selector object. We have moved the minutes model
3893 handling code from the init to the new construction function:
3894 hildon_time_selector_constructor.
3896 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3898 * examples/hildon-date-button-example.c: (main): Use the new
3899 hildon_date_button_new_with_year_range() method in the example.
3900 * src/hildon-date-button.c:
3901 (+hildon_date_button_new_with_year_range): New public method
3902 to conveniently create a HildonDateButton with a custom year range
3903 in its HildonDateSelector.
3904 * src/hildon-date-button.h: Add the new public method definition.
3906 Fixes: NB#97908 (Not possible to change the year range in
3907 HildonDateSelector/HildonDateButton)
3909 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3911 * src/hildon-date-selector.c:
3912 (+hildon_date_selector_set_property),
3913 (+hildon_date_selector_get_property),
3914 (hildon_date_selector_class_init): Install new properties "min-year"
3915 and "max-year" to define boundaries for the year column.
3916 (_create_year_model): Use the boundary properties to populate the model.
3917 (+hildon_date_selector_new_with_year_range): New public method to
3918 create a HildonDateSelector with a user defined year range.
3919 (hildon_date_selector_select_current_date): Use the new boundaries to
3920 calculate the iterator of current year.
3921 * src/hildon-date-selector.h: Add the new public method definition.
3923 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3926 Install a constructor method.
3927 (+hildon_date_selector_construct_ui): construct the widget.
3928 (+hildon_date_selector_constructor): new constructor.
3929 (+hildon_date_selector_init): move out widget construction code to
3930 the new constructor.
3932 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
3935 that there's actually a month or year selected before obtaining them.
3936 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
3937 of the HildonTouchSelector::changed signal, as it was emitted on every
3938 single item selection.
3940 Fix some warnings and possible crashers due to the selection restoring.
3942 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
3945 the signal handlers only after creating the dialog instead of on every
3948 2009-01-19 Alberto Garcia <agarcia@igalia.com>
3950 * src/hildon-button.c (hildon_button_init)
3951 * src/hildon-check-button.c (hildon_check_button_init)
3952 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
3953 focus when clicked by default.
3955 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
3960 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3962 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3963 Alejandro G. Castro (alex@igalia.com)
3965 * src/hildon-picker-dialog.c:
3966 (hildon_picker_dialog_class_init): install new "center-on-show"
3968 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
3969 (hildon_picker_dialog_set_property): add setter code for the new
3971 (hildon_picker_dialog_get_property): add getter code for the new
3973 (hildon_picker_dialog_show): Ensure visibility of selected items in the
3974 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
3977 Fixes: NB#92849 (Selected item is not always visible when
3978 HildonTouchSelector is shown)
3980 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
3982 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
3983 Alejandro G. Castro (alex@igalia.com)
3985 * src/hildon-touch-selector.c:
3986 (_create_new_column): Do not connect to the "realize" signal of the
3988 (hildon_touch_selector_append_column): center on the selected items
3989 when a new column is appended.
3990 (hildon_touch_selector_select_iter): Factor out the code to select a
3991 column to hildon_touch_selector_scroll_to().
3992 (+search_nearest_element): Method to retrieve the nearest selected
3993 element to the visible area of the pannable area in a column.
3994 (+on_realize_cb): scroll to the initially selected item.
3995 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
3996 the pannable area is realized, otherwise delay this until it is.
3997 (+_hildon_touch_selector_center_on_selected_items): Centers on the
3998 selected items of a given column.
3999 (+hildon_touch_selector_center_on_selected): Public method to center
4000 all columns on the nearest selected item.
4001 * src/hildon-touch-selector.h: Add definition for
4002 hildon_touch_selector_center_on_selected().
4004 Implement public API to ensure visibility of all selected items in
4005 a HildonTouchSelector.
4007 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4009 Fixed a problem in the fading when calling the scroll_to API, and
4010 improve scrollbar fading handling.
4012 * src/hildon-pannable-area.c,
4013 (hildon_pannable_area_grab_notify): avoid the timeout when the
4015 (hildon_pannable_area_button_press_cb),
4016 (hildon_pannable_area_motion_notify_cb): Code style changes.
4017 (hildon_pannable_area_button_release_cb): Review the conditions
4018 when releasing the mouse button to avoid unrequired fading
4020 (hildon_pannable_area_scroll_to): Do not calculate and set the
4021 velocity if the scroll is not required.
4023 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4026 Don't check whether the new selector is NULL: it cannot be.
4027 Hold a reference to the selector while doing the replacement.
4029 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4032 unnecessary size_request in a removed widget.
4034 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4036 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4037 an unnecessary reference tracking that was leaking.
4039 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4041 Added delayed motion notify event handling, this way we can
4042 discard redrawing if more than 25 events arrive per second.
4044 * src/hildon-pannable-area.c,
4045 (hildon_pannable_area_init): Initialized the new private atributes
4046 controlling this timeout
4047 (hildon_pannable_area_dispose): Remove the timeout that controls
4048 the motion notify events.
4049 (hildon_pannable_area_scroll): Added a condition to control the
4050 use of the acceleration.
4051 (hildon_pannable_area_motion_event_scroll_timeout),
4052 (hildon_pannable_area_motion_event_scroll): Added this two
4053 functions, they handle the motion notify events inside the
4055 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4056 to the scroll method with the new function.
4057 (hildon_pannable_area_button_release_cb): We have to remove the
4058 timeout handler and move to the last position if the last motion
4059 events were not handled.
4061 Fixes: NB#97028 (Pannable area updates on every motion event)
4063 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4065 * src/hildon-pannable-area.c,
4066 (hildon_pannable_area_get_topmost): Added a new parameter to
4067 filter the the windows that do not include those events. Added
4068 also a condition when finding the window to filter windows that do
4069 not ask for those events.
4070 (hildon_pannable_area_button_press_cb),
4071 (hildon_pannable_area_button_release_cb),
4072 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4073 topmost function, we have added the new parameter.
4075 Fixes: NB#97458 (Pannable area prevents propagation of button
4078 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4080 * src/hildon-pannable-area.c,
4081 (hildon_pannable_area_initial_effect): Added controls before
4082 launching the timeout and the idle functions.
4083 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4084 of the method, in some situations it can return with TRUE and 0 in
4086 (hildon_pannable_area_button_press_cb): We do not need to set
4087 DELAY for fading out here.
4089 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4091 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4093 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4094 post-cleaning if the selection is not NULL.
4096 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4098 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4099 all items before restoring the selection.
4101 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-touch-selector.c:
4104 (+hildon_touch_selector_unselect_all):
4105 * src/hildon-touch-selector.h: New API to unselect all items in a
4106 column of the touch selector.
4108 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4110 * src/hildon-pannable-area.c,
4111 (hildon_pannable_area_redraw): Added a call to the refresh
4112 function inside the redraw because apparently in some cases the
4113 change in the adjustment does not imply a size allocate.
4115 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4116 despite the view not being scrollable)
4118 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4120 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4121 leak. Check for NULL before attempting to set the window title.
4123 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4125 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4126 whether to show or not the 'Done' button each time the dialog is
4127 shown, as it depends on the HildonTouchSelector selection mode.
4129 Fixes: NB#96226 (In multiple selection mode Done button is shown
4130 sometimes in listpicker)
4132 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4134 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4135 for the number of columns in the HildonTouchSelector more than once.
4137 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4139 * src/hildon-touch-selector.c: Minor documentation fixes.
4141 * src/hildon-picker-dialog.c (+_dialog_update_title)
4142 (_select_on_selector_changed_cb)
4143 (_update_title_on_selector_changed_cb)
4144 (on_selector_columns_changed): Update dialog title when there's no
4145 'Done' button and also when the number of columns in the selector
4149 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4150 (+_selection_changed, hildon_picker_button_on_dialog_response)
4151 (hildon_picker_button_selector_selection_changed)
4152 (+hildon_picker_button_selector_columns_changed)
4153 (hildon_picker_button_set_selector): Update button value and emit
4154 'value-changed' when the number of columns in the selector
4158 Fixes: NB#96225 (Dialog titles are not shown according to the
4159 values selected in the list picker)
4161 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4163 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4164 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4165 New "arrow-width" and "arrow-height" style properties to set the
4166 size of the arrow button.
4167 Set name of arrow button ("hildon-edit-toolbar-arrow").
4169 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4170 graphics from theme)
4172 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-picker-button.c:
4175 (hildon_picker_button_selector_selection_changed): Use
4176 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4177 the dialog is present.
4179 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4180 the selection is accepted in the dialog)
4182 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-color-chooser.h
4185 * src/hildon-color-chooser-dialog.h:
4186 Added G_BEGIN_DECLS and G_END_DECLS
4188 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4190 (_clean_current_selection): plug a leak in the list.
4192 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/hildon-picker-dialog.c:
4195 (+free_path_list): Method to free a GList of GtkTreePaths.
4196 (_clean_current_selection), (_save_current_selection),
4197 (_restore_current_selection): Save the current selection in
4198 as a list of lists, to support multiple selection properly.
4200 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4202 patch by Claudio Saavedra (csaavedra@igalia.com)
4204 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4205 Store the press position.
4206 (+hildon_text_view_button_release_event): If the release position is
4207 close enough to the press position, move the cursor here. Otherwise,
4209 (hildon_text_view_class_init): Override GtkTextView press, release, and
4210 motion event handlers, disabling this way text selection through
4211 pointer interaction, and allowing the container widget to handle the
4214 Fixes: NB#95828 (HildonTextView functionality)
4216 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4218 Based on a patch by Iván Gómez (igomez@igalia.com)
4220 * src/hildon-button.[ch]
4221 * src/hildon-calendar.c
4222 * src/hildon-check-button.c
4223 * src/hildon-date-editor.c
4224 * src/hildon-date-selector.c
4225 * src/hildon-picker-button.c
4226 * src/hildon-time-editor.c
4227 * src/hildon-time-selector.c
4228 * src/hildon-touch-selector.[ch]:
4229 Documentation updates
4231 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4233 * src/hildon-pannable-area.c,
4234 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4235 threshold, it was required due to X events handling.
4237 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4239 * src/hildon-pannable-area.c,
4240 (hildon_pannable_area_grab_notify),
4241 (hildon_pannable_area_initial_effect),
4242 (hildon_pannable_area_button_press_cb),
4243 (hildon_pannable_area_button_release_cb),
4244 (hildon_pannable_area_scroll_cb),
4245 (hildon_pannable_area_scroll_to): Review the timeout management of
4246 the scrollbar, the frecuency was incorrectly set.
4248 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-picker-button.c:
4251 (+hildon_picker_button_on_dialog_response),
4252 (hildon_picker_button_clicked): Present the dialog instead of
4253 running it with gtk_dialog_run().
4255 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4258 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4261 (hildon_app_menu_finalize): When a window is hidden it doesn't
4262 emit notify::is-topmost, so make sure than the menu also
4263 disappears in that case.
4264 (parent_window_topmost_notify): Renamed from parent_window_hidden
4266 Fixes: NB#94460 (stackable window's menu is not closed when its
4269 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4271 * src/hildon-touch-selector-entry.c:
4272 (+hildon_touch_selector_entry_set_input_mode),
4273 (+hildon_touch_selector_entry_get_input_mode):
4274 * src/hildon-touch-selector-entry.h: New methods to access the input
4275 mode in the selector's entry.
4277 Fixes: NB#93410 (API required for setting IM mode in
4278 HildonTouchSelectorEntry)
4280 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4282 * configure.ac: post release version bump.
4283 * debian/changelog: version bump
4285 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4290 * configure.ac: Bump version.
4291 * debian/changelog: Updates.
4293 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-touch-selector.c:
4296 (_hildon_touch_selector_has_multiple_selection): No need
4297 to initialize the variables here.
4299 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4301 * src/hildon-note-private.h
4302 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4303 (hildon_note_finalize, hildon_note_rebuild): Close information
4304 notes when they receive a button press.
4306 Fixes: NB#89890 (Information notes does not get disappeared after
4309 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4312 mark from the wizard title, as it's not really necessary. Also,
4313 do not display the page title if not set.
4315 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4317 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4318 (parent_window_hidden): Use the window's "is-topmost" property to
4319 detect when to hide the menu.
4321 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4323 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4324 (hildon_app_menu_finalize): If the parent window of the menu is
4325 hidden, hide the menu too.
4327 Fixes: NB#94460 (stackable window's menu is not closed when its
4330 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4333 * debian/libhildon1-examples.install
4335 * examples/Makefile.am:
4336 Use dh_install to install all examples.
4337 Use DEB_SRCDIR instead of defining SOURCE_DIR
4339 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4341 * configure.ac: post release version bump.
4342 * debian/changelog: version bump
4344 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4349 * configure.ac: bump version
4350 * debian/changelog: updates
4351 * debian/control: bump gtk+ dependency
4353 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4355 patch by Christian Dywan (christian@imendio.com)
4357 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4358 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4360 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4362 * src/hildon-check-button.c (hildon_check_button_init)
4363 (hildon_check_button_class_init, hildon_check_button_style_set)
4364 (hildon_check_button_apply_style):
4365 New "checkbox-size" style property.
4367 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4368 larger / configurable size)
4370 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4372 * configure.ac: post release version bump.
4373 * debian/changelog: version bump
4375 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4380 * configure.ac: bump version
4381 * debian/changelog: updates
4383 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4385 * doc/hildon-sections.txt
4386 * src/hildon-pannable-area.c
4387 * src/hildon-program.c
4388 * src/hildon-time-editor.c
4389 * src/hildon-touch-selector-entry.c:
4391 More documentation updates.
4393 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4395 * doc/hildon-sections.txt
4396 * src/hildon-caption.c
4397 * src/hildon-code-dialog.c
4398 * src/hildon-color-button.c
4399 * src/hildon-controlbar.c
4400 * src/hildon-date-editor.c
4401 * src/hildon-date-selector.c
4402 * src/hildon-edit-toolbar.c
4403 * src/hildon-find-toolbar.c
4404 * src/hildon-font-selection-dialog.c
4406 * src/hildon-program.c
4407 * src/hildon-range-editor.c
4408 * src/hildon-seekbar.c
4409 * src/hildon-time-editor.c
4410 * src/hildon-time-selector.c
4411 * src/hildon-volumebar-range.c
4412 * src/hildon-volumebar.c
4413 * src/hildon-vvolumebar.c
4414 * src/hildon-weekday-picker.c
4415 * src/hildon-window.c
4416 * src/hildon-wizard-dialog.c:
4418 Lots of documentation fixes.
4420 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4422 Patch contributed by Iván Gómez (igomez@igalia.com)
4424 * src/hildon-check-button.c:
4425 * src/hildon-date-button.c:
4426 * src/hildon-date-selector.c:
4427 * src/hildon-dialog.c:
4428 * src/hildon-edit-toolbar.c:
4429 * src/hildon-entry.c:
4430 * src/hildon-picker-button.c:
4431 * src/hildon-program.c:
4432 * src/hildon-text-view.c:
4433 * src/hildon-time-button.c:
4434 * src/hildon-touch-selector-entry.c:
4435 * src/hildon-window-stack.c:
4437 Add more "since" tags to the new API.
4439 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4441 * doc/hildon-sections.txt: Add below method.
4442 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4443 version for the hildonized scale.
4444 * src/hildon-gtk.h: Add the definition.
4446 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4448 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4450 * doc/hildon-sections.txt: Add missing entries for new methods.
4452 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4454 Added API to pannable are in order to get its adjustments. We
4455 added two properties to manage the values we had in the private
4458 * src/hildon-pannable-area.c:
4459 (hildon_pannable_area_class_init): Added hadjustment and
4460 vadjustment properties in order to expose horizontal and vertical
4462 (hildon_pannable_area_get_property),
4463 (hildon_pannable_area_set_property): Added code to handle the new
4465 (hildon_pannable_area_get_hadjustment),
4466 (hildon_pannable_area_get_vadjustment): API functions to get the
4468 * src/hildon-pannable-area.h:
4469 (hildon_pannable_area_get_hadjustment),
4470 (hildon_pannable_area_get_vadjustment): API functions to get the
4473 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4475 Fixed some leaks, after valgrinding.
4477 * src/hildon-touch-selector.c:
4478 (_default_print_func): Fixed a leak.
4479 (hildon_touch_selector_append_column): Fixed a leak.
4480 * src/hildon-date-button.c:
4481 (hildon_date_button_init): Fixed a leak.
4482 * src/hildon-date-selector.c
4483 (hildon_date_selector_finalize): Fixed a leak.
4485 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4487 Based on a patch by Christian Dywan (christian@imendio.com)
4489 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4491 * src/hildon-gtk.h: Add definition.
4493 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4495 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4497 * src/hildon-picker-button.c: (hildon_picker_button_init),
4498 (hildon_picker_button_new): Set the HildonButton::style property
4499 in the init method, to propagate the value to the derived classes.
4501 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4503 * src/hildon-button.c: (hildon_button_class_init): Do not make
4504 the "style" property a construct property.
4506 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4508 * src/hildon-wizard-dialog.h
4509 * src/hildon-wizard-dialog.c
4510 (hildon_wizard_dialog_set_forward_page_func)
4511 * src/hildon-pannable-area.h
4512 * src/hildon-pannable-area.c
4513 (hildon_pannable_area_set_size_request_policy):
4514 Documentation fixes.
4516 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4518 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4520 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4522 * doc/hildon-sections.txt: Added sections file.
4524 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/*.[ch]: Updates.
4529 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4531 * examples/hildon-progress-indicator-example.c: new file
4532 * examples/Makefile.am: include the new example program
4534 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4536 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4538 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4540 * configure.ac: post release version bump
4541 * debian/changelog: version bump
4543 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4548 * configure.ac: bump version
4549 * debian/changelog: updates
4550 * debian/control: bump gtk+ dependency
4552 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4554 * src/hildon-dialog.c: Mark as deprecated.
4555 * src/hildon-dialog.h: Mark as deprecated.
4556 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4557 from HildonDialog and still work, even if
4558 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4559 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4561 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4562 maemo changes) instead)
4564 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4566 * src/hildon-pannable_area.h:
4567 * src/hildon-pannable_area.c:
4568 (hildon_pannable_area_class_init),
4569 (hildon_pannable_area_set_property),
4570 (hildon_pannable_area_get_property),
4571 (hildon_pannable_area_size_request),
4572 (hildon_pannable_area_get_size_request_policy),
4573 (hildon_pannable_area_set_size_request_policy): Added new API
4574 allowing applications to control the request policy. Now they can
4575 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4576 children allocation (HILDON_MOVEMENT_CHILDREN).
4578 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4582 (hildon_gtk_tree_view_set_ui_mode)
4583 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4584 mode of treeviews and iconviews.
4586 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/hildon-touch-selector-entry.c:
4589 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4590 of a GtkEntry to get proper theming.
4592 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4593 widget, not GtkEntry)
4595 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4597 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4598 no HildonWizardDialogPageFunc.
4600 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4602 Patch contributed by Iván Gómez (igomez@igalia.com)
4604 * src/hildon-app-menu.c:
4605 * src/hildon-button.c:
4606 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4607 * src/hildon-stackable-window.c:
4608 * src/hildon-time-selector.c:
4609 * src/hildon-touch-selector.c:
4610 * src/hildon-window.c:
4612 Add more "since" tags to the new API in hildon 2.2.
4614 2008-12-05 Tim Janik <timj@imendio.com>
4616 Patch contributed by Christian Dywan (christian@imendio.com)
4618 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4619 HildonSizeType, which are supplied by Gtk+ now.
4621 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4623 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4624 (with maemo changes) instead)
4626 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4628 Patch contributed by Iván Gómez (igomez@igalia.com)
4630 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4633 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4635 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4636 (some_page_func), (main): Update the example to use a
4637 HildonWizardDialogPageFunc function.
4639 * src/hildon-wizard-dialog-private.h: Add private data for
4640 the HildonWizardDialogPageFunc function usage.
4642 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4643 (destroy), (hildon_wizard_dialog_init), (response),
4644 (hildon_wizard_dialog_set_forward_page_func):
4645 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4646 that applications can use to stop a HildonWizardDialog to jump to
4649 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4652 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-program.h
4655 * src/hildon-program-private.h
4656 * src/hildon-program.c (hildon_program_init)
4657 (hildon_program_set_common_app_menu)
4658 (hildon_program_get_common_app_menu):
4659 New API for setting a common HildonAppMenu for all
4660 HildonStackableWindows registered with the HildonProgram.
4662 * src/hildon-stackable-window.c
4663 (hildon_stackable_window_toggle_menu):
4664 Use the common HildonAppMenu if a window doesn't have a specific
4667 * src/hildon-app-menu-private.h
4668 * src/hildon-app-menu.c
4669 (hildon_app_menu_get_parent_window):
4670 Function to obtain the window a HildonAppMenu is attached to.
4671 (hildon_app_menu_set_parent_window):
4672 Hide the menu if the parent window is set to NULL.
4674 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4676 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4677 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4678 search widget to popup.
4680 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4682 * configure.ac: post release version bump
4683 * debian/changelog: version bump
4685 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4690 * configure.ac: bump version
4691 * debian/changelog: updates
4693 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4695 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4697 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4698 (hildon_window_stack_window_realized)
4699 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4700 Set the leader GdkWindow when a window is stacked and realized,
4701 unset it when it's unstacked.
4702 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4704 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4706 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4708 * src/hildon-stackable-window.h
4709 * src/hildon-window-stack.h:
4710 Protect definition of HildonWindowStack using the preprocessor.
4712 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4715 Fix warning if all menu items are hidden.
4717 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4719 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4721 * src/hildon-controlbar.c:
4722 * src/hildon-hvolumebar.c:
4723 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4724 Multiple scale size defines updates.
4726 Fixes: NB#94322 (Scale Updates)
4728 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4730 * examples/hildon-app-menu-example.c (create_menu)
4731 Show items after adding them to the menu, as in the future the
4732 menu will no longer call gtk_widget_show() on the added items.
4734 * src/hildon-app-menu.c:
4735 Update example as explained above.
4737 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4739 * src/hildon-app-menu.c
4740 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4741 Make sure that all menu items have finger height.
4743 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4745 * src/hildon-picker-dialog.c:
4746 (_on_dialog_response), (_save_current_selection),
4747 (_restore_current_selection), (_clean_current_selection),
4748 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4749 Defined new functions in order to save the current internal selector
4750 selection previous open the dialog, in case that the use cancel the
4751 interaction, so the widget restores the previous selection.
4753 Fixes: NB#92032 (In calendar application, date values in 'new event'
4756 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4758 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4760 * src/hildon-button.c: Add a reference to the button examples in
4761 hildon-button-example.c
4763 * examples/hildon-button-example.c: Added examples of the most
4764 common button layouts.
4766 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4768 * src/hildon-app-menu.c (hildon_app_menu_show)
4769 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4771 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4773 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-picker-dialog.c:
4776 (hildon_picker_dialog_init): Initialize the signal id for
4777 HildonTouchSelector::columns-changed.
4778 (+on_selector_columns_changed): Set up the interaction mode everytime a
4779 column is added or removed from the HildonTouchSelector.
4780 (_hildon_picker_dialog_set_selector): Connect to
4781 HildonTouchSelector::columns-changed and keep track of it.
4783 Make sure to update the interaction mode of the dialog everytime a
4784 column is added or removed in the HildonTouchSelector.
4786 Fixes: NB#93228 (Done button is not shown always in listpicker)
4788 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4790 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4791 a new ::columns-changed signal.
4792 (hildon_touch_selector_append_column): Emit ::columns-changed.
4793 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4795 Add a ::columns-changed signal, emitted when the number of columns in a
4796 HildonTouchSelector changes.
4798 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4801 (_hildon_picker_dialog_set_selector): Factor out the code
4802 to set up the dialog interaction mode.
4804 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4806 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4807 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4808 to signal_changed_id.
4810 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4812 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4815 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4817 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4818 Updated the logical ids related to ampm format, as now it is required to
4819 show it correctly localized even on languages with no default
4820 abbreviations for am or pm
4821 (_check_am_pm_format): check correctly the 24h format gconf property
4823 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4825 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4827 * src/hildon-button.c: Documentation updates.
4829 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4831 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4832 * src/hildon-caption.c: (hildon_caption_class_init):
4833 * src/hildon-color-button.c: (hildon_color_button_class_init):
4834 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4835 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4836 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4837 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4839 Remove deprecated GTK+ marshalers and replace them with the ones
4840 provided by GLib, for those available, add a marshaler for
4841 BOOLEAN:VOID, which is not available in GLib, and use it.
4843 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4845 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4846 the text from the previous column if there is no
4847 HildonTouchSelectorColumn::text-property set.
4849 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4851 * src/hildon-button.h
4852 * src/hildon-button.c (hildon_button_set_property)
4853 (hildon_button_get_property, hildon_button_class_init)
4854 (hildon_button_set_style, hildon_button_get_style):
4855 New "style" property to change the visual appearance of the
4858 * src/hildon-picker-button.c (hildon_picker_button_new):
4859 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4861 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4862 HildonButton look like PickerButton)
4864 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4867 column while building the default string.
4869 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4871 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4872 scroll indicator by default.
4874 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4876 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-main.c: Fix the documentation for hildon_init()
4880 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4882 * doc/hildon-docs.sgml
4886 * src/hildon-window-stack-private.h
4887 * src/hildon-window-stack.h
4888 * src/hildon-window-stack.c:
4889 New HildonWindowStack object, that adds support for multiple
4890 stacks of windows per process.
4892 * src/hildon-stackable-window-private.h
4893 * src/hildon-stackable-window.h
4894 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4895 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4896 (hildon_stackable_window_show, hildon_stackable_window_hide)
4897 (hildon_stackable_window_class_init)
4898 (hildon_stackable_window_init):
4899 Use HildonWindowStack for stack management.
4901 * src/hildon-program.c (hildon_program_pop_window_stack)
4902 (hildon_program_peek_window_stack)
4903 (hildon_program_go_to_root_window):
4904 Add a fallback implementation to the deprecated functions using
4907 * examples/hildon-stackable-window-example.c:
4908 Use the new HildonWindowStack API.
4910 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4912 * src/hildon-stackable-window-private.h
4913 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4914 (hildon_stackable_window_hide, hildon_stackable_window_init):
4915 Remove all window stack management.
4917 * src/hildon-program-private.h
4918 * src/hildon-program.h
4919 * src/hildon-program.c (hildon_program_init)
4920 (hildon_program_pop_window_stack)
4921 (hildon_program_peek_window_stack)
4922 (hildon_program_go_to_root_window):
4923 Remove all window stack management and mark functions as
4926 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4928 * src/hildon-app-menu.c (hildon_app_menu_realize):
4929 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
4931 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4933 * configure.ac: post release version bump
4934 * debian/changelog: version bump
4936 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4941 * configure.ac: bump version
4942 * debian/changelog: updates
4944 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
4946 Based on initial code by Christian Dywan (christian@imendio.com)
4948 * doc/hildon-docs.sgml: Add section for hildon-main.
4949 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
4950 * src/Makefile.am: Add new hildon-main.[ch]
4951 * src/hildon-defines.h: Update the icon sizes.
4952 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
4953 new library initialization files and register icon sizes.
4954 * src/hildon-main.h: New declarations.
4955 * src/hildon.h: Include hildon-main.h
4957 Add new initialization functions to the library. These methods
4958 will register the hildon specific icon sizes and can be used in the
4959 future for other hildon specific bits.
4961 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
4963 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4965 * src/hildon-window.c: (hildon_window_realize),
4966 (hildon_window_notify), (-hildon_window_update_title): Do not set
4967 the application name in the window title.
4969 Fixes: NB#89754 (Applications shouldn't display their names in the
4972 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
4974 * src/hildon-note-private.h:
4975 * src/hildon-note.c: (hildon_note_set_property),
4976 (hildon_note_get_property), (hildon_note_class_init),
4977 (hildon_note_init), (hildon_note_finalize),
4978 (hildon_note_new_confirmation_with_icon_name),
4979 (hildon_note_new_information_with_icon_name):
4981 No need to mark as deprecated the actual code. Revert
4982 to avoid missing symbols in widgets using deprecated API.
4984 2008-11-20 Alberto Garcia <agarcia@igalia.com>
4986 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
4988 * src/hildon-volumebar.h
4989 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
4990 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
4992 * src/hildon-helper.h
4993 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
4994 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
4996 * examples/Makefile.am:
4997 Deprecate hildon-insensitive-example
4999 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5001 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5003 * examples/hildon-pannable-area-buttons-scroll-example.c:
5004 Make all buttons finger height
5006 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5008 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5010 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5011 update the day model only if it is really required, and to avoid the
5012 full-reconstruction aproach. Now it only add or remove the required days.
5014 The purpose of this is avoid superfluous HildonTouchSelector::changed
5017 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5018 with strange parameters)
5020 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5022 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5024 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5025 the WINDOW_TYPE property.
5027 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5029 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5032 Fix dependency to allow parallel compilation with make -jX
5034 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5036 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5037 color frame and some minor tweaks to make it more consistent with
5040 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5041 highlighted but not visible)
5043 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5045 * examples/Makefile.am: Fixed typo in the Makefile.am.
5047 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5049 Reviewed the use of MAEMO_GTK define, now we add the define in the
5050 compilation line, and we also add it to the pc file.
5052 * configure.ac: Added MAEMO_GTK define to the compilation command
5053 and removed it from the config.h.
5055 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5056 do not have to take care about this define if the library was
5060 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5062 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5064 * examples/Makefile.am,
5065 * examples/hildon-pannable-area-buttons-scroll-example.c,
5066 * examples/hildon-pannable-area-gesture-signals-example.c,
5067 * examples/hildon-pannable-area-scroll-jump-example.c,
5068 * examples/hildon-pannable-area-tree-view-example.c:
5069 Renamed the pannable area examples, now they have more meaningful
5072 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5074 * src/hildon-touch-selector.c:
5075 (hildon_touch_selector_set_column_selection_mode): Used of
5076 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5077 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5078 to avoid re-seting the same selection mode.
5080 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5081 breaks HildonPickerDialog)
5083 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5085 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5086 conditional in the Makefile.am
5088 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5090 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5091 Remove unused methods.
5093 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5095 * src/hildon-button.c (hildon_button_init):
5096 Make button images center-aligned by default
5098 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5101 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5102 activated, we have to think about how to deal with both defines
5103 MAEMO_GTK and MAEMO_CHANGES.
5105 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5107 * examples/hildon-app-menu-example.c (create_menu): Make all
5108 buttons finger size.
5110 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5112 Fixed the compilation without maemo gtk adding ifdefs with
5113 MAEMO_GTK define to the code, we have to check this version more
5116 * examples/Makefile.am: Added control to avoid some examples that
5117 just make sense with maemo gtk.
5120 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5121 hildon modes with the define.
5123 * examples/hildon-edit-toolbar-example.c,
5124 (create_icon_view): Create the icon view without hildon-gtk
5125 helpers if we are not using maemo gtk.
5127 * src/hildon-touch-selector.c,
5128 (_create_new_column): Create the treeview without hildon-gtk
5129 helpers if we are not using maemo gtk.
5131 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5133 * src/hildon-pnnable-area.c,
5134 (hildon_pannable_area_dispose),
5135 (hildon_pannable_area_button_press_cb),
5136 (hildon_pannable_area_child_mapped),
5137 (hildon_pannable_area_add),
5138 (hildon_pannable_area_remove): Added code to control the position
5139 of the event_window when adding and removing children from the
5140 pannable. We have to raise the event window when the child is
5143 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5144 selection mode using custom widget inside pannable)
5146 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5148 * configure.ac: post release version bump
5149 * debian/changelog: version bump
5151 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5156 * configure.ac: bump version
5157 * debian/changelog: updates
5159 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5161 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5162 search mode, in order to avoid lose the focus on the treeview when
5163 a hw key (like enter) is pressed.
5165 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5166 in HildonDateSelector dialog)
5168 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5170 * debian/rules: Added --enable-maintainer-mode
5171 * Makefile.am: Added ACLOCAL_AMFLAGS
5173 This allows to properly regenerate the Makefiles if you modify the
5174 configure.ac or any Makefile.am.
5176 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5178 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5179 properties, not needed at all.
5181 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5185 * src/hildon-note.c: (hildon_note_set_property),
5186 (hildon_note_get_property), (hildon_note_class_init),
5187 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5188 (hildon_note_new_confirmation_add_buttons): Remove icons.
5189 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5190 (hildon_note_new_information_with_icon_name): Deprecate.
5191 (hildon_note_new_confirmation): Act directly, without calling
5192 the deprecated constructor.
5193 (hildon_note_new_information): Act directly, without calling
5194 the deprecated constructor.
5195 * src/hildon-note.h: Mark deprecate methods as such.
5196 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5197 not run tests on the deprecated methods if built with deprecation
5200 Fixes: NB#91688 (Never show icons in information notes/confirmation
5203 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5205 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5206 (hildon_app_menu_key_press): Remove leftover usage of the
5207 private structure in HildonAppMenu struct.
5208 * src/hildon-app-menu.h: Remove leftover private structure
5209 from the HildonAppMenu struct.
5211 Fixes a crasher when using the HildonAppMenu.
5213 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5215 * src/hildon-picker-dialog.c: Use appropriate logical id
5216 for the default "Done" text.
5218 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5220 * configure.ac: post release version bump
5221 * debian/changelog: version bump
5223 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5225 Modified the way to scroll to the current selection just when the touch
5226 selector is shown on the screen, avoiding a g_idle. Added too a property
5227 to configure this behaviour. See hildon_pannable_area_jump_to_child
5228 documentation for more information.
5230 * src/hildon-touch-selector.c
5231 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5232 Added 'initial-scroll' property
5233 (hildon_touch_selector_set_property): Added
5234 (hildon_touch_selector_map): Removed as not required anymore
5235 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5236 only a concrete column, instead of iterate along all the columns
5238 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5243 * configure.ac: bump version
5244 * debian/changelog: updates
5246 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5248 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5249 compilation time warnings.
5251 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5253 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5254 the default value for HildonPannableArea::mov-mode to
5255 HILDON_PANNABLE_AREA_MODE_VERT.
5257 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5259 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5261 Reverting following commit:
5263 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5265 * src/hildon-app-menu-private.h
5266 * src/hildon-app-menu.[ch]
5267 * src/hildon-button.[ch]
5268 * src/hildon-check-button.[ch]
5269 * src/hildon-entry.[ch]
5270 * src/hildon-pannable-area.[ch]
5271 * src/hildon-text-view.[ch]:
5272 Added private field to the object's structure.
5274 because it causes an ABI breakage. We will need to introduce these
5275 changes later at some point. See NB#91636 for an extensive
5276 explanation and status.
5278 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5280 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5282 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5283 remove special cases that are no longer necessary.
5285 Fixes: NB#91016 (Change toolbar sizes, simplification)
5287 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5289 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5290 is shown in the cancel note.
5292 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5294 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5295 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5296 (hildon_seekbar_init): Remove steppers, remove expose event.
5297 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5299 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5301 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5303 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5304 label font to "SmallSystemFont" for vertically arranged buttons.
5306 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5309 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-check-button.c
5312 (hildon_check_button_set_active, hildon_check_button_clicked):
5313 Don't access private parts directly, use getters instead.
5315 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5317 * src/hildon-check-button.c (hildon_check_button_new):
5318 Align the contents of the check button to the left.
5320 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5322 * src/hildon-pannable-area.c,
5323 (hildon_pannable_area_scroll_to),
5324 (hildon_pannable_area_jump_to),
5325 (hildon_pannable_area_scroll_to_child),
5326 (hildon_pannable_area_jump_to_child): Replace the mapped
5327 precondition of these functions with the realized, it is the
5328 correct state of the widget in this case. Changed the
5329 documentation according to this modification.
5331 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5333 Added a new EXTRA_CFLAGS option to add the deprecated define to
5334 the compilation command. This way we can avoid using the define in
5335 the documentation compilation.
5337 * configure.ac: Defined EXTRA_CFLAGS.
5339 * examples/Makefile.am:
5341 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5343 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5345 * src/hildon-picker-dialog.c:
5346 Defined a utility macro with the desired touch selector height
5347 Removed currently unused separator, and title_label variables from
5349 (hildon_picker_dialog_init): Removed code related to the creation
5350 of unused private variables title_label and separator.
5351 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5352 to ensure correct visualization of the touch selector inside the dialog.
5353 * src/hildon-touch-selector.c
5354 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5355 ensure a concrete height of the widget.
5357 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5360 * tests/Makefile.am:
5362 Remove spurious whitespaces.
5364 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5366 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5367 compilation warning after the cancel button removal.
5369 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5371 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5373 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5374 Makefile.am, that way we can choose not to compile some examples
5375 and tests of the deprecated widgets.
5377 * examples/Makefile.am: Divided the sources in deprecated and
5380 * src/Makefile.am: Added undef statement of the deprecated
5381 symbol to the enums file generation process.
5383 * src/hildon-color-chooser-dialog.c
5384 * src/hildon-color-chooser-dialog.h
5385 * src/hildon-color-button.c
5386 * src/hildon-color-button.h
5387 * src/hildon-color-chooser.c
5388 * src/hildon-color-chooser.h
5389 * src/hildon-controlbar.c
5390 * src/hildon-controlbar.h
5391 * src/hildon-date-editor.c
5392 * src/hildon-date-editor.h
5393 * src/hildon-hvolumebar.c
5394 * src/hildon-hvolumebar.h
5395 * src/hildon-private.c
5396 * src/hildon-private.h
5397 * src/hildon-range-editor.c
5398 * src/hildon-range-editor.h
5399 * src/hildon-seekbar.c
5400 * src/hildon-seekbar.h
5401 * src/hildon-time-editor.c
5402 * src/hildon-time-editor.h
5403 * src/hildon-time-picker.c
5404 * src/hildon-time-picker.h
5405 * src/hildon-volumebar.c
5406 * src/hildon-volumebar.h
5407 * src/hildon-vvolumebar.c
5408 * src/hildon-vvolumebar.h
5409 * src/hildon-bread-crumb-trail.h
5410 * src/hildon-bread-crumb-trail.c
5411 * src/hildon-calendar-popup.c
5412 * src/hildon-calendar-popup.h
5413 * src/hildon-weekday-picker.c:
5414 * src/hildon-weekday-picker.h:
5415 * src/hildon-bread-crumb-widget.c:
5416 * src/hildon-bread-crumb-widget.h:
5417 * src/hildon-bread-crumb.c:
5418 * src/hildon-bread-crumb.h:
5419 * src/hildon-calendar.c:
5420 * src/hildon-calendar.h:
5421 * src/hildon-caption.c:
5422 * src/hildon-code-dialog.c:
5423 * src/hildon-code-dialog.h:
5424 * src/hildon-font-selection-dialog.c:
5425 * src/hildon-font-selection-dialog.h:
5426 * src/hildon-get-password-dialog.c:
5427 * src/hildon-get-password-dialog.h:
5428 * src/hildon-login-dialog.c:
5429 * src/hildon-login-dialog.h:
5430 * src/hildon-number-editor.c:
5431 * src/hildon-number-editor.h:
5432 * src/hildon-set-password-dialog.c:
5433 * src/hildon-set-password-dialog.h:
5434 * src/hildon-sort-dialog.c:
5435 * src/hildon-sort-dialog.h: This is the list of deprecated
5438 * src/hildon-touch-selector.c:
5439 * src/hildon-window.c: Added undef statement to avoid compilation
5442 * tests/Makefile.am: Divided the sources in deprecated and
5445 * tests/check_test.c,
5446 (configure_tests): Marked the deprecated code that was adding
5447 suites with deprecated tests.
5449 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5451 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5453 * src/hildon-touch-selector.c: (_default_print_func): Do not
5454 duplicate a string returned by gtk_tree_model_get(), it is already
5457 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5460 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5462 * src/hildon-pannable-area.c
5463 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5464 method, it had problems when adding a widget with viewport the
5465 second time. Now checks if it already has a viewport and uses it.
5467 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5470 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5472 * src/hildon-pannable-area.c,
5473 (hildon_pannable_area_scroll_to),
5474 (hildon_pannable_area_jump_to),
5475 (hildon_pannable_area_scroll_to_child),
5476 (hildon_pannable_area_jump_to_child): Added a precondition to the
5477 scroll and jump to functions: the widget must be mapped before we
5478 can safely call these functions. We have also added documentation
5479 to the functions to explain how to use them in this situation.
5482 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5484 Reviewed the threading handling of the pannable widget, we have
5485 used the gdk_threads_add_timeout function instead of the usual
5486 glib handlers. This avoids some problems with the threads.
5488 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5489 (hildon_pannable_area_initial_effect),
5490 (hildon_pannable_area_scroll_indicator_fade),
5491 (hildon_pannable_area_button_press_cb),
5492 (hildon_pannable_area_timeout),
5493 (hildon_pannable_area_motion_notify_cb),
5494 (hildon_pannable_area_button_release_cb),
5495 (hildon_pannable_area_scroll_cb),
5496 (hildon_pannable_area_scroll_to): Removed the
5497 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5498 gdk_threads_add_timeout.
5500 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5502 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5507 * configure.ac: bump version
5508 * debian/changelog: updates
5510 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5512 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5513 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5514 * src/hildon-color-chooser-dialog.c:
5515 (hildon_color_chooser_dialog_init):
5516 * src/hildon-font-selection-dialog.c:
5517 (hildon_font_selection_dialog_init):
5518 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5520 Remove all cancel/close-like dialogs, as these are not going to be
5523 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5525 * src/hildon-note.c: (hildon_note_rebuild),
5526 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5529 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5531 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5533 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5534 sure all buttons are shown, even the Cancel/Close-like ones.
5536 Fixes: NB#90861 (Custom Confirmation dialogs should be
5537 protected from cancel button removal)
5539 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5541 * debian/control: Change libhildon1-examples dependency from libhildon1
5543 * debian/libhildon1-examples.install
5545 * Makefile.am: Modified the final install directory for the examples on
5546 package libhildon1-examples
5547 * Makefile.static: Update clean target in order to remove all the binary
5550 Changes suggested by Claudio after review new libhildon1-examples package
5552 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5554 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5555 * src/hildon-touch-selector.c: Ditto.
5557 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5559 * debian/control: Added new package libhildon1-examples, in order to pack
5560 the current hildon examples as documentation
5561 * debian/rules: Not to compress .c files, modify some includes on the
5562 examples (as normally are compiled locally, but when installed it will
5563 require to include the installed libhildon1 library), and rename
5565 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5566 install all the example files on the new example package
5567 * examples/Makefile.static: Added static makefile that can be used to
5568 compile the examples, once installed the new example package
5569 * examples: Most of the examples were modified in order to grant that
5570 all use only '#include "hildon.h"', in order to be easy to prepare
5571 it on the example package
5573 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5576 * debian/libhildon1-dev.install
5577 * debian/libhildon1-doc.install:
5578 Move all gtk-doc files to a separate libhildon1-doc package.
5580 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5582 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5584 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5586 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5588 * debian/rules: Fixed a error in order to avoid unnecessary calls
5589 to autogen.sh on package building
5591 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5593 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5595 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5597 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5600 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5602 * src/hildon-picker-button.c
5603 (hildon_picker_button_finalize):
5604 Free priv->done_button_text
5606 * src/hildon-time-button.c
5607 (hildon_time_button_set_time)
5608 * src/hildon-picker-button.c
5609 (hildon_picker_button_clicked)
5610 (hildon_picker_button_selector_selection_changed)
5611 (hildon_picker_button_set_selector)
5612 * src/hildon-date-button.c
5613 (hildon_date_button_set_date):
5614 Free strings returned by hildon_touch_selector_get_current_text()
5616 * src/hildon-button.c (hildon_button_construct_child):
5617 Fix leaks in priv->image and priv->label_box
5619 Fixes: NB#90535 (Memory leak in picker button)
5621 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5623 * src/hildon-button.c: (hildon_button_get_property): Do not access
5624 private elements directly, use getters instead.
5626 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5628 * src/hildon-app-menu-private.h
5629 * src/hildon-app-menu.c
5630 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5631 Store the menu's parent window.
5633 * src/hildon-stackable-window.c
5634 (hildon_stackable_window_toggle_menu)
5635 (hildon_stackable_window_finalize):
5636 Set the menu's parent window when the menu is shown, unset it when
5639 * src/hildon-app-menu.c
5640 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5641 (hildon_app_menu_class_init):
5642 Send unhandled keyboard accelerators to the parent window.
5644 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5646 * src/hildon-stackable-window.c
5647 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5649 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5651 * configure.ac: post release version bump
5653 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5656 * configure.ac: Bump version
5657 * debian/changelog: Updates
5658 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5661 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5663 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5666 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5667 GtkMenu with Hildon style.
5669 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5671 * src/hildon-picker-button.c:
5672 (hildon_picker_button_set_done_button_text): Set the dialog's
5673 done button text here as well.
5675 Fixes: NB#90232 (Picker button does not set the label on done button
5676 for the second time)
5678 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5680 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5683 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5685 * src/hildon-app-menu.c (hildon_app_menu_insert)
5686 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5687 the HildonAppMenu to be activatable using keyboard accelerators
5688 when the menu is not being shown.
5690 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5692 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5694 * src/hildon-stackable-window.c
5695 (hildon_stackable_window_show):
5696 Don't hide old windows automatically when new windows are shown:
5697 this is now a task for the window manager.
5698 (hildon_stackable_window_class_init)
5699 (hildon_stackable_window_hide):
5700 Remove windows from the stack everytime they're hidden.
5701 (hildon_stackable_window_realize):
5702 Don't change the _NET_WM_WINDOW_TYPE property. Use
5703 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5704 it as a stackable window.
5706 * src/hildon-program.c
5707 (hildon_program_pop_window_stack):
5708 Just hide the window to remove it from the stack.
5709 (hildon_program_go_to_root_window):
5710 Don't call gtk_widget_show(), this is now a task for the window
5713 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5715 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5717 * src/hildon-button.c
5718 (hildon_button_construct_child):
5719 Don't pack anything in the button until text or image are
5720 set. This allows adding a custom child after creating the button
5721 with hildon_button_new().
5722 (hildon_button_finalize, hildon_button_class_init)
5723 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5724 alignment and the label box even when they're not packed in the
5727 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5729 * src/hildon-touch-selector.h:
5730 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5731 currently the type definition was using GTK_TYPE_VBOX
5732 * src/hildon-touch-selector.c:
5733 Added some implementation notes in order to clarify that any other widget
5734 added without the column related API will not be included on the
5735 selection logic, and how the widget is freed, as some people ask about
5737 (hildon_touch_selector_remove): Reimplemented in order to free properly
5738 the column related data when you remove the private hbox.
5739 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5740 to get a proper HildonTouchSelectorColumn documentation
5742 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5744 * src/hildon-touch-selector-entry.c:
5745 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5746 text in the GtkEntry and there is no item selected. Fixes a
5749 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5751 * src/hildon-app-menu-private.h
5752 * src/hildon-app-menu.[ch]
5753 * src/hildon-button.[ch]
5754 * src/hildon-check-button.[ch]
5755 * src/hildon-entry.[ch]
5756 * src/hildon-pannable-area.[ch]
5757 * src/hildon-text-view.[ch]:
5758 Added private field to the object's structure.
5760 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5762 * configure.ac: post-release version bump
5764 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5768 * configure.ac: pre-release version bump
5770 * debian/changelog: updates.
5772 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5774 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5775 Disconnect the handler for HildonTouchSelector::changed.
5777 (hildon_picker_button_selector_selection_changed): Update the button
5778 value if the selection change was not triggered by the
5781 (hildon_picker_button_set_selector): connect to
5782 HildonTouchSelector::changed.
5784 Fixes: NB#89650 (Picker button is not updated, when selection in
5785 selector has changed)
5787 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5789 * src/hildon-picker-dialog.c
5790 (hildon_picker_dialog_realize): Removed as not required
5791 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5792 * src/hildon-picker-button.c
5793 (_current_selector_empty): New function, checks if the selector is empty
5794 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5795 if the current selector is empty, in order to avoid to show the dialog
5796 close the dialog in this case (and shows a g_warning).
5798 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5800 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5802 * src/hildon-pannable-area.c,
5803 (hildon_pannable_area_scroll): Added clause to stop movement when
5804 the child of pannable is smaller than one page.
5805 (hildon_pannable_area_scroll_to): Added conditions to avoid
5806 starting the scrolling movement if the child is smaller than one
5807 page, the complete child is in the screen, we do not have to move.
5809 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5811 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5814 this is managed automatically by the widget when the size of the
5817 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5819 * src/hildon-picker-button.c
5820 (hildon_picker_button_set_done_button_text): Make a copy of the
5821 text, and free the previous value.
5823 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5825 * src/hildon-touch-selector-entry.c:
5826 (hildon_touch_selector_entry_print_func): Return the selected row's
5827 text if the entry is empty.
5829 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5832 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5834 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5836 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5839 * src/hildon-check-button.h
5840 * src/hildon-check-button.c
5841 * examples/hildon-check-button-example.c:
5842 HildonCheckButton is now a new widget. 'toggled' signal added.
5844 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5846 * src/hildon-program-private.h
5847 * src/hildon-program.c (hildon_program_init)
5848 (hildon_program_finalize): Removed unused variables group_leader
5849 and name from HildonProgramPrivate.
5851 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5853 * src/hildon-check-button.c (hildon_check_button_set_active)
5854 (hildon_check_button_get_active, hildon_check_button_new): Use
5855 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5857 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5859 * src/hildon-touch-selector.h
5860 (hildon_touch_selector_set_column_attributes): added deprecation
5861 guard HILDON_DISABLE_DEPRECATED
5862 * src/hildon-time-selector.c
5863 (hildon_time_selector_set_time)
5864 (hildon_time_selector_get_time): Fixed a typo on documentation
5865 * src/hildon-touch-selector.c: update HildonTouchSelector and
5866 HildonTouchSelectorColumn documentation
5867 * src/hildon-touch-selector-entry.c: update "text-column" property
5869 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5870 to be added to the general documentation.
5872 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5874 * examples/hildon-pannable-area-example-4.c,
5876 * examples/hildon-pannable-area-example.c,
5877 (main): Modified the code in order to use the container add, with
5878 viewport treeviews could have problems if they are really big.
5880 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5882 * src/hildon-weekday-picker.c,
5883 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5884 the agreement regarding deprecation in the library.
5886 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5888 * examples/hildon-picker-button-multicolumn-example.c:
5889 (main): Use custom "done" button text.
5891 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5892 (hildon_picker_button_set_property),
5893 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5894 (hildon_picker_button_init),
5895 (+hildon_picker_button_get_done_button_text),
5896 (+hildon_picker_button_set_done_button_text): New methods to customize
5897 the "done" button label in the launched HildonPickerDialog. Also,
5900 * src/hildon-picker-button.h: add the public API.
5902 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5904 * src/hildon-date-selector.h:
5905 * src/hildon-picker-dialog.h:
5906 * src/hildon-time-selector.h:
5907 * src/hildon-touch-selector-column.h:
5908 * src/hildon-touch-selector.h:
5910 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5911 declarations. Fixes gtk-doc warnings.
5913 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5915 * src/hildon-picker-dialog.h
5916 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5917 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5919 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5920 long text is set as label for done button)
5922 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5924 * src/hildon-dialog.c (hildon_dialog_add_button):
5925 Set fixed width to all buttons in the HildonDialog.
5927 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5929 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5931 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
5932 Set widget name using class name plus "-finger" or "-thumb".
5934 2008-10-03 Alberto Garcia <agarcia@igalia.com>
5936 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
5937 'clicked' when the state of the button is manually changed.
5939 2008-10-02 Alberto Garcia <agarcia@igalia.com>
5941 * src/hildon-app-menu.c (hildon_app_menu_realize)
5942 (hildon_app_menu_unrealize, hildon_app_menu_init)
5943 (hildon_app_menu_class_init, item_visibility_changed):
5944 Change the menu layout when the size of the screen changes.
5945 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
5946 Show warning only when changing the number of colums using the
5949 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
5951 * debian/compat: Set to 5
5952 * debian/control: Update dependencies.
5953 * debian/libhildon1-dbg.install: Remove.
5954 * debian/libhildon1-dev.install: Update according to cdbs paths.
5955 * debian/libhildon1.install: Update according to cdbs paths.
5956 * debian/rules: Switch to cdbs.
5958 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5960 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
5961 'item' variable renamed to 'filter'
5963 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5965 * src/hildon-app-menu.c (hildon_app_menu_insert)
5966 (hildon_app_menu_add_filter, remove_item_from_list)
5967 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
5968 Don't leak hidden items when the menu is destroyed.
5970 2008-10-01 Alberto Garcia <agarcia@igalia.com>
5972 * src/hildon-app-menu.c (hildon_app_menu_insert)
5973 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
5974 (hildon_app_menu_set_columns, item_visibility_changed)
5975 (filter_visibility_changed, hildon_app_menu_repack_filters)
5976 (hildon_app_menu_repack_items):
5977 Repack items and filters separately.
5979 Don't repack all items, change only the ones that are needed to
5982 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5984 * src/Makefile.am: added hildon-touch-selector-column.h
5986 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
5988 * src/hildon-touch-selector.c: added the property "text-column" to the
5989 class HildonTouchSelectorColumn, and related get/set functions
5990 (_default_printf_func): updated to use "text-column" property
5991 * src/hildon-touch-selector-entry.c: mark as deprecated the property
5992 "text-column" in his documentation, as this is now included on
5993 HildonTouchSelectorColumn. The get/set_property can still be used,
5994 working as a wrapper to the concrete column "text-column" property
5995 (_text_column_modified): callback added in order to handle the signal
5996 "notify::text-column" of the concrete HildonTouchSelectorColumn
5997 (hildon_touch_selector_entry_get_text_column)
5998 (hildon_touch_selector_entry_set_text_column): Added documentation, and
5999 modified in order to use the HildonTouchSelectorColumn "text-column"
6001 * src/hildon-time-selector.c:
6002 * src/hildon-date-selector.c:
6003 * examples/hildon-touch-selector-example.c
6004 * examples/hildon-touch-selector-multi-cells-example.c
6005 * examples/hildon-picker-button-multicolumn-example.c
6006 Set the right value to "text-column" property on the creation of a new
6007 column using hildon_touch_selector_append_column()
6009 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6011 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-app-menu.c
6014 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6015 updating the layout of the menu, don't create all widgets again,
6016 just repack the items in their new places.
6018 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6020 * src/hildon-time-selector.c
6021 (hildon_time_selector_get_time)
6022 (hildon_time_selector_set_time)
6023 Added documentation of these public methods
6025 * src/hildon-date-button.h
6026 * src/hildon-touch-selector-column.h
6027 * src/hildon-time-button.h
6028 * src/hildon-picker-dialog.h
6029 * src/hildon-time-selector.h
6030 * src/hildon-picker-button.h
6031 * src/hildon-touch-selector.h
6032 * src/hildon-time-picker.h
6033 * src/hildon-date-selector.h
6034 * src/hildon-touch-selector-entry.h
6035 Modified in order to use hildon-widgets code style
6037 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6039 Added deprecated support to the compilation process using
6040 HILDON_DISABLE_DEPRECATED
6042 * configure.ac: Added the --disable-deprecated to the configure
6045 * src/hildon-weekday-picker.c:
6046 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6047 to use the deprecated support. We will update the other deprecated
6048 widgets status in a new patch.
6050 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6052 * configure.ac: Fixed typo with fatal warnings support, the
6053 variable name was not correct
6055 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6057 * src/hildon-app-menu.c
6058 * src/hildon-program.c: Update documentation.
6060 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6062 * configure.ac: Post-release version bump.
6064 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6069 * configure.ac: Pre-release version bump.
6070 * debian/changelog: Updates.
6072 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6074 * NEWS: Update news for previous releases.
6076 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6078 * examples/hildon-touch-selector-multi-cells-example.c:
6079 (create_selector): Update the example to use
6080 hildon_touch_selector_append_column() with a NULL renderer and set
6081 the renderers later.
6082 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6083 passed a NULL renderer. This is documented behavior now.
6085 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6086 This must be used if the developer wants full control on the layout of
6087 the renderers to be added to the column.
6089 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6091 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6093 * src/hildon-touch-selector.c: Documentation fixes.
6095 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6097 * src/hildon-wizard-dialog-private.h: Remove image and box.
6098 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6099 (hildon_wizard_dialog_set_property), (response): Completely remove
6100 image/icon support, and the containers required for the layout.
6102 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6104 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6106 * src/hildon-app-menu.c: Updated documentation.
6108 * src/hildon-stackable-window.c
6109 (hildon_stackable_window_set_main_menu): Unref the old menu after
6110 ref'ing the new one.
6112 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6114 * src/hildon-stackable-window.c
6115 (hildon_stackable_window_set_main_menu): Unref the previous menu
6116 instead of destroying it.
6118 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6119 floating reference and set has_user_ref_count to FALSE to make
6120 HildonAppMenu act like a normal ref-counted widget and not a
6123 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6126 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6128 * src/hildon-touch-selector-column.h: new file
6129 * src/hildon-touch-selector.h
6130 * src/hildon-touch-selector.c
6131 Implemented GtkCellLayout interface, in order to allow to configure
6132 the cell layout on each individual selector column
6133 (hildon_touch_selector_set_column_attributes): marked as deprecated
6134 * examples/hildon-touch-selector-multi-cells-example.c
6135 Example of how to use the GtkCellLayout interface on the selector
6137 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6139 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6141 * src/hildon-app-menu.h
6142 * src/hildon-app-menu.c
6143 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6144 (hildon_app_menu_append, hildon_app_menu_prepend):
6145 New methods to prepend, insert and move items in the menu.
6147 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6149 * src/hildon-wizard-dialog.c:
6151 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6153 (create_title): Update logical IDs and related code.
6154 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6156 * src/hildon-wizard-dialog.h: Note that
6157 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6158 point, as it is not used anymore.
6160 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6162 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6164 * src/hildon-note.c:
6165 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6166 shown. Do not display an icon in confirmation notes nor information
6168 (hildon_note_set_button_text): Update logical ID for cancel button.
6170 Fixes: NB#88850 (Update HildonNote button strings + signals)
6172 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6174 * src/hildon-stackable-window.c
6175 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6177 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6179 * src/hildon-app-menu-private.h
6180 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6181 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6182 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6183 temporary property 'columns' to change the number of columns.
6185 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6187 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6189 * examples/hildon-note-example.c: (on_information_clicked),
6190 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6191 debugging information.
6192 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6194 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6195 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6196 in order to close: this will be handled by the WM from now on.
6198 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6200 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6202 * src/hildon-app-menu-private.h
6203 * src/hildon-app-menu.c
6204 (hildon_app_menu_append, hildon_app_menu_add_filter)
6205 (button_visibility_changed, hildon_app_menu_apply_style)
6206 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6207 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6208 layout everytime a button (item or filter) is shown or hidden.
6210 * src/hildon-stackable-window.c
6211 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6214 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6216 * src/hildon-touch-selector.c:
6217 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6218 that the treeview inside the touch selector is in fremantle hildon mode
6219 * examples/hildon-date-button-example.c
6220 * examples/hildon-picker-button-multicolumn-example.c
6221 * examples/hildon-touch-selector-entry-example.c
6222 * examples/hildon-touch-selector-example.c
6223 * examples/hildon-time-button-example.c
6224 * examples/hildon-picker-button-example.c:
6225 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6227 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6229 * examples/hildon-text-view-example.c: (main): Remove the
6230 gtkrc bits, now handled by the theme.
6232 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6234 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6237 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6239 * po/Makefile.am: Install properly the mo files.
6240 * po/en_GB.po: Update translation, to ease testing purposes.
6242 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6244 * examples/hildon-picker-button-example.c: (main): Select an item
6245 in the selector before setting it to the button.
6247 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6250 Update button's value if the selector has an item active.
6252 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6253 'value' with the selector)
6255 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6257 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6258 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6259 (hildon_picker_button_class_init): Plug the finalize method.
6260 (hildon_picker_button_set_selector): If there's a previously set
6261 selector, unref'it before setting a new one.
6263 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6264 HildonTouchSelector)
6266 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6268 * src/hildon-touch-selector-entry.c:
6269 (hildon_touch_selector_entry_changed): Check if there is no text
6270 selected before setting the entry text.
6273 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6275 * src/hildon-touch-selector.h
6276 * src/hildon-touch-selector.c
6277 (hildon_touch_selector_get_active)
6278 (hildon_touch_selector_set_active): New methods to set/get the
6279 index of the selected item.
6281 * src/hildon-picker-button.h
6282 * src/hildon-picker-button.c
6283 (hildon_picker_button_get_active)
6284 (hildon_picker_button_set_active): New methods to set/get the
6285 index of the selected item.
6287 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6289 * configure.ac: post-release version bump.
6291 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6295 * configure.ac: Pre-release version bump.
6296 * debian/changelog: Updates.
6297 * debian/control: Add myself as maintainer and depend on l10n
6300 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6302 * src/hildon-window.c
6303 (hildon_window_set_main_menu)
6304 * src/hildon-stackable-window.c
6305 (hildon_stackable_window_set_main_menu):
6306 Updated documentation.
6308 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6310 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6311 Don't free selector->priv manually.
6314 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6317 (hildon_gtk_window_set_progress_indicator):
6318 * src/hildon-gtk.h: Added the new API
6319 hildon_gtk_window_set_progress_indicator, it changes the state of
6320 the window progress hint.
6322 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6324 * src/hildon-button.c
6325 * src/hildon-stackable-window.c: Minor documentation updates.
6327 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6329 * src/hildon-stackable-window.c: Updated documentation.
6331 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6333 * src/hildon-defines.h: Update margins definitions
6334 to the Fremantle sizes.
6337 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6339 * src/hildon-touch-selector.c,
6340 (_hildon_touch_selector_set_model): Cleaning the code after
6341 review, removed g_print and #if 0 from the code.
6343 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6345 * src/hildon-edit-toolbar.c: Update documentation.
6347 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6349 * src/hildon-check-button.h
6350 * src/hildon-check-button.c
6351 (hildon_check_button_set_label, hildon_check_button_get_label)
6352 * examples/hildon-check-button-example.c
6353 (button_clicked_cb):
6354 Removed deprecated methods.
6356 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6358 * src/hildon-text-view.c:
6359 Add sample code to the documentation.
6361 * src/hildon-entry.h
6362 * src/hildon-text-view.h:
6363 Minor cosmetic changes.
6365 * src/hildon-entry.c:
6366 Add sample code to the documentation.
6367 (hildon_entry_init, hildon_entry_refresh_contents):
6368 Don't allow NULL values in the placeholder.
6370 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6372 * doc/hildon-docs.sgml
6374 * examples/Makefile.am
6375 * examples/hildon-text-view-example.c
6377 * src/hildon-text-view.c
6378 * src/hildon-text-view.h
6380 New HildonTextView widget, with example.
6382 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6384 * po/POTFILES.in: Add missing files with translatable strings.
6385 Partially fixes NB#88287.
6387 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6389 * examples/hildon-pannable-area-example-2.c: (main): No need to
6390 set the cellrenderer height inside hildon touch lists, the theme does
6393 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6395 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6396 they are integrated in the theme.
6398 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6400 * examples/hildon-entry-example.c: Update the example adding
6401 widgets to modify the text and the placeholder of the HildonEntry.
6403 * src/hildon-entry.c: Show the placeholder everytime the widget
6404 is empty and loses the focus.
6406 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6408 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6410 * src/hildon-pannable-area.c,
6411 (hildon_pannable_area_size_request): Fixed bug in height
6412 requisition, avoid increasing size and add border twice.
6414 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6416 * configure.ac: postrelease version bump.
6418 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6422 * configure.ac: Prerelease version bump.
6423 * debian/changelog: update.
6424 * debian/rules: make -dbg package contain useful debugging symbols.
6426 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6428 * src/hildon-dialog.h
6429 * src/hildon-dialog.c
6430 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6431 New methods to add buttons with finger size.
6432 (hildon_dialog_new_with_buttons):
6433 Create buttons with finger size.
6435 * examples/hildon-dialog-example.c (main): Use HildonDialog
6436 methods to add buttons.
6438 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6440 * src/hildon-entry.c: Updated HildonButton documentation.
6442 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6445 button value label with (FALSE, FALSE) to prevent NB#88126 from
6448 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6450 * examples/hildon-pannable-area-example.c,
6451 (main): Removed examples panning a vbox inside a pannable
6452 area. Check bug NB#87965
6454 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6456 Patch contributed by Kris Rietveld (kris@imendio.com)
6458 * src/hildon-pannable-area.c,
6459 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6460 get_size and get_position, this saves an X server roundtrip.
6462 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6464 * doc/hildon-docs.sgml
6466 * examples/Makefile.am
6467 * examples/hildon-entry-example.c
6469 * src/hildon-entry.c
6470 * src/hildon-entry.h
6472 New HildonEntry widget, with example.
6474 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6476 * src/hildon-button.c (hildon_button_construct_child): Pack the
6477 image with expand == fill == FALSE. This is a workaround for a bug
6480 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6482 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6483 labels for the text column, to make it more look more dynamic.
6485 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6487 * src/hildon-time-selector.c
6488 Define gettext auxiliar macro N_
6489 (_create_minutes_model)
6490 (_create_hours_model)
6491 (_create_ampm_model): use of strftime in order to fill the model
6492 * src/hildon-date-selector.c
6493 (hildon_date_selector_finalize):
6494 (_locales_init): remove the logic related to get the name of the months
6495 using nl_langinfo, as it is not required anymore
6497 (_create_year_model)
6498 (_create_month_model)
6499 (_update_day_model): use of strftime in order to fill the model properly
6502 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6504 * src/hildon-button.h
6505 * src/hildon-button.c (hildon_button_get_image): New method to
6508 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6510 * src/hildon-touch-selector.c:
6511 (hildon_touch_selector_remove_column): Remove from the correct parent
6512 and also remove the list element and free it.
6515 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6517 * src/hildon-time-selector.c
6518 (_create_hours_model): change the range on 12h ampm format in order to use
6519 a 12-11 range instead of previous 01-12 range
6520 (hildon_time_selector_set_time): change the way to select the current time
6521 on 12h ampm format, due the change on the range
6522 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6525 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6527 * src/hildon-touch-selector.c
6528 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6529 in order to allow use this function on multiple row selection mode if
6530 the column is different that the first one
6533 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6535 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6536 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6538 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6540 * src/hildon-date-selector.h: clean some comments, now on the .c
6541 * src/hildon-date-selector.c
6542 (hildon_date_selector_select_month): first implementation
6543 (hildon_date_selector_select_day): added documentation, reimplemented
6544 using hildon_date_selector_select_current_date to avoid repeat code
6547 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6549 Reviewed interaction logic based on device experiences, refactored
6552 * src/hildon-pannable-area.c,
6553 (hildon_pannable_area_class_init): Updated default vmax speed.
6554 (hildon_pannable_area_calculate_velocity): Added this function, it
6555 avoids duplicate valocity calculation. Adjusted calculation to
6556 avoid problems with zero dist events.
6558 (hildon_pannable_area_motion_notify_cb): Now we use the
6559 calculate_velocity function.
6561 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6563 * src/hildon-date-selector.c
6564 (hildon_date_selector_select_current_date): fix the day range check
6565 as it failed using the last day of the current month
6568 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6570 * src/hildon-touch-selector.c
6571 (hildon_touch_selector_get_num_columns): added a parameter validation
6574 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6576 * examples/Makefile.am
6577 * examples/hildon-edit-toolbar-example.c: Example of the
6578 HildonEditToolbar widget.
6580 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6582 * configure.ac: postrelease version bump.
6584 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6588 * configure.ac: prerelease version bump.
6589 * debian/changelog: update.
6591 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6593 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6594 renderer to display stock icons in the touch list. Also, set the sizes
6595 to the recommended in the style guide.
6597 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6598 * src/hildon-touch-selector.h
6599 (hildon_touch_selector_set_active_iter): renamed, now is
6600 hildon_touch_selector_select_iter
6601 (hildon_touch_selector_get_active_iter): renamed, now is
6602 hildon_touch_selector_get_selected
6603 (hildon_touch_selector_unselect_iter): added
6604 * src/hildon-touch-selector.c
6605 Update after API modification (methods renamed)
6606 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6607 order to avoid problems selecting multiple elements on the column
6608 (hildon_touch_selector_unselect_iter): added the implementation
6609 * src/hildon-time-selector.c
6610 * src/hildon-date-selector.c
6611 * src/hildon-touch-selector-entry.c
6612 Update methods calls after hildon-touch-selector.h API modification (methods
6615 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6617 * src/hildon-stackable-window.c
6618 (hildon_stackable_window_finalize): Call the parent class's finalize.
6620 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6622 * examples/hildon-touch-selector-example.c: (create_selector): Use
6623 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6626 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6628 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6629 set a cell background color, to respect theming.
6631 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6633 * doc/hildon-docs.sgml
6636 * src/hildon-edit-toolbar.c
6637 * src/hildon-edit-toolbar.h
6638 * src/hildon.h: New HildonEditToolbar widget.
6640 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6642 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6645 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6646 * src/hildon-touch-selector.c
6647 (_create_new_column): use g_object_set instead of two g_object_set_property
6649 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6650 * src/hildon-touch-selector.c
6651 (_create_new_column): use of hildon_gtk_tree_view_new to create
6652 the treeview, instead of use directly g_object_new
6653 (_create_new_column): update the property name "vindicator-mode" for the
6654 new one "vscrollbar-policy"
6655 * examples/hildon-date-button-example.c
6656 * examples/hildon-picker-button-multicolumn-example.c
6657 * examples/hildon-touch-selector-entry-example.c
6658 * examples/hildon-touch-selector-example.c
6659 * examples/hildon-time-button-example.c
6660 * examples/hildon-picker-button-example.c
6661 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6662 to all the treeviews inside a pannable area.
6664 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6666 * src/hildon-button.h
6667 * src/hildon-button.c (hildon_button_init)
6668 (hildon_button_set_arrangement, hildon_button_set_alignment)
6669 (hildon_button_set_title_alignment)
6670 (hildon_button_set_value_alignment)
6671 (hildon_button_set_image_alignment)
6672 (hildon_button_construct_child): New methods to set the alignment
6673 of the individual components of the button (title, value,
6674 image). Also, new method to alter the xscale and yscale properties
6675 of the GtkAlignment inside the button, so more complex layouts can
6678 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6680 * src/hildon-button.c (hildon_button_style_set)
6681 (hildon_button_class_init, hildon_button_set_arrangement)
6682 (hildon_button_construct_child): Apply style properties
6683 correctly. Use the 'image-spacing' style property too.
6685 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6687 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6688 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6691 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6693 * src/hildon-pannable-area.c,
6694 (hildon_pannable_area_size_request): Fixed problem with
6695 pannable-area size_request.
6697 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6699 Added management for the grab-focus to a child widget, like a
6700 range, we need to fade out the scrollbar when releasing.
6702 * src/hildon-pannable-area.c,
6703 (hildon_pannable_area_init): Connected the grab-focus signal to
6705 (hildon_pannable_area_grab_notify): Added this function in order
6706 to manage the situation when the grab-focus ends. We have to
6707 fade-out the scrollbar.
6709 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6711 * src/hildon-app-menu.c: Minor documentation update.
6713 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6715 * src/hildon-app-menu.c
6716 * examples/hildon-app-menu-example.c (create_menu): Update
6717 examples and documentation to explain how to connect callbacks.
6719 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6721 * examples/hildon-button-example.c
6722 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6723 hildon_stackable_window_new instead of gtk_window_new
6725 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6727 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6728 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6729 (hildon_pannable_area_set_property),
6730 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6731 (hildon_pannable_area_unrealize),
6732 (hildon_pannable_area_size_request),
6733 (hildon_pannable_area_size_allocate),
6734 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6735 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6736 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6737 (hildon_pannable_area_initial_effect),
6738 (hildon_pannable_area_redraw),
6739 (hildon_pannable_area_scroll_indicator_fade),
6740 (hildon_pannable_area_expose_event),
6741 (hildon_pannable_area_get_topmost), (synth_crossing),
6742 (hildon_pannable_area_button_press_cb),
6743 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6744 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6745 (hildon_pannable_area_motion_notify_cb),
6746 (hildon_pannable_area_button_release_cb),
6747 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6748 (hildon_pannable_area_remove),
6749 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6750 chage the code layout to a more GtkWidget like. Review the use of
6753 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6755 * examples/hildon-pannable-area-example-4.c,
6756 (main): Modified the name of the hindicator_mode to
6759 * src/hildon-pannable-area.c,
6760 (hildon_pannable_area_class_init),
6761 (hildon_pannable_area_motion_notify_cb),
6762 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6763 we have reduced the amount of signals and managed reviewed its
6764 rationale. Changed the default decelerate value.
6766 (hildon_pannable_area_add),
6767 (hildon_pannable_area_redraw): Refactored functions.
6769 (hildon_pannable_area_init),
6770 (hildon_pannable_area_get_property),
6771 (hildon_pannable_area_set_property):
6772 (hildon_pannable_draw_vscroll),
6773 (hildon_pannable_draw_hscroll),
6774 (hildon_pannable_area_initial_effect),
6775 (hildon_pannable_area_expose_event),
6776 (hildon_pannable_area_scroll),
6777 (hildon_pannable_area_button_press_cb),
6778 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6779 and vindicator_mode with hscrollbar_policy and
6780 vscrollbar_policy. Replaced hscroll and vscroll with
6781 hscroll_visible and vscroll_visible.
6783 (hildon_pannable_area_refresh): Refactor the function, remove
6784 variables and check the calls to this function, added resize
6785 conditions in case the children change their layout.
6787 (hildon_pannable_area_size_request): Added more detailed
6788 size_request calculation.
6791 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6793 * src/hildon-color-chooser.c
6794 (init_borders): use the correct gtk_border_free instead of g_free, to
6795 avoid a crash when this widget is used (ie: the three color selection
6798 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6800 * src/hildon-check-button.c,
6801 (hildon_check_button_set_active): Fixed problem when setting the
6802 active value, the widget was not redrawn.
6804 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6806 * src/hildon-pannable-area.c,
6807 (hildon_pannable_area_refresh),
6808 (hildon_pannable_area_scroll),
6809 (hildon_pannable_area_motion_notify_cb): Small code style change.
6811 (hildon_pannable_area_class_init): Default initial_hint set to
6812 FALSE, it is not in the specs.
6814 (hildon_pannable_area_initial_effect),
6815 (hildon_pannable_area_expose_event),
6816 (hildon_pannable_area_map),
6817 (hildon_pannable_area_init): Moved the launching point of the
6818 initial effect, it was in map but the sizes where not correct in
6819 that method so we do not know if we have the reproduce it. Now it
6820 is placed in the expose_event method and uses a variable to
6821 reproduce it just once.
6823 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6825 * src/hildon-pannable-area.c,
6826 (hildon_pannable_draw_vscroll),
6827 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6828 position allowed for the scrollbars.
6830 (hildon_pannable_area_size_allocate): Small style change.
6832 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6834 * src/hildon-pannable-area.c,
6835 (hildon_pannable_area_scroll_indicator_fade),
6836 (hildon_pannable_area_button_press_cb),
6837 (hildon_pannable_area_button_release_cb),
6838 (hildon_pannable_area_scroll_cb),
6839 (hildon_pannable_area_expose_event),
6840 (hildon_pannable_area_init): Added the define parameter
6841 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6842 and refactor the fade variable.
6844 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6846 * src/hildon-pannable-area.c,
6847 (hildon_pannable_area_redraw),
6848 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6849 lines, we were reimplemeting the redraw code.
6851 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6853 * src/hildon-pannable-area.c,
6854 (hildon_pannable_area_scroll_cb),
6855 (hildon_pannable_area_realize),
6856 (hildon_pannable_area_class_init): Added scroll_event management
6857 for pannable area, now we can scroll the usual desktop method.
6859 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6860 initialization of the parameters should depend on idle_id.
6862 (hildon_pannable_area_init),
6863 (hildon_pannable_area_map): Small code style modifications
6865 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6867 * src/hildon-pannable-area.c
6868 (hildon_pannable_area_button_press_cb),
6869 (hildon_pannable_area_motion_notify_cb),
6870 (hildon_pannable_area_button_release_cb),
6871 (hildon_pannable_area_size_allocate),
6872 (hildon_pannable_area_scroll_to): Improved the timeouts
6873 management, we avoid creating them each time.
6875 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6877 * src/hildon-pannable-area.c:
6878 (hildon_pannable_area_refresh),
6879 (hildon_pannable_area_motion_notify_cb),
6880 (hildon_pannable_area_class_init):
6881 * src/hildon-pannable-area.h:
6882 * src/hildon-touch-selector.c
6883 (_create_new_column):
6884 * examples/hildon-pannable-area-example-4.c:
6885 (horizontal_movement),
6886 (vertical_movement),
6888 Replaced the names of enums in the HildonPannableArea:
6889 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6890 HILDON_MOVEMENT_MODE_*
6891 - HILDON_PANNABLE_AREA_MOV_* ->
6893 - Removed HildonPannableAreaIndicatorMode, now we
6896 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6898 * examples/hildon-pannable-area-touch-grid-example.c
6899 * examples/hildon-pannable-area-touch-list-example.c: Fix
6900 compilation warnings.
6902 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6904 * src/hildon-gtk.c (hildon_gtk_button_new)
6905 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6906 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6907 images overriding the value of the "gtk-button-images" setting.
6909 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6911 * src/hildon-check-button.c (hildon_check_button_new):
6912 Instead of using a custom container, display the label and the
6913 checkbox using the standard GtkButton API.
6915 * examples/hildon-check-button-example.c (main): Don't use
6916 hildon_check_button_set_label() anymore
6918 * src/hildon-check-button.h
6919 * src/hildon-check-button.c
6920 (hildon_check_button_set_label, hildon_check_button_get_label):
6921 Set as deprecated, now we're using gtk_button_{get,set}_label()
6923 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6925 * src/hildon-pannable-area.c,
6926 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6927 GtkTreeview first line we detected it after the inclusion of the
6928 GtkWindowImpl in gtk+. We now check if the window is visible, not
6929 just if the pointer is over the window.
6930 (hildon_pannable_axis_scroll),
6931 (hildon_pannable_area_expose_event): Small style changes.
6933 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6935 * src/hildon-button.c: Update documentation.
6937 2008-08-13 Alberto Garcia <agarcia@igalia.com>
6939 * examples/hildon-button-example.c: Add a switch to show images in
6942 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6944 * doc/hildon-docs.sgml: Some docs reorganization.
6946 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6948 * examples/hildon-pannable-area-touch-list-example.c
6950 * examples/hildon-pannable-area-touch-grid-example.c
6951 (create_icon_view): Use gtk_{tree,icon}_view_new() and
6952 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
6953 Fix memory leak when setting the tree model.
6955 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
6959 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
6961 * doc/hildon.types: Remove duplicated hildon_window_get_type
6962 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
6963 documentation comment.
6965 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6967 * doc/Makefile.am: Complete list of private headers.
6969 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6971 * doc/hildon-docs.sgml
6972 * src/hildon-app-menu.c
6973 * src/hildon-bread-crumb.c
6974 * src/hildon-button.c
6976 * src/hildon-program.c
6977 * src/hildon-stackable-window.c
6978 * src/hildon-window.c: Lots of documentation updates.
6980 2008-08-12 Alberto Garcia <agarcia@igalia.com>
6982 * debian/control: Depend on Gtk 2:2.12.9-0osso3
6984 * configure.ac: Require Gtk+ 2.12.9 at least
6986 2008-08-12 Alejandro G. Castro <alex@igalia.com>
6988 * src/hildon-pannable-area.c
6989 (hildon_pannable_area_scroll_indicator_fade),
6990 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
6991 to protect the return of this timeout callbacks, avoiding deadlocks.
6993 2008-08-12 Christian Dywan <christian@imendio.com>
6996 * src/hildon-*.h: Ensure a consistent include order,
6997 include <gtk/gtk.h> instead of particular files and
6998 only include the topmost header in the gtk stack. See NB #39857
7000 2008-08-12 Christian Dywan <christian@imendio.com>
7002 * src/hildon-picker-dialog.c
7003 * src/hildon-touch-selector.c: Fix warnings about unused and
7004 uninitialized variables.
7006 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7008 * examples/Makefile.am
7009 * examples/hildon-check-button-example.c: Example of the hildon
7012 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7014 * src/hildon-window.h
7015 * src/hildon-window.c (hildon_window_class_init)
7016 (hildon_window_unset_program): Don't make
7017 hildon_window_unset_program a virtual function anymore.
7019 * src/hildon-stackable-window.c: Update documentation
7021 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7024 * doc/hildon-docs.sgml
7025 * doc/visual_index.xml
7026 * src/hildon-defines.c
7028 * src/hildon-helper.c
7029 * src/hildon-range-editor.c: Lots of documentation fixes.
7031 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7033 * examples/hildon-picker-button-multicolumn-example.c
7034 (create_touch_selector): Fix compilation warning.
7036 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7038 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7039 (hildon_pannable_area_button_release_cb)
7040 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7042 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7044 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7047 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7049 * src/hildon-bread-crumb-trail.h
7050 * src/hildon-date-editor.c
7051 * src/hildon-date-selector.c
7052 * src/hildon-pannable-area.c
7053 * src/hildon-picker-dialog.c
7054 * src/hildon-time-selector.c
7055 * src/hildon-touch-selector-entry.c
7056 * src/hildon-touch-selector.c
7057 * src/hildon-touch-selector.h: Misc documentation fixes
7059 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7061 * examples/hildon-date-editor-example.c (main): Updated date
7064 * examples/hildon-note-example.c (on_confirmation_clicked):
7065 Updated confirmation note example.
7067 * src/hildon-date-editor.c
7068 * src/hildon-note.c: Updated sample programs in documentation.
7071 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7073 * src/hildon-date-button.h:
7074 * src/hildon-picker-button.h:
7075 * src/hildon-time-button.c:
7076 * src/hildon-time-button.h:
7078 Some declarations changes to allow gtk-doc to document the widgets
7081 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7083 * src/hildon-date-button.c: Document the widget.
7084 * src/hildon-time-button.c: Document the widget.
7086 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7088 * src/hildon-picker-button.c: Document the widget.
7089 * src/hildon-touch-selector-entry.c: Document the widget.
7091 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7093 * doc/hildon-docs.sgml
7096 * src/hildon-check-button.h
7097 * src/hildon-check-button.c: New functions to create the Hildon
7101 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7103 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7105 * src/hildon-button.h
7106 * src/hildon-button.c
7107 (hildon_button_add_title_size_group)
7108 (hildon_button_add_value_size_group)
7109 (hildon_button_add_image_size_group)
7110 (hildon_button_add_size_groups): New functions to set size groups
7111 for the button labels and image.
7112 (hildon_button_new_full): Removed
7114 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7116 * src/hildon-time-selector.c
7117 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7118 in order to avoid a crash if gconf is not available
7120 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7122 * src/hildon-button.c (hildon_button_set_arrangement)
7123 (hildon_button_construct_child): Don't construct the button child
7124 before setting the arrangement.
7126 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7128 * src/hildon-program-private.h
7129 * src/hildon-program.c
7130 * src/hildon-program.h
7131 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7132 (hildon_program_peek_window_stack)
7133 (hildon_program_pop_window_stack)
7134 (hildon_program_go_to_root_window): HildonProgram now has a
7135 separate list for stackable windows. Functions are provided to
7136 manage that list with a stack-like API.
7138 * src/hildon-stackable-window.c: Stackable window management is
7139 now much simpler with the new HildonProgram API. Windows no
7140 longer need to be manually added to the program, they're
7141 automatically pushed to the top of the stack when shown.
7143 * examples/hildon-stackable-window-example.c: Updated example to
7144 reflect the API changes.
7146 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7148 * src/hildon-touch-selector.c: Comment out unimplemented
7149 hildon_touch_selector_insert_column() to avoid a compile warning.
7151 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7153 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7154 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7155 (hildon_touch_selector_set_column_selection_mode),
7156 (_hildon_touch_selector_set_model),
7157 (hildon_touch_selector_set_model):
7159 Complete review of HildonTouchSelector documentation.
7161 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7163 * doc/hildon-docs.sgml
7167 * src/hildon-gtk.c: Convenience functions for standard Gtk
7168 widgets, used to easily perform frequent operations.
7170 * src/hildon-button-helpers.h
7171 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7173 * src/hildon-helper.h
7174 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7175 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7177 * src/hildon-button.h
7178 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7180 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7182 * src/hildon-button.c (hildon_button_init)
7183 (hildon_button_set_arrangement, hildon_button_construct_child):
7184 Pack the image and the labels inside the same GtkAlignment so
7185 gtk_button_set_alignment() can be used
7187 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7189 * src/hildon-button.h
7190 * src/hildon-button.c
7191 (hildon_button_init, hildon_button_set_image)
7192 (hildon_button_set_image_position)
7193 (hildon_button_construct_child): New functions to add an image to
7196 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7198 * src/hildon-date-button.c
7199 * src/hildon-picker-button.c
7200 * src/hildon-time-button.c
7201 * src/hildon-button.c:
7202 (hildon_button_class_init): "size-flags" renamed to "size"
7203 (hildon_button_set_title): Hide the title label if set to NULL.
7205 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7207 HildonButtonFlags split into HildonButtonArrangement (to set the
7208 button layout) and HildonSizeType (which can be used for any
7211 * src/hildon-button.h
7212 * src/hildon-button.c
7213 (hildon_button_class_init)
7214 (hildon_button_set_arrangement)
7215 (hildon_button_set_property): New "size-flags"
7216 property. "arrangement-flags" renamed to "arrangement".
7217 (hildon_button_new, hildon_button_new_with_text)
7218 (hildon_button_new_full): Constructors updated to reflect type changes.
7220 * src/hildon-helper.h
7221 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7222 to set the size of a widget.
7226 * src/hildon-button-helpers.c
7227 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7229 * src/hildon-date-button.c
7230 * src/hildon-date-button.h
7231 * src/hildon-picker-button.c
7232 * src/hildon-picker-button.h
7233 * src/hildon-time-button.c
7234 * src/hildon-time-button.h: Updated widgets to reflect
7235 HildonButton API changes.
7237 * examples/hildon-button-example.c
7238 * examples/hildon-date-button-example.c
7239 * examples/hildon-picker-button-example.c
7240 * examples/hildon-picker-button-multicolumn-example.c
7241 * examples/hildon-time-button-example.c
7242 * examples/hildon-touch-selector-entry-example.c
7243 * examples/hildon-touch-selector-example.c: Updated examples to
7244 reflect HildonButton API changes.
7246 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7248 * doc/hildon-docs.sgml:
7250 * examples/Makefile.am:
7251 * examples/hildon-touch-selector-entry-example.c:
7253 * src/hildon-touch-selector-entry.c:
7254 * src/hildon-touch-selector-entry.h:
7257 Moved HildonTouchSelectorEntry from sandbox. Added its
7258 documentation and examples.
7260 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7262 * src/hildon-touch-selector.h:
7263 * examples/hildon-picker-button-multicolumn-example.c:
7264 (hildon_touch_selector_append_text_column): Add a gboolean
7265 parameter to determine if text must be centered in the column.
7267 * src/hildon-date-selector.c: (hildon_date_selector_init):
7268 * src/hildon-time-selector.c: (hildon_time_selector_init):
7269 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7270 (create_touch_selector): Update widgets and example to reflect
7273 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7275 * src/hildon-touch-selector.c:
7276 (hildon_touch_selector_set_active_iter): Set also the cursor in
7279 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7281 * doc/hildon-docs.sgml
7284 * src/hildon-toggle-button.c
7285 * src/hildon-toggle-button.h
7286 * src/hildon.h: Removed HildonToggleButton widget, a derived
7287 class is not necessary for this.
7289 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7291 * src/hildon-pannable-area.c,
7292 (hildon_pannable_area_realize),
7293 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7296 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7298 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7299 "done" button the default widget for the dialog.
7301 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7303 * src/hildon-touch-selector.c:
7304 (hildon_touch_selector_class_init),
7305 (hildon_touch_selector_get_property),
7306 (_hildon_touch_selector_set_model),
7307 (_hildon_touch_selector_has_multiple_selection),
7308 (hildon_touch_selector_has_multiple_selection):
7309 Add a "has-multiple-selection" property with a virtual
7310 has_multiple_selection() method to allow derived classes to
7311 override the default value for it. See the method and property
7312 documentation for details.
7314 * src/hildon-touch-selector.h: Add the new API.
7316 * src/hildon-picker-dialog.c: (requires_done_button): Call
7317 hildon_touch_selector_has_multiple_selection() instead of
7318 determining the need for a button itself.
7320 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7322 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7323 (_hildon_touch_selector_set_model),
7324 (hildon_touch_selector_set_model): Move working code to
7325 _hildon_touch_selector_set_mode(). Call the class method instead.
7327 * src/hildon-touch-selector.h: Add (*set_model) to
7328 HildonTouchSelectorClass.
7330 Make hildon_touch_selector_set_model() a virtual method, so that
7331 derived classes can extend it and do fancy stuff with the model.
7333 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7335 * configure.ac: Set back the tarname in AC_INIT to hildon.
7337 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7341 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7342 instead of libesd (NB#86876). Volume handling is still an open issue.
7344 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7347 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7349 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7350 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7351 derived class to ease placement of an entry widget in
7352 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7353 end, where the selector columns are packed now.
7355 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7357 * src/hildon-picker-button.c: Removed the simple _text() API.
7358 * src/hildon-picker-button.h: Likewise.
7360 * src/hildon-touch-selector.h:
7361 * src/hildon-touch-selector.c:
7362 (hildon_touch_selector_new_text),
7363 (hildon_touch_selector_append_text),
7364 (hildon_touch_selector_prepend_text),
7365 (hildon_touch_selector_insert_text):
7367 Moved the simple _text() API from HildonPickerButton to
7368 HildonTouchPicker, to provide better escalability and not to tie
7369 that API to HildonPickerButton.
7371 * examples/hildon-picker-button-example.c: (main): Example updated.
7373 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7375 * src/hildon-button.c: Updated documentation.
7377 * examples/hildon-button-example.c: Add the posibility to create
7378 the buttons using horizontal layout for title and value.
7380 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7382 * src/hildon-app-menu-private.h
7383 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7384 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7385 GtkSizeGroup for the filters, use the 'homogeneous' property of
7388 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7390 * examples/hildon-button-example.c: Updated example.
7392 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7394 * doc/hildon-docs.sgml:
7397 Update documentation.
7399 * examples/Makefile.am: Update renamed examples.
7401 * examples/hildon-picker-button-multicolumn-example.c:
7402 (create_touch_selector), (main): Update after the rename.
7404 * examples/hildon-touch-picker-example.c: Removed.
7405 * examples/hildon-touch-selector-example.c: (value_changed),
7406 (create_selector), (get_visible_content), (main): Renamed from
7407 hildon-touch-picker-example.c
7409 * src/Makefile.am: Updated renamed files.
7411 * src/hildon-date-button.c: (hildon_date_button_init),
7412 (hildon_date_button_get_date), (hildon_date_button_set_date):
7413 * src/hildon-date-selector.c: (hildon_date_selector_init),
7414 (_custom_print_func), (_update_day_model),
7415 (_manage_selector_change_cb),
7416 (hildon_date_selector_select_current_date),
7417 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7418 * src/hildon-date-selector.h:
7419 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7420 (hildon_picker_button_set_property),
7421 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7422 (hildon_picker_button_init), (hildon_picker_button_new_text),
7423 (hildon_picker_button_append_text),
7424 (hildon_picker_button_prepend_text),
7425 (hildon_picker_button_insert_text),
7426 (hildon_picker_button_set_selector),
7427 (hildon_picker_button_get_selector):
7428 * src/hildon-picker-button.h:
7429 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7430 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7431 (_update_title_on_selector_changed_cb), (requires_done_button),
7432 (_hildon_picker_dialog_set_selector),
7433 (hildon_picker_dialog_set_selector),
7434 (hildon_picker_dialog_get_selector):
7435 * src/hildon-picker-dialog.h:
7436 * src/hildon-time-button.c: (hildon_time_button_init),
7437 (hildon_time_button_get_time), (hildon_time_button_set_time):
7438 * src/hildon-time-selector.c: (hildon_time_selector_init),
7439 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7440 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7441 * src/hildon-time-selector.h:
7444 Massive code updates after the rename.
7446 * src/hildon-touch-picker.c: Removed.
7447 * src/hildon-touch-picker.h: Removed.
7449 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7450 (hildon_touch_selector_init), (hildon_touch_selector_map),
7451 (hildon_touch_selector_remove), (_default_print_func),
7452 (_selection_changed_cb), (_create_new_column),
7453 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7454 (hildon_touch_selector_append_text_column),
7455 (hildon_touch_selector_remove_column),
7456 (hildon_touch_selector_set_column_attributes),
7457 (hildon_touch_selector_insert_column),
7458 (hildon_touch_selector_get_num_columns),
7459 (hildon_touch_selector_get_column_selection_mode),
7460 (hildon_touch_selector_set_column_selection_mode),
7461 (hildon_touch_selector_set_print_func),
7462 (hildon_touch_selector_get_print_func),
7463 (hildon_touch_selector_get_active_iter),
7464 (hildon_touch_selector_set_active_iter),
7465 (hildon_touch_selector_get_selected_rows),
7466 (hildon_touch_selector_get_model),
7467 (hildon_touch_selector_set_model),
7468 (hildon_touch_selector_get_current_text),
7469 (_hildon_touch_selector_center_on_selected_items):
7470 * src/hildon-touch-selector.h: Renamed from
7471 hildon-touch-picker.[ch]
7473 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7474 references, code examples, and related documentation.
7476 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7478 * doc/hildon-docs.sgml
7481 * src/hildon-toggle-button.c
7482 * src/hildon-toggle-button.h
7483 * src/hildon.h: New HildonToggleButton widget.
7485 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7487 * src/hildon-button.c: Add API documentation.
7488 (hildon_button_set_size_groups): Check input parameters
7490 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7492 * src/hildon-pannable-area.c
7493 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7494 effect after reaching the movement thredshold. This way we start
7495 using the distance after passing the thredshold.
7497 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7499 * src/hildon-button.c: (hildon_button_set_property): Use the
7500 appropriate g_value_get_flags() method.
7502 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7504 * doc/hildon-docs.sgml:
7507 Add the touch pickers, picker dialogs, and picker button widgets
7508 to the documentation.
7510 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7512 * src/hildon-button.c: (hildon_button_set_property),
7513 (hildon_button_class_init): Make "arrangement-flags" a proper
7514 G_TYPE_FLAGS derived property.
7516 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7518 * examples/Makefile.am: Add below examples.
7519 * examples/hildon-date-button-example.c:
7520 * examples/hildon-picker-button-example.c:
7521 * examples/hildon-picker-button-multicolumn-example.c:
7522 * examples/hildon-time-button-example.c:
7523 * examples/hildon-touch-picker-example.c:
7525 Add examples for the recently added touch pickers,
7526 picker dialogs, and picker button widgets.
7528 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7530 * src/hildon-button.c: Add some API documentation
7532 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7534 * src/hildon-button.h
7535 * src/hildon-button.c
7537 (hildon_button_new_with_text): New constructor to create a button
7538 with no text at all.
7539 (hildon_button_init, hildon_button_set_arrangement)
7540 (hildon_button_set_title, hildon_button_set_value)
7541 (hildon_button_set_text)
7542 (hildon_button_construct_child): Hide the value when it's not used
7543 so the rest of the text is properly aligned.
7544 Allow creating buttons with arbitrary widgets inside (not just
7545 title/value labels).
7547 * examples/hildon-button-example.c (vertical_buttons_window)
7548 (horizontal_buttons_window): Update example to use new API.
7550 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7552 * src/Makefile.am: Added HildonTimeButton.
7553 * src/hildon-time-button.c: Added missing LGPL header.
7554 * src/hildon-time-button.h: Added missing LGPL header.
7555 * src/hildon.h: Add hildon-time-button.h
7557 Copied HildonTimeButton from sandbox to trunk. Future work on this
7558 widget must take place in trunk.
7560 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7562 * src/Makefile.am: Added HildonDateButton.
7563 * src/hildon-date-button.c: Update includes.
7564 * src/hildon.h: Add hildon-date-button.h
7566 Copied HildonDateButton from sandbox to trunk. Future work on this
7567 widget must take place in trunk.
7569 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7571 * src/Makefile.am: Added HildonPickerButton.
7572 * src/hildon-picker-button.h: Update includes.
7573 * src/hildon.h: Add hildon-picker-button.h
7575 Copied HildonPickerButton from sandbox to trunk. Future work on
7576 this widget must take place in trunk.
7578 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7580 * src/Makefile.am: Added HildonPickerDialog.
7581 * src/hildon-picker-dialog.c: Update includes.
7582 * src/hildon.h: Add hildon-picker-dialog.h
7584 Copied HildonPickerDialog from sandbox to trunk. Future work
7585 on this widget must take place in trunk.
7587 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7589 * src/Makefile.am: Added HildonTimeSelector.
7590 * src/hildon.h: Add hildon-time-selector.h
7592 Copied HildonTimeSelector widget from sandbox to trunk. Future
7593 work on this widget must happen in trunk.
7595 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7597 * src/Makefile.am: Added HildonDateSelector.
7598 * src/hildon.h: Add hildon-date-selector.h
7600 Copied HildonDateSelector widget from sandbox to trunk. Future
7601 work on this widget must happen in trunk.
7603 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7605 * src/Makefile.am: Added HildonTouchPicker.
7606 * src/hildon-touch-picker.c: Update includes.
7607 * src/hildon.h: Add hildon-touch-picker.h
7609 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7610 on this widget must happen in trunk.
7612 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7614 * src/hildon-pannable-area.c:
7615 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7617 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7619 * examples/hildon-app-menu-example.c (main): Let the window
7622 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7624 * src/hildon-pannable-area.c
7625 (hildon_pannable_area_class_init): Set the min value of the
7626 overshoot properties to zero, which points out that not
7627 overshooting allowed.
7629 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7631 Modified the procedure to get the widget at a point inside the
7632 pannable area when using the movement type signals. Now the user
7633 has to call a function to get the child, that way we just
7634 calculate the child in case the user really want to use it and not
7637 * src/hildon-marshalers.list: Modified the marshallers, now we do
7638 not have the widget as a parameter.
7640 * src/hildon-pannable-area.c
7641 (hildon_pannable_area_motion_notify_cb),
7642 (hildon_pannable_area_class_init),
7643 (hildon_pannable_get_child_widget_at): Removed the widget
7644 parameter from the signal callback. We have also refactored the
7645 emission of the signals.
7647 * src/hildon-pannable-area.h: Added a new method to the API to
7648 calculate a widget at a point inside the pannable area,
7649 hildon_pannable_get_child_widget_at.
7651 * examples/hildon-pannable-area-example-4.c
7652 (horizontal_movement): Modified the example to use the new API,
7653 added condition to control which widget is under the event. This
7654 way we can avoid scrolling laterally over other widgets.
7656 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7658 * src/hildon-pannable-area.c
7659 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7660 modes, we stop getting the pointer events due to returning the
7661 callback without properly calling the get pointer again. Fixed
7662 also an error using the hscroll and vscroll.
7664 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7666 * src/hildon-app-menu-private.h
7667 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7668 (hildon_app_menu_button_release, hildon_app_menu_init)
7669 (hildon_app_menu_class_init): Don't hide the menu on button
7670 release if the user didn't press outside first.
7672 * src/hildon-window.h
7673 * src/hildon-window.c (hildon_window_toggle_menu)
7674 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7675 hildon_window_toggle_menu a virtual function for the stackable
7676 window to override it.
7678 * src/hildon-stackable-window.h
7679 * src/hildon-stackable-window-private.h
7680 * src/hildon-stackable-window.c
7681 (hildon_stackable_window_realize)
7682 (hildon_stackable_window_finalize)
7683 (hildon_stackable_window_class_init)
7684 (hildon_stackable_window_init)
7685 (hildon_stackable_window_set_main_menu): New function to set the
7686 app menu of a HildonStackableWindow.
7688 * examples/hildon-app-menu-example.c: Remove the button to show
7689 the app menu, now it'll be shown when clicking on the title bar
7692 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7694 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7695 set the widget name if the arrangement flags do not specify
7698 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7700 * src/hildon-button.c: (hildon_button_set_property),
7701 (hildon_button_class_init), (hildon_button_new_full),
7702 (hildon_button_set_arrangement): Added "arrangement-flags"
7705 Make the HildonButtonFlags a construction-only property, to allow
7706 subclasses to set them properly.
7708 2008-07-21 Tim Janik <timj@imendio.com>
7710 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7711 insertion position after backspace, so additional digits are appended,
7714 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7716 * src/hildon-pannable-area.c,
7717 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7718 TODO list, it was complete and removed the g_debug and g_print
7721 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7723 Added the movement modes to the hildon-pannable-area, with this
7724 modes the developers can control in which directions the widget
7725 can scroll. They can also connect to signals in order to do
7726 something when that happens, allowing applications scroll. There
7727 is an example uploaded showing how to use it.
7729 * examples/Makefile.am:
7730 * examples/hildon-pannable-area-example-4.c: Added this example of
7731 an application using the modes.
7733 * src/hildon-marshalers.list: Added a new marshaller for the new
7736 * src/hildon-pannable-area.h: Added new enumerations and flags in
7737 order to control the movement modes and the new signals to warn
7738 about the movements in the area.
7740 * src/hildon-pannable-area.c:
7741 (hildon_pannable_axis_scroll),
7742 (hildon_pannable_area_scroll),
7743 (hildon_pannable_area_motion_notify_cb),
7744 (hildon_pannable_area_get_property),
7745 (hildon_pannable_area_set_property),
7746 (hildon_pannable_area_map),
7747 (hildon_pannable_area_class_init),
7748 (hildon_pannable_area_init),
7749 (hildon_pannable_area_jump_to): Added the modes to control the
7750 movement in the widget. We have added properties to control it,
7751 signals to warn about the movements and refactored some code.
7753 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7755 Changes required in order to allow vfast_factor set to zero to
7758 * src/hildon-pannable-area.c:
7759 (hildon_pannable_area_button_press_cb): Changed the condition, it
7760 is required for not allowing click when vfast_factor is zero.
7761 (hildon_pannable_area_timeout): Initialized velocity variables
7762 when we stop moving, it was less than 1 but not zero and we need
7763 to check zero in some situations.
7764 (hildon_pannable_area_class_init): Changed the default value of
7765 the speed factor, now the button_press is just sent in case the
7766 speed is 2 per cent of the max speed.
7767 (hildon_pannable_area_init): Initialization with 0.
7769 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7771 * src/hildon-pannable-area.c,
7772 (hildon_pannable_area_get_topmost): replaced
7773 gdk_window_get_children with gdk_window_peek_children, this way we
7774 do not have to free the list because it is not a copy.
7776 (hildon_pannable_axis_scroll),
7777 (hildon_pannable_area_scroll),
7778 (hildon_pannable_area_timeout),
7779 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7780 two parameters that were only used inside the
7781 hildon_pannable_area_scroll function.
7783 * examples/hildon-pannable-area-example.c,
7784 (get_sawtooth_label): Fixed small memory leak.
7786 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7788 More checks for the case where the overshoot is bigger than the
7791 * src/hildon-pannable-area.c:
7792 (hildon_pannable_draw_vscroll),
7793 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7794 to draw the slider of the scrollbar under the other scrollbar.
7795 (hildon_pannable_area_expose_event): added new checks to control
7796 the drawing of the overshooting area rectangle, in case it is too
7797 big for the area of the widget.
7798 (hildon_pannable_area_size_allocate): add more checks to avoid
7799 setting a position to the child widget outside the area.
7801 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7803 * src/hildon-pannable-area.c
7804 (hildon_pannable_area_size_allocate): Added conditions to control
7805 when overshooting is bigger than the allocated space for the
7806 children, this avoids negative allocations.
7808 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7810 * doc/hildon-docs.sgml
7812 * examples/Makefile.am
7813 * examples/hildon-button-example.c
7815 * src/hildon-button.c
7816 * src/hildon-button.h
7817 * src/hildon.h: Initial version of the new HildonButton widget,
7820 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7822 * src/hildon-pannable-area.c:
7823 (hildon_pannable_area_button_press_cb),
7824 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7825 (hildon_pannable_area_motion_notify_cb),
7826 (hildon_pannable_area_button_release_cb),
7827 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7828 (hildon_pannable_area_jump_to_child):
7830 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7832 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7834 * examples/Makefile.am
7835 * examples/hildon-pannable-area-touch-grid-example.c
7836 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7837 the Hildon Touch List and Hildon Touch Grid using the
7838 HildonPannableArea widget.
7840 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7842 * src/hildon-pannable-area.c,
7843 (hildon_pannable_area_button_press_cb),
7844 (hildon_pannable_area_refresh),
7845 (hildon_pannable_area_scroll),
7846 (hildon_pannable_area_motion_notify_cb),
7847 (hildon_pannable_area_button_release_cb),
7848 (hildon_pannable_area_expose_event),
7849 (hildon_pannable_area_add),
7850 (hildon_pannable_area_remove),
7851 (hildon_pannable_area_realize),
7852 (hildon_pannable_area_size_allocate),
7853 (hildon_pannable_area_class_init),
7854 (hildon_pannable_area_init),
7855 (hildon_pannable_area_scroll_to_child),
7856 (hildon_pannable_area_jump_to_child): Fixed the problem of
7857 removing the child from the GtkBin, we have rearranged the widget
7858 hierarchy, now there is no GtkAlignment which was not doing
7859 anything interesting but breaking some of the assumptions of
7860 GtkContainer. Now developers if they want to add a GtkAlignment
7861 they could, but it is not inside the area.
7863 We had to review the whole allocation/expose process, now it is
7864 improved and we save at least three signals which would be saving
7865 some time when rendering the widget. The allocation of the
7866 scrollbars is now made in the allocate method as usual.
7868 We have also added some conditions in order to control when there
7869 is no child of the pannable area. Maybe we will need more work
7872 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7874 * src/hildon-pannable-area.c,
7875 (hildon_pannable_area_dispose): Released the fade-out timeout when
7876 disposing the widget.
7878 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7880 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7881 zero, we are going to use that property in order to deactivate the
7883 (hildon_pannable_axis_scroll),
7884 (hildon_pannable_area_size_allocate): Added conditions to control
7885 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7886 call, now it is called in all situations and we can remove calls
7887 in the allocate method.
7888 (hildon_pannable_area_map): Control the situation when
7889 overshoot_max is zero, we do not need the timeout.
7890 (hildon_pannable_area_class_init): Added documentation in order to
7891 point out that setting zero to overshoot_max means deactivate
7894 NOTE: removed trailing whitespaces from my previous comments of
7897 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7899 * src/hildon-pannable-area.c
7900 (hildon_pannable_area_get_property),
7901 (hildon_pannable_area_set_property),
7902 (hildon_pannable_area_map),
7903 (hildon_pannable_area_class_init),
7904 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7905 to cause the widget give a hint about its panning abilities upon
7908 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7910 * src/hildon-pannable-area.c: Several documentation improvements.
7912 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7914 * src/hildon-program.c
7915 * src/hildon-stackable-window.c: Update documentation.
7917 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7919 * src/hildon-stackable-window.c (get_previous_window_if_last):
7920 Renamed get_last_window()
7921 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7922 (hildon_stackable_window_unset_program):
7924 (get_previous_window_if_last):
7925 Detect if the window hasn't been added to a HildonProgram.
7927 2008-06-26 Alejandro G. Castro <alex@igalia.com>
7929 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
7931 * src/hildon-pannable-area.c
7932 (hildon_pannable_area_button_press_cb),
7933 (hildon_pannable_axis_scroll),
7934 (hildon_pannable_area_scroll),
7935 (hildon_pannable_area_timeout),
7936 (hildon_pannable_calculate_vel_factor),
7937 (hildon_pannable_area_get_property),
7938 (hildon_pannable_area_set_property),
7939 (hildon_pannable_area_class_init),
7940 (hildon_pannable_area_init),
7941 (hildon_pannable_area_scroll_to),
7942 (hildon_pannable_area_jump_to),
7943 (hildon_pannable_area_scroll_to_child),
7944 (hildon_pannable_area_jump_to_child):
7945 * src/hildon-pannable-area.h: Added the new API functions:
7946 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
7947 hildon_pannable_area_scroll_to_child,
7948 hildon_pannable_area_jump_to_child
7951 * examples/Makefile.am
7952 * examples/hildon-pannable-area-example-2.c
7953 * examples/hildon-pannable-area-example-3.c: Added these two new
7954 examples in order to test and show how the new APIs work.
7956 2008-06-25 Alberto Garcia <agarcia@igalia.com>
7958 * examples/hildon-stackable-window-example.c (new_window):
7959 * src/Makefile.am (noinst_HEADERS):
7960 * src/hildon-program.c (hildon_program_go_to_root_window):
7961 * src/hildon-program.h:
7962 * src/hildon-stackable-window-private.h:
7963 * src/hildon-stackable-window.c:
7964 * src/hildon-stackable-window.h:
7965 Create hildon-stackable-window-private.h
7966 Move hildon_stackable_window_go_to_root_window() to HildonProgram
7968 * examples/hildon-app-menu-example.c (create_menu):
7969 * examples/hildon-hvolumebar-insensitive-example.c (main):
7970 * examples/hildon-hvolumebar-timer-example.c (on_idle):
7971 * examples/hildon-toolbar-seekbar-example.c (main):
7972 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
7973 * src/hildon-banner.c (hildon_banner_set_property):
7974 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
7975 Fix compilation warnings
7977 * src/hildon-window.c:
7980 2008-06-24 Alberto Garcia <agarcia@igalia.com>
7982 * src/hildon-stackable-window.c
7983 (hildon_stackable_window_unset_program):
7984 Calculate correctly whether to show the previous window if the
7985 last one is removed from the stack.
7986 (hildon_stackable_window_go_to_root_window):
7987 Send delete events starting from the topmost window.
7988 Stop if one of the windows is not destroyed.
7990 (hildon_stackable_window_delete_event)
7991 (hildon_stackable_window_class_init):
7992 Ignore the delete event if the window is not the topmost one.
7994 2008-06-24 Alejandro G. Castro <alex@igalia.com>
7996 * src/hildon-pannable-area.c
7997 (hildon_pannable_area_expose_event): Fixed a problem when
7998 selecting the background color of the scrollbars.
8000 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8002 * examples/hildon-stackable-window-example.c
8003 * src/hildon-stackable-window.c
8004 * src/hildon-stackable-window.h
8005 hildon_stackable_window_go_home() renamed to
8006 hildon_stackable_window_go_to_root_window()
8007 Send delete events to windows rather than closing them with
8008 gtk_widget_destroy()
8010 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8012 * src/hildon-pannable-area.c
8013 (hildon_pannable_area_button_release_cb): Fix overshooting in
8016 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8018 * src/hildon-pannable-area.c
8019 (hildon_pannable_area_init): Initially show the scroll indicators.
8020 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8022 Add initial effect showing the widget is pannable.
8024 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8026 * src/hildon-pannable-area.c
8027 (hildon_pannable_area_class_init)
8028 (hildon_pannable_area_set_property)
8029 (hildon_pannable_area_get_property)
8030 (hildon_pannable_area_button_press_cb):
8031 New 'velocity_fast_factor' property to decide which velocity is
8034 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8036 * src/hildon-pannable-area.c
8037 (hildon_pannable_draw_hscroll)
8038 (hildon_pannable_draw_vscroll):
8039 Use float variables to calculate the size of the scrollbars to
8040 avoid error propagation and resizing during scrolling.
8042 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8044 * src/hildon-pannable-area.c
8045 (hildon_pannable_draw_vscroll)
8046 (hildon_pannable_draw_hscroll):
8047 Define a minimum size for the scroll bars
8049 * src/hildon-stackable-window.c
8050 (hildon_stackable_window_go_home): Fix compilation warning
8051 (get_last_window): Minor optimizations
8052 (hildon_stackable_window_class_init): Fix initialization of
8055 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8057 * src/hildon-stackable-window.c: Fixed typos in doc
8059 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8061 * src/hildon-pannable-area.c
8062 (hildon_pannable_area_scroll):
8063 Calculate here whether we need to scroll instead of using the booleans
8064 that tell us whether to /draw/ the scrolling bars.
8066 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8068 * src/hildon-app-menu.h
8070 * src/hildon-app-menu.c
8071 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8072 multiple filter groups related code and API. Now we support only
8074 * examples/hildon-app-menu-example.c:
8076 Update to reflect API changes.
8078 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8080 * src/hildon-stackable-window.c
8081 (hildon_stackable_window_class_init):
8082 Add hildon_stackable_window_realize.
8083 (hildon_stackable_window_realize):
8084 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8085 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8086 to apply theming and behavior specific to HildonStackableWindow
8089 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8091 * src/hildon-note.c (hildon_note_button_release):
8092 Close information notes also when tapping on them
8094 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8096 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8097 ELASTICITY, refactor and review, fix some issues with drawing
8100 * src/hildon-pannable-area.c:
8101 (hildon_pannable_area_button_press_cb): removed the conditions to
8102 avoid clicks when overshooting. It is not required
8104 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8105 define. Refatored and reviewed the code, now we do not need to
8106 manage velocity in motion_notify.
8108 (hildon_pannable_area_motion_notify_cb): We have moved the code
8109 that controls the area_scroll to the axis_scroll function and get
8110 rid of duplicated code.
8112 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8114 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8116 (hildon_pannable_draw_vscroll),
8117 (hildon_pannable_draw_hscroll): Fixed the problems with the
8118 scrollbar drawing, now we do not use two surfaces, it is easier
8119 and saves resources.
8121 (hildon_pannable_area_get_property): Style modification.
8123 (hildon_pannable_area_class_init): Changed some default values.
8125 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8127 * src/hildon-stackable-window.c: Fix some typos in the
8130 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8132 * src/hildon-dialog.c:
8133 Change indentation style
8136 (hildon_note_button_release):
8137 Use root coordinates to check if the release event happened
8140 * src/hildon-app-menu.c
8141 (hildon_app_menu_button_release):
8142 Remove unnecessary check
8144 * examples/hildon-app-menu-example.c
8146 Add cast to fix warning
8148 * src/hildon-app-menu.c
8149 (hildon_app_menu_class_init):
8150 New inner-border style property.
8151 Set all default spacings to 16
8152 (hildon_app_menu_init):
8153 Use vertical-spacing to set the space between filter buttons and
8154 regular menu buttons.
8155 Set the default container border using the inner-border value.
8157 * examples/hildon-app-menu-example.c
8159 Don't set the menu border explicitly, now we have the inner-border
8160 style property for that.
8162 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8164 * src/hildon-app-menu.c (hildon_app_menu_init):
8165 Make the window modal
8167 * src/hildon-note.c (hildon_note_map)
8168 * src/hildon-app-menu.c (hildon_app_menu_map):
8169 Destroy the grab window if we're unable to grab the pointer
8171 * src/hildon-app-menu-private.h
8172 * src/hildon-app-menu.c
8173 (hildon_app_menu_init, hildon_app_menu_finalize)
8174 (hildon_app_menu_map, hildon_app_menu_unmap)
8175 (hildon_app_menu_button_release)
8176 (grab_transfer_window_get):
8177 Bring back the grab window
8178 (hildon_app_menu_realize):
8179 Decorate the window, set WM hint for Matchbox
8181 * src/hildon-note.c (hildon_note_realize):
8182 * src/hildon-banner.c (hildon_banner_realize):
8183 Add WM hints for Matchbox
8185 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8187 * src/hildon-app-menu-private.h
8188 * src/hildon-app-menu.c
8189 (hildon_app_menu_init, hildon_app_menu_finalize)
8190 (hildon_app_menu_map, hildon_app_menu_unmap)
8191 (hildon_app_menu_button_release):
8192 Remove the grab window, it's not needed anymore
8194 * src/hildon-program.c
8195 Fixed typo in documentation
8197 * src/hildon-app-menu.h
8198 * src/hildon-app-menu.c
8199 * examples/hildon-app-menu-example.c
8200 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8202 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8205 Added new transfer_window and close_if_pressed_outside private
8207 (hildon_note_rebuild):
8208 Don't add a cancel button to the information note. It will be
8209 closed when tapping outside
8210 Remove the comment about the OK button in the documentation
8211 (hildon_note_realize):
8212 Set the notification type hint
8213 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8214 Grab/ungrab pointer and keyboard if the note has to be closed when
8216 (hildon_note_button_release):
8217 Close the note when tapping outside (if applicable)
8219 * src/hildon-app-menu.c
8220 Grab/ungrab pointer and keyboard on map/unmap
8221 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8222 Close the menu on button release, not button press
8224 * src/hildon-banner.c
8225 (hildon_banner_set_property)
8226 (hildon_banner_check_position):
8227 Make the banner use the full width of the screen
8228 (hildon_banner_show_information)
8229 (hildon_banner_show_information_with_markup):
8230 Don't display an icon by default
8232 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8234 Added fading scrollbars and adapted all the overshooting code to
8235 horizontal scrolling. We have also fixed bugs with overshooting
8236 and current fading implementation.
8238 * src/hildon-pannable-area.c
8239 (hildon_pannable_area_scroll_indicator_fade): Time out function
8240 used to change the transparency of the scrollbars.
8242 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8243 control and fixed a problem with fading, we now remove the fade
8244 timeout before adding a new one.
8246 (hildon_pannable_axis_scroll):
8247 (hildon_pannable_area_scroll):
8248 (hildon_pannable_area_timeout): Added this functions so we can use
8249 the scroll code both for vertical and horizontal.
8251 (hildon_pannable_area_motion_notify_cb):
8252 (hildon_pannable_area_button_release_cb): Added the horizontal
8253 scrolling control, fixed a problem with the overshooting timeout.
8255 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8256 painting of the scrolls.
8258 (hildon_pannable_draw_vscroll):
8259 (hildon_pannable_draw_hscroll):
8260 (hildon_pannable_area_expose_event):
8261 Draw both scrollbars and rectangles in the overshooting area.
8263 (hildon_pannable_area_get_property):
8264 (hildon_pannable_area_set_property):
8265 Modified the overshoot property to overshoot_max
8267 (hildon_pannable_area_map):
8268 Replaced the comments symbols.
8270 (hildon_pannable_area_size_allocate):
8271 (hildon_pannable_area_class_init):
8272 (hildon_pannable_area_init): Added horizontal scroll, fading
8273 effect properties, fixed a problem when overshooting in the bottom
8276 * examples/hildon-pannable-area-example.c:
8277 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8278 looks better in the example.
8280 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8282 * src/hildon-window.c
8283 * src/hildon-window.h
8284 (hildon_window_class_init)
8285 (hildon_window_unset_program)
8286 (hildon_window_unset_program_real):
8287 Make unset_program a virtual function
8289 * src/hildon-stackable-window.c
8290 * src/hildon-stackable-window.h
8291 Added hildon_stackable_window_go_home()
8293 * examples/Makefile.am
8294 * examples/hildon-stackable-window-example.c
8295 HildonStackableWindow example
8297 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8299 * hildon-pannable-area.c: Added the overshoot property and removed
8300 the OVERSHOOT define. Fixed an indent style error.
8301 (hildon_pannable_area_motion_notify_cb):
8302 (hildon_pannable_area_get_property):
8303 (hildon_pannable_area_set_property): Add overshoot property.
8305 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8308 (hildon_pannable_area_class_init): Installed the new property.
8310 * hildon-pannable-area-example.c: Added a sawtooth function, this
8311 way it is easier to check the movement in the pannable.
8312 (get_sawtooth_label): Added this function.
8313 (main): Now we get the labels from the new get_sawtooth_label
8316 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8318 * src/hildon-app-menu.h
8319 * src/hildon-app-menu.c
8320 Renamed API variables for consistency
8322 (hildon_app_menu_popup): Use also the default window size to
8323 decide where to place the menu
8325 (hildon_app_menu_init, hildon_app_menu_class_init): New
8326 external-border style property
8328 2008-05-26 Michael Natterer <mitch@imendio.com>
8330 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8331 widget_class->tap_and_hold_setup signal slot doesn't exist any
8332 longer, stop overriding it.
8334 (hildon_time_editor_init): g_signal_connect() to the
8335 tap-and-hold-setup signal instead.
8337 (hildon_time_editor_entry_keypress): add cast to fix warning.
8339 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8341 * doc/hildon-docs.sgml
8343 * examples/Makefile.am
8344 * examples/hildon-app-menu-example.c
8346 * src/hildon-app-menu-private.h
8347 * src/hildon-app-menu.c
8348 * src/hildon-app-menu.h
8350 New HildonAppMenu widget
8352 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8354 Rearranged the inheritance of the pannable area, now it inherits
8355 from GtkBin. This will allow us to control the event_window and
8356 the allocation process of the widget, required for some effects.
8358 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8359 GtkBin structures. * src/hildon-pannable-area.c: Added the
8360 event_window variable.
8361 (hildon_pannable_area_button_press_cb):
8362 (hildon_pannable_area_button_release_cb):
8363 (hildon_pannable_area_motion_notify_cb):
8364 Changed the signature of the method, now we override the event
8365 callback instead of connecting to the signal.
8367 (hildon_pannable_area_realize):
8368 (hildon_pannable_area_unrealize):
8369 (hildon_pannable_area_map):
8370 (hildon_pannable_area_unmap):
8371 (hildon_pannable_area_size_allocate):
8372 Added functions to control the widget construction. We add a
8373 INPUT_ONLY window and we put it over the widgets inside the
8374 container, this event_window handles the events.
8376 (hildon_pannable_area_class_init):
8377 Replaced the signal connections with overrides of the event
8380 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8382 Bouncing effect added when touching the borders, you can change
8383 the elasticity of the border changing the ELASTICITY define.
8385 * src/hildon-pannable-area.c: Added ELASTICITY define.
8386 (hildon_pannable_area_timeout): Added inverse velocity when
8387 touching the border of the child widget, that causes a bounce.
8389 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8391 Improved performance, we now do not go to the X server in order to
8392 get the list of window children. Apparently the effect is the
8393 same, we have to be careful and check if this breaks something in
8396 * src/hildon-pannable-area.c:
8397 (get_ordered_children): Removed this function.
8398 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8399 the children windows function with gdk_window_get_children.
8401 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8403 * src/hildon-pannable-area.c:
8404 (hildon_pannable_area_dispose): Fixed a crash when closing the
8405 window and kinetics is activated.
8407 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8409 * src/hildon-pannable-area.h
8410 * src/hildon-pannable-area.c
8411 Changed indentation style to meet the one used in Hildon
8413 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8415 Reviewed the interaction of the AUTO mode, now we use the time
8416 attribute of the events and calculate the velocity in the motion,
8417 doing a gimp like calculation. The velocity is calculated in each
8418 motion event using the last velocity and the current one, the
8419 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8421 * src/hildon-pannable-area.c: Replaced the time based algorithm
8423 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8424 timeout for the AUTO mode when we are still moving the cursor. We
8425 added also the velocity calculation in this function.
8426 (hildon_pannable_area_button_release_cb): launch the timeout in
8427 case we are in AUTO mode. There are still some constants here that
8428 come from the old implementation that should be reviewed and
8431 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8433 * doc/hildon-docs.sgml
8436 * src/hildon-stackable-window.c
8437 * src/hildon-stackable-window.h
8439 New HildonStackableWindow widget
8441 * examples/hildon-dialog-example.c
8442 * examples/hildon-pannable-area-example.c
8445 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8447 * src/hildon-dialog.c
8448 (hildon_dialog_new_with_buttons): New constructor.
8450 * examples/hildon-dialog-example.c
8451 (main): Update the example to use the new
8452 hildon_dialog_new_with_buttons().
8454 * examples/hildon-pannable-area-example.c
8455 (main): Update example.
8457 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8459 * doc/hildon-docs.sgml
8461 Added HildonPannableArea to the documentation.
8463 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8465 * doc/visual_index.xml
8466 Fix reference to HildonLoginDialog in documentation
8468 * doc/hildon-docs.sgml
8470 * examples/Makefile.am
8471 * examples/hildon-dialog-example.c
8473 * src/hildon-dialog.c
8474 * src/hildon-dialog.h
8476 New HildonDialog widget.
8478 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8480 * src/hildon-pannable-area.c
8481 Merge latest changes (r4318, r4342) from libmokoui trunk
8483 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8485 * examples/Makefile.am
8486 * examples/hildon-pannable-area-example.c
8488 * src/hildon-pannable-area.c
8489 * src/hildon-pannable-area.h
8491 New HildonPannableArea widget.
8493 2008-04-15 18:05:19 <timj@imendio.com>
8495 * src/hildon-banner.c: revert the recent change, that introduced
8496 gtk_window_present() calls. this reopens:
8497 Bug 78481 - [freetest] information banners are hidden under browser menu
8498 But resolves another variant of:
8499 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8501 2008-04-15 13:21:13 <timj@imendio.com>
8503 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8504 recreated its layout, spotted by Kris. this fixes all remaining
8505 artefacts and stability issues with the banner code. in particular:
8506 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8508 2008-04-14 16:52:59 <timj@imendio.com>
8510 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8511 operating on unrealized widgets, fixes:
8512 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8514 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8516 2008-04-09 Kristian Rietveld <kris@imendio.com>
8518 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8519 makes banner disappear.
8520 Fixes: NB#79182: info banner flickering with certain message lengts.
8522 * src/hildon-banner.c (hildon_banner_constructor),
8523 (hildon_banner_init), (hildon_banner_set_text),
8524 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8525 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8526 FALSE, reset size requests of label and banner,
8527 (force_to_wrap_truncated): when the text is too wide, always enforce
8528 the maximum possible width instead of recalculating it from the
8529 layout; enforce the maximum banner height of 3 lines,
8530 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8531 nicer wrapping and no truncated chars if space gets tight.
8533 * src/hildon-banner-private.h: add has_been_wrapped and
8534 has_been_truncated fields.
8536 2008-04-07 Sven Herzberg <sven@imendio.com>
8538 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8539 local values in hildon_date_editor_size_allocate
8541 * src/hildon-date-editor.c: moved the real allocation code into the
8544 2008-04-07 Sven Herzberg <sven@imendio.com>
8546 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8547 local values in hildon_date_editor_size_allocate
8549 * src/hildon-date-editor.c: merged the two if() branches together
8551 2008-04-07 Sven Herzberg <sven@imendio.com>
8553 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8554 local values in hildon_date_editor_size_allocate
8556 * src/hildon-date-editor.c: changed the arguments of the if()
8559 2008-04-07 Sven Herzberg <sven@imendio.com>
8561 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8562 local values in hildon_date_editor_size_allocate
8564 * src/hildon-date-editor.c: split the calculation of the allocation
8565 from the real allocation
8567 2008-03-27 Michael Natterer <mitch@imendio.com>
8569 Fixes: NB#81696: The passcode is not overwritten even after
8572 * src/hildon-code-dialog.c
8573 (hildon_code_dialog_button_clicked)
8574 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8575 because that doesn't overwrite selected text. Instead, emit the
8576 "commit" signal on the entry's im_context so the entry's normal
8577 insert logic is triggered. Set the cursor to the end of the entry
8578 after each insert operation so that we *only* insert in the middle
8579 of the text if something was selected.
8581 2008-03-27 Michael Natterer <mitch@imendio.com>
8583 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8584 selector cannot be opened
8586 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8587 when the popup color selector is created. Please connect to this
8588 signal in order to set the dialog's help ID.
8590 2008-03-25 Sven Herzberg <sven@imendio.com>
8592 Fixes: MB#1212: Hide info banners (infoprints) on click
8594 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8595 extracted the close event simulation into an extra function
8596 (hildon_banner_button_press_event): simulate a close event and destroy
8597 the widget if the event wasn't handled
8598 (hildon_banner_class_init): added the button_press_event handler
8599 (hildon_banner_init): added button-press events to the widget
8601 2008-03-25 Sven Herzberg <sven@imendio.com>
8603 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8604 Patch from: Mohammad Anwari <mdamt@maemo.org>
8606 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8607 instead of the right in RTL mode
8608 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8609 breadcrumb button list in RTL mode
8610 * src/hildon-caption.c: mirror the appearance of the caption widget in
8612 * src/hildon-date-editor.c: mirror appearance of the date editor in
8614 * src/hildon-time-editor.c: mirror appearance of the time editor in
8616 * src/hildon-window.c: fix the position of the popup in RTL mode
8618 2008-03-25 Sven Herzberg <sven@imendio.com>
8620 Amendment to the fix of NB#22072. Fix compilation.
8622 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8624 2008-03-19 Sven Herzberg <sven@imendio.com>
8626 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8629 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8630 timeout id properly when the timeout will disappear this leaves no
8631 artifacts around in the destroy(); there will only be the timeout
8632 created by hildon_banner_ensure_timeout() and adding a new timeout
8633 will also work if the timeout gets removed because the timeout_handler
8636 2008-03-19 Michael Natterer <mitch@imendio.com>
8638 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8640 * src/hildon-volumebar.c
8641 * src/hildon-vvolumebar.c
8642 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8643 the widget becomes focussable at all.
8645 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8646 set the focus to wither the mute button or the volumebar.
8648 Remove own "can-focus" property and instead listen to
8649 notify::can-focus in order to update the widget's state.
8651 Implement GtkWidget::focus() and make sure we can also *leave* the
8652 widget, not only enter it, depending on volumebar orientation and
8653 requested focus direction.
8655 Clean up set_mute() to cooperate nicely with all the above.
8657 2008-03-04 Michael Natterer <mitch@imendio.com>
8659 Fixes: NB#78481: information banners are hidden under browser menu
8661 * src/hildon-banner.c: call gtk_window_present() on the banners so
8662 they are risen if they are already visible.
8664 2008-03-03 Sven Herzberg <sven@imendio.com>
8666 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8668 * examples/hildon-window-menu-example.c: (main): extended the window
8669 menu example to serve as a testcase for automatically added
8670 accelerator groups, too
8671 * src/hildon-window.c: (hildon_window_add_accel_group),
8672 (hildon_window_set_menu): added patch by Tommi Komulainen
8674 2008-03-03 Sven Herzberg <sven@imendio.com>
8676 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8678 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8679 knowledge about the border allocators used within GTK+
8681 2008-02-26 Sven Herzberg <sven@imendio.com>
8683 Fixes: MB#2981: Build with asserts broken
8685 * src/hildon-date-editor.c,
8686 * src/hildon-number-editor.c,
8687 * src/hildon-time-editor.c,
8688 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8689 the proper GType instance check
8691 2008-02-25 Sven Herzberg <sven@imendio.com>
8693 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8695 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8696 * examples/hildon-window-menu-example.c: (main): explicitly show
8698 * src/hildon-window.c:
8699 (hildon_window_set_main_menu): moved most of the code from set_menu()
8700 to this place; skipped the call to gtk_widget_show_all(); also didn't
8701 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8702 (hildon_window_set_menu): removed most of the code, just keep the
8703 questionable gtk_widget_show_all()
8704 * src/hildon-window.h: added the new function and deprecate the old
8707 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8713 * debian/changelog: Updating.
8715 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8718 * pkgconfig/Makefile.am:
8719 * pkgconfig/hildon.pc.in:
8722 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8723 use newly created API_MAJOR_VERSION.
8725 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8731 * debian/changelog: Updating.
8733 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8735 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8737 Add outer_border style property, we use it but don't define it (!).
8741 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8743 * examples/hildon-bread-crumb-trail-example.c (main):
8747 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8749 Fix logic for the bread crumb trail node removal.
8753 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8759 * debian/changelog: Updating.
8761 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8763 Patch by Alejandro to get/set passwords dialogs accesibility.
8765 * hildon-1/src/hildon-get-password-dialog.c:
8766 * hildon-1/src/hildon-set-password-dialog.c:
8767 Set atk_set_name to the passwd entries in order to allow
8768 accessibility by name on this entries.
8770 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8775 * debian/control: Updating gtk dep.
8777 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8779 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8780 USE_MAEMO_GTK is enabled.
8782 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8784 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8785 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8787 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8793 * debian/changelog: Updating.
8795 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8797 * examples/Makefile.am:
8798 * examples/hildon-logical-color-example.c:
8799 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8800 applied + adding a test case. Fixes: NB#71660.
8802 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8804 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8805 to be visible, fixes warning on map for windows without toolbars.
8807 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8809 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8810 2.11.0, add a check for that besides the MAEMO_GTK check.
8812 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8818 * debian/changelog: Updating.
8820 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8822 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8823 visibility. Fixes: NB#70842 and MB#615.
8825 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8827 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8828 set the separator as no-show-all so it doesn't unintentionally appear when
8829 someone does a show_all.
8831 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8833 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8834 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8835 toplevel item. Fixes: NB#62031
8837 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8839 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8840 fix the name of the function in the docs.
8842 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8848 * debian/changelog: Updating.
8850 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8852 * examples/hildon-banner-long-example.c: Adding a test-case for long
8855 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8857 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8859 * src/hildon-color-chooser-dialog.c:
8860 * src/hildon-color-chooser.c:
8861 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8862 memory leaks in font selector and color selector. Fixes: NB#70499 and
8865 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8867 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8869 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8871 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8872 little bit bigger. Fixes: #NB63694.
8874 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8880 * debian/changelog: Updating.
8882 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8885 * doc/hildon-docs.sgml:
8886 * doc/images/bread-crumb-trail.png:
8887 * doc/images/calendar-popup.png:
8888 * doc/images/caption.png:
8889 * doc/images/code-dialog.png:
8890 * doc/images/color-button.png:
8891 * doc/images/color-chooser-dialog.png:
8892 * doc/images/color-chooser.png:
8893 * doc/images/controlbar.png:
8894 * doc/images/date-editor.png:
8895 * doc/images/font-selection-dialog.png:
8896 * doc/images/get-password-dialog.png:
8897 * doc/images/hvolumebar.png:
8898 * doc/images/login-dialog.png:
8899 * doc/images/note.png:
8900 * doc/images/number-editor.png:
8901 * doc/images/range-editor.png:
8902 * doc/images/seekbar.png:
8903 * doc/images/set-password-dialog.png:
8904 * doc/images/sort-dialog.png:
8905 * doc/images/time-editor.png:
8906 * doc/images/time-picker.png:
8907 * doc/images/vvolumebar.png:
8908 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8909 Adding the bread-crumb-trial and helpers to the documentation.
8911 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8913 * examples/hildon-find-toolbar-example.c:
8914 * src/hildon-find-toolbar.c:
8915 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8916 actually continue firing the other handlers if connected. Adding a new
8918 hildon_find_toolbar_get_last_index that gets the index of the most
8919 recently added (last) item. Fixes: NB#52301.
8921 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8923 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8924 behaviour. Fixes: NB#68610.
8926 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8928 * src/hildon-banner.c: Actually reverting the previous change. It somehow
8931 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8933 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
8934 when realizing the banner. Should make the infonbanner effect a bit more
8937 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8939 * src/hildon-volumebar.c:
8940 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
8941 hildon_volumebar_set_range_insensitive_message and
8942 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
8944 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8946 * src/hildon-window.c: Fixing the border freeing on destroy.
8948 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8950 * src/hildon-code-dialog-private.h:
8951 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
8952 kw keyboard support in HildonCodeDialog.
8954 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8960 * debian/changelog: Updating.
8962 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8964 * src/hildon-date-editor.c:
8965 * src/hildon-number-editor.c:
8966 * src/hildon-private.c:
8967 * src/hildon-private.h:
8968 * src/hildon-time-editor.c:
8969 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
8970 handling in subclassed composite widgets. Fixes: NB#66628.
8972 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8974 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
8975 from destroy_ callback as it introduces problems in async dbus signal
8976 handlers. Fixes NB#66673.
8978 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8980 * examples/hildon-hvolumebar-example.c:
8981 * src/hildon-volumebar.c: Improving the focus handling in the
8982 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
8983 set_property accessor so that "mute" property can be actually set. I'm
8984 scared that nobody noticed it's totally broken.
8986 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8988 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
8991 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8993 * src/hildon-calendar.c:
8994 * src/hildon-number-editor.c:
8995 * src/hildon-time-picker.c: Changing the timeout repeat so that it
8996 matches the spec of 6 chars per second. Fixes: NB#60489.
8998 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9001 gtk_style_lookup_color sometime returns FALSE even though color was
9002 found and values were filled properly. Weird. Removing the warning for the
9005 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9007 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9008 expand vertically. Adding some extra space to the find toolbar buttons to
9009 make them thumbable. Fixes NB#66060.
9011 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9013 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9014 popup with "Ok" and "Cancel". Fixes NB#59299.
9016 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * src/hildon-calendar.c: Process all window updates before executing next
9019 timeout. Fixes: NB#54146.
9021 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9027 * debian/changelog: Updating.
9029 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9031 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9032 the client event and ignore it, since we use the delete event to close
9035 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9037 * src/hildon-helper.c: Remove the bogus warning about color not being
9038 found. Fixes NB#58352.
9040 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9042 * examples/Makefile.am:
9043 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9044 HildonSeekbar widget inside a toolbar.
9046 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9048 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9049 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9050 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9051 don't want to be closed by non-temporary windows on map.
9053 Also use G_DEFINE_TYPE instead of manually typed code.
9055 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9062 * debian/rules: Updating.
9064 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9066 * examples/Makefile.am:
9067 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9068 bug NB#61128. Strangely it works.
9070 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * src/hildon-date-editor.c: When the date editor entry has been changed
9073 but the numbers of characters < max, turn off the skip validation flag.
9074 Prevents a situation when we enter first a valid year and later re-write
9075 it with an invalid one. Fixes NB#60154.
9077 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9079 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9080 code dialog. Fixes NB#64355.
9082 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9084 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9085 switching the page. Fixes NB#49374.
9087 * examples/Makefile.am:
9088 * examples/hildon-wizard-dialog-example.c: Adding an example for
9089 HildonWizardDialog that shows how to handle manual sensitivity setting on
9092 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9096 * src/hildon-version.h.in:
9097 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9099 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9101 * src/hildon-volumebar.c: Updating the docs.
9103 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * debian/changelog: Updating.
9111 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9113 * src/hildon-find-toolbar.c:
9114 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9115 selected item: hildon_find_toolbar_set_active,
9116 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9117 hildon_find_toolbar_get_active_iter . They correspond to respective
9118 GtkComboBox functions.
9120 * examples/Makefile.am:
9121 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9124 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9126 * examples/Makefile.am:
9127 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9130 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9131 when font size > 32 and we pack a focusable widget inside. Actually using
9132 the default response would work too, but since we don't show default
9133 response state in any way (no theming) it would not be visible to the
9134 user. Fixes NB#63430.
9136 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * src/hildon-date-editor.c: Adding the missing variable setter in the
9139 set_property handler. Fixes NB#54182.
9141 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9143 * src/hildon-window.h: Changing the long key press time from 1500ms to
9144 800ms as requested in NB#63700. I have a bad feeling about this, let's
9145 see... Fixes NB#63700.
9147 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9149 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9150 hildon_time_picker_map, hildon_time_picker_realize,
9151 hildon_time_picker_style_set): Split the contents of map to more
9152 appropriate functions; set window decorations on realize and update
9153 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9155 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9160 * debian/changelog: Updating.
9162 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9164 * src/Makefile.am: fixed installation of the header files
9166 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9172 * debian/changelog: Updating.
9174 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9176 * configure.ac: Removing some remaining of --enable-xan.
9178 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9180 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9181 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9183 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9184 2.10.12-osso6 because the move-focus signal needs to be available in
9187 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9189 * examples/Makefile.am:
9190 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9191 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9192 fine. Prolly NB#61128 is fixed now.
9194 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9196 * src/hildon-volumebar.c:
9197 * src/hildon-volumebar.h: Adding the
9198 hildon_volumebar_set_range_insensitive_message and
9199 hildon_volumebar_set_range_insensitive_messagef functions to set
9200 insensitive message on the slider of the volumebar. Fixes NB#61129.
9202 * examples/Makefile.am:
9203 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9204 test the new insensitive messsage functionality on HildonVolumebar.
9206 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9208 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9211 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9213 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9214 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9215 button on after clearing the trail.
9217 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9219 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9221 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9223 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9224 by splitting the installed headers in generated and non-generated groups. Use
9225 only the non-generated headers to create the hildon-enum-types.h file.
9227 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9229 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9231 * src/hildon-window.c: Hide the window before performing the destroy.
9232 Should make the app closing a little tiny bit more snappy.
9234 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9236 * src/hildon-seekbar.c: add gtkrange.h header
9237 * src/hildon-caption.c: remove unused variable
9239 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9241 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9244 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9250 * debian/changelog: Updating.
9252 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9254 * src/hildon-window.c (hildon_window_window_state_event,
9255 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9256 escape timeout on focus-out-event rather than notify::is-topmost; the
9257 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9259 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9262 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9264 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9266 * src/hildon-window: actually, you need to use the macro always, there's
9267 no private pointer in the instance structure. We should have cleaned this up
9268 when we had the chance...
9270 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9272 * src/hildon-window.c: do not get the private date from HildonWindow before
9273 it passes the g_return_if_fail check. Once it's passed the test, there's no
9274 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9275 if you are only going to access the data once. Whitespace cleanups.
9277 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9279 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9280 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9282 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9288 * debian/changelog: Updating.
9290 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9292 * src/hildon-window.c: When destroying the window, remove (if exists) the
9293 escape timeout handler. Fixes #NB59276.
9295 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9297 * src/hildon-banner.c: When realizing the widget, set the window
9298 transiency. Setting the transiency in the gobject constructor is not
9299 good, as the widget is not realized at that point. Fixes: #NB56624.
9301 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9303 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9304 Add padding for future expansions.
9306 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9308 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9309 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9310 will fake an activation on the previous to the last item of the trail, so
9311 the effect can be overrided by the developer as usual.
9312 Also change the callback for the back button to do the same thing, so its
9313 effect can be overrided too. Fixes: NB#58982
9315 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9317 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9318 HildonCaption. Fixes NB#52379.
9320 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9322 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9323 the internal state of the trail after the user has had the chance of executing
9324 his handler for the signal. Specifically, it may happen that the activated button
9325 is removed and the user still lets the default handler run. This would segfault
9328 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9330 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9331 scrollbar to the preview dialog. Fixes NB#54147.
9333 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9335 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9336 max/min year properties can be altered, so the client can modify it
9337 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9339 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9341 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9342 hildonlike by default. Fixing a problem with disappearing arrows when
9343 scrolling through months and years. Fixes NB#54127.
9345 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9347 * examples/hildon-date-editor-example.c: Adding error callback to the date
9350 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9356 * configure.ac: Updating.
9358 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9360 * configure.ac: Adding a special '--enable-xan' configure option that
9361 turns off the -Werror compilation setting. Usefull for development.
9363 * src/hildon-calendar.c:
9364 * src/hildon-number-editor.c:
9365 * src/hildon-time-picker.c: Adding the 5* multiplier to
9368 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9370 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9371 instead of g_object_ref + gtk_object_sink.
9373 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9379 * debian/changelog: Updating.
9381 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9383 * src/hildon-color-chooser-dialog.c:
9384 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9385 straight from Tommi labs.
9387 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * examples/hildon-finger-example.c: Correcting the header file path.
9391 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9392 the changed signal. Fixes a small memory leak.
9394 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9398 * src/hildon-banner.c: Importing several usefull fixes from the
9399 ubuntu-mobile branch.
9401 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9403 * examples/Makefile.am:
9404 * examples/hildon-finger-example.c: Adding a finger-checking code
9407 * src/hildon-font-selection-dialog.c: Do not allocate the color
9408 structure using the g_new. Fixes NB#54061.
9410 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9412 * src/hildon-helper.c: Correcting tabs in file.
9414 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9416 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9417 control the visibility of the children.
9419 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9421 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9427 * debian/changelog: Updating.
9429 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9431 * src/hildon-bread-crumb-trail.c:
9432 (hildon_bread_crumb_trail_size_allocate):
9434 Make the back button always a square.
9436 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9438 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9439 from the .c file as it's a private file.
9441 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9443 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9444 uses slightly bigger height.
9446 * src/hildon-font-selection-dialog.c: Adding some checks before
9447 freeing memory in the font selection dialog.
9449 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9451 * src/hildon-font-selection-dialog.c: Adding a small check when
9454 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9455 buttons sensitivity on page switching.
9457 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9459 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9460 internal details of adding a bread crumb to the trail.
9462 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9468 * debian/changelog: Updating.
9470 * src/hildon-bread-crumb-trail.h:
9471 * src/hildon-bread-crumb.h: Changing the API guard to
9472 HILDON_ENABLE_UNSTABLE_API.
9474 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9482 * src/hildon-helper.h: Updating.
9484 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9492 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9496 * src/hildon-helper.h: Small fix to make the package actually compile.
9498 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9500 * src/hildon-bread-crumb-trail.h:
9501 * src/hildon-bread-crumb.h:
9503 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9504 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9506 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9508 * examples/hildon-bread-crumb-trail-example.c:
9510 * src/hildon-bread-crumb-trail.c:
9511 * src/hildon-bread-crumb-trail.h:
9512 * src/hildon-bread-crumb.c:
9513 * src/hildon-bread-crumb.h:
9514 * src/hildon-marshalers.list:
9515 * src/hildon-bread-crumb-widget.c:
9516 * src/hildon-bread-crumb-widget.h:
9518 Slight change in the widget design. The bread crumb trail API is
9519 unchanged, but HildonBreadCrumb is now an interface. A *private*
9520 implementation, hildon-bread-crumb-widget, is provided and used
9521 internally by the trail for the push_text/push_icon functions.
9523 The generic push API is still available, so anyone can implement
9524 and use its own bread crumb widget.
9526 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9528 * debian/rules: Fixing the shlibs.
9530 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9532 * src/hildon-banner.c: Fixing a problem with timed banners having
9533 their parrent destroyed before they are.
9535 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9537 * src/hildon-bread-crumb.c:
9538 * src/hildon-bread-crumb.h:
9540 Make the get_natural_size function a vfunc.
9542 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9544 * src/hildon-bread-crumb.c:
9545 * src/hildon-bread-crumb-trail.c:
9549 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9556 * debian/changelog: Updating for release.
9558 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9560 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9561 don't leak the pango layout.
9563 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9566 * examples/hildon-bread-crumb-trail-example.c:
9570 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9572 * debian/changelog: Removing the bug-fixed entries that were actually
9573 resolved as WONTFIX.
9575 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9578 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9580 * src/hildon-bread-crumb-trail.c:
9581 * src/hildon-bread-crumb-trail.h:
9582 * src/hildon-bread-crumb.c:
9583 * src/hildon-bread-crumb.h:
9587 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9589 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9590 until it's passed the type check.
9592 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9594 * examples/hildon-bread-crumb-trail-example.c
9598 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9600 * examples/Makefile.am
9601 * examples/hildon-bread-crumb-trail-example.c
9603 * src/hildon-bread-crumb-trail.c
9604 * src/hildon-bread-crumb-trail.h
9605 * src/hildon-bread-crumb.c
9606 * src/hildon-bread-crumb.h
9608 New HildonBreadCrumbTrail widget.
9610 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9612 * src/hildon-range-editor.c (hildon_range_editor_init),
9613 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9614 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9615 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9616 hildon_time_editor_class_init, hildon_time_editor_init),
9617 src/hildon-get-password-dialog.c (invalid_input,
9618 hildon_get_password_set_property, hildon_get_password_get_property,
9619 create_contents, hildon_get_password_dialog_set_max_characters),
9620 src/hildon-set-password-dialog.c (create_contents),
9621 src/hildon-date-editor.c (hildon_date_editor_init),
9622 src/hildon-login-dialog.c (hildon_login_dialog_init),
9623 src/hildon-number-editor.c (hildon_number_editor_init),
9624 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9625 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9626 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9627 configure option and adding the respective checks in the code.
9628 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9629 hildon_calendar_drag_data_received): fixed some build warnings.
9631 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9633 * debian/changelog: A 1.0.0 release notes.